[go: up one dir, main page]

TWI381693B - Wireless communication method for low - speed wireless personal network - Google Patents

Wireless communication method for low - speed wireless personal network Download PDF

Info

Publication number
TWI381693B
TWI381693B TW97147294A TW97147294A TWI381693B TW I381693 B TWI381693 B TW I381693B TW 97147294 A TW97147294 A TW 97147294A TW 97147294 A TW97147294 A TW 97147294A TW I381693 B TWI381693 B TW I381693B
Authority
TW
Taiwan
Prior art keywords
frame
low
personal network
data
communication unit
Prior art date
Application number
TW97147294A
Other languages
Chinese (zh)
Other versions
TW201023581A (en
Inventor
Chun Chi Chou
Yung Fang Chen
Original Assignee
Sentec E & E Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sentec E & E Co Ltd filed Critical Sentec E & E Co Ltd
Priority to TW97147294A priority Critical patent/TWI381693B/en
Publication of TW201023581A publication Critical patent/TW201023581A/en
Application granted granted Critical
Publication of TWI381693B publication Critical patent/TWI381693B/en

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

低速無線個人網路之無線通訊方法Wireless communication method for low-speed wireless personal network

本發明提供一種低速無線個人網路的通訊方法,特別是涉及一種低速無線個人網路之通訊協定的媒體存取層協議。The invention provides a communication method for a low-speed wireless personal network, in particular to a medium access layer protocol for a communication protocol of a low-speed wireless personal network.

拜科技進步之所賜為日常生活增加許多的便利,舉如一張智慧卡可以讓你購物、搭乘大眾運輸工具及在各代收據點支付各項費用,又或是一隻智慧型手機可以兼具手機及PDA的功能,可以隨時隨地收發e-mail,上網瀏覽所需資訊,或是根據經濟局勢操作股票,尤有甚者某些通訊服務業者,提供結合智慧卡與手機SIM卡的方案,讓上述所有的動作只要一隻智慧型手機就能達成,在過去這些需要以不同方法與工具才能完成的工作,現在經由各項科技的整合能以一張卡或一個智慧型手機完成,然而上述的情況除了相關硬體科技整合以外,亦須要無線通訊技術的配合才能達成。Thanks to the advancement of science and technology, there is a lot of convenience for daily life, such as a smart card that allows you to shop, take public transportation and pay various fees at various generations of receipts, or a smart phone can have both mobile phones. And the function of PDA, you can send and receive e-mail anytime, anywhere, browse the required information online, or operate stocks according to the economic situation. Especially some communication service providers provide solutions combining smart cards and mobile SIM cards. All the actions can be achieved with only one smart phone. In the past, these work, which needs different methods and tools, can be completed by a technology or a smart phone. However, the above situation In addition to the integration of related hardware technologies, it is also necessary to achieve the cooperation of wireless communication technology.

在滿足個人行動便利的需求下,電子、資訊及通訊各項科技大行整合之道,因此也加速了相關領域的開發與應用,其中無線通訊領域即為一例,自美國電器電子技術協會(Institute of Electrical and Electronic Engineer,IEEE)在1997年制訂的IEEE 802.11標準後,無線通訊相關領域隨著個人行動通訊與無線上網的需求蓬勃發展,到目前為止已見成熟的舉如IEEE 802.11與無線高傳真(Wireless Fi-delity,Wi-Fi)即為取代有線區域網路技術所發展之網路技術,IEEE 802.16與全球互通微波存取(Worldwide Interoperability for Microwave Access,WiMAX)主要係用於城市型區域網路,提供最後一公里無線寬頻接入,以提供實體網路以外之選擇;目前在無線IEEE 802.XX族眾多規範中以IEEE802.15.4與ZigBee最受市場矚目,因為該項技術標準係定義在低速個人無線區域網路,其中IEEE 802.15.4與ZigBee之間的關係,就如同TCP/IP與802.11的相對關係,IEEE 802.15.4定義了網路層以下的部分包含:實體層(Physical Layer,PHY)以及媒體存取控制層(Medium Access Control,MAC),而ZigBee則定義網路層(Network Layer,NWK)、安全層(Security Layer)、上層(Application Layer,AP)以及各種應用產品的設定檔,其技術特性在於:.低傳輸資料速率:僅10k字元/秒至250k字元/秒,致力於低傳輸速率環境之應用;.低耗能:在待機模式下的耗電量只有1μW,而在一般短距離通訊工作耗電量則是30mw,且在待機模式下,普通鹼性電池可維持6個月到2年以上的使用時間,免除使用者充電或者頻繁更換電池的次數;.低成本:因為低傳輸資料速率及簡化的協議架構,得以降低相關軟硬體之要求大幅降低成本。In order to meet the needs of personal mobility and convenience, the integration of electronic, information and communication technologies has accelerated the development and application of related fields. The field of wireless communication is an example, from the Institute of Electrical and Electronic Technology (Institute). Of Electrical and Electronic Engineer (IEEE) After the IEEE 802.11 standard was enacted in 1997, the demand for personal mobile communication and wireless Internet has flourished in the field of wireless communication. So far, mature IEEE IEEE 802.11 and wireless high-fax have been seen. (Wireless Fi-delity, Wi-Fi) is the network technology developed to replace wired area network technology, IEEE 802.16 and global interoperability microwave access (Worldwide Interoperability for Microwave Access (WiMAX) is primarily used in urban area networks to provide last-mile wireless broadband access to provide alternatives to physical networks; IEEE 802.15.4 is currently in the wireless IEEE 802.XX family of specifications. And ZigBee is the most popular in the market because the technical standard is defined in the low-speed personal wireless local area network, where the relationship between IEEE 802.15.4 and ZigBee is like the relative relationship between TCP/IP and 802.11, IEEE 802.15.4 definition. The following parts of the network layer include: Physical Layer (PHY) and Medium Access Control (MAC), while ZigBee defines Network Layer (NWK) and Security Layer (Security Layer). ), the upper layer (Application Layer, AP) and various application product profiles, the technical characteristics are: Low transmission data rate: only 10k characters/second to 250k characters/second, dedicated to low transmission rate environments; Low energy consumption: only 1μW in standby mode, and 30mw in normal short-distance communication. In standby mode, ordinary alkaline batteries can last for 6 months to 2 years. Time, exempting the user from charging or frequently changing the battery; Low cost: Because of the low data rate and simplified protocol architecture, the requirements of related software and hardware can be reduced to significantly reduce costs.

.網絡容量大:在無線傳輸感測網路中,理論上可以有將近65535個ZigBee設備存在同時存在。. Large network capacity: In the wireless transmission sensing network, theoretically there can be nearly 65,535 ZigBee devices coexisting.

.安全:ZigBee提供傳輸資料完整性檢查及鑑權功能,且加密算法採用AES-128,因此能應用在具有高規格安全性需求之環境。. Security: ZigBee provides transport data integrity check and authentication functions, and the encryption algorithm uses AES-128, so it can be used in environments with high specification security requirements.

.多工作頻道選擇:ZigBee提供三種可使用的頻道分別 為2.4GHz、868MHz及915MHz,其中2.4GHz為全球共通免執照頻道,868MHz為歐洲免執照頻道,915 MHz為北美地區免執照頻道。. Multi-work channel selection: ZigBee offers three channels that can be used separately It is 2.4GHz, 868MHz and 915MHz, of which 2.4GHz is the global unlicensed channel, 868MHz is the European license-free channel, and 915 MHz is the North American license-free channel.

IEEE802.15.4與ZigBee之標準是以感測與控制為主要應用方向,定義出簡單、成本低、易實現的無線通訊標準,根據ZigBee聯盟目前預設的目標市場,主要有PC外接設備舉如:鍵盤、滑鼠、各類游戲設備...等,消費電子產品上的遙控裝置,舉如:電視機、音響、冷氣...等,其他舉如電子寵物、車用感測器、醫療照護設備、工程監控設備...等領域。The IEEE802.15.4 and ZigBee standards are based on sensing and control, and define simple, low-cost, and easy-to-implement wireless communication standards. According to the current target market of the ZigBee Alliance, there are mainly PC external devices such as: Keyboards, mice, various game devices, etc., remote control devices on consumer electronics, such as: TV, stereo, air-conditioning, etc., such as electronic pets, car sensors, medical care Equipment, engineering monitoring equipment, etc.

然而在上述諸多特性之背後,卻存在著IEEE802.15.4與ZigBee之各項更新標準間有相容性之隱憂,且軟硬體運作所需通訊協定亦有不足,將導致使用者在實際運用上,有其相容性及資料傳輸漏失或不全之疑慮,亟需加以改善。However, behind the above-mentioned many characteristics, there are concerns about the compatibility between IEEE802.15.4 and ZigBee's update standards, and the communication protocols required for the operation of software and hardware are also insufficient, which will lead to the user's practical application. There is no need to improve the compatibility and the loss or incompleteness of data transmission.

為有效克服上述先前技術中,相容性及資料傳輸漏失或不全的隱憂,本發明提供一種低速無線個人網路之無線通訊方法,尤其是一種低速無線個人網路之通訊協定的媒體存取層協議方法,藉由重新定義該媒體存取層協議,同時簡化相關之各層級,由原ISO-OSI標準擬定之七層級簡化為三層級架構,該三層級架構由上到下分別為上層、媒體層及實體層,以實現感測與控制之效能。In order to effectively overcome the above-mentioned prior art, the compatibility and the loss or incompleteness of data transmission, the present invention provides a wireless communication method for a low-speed wireless personal network, in particular, a medium access layer of a low-speed wireless personal network communication protocol. The protocol method, by redefining the media access layer protocol and simplifying the relevant levels, the seven levels defined by the original ISO-OSI standard are simplified to a three-level architecture, which is upper layer and media from top to bottom. Layers and physical layers to achieve sensing and control performance.

為能達到上述目的,本發明提供一種低速無線個人網路之無線通訊方法,包含:運用一實體層(Physical Layer,PHY)之一實體層管理服 務實體(PLME,PHY Layer Management Entity),操作一無線傳輸接收器;該無線傳輸接收器,藉由一監測機制對一特定頻道之狀態進行監測,而在該特定頻道中選擇一區段;利用該實體層之一實體層屬性資料庫(PHY Information Base,PIB),存取該實體層之屬性;利用無線傳輸接收器,接收外界一資料訊框,該資料訊框經由該實體層管理服務實體傳送至該實體層;使用該實體層之一實體層訊框處理機制,拆解該資料訊框,而取得一媒體存取控制層協定資料單元(MAC Protocol Data Units,MPDU);經由一實體層資料收送服務存取點(PHY data service,PD-SAP),傳送該媒體存取控制層協定資料單元至一媒體存取控制層(Medium Access Control,MAC);該媒體存取控制層,使用一媒體層訊框處理機制,處理該媒體存取控制層協定資料單元並取得一上層訊框;及該上層訊框,經由該媒體存取控制層之一媒體層子層管理實體服務存取點(MAC SubLayer Management Entity,MLME-SAP),向一上層(Upper Layer)傳送。In order to achieve the above object, the present invention provides a wireless communication method for a low-speed wireless personal network, comprising: using a physical layer (PHY), a physical layer management service PLME (PHY Layer Management Entity), operating a wireless transmission receiver; the wireless transmission receiver monitors the state of a specific channel by a monitoring mechanism, and selects a segment in the specific channel; a physical layer attribute database (PIB) of the physical layer accessing the attribute of the physical layer; and receiving a data frame by using a wireless transmission receiver, the data frame managing the service entity via the physical layer Transmitting to the physical layer; using one of the physical layer physical layer frame processing mechanisms, disassembling the data frame to obtain a Medium Access Control Layer Protocol Data Unit (MPDU); a data access service access point (PD-SAP), transmitting the media access control layer protocol data unit to a medium access control layer (Medium Access Control, MAC); the media access control layer, using a media layer frame processing mechanism, processing the media access control layer protocol data unit and obtaining an upper layer frame; and the upper layer frame, via the media access control layer A Media Layer Sublayer Management Entity (MLME-SAP) is transmitted to an Upper Layer.

此外,本創作也包含:一上層,經由一媒體存取控制層共同部份子層存取點(MAC Common Part SubLayer Service Access Point,MCPS-SAP),傳送一上層訊框至一媒體存取控制層;該媒體存取控制層,使用一媒體層訊框處理機制,將該 上層訊框,組合成一媒體存取控制層協定資料單元;該媒體存取控制層,與一實體層資料收送服務存取點相連結;該媒體存取控制層協定資料單元,經由該實體層資料收送服務存取點,傳送至一實體層,該實體層使用一實體層訊框處理機制組合一實體層協定資料單元(Physical Protocol Data Units,PPDU);及經由該實體層資料收送服務存取點,透過該實體層操作一無線傳輸接收器,向外界傳送該實體層協定資料單元。In addition, the creation also includes: an upper layer, transmitting an upper layer frame to a media access control via a MAC Common Part SubLayer Service Access Point (MCPS-SAP) Layer; the media access control layer uses a media layer frame processing mechanism to The upper frame is combined into a media access control layer protocol data unit; the media access control layer is coupled to a physical layer data delivery service access point; the media access control layer protocol data unit, through the physical layer The data delivery service access point is transmitted to a physical layer, which uses a physical layer frame processing mechanism to combine a physical layer data unit (PPDU); and a data delivery service via the physical layer The access point operates a wireless transmission receiver through the physical layer to transmit the physical layer protocol data unit to the outside world.

故,一通訊單元根據上述方法,能接收並辨識外界所傳送之一資料訊框,以完成該資料訊框所指定之工作,也可接收一上層資料訊框,經由該媒體存取控制層及實體層向外界發送該資料訊框,以完成與另一通訊單元間之通訊。Therefore, according to the above method, a communication unit can receive and recognize one of the data frames transmitted by the outside world to complete the work specified by the data frame, and can also receive an upper layer data frame through the medium access control layer and The physical layer sends the data frame to the outside world to complete communication with another communication unit.

除此之外,本創作更加包含:所述特定頻道係為868-868.6 MHz、902-928 MHz或2400-2483.5 MHz。In addition, the creation further includes: the specific channel is 868-868.6 MHz, 902-928 MHz or 2400-2483.5 MHz.

所述特定頻道係為免執照頻道。The particular channel is an unlicensed channel.

所述監測機制係指一頻道空閒評估(Clear Channel Assessment,CCA)用以監測目前使用的頻道狀態,並依據下列三種模式進行頻道:模式1:能量超過門檻值(Threshold);模式2:偵測到使用相同調變及展頻特性的訊號;模式3:偵測到使用相同調變及展頻特性的訊號,且其能量超過門檻值。The monitoring mechanism refers to a Clear Channel Assessment (CCA) to monitor the current channel status and perform channels according to the following three modes: Mode 1: Energy exceeds threshold (Threshold); Mode 2: Detection Signals that use the same modulation and spread spectrum characteristics; Mode 3: Signals that use the same modulation and spread spectrum characteristics are detected and their energy exceeds the threshold.

所述媒體層子層管理實體服務存取點,係連結該媒體存取控制層與該上層,該上層能藉由媒體層子層管理實體服務存取點取用該媒體存取控制層之管理服務。The media layer sublayer management entity service access point is connected to the media access control layer and the upper layer, and the upper layer can be managed by the media layer sublayer management entity service access point to access the media access control layer. service.

所述實體層資料收送服務存取點,包含提供二對等媒體存取控制層之子層實體,及由一媒體存取控制層協定資料單元,在該二對等媒體存取控制層之子層實體之間進行資料傳輸。The physical layer data delivery service access point includes a sub-layer entity providing a second peer-to-peer medium access control layer, and a media access control layer protocol data unit at a sub-layer of the second peer-to-peer medium access control layer Data transfer between entities.

所述實體層協定資料單元格式係由一同步標頭(SHR,Synchronization header)、一實體層標頭(PHR,PHY header)及一實體層資料單元(PHY Service Data Unit,PHY Payload)組成。The physical layer protocol data unit format is composed of a synchronization header (SHR), a physical layer header (PHR, PHY header), and a PHY Service Data Unit (PHY Payload).

所述同步標頭更加包含:一前導字元,資料長度為4個位元組,且以二進位數值填入,填入值為全為‘0’;及一訊框起始分界點(Start-of-Frame Delimiter),並以一特定的字元10100111,代表訊框的起點。The synchronization header further includes: a leading character, the data length is 4 bytes, and is filled in by the binary value, the filling value is all '0'; and the start boundary of the frame (Start) -of-Frame Delimiter), with a specific character of 10100111, representing the beginning of the frame.

所述該實體層標頭之資料長度為8位元,該8位元分為一7位元之一訊框長度(frame length)及1位元之一保留位元,該訊框長度代表後續實體層資料單元的資料長度。The data length of the physical layer header is 8 bits, and the 8-bit element is divided into a frame length of one 7-bit and one reserved bit of 1 bit, and the frame length represents subsequent The data length of the physical layer data unit.

所述實體層資料單元之資料長度範圍為0至127位元組單位,包含一媒體存取控制層協定資料單元。The data length of the physical layer data unit ranges from 0 to 127 byte units, and includes a media access control layer protocol data unit.

所述實體層屬性資料庫之屬性係包含目前被裝置使用的頻道號碼、該特定頻道被使用的狀況、無線收發器的使用功率狀況及頻道空閒評估模式狀態。The attributes of the physical layer attribute database include the channel number currently used by the device, the status of the particular channel being used, the power usage status of the wireless transceiver, and the channel idle evaluation mode status.

所述媒體存取控制層協定資料單元,格式係由一媒體存取控制層標頭(MHR,MAC header)、一媒體存取控制層服務資料單元(MSDU,MAC Service Data Unit,MAC Payload)及一媒體存取控制層標尾(MFR,MAC footer)組成。The media access control layer protocol data unit, the format is a media access control layer header (MHR, MAC header), a media access control layer service data unit (MSDU, MAC Service Data Unit, MAC Payload) and A media access control layer tail (MFR, MAC footer) is composed.

所述媒體存取控制層標頭更加包含一訊框控制欄位(Frame Control Field)、一序列號欄位(Sequence Number)、一位址欄位(Addressing Field)及一訊框計數器欄位(Frame Counter)。The media access control layer header further includes a Frame Control Field, a Sequence Number, an Addressing Field, and a Frame Counter Field ( Frame Counter).

所述該序列號欄位,係用以辨識訊框之順序。The sequence number field is used to identify the sequence of frames.

所述位址欄位,係為一選擇性欄位,供一通訊單元辨識訊框之目的地或來源。The address field is a selective field for a communication unit to identify the destination or source of the frame.

所述訊框計數器欄位,供安全驗證機制演算時使用。The frame counter field is used for the calculation of the security verification mechanism.

所述訊框控制欄位格式更加包含一訊框類型(Frame Type)位元、一確認要求控制位元(Ack Request)、一連續資料控制位元(Continue)、一安全機制控制位元、一待傳送資料控制位元(Pending)及一保留位元。The frame control field format further includes a frame type bit, an acknowledge request control bit (Ack Request), a continuous data control bit (Continue), a security mechanism control bit, and a The data control bit (Pending) and a reserved bit to be transmitted.

所述訊框類型位元,係定義通訊協定之訊框類型。The frame type bit is a frame type that defines a communication protocol.

所述確認要求控制位元,當位元值設為‘1’,表示該訊框要求接收者使用一確認訊框回應。The confirmation request control bit, when the bit value is set to '1', indicates that the frame requires the recipient to respond with a confirmation frame.

所述連續資料控制位元,當位元值設為‘1’,表示發送者仍有後續的資料待送,接收者應在該訊框結束後,延續聽取一預設時間。The continuous data control bit, when the bit value is set to '1', indicates that the sender still has subsequent data to be sent, and the receiver should continue to listen for a preset time after the frame ends.

所述安全機制控制位元,當位元值設為‘1’,表示啟動驗證安全機制。The security mechanism controls the bit, and when the bit value is set to '1', it indicates that the authentication security mechanism is initiated.

所述待傳送資料控制位元,當位元值設為‘1’,表示一主通訊單元具有一待傳送資料要給一副通訊單元。The data control bit to be transmitted, when the bit value is set to '1', indicates that a main communication unit has a data to be transmitted to a communication unit.

所述連續資料控制位元,當接收之一訊框同時要求接收者以一確認訊框(Ack frame)回應,則延續時間從回應該確認訊框後起算。The continuous data control bit, when receiving a frame and requesting the recipient to respond with an Ack frame, continues the time from the response to the confirmation frame.

所述預設時間計算方式如下所示:[一訊框間隔時間]+[一連續訊框等待時間]The preset time calculation method is as follows: [one frame interval time] + [one continuous frame waiting time]

(式中:訊框間隔時間:表示在傳送訊框給同一通訊單元的二個訊框之間,所必須至少間隔一段時間;連續訊框等待時間:表示發送者仍有後續的資料待送所需之時間,接收者應在接收訊框結束後再延續聽取之時間)。(In the formula: frame interval time: it means that there must be at least a period of time between the two frames of the same communication unit in the transmission frame; continuous frame waiting time: indicating that the sender still has a subsequent data to be sent The time required, the recipient should continue the listening time after the end of the receiving frame).

所述安全機制控制位元,當位元值存在且啟動驗證安全機制,該媒體存取控制層標頭必須有該訊框計數器欄位,該媒體存取控制層服務資料單元必須具一簽證標籤,該簽證標籤之資料長度為8位元組,供驗證安全機制計算,用以確認傳送訊框來源裝置身分及內文正確性。The security mechanism controls the bit. When the bit value exists and the verification security mechanism is activated, the media access control layer header must have the frame counter field, and the media access control layer service data unit must have a visa label. The length of the visa label is octet for verification security mechanism calculation to confirm the identity of the source device and the correctness of the text.

所述待傳送資料控制位元,僅適用於主通訊單元傳送之一旗標訊框,且該訊框具一待傳送公告(Pending List)欄位。The data control bit to be transmitted is only applicable to the primary communication unit transmitting a flag frame, and the frame has a Pending List field.

所述保留位元係供擴充定義使用。The reserved bits are used for extension definitions.

所述驗證安全機制之演算方法,係採用AES-CCM 轉換程序。The calculation method of the verification security mechanism adopts the AES-CCM * conversion program.

所述媒體存取控制層標尾內容,係訊框檢查碼(Frame Check Sequence,FCS),用以驗證收到的訊框的正確性,該 訊框檢查碼構成內容係採用IEEE 802.15.4-2006,7.2.1.9節所構成。The content of the media access control layer, the frame check sequence (FCS), is used to verify the correctness of the received frame. The content of the frame check code is composed of IEEE 802.15.4-2006, section 7.2.1.9.

所述訊框類型包含一旗標訊框(Beacon Frame)、一命令訊框(Command Frame)、一確認訊框(Ack frame)、一資料訊框(Data Frame)或至少一保留訊框。The frame type includes a beacon frame, a command frame, an Ack frame, a data frame, or at least one reserved frame.

所述訊框類型包含一旗標訊框、一命令訊框、一確認訊框、一資料訊框及一保留訊框。The frame type includes a flag frame, a command frame, a confirmation frame, a data frame and a reserved frame.

所述保留訊框係供擴充定義使用。The reserved frame is used for extended definition.

所述旗標訊框格式包含:該媒體存取控制層標頭,包含:一訊框控制欄、一旗標序號欄(Beacon Sequence Number)、一位址欄及一訊框計數器欄;該媒體存取控制層服務資料單元,包含一待傳送公告欄、一旗標負載(Beacon Payload)及一簽證標籤欄;及該媒體存取控制層標尾,包含一訊框檢查碼。The flag frame format includes: the media access control layer header, and includes: a frame control bar, a Beacon Sequence Number, an address bar, and a frame counter column; the media The access control layer service data unit includes a to-be-transmitted bulletin board, a flag load (Beacon Payload) and a visa tag column; and the media access control layer header includes a frame check code.

所述該訊框控制欄位之確認要求欄位值係設為‘0’,每傳送5個主要旗標訊框,至少有一個必須使用安全驗證保護,使用安全驗證之訊框,該訊框之訊框控制欄的安全機制控制位元係設為‘1’。The confirmation request field value of the frame control field is set to '0', and at least one of the five main flag frames is transmitted, and at least one must use security verification protection, and the frame is used for security verification. The security mechanism control bit of the frame control bar is set to '1'.

所述訊框控制欄,於該主通訊單元具一待傳送資料要給該副通訊單元,該旗標訊框之訊框控制欄的待傳送資料控制位元,欄位值係設為‘1’。The frame control bar has a to-be-transmitted data to be sent to the sub-communication unit in the main communication unit, and the data control bit to be transmitted in the frame control column of the flag frame is set to '1 '.

所述旗標序號欄內之序號,依時間規劃之時槽數逐次累加1。The serial number in the column number column of the flag is incremented by one according to the number of slots in the time plan.

所述旗標序號欄內之序號,於發送一主要旗標時,該主要旗標之旗標序號係為時槽序號的倍數。The serial number in the column of the flag number is used to send a primary flag, and the flag number of the main flag is a multiple of the time slot number.

所述位址欄,係填入該主通訊單元之位址,代表發出該旗標之裝置。The address field is filled in the address of the main communication unit and represents the device that issued the flag.

所述訊框計數器欄,於該旗標訊框之訊框控制欄的安全機制控制位元值為‘1’時,該訊框計數器存在並計數。In the frame counter field, when the security mechanism control bit value of the frame control column of the flag frame is '1', the frame counter exists and counts.

所述待傳送公告欄,資料長度為1個位元組,包含第0至第7位元,每一個位元代表一相對應之副通訊單元;於該旗標訊框之訊框控制欄的待傳送資料控制位元值為1時存在。The bulletin to be transmitted, the data length is 1 byte, including 0th to 7th bits, each bit represents a corresponding sub-communication unit; in the frame control column of the flag frame Exists when the data control bit value to be transmitted is 1.

所述旗標負載,依上層要求傳送。The flag load is transmitted according to the requirements of the upper layer.

所述簽證標籤欄,於該旗標訊框之訊框控制欄的安全機制控制位元之值為‘1’時,則填入簽證標籤。In the visa label column, when the value of the security mechanism control bit of the frame control column of the flag frame is ‘1’, the visa label is filled in.

所述待傳送公告欄,係該主通訊單元傳送一命令訊框至該副通訊單元前,將該命令訊框儲存於該待傳送公告欄內,成為一待傳送資料。The to-be-transmitted bulletin board is configured to store the command frame in the to-be-transmitted bulletin board before the main communication unit transmits a command frame to the sub-communication unit to become a to-be-transmitted data.

所述命令訊框係透過該主通訊單元發送一旗標訊框,且設定該旗標訊框之訊框控制欄的待傳送資料控制位元,該位元值設為‘1’,表示一主通訊單元具有一待傳送資料要給一副通訊單元,未發送該旗標訊號公告,不可直接傳送該命令訊框。The command frame sends a flag frame through the main communication unit, and sets a data control bit to be transmitted in the frame control column of the flag frame, and the bit value is set to '1', indicating one The main communication unit has a data to be transmitted to a communication unit, and the flag signal announcement is not sent, and the command frame cannot be directly transmitted.

所述待傳送公告欄,係該主通訊單元傳送一資料訊框至該副通訊單元前,將該資料訊框儲存於該待傳送公告欄內,成為一待傳送資料。The bulletin to be transmitted is that the main communication unit transmits a data frame to the sub-communication unit, and stores the data frame in the bulletin board to be transmitted to become a data to be transmitted.

所述資料訊框係透過該主通訊單元發送一旗標訊框,且設定該旗標訊框之訊框控制欄的待傳送資料控制位元,該位元值設為‘1’,表示一主通訊單元具有一待傳送資料要給一副通訊單元,未發送該旗標訊號公告,不可直接傳送該資料訊框。The data frame sends a flag frame through the main communication unit, and sets a data control bit to be transmitted in the frame control column of the flag frame, and the bit value is set to '1', indicating one The main communication unit has a data to be transmitted to a communication unit, and the flag signal announcement is not sent, and the data frame cannot be directly transmitted.

所述命令訊框格式包含:該媒體存取控制層標頭,包含一訊框控制欄、一資料序號欄(Data Sequence Number,DSN)、一位址欄及一訊框計數器欄;該媒體存取控制層服務資料單元,包含一命令欄(Command Field)、一命令負載欄位(Command Payload)及一簽證標籤欄;及該媒體存取控制層標尾,包含一訊框檢查碼。The command frame format includes: a media access control layer header, including a frame control bar, a data sequence number (DSN), an address bar and a frame counter column; the media storage The control layer service data unit includes a command field (Command Field), a command payload field (Command Payload), and a visa tag column; and the media access control layer header includes a frame check code.

所述訊框控制欄內具有一依據命令訊框之種類而定之設定值。The frame control bar has a set value according to the type of the command frame.

所述資料序號欄,依據命令訊框個數逐次累加1。The data serial number column is incremented by one according to the number of command frames.

所述資料序號欄,依據資料訊框個數逐次累加1。The data serial number column is incremented by one according to the number of data frames.

所述位址欄(Addressing Field)內具有該依據命令訊框之種類而定之設定值。The address field (Setting Field) has the set value according to the type of the command frame.

所述訊框計數器欄,當訊框控制欄的安全機制控制位元之值為‘1’時,則執行訊框之計數。In the frame counter field, when the value of the security mechanism control bit of the frame control bar is '1', the counting of the frame is performed.

所述訊框計數器欄,當訊框控制欄的安全機制控制位元之值為‘0’時,則不執行訊框之計數。In the frame counter field, when the value of the security mechanism control bit of the frame control bar is '0', the counting of the frame is not performed.

所述命令欄,具一命令識別欄位(Command ID),代表 該訊框所含的命令訊框種類。The command bar has a command identification field (Command ID), which represents The type of command frame contained in the frame.

所述命令負載欄位具有該依據命令訊框之種類而定之設定值。The command load field has the set value according to the type of the command frame.

所述簽證標籤欄,於該命令訊框之訊框控制欄的安全機制控制位元之值為‘1’時,則填入簽證標籤。In the visa label column, when the value of the security mechanism control bit of the frame control column of the command frame is '1', the visa label is filled in.

所述簽證標籤欄,於該命令訊框之訊框控制欄的安全機制控制位元之值為‘0’時,則無資料。In the visa label column, when the value of the security mechanism control bit of the frame control column of the command frame is '0', there is no data.

所述簽證標籤,資料長度為8位元組,供驗證安全機制計算,用以確認傳送訊框來源裝置身分及內文正確性。The visa label, the length of the data is octet, for verification security mechanism calculation, to confirm the identity of the source device of the transmission frame and the correctness of the text.

所述命令訊框之種類,更加包含一旗標要求命令(Beacon Request)訊框、一資料要求(Data Request)訊框、一更改頻道求命令(Channel Change Request)訊框、一停止更改頻道命令(Channel Change Cancel)訊框、一更改頻道宣告命令(Channel Change Notification)訊框或至少一保留訊框。The type of the command frame further includes a flag request command (Beacon Request) frame, a data request message frame, a channel change request frame, and a stop channel change command. (Channel Change Cancel) frame, a channel change notification (Channel Change Notification) frame or at least one reserved frame.

所述命令訊框之種類,更加包含一旗標要求命令(Beacon Request)訊框、一資料要求(Data Request)訊框、一更改頻道求命令(Channel Change Request)訊框、一停止更改頻道命令(Channel Change Cancel)訊框、一更改頻道宣告命令(Channel Change Notification)訊框及至少一保留訊框。The type of the command frame further includes a flag request command (Beacon Request) frame, a data request message frame, a channel change request frame, and a stop channel change command. (Channel Change Cancel) frame, a Channel Change Notification frame and at least one reserved frame.

所述保留訊框係供擴充定義使用。The reserved frame is used for extended definition.

所述旗標要求命令訊框,係要求該主通訊單元傳送一旗標訊框。The flag request command frame requires the main communication unit to transmit a flag frame.

所述旗標要求命令訊框,係主通訊單元或副通訊單元發送,並在通訊系統時間內直接傳送。The flag request command frame is sent by the main communication unit or the sub-communication unit and transmitted directly during the communication system time.

所述旗標要求命令訊框,只有主通訊單元須具備接收及處理該該旗標要求訊框之能力。The flag requires a command frame, and only the primary communication unit must have the capability to receive and process the flag request frame.

所述旗標要求命令訊框,係為通用型旗標要求命令訊框(General Beacon Request)。The flag request command frame is a general-purpose flag request command frame (General Beacon Request).

所述旗標要求命令訊框,係為限制型旗標要求命令訊框(Limited Beacon Request)。The flag request command frame is a limited type beacon request (Limited Beacon Request).

所述訊框之負載值設為‘0’。The load value of the frame is set to '0'.

所述通用型旗標要求命令訊框之位址欄設為0xFFFFFFFF,該訊框控制欄的確認要求欄位值設為‘0’,驗證欄位值設為‘0’。The general-purpose flag requires that the address field of the command frame be set to 0xFFFFFFFF, the confirmation request field value of the frame control column is set to '0', and the verification field value is set to '0'.

所述通用型旗標要求命令訊框代表廣播(broadcast),所有收到該通用型旗標要求命令訊框之主通訊單元,皆必須在下二個時槽邊界的起點,發送不使用安全驗證機制的旗標訊框。The universal flag requires the command frame to represent a broadcast, and all the main communication units that receive the command frame of the general-purpose flag must send a non-use security verification mechanism at the beginning of the next two time slot boundaries. Flag box.

所述限制型旗標要求命令訊框之位址欄,設為特定主通訊單元之位址,該訊框控制欄的確認要求欄位值設為‘1’,驗證欄位值設為‘0’。The restricted flag requires the address field of the command frame to be set to the address of the specific primary communication unit, and the confirmation request field value of the frame control column is set to '1', and the verification field value is set to '0. '.

所述主通訊單元收到該限制型旗標要求命令訊框後,回應一確認訊框,並在下二個時槽邊界的起點發送使用安全驗證機制之旗標訊框。After receiving the restricted flag request command frame, the main communication unit responds to a confirmation frame and sends a flag frame using the security verification mechanism at the beginning of the next two time slot boundaries.

所述資料要求訊框之位址欄,填入該副通訊單元之位址,代表來源位址。The address field of the data request frame is filled in the address of the sub-communication unit, representing the source address.

所述資料要求訊框,當資料要求訊框之訊框控制欄的確認要求欄位值設為‘1’,則接收端係以一確認訊框回應。In the data request frame, when the confirmation request field value of the frame control column of the data request frame is set to '1', the receiving end responds with a confirmation frame.

所述資料要求訊框,當之驗證欄位值設為‘1’,則啟動安全驗證機制,以確保發送者身份為真。The data request frame, when the verification field value is set to '1', initiates a security verification mechanism to ensure that the sender identity is true.

所述資料要求訊框之負載值設為‘0’。The load value of the data request frame is set to '0'.

所述資料要求訊框,係該副通訊單元向所屬該主通訊單元要求傳送資料於該副通訊單元,經由一旗標訊框之待傳送資料控制位元,得知該主通訊單元有待傳送訊框,待傳送給該副通訊單元觸發。The data request frame is that the sub-communication unit requests the main communication unit to transmit data to the sub-communication unit, and the data communication control bit to be transmitted through a flag frame indicates that the main communication unit is to be transmitted. A frame to be transmitted to the secondary communication unit for triggering.

所述資料要求訊框,係該副通訊單元,向所屬該主通訊單元要求傳送資料,經由下列事件觸發:於該上層要求,該副通訊單元主動探詢,該副通訊單元所屬該主通訊單元之待傳送資料,傳送給該副通訊單元。The data request frame is required by the sub-communication unit to transmit data to the main communication unit, and is triggered by the following event: the sub-communication unit actively requests the upper communication unit, and the sub-communication unit belongs to the main communication unit The data to be transmitted is transmitted to the sub-communication unit.

所述更改頻道要求命令訊框之位址欄,係填入該副通訊單元之位址,代表來源位址。The address field of the change channel request command frame is filled in the address of the sub-communication unit, representing the source address.

所述更改頻道要求命令訊框,於該更改頻道要求命令訊框之訊框控制欄的確認要求欄位值設為‘1’,則接收端係以一確認訊框回應。The change channel requires a command frame, and the confirmation request field value of the frame control field of the change channel request command frame is set to '1', and the receiving end responds with a confirmation frame.

所述更改頻道要求命令訊框,當驗證欄位值設為‘1’,則啟動安全驗證機制,以確保發送者身份為真。The change channel requires a command frame. When the verification field value is set to '1', a security verification mechanism is initiated to ensure that the sender identity is true.

所述更改頻道要求命令訊框之負載值,係依據一預設事件。The changing channel requires the load value of the command frame to be based on a preset event.

所述更改頻道要求命令訊框,係該副通訊單元向所屬該主通訊單元要求更改頻道,於該副通訊單元,連續漏失一主 要旗標訊框達到一預設次數時觸發。The changing channel requires a command frame, wherein the sub-communication unit requests the main communication unit to change the channel, and the sub-communication unit continuously loses one main Triggered when the flag frame reaches a preset number of times.

所述預設次數係由設計者自行設定。The preset number of times is set by the designer.

所述更改頻道要求命令訊框,係該上層要求時觸發。The change channel request command frame is triggered when the upper layer requests.

所述預設事件係一喪失旗標事件、一頻道擁塞事件或一保留事件。The preset event is a lost flag event, a channel congestion event or a reserved event.

所述預設事件係一喪失旗標事件、一頻道擁塞事件及一保留事件。The preset event is a lost flag event, a channel congestion event, and a reserved event.

所述保留事件係供擴充定義使用。The reserved event is for use by the extension definition.

所述停止更改頻道要求訊框之位址欄,係填入該副通訊單元之位址,代表來源位址。The address bar of the stop changing channel request frame is filled in the address of the sub-communication unit, representing the source address.

所述停止更改頻道命令訊框,於該停止更改頻道命令訊框之訊框控制欄的確認要求欄位值設為‘1’時,接收端須以一確認訊框回應。The stop changing channel command frame, when the confirmation request field value of the frame control column of the stop changing channel command frame is set to '1', the receiving end must respond with a confirmation frame.

所述該停止更改頻道命令訊框,於該停止更改頻道命令訊框之驗證欄位值設為‘1’時,啟動安全驗證機制,以確保發送者身份為真。The stop changing channel command frame starts a security verification mechanism when the verification field value of the stop changing channel command frame is set to '1' to ensure that the sender identity is true.

所述停止更改頻道命令訊框之負載值設為‘0’。The load value of the stop changing channel command frame is set to '0'.

所述停止更改頻道命令訊框,係該副通訊單元向所屬該主通訊單元要求中止更改頻道,於該副通訊單元,偵測出更改頻道要求命令之原因已消滅時觸發。The stop changing the channel command frame is performed by the sub-communication unit requesting the main communication unit to abort the change channel, and the sub-communication unit detects that the reason for changing the channel request command has been extinguished.

所述停止更改頻道命令訊框,係該上層要求時。The stop changing channel command frame is requested by the upper layer.

所述更改頻道宣告命令訊框,係該主通訊單元,藉由該更改頻道宣告,通知該副通訊單元即將改變發送一主要旗標的頻道或時間。The change channel announcement command frame is the main communication unit, by the change channel announcement, notifying the sub-communication unit that the channel or time for transmitting a main flag is about to be changed.

所述更改頻道宣告命令訊框,於該主通訊單元,自行偵測到頻道衝突事件,因而進行更改頻道流程,且在該流程成功時觸發。The change channel announcement command frame, in the main communication unit, detects a channel conflict event by itself, thereby performing a channel change process, and triggering when the process succeeds.

所述更改頻道宣告命令訊框,於該主通訊單元,收到該副通訊單元因偵測出頻道衝突事件,而發出的更改頻道要求命令,因而進行更改頻道程序成功時觸發。The change channel announcement command frame, in the main communication unit, receives a change channel request command issued by the sub-communication unit due to detecting a channel conflict event, and thus triggers when the change channel program succeeds.

所述確認訊框格式包含:該媒體存取控制層標頭,包含一訊框控制欄及一序號欄;該媒體存取控制層標尾,包含一訊框檢查碼。The confirmation frame format includes: the media access control layer header, including a frame control bar and a serial number column; and the media access control layer header includes a frame check code.

所述序號欄內之序號,必須與確認接收之訊框的資料序號欄內之序號相同。The serial number in the serial number column must be the same as the serial number in the data serial number column of the frame to be received.

所述確認訊框,係用來回應一傳送端,確認已收到該傳送端所傳送之一特定訊框,且該訊框內容正確無誤。The confirmation frame is used to respond to a transmitting end, confirming that a specific frame transmitted by the transmitting end has been received, and the content of the frame is correct.

所述確認訊框之訊框控制欄的確認要求欄位值設為‘0’。The confirmation request field value of the frame control column of the confirmation frame is set to '0'.

所述確認訊框之安全機制控制位元之欄位值設為‘0’。The field value of the security mechanism control bit of the confirmation frame is set to '0'.

所述確認訊框之一接收端,必須在接收該確認訊框後一預設時間內傳送。The receiving end of one of the confirmation frames must be transmitted within a preset time after receiving the confirmation frame.

所述預設時間定義為:[一轉換時間]≦[預設時間]≦[一轉換時間]+[UBF]The preset time is defined as: [one conversion time] ≦ [preset time] ≦ [one conversion time] + [UBF]

(式中:轉換時間係為:實體層之參數,代表TX/RX轉換時,所允許的最大切換處理時間;UBF係為CSMA-CA機 制中之一Backoff的基本單位)。(In the formula: the conversion time is: the parameters of the physical layer, which represents the maximum switching processing time allowed during TX/RX conversion; UBF is CSMA-CA machine One of the basic units of Backoff).

所述資料訊框格式包含:該媒體存取控制層標頭,包含一訊框控制欄、一資料序號欄、一位址欄及一訊框計數器欄;該媒體存取控制層服務資料單元,包含一資料負載欄位(Data Payload)及一簽證標籤欄;及該媒體存取控制層標尾,包含一訊框檢查碼。The data frame format includes: a media access control layer header, including a frame control bar, a data serial number column, a address field column, and a frame counter field; the media access control layer service data unit, A data payload field (Data Payload) and a visa label column are included; and the media access control layer header includes a frame check code.

所述資料訊框係經一確認訊框回應,且訊框控制欄之確認要求欄位值設為‘1’。The data frame is responded by a confirmation frame, and the confirmation request field value of the frame control column is set to '1'.

所述資料訊框須安全驗證保護,且該資料訊框之訊框控制欄之安全機制控制位元設為‘1’。The data frame shall be securely verified and protected, and the security mechanism control bit of the frame control field of the data frame is set to '1'.

所述資料序號欄內之序號,依據命令訊框個數逐次累加1。The serial number in the serial number column of the data is incremented by one according to the number of command frames.

所述資料序號欄內之序號,依據資料訊框個數逐次累加1。The serial number in the serial number column of the data is incremented by one according to the number of data frames.

所述位址欄,當主通訊單元接收一訊框,該位址欄為該訊框來源之位址,代表傳送該訊框的副通訊單元位址。In the address bar, when the main communication unit receives a frame, the address field is the address of the source of the frame, and represents the address of the secondary communication unit that transmits the frame.

所述位址欄,當主通訊單元傳送一訊框,該位址欄填入該訊框傳送目的地之位址,代表應接收該資料訊框的副通訊單元位址。In the address bar, when the main communication unit transmits a frame, the address field is filled in the address of the frame transmission destination, and represents the address of the sub-communication unit that should receive the data frame.

所述位址欄,當副通訊單元接收一訊框,該位址欄為該訊框傳輸目的之位址,代表應接收該訊框的副通訊單元位址。In the address bar, when the sub-communication unit receives a frame, the address field is an address of the frame transmission destination, and represents a sub-communication unit address that should receive the frame.

所述位址欄,當副通訊單元傳送一訊框,該位址欄填入 該訊框來源之位址,代表傳送該訊框的副通訊單元位址。In the address bar, when the sub-communication unit transmits a frame, the address bar is filled in The address of the frame source represents the address of the secondary communication unit that transmits the frame.

所述訊框計數器欄,於該資料訊框須安全驗證保護,則該資料訊框之訊框計數器欄係存在,以供安全驗證運算時使用。In the frame counter field, when the data frame is to be securely verified and protected, the frame counter field of the data frame exists for use in the security verification operation.

所述資料負載欄位(Data Payload),依據上層之要求傳送。The data payload field (Data Payload) is transmitted according to the requirements of the upper layer.

所述簽證標籤欄,於該資料訊框須安全驗證保護,則該資料訊框之簽證標籤欄係存在,以供安全驗證運算時使用。In the visa label column, the information frame must be securely verified, and the visa label column of the data frame exists for use in the security verification operation.

所述命令訊框,係經由該副通訊單元在一特定時間區段內,直接傳送至該主通訊單元。The command frame is directly transmitted to the main communication unit via the sub-communication unit within a certain time zone.

所述資料訊框,係經由該副通訊單元在一特定時間區段內,直接傳送至該主通訊單元。The data frame is directly transmitted to the main communication unit via the sub-communication unit in a specific time zone.

所述特定時間區段,係為一時間規劃所定義之一執行週期。The specific time zone is one of the execution cycles defined by a time plan.

所述命令訊框經由該主通訊單元發送時,須遵循下列步驟:該主通訊單元向外界發送一旗標訊號,內含待傳送公告;所屬副通訊單元接收該旗標並拆解訊框,確認待傳送公告裡註記主通訊單元,有一待傳送命令訊框給該副通訊單元;該副通訊單元係等待至一執行週期後,發出一資料要求命令訊框,要求該主通訊單元,將該待傳送之命令訊框傳送給該副通訊單元; 該主通訊單元,發送一確認訊框至該副通訊單元,確認接收到該資料要求命令訊框;該主通訊單元,將該待傳送之命令訊框傳送給該副通訊單元;及所屬副通訊單元,發送一確認訊框至該主通訊單元,確認接收到該待傳送之命令訊框。When the command frame is sent by the main communication unit, the following steps are required: the main communication unit sends a flag signal to the outside, which contains an announcement to be transmitted; the sub-communication unit receives the flag and disassembles the frame. Confirming that the main communication unit is marked in the to-be-transmitted announcement, and there is a command frame to be transmitted to the sub-communication unit; the sub-communication unit waits for an execution period, issues a data request command frame, and requests the main communication unit to The command frame to be transmitted is transmitted to the sub-communication unit; The main communication unit sends a confirmation frame to the sub-communication unit to confirm receipt of the data request command frame; the main communication unit transmits the command frame to be transmitted to the sub-communication unit; and the sub-communication The unit sends a confirmation frame to the main communication unit to confirm receipt of the command frame to be transmitted.

所述資料訊框經由該主通訊單元發送時,須遵循下列步驟:該主通訊單元向外界發送一旗標訊號,內含待傳送公告;所屬副通訊單元接收該旗標並拆解訊框,確認待傳送公告裡註記主通訊單元,有一待傳送資料訊框給該副通訊單元;該副通訊單元係等待至一執行週期後,發出一資料要求命令訊框,要求該主通訊單元,將該待傳送之資料訊框傳送給該副通訊單元;該主通訊單元,發送一確認訊框至該副通訊單元,確認接收到該資料要求命令訊框;該主通訊單元,將該待傳送之資料訊框傳送給該副通訊單元;及所屬副通訊單元,發送一確認訊框至該主通訊單元,確認接收到該待傳送之資料訊框。When the data frame is sent by the main communication unit, the following steps are required: the main communication unit sends a flag signal to the outside, which contains an announcement to be transmitted; the sub-communication unit receives the flag and disassembles the frame. Confirming that the main communication unit is marked in the to-be-transmitted announcement, and there is a data frame to be transmitted to the sub-communication unit; the sub-communication unit waits for an execution period, issues a data request command frame, and requests the main communication unit to The data frame to be transmitted is transmitted to the sub-communication unit; the main communication unit sends a confirmation frame to the sub-communication unit to confirm receipt of the data request command frame; the main communication unit, the data to be transmitted The frame is transmitted to the sub-communication unit; and the sub-communication unit belongs to send a confirmation frame to the main communication unit to confirm receipt of the data frame to be transmitted.

所述主通訊單元,向外界發出一旗標訊號,供該副通訊單元同步,並聽取該副通訊單元的要求命令,以提供適當的服務,且1個主通訊單元最多可服務8個副通訊單元。The main communication unit sends a flag signal to the outside for synchronization of the sub-communication unit, and listens to the request command of the sub-communication unit to provide an appropriate service, and one main communication unit can serve up to 8 sub-communications unit.

所述副通訊單元,利用該旗標訊號與所屬該主通訊單元同步,並能向所屬該主通訊單元提出要求命令要求服務,且該副通訊單元必須編號。The sub-communication unit synchronizes with the main communication unit by using the flag signal, and can request a request for service to the main communication unit, and the sub-communication unit must be numbered.

所述媒體存取控制層服務資料單元,依訊框類型而設定有相對之訊框負載,用以放置該上層之資料。The media access control layer service data unit is configured to have a relative frame load according to the frame type for placing the upper layer data.

據此,一通訊單元根據上述方法,能接收與傳送一資料訊框,完成與另一通訊單元間之通訊,並能回應外界通訊環境之狀態,當通訊頻道出現擁塞時更換通訊頻道,故能降低無線通訊時傳輸資料碰撞造成傳輸資料遺失的問題,且本方法預留擴充欄位能依據不同之實施環境加以擴充,以實現提升無線感測系統之相容性、通訊品質與穩定性的目的。Accordingly, according to the above method, a communication unit can receive and transmit a data frame, complete communication with another communication unit, and can respond to the state of the external communication environment, and replace the communication channel when the communication channel is congested, so The problem of loss of transmission data caused by transmission data collision during wireless communication is reduced, and the reserved field of the method can be expanded according to different implementation environments to achieve the purpose of improving the compatibility, communication quality and stability of the wireless sensing system. .

然而,為能再加詳述本發明,併予列舉一較佳實施之圖例,配合圖式詳細說明如后述:However, in order to further clarify the present invention, and to illustrate a preferred embodiment of the drawings, the detailed description will be described later with reference to the drawings:

請參閱圖1,揭示出本發明低速無線個人網路之無線通訊方法的系統架構圖,在本實施上係應用於一車輛防盜系統,且該無線通訊方法之實施環境定義為三個層級,由上至下分別為一上層10、一媒體存取控制層11及一實體層12,運用該實體層12之一實體層管理服務實體,操作一無線傳輸接收器13,該無線傳輸接收器13,藉由一監測機制對一特定頻道之狀態進行監測,而在該特定頻道中選擇一區段,利用該實體層12之一實體層屬性資料庫,存取該實體層12 之各項屬性,利用無線傳輸接收器13,接收外界接收一資料訊框,該資料訊框經由該實體層管理服務實體傳送至該實體層12,使用該實體層12之一實體層訊框處理機制,拆解該資料訊框,而取得一媒體存取控制層協定資料單元,經由一實體層資料收送服務存取點,傳送該媒體存取控制層協定資料單元至該媒體存取控制層11,該媒體存取控制層11使用一媒體層訊框處理機制,處理該媒體存取控制層協定資料單元並取得一上層訊框,及該上層訊框,經由該媒體存取控制層11之一媒體層共同部份子層存取點,向該上層10傳送。Referring to FIG. 1 , a system architecture diagram of a wireless communication method for a low-speed wireless personal network according to the present invention is disclosed. The present embodiment is applied to a vehicle anti-theft system, and the implementation environment of the wireless communication method is defined as three levels. Up to down, respectively, an upper layer 10, a media access control layer 11 and a physical layer 12, using a physical layer management service entity of the physical layer 12, operating a wireless transmission receiver 13, the wireless transmission receiver 13, The state of a particular channel is monitored by a monitoring mechanism, and a segment is selected in the particular channel, and the physical layer 12 is accessed by using a physical layer attribute database of the physical layer 12. Each of the attributes is transmitted by the wireless transmission receiver 13 to receive a data frame, and the data frame is transmitted to the physical layer 12 via the physical layer management service entity, and the physical layer frame is processed by using the physical layer 12 Mechanism, disassembling the data frame, and obtaining a media access control layer protocol data unit, transmitting the media access control layer protocol data unit to the media access control layer via a physical layer data delivery service access point 11. The media access control layer 11 processes the media access control layer protocol data unit and obtains an upper layer frame and the upper layer frame through the media access control layer 11 by using a media layer frame processing mechanism. A media layer shares a partial sub-layer access point to the upper layer 10.

在更加具體的實施上,本發明也包含:該上層10,經由一媒體層共同部份子層存取點,傳送一上層訊框至一媒體存取控制層11,該媒體存取控制層11,使用一媒體層訊框處理機制,將該上層訊框,組合成一媒體存取控制層協定資料單元,該媒體存取控制層11,與一實體層資料收送服務存取點相連結,該媒體存取控制層協定資料單元,經由該實體層資料收送服務存取點,傳送至一實體層12,該實體層12使用一實體層訊框處理機制,組合一實體層協定資料單元,及經由該實體層資料服務存取點,透過該實體層12操作一無線傳輸接收器13,向外界傳送該實體層協定資料單元。In a more specific implementation, the present invention also includes: the upper layer 10, transmitting an upper layer frame to a media access control layer 11 via a media layer common partial layer access point, the medium access control layer 11 And using a media layer frame processing mechanism to combine the upper frame into a media access control layer protocol data unit, where the media access control layer 11 is connected to a physical layer data delivery service access point, The media access control layer protocol data unit is transmitted to the physical layer 12 via the physical layer data delivery service access point, and the physical layer 12 uses a physical layer frame processing mechanism to combine a physical layer protocol data unit, and Through the physical layer data service access point, a wireless transmission receiver 13 is operated through the physical layer 12 to transmit the physical layer protocol data unit to the outside world.

據此,一通訊單元依據上述方法,與另一通訊單元完成無線資料傳輸。Accordingly, a communication unit performs wireless data transmission with another communication unit according to the above method.

所述特定頻段係可為868-868.6 MHz、902-928 MHz、2400-2483.5 MHz...等公用免執照頻道,在本實施上 共16個頻道,如圖14所示。The specific frequency band may be a public license-free channel such as 868-868.6 MHz, 902-928 MHz, 2400-2483.5 MHz, etc., in this implementation A total of 16 channels, as shown in Figure 14.

該頻道計算方式如下所述:FC =2405+5(k-11)MHz,k=11至26The channel is calculated as follows: F C = 2405 + 5 (k - 11) MHz, k = 11 to 26

所述監測機制係指一頻道空閒評估用以監測目前使用的頻道狀態,並依據下列三種模式進行頻道判定:模式1:能量超過門檻值;模式2:偵測到使用相同調變及展頻特性的訊號;模式3:偵測到使用相同調變及展頻特性的訊號,且其能量超過門檻值。The monitoring mechanism refers to a channel idle evaluation to monitor the currently used channel status, and performs channel determination according to the following three modes: mode 1: energy exceeds threshold; mode 2: detection uses the same modulation and spread spectrum characteristics Signal 3; Mode 3: Signals using the same modulation and spread spectrum characteristics are detected and their energy exceeds the threshold.

被監測頻道以上述特定模式進行一頻道監測,當被監測頻道之狀態符合該特定模式之判別條件,即判定該頻道屬於忙碌,舉如當以模式一進行監測時,當被監測頻道之能量值超過門檻值則判定被監測頻道忙碌,即使該被監測頻道沒有偵測到使用相同調變及展頻特性的訊號,仍判定被監測頻道不適用。The monitored channel performs one channel monitoring in the above specific mode. When the status of the monitored channel meets the discriminating condition of the specific mode, it is determined that the channel is busy, as when the signal is monitored by mode 1, when the energy value of the monitored channel is If the threshold is exceeded, it is determined that the monitored channel is busy. Even if the monitored channel does not detect the signal using the same modulation and spreading characteristics, it is determined that the monitored channel is not applicable.

所述媒體層子層管理實體服務存取點,係連結該媒體存取控制層11與該上層10,且上層10能藉由媒體層子層管理實體服務存取點,取用該媒體存取控制層11之管理服務。The media layer sublayer management entity service access point is connected to the media access control layer 11 and the upper layer 10, and the upper layer 10 can manage the entity service access point by using the media layer sublayer, and access the media access. Management service of the control layer 11.

所述實體層資料收送服務存取點,包含提供二對等媒體存取控制層11之子層實體,及由一媒體存取控制層協定資料單元,在該二對等媒體存取控制層之子層實體之間進行資料傳輸。The physical layer data delivery service access point includes a sub-layer entity providing a second peer-to-peer media access control layer 11, and a media access control layer protocol data unit, and a sub-media access control layer Data transfer between layer entities.

所述實體層協定資料單元格式,係由一同步標頭、一實體層標頭及一實體層資料單元組成,如圖15所示。The physical layer protocol data unit format is composed of a synchronization header, a physical layer header, and a physical layer data unit, as shown in FIG.

所述同步標頭更加包含一前導字元,資料長度為4個位元組,且以二進位數值填入,填入值全為0;及一訊框起始分界點,並以一特定的字元10100111,代表訊框的起點。The synchronization header further includes a leading character, the data length is 4 bytes, and is filled in by the binary value, and the filled value is all 0; and the start boundary of the frame is a specific one. The character 10100111 represents the starting point of the frame.

所述實體層標頭之資料長度為8位元,該8位元分為一7位元之一訊框長度及1位元之一保留位元,該訊框長度代表後續實體層資料單元的資料長度。The data length of the physical layer header is 8 bits, and the 8-bit element is divided into a 7-bit frame length and a 1-bit reserved bit. The frame length represents the subsequent physical layer data unit. Data length.

所述實體層資料單元之資料長度,範圍為0至127位元組(octet)單位,包含一媒體存取控制層協定資料單元。The data length of the physical layer data unit ranges from 0 to 127 octet units and includes a media access control layer protocol data unit.

所述實體層屬性資料庫之屬性係包含目前被裝置使用的頻道號碼、該特定頻道被使用的狀況、無線收發器的使用功率狀況及頻道空閒評估模式狀態。The attributes of the physical layer attribute database include the channel number currently used by the device, the status of the particular channel being used, the power usage status of the wireless transceiver, and the channel idle evaluation mode status.

所述媒體存取控制層協定資料單元,格式係由一媒體存取控制層標頭、一媒體存取控制層服務資料單元及一媒體存取控制層標尾組成,如圖16所示。The media access control layer protocol data unit, the format is composed of a media access control layer header, a media access control layer service data unit, and a media access control layer tail, as shown in FIG.

所述媒體存取控制層標頭,更加包含一訊框控制欄位,資料長度為1個位元組;一序列號欄位,資料長度為1個位元組,用以辨識訊框之順序;一位址欄位,該欄位係為一選擇性欄位,該欄位資料長度為4個位元組,供一通訊單元,辨識訊框之目的地或來源;及一訊框計數器欄位,資料長度為4個位元組,供驗證機制演算時使用。The media access control layer header further includes a frame control field, the data length is 1 byte; a serial number field, the data length is 1 byte, used to identify the sequence of the frame An address field, which is a selective field, the length of the field data is 4 bytes for a communication unit, the destination or source of the identification frame; and a frame counter field Bit, the length of the data is 4 bytes, used for the verification mechanism calculation.

所述訊框控制欄位格式,更加包含(如表1所示):第零至二位元(Bit0~2)係為一訊框類型,該訊框類型係以該第零至二位元值定義;第三位元(Bit3)係為一確認要求,該第三位元值設為‘1’表示該訊框要求接收者必須使用一確認訊框回應;第四位元(Bit4)係為一連續值,該第四位元 值設為‘1’表示發送者仍有後續的資料待送,接收者應在該訊框結束後,需再延續聽取一預設時間,且當該訊框同時要求接收者需以一確認訊框回應,則延續時間從回應該確認訊框後起算;第五位元(Bit5)係為一認證碼,該第五位元值設為‘1’表示啟動驗證機制,媒體存取控制層標頭必須有該訊框計數器欄位,該媒體存取控制層服務資料單元必須具一簽證標籤,該第五位元值設為‘0’表示該訊框不須啟動驗證機制;第六位元(Bit6)係為一待傳送資料控制位元,僅適用於主通訊單元傳送之一旗標訊框,該第六位元值設為‘1’表示一主通訊單元具有一待傳送資料要給一副通訊單元,且該訊框必須具一待傳送公告欄位,該第六位元值設為‘0’表示無待傳送資料;第七位元(Bit7)係為一保留位元供擴充定義使用。The frame control field format is further included (as shown in Table 1): the zeroth to the two bits (Bit0~2) are a frame type, and the frame type is the zeroth to the two bits. The value is defined; the third bit (Bit3) is a confirmation request, and the third bit value is set to '1' to indicate that the frame requires the receiver to respond with a confirmation frame; the fourth bit (Bit4) is Is a continuous value, the fourth bit A value of '1' indicates that the sender still has subsequent data to be sent. The receiver should continue to listen for a preset time after the frame ends, and the frame requires the recipient to receive a confirmation message. The box responds, the continuation time is calculated from the back to the confirmation frame; the fifth bit (Bit5) is an authentication code, and the fifth bit value is set to '1' to indicate the activation verification mechanism, the media access control layer The header must have the frame counter field. The media access control layer service data unit must have a visa label. The fifth digit value is set to '0' to indicate that the frame does not need to initiate the verification mechanism; the sixth bit (Bit6) is a data control bit to be transmitted, which is only applicable to the main communication unit transmitting a flag frame. The sixth bit value is set to '1' to indicate that a main communication unit has a data to be transmitted. a communication unit, and the frame must have a bulletin field to be transmitted. The sixth bit value is set to '0' to indicate that no data is to be transmitted; and the seventh bit (Bit7) is a reserved bit for expansion. Define usage.

所述預設時間計算方式如下所示:[一訊框間隔時間]+[一連續訊框等待時間]The preset time calculation method is as follows: [one frame interval time] + [one continuous frame waiting time]

(式中:訊框間隔時間:表示在傳送訊框給同一通訊單元的二個訊框之間,必須至少間隔一段時間;連續訊框等待時間:表示發送者仍有後續的資料待送所需之時間,接收者應在接收訊框結束後再延續聽取之時間)。(In the formula: frame interval time: it means that there must be at least a period of time between the two frames of the same communication unit in the transmission frame; continuous frame waiting time: indicating that the sender still has the following data to be sent At the time, the receiver should continue the listening time after the end of the receiving frame.

所述驗證機制之演算方法,係採用AES-CCM 轉換程序。The calculation method of the verification mechanism adopts the AES-CCM * conversion program.

所述媒體存取控制層服務資料單元,依訊框類型而定之訊框負載,用以放置該上層10之資料。The media access control layer service data unit is configured to load the data of the upper layer 10 according to the frame type.

所述媒體存取控制層標尾內容,係訊框檢查碼,用以驗證收到的訊框的正確性,該訊框檢查碼構成內容係採用IEEE 802.15.4-2006,7.2.1.9節所構成。The media access control layer tailing content, the frame check code, is used to verify the correctness of the received frame, and the content of the frame check code is IEEE 802.15.4-2006, section 7.2.1.9. Composition.

該訊框檢查碼為16-bit CRC data,為計算MAC Header 及MAC Payload所得的結果,可以用來檢查收到的訊框是否正確,訊框檢查碼的計算流程如下:A.以M(x) 代表被計算的檢查碼(sequence),即MAC Header及MAC Payload形成的檢查碼,計算方式如下所示:M(x)b 0 x k-1 +b 1 x k-2 +...+b k-2 x+b k-1 方程式1The frame check code is 16-bit CRC data. The result of calculating the MAC Header and MAC Payload can be used to check whether the received frame is correct. The calculation process of the frame check code is as follows: A. Take M (x) ) represents the calculated check code, that is, the check code formed by MAC Header and MAC Payload, calculated as follows: M(x) = b 0 x k-1 +b 1 x k-2 +...+b K-2 x+b k-1 Equation 1

B.計算P(x) ,計算方式如下所示:P(x)M(x)x 16 方程式2B. Calculate P(x) , calculated as follows: P(x) = M(x) . x 16 Equation 2

C.計算P(x) 除以G16 (x) (modulo 2)所得餘式R(x) ,R(x) 以下式表示:G16 (x)x 16 x 12 x 5 1 方程式3C. Calculate P(x) divided by G 16 (x) (modulo 2) to obtain the remainder R(x) , where R (x) is expressed by: G 16 (x) = x 16 + x 12 + x 5 + 1 Equation 3

R(x) =r 0 x 15 r 1 x 14 +...+r 14 xr 15 方程式4 R(x) = r 0 x 15 + r 1 x 14 +...+ r 14 x + r 15 Equation 4

D.所得r 0 r 1 ...r 14 r 15 即為訊框檢查碼之檢查碼(FCS sequence)。D. The obtained r 0 r 1 ... r 14 r 15 is the check code of the frame check code (FCS sequence).

在本實施例上利用一位移暫存器(shift register)取得該訊框檢查碼,流程如下所示(如圖17所示):In this embodiment, the frame check code is obtained by using a shift register, and the flow is as follows (as shown in FIG. 17):

A.該暫存器(Register)初值r0r 15 全部設‘0’。A. The register initial values r 0 to r 15 are all set to '0'.

B.將MAC Header及MAC Payload依序餵入該暫存器。B. Feed the MAC Header and MAC Payload into the register in sequence.

C.當最後一個位元(bit)餵入後,該暫存器的內容值 (r0 ~r 15 )即為訊框檢查碼之檢查碼。C. When the last bit is fed, the contents of the register (r 0 ~ r 15 ) is the check code of the frame check code.

D.訊框檢查碼會加在訊框的尾部,r0 為最小權重位元(Least Significant Bit,LSB)。D. The frame check code will be added to the end of the frame, and r 0 is the Least Significant Bit (LSB).

所述訊框類型更進一步包含(如表2所示):一旗標訊框,該旗標訊框之訊框識別欄位值b2b1b0為000;一命令訊框,該命令訊框之訊框識別欄位值b2b1b0為001;一確認訊框,該確認訊框之訊框識別欄位值b2b1b0為010;及一資料訊框,該資料訊框之訊框識別欄位值b2b1b0為011。The frame type further includes (as shown in Table 2): a flag frame, the frame identification field value b2b1b0 of the flag frame is 000; a command frame, the frame of the command frame The identification field value b2b1b0 is 001; in a confirmation frame, the frame identification field value b2b1b0 of the confirmation frame is 010; and a data frame, the frame identification field value b2b1b0 of the data frame is 011.

其中,b2、b1及b0分別代表區分訊框類型的第一、第二及第三位元,且b2b1b0之位元值介於100至111之間係訊框識別欄位保留值供擴充定義使用。Wherein b2, b1, and b0 represent the first, second, and third bits of the frame type, respectively, and the bit value of b2b1b0 is between 100 and 111. The frame identification field reserved value is used for the extended definition. .

所述旗標訊框格式如下所述(如表3所示):該媒體存取控制層標頭(MHR,MAC header),包含一訊框控制欄(FCF)、一旗標序號欄(BSN)、一位址欄(Addressing)及一訊框計數器欄(Frame Counter);該媒體存取控制層服務資料單元(MSDU,MAC Service Data Unit,MAC Payload),包含一待傳送公告欄(Pending List)、一旗標負載(Beacon Payload)及一簽證標籤欄(Auth.Tag);及該媒體存取控制層標尾(MFR,MAC footer),包含一訊框檢查碼(FCS)。The flag frame format is as follows (as shown in Table 3): the media access control layer header (MHR, MAC header), including a frame control bar (FCF), a flag number column (BSN) ), an address bar (Addressing) and a frame counter (Frame Counter); the media access control layer service data unit (MSDU, MAC Service Data Unit, MAC Payload), including a pending Pending List, a Beacon Payload, and a Visa Label Bar (Auth.Tag); and the Media Access Control Layer End (MFR, MAC) Footer), including a frame check code (FCS).

該訊框控制欄,資料長度為1個位元組,傳送一旗標訊框不需確認訊框回應,該訊框控制欄位之確認要求欄位值須設為‘0’,每傳送5個主要旗標訊框,至少有一個必須使用安全驗證保護,使用安全驗證之訊框,該訊框之訊框控制欄的安全機制控制位元須設為‘1’,否則設為‘0’;當該主通訊單元具一待傳送資料要給該副通訊單元,該旗標訊框之訊框控制欄的待傳送資料控制位元欄位值須設為‘1’,否則設為‘0’。The frame control bar has a data length of 1 byte. The flag frame is transmitted without confirmation of the frame response. The confirmation field of the frame control field must be set to '0' for each transmission. At least one of the main flag frames must use security verification protection. Use the security verification frame. The security control bit of the frame control bar of the frame must be set to '1', otherwise set to '0'. When the main communication unit has a data to be transmitted to the sub-communication unit, the value of the data control bit field to be transmitted in the frame control column of the flag frame must be set to '1', otherwise set to '0 '.

該旗標序號欄,資料長度為1個位元組,該欄位依時槽數逐次加1,且主要旗標之旗標序號,必須為時槽序號的倍數。The flag number column, the length of the data is 1 byte, the field is incremented by 1 according to the number of slots, and the flag number of the main flag must be a multiple of the slot number.

該位址欄,資料長度為4個位元組,必須填入該主通訊單元之位址,代表發出該旗標之裝置。The address bar, the length of the data is 4 bytes, must be filled in the address of the main communication unit, representing the device that issued the flag.

該訊框計數器欄,當訊框控制欄的安全機制控制位元之值為‘1’時,該訊框計數器才存在並計數,資料長度為4個位元組,該訊框之訊框控制欄的安全機制控制位元之值為‘0’時,則不執行訊框之計數。In the frame counter field, when the value of the security mechanism control bit of the frame control bar is '1', the frame counter exists and counts, the data length is 4 bytes, and the frame control of the frame When the value of the security mechanism control bit of the column is '0', the counting of the frame is not performed.

該待傳送公告欄,當訊框控制欄的待傳送位元值為‘1’時,該待傳送公告欄存在,資料長度為1個位元組,該待傳送位元值為‘0’時,無該待傳送公告欄。In the to-be-transmitted bulletin board, when the bit value to be transmitted of the frame control column is '1', the bulletin board to be transmitted exists, the data length is 1 byte, and the bit value to be transmitted is '0'. There is no bulletin to be transmitted.

該旗標負載,依上層10要求傳送;該簽證標籤欄,當訊框控制欄的安全機制控制位元之值為‘1’時,則填入簽證標籤,資料長度為8個位元組,該訊框之訊框控制欄的安全機制控制位元之值為‘0’時,則該簽證標籤欄位不存在。The flag load is transmitted according to the requirements of the upper layer 10; in the visa label column, when the value of the security mechanism control bit of the frame control bar is '1', the visa label is filled in, and the data length is 8 bytes. If the value of the security mechanism control bit of the frame control bar of the frame is '0', the visa tag field does not exist.

該訊框檢查碼,該資料長度為2個位元組。The frame check code has a length of 2 bytes.

在本實施中,該旗標負載標頭的格式如下表4所示。In this implementation, the format of the flag payload header is as shown in Table 4 below.

其中,該車輛狀態(Vehicle Status)欄位包含:第零位元(Bit 0),為車輛上鎖;第一位元(Bit 1),為啟動車輛引擎;第二位元(Bit 2),為啟動車輛警報系統;第三至五位元(Bit 3~5),共2個位元(bits),為保留位元供未來擴充使用;一控制碼(Control bits)欄位包含:第六位元(Bit 6),為車輛警示;第七位元(Bit 7),為保留位元供擴充使用。The vehicle status field includes: a zero position (Bit 0) for the vehicle to lock; a first bit (Bit 1) for starting the vehicle engine; and a second bit (Bit 2), In order to activate the vehicle alarm system; the third to five bits (Bit 3~5), a total of 2 bits, for the reserved bits for future expansion; a control code field contains: sixth Bit (Bit 6), warning for the vehicle; Bit 7 (Bit 7), for reserved bits for expansion.

該控制碼欄位,係用以控制後續欄位之存在與否,在本實施例中該控制碼僅有一警示碼,只有當該警示碼的值為‘1’ 時,該旗標負載標頭後面才存在該警示訊息,資料長度則為1個位元組。The control code field is used to control the presence or absence of the subsequent field. In this embodiment, the control code has only one warning code, and only when the value of the warning code is '1'. The warning message exists only after the flag payload header, and the data length is 1 byte.

該旗標負載的格式如下表5所示。The format of the flag payload is shown in Table 5 below.

其中,該旗標負載標頭之資料長度為1個位元組,為強制性存在;一警示訊息為可選擇性存在,必須在該旗標負載標頭之控制碼的警示碼的值為‘1’時才存在;該警示訊息之資料長度為1個位元組,供警示宣告使用。Wherein, the data length of the flag load header is 1 byte, which is mandatory; a warning message is selectively present, and the value of the warning code of the control code of the flag load header must be ' It only exists at 1'; the length of the warning message is 1 byte for warning announcement.

所述待傳送公告欄,係該主通訊單元傳送一命令訊框或一資料訊框至該副通訊單元前,必須先將該命令訊框或該資料訊框儲存成為一待傳送資料,並發送一旗標訊框,且設定該旗標訊框之訊框控制欄的待傳送資料控制位元,該位元值設為‘1’,表示一主通訊單元具有一待傳送資料要給一副通訊單元,未發送該旗標訊號公告,不可直接傳送該命令訊框;該待傳送公告欄資料長度為1個位元組,分別為0至7位元,每一個位元代表一相對之副通訊單元。The bulletin board to be transmitted, before the main communication unit transmits a command frame or a data frame to the sub-communication unit, the command frame or the data frame must be stored as a data to be transmitted and sent. a flag frame, and setting a data control bit to be transmitted in the frame control column of the flag frame, the bit value is set to '1', indicating that a primary communication unit has a data to be transmitted to a pair The communication unit does not send the flag signal announcement, and the command frame cannot be directly transmitted; the length of the bulletin board data to be transmitted is 1 byte, respectively 0 to 7 bits, and each bit represents a relative pair Communication unit.

所述命令訊框格式如下所述(如表6所示):該媒體存取控制層標頭(MHR,MAC header),包含一訊框控制欄(FCF)、一資料序號欄(Data Sequence Number,DSN)、一位址欄(Addressing Field)及一訊框計數器欄(Frame Counter);該媒體存取控制層服務資料單元(MSDU,MAC Service Data Unit,MAC Payload),包含一命令欄(Command Field)、一命令負載欄位(Command Payload)及一簽證標籤欄(Auth.Tag);及該媒體存取控制層標尾(MFR,MAC footer),包含一訊框檢查碼(FCS)。The command frame format is as follows (as shown in Table 6): the media access control layer header (MHR, MAC header) includes a frame control bar (FCF), a data sequence number column (Data Sequence Number) , DSN), an Addressing Field, and a Frame Counter; the Media Access Control Layer Service Data Unit (MSDU, MAC Service) Data Unit, MAC Payload), including a Command Field, a Command Payload, and a Visa Tab (Auth.Tag); and the Media Access Control Layer (MFR, MAC footer) ), including a frame check code (FCS).

該訊框控制欄內具有一依據命令訊框之種類而定之設定值,資料長度為1個位元組;該資料序號欄,資料長度為1個位元組,該資料序號欄內之序號依據命令訊框或資料訊框各數逐次累加1;該位址欄內具有該依據命令訊框之種類而定之設定值,資料長度為4個位元組。The frame control column has a set value according to the type of the command frame, and the data length is 1 byte; the data serial number column has a data length of 1 byte, and the serial number in the data serial number column is based on The number of command frames or data frames is incremented by one; the address field has the set value according to the type of the command frame, and the data length is 4 bytes.

該訊框計數器欄,當訊框控制欄的安全機制控制位元之值設為‘1’時,則執行訊框之計數,資料長度為4個位元組,當訊框控制欄的安全機制控制位元之值為‘0’時,則不執行訊框之計數。In the frame counter field, when the value of the security mechanism control bit of the frame control bar is set to '1', the counting of the frame is performed, and the data length is 4 bytes, and the security mechanism of the frame control bar is used. When the value of the control bit is '0', the counting of the frame is not performed.

該命令欄,資料長度為1個位元組,具一命令識別欄位,代表該訊框所含的命令訊框種類。The command bar has a data length of 1 byte and a command recognition field, which represents the type of command frame contained in the frame.

該命令負載欄位具有該依據命令訊框之種類而定之設定值,有對應之命令負載值。The command load field has a set value according to the type of the command frame, and has a corresponding command load value.

該簽證標籤欄,當訊框控制欄的安全機制控制位元之值設為‘1’時,則填入簽證標籤,資料長度為8個位元組,供驗證安全機制計算,用以確認傳送訊框來源裝置身分及內文正確性;當訊框控制欄的安全機制控制位元之值為‘0’時,則無資料。In the visa label column, when the value of the security mechanism control bit of the frame control bar is set to '1', the visa label is filled in, and the data length is 8 bytes for verification security mechanism calculation to confirm the transmission. The frame source device identity and text correctness; when the value of the security mechanism control bit of the frame control bar is '0', there is no data.

該訊框檢查碼,該資料長度為2個位元組。The frame check code has a length of 2 bytes.

所述命令訊框之種類如下所述(如表7所示),一旗標要求訊框,該旗標要求訊框之命令識別欄位值b3b2b1b0為0001;一資料要求訊框,該資料要求訊框之命令識別欄位值b3b2b1b0為0010;一更改頻道要求命令訊框,該更改頻道要求命令訊框之命令識別欄位值b3b2b1b0為0011;一停止更改頻道要求訊框,該停止更改頻道要求訊框之命令識別欄位值b3b2b1b0為0100;及一更改頻道宣告訊框,該更改頻道宣告訊框之命令識別欄位值b3b2b1b0為0101。The type of the command frame is as follows (as shown in Table 7), a flag request frame, the command identification field value b3b2b1b0 of the flag request frame is 0001; a data request frame, the data request The command recognition field value b3b2b1b0 of the frame is 0010; a change channel requires a command frame, and the change channel requires that the command recognition field value b3b2b1b0 of the command frame is 0011; once the channel change request frame is stopped, the channel change request is stopped. The command recognition field value b3b2b1b0 of the frame is 0100; and a change channel announcement frame, the command recognition field value b3b2b1b0 of the change channel announcement frame is 0101.

其中,b3、b2、b1及b0分別代表區分命令訊框種類的第一、第二、第三及第四位元,且b3b2b1b0之位元值介於 0110至1111之間係該命令訊框識別欄位之保留值,供擴充定義使用。Wherein, b3, b2, b1, and b0 respectively represent the first, second, third, and fourth bits of the type of the command frame, and the bit value of b3b2b1b0 is between The reserved value of the command frame identification field between 0110 and 1111 is used for the extension definition.

所述旗標要求訊框,係要求該主通訊單元傳送一旗標訊框,且主通訊單元或副通訊單元皆能發送該旗標要求訊框,並可在系統時間內直接傳送,但只有主通訊單元須具備接收及處理該這個旗標要求訊框之能力。The flag request frame requires the main communication unit to transmit a flag frame, and the main communication unit or the sub-communication unit can send the flag request frame, and can directly transmit in the system time, but only The primary communication unit shall be capable of receiving and processing the flag request frame.

所述旗標要求訊框,係分為一通用型旗標要求命令訊框及一限制型旗標要求命令訊框,該通用型旗標要求命令訊框及該限制型旗標要求命令訊框之負載值設為‘0’。The flag request frame is divided into a general-purpose flag request command frame and a restricted flag request command frame, and the universal flag requires a command frame and the restricted flag request command frame. The load value is set to '0'.

所述通用型旗標要求命令訊框,位址欄設為0xFFFFFFFF,該訊框控制欄的確認要求欄位值設為‘0’,驗證欄位值設為‘0’;該通用型旗標要求命令訊框代表廣播(broadcast),所有收到該通用型旗標要求命令訊框之主通訊單元,皆必須在下二個時槽邊界的起點,發送不使用安全驗證機制的旗標訊框。The general-purpose flag requires a command frame, the address field is set to 0xFFFFFFFF, the confirmation request field value of the frame control column is set to '0', and the verification field value is set to '0'; the universal flag The command frame is required to represent the broadcast. All the main communication units that receive the command frame of the general-purpose flag must send a flag frame that does not use the security verification mechanism at the beginning of the next two time slot boundaries.

所述限制型旗標要求命令訊框之位址欄,設為一特定主通訊單元之位址,該訊框控制欄的確認要求欄位值設為‘1’,驗證欄位值設為‘0’;該特定主通訊單元,收到該限制型旗標要求命令訊框後,回應一確認訊框,並在下二個時槽邊界的起點,發送使用安全驗證機制之旗標訊框。The restricted flag requires the address field of the command frame to be set to the address of a specific main communication unit, and the confirmation request field value of the frame control column is set to '1', and the verification field value is set to ' 0'; the specific primary communication unit, after receiving the restricted flag request command frame, responds to a confirmation frame and sends a flag frame using the security verification mechanism at the beginning of the next two time slot boundaries.

所述資料要求訊框之位址欄,應填入該副通訊單元之位址,代表來源位址;當資料要求訊框之訊框控制欄的確認要求欄位值設為‘1’,接收端須以一確認訊框回應;當資料要求訊框之驗證欄位值設為‘1’,啟動安全驗證機制,以確保發送者身份為真;該資料要求訊框之負載值設為‘0’。The address field of the data request frame shall be filled in the address of the sub-communication unit, representing the source address; when the confirmation request field value of the frame control column of the data request frame is set to '1', the reception is received. The terminal shall respond with a confirmation frame; when the verification field value of the data request frame is set to '1', the security verification mechanism is activated to ensure that the identity of the sender is true; the load value of the data request frame is set to '0. '.

所述資料要求訊框,係該副通訊單元向所屬該主通訊單元要求傳送資料,經由下列二事件觸發:A.該副通訊單元,經由一旗標訊框之待傳送公告得知,該主通訊單元有待傳送訊框待傳送給該副通訊單元;B.該上層10要求,該副通訊單元主動探詢,該副通訊單元所屬該主通訊單元之待傳送資料,並要求該主通訊單元傳送該待傳送資料給該副通訊單元。The data request frame is required by the sub-communication unit to transmit data to the main communication unit, and is triggered by the following two events: A. the sub-communication unit is informed by the announcement of a flag frame to be transmitted, the main The communication unit has a to-be-transmitted frame to be transmitted to the sub-communication unit; B. the upper layer 10 requests the sub-communication unit to actively inquire, the sub-communication unit belongs to the main communication unit to transmit data, and requests the main communication unit to transmit the The information to be transmitted is sent to the sub-communication unit.

該副通訊單元提出該資料要求訊框的流程(如圖2所示)步驟如下所述:(1)令副通訊單元等待至一執行週期201;(2)令副通訊單元經一CSMA-CA機制傳送資料要求訊框202,該CSMA-CA機制執行成功則執行步驟(3);該CSMA-CA機制執行失敗則結束本流程203;(3)令副通訊單元傳送一資料要求訊框204,並等待所屬主通訊單元一確認訊框回應205;(4)該副通訊單元接收到該確認訊框,則執行步驟(5);該副通訊單元未收到該確認訊框,則結束本流程206;(5)該確認訊框之該訊框控制欄位的連續值為‘1’,則執行步驟(6);該確認訊框之該訊框控制欄位的連續值不為‘1’,則結束本流程207;(6)令副通訊單元再繼續聽取一預設時間208,該預設時間計算方式如下所示:[預設時間]=[一訊框間隔時間]+[連續訊框等待時間]The sub-communication unit proposes the flow of the data request frame (as shown in FIG. 2) as follows: (1) waiting for the sub-communication unit to wait until an execution cycle 201; (2) causing the sub-communication unit to pass a CSMA-CA The mechanism transmits a data request frame 202. If the CSMA-CA mechanism is successfully executed, the step (3) is performed; if the CSMA-CA mechanism fails to execute, the process 203 is ended; (3) the sub-communication unit transmits a data request frame 204, And waiting for the main communication unit to confirm the frame response 205; (4) the sub-communication unit receives the confirmation frame, step (5) is performed; if the sub-communication unit does not receive the confirmation frame, the process ends. 206; (5) the continuous value of the frame control field of the confirmation frame is '1', then step (6) is performed; the continuous value of the frame control field of the confirmation frame is not '1' Then, the process 207 is ended; (6) the sub-communication unit continues to listen to a preset time 208, and the preset time calculation mode is as follows: [preset time]=[one frame interval time]+[continuous information Box waiting time]

(式中:訊框間隔時間:表示在傳送訊框給同一通訊單 元的二個訊框之間,必須至少間隔一段時間;連續訊框等待時間:表示發送者仍有後續的資料待送所需之時間,接收者應在接收訊框結束後再延續聽取之時間)。(In the formula: frame interval time: indicates that the same communication list is sent to the message box. The two frames of the element must be separated by at least a period of time; the continuous frame waiting time: indicating that the sender still has time for the subsequent data to be sent, and the receiver should continue the listening time after the receiving frame ends. ).

(7)接收到一資料訊框則令副通訊單元執行步驟(5);未接收到一資料訊框則令副通訊單元結束本流程209。(7) Receiving a data frame causes the sub-communication unit to perform step (5); if no data frame is received, the sub-communication unit ends the process 209.

該主通訊單元接受該資料要求訊框的流程(如圖3所示)步驟如下所示:(1)令主通訊單元檢查該資料要求訊框之位址欄,確定發出者為所屬該副通訊單元則執行步驟(2);確定發出者非所屬該副通訊單元則結束本流程301;(2)令主通訊單元檢查有無待傳送資料,有待傳送資料要傳送至該副通訊單元則執行步驟(4);無待傳送資料執行步驟(3)[302];(3)令主通訊單元回應一確認訊框且連續值應設‘0’[303],傳送該確認訊框並結束本流程304;(4)令主通訊單元回應一確認訊框且連續值應設‘1’[305],傳送該確認訊框306;(5)令主通訊單元檢查待傳送訊框數307,當該待傳送訊框數大於1,則令主通訊單元回應一確認訊框且連續值應設‘1’[3071];當該待傳送訊框數小於1,則令主通訊單元回應一確認訊框且連續值應設‘0’[3072];(6)令主通訊單元執行一CSMA-CA機制308,該CSMA-CA機制執行成功則執行步驟(6);該CSMA-CA機制執行失敗則結束本流程309; (7)令主通訊單元傳送該待傳送資料310,並等待該副通訊單元一確認訊框回應311;(8)該主通訊單元接收到該確認訊框,則執行步驟(9);該主通訊單元未收到該確認訊框,則結束本流程312;(9)令主通訊單元檢查有無後續待傳送資料,有後續待傳送資料要傳送至該副通訊單元則執行步驟(5);無後續待傳送資料,則結束本流程。The main communication unit accepts the flow of the data request frame (as shown in FIG. 3). The steps are as follows: (1) The main communication unit checks the address bar of the data request frame to determine that the issuer belongs to the sub-communication. The unit performs step (2); determines that the issuer does not belong to the sub-communication unit, and ends the process 301; (2) causes the main communication unit to check whether there is any data to be transmitted, and the step of executing the data to be transmitted to the sub-communication unit is performed ( 4); no data to be transmitted (3) [302]; (3) the main communication unit responds to a confirmation frame and the continuous value should be set to '0' [303], the confirmation frame is transmitted and the flow 304 is ended. (4) Let the main communication unit respond to a confirmation frame and the continuous value should be set to '1' [305], and transmit the confirmation frame 306; (5) cause the main communication unit to check the number of frames to be transmitted 307, when the If the number of transmitted frames is greater than 1, the main communication unit responds with a confirmation frame and the continuous value should be set to '1' [3071]; when the number of frames to be transmitted is less than 1, the main communication unit responds with a confirmation frame and The continuous value should be set to '0' [3072]; (6) cause the primary communication unit to perform a CSMA-CA mechanism 308, the CSMA-CA Enforce successfully executing step (6); the CSMA-CA mechanism failed and finishes the process 309; (7) causing the main communication unit to transmit the to-be-transmitted data 310, and waiting for the sub-communication unit to acknowledge the frame response 311; (8) the main communication unit receives the confirmation frame, and then performing step (9); If the communication unit does not receive the confirmation frame, the process 312 is ended; (9) the main communication unit checks whether there is any subsequent data to be transmitted, and if the subsequent data to be transmitted is to be transmitted to the sub-communication unit, step (5) is performed; After the subsequent data to be transmitted, the process ends.

所述更改頻道要求命令訊框之位址欄,應填入該副通訊單元之位址,代表來源位址;於該更改頻道要求命令訊框之訊框控制欄的確認要求欄位值設為‘1’時,則接收端須以一確認訊框回應;於該更改頻道要求命令訊框之驗證欄位值設為‘1’時,則啟動安全驗證機制,以確保發送者身份為真;該資料要求訊框之負載值,係依據一預設事件而定之設定值值,有對應之更改頻道要求命令訊框的負載值。The address field of the change channel request command frame shall be filled in the address of the sub-communication unit, representing the source address; the confirmation request field value of the frame control column of the change channel request command frame is set to When '1', the receiving end shall respond with a confirmation frame; when the verification channel requires that the verification field value of the command frame is set to '1', the security verification mechanism is activated to ensure that the sender identity is true; The data request frame load value is a set value according to a preset event, and the corresponding change channel requires the load value of the command frame.

所述更改頻道要求命令訊框,係該副通訊單元向所屬該主通訊單元要求更改頻道,經由下列二事件觸發:A.該副通訊單元,連續漏失一主要旗標訊框達到2次;B.該上層10要求所屬該主通訊單元更改頻道。The change channel request command frame is that the sub-communication unit requests the main communication unit to change the channel, and is triggered by the following two events: A. the sub-communication unit continuously loses a main flag frame 2 times; B The upper layer 10 requires that the primary communication unit belong to change the channel.

所述預設事件如下所述(如表8所示):一喪失旗標事件,該喪失旗標事件之負載值b7b6b5b4為0001;及一頻道擁塞事件,該頻道擁塞事件之負載值b7b6b5b4為0010。The preset event is as follows (as shown in Table 8): a loss flag event, the load value of the lost flag event b7b6b5b4 is 0001; and a channel congestion event, the load value of the channel congestion event b7b6b5b4 is 0010 .

其中,b7、b6、b5及b4分別代表區分該事件種類的第一、第二、第三及第四位元,且b7b6b5b4之位元值介於0011至1111之間係負載值之保留值,供擴充定義使用。Wherein b7, b6, b5 and b4 respectively represent the first, second, third and fourth bits of the event type, and the bit value of b7b6b5b4 is between 0011 and 1111, and the value of the load is retained. Used for extended definitions.

所述停止更改頻道命令訊框之位址欄,係填入該副通訊單元之位址,代表來源位址;該停止更改頻道命令訊框,當訊框控制欄的確認要求欄位值設為‘1’時,則接收端須以一確認訊框回應;於該停止更改頻道命令訊框之驗證欄位值設為‘1’時,則啟動安全驗證機制,以確保發送者身份為真;該停止更改頻道命令訊框之負載值設為‘0’。The address bar of the stop changing channel command frame is filled in the address of the sub-communication unit, representing the source address; the stop changing the channel command frame, and the confirmation request field value of the frame control bar is set to When '1', the receiving end shall respond with a confirmation frame; when the verification field value of the stop changing channel command frame is set to '1', the security verification mechanism is activated to ensure that the sender identity is true; The load value of the stop change channel command frame is set to '0'.

所述停止更改頻道命令訊框係該副通訊單元向所屬該主通訊單元要求中止更改頻道,由下列二事件觸發:A.該副通訊單元,偵測出更改頻道要求命令之原因已消滅;B.該上層10要求,所屬該主通訊單元中止更改頻道。The stop changing channel command frame is that the sub-communication unit requests the main communication unit to suspend the change of the channel, and is triggered by the following two events: A. The sub-communication unit detects that the reason for changing the channel request command has been eliminated; The upper layer 10 requires that the primary communication unit belongs to abort changing the channel.

所述更改頻道宣告命令訊框,係該主通訊單元,藉由該更改頻道宣告通知該副通訊單元,即將改變發送一主要旗標的頻道或時間,由下列二事件觸發:The change channel announcement command frame is the main communication unit, and the sub-communication unit is notified by the change channel announcement, that is, the channel or time for sending a main flag is changed, which is triggered by the following two events:

A.該主通訊單元,自行偵測到頻道衝突事件,因而進行更改頻道流程,在該流程成功時。A. The main communication unit detects the channel conflict event by itself and thus changes the channel flow when the process is successful.

B.該主通訊單元,收到該副通訊單元因偵測出頻道衝突事件,而發出的更改頻道要求命令,因而進行更改頻道程 序成功時。B. The main communication unit receives the change channel request command issued by the sub-communication unit due to detecting a channel conflict event, thereby changing the channel path When the order is successful.

所述確認訊框格式如下所述(如表9所示):該媒體存取控制層標頭,包含一訊框控制欄;一序號欄,必須與確認接收之訊框的序號欄相同,資料長度為1個位元組,該確認訊框用以回應一傳送端,確認已收到該傳送端所傳送之一特定訊框,且該訊框內容正確無誤;及 該媒體存取控制層標尾,包含一訊框檢查碼,該資料長度為2個位元組。The confirmation frame format is as follows (as shown in Table 9): the media access control layer header includes a frame control bar; a serial number column must be the same as the sequence number column of the frame to be acknowledged and received, and the data The length is 1 byte, and the confirmation frame is used to respond to a transmitting end, confirming that a specific frame transmitted by the transmitting end has been received, and the content of the frame is correct; The media access control layer header includes a frame check code, and the data length is 2 bytes.

所述確認訊框不須被另一確認訊框回應,也不須使用安全驗證機制保護,因此該確認訊框之訊框控制欄的確認要求欄位值,及安全機制控制位元之欄位值皆必須設為‘0’,且序號欄內之序號,必須與確認接收之一訊框的資料序號欄內之序號相同,該確認訊框,係用來回應一傳送端,確認已收到該傳送端所傳送之一特定訊框,且該訊框內容正確無誤,在正確接收到一要求確認回應的訊框後,必須在一預設時間內傳送該確認訊框,且不經過CAMA-CA機制。The confirmation frame does not need to be responded by another confirmation frame, and does not need to be protected by a security verification mechanism. Therefore, the confirmation field of the frame control column of the confirmation frame requires the field value and the field of the security mechanism control bit. The value must be set to '0', and the serial number in the serial number field must be the same as the serial number in the data serial number column of the confirmation receiving frame. The confirmation frame is used to respond to a transmitting end and confirm that it has been received. A specific frame transmitted by the transmitting end, and the content of the frame is correct. After receiving a frame requesting a confirmation response, the confirmation frame must be transmitted within a preset time without passing through the CAMA- CA mechanism.

所述預設時間之定義如下所示:[一轉換時間]≦[預設時間]≦[一轉換時間]+[UBF]The definition of the preset time is as follows: [one conversion time] ≦ [preset time] ≦ [one conversion time] + [UBF]

(式中:轉換時間係為:實體層之參數,代表TX/RX轉換時,所允許的最大切換處理時間;UBF係為CSMA-CA機 制中之一Backoff的基本單位)。(In the formula: the conversion time is: the parameters of the physical layer, which represents the maximum switching processing time allowed during TX/RX conversion; UBF is CSMA-CA machine One of the basic units of Backoff).

所述資料訊框格式如下所述(如表10所示):該媒體存取控制層標頭,包含一訊框控制欄、一資料序號欄、一位址欄及一訊框計數器欄;該媒體存取控制層服務資料單元,包含一資料負載欄位及一簽證標籤欄;及該媒體存取控制層標尾,包含一訊框檢查碼。The data frame format is as follows (as shown in Table 10): the media access control layer header includes a frame control bar, a data serial number column, an address field column, and a frame counter field; The media access control layer service data unit includes a data load field and a visa tag column; and the media access control layer header includes a frame check code.

該訊框控制欄,資料長度為1個位元組,該資料訊框須一確認訊框回應及安全驗證保護,因此該訊框控制欄之確認要求欄位值,及安全機制控制位元值係設為‘1’。The control field of the frame, the length of the data is 1 byte. The data frame must be acknowledged by the frame and the security verification. Therefore, the confirmation field of the frame control column requires the field value and the security control bit value. Set to '1'.

該述資料序號欄,資料長度為1個位元組,該資料序號欄內之序號,依據命令訊框個數逐次累加1,或依據資料訊框個數逐次累加1。In the serial number column of the data, the length of the data is 1 byte. The serial number in the serial number column of the data is incremented by 1 according to the number of command frames, or 1 is added successively according to the number of data frames.

該位址欄,資料長度為4個位元組,於該主通訊單元接收一訊框,該位址欄代表該訊框來源之位址;於該主通訊單元傳送一訊框,該位址欄填入該訊框傳送目的地之位址,代表應接收該資料訊框的副通訊單元位址;於該副通訊單元接收一訊框,該位址欄為該訊框傳輸目的地之位址,代表應接收該訊框的副通訊單元位址;於該副通訊單元傳送一訊框,該位址欄填入該訊框來源之位址,代表傳送該訊框的副通訊單元位址。The address bar has a length of 4 bytes, and the main communication unit receives a frame, the address bar represents the address of the frame source; and the main communication unit transmits a frame, the address The field is filled in the address of the transmission destination of the frame, and represents the address of the sub-communication unit that should receive the data frame; the sub-communication unit receives a frame, and the address field is the transmission destination of the frame. Address, the sub-communication unit address of the frame should be received; the sub-communication unit transmits a frame, and the address field is filled in the address of the frame source, and represents the sub-communication unit address of the frame. .

該訊框計數器欄,資料長度為4個位元組,於該資料訊框須安全驗證保護,則該訊框計數器欄係存在,以供安全驗證運算時使用。The frame counter field has a data length of 4 bytes. When the data frame is to be securely verified, the frame counter field is present for use in the security verification operation.

該資料負載欄位依據上層10之要求傳送。The data load field is transmitted according to the requirements of the upper layer 10.

該簽證標籤欄,資料長度為8個位元組,該資料訊框須安全驗證保護,則該簽證標籤欄須存在,以供安全驗證運算時使用。In the visa label column, the length of the data is 8 bytes. If the information frame is to be securely verified, the visa label field must exist for safe verification.

該訊框檢查碼,該資料長度為2個位元組。The frame check code has a length of 2 bytes.

所述命令訊框可經由該副通訊單元在一特定時間區段內直接傳送至該主通訊單元。The command frame can be directly transmitted to the main communication unit via the sub-communication unit within a certain time period.

所述資料訊框可經由該副通訊單元在一特定時間區段內直接傳送至該主通訊單元。The data frame can be directly transmitted to the main communication unit via the sub-communication unit in a specific time zone.

所述特定時間區段係為一時間規劃所定義之一執行週期。The specific time zone is one of the execution cycles defined by a time plan.

所述命令訊框經由該主通訊單元發送時,須遵循下列步驟:該主通訊單元向外界發送一旗標訊號,內含待傳送公告;所屬副通訊單元接收該旗標並拆解訊框,確認待傳送公告裡註記主通訊單元,有一待傳送命令訊框給該副通訊單元;該副通訊單元係等待至一執行週期後,發出一資料要求命令訊框,要求該主通訊單元,將該待傳送之命令訊框傳送 給該副通訊單元;該主通訊單元,發送一確認訊框至該副通訊單元,確認接收到該資料要求命令訊框;該主通訊單元,將該待傳送之命令訊框傳送給該副通訊單元;及所屬副通訊單元,發送一確認訊框至該主通訊單元,確認接收到該待傳送之命令訊框。When the command frame is sent by the main communication unit, the following steps are required: the main communication unit sends a flag signal to the outside, which contains an announcement to be transmitted; the sub-communication unit receives the flag and disassembles the frame. Confirming that the main communication unit is marked in the to-be-transmitted announcement, and there is a command frame to be transmitted to the sub-communication unit; the sub-communication unit waits for an execution period, issues a data request command frame, and requests the main communication unit to Command frame transmission to be transmitted Giving the sub-communication unit; the main communication unit sends a confirmation frame to the sub-communication unit to confirm receipt of the data request command frame; the main communication unit transmits the command frame to be transmitted to the sub-communication And the sub-communication unit sends a confirmation frame to the main communication unit to confirm receipt of the command frame to be transmitted.

所述資料訊框經由該主通訊單元發送時,須遵循下列步驟:該主通訊單元向外界發送一旗標訊號,內含待傳送公告;所屬副通訊單元接收該旗標並拆解訊框,確認待傳送公告裡註記主通訊單元,有一待傳送資料訊框給該副通訊單元;該副通訊單元係等待至一執行週期後,發出一資料要求命令訊框,要求該主通訊單元,將該待傳送之資料訊框傳送給該副通訊單元;該主通訊單元,發送一確認訊框至該副通訊單元,確認接收到該資料要求命令訊框;該主通訊單元,將該待傳送之資料訊框傳送給該副通訊單元;及所屬副通訊單元,發送一確認訊框至該主通訊單元,確認接收到該待傳送之資料訊框。When the data frame is sent by the main communication unit, the following steps are required: the main communication unit sends a flag signal to the outside, which contains an announcement to be transmitted; the sub-communication unit receives the flag and disassembles the frame. Confirming that the main communication unit is marked in the to-be-transmitted announcement, and there is a data frame to be transmitted to the sub-communication unit; the sub-communication unit waits for an execution period, issues a data request command frame, and requests the main communication unit to The data frame to be transmitted is transmitted to the sub-communication unit; the main communication unit sends a confirmation frame to the sub-communication unit to confirm receipt of the data request command frame; the main communication unit, the data to be transmitted The frame is transmitted to the sub-communication unit; and the sub-communication unit belongs to send a confirmation frame to the main communication unit to confirm receipt of the data frame to be transmitted.

所述主通訊單元,向外界發出一旗標訊號,供該副通訊單元同步,並聽取該副通訊單元的要求命令,以提供適當的服務,且1個主通訊單元最多可服務8個副通訊單元。The main communication unit sends a flag signal to the outside for synchronization of the sub-communication unit, and listens to the request command of the sub-communication unit to provide an appropriate service, and one main communication unit can serve up to 8 sub-communications unit.

所述副通訊單元,利用該旗標訊號與所屬該主通訊單元同步,並能向所屬該主通訊單元提出要求命令要求服務,且該副通訊單元必須編號。The sub-communication unit synchronizes with the main communication unit by using the flag signal, and can request a request for service to the main communication unit, and the sub-communication unit must be numbered.

該主通訊單元對外界一特定的頻道搜集資訊,並以一時間規劃方法對該頻道進行時間結構劃分,該時間規劃方法係以一預設時間單位,均分該頻道之時間為複數個時槽,16個時槽構成一主要旗標發送時間間隔單位,每一主要旗標時間之第一時槽內發送一次一主要旗標,且連續發送之5個主要旗標中,至少有一個係使用一資料加密機制保護,以防制假冒的訊號。The main communication unit collects information on a specific channel of the outside world, and divides the time structure of the channel by a time planning method. The time planning method is a preset time unit, and the time of dividing the channel is a plurality of time slots. 16 time slots constitute a main flag transmission time interval unit, and one main flag is sent once in the first time slot of each main flag time, and at least one of the five main flags continuously transmitted is used. A data encryption mechanism protects against counterfeit signals.

此外,同步通訊須於一媒體控制層運作,而因應通訊單元之身分與不同之狀態,該媒體控制層之狀態以A、B、C與D四個狀態因應所需,該媒體控制層之四狀態如下所述(如圖4所示):待機狀態:一通訊裝置開機完成,或該副通訊單元失去與所屬該主通訊單元間的同步通訊,而進入該待機狀態;此時尚無法與其它通訊裝置進行溝通,係等待該上層10指令要求工作。In addition, the synchronous communication must be operated at a media control layer, and in response to the identity of the communication unit and the different states, the state of the media control layer is required by the four states A, B, C, and D, and the media control layer is four. The status is as follows (as shown in Figure 4): Standby state: a communication device is turned on, or the sub-communication unit loses synchronous communication with the main communication unit, and enters the standby state; this fashion cannot communicate with other communication The device communicates and waits for the upper layer 10 command to request work.

開啟狀態:該主通訊單元在待機狀態下,啟動一開啟服務流程,而後即進入開啟狀態,該主通訊單元在此時選擇最適當的一頻道及一時間,準備發送一主要旗標訊號;若開啟成功即進入服務狀態,開啟失敗即回到待機狀態。Open state: the main communication unit starts an open service flow in the standby state, and then enters an open state, and the main communication unit selects the most appropriate channel and time at this time, ready to send a main flag signal; When it is successfully turned on, it enters the service state. If it fails, it will return to the standby state.

搜尋狀態:該副通訊單元在待機狀態下,啟動一服務搜尋流程後即進入搜尋狀態,該副通訊單元在此時搜尋,所屬該主通訊單元發送之一主要旗標訊號的頻道及時間;若搜尋成功即進入服務狀態,搜尋失敗則回到待機狀態。Search status: the sub-communication unit enters the search state after starting a service search process in the standby state, and the sub-communication unit searches at this time, and belongs to the main communication unit to send the channel and time of one of the main flag signals; If the search succeeds, it will enter the service state, and if the search fails, it will return to the standby state.

服務狀態:該主通訊單元在開啟成功後,即進入服務狀態,此時該主通訊單元,係定期發送一主要旗標訊號,並開始輪巡各週期。Service status: After the main communication unit is successfully turned on, it enters the service state. At this time, the main communication unit periodically sends a main flag signal and starts to cycle each cycle.

該副通訊單元在搜尋成功後,即進入服務狀態,此時該副通訊單元係定期接收一主要旗標訊號,據此校正時槽邊界時間,維持與該所屬主通訊單元同步,並開始輪巡各週期;若該副通訊單元無法維持與所屬主通訊單元同步,則必須回到待機狀態。After the search succeeds, the sub-communication unit enters the service state. At this time, the sub-communication unit periodically receives a main flag signal, thereby correcting the slot boundary time, maintaining synchronization with the associated main communication unit, and starting the round tour. Each cycle; if the sub-communication unit cannot maintain synchronization with its own primary communication unit, it must return to the standby state.

其中,各通訊單元進入服務狀態後,該時槽更可切割為一執行週期、一休眠週期、一旗標週期及一準備週期四種(如圖4所示)且依據下列A至D順序輪巡各週期:After the communication unit enters the service state, the time slot can be further cut into an execution cycle, a sleep cycle, a flag cycle, and a preparation cycle (as shown in FIG. 4) and according to the following A to D sequence wheels. Tour cycle:

A.旗標週期113:係該主通訊單元,在旗標週期內發送旗標訊號,該副通訊單元在此週期內接收旗標訊號。A. Flag period 113: This main communication unit transmits a flag signal during the flag period, and the sub-communication unit receives the flag signal during this period.

B.執行週期114:係主通訊單元在執行週期內,接收副通訊單元傳送之資料或命令訊框,反之,副通訊單元在執行週期內,可視需要傳送資料或命令訊框,當執行週期內無資料須傳送,可提早進入節能模式以節省電源消耗。B. Execution cycle 114: The main communication unit receives the data or command frame transmitted by the sub-communication unit during the execution cycle, and vice versa, during the execution cycle, the sub-communication unit can transmit the data or command frame as needed during the execution period. No data to be transmitted, energy saving mode can be entered early to save power consumption.

C.休眠週期115:係當無特別事件待處理,該主通訊單元與該副通訊單元,皆可在休眠週期內進入節能模式,以節省電源消耗。C. Sleep cycle 115: When there is no special event to be processed, the primary communication unit and the secondary communication unit can enter the energy-saving mode during the sleep cycle to save power consumption.

D.準備週期116:當主通訊單元在下一個時槽不傳送旗標訊號,主通訊單元在準備週期內提早開啟,以接收副通訊單元傳送的資料,反之,當下一個時槽有旗標訊號要傳送,副通訊單元應在準備區間提早開啟,該提前開啟之動作,係為克服該主通訊單元與該副通訊單元之間,因其振盪元件差異所引起的時間誤差,接收端係在該接收訊號的時槽邊界之前,提前開啟接收器以免漏失資料,此提前開啟的區間長度為一前置時間;若下個旗標週期無旗標訊號需接收,則副通訊單元可進入節能模式以節省電源消耗。D. Preparation cycle 116: When the main communication unit does not transmit the flag signal in the next time slot, the main communication unit opens early in the preparation cycle to receive the data transmitted by the secondary communication unit, and vice versa, when the next time slot has a flag signal The transmission and the sub-communication unit should be opened early in the preparation interval. The action of pre-opening is to overcome the time error caused by the difference between the main communication unit and the sub-communication unit due to the difference of the oscillation elements, and the receiving end is in the receiving. Before the time slot boundary of the signal, the receiver is turned on in advance to avoid missing data. The length of the early opening interval is a lead time; if the next flag period has no flag signal to be received, the secondary communication unit can enter the energy saving mode to save Power consumption.

在本實施上,係應用於一車輛防盜系統,依據功能及用途不同,區分為一控制單元(Controller)及一移動單元(Remoter)兩種角色,其中,該控制單元係為該媒體存取控制層11所定義之該主通訊單元,在本實施係將該主通訊單元安裝於車輛上,透過CAN bus或UART link與一引擎管理(EMS)系統連接,掌控車輛防盜及引擎資訊通訊系統;該移動單元係為該媒體存取控制層11,所定義之該副通訊單元,該副通訊單元之編號為0,在本實施係將該副通訊單元係為一遙控器,且遙控器具備一使用者介面舉如:液晶顯示器、按鍵...等,用以顯示車輛之狀態警示訊息,並接受一使用者下達之車輛控制命令,並將該控制命令傳送給該控制單元。In this implementation, the system is applied to a vehicle anti-theft system, and is divided into a control unit (Controller) and a mobile unit (Remoter) according to functions and uses, wherein the control unit is the media access control. The main communication unit defined by layer 11 is installed in the vehicle in the present embodiment, and is connected to an engine management (EMS) system via a CAN bus or UART link to control the vehicle anti-theft and engine information communication system; The mobile unit is the media access control layer 11, the sub-communication unit is defined, and the sub-communication unit is numbered 0. In this embodiment, the sub-communication unit is a remote controller, and the remote controller has a use. The interface is as follows: a liquid crystal display, a button, etc., for displaying a status warning message of the vehicle, and accepting a vehicle control command issued by a user, and transmitting the control command to the control unit.

該控制單元及該移動單元必須進入一工作狀態,才能執行車輛防盜系統之相關運作,故該該控制單元及該移動單元必須在不同之狀態下,啟動一應用層對應之流程以進入工作狀態,該應用層之四狀態(如圖5所示)的描述如下所述:The control unit and the mobile unit must enter a working state to perform related operations of the vehicle theft prevention system. Therefore, the control unit and the mobile unit must start an application layer corresponding process to enter a working state in different states. The description of the four states of the application layer (shown in Figure 5) is as follows:

待機狀態:該控制單元在開機後或重新開機後,尚未開 始對該移動單元提供服務,該控制單元即處於待機狀態;移動單元開機完成後尚未與所屬控制單元完成同步通訊,或該移動單元失去與所屬控制單元間的同步通訊,而進入該待機狀態。Standby state: The control unit has not been turned on after power on or after rebooting. The mobile unit is initially provided with a service, and the control unit is in a standby state; after the mobile unit is powered on, the synchronous communication with the associated control unit has not been completed, or the mobile unit loses synchronous communication with the associated control unit, and enters the standby state.

啟動狀態:該控制單元在待機狀態下,啟動開始服務程序,立即進入啟動狀態,此時該控制單元在選擇最適當的頻道及時間,準備對所屬該移動單元提供各項服務。Start-up state: In the standby state, the control unit starts the start service program and immediately enters the startup state. At this time, the control unit selects the most appropriate channel and time, and prepares to provide various services to the mobile unit to which the mobile unit belongs.

同步狀態:該移動單元在待機狀態下啟動同步程序,立即進入同步狀態,此時該移動單元在搜尋所屬該控制單元提供服務的頻道及時間,並嘗試與所屬該控制單元同步。Synchronization state: The mobile unit starts the synchronization procedure in the standby state and immediately enters the synchronization state. At this time, the mobile unit searches for the channel and time of the service provided by the control unit, and attempts to synchronize with the control unit to which it belongs.

工作狀態:該控制單元在開始服務成功後,立即進入工作狀態,此時該控制單元須定期廣播發送一車輛狀態,並聽取所屬該移動單元發出的各項服務要求,當有警示事件發生,亦須發出相關的宣告通知移動單元。Working status: After the service is successfully started, the control unit enters the working state immediately. At this time, the control unit must periodically broadcast and send a vehicle status, and listen to the service requirements issued by the mobile unit. When a warning event occurs, A notice of the relevant mobile unit must be issued.

該移動單元在同步成功後,立即進入工作狀態,此時該移動單元係定期接收該車輛狀態,據此更新車輛狀態資訊,必要時也可對所屬該控制單元發出車輛控制命令。After the synchronization succeeds, the mobile unit immediately enters the working state. At this time, the mobile unit periodically receives the state of the vehicle, and accordingly updates the vehicle state information, and if necessary, issues a vehicle control command to the control unit.

當該移動單元收到所屬該控制單元發送之宣告,應透過適當的使用者介面舉如液晶顯示器,向該使用者顯示。When the mobile unit receives the announcement sent by the control unit, it should be displayed to the user through a suitable user interface such as a liquid crystal display.

以下分別為各狀態中該控制單元及該移動單元,在個別狀態中,所能執行的工作流程及其條件,首先,開始服務程序,只有該控制單元支援此程序,啟動的時機為開機或重新開機後。The following is the workflow and the conditions that can be executed by the control unit and the mobile unit in each state in each state. First, the service program is started. Only the control unit supports the program, and the startup timing is power on or restart. After booting up.

其中,當控制單元因開機或重新開機後,啟動開始服務 程序流程如圖6所示,詳細步驟如下所述:(1)初始SLPE值設為‘0’[401];(2)令控制單元進行該媒體存取控制層11的開啟服務程序402,當開啟服務程序成功則開始服務成功403,令控制單元進入工作狀態,並結束此程序407;當開啟服務程序失敗403,則執行步驟(3);(3)當SLPE>2,則開始服務失敗404,令控制單元回到待機狀態,並結束此程序408;(4)休息等待10 2SLPE 秒405;(5)SLPE加1[406];(6)回步驟2再次進行一開啟服務程序。Wherein, when the control unit is powered on or restarted, the process of starting the starting service program is as shown in FIG. 6, and the detailed steps are as follows: (1) the initial SLPE value is set to '0'[401]; (2) the control unit The service opening process 402 of the media access control layer 11 is started. When the service program is successfully started, the service success 403 is started, the control unit enters the working state, and the program 407 is ended. When the service program fails to be started 403, the step (3) is executed. (3) When SLPE>2, the service failure 404 is started, the control unit is returned to the standby state, and the program 408 is ended; (4) rest wait 10 * 2 SLPE seconds 405; (5) SLPE plus 1 [406 ]; (6) Go back to step 2 and perform an open service procedure again.

上述SLPE值係為一休息指數,為設定該控制單元休息等待之時間。The SLPE value is a rest index, which is a time for setting the rest of the control unit to rest.

其次,在同步狀態中,該移動單元在待機狀態下啟動同步程序,該同步程序只有該移動單元支援此程序,以使該移動單元進入工作狀態,依據啟動時機不同,可分為下列四種程序:Secondly, in the synchronization state, the mobile unit starts the synchronization program in the standby state, and the synchronization program only supports the program by the mobile unit, so that the mobile unit enters the working state, and can be divided into the following four programs according to different starting timings. :

模式一:開機或重新開機之後。Mode 1: After powering on or rebooting.

模式二:喪失同步之後;當該移動單元接到該媒體存取控制層11傳來之一喪失同步訊息時,應先回到待機狀態,並立即執行此程序。Mode 2: After the synchronization is lost; when the mobile unit receives a loss of synchronization message from the media access control layer 11, it should first return to the standby state and immediately execute the program.

模式三:掃描要求時;當該移動單元接收到該使用者要求掃描頻道時,即執行此程序。Mode 3: When scanning is required; when the mobile unit receives the user requesting to scan the channel, the program is executed.

模式四:待機狀態時;當該移動單元位於待機狀態且無 其它工作進行時,即進行此程序。Mode 4: In standby mode; when the mobile unit is in standby and no This procedure is performed as other work progresses.

以下依序為模式一至四之程序步驟詳述。The following is a detailed description of the procedure steps of modes one through four.

同步模式一程序流程(如圖7所示)步驟如下所述:(1)令移動單元執行該媒體存取控制層11的服務搜尋流程C一次501,成功則執行步驟(6)[502];失敗則令移動單元執行步驟(2)[502];(2)令移動單元執行該媒體存取控制層11的服務搜尋流程A二次503,成功則執行步驟(6);失敗則令移動單元執行步驟(3)[504];(3)令移動單元執行該媒體存取控制層11的服務搜尋流程D一次505,成功則執行步驟(6);失敗則令移動單元執行步驟(4)[506];(4)令移動單元執行該媒體存取控制層11的服務搜尋流程B二次507,成功則執行步驟(6);失敗則令移動單元執行步驟(5)[508];(5)步驟(1)至(4)皆失敗,則同步失敗,令移動單元回到待機狀態51,結束此程序;(6)同步成功,令移動單元進入工作狀態52,結束此程序。The synchronization mode-program flow (shown in FIG. 7) steps are as follows: (1) the mobile unit performs the service search process C of the media access control layer 11 once 501, and if successful, performs step (6) [502]; The failure causes the mobile unit to perform step (2) [502]; (2) causes the mobile unit to perform the service search process A of the media access control layer 11 twice 503, and if successful, performs step (6); if it fails, the mobile unit Step (3) [504]; (3) cause the mobile unit to perform the service search process D of the media access control layer 11 once 505, if successful, perform step (6); if the failure, the mobile unit performs step (4) [ 506]; (4) causing the mobile unit to perform the service search process B of the media access control layer 11 twice, 507, if successful, perform step (6); if it fails, the mobile unit performs step (5) [508]; (5) If both steps (1) to (4) fail, the synchronization fails, the mobile unit returns to the standby state 51, and the program ends; (6) the synchronization is successful, the mobile unit enters the working state 52, and the program ends.

同步模式二程序流程步驟如下所述(如圖8所示):(1)令移動單元執行該媒體存取控制層11的服務搜尋流程C一次510,若成功則執行步驟(5);失敗則令移動單元執行步驟(2)[511];(2)令移動單元執行該媒體存取控制層11的服務搜尋 流程A二次512,若成功則執行步驟(5);失敗則令移動單元執行步驟(3)[513];(3)令移動單元執行該媒體存取控制層11的服務搜尋流程D一次514,若成功則執行步驟(5);失敗則令移動單元執行步驟(4)[515];(4)步驟(1)至(3)皆失敗,則同步失敗,令移動單元回到待機狀態51,結束此程序;(5)同步成功,令移動單元進入工作狀態52,結束此程序。The synchronization mode two program flow steps are as follows (as shown in FIG. 8): (1) the mobile unit performs the service search process C of the media access control layer 11 once 510, and if successful, executes step (5); Let the mobile unit perform step (2) [511]; (2) cause the mobile unit to perform the service search of the medium access control layer 11 Flow A is 512. If successful, step (5) is performed; if the failure is performed, the mobile unit performs step (3) [513]; (3) causes the mobile unit to perform the service search flow D of the medium access control layer 11 once 514. If the success is successful, step (5) is performed; if the failure is performed, the mobile unit performs step (4) [515]; (4) steps (1) to (3) fail, the synchronization fails, and the mobile unit returns to the standby state 51. End the program; (5) the synchronization is successful, the mobile unit enters the working state 52, and the program ends.

同步模式三程序流程(如圖9所示)步驟如下所述:(1)令移動單元執行該媒體存取控制層11的服務搜尋流程D一次520,成功則執行步驟(5);失敗則令移動單元執行步驟(2)[521];(2)令移動單元執行該媒體存取控制層11的服務搜尋流程A二次522,成功則執行步驟(5);失敗則令移動單元執行步驟(2)[523];(3)令移動單元執行該媒體存取控制層11的服務搜尋流程B一次524,成功則執行步驟(5);失敗則令移動單元執行步驟(2)[525];(4)步驟(1)至(3)皆失敗,則同步失敗,令移動單元回到待機狀態51,結束此程序;(5)同步成功,令移動單元進入工作狀態52,結束此程序。The synchronization mode three program flow (shown in FIG. 9) has the following steps: (1) causing the mobile unit to perform the service search process D of the media access control layer 11 once 520, and if successful, perform step (5); The mobile unit performs step (2) [521]; (2) causes the mobile unit to perform the service search process A of the media access control layer 11 twice 522, and if successful, performs step (5); if not, the mobile unit performs the step ( 2) [523]; (3) Let the mobile unit perform the service search process B of the media access control layer 11 once 524, if successful, perform step (5); if it fails, the mobile unit performs step (2) [525]; (4) If both steps (1) to (3) fail, the synchronization fails, the mobile unit returns to the standby state 51, and the program ends; (5) the synchronization is successful, the mobile unit enters the working state 52, and the program ends.

同步模式四程序流程(如圖10所示)步驟如下所述: (1)每10秒530令移動單元執行媒體存取控制層11服務搜尋流程C一次531,服務搜尋成功則執行步驟(4)[532];(2)服務搜尋失敗532,則令移動單元,判別執行服務搜尋流程C總搜尋時間,當該服務搜尋流程C總搜尋時間低於360秒,則令移動單元繼續執行步驟(1);當該服務搜尋流程C總搜尋時間等於360秒,則令移動單元執行步驟(3)[533];(3)每360秒534,令移動單元執行媒體存取控制層11服務搜尋流程A一次535,服務搜尋成功則執行步驟(4);服務搜尋失敗,則令移動單元執行步驟(1)[536];(4)同步成功,進入工作狀態52,結束此程序。The synchronization mode four program flow (shown in Figure 10) steps are as follows: (1) Every 10 seconds 530 causes the mobile unit to perform the media access control layer 11 service search process C once 531, the service search succeeds to perform step (4) [532]; (2) the service search fails 532, then the mobile unit, Determining the total search time of the service search process C. When the total search time of the service search process C is less than 360 seconds, the mobile unit continues to perform step (1); when the service search process C total search time is equal to 360 seconds, The mobile unit performs step (3) [533]; (3) every 342 seconds, the mobile unit performs the media access control layer 11 service search process A 535 once, and the service search succeeds step (4); the service search fails. Then, the mobile unit performs step (1) [536]; (4) the synchronization succeeds, enters the working state 52, and ends the program.

此外,同步模式四程序中,媒體存取控制層11服務搜尋流程進行中為同步狀態,當服務搜尋失敗而該移動單元休息時為待機狀態。In addition, in the synchronous mode four program, the media access control layer 11 service search process is in a synchronized state, and is in a standby state when the service search fails and the mobile unit is at rest.

其中上述該移動單元之同步程序中,所述服務搜尋流程分別為下列A、B、C與D四種:In the synchronization procedure of the mobile unit, the service search process is respectively the following four types: A, B, C, and D:

A:在該副通訊單元進入待機狀態前,最後設定之使用頻道開啟一單位時間接收該旗標訊號。A: Before the sub-communication unit enters the standby state, the last set use channel is turned on for one unit time to receive the flag signal.

B:依頻道搜尋之順序,在各頻道開啟一單位時間接收該旗標訊號。B: According to the order of channel search, the unit signal is received for one unit time on each channel.

C:在該副通訊單元進入待機狀態前,最後設定之使用頻道進行一頻道搜尋流程。C: Before the sub-communication unit enters the standby state, the channel that is finally set is used to perform a channel search process.

D:依頻道搜尋之順序,在各頻道進行該頻道搜尋流程。D: The channel search process is performed on each channel in the order of channel search.

當控制單元在進入工作狀態之後,必須將目前之該車輛狀態資訊,透過該媒體存取控制層11之一主要旗標定期廣播傳送給該移動單元,當移動單元收到該車輛狀態資訊後,發現該車輛狀態資訊有更新,則必須透過該使用者介面之一顯示器顯示給該使用者。After the control unit enters the working state, the current vehicle state information must be periodically broadcasted to the mobile unit through one of the main flags of the media access control layer 11, and when the mobile unit receives the vehicle status information, If the vehicle status information is found to be updated, it must be displayed to the user through one of the display of the user interface.

車輛狀態的資訊封包在一主要旗標負載之一負載標頭裡,如圖18所示。The information of the vehicle status is encapsulated in a load header of one of the main flag loads, as shown in FIG.

該車輛狀態使用之格式如下表11所示: The format of the vehicle status is shown in Table 11 below:

車輛狀態共6位元(bits),除位元(bit)3至5保留供未來使用外,其餘各位元代表意義如下所述:The vehicle status is a total of 6 bits, except for the bits 3 to 5 reserved for future use. The meanings of the remaining elements are as follows:

A. Lock bit:‘1’表示車輛上鎖,‘0’表示車輛未上鎖。A. Lock bit: '1' indicates that the vehicle is locked, and '0' indicates that the vehicle is not locked.

B. Running bit:‘1’表示引擎運轉中,‘0’表示引擎未發動。B. Running bit: '1' indicates that the engine is running, and '0' indicates that the engine is not started.

C. Alarm bit:‘1’表示警報喇叭鳴叫,‘0’表示警報喇叭未鳴叫。C. Alarm bit: '1' indicates that the alarm horn is beeping, and '0' indicates that the alarm horn is not beeping.

該控制單元必須永久記憶Lock bit的狀態,不可因失去電源或重新開機而改變其狀態值;其它車輛狀態的狀態值可透過CAN Bus或UART link與引擎管理系統連線取得。The control unit must permanently remember the state of the Lock bit. It cannot change its state value due to loss of power or reboot. The status values of other vehicle states can be obtained by connecting to the engine management system via CAN Bus or UART link.

當控制單元偵測到下列任一事件發生時,必須執行警示宣告程序,將相關的警示訊息傳送給移動單元知道。When the control unit detects that any of the following events occur, an alert announcement procedure must be performed to transmit the relevant alert message to the mobile unit for knowledge.

A.震動:於上鎖狀態時,偵測到車輛位置改變。A. Vibration: When the locked state is detected, the position of the vehicle is detected to change.

B.非法啟動:偵測到尚未解鎖即嘗試發動引擎。B. Illegal start: I try to start the engine when it detects that it has not been unlocked.

C.駭客入侵:接收到該媒體存取控制層11,傳來的駭客入侵訊息。C. Hacker Intrusion: Received the hacker intrusion message from the media access control layer 11.

當移動單元收到警示宣告時,必須透過該移動單元上之該顯示器顯示給使用者知道。When the mobile unit receives the alert announcement, it must be displayed to the user through the display on the mobile unit.

該警示訊息透過該媒體存取控制層11之該主要旗標訊框傳送,其資訊封包在該主要旗標負載裡,如圖19所示。The warning message is transmitted through the main flag frame of the media access control layer 11, and the information packet is encapsulated in the main flag load, as shown in FIG.

警示訊息的格式如下表12所示: The format of the alert message is shown in Table 12 below:

該警示訊息,只有該旗標負載標頭之警示碼的值為‘1’才存在,資料長度為1個位元組,除位元(bit)3至7保留供未來使用外,其餘各位元代表意義如下所述:The warning message only exists when the value of the warning code of the flag load header is '1', and the data length is 1 byte, except for the bits 3 to 7 reserved for future use, and the remaining elements are The meaning of the representative is as follows:

A. Vibration bit:該Vibration bit設定為‘1’時,表示警告車輛有振動發生,可能有人在移動車輛。A. Vibration bit: When the Vibration bit is set to '1', it indicates that the vehicle is vibrating and there is a possibility that someone is moving the vehicle.

B. Illegal Ignition bit:該Illegal Ignition bit設定為‘1’時,表示警告車輛尚未解鎖即嘗試發動引擎,可能有竊盜事件發生。B. Illegal Ignition bit: When the Illegal Ignition bit is set to '1', it indicates that the vehicle is not unlocked, and the engine is attempted to start, and a theft event may occur.

C. Hacker Intrusion bit:該Hacker Intrusion bit設定為‘1’時警告有人發送未通過安全機制驗證的命令,可能有駭客入侵。C. Hacker Intrusion bit: When the Hacker Intrusion bit is set to '1', it warns someone to send a command that has not been verified by the security mechanism. There may be a hacker intrusion.

警示宣告之程序流程(如圖11所示)步驟如下所述:The procedure for the warning announcement process (shown in Figure 11) is as follows:

(1)令控制單元確認進入工作狀態601;當控制單元尚 在待機狀態,令控制單元執行該媒體存取控制層11的開啟服務程序602一次,進入工作狀態成功603則執行步驟(3);(1) Let the control unit confirm the entry into the working state 601; when the control unit is still In the standby state, the control unit executes the open service program 602 of the media access control layer 11 once, and enters the working state success 603 to perform step (3);

(2)當控制單元進入工作狀態失敗603,則結束此程序61;當控制單元進入工作狀態成功603,則執行步驟(3);(2) when the control unit enters the working state failure 603, the process 61 is ended; when the control unit enters the working state successfully 603, then step (3) is performed;

(3)令控制單元發送一主要旗標廣播傳送相關的警示訊息;該旗標負載標頭之警示控制碼設為‘1’,該負載標頭後面 緊接著1位元組的警示訊息604。(3) causing the control unit to send a warning message related to the transmission of a main flag broadcast; the warning control code of the flag load header is set to '1', behind the load header A 1-byte alert message 604 is followed.

(4)令控制單元連續發送帶有相關警示訊息的主要旗標一預設之次數605,完成本流程62。(4) The control unit continuously sends the main flag with the relevant alert message a predetermined number of times 605 to complete the process 62.

其中,上述流程中該預設次數係可由設計者自行決定。The preset number of times in the above process may be determined by the designer.

除此之外,當使用者透過遙控器按鍵要求控制車輛時,該移動單元即透過車輛控制要求程序,傳送要求控制的項目給該控制單元,當控制單元收到車輛控制要求後係回應一確認訊框,並判斷接受該項要求與否,處理後之結果須反應在車輛狀態上,並透過車輛狀態宣告程序回傳給該移動單元,一車輛控制要求透過媒體存取控制層11的資料訊框傳送,其資訊封包在一資料負載之控制項(Control Item)裡,如圖20所示。In addition, when the user requests to control the vehicle through the remote control button, the mobile unit transmits the item to be controlled to the control unit through the vehicle control request program, and responds to the confirmation when the control unit receives the vehicle control request. Frame and judge whether to accept the request or not. The processed result shall be reflected in the vehicle state and transmitted back to the mobile unit through the vehicle status announcement procedure. A vehicle control request is transmitted through the media access control layer 11 The box is transmitted, and its information packet is in a data load control item (Control Item), as shown in FIG.

車輛控制要求訊框的格式如下表13所示。The format of the vehicle control request frame is shown in Table 13 below.

(表13車輛控制要求訊框的格式) (Table 13 Format of Vehicle Control Request Frame)

(1)令控制單元,在該媒體存取控制層標頭之訊框控制欄位的訊框種類填入“011”;(2)令控制單元,在媒體存取控制層標頭之訊框控制欄位的確認要求和認證碼設為‘1’,係一確認訊框回應;(3)令控制單元,在媒體存取控制層標頭之位址欄填入該移動單元的位址;(4)具一訊框計數器欄位及一簽證標籤欄位,無一應用層負載欄位;(5)一資料種類(Data Type)欄位,該欄位值設為“000”,表示要求控制車輛;(6)一負載標頭之控制欄位由四個位元的控制項及一個位元的保留位元所組成;其中,控制項的格式如下表14所示。(1) Let the control unit fill in the "011" in the frame type of the frame control field of the media access control layer header; (2) the control unit, in the frame of the media access control layer header The confirmation request and authentication code of the control field are set to '1', which is a confirmation frame response; (3) the control unit fills the address of the mobile unit in the address column of the media access control layer header; (4) There is a frame counter field and a visa label field, there is no application layer load field; (5) a data type (Data Type) field, the field value is set to "000", indicating the requirement Controlling the vehicle; (6) The control field of a load header is composed of a control unit of four bits and a reserved bit of one bit; wherein the format of the control item is as shown in Table 14 below.

其中,b6、b5、b4及b3分別代表區分該控制項種類的第一、第二、第三及第四位元,且b6b5b4b3之位元值介於0111至1111之間係控制項保留值,供擴充定義使用: Wherein, b6, b5, b4, and b3 respectively represent the first, second, third, and fourth bits that distinguish the type of the control item, and the bit value of b6b5b4b3 is between 0111 and 1111, and the control item retains the value. For extended definition use:

各項控制項代表的意義如下所述:The meaning of each control item is as follows:

(1)Lock:表示車輛上鎖。(1) Lock: indicates that the vehicle is locked.

(2)Unlock:表示車輛解鎖。(2) Unlock: indicates that the vehicle is unlocked.

(3)Ignition:表示遙控起動。(3) Ignition: indicates remote start.

(4)Key off:表示遙控熄火。(4) Key off: indicates that the remote control is turned off.

(5)Alarm:表示啟動警報喇叭。(5) Alarm: indicates that the alarm horn is activated.

(6)Mute:表示關閉警報喇叭。(6) Mute: means to turn off the alarm horn.

車輛控制要求的程序流程(如圖12所示)步驟如下所述:(1)令移動單元確認進入工作狀態610,當移動單元進入工作狀態,令移動單元執行步驟(3);(2)當移動單元尚在待機狀態,令移動單元執行該媒體存取控制層11的服務搜尋流程D程序611一次,進入工作狀態成功612則執行步驟(3);當移動單元進入工作狀態失敗612,令移動單元結束此程序61,並通知使用者613;(3)令移動單元,組成所需之一車輛控制要求資料訊框614;(3)令移動單元,執行該媒體存取控制層11之一通用傳送資料流程615;(4)當傳送成功616,則完成此流程62;當傳送失敗616,令移動單元通知使用者613,並在結束此程序61後,啟動媒該體存取控制層11之一更改頻道要求命令流程;該更改頻道要求命令的負載值應填入“0010”,表示發生一頻道 擁塞事件617。The procedure of the vehicle control request process (shown in Figure 12) is as follows: (1) Let the mobile unit confirm the entry into the working state 610, when the mobile unit enters the working state, let the mobile unit perform step (3); (2) The mobile unit is still in the standby state, so that the mobile unit executes the service search flow D program 611 of the media access control layer 11 once, and enters the working state success 612 to perform step (3); when the mobile unit enters the working state fails 612, the mobile The unit ends the program 61 and notifies the user 613; (3) causes the mobile unit to form one of the required vehicle control request data frames 614; (3) causes the mobile unit to perform one of the media access control layers 11 Transmitting the data flow 615; (4) when the transfer succeeds 616, the process 62 is completed; when the transfer fails 616, the mobile unit notifies the user 613, and after the process 61 is finished, the media access control layer 11 is activated. A change channel request command flow; the change channel requires that the load value of the command should be filled in "0010", indicating that a channel has occurred Congestion event 617.

當移動單元接收到使用者要求將車輛上鎖,即進行本程序流程(如圖13所示),詳細步驟如下所述:(1)令移動單元,組合一資料訊框且控制項設為0x01[620],並執行車輛控制要求程序621;(2)傳送該資料訊框給所屬一控制單元,當傳送失敗622,則結束此程序61;(3)傳送成功後622,應在一預設等待時間1內,收到相關之一車輛狀態宣告623;收到該車輛狀態宣告624後,令移動單元,透過使用者介面顯示成功訊息64;未收到該車輛狀態宣告624,則令移動單元顯示失敗警示訊息63。When the mobile unit receives the user's request to lock the vehicle, the program flow (as shown in Figure 13) is performed. The detailed steps are as follows: (1) Let the mobile unit combine a data frame and set the control to 0x01. [620], and execute the vehicle control requesting program 621; (2) transmitting the data frame to a control unit, and when the transmission fails 622, the program 61 is ended; (3) after the transmission is successful, 622 should be preset. Within the waiting time 1, a related vehicle status announcement 623 is received; after receiving the vehicle status announcement 624, the mobile unit displays the success message 64 through the user interface; if the vehicle status announcement 624 is not received, the mobile unit is A failure warning message 63 is displayed.

當移動單元接收到使用者要求將車輛解鎖,即進行本程序,詳細步驟如下所述(如圖13所示):(1)令移動單元,組合一資料訊框且控制項設為0x02[620],並執行車輛控制要求程序621;(2)傳送該資料訊框給所屬一控制單元,當傳送失敗622,則結束此程序61;(3)傳送成功後622,應在一預設等待時間1內,收到相關之一車輛狀態宣告623;收到該車輛狀態宣告624後,令移動單元,透過使用者介面顯示成功訊息64;未收到該車輛狀態宣告624,則令移動單元顯示失敗警示訊息63。When the mobile unit receives the user request to unlock the vehicle, the program is executed. The detailed steps are as follows (as shown in Figure 13): (1) Let the mobile unit combine a data frame and set the control to 0x02 [620 And executing the vehicle control requesting program 621; (2) transmitting the data frame to a control unit to which it belongs, and ending the program 61 when the transmission fails 622; (3) after a successful transmission, 622 should be at a preset waiting time In the first, a related vehicle status announcement 623 is received; after receiving the vehicle status announcement 624, the mobile unit displays the success message 64 through the user interface; if the vehicle status announcement 624 is not received, the mobile unit displays the failure. Warning message 63.

當移動單元接收到一使用者要求啟動一警報喇叭,即進行本程序,詳細步驟如下所述(如圖13所示):(1)令移動單元,組合一資料訊框且控制項設為0x05 [620],並執行車輛控制要求程序621;(2)傳送該資料訊框給所屬一控制單元,當傳送失敗622,則結束此程序61;(3)傳送成功後622,應在一預設等待時間1內,收到相關之一車輛狀態宣告623;收到該車輛狀態宣告624後,令移動單元,透過使用者介面顯示成功訊息64;未收到該車輛狀態宣告624,則令移動單元顯示失敗警示訊息63。When the mobile unit receives a user request to activate an alarm horn, the program is executed. The detailed steps are as follows (as shown in Figure 13): (1) Let the mobile unit combine a data frame and set the control to 0x05. [620], and execute the vehicle control requesting program 621; (2) transmitting the data frame to a control unit, and when the transmission fails 622, the program 61 is ended; (3) after the transmission is successful, 622 should be preset. Within the waiting time 1, a related vehicle status announcement 623 is received; after receiving the vehicle status announcement 624, the mobile unit displays the success message 64 through the user interface; if the vehicle status announcement 624 is not received, the mobile unit is A failure warning message 63 is displayed.

當移動單元接收到使用者要求關閉該警報喇叭,即進行本程序,詳細步驟如下所述(如圖13所示):(1)令移動單元,組合一資料訊框且控制項設為0x06[620],並執行車輛控制要求程序621;(2)傳送該資料訊框給所屬一控制單元,當傳送失敗622,則結束此程序61:(3)傳送成功後622,應在一預設等待時間1內,收到相關之一車輛狀態宣告623;收到該車輛狀態宣告624後,令移動單元,透過使用者介面顯示成功訊息64;未收到該車輛狀態宣告624,則令移動單元顯示失敗警示訊息63。When the mobile unit receives the user request to turn off the alarm horn, the program is executed. The detailed steps are as follows (as shown in Figure 13): (1) Let the mobile unit combine a data frame and set the control to 0x06 [ 620], and execute the vehicle control requesting program 621; (2) transmitting the data frame to a control unit, and when the transmission fails 622, the program is ended 61: (3) after the transmission is successful, 622 should wait at a preset Within time 1, a related vehicle status announcement 623 is received; after receiving the vehicle status announcement 624, the mobile unit displays a success message 64 through the user interface; if the vehicle status announcement 624 is not received, the mobile unit displays Failure warning message 63.

其中,該預設時間1,係為使用者藉由移動單元,啟動一車輛控制要求,該車輛控制要求傳送至所屬該控制單元並取得回應所需之通訊時間,且該預設時間1可由設計者依需求預設。The preset time 1 is that the user initiates a vehicle control request by the mobile unit, and the vehicle control request is transmitted to the communication time required to obtain the response and belongs to the control unit, and the preset time 1 can be designed. The user presets according to their needs.

當移動單元接收到使用者要求起動一引擎,即進行本程序,詳細步驟如下所述(如圖13所示):(1)令移動單元,組合一資料訊框且控制項設為0x03 [620],並執行車輛控制要求程序621;(2)傳送該資料訊框給所屬一控制單元,當傳送失敗622,則結束此程序61;(3)傳送成功後622,應在一預設等待時間2內,收到相關之一車輛狀態宣告623;收到該車輛狀態宣告624後,令移動單元,透過使用者介面顯示成功訊息64;未收到該車輛狀態宣告624,則令移動單元顯示失敗警示訊息63。When the mobile unit receives the user request to start an engine, the program is executed. The detailed steps are as follows (as shown in Figure 13): (1) Let the mobile unit combine a data frame and set the control to 0x03. [620], and execute the vehicle control requesting program 621; (2) transmitting the data frame to a control unit, and when the transmission fails 622, the program 61 is ended; (3) after the transmission is successful, 622 should be preset. Within the waiting time 2, a related vehicle status announcement 623 is received; after receiving the vehicle status announcement 624, the mobile unit displays the success message 64 through the user interface; if the vehicle status announcement 624 is not received, the mobile unit is notified A failure warning message 63 is displayed.

該控制單元收到車輛啟動引擎要求時如為上鎖狀態,必須自動進行解鎖,不得發出非法啟動的警示訊息。The control unit must be automatically unlocked if it is locked when it receives the engine start engine request, and must not issue an illegal start warning message.

當移動單元接收到使用者要求引擎熄火,即進行本程序,詳細步驟如下所述(如圖13所示):(1)令移動單元,組合一資料訊框且控制項設為0x04[620],並執行車輛控制要求程序621;(2)傳送該資料訊框給所屬一控制單元,當傳送失敗622,則結束此程序61;(3)傳送成功後622,應在一預設等待時間2內,收到相關之一車輛狀態宣告623;收到該車輛狀態宣告624後,令移動單元,透過使用者介面顯示成功訊息64;未收到該車輛狀態宣告624,則令移動單元顯示失敗警示訊息63。When the mobile unit receives the user requesting that the engine is turned off, the program is executed. The detailed steps are as follows (as shown in Figure 13): (1) Let the mobile unit combine a data frame and set the control to 0x04[620] And executing the vehicle control requesting program 621; (2) transmitting the data frame to the associated control unit, and ending the program 61 when the transmission fails 622; (3) after the successful transmission 622, should be at a preset waiting time 2 Receiving a related vehicle status announcement 623; after receiving the vehicle status announcement 624, causing the mobile unit to display a success message 64 through the user interface; if the vehicle status announcement 624 is not received, the mobile unit displays a failure warning Message 63.

其中,該預設時間2,係為使用者藉由移動單元啟動一車輛控制要求,該車輛控制要求傳送至所屬該控制單元並取得回應所需之通訊時間,其中,包括車輛處理該項要求所需時間,且該預設時間2可由設計者依需求預設。The preset time 2 is a time for the user to initiate a vehicle control request by the mobile unit, the vehicle control request is transmitted to the control unit and the communication time required for obtaining the response, wherein the vehicle processes the request It takes time, and the preset time 2 can be preset by the designer according to requirements.

據此,本發明在IEEE802.15.4標準之既有基礎上力求簡 化通訊協定之架構,並重新設計該媒體存取控制層,同時保留通訊協定之擴充性及增加系統的容錯能力,在本實施例之車輛防盜系統中,本發明能確保該移動單元與所屬該控制單元進行無線通訊,並有效克服公用免執照頻道雜訊及干擾過多的問題,進而提增系統整體運作之性能與穩定性。Accordingly, the present invention strives to simplify on the basis of the IEEE 802.15.4 standard. The architecture of the communication protocol is redesigned and the media access control layer is redesigned while retaining the scalability of the communication protocol and increasing the fault tolerance of the system. In the vehicle theft prevention system of the embodiment, the present invention can ensure the mobile unit and the associated The control unit performs wireless communication and effectively overcomes the problem of excessive unlicensed channel noise and interference, thereby increasing the performance and stability of the overall operation of the system.

雖然本創作已以較佳實施例揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本創作之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above preferred embodiments, it is not intended to limit the present invention, and those skilled in the art can make some modifications and refinements without departing from the spirit and scope of the present invention. The scope of protection is subject to the definition of the scope of the patent application.

圖1:為本發明之系統架構圖。Figure 1 is a system architecture diagram of the present invention.

圖2:為本發明之副通訊單元提出一資料要求訊框的流程圖。Figure 2 is a flow chart showing a data request frame for the sub-communication unit of the present invention.

圖3:為本發明之主通訊單元接受一資料要求訊框的流程圖。Figure 3 is a flow chart of the main communication unit of the present invention accepting a data request frame.

圖4:為本發明之媒體控制層的狀態示意圖。4 is a schematic diagram showing the state of the media control layer of the present invention.

圖5:為本發明之應用層的狀態示意圖。Figure 5 is a schematic view showing the state of the application layer of the present invention.

圖6:為本發明之控制單元開始服務程序流程圖。Figure 6 is a flow chart showing the start of the service procedure of the control unit of the present invention.

圖7:為本發明之移動單元的同步模式一程序流程圖。7 is a flow chart of a synchronization mode-program of the mobile unit of the present invention.

圖8:為本發明之移動單元的同步模式二程序流程圖。Figure 8 is a flow chart showing the synchronization mode of the mobile unit of the present invention.

圖9:為本發明之移動單元的同步模式三程序流程圖。Figure 9 is a flow chart of a synchronous mode three program of the mobile unit of the present invention.

圖10:為本發明之移動單元的同步模式四程序流程圖。Figure 10 is a flow chart showing the four-sequence of the synchronization mode of the mobile unit of the present invention.

圖11:為本發明之警示宣告程序流程圖。Figure 11 is a flow chart of the warning announcement procedure of the present invention.

圖12:為本發明之控制單元接收車輛控制要求程序流程 圖。Figure 12: Flow chart of receiving the vehicle control request procedure by the control unit of the present invention Figure.

圖13:為本發明之移動單元提出車輛控制要求程序流程圖。Figure 13 is a flow chart showing a procedure for proposing a vehicle control request for the mobile unit of the present invention.

圖14:為特定頻道示意圖。Figure 14: Schematic diagram of a specific channel.

圖15:為本發明之實體層協定資料單元格式示意圖。Figure 15 is a block diagram showing the format of a physical layer protocol data unit of the present invention.

圖16:為本發明之媒體存取控制層協定資料單元格式示意圖。Figure 16 is a block diagram showing the format of a media access control layer protocol data unit of the present invention.

圖17:為訊框檢查碼之實施示意圖。Figure 17: Schematic diagram of the implementation of the frame check code.

圖18:為本發明之主要旗標負載一車輛狀態資訊封包示意圖。18 is a schematic diagram of a vehicle flag state information packet of a main flag load of the present invention.

圖19:為本發明之主要旗標負載一警示訊息封包示意圖。FIG. 19 is a schematic diagram of a warning message packet of a main flag load of the present invention.

圖20:為本發明之主要旗標負載一資料封包種類與控制項示意圖。Figure 20 is a schematic diagram showing the types and control items of the main packet load-data packet of the present invention.

Claims (123)

一種低速無線個人網路之無線通訊方法,包含:運用一實體層之一實體層管理服務實體,操作一無線傳輸接收器;該無線傳輸接收器,藉由一監測機制對一特定頻道之狀態進行監測,而在該特定頻道中選擇一區段;利用該實體層之一實體層屬性資料庫,存取該實體層之屬性;利用無線傳輸接收器,接收外界一資料訊框,該資料訊框經由該實體層管理服務實體傳送至該實體層;使用該實體層之一實體層訊框處理機制,拆解該資料訊框,而取得一媒體存取控制層協定資料單元;經由一實體層資料收送服務存取點,傳送該媒體存取控制層協定資料單元至一媒體存取控制層;該媒體存取控制層,使用一媒體層訊框處理機制,處理該媒體存取控制層協定資料單元並取得一上層訊框;及該上層訊框,經由該媒體存取控制層之一媒體層子層管理實體服務存取點,向一上層傳送。 A wireless communication method for a low-speed wireless personal network, comprising: managing a service entity by using a physical layer of a physical layer to operate a wireless transmission receiver; and the wireless transmission receiver performs a state of a specific channel by using a monitoring mechanism Monitoring, and selecting a segment in the specific channel; using one of the physical layer attribute layer to access the attribute of the physical layer; using a wireless transmission receiver to receive an external data frame, the data frame Transmitting to the physical layer via the physical layer management service entity; using one of the physical layer entity layer frame processing mechanisms to disassemble the data frame to obtain a media access control layer protocol data unit; Receiving a service access point, transmitting the media access control layer protocol data unit to a media access control layer; the media access control layer processing the media access control layer protocol data by using a media layer frame processing mechanism The unit obtains an upper frame; and the upper frame manages an entity service access point via a media layer sublayer of the media access control layer, A top delivery. 一種低速無線個人網路之無線通訊方法,包含:一上層,經由一媒體存取控制層共同部份子層存取點,傳送一上層訊框至一媒體存取控制層;該媒體存取控制層,使用一媒體層訊框處理機制,將該上層訊框,組合成一媒體存取控制層協定資料單元;該媒體存取控制層,與一實體層資料收送服務存取點相 連結;該媒體存取控制層協定資料單元,經由該實體層資料收送服務存取點,傳送至一實體層,該實體層使用一實體層訊框處理機制組合一實體層協定資料單元;及經由該實體層資料收送服務存取點,透過該實體層操作一無線傳輸接收器,向外界傳送該實體層協定資料單元。 A wireless communication method for a low-speed wireless personal network, comprising: an upper layer, transmitting an upper layer frame to a media access control layer via a media access control layer common partial layer access point; the media access control Layer, using a media layer frame processing mechanism, the upper layer frame is combined into a media access control layer protocol data unit; the media access control layer is associated with a physical layer data delivery service access point The media access control layer protocol data unit is transmitted to the physical layer via the physical layer data delivery service access point, and the physical layer uses a physical layer frame processing mechanism to combine a physical layer protocol data unit; The service access point is received through the physical layer data, and the physical layer protocol data unit is transmitted to the outside world by operating a wireless transmission receiver through the physical layer. 如申請專利範圍第1項所述低速無線個人網路之無線通訊方法,其中該特定頻道係為868-868.6 MHz、902-928 MHz或2400-2483.5 MHz。 The wireless communication method of the low-speed wireless personal network according to claim 1, wherein the specific channel is 868-868.6 MHz, 902-928 MHz or 2400-2483.5 MHz. 如申請專利範圍第1項所述低速無線個人網路之無線通訊方法,其中該特定頻道係為免執照頻道。 The wireless communication method of the low-speed wireless personal network according to claim 1, wherein the specific channel is an unlicensed channel. 如申請專利範圍第1項所述低速無線個人網路之無線通訊方法,其中該監測機制係指一頻道空閒評估,用以監測目前使用的頻道狀態,並依據下列三種模式進行頻道判定:模式1:能量超過門檻值;模式2:偵測到使用相同調變及展頻特性的訊號;模式3:偵測到使用相同調變及展頻特性的訊號,且其能量超過門檻值。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 1, wherein the monitoring mechanism refers to a channel idle evaluation, which is used to monitor the currently used channel status, and performs channel determination according to the following three modes: mode 1 : Energy exceeds threshold value; Mode 2: Signals using the same modulation and spread spectrum characteristics are detected; Mode 3: Signals using the same modulation and spread spectrum characteristics are detected, and their energy exceeds the threshold value. 如申請專利範圍第1項所述低速無線個人網路之無線通訊方法,其中該媒體層子層管理實體服務存取點,係連結該媒體存取控制層與該上層,該上層能藉由媒體層子層管理實體服務存取點,取用該媒體存取控制層之管理服務。 The wireless communication method of the low-speed wireless personal network according to claim 1, wherein the media layer sub-layer management entity service access point is connected to the media access control layer and the upper layer, and the upper layer can be used by the media The layer sublayer manages the entity service access point and accesses the management service of the media access control layer. 如申請專利範圍第1或2項所述低速無線個人網路之無線通訊方法,其中該實體層資料收送服務存取點,包含提 供二對等媒體存取控制層之子層實體,及由一媒體存取控制層協定資料單元,在該二對等媒體存取控制層之子層實體之間進行資料傳輸。 The wireless communication method of the low-speed wireless personal network according to claim 1 or 2, wherein the physical layer data delivery service access point includes For a sub-layer entity of the second peer media access control layer, and a media access control layer protocol data unit, data transmission is performed between the sub-layer entities of the second peer media access control layer. 如申請專利範圍第2項所述低速無線個人網路之無線通訊方法,其中該實體層協定資料單元格式,係由一同步標頭、一實體層標頭及一實體層資料單元組成。 The method for wireless communication of a low-speed wireless personal network according to claim 2, wherein the physical layer protocol data unit format is composed of a synchronization header, a physical layer header, and a physical layer data unit. 如申請專利範圍第8項所述低速無線個人網路之無線通訊方法,其中該同步標頭更加包含:一前導字元,資料長度為4個位元組,且以二進位數值填入,填入值為全為0;及一訊框起始分界點,並以一特定的字元10100111,代表訊框的起點。 For example, the wireless communication method of the low-speed wireless personal network described in claim 8 wherein the synchronization header further comprises: a leading character, the data length is 4 bytes, and is filled in by the binary value, The input value is all 0; and the starting point of the frame is defined by a specific character 10100111, representing the starting point of the frame. 如申請專利範圍第8項所述低速無線個人網路之無線通訊方法,其中該實體層標頭之資料長度為8位元,該8位元分為一7位元之一訊框長度及1位元之一保留位元,該訊框長度代表後續實體層資料單元的資料長度。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 8, wherein the data length of the physical layer header is 8 bits, and the 8-bit is divided into a 7-bit frame length and 1 One of the bits retains the bit, and the frame length represents the data length of the subsequent physical layer data unit. 如申請專利範圍第8項所述低速無線個人網路之無線通訊方法,其中該實體層資料單元之資料長度範圍為0至127位元組單位,包含一媒體存取控制層協定資料單元。 The wireless communication method of the low-speed wireless personal network according to claim 8, wherein the physical layer data unit has a data length ranging from 0 to 127 byte units, and includes a media access control layer protocol data unit. 如申請專利範圍第1項所述低速無線個人網路之無線通訊方法,其中該實體層屬性資料庫之屬性係包含目前被裝置使用的頻道號碼、該特定頻道被使用的狀況、無線收發器的使用功率狀況及頻道空閒評估模式狀態。 The wireless communication method of the low-speed wireless personal network according to claim 1, wherein the attribute of the physical layer attribute database includes a channel number currently used by the device, a status of the specific channel being used, and a wireless transceiver. Use power status and channel idle evaluation mode status. 如申請專利範圍第7項所述低速無線個人網路之無線通訊方法,其中該媒體存取控制層協定資料單元,格式係由一媒體存取控制層標頭、一媒體存取控制層服務資料單元及一媒體存取控制層標尾組成。 The wireless communication method for a low-speed wireless personal network according to claim 7, wherein the medium access control layer protocol data unit is in a format of a media access control layer header and a media access control layer service data. The unit and a media access control layer are composed of tails. 如申請專利範圍第13項所述低速無線個人網路之無線通訊方法,其中該媒體存取控制層標頭更加包含一訊框控制欄位、一序列號欄位、一位址欄位及一訊框計數器欄位。 The wireless communication method of the low-speed wireless personal network according to claim 13 , wherein the media access control layer header further comprises a frame control field, a serial number field, an address field, and a Frame counter field. 如申請專利範圍第14項所述低速無線個人網路之無線通訊方法,其中該序列號欄位係用以辨識訊框之順序。 The wireless communication method of the low-speed wireless personal network according to claim 14, wherein the serial number field is used to identify the sequence of the frames. 如申請專利範圍第14項所述低速無線個人網路之無線通訊方法,其中該位址欄位係為一選擇性欄位,供一通訊單元辨識訊框之目的地或來源。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 14, wherein the address field is a selective field for a communication unit to identify the destination or source of the frame. 如申請專利範圍第14項所述低速無線個人網路之無線通訊方法,其中該訊框計數器欄位,供安全驗證機制演算時使用。 For example, the wireless communication method of the low-speed wireless personal network described in claim 14 of the patent scope, wherein the frame counter field is used for the calculation of the security verification mechanism. 如申請專利範圍第14項所述低速無線個人網路之無線通訊方法,其中該訊框控制欄位格式更加包含一訊框類型位元、一確認要求控制位元、一連續資料控制位元、一安全機制控制位元、一待傳送資料控制位元及一保留位元。 The wireless communication method of the low-speed wireless personal network according to claim 14, wherein the frame control field format further comprises a frame type bit, a confirmation request control bit, a continuous data control bit, A security mechanism controls the bit, a to-be-transmitted data control bit, and a reserved bit. 如申請專利範圍第18項所述低速無線個人網路之無線通訊方法,其中該訊框類型位元,係定義通訊協定之訊框類型。 For example, the wireless communication method of the low-speed wireless personal network described in claim 18, wherein the frame type bit is a frame type defining a communication protocol. 如申請專利範圍第18項所述低速無線個人網路之無線通訊方法,其中該確認要求控制位元,當位元值設為 ‘1’,表示該訊框要求接收者使用一確認訊框回應。 For example, the wireless communication method of the low-speed wireless personal network described in claim 18, wherein the confirmation requires a control bit, when the bit value is set to ‘1’ indicates that the frame requires the recipient to respond with a confirmation frame. 如申請專利範圍第18項所述低速無線個人網路之無線通訊方法,其中該連續資料控制位元,當位元值設為‘1’,表示發送者仍有後續的資料待送,接收者應在該訊框結束後,延續聽取一預設時間。 For example, the wireless communication method of the low-speed wireless personal network described in claim 18, wherein the continuous data control bit, when the bit value is set to '1', indicates that the sender still has subsequent data to be sent, the receiver After the end of the frame, you should continue listening for a preset time. 如申請專利範圍第18項所述低速無線個人網路之無線通訊方法,其中該安全機制控制位元,當位元值設為‘1’,表示啟動驗證安全機制。 The wireless communication method of the low-speed wireless personal network according to claim 18, wherein the security mechanism controls the bit, and when the bit value is set to '1', it indicates that the verification security mechanism is started. 如申請專利範圍第18項所述低速無線個人網路之無線通訊方法,其中該待傳送資料控制位元,當位元值設為‘1’,表示一主通訊單元具有一待傳送資料要給一副通訊單元。 The wireless communication method of the low-speed wireless personal network described in claim 18, wherein the data control bit to be transmitted, when the bit value is set to '1', indicates that a primary communication unit has a data to be transmitted. A communication unit. 如申請專利範圍第18項所述低速無線個人網路之無線通訊方法,其中該連續資料控制位元,當接收一訊框同時要求接收者以一確認訊框回應,則延續時間從回應該確認訊框後起算。 The wireless communication method of the low-speed wireless personal network according to claim 18, wherein the continuous data control bit, when receiving a frame and requesting the receiver to respond with a confirmation frame, the continuation time is confirmed from the response. Start after the frame. 如申請專利範圍第21項所述低速無線個人網路之無線通訊方法,其中該預設時間計算方式如下所示:[一訊框間隔時間]+[一連續訊框等待時間](式中:訊框間隔時間:表示在傳送訊框給同一通訊單元的二個訊框之間,必須至少間隔一段時間;連續訊框等待時間:表示發送者仍有後續的資料待送所需之時間,接收者應在接收訊框結束後再延續聽取之時間)。 For example, the wireless communication method of the low-speed wireless personal network described in claim 21, wherein the preset time calculation method is as follows: [one frame interval time] + [one continuous frame waiting time] (in the formula: Frame interval: It means that there must be at least a period of time between the two frames sent to the same communication unit in the transmission frame; continuous frame waiting time: indicating that the sender still has time for subsequent data to be sent, receiving The user should continue the listening time after receiving the message. 如申請專利範圍第18項所述低速無線個人網路之無 線通訊方法,其中該安全機制控制位元,當位元值存在且啟動驗證安全機制,該媒體存取控制層標頭須有該訊框計數器欄位,該媒體存取控制層服務資料單元具一簽證標籤,該簽證標籤之資料長度為8位元組,供驗證安全機制計算,用以確認傳送訊框來源裝置身分及內文正確性。 As in the low-speed wireless personal network described in item 18 of the patent application scope a line communication method, wherein the security mechanism controls a bit. When a bit value exists and a verification security mechanism is activated, the media access control layer header must have the frame counter field, and the media access control layer service data unit has A visa label, the length of the visa label is octet for verification security mechanism calculation, to confirm the identity of the source device of the transmission frame and the correctness of the text. 如申請專利範圍第18項所述低速無線個人網路之無線通訊方法,其中該待傳送資料控制位元,僅適用於主通訊單元傳送之一旗標訊框,且該訊框具一待傳送公告欄位。 The wireless communication method of the low-speed wireless personal network described in claim 18, wherein the data control bit to be transmitted is only applicable to the primary communication unit transmitting a flag frame, and the frame has a to-be-transmitted message. Bulletin field. 如申請專利範圍第18項所述低速無線個人網路之無線通訊方法,其中該保留位元係供擴充定義使用。 A wireless communication method for a low-speed wireless personal network as described in claim 18, wherein the reserved bit is used for an extension definition. 如申請專利範圍第17項所述低速無線個人網路之無線通訊方法,其中該驗證安全機制之演算方法,係採用AES-CCM 轉換程序。For example, the wireless communication method of the low-speed wireless personal network described in claim 17 of the patent scope, wherein the calculation method of the verification security mechanism adopts the AES-CCM * conversion program. 如申請專利範圍第17項所述低速無線個人網路之無線通訊方法,其中該媒體存取控制層標尾內容,係訊框檢查碼,用以驗證收到的訊框的正確性,該訊框檢查碼構成內容係採用IEEE 802.15.4-2006,7.2.1.9節所構成。 The wireless communication method of the low-speed wireless personal network according to claim 17, wherein the media access control layer tailing content is a frame check code for verifying the correctness of the received frame, the message The frame check code constitutes the content of IEEE 802.15.4-2006, 7.2.1.9. 如申請專利範圍第23項所述低速無線個人網路之無線通訊方法,其中該訊框類型包含一旗標訊框、一命令訊框、一確認訊框、一資料訊框或至少一保留訊框。 The wireless communication method of the low-speed wireless personal network according to claim 23, wherein the frame type includes a flag frame, a command frame, a confirmation frame, a data frame or at least one reservation message. frame. 如申請專利範圍第31項所述低速無線個人網路之無線通訊方法,其中保留訊框係供擴充定義使用。 For example, the wireless communication method of the low-speed wireless personal network described in claim 31, wherein the reserved frame is used for the expansion definition. 如申請專利範圍第31項所述低速無線個人網路之無線通訊方法,其中該旗標訊框格式包含: 該媒體存取控制層標頭,包含一訊框控制欄、一旗標序號欄、一位址欄及一訊框計數器欄;該媒體存取控制層服務資料單元,包含一待傳送公告欄、一旗標負載及一簽證標籤欄;及該媒體存取控制層標尾,包含一訊框檢查碼。 The wireless communication method of the low-speed wireless personal network described in claim 31, wherein the flag frame format comprises: The media access control layer header includes a frame control bar, a flag number column, a address bar and a frame counter column; the media access control layer service data unit includes a bulletin board to be transmitted, A flag load and a visa tag column; and the media access control layer header, including a frame check code. 如申請專利範圍第33項所述低速無線個人網路之無線通訊方法,其中該訊框控制欄之確認要求欄位值係設為‘0’,每傳送5個主要旗標訊框,至少有一個必須使用安全驗證保護,使用安全驗證之訊框,且該訊框控制欄的安全機制控制位元係設為‘1’。 For example, the wireless communication method of the low-speed wireless personal network described in claim 33, wherein the confirmation request field value of the frame control column is set to '0', and at least 5 main flag frames are transmitted, at least One must use the security verification protection, use the security verification frame, and the security control bit of the frame control bar is set to '1'. 如申請專利範圍第33項所述低速無線個人網路之無線通訊方法,其中該訊框控制欄,於該主通訊單元具一待傳送資料要給該副通訊單元,該旗標訊框之訊框控制欄的待傳送資料控制位元,欄位值係設為‘1’。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 33, wherein the frame control bar has a data to be transmitted to the sub-communication unit in the main communication unit, and the flag frame message The data control bit to be transmitted in the box control bar, the field value is set to '1'. 如申請專利範圍第33項所述低速無線個人網路之無線通訊方法,其中該旗標序號欄內之序號,依時間規劃之時槽數逐次累加1。 For example, the wireless communication method of the low-speed wireless personal network described in claim 33, wherein the serial number in the flag number column is incremented by one according to the time slot of the time plan. 如申請專利範圍第33項所述低速無線個人網路之無線通訊方法,其中該旗標序號欄內之序號,於發送一主要旗標時,該主要旗標之旗標序號係為時槽序號的倍數。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 33, wherein the serial number in the flag serial number column is sent as a main flag, the flag number of the main flag is the time slot serial number. Multiples. 如申請專利範圍第33項所述低速無線個人網路之無線通訊方法,其中該位址欄,係填入該主通訊單元之位址,代表發出該旗標之裝置。 For example, the wireless communication method of the low-speed wireless personal network described in claim 33, wherein the address field is filled in the address of the main communication unit, and represents a device that sends the flag. 如申請專利範圍第33項所述低速無線個人網路之無 線通訊方法,其中該訊框計數器欄,於該旗標訊框之訊框控制欄的安全機制控制位元值為‘1’時,該訊框計數器存在並計數。 As in the low-speed wireless personal network described in Article 33 of the patent application scope The line communication method, wherein the frame counter field, when the security mechanism control bit value of the frame control column of the flag frame is '1', the frame counter exists and counts. 如申請專利範圍第33項所述低速無線個人網路之無線通訊方法,其中該待傳送公告欄,資料長度為1個位元組,包含第0至第7位元,每一個位元代表一相對應之副通訊單元;於該旗標訊框之訊框控制欄的待傳送資料控制位元值為1時存在。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 33, wherein the bulletin board to be transmitted has a data length of 1 byte, including 0th to 7th bits, and each bit represents one Corresponding sub-communication unit; exists when the data control bit value of the to-be-transmitted data in the frame control column of the flag frame is 1. 如申請專利範圍第33項所述低速無線個人網路之無線通訊方法,其中該旗標負載,依上層要求傳送。 The wireless communication method of the low-speed wireless personal network described in claim 33, wherein the flag load is transmitted according to an upper layer requirement. 如申請專利範圍第33項所述低速無線個人網路之無線通訊方法,其中該簽證標籤欄,於該旗標訊框之訊框控制欄的安全機制控制位元之值為‘1’時,則填入簽證標籤。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 33, wherein the visa label column is when the value of the security mechanism control bit of the frame control column of the flag frame is '1', Fill in the visa label. 如申請專利範圍第33項所述低速無線個人網路之無線通訊方法,其中該待傳送公告欄,係該主通訊單元傳送一命令訊框至該副通訊單元前,將該命令訊框儲存於該待傳送公告欄內,成為一待傳送資料。 The wireless communication method of the low-speed wireless personal network according to claim 33, wherein the to-be-transmitted bulletin board is configured to store the command frame before the main communication unit transmits a command frame to the sub-communication unit. In the bulletin board to be transmitted, it becomes a data to be transmitted. 如申請專利範圍第43項所述低速無線個人網路之無線通訊方法,其中該命令訊框係透過該主通訊單元發送一旗標訊框,且設定該旗標訊框之訊框控制欄的待傳送資料控制位元,該位元值設為‘1’,表示該主通訊單元具有一待傳送資料要給該副通訊單元,未發送該旗標訊號公告,不可直接傳送該命令訊框。 The method for wireless communication of a low-speed wireless personal network according to claim 43, wherein the command frame sends a flag frame through the main communication unit, and sets a frame control column of the flag frame. The data control bit to be transmitted, the bit value is set to '1', indicating that the main communication unit has a to-be-transmitted data to be sent to the sub-communication unit, and the flag signal announcement is not sent, and the command frame cannot be directly transmitted. 如申請專利範圍第33項所述低速無線個人網路之無線通訊方法,其中該待傳送公告欄,係該主通訊單元傳送一 資料訊框至該副通訊單元前,將該資料訊框儲存於該待傳送公告欄內,成為一待傳送資料。 The wireless communication method of the low-speed wireless personal network described in claim 33, wherein the bulletin board to be transmitted is transmitted by the main communication unit. Before the data frame is sent to the sub-communication unit, the data frame is stored in the bulletin board to be transmitted, and becomes a data to be transmitted. 如申請專利範圍第45項所述低速無線個人網路之無線通訊方法,其中該資料訊框係透過該主通訊單元發送一旗標訊框,且設定該旗標訊框之訊框控制欄的待傳送資料控制位元,該位元值設為‘1’,表示一主通訊單元具有一待傳送資料要給一副通訊單元,未發送該旗標訊號公告,不可直接傳送該資料訊框。 The wireless communication method of the low-speed wireless personal network according to claim 45, wherein the data frame transmits a flag frame through the main communication unit, and sets a frame control column of the flag frame. The data control bit to be transmitted, the bit value is set to '1', indicating that a main communication unit has a data to be transmitted to a communication unit, and the flag signal announcement is not sent, and the data frame cannot be directly transmitted. 如申請專利範圍第31項所述低速無線個人網路之無線通訊方法,其中該命令訊框格式包含:該媒體存取控制層標頭,包含一訊框控制欄、一資料序號欄、一位址欄及一訊框計數器欄;該媒體存取控制層服務資料單元,包含一命令欄、一命令負載欄位及一簽證標籤欄;及該媒體存取控制層標尾,包含一訊框檢查碼。 The wireless communication method of the low-speed wireless personal network according to claim 31, wherein the command frame format comprises: the media access control layer header, including a frame control bar, a data serial number column, and a bit The address bar and the frame counter column; the media access control layer service data unit includes a command bar, a command load field and a visa tag column; and the media access control layer tail, including a frame check code. 如申請專利範圍第47項所述低速無線個人網路之無線通訊方法,其中該訊框控制欄內具有一依據命令訊框之種類而定之設定值。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 47, the frame control field has a set value according to the type of the command frame. 如申請專利範圍第47項所述低速無線個人網路之無線通訊方法,其中該資料序號欄內之序號,依據命令訊框或資料訊框之個數逐次累加1。 For example, the wireless communication method of the low-speed wireless personal network described in claim 47, wherein the serial number in the data serial number column is incremented by one according to the number of the command frame or the data frame. 如申請專利範圍第48項所述低速無線個人網路之無線通訊方法,其中該位址欄內具有該依據該命令訊框之種類而定之設定值。 The wireless communication method of the low-speed wireless personal network according to claim 48, wherein the address field has a setting value according to the type of the command frame. 如申請專利範圍第47項所述低速無線個人網路之無線通訊方法,其中該訊框計數器欄,當訊框控制欄之安全機制控制位元值為‘1’時,則執行訊框之計數。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 47, in the frame counter field, when the security control bit value of the frame control bar is '1', the counting of the frame is performed. . 如申請專利範圍第47項所述低速無線個人網路之無線通訊方法,其中該訊框計數器欄,當訊框控制欄之安全機制控制位元值為‘0’時,則不執行訊框之計數。 For example, the wireless communication method of the low-speed wireless personal network described in claim 47, wherein the frame counter field does not execute the frame when the security control bit value of the frame control bar is '0'. count. 如申請專利範圍第47項所述低速無線個人網路之無線通訊方法,其中該命令欄,具一命令識別欄位,代表該訊框所含的命令訊框種類。 The wireless communication method of the low-speed wireless personal network described in claim 47, wherein the command bar has a command identification field, which represents the type of the command frame included in the frame. 如申請專利範圍第48項所述低速無線個人網路之無線通訊方法,其中該命令負載欄位具有該依據命令訊框之種類而定之設定值。 The wireless communication method of the low-speed wireless personal network according to claim 48, wherein the command load field has the set value according to the type of the command frame. 如申請專利範圍第47項所述低速無線個人網路之無線通訊方法,其中該簽證標籤欄,於該命令訊框之訊框控制欄的安全機制控制位元之值為‘1’時,則填入簽證標籤。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 47, wherein the visa label column has a value of '1' in the security mechanism control bit of the frame control column of the command frame, Fill in the visa label. 如申請專利範圍第47項所述低速無線個人網路之無線通訊方法,其中該簽證標籤欄,於該命令訊框之訊框控制欄的安全機制控制位元之值為‘0’時,則無資料。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 47, wherein the visa label column is when the value of the security mechanism control bit of the frame control column of the command frame is '0', then no data. 如申請專利範圍第47項所述低速無線個人網路之無線通訊方法,其中該簽證標籤,資料長度為8位元組,供驗證安全機制計算,用以確認傳送訊框來源裝置身分及內文正確性。 For example, the wireless communication method of the low-speed wireless personal network described in claim 47, wherein the visa label has a data length of 8 bytes for verification security mechanism calculation to confirm the identity of the source device and the text of the transmission frame. Correctness. 如申請專利範圍第47項所述低速無線個人網路之無線通訊方法,其中該命令訊框之種類,更加包含一旗標要求 命令訊框、一資料要求訊框、一更改頻道求命令訊框、一停止更改頻道命令訊框、一更改頻道宣告命令訊框或至少一保留訊框。 For example, the wireless communication method of the low-speed wireless personal network described in claim 47, wherein the type of the command frame further includes a flag requirement The command frame, a data request frame, a change channel request command frame, a stop change channel command frame, a change channel announcement command frame, or at least one reserved frame. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該保留訊框係供擴充定義使用。 For example, the wireless communication method of the low-speed wireless personal network described in claim 58 of the patent application, wherein the reserved frame is used for expansion definition. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該旗標要求命令訊框,係要求該主通訊單元傳送一旗標訊框。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 58, wherein the flag requires a command frame, and the main communication unit is required to transmit a flag frame. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該旗標要求命令訊框,係主通訊單元或副通訊單元發送,並在通訊系統時間內直接傳送。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 58, wherein the flag request command frame is sent by the main communication unit or the sub-communication unit, and is directly transmitted during the communication system time. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該旗標要求命令訊框,只有主通訊單元須具備接收及處理該旗標要求訊框之能力。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 58, wherein the flag requires a command frame, and only the primary communication unit has the capability of receiving and processing the flag request frame. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該旗標要求命令訊框,係為通用型旗標要求命令訊框。 For example, the wireless communication method of the low-speed wireless personal network described in claim 58 of the patent application, wherein the flag requires a command frame, which is a general-purpose flag request command frame. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該旗標要求命令訊框,係為限制型旗標要求命令訊框。 For example, the wireless communication method of the low-speed wireless personal network described in claim 58 of the patent application, wherein the flag requires a command frame, which is a restricted flag request command frame. 如申請專利範圍第63項所述低速無線個人網路之無線通訊方法,其中該訊框之負載值設為‘0’。 A wireless communication method for a low-speed wireless personal network according to claim 63, wherein the load value of the frame is set to '0'. 如申請專利範圍第64項所述低速無線個人網路之無線通訊方法,其中該訊框之負載值設為‘0’。 The wireless communication method of the low-speed wireless personal network according to claim 64, wherein the load value of the frame is set to '0'. 如申請專利範圍第63項所述低速無線個人網路之無線通訊方法,其中該通用型旗標要求命令訊框之位址欄設為0xFFFFFFFF,該訊框控制欄的確認要求欄位值設為0,驗證欄位值設為0。 For example, the wireless communication method of the low-speed wireless personal network described in claim 63, wherein the address flag of the general-purpose flag request command frame is set to 0xFFFFFFFF, and the confirmation request field value of the frame control column is set to 0, the verification field value is set to 0. 如申請專利範圍第63項所述低速無線個人網路之無線通訊方法,其中該通用型旗標要求命令訊框代表廣播,所有收到該通用型旗標要求命令訊框之主通訊單元,皆必須在下二個時槽邊界的起點,發送不使用安全驗證機制的旗標訊框。 For example, the wireless communication method of the low-speed wireless personal network described in claim 63, wherein the universal flag requires the command frame to represent the broadcast, and all the main communication units that receive the general-purpose flag request command frame are A flag frame that does not use a secure authentication mechanism must be sent at the beginning of the next two time slot boundaries. 如申請專利範圍第64項所述低速無線個人網路之無線通訊方法,其中該限制型旗標要求命令訊框之位址欄,設為特定主通訊單元之位址,該訊框控制欄的確認要求欄位值設為‘1’,驗證欄位值設為‘0’。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 64, wherein the restricted flag requires the address field of the command frame to be set to the address of the specific primary communication unit, and the frame control bar is Confirm that the required field value is set to '1' and the verification field value is set to '0'. 如申請專利範圍第69項所述低速無線個人網路之無線通訊方法,其中該主通訊單元收到該限制型旗標要求命令訊框後,回應一確認訊框,並在下二個時槽邊界的起點發送使用安全驗證機制之旗標訊框。 The wireless communication method of the low-speed wireless personal network according to claim 69, wherein the main communication unit receives the restriction type flag request command frame, responds to a confirmation frame, and is in the next two time slot boundaries. The starting point is sent using the flag frame of the secure authentication mechanism. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該資料要求訊框之位址欄,填入該副通訊單元之位址,代表來源位址。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 58, wherein the data request frame address field is filled in the address of the sub-communication unit, representing the source address. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該資料要求訊框,當資料要求訊框之訊框控制欄的確認要求欄位值設為‘1’,則接收端係以一確認訊框回應。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 58 of the patent application, wherein the data request frame is received when the confirmation request field value of the frame control column of the data request frame is set to '1'. The end responds with a confirmation frame. 如申請專利範圍第58項所述低速無線個人網路之無 線通訊方法,其中該資料要求訊框,當資料要求訊框之驗證欄位值設為‘1’,則啟動安全驗證機制,以確保發送者身份為真。 As in the low-speed wireless personal network described in item 58 of the patent application scope The line communication method, wherein the data request frame, when the verification field value of the data request frame is set to '1', a security verification mechanism is activated to ensure that the sender identity is true. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該資料要求訊框之負載值設為‘0’。 The wireless communication method of the low-speed wireless personal network according to claim 58 of the patent application, wherein the load value of the data request frame is set to '0'. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該資料要求訊框,係該副通訊單元向所屬該主通訊單元要求傳送資料於該副通訊單元,經由一旗標訊框之待傳送資料控制位元,得知該主通訊單元有待傳送訊框,待傳送給該副通訊單元觸發。 The wireless communication method of the low-speed wireless personal network according to claim 58 of the patent application, wherein the data request frame is that the sub-communication unit requests the main communication unit to transmit data to the sub-communication unit via a flag The data control bit of the frame is to be transmitted, and it is learned that the main communication unit has a frame to be transmitted, and is to be transmitted to the sub-communication unit for triggering. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該資料要求訊框,係該副通訊單元,向所屬該主通訊單元要求傳送資料,經由下列事件觸發:於該上層要求,該副通訊單元主動探詢,該副通訊單元所屬該主通訊單元之待傳送資料,傳送給該副通訊單元。 The method for wireless communication of a low-speed wireless personal network according to claim 58 of the patent application, wherein the data request frame is a sub-communication unit that requests transmission of data to the main communication unit, and is triggered by the following event: The sub-communication unit actively requests that the sub-communication unit belongs to the main communication unit to transmit data to the sub-communication unit. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該更改頻道要求命令訊框之位址欄,係填入該副通訊單元之位址,代表來源位址。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 58, wherein the change channel requires the address field of the command frame to fill in the address of the sub-communication unit, representing the source address. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該更改頻道要求命令訊框,於該更改頻道要求命令訊框之訊框控制欄的確認要求欄位值設為‘1’,則接收端係以一確認訊框回應。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 58 of the patent application, wherein the change channel requires a command frame, and the confirmation request field value of the frame control column of the change channel request command frame is set to ' 1', the receiving end responds with a confirmation frame. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該更改頻道要求命令訊框,於該更改頻道 要求命令訊框之驗證欄位值設為‘1’,則啟動安全驗證機制,以確保發送者身份為真。 The wireless communication method of the low-speed wireless personal network described in claim 58 of the patent application, wherein the changing channel requires a command frame, and the channel is changed. If the verification field value of the command frame is set to '1', the security verification mechanism is activated to ensure that the sender identity is true. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該更改頻道要求命令訊框之負載值,係依據一預設事件。 For example, the wireless communication method of the low-speed wireless personal network described in claim 58 of the patent application, wherein the changing channel requires the load value of the command frame according to a preset event. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該更改頻道要求命令訊框,係該副通訊單元向所屬該主通訊單元要求更改頻道,於該副通訊單元,連續漏失一主要旗標訊框達到一預設次數時觸發。 The method for wireless communication of a low-speed wireless personal network according to claim 58 of the patent application, wherein the changing channel requires a command frame, wherein the sub-communication unit requests the main communication unit to change the channel, and the sub-communication unit continuously Triggered when a major flag frame misses a preset number of times. 如申請專利範圍第81項所述低速無線個人網路之無線通訊方法,其中該預設次數係由設計者自行設定。 For example, the wireless communication method of the low-speed wireless personal network described in claim 81, wherein the preset number of times is set by the designer. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該更改頻道要求命令訊框,於該上層要求時觸發。 The wireless communication method of the low-speed wireless personal network according to claim 58 of the patent application, wherein the changing channel requires a command frame, which is triggered when the upper layer requests. 如申請專利範圍第80項所述低速無線個人網路之無線通訊方法,其中該預設事件係包含一喪失旗標事件、一頻道擁塞事件或至少一保留事件。 The wireless communication method of the low-speed wireless personal network according to claim 80, wherein the preset event comprises a flag loss event, a channel congestion event or at least one reservation event. 如申請專利範圍第84項所述低速無線個人網路之無線通訊方法,其中該保留事件係供擴充定義使用。 A wireless communication method for a low-speed wireless personal network as described in claim 84, wherein the reserved event is used for an extension definition. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該停止更改頻道要求訊框之位址欄,係填入該副通訊單元之位址,代表來源位址。 For example, the wireless communication method of the low-speed wireless personal network described in claim 58 of the patent application, wherein the address field of the stop change channel request frame is filled in the address of the sub-communication unit, representing the source address. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該停止更改頻道命令訊框,於該停止更改 頻道命令訊框之訊框控制欄的確認要求欄位值設為‘1’時,接收端須以一確認訊框回應。 For example, the wireless communication method of the low-speed wireless personal network described in claim 58 of the patent application, wherein the stop changing the channel command frame, the stop change When the confirmation request field value of the frame control bar of the channel command frame is set to '1', the receiving end must respond with a confirmation frame. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該停止更改頻道命令訊框,於該停止更改頻道命令訊框之驗證欄位值設為‘1’時,啟動安全驗證機制,以確保發送者身份為真。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 58, wherein the stop changing the channel command frame starts the security when the verification field value of the stop changing channel command frame is set to '1' Verify the mechanism to ensure that the sender's identity is true. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該停止更改頻道命令訊框之負載值,設為‘0’。 The wireless communication method of the low-speed wireless personal network according to claim 58 of the patent application, wherein the stop changing the load value of the channel command frame is set to '0'. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該停止更改頻道命令訊框,係該副通訊單元向所屬該主通訊單元要求中止更改頻道,於該副通訊單元,偵測出更改頻道要求命令之原因已消滅時觸發。 The method for wireless communication of a low-speed wireless personal network according to claim 58 of the patent application, wherein the stopping the change of the channel command frame, the sub-communication unit requesting the main communication unit to suspend the change of the channel, in the sub-communication unit, Triggered when the reason for changing the channel request command has been detected. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該停止更改頻道命令訊框,係該上層要求時。 For example, the wireless communication method of the low-speed wireless personal network described in claim 58 of the patent application, wherein the stop changing the channel command frame is required by the upper layer. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該更改頻道宣告命令訊框,係該主通訊單元,藉由該更改頻道宣告,通知該副通訊單元即將改變發送一主要旗標的頻道或時間。 The wireless communication method of the low-speed wireless personal network according to claim 58 of the patent application, wherein the change channel announcement command frame is the main communication unit, and the change of the channel announcement notifies the sub-communication unit to change the transmission one. The channel or time of the main flag. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該更改頻道宣告命令訊框,於該主通訊單元,自行偵測到頻道衝突事件,因而進行更改頻道流程,且在該流程成功時觸發。 The wireless communication method of the low-speed wireless personal network according to claim 58 of the patent application, wherein the changing channel announce command frame, in the main communication unit, detecting a channel conflict event by itself, thereby performing a channel change process, and Triggered when the process succeeds. 如申請專利範圍第58項所述低速無線個人網路之無線通訊方法,其中該更改頻道宣告命令訊框,於該主通訊單元,收到該副通訊單元因偵測出頻道衝突事件,而發出的更改頻道要求命令,因而進行更改頻道程序成功時觸發。 The wireless communication method of the low-speed wireless personal network according to claim 58 of the patent application, wherein the changing channel announcement command frame is sent by the primary communication unit to the secondary communication unit for detecting a channel conflict event; The change channel requires a command, so it is triggered when the channel change program is successful. 如申請專利範圍第31項所述低速無線個人網路之無線通訊方法,其中該確認訊框格式包含:該媒體存取控制層標頭,包含一訊框控制欄及一序號欄;及該媒體存取控制層標尾,包含一訊框檢查碼。 The wireless communication method of the low-speed wireless personal network according to claim 31, wherein the confirmation frame format comprises: the media access control layer header, including a frame control bar and a serial number column; and the media The access control layer header contains a frame check code. 如申請專利範圍第95項所述低速無線個人網路之無線通訊方法,其中該序號欄內之序號,必須與確認接收之訊框的資料序號欄內之序號相同。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 95, the serial number in the serial number column must be the same as the serial number in the data serial number column of the acknowledged receiving frame. 如申請專利範圍第31項所述低速無線個人網路之無線通訊方法,其中該確認訊框,係用來回應一傳送端,確認已收到該傳送端所傳送之一特定訊框,且該訊框內容正確無誤。 The wireless communication method of the low-speed wireless personal network according to claim 31, wherein the confirmation frame is configured to respond to a transmitting end, and confirm that a specific frame transmitted by the transmitting end is received, and the The frame content is correct. 如申請專利範圍第31項所述低速無線個人網路之無線通訊方法,其中該確認訊框之訊框控制欄的確認要求欄位值設為‘0’。 The wireless communication method of the low-speed wireless personal network according to claim 31, wherein the confirmation request field value of the frame control column of the confirmation frame is set to '0'. 如申請專利範圍第31項所述低速無線個人網路之無線通訊方法,其中該確認訊框之安全機制控制位元之欄位值設為‘0’。 The wireless communication method of the low-speed wireless personal network according to claim 31, wherein the field value of the security mechanism control bit of the confirmation frame is set to '0'. 如申請專利範圍第31項所述低速無線個人網路之無線通訊方法,其中該確認訊框之一接收端,必須在接收該 確認訊框後一預設時間內傳送。 A wireless communication method for a low-speed wireless personal network according to claim 31, wherein one of the receiving frames of the confirmation frame must receive the wireless communication method The confirmation frame is transmitted within a preset time. 如申請專利範圍第100項所述低速無線個人網路之無線通訊方法,其中該預設時間定義為:[一轉換時間]≦[預設時間]≦[一轉換時間]+[UBF](式中:轉換時間係為:實體層之參數,代表TX/RX轉換時,所允許的最大切換處理時間;UBF係為CSMA-CA機制中之一Backoff的基本單位)。 For example, the wireless communication method of the low-speed wireless personal network described in claim 100, wherein the preset time is defined as: [one conversion time] ≦ [preset time] ≦ [one conversion time] + [UBF] Medium: The conversion time is: the parameter of the physical layer, which represents the maximum switching processing time allowed during TX/RX conversion; UBF is the basic unit of Backoff in one of the CSMA-CA mechanisms). 如申請專利範圍第31項所述低速無線個人網路之無線通訊方法,其中該資料訊框格式包含:該媒體存取控制層標頭,包含一訊框控制欄、一資料序號欄、一位址欄及一訊框計數器欄;該媒體存取控制層服務資料單元,包含一資料負載欄位及一簽證標籤欄;及該媒體存取控制層標尾,包含一訊框檢查碼。 The wireless communication method of the low-speed wireless personal network according to claim 31, wherein the data frame format comprises: the media access control layer header, including a frame control bar, a data serial number column, and a bit The address bar and the frame counter column; the media access control layer service data unit includes a data load field and a visa tag column; and the media access control layer header includes a frame check code. 如申請專利範圍第102項所述低速無線個人網路之無線通訊方法,其中該資料訊框係經一確認訊框回應,且訊框控制欄之確認要求欄位值設為‘1’。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 102, the data frame is responded by a confirmation frame, and the confirmation request field value of the frame control column is set to '1'. 如申請專利範圍第102項所述低速無線個人網路之無線通訊方法,其中該資料訊框須安全驗證保護,且該資料訊框之訊框控制欄之安全機制控制位元設為‘1’。 For example, the wireless communication method of the low-speed wireless personal network described in claim 102, wherein the data frame is to be securely verified and protected, and the security control bit of the frame control column of the data frame is set to '1'. . 如申請專利範圍第102項所述低速無線個人網路之無線通訊方法,其中該資料序號欄內之序號,依據命令訊框個數逐次累加1。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 102, the serial number in the data serial number column is incremented by one according to the number of command frames. 如申請專利範圍第102項所述低速無線個人網路之 無線通訊方法,其中該資料序號欄內之序號,依據資料訊框個數逐次累加1。 As described in the low-speed wireless personal network described in claim 102 The wireless communication method, wherein the serial number in the serial number column of the data is incremented by one according to the number of data frames. 如申請專利範圍第102項所述低速無線個人網路之無線通訊方法,其中該位址欄,於該主通訊單元接收一訊框,該位址欄為該訊框來源之位址,代表傳送該訊框的副通訊單元位址。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 102, the address field receives a frame in the main communication unit, and the address bar is the address of the frame source, and the transmission is representative. The sub-communication unit address of the frame. 如申請專利範圍第102項所述低速無線個人網路之無線通訊方法,其中該位址欄,於該主通訊單元傳送一訊框,該位址欄填入該訊框傳送目的地之位址,代表應接收該資料訊框的副通訊單元位址。 The wireless communication method of the low-speed wireless personal network described in claim 102, wherein the address field transmits a frame in the main communication unit, and the address field is filled in the address of the frame transmission destination. , the representative should receive the address of the sub-communication unit of the data frame. 如申請專利範圍第102項所述低速無線個人網路之無線通訊方法,其中該位址欄,於該副通訊單元接收一訊框,該位址欄為該訊框傳輸目的之位址,代表應接收該訊框的副通訊單元位址。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 102, the address field receives a frame in the sub-communication unit, and the address bar is the address of the frame transmission destination, and represents The sub-communication unit address of the frame should be received. 如申請專利範圍第102項所述低速無線個人網路之無線通訊方法,其中該位址欄,於該副通訊單元傳送一訊框,該位址欄填入該訊框來源之位址,代表傳送該訊框的副通訊單元位址。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 102, the address field transmits a frame in the sub-communication unit, and the address field is filled in the address of the frame source, and represents Transmit the sub-communication unit address of the frame. 如申請專利範圍第102項所述低速無線個人網路之無線通訊方法,其中該訊框計數器欄,於該資料訊框須安全驗證保護,則該資料訊框之訊框計數器欄係存在,以供安全驗證運算時使用。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 102, wherein the frame counter field is to be securely verified and protected in the data frame, the frame counter column of the data frame exists Used for security verification operations. 如申請專利範圍第102項所述低速無線個人網路之無線通訊方法,其中該資料負載欄位,依據上層之要求傳送。 For example, the wireless communication method of the low-speed wireless personal network described in claim 102, wherein the data load field is transmitted according to the requirements of the upper layer. 如申請專利範圍第102項所述低速無線個人網路之無線通訊方法,其中該簽證標籤欄,於該資料訊框須安全驗證保護,則該資料訊框之簽證標籤欄係存在,以供安全驗證運算時使用。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 102, wherein the visa label column is to be securely verified and protected in the data frame, the visa label column of the data frame exists for security. Used when validating the operation. 如申請專利範圍第47項所述低速無線個人網路之無線通訊方法,其中該命令訊框,係經由該副通訊單元在一特定時間區段內,直接傳送至該主通訊單元。 The wireless communication method of the low-speed wireless personal network according to claim 47, wherein the command frame is directly transmitted to the main communication unit via the sub-communication unit in a specific time zone. 如申請專利範圍第102項所述低速無線個人網路之無線通訊方法,其中該資料訊框,係經由該副通訊單元在一特定時間區段內,直接傳送至該主通訊單元。 The wireless communication method of the low-speed wireless personal network according to claim 102, wherein the data frame is directly transmitted to the main communication unit via the sub-communication unit in a specific time zone. 如申請專利範圍第114項所述低速無線個人網路之無線通訊方法,其中該特定時間區段,係為一時間規劃所定義之一執行週期。 The wireless communication method of the low-speed wireless personal network according to claim 114, wherein the specific time zone is one of execution periods defined by a time plan. 如申請專利範圍第115項所述低速無線個人網路之無線通訊方法,其中該特定時間區段,係為一時間規劃所定義之一執行週期。 The wireless communication method of the low-speed wireless personal network described in claim 115, wherein the specific time zone is one of execution periods defined by a time plan. 如申請專利範圍第31項所述低速無線個人網路之無線通訊方法,其中該命令訊框經由該主通訊單元發送時,須遵循下列步驟:該主通訊單元向外界發送一旗標訊號,內含待傳送公告;所屬副通訊單元接收該旗標並拆解訊框,確認待傳送公告裡註記主通訊單元,有一待傳送命令訊框給該副通訊單元; 該副通訊單元係等待至一執行週期後,發出一資料要求命令訊框,要求該主通訊單元,將該待傳送之命令訊框傳送給該副通訊單元;該主通訊單元,發送一確認訊框至該副通訊單元,確認接收到該資料要求命令訊框;該主通訊單元,將該待傳送之命令訊框傳送給該副通訊單元;及所屬副通訊單元,發送一確認訊框至該主通訊單元,確認接收到該待傳送之命令訊框。 The wireless communication method of the low-speed wireless personal network according to claim 31, wherein when the command frame is sent by the main communication unit, the following steps are followed: the main communication unit sends a flag signal to the outside, Including the announcement to be transmitted; the sub-communication unit receives the flag and disassembles the frame, confirms that the main communication unit is marked in the to-be-transmitted announcement, and has a command frame to be transmitted to the sub-communication unit; The sub-communication unit waits for an execution period, issues a data request command frame, and requests the main communication unit to transmit the command frame to be transmitted to the sub-communication unit; the main communication unit sends a confirmation message Boxing to the sub-communication unit, confirming receipt of the data request command frame; the main communication unit transmitting the command frame to be transmitted to the sub-communication unit; and the sub-communication unit to send a confirmation frame to the The main communication unit confirms receipt of the command frame to be transmitted. 如申請專利範圍第31項所述低速無線個人網路之無線通訊方法,其中該資料訊框經由該主通訊單元發送時,須遵循下列步驟:該主通訊單元向外界發送一旗標訊號,內含待傳送公告;所屬副通訊單元接收該旗標並拆解訊框,確認待傳送公告裡註記主通訊單元,有一待傳送資料訊框給該副通訊單元;該副通訊單元,係等待至一執行週期後,發出一資料要求命令訊框,要求該主通訊單元,將該待傳送之資料訊框傳送給該副通訊單元;該主通訊單元,發送一確認訊框至該副通訊單元,確認接收到該資料要求命令訊框;該主通訊單元,將該待傳送之資料訊框傳送給該副通訊單元;及 所屬副通訊單元,發送一確認訊框至該主通訊單元,確認接收到該待傳送之資料訊框。 For example, in the wireless communication method of the low-speed wireless personal network described in claim 31, when the data frame is sent by the main communication unit, the following steps are required: the main communication unit sends a flag signal to the outside, Including the announcement to be transmitted; the sub-communication unit receives the flag and disassembles the frame, confirms that the main communication unit is marked in the announcement to be transmitted, and has a data frame to be transmitted to the sub-communication unit; the sub-communication unit waits until one After the execution period, a data request command frame is sent to request the main communication unit to transmit the data frame to be transmitted to the sub-communication unit; the main communication unit sends a confirmation frame to the sub-communication unit to confirm Receiving the data request command frame; the main communication unit transmitting the data frame to be transmitted to the sub-communication unit; and The sub-communication unit belongs to send a confirmation frame to the main communication unit, and confirms that the data frame to be transmitted is received. 如申請專利範圍第31項所述低速無線個人網路之無線通訊方法,其中該主通訊單元,向外界發出該旗標訊號,供該副通訊單元同步,並聽取該副通訊單元的要求命令,以提供適當的服務,且1個主通訊單元最多可服務8個副通訊單元。 The wireless communication method of the low-speed wireless personal network according to claim 31, wherein the main communication unit sends the flag signal to the outside for synchronization of the sub-communication unit, and listens to the request command of the sub-communication unit. To provide appropriate services, and one main communication unit can serve up to 8 sub-communication units. 如申請專利範圍第31項所述低速無線個人網路之無線通訊方法,其中該副通訊單元,利用該旗標訊號與所屬該主通訊單元同步,並能向所屬該主通訊單元提出要求命令要求服務,且該副通訊單元必須編號。 The wireless communication method of the low-speed wireless personal network according to claim 31, wherein the sub-communication unit synchronizes with the main communication unit by using the flag signal, and can request a command request from the main communication unit. Service, and the sub-communication unit must be numbered. 如申請專利範圍第1項所述低速無線個人網路之無線通訊方法,其中該媒體存取控制層服務資料單元,依訊框類型而設定有相對之訊框負載,用以放置該上層之資料。 The wireless communication method of the low-speed wireless personal network according to the first aspect of the patent application, wherein the media access control layer service data unit is configured to have a relative frame load according to the frame type for placing the upper layer data. . 如申請專利範圍第31項所述低速無線個人網路之無線通訊方法,其中該媒體存取控制層服務資料單元,依訊框類型而設定有相對之訊框負載,用以放置該上層之資料。 The wireless communication method of the low-speed wireless personal network according to claim 31, wherein the media access control layer service data unit is configured to have a relative frame load according to the frame type for placing the upper layer data. .
TW97147294A 2008-12-05 2008-12-05 Wireless communication method for low - speed wireless personal network TWI381693B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97147294A TWI381693B (en) 2008-12-05 2008-12-05 Wireless communication method for low - speed wireless personal network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97147294A TWI381693B (en) 2008-12-05 2008-12-05 Wireless communication method for low - speed wireless personal network

Publications (2)

Publication Number Publication Date
TW201023581A TW201023581A (en) 2010-06-16
TWI381693B true TWI381693B (en) 2013-01-01

Family

ID=44833447

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97147294A TWI381693B (en) 2008-12-05 2008-12-05 Wireless communication method for low - speed wireless personal network

Country Status (1)

Country Link
TW (1) TWI381693B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6446043B1 (en) * 1997-07-28 2002-09-03 Fujitsu Limited Communication parameter search apparatus and communication support apparatus using the same
US6760579B1 (en) * 1998-11-27 2004-07-06 Fujitsu Ten Limited Receiving system having a plurality of frequency converters for use with a vehicle
US20060046683A1 (en) * 2004-08-26 2006-03-02 Goddard Simon P Radio receiver/transceiver
US20060116170A1 (en) * 2002-05-24 2006-06-01 Cisco Technology, Inc. Intelligent association of nodes with PAN coordinator
TW200814666A (en) * 2006-09-06 2008-03-16 Compal Communications Inc ZigBee network module system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6446043B1 (en) * 1997-07-28 2002-09-03 Fujitsu Limited Communication parameter search apparatus and communication support apparatus using the same
US6760579B1 (en) * 1998-11-27 2004-07-06 Fujitsu Ten Limited Receiving system having a plurality of frequency converters for use with a vehicle
US20060116170A1 (en) * 2002-05-24 2006-06-01 Cisco Technology, Inc. Intelligent association of nodes with PAN coordinator
US20060046683A1 (en) * 2004-08-26 2006-03-02 Goddard Simon P Radio receiver/transceiver
TW200814666A (en) * 2006-09-06 2008-03-16 Compal Communications Inc ZigBee network module system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Koubaa, Anis, Alves, Mario, and Tovar, Eduardo, Lower Protocol Layers for Wireless Sensor Networks: A Survey, IPP Hurray! Technical Report, TR-051101, Version 1.0, Nov. 24, 2005, Porto, Portugal *

Also Published As

Publication number Publication date
TW201023581A (en) 2010-06-16

Similar Documents

Publication Publication Date Title
US9438332B2 (en) Low cost proximity pairing mechanism in wireless personal area networks
KR102134445B1 (en) Power saving for low latency deterministic networks in wireless personal area networks
US10645559B2 (en) Bluetooth connection method and terminal
US9729999B2 (en) Cross-layer context management
US9191772B2 (en) Bluetooth connection method and system
US20120127980A1 (en) Wireless Network Notification, Messaging and Access Device
KR101828412B1 (en) Communication method, communication apparatus and communication system
US9271230B2 (en) Cloud-enabled low power Wi-Fi sensor
CN107409145A (en) Method, device and computer program product for local control via middleware
CN104105194A (en) Method, apparatus, and computer program product for synchronization packet transmitter selection in a wireless network
US10484363B2 (en) Method and apparatus for authenticating a device using Bluetooth technology
CN106230645B (en) Low-power-consumption wireless communication method used between monitoring node and convergence gateway
CN103199901A (en) Systems and methods for facilitating wireless communications
US9767684B2 (en) Method and device for controlling device using Bluetooth in wireless communication system
US9992615B2 (en) Method and apparatus for controlling a device using Bluetooth technology
US11252553B2 (en) Method and device for establishing connection using Bluetooth low energy
US10194477B2 (en) Method and apparatus for controlling a device using bluetooth technology
US20140049403A1 (en) Remote inspection system and communication method thereof
CN109816830A (en) A kind of unlocking method and device
KR102836593B1 (en) Electronic device and method for performing ranging through uwb
KR102818734B1 (en) A method of transmitting and receiving wireless communication signal and an apparatus for transmitting and receiving wireless communication signal
TWI381693B (en) Wireless communication method for low - speed wireless personal network
KR102177201B1 (en) Data transmitting and receiving method, apparatus and system in wireless communication system
KR102197942B1 (en) Data transmitting and receiving method, apparatus and system in wireless communication system
CN101778384A (en) Wireless communication method of low-speed wireless personal network

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees