zigbee-相關(guān)-外文資料及翻譯_第1頁
zigbee-相關(guān)-外文資料及翻譯_第2頁
zigbee-相關(guān)-外文資料及翻譯_第3頁
已閱讀5頁,還剩5頁未讀 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

zigbee-相關(guān)-外文資料及翻譯Dexample,thesupportedfrequencybandsofoperation,thelogicaltypeofthedevice(coordinator,router,orenddevice),andtheremainingenergyofthebatteryareprovidedbythedevicedescriptions.Eachdevicedescriptionisidentifiedbya16-bitvalue.TheZigBeeapplicationprofileusesthe conceptofdescriptordatastructure.Inthismethod,insteadofincludingthedataintheapplicationprofile,a16-bitvalueiskeptandactsasapointertothelocationofthedata.Thispointerisreferredtoasthe datadescriptor.Whenadevicediscoversthepresenceofanotherdeviceinthenetwork,thedevicedescriptionsaretransferredtoprovidetheessentialinformationregardingthenewdevice.Thedevicedescriptionsconsistoffivesections:nodedescriptor,nodedescriptor,simpledescriptor,complexdescriptor,and userdescriptor.Thenodedescriptor providesinformationsuchasthenodelogicaltypeandthemanufacturercode.The nodepowerdescriptor determineswhetherthedeviceisbatterypoweredandprovidesthecurrentlevelofthebattery.Theprofileidentifierandclustersareprovidedinthe simpledescriptor.Thecomplexdescriptor isanoptionalpartofthedevicedescriptionsandcontainsinformation such as the serial numberand the device model name. Anyadditionalinformationregardingthedevicecanbeincludedasthe userdescriptor.Theuserdescriptorcanbeupto16ASCIIcharacters.Forexample,inalightcontrolapplication,theuserdescriptorfieldofawallswitchinstalledinahallwaycanread Hallswitch.ThenodedescriptorfieldsforZigBee-2006areprovidedinFigure3.46.Thenodedescriptorisamandatorypartofthedevicedescriptions.ThelogicaltypecanbeZigBeecoordinator,router,orenddevice.Thecomplexdescriptoranduserdescriptorareoptionalandiftheircorrespondingfieldsinthenodedescriptoraresettozero,theyarenotprovidedaspartofthedeviceTheAPSflagfielddeterminestheAPSsublayercapabilities.Thefrequencyband(868MHz,915MHz,or2.4GHz)isspecifiedinthefrequencybandfield.TheMACcapacityflagsfieldisthesameastheMACcapacityfieldpresentedbeforein Figure3.25.Amanufacturercanrequestandreceiveamanufacturer codefromtheZigBeealliance.Thiscodeisincludedinthenodedescriptor.ThemaximumsizeoftheAPSSublayerDataUnit(ASDU),inoctets,isspecifiedinthemaximumbuffersizefield.Themaximumsizeofasinglemessagethatcanbetransferredtoorfromanodeisprovidedinthemaximumtransfersizefield(inoctets).InZigBeePro,themaximumincomingtransfersizeandmaximumoutgoingtransfersizearetwoseparatefields(16bitseach).Theservermaskfieldprovidesinformationregardingthesystemservercapabilitiesofthisnode.Aserverisadevicethatprovidesspecificservicestootherdevicesinthe network.Ifeachbitissettoone,thedevicehasthecorrespondingcapabilityshownin Figure3.46.The trustcenteristhedevicetrustedbydeviceswithinanetworktodistributesecuritykeysforthepurposeofnetworkandend-to-endapplicationconfigurationmanagement.ThesecurityfeaturesarereviewedinSection3.6. The primarybindingtablecache isdevicethatallowsotherdevicestostoretheirbindingtableswithitaslongasithas storage space left. The binding procedure is further clarified in subsection.Theprimarybindingtablecachecanbeusedtobackupthecontentofbindingtablesandrestorethemwhenevernecessary.Adevicecanchoosetokeepitsownbindingtable,knownasa sourcebindingtable,insteadofstoringitwithaprimarybindingtablecache.However,anydevicecanstoreabackupofthesourcebindingtableintheprimarybidingtablecachedeviceandrecoveritlaterifnecessary.AZigBeenetworkmayhaveaprimarydiscoverycachedevice.ThisdeviceisaZigBeecoordinatororrouterusedtostorethedescriptorssuch asnodedescriptorsandpowerdescriptorsofsomeotherdevices.Anenddevice,forexample,thatsleepsforlongdurationscanstoreitsdescriptorsintheprimarydiscoverycachedevice.Ifadeviceinthenetworktriestolocatetheinformationregardingthissleepingenddevicewhilethedeviceisinactive,itcangetinformationfromtheprimarydiscoverycachedeviceinstead.Ifanetworkcontains sleeping ZigBee end devices, the network must have at least oneprimarydiscoverycachedevice.應用層(APL)是在ZigBee無線網(wǎng)絡(luò)協(xié)議棧中最高的一層。應用層包含三個組成部分,見下圖4:應用支持子層Se設(shè)備對象O圖4:應用支持子層Se設(shè)備對象O,以及應用層框架。應用支持子層(APS)提供了網(wǎng)絡(luò)層(NWK)和應用層(APL)之間的接口。該層和所有較低層相似,支持兩種服務:數(shù)據(jù)和管理服務。APS層數(shù)據(jù)服務由APS數(shù)據(jù)實體(APSDE)通過APSDE服務接入點(PS(E通過E(P)提供。APS子層的常量和屬性分別始于apsc和aps。APS屬性包含在APS信息庫(APSIB或AIB)中。APS常量和屬性列表由ZigBee協(xié)議棧規(guī)范提供[3]。ZigBee應用層框架(AF)是為駐扎在ZigBee設(shè)備中的應用對象控制和管理協(xié)議棧各層提供活動的環(huán)境。應用對象由制造商開發(fā),也正是在這里定制了基于各種不同應用的設(shè)備。在一個設(shè)備中可以有多達240個應用對象。應用對象使用P(圖4專有的終端節(jié)點地址(端點10。端點0用于O。端點地址5被設(shè)置用來廣播消息到所有的應用對象。設(shè)定終端地址允許多個設(shè)備共享同一頻段。在2.1.4節(jié)的燈控制例程中,多個燈連接在同一個頻段里。每個燈都有一個專用的端點地址,并且能夠獨立的打開或關(guān)閉。ZigBee設(shè)備對象(ZDO)提供了APS子層和應用層框架(AF)之間的接口。ZDO包含了所有運行在ZigBee協(xié)議棧上的應用所共有的功能。例如,定義設(shè)備屬于ZigBee協(xié)調(diào)器、路由器或終端設(shè)備三種邏輯類型之一就是ZDO的職責。ZDO使用原語來執(zhí)行它的任務,并通過APSME-SAP進入APS子層管理實體。應用層框架(AF)通過ZDO公共接口與ZDO相互作用。關(guān)于應用層框架(F、O和S子層的細節(jié)的詳細回顧見于以下三節(jié)。3.5.1應用層框架(AF)ZigBee標準提供了在開發(fā)應用時使用應用profiles的選項。應用profiles的使用使得不同開發(fā)商開發(fā)的基于某種特定應用的產(chǎn)品之間有更多的共同使用性。比如,在燈控制情景中,如果兩個開發(fā)商使用同一個應用profiles來開發(fā)他們的產(chǎn)品,一個開發(fā)商制造的開關(guān)將能夠打開或關(guān)閉另一個開發(fā)商制造的燈。應用profiles也是基于ZigBeeprofiles的。每個應用profiles都由一個被稱作profile標識符的16位數(shù)值所標記的。只有ZigBee聯(lián)盟能夠設(shè)定profile標識符。開發(fā)商如果自行開發(fā)了一個profile,他可以向ZigBee申請一個profile標識符。ZigBee聯(lián)盟評估被提議的應用profile,如果其符合聯(lián)盟準則,一個新的profile標識符就會被設(shè)定。應用profiles以與其相應的應用來命名。例如,家庭自動化應用profile提供一個公共平臺給開發(fā)用于家庭自動化的基于ZigBee產(chǎn)品的開發(fā)商們。應用profile的總體結(jié)構(gòu)見圖3.45。應用profile包含兩個主要組成部分:簇(clusters)和設(shè)備描述(devicedescriptions。簇是一組整合在一起的屬性。每個簇都由稱為簇標識符(cluster的唯一16(attributeZigBee標準提供了在開發(fā)應用時使用應用profiles的選項。應用profiles的使用使得不同開發(fā)商開發(fā)的基于某種特定應用的產(chǎn)品之間有更多的共同使用性。比如,在燈控制情景中,如果兩個開發(fā)商使用同一個應用profiles來開發(fā)他們的產(chǎn)品,一個開發(fā)商制造的開關(guān)將能夠打開或關(guān)閉另一個開發(fā)商制造的燈。應用profiles也是基于ZigBeeprofiles的。每個應用profiles都由一個被稱作profile標識符的16位數(shù)值所標記的。只有ZigBee聯(lián)盟能夠設(shè)定profile標識符。開發(fā)商如果自行開發(fā)了一個profile,他可以向ZigBee申請一個profile標識符。ZigBee聯(lián)盟評估被提議的應用profile,如果其符合聯(lián)盟準則,一個新的profile標識符就會被設(shè)定。應用profiles以與其相應的應用來命名。例如,家庭自動化應用profile提供一個公共平臺給開發(fā)用于家庭自動化的基于ZigBee產(chǎn)品的開發(fā)商們。應用profile的總體結(jié)構(gòu)見圖3.45。應用profile包含兩個主要組成部分:簇(clusters)和設(shè)備描述(devicedescriptions。簇是一組整合在一起的屬性。每個簇都由稱為簇標識符(cluster的唯一16(attributeidentifier)的唯一16位數(shù)字所標記。這些屬性用來存儲數(shù)據(jù)或狀態(tài)值。例如,在溫度控制應用中,作為溫度傳感器的設(shè)備能在屬性中存儲當前溫度數(shù)值。然后另一個作為火爐控制器的設(shè)備就能接受該屬性值,并據(jù)此打開或關(guān)閉火爐。應用profile不包含簇本身,而是包含一個簇標識符列表。每個簇標識符都專一地指向該簇本身。應用profile的另一個部分是設(shè)備描述(e(圖5。設(shè)備描述提供關(guān)于設(shè)備自身的信息。例如,可供使用的頻率波段,設(shè)備的邏輯類型(協(xié)調(diào)器、路由器或終端設(shè)備,以及設(shè)備提供的剩余電量,都是由設(shè)備描述所提供的。每個設(shè)備描述由一個6位數(shù)值所標記。ZigBee應用profile使用描述數(shù)據(jù)結(jié)構(gòu)(descriptordatastructure)這一概念。正是用這一取代了包含應用profile數(shù)據(jù)的方法,一個16位數(shù)值作為指向數(shù)據(jù)所在地址的指針而被保存。關(guān)于該新設(shè)備的基本信息。設(shè)備描述由5(e(epower設(shè)備描述由5(e(epower,(e(xr。節(jié)點描述提供諸如節(jié)點邏輯類型和制造商編碼這類信息。節(jié)點電源描述決定了設(shè)備是否由電池供電,并提供當前電量。Profile標識符和簇由簡單描述提供。復雜描述是設(shè)備描述的可選部分,它包含諸如序列號和設(shè)備模型名稱之類的信息。任何關(guān)于設(shè)備的附加信息都可以被用戶描述所包含。用戶描述可以多達16位ASCII碼。例如,在燈控制應用中,安裝在過道的墻上開關(guān)的用戶描述區(qū)域就被讀作“過道開關(guān)lh。ZigBee-2006的節(jié)點描述區(qū)域見圖3.46路由器或終端設(shè)備。復雜描述和用戶描述是可選項,如果它們在節(jié)點描述中的相應區(qū)域被設(shè)為0,則不會作為設(shè)備描述的組成部分而被提供。APS標志區(qū)域決定了APS子層的功能。頻段(868MHz,915MHz,或2.4GHz)在頻段區(qū)域中被指定。MAC功能標志和之前在圖3.25中顯示的MAC功能區(qū)域一樣。制造商可以向ZigBee聯(lián)盟申請并獲得一個制造商編碼。該編碼包含在節(jié)點描述中。8進制的APS子層數(shù)據(jù)單元(APSDU)長度極大值在長度極大值緩存區(qū)域中被指定。送往或來自節(jié)點的單個消息的長度極大值由傳送極大值區(qū)域

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論