Search Images Maps Play YouTube News Gmail Drive More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.

Patents

  1. Advanced Patent Search
Publication numberCN105684356 A
Publication typeApplication
Application numberCN 201480045666
PCT numberPCT/US2014/043699
Publication date15 Jun 2016
Filing date23 Jun 2014
Priority date25 Jun 2013
Also published asCA2916595A1, EP2920922A2, US9036529, US9036632, US9124521, US9191209, US9326307, US9338810, US9345058, US9451573, US9462624, US9629193, US9674885, US20140376405, US20150016407, US20150023293, US20150023294, US20150023339, US20150149781, US20150249605, US20150249728, US20150257190, US20160041821, US20160227506, US20170070491, US20170272416, WO2014209901A2, WO2014209901A3
Publication number201480045666.7, CN 105684356 A, CN 105684356A, CN 201480045666, CN-A-105684356, CN105684356 A, CN105684356A, CN201480045666, CN201480045666.7, PCT/2014/43699, PCT/US/14/043699, PCT/US/14/43699, PCT/US/2014/043699, PCT/US/2014/43699, PCT/US14/043699, PCT/US14/43699, PCT/US14043699, PCT/US1443699, PCT/US2014/043699, PCT/US2014/43699, PCT/US2014043699, PCT/US201443699
Inventors格兰特·M·埃里克森, 杰伊·D·洛格, 克里斯托弗·A·博罗什, 扎卡里·B·史密斯, 奥斯博尔内·B·哈迪森, 理查德·J·舒尔茨, 珊妮·P·古嘉露, 马修·G·尼利
Applicant谷歌公司
Export CitationBiBTeX, EndNote, RefMan
External Links: SIPO, Espacenet
Efficient communication for devices of a home network
CN 105684356 A
Abstract
Systems and methods are provided for efficient communication through a fabric network of devices in a home environment or similar environment. For example, an electronic device may efficiently control communication to balance power and reliability concerns, may efficiently communicate messages to certain preferred networks by analyzing Internet Protocol version 6 (IPv6) packet headers that use an Extended Unique Local Address (EULA), may efficiently communicate software updates and status reports throughout a fabric network, and/or may easily and efficiently join a fabric network.
Claims(26)  translated from Chinese
1. 一种电子设备,包括: 存储器或存储设备,所述存储器或存储设备存储用于操作网络栈的指令; 处理器,所述处理器被配置成执行用于操作所述网络栈的所述指令;以及网络接口,所述网络接口被配置成使用所述网络栈来加入设备的网络连接的结构并且向所述设备的结构的目标设备传递消息; 其中,所述网络栈包括: 应用层,所述应用层被配置成提供包括要在所述消息中传送的数据的应用有效负荷; 平台层,所述平台层被配置成按照所述消息的通用消息格式封装所述应用有效负荷; 传输层,所述传输层被配置成使用用户数据报协议(UDP)或传输控制协议(TCP)来可选择地传输所述消息;以及网络层,所述网络层被配置成经由以下使用网际协议版本6(IPv6)来传递所述消息: 802.11无线网络; 802.15.4无线网络; 电力线网络; 蜂窝网络; 以太网网络;或者其任何组合; 其中,所述应用层、所述平台层、所述传输层、所述网络层、或者其任何组合被配置成至少部分地基于以下来确定将所述消息传递到所述目标节点的方式的属性: 所述消息的类型; 在其上发送所述消息的所述网络; 所述消息可以穿过所述结构而行进的距离; 所述电子设备的功耗行为; 所述目标设备的功耗行为; 设备的结构中的中间设备的功耗行为,所述中间设备将在所述电子设备与所述目标设备之间传递所述消息; 所述目标设备是否包括服务;或者其任何组合;以及其中,改变通信的所述方式的所述属性被配置成使得所述电子设备、所述目标设备、或所述中间设备、或者其任何组合消耗不同量的功率并且使得所述消息更可靠地或更不可靠地到达所述目标节点。 1. An electronic device, comprising: a memory or storage device, a memory or storage device for storing instructions for operating the network stack; a processor configured to perform network stack operations for the said instruction; and a network interface, the network interface is configured to use the stack to join the network structure of the network connected devices and passes the message to the target device structure of the device; wherein the network stack comprising: an application layer, the application layer is configured to include data to be transmitted in the message payload applications; platform layer, the platform layer is configured in accordance with a common message format encapsulates the message payload of the application; transport layer , the transport layer is configured to user datagram protocol (UDP) or transmission control protocol used (TCP) for selectively transmitting the message; and a network layer, the network layer is configured to use the Internet via the following protocol version 6 (IPv6) to deliver the message: 802.11 wireless networks; 802.15.4 wireless network; power line network; cellular network; Ethernet network; or any combination thereof; wherein the application layer, the platform layer, the transport layer , the network layer, or any combination thereof configured based at least in part, to pass the message to determine the properties of the target node way: the type of message; on which to send the message in the said network; the message can pass through the structure and the distance traveled; consumption behavior of the electronic device; consumption behavior of the target device; the power consumption behavior of structures and equipment in the middle of the device, the intermediate the transfer device between the electronic device and the destination device of said message; if the target device includes a service; or any combination thereof; and wherein the changing the way of communicating the attribute is configured such that said electronic device, the target device, or the intermediate device, or any combination of different amounts of power consumption and more reliably so that the message or not reliably reach the destination node.
2. 根据权利要求1所述的电子设备,其中,通信的所述方式的所述属性包括: 用于选择传输控制协议(TCP)以传输所述消息的确定; 用于选择用户数据报协议(UDP)以传输所述消息的确定; 用于使用较低功率网络来传递所述消息的确定; 用于使用较高功率网络来传递所述消息的确定; 用于选择所述目标设备的优选网络作为在所述消息的IPv6分组报头中编码的扩展唯一本地地址(EULA)中所指示的较高功率网络的确定; 用于选择所述目标设备的优选网络作为在所述消息的所述IPv6分组报头中编码的所述扩展唯一本地地址(EULA)中所指示的较低功率网络的确定;或者其任何组合。 2. The electronic device according to claim 1, wherein said attribute of said communication mode comprises: means for selecting a transmission control protocol (TCP) to transmit the message is determined; User Datagram Protocol used to select ( UDP) to transmit the message is determined; for determining the use of lower-power network to deliver the message; and determining a network to transmit using a higher power of the message; the target device for selecting the preferred network as determined in the IPv6 packet header of the message encoded in the extended unique local address (EULA) indicated a higher power in the network; said device for selecting the preferred network as a target of the messages that IPv6 packets or any combination thereof; determining the header coding extension unique local address (EULA) indicated in the lower power of the network.
3. 根据权利要求1所述的电子设备,其中,所述应用层被配置成取决于所述消息的紧迫性来确定是使用传输控制协议(TCP)还是用户数据报协议(UDP)来传输所述消息。 3. The electronic device according to claim 1, wherein the application layer is configured depending on the urgency of the message to determine whether to use the Transmission Control Protocol (TCP) or User Datagram Protocol (UDP) to transmit the said the message.
4. 根据权利要求3所述的电子设备,其中,当所述消息传递设备警报时所述消息包括紧急消息,并且其中,当所述消息在没有设备警报的情况下传递不危险环境条件的指示时所述消息包括非紧急消息。 4. The electronic device of claim 3, wherein, when the messaging device message including the emergency alert message, and wherein when the messaging is not hazardous environmental conditions in the absence of the device indicates the alarm situation when the message includes a non-urgent message.
5. -种包括指令的有形非暂时性计算机可读介质,所述指令被配置成由通信地耦合到家庭环境中的设备的结构中的其它电子设备的第一电子设备来执行,所述指令包括用于以下的指令: 在所述第一电子设备处通过所述设备的结构的第一网络从第二电子设备接收网际协议版本6(IPv6)消息,其中所述消息以目标电子设备为目的地; 识别在所述消息的IPv6报头中编码的扩展唯一本地地址,其中所述扩展唯一本地地址指示第二网络被优选到达所述目标电子设备;以及至少部分地基于所述扩展唯一本地地址使用第二网络来通过所述设备的结构向所述目标电子设备传递所述消息。 5. - species including instructions tangible non-transitory computer-readable medium, the instructions of the first electronic device is configured to be coupled to a communication device to the home environment in the structure of other electronic devices to execute the instructions includes instructions for the following: in the first electronic device of the first network structure of the device receives an Internet protocol version 6 (IPv6) a second message from the electronic device through, wherein the electronic message to the target device for the purpose of ground; identifying the message encoded in the IPv6 header extensions unique local address, wherein said extended unique local address indicates that the second network is preferably reached the target electronic device; and at least partially based on the extended unique local addresses the second network structure of the apparatus through the message transmitted to the target electronic device.
6. 根据权利要求5所述的计算机可读介质,其中,所述IPv6分组报头的所述扩展唯一本地地址包括识别所述设备的结构的第一字段、识别所述第二网络被优选到达所述目标电子设备的第二字段、以及包括所述目标电子设备的扩展唯一标识符的第三字段。 5 6. The computer-readable medium of claim, wherein the packet header the IPv6 unique local address extension comprises a first field identifying the configuration of the device, the identification of the second network preferably is reached the second field of said target electronic apparatus, and an electronic device including the target of the extension of the third field of the unique identifier.
7. 根据权利要求6所述的计算机可读介质,其中,所述第一字段包括48个比特,所述第二字段包括16个比特,并且所述第三字段包括64个比特。 7. The computer according to claim 6, wherein the readable medium, wherein the first field comprises 48 bits, the second field comprises 16 bits, and the third field comprises 64 bits.
8. -种用于通过结构网络传输软件更新的方法,包括: 从所述结构网络中的第一设备向所述结构网络中的第二设备或本地或远程服务器发送映像查询消息,其中所述映像查询消息包括有关存储在所述第一设备上的软件以及所述第一设备的传输能力的信息; 在所述第一设备处从所述第二设备或所述本地或远程服务器接收映像查询响应,其中所述映像查询响应指示所述软件更新是否是可用的并且包括具有统一资源标识符(URI)以使得所述第一设备能够下载所述软件更新的下载信息,并且其中,所述映像查询消息包括: 有关存储在发送方设备上的软件和所述发送方设备的传输能力的发送方信息;和更新优先级;以及使用所述URI在所述第一设备处从所述发送方设备下载所述软件更新,其中,所述软件是在至少部分地基于所述更新优先级和所述结构网络中的网络业务的时间来下载的,并且其中,所述软件是以至少部分地基于在所述映像查询和所述映像查询响应中所指示的公共传输能力的方式下载的。 8. - the kind used to update the software through the structure of the network transmission method comprising: transmitting an image in which the query message from the network structure of the first device to the second device in the structure of the network or a local or remote server, image query message including related software stored on the first device, and the transmission capacity of the first device; receiving a query image from the second device or the local or remote server in the first device response, wherein the image query response indicating whether the software update is available and includes a uniform resource identifier (URI) such that the first download device downloading the software update information, and wherein said map query message includes: the sender information transmission capacity for storage on a sender device software and the device sending the message; and updating priority; and using the URI from the sender device at the first device Download the software update, wherein the software is at least partially based on the priority and update the structure of the network of the network traffic to download, and wherein the software is at least partially based on the image of public transport and the ability to query image query response indicated in the download.
9. 根据权利要求8所述的方法,包括在所述第一设备处从所述第二设备或所述本地或远程服务器接收映像通告消息,其中,所述映像通告消息包括对所述软件更新的引用,并且其中,所述映像通告消息被配置成使得所述第一设备发送所述映像查询消息。 9. The method according to claim 8, comprising a first device receiving the image advertisement message from the second device or the local or remote server, wherein said image of said advertisement message comprises a software update reference, and wherein the image advertisement message is configured such that the first device sends the image query message.
10. 根据权利要求8所述的方法,其中,所述映像查询消息是根据轮询调度从所述第一设备发送的。 10. The method of claim 8, wherein the image is based on a polling schedule query message transmitted from the first device.
11. 根据权利要求10所述的方法,其中,所述轮询调度是至少部分地基于所述第一设备是否被调度用于唤醒或睡眠状态来确定的。 11. The method of claim 10, wherein the polling schedule is at least in part on whether the first device is scheduled to wake up or sleep state determined.
12. 根据权利要求8所述的方法,其中,所述映像查询被存储在非暂时性计算机可读介质中并且包括: 帧控制字段,所述帧控制字段被配置成指示所述映像查询消息是否包括特定于厂商的信息或地点信息; 产品规格字段,所述产品规格字段被配置成指示: 所述软件更新的厂商和产品;以及存储在所述设备上并且要更新的软件的修订号; 版本规格字段,所述版本规格字段被配置成指示所述软件更新的版本; 支持完整性类型字段,所述支持完整性类型字段被配置成指示与所述第一设备相关联的完整性类型;以及支持更新方案字段,所述支持更新方案字段被配置成指示由所述第一设备支持用于所述更新的传输的方案。 12. The method of claim 8, wherein, the query image is stored in non-transitory computer readable medium and comprising: a frame control field, the control field of the frame image query message is configured to indicate whether the including vendor-specific information or location information; product specifications field, the product specifications field is configured to indicate: the updated software vendors and products; and stored on the device and you want to update the software revision number; version field specification, the specification version field configured to indicate the version of the software update; support integrity type field, the type field is configured to support the integrity and completeness to indicate the type of the associated first device; and support program update fields, the program supports updating field configured to indicate to the updated transmission scheme supported by the first device.
13. 根据权利要求12所述的方法,其中,所述支持完整性类型字段指示包括安全散列算法(SHA)-160、SHA-256、或SHA-512或其任何组合的完整性类型。 13. The method according to claim 12, wherein said support comprises integrity integrity type field indicates the type of Secure Hash Algorithm (SHA) -160, SHA-256, SHA-512, or any combination thereof.
14. 根据权利要求12所述的方法,其中,所述支持更新方案字段指示包括以下的更新方案: 超文本传输协议(HTTP); 安全超文本传输协议(HTTPS); 安全文件传输协议(SFTP);或用于所述结构的批量数据传输协议。 14. The method of claim 12, wherein the support scheme field indicates update includes the following update scenarios: Hypertext Transfer Protocol (HTTP); Secure Hypertext Transfer Protocol (HTTPS); Secure File Transfer Protocol (SFTP) ; or to the structure of bulk data transfer protocol.
15. 根据权利要求8所述的方法,包括从所述第一设备向所述第二设备或所述本地或远程服务器发送下载通知,其中所述下载通知指示所述软件更新被成功下载。 15. The method according to claim 8, including the notification from the first device to the second device of the local or remote server or send the download, the download notification which indicates that the software update is successfully downloaded.
16. 根据权利要求8所述的方法,包括从所述第一设备向所述第二设备或所述本地或远程服务器发送更新通知,其中所述更新通知指示所述软件更新被成功安装。 16. The method according to claim 8, comprising been successfully installed from the first device to the second device transmits the update notification, or a local or remote server, wherein the update notification indicating that the software update.
17. 根据权利要求8所述的方法,包括在所述第一设备处从所述第二设备或所述本地或远程服务器接收通知响应,其中所述通知响应是在所述第一设备发送下载通知或更新通知之后接收的,其中所述下载通知指示所述软件更新被成功下载,并且其中所述更新通知指示所述软件更新被成功安装。 17. The method according to claim 8, comprising receiving a notification from the second device in response to the local or remote server or at the first device, wherein the notification is in response to the first transmission device downloads after receiving notification, or update notification, wherein the download notification indicating that the software update is successfully downloaded, and wherein the update notification indicating that the software update has been successfully installed.
18. -种存储状态报告格式的有形非暂时性计算机可读介质,其中所述状态报告格式包括: 简档字段,所述简档字段被配置成指示多个状态更新类型中的一个状态更新类型; 状态代码,所述状态代码被配置成指示正被报告的状态,其中所述状态代码被配置成被以至少部分地基于所述状态更新类型的方式解释;以及下一个状态字段,所述下一个状态字段被配置成指示附加状态是否被包括在使用所述状态报告格式形成的状态报告中。 18. - Tangible non-transitory computer seed storage status reporting format readable medium, wherein the status report formats include: profile field, the profile is configured as a state field indicating a plurality of types of status updates update type ; status code, the code is configured to indicate the status of being a state report, in which the state code is configured to be at least partially explain the basis of the type of status update mode; and the next state field, the lower a status field is configured to indicate whether additional states status is included in the status report format using the report form.
19. 根据权利要求18所述的计算机可读介质,其中,当所述下一个状态字段指示附加状态被包括在所述状态报告中时,所述状态报告格式包括附加状态信息字段。 19. A computer according to claim 18, wherein the readable medium, wherein, when the next state field indicates additional state to be included in the status report, the status report format includes additional state information field.
20. 根据权利要求19所述的计算机可读介质,其中,所述附加状态信息字段包括按照标签长度值(TLV)格式存储的数据。 19 20. The computer-readable medium of claim, wherein said additional data in accordance with the status information field includes the length of the tag value (TLV) format is stored.
21. 根据权利要求18所述的计算机可读介质,其中,所述简档字段被配置成指示所述状态报告涉及的设备的厂商。 18 21. The computer-readable medium of claim, wherein the profile field configured to indicate the status report relates to a device manufacturer.
22. -种第一电子设备,包括: 存储器,所述存储器被配置成存储用于使得所述第一电子设备能够与包括第二电子设备的结构网络配对的指令; 处理器,所述处理器被配置成执行所述指令;以及网络接口,所述网络接口被配置成访问802.11逻辑网络和802.15.4逻辑网络; 其中,所述指令包括用于以下的指令: 经由第一802.15.4逻辑网络与所述第二电子设备建立通信, 其中所述第二电子设备与所述结构网络配对并且被配置成经由所述结构网络中的另一逻辑网络与服务进行通信; 经由所述第二电子设备从所述服务接收网络配置信息以使得所述第一电子设备能够加入第一802.11逻辑网络; 通过所述第一802.11逻辑网络建立通信; 经由所述第一802.11逻辑网络连接到所述服务;以及注册以经由与所述服务的通信与所述结构网络配对。 22. - a first kind of electronic device, comprising: a memory configured to store for causing the first electronic device to the second electronic device comprises a pair of network configuration instructions; a processor configured to execute the instructions; and a network interface, the network interface is configured to access 802.15.4 802.11 logical network and the logical network; wherein the instructions include instructions for the following: a network via a first logic 802.15.4 establishing communication with the second electronic device, wherein said electronic device and said second pair network structure and is configured to communicate via the network structure of the logical network and another service; via the second electronic device receiving the service from the network configuration information so that the first electronic device to join a first logic network 802.11; 802.11 establishing communication via said first logical network; services connected to the network via the first logic 802.11; and Register to pair with the structure via a communication network and the service.
23. 根据权利要求22所述的第一电子设备,其中,用于经由所述第一802.15.4逻辑网络与所述第二电子设备建立通信的所述指令包括用于创建所述第一802.15.4逻辑网络并且经由会合地址从所述第二电子设备接收通信的指令。 23. The first electronic device according to claim 22, wherein said instructions for establishing communication via said first network and said second logic 802.15.4 electronic device comprises means for creating said first 802.15 .4 logical network and via the rendezvous address of the instruction received from the second electronic communication device.
24. 根据权利要求22所述的第一电子设备,其中,所述指令包括用于经由所述第二电子设备从所述服务接收代码的指令,其中,所述代码起源于登录到所述服务的客户端设备,其中,当所述代码和存储在所述第一电子设备的所述存储器中的期望值匹配时,所述代码被配置成确认所述客户端设备的用户拥有所述第一电子设备。 24. A first electronic device according to claim 22, wherein said instructions comprise, via the second electronic device receiving instructions from the service code, wherein the code is logged into the service originated client device, wherein, when the expected value of the code is stored in the memory of the first electronic device matching, the code is configured to confirm the client CPE owner said first electronic equipment.
25. 根据权利要求24所述的第一电子设备,其中,所述指令包括用于只有当所述代码和所述期望值匹配时才通过所述第一802.11逻辑网络建立通信的指令。 25. The first electronic device according to claim 24, wherein said instructions comprise code and the desired value for the matching instruction when establishing communication through the network only when the first logic 802.11.
26. 根据权利要求22所述的第一电子设备,其中,所述指令包括用于以下的指令: 与所述第一802.15.4逻辑网络断开;以及当所述第一电子设备已注册经由与所述服务的通信与所述结构网络配对时通过与所述结构网络相关联的第二802.15.4建立通信。 26. The first electronic device according to claim 22, wherein said instructions comprise instructions for the following: disconnecting the first logic 802.15.4 network; and when the first electronic device is registered via communication with the network structure of the service through the second 802.15.4 establishing communication with the network structure associated with the pairing.
Description  translated from Chinese
用于家庭网络的设备的高效通信 Efficient communication for the home network equipment

技术领域 TECHNICAL FIELD

[0001] 本公开涉及用于使得各种设备(包括低功率或不活跃设备)能够在家庭网络或类似环境中进行通信的高效通信。 [0001] The present disclosure relates to such a variety of devices (including low-power device or inactive) enables efficient communication. In a home network environment or the like.

背景技术 Background technique

[0002] 本部分旨在向读者介绍可能与在下面描述和/或要求保护的目前技术的各个方面有关的领域的各个方面。 [0002] This section is intended to introduce the reader to various aspects of the various aspects may be described below and / or claimed the current technology-related fields. 本讨论被认为在给读者提供背景信息以方便更好地理解本公开的各个方面时是有用的。 This discussion is believed to provide the reader with background information to facilitate a better understanding of when the various aspects of the present disclosure is useful. 因此,应该理解,这些声明将从这个角度阅读,而不作为对现有技术的认可。 Accordingly, it should be understood that these statements read from this point, and not as admissions of prior art.

[0003] 网络连接的设备遍及家庭而出现。 [0003] network-connected devices throughout the home and appear. 这些设备中的一些常常能够使用传输协议通过单个网络类型(例如,WiFi连接)与彼此进行通信。 Some of these devices are often able to use a single network transport protocol type (e.g., WiFi connection) to communicate with each other. 可能期望将不太功率密集的连接协议用于电池供电的或者接收减少的电荷的一些设备。 It may be desirable to less power intensive connection protocol used in some battery-powered device or received a reduced charge. 然而,在一些场景中,连接到更低功率协议的设备可能不能够与连接到更高功率协议(例如,WiFi)的设备进行通信。 However, in some scenarios, the lower power devices connected to the protocol may not be able to connect to a higher power with the protocol (for example, WiFi) devices to communicate.

[0004] 而且,许多电子设备现在能够连接到无线网络。 [0004] In addition, many electronic devices are now able to connect to a wireless network. 例如,智能仪表技术采用无线网络来将与住宅物业相关联的电能耗数据传递回到公用事业公司以用于监视、计费等。 For example, the smart meter technology uses a wireless network to pass data and electric energy consumption associated with residential property Back utilities for monitoring and accounting. 因此,许多无线联网标准当前可用于使得电子设备能够与彼此进行通信。 Accordingly, many current wireless networking standards can be used to enable the electronic device to communicate with each other. 例如,一些智能仪表实施方式通过低功率无线个人区域网(6L 〇WPAN)采用网际协议版本6(IPv6)来使得电子设备能够与智能仪表进行通信。 For example, some embodiments of the smart meter via a low-power wireless personal area network (6L 〇WPAN) using Internet Protocol version 6 (IPv6) to enable the electronic device to communicate with the smart meter. 然而,可能通常未针对一个或多个实际场景很好地装备诸如6L 〇WPAN的当前可用的无线联网标准以支持在整个居住地或家庭中分散的电子设备。 However, it may generally not well equipped as the currently available wireless networking standard 6L 〇WPAN for one or more of the actual scene to support the entire family residence or dispersed in an electronic device. 也就是说,当前可用的无线联网标准可能未鉴于一个或多个已知的实际约束来以安全又简单的消费者友好的方式高效地连接网络的所有电子设备。 That is, the currently available wireless networking standards may not be aware of the view of one or more of the actual constraints safe and simple consumer-friendly way to efficiently connect to the network all the electronic equipment. 而且,针对一个或多个实际场景,当前可用的无线联网标准可能不提供用于以自组织方式将新电子设备添加到现有无线网络的高效方式。 Moreover, for one or more real-world scenario, the currently available wireless networking standards may not provide for a self-organized manner to add the new electronic devices to an existing wireless network in an efficient manner.

[0005] 此外,当为在家庭中和在家庭附近使用的电子设备提供无线网络标准时,使用为不同的设备提供开放协议的无线网络标准来学习如何获得对网络的访问将是有利的。 [0005] Furthermore, when the Wi-Fi standard electronic devices in the home and in the vicinity of home use, the use of open protocols provide for different devices wireless networking standard to learn how to gain access to the network would be advantageous. 并且,考虑到可能与家庭相关联的电子设备的数目,无线网络标准能够支持网际协议版本6 (IPv6)通信使得每个设备可以具有唯一IP地址并且可以能够经由互联网、经由家庭环境中的本地网络等来访问将是有利的。 And, taking into account the number of electronic devices may be associated with family, wireless network standards to support Internet Protocol version 6 (IPv6) communication device so that each can have a unique IP address and may be capable of communicating via the Internet, via a local network in the home environment etc. visit will be advantageous. 另外,对于无线网络标准来说允许电子设备使用最少量的功率在无线网络内通信将是有利的。 In addition, wireless network standards, allowing the electronic device using the least amount of power within a wireless communications network would be advantageous. 考虑到这些特征,人们认为一个或多个缺点是通过每个已知当前可用的无线联网标准在提供具有开放协议并且能够被用于在家庭中和在家庭附近的电子设备的低功率、基于IPv6的无线网状网络标准的场境中呈现的。 Given these characteristics, it is a disadvantage that the one or more wireless networking standard known by every available current provided with an open protocol and can be used in the home and in the vicinity of the low-power household electronic device, based on IPv6 wireless mesh network standard context presented. 例如,诸如Bluet〇:〇th®、DuStNet聊rks®、Z-wave®、WiFi和ZigBee®的无线网络标准未能提供上面所讨论的期望特征中的一个或多个。 For example, as Bluet〇: 〇th®, DuStNet chat rks®, wireless networking standard Z-wave®, WiFi and ZigBee® not provide the desired features discussed above in one or more.

[0006] 例如,BluetoothK通常提供用于经由短波长无线电发射在短距离之上通信的无线网络标准。 [0006] For example, BluetoothK typically provided for a wireless network via a short wavelength radio transmission over short-range communication standard. 因此,Bluetooth 1'的无线网络标准可能不支持在整个家庭中布置的许多电子设备的通信网络。 Therefore, Bluetooth 1 'wireless networking standards may not support many communication network of electronic devices throughout the home arrangement. 而且,Bluetoothκ)的无线网络标准可能不支持无线网状通信或IPv6地址。 Moreover, Bluetoothκ) wireless networking standard might not support wireless mesh communication or IPv6 address.

[0007] 如上面所提到的,由DustNetworks*提供的无线网络标准相对于将使得布置在家庭中的电子设备能够高效地与彼此进行通信的一个或多个特征,还可能引起一个或多个缺点。 [0007] As mentioned above, by the wireless networking standard DustNetworks * provided so arranged with respect to the electronic devices in the home can be efficiently carried out with one or more features from each other in communication, but also may cause one or more shortcomings. 特别地,Dust Network,的无线网络标准可能不提供可以由其他人用来与在Dust Networks的网络上操作的设备相接口的开放协议。 In particular, Dust Network, wireless networking standards may not be used to offer open protocols and devices on Dust Networks network operating phase interface by others. 替代地,Dus tNetworks®可以被设计成方便位于诸如组装线、化学工厂等的工业环境中的设备之间的通信。 Alternatively, Dus tNetworks® can be designed to be conveniently located communication such as assembly lines, chemical plants and other industrial environments between devices. 因此,DustNetworks® 的无线网络标准可以被导向提供具有每个设备可以向其它设备传递并侦听来自其它设备的指令的预定义时间窗口的可靠通信网络。 Therefore, the wireless networking standard DustNetworks® may be directed to provide a reliable communication network having each device can transfer to other devices and other devices listen for instructions from a predefined time window. 以这种方式,DustNetworksM^无线网络标准可能需要利用在家庭中使用的消费者电子设备实现起来可能不够经济的复杂且相对昂贵的无线电发射器。 In this manner, DustNetworksM ^ wireless networking standard may require the use of consumer electronic devices in the home may not be economical to implement complex and relatively expensive radio transmitters.

[0008] 像DustNetworks.18·"的无线网络标准一样,与Z-wave@相关联的无线网络标准可能不是开放协议。替代地,Z-wa VeR的无线网络标准可以仅可对于将特定收发器芯片嵌入到它们的设备中的授权客户端是可用的。而且,Z-wave®的无线网络标准可能不支持基于IPv6的通信。也就是说,Z-wave®的无线网络标准可能要求桥接设备将在Z-wave*设备上产生的数据转化成可以经由互联网传送的基于IP的数据。 [0008] Like DustNetworks.18 · "wireless network standards, wireless networking standard Z-wave @ may not be associated with open protocol. Alternatively, the wireless networking standard Z-wa VeR may only be for a specific transceiver chip embedded into their devices authorized clients are available. Also, the Wi-Fi standard Z-wave® may not support IPv6-based communications. That is, the wireless networking standard Z-wave® may require bridging device data on the Z-wave * equipment generates converted to IP-based data can be transmitted via the Internet.

[0009] 现在参考ZigBee:f'的无线网络标准,ZigBee8具有通常称为ZigBee® Pr〇和ZigBee®IP的两个标准。 [0009] Referring now to ZigBee: f 'wireless networking standard, ZigBee8 having two standards are often referred to as the ZigBee® Pr〇 and ZigBee®IP. 而且,ZigBee^Pro可能在支持无线网状联网的场境中具有一个或多个缺点。 Moreover, ZigBee ^ Pro may have one or more disadvantages in the field of wireless mesh networking environments. 替代地,ZigBee® Pro可能至少部分地取决于在ZigBee#Pr〇网络中方便每个设备之间的通信的中央设备。 Alternatively, ZigBee® Pro may be at least partially dependent on each device to facilitate communications between the ZigBee # Pr〇 network central equipment. 除对于该中央设备的增加功率要求之外,保持开启以处理或拒绝某些无线业务的设备能够在它们的壳体内产生可以改变由该设备获取的一些传感器读数(诸如温度读数)的附加热。 In addition to increased power requirements than the central device, the device is kept open in order to process or reject certain wireless services can be generated within their housing may change some sensor readings obtained by the device (such as temperature readings) of additional heat. 因为这些传感器读数在确定家庭内的每个设备可以如何操作时可能是有用的,所以避免在设备内不必要地产生可能更改传感器读数的热可能是有利的。 Because these sensor readings for each device in the family when you can determine how it may be useful, so avoid unnecessarily generated within the device may change the sensor readings may be advantageous to heat. 此外,ZigBee " Pro可能不支持IPv6通信。 In addition, ZigBee "Pro may not support IPv6 traffic.

[0010] 现在参考ZigBeelf IP,ZigBeei: IP可以在直接的设备对设备通信的场境中引起一个或多个缺点。 [0010] Referring now to ZigBeelf IP, ZigBeei: IP can cause one or more disadvantages in direct device to device communication field environments. ZigBees'IP被导向方便通过中继的设备数据到中央路由器或设备的通信。 ZigBees'IP convenience is guided through a relay device data to a central router or a communication device. 因此,中央路由器或设备可能要求恒定供电并且因此可能不表示用于设备之间的通信的低功率手段。 Thus, the central router or devices may require a constant power supply and thus may not represent a low-power means for communication between devices. 而且,ZigBee" IP可能在可以在单个网络中采用的节点的数目(即,每网络~20 个节点)方面具有实际限制。另外,ZigBeeK IP使用可以展现高带宽、处理、和内存要求的"波纹(Ripple)"路由协议(RPL),这对于每个Zi:gBee®IP连接的设备来说可以暗示附加功率。 Moreover, ZigBee "IP may be the number of nodes that can be employed in a single network (i.e., each network ~ 20 nodes) aspect is a practical limit. Furthermore, ZigBeeK IP use can exhibit a high bandwidth, processing, and memory requirements of the" ripple (Ripple) "routing protocol (RPL), which for each of the Zi: gBee®IP connected device can imply for additional power.

[0011] 像上面所讨论的ZigBee^无线网络标准一样,WiFi的无线网络可能在使能具有低功率要求的设备之间的通信方面展现一个或多个缺点。 [0011] ZigBee ^ wireless networking standards as discussed above, like, WiFi wireless network may exhibit one or more disadvantages in communications enabled with low power requirements of the device. 例如,WiFi的无线网络标准还可能要求每个联网的设备总是被加电,并且此外可能要求中央节点或集线器的存在。 For example, WiFi wireless networking standards may also require each networked device should always be powered up and in addition may require the presence of a central node or hub. 如本领域中已知的,WiFi是对于相对更高的带宽数据传输(例如,流视频、同步设备)来说可能是理想的相对常见的无线网络标准。 As is known in the art, WiFi is relatively higher bandwidth for data transmission (for example, streaming video to synchronize the device), it may be desirable relatively common wireless networking standard. 因此,WiFi设备通常被耦合到连续电源或可再充电电池,以支持设备之间的数据传输的恒定流。 Accordingly, WiFi devices are often coupled to a continuous power supply or rechargeable batteries to support the constant stream of data transmission between devices. 另外,WiFi的无线网络可能不支持无线网状联网。 In addition, WiFi wireless networks may not support wireless mesh networking. 即使如此,WiFi有时可以提供比一些较低功率协议更好的连接性。 Even so, WiFi can sometimes offer better than some lower power connectivity protocol.

发明内容 SUMMARY

[0012] 在下面阐述本文中所公开的某些实施例的概要。 [0012] In the following summary describes certain embodiments disclosed herein. 应该理解,这些方面被仅呈现来给读者提供这些特定实施例的简要概要,并且这些方面不旨在限制本公开的范围。 It should be understood that these aspects are presented merely to provide these specific embodiments to the reader a brief summary, and that these aspects are not intended to limit the scope of the disclosure. 实际上, 本公开可以包含可能未在下面阐述的各个方面。 Indeed, various aspects of the present disclosure may comprise may not be set forth below.

[0013] 系统和方法是为了在家庭环境或类似环境中通过设备的结构网络的高效通信而提供的。 [0013] Systems and methods for in a home environment or similar environment through efficient communication structure of the network equipment provided. 例如,电子设备可以高效地控制通信以使功率和可靠性关注点平衡,可以通过对使用扩展唯一本地地址(EULA)的网际协议版本6(IPv6)分组报头进行分析来向某优选网络高效地传递消息,可以遍及结构网络高效地传递软件更新和状态报告,并且/或者可以容易地且高效地加入结构网络。 For example, the electronic device can effectively control the communication with the power and reliability concerns balance can be achieved by using the extended unique local address (EULA) of Internet Protocol version 6 (IPv6) packet header is analyzed to efficiently transmitted to a preferred network messages can be efficiently transmitted across the network configuration software updates and status reports, and / or may be easily and efficiently added to structure the network.

[0014] 例如,电子设备可以包括:存储器或存储,所述存储器或存储用于存储用以操作网络栈的指令;处理器,所述处理器用于执行所述指令;以及网络接口,所述网络接口用于加入设备的网络连接的结构并且使用所述网络栈来向设备的结构的目标设备传递消息。 [0014] For example, the electronic device may comprise: a memory or memory, or the memory storing instructions for operating the stack to store the network; a processor for executing said instructions; and a network interface, the network Interface structure for network devices to connect to join and use the network stack to deliver the message to the target device structure of the device. 所述网络栈可以包括:应用层,所述应用层用于给应用有效负荷提供要在消息中传送的数据;平台层,所述平台层用于以消息的通用消息格式封装所述应用有效负荷;传输层,所述传输层用于使用用户数据报协议(UDP)或传输控制协议(TCP)来可选择地传输消息;以及网络层, 所述网络层用于经由一个或多个网络使用网际协议版本6(IPv6)来传递消息。 The network stack may include: the application layer, the application layer is used to provide application payload data to be transmitted in the message; platform layer, the platform layer is used in a generic message format of the application package message payload ; transport layer, the transport layer for the user datagram protocol (UDP) or transmission control protocol (TCP) used to selectively transmit a message; and a network layer, the network layer is used for the Internet via one or more networks protocol version 6 (IPv6) to deliver the message. 例如,这些网络可以包括802.11无线网络、802.15.4无线网络、电力线网络、蜂窝网络、和/或以太网网络。 For example, these networks may include an 802.11 wireless network, 802.15.4 wireless networking, powerline networks, cellular networks, and / or Ethernet network. 而且,所述应用层、所述平台层、所述传输层、和/或所述网络层可以至少部分地基于消息的类型、用来发送消息的网络、消息可以通过结构而行进的距离、电子设备的功耗行为、 目标设备的功耗行为、和/或设备的结构的将在电子设备与目标设备之间传送消息的中间设备的功耗行为来确定将消息传递到目标节点的方式的特性。 Moreover, the application layer, the platform layer, the transport layer, and / or the network layer may be at least partially based on the type of message, the network used to send messages, message structures may be the distance traveled, the electronic power consumption behavior of the device, the power consumption behavior intermediate equipment will be transferred between the electronic device and the target device structure of the message of the power consumption behavior of the target device, and / or equipment to deliver the message to determine the destination node of the way . 另外,改变通信的方式的特性可能使得电子设备、目标设备、和/或中间设备消耗不同量的功率并且使消息更可靠地或不太可靠地到达目标节点。 In addition, changing the characteristics of the communication may enable the electronic device, the target device, and / or intermediate devices consume different amounts of power and make the message more reliable or less reliably reach the destination node.

[0015] 在另一示例中,有形非暂时性计算机可读介质可以包括要由通信地耦合到家庭环境中的设备的结构的其它电子设备的第一电子设备执行的指令。 [0015] In another example, the tangible non-transitory computer-readable medium may include a communication to be coupled to the first electronic device to the instruction of other electronic devices in the home environment configuration devices perform. 所述指令可以包括用于在第一电子设备处通过设备的结构的第一网络从第二电子设备接收网际协议版本6(IPv6)消息的那些指令。 The instructions may include instructions for those 6 (IPv6) message at a first electronic device receives an Internet Protocol version from the second electronic device through the first network device. 该消息可以以目标电子设备为目的地。 The messages may be destined for a target electronic device. 所述指令还可以包括用于标识在消息的IPv6报头中编码的扩展唯一本地地址的指令。 The instructions may also include information identifying the IPv6 header of the message encoded in extended unique local address for instruction. 这里,扩展唯一本地地址可以指示第二网络被优选为到达目标电子设备。 Here, the unique local address extension may indicate that the second network is preferably an electronic device to reach the target. 所述指令还可以包括用于至少部分地基于扩展唯一本地地址使用第二网络来通过设备的结构朝向目标电子设备传递消息的指令。 The instructions may also include at least partially based on the extended use of the second network address unique local command structure through the device toward the target electronic device to deliver the message.

[0016] 用于通过结构网络传输软件更新的方法可以包括从结构网络中的第一设备向结构网络中的第二设备或本地或远程服务器发送映像查询消息。 [0016] A method for transmission through the structure of the network software updates may involve sending a query message from the image structure of the network structure of a first device to a second device in the network or a local or remote server. 所述映像查询消息可以包括有关存储在所述第一设备上的软件以及所述第一设备的传输能力的信息。 The image may include software-related query message stored on the first device, and the transmission capacity of the first device. 映像查询响应可以由所述第一设备从所述第二设备或本地或远程服务器接收。 Image query response may be received from the second device or a local or remote server by the first device. 所述映像查询响应可以指示软件更新是否是可用的并且包括具有统一资源标识符(URI)以使得所述第一设备能够下载软件更新的下载信息。 The image query response may indicate whether a software update is available and includes a uniform resource identifier (URI) such that the first device able to download the software update download information. 所述映像查询消息可以包括有关存储在发送方设备上的软件以及所述发送方设备的传输能力和更新优先级的发送方信息。 The image may include software-related query message is stored on the sender device and the transmission capacity of the device sending the message and update the priority of the sender information. 使用URI,可以在第一设备处从所述发送方设备下载软件更新。 Use URI, can be updated from the sender device to download the software at the first device. 可以在至少部分地基于更新优先级和所述结构网络中的网络业务的时间下载软件,并且可以以至少部分地基于在所述映像查询和所述映像查询响应中指示的公共传输能力的方式下载软件。 Updates can be based on priority and the network structure of network traffic time to download the software at least partially, and may be at least partially based on the common transport capability indication in the query image and the image query response download software.

[0017] 在另一个示例中,有形非暂时性计算机可读介质可以存储状态报告格式。 [0017] In another example, the tangible non-transitory computer-readable medium may store status reporting format. 所述状态报告格式可以包括:简档字段,所述简档字段用于指示多个状态更新类型中的一个状态更新类型;状态代码,所述状态代码用于指示正被报告的状态,可以以至少部分地基于所述状态更新类型的方式解释所述状态代码;以及下一个状态字段,所述下一个状态字段用于指示附加状态是否被包括在使用所述状态报告格式形成的状态报告中。 The status report format may include: a profile field, the profile field for a status update indicating a plurality of types of update type; status code, the status code for status indication being reported, it can be at least in part on the type of status update interprets the status code; and the next state field, the next state field is used to indicate whether additional states including the state in the use of the status report format formation report.

[0018] 电子设备的另一示例包括:存储器,所述存储器用于存储用于使得第一电子设备能够与包括第二电子设备的结构网络配对的指令;处理器,所述处理器用于执行指令;以及网络接口,所述网络接口用于访问802.11逻辑网络和802.15.4逻辑网络。 [0018] Another example of the electronic device comprising: a memory with a first electronic device to a second electronic device comprises a pair of network structure storing such instructions; a processor for executing instructions ; and a network interface, the network interface used to access the network logic 802.11 802.15.4 and logical network. 所述指令可以包括用于经由第一802.15.4逻辑网络与所述第二电子设备建立通信的指令。 The instructions may include instructions for establishing communication via a first network and said second logic 802.15.4 electronic device. 所述第二电子设备可以与结构网络配对并且可以经由结构网络中的另一逻辑网络与服务进行通信。 Said second electronic device can be paired with the structure of the network and may communicate via another logical network structure and network services. 所述指令还可以包括用于进行以下各项的指令:经由所述第二电子设备从所述服务接收网络配置信息以使得所述第一电子设备能够加入第一802.11逻辑网络;通过所述第一802.11逻辑网络建立通信;经由所述第一802.11逻辑网络连接到所述服务;并且注册以经由与所述服务的通信与结构网络配对。 The instructions may also include instructions for performing the following: electronic device via the second service configuration information received from the first network to enable the electronic device to join a first logic network 802.11; through the first 802.11 a logical network to establish communication; connection to the service via the first 802.11 logical network; and registered to pair with the structure via a communication network and the service.

[0019] 可以关于本公开的各个方面使用上面所指出的特征的各种明确表达。 [0019] can be on various aspects of the present disclosure using the various features noted above clearly expressed. 同样还可以在这些各个方面中并入另外的特征。 The same can also be incorporated additional features in each of these aspects. 可以单独地或相结合地使用这些明确表达和附加特征。 It can be used alone or in combination to articulate these and additional features. 例如,关于所图示的实施例中的一个或多个在下面所讨论的各种特征可以被单独或相结合地并入到本公开的上面描述的方面中的任一个中。 For example, one or more of the various features discussed below with regard to the illustrated embodiments may be incorporated singly or in combination to any aspect of the disclosure is described in the above. 上面所呈现的简要概要仅旨在使读者熟悉本公开的实施例的特定方面和上下文,而不限于所要求保护的主题。 Brief summary presented above is intended only to acquaint the reader with a particular aspect of the disclosure and the context of embodiments, without limitation of the claimed subject matter.

附图说明 BRIEF DESCRIPTION

[0020] 可以在阅读以下具体实施方式时并在参考附图时更好地理解本公开的各个方面, 在附图中: [0020] You can read the following detailed description and upon reference to the drawings at a better understanding of the various aspects of the disclosure, in which:

[0021] 图1图示根据实施例的、可以使用高效网络层协议来与布置在家庭环境中的其它设备进行通信的通用设备的框图; [0021] FIG. 1 illustrates according to an embodiment may be used efficiently network layer protocols to communicate with the general equipment is arranged in the home environment of other devices block diagram;

[0022] 图2图示根据实施例的、在其中图1的通用设备可以经由高效网络层协议与其它设备进行通信的家庭环境的框图; [0022] Figure 2 illustrates an embodiment according to the block diagram of FIG generic apparatus which can be a home environment via communication with other network layer protocols efficient devices;

[0023]图3图示根据实施例的、与图2的家庭环境中所描绘的设备相关联的示例无线网状网络; [0023] FIG. 3 illustrates in accordance with FIG. 2 family environment depicted in the example wireless mesh network equipment associated with the embodiment;

[0024] 图4图示根据实施例的、表征用于图2的家庭环境的通信系统的开放系统互连(0SI)模型的框图; [0024] Figure 4 illustrates according to an embodiment, a block diagram for characterizing OSI communication system of FIG. 2 of a family environment (0SI) model;

[0025] 图5图示根据实施例的、图4的0SI模型中的高效网络层的详细视图; [0025] Figure 5 illustrates the embodiment according to FIG. 4 0SI model Efficient detailed view of the network layer;

[0026] 图6图示根据实施例的、用于在图5的高效网络层中将下一代路由信息协议(RIPng)网络实现为路由机制的方法的流程图; [0026] FIG. 6 illustrates according to an embodiment for the next generation of Routing Information Protocol (RIPng) in FIG efficient network layer 5 is implemented as a flowchart of a method of network routing mechanism;

[0027]图7A至图7D图示根据实施例的、如何能够实现图6的方法的RIPng网络的示例; [0027] FIG. 7A to 7D illustrates according to an embodiment, the method of how to achieve 6 figure RIPng network example;

[0028] 图8图示根据实施例的、包括将安全证书嵌入到图1的通用设备中的制造过程的框图; [0028] According to the embodiment illustrated in Figure 8, comprising a security certificate embedded in a block diagram of a general-purpose equipment in the manufacturing process;

[0029] 图9图示根据实施例的、在图5的高效网络层中使用数据报传输层安全(DTLS)协议的图2的家庭环境中的设备之间的示例握手协议; [0029] According to the embodiment illustrated in FIG. 9, the example of FIG Datagram Transport Layer Security (DTLS) protocol family environment 2 between devices used in the FIG efficient network layer 5 handshake protocol;

[0030] 图10图示根据实施例的、具有单个逻辑网络拓扑的结构网络; [0030] According to FIG. 10 illustrates the structure having a single logical network topology in the embodiment;

[0031 ]图11图示根据实施例的、具有星型网络拓扑的结构网络; [0031] FIG. 11 illustrates an embodiment in accordance with the network structure of the star network topology;

[0032 ]图12图示根据实施例的、具有重叠网络拓扑的结构网络; [0032] Figure 12 illustrates an embodiment in accordance with the network structure of the overlay network topology;

[0033] 图13图示根据实施例的、与一个或多个结构网络进行通信的服务; [0033] FIG. 13 illustrates an embodiment in accordance with the structure of the one or more communication network service;

[0034] 图14图示根据实施例的、通信性连接中的结构网络中的两个设备; [0034] FIG. 14 illustrates an embodiment according to the communication structure of the network connection in the two devices;

[0035] 图15图示根据实施例的、可以被用来对结构网络中的设备进行寻址的唯一本地地址格式(ULA)。 [0035] FIG. 15 illustrates an embodiment in accordance with, the structure can be used to network devices addressing unique local address format (ULA).

[0036]图16图示根据实施例的、用于在集线器网络上代理外围设备的过程; [0036] FIG. 16 illustrates according to an embodiment of the agent used in the hub network peripherals process;

[0037] 图17图示根据实施例的、可以被用来通过结构网络发传送数据的标签长度值(TLV)分组; [0037] FIG. 17 illustrates an embodiment in accordance with, it can be used to transfer data sent through the network structure tag length value (TLV) packet;

[0038] 图18图示根据实施例的、可以被用来通过结构网络传送可以包括图17的TLV分组的数据的通用消息协议(GMP); [0038] According to the embodiment illustrated in FIG 18, the structure of the network can be used by the transport protocol may include a general purpose message TLV packet data in FIG. 17 (the GMP);

[0039] 图19图示根据实施例的、图18的GMP的消息报头字段; [0039] FIG. 19 illustrates in accordance with, GMP message header fields the embodiment of FIG. 18;

[0040] 图20图示根据实施例的、图18的GMP的密钥标识符字段; [0040] According to FIG. 20 illustrates, GMP key identifier field of the embodiment of Figure 18;

[0041] 图21图示根据实施例的、图18的GMP的应用有效负荷字段; [0041] According to FIG. 21 illustrates, GMP application payload section of the embodiment of Figure 18;

[0042] 图22图示根据实施例的、可以被用来在结构网络中更新状态信息的状态报告模式; [0042] FIG. 22 illustrates an embodiment in accordance with, it can be used to update the status information in the structure of the network status report mode;

[0043] 图23图示根据实施例的、图22的状态报告模式的简档字段; [0043] FIG. 23 illustrates an embodiment according to the profile, the state of FIG. 22 is a field report mode;

[0044] 图24图示根据实施例的、可以被用来在客户端与服务器之间执行软件更新的协议序列; [0044] FIG. 24 illustrates an embodiment in accordance with, it can be used to perform the software update protocol sequence between the client and the server;

[0045] 图25图示根据实施例的、可以在图24的协议序列中使用的映像查询帧; [0045] FIG. 25 illustrates according to the query image frame may be used in the protocol sequence of FIG. 24 embodiment;

[0046] 图26图示根据实施例的、图25的映像查询帧的帧控制字段; [0046] According to the embodiment illustrated in Figure 26, the frame 25 in FIG query image frame control field;

[0047] 图27图示根据实施例的、图25的映像查询帧的产品规格字段; [0047] FIG. 27 illustrates the fields based on product specifications, 25 Example query image frame;

[0048]图28图示根据实施例的、图25的映像查询帧的版本规格字段; [0048] FIG. 28 illustrates version specification field, and Fig. 25 Example query image frame;

[0049] 图29图示根据实施例的、图25的映像查询帧的场所规格字段; [0049] FIG. 29 illustrates the query field specifications place the frame according to FIG. 25 embodiment of the image;

[0050] 图30图示根据实施例的、图25的映像查询帧的所支持完整性类型字段; [0050] Figure 30 illustrates an embodiment, the support frames of the query image based on the integrity of the type field 25;

[0051] 图31图示根据实施例的、图25的映像查询帧的所支持更新方案字段; [0051] FIG. 31 illustrates according to an embodiment of the image field program update query support frame of FIG. 25;

[0052]图32图示根据实施例的、可以在图24的协议序列中使用的映像查询响应帧; [0052] FIG. 32 illustrates query response frame according to an embodiment, the protocol can be used in sequence in the image of FIG. 24;

[0053]图33图示根据实施例的、图32的映像查询响应帧的统一资源标识符(URI)字段; [0054]图34图示根据实施例的、图32的映像查询响应帧的完整性规格字段; [0053] According to FIG 33 illustrates, the image of FIG. 32 embodiment inquiry response frame uniform resource identifier (URI) field; [0054] FIG. 34 illustrates according to an embodiment 32 of the image frame of the complete query response Specifications of the field;

[0055]图35图示根据实施例的、图32的映像查询响应帧的更新方案字段; [0055] FIG. 35 illustrates according to the embodiment of FIG. 32 image query response program update field of the frame;

[0056]图36图示根据实施例的、用来采用数据管理协议以管理结构网络中的设备之间的数据的序列; [0056] FIG. 36 illustrates an embodiment in accordance with, the use of data management protocol used to manage the data structure of the network between devices in a sequence;

[0057]图37图示根据实施例的、可以在图36的序列中使用的快照请求帧; [0057] FIG. 37 illustrates an embodiment according to the snapshot, which can be used in the sequence of FIG. 36 request frame;

[0058]图38图示根据实施例的、可以使用图37的快照请求帧访问的示例简档模式; [0058] According to the embodiment illustrated in Figure 38, and Figure 37 may be used to access the snapshot request frame exemplary profile mode;

[0059]图39是根据实施例的、可以在简档模式中指示路径的路径的二进制格式; [0059] FIG. 39 according to an embodiment, the profile may indicate a binary format path mode path;

[0060]图40图示根据实施例的、可以在图36的序列中使用的观看请求帧; [0060] FIG. 40 illustrates an embodiment according to the viewing, which can be used in the sequence of FIG. 36 request frame;

[0061]图41图示根据实施例的、可以在图36的序列中使用的周期性更新请求帧; [0061] FIG. 41 illustrates an embodiment according to periodic updates, which can be used in the sequence of FIG. 36 request frame;

[0062]图42图示根据实施例的、可以在图36的序列中使用的刷新请求帧; [0062] FIG. 42 illustrates according to an embodiment may be used in the sequence of FIG. 36 frame refresh request;

[0063]图43图示根据实施例的、可以在图36的序列中使用的取消视图请求; [0063] FIG. 43 illustrates an embodiment according to the cancellation view, which can be used in the sequence of FIG. 36 request;

[0064] 图44图示根据实施例的、可以在图36的序列中使用的视图响应帧; [0064] FIG. 44 illustrates the response frame according to an embodiment of the view, which can be used in the sequence of Fig. 36;

[0065] 图45图示根据实施例的、可以在图36的序列中使用的显式更新请求帧; [0065] FIG. 45 illustrates an embodiment according to the explicit update can be used in the sequence of FIG. 36 request frame;

[0066] 图46图示根据实施例的、可以在图36的序列中使用的视图更新请求帧; [0066] FIG. 46 illustrates a view of an embodiment of the update, which can be used in the sequence of FIG. 36 request frame;

[0067] 图47图示根据实施例的、可以使用图36的序列来更新的更新项帧; [0067] FIG. 47 illustrates key frame update according to an embodiment may be used to update the sequence of FIG. 36;

[0068]图48图示根据实施例的、可以在图36的序列中作为更新响应消息发送的更新响应帧; [0068] FIG. 48 illustrates according to an embodiment can be used as update response update message response frame in the sequence of Fig. 36;

[0069] 图49图示根据实施例的、批量数据传输中的发送方与接收方之间的通信性连接; [0069] FIG. 49 illustrates an embodiment according to the communication of bulk data transfer in between the sender and the receiver is connected;

[0070] 图50图示根据实施例的、可以被用来由图49的发送方发起通信性连接的Sendlnit 消息; [0070] FIG. 50 illustrates an embodiment in accordance with, it can be used to initiate a communication connection Sendlnit message sender from Figure 49;

[0071] 图51图示根据实施例的、图50的Sendlnit消息的传输控制字段; [0071] According to the embodiment illustrated in FIG. 51, the transmission 50 of FIG Sendlnit message control field;

[0072] 图52图示根据实施例的、图51的Sendlnit消息的范围控制字段; [0072] FIG. 52 illustrates an embodiment in accordance with the scope Sendlnit message control field in Figure 51;

[0073]图53图示根据实施例的、可以被用来接受通过由图50的发送方发送的图50的Send I nit消息所建议的通信性连接的SendAc c ep t消息; [0073] FIG. 53 illustrates an embodiment in accordance with, it can be used to receive from the sender by sending 50 of FIG Send I nit message 50 of the proposed communicatively connected SendAc c ep t message;

[0074] 图54图示根据实施例的、可以被用来拒绝通过由图50的发送方发送的图50的Send I nit消息所建议的通信性连接的SendRe ject消息; [0074] FIG. 54 illustrates an embodiment in accordance with, it can be used to reject SendRe ject messaging connection by sending by the sender Figure 50. Figure 50 messages Send I nit of the proposed;

[0075] 图55图示根据实施例的、可以被用来接受由图50的发送方建议的通信性连接的ReceiveAccept 消息; [0075] FIG. 55 illustrates an embodiment in accordance with, it can be used to accept from the sender 50 of FIG recommendation of a communication connection ReceiveAccept message;

[0076]图56是根据实施例的、使用扩展唯一本地地址(EULA)的IPv6分组报头的示例的框图; [0076] FIG. 56 is a block diagram of an example of the packet header according to an embodiment, the use of extended unique local address (EULA) of IPv6;

[0077]图57是根据实施例的、通过具有两个网络的结构拓扑来传递具有图56的IPv6分组的IPv6分组的示例的框图; [0077] FIG. 57 is a block diagram of an embodiment, by having two network topology structures to pass IPv6 example of FIG. 56 having the IPv6 packet of the packet;

[0078]图58是根据实施例的、使用图56的IPv6分组报头通过图57的结构来高效地传递IPv6分组的方法的流程图; [0078] FIG. 58 according to an embodiment, FIG. 56 using the IPv6 packet header of IPv6 packets flowchart of a method to efficiently pass through the structure of Figure 57;

[0079]图59是根据实施例的、用于至少部分地基于一个或多个可靠性因素来选择通过其发送消息的高效传输协议的方法的流程图; [0079] FIG. 59 is a flowchart of an embodiment, at least in part based on one or more factors to select the reliability by efficiently send the message transmission protocol of the method;

[0080] 图60是图示根据实施例的、在其中一个设备调用另一设备上的方法的设备的结构的用例的图; [0080] FIG. 60 is a diagram illustrating an embodiment of a device in which the device call another method on the device structure using the example of FIG;

[0081] 图61是图示根据实施例的、在其中通过许多低功率不活跃的设备来传播警报消息的设备的结构的用例的图; [0081] FIG. 61 is a diagram illustrating an embodiment, in which the use example of the construction of a number of low-power inactive by the device to spread the message alert device;

[0082]图62至图64是根据实施例的、用于将新设备引入到设备的结构中的方法的流程图;以及 [0082] FIG. 62 to FIG. 64 is a flowchart of an embodiment for the new device is introduced into the structure of the device in the process; and

[0083]图65至图67是根据实施例的用于将新设备引入到设备的结构中的另一方法的流程图。 [0083] FIG 65 to FIG 67 is a flowchart of an embodiment of the structure for the new device is introduced into the device in another method.

具体实施方式 detailed description

[0084] 将在下面描述本公开的一个或多个特定实施例。 [0084] will be described below one or more specific embodiments of the present disclosure. 这些描述的实施例仅是目前公开的技术的示例。 The described embodiments are merely illustrative of the presently disclosed technology. 因此,为了提供这些实施例的简明描述,可能不在本说明书中描述实际实施方式的所有特征。 Therefore, to provide a concise description of these embodiments, described in this specification may not all features of an actual implementation. 应该了解在任何这种实际的实施方式的开发中,如在任何工程或设计项目中一样,必须做出许多实施方式特定的决策以实现开发者的特定目标,诸如遵照可能从一个实施方式到另一实施方式变化的系统相关且业务相关的约束。 You should understand the development of any such actual embodiment, as in any engineering or design project, you must make a number of specific objectives implementation specific decisions in order to achieve the developer, such as might follow from one embodiment to another a system implementation and related changes in the way of business-related constraints. 而且,应该了解,这种开发努力可能是复杂的且费时的,但是对于受益于本公开的普通技术人员来说可能是设计、 制作和制造的例行任务。 Moreover, it should be understood that such a development effort might be complex and time-consuming, but for the benefit of this disclosure may be ordinary skill in the design, production and manufacture of routine tasks.

[0085] 当介绍本公开的各种实施例的元件时,冠词"一"、"一个"和"该"旨在意味着存在这些元件中的一个或多个。 [0085] When the element according to the present disclosure describes various embodiments, the articles "a," "an" and "the" are intended to mean the presence of these elements in one or more. 术语"含有"、"包括有"和"具有"旨在为包括的,并且意味着可以存在除所列举的元件以外的附加元件。 The term "comprising", "including" and "having" are intended to be inclusive and mean that there may be additional elements other than the listed elements. 此外,应该理解,对本公开的"一个实施例"或"实施例"的引用不旨在被解释为排除也并入所记载的特征的附加实施例的存在。 In addition, it should be understood that, or "an embodiment" of the present disclosure, "a example embodiment," reference is not intended to be interpreted to exclude the existence of also incorporate additional features described embodiment.

[0086] 如本文中所使用的,术语"HAVC"包括提供加热和冷却两者、仅加热、仅冷却的系统,以及提供诸如加湿、去湿和通风的其它居住者舒适和/或调节功能性的系统。 [0086] As used herein, the term "HAVC" including the provision of both heating and cooling, heating only, cooling only systems, and provide services such as humidification, dehumidification and ventilation of other occupants comfort and / or regulating functional system.

[0087] 如本文中所使用的,在参照家庭设备时,术语电力"收集"、"共享"和"占用"是指在无需直接从变压器使用直接或公共线源的情况下通过装置负载从电力变压器得到电力。 By [0087] As used herein, and when referring to home appliances, the term & Power "collection", "sharing" and "occupier" means without the use of direct or public line source directly from the transformer case by means load from the power get electricity transformer.

[0088] 如本文中所使用的,术语"恒温器"意指用于调节诸如外壳的至少一部分内的温度和/或湿度的参数的设备或系统。 Temperature and / or the parameters of the device or system at least part of moisture within the [0088] As used herein, the term "thermostat" means for adjusting such housing. 术语"恒温器"可以包括用于加热和/或冷却系统的控制单元或者加热器或空调器的组件部分。 The term "thermostat" may include a control unit for an air conditioner or a heater or heating component parts and / or cooling system. 如本文中所使用的,术语"恒温器"通常还能够指被配置和适配成在视觉上吸引人、不令人生畏、看起来优雅、并且欣然地易于使用的同时提供复杂的、定制的省电HVAC控制功能性的通用感测与控制单元(VSCU单元)。 As used herein, the term "thermostat" can also refer to generally be configured and adapted to be visually appealing, not intimidating, it looks elegant, easy to use and readily while providing sophisticated, customized saving HVAC control functionality common sensing and control unit (VSCU unit).

[0089] 如本文中所使用的,术语"危险检测器"是指能够检测火(例如,烟雾、热、一氧化碳)和/或其它危险条件(例如,极端温度、危险气体的积累)的迹象的任何家庭设备。 [0089] As used herein, the term "hazard detector" means capable of detecting a fire (such as smoke, heat, carbon monoxide), and / or other hazardous conditions (e.g., temperature extremes, accumulation of hazardous gases) signs of any home device.

[0090] 本公开涉及可以由在家庭环境中与彼此进行通信的设备使用的高效通信。 [0090] The present disclosure relates to efficient communication may be made in the home environment and each other device communication used. 本公开的高效通信可以使得设备和/或服务的结构能够在家庭环境中通信。 The disclosure efficient communication can enable communication in the home environment device structure and / or services. 实际上,住在家庭中的消费者可以发现协调他们的家庭内的各种设备的操作使得他们的设备中的全部被高效地操作是有用的。 In fact, living in the home, consumers can find a variety of devices to coordinate their operations within the family so that all their equipment is operating efficiently is useful. 例如,恒温器设备可以被用来检测家庭的温度并基于所检测到的温度来协调其它设备(例如灯)的活动。 For example, a thermostat device may be used to detect the temperature of the home and based on the detected temperature to coordinate other devices (e.g., lamps) activity. 恒温器设备可以检测可以指示温度对应于白天的家庭外部的温度。 The thermostat may indicate the device can detect the temperature corresponding to the temperature outside the home during the day. 恒温器设备然后可以向灯设备传达可能存在可被家庭利用的日光并且因此应该关掉灯。 Thermostat device may then be possible to use sunlight to light the family convey device and therefore should turn off the lights. 在另一示例中,智能危险检测器可以能够检测指示占用的环境条件。 In another example, the intelligent detector can be capable of detecting hazardous occupation indicate environmental conditions. 恒温器设备可以为这些环境条件而查询危险检测器并因此改变其操作。 The thermostat device may query for these environmental conditions and hence the hazard detector the operation thereof. 除效率之外,消费者通常可能更喜欢牵涉最小量的设置或初始化的用户友好的设备。 In addition to efficiency, consumers may often prefer to involve a minimal amount of set or initialize user-friendly device. 也就是说,消费者通常可能更喜欢在执行几个初始化步骤之后完全操作的设备,特别是不管年龄或技术经验都可以由几乎任何个体执行的那些设备。 That is, consumers may prefer devices typically perform several initialization steps after the complete operation, regardless of age or particular technical experience can be made almost any of those individual devices perform.

[0091] 为了在家庭环境内在彼此之间有效果地且有效率地传送数据,设备可以使用包括一个或多个逻辑网络的结构网络来管理设备之间的通信。 [0091] In order between family environment inherent to each other effective and efficient transfer of data, the device may be used include one or more logical network structure of the network to manage the communication between devices. 也就是说,高效结构网络可以使得家庭内的许多设备能够使用一个或多个逻辑网络来与彼此进行通信。 That is, efficient network structure so that many devices can be used within a household or more networks to communicate with each other. 结构网络可以通过牵涉例如高效网络层、高效平台层、和/或高效应用层的高效通信方案来支持以管理通信。 Structure network may involve, for example through effective and efficient network layer communication scheme, efficient platform layer, and / or to support efficient application layer to manage communication. 结构网络可以支持网际协议版本6(IPv6),使得每个连接的设备可以具有唯一本地地址(ULA)。 Network configuration can support the Internet protocol version 6 (IPv6), such that each connected device may have a unique local address (ULA). 在一些示例中,IPv6通信可以采用扩展唯一本地地址(EULA)。 In some examples, IPv6 communication can be extended using unique local address (EULA). 而且,为了使得每个设备能够与家庭集成在一起,对于每个设备而言使用少量的功率在网络内进行通信可能是有用的。 Furthermore, in order that each device can be integrated together with the family, for each device in terms of amount of power used for communication within the network may be useful. 也就是说,通过使得设备能够使用低功率进行通信,可以将该设备放置在家庭中的任何地方,而无需耦合至连续电源(例如电池供电的)。 That is, by making use of low-power devices to communicate, the device can be placed anywhere in the home, without the need for coupling to a continuous power source (such as a battery-powered).

[0092] 在通信协议的相对更低层(例如网络层)上,结构高效网络层可以建立在其中家庭内的许多设备可以经由无线网状网络与彼此进行通信的通信网络。 [0092] In the relatively low-level communication protocols (e.g., network layer), the network layer can establish efficient structure in which many devices within the home via a wireless mesh network can communicate with each network communications. 该通信网络可以支持网际协议版本6(IPv6)通信,使得每个连接的设备可以具有唯一网际协议(IP)地址。 The communication network may support Internet protocol version 6 (IPv6) communication, such that each connected device may have a unique Internet Protocol (IP) address. 而且,为了使得每个设备能够与家庭集成在一起,对于每个设备而言使用少量的功率在网络内通信可能是有用的。 Furthermore, in order that each device can be integrated together with the family, for each device in terms of amount of power used in a communication network may be useful. 也就是说,通过使得设备能够使用低功率通信,可以将设备放置在家庭中的任何地方,而无需耦合到连续电源。 That is, by making use of low-power devices to communicate, the device can be placed anywhere in the home without having to be coupled to a continuous power supply.

[0093] 高效网络层因此可以建立可以在两个或更多个设备之间传输数据使得通信网络的建立几乎不牵涉用户输入、设备之间的通信几乎不牵涉能量、并且通信网络它本身是安全的过程。 [0093] Efficient network layer can therefore be established between two or more devices to establish a communication network so that data transmission is hardly involve user input, the communications device is hardly involved energy, and the communication network itself is secure the process of. 在一个实施例中,高效网络层可以是采用下一代路由信息协议(RIPng)作为其路由机制并且采用数据报传输层安全(DTLS)协议作为其安全机制的基于IPv6的通信网络。 In one embodiment, the network layer may be an efficient next-generation Routing Information Protocol (RIPng) as its routing mechanism and the use of Datagram Transport Layer Security (DTLS) protocol as the security mechanism-based communications network IPv6. 因此,高效网络层可以提供用于向家庭添加或移除设备同时保护在已连接的设备之间传递的信息的简单手段。 Therefore, the network layer can provide efficient to add or remove a device to the home simple means while protecting information between connected devices delivered.

[0094] 在通信协议的相对更高层(例如,平台层和/或应用层)上,可以创建并维持设备的结构。 [0094] In a relatively higher level communication protocol (for example, the platform layer and / or application layer), you can create and maintain the structure of the device. 这些层可以在整个结构中使能参数化软件更新和状态报告。 These layers can be enabled in the entire structure parameterization software updates and status reports. 这些层还可以提供可能知道某些网络功率约束(诸如"不活跃"或电池供电的设备的功率约束)的通信,并且可以在想到这些因素情况下传递消息。 These layers can also provide some network power constraint may know (such as "inactive" or battery-powered device power constraints) communication, and can be thought of passing messages under these circumstances factors.

[0095] 因此,本公开的实施例涉及包括一个或多个逻辑网络的结构网络的系统和方法, 所述结构网络使得连接到结构的设备能够使用为设备所知的协议和/或简档的列表来与彼此进行通信。 [0095] Accordingly, the disclosed embodiments relate to systems and methods include one or more logical structure of the network of networks, the structure of the network so that devices connected to the structure can be used as a device known protocol and / or profile list to communicate with each other. 设备之间的通信可以遵循使得设备能够不管在结构中通信的设备连接到哪些逻辑网络都理解设备之间的通信的典型消息格式。 Communications device may enable the device to follow the structure of matter is connected to a device for communication networks which logical idea of what typical message format for communication between devices. 在消息格式内,可以包括数据的有效负荷以用于接收设备存储和/或处理。 In the message format may include payload data storage device for receiving and / or processing. 有效负荷的格式和内容可以根据在有效负荷内的指示简档(包括一个或多个协议)和/或正根据该简档发送的消息的类型的报头而变化。 The format and content of the payload according to the instructions in the payload profile (including one or more protocols) and / or are based on the profile of the type of message to send a header change.

[0096] 根据一些实施例,结构中的两个或更多个设备可以使用状态报告协议或简档进行通信。 [0096] According to some embodiments, the structure of two or more devices can use the status reporting protocols or profiles to communicate. 例如,在某些实施例中,可以将状态报告协议或模式包括在可被连接到结构的设备利用的核心简档中。 For example, in certain embodiments, the status report may be included in the agreements or patterns may be connected to the device structure utilizing the core profile. 使用该状态报告协议,设备可以向结构中的其它设备发送或者从结构中的其它设备请求状态信息。 Use this status report protocols, devices can send the structure to other devices or to request status information from the structure of other devices.

[0097] 类似地,在某些实施例中,结构中的两个或更多个设备可以使用更新软件协议或简档进行通信。 [0097] Similarly, in some embodiments, the structure of two or more devices can be used to update the software or protocol profiles for communication. 在一些实施例中,可以将更新软件协议或模式包括在可被连接到结构的设备利用的核心简档中。 In some embodiments, it is possible to update the software included in the agreements or patterns may be connected to the device structure utilizing the core profile. 使用更新软件协议,设备可以请求、发送或者通知结构内存在更新。 Updated software protocol, the device can request or send update notifications in the memory structure.

[0098] 在某些实施例中,结构中的两个或更多个设备可以使用数据管理协议或简档进行通信。 [0098] In some embodiments, the structure of two or more devices can use data management protocol or profile for communication. 在一些实施例中,可以将数据管理协议或模式包括在可被连接到结构的设备利用的核心简档中。 In some embodiments, data management protocol or schema can be included in the use of the device may be connected to the structure of the core profile. 使用更新数据管理协议,设备可以请求、查看、或者跟踪被存储在其它设备中的节点驻留信息。 Use update data management protocol, the device can request, view, or the tracking node is stored in the information residing in another device.

[0099] 此外,在某些实施例中,结构中的两个或更多个设备可以使用批量数据传输协议或简档来传输数据。 [0099] Additionally, in some embodiments, the structure of two or more devices can use the bulk data transfer protocol to transfer data or profile. 在一些实施例中,可以将批量数据传输协议或模式包括在可被连接到结构的设备利用的核心简档中。 In some embodiments, the bulk data transfer protocol or schema can be included in the use of the device may be connected to the structure of the core profile. 使用批量数据传输协议,设备可以使用结构中的任何逻辑网络来发起、发送、或者接收批量数据。 Use bulk data transfer protocol, the device can use any of the logical structure of the network to initiate, transmit, or receive bulk data. 在某些实施例中,使用批量数据传输协议的发送设备或接收设备也许能"驱动"设备之间的同步传输。 In certain embodiments, the use of bulk data transfer protocol transmitting device or the receiving device may be able to "drive" the synchronous transmission between devices. 在其它实施例中,可以利用异步传输来执行批量传输。 In other embodiments may be utilized to perform asynchronous transfer bulk transfer.

[0100] 结构介绍 [0100] Structure Introduction

[0101] 通过介绍,图1图示可以在家庭环境内与其它同样的设备进行通信的通用设备10 的示例。 [0101] By introducing, Figure 1 illustrates a generic device can communicate with other devices within the same family environment Example 10. 在一个实施例中,设备10可以包括一个或多个传感器12、用户接口组件14、电源16 (例如,包括电力连接和/或电池)、网络接口18、处理器20等。 In one embodiment, the apparatus 10 may include one or more sensors 12, a user interface module 14, power supply 16 (e.g., including electrical connections and / or batteries), a network interface 18, processor 20 or the like. 特定传感器12、用户接口组件14和电源配置可以与每个设备10相同或类似。 Specific sensors 12, 14 and the power user interface components may be the same or similar configuration with each device 10. 然而,应该注意在一些实施例中,每个设备10 可以基于设备类型或模型而包括特定传感器12、用户接口组件14、电源配置等。 However, it should be noted that in some embodiments, each device 10 can be based on device type or model to include a particular sensor 12, a user interface component 14, the power supply configuration.

[0102] 在某些实施例中,传感器12可以检测诸如加速度、温度、湿度、水、供应电力、接近、 外部运动、设备运动、声音信号、超声信号、光信号、火、烟雾、一氧化碳、全球定位卫星(GPS) 信号、射频(RF)、其它电磁信号或场等的各种特性。 [0102] In certain embodiments, such as an acceleration sensor 12 can detect temperature, humidity, water, electricity supply, close to the external movement, movement of the equipment, the sound signal, an ultrasonic signal, an optical signal, fire, smoke, carbon monoxide, global various characteristics positioning satellite (GPS) signal, a radio frequency (the RF), signals, or other electromagnetic fields and the like. 因此,传感器12可以包括温度传感器、湿度传感器、危险相关传感器或其它环境传感器、加速度计、麦克风、相当于并包括相机(例如,电荷耦合器件或视频相机)的光学传感器、有源或无源辐射传感器、GPS接收器或射频标识检测器。 Thus, the sensor 12 may include temperature sensors, humidity sensors, or other sensors associated risk of environmental sensors, accelerometers, microphones, and includes a camera corresponds to (e.g., video camera or charged coupled device) sensor optically active or passive radiator sensors, GPS receivers, or radio frequency identification detector. 虽然图1图示具有单个传感器的实施例,但是许多实施例可以包括多个传感器。 Although Figure 1 illustrates an embodiment having a single sensor, but many embodiments may include a plurality of sensors. 在一些实例中,设备10可以包括一个或多个主传感器和一个或多个辅传感器。 In some examples, the device 10 may include one or more sensors and one or more main secondary sensors. 这里,主传感器可以感测对设备的核心操作极为重要的数据(例如,感测恒温器中的温度或者感测烟雾检测器中的烟雾),同时辅传感器可以感测能够被用于能量高效目标或智能操作目标的其它类型的数据(例如,运动、光或声音)。 Here, the main sensor can sense the core operation of the device is extremely important data (for example, sensing thermostat or temperature sensing smoke detectors smoke), while the secondary sensors may sense can be used for energy efficiency target or other types of smart operation target data (for example, motion, light or sound).

[0103] 设备10中的一个或多个用户接口组件14可以从用户接收输入并且/或者向用户呈现信息。 [0103] The apparatus 10 in one or more user interface component 14 may receive input from a user and / or information presented to the user. 所接收到的输入可以被用来确定设定。 The received input may be used to determine the set. 在某些实施例中,用户接口组件可以包括对用户的运动做出响应的机械或虚拟组件。 In certain embodiments, the user interface component may include a movement of a user's virtual machine or respond components. 例如,用户能够机械地移动滑动组件(例如,沿着垂直或水平轨道)或者使可旋转环旋转(例如,沿着圆形轨道),或者可以检测用户沿着触摸板的运动。 For example, the user can mechanically moving the slide assembly (e.g., vertically or horizontally along the track), or when rotating the rotatable ring (e.g., along the circular orbit), or the user can detect movement along the touchpad. 这些运动可以与能够基于用户接口组件104的绝对位置或者基于用户接口组件104的位移来确定的设定调整(例如,对于可旋转环组件的每10°旋转按1华氏度调整设定点温度)相对应。 These movements may be able to based on the absolute position of the user interface component 104 is set or adjusted based on the displacement of the user interface component 104 to determine (for example, for each of the rotatable ring assembly is rotated 10 ° adjust the setpoint temperature of 1 degree Fahrenheit) Corresponding. 物理上且实际上可移动的用户接口组件能够允许用户沿着表观连续统一体的一部分设置设定。 Physically and virtually removable user interface components to allow the user to set the apparent continuum along a part of the setting. 因此,用户可能不局限于在两个离散选项之间选择(例如,如果使用了上下按钮则情况将是这样的),而是能够沿着一系列可能的设定值迅速地且直观地定义设定。 Therefore, the user may not be limited to choose between two discrete options (for example, if you use the up and down buttons the situation will be such), but can be quickly and intuitively defined along a series of possible setpoint setting set. 例如,用户接口组件的移动的大小可以与设定调整的量级相关联,使得用户可以显著地更改具有大移动的设定或者微调具有小移动的设定。 For example, the size of the mobile user interface component can be adjusted to set the order of the associated, so that the user can change significantly with a large mobile settings or fine-tuning a small mobile set.

[0104] 用户接口组件14还可以包括一个或多个按钮(例如,上下按钮)、小键盘、数字键盘、开关、麦克风、和/或相机(例如,以检测手势)。 [0104] The user interface assembly 14 may also include one or more buttons (e.g., up and down buttons), keypad, numeric keypad, switches, microphone, and / or a camera (e.g., to detect a gesture). 在一个实施例中,用户接口组件14可以包括可以使得用户能够通过使环旋转(例如,以调整设定)和/或通过向内点击环(例如,以选择经调整的设定或者以选择一个选项)来与组件交互的点击并旋转环孔组件。 In one embodiment, the user interface assembly 14 may include a user may be enabled by rotating the ring (e.g., to adjust the setting), and / or by clicking inwardly ring (e.g., to select a set or adjusted to a selected option) to component interactions with one click and rotate the ring hole assembly. 在另一实施例中,用户接口组件14可以包括可以检测手势(例如,以指示设备的电力或警报状态将改变)的相机。 In another embodiment, the user interface assembly 14 may include a gesture may be detected (e.g., electricity or alarm status will change indicating device) camera. 在一些实例中,设备10可以具有可以被用来设置多个类型的设定的一个主输入组件。 In some examples, the device 10 may have a plurality of types can be used to set the set input of a main component. 用户接口组件14还可以被配置成经由例如视觉显示器(例如,薄膜晶体管显示器或有机发光二极管显示器)和/或音频扬声器向用户呈现信息。 User interface component 14 can also be configured, for example, via a visual display (e.g., a thin film transistor display or an organic light emitting diode display) and / or an audio speaker to present information to a user.

[0105] 电源组件16可以包括电力连接和/或本地电池。 [0105] power supply assembly 16 may include a power connection and / or a local battery. 例如,电力连接可以将设备10连接到诸如线电压源的电源。 For example, the power connection 10 may be connected to a device such as a power source voltage line. 在一些实例中,AC电源能够被用来反复地对(例如,可再充电的)本地电池充电,使得电池可以被稍后用来在AC电源不可用时向设备10供应电力。 In some examples, the AC power can be used repeatedly for (e.g., rechargeable) battery charge locally, so that the battery can be later used to supply power to the device 10 in the AC power is not available.

[0106] 网络接口18可以包括使得设备10能够在设备之间进行通信的组件。 [0106] Network interface 18 enables the device 10 may include a device movable between components communicating. 在一个实施例中,网络接口18可以使用高效网络层作为其开放系统互连(0SI)模型的一部分进行通信。 In one embodiment, network interface 18 can be used effectively as part of its network layer OSI (0SI) model for communication. 在一个实施例中,将在下面参考图5更详细地描述的高效网络层可以使得设备10能够使用RIPng路由机制和DTLS安全方案来以无线方式传递IPv6型数据或业务。 In one embodiment, will be described in more detail below with reference to FIG. 5, may enable efficient network layer device 10 can be used RIPng routing mechanism and DTLS security solutions to wirelessly transfer data or IPv6 type of business. 因此,网络接口18可以包括无线卡或一些其它收发器连接。 Thus, the network interface card 18 may include a wireless transceiver or some other connection.

[0107] 处理器20可以支持各种不同的设备功能性中的一个或多个。 [0107] The processor 20 can support a variety of device functionality in one or more. 因此,处理器20可以包括被配置和编程为执行和/或使本文中所描述的功能性中的一个或多个被执行的一个或多个处理器。 Thus, the processor 20 can be configured and programmed to include the implementation and / or one or more processors functionality described herein in one or more of the execution. 在一个实施例中,处理器20可以包括执行存储在本地存储器(例如,闪存、硬盘、随机存取存储器)中的计算机代码的通用处理器、专用处理器或专用集成电路、其组合, 和/或使用其它类型的硬件/固件/软件处理平台。 In one embodiment, the processor 20 may include performing in local memory (for example, flash memory, hard disk, random access memory) in the computer code of a general purpose processor, a dedicated processor or ASIC, combinations thereof, and / or other types of hardware / firmware / software processing platforms. 另外,可以将处理器20实现为由中央服务器或基于云的系统诸如借助于运行使用异步JavaScript和XML(AJAX)或类似协议来执行从云服务器提供的指令的Java虚拟机(JVM)而远程地执行或者管理的算法的本地化版本或配对物。 Additionally, the processor 20 can be realized by a central server or to execute the instructions from the cloud server cloud-based systems, such as by means of operational use Asynchronous JavaScript and XML (AJAX) or similar agreement Java Virtual Machine (JVM) and remotely execution or management of localized versions of the algorithm or counterpart. 通过示例,处理器20可以检测位置(例如,房屋或房间)何时被占用,相当于并包括它被特定人占用还是被特定数目的人们(例如,相对于一个或多个阈值)占用。 By way of example, the processor 20 can detect the position (e.g., room or house) when occupied, which is equivalent to and including a specific person or to be occupied by a certain number of people (e.g., with respect to one or more thresholds) occupied. 在一个实施例中,这个检测能够例如通过对麦克风信号进行分析、检测用户移动(例如,在设备前面)、检测门或车库门的打开和关闭、检测无线信号、检测接收到的信号的IP地址、检测一个或多个设备在时间窗口内的操作等而发生。 In one embodiment, the detector can be e.g., by analysis of the microphone signals, detecting a user moves (e.g., in front of the device), detecting door or garage door to open and close, detecting wireless signal, IP address detects the reception signal detecting one or more devices operating within the time window and the like occur. 而且,处理器20可以包括用于标识特定居住者或对象的图像识别技术。 Furthermore, the processor 20 may include an image recognition technology is used to identify a particular object or occupant.

[0108] 在某些实施例中,处理器20还可以包括高能力处理器和低能力处理器。 [0108] In certain embodiments, the processor 20 may also include a high-capacity and low-capacity processor processors. 高能力处理器可以执行诸如操作用户接口组件14等的计算密集操作。 High-capacity processor can perform 14 operations such as user interface components such as compute-intensive operations. 另一方面,低能力处理器可以管理诸如从传感器12检测危险或温度的不太复杂的过程。 On the other hand, the low capacity of the processor can manage such temperature sensor 12 detects dangerous or less complex process from. 在一个实施例中,低能力处理器可以唤醒或者初始化用于计算密集过程的高能力处理器。 In one embodiment, the low capacity of the processor can wake up or initialization process for compute-intensive high-capacity processor.

[0109] 在一些实例中,处理器200可以预测所希望的设定和/或实现那些设定。 [0109] In some instances, the processor 200 may predict the desired setting and / or implement those settings. 例如,基于存在检测,处理器20可以将设备设定调整成例如在无人在家或在特定房间中时保存电力或者符合用户偏好(例如,通用的在家偏好或用户特定的偏好)。 For example, based on the presence detector, the processor 20 can set the machine to adjust to, for example at home or in the absence of electricity or comply save user preferences (for example, general preferences at home or user-specific preferences) when in a particular room. 作为另一示例,基于特定人、 动物或对象(例如,小孩、宠物或丢失对象)的检测,处理器20可以启动人、动物或对象在哪里的音频或视觉指示器,或者可以在在某些条件下(例如,在晚上或在灯关闭时)检测到未被认出的人的情况下启动警报或安全特征。 As another example, a particular person, animal or object (for example, children, pets or missing objects) based detection, the processor 20 can start a person, animal or object where the audio or visual indicator, or may be in some under conditions (for example, at night or in light off) is detected to start the unrecognized person alarm or security features.

[0110] 在一些实例中,设备可以彼此交互,使得由第一设备检测到的事件影响第二设备的动作。 [0110] In some examples, the device may interact with each other, so that the event detected by the first device to affect operation of the second device. 例如,第一设备能够检测到用户已驶入车库(例如,通过检测车库中的运动、检测车库中的光变化或者检测车库门的打开)。 For example, the first device able to detect the user has into the garage (for example, by detecting the movement of the garage, the garage light detecting changes or to detect garage door open). 第一设备能够经由高效网络层向第二设备传送这个信息,使得第二设备例如能够调整家庭温度设定、光设定、音乐设定、和/或安全警报设定。 The first device is capable of efficiently via the network layer to the second device transmits the information, e.g., can be adjusted such that the second home device temperature setting, setting of light, music settings and / or security alarm setting. 作为另一示例,第一设备能够检测用户接近前门(例如,通过检测运动或突然的光图案变化)。 As another example, a first device capable of detecting the user approaching the front door (e.g., by detecting a movement or a sudden change in the light pattern). 例如,第一设备可以使得通用音频或视觉信号被呈现(例如,诸如门铃的发声)或者使得位置特定的音频或视觉信号被呈现(例如,以通告访问者存在于用户正占用的房间内)。 For example, the first device can be made universal audio or visual signal is presented (for example, such as the sound of the doorbell) or so that the position of a particular audio or visual signal is presented (for example, to inform visitors of the user is present in the room occupied).

[0111] 通过示例,设备10可以包括诸如Nest®学习型恒温器的恒温器。 [0111] By way of example, device 10 may include such a thermostat Nest® learning thermostat. 这里,恒温器可以包括诸如温度传感器、湿度传感器等的传感器12,使得恒温器可以确定该恒温器被布置所在的建筑物内的目前气候条件。 Here, the thermostat may comprise a temperature sensor such as a humidity sensor or the like 12, so that the thermostat can determine the current weather conditions of the building where the thermostat is disposed within. 用于恒温器的电源组件16可以是本地电池,使得恒温器可以被放置在建筑物中的任何地方,而不用顾及被放置得与连续电源极为接近。 Power pack for the thermostat 16 may be a local battery, so the thermostat can be placed anywhere in the building, without taking into account the continuous power supply to be positioned very close. 因为可以使用本地电池来给恒温器供电,所以恒温器可以使其能量使用最小化,使得电池很少被替换。 Because you can use a local battery to power the thermostat, the thermostat so that it can minimize the use of energy, so that the battery rarely replaced.

[0112] 在一个实施例中,恒温器可以包括可以具有布置在其上的可旋转环作为用户接口组件14的圆形轨道。 [0112] In one embodiment, the thermostat may comprise disposed thereon may have a rotatable circular ring as a user interface component of the rail 14. 因此,用户可以使用可旋转环与恒温器交互或者对恒温器进行编程,使得恒温器通过控制加热、通风、和空气调节(HAVC)单元等来控制建筑物的温度。 Thus, the user can use the rotatable ring or to interact with the thermostat thermostat can be programmed so that the thermostat by controlling heating, ventilation, and air conditioning (HAVC) unit or the like to control the temperature of the building. 在一些实例中,恒温器可以基于其程序设计来确定建筑物何时可能是空的。 In some examples, the thermostat can be based on its programming to determine when a building may be empty. 例如,如果恒温器被编程为使HVAC单元保持断电达延长时间段,则恒温器可以确定建筑物在这个时间段期间将是空的。 For example, if the thermostat is programmed to cause the HVAC unit to remain off for an extended period of time, the thermostat can be determined during this period the building will be empty. 这里,恒温器可以被编程为在它确定建筑物是空的时关掉灯开关或其它电子设备。 Here, the thermostat can be programmed to determine when it is empty of buildings to turn off the light switch or other electronic devices. 因此,恒温器可以使用网络接口18来与灯开关设备进行通信,使得它可以在建筑物被确定为是空的时向灯开关设备发送信号。 Thus, the thermostat 18 may use the network interface to communicate with a light switch device, so that it may be determined as a switching device to transmit light signals in an empty building. 以这种方式,恒温器可以高效地管理建筑物的能量使用。 In this manner, the thermostat can be used to efficiently manage the energy of the building.

[0113] 记住上文,图2图示图1的设备10可以经由高效网络层与其它设备进行通信的家庭环境30的框图。 [0113] Remember above, Figure 2 illustrates the device 10 of FIG. 1 may be a block diagram of the home environment 30 via a communication network layer efficiently with other devices. 所描绘的家庭环境30可以包括诸如房屋、办公建筑物、车库、或活动房屋的结构32。 Depicted a family environment 30 may include structures such as houses, office buildings, garages, or mobile homes 32. 应当了解,还能够将设备集成到不包括整个结构32的家庭环境(诸如套房、公寓、办公空间等)中。 It should be understood that the device can also be integrated into the whole structure does not include 32 family environment (such as suites, apartments, office space, etc.). 另外,家庭环境30可以控制和/或耦合到实际结构32外部的设备。 In addition, the family environment 30 can be controlled and / or 32 are coupled to the actual structure of the external device. 实际上,家庭环境30中的数个设备根本不必物理上在结构32内。 In fact, the family environment 30 the number of devices within the very fabric of 32 do not have to be physically. 例如,控制水池加热器34或灌溉系统36的设备可以位于结构32外部。 For example, the control device pool heater 34 or irrigation system 36 may be located outside the structure 32.

[0114] 所描绘的结构32包括经由墙40彼此至少部分地分开的许多房间38。 [0114] depicted structure 32 includes a wall 40 spaced from each other by at least partially Many rooms 38. 墙40能够包括内墙或外墙。 Wall 40 can include exterior or interior walls. 每个房间38还能够包括地板42和天花板44。 Each room also includes a 38 floor 42 and ceiling 44. 这些设备能够被安装在墙40、地板42、或天花板44上,与墙40、地板42、或天花板44集成在一起,并且/或者由墙40、地板42、或天花板44支撑。 These devices can be mounted on the wall 40, floor 42, or ceiling 44, the wall 40, floor 42, ceiling 44, or integrated with, and / or by the walls 40, floor 42, ceiling 44 or support.

[0115] 家庭环境30可以包括多个设备,包括可以与彼此和/或与基于云的服务器系统无缝地集成在一起以提供各种有用的家庭目标中的任一个的智能、多感测、连接网络的设备。 [0115] 30 may include a plurality of home environment equipment, including with each other and / or with the cloud-based server system is seamlessly integrated together to provide a variety of useful target any one family of intelligent, multi-sensing, network-connected devices. 家庭环境30中所图示的设备中的一个、更多个或每一个可以包括一个或多个传感器12、用户接口14、电源16、网络接口18、处理器20等。 Device 30 in home environment illustrated in one or more of each may include one or more sensors 12, a user interface 14, power supply 16, a network interface 18, processor 20 or the like.

[0116] 示例设备10可以包括诸如Nest Labs公司的Nest_学习型恒温器-第一代T100577 或Nest®学习型恒温器-第二代T200577的连接网络的恒温器46。 [0116] Example device 10 may include companies such as Nest Labs thermostat Nest_ learning - the first generation T100577 or Nest® learning thermostat - the second generation of network connection T200577 the thermostat 46. 恒温器46可以检测环境气候特性(例如,温度和/或湿度)并且控制加热、通风和空气调节(HVAC)系统48。 Thermostat 46 may detect environmental and climatic characteristics (for example, temperature and / or humidity) and controls the heating, ventilation and air conditioning (HVAC) system 48. 另一示例设备10可以包括诸如Nest®的危险检测单元的危险检测单元50。 Another exemplary device 10 may include, for example Nest® dangerous hazard detection unit 50 detecting unit. 危险检测单元50可以检测危险物质和/或危险条件存在于家庭环境30中(例如,烟雾、火或一氧化碳)。 Hazard detection unit 50 can detect dangerous substances and / or hazardous conditions exist in a family environment 30 (for example, smoke, fire, or carbon monoxide). 此外,能够被称为"智能门铃"的入口通道接口设备52能够检测人接近于或背离位置、控制可听功能性、经由音频或视觉手段来通告人的接近或背离、或者控制关于安全系统的设定(例如,以激活或停用该安全系统)。 In addition, can be called "smart door" entrance channel interface device 52 can detect people close to or away from the position, the control function of the audible, via audio or visual means to advertise people approaching or departing from, or safety control system setting (for example, to activate or deactivate the security system).

[0117]在某些实施例中,设备10可以包括可以检测环境照明条件、检测房间占用状态、并且控制一个或多个灯的电力和/或暗淡状态的灯开关54。 [0117] In some embodiments, the device 10 may include a can detect ambient lighting conditions, detect room occupancy status, and controls one or more power and / or status lights dim the light switch 54. 在一些实例中,灯开关54可以控制风扇(诸如吊式风扇)的电力状态或速度。 In some instances, a light switch 54 may control the fan (such as hanging fan) of state power or speed.

[0118] 此外,墙插座接口56可以检测房间或围墙的占用并且控制电力到一个或多个墙插座的供应(例如,使得在无人在家的情况下不向插座供应电力)。 [0118] In addition, the interface 56 can detect wall socket wall or room occupancy and controls power supply to a wall outlet or a plurality of (e.g., so as not to supply power to the power socket at home no case). 家庭环境30内的设备10还可以包括家电58,诸如冰箱、电炉和/或烘箱、电视、洗衣机、烘干机、灯(在结构32内部和/或外部)、立体声设备、对讲系统、车库门开门器、落地风扇、吊式风扇、全屋风扇、壁式空调器、 水池加热器34、灌溉系统36、安全系统等。 Device 10 may also include within the home environment 30 appliances 58, such as a refrigerator, electric stove and / or oven, TV, washing machine, dryer, lights (in structure 32 internal and / or external), stereo equipment, intercom systems, garage door openers, floor fan, hanging fans, whole house fan, wall air conditioners, pool heaters 34, 36 irrigation systems, security systems. 虽然图2的描述可以标识与特定设备相关联的特定传感器和功能性,但是应当了解,可以将各种传感器和功能性(诸如在整个说明书中所描述的那些传感器和功能性)中的任一个集成到设备10中。 Although the description of FIG. 2 can be identified with a particular sensor and functionality associated with a particular device, it should be understood that any of a variety of sensors and functional (those sensors and functional throughout the specification such as described) in a can integrated into the device 10.

[0119] 除包含处理和感测能力之外,上面所描述的示例性设备中的每一个也许能够与任何其它设备以及对在世界上任何地方连接网络的任何云服务器或任何其它设备进行数据通信和信息共享。 [0119] In addition to containing the processing and sensing capabilities, exemplary device described above, each may be able to with any other device in the world, as well as connect to the network anywhere in any cloud server or any other equipment for data communications and information sharing. 在一个实施例中,设备10可以经由将在下面参考图5所讨论的高效网络层来发送和接收通信。 In one embodiment, the device 10 can be efficiently via the network layer discussed below with reference to FIG. 5 to send and receive communication. 在一个实施例中,高效网络层可以使得设备10能够经由无线网状网络与彼此进行通信。 In one embodiment, the network layer may enable efficient device 10 via the wireless mesh network can communicate with each other. 因此,某些设备可以用作无线重发器和/或可以充当家庭环境中的可能未彼此直接连接(即,单跳)的设备之间的桥接器。 Thus, some of which may be used as a wireless bridge repeater and / or may act as a family may not be directly connected to each other in the environment (ie, single-hop) between devices.

[0120] 在一个实施例中,无线路由器60还可以经由无线网状网络与家庭环境30中的设备10进行通信。 [0120] In one embodiment, the wireless router 60 can also communicate via 10 wireless mesh network and family environment 30 devices. 无线路由器60然后可以与互联网62进行通信,使得每个设备10可以通过互联网62与中央服务器或云计算系统64进行通信。 Wireless router 60 may then communicate with the Internet 62, such that each device 10 can communicate with the central server 62 via the Internet or the cloud computing system 64. 中央服务器或云计算系统64可以与和特定设备10相关联的制造商、支持实体或服务提供商相关联。 A central server or cloud computing system 64 may be a specific device manufacturer with 10 and associated support service provider entity or associate. 因此,在一个实施例中,用户可以使用设备本身而不是使用诸如电话或连接互联网的计算机的一些其它通信手段来联系客户支持。 Thus, in one embodiment, a user may use the device itself, rather than using some other means of communication such as the telephone or the computer connected to the Internet to contact customer support. 另外,能够从中央服务器或云计算系统64向设备自动地发送软件更新(例如,当可用时、当被购买时、或者以例行间隔)。 In addition, it is possible to calculate the system 64 updates (for example, when available, when it is purchased, or to routine intervals) to the device to automatically send software from a central server or cloud.

[0121] 借助于网络连接性,即使用户不接近于设备,设备10中的一个或多个也可以进一步允许用户与设备交互。 [0121] by means of network connectivity, even if the user is not close to the machine, one or more of 10 may further allow the user to interact with the device. 例如,用户可以使用计算机(例如,台式计算机、膝上型计算机、或平板)或其它便携式电子设备(例如,智能电话)66来与设备进行通信。 For example, users can use the computer (for example, a desktop computer, a laptop computer, or a tablet) or other portable electronic devices (such as smartphones) 66 to communicate with the device. 网页或应用可以从用户接收通信并且基于所接收到的通信来控制设备10。 Web page or application can receive a communication from a user and based on the received communication to the control device 10. 而且,网页或应用可以向用户呈现关于设备的操作的信息。 Furthermore, the web page or application can present the user with information about the operation of the device. 例如,用户能够查看设备的当前设定点温度并且使用可以连接到互联网62的计算机来调整它。 For example, you can view the current set-point temperature, and can use a computer connected to the Internet 62 to adjust it. 在这个示例中,恒温器46可以经由使用高效网络层创建的无线网状网络来接收当前设定点温度视图请求。 In this example, thermostat 46 may be via a wireless mesh network using the network layer to create a highly efficient receiving the current setpoint temperature to the view request.

[0122] 在某些实施例中,家庭环境30还可以包括各种非通信传统家电68,诸如能够借助于墙插座接口56来控制(即使粗糙地(0N/0FF))的旧常规的洗衣机/烘干机、冰箱等。 [0122] In certain embodiments, the home environment 30 may also include a variety of non-traditional communication appliance 68, such as a possible means of wall socket interface 56 to control (even coarsely (0N / 0FF)) old conventional washer / dryer, refrigerator. 家庭环境30还可以包括各种部分地通信的传统家电70,诸如能够通过由危险检测单元50或灯开关54所提供的IR信号来控制的红外(IR)控制的壁式空调器或其它IR控制的设备。 Family environment 30 may also include various portions of legacy appliance 70 to communicate, such as through the IR signal or a light switch 54 provided to control the risk of detection unit 50 infrared (IR) control wall air conditioner or other IR control device of.

[0123] 如上面所提到的,上面所描述的示例设备10中的每一个设备可以建立无线网状网络,使得可以向每个设备10传递数据。 [0123] As mentioned above, exemplary apparatus 10 described above, each device can establish a wireless mesh network, such that data can be transmitted to each device 10. 记住图2的示例设备,图3图示可以被采用来方便上面所描述的示例性设备中的一些设备之间的通信的示例无线网状网络80。 Remember that in the illustrated apparatus 2, FIG. 3 illustrates an example may be employed to facilitate communication in a wireless mesh network described above, exemplary apparatus 80 between some devices. 如图3中所示,恒温器46可以具有到插座接口56的直接无线连接,所述插座接口56可以以无线方式连接到危险检测单元50并连接到灯开关54。 As shown in Figure 3, the thermostat 46 may have a direct interface to the outlet 56 of the wireless connection, the socket interface 56 may be wirelessly connected to the hazard detecting unit 50 and the switch 54 is connected to the lamp. 以同一方式,灯开关54可以以无线方式耦合到家电58和便携式电子设备66。 In the same way, light switch 54 may be wirelessly coupled to the portable electronic device 58 and the appliance 66. 家电58可以仅耦合到水池加热器34并且便携式电子设备66可以仅耦合到灌溉系统36。 Appliance 58 may be coupled only to the pool heater 34 and the portable electronic device 66 may be coupled to only 36 irrigation system. 灌溉系统36可以具有到入口通道接口设备52的无线连接。 Irrigation system 36 may have a wireless connection inlet passage 52 to the interface device. 图3的无线网状网络80中的每个设备可以与无线网状网络80内的节点相对应。 Figure 3 is a wireless mesh network each device 80 may correspond to node 80 within the wireless mesh network. 在一个实施例中,高效网络层可以指定每个节点使用RIPng协议和DTLS协议来传送数据,使得可以在这些节点之间经由最少数目的跳将数据安全地传输到目的地节点。 In one embodiment, the network layer can efficiently specify each node using the RIPng protocol and DTLS protocol to transmit data, making it possible via the least number of hops will securely transmit data between these nodes to the destination node.

[0124] 通常,高效网络层可以是如图4中所描绘的开放系统互连(0SI)模型90的一部分。 [0124] Typically, the network layer may be efficient as depicted in FIG. 4 OSI portion (0SI) of the model 90. 0SI模型90图示通信系统相对于抽象层的功能。 0SI Model 90 illustrates a communication system with respect to the functional abstraction layer. 也就是说,0SI模型可以指定联网框架或者设备之间的通信如何可以被实现。 That is, 0SI model can specify the communication between networked devices or how the framework can be implemented. 在一个实施例中,0SI模型可以包括六个层:物理层92、数据链路层94、网络层96、传输层98、平台层100、和应用层102。 In one embodiment, the model may include 0SI six layers: a physical layer 92, data link layer 94, network layer 96, transport layer 98, the platform layer 100, and the application layer 102. 通常,0SI模型90中的每个层可以服务它上方的层并且可以被它下面的层服务。 Typically, 0SI model 90 may service each layer the layer above it and the layer below it may be service. 在至少一些实施例中,更高层对于更低层中使用的技术而言可能是不可知论的。 In at least some embodiments, the higher level for technical terms used in the lower level may be agnostic. 例如,在某些实施例中,平台层100对于网络层96中使用的网络类型而言可能是不可知论的。 For example, in certain embodiments, the platform layer 100 to the network type used in the network layer 96 may be in terms of agnosticism.

[0125] 记住这个,物理层92可以为可以与彼此进行通信的设备提供硬件规格。 [0125] remember this, a physical layer 92 may provide the hardware specifications for the devices can communicate with each other. 因此,物理层92可以确立设备如何可以彼此连接,帮助管理如何可以在设备之间共享通信资源等。 Therefore, the physical layer 92 may establish how the device can be connected to each other, to help manage how the communication resource can be shared between devices.

[0126] 数据链路层94可以指定如何可以在设备之间传输数据。 [0126] The data link layer 94 can specify how the data can be transferred between devices. 通常,数据链路层94可以提供可以将正被传送的数据分组编码和解码成比特作为传输协议的一部分的方式。 Typically, the data link layer 94 provides data packet being transmitted may be encoded and decoded into bits as part of the way of the transport protocol.

[0127] 网络层96可以指定正被传输到目的地节点的数据如何被路由。 [0127] The network layer 96 can be specified is being transmitted to the destination node of how the data is routed. 网络层96还可以提供可以维持正被传输的数据的完整性的安全协议。 The network layer 96 may also be provided to maintain the integrity of the security protocol of the data being transmitted.

[0128] 传输层98可以指定数据从源节点到目的地节点的透明传输。 [0128] Transfer layer 98 can specify the transparent transmission of data from the source node to the destination node. 传输层98还可以控制数据的透明传输如何保持可靠。 Transport layer 98 can also control how transparent transmission of data reliably maintained. 因此,传输层98可以被用来验证旨在传输到目的地节点的数据分组实际上到达了目的地节点。 Therefore, the transport layer 98 can be used to verify the data packets transmitted to the intended destination node actually arrived at the destination node. 可以在传输层98中采用的示例性协议可以包括传输控制协议(TCP)和用户数据报协议(UDP)。 98 can be used in the transport layer protocol may include an exemplary transmission control protocol (TCP) and User Datagram Protocol (UDP).

[0129] 平台层100可以根据在传输层98内指定的协议来建立设备之间的连接。 [0129] platform layer 100 may be specified in the transport layer protocol 98 to establish a connection between devices. 平台层100 还可以将数据分组转化成应用层102可以使用的形式。 Platform layer 100 may also be converted to the form of data packets application layer 102 may be used. 应用层102可以支持可以与用户直接接口的软件应用。 Application layer 102 may support software applications can direct interface with the user. 因此,应用层102可以实现由软件应用所定义的协议。 Therefore, the application layer 102 may implement the protocol defined by the software application. 例如,软件应用可以提供诸如文件传输、电子邮件等的服务。 For example, the software application can provide services such as file transfer, e-mail and other services.

[0130]高效网络层 [0130] efficient network layer

[0131] 现在参考图5,在一个实施例中,可以以某种方式将网络层96和传输层98配置成形成高效低功率无线个人网络(ELoWPAN)llO。 [0131] Referring now to FIG. 5 in one embodiment, may be in some way the network layer and the transport layer 96 98 configured to form a highly efficient low-power wireless personal area network (ELoWPAN) llO. 在一个实施例中,ELoWPAN 110可以基于可以与低速率无线个人局域网(LR-WPAN)相对应的IEEE 802.15.4网络。 In one embodiment, ELoWPAN 110 may be based on the low-rate wireless personal area network (LR-WPAN) corresponding to the IEEE 802.15.4 network. ELoWPAN110可以指定网络层96可以使用基于网际协议版本6(IPv6)的通信协议在家庭环境30中的设备10之间路由数据。 ELoWPAN110 can specify the network layer 96 can be used to route data between 10 based on the Internet Protocol version 6 (IPv6) communication protocol devices in the home environment 30. 因此,每个设备10可以包括可以给每个设备10提供唯一地址以用来通过互联网、在家庭网络30附近的本地网络等标识它本身的128比特IPv6地址。 Thus, each device 10 may include a unique address may be provided to each device 10 to be used via the Internet, identifies its own IPv6 address of 128 bits in the vicinity of a local home network 30 and other networks.

[0132] 在一个实施例中,网络层96可以指定可以使用下一代路由信息协议(RIPng)在设备之间路由数据。 [0132] In one embodiment, the network layer 96 can be used to specify the next generation of Routing Information Protocol (RIPng) to route data between devices. RIPng是基于源节点与目的地节点之间的跳数经由无线网状网络来路由数据的路由协议。 RIPng is based on the number of hops between the source and destination nodes via a wireless mesh network routing protocol to route data. 也就是说,RIPng可以在确定数据如何将被路由时确定采用最少跳数的从源节点到目的地节点的路由。 In other words, RIPng can be determined using the route from the source node to the destination node of the least number of hops in determining how the data will be routed. 除经由无线网状网络支持数据传输之外,RIPng能够支持IPv6 联网业务。 In addition to supporting data transmission via a wireless mesh network outside, RIPng supports IPv6 networking services. 因此,每个设备10可以在路由数据时使用用于标识它本身的唯一IPv6地址以及用于标识目的地节点的唯一IPv6地址。 Thus, each device 10 can be used when routing data for identifying its own unique IPv6 address and a unique IPv6 address identifies the destination node. 将在下面参考图6描述关于RIPng如何在节点之间发送数据的附加细节。 Will be described below with reference to FIG. 6 RIPng additional details on how to send data between nodes.

[0133] 如上面所提到的,网络层96还可以提供可以管理正被传输的数据的完整性的安全协议。 [0133] As mentioned above, the network layer 96 may also be provided to manage the integrity of the security protocol of the data being transmitted. 这里,高效网络层可以使用数据报传输层安全(DTLS)协议来使在设备之间传输的数据安全。 Here, the network layer can be used efficiently Datagram Transport Layer Security (DTLS) protocol to enable secure transmission of data between devices. 通常,传输层安全(TLS)协议被通常用来保护经由互联网的数据传输。 Typically, the Transport Layer Security (TLS) protocol is usually used to protect data transmission via the Internet. 然而,为了TLS协议是有效的,TLS协议可以使用诸如传输控制协议(TCP)的可靠传输通道来传输数据。 However, in order to be effective TLS protocol, TLS protocol may be used, such as the Transmission Control Protocol (TCP) for reliable transmission channel to transmit data. DTLS在支持诸如用户数据报协议(UDP)的不可靠传输通道的同时为所传输的数据提供类似级别的安全。 DTLS support such as the User Datagram Protocol (UDP) unreliable transmission channels at the same time provide a similar level of security for the data transfer. 将在下面参考图8和图9描述关于DTLS协议的附加细节。 Below with reference to FIGS. 8 and 9 describe additional details about the DTLS protocol.

[0134] 图5中所描绘的网络层96在本文中被表征为上面所提到的高效网络层。 [0134] As represented in FIG. Network layer 96 is herein characterized as a highly efficient network layer mentioned above. 也就是说, 高效网络层使用RIPng来路由IPv6数据并且使用DTLS协议来使经路由的数据安全。 That is, the efficient use of the network layer to route IPv6 RIPng data and to make use DTLS protocol routing data through security. 因为高效网络层使用DTLS协议来使设备之间的数据传输安全,所以对于数据来说,传输层98可以支持TCP和UDP传输方案。 Because efficient network layer DTLS protocol to enable secure data transmission between devices, so the data, the transport layer 98 can support TCP and UDP transmission scheme.

[0135] 现在参考图6,图6描绘可以被用于使用RIPng来为图3的无线网状网络80中的每个设备1 〇确定路由表的方法120的流程图。 [0135] Referring now to FIG. 6, FIG. 6 depicts the RIPng can be used to determine the routing table is a flow chart diagram of a wireless mesh network 3 a device 80 for each of 120 square method. 方法120可以由家庭环境30中的每个设备10来执行,使得每个设备10可以产生指示无线网状网络80中的每个节点可以如何彼此连接的路由表。 The method 120 may be performed by a home environment 10 for each device 30, 10 such that each device may generate an indication of each wireless mesh network node 80 may be connected to each other how the routing table. 因此,每个设备10可以独立地确定如何将数据路由到目的地节点。 Thus, each device 10 may independently determine how to route data to the destination node. 在一个实施例中,设备10的处理器20可以使用网络接口18来执行方法120。 In one embodiment, the processor apparatus 10 using the network interface 20 may perform the method 120 to 18. 因此,设备10可以经由网络接口18向家庭环境30中的其它设备10发送与传感器12相关联或者由处理器18所确定的数据。 Thus, the device 10 may be determined by the data processor 18 of the network interface to a family environment 30 18 Other equipment 10 transmits the sensor 12 is associated via either.

[0136] 将参考图7A至图7D描述方法120的以下讨论,以清楚地图示方法120的各个块。 [0136] with reference to FIGS. 7A to 7D describe a method 120 discussed below, in order to clearly illustrate each block 120 of the method. 记住这个并参考图6和图7A两者,在块122处,设备100可以向可以直接(即,零跳)到请求设备10的任何其它设备10发送请求132。 Remember this and with reference to both Figures 6 and 7A, at block 122, the device 100 can direct (ie, zero jump) to any other device requesting device 10 sends a request 10 132. 请求132可以包括对于来自相应设备10的所有的路由信息的请求。 132 may include a request for all routes from the respective device 10 requests. 例如,参照图7A,在节点1处的设备10可以将请求132发送到在节点2处的设备10 以发送包括在节点2的存储器中的路由(即,N2的路由)中的全部。 For example, referring to FIG. 7A, at a node 10 of device 132 may be sent to the request to send 10 includes a routing node in the memory 2 (ie, N2 route) of all the equipment at the node 2.

[0137] 在块124处,请求设备10可以从相应设备10接收可以包括在相应设备10的相应存储器中包括的路由中的全部的消息。 [0137] At block 124, the requesting device 10 may be received from the corresponding device 10 may include equipment included in the respective corresponding memory 10 route all messages. 可以在可以指定无线网状网络80中的每个节点可以如何彼此连接的路由表中组织路由。 You can specify in the wireless mesh network each node 80 in the routing table can be connected to each other how to organize routing. 也就是说,该路由表可以指定数据可以被传输到哪些中间节点以使得数据从源节点到目的地节点。 That is, the routing table can specify which data can be transferred to an intermediate node so that the data from the source node to the destination node. 返回参考以上示例并参考图7B,响应于节点1对于N2的路由的请求,在块124处,节点2可以向节点1发送包括在节点2的存储器或存储中的路由(N2的路由144)中全部。 Referring back to the example above with reference to FIG. 7B, in response to the node 1 request for N2 route, at block 124, the node 2 may send a node 1 comprises routing (N2 route 144) at node 2 memory or storage in all. 在一个实施例中,如图7A中所示,无线网状网络80的每个节点可以将请求132发送到其相邻节点。 In one embodiment, as shown in FIG. 7A, each node in the wireless mesh network 80 can send the request 132 to its neighboring nodes. 作为响应,如图7B中所示,每个节点然后可以将其路由发送到其相邻节点。 In response, as shown in Fig. 7B, each node can then be routed to its neighbors. 例如,图7B像用N1的路由142、N2的路由144、N3的路由146、N4的路由148、N5的路由150、N6的路由152、N7的路由154、N8的路由156以及N9的路由158所描绘的那样图示每个节点如何将其路由数据发送到每个相邻节点。 For example, Figure 7B as 142, N2 route Route 144, N3 route 146, N4 route 148, N5 route 150, N6 route with N1 route 152, N7 of 154, N8 route 156 and route N9 158 as illustrated how each node as depicted in its routing data will be sent to each adjacent node.

[0138] 最初,每个节点可以知道它可能具有直接连接(即,零跳)的节点。 [0138] Initially, each node can know that it may have a direct connection (i.e., zero crossing) of the node. 例如,最初,节点2可能仅知道它直接连接到节点1、节点3和节点4。 For example, initially, node 2 may only know that it is directly connected to Node 1, Node 3 and Node 4. 然而,在接收到N1的路由142、N3的路由146、以及N4的路由148之后,节点2的处理器20可以构建包括与N1的路由142、N3的路由146、 以及N4的路由148包括在一起的信息中的全部的路由表。 However, after the reception of the N1 to the routing 142, N3 routes 146, 148 and N4, node processor 20 may be constructed of 2 N1 include routing 142, N3 route 146, and 148 include routing N4 together all information in the routing table. 因此,下一次节点2接收到对于其路由或路由表(即,N2的路由144)的请求,节点2可以发送包括N1的路由142、N2的路由、N3的路由146、以及N4的路由148的路由表。 Therefore, the next node 2 receives for its routing or routing table (i.e., N2 route 144) a request, the node 2 may transmit data including N1 route 142, N2 route, N3 route 146, and routing N4 148 routing table.

[0139] 记住这个并往回参考图6,在块126处,请求设备10可以更新其本地路由表以包括从相邻设备10接收到的路由信息。 [0139] and remember back to Figure 6, at block 126, the requesting device 10 may update its local routing table to include neighboring devices received from the 10 to the routing information. 在某些实施例中,每个设备10可以周期性地执行方法120,使得每个设备10包括表征无线网状网络80中的每个节点可以如何彼此连接的经更新的路由表。 In certain embodiments, each device 10 may periodically perform the method 120, such that each device 10 includes a characterization of how each node in the wireless mesh network 80 may be connected to each other in the updated routing table. 如上面所提到的,每当方法120被执行时,如果相邻设备10利用从其相邻设备接收到的信息更新了其路由表,则每个设备10可以从其相邻设备10接收附加信息。 For example, whenever the method mentioned above 120 is executed, if the adjacent device 10 using the received from neighboring devices updated its routing table, each device 10 can be attached from the neighboring devices received 10 information. 结果,每个设备10可以理解无线网状网络80中的每个节点可以如何彼此连接。 As a result, each device 10 can understand how each node in the wireless mesh network 80 may be connected to each other.

[0140] 例如,图7C图示可能已由在节点1处的设备10使用方法120确定的路由表172。 [0140] For example, Figure 7C illustrates the device may have been a 10-node 120 to determine the use of the routing table 172. 在这个示例中,路由表172可以指定作为目的地节点的无线网状网络80中的每个节点、节点1与每个目的地节点之间的中间节点以及节点1与目的地节点之间的跳数。 In this example, the routing table 172 may be designated as the destination node hops between wireless mesh networks each node 80, intermediate nodes between node 1 and node 1 and each of the destination node and the destination node number. 跳数与正被发送到目的地节点的数据在到达目的地节点之前可以被转发到中间节点的次数相对应。 Hops and is being sent to the destination node of the data before it reaches the destination node can be forwarded to the number of times corresponding to the intermediate node. 当向特定目的地节点发送数据时,RIPng路由方案可以选择牵涉最少跳数的路由。 When sending data to a particular destination node, RIPng routing scheme can choose to involve minimal hop routing numbers. 例如,如果节点1打算向节点9发送数据,则RIPng路由方案将经由节点2、4、5和8路由数据,这包括四跳,与包括五跳的经由节点2、4、6、7和8路由数据对照。 For example, if you intend to send data node 1 node 9, the program will RIPng routing via nodes 2,4,5 and 8 routing data, which includes four jump, jump through and including five nodes 2,4,6,7 and 8 routing data controls.

[0141] 通过使用RIPng路由方案,每个设备10可以独立地确定数据应该如何被路由到目的地节点。 [0141] By using RIPng routing scheme, each device 10 can independently determine how the data should be routed to the destination node. 另一方面,诸如在6L〇WPAN设备中使用的"波纹(Ripple)"路由协议(RPL)的常规路由方案可以通过可以是知道无线网状网络的结构的唯一节点的中央节点来路由数据。 On the other hand, such as those used in 6L〇WPAN device "ripple (Ripple)" Routing Protocol (RPL) of conventional routes may be made by the central node may know the only wireless mesh network nodes to route data structure. 更具体地,RPL协议可以根据可以被构造为层次的有向非循环图(DAG)来创建无线网状网络。 More specifically, RPL protocol can be configured to have a level of a directed acyclic graph (DAG) to create a wireless mesh network. 位于这个层次顶部的可以包括边界路由器,其可以向低层节点周期性地组播请求以针对节点的连接中的每一个确定秩。 Located at the top of the hierarchy may include a border router, which can contribute to lower nodes periodically multicast request for a node to connect each of a certain rank. 本质上,当数据被从源节点传输到目的地节点时,可以朝节点的层次向上然后向下回到目的地节点传输数据。 Essentially, when data is transmitted from the source node to the destination node, it can back up and then down towards the destination node transmits data hierarchy nodes. 以这种方式,朝层次向上更高处的节点可以比位于层次中更低处的节点更经常地路由数据。 In this way, the higher up the hierarchy toward the node at the routing of data more frequently than in the lower level is located at the nodes. 而且,RPL系统的边界路由器还可能正在更频繁地操作,因为它控制数据将如何经由层次被路由。 Moreover, the border router being RPL system may also operate more frequently, because it controls how the data will be routed through the hierarchy. 在常规RPL系统中,和这里教导的RIPng系统对比,一些节点可能由于其在层次内的位置而不由于其相对于源节点和目的地节点的位置而简单地在更频繁基础上路由数据。 RPL In conventional systems, and systems taught herein RIPng contrast, some nodes may be due to its position within the hierarchy and not due to its position relative to the source node and the destination node more frequently and simply by the road data base. 在RPL系统下更经常地路由数据的这些节点可能消耗更多的能量,进而可能不适合于与家庭环境30中的使用低功率操作的设备10- 起实现。 These nodes route data more often in the RPL system may consume more energy, and thus may not be suitable for device and Family Environment 30 low-power operation from the 10-realization. 而且,如上面所提到的,如果RPL系统的边界路由器或任何其它更高层节点与恒温器46相对应,则所增加的数据路由活动可以增加在恒温器46内产生的热。 Moreover, as mentioned above, if the RPL system border router, or any other higher level nodes corresponding to the thermostat 46, then the activity may be increased to increase the data routing within the thermostat 46 thermally generated. 结果,恒温器46的温度读数可能不正确地表示家庭环境30的温度。 As a result, the thermostat 46 temperature readings may not accurately represent the temperature of the home environment (30). 因为其它设备10可以基于恒温器46的温度读数来执行特定操作,并且因为恒温器46可以基于其温度读数来向各种设备10发送命令, 所以确保恒温器46的温度读数是准确的可能是有利的。 Because other devices 10 may take specific actions 46 based on temperature readings of thermostat, and the thermostat 46 because it may be based on the temperature reading device 10 to send various commands, it is ensured that the thermostat 46 is accurate temperature readings can be advantageous of.

[0142] 除确保设备10中谁都不通过使用RIPng路由方案来路由数据不适当的次数之外, 可以通过用户以最小努力将新设备10添加到无线网状网络。 [0142] In addition to 10 who do not ensure that the equipment through the use of RIPng routing scheme to route data outside inappropriate times, with minimal effort by the user to add a new device 10 to the wireless mesh network. 例如,图7D图示新节点10正被添加到无线网状网络80。 For example, Figure 7D illustrates a new node 10 is being added to the wireless mesh network 80. 在某些实施例中,一旦节点10建立到无线网状网络80的连接(例如,经由节点4),与节点10相对应的设备10就可以执行上面所描述的方法120,以确定数据可以如何被路由到无线网状网络80中的每个节点。 In certain embodiments, when the node 10 to establish the connection 80 of the wireless mesh network (e.g., via the node 4), 10 and 10 corresponding to the node apparatus can perform the method 120 described above, to determine how the data can be wireless mesh network is routed to node 80 in each. 如果无线网状网络80中的每个节点已经执行了方法120多次,则在节点10处的设备10可以从在节点4处的设备10接收无线网状网络80的整个路由结构。 If the wireless mesh network each node 80 of the method has been performed 120 times, from 10 in the structure of the entire routing device node 10 in the device node 4 receives a wireless mesh network in 1080. 以同一方式,可以从无线网状网络80中移除设备10并且每个节点可以通过再次执行方法120来相对容易地更新其路由表。 In the same manner, the device 10 may be removed 80 from the wireless mesh network and each node can perform the method 120 again relatively easily to update its routing table.

[0143] 在使用RIPng路由方案建立路由方案之后,ELoWPAN 110可以采用DTLS协议来使家庭环境30中的每个设备10之间的数据通信安全。 [0143] After using RIPng route plan to establish a routing scheme, ELoWPAN 110 DTLS protocol can be used to make the home environment 30 in each device data communication between the security 10. 如上面所提到的,通过使用DTLS协议代替TLS协议,ELoWPAN 110可以使得传输层98能够经由TCP和UDP发送数据。 As mentioned above, by using DTLS protocol instead of the TLS protocol, ELoWPAN 110 may enable the transport layer 98 can send data via TCP and UDP. 尽管UDP与TCP相比可能通常是更不可靠的,但是UDP数据传输采用简单的通信方案,而不用在使用之前建立专用传输通道或数据路径。 Although the UDP and TCP may be compared to the usually more unreliable, but the UDP data transmission using a simple communication scheme, rather than the establishment of a dedicated transmission channels or data paths prior to use. 因此,添加到无线网状网络80的新设备10可以使用UDP数据传输来更迅速地与无线网状网络中的其它设备10有效地通信。 Thus, the addition of new equipment to the wireless mesh network 80, 10 may use UDP to transfer data more quickly and efficiently communicate with other wireless devices in the mesh network 10. 而且,因为不保证递送,UDP数据传输通常通过正在发送或转发数据的设备10来使用更少能量。 Moreover, because they do not guarantee delivery, UDP data transmission, usually by being sent or data transfer apparatus 10 to use less energy. 因此,设备10可以使用UDP数据传输来发送非关键数据(例如,人存在于房间中),从而节省设备10内的能量。 Thus, the device 10 may transmit a non-critical data (e.g., the presence of people in the room) using UDP data transmission, thus saving energy within the apparatus 10. 然而,可以经由TCP数据传输发送关键数据(例如,烟雾警报)以确保适当方接收到数据。 However, critical data may be transmitted (e.g., smoke alarm) via the TCP data transmission side to ensure proper receipt of the data. 为了反复地做, 与ELoWPAN 110-起使用DTLS安全方案可以帮助方便UDP和TCP数据传输。 In order to do repeatedly, starting with ELoWPAN 110- using DTLS security solutions that can help facilitate the UDP and TCP data transmission.

[0144] 记住上文,ELoWPAN 110可以采用DTLS协议来使在设备10之间传递的数据安全。 [0144] Remember above, ELoWPAN 110 DTLS protocol can be used to make the data transfer between the device 10 security. 在一个实施例中,DTLS协议可以使用握手协议来使数据传输安全。 In one embodiment, DTLS protocol can use handshake protocol to enable data transmission security. 通常,握手协议可以使用可以由每个设备10提供的安全证书来对每个通信设备进行认证。 Typically, the handshake protocol can use the security certificate can be provided by each device 10 to authenticate each communication device. 图8图示描绘了安全证书可以如何被嵌入在设备10内的制造过程190的示例。 Figure 8 illustrates depicts how the security certificate can be embedded in the manufacturing process of the example apparatus 10 190.

[0145] 参考图8,可以向设备10的可信制造商192提供可以用于每个所制造的设备的许多安全证书。 [0145] Referring to Figure 8, can provide many of the security certificate can be used for each device manufactured to a trusted manufacturer of equipment 192 10. 因此,虽然产生可以在家庭环境30中使用并耦合到无线网状网络80的设备10,但是可信制造商192可以在制造过程190期间将证书194嵌入到设备10中。 Thus, although the device 80 may be used to generate and coupled to the wireless mesh network 30 in the home environment 10, but a trusted manufacturer during the manufacturing process can be 192 to 190 certificate 194 embedded in the device 10. 也就是说,可以在设备10的制造期间将证书194嵌入到设备10的硬件中。 That is, the device 10 during manufacture of the hardware certificate 194 embedded in the device 10. 证书194可以包括公钥、私钥,或可以被用来对无线网状网络80内的不同的通信设备进行认证的其它加密数据。 Certificate 194 may include a public, private, or may be used for various wireless mesh network of communication devices 80 within the other encryption authentication data. 结果,一旦用户接收到设备10,用户就可以在无需初始化设备10或者向中央安全节点等注册设备10的情况下将设备10集成到无线网状网络80中。 As a result, once the user receives the device 10, the user may need to initialize the device 10 to the wireless mesh network 80 in the case of registered devices and other central security node 10 will be integrated into the device 10 or.

[0146] 在诸如6L〇WPAN设备中使用的网络接入认证承载协议(PANA)的常规数据通信安全协议中,每个设备10可以向特定节点(即,认证代理)对它本身进行认证。 [0146] Network access authentication protocol such as 6L〇WPAN carrying equipment used (PANA) general data communication security protocol, each device 10 may apply to a particular node (ie, certification agency) on its own authentication. 因此,在任何两个设备10之间传输数据之前,每个设备10可以向认证代理节点对它本身进行认证。 Thus, before any two devices transfer data between 10, 10 may each device to authenticate the proxy node which itself can be certified. 该认证代理节点然后可以将认证的结果传达到执行点节点,其可以与认证代理节点位于一处。 The authentication proxy node can then be communicated to the result of the authentication enforcement point node, which can be located with an authentication proxy node. 如果认证是有效的则执行点节点然后可以建立两个设备10之间的数据通信链路。 If the certification is valid for the enforcement point node and data communications link can be established between the two devices 10. 而且,在PANA 中,每个设备10可以经由执行点节点与彼此进行通信,这可以验证针对每个设备10的认证是有效的。 Further, in the PANA, each device 10 may communicate with each other via a node point of execution, which can be verified for each of the authentication device 10 is valid.

[0147] 因此,通过使用DTLS协议而不是PANA来使节点之间的数据传输安全,高效网络层可以避免过度地使用授权代理节点、执行点节点、或二者。 [0147] Thus, by using DTLS protocol instead PANA to make the data transmission between nodes safe and efficient network layer to avoid excessive use of authorized agent node, a node point of execution, or both. 也就是说,没有一个使用高效网络层的节点可能正在处理针对无线网状网络中的节点之间的每个数据传输的认证数据。 That is, there is no efficient use of a network layer node may be processed authentication data for each data transmission between the nodes in the wireless mesh network. 结果,与PANA协议系统中的授权代理节点或执行点节点相比使用高效网络层的节点可以保存更多的能量。 As a result, compared with the PANA protocol system authorized agent node or the use of efficient enforcement point node network layer node can save more energy.

[0148] 记住这个,图9图示当在彼此之间传输数据时可以在设备10之间使用的示例握手协议200。 [0148] remember this, the example illustrated in FIG. 9 when transferring data between one another between the device 10 may be used in the handshake protocol 200. 如图9中所示,在节点1处的设备10可以向在节点2处的设备10发送消息20 2。 Shown in Figure 9, the device 10 may be a node in the node device 2 to 10 sends a message 202. 消息202可以是可以包括密码套件、散列与比较算法、以及随机数的hello消息。 Message 202 may be may include cipher suites, and compare the hash algorithm, and hello message random number. 在节点2处的设备10然后可以用消息204做出响应,这可以验证在节点2处的设备10从在节点1处的设备10 接收到消息202。 In two of the node device 10 may then respond with the message 204, which can be verified in the device node 2 of 10 in a device 10 receives the message from node 202.

[0149] 在建立节点1与节点2之间的连接之后,在节点1处的设备可以再次将消息202发送到在节点2处的设备10。 [0149] After the connection is established between the node 2 and node 1, the device node may send a message 202 again to the device 10 in the node 2. 在节点2处的设备10然后可以用消息208做出响应,所述消息208可以包括来自节点2的he 11 〇消息、来自节点2的证书194、来自节点2的密钥交换、以及对于节点1的证书请求。 In the device 10 of the node 2 can then respond with the message 208, the message 208 may include a message from the 11 billion he node 2, the certificate from the node 2 194, from the key exchange node 2, and the node 1 certificate request. 消息208中的hello消息可以包括密码套件、散列与比较算法以及随机数。 Messages 208 hello message may include cipher suites, hashing and comparison algorithm and a random number. 证书194可以是由可信制造商192像上面参考图8所讨论的那样嵌入在设备10内的安全证书。 194 certificate may be trusted by the manufacturer as above with reference to FIG. 192, as embedded in the device 10 discussed 8 security certificate. 密钥交换可以包括公钥、私钥,或可以被用来确定用于在两个节点之间建立通信通道的秘密密钥的其它加密信息。 Key exchange may include public, private, or may be used to determine other encryption information used to establish a communication channel between two nodes in a secret key. 在一个实施例中,可以将密钥交换存储在位于相应节点处的对应设备10的证书194中。 In one embodiment, it can be stored in the corresponding key exchange device located in the corresponding node of the certificate 19410.

[0150] 响应于消息208,在节点1处的设备10可以发送可以包括来自节点1的证书194、来自节点1的密钥交换、节点2的证书验证、以及来自节点1的改变密码规格的消息210。 [0150] In response to message 208, a node device 10 may include a certificate from the node may send 194 a, the key exchange from node 1, node 2 of certificate validation, as well as change cipher spec message from node 1 210. 在一个实施例中,在节点1处的设备10可以使用节点2的证书194以及来自节点1的密钥交换来验证节点2的证书194。 In one embodiment, the apparatus at a node 10 can use certificates to node 2 194 and key exchange from node 1 to node 2 194 verify the certificate. 也就是说,在节点1处的设备10可以基于节点2的证书194以及来自节点1 的密钥交换来验证从节点2接收到的证书194是有效的。 In other words, the device node may be based on a 10-node 2 194 certificate and key exchange from node 1 to verify that the received certificates from the node 2 to 194 is valid. 如果来自节点2的证书194是有效的,则在节点1处的设备10可以将改变密码规格消息发送到在节点2处的设备10,以通告两个节点之间的通信通道是安全的。 If a certificate from the node 2 194 is valid, then the node device 10 may be a change cipher spec message is sent to the device node 2 of 10 to the communication channel between two nodes announcement is safe.

[0151] 类似地,在接收到消息210后,在节点2处的设备10可以使用节点1的证书194以及来自节点2的密钥交换来验证节点1的证书194。 [0151] Similarly, upon receiving the message 210, the device 10 of the node 2 node can use a certificate to verify the credentials of 194 and key exchange from node 2, node 1 194. 也就是说,在节点2处的设备10可以基于节点1的证书194以及来自节点2的密钥交换来验证从节点1接收到的证书194是有效的。 That is, the device node 2 of 10 nodes can be based on a certificate of 194 and key exchange from node 2 to node 1 to verify that the received from the certificate 194 is valid. 如果来自节点1的证书194是有效的,则在节点2处的设备10还可以将改变密码规格消息发送到在节点1处的设备10,以通告两个节点之间的通信通道是安全的。 If the certificate from the node 1 194 is valid, the device 10 of the node 2 can also change cipher spec message is sent to a node in the device 10 to the communication channel between two nodes announcement is safe.

[0152] 在确立通信通道是安全的之后,在节点1处的设备10可以向在节点2处的设备10发送按组(group-wise)网络密钥214。 [0152] In a communication channel is established after the security device 10 can be a node to node in the transmission device 10 by two groups (group-wise) network key 214. 按组网络密钥214可以与ELoWPAN 110相关联。 Press the group key network 214 may be associated with ELoWPAN 110. 以这种方式,随着新设备加入ELoWPAN 110,先前有权在ELoWPAN 110内通信的设备可以提供新设备对ELoWPAN 110的访问。 In this manner, as new equipment is added ELoWPAN 110, previously entitled to a communication device ELoWPAN 110 may provide access to the new facilities of ELoWPAN 110. 也就是说,先前有权在ELoWPAN 110内通信的设备可以将按组网络密钥214提供给新设备,这可以使得新设备能够与ELoWPAN 110中的其它设备进行通信。 That is, have the right equipment previously ELoWPAN 110 within the communication network of the group will be able to provide key 214 to the new device, which makes the new device can communicate with ELoWPAN 110 other devices. 例如,按组网络密钥214可以被用来与已被适当地认证并且先前已提供有按组网络密钥214的其它设备进行通信。 For example, according to the group network key can be used with the 214 has been properly certified and have previously been provided by the network key group 214 other devices to communicate. 在一个实施例中,一旦已经在在节点1处的设备10与在节点2处的设备10之间交换了改变密码规格消息,就可以在这些设备之间传递诸如型号、设备能力等的标识信息。 In one embodiment, once it has been between 10 and 10 of the device node 2 exchange change cipher spec messages can be passed between the device identification information type, such as device capabilities in device node of a . 然而,在在节点2处的设备10接收到按组网络密钥214之后,可以在这些设备之间传送诸如来自布置在设备10上的传感器的数据、由设备10执行的数据分析等的附加信息。 Additional information However, after the device node 2 10 is received by the network key group 214, may be transmitted between these devices, such as device 10 is arranged on the data from the sensors, data analysis performed by the device 10 .

[0153] 通过在制造过程期间将安全证书嵌入在设备10内,设备10可能不牵涉用户为设备10建立安全或认证过程。 [0153] during the manufacturing process by the security certificate is embedded in the device 10, the device 10 may not involve the establishment of a user of the device 10 or the safety certification process. 而且,因为与中央认证代理节点对照设备10可以确保基于握手协议在节点之间安全地传输数据,所以无线网状网络80中的数据传输的安全可能不依靠单个节点以得到安全。 Moreover, because the proxy node with the central authentication device 10 can be controlled to ensure secure transmission of data based on the handshake between the nodes, the wireless mesh network 80 so the security of data transmission may not be safe to rely on a single node. 替代地,高效网络层可以确保即便当一些节点变得不可用时也可以在节点之间安全地传输数据。 Alternatively, efficient network layer ensures that even when some of the nodes becomes unavailable to be securely transmit data between nodes. 因此,高效网络层可能更不太易受安全问题攻击,因为它不依靠单个节点用于使数据消息安全。 Therefore, the network layer may be more efficient and less susceptible to security attacks, because it does not rely on a single node is used to secure the data message.

[0154] 高效平台和/或应用层 [0154] efficient platforms and / or application layer

[0155] 使用上面描述的ELowPAN 110和/或任何其它适合的IPv6逻辑网络,高效平台和/ 或应用层可以被用来在家庭环境或类似环境中产生设备的结构。 [0155] Using the above described ELowPAN 110 and / or any other suitable IPv6 logical network, efficient platforms and / or application-layer structure can be used to produce devices in the home environment or similar environment. 设备的结构可以使得许多通常是本地的设备能够通信、共享数据和信息、相互调用方法、通过网络参数地提供软件更新、以及通常以高效的注意功率的方式传递消息。 Structure of the device can usually make many local devices to communicate, share data and information, call the method with each other, providing software updates via the network parameters, the attention and the usual power efficient way to pass messages.

[0156] 结构-设备互连 [0156] Structure - Component Interconnect

[0157] 如上面所讨论的,结构可以使用一个或多个适合的通信协议(诸如IPv6协议)来实现。 [0157] As discussed above, the structure can be used with one or more suitable communication protocols (such as IPv6 protocol) implemented. 事实上,结构对于用来实现该结构的底层技术(例如,网络类型或通信协议)而言可能是部分地或完全不可知论的。 In fact, the structure of the underlying technology used to implement (for example, network type or communication protocol) in terms of the structure may be partially or completely agnostic. 在一个或多个通信协议内,可以使用被用来使用无线或有线连接通信地耦合电气设备的一个或多个网络类型来实现结构。 Within one or more communication protocols, it can be used to use a wireless or wired electrical connection device communicatively coupled to one or more types of network structure to achieve. 例如,结构的某些实施例可以包括以太网、WiFi、802· 15.4、ZigBeeK、ISA100. lla、WirelessHART、MiWi™、电力线网络、 和/或其它适合的网络类型。 For example, certain embodiments may include a structure Ethernet, WiFi, 802 · 15.4, ZigBeeK, ISA100. Lla, WirelessHART, MiWi ™, power line network, and / or other suitable network type. 在结构设备(例如节点)内能够直接或经由作为IP路由器的中间节点(诸如智能恒温器)来与结构中的其它设备(例如节点)交换信息的分组。 In the structure of the device (e.g., nodes) be able to directly or via an intermediate node as an IP router (such as a smart thermostat) to exchange information packets with other devices in the structure (e.g., nodes). 这些节点可以包括制造商设备(例如,恒温器或烟雾检测器)和/或客户设备(例如,电话、平板、计算机等)。 These nodes may include equipment manufacturers (such as thermostat or smoke detector) and / or the client device (for example, phone, tablet, computer, etc.). 此外,一些设备可以是"总是接通"并且使用电连接连续地供电。 In addition, some devices can be "always on" and the electrical connector using continuous power. 其它设备可以使用减少/间歇的电力连接(诸如恒温器或门铃电力连接)而具有部分减少的电力使用(例如中等占空度)。 Other devices can be used to reduce / intermittent power connection (such as a thermostat or doorbell power connection) and having a portion of reduced electricity use (for example, a medium duty cycle). 最终,一些设备可以具有短占空度并且只在电池电力上运行。 Eventually, some devices may have a short duty cycle and run only on battery power. 换句话说,在某些实施例中,结构可以包括可以根据连接类型和/或期望的电力使用连接到一个或多个子网络的异构设备。 In other words, in some embodiments, the structure may comprise heterogeneous devices can be connected to one or more sub network connection type and / or the desired power usage. 图10至图12图示可以被用来经由结构中的一个或多个子网络来连接电气设备的三个实施例。 Figures 10 to 12 illustrates that can be used by three or more sub-structure of a network to connect electrical equipment embodiments.

[0158] A.单个网络拓扑 [0158] A. single network topology

[0159] 图10图示具有单个网络拓扑的结构1000的实施例。 [0159] FIG. 10 illustrates the structure of a network topology having a single embodiment 1000. 如所图示的,结构1000包括单个逻辑网络1002。 As illustrated, the structure 1000 includes a single logical network 1002. 网络1002能够包括以太网、WiFi、802.15.4、电力线网络、和/或IPv6协议中的其它适合的网络类型。 Network 1002 can include Ethernet, WiFi, 802.15.4, power line network, and / or IPv6 protocol other suitable network type. 事实上,在网络1002包括WiFi或以太网网络的一些实施例中,网络1002可以横跨在链路层处桥接的多个WiFi和/或以太网段。 Indeed, in some embodiments, the network 1002 includes a WiFi or Ethernet network, the network 1002 may span a plurality of link layer bridging WiFi and / or Ethernet segment.

[0160] 网络1002包括一个或多个节点1004、1006、1008、1010、1012、1014 和1016,被统称为1004至1016。 [0160] Network 1002 includes one or more nodes 1004,1006,1008,1010,1012,1014 and 1016, collectively known as 1004-1016. 尽管所图示的网络1002包括七个节点,但是网络1002的某个实施例可以包括使用网络1002互连的一个或多个节点。 Although the illustrated network 1002 includes seven nodes, but an embodiment of a network using the network 1002 may include one or more 1002 interconnected nodes. 而且,如果网络1002是WiFi网络,则节点1004至1016中的每一个可以使用节点1016(例如,WiFi路由器)来互连和/或使用WiFi直连(即, WiFi P2P)与其它节点配对。 Also, if the network 1002 is a WiFi network, the nodes 1004-1016 may be used for each 1016 node (for example, WiFi router) to interconnection and / or using WiFi straight (ie, WiFi P2P) paired with other nodes.

[0161] B.星型网络拓扑 [0161] B. star network topology

[0162] 图11图示作为具有星型网络拓扑的结构1018的结构1000的替选实施例。 [0162] FIG. 11 illustrates the structure of a star topology having a structure of an alternative embodiment 1018 of case 1000. 结构1018 包括将两个外围网络1022和1024接合在一起的集线器网络1020。 Structure 1018 includes two perimeter network 1022 and 1024 joined the network hub 1020. 集线器网络1020可以包括诸如WiFi/以太网网络或电力线网络的家庭网络。 Hub network 1020 may include, for example WiFi / Ethernet network or a power line network home network. 外围网络1022和1024可以是与集线器网络1020不同类型的附加的网络连接类型。 Perimeter Network 1022 and 1024 may be a network hub 1020 additional type of network connection of different types. 例如,在一些实施例中,集线器网络1020可以是WiFi/以太网网络,外围网络1022可以包括802.15.4网络,并且外围网络1024可以包括电力线网络、ZigBee1'网络、ISA100.11a网络、WirelessHART网络、或MiWi™网络。 For example, in some embodiments, the network hub 1020 may be a WiFi / Ethernet network, the external network 1022 may include the 802.15.4 network, and the perimeter network 1024 may include a power line network, ZigBee1 'network, ISAlOO.lla network, the WirelessHART network, or MiWi ™ networks. 而且,尽管结构1018的所图示的实施例包括三个网络,但是结构1018的某些实施例可以包括任何数目的网络,诸如2、3、4、5或更多个网络。 Moreover, although the embodiments illustrated structure 1018 includes three network, certain embodiments of the embodiment structure 1018 may include any number of networks, such as, four, five or more networks. 事实上,结构1018的一些实施例包括相同类型的多个外围网络。 Indeed, some embodiments of the structure 1018 includes a plurality of peripheral network of the same type.

[0163] 尽管所图示的结构1018包括各自由附图标记1024至1052单独地表示的十四个节点,但是应该理解,结构1018可以包括任何数目的节点。 [0163] While the structure of the illustrated reference numeral 1018 including the free nodes 1024-1052 fourteen individually indicate, it should be appreciated that the structure 1018 may include any number of nodes. 可能直接在设备之间和/或通过接入点(诸如WiFi/以太网网络中的节点1042)发生每个网络1020、1022或1024内的通信。 1020 and 1022 or 1024 communications within each network may take place directly between the device and / or through an access point (such as a WiFi / Ethernet network node 1042). 外围网络1022与外围网络1024之间的通信使用网络间路由节点通过集线器网络1020。 Communication between using the network perimeter network between 1022 and 1024 perimeter network routing node through a network hub 1020. 例如,在所图示的实施例中,节点1034和节点1036使用第一网络连接类型(例如802.15.4)连接到外围网络1022并且使用第二网络连接类型(例如WiFi)连接到集线器网络1020,而节点1044使用第二网络连接类型连接到集线器网络1020并且使用第三网络连接类型(例如电力线)连接到外围网络1 ο 24。 For example, in the illustrated embodiment, the node 1034 and node 1036 using a first type of network connection (such as 802.15.4) 1022 connected to the perimeter network and using a second type of network connection (such as WiFi) is connected to the hub network 1020, the node 1044 using a second network connection type to connect to a network hub 1020 and a third type of network connection (such as a power line) is connected to the perimeter network 1 ο 24. 例如,从节点10 26发送到节点10 52的消息可以在途中通过节点1028、 1030、1032、1036、1042、1044、1048 和1050 到节点1052。 For example, sending a message from node 1026 to the node 1052 may be on the way via the node 1028, and 1050 to the node 1052 1030,1032,1036,1042,1044,1048.

[0164] C.重叠网络拓扑 [0164] C. overlay network topology

[0165] 图12图示作为具有重叠网络拓扑的结构1054的结构1000的替选实施例。 [0165] FIG. 12 illustrates a structure with overlapping network topology structure 1054 1000 alternative embodiment of FIG. 结构1054 包括网络1056和网络1058。 Structure 1054 includes a network 1056 and network 1058. 如所图示的,节点1062、1064、1066、1068、1070和1072中的每一个可以连接到网络中的每一个。 As illustrated, the node 1062,1064,1066,1068,1070 and 1072 each can be connected to the network each. 在其它实施例中,节点1072可以包括以太网/WiFi网络的接入点而不是端点,并且可能不存在于不是以太网/WiFi网络的网络1056或网络1058上。 In other embodiments, the node 1072 may include an Ethernet / WiFi network access point instead of the endpoints, and may not be not exist on Ethernet / WiFi network or networks 1058 1056 network. 因此,从节点1062到节点1068的通信可以通过网络1056、网络1058、或其一些组合。 Thus, from 1062 the node-to-node communication through the network 1068 1056 1058 network, or some combination thereof. 在所图示的实施例中,每个节点能够使用所期望的任何网络经由任何网络与任何其它节点进行通信。 In the illustrated embodiment, each node in the network can be used in any desired communicate with any other node via any network. 因此,与图11的星型网络拓扑不同,重叠网络拓扑可以在不使用网络间路由的情况下经由任何网络在节点之间直接进行通信。 Thus, the star topology in FIG 11 is different, the network topology can be overlapped without using inter-network routing via any network for communication directly between nodes.

[0166] D.到服务的结构网络连接 [0166] D. to the structure of the network connection services

[0167] 除家庭内的设备之间的通信之外,结构(例如结构1000)可以包括可以物理上靠近结构中的其它设备定位或者物理上远离这些设备的服务。 [0167] In addition to communication devices within the home between the structure (for example, the structure of 1000) may include a service may be remote from these devices near the structure or other physical device targeting physically. 结构通过一个或多个服务端点连接到这些服务。 Structure connected to these services through one or more service endpoints. 图13图示服务1074与结构1076、1078和1080进行通信的实施例。 Figure 13 illustrates the structure of 1076,1078 and 1074 services and 1080 Example of communication. 服务1074可以包括可以由结构1076、1078和/或1080中的设备使用的各种服务。 Service 1074 may include a variety of services that can be used by structural 1076,1078 and / or 1080 devices. 例如,在一些实施例中, 服务1074可以是向设备供应日时间的日时间服务、用于提供各种天气数据(例如,外部温度、日落、风力信息、天气预报等)的天气服务、"ping"每个设备的回声服务、数据管理服务、 设备管理服务和/或其它适合的服务。 For example, in some embodiments, the service may be 1074 to the time of day time of day service equipment supply for providing a variety of weather data (for example, the external temperature, the sun, wind information, weather forecasts, etc.) weather services, "ping "echo service each device, data management services, facility management services and / or other suitable services. 如所图示的,服务1074可以包括存储/访问相关数据并且通过服务端点1084将信息传给结构(诸如结构1076)中的一个或多个端点1086的服务器1082(例如web服务器)。 As illustrated, the service 1074 may include a storage / data accessible via service endpoint 1084 and the information to structure (structure 1076 such as a) one or more endpoints server 1086 1082 (e.g., a web server). 尽管所图示的实施例仅包括具有单个服务器1082的三个结构,但是应该了解,服务1074可以连接到任何数目的结构并且可以包括除服务器1082之外的服务器和/或到附加服务的连接。 Although the illustrated embodiment includes only a single structure having three server 1082, it is to be understood that the service 1074 can be connected to any number of structures and may include a server and / or connection other than the server 1082 to the additional service.

[0168] 在某些实施例中,服务1074还可以连接到诸如电话、平板、和/或计算机的消费者设备1088。 [0168] In some embodiments, the service can also be connected to 1074, such as phone, tablet, and / or consumer computer equipment 1088. 消费者设备1088可以被用来经由结构(诸如结构1076)、互联网连接、和/或一些其它适合的连接方法连接到服务1074。 Consumer device 1088 may be used to connect to the service via the 1074 structure (such as a 1076 structure), internet connection, and / or some other suitable method of connection. 消费者设备1088可以被用来从结构中的一个或多个端点(例如电子设备)直接通过该结构或者经由服务1074来访问数据。 Consumer device 1088 may be used to access the data or services via structure 1074 from one or more endpoints (e.g., electronic device) directly through the structure. 换句话说,使用服务1074,消费者设备1088可以被用来从结构远程地访问/管理结构中的设备。 In other words, using the service 1074, consumer device 1088 may be used to access / management structure of the device from the configuration remotely.

[0169] E.结构中的设备之间的通信 Communications [0169] E. structures between devices

[0170] 如上面所讨论的,每个电子设备或节点可以取决于结构拓扑和网络网络类型直接或间接与结构中的任何其它节点进行通信。 [0170] As discussed above, each electronic device or node may depend on the structure of the network topology and network types, directly or indirectly communicate with any other node structure. 此外,一些设备(例如远程设备)可以通过服务来通信以与结构中的其它设备进行通信。 In addition, some devices (e.g., remote device) with a structure may be other devices to communicate through a communication service. 图14图示两个设备1092和设备1094之间的通信1090的实施例。 Example communications 1090 two devices and equipment 1094 1092 between 14 illustrates. 如上所述,通信1090可以直接或间接通过附加的设备和/或服务横跨一个或多个网络。 As described above, the communication 1090 either directly or indirectly through one or more networks across additional equipment and / or services. 此外,通信1090可以使用一个或多个传输协议通过适当的通信协议(诸如IPv6) 而发生。 In addition, the communication 1090 through appropriate communication protocols (such as IPv6) occurs using one or more transport protocols. 例如,在一些实施例中通信1090可以包括使用传输控制协议(TCP)和/或用户数据报协议(UDP)。 For example, in some embodiments, the communication may include the use of 1090 to implement the Transmission Control Protocol (TCP) and / or the User Datagram Protocol (UDP). 在一些实施例中,设备1092可以使用无连接协议(例如,UDP)来向设备1094发送第一信号1096。 In some embodiments, the device 1092 may use a connectionless protocol (for example, UDP) to send the first signal to the device 1094 1096. 在某些实施例中,设备1092可以使用面向连接协议(例如TCP)来与设备1094进行通信。 In certain embodiments, the device 1092 can use a connection-oriented protocols (such as TCP) to communicate with the device 1094. 尽管所图示的通信1090被描绘为双向连接,但是在一些实施例中,通信1090 可以是单向广播。 Although the illustrated communication 1090 is depicted as a two-way connection, in some embodiments, the communication 1090 may be unidirectional broadcast.

[0171] i.唯一本地地址 [0171] i. Unique local address

[0172] 如上面所讨论的,由节点接收到的在结构内传送的数据可以取决于用于通信的期望目标通过节点被重定向或传到另一节点。 [0172] As discussed above, data received by the node in the structure for the desired transmission may depend on the target or the communication is redirected to another node by node. 在一些实施例中,数据的传输可能旨在被广播到所有设备。 In some embodiments, the transmission of data intended to be broadcast to all possible devices. 在这些实施例中,可以在不用进一步处理的情况下重传数据以确定该数据是否应该被一道传给另一节点。 In these embodiments, the data can be retransmitted in the case without further processing to determine whether the data should be passed to one other node. 然而,可以将一些数据导向特定端点。 However, some data can be directed particular endpoint. 为了使得被寻址消息能够被传送到所期望的端点,可以给节点指派标识信息。 To make the message is addressed to be transferred to the desired endpoint, it can be assigned to the node identification information.

[0173] 可以给每个节点指派一组链路本地地址(LLA),每个网络接口指派有一个LLA。 [0173] can give each node is assigned a set of link-local address (LLA), is assigned to each network interface has a LLA. 这些LLA可以被用来与同一网络上的其它节点进行通信。 The LLA can be used to communicate with other nodes on the same network. 此外,LLA可以被用于各种通信过程, 诸如IPv6邻居发现协议。 In addition, LLA can be used for various communication processes such as IPv6 neighbor discovery protocol. 除LLA之外,可以给每个节点指派唯一本地地址(ULA)。 In addition to the LLA, each node can be assigned a unique local address (ULA). 在一些实施例中,这可以被称为扩展唯一本地地址(EULA),因为它包含有关设备的结构以及用来通过该结构到达设备的优选网络的信息。 In some embodiments, it may be referred to as extended unique local address (the EULA), because it contains configuration information about the device and for the preferred network server reaches through the structure.

[0174] 图15图示可以被用来对结构中的每个节点进行寻址的唯一本地地址(ULAH098的实施例。在某些实施例中,可以将ULA 1098格式化为包含被划分成全局ID 1110、子网ID 1102、和接口ID 1104的128比特的IPv6地址格式。全局ID 1100包括40个比特并且子网ID1102包括16个比特。全局ID 1100和子网ID 1102-起形成结构的结构ID 1103。 [0174] FIG. 15 illustrates the structure can be used to address the node of each unique local address Example (ULAH098 In certain embodiments, the ULA 1098 format may be divided into global comprising ID 1110, a subnet ID 1102, and the interface ID 1104 128-bit IPv6 address format. global ID 1100 includes 40-bit and 16-bit subnet ID1102 including the global ID 1100 and subnet ID 1102- structures formed from the structure ID 1103.

[0175] 结构ID 1103是用来标识结构的唯一64比特标识符。 [0175] structure ID 1103 is used to identify the structure of a unique 64-bit identifier. 可以在使用伪随机算法创建相关联的结构时产生结构ID 1103。 ID 1103 may be generated when you create a structure associated with the configuration of a pseudo-random algorithm. 例如,伪随机算法可以1)获得64比特NTP格式的当前日时间,2)获得设备的接口ID1104,3)将日时间与接口ID 1104级联以创建密钥,4)对密钥进行计算以及SHA-1摘要从而产生160个比特,5)将最低有效的40个比特用作全局ID 1100,并且6)使ULA级联并且将最低有效比特设置为1以创建结构ID 1103。 For example, a pseudo-random algorithm 1) to obtain 64-bit NTP format of the current time of day, 2) access to equipment interface ID1104,3) the date and time to create the interface ID 1104 cascade key 4) for computing and key SHA-1 digest resulting in 160 bits, 5) the least significant 40 bits used as a global ID 1100, and 6) make ULA cascade and the least significant bit is set to 1 to create a structure ID 1103. 在某些实施例中,一旦以该结构创建了结构ID1103,则结构ID 1103就保持直到该结构被分解为止。 In certain embodiments, once the structure to create a structure ID1103, the structure ID 1103 is maintained until the structure is broken up.

[0176] 全局ID 1100标识节点所属于的结构。 [0176] Global ID 1100 identifies the node belongs structure. 子网ID 1102标识结构内的逻辑网络。 Subnet ID 1102 identifies the logical network structure. 可以在将每个新的逻辑网络添加到结构情况下从一个子网ID开始单调地指派子网ID F3。 It can be added at each new logical network architecture to move from one subnet ID assigned monotonically start subnet ID F3. 例如, WiFi网络可以用十六进制值0x01标识,而后面连接的802.15.4网络可以在将每个新网络添加到结构时递增地继续用十六进制值0x02标识。 For example, WiFi network can be identified by the hexadecimal value 0x01, while behind 802.15.4 network connection can be added incrementally to each new networks continue to use the hexadecimal value 0x02 identifies the structure.

[0177] 最后,ULA 1098包括包括64个比特的接口ID 1104。 [0177] Finally, ULA 1098 included included 64-bit interface ID 1104. 可以根据IEEE EUI-64标准使用全局唯一的64比特标识符来指派接口ID 1104。 You can assign the interface ID 1104 using globally unique 64-bit identifier from IEEE EUI-64 standard. 例如,具有IEEE 802网络接口的设备可以将烧入MAC地址用于设备"主接口"来得到接口ID 1104。 For example, the device has IEEE 802 network interface cards can be burned into the MAC address for the device "host interface" to get the interface ID 1104. 在一些实施例中,可以任意地确定哪一个接口是主接口的指定。 In some embodiments, it can be arbitrarily determined which interface is designated the primary interface. 在其它实施例中,接口类型(例如WiFi)在存在时可以被视为主接口。 In other embodiments, interface type (e.g., WiFi) may be considered in the presence of the primary interface. 如果用于设备的主接口的MAC地址是48个比特而不是64比特,则可以经由封装(例如,组织上唯一的标识符封装)将48比特MAC地址转换为EUI-64值。 If the MAC address for the primary interface of the device is 48 bits instead of 64 bits, the 48-bit MAC address can be converted to EUI-64 value via a package (for example, the organizational unique identifier package). 在消费者设备(例如,电话或计算机)中,接口ID 1104可以由消费者设备的本地操作系统来指派。 Consumer equipment (for example, telephone or computer), the interface ID 1104 may be assigned by the local operating system for consumer devices.

[0178] ii.逻辑网络之间的路由传输 [0178] transmission route between ii. Logical Network

[0179] 如上面关于星型网络拓扑所讨论的,可能在跨越逻辑网络的两个设备之间的通信中发生网络间路由。 [0179] As described above with respect to the star network topology discussed, inter-network routing can occur across the logical network in the communication between the two devices. 在一些实施例中,网络间路由基于子网ID 1102。 In some embodiments, the inter-network routing based on the subnet ID 1102. 每个网络间节点(例如,图11的节点1034)可以维护集线器网络1020及其相应的附接外围网络(例如,图11的外围网络1024)上的其它路由节点(例如,图11的节点B 14)的列表。 Between each network node (e.g., node 1034 in FIG. 11) can maintain a network hub 1020 and its corresponding attachment perimeter network (for example, a perimeter network 1024 of FIG. 11) on the other routing nodes Node B (for example, Fig. 11 14) a list. 当寻址到除路由节点本身以外的节点的分组到达时,目的地地址(例如,图11的节点1052的地址)与网络前缀的列表进行比较,并且附接到所期望的网络(例如外围网络10 24)的路由节点(例如节点1044)被选择。 When a packet addressed to a node other than the node itself, the route to reach the destination address (e.g., the address of the node 1052 of FIG. 11) and the list of network prefixes are compared, and attached to the desired network (e.g., a perimeter network 1024) routing node (eg, node 1044) is selected. 分组然后被转发到所选择的路由节点。 Then the packet is forwarded to the selected routing node. 如果多个节点(例如,1034和1036)附接到到同一外围网络,则以交替方式选择路由节点。 If more than one node (for example, 1034 and 1036) is attached to the same perimeter network, are measured in alternating fashion routing node.

[0180]此外,网络间路由节点可以在集线器网络上定期地传送邻居发现协议(NDP)路由器广告消息,以向消费者设备报警集线器网络的存在并允许它们获取子网前缀。 [0180] In addition, inter-network routing nodes may periodically transmit a neighbor on the Hub Network Discovery Protocol (NDP) router advertisement message to the presence of the consumer device alarm hub network and allow them to obtain a subnet prefix. 路由器广告可以包括用于帮助在结构中路由信息的一个或多个路由信息选项。 Router advertisement may include one or more of the route used to help route information option information in the structure. 例如,这些路由信息选项可以向消费者设备通知外围网络的存在以及如何将分组路由到外围网络。 For example, the route options can be notified of the perimeter network to consumer devices and how to route the packet to the perimeter network.

[0181] 除路由信息选项之外或者代替路由信息选项,路由节点可以作为代理以在消费者设备与外围网络中的设备之间提供连接,诸如如图16中所图示的过程1105。 [0181] In addition to or instead of routing options for routing information options, routing nodes can act as a proxy between the device to a consumer device and the perimeter network to provide connectivity, such as the process illustrated in FIG. 16 in 1105. 如所图示的,过程1105包括每个外围网络设备通过将子网ID 1102与外围网络上的设备的接口ID 1104组合而在集线器网络上指派了虚拟地址(块1106)。 As illustrated, process 1105 includes each of the peripheral devices via the network interface device ID 1104 on a perimeter network and subnet ID 1102 on a combination hub network assigned virtual address (block 1106). 为了使用虚拟地址代理,路由节点维护结构中的可经由其接口中的一个直接达到的所有外围节点的列表(块1108)。 In order to use the virtual address of the proxy, routing node maintains a list of all the structure of its peripheral nodes of a direct interface can be reached via (block 1108). 路由节点使用其虚拟地址在集线器网络上侦听请求外围节点的链路地址的邻居恳求消息(块1110)。 Neighbor routing node using its virtual address on the network hub listens for requests peripheral node link address Solicitation message (block 1110). 在接收到这种消息后,路由节点试图在一定时间段之后将虚拟地址指派给其集线器接口(块1112)。 Upon receiving this message, the routing node attempts after a certain period of time, the virtual address assigned to its hub interface (block 1112). 作为指派的一部分,路由节点执行重复地址检测以便阻止通过多于一个路由节点代理虚拟地址。 In order to prevent detection by more than one virtual address routing node agent to perform duplicate address as part of the routing nodes assigned. 在指派之后,路由节点对邻居恳求消息做出响应并接收分组(块1114)。 After the assignment, routing nodes neighbors Solicitation message and respond to the received packet (block 1114). 在接收到分组后,路由节点重写目的地地址以作为外围节点的真实地址(块1116)并且将消息转发到适当的接口(块1118)。 After receiving a packet, the routing node rewrites a destination address to the real address as the peripheral node (block 1116) and forwards the message to the appropriate interface (block 1118).

[0182] iii.连接到结构的消费者设备 [0182] iii. The consumer device connected to the structure

[0183] 为了加入结构,消费者设备可以发现已经在消费者设备想要加入的结构中的节点的地址。 [0183] In order to join the structure, consumer device address can be found in consumer devices already want to join the structure node. 此外,如果消费者设备已与结构断开达延长时间段,则可能需要在结构拓扑/布局已改变的情况下再发现网络上的节点。 In addition, if the consumer device has been disconnected for an extended period of time and structure, it may be necessary in the case of the topological structure / layout has been changed and then find a node on the network. 为了帮助发现/再发现,集线器网络上的结构设备可以经由mDNS发布域名系统-服务发现(DNS-SD)记录,其广告该结构的存在并向消费者设备提供地址。 To help discover / re-discover, the structure of the network devices on the hub can publish Domain Name System via mDNS - Service Discovery (DNS-SD) recorded the presence of its advertising structure to address consumer devices.

[0184] 在结构中传送的数据 [0184] In the structure of the data transmitted

[0185] 在创建结构以及针对节点的地址创建之后,可以通过结构传送数据。 [0185] After creating the structure and the address for a node is created, it can transfer data through the structure. 可以按照为所有消息所共有和/或为结构中的特定类型的会话所共有的格式来布置通过该结构传递的数据。 It can be shared and / or structure of a particular type of session format common to all messages are arranged to pass through the structure in accordance with the data. 在一些实施例中,消息格式可以使用在下面所讨论的TLV串行化格式来使能到JavaScript对象表示法(JS0N)的一对一映射。 In some embodiments, the message format may be used TLV serialization format discussed below to enable the JavaScript Object Notation (JS0N) one mapping. 此外,尽管以下数据帧被描述为包括特定大小,但是应该注意,数据帧中的数据字段的长度对于其它适合的比特长度而言可以是变化的。 In addition, although the following data frame is described as including a particular size, it should be noted that the length of the data field of the data frames for purposes other suitable bit lengths may be varied.

[0186] A.安全 [0186] A. Security

[0187] 与旨在被传输的数据一起,结构可以利用诸如加密、消息完整性校验、和数字签名的附加的安全度量来传输数据。 [0187] and is intended to be transmitted together with the data structure can be used such as encryption, message integrity verification, and additional safety measure digital signatures to transmit data. 在一些实施例中,设备所支持的安全的级别可以根据设备的物理安全和/或设备的能力而变化。 In some embodiments, the level of security supported by the device according to the ability of physical security devices and / or equipment changes. 在某些实施例中,在结构中的节点之间发送的消息可以利用128比特密钥使用在计数器模式(AES-CTR)下操作的高级加密标准(AES)块密码来加密。 In certain embodiments, the structure of messages between nodes can be sent using a 128-bit key Advanced Encryption Standard (AES) in counter mode (AES-CTR) operating block cipher to encrypt. 如在下面所讨论的,每个消息包含32比特消息id。 As discussed below, each 32 bit message contains a message id. 消息id可以与发送节点id组合来为AES-CTR算法形成现时值(nonce)。 Message id form current value (nonce) and the sending node id combination of AES-CTR algorithm. 32比特计数器使得40亿个消息能够在协商新密钥之前由每个节点来加密和发送。 32-bit counter makes four billion messages can be encrypted and sent before negotiating a new key generated by each node.

[0188] 在一些实施例中,结构可以使用可以被包括在每个加密的消息中的消息认证代码(诸如HMAC-SHA-1)来保证消息完整性。 [0188] In some embodiments, the structure may be used may be included in a message authentication code (such as HMAC-SHA-1) in each of the encrypted messages to ensure message integrity. 在一些实施例中,可以使用与加密密钥一对一配对的160比特消息完整性密钥来产生消息认证代码。 In some embodiments, the encryption key may be used with one pair of 160-bit message integrity key to generate a message authentication code. 此外,每个节点可以对照在节点对节点基础上维护的最近接收到的id的列表来校验传入消息的消息id以阻止消息的再播。 In addition, each node can control the list of nodes based on the node maintained recently received id to check incoming messages to block messages id messages and then broadcast.

[0189] B.标记长度值(TLV)格式化 [0189] B. tag length value (TLV) format

[0190]为了减少功耗,期望在使得数据容器能够灵活地表示容纳跳过数据(未通过跳过到在数据的串行化内被理解的数据的下一个位置而被识别或理解)的数据的同时,紧凑地发送通过结构发送的数据的至少一部分。 [0190] To reduce power consumption, it is desirable that the data showing the container can flexibly accommodate skipping (not being recognized or understood by skipping to the next position in the serialized data to be understood that the data) in the data while compactly transmitting at least a part of the data structure of the transmission. 在某些实施例中,标签长度值(TLV)格式化可以被用来紧凑地且灵活地对数据进行编码/解码。 In certain embodiments, the tag length value (TLV) format can be used to compact and flexible data encoding / decoding. 通过将所传送的数据的至少一部分存储在TLV 中,可以与低编码/解码和存储器开销一起紧凑地且灵活地存储/发送数据,如下面参考表7 所讨论的。 By storing at least part of the data transmitted in the TLV, may together compactly and flexibly with the lower storage encode / decode the overhead and memory / data transmission, as discussed below with reference to Table 7. 在某些实施例中,TLV可以被用于作为灵活的可扩展数据的一些数据,但是可以按照被充分理解的标准协议数据单元(PDU)存储和发送不可扩展的数据的其它部分。 In certain embodiments, TLV can be used as a flexible, scalable data of some of the data, but can follow the standard protocol data unit (PDU) to be fully understood other portions of storing and transmitting data can not be extended.

[0191] 可以将以TLV格式格式化的数据编码为各种类型(诸如原语类型和容器类型)的TLV元素。 [0191] will be able to TLV formatted by encoding data types (such as primitive types and container types) TLV elements. 原语类型包括某些格式的数据值,诸如整数或字符串。 Primitive data types include some form of value, such as integer or string. 例如,TLV格式可以对1、2、 3、4或8字节有符号/无符号整数、UTF-8字符串、字节字符串、单/双精度浮点数(例如, IEEE754-1985格式)、布尔值、空值、以及其它适合的数据格式类型进行编码。 For example, TLV format can be 1, 2, 3, 4, or 8 bytes signed / unsigned integer, UTF-8 string, byte string, single / double precision floating point (for example, IEEE754-1985 format), Boolean values, null values, and other suitable data format types are encoded. 容器类型包括然后被细分类为容器或原语类型的元素的合集。 The types of containers are then classified as a fine collection container or primitive type element. 可以将容器类型分类为各种类别,诸如词典、阵列、路径或用于对TLV元素(被称为成员)进行分组的其它适合的类型。 Container types can be classified into various categories, such as dictionaries, arrays, or the path for TLV element (referred to as members) perform other suitable types of packets. 词典是在该词典内各自具有不同定义和唯一标签的成员的合集。 Dictionary is a collection within the dictionary definitions and different members each having a unique label for. 阵列是具有隐含定义或没有不同定义的成员的有序合集。 Array is an ordered collection have implicitly defined or not defined by different members. 路径是描述了如何遍历TLV元素的树的成员的有序合集。 It describes how to traverse the path is a member of TLV element tree orderly collection.

[0192] 如图11中所图示的,TLV分组1120的实施例包括三个数据字段:标签字段1122,长度字段1124、和值字段1126。 [0192] As illustrated in Figure 11, the TLV packet 1120 of the embodiment includes three data fields: Label field 1122, a length field 1124, 1126 and a value field. 尽管所图示的字段1122、1124、和1126被图示为在大小上近似相等,但是每个字段的大小可以是可变的并且相对于彼此在大小上变化。 Although the illustrated field 1122, 1124, and 1126 are illustrated as being approximately equal in size, but the size of each field may be variable and changes with respect to each other in size. 在其它实施例中, TLV分组1120还可以在标签字段1122之前包括控制字节。 In other embodiments, TLV grouping 1120 also can before the label field 1122 includes the control byte.

[0193] 在具有控制字节的实施例中,可以将控制字节细分成元素类型字段和标签控制字段。 [0193] In an embodiment of a control byte, the control byte can be subdivided into the element type field and label control field. 在一些实施例中,元素类型字段包括控制字节的5个更低比特并且标签控制字段占用高3个比特。 In some embodiments, the element type field includes a control byte 5 bits and lower tab control field occupies three bits high. 元素类型字段指示TLV元素的类型以及长度字段1124和值字段1126如何被编码。 TLV element type field indicates the type of element and a length field and a value field 1124 1126 how they are encoded. 在某些实施例中,元素类型字段还对用于TLV的布尔值和/或空值进行编码。 In certain embodiments, the element type field also boolean values and / or empty value for TLV encoded. 例如,在下表1 中提供了元素类型字段的枚举的实施例。 For example, Table 1 below provides an embodiment of the element type of the field enumeration.

Figure CN105684356AD00281

[0196]表1.示例元素类型字段值。 [0196] Table 1. Sample element type field value.

[0197]标签控制字段指示指派给TLV元素的标签字段1122中的标签的形式(包括零长度标签)。 [0197] label assigned to the control field indicates the label field 1122 TLV element in the form of labels (including zero length label). 在下表2中提供了标签控制字段值的示例。 Table 2 below provides an example of the label control field values.

Figure CN105684356AD00282

[0199] 表2.标签控制字段的示例值。 [0199] Table 2. Label control field sample values.

[0200] 换句话说,在具有控制字节的实施例中,控制字节可以指示标签的长度。 [0200] In other words, in the embodiment of a control byte, the control byte may indicate the length of the label.

[0201] 在某些实施例中,标签字段1122可以包括零至八个字节,诸如八、十六、三十二、或六十四个比特。 [0201] In some embodiments, the tag field 1122 may include zero to eight bytes, such as eight, sixteen, thirty-second, two or sixty-four bits. 在一些实施例中,可以将标签字段的标签分类为简档特定标签或上下文特定标签。 In some embodiments, the label can be classified as a profile tag field of a particular label or context-specific tag. 简档特定标签使用如在下面所讨论的厂商Id、简档Id、和/或标签号来全局地标识元素。 Profiles using specific labels such as manufacturers discussed below Id, profile Id, and / or tag number to identify the elements globally. 上下文特定标签在包含词典元素的上下文内标识TLV元素并且可以包括单字节标签号。 Within the context of the context-specific tag identifies the TLV element contains dictionary elements and may include a single byte tag number. 因为上下文特定标签是在它们的容器的上下文中定义的,所以单个上下文特定标签在被包括在不同的容器中时可以具有不同的解释。 Because the context of a particular label is identified in the context of their containers, so that the individual context-specific tag to be included may have different interpretations in different containers. 在一些实施例中,还可以从嵌套容器得到上下文。 In some embodiments, you can also get context from nested containers.

[0202] 在具有控制字节的实施例中,标签长度被编码在标签控制字段中并且标签字段1122包括可能的三个字段:厂商Id字段、简档Id字段、和标签号字段。 [0202] In an embodiment of a control byte, the label length is encoded in the tag and the tag field Control field 1122 may include three fields: Vendor Id field, a profile Id field, and the tag number field. 按照完全限定形式,经编码的标签字段1122包括具有包括由标签控制字段所确定的16或32个比特的标签号字段的所有三个字段。 In accordance with the fully qualified form, the coded label field 1122 includes a tag number of all three fields including field 16 or 32 bits by the label of the control field is determined. 按照隐式形式,标签仅包括标签号,并且厂商Id和简档号是从TLV元素的协议上下文推理到的。 Implicit in accordance with the form, the label includes only the tag number, and vendor Id number and profile are reasoning from the protocol TLV elements to the context. 如上面所讨论的,核心简档形式包括简档特定标签。 As discussed above, the core profile forms include a profile specific label. 上下文特定标签被编码为传达该标签号的单个字节。 Context-specific tag is coded as a single byte conveys the tag number. 无名元素具有零长度标签字段1122。 Unknown element with a zero length label field 1122.

[0203] 在没有控制字节的一些实施例中,两个比特可以指示标签字段1122的长度,两个比特可以指示长度字段1124的长度,并且四个比特可以指示存储在值字段1126中的信息的类型。 [0203] In some embodiments, no control byte, two bits of the tag field 1122 may indicate the length of two bits may indicate the length of the length field 1124, and four bits may indicate information stored in the value field 1126 type. 在下面在表3中图示针对标签字段的高8个比特的可能编码的示例。 In Table 3 below illustrates an example for a possible coding high label field of eight bits.

Figure CN105684356AD00301

[0206] 表3. TLV分组的标签字段 [0206] Table 3. TLV tag field grouping

[0207] 如表3中所图示的,标签字段1122的高8个比特可以被用来对关于标签字段1122、 长度字段1124、和值字段1126的信息进行编码,使得标签字段112可以被用来确定标签字段122和长度字段1124的长度。 The upper 8 bits [0207] As illustrated in Table 3, the tag field 1122 can be used on the label of the field 1122, a length field 1124, 1126, and field information is encoded so that the tag field 112 can be used to determine the tag field 122 and 1124 length field length. 标签字段1122中的剩余比特可以变得对于用户分配的和/或用户指派的标签值是可用的。 Tag field 1122 remaining bits may be assigned to the user and / or user-assigned tag values are available.

[0208] 长度字段1124可以包括如由如表3中所图示的标签字段1122或如表2中所图示的元素字段所指示的八、十六、三十二、或六十四个比特。 [0208] length field 1124 may include, for example by the tag field as illustrated in Table 3, or as element field 1122 as illustrated in Table 2 as indicated by eight, sixteen, thirty-second, two or sixty-four bits . 而且,长度字段1124可以包括表示编码在值字段1126中的长度的无符号整数。 Moreover, a length field 1124 may include data representing encoded in the value field 1126 length unsigned integer. 在一些实施例中,长度可以由发送TLV元素的设备来选择。 In some embodiments, the length can be transmitted by the device to select TLV elements. 值字段1126包括要解码的有效负荷数据,但是值字段1126的解释可以取决于标签长度字段和/或控制字节。 1126 includes a value field to be decoded payload data, but interpretation of value field 1126 may depend on the length of the field labels and / or control bytes. 例如,为了说明而在下表4中图示了包括8比特标签的没有控制字节的TLV分组。 For example, for purposes of illustration in Table 4 below illustrates an 8-bit tag does not include the control byte TLV packet.

Figure CN105684356AD00302

Figure CN105684356AD00311

[0210] 表4.包括8比特标签的TLV分组的示例 [0210] Table 4. Examples include 8-bit label TLV packet

[0211] 如表4中所图示的,第一行指示标签字段1122和长度字段1124各自具有8个比特的长度。 [0211] As illustrated in Table 4, the first line indicates the label field length field 1122 and 1124 each have a length of 8 bits. 此外,标签字段1122指示第一行的标签类型是容器(例如TLV分组)。 In addition, the label type tag field 1122 indicates that the first row is a container (such as a packet TLV). 第二行至第六行的标签字段1124指示TLV分组中的每个条目具有各自由8个比特构成的标签字段1122和长度字段1124。 The second row label field 1124 indicates the sixth line to the TLV packet with each entry in the tag field 1122 and a length field are each composed of 8 bits 1124. 此外,标签字段1124指示TLV分组中的每个条目具有包括32比特浮点的值字段1126。 In addition, the label field 1124 indicates TLV packet with each entry includes a 32-bit floating point value field 1126. 值字段1126中的每个条目与可以使用对应的标签字段1122和长度字段1124信息来解码的浮点数相对应。 Value field 1126 and each entry can use the corresponding tag field length field 1122 and 1124 information to decode the corresponding float. 如这个示例中所图示的,值字段1126中的每个条目与华氏温度相对应。 As illustrated in this example, the value of each entry field in 1126 with Fahrenheit, respectively. 如可以理解的,通过像上面所描述的那样将数据存储在TLV分组中,可以在保持灵活以便改变如可以由结构中的不同设备所使用的长度和信息的同时紧凑地传输数据。 As can be appreciated, as would TLV packet, can be compactly transmit data while maintaining the flexibility to vary the length of the structure and information as may be made different by the equipment used as the above described data storage. 而且,在一些实施例中,可以按照小端顺序或大端顺序传送多字节整数字段。 Moreover, in some embodiments, the multi-byte integer fields can be transferred in accordance with the order of little endian or big endian order.

[0212] 通过在使用可以通过发送/接收设备格式(例如JS0N)来使用的顺序协议(例如小端)时传送TLV分组,可以按照由节点中的至少一个所使用的顺序协议(例如小端)传送在节点之间传输的数据。 [0212] By transmitting TLV packet when the sequence protocol by transmitting / receiving device format (for example JS0N) to be used (for example, the small end), in accordance with the order of protocol at least one use of nodes (such as little-endian) transmitting data transmitted between the nodes. 例如,如果一个或多个节点包括ARM或ix86处理器,则可以使用小端字节排序来传送节点之间的传输以减少字节再排序的使用。 For example, if one or more nodes or ix86 include ARM processor, the transmission may be transmitted between nodes to reduce the byte reordering that use little-endian byte ordering. 通过减少字节再排序的包括(inclusion),TLV格式使得设备能够使用比在传输的两端上使用字节再排序的传输更少的功率来进行通信。 By reducing the byte reordering comprises (inclusion), TLV format enables the device to be used on both ends of bytes than scheduled transmissions transmitted less power for communication. 此外,可以指定TLV格式化以在其它数据存储技术(诸如JS0N+可扩展标记语言(XML))之间提供一对一转化。 In addition, you can specify the TLV format to other data storage technologies (such as JS0N + Extensible Markup Language (XML)) provided between one conversion. 作为示例,TLV格式可以被用来表示以下XML属性列表: As an example, TLV format can be used to represent the following XML attribute list:

Figure CN105684356AD00312

Figure CN105684356AD00321

Figure CN105684356AD00331

Figure CN105684356AD00341

Figure CN105684356AD00351

[0218]作为示例,可以根据下表5在上面描述的TLV格式(没有控制字节)的标签中表示上述属性列表。 [0218] As an example, according to the TLV format in Table 5 described above (no control byte) Tags indicated above list properties.

Figure CN105684356AD00352

Figure CN105684356AD00361

[0221 ] 表5. TLV格式中的XML属性列表的示例表示 [0221] Example Table 5. TLV format XML attribute list representation

[0222] 类似地,表6图示针对示例XML属性列表的文字标签、长度、和值表示的示例。 [0222] Similarly, Table 6 illustrates an example of an XML property list for text labels, length, and sample values represented.

[0223] [0223]

Figure CN105684356AD00362

[0224] [0224]

Figure CN105684356AD00371

[0225] 表6.针对XML属性列表的标签、长度、和值字段的文字值的示例 [0225] Table 6. Sample XML tags for the literal value list of attributes, length, and value fields of

[0226] TLV格式使能还可以用XML枚举,但是在更小存储大小情况下才这样做的属性的引用。 [0226] TLV format can also use XML to enable enumeration, but cited in a smaller memory size of the case before doing the property. 例如,表7图示XML属性列表、对应的二进制属性列表、和TLV格式的数据大小的比较。 For example, Table 7 illustrates XML attribute list, a list of corresponding binary attribute, and compare the size of the TLV data format.

Figure CN105684356AD00372

[0228] 表7.属性列表数据大小的大小的比较。 [0228] Table 7. Comparison of the size of the property list data size.

[0229] 通过减少用来传输数据的数据的量,TLV格式使得结构1000能够向和/或从由于有限功率而具有短工作周期的设备(例如,电池供电的设备)传输数据。 [0229] By reducing the amount of data used to transmit data, so that 1000 can be the TLV format to and / or from a device having limited power short duty cycle (e.g., battery-powered devices) transmit data structures. 换句话说,TLV格式在增加要传送的数据的紧凑性的同时允许传输的灵活性。 In other words, TLV format of data to be transferred in increased compactness while allowing flexibility transmission.

[0230] C.通用消息协议 [0230] C. General Message Protocol

[0231] 除发送变化大小的特定条目之外,可以使用可以并入TLV格式化的通用消息协议在结构内传送数据。 [0231] In addition to sending the particular item size changes, it can be incorporated using the TLV format common messaging protocol to transfer data within the structure. 在图18中图示了通用消息协议(GMPH128的实施例。在某些实施例中, 通用消息协议(GMP) 1128可以被用来在结构内传送数据。GMP 1128可以被用来经由无连接协议(例如UDP)和/或面向连接协议(例如TCP)来发送数据。因此,GMP1128可以在当使用另一协议时忽视这种信息的同时灵活地适应在一个协议中使用的信息。而且,GMP 1226可以使得能够省略在特定传输中未使用的字段。可以从一个或多个GMP 1226传输中省略的数据通常使用在数据单元附近的灰色边界来指示。在一些实施例中,可以按照小端顺序或大端顺序传送多字节整数字段。 Illustrates a general protocol message (Example GMPH128 in Figure 18. In some embodiments, universal message protocol (GMP) 1128 can be used to transmit data within the structure it can be used .GMP 1128 via a connectionless protocol (such as UDP) and / or connection-oriented protocols (such as TCP) to send data. Thus, GMP1128 the flexibility to adapt to the information used in a protocol in ignore this information when using another protocol at the same time. Furthermore, GMP 1226 can be omitted so that the field is not used in a particular transmission can be omitted from one or more data transmission GMP 1226 generally used in the vicinity of the gray boundary data unit to indicate. in some embodiments, can follow or little-endian order big-endian order send multiple-byte integer field.

[0232] i.分组长度 [0232] i. The packet length

[0233] 在一些实施例中,GMP 1128可以包括分组长度字段1130。 [0233] In some embodiments, GMP 1128 may include a packet length field 1130. 在一些实施例中,分组长度字段1130包括2个字节。 In some embodiments, the packet length field 1130 includes two bytes. 分组长度字段1130中的值与指示排除分组长度字段1130本身的以字节为单位的消息的总长度的无符号整数相对应。 Unsigned integer packet length field 1130 indicates the value of the packet length field 1130 itself exclude messages in bytes of the total length, respectively. 当通过TCP连接传送GMP 1128时可以存在分组长度字段1130,但是当通过UDP连接传送GMP 1128时,消息长度可以等于消除分组长度字段1130的底层UDP分组的有效负荷长度。 When connecting via TCP transmission GMP 1128 when there may be packet length field 1130, but when transferred via UDP connections GMP 1128, the message may be equal to the length of the packet length field to eliminate the underlying UDP packet payload length of 1130.

[0234] ii.消息报头 [0234] ii. Message header

[0235] GMP 1128还可以不管GMP 1128是使用TCP连接还是UDP连接来传送都包括消息报头1132。 [0235] GMP 1128 GMP 1128 is whether it can also be connected using TCP or UDP connection to transmit the message includes a header 1132. 在一些实施例中,消息报头1132包括以图19中所图示的格式布置的两个字节的数据。 In some embodiments, the message header 1132 includes illustrated in FIG. 19 arranged in two-byte format data. 如图19中所图示的,消息报头1132包括版本字段1156。 Illustrated in Figure 19, the message header 1132 includes a version field 1156. 版本字段1156与被用来对消息进行编码的GMP 1128的版本相对应。 1156 version field and is used to encode the message version GMP 1128 corresponds. 因此,随着GMP 1128被更新,可以创建GMP 1128的新版本,但是结构中的每个设备可以能够在为设备所知的GMP 1128的任何版本中接收数据分组。 Thus, as the GMP 1128 is updated to create a new version of GMP 1128, but the structure of each device may be able to receive data packets for any device known in the GMP 1128 version. 除版本字段1156之外,消息报头1132还可以包括S标志字段1158和D标志1160 d标志1158是指示源节点Id(在下面讨论)字段是否被包括在所传送的分组中的单个比特。 In addition to the 1156 version field, message header 1132 may also include a flag field S 1158 and D 1158 logo 1160 d flag is an indication of the source node Id (discussed below) is a single bit field is included in the packet transmitted in. 类似地,D标志1160是指示目的地节点Id(在下面讨论)字段是否被包括在所传送的分组中的单个比特。 Similarly, D flag 1160 indicating the destination node Id (discussed below) whether the field is included in the packet transmitted in a single bit.

[0236]消息报头1132还包括加密类型字段1162。 [0236] message header 1132 also includes an encryption type field 1162. 若有的话,加密类型字段1162包括指定哪一种类型的加密/完整性校验被应用于该消息的四个比特。 If so, the encryption type field 1162 including specifying which type of encryption / integrity check message is applied to the four bits. 例如,0x0可以指示不包括加密或消息完整性校验,但是十进制Οχ 1可以指示包括具有HMAC-SHA-1消息完整性校验的AES-128-CTR 加密。 For example, 0x0 may indicate not include encryption or message integrity check, but may indicate a decimal Οχ 1 comprises an encryption AES-128-CTR HMAC-SHA-1 message integrity check.

[0237] 最后,消息报头1132还包括签名类型字段1164。 [0237] Finally, the message header 1132 also includes a signature type field 1164. 若有的话,签名类型字段1164包括指示哪一种类型的数字签名被应用于该消息的四个比特。 If so, the signature type field 1164 includes information indicating which type of digital signature is applied to the message of four bits. 例如,0x0可以指示没有数字签名被包括在该消息中,但是0x1可以指示具有Prime256vl椭圆曲线参数的椭圆曲线数字签名算法(E⑶SA)被包括在该消息中。 For example, 0x0 may indicate that no digital signature is included in the message, but the 0x1 may indicate elliptic curve digital signature algorithm Prime256vl elliptic curve parameters (E⑶SA) is included in the message.

[0238] iii.消息Id [0238] iii. Message Id

[0239] 返回到图18,GMP 1128还包括可以不管消息是使用TCP还是UDP来发送都被包括在所传送的消息中的消息Id字段1134。 [0239] Returning to Figure 18, GMP 1128 can also include a message whether it is to use TCP or UDP to send the message Id field are included in the message transmitted in 1134. 消息Id字段1134包括与从发送节点的观点看唯一地标识消息的无符号整数值相对应的四个字节。 Message Id field 1134 includes the sending node from the viewpoint of view uniquely identifies the message unsigned integer value corresponding to the four bytes. 在一些实施例中,节点可以将渐增消息Id 1134 值指派给它们发送的每个消息,从而在达到232个消息之后返回到零。 In some embodiments, a node may be increasing message Id 1134 values assigned to each message they send, so after reaching 232 message is returned to zero.

[0240] iv.源节点Id [0240] iv. The source node Id

[0241] 在某些实施例中,GMP 1128还可以包括包含八个字节的源节点Id字段1136。 Source Node Id field [0241] In certain embodiments, GMP 1128 may also include contains eight bytes of 1136. 如上面所讨论的,当消息报头1132中的单比特S标志1158被设置为1时源节点Id字段1136可以存在于消息中。 As discussed above, when the message header 1132 1158 single-bit S flag is set to 1 the source node Id field 1136 may be present in the message. 在一些实施例中,源节点Id字段1136可以包含ULA 1098的接口ID 1104或整个ULA 1098。 In some embodiments, the source node Id field can contain ULA 1098 1136 interface ID 1104 or the entire ULA 1098. 在一些实施例中,按照上升索引值顺序(例如,EUI[0]然后EUI[1]然后EUI[2]然后EUI[3]等)传送源节点Id字段1136的字节。 In some embodiments, the index values in ascending order (e.g., EUI [0] and EUI [1] and EUI [2] and EUI [3], etc.) Id field source node transmits 1136 bytes.

[0242] ν·目的地节点Id [0242] ν · destination node Id

[0243] GMP 1128可以包括包含八个字节的目的地节点Id字段1138。 [0243] GMP 1128 may include a destination node Id field contains eight bytes 1138. 目的地节点Id字段1138与源节点Id字段1136类似,但是目的地节点Id字段1138与消息的目的地节点相对应。 The destination node Id field 1138 is similar to the source node Id field 1136, but the destination node Id field in 1138 with the message of the destination node, respectively. 当消息报头1132中的单比特D标志1160被设置为1时目的地节点I d字段1138可以存在于消息中。 When the message header 1132 single-bit D flag 1160 is set to 1 when the destination node I d field 1138 may be present in the message. 并且与源节点Id字段1136类似,在一些实施例中,可以按照上升索引值顺序(例如, EUI[0]然后EUI[1]然后EUI[2]然后EUI[3]等)传送目的地节点Id字段1138的字节。 Similar to the source node and the Id field 1136, in some embodiments, may be in ascending order of the index value (e.g., EUI [0] and EUI [1] and EUI [2] and EUI [3], etc.) the transfer destination node Id field 1138 bytes.

[0244] vi.密钥Id [0244] vi. Key Id

[0245] 在一些实施例中,GMP 1128可以包括密钥Id字段1140。 [0245] In some embodiments, GMP 1128 may include a key field Id 1140. 在某些实施例中,密钥Id字段1140包括两个字节。 In certain embodiments, the Key Id field 1140 includes two bytes. 密钥Id字段1140包括标识用来对消息进行加密的加密/消息完整性密钥的无符号整数值。 Key Id field 1140 includes identification for the message unsigned integer value encrypted encryption / message integrity keys. 密钥Id字段1140的存在可以通过消息报头1132的加密类型字段1162 的值来确定。 1140 Key Id field presence can be determined by the value of the encryption type field of the message header 1132 of 1162. 例如,在一些实施例中,当消息报头1132的加密类型字段1162的值是0x0时,可以从该消息中省略密钥Id字段1140。 For example, in some embodiments, when the value of the encryption type field of the message header 1132. 1162 is 0x0, you can omit the key field Id 1140 from the message.

[0246] 在图20中呈现了密钥Id字段1140的实施例。 [0246] presents the implementation of key Example Id field 1140 in Figure 20. 在所图示的实施例中,密钥Id字段1140包括密钥类型字段1166和密钥号字段1168。 In the illustrated embodiment, the key 1140 Key Id field and the type field 1166 including the key number field 1168. 在一些实施例中,密钥类型字段1166包括四个比特。 In some embodiments, the key 1166 includes a four-bit type field. 密钥类型字段1166与标识用来对消息进行加密的加密/消息完整性的类型的无符号整数值相对应。 Unsigned integer value and identifies the key type field 1166 is used to encrypt the message encryption / integrity of the message type corresponds. 例如,在一些实施例中,如果密钥类型字段1166是0x0,则结构密钥被结构中的所有或大多数节点共享。 For example, in some embodiments, if the key type field 1166 is 0x0, the structure of the key nodes shared by all or most of the structure. 然而,如果密钥类型字段1166是0x1,则结构密钥被结构中的一对节点共享。 However, if the key type field 1166 is 0x1, the structure of the key shared by the structure of a pair of nodes.

[0247] 密钥Id字段1140还包括包含与从可用密钥(共享密钥或结构密钥)集合当中标识用来对消息进行加密的特定密钥的无符号整数值相对应的十二个比特的密钥号字段1168。 [0247] Key Id field 1140 also includes an unsigned integer value contains the available keys (shared key or structure of the key) is used to identify which set specific key encrypted message corresponding to twelve bits the key number field 1168.

[0248] vii.有效负荷长度 [0248] vii. Payload length

[0249] 在一些实施例中,GMP 1128可以包括有效负荷长度字段1142。 [0249] In some embodiments, GMP 1128 may include a payload length field 1142. 有效负荷长度1142 在存在时可以包括两个字节。 When the length of the payload 1142 may include the presence of two bytes. 有效负荷长度字段1142与指示应用有效负荷字段的字节大小的无符号整数值相对应。 Payload length field indicates the application 1142 and the payload size in bytes unsigned integer value, respectively. 当利用使用如在下面关于填充字段所描述的消息填充的算法来对消息进行加密时,可以存在有效负荷长度字段1142。 When utilizing the following message about the use as padding field described filling algorithm to encrypt the message, there may be the payload length field 1142.

[0250] viii.初始化向量 [0250] viii. Initialization vector

[0251] 在一些实施例中,GMP 1128还可以包括初始化向量(IV)字段1144。 [0251] In some embodiments, GMP 1128 may further comprise an initialization vector (IV) field 1144. IV字段1144当存在时包括可变数目字节的数据。 IV field 1144 when there include a variable number of bytes of data. IV字段1144包含用来对消息进行加密的加密IV值。 IV field 1144 is used to encrypt the message containing the encrypted value IV. 当消息利用使用IV的算法进行加密时可以使用IV字段1144。 When the message using the IV use of encryption algorithms can be used when IV field 1144. 可以通过用来对消息进行加密的加密的类型来得到IV字段1144的长度。 It can be used to encrypt the message of the type of encryption to get IV 1144 field length.

[0252] ix.应用有效负荷 [0252] ix. Applications payload

[0253] GMP 1128包括应用有效负荷字段1146。 [0253] GMP 1128 includes an application payload field 1146. 应用有效负荷字段1146包括可变数目的字节。 Application of the payload 1146 includes a variable number of bytes. 应用有效负荷字段1146包括在消息中所传达的应用数据。 Application payload field 1146 included in the message conveyed by application data. 应用有效负荷字段1146的长度可以在存在时根据有效负荷长度字段1142来确定。 Application of the payload length 1146 may be determined in accordance with the presence of the payload length field 1142. 如果有效负荷长度字段1142不存在, 则可以通过将包括在应用有效负荷1146(例如TLV)内的消息和/或数据值的总长度减去所有其它字段的长度来确定应用有效负荷字段1146的长度。 If the payload length field 1142 does not exist, it can include the message and / or data values in the application payload 1146 (for example TLV) within the overall length minus the length of all the other fields of application to determine the length of the payload 1146 .

[0254] 在图21中图示了应用有效负荷字段1146的实施例。 [0254] illustrates an example implementation of the application payload field 1146 in FIG. 21. 应用有效负荷字段1146包括APVersion字段1170。 Application of the payload field 1146 includes APVersion 1170. 在一些实施例中,APVersion字段1170包括指示结构软件的什么版本被发送设备支持的八个比特。 In some embodiments, APVersion field 1170 indicating structure includes a version of what the software is transmitted device supports eight bits. 应用有效负荷字段1146还包括消息类型字段1172。 Application of the payload section 1146 also includes a message type field 1172. 消息类型字段1172可以包括与指示正在简档内发送的消息的类型的消息操作代码相对应的八个比特。 Message Type field 1172 may include a message indicating that it is a profile of the type of the transmission of the message operation code corresponding to eight bits. 例如,在软件更新简档中,0x00可以指示正被发送的消息是映像通告。 For example, the software update profile, 0x00 may indicate that the message being sent is images notice. 应用有效负荷字段1146还包括包括与对于用于事务的发送节点而言唯一的交换标识符相对应的十六个比特。 Application of the payload section 1146 includes For further comprising sending node to exchange a unique transaction identifier that corresponds to sixteen bits.

[0255] 此外,应用有效负荷字段1146包括简档Id字段1176。 [0255] In addition, the application payload field 1146 includes a profile field Id 1176. 简档Id 1176指示用来指示在消息中发送什么类型的通信的"讨论的主题"。 Id 1176 indicates a profile that indicates' topics of discussion, "What type of communication is sent in the message. 简档Id 1176可以与设备也许能够进行通信的一个或多个简档相对应。 Profile Id 1176 with the device might be able to carry out one or more communication profiles correspond. 例如,简档Id 1176可以指示消息涉及核心简档、软件更新简档、 状态更新简档、数据管理简档、气候与舒适简档、安全性简档、安全简档、和/或其它适合的简档类型。 For example, a profile Id 1176 may indicate that the message relates to the core profile, software updates, profiles, status updates, profiles, data management profiles, climate and comfort profiles, security profiles, security profiles, and / or other suitable profile type. 结构上的每个设备可以包括与设备相关并且设备能够"参与讨论"的简档的列表。 Each device structure may include a list of equipment and related devices to "participate in the discussion," the profile. 例如,结构中的许多设备可以包括核心简档、软件更新简档、状态更新简档、以及数据管理简档,但是仅一些设备将包括气候与舒适简档。 For example, the structure of many of the device may comprise the core profile, software updates, profiles, status updates, profiles, and data management profile, but only some of the devices will include climate and comfort profiles. APVersion字段1170、消息类型字段1172、 交换Id字段、简档Id字段1176、和简档特定报头字段1176(若存在的话)可以被相结合地称为"应用报头"。 APVersion field 1170, a message type field 1172, exchange Id field, a profile Id field 1176, and a profile-specific header field 1176 (if present) can be combined referred to as "application header."

[0256] 在一些实施例中,经由简档Id字段1176指示简档Id可以提供足够的信息来提供针对简档传送的数据的模式。 [0256] In some embodiments, via profile Id field indicates the profile Id 1176 can provide enough information to provide a model for the transfer of data profiles. 然而,在一些实施例中,附加信息可以被用来确定用于对应用有效负荷字段1146进行解码的进一步指导。 However, in some embodiments, additional information may be used to determine the application payload section 1146 for further guidance decoding. 在这些实施例中,应用有效负荷字段1146可以包括简档特定报头字段1178。 In these embodiments, the application payload field 1146 may include a profile-specific header field 1178. 一些简档可能不使用简档特定报头字段1178,从而使得应用有效负荷字段1146能够省略简档特定报头字段1178。 Some profiles may not use the profile-specific header field 1178, so that the application payload section 1146 can be omitted profile specific header field 1178. 在根据简档Id字段1176和/或简档特定报头字段1178确定模式后,可以在应用有效负荷子字段1180中对数据进行编码/解码。 In a 1176 profile Id field and / or profile-specific header field to determine the post-1178 mode, the data in the application payload subfield 1180 encoding / decoding. 应用有效负荷子字段1180包括要在设备之间传送的核心应用数据和/或要由接收设备/服务存储、重播、和/或遵照的服务。 Application payload subfield 1180 include core application data to be transferred between the device and / or to be used by the receiving device / service store, replay, and / or in accordance with the service.

[0257] X.消息完整性校验 [0257] X. message integrity check

[0258] 返回到图18,在一些实施例中,GMP 1128还可以包括消息完整性校验(MIC)字段1148 JIC字段1148当存在时包括包含针对消息的MIC的可变长度字节的数据。 [0258] Returning to FIG. 18, in some embodiments, GMP 1128 may also include a message integrity check (MIC) field 1148 JIC field including 1148 when there is a variable length byte contains the MIC data for the message. 该字段的长度和字节顺序取决于使用中的完整性校验算法。 Length and byte order of this field depends on the integrity check algorithm. 例如,如果使用HMAC-SHA-1针对消息完整性而对消息进行校验,则MIC字段1148按照大端顺序包括二十个字节。 For example, if you are using HMAC-SHA-1 for message integrity check and the message, according to the MIC field 1148 includes twenty big-endian byte order. 此外,可以通过消息报头1132的加密类型字段1162是否包括除0x0以外的任何值来确定MIC字段1148的存在。 In addition, the MIC can be determined by field exists 1148 message header encryption type field 1132 of 1162 whether to include any value other than the 0x0.

[0259] xi.填充 [0259] xi. Fill

[0260] GMP 1128还可以包括填充字段1150。 [0260] GMP 1128 may also include a padding field 1150. 填充字段1150当存在时包括表示加密填充的字节序列,所述加密填充被添加到消息以使得消息的已加密部分可被加密块大小整除的。 Padding field 1150 includes information indicating when there is a sequence of bytes encryption padding, the padding is added to the encrypted message so that the message is encrypted portion can be divisible by encryption block size. 可以通过由消息报头1132中的加密类型字段1162所指示的加密算法(例如,在密码块链模式下的块密码)的类型是否使用加密填充,来确定填充字段1150的存在。 By encryption algorithm by a message header 1132 encryption type field 1162 indicated (for example, in Cipher Block Chaining mode of a block cipher) whether the type of use of encryption padding, padding field to determine the presence of 1150.

[0261] xii.加密 [0261] xii. Encryption

[0262] 应用有效负荷字段1146、MIC字段1148、和填充字段1150-起形成加密块1152。 [0262] Application of the payload 1146, MIC field 1148, and padding fields encryption block is formed from 1150- 1152. 加密块1152包括在消息报头1132中的加密类型字段1162是除0x0以外的任何值时被加密消息的部分。 Encryption block 1152 includes an encryption type field in the message header 1132 in 1162 is part of the encrypted message of any value other than the 0x0.

[0263] xiii.消息签名 [0263] xiii. Message signature

[0264] GMP 1128还可以包括消息签名字段1154。 [0264] GMP 1128 may also include a message signature field 1154. 消息签名字段1154当存在时包括包含消息的加密签名的可变长度的字节序列。 Message when there is a signature field 1154 includes a variable length message contains the cryptographic signature sequence of bytes. 可以根据使用中并且由消息报头1132的签名类型字段1164所指示的签名算法的类型来确定消息签名字段的长度和内容。 You can determine the length and content of the message signature field according to the type and signature algorithm used in the message header signature type field 1132 of 1164 indicated. 例如,如果使用Prime256vl椭圆曲线参数的ECDSA是使用中的算法,则消息签名字段1154可以包括按照小端顺序编码的两个三十二比特整数。 For example, if you use Prime256vl elliptic curve parameters ECDSA algorithm is in use, the message signature field 1154 may include two thirty-two bit integer in accordance with the small end of the coding sequence.

[0265] 简档和协议 [0265] profiles and protocols

[0266] 如上面所讨论的,可以根据消息的期望的通用讨论类型来选择信息的一个或多个模式。 [0266] As discussed above, one or more may be selected according to the general discussion of the mode information of the desired type of message. 简档可以由一个或多个模式构成。 Profile may be constituted by one or more modes. 例如,信息的模式的一个集合可以被用来当在应用有效负荷1146的简档Id字段1176中指示了一个简档时,在应用有效负荷子字段1180中对数据进行编码/解码。 For example, a set of pattern information can be used to indicate when the application of effective load profile 1146 Id field when a 1176 profile in the application payload subfield 1180 data encoding / decoding. 然而,模式的不同集合可以被用来当在应用有效负荷1146的简档Id字段1176中指示了不同简档时,在应用有效负荷子字段1180中对数据进行编码/解码。 However, a different set of patterns can be used to indicate when a different profile in the application of effective load profile 1146 Id field in 1176 when, in the application payload subfield 1180 data encoding / decoding.

[0267] 此外,在某些实施例中,每个设备可以包括用来处理简档的方法集合。 [0267] In addition, in certain embodiments, each device may include a method for processing a collection profile. 例如,核心协议可以包括以下简档:GetProfiles、GetSchema、GetSchemas、GetPrope;rty、 GetProperties、SetProperty、SetProperties、RemoveProperty、RemoveProperties、 RequestEcho、NotifyPropertyChanged、^P/i^NotifyPropertiesChanged〇GetProfiles* 法可以返回由被查询节点所支持的简档的阵列。 For example, the core protocol may include the following profiles: GetProfiles, GetSchema, GetSchemas, GetPrope; rty, GetProperties, SetProperty, SetProperties, RemoveProperty, RemoveProperties, RequestEcho, NotifyPropertyChanged, ^ P / i ^ * NotifyPropertiesChanged〇GetProfiles method can be returned by a query nodes supported array profile. GetSchema和GetSchemas方法可以针对特定简档分别返回一个或所有模式。 GetSchema and GetSchemas method may return the model for all or a particular profile. GetProperty和GetProperties可以针对简档模式分别返回一个值或所有值对。 GetProperty and GetProperties can return the value of all or a value for the profile mode. SetProperty和SetProperties可以针对简档模式分别设置单个值或多个值。 SetProperty and SetProperties can set individual values or multiple values for profile mode. RemoveProperty和RemoveProperties可以分别试图从简档模式中移除单个值或多个值。 RemoveProperty and RemoveProperties can attempt from the profile mode, respectively remove a single value or multiple values. RequestEcho可以向返回未修改的节点的指定节点发送任意数据有效负荷。 RequestEcho can send any data payload to return unmodified nodes specified nodes. 式改变的情况下分别发出通知。 Change the case of formula, respectively notification.

[0268] 为了帮助理解简档和模式,出于说明性目的在下面提供了简档和模式的非排他性列表。 [0268] To help understand the profile and pattern, for illustrative purposes in the following provides a non-exclusive list of profiles and patterns.

[0269] A ·状态报告 [0269] A · Status Report

[0270] 在图22中,状态报告模式被呈现为状态报告帧1182。 [0270] In Figure 22, the status report is presented as a mode status report frame 1182. 状态报告模式可以是单独的简档或者可以被包括在一个或多个简档(例如核心简档)中。 Status reporting mode may be a separate profile or may be included in one or more profiles (such as core profile) in. 在某些实施例中,状态报告帧1182包括简档字段1184、状态代码字段1186、下一个状态字段1188,并且可以包括附加状态信息字段1190。 In certain embodiments, the frame 1182 status report includes a profile field 1184, the status code field 1186, the next state field 1188, and may include additional state information field 1190.

[0271] i.简档字段 [0271] i. Profile field

[0272] 在一些实施例中,简档字段1184包括定义简档的四个字节的数据,将根据所述该简档解释目前状态报告中的信息的。 [0272] In some embodiments, the profile field 1184 includes four bytes define the profile data, will explain the current status of the information in the report based on the profile. 简档字段1184的实施例在图23中用两个子字段图示。 Example embodiments profile field by 1184 in FIG. 23 illustrates two subfields. 在所图示的实施例中,简档字段1184包括包含与简档的厂商特定标识符相对应的十六个比特的简档Id子字段1192,根据该简档定义状态代码字段1186的值。 In the illustrated embodiment, the profile includes a field 1184 contains a profile vendor specific identifier corresponding to the profile Id subfield sixteen bits of 1192, the value of 1186 according to the profile defined status code field. 简档字段1184还可以包括包含标识提供在简档Id子字段1192中标识的简档的厂商的十六个比特的厂商Id子字段1194〇 Profile field 1184 may further includes sixteen bits provided in the manufacturers contain an identity profile Id subfield profile identified in 1192 vendors Id subfield 1194〇

[0273] ii.状态代码 [0273] ii. Status Codes

[0274] 在某些实施例中,状态代码字段1186包括对正被报告的状态进行编码的十六个比特。 [0274] In certain embodiments, the status code field 1186 includes a status report being carried sixteen-bit encoding. 状态代码字段1186中的值是关于在简档字段1184中提供的厂商Id子字段1192和简档Id 子字段1194中编码的值而解释的。 Status Code field value in 1186 on the provision in the 1184 field profile encoded value Id subfield 1192 and 1194 profile Id subfield manufacturers and interpretation. 此外,在一些实施例中,可以将状态代码空间划分成四个组,如下表8中所指示的。 Additionally, in some embodiments, the space can be divided into four groups status code, as indicated in Table 8.

[0275] [0275]

Figure CN105684356AD00421

[0276] 表8.状态代码范围表 [0276] Table 8. Status Code Range Table

[0277] 尽管表8标识可以被单独地指派并用于每个特定简档Id的通用状态代码范围,但是在一些实施例中,一些状态代码可以为这些简档中的每一个所共有。 [0277] Although Table 8 can be separately identified and assigned to the general status code range for each particular profile Id, but in some embodiments, may share some of the status code for these profiles each of the. 例如,这些简档可以使用公共简档(例如核心简档)标识符(诸如0x00000000)来标识。 For example, these profiles can use the public profiles (such as core profile) identifier (such as 0x00000000) to identify.

[0278] iii.下一个状态 [0278] iii. The next state

[0279] 在一些实施例中,下一个状态代码字段1188包括八个比特。 [0279] In some embodiments, the next state code field 1188 includes eight bits. 下一个状态代码1188 指示在当前报告的状态之后是否存在以下状态信息。 Under a 1188 status code indicating whether the following status information after the current status of the report. 如果以下状态信息将被包括,则下一个状态代码字段1188指示什么类型的状态信息将被包括。 If the following status information will be included, the next status code field 1188 indicates what type of status information will be included. 在一些实施例中,可以总是包括下一个状态代码字段1188,从而潜在地增加消息的大小。 In some embodiments, you can always include the next state code field 1188, thereby potentially increasing the size of the message. 然而,通过提供用于将状态信息链接在一起的机会,可以减少所发送的数据总体减少的可能性。 However, by providing the opportunity for status information linked together, the data can reduce the possibility of reducing the overall transmitted. 如果下一个状态字段1186是0x00,则不包括以下状态信息字段1190。 If the next state field 1186 is 0x00, it does not include the following status information field 1190. 然而,非零值可以指示可以包括数据并且指示数据被包括(例如在TLV分组中)的形式。 However, a non-zero value may indicate and may include data indicating the data is included (e.g., in a packet TLV) form.

[0280] iv.附加状态信息 [0280] iv. Additional status information

[0281] 当下一个状态代码字段1188是非零时,附加状态信息字段1190被包括在消息中。 [0281] When the next non-zero status code field 1188, additional state information field 1190 is included in the message. 如果存在,则状态项字段可以按照可以通过在先状态类型字段的值来确定的形式(例如TLV 格式)包含状态。 If present, the state can follow the item field values by earlier state type field to determine the form (for example, TLV format) contains the state.

[0282] B.软件更新 [0282] B. Software Update

[0283] 软件更新简档或协议是使得客户端能够变得知道或者寻求关于它们可以下载并安装的软件的存在的信息的模式和/或客户端/服务器协议的集合。 [0283] Software Update profile or protocol is such that clients can get to know or seek information about the mode they can download and install software presence and / or client / server protocol set. 使用软件更新协议,可以按照为客户端所知的格式向简档客户端提供软件映像。 Use Software Update Protocol, in accordance with the client software image format known to the profile of the client. 软件映像的后续处理可以是通用的、设备特定的或厂商特定的,并且通过软件更新协议和设备来确定。 Subsequent processing software image can be generic, device-specific or vendor-specific and determined by the software update protocol and equipment.

[0284] i.用于应用有效负荷的通用应用报头 [0284] i. Applications for the generic application payload header

[0285] 为了被适当地识别和处理,可以在GMP 1128的应用有效负荷字段1146内标识软件更新简档帧。 [0285] In order to be properly identified and processed, can be updated GMP 1128 Application payload field 1146 identifies the software profile within the frame. 在一些实施例中,所有软件更新简档帧可以使用诸如0X0000000C的公共简档Id 1176。 In some embodiments, all software updates frame profiles can be used such as a public profile Id 0X0000000C 1176. 附加地,软件更新简档帧可以包括指示附加信息的消息类型字段1172并且可以根据下表9和正被发送的消息的类型来选择。 Additionally, the software update profile frame may include additional information indicating a message type field 1172 and 9 may be selected in accordance with the message being sent and the type of the table.

Figure CN105684356AD00431

[0287] 表9.软件更新简档消息类型 [0287] Table 9. Software Update profile message type

[0288] 附加地,如在下面所描述的,软件更新序列可以通过服务器发送更新作为映像通告或者客户端接收更新作为映像查询来发起。 [0288] Additionally, as described below, the software update sequence can be advertised as an image server to send updates or clients receive updates as to initiate a query image. 在任何一个实施例中,来自发起事件的交换Id 1174被用于关于软件更新而使用的所有消息。 In either embodiment, the switching from the initiating event Id 1174 is used for all messages on the used software updates.

[0289] ii.协议序列 [0289] ii. Protocol Sequence

[0290]图24图示针对软件更新客户端1198与软件更新服务器1200之间的软件更新的协议序列1196的实施例。 [0290] FIG. 24 illustrates the protocol sequence for the software update client software with the software update server-side 1198 1200 between 1196 update embodiment. 在特定实施例中,结构中的任何设备可以是软件更新客户端1198或软件更新服务器1200。 In a particular embodiment, the structure of any device may be a software update client software update server 1198 or 1200. 协议序列1196的特定实施例可以包括可以在一些软件更新传输中省略的附加步骤,诸如图示为虚线的那些步骤。 1196 protocol sequence specific embodiment of embodiment may include additional steps may be omitted in some software update transmission, such as those steps as a dashed line icon.

[0291] 1.服务发现 [0291] 1. Service discovery

[0292] 在一些实施例中,协议序列1196始于软件更新简档服务器通告更新的存在。 [0292] In some embodiments, the protocol sequence begins with 1196 software update profile server announcement updated presence. 然而, 在其它实施例(诸如所图示的实施例)中,如上面所讨论的,协议序列1196始于服务发现1202〇 However, in other embodiments (such as the illustrated embodiment), as discussed above, a service discovery protocol sequence 1196 begins 1202〇

[0293] 2.映像通告 [0293] 2. The image Announcements

[0294] 在一些实施例中,可以由软件更新服务器1200来多播或单播映像通告消息1204。 [0294] In some embodiments, the software can be updated by the multicast server 1200 or 1204 single broadcast message as advertised. 映像通告消息1204通知结构中的设备服务器1200具有软件更新要提供。 1204 image advertisement message notification structure Device Server 1200 software update has to be provided. 如果更新适用于客户端1198,则在接收到映像通告消息1204后,软件更新客户端1198用映像查询消息1206做出响应。 If the update applies to the client 1198, after receiving the image in the advertisement message 1204, 1198 software update client responds with an image query message 1206. 在特定实施例中,可能不将映像通告消息1204包括在协议序列1196中。 In a particular embodiment, the image may not be included in the advertisement message 1204 protocol sequence in 1196. 替代地,在这些实施例中,软件更新客户端119 8可以使用轮询调度来确定何时发送映像查询消息1206〇 Alternatively, in these embodiments, the software update client 1198 can use the round-robin to determine when to send an image query message 1206〇

[0295] 3.映像查询 [0295] 3. Image inquiry

[0296] 在某些实施例中,如上面所讨论的,可以响应于映像通告消息1204或者根据轮询调度来从软件更新客户端1198单播映像查询消息1206。 [0296] In certain embodiments, as discussed above, in response to an image or to update the 1204 announcement message according to the polling scheduling software from the client 1198 as a single broadcast query message 1206. 映像查询消息1206包括来自客户端1198关于它本身的信息。 Image 1206 includes a query message 1198 from the client information on its own. 在图25中图示了映像查询消息1206的帧的实施例。 It illustrates an embodiment of an image query message frame 1206 in FIG. 25. 如图25中所图示的,映像查询消息1206的某些实施例可以包括帧控制字段1218、产品规格字段1220、厂商特定数据字段1222、版本规格字段1224、场所规格字段1226、所支持完整性类型字段1228以及所支持更新方案字段1230。 As illustrated in FIG. 25, the image query message 1206. Some embodiments may include a frame control field 1218, the field specifications 1220, 1222 vendor-specific data field, the version field 1224 specifications, properties field specifications 1226, supported integrity type field 1228 and update scenarios that are supported field 1230.

[0297] a.帧控制 [0297] a. Frame Control

[0298]帧控制字段1218包括1个字节并且指示关于映像查询消息1204的各种信息。 [0298] The frame control field 1218 includes one byte and indicates a variety of information about the image query message 1204. 在图26中图示了帧控制字段128的示例。 It illustrates an example of a frame control field 128 in FIG. 26. 如所图示的,帧控制字段1218可以包括三个子字段:厂商特定标志1232、场所规格标志1234、和保留字段S3。 As illustrated, the frame control field 1218 may include three sub-fields: vendor-specific flag 1232, place-size marks 1234, and a reserved field S3. 厂商特定标志1232指示厂商特定数据字段1222是否被包括在消息映像查询消息中。 Vendor specific flag 1232 indicates whether the vendor-specific data field 1222 is included in the message image query message. 例如,当厂商特定标志1232是0时无厂商特定数据字段1222可以存在于映像查询消息中,但是当厂商特定标志1232是1时厂商特定数据字段1222可以存在于映像查询消息中。 For example, when a 1232 vendor-specific flag is zero when there is no vendor-specific data field 1222 may be present in the image query message, but when the vendor-specific flag 1232 is 1 vendor-specific data field 1222 may be present in the image query message. 类似地,场所规格标志1234中的1值指示场所规格字段1226存在于映像查询消息中,而0值指示场所规格字段1226不存在于映像查询消息中。 Similarly, the size designation places a value of 1 indicates the place in the 1234 specification field 1226 is present in the image query message, while 0 indicates places specification field 1226 is not present in the image query message. [0299] b.产品规格 [0299] b. Specifications

[0300]产品规格字段1220是六字节字段。 [0300] product specification field 1220 is a six-byte field. 在图27中图示了产品规格字段1220的实施例。 It illustrates an example embodiment of the product specification field 1220 in Figure 27. 如所图示的,产品规格字段1220可以包括三个子字段:厂商Id字段1236、产品Id字段1238、 和产品修订字段1240。 As illustrated, the product specification field 1220 may include three sub-fields: Vendor Id field 1236, 1238 Product Id field, and product revision field 1240. 厂商Id字段1236包括指示软件更新客户端1198的厂商的十六个比特。 Manufacturer Id field 1236 includes information indicating updating client software vendors 1198 sixteen bits. 产品Id字段1238包括将正在发送映像查询消息1206的设备产品指示为软件更新客户端1198的十六个比特。 Product Id field 1238 includes the image you're sending a query message 1206 indicates equipment products client software update sixteen bits 1198. 产品修订字段1240包括指示软件更新客户端1198的修订属性的十六个比特。 Product Revision field 1240 includes information indicating client software updates Revision properties sixteen bits 1198.

[0301] c.厂商特定数据 [0301] c. Vendor-specific data

[0302]厂商特定数据字段1222当存在于映像查询消息1206中时具有可变数目的字节的长度。 [0302] vendor-specific data field exist in 1222 when the image query messages with a variable number of bytes in length 1206 when. 可以根据帧控制字段1218的厂商特定标志1232来确定厂商特定数据字段1222的存在。 It can determine the vendor-specific data field is present based on the frame control field 1222 1218 vendor-specific symbol 1232. 如上所述,当存在时,厂商特定数据字段1222按照TLV格式对关于软件更新客户端1198 的厂商特定信息进行编码。 As described above, when present, vendor-specific data field for 1222 in accordance with the TLV format on the Software Updates Client 1198 vendor-specific information is encoded.

[0303] d.版本规格 [0303] d. Specification version

[0304]在图28中图示了版本规格字段1224的实施例。 [0304] illustrates an embodiment example version specification field 1224 in FIG. 28. 版本规格字段1224包括被细分成以下两个子字段的可变数目的字节:版本长度字段1242和版本字符串字段1244。 Version 1224 includes a field specification is subdivided into the following two sub-fields of a variable number of bytes: Version length field 1242 and 1244 versions of string field. 版本长度字段1242包括指示版本字符串字段1244的长度的八个比特。 Version 1242 includes eight-bit length field indicating the 1244 version string field length. 版本字符串字段1244在长度上可变并且由版本长度字段1242来确定。 1244 version string fields in length and variable length fields by the 1242 version to determine. 在一些实施例中,可以在长度上以255个UTF-8字符覆盖版本字符串字段1244。 In some embodiments, the length may be 255 UTF-8 character string fields cover version of 1244. 在版本字符串字段1244中编码的值指示针对软件更新客户端1198 的软件版本属性。 In the version string field value 1244 encoded instructions to update client software version attribute 1198 for software.

[0305] e.场所规格 [0305] e. Place Specifications

[0306] 在某些实施例中,当帧控制1218的场所规格标志1234是1时可以将场所规格字段1226包括在映像查询消息1206中。 [0306] In certain embodiments, when the frame control 1218 places 1234 specification flag is 1 can place specification field 1226 included in the image query message 1206. 在图29中图示了场所规格字段1226的实施例。 In FIG. 29 illustrates an example embodiment places specification field 1226. 场所规格字段1226的所图示的实施例包括被细分成以下两个子字段的可变数目的字节:场所字符串长度字段1246和场所字符串字段1248。 Example specification properties illustrated field include 1226 is subdivided into the following two sub-fields of a variable number of bytes: place the string length field 1246 and 1248 places a string field. 场所字符串长度字段1246包括指示场所字符串字段1248的长度的八个比特。 Place the string length field 1246 includes instructions 1248 places a string field length of eight bits. 场所规格字段1226的场所字符串字段1248可以在长度上可变并且包含基于便携式操作系统接口(P0SIX)场所代码对本地描述进行编码的UTF-8字符的字符串。 Specifications string field properties field properties 1226 1248 can be variable and the string-based Portable Operating System Interface (P0SIX) place the code described in the local encoding UTF-8 characters are included in the length. P0SIX场所代码的标准格式是[language[_territory] [·codeset] [Omodifier]]。 Standard format P0SIX place of the code is [language [_territory] [· codeset] [Omodifier]]. 例如, 澳大利亚英语的P0SIX表示是en_AU. UTF8。 For example, Australian English P0SIX representation is en_AU. UTF8.

[0307] f.所支持完整性类型 [0307] f. Integrity types supported

[0308] 在图30中图示了完整性类型字段1228的实施例。 [0308] illustrates an example embodiment of the integrity of the type field 1228 in FIG. 30. 所支持完整性类型字段1228包括被细分成以下两个子字段的两至四个字节的数据:类型列表长度字段1250和完整性类型列表字段1252。 The type field 1228 includes support integrity is subdivided into the following two sub-fields of two to four bytes of data: 1250 Type list length field and the integrity of the type list field 1252. 类型列表长度字段1250包括指示完整性类型列表字段1252的字节长度的八个比特。 Type list length field 1250 includes eight-bit field indicates the integrity of the list of types of 1252 bytes in length. 完整性类型列表字段1252指示软件更新客户端1198的软件更新完整性类型属性的值。 The integrity of the type list field 1252 indicates that the software update client software updates the value of the integrity of the 1198 type of property. 在一些实施例中,完整性类型可以从下表10得到。 In some embodiments, the integrity of the type can be obtained from Table 10 below.

Figure CN105684356AD00451

[0310] 表10.示例完整性类型 [0310] Table 10. Sample integrity type

[0311]完整性类型列表字段1252可以包含来自表10的至少一个元素或未包括的其它附加值。 [0311] the integrity of the type list field 1252 may comprise at least one other value-added elements from the table 10 or not included.

[0312] g.所支持更新方案 [0312] g. The support program update

[0313]在图31中图示了所支持方案字段1230的实施例。 [0313] illustrates an embodiment of the program supported by field 1230 in FIG. 31. 所支持方案字段1230包括被划分成以下两个子字段的可变数目的字节:方案列表长度字段1254和更新方案列表字段1256。 The field program includes support for 1230 is divided into the following two sub-fields of a variable number of bytes: program list length field 1254 and update the program list field 1256. 方案列表长度字段1254包括指示更新方案列表字段的字节长度的八个比特。 List length field 1254 program includes instructions to update the program list field length in bytes of eight bits. 所支持更新方案字段1222的更新方案列表字段1256在长度上可变并且由方案列表长度字段1254来确定。 The update program updates the program list field Fields 1222 1256 variable in length and consists of a list of program length field to determine the 1254 support. 更新方案列表字段1256表示软件更新客户端1198的软件更新简档的更新方案属性。 Update program list field 1256 indicates that the software update client software update profile update program attributes 1198. 在下表11中示出了示例值的实施例。 Table 11 below shows an exemplary embodiment values.

Figure CN105684356AD00452

[0316]表11.示例更新方案 [0316] Table 11. Sample update program

[0317]在接收到映像查询消息1206后,软件更新服务器1200使用所发送的信息来确定软件更新服务器1200是否具有针对软件更新客户端1198的更新并且如何最好地将更新递送给软件更新客户端1198。 [0317] Upon receipt of the query message 1206 image, information about the software update server using the 1200 sent to determine whether the software update server 1200 software update for the 1198 client updates and how best to deliver updates to the software update client 1198.

[0318] 4.映像查询响应 [0318] 4. The image query response

[0319] 返回到图24,在软件更新服务器1200从软件更新客户端1198接收到映像查询消息1206之后,软件更新服务器1200用映像查询响应1208做出响应。 [0319] Returning to Figure 24, after the software update server software updates 12,001,198 received from the client to the image query message 1206, Software Update Server 1200 with the image query response 1208 to respond. 映像查询响应1208包括详述更新映像为什么不可被软件更新客户端1198利用的信息或者关于可用映像更新以使得软件更新客户端1198能够下载和安装更新的信息。 Image query response 1208 includes updated map detailing why the software update information can not be utilized or 1198 client about the available software update image update to enable client 1198 can download and install the update.

[0320]在图32中图示了映像查询响应1208的帧的实施例。 [0320] illustrates a query image in Fig. 32 in response to an embodiment of the frame 1208. 如所图示的,映像查询响应1208包括五个可能的子字段:查询状态字段1258、统一资源标识符(URI)字段1260、完整性规格字段1262、更新方案字段1264和更新选项字段1266。 As illustrated, the image query response 1208 may include five sub-fields: Query status field 1258, a uniform resource identifier (URI) field 1260, the integrity of the field specifications 1262, 1264 field program update and update options field 1266.

[0321] a.查询状态 [0321] a. Check status

[0322] 查询状态字段1258包括可变数目的字节并且包含状态报告格式化数据,如参考状态报告上面所讨论的。 [0322] Query status field 1258 includes a variable number of bytes and contains a status report formatting data, such as the reference to the status report discussed above. 例如,查询状态字段1258可以包括映像查询响应状态代码,诸如在下面表12中所图示的那些。 For example, the query status field 1258 may include an image query response status code, such as those in the following Table 12 as illustrated.

Figure CN105684356AD00461

[0325] 表12.示例映像查询响应状态代码 [0325] Table 12. Sample image query response status code

[0326] b.URI [0326] b.URI

[0327] URI字段1260包括可变数目的字节。 [0327] URI field 1260 includes a variable number of bytes. 可以通过查询状态字段1258来确定URI字段1260的存在。 1258 URI field can be determined by querying the 1260 field presence status. 如果查询状态字段1258指示更新是可用的,则可以包括URI字段1260。 If the query status field 1258 indicates the update is available, you can include the URI field 1260. 在图33 中图示了URI字段1260的实施例。 Example embodiments illustrated URI field 1260 in FIG. 33. URI字段1260包括两个子字段:URI长度字段1268和URI字符串字段1270 WRI长度字段1268包括指示UTF-8字符的URI字符串字段1270的长度的十六个比特。 URI field 1260 includes two sub-fields: URI length field 1268 and 1270 WRI URI string field length field 1268 includes sixteen bits URI string field indicates UTF-8 characters in length 1270. URI字符串字段1270指示正被呈现的软件映像更新的URI属性,使得软件更新客户端1198也许能够在存在时定位、下载、并安装软件映像更新。 URI URI string attribute field 1270 indicates being rendered image update software, making software updates client 1198 may be able to locate at present, download and install the software image updates.

[0328] c.完整性规格 [0328] c. Integrity Specifications

[0329]完整性规格字段1262可以在长度上可变并且在查询状态字段1258指示更新可从软件更新服务器1198被软件更新客户端1198利用时存在。 [0329] integrity specification field 1262 may be variable in length and query the status update field 1258 indicates the presence of the client 1198 can take advantage of a software update from the software update server is 1198. 在图34中图示了完整性规格字段1262的实施例。 It illustrates an example embodiment of integrity specification field 1262 in FIG. 34. 如所图示的,完整性规格字段1262包括两个子字段:完整性类型字段1272和完整性值字段1274。 As illustrated, the integrity of the specification field 1262 includes two sub-fields: the integrity and completeness of the Type field 1272 value field 1274. 完整性类型字段1272包括指示软件映像更新的完整性类型属性并且可以使用与上表10中所图示的列表类似的列表来填充的八个比特。 The integrity of the type field 1272 includes information indicating the type of software image updating integrity properties and can be used 10 as illustrated in the table with a list similar to populate the list of eight bits. 完整性值字段1274包括被用来验证映像更新消息已在传输期间维持完整性的完整性值。 Integrity value field 1274 includes an image update messages used to verify the integrity of the value of maintaining the integrity during transmission.

[0330] d.更新方案 [0330] d. Update program

[0331]更新方案字段1264包括八个比特并且在查询状态字段1258指示更新可从软件更新服务器1198被软件更新客户端1198利用时存在。 [0331] 1264 update scheme field comprises eight bits and indicates the updated field 1258 may be present in 1198 when the use of query the status of the software update from the software update server 1198 is the client. 如果存在,则更新方案字段1264指示针对正被呈现给软件更新服务器1198的软件更新映像的方案属性。 If so, update the program instructions for the field 1264 is being presented to the software update server 1198 software update image Scenario Properties.

[0332] e.更新选项 [0332] e. Update options

[0333]更新选项字段1266包括八个比特并且在查询状态字段1258指示更新可从软件更新服务器1198被软件更新客户端1198利用时存在。 [0333] 1266 Update option field comprises eight bits and query the status update field 1258 indicates the existence of software updates by Software Update Server 1198 clients use from 1198. 可以像图35中所图示的那样细分更新选项字段1266。 Can be broken down as updated as illustrated in FIG. 35 option field 1266. 如所图示的,更新选项字段1266包括四个子字段:更新优先级字段1276、更新条件字段1278、报告状态标志1280、和保留字段1282。 As illustrated, the 1266 update options field consists of four sub-fields: Updated priority field 1276, the update condition field 1278, report status flag 1280, and a reserved field 1282. 在一些实施例中,更新优先级字段1276包括两个比特。 In some embodiments, update the priority field 1276 includes two bits. 更新优先级字段1276指示更新的优先级属性,并且可以使用诸如下表13中所图示的那些值的值来确定。 Update priority field 1276 indicates the priority attribute updates, and can use a value such as 13, as illustrated in the table below to determine those values.

Figure CN105684356AD00462

[0335] 表13.示例更新优先级值 [0335] Table 13. Sample update the priority value

[0336] 更新条件字段1278包括可以被用来确定用于确定何时或是否更新的条件因素的三个比特。 [0336] 1278 includes an update condition field can be used to determine when or three bits are used to determine whether to update the conditions of factors. 例如,可以使用下表14来对更新条件字段1278中的值进行解码。 For example, you can use the following table 14 to update the condition of the field value in 1278 is decoded.

Figure CN105684356AD00471

[0338]表14.示例更新条件 [0338] Table 14. Sample update condition

[0339]报告状态标志1280是指示软件更新客户端1198是否应该用下载通知消息1210做出响应的单个比特。 [0339] report 1280 state flag indicating whether the client software update should download 1198 1210 notification message to respond to a single bit. 如果报告状态标志1280被设置为1,则软件更新服务器1198正在请求下载通知消息1210在软件更新由软件更新客户端1200下载之后发送。 If the report status flag 1280 is set to 1, the software update server 1198 download request notification message is sent in 1210 after a software update from the software update client 1200 download.

[0340] 如果映像查询响应1208指示更新是可用的。 [0340] If the image query response indicating the 1208 update is available. 软件更新客户端1198在映像查询响应1208中所指示的时间处使用包括在映像查询响应1208中的信息来下载1210更新。 Software Updates Client 1198 1208 in response to the query image as indicated at the time included in the image using the query response information 1208 to 1210 download the update.

[0341] 5.下载通知 [0341] 5. Download Notifications

[0342]在更新下载1210成功地完成或失败了并且报告状态标志1280值是1之后,软件更新客户端1198可以用下载通知消息1212做出响应。 [0342] In the 1210 update download successfully completed or failed state flag 1280 and reported value after 1, 1198 to update the client software can be downloaded notification message 1212 to respond. 可以根据上面所讨论的状态报告格式来对下载通知消息1210进行格式化。 1210 notification messages can be formatted according to the state discussed above reporting format for download. 在下表15中图示了下载通知消息1212中使用的状态代码的示例。 Table 15 below illustrates an example of a download notification message used in the 1212 status code.

Figure CN105684356AD00472

[0344] 表15.示例下载通知状态代码 [0344] Table 15. Sample download notification status code

[0345] 除上面所描述的状态报告之外,下载通知消息1208可以包括可能与下载和/或未能下载相关的附加状态信息。 [0345] In addition to the above-described status report, download notification message 1208 may include the possibility to download additional state and / or fail to download information.

[0346] 6.通知响应 [0346] 6. The notification response

[0347] 软件更新服务器1200可以响应于下载通知消息1212或更新通知消息1216来用通知响应消息1214做出响应。 [0347] Software Update server 1200 in response to the notification message 1212 or download the update notification message 1216 to 1214 with a notification response message to respond. 如上所述,通知响应消息1214可以包括状态报告格式。 As described above, the notification response message 1214 may include status reporting format. 例如,通知响应消息1214可以包括如下表16中所枚举的状态代码。 For example, the notification response message 1214 may include the following Table 16 enumerated status code.

Figure CN105684356AD00481

[0350] 表16.示例通知响应状态代码 [0350] Table 16. Example notification response status code

[0351] 除上面所描述的状态报告之外,通知响应消息1214可以包括可能与用于下载/更新软件更新的下载、更新、和/或失败相关的附加状态信息。 [0351] In addition to the status report as described above, may include a notification response message 1214 may be used to download / update the software updates download, update, and / or failure of the additional information related to the state.

[0352] 7.更新通知 [0352] 7. Update Notification

[0353]在更新成功地完成或失败了并且报告状态标志1280值是1之后,软件更新客户端1198可以用更新通知消息1216做出响应。 [0353] In the update completed successfully or failed and reports the status flag is 1 after 1280, 1198 Software Update client can update notification message 1216 to respond. 更新通知消息1216可以使用上面所描述的状态报告格式。 1216 update notification message may use the above-described status reporting format. 例如,更新通知消息1216可以包括如下表17中所枚举的状态代码。 For example, the update notification message 1216 may include the following Table 17 enumerated status code.

Figure CN105684356AD00482

[0355] 表17.示例更新通知状态代码 [0355] Table 17. Example status code update notification

[0356] 除上面所描述的状态报告之外,更新通知消息1216可以包括可能与更新和/或更新失败相关的附加状态信息。 [0356] In addition to the status report as described above, the update notification message 1216 may include the possibility of additional status updates and / or information related to the failed update.

[0357] C.数据管理协议 [0357] C. Data Management Protocol

[0358] 数据管理可以被包括在结构内的各种电子设备中所使用的公共简档(例如,核心简档)中或者可以被指定为单独的简档。 [0358] Data may be included in the management structure of various electronic devices used by public profile (for example, the core profile), or may be designated as a separate profile. 在任何情形下,设备管理协议(DMP)可以被用于节点浏览、共享和/或更新节点驻留信息。 In any case, Device Management Protocol (DMP) can be used to browse the node, sharing, and / or update the node information residing. 在图36中图示了DMP中使用的序列1284。 Illustrates the sequence DMP 1284 used in FIG. 36. 序列1284图示请求查看和/或改变被查看节点1288的驻留数据的查看节点1286。 1284 request sequence diagram view and / or alter the view of data residing node 1288 Check node 1286. 此外,查看节点1286可以请求使用数个查看选项中的一个(诸如快照请求、查看在一定时间段期间持续的观看请求、或其它适合的查看类型)来查看驻留数据。 In addition, node 1286 can view a number of requests to view one of the options (such as snapshot request to view a certain period of time during continuous viewing requests, or other suitable type of view) to view the data resides. 每个消息遵循参考图21所描述的应用有效负荷1146的格式。 Each message follows the application described with reference to FIG. 21 of 1146 payload format. 例如,每个消息包含对应于数据管理简档和/或相关核心简档的简档Id 1176,诸如0x235A0000。 For example, each message contains the data corresponding to the management profile and / or related core profile profile Id 1176, such as 0x235A0000. 每个消息还包含消息类型1172。 Each message also contains a message type 1172. 消息类型1172可以被用来确定与会话有关的各种因素,诸如用于视图的查看类型。 Message Type 1172 can be used to determine the factors related to the session, such as for viewing the type of view. 例如,在一些实施例中,可以根据下表18对消息类型字段1172进行编码/解码。 For example, in some embodiments, a message type field 1172 can encode / decode according to the table 18.

Figure CN105684356AD00483

Figure CN105684356AD00491

[0360] 表18.示例软件更新简档消息类型 [0360] Table 18. Sample software update profile message type

[0361] i.视图请求 [0361] i. View request

[0362] 如上面所讨论的,尽管视图请求消息1290请求查看节点驻留数据,但是请求的类型可以由消息类型字段1172确定。 [0362] As discussed above, although the view request message 1290 request to see the data node hosts, but the type of the request may be determined by the message type field 1172. 因此每个请求类型可以包括不同的视图请求帧。 Therefore, each request may include different types of views request frame.

[0363] 1.快照请求 [0363] 1. Snapshot request

[0364]当查看节点1286期望在不用请求将来更新的情况下进入被查看节点1288上的节点驻留数据的即时查看时,可以由查看节点1286发送快照请求。 [0364] When viewing the desired node 1286 in the case of a request for future updates without entering the node being viewed 1288 node residing on data instantly view, the view can be requested by sending snapshots node 1286. 在图37中图示了快照请求帧1292的实施例。 Example illustrates a snapshot request frame 1292 in FIG. 37.

[0365] 如图37中所图示的,快照请求帧1292可以在长度上可变并且包括三个字段:视图句柄字段1294、路径长度列表字段1296、和路径列表字段1298。 [0365] As illustrated in FIG. 37, the snapshot request frame 1292 and comprises three fields can be variable in length: 1294 view handle field, the path length of the list field 1296, and a list of paths field 1298. 视图句柄字段1294可以包括提供"句柄"来标识所请求的视图的两个比特。 View handle field 1294 may include providing two bits of view "handle" to identify the request. 在一些实施例中,视图句柄字段1294与在请求被形成时在查看节点1286上执行的唯一性校验一起使用随机16比特数或16比特序列号来填充。 In some embodiments, the field of view of the handle 1294 and at the time the request is executed formed in 1286 on the View node uniqueness of validation for use with 16-bit random number or a 16-bit sequence number to fill. 路径列表长度字段1296包括指示路径列表字段1298的长度的两个字节。 Path list includes two-byte length field 1296 indicates the path of the 1298 list field length. 路径列表字段1298在长度上可变并且由路径列表长度字段1296的值来指示。 1298 path list field variable in length and by the value of the path length of the list field 1296 to indicate. 路径列表字段1298的值指示针对节点的模式路径。 Value path list field 1298 indicating the path for node model.

[0366] 模式路径是针对作为驻留在节点上的模式的一部分的数据项或容器的紧凑描述。 [0366] model described as the path for compact residing on node pattern data item or a portion of the container. 例如,图38提供简档模式1300的示例。 For example, Figure 38 provides an example of a profile model 1300. 在所图示的简档模式1300中,可以按照二进制格式将到数据项1302的路径写为"F 〇〇:自行车:山地"。 In the illustrated profile model 1300 can be in binary format to the data item 1302 path written as "F thousand and: Cycling: Mountain." 如图39中所描绘的,可以将路径的二进制格式表示为简档二进制格式1304。 As depicted in Figure 39, it can be represented as a binary format path profile 1304 in binary format. 简档二进制格式1304包括两个子字段:简档标识符字段1306和TLV数据字段1308。 Profile binary format 1304 includes two sub-fields: a profile identifier field 1306 and 1308 TLV data field. 简档标识符字段1306标识哪一个简档正被引用(例如,Foo简档)。 Profile identifier field 1306 identifies a profile which is being referenced (for example, Foo profile). TLV数据字段1308包括路径信息。 TLV data field 1308 includes the path information. 如先前所讨论的,TLV数据包括包含关于所包封的数据的信息的标签字段。 As previously discussed, TLV tag field containing data including the information about the encapsulated data. 用来表示图38的Foo简档的标签字段值可以与表19中所列举的那些值类似。 Figure tag field used to indicate the value of Foo profile 38 may be similar to those values listed in Table 19 and.

Figure CN105684356AD00492

Figure CN105684356AD00501

[0368] 表19. Foo简档的示例标签值 [0368] Example tag value table 19. Foo profile

[0369] 使用表19和图38的Foo简档,表示路径"Foo:自行车:山地"的TLV格式的二进制字符串可以像下表20中所示出的那样来表示。 [0369] Use Table 19 and Foo profile 38, showing the path binary string "Foo:: Mountain bike" in TLV format can be illustrated as 20, as represented in the following table.

Figure CN105684356AD00502

[0371 ] 表20.模式路径的示例二进制标签列表 Example Binary tag list [0371] Table 20. Model Path

[0372]如果查看节点1286期望接收在简档模式(例如,图39的Foo简档模式)中定义的整个数据集,则视图请求消息1290可以请求"nil"项(例如,表示容器的OxODOOTL以及空长度)。 [0372] If you look at node 1286 desires to receive in profile mode (for example, FIG. 39 Foo profile mode) the entire data set defined in the view request message 1290 may request a "nil" items (for example, represents OxODOOTL container and empty length).

[0373] 2.观看请求 [0373] 2. Watch request

[0374] 如果查看节点1286期望多于一个快照,则查看节点1286可以请求观看请求。 [0374] If you look at more than a snapshot of the desired node 1286, node 1286 can then view the request viewing requests. 观看请求要求被查看节点1288在对被查看节点1288中的感兴趣数据作出改变时发送更新,使得查看节点1286能够保持数据的同步列表。 Watch request asks viewed node 1288 at node 1288 to be viewed in the data of interest to make changes to send updated so node 1286 can view the list of synchronized data. 观看请求帧可以具有与图37的快照请求不同的格式。 Watch request frame may have a snapshot request 37 different formats. 在图40中图示了观看请求帧1310的实施例。 Example illustrates a viewing request frame 1310 in FIG. 40. 观看请求帧1310包括四个字段:视图句柄字段1312、路径列表长度字段1314、路径列表字段1316、和改变计数字段1316。 Watch request frame 1310 includes four fields: 1312 view handle field, the path length of the list field 1314, a list of paths field 1316, and the change count field 1316. 视图句柄字段1312、路径列表长度字段1314、和路径列表字段可以被分别格式化为与图37的快照请求的视图句柄字段1294、路径列表长度字段1296、和路径列表字段1298类似。 View handle field view handle field 1312, a list of path length field 1314, and a list of paths and fields can be formatted as 37 requests a snapshot 1294 respectively, the path length of the list field 1296, and 1298 is similar to the path list field. 附加字段(改变计数字段1318)指示对更新被发送到查看节点1286的所请求的数据的改变的数目的阈值。 Additional fields (change count field 1318) indicates an update is sent to change the view of the requested node 1286 data on the number of thresholds. 在一些实施例中,如果改变计数字段1318的值是0,则被查看节点1288可以靠自己确定何时发送更新。 In some embodiments, if the count value of the field 1318 is changed to 0, node 1288 can view were on their own to determine when to send updates. 如果改变计数字段1318的值是非零,则在改变的数目等于该值之后,那么更新被发送到查看节点1286。 If, after changing the count field 1318 is a non-zero value, then the number is equal to the change in value, updates are sent to the viewer node 1286.

[0375] 3.周期性更新请求 [0375] 3. The periodic update requests

[0376]第三类型的视图还可以由查看节点1286请求。 [0376] The third type of view you can also view the request by the node 1286. 这个第三类型的视图被称为周期性更新。 This third type of view is called periodically updated. 周期性更新包括快照视图以及周期性更新。 Periodically update includes a snapshot view and updated periodically. 如可以理解的,周期性更新请求可以与具有确定更新周期的附加信息的快照请求类似。 As can be appreciated, the periodic update requests may have additional information to determine the update cycle is similar to a snapshot request. 例如,在图41中描绘了周期性更新请求帧1320的实施例。 For example, in Fig. 41 depicts a periodic update request frame 1320 of the embodiment. 周期性更新请求帧1320包括四个字段:视图句柄字段1322、路径列表长度字段1324、路径列表字段1326、和更新周期字段1328。 Periodic update request frame 1320 includes four fields: 1322 view handle field, the path length of the list field 1324, a list of paths field 1326, 1328, and the update cycle field. 视图句柄字段1322、路径列表长度字段1324、和路径列表字段1326可以被格式化为与它们在快照请求帧1292中的相应字段类似。 1322 view handle field, the path length of the list field 1324, and a list of paths field 1326 may be formatted as a frame 1292 corresponding fields in which they are similar in the snapshot request. 更新周期字段1328在长度上是四个字节并且包含对应于以相关时间单位(例如,秒)在更新之间经过的时间段的值。 1328 Update Period field is four bytes in length and contains the relevant time unit (e.g., second) between the value after the update corresponding to a time period.

[0377] 4.刷新请求 [0377] 4. refresh request

[0378]当查看节点1286期望接收更新的快照时,查看节点1286可以发送形式为如图42中所图示的刷新请求帧1330的视图请求消息1290。 [0378] When viewing node 1286 expects to receive an updated snapshot view node 1286 can send the form as shown in Figure 42 in the refresh request frame 1330 illustrated view of a request message 1290. 刷新请求帧1330根据被查看节点1288能够使用刷新请求帧1330中的视图句柄值来识别为先前请求的先前快照请求,而基本上再次发送快照视图句柄字段(例如,视图句柄字段1294)。 1330 refresh request frame refresh request handler value in view of a frame 1330 viewed 1288 can be used to identify the node to a previous snapshot request previously requested, and basically sent again a snapshot view of the handle field (for example, view handle field 1294).

[0379] 5.取消视图请求 [0379] 5. The request to cancel view

[0380] 当查看节点1286期望取消正在进行的视图(例如,周期性更新或观看查看)时,查看节点1290可以发送形式为如图43中所图示的取消视图请求的视图请求消息1290。 [0380] When viewing the desired node 1286 Cancel a view (for example, periodically update or view view), the view node 1290 can send the form 43 as illustrated in view of the request of cancellation request message 1290 as shown in the view. 取消视图请求帧1332根据被查看节点1288能够使用刷新请求帧1330中的视图句柄值来识别为先前请求的先前请求,而基本上再次发送来自先前周期性更新或观看视图的视图句柄字段(例如,视图句柄字段1310或1322),并且取消当前周期性更新或观看视图。 Cancel View request frame 1332 frame refresh request handler value in view of 1330 being viewed node 1288 can be used to identify previously requested previously requested, and basically send periodic updates from the previous view or view handle field of view (for example, once again, view handle field 1310 or 1322), and cancel the current periodic updates or watch the view.

[0381] ii.视图响应 [0381] ii. View response

[0382] 返回到图36,在被查看节点1288接收到视图请求消息1290之后,被查看节点1288 用视图响应消息1334做出响应。 [0382] Returning to FIG. 36, viewed in the node 1288 receives the request message to the view after 1290, it has been viewed 1288 node 1334 with a view to respond to the response message. 在图44中图示了视图响应消息帧1336的示例。 It illustrates a view of an example of a response message frame 1336 in FIG. 44. 视图响应消息帧1336包括三个字段:视图句柄字段1338、视图请求状态字段1240、和数据项列表1242。 View response message frame 1336 consists of three fields: 1338 view handle field, the view request status fields 1240, 1242 and the list of data items. 可以将视图句柄字段1338格式化为与上面引用的视图句柄字段1338中的任一个类似。 You can view handle field 1338 is formatted with any of the above-cited view handle 1338 in a similar field. 此外,视图句柄字段1338包含和来自视图响应消息1334正做出响应的视图请求消息1290的相应的视图句柄字段匹配的值。 In addition, the 1338 field contains the view handle and respond to messages from view 1334 to respond positively view the request value of the corresponding field of view handle messages that match 1290. 视图请求状态字段1340是指示视图请求的状态并且可以根据上面所讨论的状态更新格式来格式化的可变长度字段。 View request status field 1340 is an indication of the status of the request and can view updates variable-length field format to format according to the state discussed above. 数据项列表字段1342是当视图请求状态字段1340指示视图请求成功时存在的可变长度字段。 Items list field 1342 is when the view field 1340 indicates the status of the request variable-length field view request success exist. 当存在时,数据项列表字段1342 包含与视图请求消息1290的路径列表对应的请求的数据的有序列表。 When present, the list of data items field contains an ordered list of messages 1290 1342 Route and Request List view corresponding request data. 而且,如上面所讨论的,可以按照TLV格式对数据项列表字段1342中的数据进行编码。 Moreover, as discussed above, in accordance with the format of the TLV data field 1342 in the list of data items are encoded.

[0383] iii.更新请求 [0383] iii. Update Request

[0384] 如上面所讨论的,在一些实施例中,被查看节点1288可以向视图节点1286发送更新。 [0384] As discussed above, in some embodiments, be viewed node 1288 can send updates to the view node 1286. 可以发送这些更新作为更新请求消息1344。 These updates can be sent as an update request message 1344. 更新请求消息1344可以包括依赖于更新请求的类型的指定格式。 1344 update request message may include updating the specified format depends on the type of request. 例如,更新请求可以是可以由消息Id 1172来标识的显式更新请求或查看更新请求字段。 For example, the update request may be explicitly requested by the update message Id 1172 to identify or check update request field.

[0385] 1.显式更新请求 [0385] 1. explicit update request

[0386] 作为对于来自结构1000中的另一节点的信息的期望的结果,可以在任何时候发送显式更新请求。 [0386] As for the desired information from another node in the structure of the 1000 results, you can send an explicit update request at any time. 可以在图45中所图示的更新请求帧1346中对显式更新请求进行格式化。 Updates can be illustrated in Fig. 45 request frame 1346 to explicitly update request format. 所图示的更新请求帧1346包括四个字段:更新句柄字段1348、路径列表长度字段1350、路径列表字段1352、和数据项列表字段1354。 The illustrated update request frame 1346 includes four fields: Update Handle field 1348, a list of path length field 1350, a list of paths field 1352, and the list of data items field 1354.

[0387] 更新句柄字段1348包括可以利用带有唯一性校验的随机数或顺序数填充的两个字节以标识更新请求或对该请求的响应。 [0387] Update 1348 includes a handle field can be used with the uniqueness of validation random number or sequence number filled two bytes to identify the update request or response to the request. 路径列表长度字段1350包括指示路径列表字段1352的长度的两个字节。 Path List length field 1350 includes two bytes indicating the path list 1352 field length. 如上所述,路径列表字段1352是指示一系列路径的可变长度字段。 As described above, the path list field 1352 is an indication of the path of a series of variable length fields. 可以将数据项列表字段1354格式化为与数据项列表字段1242类似。 Data can be formatted as a list of items field 1354 and 1242 similar items list field.

[0388] 2.视图更新请求 [0388] 2. The view update request

[0389]视图更新请求消息可以由先前已请求了进入另一节点的模式的视图的节点或已代表另一节点建立了进入它自己的数据的视图的节点来传送。 [0389] View from a previous update request message may have entered the requested mode other node or nodes of view on behalf of another node has established its own data into the view of the nodes to transmit. 在图46中图示了视图更新请求帧1356的实施例。 Illustrated in FIG. 46 view update request Example frame 1356. 视图更新请求帧1356包括四个字段:更新句柄字段1358、视图句柄字段1360、更新项列表长度字段1362、和更新项列表字段1364。 View update request frame 1356 includes four fields: Update Handle field 1358, 1360 view handle field, a length field to update the list of items 1362, 1364 and updated item list field. 可以使用参考更新句柄字段1348 上面所讨论的格式来组成更新句柄字段1358。 You can use the reference field format update handle 1348 as discussed above to form a handle to update the field 1358. 视图句柄字段1360包括标识由具有相同视图句柄的相关视图请求消息1290所创建的视图的两个字节。 View handle field 1360 includes two bytes identify the message 1290 views created by the relevant view with the same view handle requests. 更新项列表长度字段1362包括两个字节并且指示被包括在更新项列表字段1364中的更新项的数目。 Update item list length field 1362 includes two bytes and indicating the number of updates to be included in the update items in the 1364 entry list field.

[0390]更新项列表字段1364包括可变数目的字节并且列举构成经更新的值的数据项。 [0390] Update item list field 1364 includes a variable number of bytes of data and include items constituting the updated value. 每个更新项列表可以包括多个更新项。 Each entry can include multiple update list update items. 单独的更新项是根据图47中所图示的更新项帧1366相应地格式化的。 The update is based on a single item update item frame as illustrated in FIG. 47 corresponding to the 1366 format. 每个更新项帧1366包括三个子字段:项索引字段1368、项时间戳字段1370、 和数据项字段1372。 Each update item frame 1366 includes three subfields: 1368, item timestamp field entry index field 1370, 1372, and data entry fields. 项索引字段1368包括指示更新正被请求的视图以及针对数据项字段1372的该视图的路径列表中的索引的两个字节。 Item includes instructions to update the index field 1368 is being requested as well as a view of the path for two-byte field of the data item in the list view of the 1372 index.

[0391]项时间戳字段1370包括四个字节并且指示从改变起直到做出了正被传递的更新为止所经过的时间(例如,以秒为单位)。 [0391] Item timestamp field 1370 comprises four bytes and indicates a change from starting until the update is being made until the transfer of the elapsed time (for example, in seconds). 如果已经对数据项做出多于一个改变,则项时间戳字段1370可以指示最近或最早的改变。 If you have to make more than one data item is changed, the entry stamp field 1370 may indicate recent or earliest change. 数据项字段1372是将作为经更新的信息被接收的按照TLV格式编码的可变长度字段。 Data entry field 1372 is a variable-length field TLV encoding format, as updated in accordance with the information received.

[0392] iv.更新响应 [0392] iv. Update Response

[0393]在接收到更新之后,节点(例如,查看节点1286)可以发送更新响应消息1374。 [0393] After receiving the update, the node (for example, view the node 1286) can send update response message 1374. 可以使用图48中所图示的更新响应帧1376来对更新响应消息1374进行编码。 48 may be used as illustrated in FIG response frame update response message 1376 to 1374 encode updated. 更新响应帧1376包括两个字段:更新句柄字段1378和更新请求状态字段1380。 1376 update response frame consists of two fields: Update Handle field 1378 and update the status of the request field 1380. 更新句柄字段1378与更新响应消息1374正做出响应的更新请求消息1344的更新句柄字段值相对应。 Update handles update response message field 1378 and 1374 to make a positive response to the update request message update handler field corresponds to the value of 1344. 更新请求状态字段1380根据上面所讨论的状态报告格式来报告更新的状态。 Status update request according to the status report format as discussed above, to report the updated status field 1380. 此外,使用DMP(例如,核心简档或数据管理简档)的简档可以包括简档特定代码,诸如下表21中所枚举的那些代码。 In addition, the use of DMP (for example, the core profile data or profile management) profile may include a profile specific code, that code 21 as enumerated under the table.

Figure CN105684356AD00521

[0395] 表21.包括DMP的简档的状态代码的示例 Example [0395] Table 21. DMP includes a profile of the status code

[0396] D.批量传输 [0396] D. bulk transfer

[0397]在一些实施例中,可能期望在结构1000中的节点/服务之间传输批量数据文件(例如,传感器数据、日志或更新映像)。 [0397] In some embodiments, it may be desirable transfer bulk data files (for example, sensor data, log, or update images) between nodes in a 1000 structure / services. 为了使得能够传输批量数据,单独的简档或协议可以被并入到一个或多个简档中并且可被节点/节点中的服务利用。 In order to enable bulk data transmission, individual profiles or agreement may be incorporated into one or more profiles and can be node / node service utilization. 批量数据传输协议可以将数据文件建模为具有元数据附件的数据的合集。 Bulk data transfer protocol data file can be modeled as a collection of data has metadata attachments. 在某些实施例中,数据可以是不透明的,但是元数据可以被用来确定是否继续进行所请求的文件传输。 In certain embodiments, the data may be opaque, but the metadata can be used to determine whether to proceed with the requested file transfers.

[0398]通常可以根据批量传输通信和事件创建来划分参与批量传输的设备。 [0398] can generally be divided to create a bulk transfer device according to participate bulk transmission communication and events. 如图49中所图示的,批量传输中的每个通信1400包括作为向作为接收批量数据1404的节点/服务的接收方发送批量数据1404的节点/服务的发送方1402。 As illustrated in FIG. 49, bulk transfers of each communication node 1400 includes a bulk data sent to the recipient as a node receiving bulk data 1404/1404 services / services of the sender 1402. 在一些实施例中,接收方可以向发送方1402发送指示批量传输的状态的状态信息1408。 In some embodiments, the receiver sends to the sender indicating that a batch transfer status 1402 status information 1408. 此外,批量传输事件可以由作为发起者的发送方1402(例如,上传)或接收方1406(例如,下载)发起。 In addition, bulk transfers may be made as the initiator of the event sender 1402 (for example, upload) or receiver 1406 (for example, download) initiated. 在批量数据传输中与发起者相对应的节点/服务可以被称为响应者。 In bulk data transfer with the initiator corresponding node / service it may be referred to the responder.

[0399] 批量数据传输可以使用同步模式或异步模式而发生。 [0399] bulk data transfer can occur using synchronous or asynchronous mode. 可以使用各种因素(诸如上面发送批量数据的底层协议(例如,UDP或TCP)来确定传输数据的模式。在无连接协议(例如,UDP)中,可以使用允许节点/服务("驱动器")中的一个控制传输进行的速率的同步模式来传输批量数据。在某些实施例中,在同步模式批量数据传输中的每个消息之后,可以在批量数据传输中发送下一个消息之前发送肯定应答。驱动器可以是发送方1402或接收方1406。在一些实施例中,驱动器可以在发送消息以当在联机状态下时将传输提前的同时在联机状态与脱机模式之间切换。在使用面向连接协议(例如,TCP)的批量数据传输中,可以使用在发送接连的消息之前不使用肯定应答的异步模式或单个驱动器来传输批量数据。 You can use a variety of factors (such as sending the above underlying protocol bulk data (for example, UDP or TCP) to determine the data transfer mode. In connectionless protocol (for example, UDP) may be used to allow nodes / services ( "Drive") a transmission control performed in the synchronous mode to the transmission rate of the bulk data. in some embodiments, after each message in the synchronous mode of bulk data transfer, bulk data transfer can be transmitted at a transmission acknowledgment message before the drive 1402 may be a sender or receiver 1406. in some embodiments, the drive may be when the transfer in advance online at the same time in between online and offline mode switch to send a message. in connection-oriented protocol (e.g., TCP) bulk data transfer, you can use without using asynchronous mode or single drive acknowledgment before sending a series of messages to transmit bulk data.

[0400] 不管是使用同步模式还是异步模式来执行批量数据传输,都可以使用应用有效负荷1146中的消息类型1172根据该应用有效负荷中的简档Id 1176来确定消息的类型。 [0400] Whether using synchronous or asynchronous mode to perform bulk data transfer, you can use the application payload 1146 in 1172 according to the type of message the application payload profile Id 1176 to determine the type of message. 表22 包括可以关于简档Id 1176中的批量数据传输简档值而使用的消息类型的示例。 Table example message types can include bulk data transfer profile values for profile Id 1176 the use of 22.

Figure CN105684356AD00531

[0403] 表22用于批量数据传输简档的消息类型的示例 [0403] Table 22 for an example of the message type bulk data transfer profile

[0404] i . Sendlnit [0404] i. Sendlnit

[0405] 在图50中图示了Sendlnit消息1420的实施例。 [0405] illustrates an embodiment Sendlnit message 1420 in Figure 50. Sendlnit消息1420可以包括7个字段,传输控制字段1422、范围控制字段1424、文件标志符长度字段1426、建议最大块大小字段1432、起始偏移字段1430、长度字段1432和文件标志符字段1434。 Sendlnit message 1420 may include seven fields, transmission control field 1422, the scope of the control field 1424, file identifier length field 1426, recommended that the maximum block size field 1432, 1430 start offset field, a length field 1432 and file identifier field 1434.

[0406]传输控制字段1422包括图51中所图示的一字节的数据。 [0406] transmission control field 1422 includes 51 illustrated in a byte of data. 传输控制字段包括至少四个字段:异步标志1450、RDrive标志1452、SDrive标志1454、和版本字段1456。 Transmission control field includes at least four fields: asynchronous flag 1450, RDrive flag 1452, SDrive flag 1454, and 1456 version field. 异步标志1450 指示可以使用同步模式还是异步模式来执行所建议的传输。 You can use asynchronous flag 1450 indicates the synchronous or asynchronous mode to perform the proposed transfer. RDrive标志1452和SDrive标志1454各自分别指示接收方1406是否能够与驱动同步模式传输的接收方1402或发送方1408 一起传输数据。 RDrive flag 1452 and 1454 separately SDrive flag indicating whether the receiver 1406 can transmit the drive synchronous mode recipient 1402 or 1408 along with the sender to transmit data.

[0407]范围控制字段1424包括诸如图52中所图示的范围控制字段1424的一字节的数据。 [0407] range control field 1424 includes data such as illustrated in FIG. 52 range control field 1424 of a byte. 在所图示的实施例中,范围控制字段1424包括至少三个字段:BigExtent标志1470、起始偏移标志1472、和限定长度标志1474。 In the illustrated embodiment, the range of the control field 1424 includes at least three fields: BigExtent flag 1470, starting offset flag 1472, and define the length indicator 1474. 限定长度标志1474指示传输是否具有限定长度。 Defined length indicator 1474 indicates whether the transmission has limited length. 限定长度标志1474指示长度字段1432是否存在于Sendlnit消息1420中,并且BigExtent标志1470 指示长度字段1432的大小。 1474 defines the length indicator indicates the length of the field 1432 is present in the message Sendlnit 1420, 1470 and BigExtent flag indicating the length of the field size of 1432. 例如,在一些实施例中,BigExtent标志中的值1指示长度字段1432是八个字节。 For example, in some embodiments, BigExtent flag value indicates a length field 1432 is eight bytes. 否则,长度字段1432在存在时是四个字节。 Otherwise, a length field 1432 in the presence of four bytes. 如果传输具有限定长度,则起始偏移标志1472指示起始偏移是否存在。 If the transmission has a limited length, starting offset flag 1472 indicates the starting offset exists. 如果起始偏移存在,则BigExtent标志1470指示起始偏移字段1430的长度。 If the starting offset is present, BigExtent flag 1470 indicates the start offset field 1430 length. 例如,在一些实施例中,BigExtent标志中的值1指示偏移字段1430 是八个字节。 For example, in some embodiments, BigExtent the flag field 1430 indicates an offset value of 1 is 8 bytes. 否则,起始偏移字段1430在存在时是四个字节。 Otherwise, the starting offset field 1430 in the presence of four bytes.

[0408]返回到图50,文件标志符长度字段1426包括指示文件标志符字段1434的长度的两个字节。 [0408] Returning to Figure 50, file identifier length field 1426 includes two bytes indicates the file identifier field 1434 length. 作为可变长度字段的文件标志符字段1434依赖于文件标志符长度字段1426。 As a variable-length field file identifier field 1434 is dependent on the length of the file identifier field 1426. 最大块大小字段1428建议可以在单个传输中传输的块的最大大小。 Maximum block size field 1428 recommended that the maximum size that can be transmitted in a single transmission block.

[0409]起始偏移字段1430在存在时具有由BigExtent标志1470所指示的长度。 [0409] start offset field has a length of 1430 by the BigExtent flag 1470 indicates at present. 起始偏移字段1430的值指示要传输的文件内的发送方1402可以开始传输的位置,本质上允许大文件传输被分段成多个批量传输会话。 Value of the starting offset field indicating the sender 1430 1402 files to be transferred within can begin transmitting position, allowing large file transfer essentially is segmented into a plurality of bulk transfer sessions.

[0410] 如果限定长度字段1474指示文件具有限定长度,则长度字段1432在存在时指示要传输的文件的长度。 [0410] If the defined length field 1474 indicates that the file has a defined length, the length field 1432 indicates the length of the file to transfer in the presence of. 在一些实施例中,如果接收方1402在长度被实现之前接收到最终块,则接收方可以像在下面所讨论的那样将传输认为是失败的并报告错误。 In some embodiments, if the length of the recipient before 1402 is implemented to receive its final block, the recipient may think like that transfer discussed below is a failure and report an error.

[0411] 文件标志符字段1434是由发送方1402选择来标识要发送的文件的可变长度标识符。 [0411] file identifier field 1434 is selected to identify the sender 1402 to send the file variable-length identifier. 在一些实施例中,发送方1402和接收方1406可以在传送之前协商文件的标识符。 In some embodiments, the sender 1402 and receiver 1406 may identifier consultation document before transmission. 在其它实施例中,接收方1406可以与文件标志符字段1434-起使用元数据来确定是否接受传输以及如何处理数据。 In other embodiments, the receiver can break field 1434- 1406 from the metadata is used to determine whether to accept the transfer and how to handle data and file flag. 可以根据文件标志符长度字段1426来确定文件标志符字段1434的长度。 You can determine the file identifier field 1434 according to the length of the file identifier length field 1426. 在一些实施例中,Sendlnit消息1420还可以包括按照TLV格式编码的可变长度的元数据字段1480。 In some embodiments, Sendlnit message 1420 in accordance with the TLV format may also include variable length coding of metadata fields 1480. 元数据字段1480使得发起者能够发送附加信息,诸如关于要传输的文件的应用特定信息。 1480 metadata fields such initiator can send additional information, such as application-specific information about the file to be transfered. 在一些实施例中,元数据字段1480可以被用来避免在批量数据传输之前协商文件标志符字段1434。 In some embodiments, the metadata field 1480 may be used to avoid bulk data transfer before the consultation document identifier field 1434.

[0412] ii.SendAccept [0412] ii.SendAccept

[0413] 发送接受消息是从响应者传送的以指示针对传输所选择的传输模式。 [0413] sends an acceptance message is transmitted from the responder to indicate for the transmission of the selected transmission mode. 在图53中呈现了SendAccept消息1500的实施例。 Example presents SendAccept message 1500 in FIG. 53. SendAccept消息1500包括与Sendlnit消息1420的传输控制字段1422类似的传输控制字段1502。 SendAccept message 1500 includes Sendlnit message transmission control field 1420 1422 1502 similar to the transmission control fields. 然而,在一些实施例中,仅RDrive标志1452或SDrive 1454可以在传输控制字段1502中具有非零值,以将发送方1402或接收方1406标识为同步模式传输的驱动器。 However, in some embodiments, only the flag RDrive SDrive 1454 or 1452 may have a non-zero value in the control field of the transmission 1502 to drive the sender or receiver 1406 identifies 1402 to synchronous mode transmission. SendAccept消息1500还包括指示传输的最大块大小的最大块大小字段1504。 SendAccept 1500 also includes a message indicating the transmission of the maximum block size of the largest block size field 1504. 块大小字段1504可以等于Sendlnit消息1420的最大块字段1428的值,但是最大块大小字段1504的值可以小于最大块字段1428中建议的值。 Block size field 1504 may be equal to the maximum block 1420 Sendlnit message field values of 1428, but the value of the maximum block size field 1504 may be less than the maximum recommended by the 1428 block field values. 最后,SendAccept消息1500 可以包括指示接收方1506可以传给发送方1402的关于传输的信息的元数据字段1506。 Finally, SendAccept message 1500 may include information indicating the receiver to the sender 1506 can be transmitted on 1402 information 1506 of metadata fields. .

[0414] iii.SendReject [0414] iii.SendReject

[0415] 当接收方1206在Sendlnit消息之后拒绝传输时,接收方1206可以发送指示有关发送方1202与接收方1206之间的批量数据传输存在一个或多个问题的SendRe ject消息。 [0415] When the receiving party refused to transfer 1206 after Sendlnit message, the recipient can send instructions on 1206 1202 sender and recipient presence of one or more of the problems of bulk data transfer between 1206 SendRe ject message. 可以根据上面所描述的和图54中所图示的状态报告格式对发送拒绝消息进行格式化。 Report format can send a rejection message is formatted according to the state described above and illustrated in Figure 54. 发送拒绝帧1520可以包括包含指示用于拒绝传输的理由的两个字节的状态代码字段1522。 Status Code field to send the rejected frame 1520 may include instructions contain grounds for refusal for transmission of two bytes 1522. 可以使用与像下表23中所指示的那样枚举的那些值类似的值来对状态代码字段1522进行解码。 To decode the status code field 1522 as enumerated those values similar values indicated under 23 can be used as tables.

Figure CN105684356AD00551

[0417] 表23发送拒绝消息的示例状态代码 [0417] Table 23 sends reject message status code sample

[0418] 在一些实施例中,发送拒绝消息1520可以包括下一个状态字段1524。 [0418] In some embodiments, the refusal to send a message 1520 may include a lower status field 1524. 下一状态字段1524在存在时可以如上面所讨论的像关于状态报告帧的下一个状态字段1188那样被格式化和编码。 The next status field next state field 1524 when there may be as discussed above with respect to the image frame 1188 status report that is formatted and encoded. 在某些实施例中,发送拒绝消息1520可以包括附加信息字段1526。 In certain embodiments, the send rejection message 1520 may include additional information field 1526. 附加信息字段1526在存在时可以存储关于附加状态的信息,并且可以使用上面所讨论的TLV格式来编码。 Additional information field in the presence of 1526 can store additional information about the status, and you can use the format discussed above TLV encoded.

[0419] iv.Receivelnit [0419] iv.Receivelnit

[0420] Receivelnit消息可以由作为发起者的接收方1206来传送。 [0420] Receivelnit message may be transmitted by the initiator as the 1206 recipient. 可以与图50中所图示的Sendlnit消息1480类似地对Receivelnit消息进行格式化和编码,但是BigExtent字段1470可以被称为指定接收方1206能够处理的最大文件大小的最大长度字段。 Messages can Sendlnit 1480 illustrated in FIG. 50 similarly to Receivelnit message formatting and coding, but BigExtent field 1470 may be referred to the maximum length of the field to specify the maximum file size of the recipient 1206 can handle.

[0421] v.ReceiveAccept [0421] v.ReceiveAccept

[0422] 当发送方1202接收到Receivelnit消息时,发送方1202可以用ReceiveAccept消息做出响应。 [0422] When the sender receives Receivelnit 1202 message, the sender 1202 may respond with ReceiveAccept message. ReceiveAccept消息可以被格式化和编码为图55中所图示的ReceiveAccept消息1540 AeceiveAccept消息1540可以包括四个字段:传输控制字段1542、范围控制字段1544、 最大块大小字段1546、以及有时包括长度字段1548。 ReceiveAccept message may be formatted and encoded ReceiveAccept message is illustrated in FIG. 55 1540 AeceiveAccept message 1540 may include four fields: Transport Control field 1542, the range of control field 1544, the maximum block size field 1546, and 1548 may include a length field . 可以与具有指示范围控制字段1544的第二字节的图53的SendAccept消息1502类似地对ReceiveAccept消息1540进行格式化。 It may be indicative range control field 1544 of FIG SendAccept second byte message 150 253 similarly to ReceiveAccept 1540 message format. 此外,可以使用关于有关图52的范围控制字段1424上面所讨论的相同方法来对范围控制字段1544进行格式化和编码。 In addition, you can use the range of about 52 with respect to the control in the same manner as discussed above fields 1424 to 1544 on the scope of the control field format and encoding.

[0423] vi.ReceiveReject [0423] vi.ReceiveReject

[0424] 如果发送方1202遇到将文件传输到接收方1206的问题,则发送方1202可以使用状态报告格式来发送与SendRe ject消息48类似地格式化和编码的ReceiveRe ject消息,两者皆在上面讨论了。 [0424] If the sender 1202 encounter to transfer files to the recipient of the 1206 issue, the sender 1202 can send messages and SendRe ject 48 similarly formatted and coded messages use ReceiveRe ject status reporting format, both of which are in We discussed above. 然而,可以使用与像下表24中所指示的那样枚举的那些值类似的值来对状态代码字段1522进行编码/解码。 However, the value of similar values as those enumerated in 24 indicated for encoding / decoding status code field 1522 may be used as the next table.

Figure CN105684356AD00561

[0426] 表24接收拒绝消息的示例状态代码 [0426] Table 24 receives the rejection message status code sample

[0427] vii.BlockQuery [0427] vii.BlockQuery

[0428] BlockQuery消息可以由驱动接收方1202在同步模式批量数据传输中发送以请求数据的下一个块。 [0428] BlockQuery message may be driven by the recipient sends 1202 to request data in synchronous mode bulk data transfer in the next block. 如果尚未发送显式肯定应答,则BlockQuery隐含地对数据的先前块的接收进行肯定应答。 If you do not send an explicit acknowledgment is received BlockQuery implicitly previous block of data is acknowledged. 在使用异步传输的实施例中,可以从传输过程中省略BlockQuery消息。 In embodiments using asynchronous transmission may be omitted from BlockQuery message transmission process.

[0429] viii.Block [0429] viii.Block

[0430] 在批量数据传输中传送的数据的块可以包括大于0并小于由发送方1202和接收方1206同意的最大块大小的任何长度。 [0430] In block transfer of bulk data transfer of data may include greater than 0 and less than the length of any sender 1202 and receiver 1206 agreed to the maximum block size.

[0431] ix.BlockEOF [0431] ix.BlockEOF

[0432] 数据传输中的最终块可以作为块文件结束(BlockEOF)被呈现。 [0432] Data transmission block can end up in the final document as a block (BlockEOF) is presented. BlockEOF可以具有〇与最大块大小之间的长度。 BlockEOF billion and may have a length between the maximum block size. 如果接收方1206发现预协商的文件大小(例如,长度字段1432) 与实际上传输的数据的量之间的不同,则接收方1206可以发送如在下面所讨论的指示失败的错误消息。 If the recipient of 1206 found that the pre-negotiated document size (for example, a length field 1432) and in fact, different amounts of data transmitted between the recipient may send a 1206 error message as indicated in the following discussion of the failure.

[0433] x.Ack [0433] x.Ack

[0434] 如果发送方1202正在驱动同步模式传输,则发送方1202可以等待直到在发送块之后在发送下一个块之前接收到肯定应答(Ack)为止。 [0434] If the sender 1202 is being driven synchronous mode transmission, the sender 1202 can wait until after sending the next transmission block is received before a block acknowledgment (Ack) so far. 如果接收方正在驱动同步模式传输,则接收方1206可以发送显式Ack或BlockQuery以对先前块的接收进行肯定应答。 If the receiving Founder drive synchronous transmission mode, the receiver 1206 can send explicit Ack or BlockQuery to previously received block is acknowledged. 此外,在异步模式批量传输中,可以一起从传输过程中省略Ack消息。 In addition, the asynchronous mode bulk transfers can be omitted altogether Ack message from the transmission process.

[0435] xi.AckEOF [0435] xi.AckEOF

[0436] 可以在在同步模式或异步模式下发送的批量传输中发送文件结束的肯定应答(AckEOF)。 [0436] can be sent at the end of the batch file transmission in synchronous or asynchronous mode, it sent an acknowledgment (AckEOF). 使用AckEOF接收方1206指示传输中的所有数据已被接收到并且发信号通知批量数据传输会话的结束。 Use AckEOF recipient 1206 indicating transmission of all data has been received and sent to signal the end of bulk data transfer session.

[0437] xii.Error [0437] xii.Error

[0438] 在通信中发生某些问题时,发送方1202或接收方1206可以发送错误消息以过早地结束批量数据传输会话。 [0438] some problems in communication, the sender or recipient 1202 1206 may send an error message to prematurely end bulk data transfer sessions. 可以根据上面所讨论的状态报告格式来对错误消息进行格式化和编码。 You can report format error message is formatted and encoded according to the state discussed above. 例如,可以与图54的SendReject帧1520类似地对错误消息进行格式化。 For example, FIG SendReject frame 152 054 similarly formatted error message. 然而,可以利用包括和/或与下表25中所枚举的那些值类似的值对状态代码进行编码/解码。 However, you can use include and / or under the table values similar values to those enumerated in the 25 state code encoding / decoding.

Figure CN105684356AD00562

[0440]表25.批量数据传输简档中的错误消息的示例状态代码 [0440] Table 25. The bulk data transfer profile example of the error message status code

[0441] 已经通过示例示出了上面所描述的某些实施例,并且应该理解,这些实施例可能易受各种修改和替选形式影响。 [0441] have been shown by way of example certain embodiments described above, and it should be understood that these embodiments may be susceptible to various modifications and alternative forms affected. 还应该理解,权利要求不旨在限于所公开的特定形式,而是相反旨在涵盖落入本公开的精神和范围内的所有修改、等同物和替选方案。 It should also be understood that the claim does not require a particular form intended to be limited to the disclosed, but on the contrary is intended to cover fall within the spirit and scope of the present disclosure all modifications, equivalents, and alternative programs.

[0442] 高效通信用例和功率感知 [0442] Examples efficient communication and power-aware

[0443] 上面所讨论的高效IPv6802.15.4网络协议和/或高效平台协议可以在家庭环境中使能功率高效操作。 IPv6802.15.4 efficient network protocol and / or efficient internet protocol discussed [0443] The above power may be able to operate efficiently in the home environment manipulation. 如将在下面所讨论的,在一个示例中,这种通信可以包括传递IPv6分组以遍历特定优选网络。 As will be discussed below, in one example, such communication may comprise transmitting a packet to traverse a particular preferred IPv6 network. 附加地或替选地,通信的方式的特性(诸如用来传输消息的传输协议的类型TCP或UDP)也可以是可选择的。 Additionally or characteristics (such as the type used to transmit messages TCP or UDP transport protocols) for the selected mode, the communication may also be optional. 例如,为了提供更高可靠性但是更低功率节约,可以选择TCP,然而为了提供更高功率节约但是更低可靠性,可以选择UDP。 For example, in order to provide higher reliability, lower power but to save, you can select TCP, however, in order to provide greater power savings but lower reliability, you can choose UDP.

[0444]使用IPv6分组报头字段的智能通信 Intelligent Communications [0444] using the IPv6 packet header fields

[0445] 如上面所指示的,可以在本公开的系统中使用IPv6分组报头中可用的字段来传达有关结构1〇〇〇的被作为目标以接收消息的目标节点的信息。 [0445] As indicated above, you can use the IPv6 packet header fields available in the disclosure about the structure of the system to convey 1〇〇〇 are targeted to receive the message of the target node. 例如,如图56中所看到的,针对特定节点的IPv6分组的分组报头1600可以包括MAC字段1602、子网字段1604、和结构ID字段1606 JAC字段1602可以填充通常被理解成表示扩展唯一标识符(EUI-64)的64比特区域。 For example, as shown in Figure 56 as seen in, for IPv6 packet header packet of a particular node 1600 may include a MAC field 1602, a subnet field 1604, and the structure of the ID field 1606 JAC 1602 field may be filled is generally understood to mean that uniquely identifies the extension Fu (EUI-64) of the 64-bit area. MAC字段1602可以包括目标节点的MAC地址的指示。 1602 may include a MAC field indicates the MAC address of the destination node. 子网字段1604和结构ID字段1606可以共同地表示扩展唯一本地地址(EULA)。 1604 subnet field and structure field ID 1606 may collectively represent a unique local address extension (EULA). 在这些字段的EULA中,结构ID字段1606可以指示将用来发送IPv6分组的特定结构1000,然而子网字段1604可以标识目标节点可以通过其优选地接收消息的结构1000内的优选网络。 EULA In these fields, the configuration ID field 1606 may indicate that the particular structure used to send IPv6 packets 1000, 1604 may, however subnet field identifies the target node may receive messages of the structure within the preferred network by 1000 which is preferably. 在图56的示例中,子网字段1604指示目标节点可以经由特定WiFi网络优选地接收消息。 In the example of FIG. 56, the subnet field 1604 indicates the destination node can receive messages via a specific WiFi network preferably. 应该了解,当正完全在一个或多个连接的结构和/或服务那些结构的服务内发送IPv6分组时,可以使用由结构ID字段1606和子网字段1604所形成的EULA。 It should be understood when the internal structure and / or services that those structures are completely in one or more service connections to send IPv6 packets, you can use the EULA by structural and subnet ID field 1606 field formed by 1604. 当IPv6分组将被从结构1000的节点发送到外部IPv6互联网地址时,可以采用不同的(例如,更常规的)IPv6分组报头结构。 When IPv6 packets to be transmitted from the node to the external structure 1000 IPv6 Internet addresses can be different (for example, more conventional) IPv6 packet header structure.

[0446] 子网字段1604和结构ID字段1606的EULA信息能够被用来通过结构1000朝向目标节点高效地传递IPv6分组。 EULA information [0446] 1604 and subnet field structure ID field 1606 can be used to efficiently transmit IPv6 packets over structure 1000 towards the target node. 在图57中所示出的示例中,消息是通过上面参考图11所讨论的网络技术来发送的。 In the example shown in Figure 57, the message is set by reference to FIG techniques discussed network 11 to be transmitted. 这里,节点1026是发送节点并且节点1036是目标节点。 Here, the node is a transmission node 1026 and node 1036 is the destination node. 节点1026正在802.15.4网络1022上操作,然而目标节点1036在802.15.4网络1022和WiFi网络1020两者上操作。 1026 802.15.4 nodes are operating on the network 1022, however, the target node 1036 operation on the 802.15.4 network between 1022 and 1020 WiFi network. 目标节点1036的优选网络在图57的示例中被表示为WiFi网络1020。 Preferred network target node 1036 is represented as a WiFi network 1020 in the example of FIG. 57. [ 因此,用来从发送节点1026向目标节点1036发送消息的IPv6分组通常可以具有图56的IPv6分组1600中所示出的特性。 Thus, for 1026 from the sending node to the destination node IPv6 packet 1036 sent the message usually has the characteristics of IPv6 packet 1600 in FIG. 56 is illustrated.

[0447] 各个节点1026、1028、1030、1034和1042在图57中被示出为将消息从发送节点1026 传递到目标节点1036。 [0447] Each node 1026,1028,1030,1034 and 1042 are shown in Figure 57 is to deliver the message from the sending node to the destination node 1026 1036. 当存在要用来发送消息的仅一个网络时,可以通过网络来传递消息。 When there is only one network to be used to send a message, the message can be passed through the network. 图57的示例中的节点1026、1028和1030的情况是这样的。 Figure 57 is an example of the nodes 1026, 1028 and 1030 the situation is this. 然而,当消息到达在多于一个网络上操作的节点(诸如节点1034)时,该节点可以使用子网字段1604来确定要使用哪一个网络来进一步朝向目标节点1036传递消息。 However, when a message arrives on more than one node in network operation (such as a node 1034), the node can use subnet field 1604 to determine which one to use networks to further deliver the message toward the target node 1036.

[0448] 图58的流程图1650图示用于使用分组报头1600的子网字段1604来朝向目标节点传递IPv6分组的方法的示例。 Example flow [0448] FIG. 58 illustrates a method for using a 1650 packet header fields subnet 1600 to 1604 towards the target node IPv6 packet transfer method. 在该方法中,在两个网络上操作的节点(例如,在WiFi网络1020和802.15.4网络1022两者上操作的节点1034)可以接收IPv6分组(块1652)。 In this method, two nodes on network operations (for example, on the WiFi network nodes 1020 and 1022 both the 802.15.4 network operation 1034) can receive IPv6 packets (block 1652). 节点可以对IPv6分组报头1600的子网字段1604进行分析,以确定哪一个网络是要用来朝向目标节点转发IPv6分组的最适当的网络。 IPv6 nodes may subnet packet header fields 16041600 analyzed to determine which network is to be forwarded to the destination node toward the most appropriate network IPv6 packets. 例如,子网字段1604可以指示消息将被WiFi网络1020上的目标节点(例如,节点1036)接收。 E.g., subnet field 1604 may indicate that the message is the destination node on the WiFi network 1020 (e.g., node 1036) received. 接收节点(例如,节点1034)然后可以通过由子网字段1604 所指示的网络(例如,WiFi网络1020)朝向目标节点(例如,节点1036)传递IPv6分组(块1654) 〇 A receiving node (e.g., node 1034) and then through a network of sub-fields indicated by 1604 (e.g., WiFi network 1020) towards the destination node (e.g., node 1036) transmitted IPv6 packet (block 1654) square

[0449] 在一些示例中,已用来接收到IPv6分组的网络可以与由子网字段1604所指示的网络不同。 [0449] In some examples, has to receive the IPv6 packet from the network may be a network subnet field 1604 indicate the same. 在图57中,例如,节点1034通过802.15.4网络1022来接收消息。 In Figure 57, for example, the node 1034 through the network 1022 to receive messages 802.15.4. 然而,当子网字段1604指示WiFi网络1020是要用来发送IPv6分组的优选网络时,节点1034可以替代地通过WiFi网络1020来传递IPv6分组。 However, when the subnet field 1604 indicates a WiFi network 1020 is used to send IPv6 packets preferred network, the node 1034 may alternatively be passed through the WiFi network 1020 IPv6 packet. 以这种方式,子网字段1604可以使得目标节点能够具有用来接收消息的优选网络。 In this manner, subnet field so that the target node 1604 may be able to receive messages having the preferred network. 在图57的示例中,目标节点1036可以是可以通过WiFi网络1020比802.15.4网络1022更迅速地或更可靠地通信的总是接通的电子设备。 In the example of FIG. 57, the target node 1036 may be a WiFi network 1020 through 1022 than the 802.15.4 network more quickly or more electronic devices are always reliably switched communications. 在其它示例中,目标节点1036可以是将被更好地服务以通过802.15.4网络1022来接收消息的电池供电的不活跃设备。 In other examples, the target node 1036 may be better service through the network 1022 to receive messages 802.15.4 battery powered device is not active. 在这种示例下,即使目标节点1036能够通过经由如可以由子网字段1604所指示的802.15.4网络1022接收消息来经由WiFi网络1020接收消息,目标节点1036也可以保存电力。 In this example, even if the target node 1036 through 1022 as can 802.15.4 network from the subnet field 1604 indicates a message received via the network 1020 to receive messages via WiFi, the target node 1036 can also save electricity. 因此,IPv6分组报头1600的EULA(例如,结构ID字段1606和子网字段1604)可以被用来促使通过结构的高效消息传输。 Thus, IPv6 packet headers 1600 EULA (for example, the structure of the ID field and subnet field 1606 1604) can be used to promote the efficient message transmission through the structure.

[0450] 基于消息的期望可靠性选择传输协议或优选目标网络 [0450] Reliability select the transmission protocol or, preferably, the target network based on the desired message

[0451 ]对用来发送IPv6分组的传输协议(例如,TCP或UDP)和/或优选目标节点网络的明智的选择还可能导致高效的网络使用。 [0451] to be used to send IPv6 packet transport protocol (for example, TCP or UDP) and / or the preferred target node of the network informed choices may also lead to efficient network use. 实际上,虽然TCP比UDP更可靠,但是TCP的可靠性源于其在传送许多不存在于UPD中的消息时对握手和肯定应答的使用。 Indeed, while TCP is more reliable than UDP, but TCP reliability stems from its use in the transmission does not exist in many of the UPD message handshake and acknowledgment of. 然而,TCP的附加可靠性可以增加发送消息在消耗功率方面的成本。 However, TCP can increase the reliability of the additional cost of sending a message in terms of power consumption. 实际上,由于TCP的握手和肯定应答而在功率方面存在附加成本。 In fact, since the TCP handshake and acknowledgment of the existence of additional costs in terms of power. 另外,使用TCP将使丢弃分组被再发送直到它们已被确定地接收到为止,从而在遭受丢弃分组的所有设备处消耗附加电力。 In addition, the use of TCP packet is retransmitted will be discarded until they have been identified so far received, which suffered dropping packets at all devices consume additional power.

[0452] 因此,除非存在可靠性优选于功率效率的理由,否则可能期望通过UDP来发送消息。 [0452] Therefore, unless there is reason to reliability preferably in power efficiency, otherwise it may be desirable to send a message through UDP. 例如,如图5 9的流程图16 7 0中所示,结构10 0 0上的设备中的一个可以产生消息(块1672)。 For example, the flow chart of FIG. 59 in 1670, the device 1000 on the structure of a message can be generated (block 1672). 设备可以考虑与消息的期望可靠性有关的一个或多个可靠性因素(块1674)。 Equipment may be considered with a message to one or more of the desired reliability factors related to reliability (block 1674). 一个或多个可靠性因素的这种考虑可能在设备上运行的0SI栈90的应用层102或平台层100中发生。 One or more such reliability factors to consider that may be running on the device 0SI stack application layer 90 or 102 platform layer 100 occurs. 在任何情况下,设备可以考虑的可靠性因素可以包括(1)在块1672处产生的消息的类型、(2)将在其上发送消息的网络的类型、(3)消息可以通过结构而行进的距离、(4)目标节点和/或将被用来将消息传递到目标节点的传送节点的功率灵敏度和/或(5)目标端节点类型(例如,是设备还是服务)。 In any case, the reliability of the device can be considered factors may include (1) the type of block 1672 generates a message, (2) the type of network to send a message on it, (3) the message travels through the structure distance, (4) the destination node, and / or will be used to deliver the message to the transmitting node of the target node power sensitivity and / or (5) sink node type (for example, a device or service). 在一些实施例中,可以考虑仅一个因素。 In some embodiments, only one factor may be considered. 而且,这里所讨论的可靠性因素的列表不旨在为详尽的,而是相反旨在提供用于决定可靠性或功率节约是否在发送消息时可能是更期望的示例。 Moreover, the list of the reliability factors discussed herein are not intended to be exhaustive, but rather are intended to provide reliability for determining whether or power save when sending messages may be more desirable example.

[0453] 可能影响传输协议的期望可靠性的第一因素是将被发送的消息的类型。 The first factor expect reliability [0453] may affect the transmission protocol is the type of message to be sent. 当消息是警报消息(诸如指示已经检测到危险的消息)时非常高的可靠性可能是期望的。 When the message is an alert message (such as the indication has been detected dangerous message) very high reliability may be desirable. 然而,当消息表示传感器数据或某些设备状态数据时,高可靠性可能不如功率节约有价值。 However, when the message indicates that the sensor data or some device status data, high reliability and power savings may not be as valuable.

[0454] 可能影响传输协议的期望可靠性的第二因素是用来将发送消息的网络的类型。 The second factor in [0454] which may affect the reliability of a desired transport protocol is used to send a message of the type of network. 当消息将主要遍历802.15.4网络时,例如,这可以暗示功率节约可能比可靠性更有利。 When the message traverses the main 802.15.4 network, for example, this may imply a power saving may be more beneficial than reliability. 然而, 当消息将主要或完全遍历WiFi网络时,这可以暗示功率节约可能是不太有价值的并且可靠性可能是更有价值的。 However, when the message is primarily or completely traverse the WiFi network, which can imply a power saving may be less valuable and reliability may be more valuable.

[0455] 可能影响传输协议的期望可靠性的第三因素是消息可以通过结构1000而行进以至_目标节点的距离。 [0455] which may affect the reliability of a desired transport protocol message is a third factor which travels through the structure 1000 _ target node distance as well. 例如,距离可以表示到达目标节点的"跳"数、可以被遍历以到达目标节点的不同类型的网络的数目、和/或通过网络的实际距离。 For example, the distance to the destination node may represent the "jump" number, can be traversed to reach the destination node number of different types of networks, and / or by the actual distance networks.

[0456] 可能影响传输协议的期望可靠性的第四因素是可以通过其将消息传递到目标节点的设备的功率灵敏度。 [0456] which may affect the reliability of the desired transmission protocol fourth factor is the sensitivity of the power delivered to the target node through which the message device. 当这些设备中的全部或基本上全部总是接通或者由外部电源供应时,更高可靠性可以优选于功率节约。 When these devices all or substantially all always turned on or supplied by an external power source, can preferably greater reliability in power savings. 当这些设备中的一个或许多是低功率、不活跃和/或电池供电的设备时,功率节约在消息不是特别紧急的时可能是优选的。 When these devices are low-power one or many, inactive and / or battery-powered equipment, power saving in an emergency when the message is not likely to be particularly preferable.

[0457] 可能影响传输协议的期望可靠性的第五因素是消息的目标端节点的类型。 The fifth factor expect reliability [0457] may affect the transmission protocol is the type of sink node message. 在一个示例中,当目标端节点是服务时,无论是本地的或远程的,更高的可靠性可能是期望的。 In one example, when the target node is the end-time services, whether local or remote, higher reliability may be desirable. 因此,在这种情况下,可以优于UDP而优选TCP。 Therefore, in this case, it may be better than the preferred UDP and TCP. 在另一示例中,当目标端节点是远程服务时可以优选较高的可靠性,但是当目标端节点是本地服务时可能要求更低的可靠性和更高的功率节约。 In another example, when the target node is the end of high reliability may be preferred when a remote service, but when the goal is to end node may require a lower reliability and higher power savings when local services. 在其它示例中,可以考虑服务的类型。 In other examples, consider the type of service. 也就是说,针对一些服务,可以优于功率节约而优选可靠性,然而针对其它服务,可以优于可靠性而优选功率节约。 That is, for a number of services that can better power savings and reliability Preferably, however, for other services, you can better reliability and preferably power savings. 为了提供仅一个示例,为了与用来提供天气信息的服务进行通信,与功率节约相比相对更低的可靠性可能是期望的。 To provide just one example, and in order to provide weather information service to communicate a relatively lower reliability as compared with the power savings may be desirable. 另一方面,为了与用来提供软件更新的服务进行通信,可以优于功率节约而优选更高的可靠性。 On the other hand, in order to provide software updates and service traffic, it can save power and higher than the preferred reliability.

[0458] 设备可以以任何适合的方式考虑这些因素中的一个或多个。 [0458] device can be in any suitable manner to consider these factors in one or more. 在一个示例中,这些因素可以指派权重并且可靠性确定可以基于这些因素的总加权。 In one example, you can assign weighting factors and the reliability can be determined based on the total weight of these factors. 在其它示例中,某些因素可以具有比其它因素更高的优先级。 In other examples, certain factors may have a higher priority than the others. 在这种示例中,可以总是将紧急消息认为优于功率节约而具有更期望的可靠性,而对于非紧急消息的可靠性的期望可能取决于其它因素。 In this example, the emergency message can always be considered superior to a more desirable power saving and reliability, and reliability for a desired non-emergency message may depend on other factors. 因此, 当功率节约是优于可靠性而期望的时(判定块1676),设备可以经由UDP发送消息(块1678) 以不管较低可靠性都节省功率。 Thus, when the power saving and reliability is better than expected (decision block 1676), the device can send messages via UDP (block 1678) to a lower reliability regardless of all save power. 当更高可靠性优于功率节约是期望的时(判定块1676),设备可以经由TCP发送消息(块1680)以具有增加的可靠性,尽管功率消耗也更高。 When higher reliability than is desirable when the power save (decision block 1676), the device can send a message via the TCP (block 1680) to have increased reliability, although the power consumption is also higher.

[0459] 尽管已经参考选择使用TCP或UDP来发送消息讨论了上述方法,但是应该了解,本通信系统可以高效地调整用于使期望的可靠性与功耗相平衡的通信的方式的任何数目的特性。 [0459] Although reference has been selected using the TCP or UDP messages sent to the above discussed methods, it should be understood that the communication system may be any number of efficient ways of communication reliability with a desired power is used to adjust the equilibrium characteristic. 例如,在一些实施例中,当更高的可靠性是所期望的时,可以优选更高功率网络(例如,WiFi),然而当更低的可靠性和更高的功率节约是期望的时,可以优选更低功率网络(例如,802.15.4)。 For example, in some embodiments, when the higher reliability is desired, it can preferably higher power network (for example, WiFi), however, when the lower reliability and higher power savings are expected when preferably the power network can be less (e.g., 802.15.4). 例如,发送节点可以选择不同的优选网络来在IPv6分组报头1600的子网字段1604中指出,从而使消息在可能时通过该选择的网络来传递。 For example, the sending node can choose different preferred network packet header in IPv6 subnet field 16,041,600 pointed out, if possible, so that the message to pass through the selected network.

[0460] 附加用例 [0460] Additional use cases

[0461] 可以以各种方式使用上面所讨论的相连接的设备的结构1000。 [0461] can be used in various ways as discussed above, the device connected to the 1000 structure. 一个示例可能牵涉使用一个设备来调用另一设备上的方法。 One example might involve the use of a device to invoke a method on another device. 另一示例可能牵涉在结构的各种设备之上传播诸如危险警报的消息。 Another example may involve the risk of the spread of such alerts on a variety of equipment construction news. 应该理解,这些用例旨在提供示例,而不旨在为详尽的。 It should be understood that these examples are intended to provide examples of use are not intended to be exhaustive.

[0462] 从一个设备调用另一设备上的方法 [0462] The method is called from another device on a device

[0463] 在一种情况下,结构1000的一个区域中的设备可以调用另一兼容设备上的特定方法。 [0463] In one case, a structure in the region 1000 to another compatible device can invoke a specific method on the device. 一个示例出现在图60的图1700中。 1700 One example appears in FIG. 60. FIG. 如由目录设备(DDS) 1706所调停的,图1700图示第一设备1702与第二设备1704之间的交互。 As indicated by the directory of the device (DDS) of the mediation 1706, 1700 and 1702 illustrates the interaction between the first and second device 1704 device. 目录设备(DDS)1706可以向结构上的各种设备(包括第一设备1702和第二设备1704)发出DDC服务广播1708。 Equipment directory (DDS) 1706 can contribute to a variety of devices on the structure (including a first device and a second device 1702 1704) issued DDC service broadcasting 1708. 作为响应,目录设备(DDS)1706可以接收结构1 〇〇〇的各种设备支持的所有方法和/或简档的列表。 A list of all the methods in response, the directory device (DDS) 1706 can receive a variety of devices supported 1 〇〇〇 structure of and / or profile.

[0464] 当结构的这些设备中的一个(诸如第一设备1702)期望执行方法(在图60中示出为方法η)时,第一设备1702可以利用对应的查询消息1710(例如,GetProperty(supports-n)) 查询目录设备(DDS)1706。 [0464] When these devices in a structure (such as the first device 1702) to perform the desired method (in FIG. 60 illustrates a method η), the first device 1702 can take advantage of the corresponding query message 1710 (for example, GetProperty ( supports-n)) to query the directory device (DDS) 1706. 目录设备(DDS)1706可以应答支持这种属性的设备-这里,用指示第二设备1704支持所期望的方法的消息1712进行应答。 Equipment directory (DDS) 1706 can answer support equipment such properties - here, a message indicating that a second device 1704 1712 with support of the desired method respond. 现在拥有这个信息,第一设备1702 可以在到第二设备1704的消息1714中调用方法。 Now have this information, the first device 1702 can invoke methods in a message to the second device 1704 in 1714. 第二设备1704然后可以随着适当的响应发出应答1716。 The second device 1704 may then issue a response with the appropriate response 1716.

[0465]由第一设备1702在第二设备1704上调用的方法可以是可能对家庭网络有用的许多方法中的任一个。 [0465] by the method of the first device in 1702 on the second calling device 1704 may be any of a home network may be useful in many ways. 在一个示例中,第一设备1702可以从第二设备1704请求环境传感器数据。 In one example, a first environmental sensor device 1702 may request data 1704 from the second device. 环境传感器数据可以指示运动、温度、湿度等。 Environmental sensor data may indicate movement, temperature, humidity and so on. 环境传感器数据可以由第一设备1702用来为了安全而确定占用,例如,或者确定当前位于房子附近的各种温度。 Environmental sensor data may be used by the first device 1702 to determine the safety and occupation, for example, or to determine the current temperature of the house is located in various nearby. 在另一示例中,第一设备1702可以从第二设备1704请求用户接口输入信息。 In another example, a first user interface input device 1702 may request information from the second device 1704. 例如,第一设备1702可以请求最近恒温器温度设定点的指示以探知有关居住者的最近期望的舒适设定的信息。 For example, a first device 1702 may indicate the most recent request for the thermostat set point temperature comfortable to ascertain information relating to a desired set of recent occupants.

[0466]将消息传播到结构的各种设备 [0466] Spread to various devices Structure

[0467] 在一些情形下,可能期望将消息传播到结构的多个设备。 [0467] In some cases, it may be desirable to spread the message to more than one device structure. 例如,如图61的图1720中所示,数个设备1722、1724、1726和1728可以被用来传播危险警报消息。 For example, as shown in Figure 61, 1720, 1722,1724,1726 and 1728 the number of devices that can be used to spread the risk of the alert message. 实际上,即使各种设备1722、1724、1726和1728中的一个或多个可能是低功率"不活跃"设备也可以传播危险警报消息。 In fact, even if the various devices in 1722,1724,1726 and 1728 may be one or more low-power "inactive" risk of transmission equipment and to be alert message. 在图61的示例中,设备1722是车库中的危险检测器(例如,烟雾检测器),设备1724 是餐厅中的危险检测器(例如,烟雾检测器),设备1726是在前面处的智能门铃,并且设备1728是门厅中的恒温器。 In the example of FIG. 61, the device 1722 is in the garage danger detector (for example, smoke detectors), the device 1724 is the restaurant of the danger detector (for example, smoke detectors), the device 1726 is in front of the intelligent doorbell and the device 1728 is in the foyer of the thermostat.

[0468] 图1720的动作在事件1730(例如,火)被车库设备1722检测到时开始。 When the event began in 1730 (for example, fire) to be detected Garage equipment 1722 [0468] FIG 1720 action. 车库设备1722可以将网络唤醒消息1732传播到餐厅设备1724,其可以因此发出应答1734。 Garage equipment 1722 1732 wake-up message can be propagated to the network device 1724 restaurant, which can therefore respond with a 1734. 餐厅设备1724可以暂时从其不活跃状态唤醒至唤醒总是接通状态。 Restaurant equipment from 1724 can be temporarily inactive wake to wake always turned on. 餐厅设备1724还可以将网络唤醒消息1736传播到前门设备1726,其可以在将另一网络唤醒消息1740传播到门厅设备1728的同时同样地应答1738。 The restaurant can also network equipment 1724 1736 wake-up message spread to the front door apparatus 1726, which may be the wake-up message to another network device 1728 1740 spread to the hall at the same time answering the same manner as 1738.

[0469] 在唤醒了结构的设备后,车库设备1722可以输出与事件1730相关联的警报1744并且可以向餐厅设备1724发出警报通知消息1746。 [0469] In the wake of the device structure, the garage with the event can be output device 1722 1730 1744 and associated alarms can alert notification message 1746 to 1724 restaurant equipment. 除了别的以外,警报通知消息1746还可以指示事件的类型和发信设备(例如,在车库中发生的事件)。 Among other things, alert notification message 1746 may also indicate the type and transmission equipment (for example, the incident in the garage) event. 餐厅设备1724可以输出对应的警报1748并且将警报通知消息转发到本身可以开始输出警报1752的前门设备1726。 Restaurant equipment can output 1724 and 1748 corresponding alarm will alert notification message is forwarded to the output of the alarm itself can start 1752 1726 equipment front door. 前门设备1726还可以将警报通知消息转发到门厅设备1728。 1726 equipment front door alert notification messages can also be forwarded to the foyer device 1728.

[0470]门厅设备1728可以显示接口消息1756以使得用户能够对警报做出响应。 [0470] hall device 1728 may display interface messages 1756 to enable a user to respond to the alarm. 同时,消息可以继续跨越结构传播。 Meanwhile, the message may continue to spread across the structure. 这些包括附加的网络唤醒和应答消息1758、1760、1762、1764和1766以及附加的警报通知消息1768、1770和1772。 These include additional network wake-up and response messages 1758,1760,1762,1764 and 1766 as well as additional alarm notification messages 1768,1770 and 1772. 当用户在请求警报被静止的门厅设备1728上提供用户反馈1744(例如,在警报是假的理解中或由于不危险条件)时,门厅设备1728可以通过发送可以通过结构1000被传播到所有设备的警报静止消息1776来响应。 When a user provides user feedback on request alarm is stationary hall equipment 17,281,744 (for example, the alarm is false understanding or due to hazardous conditions), the hall device 1728 may send via structure 1000 is propagated to all devices 1776 alert messages still respond. 警报静止消息1776可以到达前门设备1726,其可以使其警报1778静止并且向餐厅设备1724发出另一个警报静止消息1780。 1776 alert messages can still reach the front door device 1726, which can make it still alarms 1778 and issued another alert message still to restaurant equipment 1724 1780. 作为响应,餐厅设备1724可以使其警报1782静止并且向可以进而使其警报1786静止的车库设备1722发出另一个警报静止消息。 In response, the restaurant can make an alarm device 1724 to 1782 and still further so that it can alert Garage equipment 1722 1786 stationary still issue another alert message.

[0471 ]在使得设备1726、1724和1722使它们的警报静止之后,门厅设备1728可以使得设备1726、1724和1722再进入不活跃低功率状态。 [0471] In such devices 1726,1724 and 1722 that they still alert after the hall device 1728 may enable devices 1726,1724 and 1722 and then into the inactive low power state. 具体地,门厅设备1728可以向前门设备1726 发出网络睡眠消息1790,所述前门设备1726可以在向餐厅设备1724发出网络睡眠消息1792 之后进入不活跃状态。 In particular, the device 1728 may be hallway toward the front door makes a network equipment 1726 1790 Sleep news, the front door device 1726 may sleep after sending network messages 1792 to 1724 into the dining room inactive. 餐厅设备1724因此可以在向车库设备1722发出网络睡眠消息1794之后进入不活跃状态。 Restaurant equipment 1724 so they can sleep after sending network messages 1794 to 1722 Garage equipment enters an inactive state. 在接收到网络睡眠消息1794后,车库设备1722可以进入低功率不活跃状态。 After receiving the message 1794 to the network sleep, garage equipment 1722 can enter a low-power inactive.

[0472] 加入或创建结构 [0472] join or create structure

[0473] 上面所讨论的协议能够被用来在家庭网络或类似环境中加入或创建设备的结构1000。 Protocol discussed [0473] The above can be used in a home network or a similar environment join or create a device structure 1000. 例如,图62至图64涉及新设备通过(例如,经由互联网)连接到服务的结构1000的另一设备来加入现有结构1000的第一方法。 For example, FIG. 62 to FIG. 64 relates to novel devices (e.g., via the Internet) connected to the structure of the service device 1000 to join another structure of the first conventional method 1000. 图65至图67涉及新设备不管任何一个设备是否连接到另一服务都通过与另一设备的对等连接来加入现有结构1000或者创建新结构1000的第二方法。 Figure 65 to 67 the second method involves a new device regardless of any new structure a device is connected to the other services by connecting to another device like 1000 or join an existing structure created in 1000. 以下示例涉及利用可能不具有与本机显示器的用户接口、并且因此可能牵涉来自第三方客户端设备(例如,移动电话或平板计算机)的协助的新设备加入结构1000。 The following example relates to the use may not have a user interface with the machine display, and thus may involve assistance from third-party client devices (for example, a mobile phone or tablet computer) to join the new device structure 1000. 在其它实施例(诸如新设备包括与本机显示器的用户接口的那些实施例)中,在下面被描述为在第三方客户端设备上执行的活动可以替代地在新设备上发生。 For the activities performed by a third-party client device may alternatively occur in other embodiments (such as new equipment includes those embodiments with the user interface of the unit's display), and are described below in new equipment.

[0474] 使用到服务的互联网连接来加入或创建结构 [0474] Use of Internet services to connect to join or create structure

[0475] 首先转向图62至图64中所示出的流程图1800,用户可以通过打开已销售设备的盒子(块1802)并且获得用于在第三方客户端设备(例如,移动电话或平板计算机)上安装应用(例如块1804)的指令来将新设备加入到结构1000。 [0475] Turning first to the flow chart shown in Figure 1800, the user can open a sales device boxes 62 to 64 (Block 1802) and is used to obtain a third-party client devices (for example, a mobile phone or tablet computer ) to install the application (for example, block 1804) instructions to the new device is added to the structure 1000. 可以将应用安装在客户端设备上(块1806),并且用户可以登入与用户可以选择新设备将加入的特定结构1000所在的结构1000 有关的服务账户(块1808)。 Applications can be installed on the client device (block 1806), and the user can log in with a user can select the new device will be added to a specific structure where the structure 1000 1000-related services accounts (block 1808). 例如,用户可以安装Nest®应用并且可以登入与Nest®Weave™ 结构相关联的Nest®服务账户。 For example, users can install applications and can sign Nest® Nest®Weave ™ Nest® structure associated with the service account. 客户端设备上的应用可以获得与结构1000的服务配置相关联的信息(块1810)。 Applications can be obtained with the structure of the client device on the service configuration information associated (block 1810) 1000. 例如,与结构1000的服务配置相关联的信息可以包括: For example, the structure 1000 is associated service configuration information may include:

[0476] •服务节点标识(例如,EUI-64或EULA); [0476] • Service node identification (for example, EUI-64 or EULA);

[0477] •可以用作服务的信任锚的证书(例如,结构认证令牌)集合; [0477] • can be used as a trust anchor certificate services (for example, the structure of the authentication token) collection;

[0478] •与用户的账户相关联的全局唯一账户标识; [0478] • globally unique accounts and user accounts associated with the identifier;

[0479] •标识服务的入口点的域名服务(DNS)主机名称;和/或 [0479] identifies the service entry point • Domain Name Service (DNS) host name; and / or

[0480] •可以由新设备用来与用户的账户配对的不透明账户配对令牌。 [0480] • it can be used with a user account matching opaque accounts pairing token from the new equipment.

[0481] 用户还可以经由客户端设备上的应用来选择将新设备添加到结构1000(块1812)。 [0481] The user can also via an application on the client device to select a new device is added to the structure 1000 (block 1812). 基于当前是否存在与用户相关联的现有结构1〇〇〇或者基于任何其它适合的准则(判定块1814),应用可以选择创建新结构1000(块1816)或者将新设备添加到现有结构1000(块1818)。 Based on the existing structure and whether there is currently associated with a user 1〇〇〇 or based on any other suitable criteria (decision block 1814), the application can choose to create a new structure 1000 (block 1816) or add a new device to an existing structure 1000 (block 1818).

[0482] 当应用选择将新设备添加到现有结构1000(块1818)时,应用可以确定网络的设备是否处于唤醒状态而不是不活跃状态(判定块1820),如果未唤醒则唤醒设备(块1822)。 [0482] When applying the option to add a new device to an existing structure 1000 (block 1818), the application can determine whether a network device is awake but not inactive (decision block 1820), if you do not wake up wake up the device (block 1822). 用户可以通过例如按下按钮来选择要在加入过程中使用的网络的特定现有设备(块1824)。 The user can select a particular existing network equipment to be used during the addition (block 1824) for example, by pressing a button. 现有设备可以将结构加入信息提供给客户端设备上的应用(块1826)。 Existing devices can be added to the structure of the information provided to the application on the client device (block 1826). 例如,客户端设备上的应用可以使用结构1000认证令牌来建立与现有设备的安全会话。 For example, a client application on the device can be used to establish the authentication token structure 1000 with existing equipment secure session. 应用可以使用请求(例如, GetNetworkConf iguration 和/或aGetFabricConf iguration)来从现有设备网络获得配置信息和/或结构1000配置信息。 Applications can use the request (for example, GetNetworkConf iguration and / or aGetFabricConf iguration) to obtain configuration information and / or structure from the existing 1000 device network configuration information. 应用可以保存这个信息以供以后使用。 Applications can save this information for later use.

[0483] 应用还可以指示用户通过例如按下新设备上的按钮(块1830)来唤醒新设备(块1828)。 [0483] Applications may also indicate a user, for example by pressing a button (block 1830) on the new device to wake the new device (block 1828). 方法然后可以前进到在图63上继续的块(AH832。这里,客户端设备上的应用可以指令现有设备连接到新设备(块1834)。例如,应用可以使用结构认证令牌来建立到现有设备的新的安全会话,并且通过这个新会话可以向现有设备发送请求(例如, ConnectOtherDevice)。同时,新设备可能已建立特定于利用现有设备加入的目的的802.15.4"加入网络"。因此,块1834的请求可以指定应用希望现有设备经由802.15.4网络连接(例如,由新设备创建的802.15.4加入网络)连接到新设备。现有设备然后可以执行附近的802.15.4网络的扫描,从而查找由新设备创建的网络。一旦被找到,现有设备就可以离开现有结构,加入新的802.15.4加入网络,并且通过试图连接到会合地址(其可以由现有设备的软件或固件或者由客户端设备上的应用预先指定)来探测802.15.4加入网络。一旦建立了到新设备的连接,现有设备就可以利用成功的应答从客户端设备上的应用对用于连接到新设备的请求(例如,ConnectOtherDevice)做出响应。从这个点向前,可以由代理通过现有设备经由802.15.4加入网络携带从应用提供给新设备的消息。也就是说,新设备可以经由802.15.4加入网络连接到现有设备,现有设备可以经由WiFi(和/或互联网连接)连接到服务节点,并且客户端设备上的应用可以连接到服务。以这种方式,应用可以通过现有结构连接到新设备,并且现有设备可以仅使用单个WiFi连接和单个802.15.4连接(从而减少避免在现有设备中每网络类型使用多个接收器和发射器,这可以减少设备成本和功耗)。 The method then proceeds to continue the block (AH832. Here, the application on the client device can be connected to existing equipment instruction a new device (block 1834). For example, applications can use the authentication token on the structure 63 to be established now new session security device, and by the new device to an existing session can send a request (e.g., ConnectOtherDevice). at the same time, the new device may have established specific object existing equipment added 802.15.4 "join network" Therefore, the request block 1834 may wish to specify the application of the existing equipment is connected (for example, by the newly created 802.15.4 devices join the network) to connect to the new device via 802.15.4 network. existing devices can then be performed nearby 802.15.4 scan the network, and thus to find new devices created by the network. Once found, the existing equipment can leave the existing structure, adding new 802.15.4 join the network, and by attempting to connect to join the address (which may be made of existing equipment software or firmware or pre-specified by the application on the client device) to detect 802.15.4 join the network. Once the new device is connected, you can use the existing equipment successful response from the application on the client device for use to connect to the new device request (for example, ConnectOtherDevice) responds. from this point forward, the proxy may be formed by existing equipment carried from the applications to the new device message via 802.15.4 join the network. in other words, new 802.15.4 devices can be connected via a network to join the existing equipment, existing equipment can be connected to the service node via WiFi (and / or Internet connection), and the application on the client device can be connected to the service. in this way, the application It can be connected via the existing structure to the new equipment and existing equipment can be used only a single connection and a single 802.15.4 WiFi connection (to reduce each type of network to avoid the use of multiple receivers and transmitters in existing equipment, which can be reduced equipment costs and power consumption).

[0484] 替选地,当新结构1000将被创建时,客户端设备上的应用可以使用WiFi连接直接连接到新设备。 [0484] Alternatively, when the new structure will be created 1000, the client application on the device can use the WiFi connection directly connected to the new device. 因此,客户端设备上的应用可以指令用户切换到WiFi连接(块1836)。 Therefore, the application on the client device may instruct the user to switch to a WiFi connection (block 1836). 用户可以在他们的客户端设备上切换WiFi网络以与新设备建立对等WiFi连接(块1838)。 Users can switch WiFi network on their client devices to establish new equipment and other WiFi connection (block 1838). 例如,新设备可以在新设备以外使它与唯一WiFi SSID名称相关联。 For example, the new device can make it with a unique WiFi SSID name associated with outside new equipment. 客户端设备上的应用可以通过反复地试图连接到先前确定的会合地址(例如,如通过来自服务的配置信息提供给应用的或者如在应用中编码的)来探测新设备。 Application on the client device can be repeatedly tries to connect to join the address previously identified (for example, as a configuration message from the service provided to the application or application as encoded in) to detect new devices.

[0485] 利用所建立的这些连接中的任何一个,客户端设备上的应用可以检测新设备并且显示由新设备所提供的序列号(块1840)。 [0485] The use of any of the established, the client application on the device can detect connection of the new device and display the serial number (block 1840) provided by the new equipment. 这时,应用还可以证实新设备已在它上安装了将设备标识为认证上证实的并具有加入结构的适当权限的特定安全特征。 In this case, the application can also confirm that the new device has been installed on the device identified as proven and certified on having added the appropriate permissions structure of specific security features. 这些安全特征可以与上面所讨论的DTLS安全证书相同或者除上面所讨论的DTLS安全证书之外。 Same DTLS security certificates for these security features may be as discussed above or in addition to DTLS security certificates discussed above.

[0486] 使用任何一个连接,当客户端设备上的应用指示用户对与新设备相关联(例如,打印在新设备上或在提供有新设备的卡上)的QR代码或其它代码进行扫描时用户可以方便认证过程(块1842)。 [0486] Any one connection, when the indicator is on the client device user for new equipment associated with (for example, printing on a new device, or in the provision of new equipment on the card) of the QR code or other code scanning users can easily certification process (block 1842). 用户可以通过扫描或将代码键入到应用中来输入代码(块1844)。 Users can enter the code (block 1844) by scanning or typing the code into the application. 可以将这个代码信息提供给新设备,所述新设备可以使用代码来确认应用正被拥有新设备的用户确实地使用。 This code can provide information to the new device, the new device can use the code to verify the application of new equipment being user has indeed used. 例如,新设备可以使用内置校验数字来证实代码。 For example, the new device can use the built-in checksum numbers to confirm the code. 新设备可以利用对应的应答来指示代码何时已被不正确地输入。 The new device can be used to indicate the corresponding response when the code has been entered incorrectly. 应用可以将所供应的配对代码用作口令来使用任何适合的协议(包括Weave PASE协议)与新设备建立安全会话(块1848)。 Applications can be used as a pairing code supplied password to use any suitable protocol (including Weave PASE Protocol) to establish a secure session (block 1848) with the new equipment. 在已建立到新设备的安全连接后,客户端设备上的应用可以发出用于在新设备上武装故障保险方式的请求(例如, ArmConfigurationFailsafe)(块1850)。 After a secure connection has been established to the new equipment, the client application on the device can be used to issue a request (for example, ArmConfigurationFailsafe) (block 1850) armed failsafe mode on the new device. 通过武装故障保险方式,如果加入过程到某个超时值未完成则新设备可以恢复到特定原始配置。 Through armed failsafe way, if a timeout value is added to the process is not completed, the new device can be restored to the original configuration specific. 应用还可以通过发出适合的请求(例如, GetFabricState)来确定新设备是否属于另一现有结构1000(判定块1852)。 Applications can also be requested by an appropriate (for example, GetFabricState) issued to determine whether the new device belonging to another existing structure 1000 (decision block 1852). 如果是这样的话,则应用可以通过发出另一请求(例如,LeaveFabric)来指示新设备离开另一个现有结构1000(块1854)。 If this is the case, then the application can issue another request (for example, LeaveFabric) to indicate a new device away from the other existing structure 1000 (block 1854).

[0487] 在新设备将与现有设备一起形成新结构1000的情况下(判定块1856),应用可以(例如,经由EnumerateVisibleNetworks请求)指示新设备枚举对新设备可见的WiFi网络的列表(块1858)。 [0487] The new structure is formed together with the existing equipment in the case of a new device at 1000 (decision block 1856), can be applied (e.g., via EnumerateVisibleNetworks request) indicating that a new device enumeration of a new device to, visible WiFi network list (block 1858). 在来自应用的指令后(块1860),用户然后可以从这些网络当中选择或者可以输入新设备将加入的WiFi网络(块1862)。 In the application from the command post (block 1860), the user can then select from among these networks or to enter a new device will be added to the WiFi network (block 1862). 用户还可以输入适当的口令以加入WiFi网络(块1864)。 Users can also enter the appropriate password to join a WiFi network (block 1864). 该方法还可以前进到在图64上继续的块(B) 1866。 The method may further proceeds to continue in Fig. 64 blocks (B) 1866. 应用可以(例如,经由AddNetwork请求)向新设备发送WiFi网络配置信息(块1868),并且应用可以通过试图到达互联网上的服务来(例如,经由TestNetwork请求)指示新设备测试连接(块1870)。 Applications can (for example, via AddNetwork request) sent WiFi network to the new device configuration information (block 1868), and the application can reach the services on the Internet by trying to (for example, via TestNetwork request) indicating that the new equipment to test the connection (block 1870). 应用可以向用户指示网络连接正被确认(块1872)并且新设备可以随后确认它到应用的连接(块1874) 〇 Applications may indicate a network connection is being confirmed (block 1872) to the user and then confirm the new device can connect it to the application (block 1874) billion

[0488] 利用经由WiF连接现在连接到互联网的新设备,如果正在创建新结构1000(块1876),则应用可以指示用户返回到结构1000(例如,用户的家庭)WiFi连接(块1878)。 [0488] use to connect a new device is now connected to the Internet via WiF, if you are creating a new structure 1000 (block 1876), the application may indicate that the user is returned structure 1000 (for example, a user's home) WiFi connection (block 1878) to. 用户可以将正由客户端设备使用的WiFi网络改变为由结构1000使用的WiFi连接(块1880)。 WiFi network users can use the device being used by the client to change the structure of 1000 by using the WiFi connection (block 1880).

[0489] 无论创建新结构1000还是加入现有结构,应用可以指示新设备在这一点上这样做(块1882)。 [0489] Whether you are creating a new structure of 1000 or join an existing structure, the application may indicate that the new device at this point to do so (block 1882). 也就是说,应用可以(例如,经由CreateFabric请求)指示新设备创建新结构1000 或者可以(例如,经由JoinExistingFabric请求)指示新设备加入现有结构1000。 That is, the application can (for example, via CreateFabric request) indicating that a new device to create a new structure 1000 or may be (for example, via JoinExistingFabric request) indicating that a new device is added to the existing structure 1000. 在加入现有结构的情况下,应用可以(例如,经由对新设备的RegisterNewFabricMember请求)向新设备通知现有设备。 In join an existing structure, the application can (for example, via new equipment RegisterNewFabricMember request) notification of existing equipment to the new device. 在任何情况下,应用可以通过发送包含服务配置信息(例如,Weave™服务配置信息)的请求来将新设备配置成与服务(例如,Nest®服务)进行通信。 In any case, the application may contain configuration information by sending a service (for example, Weave ™ service configuration information) a request to the new device is configured with the service (for example, Nest® service) to communicate.

[0490] 使用服务配置信息,新设备可以向服务注册(块1884)。 [0490] using the service configuration information, the new device can be registered to the service (block 1884). 例如,新设备可以使用来自服务配置信息的服务节点ID和DNS名称连接到服务。 For example, a new device can use the service from the node ID and the DNS name service configuration information to connect to the service. 新设备可以使用私钥以及安装在新设备上的证书来向服务注册。 The new device uses a private key and certificate is installed on a new device to register to the service. 新设备可以向服务发送包含与结构1000相关联的服务账户标识以及从服务配置信息获得的账户配对令牌的消息(例如,PairDeviceToAccount消息)。 The new device can send to the service structure contains the service account identifier associated with 1000, and a message (for example, PairDeviceToAccount message) from the service account configuration pairing token information obtained. 使用这个信息,服务可以证实账户配对令牌并且可以使新设备与用户的与结构相关联的服务账户相关联。 Using this information, the service account can confirm the token and allows the pairing of a new device with a user account associated with the configuration service associated. 在这一点上,当用户登入服务时新设备可以被服务理解成形成结构1〇〇〇的一部分并且可能好像是关联的设备。 At this point, when users log in the service of new equipment and services it can be understood to form part of the structure of 1〇〇〇 and may seem to be associated with the device. 服务可以对来自新设备的消息(例如, Pa i rDev ic eToAc count消息)做出响应,可以破坏它的账户配对令牌的副本,并且可以对先前发送到应用的消息(RegisterService请求)做出响应。 Service message (for example, Pa rDev ic eToAc count message) from the new device to respond, it can destroy a copy of the account matching tokens, and can be sent previously to the message (RegisterService request) application responds .

[0491] 作为响应,为了使将新设备加入到现有结构1000或新结构结束,应用可以通过向新设备发送对应的消息(例如,DisarmConfigurationFailsafe请求)来取消加入故障保险机制(块1886)。 [0491] In response, in order to make the new device is added to the existing structure of 1000 or the end of the new structure, application can be made to the new device sends a corresponding message (for example, DisarmConfigurationFailsafe request) to cancel the added failsafe mechanism (block 1886). 新设备此后可以接收这个请求以解除配置故障保险(块1888)。 After that the new device can receive the request to release the failsafe configuration (Block 1888). 使新设备与新结构1000或现有结构1000中的现有设备配对现在可以被认为完成。 So that the new equipment and new construction or existing structures 1000 1000 pairing existing equipment can now be considered complete. 客户端设备上的应用因此可以为用户可以从中选择(块1892)的附加设置设定(块1890)提供用户指令。 Application on the client device may thus be able to choose (block 1892) for the user to set additional settings (block 1890) provides user instructions. 例如,这些可以包括继续使附加设备或退出设置配对。 For example, these may include additional equipment or continue to exit the setup pairing.

[0492] 在没有到互联网的WiFi连接的情况下加入或创建结构 [0492] join or create structure in the absence of WiFi connection to the Internet

[0493] 新设备可以在未必能够访问到服务或互联网的WiFi连接的情况下加入或创建结构1000。 [0493] The new devices can join or create a structure in the case of 1000 may not be able to access the service or the Internet WiFi connection. 例如,如图65至图67中所示,可以通过服务(例如,通过仅802.15.4网络连接)在不方便的情况下使用其它网络连接来形成这种连接。 For example, as shown in FIG. 65 to FIG. 67, can (for example, connected by only 802.15.4 network) service to form such a connection by using the other network connection in the case of inconvenient. 本部分描述可能在设备对设备结构中加入新设备的过程中发生的动作和事件。 This section describes possible actions and events occurring on the device to add new equipment construction equipment in the process. 如本文中所使用的,"设备对设备结构"是经由单个网络接口(例如,仅经由802.15.4接口)连接的两个或更多个结构1000设备的网络。 As used herein, the "Device configuration of the devices" via a single network interface (for example, via an interface only 802.15.4) network to connect two or more structures 1000 devices. 设备对设备结构1000中的设备未必连接到WiFi网络,进而可能不与在客户端设备上运行的应用(例如,web或移动设备)或者与互联网上的服务(例如,Nest®服务)对话。 Equipment construction equipment in 1000 devices may not be connected to a WiFi network, and thus may not apply (for example, web or mobile devices) running on the client device or the service (for example, Nest® service) dialogue on the Internet.

[0494] 在一些情况下,设备对设备结构可能比仅牵涉用户参与的WiFi结构更易于形成, 因为用户可以在短时间段内在两个设备上按下按钮。 [0494] In some cases, the device configuration of the devices may involve more than just the structure WiFi users to participate more easily formed, because the user can press a button on both devices in a short period of time. 由图65至图67所描述的设备对设备加入过程可以支持使用两个独立设备的新设备对设备结构1000的创建以及新的独立设备到现有设备对设备结构的加入两者。 Figure 65 to Figure 67 apparatus described in the accession process of the device can support two separate devices to create a new device structure of the device 1000 and the new stand-alone device into an existing structure both for the added equipment. 设备对设备加入还能够被用来从现有设备对设备结构1000中移除设备并且将它加入到另一设备对设备结构。 Equipment added to the device can also be used to remove existing equipment equipment equipment construction in 1000 and will add it to another device from the device structure. 当用户获取未从其旧的设备对设备结构适当地服务的用过的设备时这个后者场景可以变得特别有用。 When the user gets the used equipment from the old device is not properly service the device structure of this latter scenario can be particularly useful.

[0495] 注意,在一些实施例中设备对设备加入过程可能未被用来将新设备加入到现有WiFi结构1000中。 [0495] Note that in 1000 some embodiments, the device is added to the device may not be used to process a new device is added to an existing WiFi structures. 为此,用户可以遵循参考上面图6至图64所讨论的WiFi加入过程。 To this end, the user can follow the process of WiFi added as discussed above with reference to Figures 6 to 64. 并且,设备对设备加入过程可能未被用来将已经为WiFi结构1000的成员的设备加入到设备对设备结构中。 Moreover, the device is added to the process equipment may not be used for equipment that has been added to the structure of 1000 members of the WiFi devices to the device structure. 因此,在用户获取未从其原始的WiFi结构适当地服务的用过的设备的情况下,用户可以在继续进行设备对设备结构1000加入过程之前执行工厂重置。 Thus, in the user's device does not get used properly WiFi services from its original structure, the user can proceed with the device before the device structure 1000 is added during the execution of the factory reset.

[0496] 设备对设备加入过程可以在像由图65的流程图1900所示出的那样将被加入的两个设备中的第一设备(例如,设备1)被激活(块1902)时开始。 Start [0496] device can process the device added by the flowchart as shown in Fig. 65 of 1900, as the two devices to be added to the first device (e.g., a device) is activated (block 1902) when. 例如,基于第一设备的销售盒子中的指令,用户可以按下第一设备上的按钮。 For example, sales of the box the first device based on instructions, the user can press the button on the first device. 这里,如果用户正在将设备添加到现有结构,则用户可能被指示按下要添加的设备上的按钮。 Here, if the user is to add devices to an existing structure, the user may be instructed to press a button on the device to be added. 如果用户正从两个独立设备当中创建新结构1000,则用户可以将任何一个设备选择为第一设备。 If the user is creating a new structure from 1000 were two separate devices, the user can select any one device as the first device. 并且,如果第一设备是WiFi结构的成员,则第一设备可能不采取进一步动作并且加入过程停止。 And, if the first device is a member WiFi configuration, the first device may take no further action and join the process stops. 当第一设备是WiFi结构的成员时,第一设备可以在加入设备对设备网络之前(例如,经由工厂重置)与WiFi结构1000 去关耳关。 When the first device is a member WiFi configuration, the first device may be added to the device before the device network (for example, via a factory reset) and WiFi Structure 1000 to shut off the ear.

[0497] 当不是现有WiFi结构的成员时,第一设备(例如,设备1)可以在像在块1902中那样被激活时开始特定初始化过程。 [0497] When it is not a member of an existing WiFi configuration, the first device (for example, the device 1) may be commenced at the time like that is active in the 1902 block specific initialization process. 例如,设备1可以启动随着时间而递增(例如,一秒多次)的计数器。 For example, the device can be started with a time increment (e.g., one second repeatedly) counter. 任选地,这个计数器将稍后被用来确定两个设备中的哪一个设备在建立结构时具有优先权。 Optionally, the counter will be used later to determine which of the two devices in a device having a priority in the up structures. 设备1还可以创建可以被称作802.15.4加入网络的802.15.4无线网络(块1904)。 It can also create a device that can be called 802.15.4 802.15.4 wireless network to join the network (block 1904). 这个802.15.4加入网络可以是通常唯一的不安全网络。 The 802.15.4 network can be added generally only insecure network. 例如,802.15.4加入网络可以使用包含以下信息的通常唯一的ELoWPAN 110网络名称:(a)将网络标识为加入网络的字符串、 (b)第一设备的节点id、以及(c)指示设备是否是结构的一部分的标志。 For example, 802.15.4 join the network can use the usual ELoWPAN 110 unique network name contains the following information: (a) identifies the network to join the network of strings, node id (b) of the first device, and (c) a pointing device whether it is part of the sign structure. 当加入网络被建立时,设备1还可以在加入网络中给它本身指派两个IPv6地址(块1906)。 When added to the network is established, the device 1 can also join the network to assign two of its own IPv6 address (block 1906). 例如,这些可以包括: (a)具有可以被称作会合前缀的不同前缀以及从设备的MAC地址得到的接口标识符的IPv6ULA或EULA,以及(b)具有可以被称作会合地址的会合前缀和接口标识符1的IPv6ULA或EULA〇 For example, these may include: (a) having different prefixes may be referred to rendezvous prefix and IPv6ULA or EULA from the MAC address of the device interface identifier obtained, and (b) may be referred to rendezvous with a prefix and the rendezvous address Interface identifier IPv6ULA or EULA〇 1

[0498] 设备1然后可以连续地扫描由另一设备所创建的802.15.4网络(块1908)。 [0498] Device 1, and then continuously scanning 802.15.4 network created by another device (block 1908). 实际上, 与块1902至1908的行为并行或者在块1902至1908的行为之后,第二设备(设备2)它本身可以执行上述行为(块1910)。 In fact, the behavior of the block 1902-1908 in parallel or after the behavior of the block 1902-1908, the second device (device 2) itself can perform the above acts (block 1910). 设备1或设备2可以检测另一个的加入网络(块1912)。 1 or 2 can detect other devices join the network (block 1912). 取决于首先将检测到另一个的设备(设备1或设备2)的特定特性,这些设备可以执行发起设备过程(例如,如图66中所示)或响应设备过程(例如,如图67中所示)。 First, depending on the detected another device (device 1 or device 2) the specific characteristics of these devices can perform the process initiating device (e.g., as shown in FIG. 66) responsive device or process (e.g., as in FIG. 67 shown). 也就是说,当这些设备中的一个发现另一个的加入网络时,该设备将包含在加入网络名称中的信息与它自己的信息进行比较并且可以采取动作如下:(a)如果设备是独立设备并且另一个设备是结构的成员,则该设备可以执行图66的发起设备过程中所示出的行为;或者(b)如果设备是结构1000的成员并且另一个设备是独立设备,则该设备可以执行由图67的响应设备过程所示出的行为。 That is, when one of these devices to find another network to join, the device will contain information on joining the network name and its own information comparing and may take action as follows: (a) if the device is a stand-alone device and the other device is a member of the structure, the device can perform the initiating device behavior in the process of Figure 66 illustrated; or (b) if the device is a structural member 1000 and the other device is a standalone device, the device may execution behavior from FIG. 67 in response to the process equipment illustrated. 如果任何一个设备是结构的成员,或者如果两个设备是结构的成员,则检测到另一个设备的加入网络的设备可以(a)将其节点id与另一个设备的节点id进行比较并且(b)如果设备的节点id小于另一个设备的节点id,则该设备可以执行图66的发起设备过程中所示出的行为的行为。 If any device is a member of the structure, or if the two devices are members of a structure, the device detects another device can join the network (a) node to node id device id is compared with another, and (b ) If the node id device is smaller than the node id of another device, the device can perform the process of initiating device 66 acts in the behavior illustrated. 如果任何一个设备是结构的成员,或者如果两个设备是结构的成员,则检测到另一个设备的加入网络的设备可以(a)将其节点id与另一个设备的节点id进行比较并且(b) 如果设备的节点id大于另一个设备的节点id,则可以执行由图67的响应设备过程中所示出的行为。 If any device is a member of the structure, or if the two devices are members of a structure, the device detects another device can join the network (a) node to node id device id is compared with another, and (b ) If the node id device node id is greater than another device, you can perform the behavior by the device of FIG. 67 in response to the process illustrated.

[0499] 如上面所提到的,执行图66的发起设备过程的设备可以是设备1或设备2。 [0499] As mentioned above, the device executes the process initiating device 66 may be a device or a device 2. 因此,执行图66的发起设备过程的设备现在将被称为"发起设备"。 Thus, the apparatus process performed initiating device 66 will now be called "the initiating device." 同样地,如上面所提到的,执行图67的响应设备过程的设备可以是不作为发起设备的设备,并且可以是设备1或设备2。 Similarly, as mentioned above, the apparatus process performed in response to the device 67 may be a device without initiating a device, and may be a device or a device 2. 因此, 执行图67的响应设备过程的设备现在将被称为"响应设备"。 Thus, the apparatus process performed in response to the device 67 will now be called "the responding device."

[0500] 如流程图1920中所看到的,图66的发起设备过程可以在发起设备终止其加入网络并且连接到由响应设备所创建的加入网络时开始(块1922)。 Beginning [0500] 1920 As seen in the flowchart, the process of FIG originating device 66 can terminate its join to join the network and connected to a network by the device in response to the initiating device created (block 1922). 发起设备可以给它本身指派具有会合前缀以及从MAC地址得到的接口标识符的IPv6ULA或EULA(块1924)。 The originating device may be assigned to it itself has joined the prefix and IPv6ULA or EULA obtained from the MAC address interface identifiers (block 1924). 发起设备可以以其会合地址向响应设备发送恳求加入消息。 Initiating device can meet its response to the device address to send a message pleading added. 来自发起设备的恳求加入消息可以包括以下信息:(a)被设置为在设备唤醒时启动的计数器的值的数字鉴频器值,以及(b)指示设备是否已经是结构的成员的标志。 Plea from the originating device to the message may include the following information: (a) is set to a digital frequency discriminator value when the device to wake the start value of the counter, and (b) is a flag indicating whether the device has been a member of the structure. 发起设备然后可以等待来自响应设备的响应消息,从而接收加入现有结构请求或恳求加入请求(块1928)。 Initiating device then waits for a response message from the response of the device, so as to receive a request to join an existing structure or a plea join request (block 1928).

[0501] 当发起设备接收到加入现有结构请求时,发起设备可以任选地离开其当前结构, 并且可以将它本身重新初始化为独立设备,以及可以使用加入现有结构请求中的信息来使它本身成为具有响应设备的现有结构1000的一部分(块1930)。 [0501] When the initiating device receives a request to join an existing structure, the originating device may optionally leave its current structure, and it can be re-initialized itself as an independent device, and can be used to join an existing structure information in the request to make itself becomes part (block 1930) the existing structure responsive device 1000. 发起设备可以向响应设备发送指示它现在是现有结构1000的成员的加入现有结构响应(块1932)。 Originating device can send the device to respond indicating that it is now added to the existing structure in response to the existing structure of 1000 members (block 1932).

[0502] 当发起设备接收到恳求加入请求时,发起设备可以取决于它是独立设备还是现有结构的成员而以不同方式响应,但是在任何情况下可以在加入现有结构请求中发送结构1000信息(块1934)。 [0502] When the initiating device receives a request to join the plea, it depends on the originating device may be a standalone device or a member of an existing structure and responds in different ways, but the structure may be transmitted in any case the request to join an existing structure in 1000 information (block 1934). 例如,当发起设备是独立设备时,发起设备可以通过产生新的结构id和对应的结构安全信息来创建新结构1000,可以使它本身成为新结构的一部分,并且可以向响应设备发送加入现有结构请求。 For example, when the initiating device is a stand-alone device, the device may be initiated by creating new structures and structural safety id information corresponding to 1000 to create a new structure, it can itself become part of the new structure, and can send a response to an existing device structure request. 加入现有结构请求可以包含新结构的信息。 Join request may contain information about the current structure of the new structure. 否则,如果设备是结构的成员,则设备可以向响应设备发送包含发起设备为其成员的现有结构1000的信息的加入现有结构请求。 Otherwise, if the device is a member of the structure, the device can be sent to the device in response to the information contained 1000 initiated the existing structure of the device for its members to join the existing structure of the request. 发起设备然后可以等待,并且在响应设备加入发起设备的结构1000时从响应设备接收加入现有结构响应。 Initiating device may then wait, and in response to the initiating device's device is added to the structure from 1000 in response to receiving the device in response to an existing structure.

[0503]图67的响应设备过程描述响应设备可以相对于发起设备而表现的方式。 [0503] FIG. 67 describes the process of response equipment in response to the device with respect to the initiating device and the manner of expression. 图67的响应设备过程由流程图1950来描述。 Figure responsive device 67 by the process flowchart 1950 is described. 流程图1950在响应设备从发起设备接收到恳求加入消息时开始(块1952)。 Flowchart 1950 begins when the device receives a response from an originating device to plead join message (block 1952).

[0504] 如果响应设备是独立设备并且不在现有结构1000中(判定块1954),则响应设备可以通过产生新的结构id和对应的结构安全信息来创建新结构1000(块1956)。 [0504] If the response device is a stand-alone device and not the existing structure in 1000 (decision block 1954), the response device can create a new structure 1000 (block 1956) by creating new structures and structural safety id corresponding information. 响应设备可以使它本身成为新结构1000的一部分(块1958)。 Responsive device can make itself become part of the new structure 1000 (block 1958). 响应设备然后可以向发起设备发送包含响应设备的新结构1 〇〇〇的信息的加入现有结构请求(块1960)。 The new device may then structural response to the initiating device sends a response containing the device 1 〇〇〇 request to join an existing structure (block 1960) information. 响应设备可以等待来自发起设备的加入现有结构响应。 Responsive device can wait to join an existing structure from the originating device response.

[0505]否则,在接收到恳求加入消息(块1952)后,如果响应设备在现有结构1000中(判定块1954),则响应设备可以采用不同的行为。 [0505] Otherwise, pleading receiving the join message (block 1952), if the device in response to the existing structure 1000 (decision block 1954), the response of the device can take different actions. 具体地,如果响应设备在结构中,则响应设备可以检查恳求加入消息(块1962)。 Specifically, if the response in the device structure, the device can check the response pleading join message (block 1962). 响应设备可以在恳求加入中检查鉴频器值(发起设备的计数器值)和"是结构的成员"标志。 Responsive device can be added to check the discriminator value (initiating device counter value) and pleading, "is a member of the structure" logo.

[0506] 否则,如果恳求加入消息指示发起设备不是结构1000的成员或者如果鉴频器值大于或等于由响应设备在它醒来时启动的计数器(判定块1964),则响应设备可以向发起设备发送包含响应设备的结构1000的信息的加入现有结构请求(块1974)。 [0506] Otherwise, if the message indicates that the initiating device is added pleading structure 1000 is not a member, or if the frequency discriminator response by a value greater than or equal to the device when it wakes up. Counter (decision block 1964), then the device may respond to the originating device transmitting a response containing the device structure 1000 into the existing structure of the request message (block 1974). 响应设备可以等待来自发起设备的加入现有结构响应。 Responsive device can wait to join an existing structure from the originating device response.

[0507] 如果恳求加入消息指示发起设备是结构1000的成员或者如果鉴频器值小于由响应设备在它醒来时启动的计数器(判定块1964),则响应设备可以离开其当前结构1000并且将它本身重新初始化为独立设备(块1966)。 [0507] If the plea was added message indicates the initiating device structure 1000 is a member or if the value is less than the frequency discriminator responsive device when it wakes start counter (decision block 1964), the response device can leave its current structure and the 1000 reinitialize itself is a standalone device (block 1966). 响应设备还可以向发起设备发送恳求加入消息(块1968)并且可以等待来自发起设备的加入现有结构请求。 Response device can also send a message pleading added (block 1968) to the originating device and may be waiting to join the existing structure of the request from the originating device. 在从发起设备接收到加入现有结构请求(块1970)之后,响应设备可以使用加入现有结构请求中的信息来使它本身成为新结构1000的一部分(块1972)。 After receiving from the originating device a request to join an existing structure (block 1970), the response can be produced using conventional equipment configuration information in the request to enable itself to become part of the new structure 1000 (block 1972). 响应设备还可以发送指示它现在是发起设备的现有结构1000 的成员的加入现有结构响应。 Response device can also send an indication that it is now initiating join the existing structure of the existing structures and equipment in 1000, members of the response.

[0508]已经通过示例示出了上面所描述的某些实施例,并且应该理解,这些实施例可能易受各种修改和替选形式影响。 [0508] have been shown by way of example certain embodiments described above, and it should be understood that these embodiments may be susceptible to various modifications and alternative forms affected. 还应该理解,权利要求不旨在限于所公开的特定形式,而是相反旨在涵盖落入本公开的精神和范围内的所有修改、等同物和替选方案。 It should also be understood that the claim does not require a particular form intended to be limited to the disclosed, but on the contrary is intended to cover fall within the spirit and scope of the present disclosure all modifications, equivalents, and alternative programs.

Legal Events
DateCodeEventDescription
15 Jun 2016C06Publication
13 Jul 2016C10Entry into substantive examination