chapter One of The Emedded System in Intelligent Health WatchWord格式文档下载.docx
《chapter One of The Emedded System in Intelligent Health WatchWord格式文档下载.docx》由会员分享,可在线阅读,更多相关《chapter One of The Emedded System in Intelligent Health WatchWord格式文档下载.docx(6页珍藏版)》请在冰豆网上搜索。
PartOne1
1.1Background:
1
1.2EmbeddedDevelopmentTechnologyandEmbeddedDevelopmentProcess2
1.2.1EmbeddedDevelopmentTechnology2
1.2.2EmbeddedDevelopmentProcess3
1.3EmbeddedSoftwareStratificationandTransplantation4
1.3.1EmbeddedSoftwareStratification4
1.3.2EmbeddedSoftwareTransplantation4
1.4Summary5
PartTwo6
PartThree6
Outline
PartOne
ThebackgroundofthedevelopmentoftheEmbeddedSysteminintelligenthealthwatch
Withtherapiddevelopmentofsocietyandthefurtherimprovementoflivingstandards,peoplearenotonlysatisfiedwiththesubsistenceandentertainmentoflife,butalsopaymoreattentiontotheirownhealth.Therefore,ahealthylifestyleisalsomuchfavoredbypeople.Whatkindoflifestyleisahealthylifestyleisalsoaproblemthatthecommunityhasbeendiscussingandpayingattentionto.Atthesametime,withtheintroductionoftheconceptofwearableintelligentdevices,itprovidesanewwayforpeopletopursuehealthylifestyles.Asawearableintelligentdevice,intelligentwatches,coupledwithfunctionssuchashealthmanagement,newsnotification,weatherandstock,havefurtherenrichedtheconceptofwearableintelligentdevices.Therefore,inthispaperwearegoingtocompletethedesignandimplementationofintelligenthealthywatcheswhichareusedtomonitorthedataofuser’smovementandsleep.Thentheusercanenjoyahealthyandhappylifeinthisway.
1.2EmbeddedDevelopmentTechnologyandEmbeddedDevelopmentProcess
1.2.1EmbeddedDevelopmentTechnology
AccordingtothedefinitiongivenbyBaiduBaike,inanarrowsense,thewearablesmartdeviceisageneraltermforwearabledevicesdevelopedbyusingwearabletechnologytodesigneverydaywearabledevices.SuchasGoogleGlass,GalaxyGear,SonyIntelligentWatchandsmartbraceletsintroducedbydomesticmanufacturerslikeHuawei,360andothercompanies;
Ingeneralwearableintelligentdeviceslikesmartwatchesorsmartglassesmaynotrelyonsmartphonestoachievefullorpartialfeatures.Itcanalsofocusononlyonetypeofapplicationandneedtobeusedinconjunctionwithotherdeviceslikesmartphones.Forexample,therearevarioustypesofwristbandsandsmartjewelryusedforsignsmonitoring.
Withthechangingneedsofusersandthecontinuousimprovementoftechnology,theexistingformsandapplicationfunctionsofwearablesmartdevicesareconstantlychanging.Eachdefinitionofwearablesmartdevicesisalsodifferent.Amongthem,Wikipediadefineswearablesmartdevicesas"
miniatureelectronicdevicesthatcanbewornonbodyforactivities"
.Thisdefinitionissimple.Butitalsoincludesafewofthefeatureswhichwearablesmartdeviceshave.Featuresareasfollows:
a)Persistent
b)Intelligent
c)Specialsensor
1.2.2EmbeddedDevelopmentProcess
Itisalengthyandcomplicatedprocessfromtheconceptofanembeddeddevicetoitsimplementationwhichrequiresthecoordinationofmanypeopletocomplete.Inthisprocessweneedtousealargenumberoftechniquesandmanagementmethods,butfortechnologyalwayskeepsimprovingandtheknowledgeusedintheprocessisconstantlyupdated,soembeddeddeveloperscan’tgetacompleteandproficientmasterofmanytechnicaldetailsachievingtheproductprocess.Atthesametime,thetechniciansjustneedtohaveenoughknowledgeinvolvedintheimplementationprocessanddonotneedtomasterallthetechnologiesusedinproductdevelopment.However,theembeddedproductdevelopmentprocessisnotwithoutrules.Manypredecessorsfinallysummedupacompletesetofembeddedproductdevelopmentprocess,Andundertheguidanceofit,eachtechnicalstaffperformshisduties,worktogethertoimprovetheefficiency.
Allembeddedproductswillincludetwoparts,namely,embeddedsoftwareandembeddedhardware.Theembeddedsystemdevelopmentprocessisdividedintothreeparts,namelytheoveralldesignanddevelopmentofembeddedsystems、thesoftwaredesignanddevelopmentandhardwaredesignanddevelopment..
Intheoveralldesignanddevelopmentofembeddedsystems,itmainlyinvolvesthedeterminationoftheoverallsystemframeworkandtheselectionofhardware,etc.Sincetherequirementsdeterminethetypeofhardwareinthesystem,soweneedtochoosethespecifichardwareaccordingtospecificrequirements.Wealsoneedtodotheseprocesseslikearchitecturedesign,detaileddesignandimplementationinthehardwareandsoftwarearchitecturedesignandimplementationprocess.Theyaresimilartothetraditionalsoftwaredevelopmentmethods.
1.3EmbeddedSoftwareStratificationandTransplantation
1.3.1EmbeddedSoftwareStratification
Thehardwarearchitectureisthefoundationwhilethesoftwarearchitectureisthesouloftheembeddedsystem.Anembeddedsystemcanbedividedintofourlevels:
BootLoader,Linuxkernel,filesystemanduserapplicationfromtheperspectiveofsoftware.Eachlevelisresponsiblefordifferentfunctionsbutindispensable.Thefourlevelscompletethefunctionofembeddedproductscooperatingwitheachother.
BootLoaderisthemostbasicpartoftheembeddedsystemwhichisthefirstprogramtorunwhenthesystemispoweredon.BootLoadercanbesplitedintoBootandLoader.Theformeristostarttheembeddedsystem,infact,istoinitializetheoperation.AndtheotheroneistocopytheoperatingsystemsolidifiedintheROMorapplicationcodeandsystemparameterstoRAM.
LinuxkernelisthecoreoftheentireLinuxoperatingsystem,whichdeterminestheperformanceandstabilityoftheentiresystem.
Thefilesystemisanimportantpartoftheembeddedsoftwaresystem.ThefilesystemislocatedontheLinuxkernel.Itprovidestheuserwithaunifiedandobject-orientedaccessinterfaceandavoidthephysicaldirectoperationofequipmentandresourcemanagement.
Thetopoftheembeddedsoftwaresystemistheapplicationlayerwhichisthefunctionembodyingoftheentireembeddedproduct.Itcarriestheresponsibilityofdirectlyinteractingwiththeuserandprovidingtheuserwiththefinalserviceoftheproduct.
1.3.2EmbeddedSoftwareTransplantation
TheIntelligentHealthWatchusestheJZ4775program.Theprogramhasbeenincludedinthefactory:
bootloaderXBOOT,mobileoperatingsystemLinux3.4,Android4.1.2rootfilesystemandsomeandroidapplications.However,duetospecialfeaturesandinterfacerequirementsofthecustomintelligenthealthwatch,weneedtore-modifyanddesignthesoftwaresystem.Thespecificchangesareasfollows:
(1)changeBootloaderX-boot’slogo
a)preparetheoriginaljpgpicture
b)generate.rlefile
c)compilethecustomlogointoX-boot.
(2)IntheLinuxkernellayer,becausethewatchneedstocommunicatewiththesmartphonebyBluetooth.Atthesametimeinthefunctionalneedsoftheupperapplication,weneedfunctionslikestep-by-stepandstand-upmonitoring,andthesefunctionsneedtousetheaccelerationsensor.SointhekernellayerweneedtokeepaccelerometerserviceandBluetoothservice,andotherunwantedservicesdonotneedtobestarted.
(3)Inthefilesystemlayer,theIntelligentHealthWatchusestheTMPFS,devpts,proc,andsysfsfilesystemssincetheAndroidoperatingsystemisalreadyinstalledintheJZ4775solution.
(4)Intheapplicationlayerweneedtodomorework.Firstofallweneedtowritecustomhealthmonitoringmanagementsoftwareaccordingtotheneeds,designsoftwarearchitecture,writesoftwarecodeandtestittoensuretherearenoerrors.Atthesametime,inordertomaketheIntelligentHealthWatchmoreefficient,weneedthedeletionofsomeapplications.ThespecificdesignistodeletethecallingfunctionAPP,SMSAPP,contactAPP,cameraAPP,photogalleryAPP,notepadAPP,musicAPP,browserAPP,calculatorAPP,calendarAPPandclockAPPwhichareincludedinAndroid.
AftercompletingtheoperationsofmodifyingtheLinuxkernelandstreamliningAndroid,thesystemneedstobecompiled.Sincethen,wehaveacompletedesignforsoftwarelayeroftheintelligenthealthwatchembeddedsystem.Inthenextchapterwewillgiveacompleteanalysisanddesignofthesystem'
sfunctionalarchitecture.
1.4Summary
ThischaptermainlyintroducesthebackgroundofthedevelopmentoftheEmbeddedSysteminintelligenthealthwatch.AndinformationaboutEmbeddeddevelopmenttechnologyandEmbeddeddevelopmentprocessisgiven.ThischaptermainlyintroducesEmbeddedSoftwareStratificationandTransplantationintheintelligenthealthwatch.Accordingtothetraditionalembeddedproductdevelopmentprocess,wedeterminethefunctionsthesmarthealthwatchneedtohave.Thenwedesignthesoftwarearchitectureofthesmarthealthwatchindetail.Accordingtothetraditionalhierarchicalprincipleofembeddedsoftware,theembeddedsoftwarepartoftheintelligenthealthwatchisdividedintofourlayers.Inordertoensurethesmoothnessofthewatchandcustomfeaturesandinterfaces,thischapterintroducescustommodificationanddevelopmentforalllayers.
EmbeddedDevelopmentTechnologyandEmbeddedDevelopmentProess
EmbeddedSoftwareStratificationandTransplantation:
levelofembeddedsoftwareandtheachievementofembeddedsoftwaretransplantation
Summary
PartTwo
Applicationoverview
ApplicationFunctionAndNon-FunctionRequirements
Movementmonitoringfunction
Maintenanceandmanagementofhealthinformation
Sleepmonitoringfunction
Messageprompt
Unstoppedin24hoursperday
FunctionArchitectureDesignofApplication
There