以ARMLinux為基礎的嵌入式資訊網系統平台—之設計與實作家庭保全系統應用DesignandImplementationofARMLinuxPlatform-basedEmbeddedWebSystem—AHomeIntruderAlarmSystemApplication蕭榮修*R.S.Hsiao*張國基K.C.Chang史義男Y.N.Shi林玫MayLin國立台北科技大學電子工程系摘要嵌入式系統(EmbeddedSystems)不但充滿在我們的日常生活中,而且扮演著重要的角色。傳統的嵌入式系統為獨立作業平台的裝置,不具備網際網路連線及組態介面(configurationinterface)的設定功能,其應用範圍受到相當大的限制。隨著網際網路(Internet)應用的普及,具有可連上資訊網的(Web-enabled)的嵌入式系統之需求日漸殷切。本研究的主要目的即為設計一個可連上資訊網的ARMLinux嵌入式系統平台,以補足傳統嵌入式平台在網路上的不足,並提供系統晶片(System-on-Chip,SoC)整合內容之參考。藉由此平台所提供的網路設備,我們可以使嵌入式系統裝置連線上網,達到遠端資訊存取及組態設定功能。為驗證此嵌入式平台之可用性,我們以開放原始碼(opensource)的方式來實作一個低成本/高效能家庭保全系統。使用者可在任意計算平台之客戶端(client-side)執行瀏覽器(browser)後,與伺服器(server)取得連線,並藉由伺服器端所傳給的Javaapplet及其socket通訊機制,設定家中的保全系統狀態,並由遠端接收監控資訊。透過實作與效能評估,我們得到一個主要的結論,使用Java來實作非行動式(固定式)的嵌入式系統是一種浪費,因為虛擬機器(JavaVirtualMachine,JVM)會消耗很大的計算與記憶體資源,JVM的跨平台特性不具任何意義。以ARMLinux—為基礎的嵌入式資訊網系統平台之設計與實作家庭保全系統應用1關鍵詞:嵌入式系統、系統晶片。投稿受理時間:93年3月15日審查通過時間:93年6月30日ABSTRACTEmbeddedsystemsareomnipresentandplaysignificantrolesinourdailylives.Inthepast,embeddedsystemshavefunctionedinisolationwithoutanyfunctionsofnetworkingandconfigurationinterface.Therefore,theapplicationrangeisverylimited.SincetheInternetbecomesverypopular,theWeb-enabledembeddedsystemswillbemoreexpected.ThegoalofthisstudyistodevelopaWeb-enabledARMLinuxembeddedsystemdevelopmentplatformtoprovidethefunctionsofnetworkingandconfigurationinterfaceandtobeusedfortheconsiderationofSoCcontentsintegration.Tousethisfacility,whichthedevelopmentplatformprovides,theembeddeddevicecanbeconnectedtotheInternetachievingfunctionsofremoteinformationaccessandconfigurationsetup.Toverifythevalidationofdevelopmentplatform,weadoptopensourcemethodtoimplementalow-costandhigh-performancehomeintruderalarmsystem.UsercanrunabrowseratanycomputingplatformtoconnectwiththeserverfromwhichthebrowserreceivesaJavaappletfromtheserver.UserusestheJavaappletandthesocketmechanismtoconfigureandreceivetheinformationfromtheremotehomeintruderalarmsystem.Throughtheimplementationandevaluationofperformance,wegetaconclusionthattouseJavafortheimplementationofthenon-mobileembeddedsystemisawastebecausetheJavaVirtualMachine(JVM)consumesalargeofcomputationandmemoryresources.Thecross-platformfeatureofJVMismeaninglessforthenon-mobileembeddedsystem.Keywords:EmbeddedSystems,ARMLinux,Embedded-WebServer,System-on-Chip(SoC).壹、緣由與目的嵌入式計算系統具有特定的功能及嚴格的非功能需求:價格、體積、性能和功率消耗等限制。而SoC技術可以將複雜的電路整合在一個矽晶片上,具有輕巧、價廉、性能佳和低功率消耗等優點[8][9]。因此以嵌入式處理器為核心,開發一個實用的嵌入式計算系統原型(prototype),再以系統晶片技術製成一顆嵌入式積體電路是目前行動裝置、通56臺北科技大學學報第三十七之二期訊及資訊家電等嵌入式產品最迫切的需求。為預防與降低家庭竊案的發生,大部份的家庭會選擇使用保全服務。但保全服務將增加家庭的經濟壓力,而且保全服務無法深入家中進行更細微的...