CN101895963A - Method and device for network access of equipment in wireless sensor network - Google Patents

Method and device for network access of equipment in wireless sensor network Download PDF

Info

Publication number
CN101895963A
CN101895963A CN2010102335707A CN201010233570A CN101895963A CN 101895963 A CN101895963 A CN 101895963A CN 2010102335707 A CN2010102335707 A CN 2010102335707A CN 201010233570 A CN201010233570 A CN 201010233570A CN 101895963 A CN101895963 A CN 101895963A
Authority
CN
China
Prior art keywords
network
device
coordinator
features
attribute information
Prior art date
Application number
CN2010102335707A
Other languages
Chinese (zh)
Inventor
刘培
张向东
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN2010102335707A priority Critical patent/CN101895963A/en
Publication of CN101895963A publication Critical patent/CN101895963A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THIR OWN ENERGY USE
    • Y02D70/00Techniques for reducing energy consumption in wireless communication networks

Abstract

The embodiment of the invention relates to a method and a device for the network access of equipment in a wireless sensor network. The method comprises the following steps of: acquiring function characteristics of at least one network among wireless sensor networks; acquiring the network function attribute information of equipment, wherein the network function attribute information is used for indicating the network access function characteristic of the equipment; selecting the network, of which the function characteristics are consistent with the network function attribute information, from at least one network; and accessing the selected network. In the embodiment of the invention, the equipment can quickly and accurately select and access a proper network, and a process of accessing and disconnecting the networks for multiple times before determining the proper one is avoided, and thus, the resource and energy consumption is reduced.

Description

一种无线传感器网络中设备入网方法及装置 A wireless sensor network method and apparatus for network devices

技术领域 FIELD

[0001] 本发明涉及无线通信技术领域,尤其涉及一种无线传感器网络中设备入网方法及 [0001] The present invention relates to wireless communication technologies, and in particular relates to a wireless sensor network method and network equipment

装置O Means O

背景技术 Background technique

[0002] 无线传感器网络,是由分布在广大区域的大量传感器节点组成的自组织的、面向任务的、以数据为中心的无线通信网络。 [0002] The wireless sensor network is self-organized by a large number of sensor nodes distributed in a wide area of ​​the composition, task-oriented, data-centric wireless communication network. 作为一种新型的信息获取系统,无线传感器网络具有传统网络不可比拟的优势,有着广阔的应用前景。 As a new access to information systems, wireless sensor networks have a traditional network unparalleled advantages, has broad application prospects.

[0003] 当前,无线传感器网络协议提供了三种设备加入网络的方法:通过关联流程加入网络,通过重新加入网络流程加入网络,以及通过直接加入网络流程加入网络。 [0003] Currently, wireless sensor network protocol provides a three devices to join the network: the network is added by linking process, flow through rejoin the network to join the network, the network and by the direct addition process to join the network. 现有协议公开的设备加入网络的方案中,设备在选择即将加入的网络时,网络向其提供的可能的判断条件只有网络的个域网(PAN,Personal Area Netweork)标识符、逻辑信道信息、协议版本、 超帧信息、是否允许加入、是否允许路由器关联、是否允许终端设备关联等信息。 Add existing protocol scheme of the network devices disclosed, the device acceding when selecting the network, the determination condition may be provided by the network to which only the network of personal area network (PAN, Personal Area Netweork) identifier, logical channel information, protocol version, super frame information, whether to allow the addition, the router whether to allow association, whether to permit other associated terminal equipment.

[0004] 发明人在实现本发明过程中发现,现有的设备加入网络的方案至少存在如下缺 [0004] The inventors have found that in the process of implementing the present invention, existing equipment to join the network at least the following solutions lack

点· point·

[0005] 实际的无线传感器网络当中,存在多个不同功能特性的网络共存于同一个区域的可能,例如,无线传感器网络中可能同时存在温度传感器网络和湿度传感器网络。 [0005] The actual wireless sensor network among a plurality of networks of different features coexist in the same area may be, for example, wireless sensor networks may present a temperature sensor and a humidity sensor networks network simultaneously. 那么,在该区域内的设备,在选择要加入的网络时,可能出现加入到不适合的网络,从而造成资源和能量的不必要消耗。 So, in the region of the device, the choice to join the network, might appear inappropriate to join the network, resulting in unnecessary consumption of resources and energy.

发明内容 SUMMARY

[0006] 本发明实施例提供一种无线传感器网络中设备入网方法及装置,使设备能够快速准确的选择加入到合适的网络。 Embodiment [0006] The present invention provides a method and a network device accesses the wireless sensor device, the equipment can be quickly and accurately added to the appropriate network selection.

[0007] 本发明实施例是通过以下技术方案实现的: [0007] Example embodiments of the present invention is achieved by the following technical solution:

[0008] 本发明实施例提供一种无线传感器网络中设备入网方法,包括: [0008] Example embodiments provide a method for network devices in a wireless sensor network of the present invention, comprising:

[0009] 获取无线传感器网络中的至少一种网络的功能特性; [0009] obtaining at least one wireless sensor network features in a network;

[0010] 获取设备的网络功能属性信息,所述网络功能属性信息用于指示所述设备能够加入的网络的功能特性; [0010] The network function device acquired attribute information, attribute information of the network functions for features indicative of the device to join the network;

[0011] 从所述至少一种网络中选择功能特性与所述网络功能属性信息相符的网络; [0011] select network characteristics and functions that match the attribute information from the network at least one network;

[0012] 加入所选择的网络。 [0012] Add the selected network.

[0013] 本发明实施例提供一种无线传感器网络中设备入网方法,包括: [0013] Example embodiments provide a method for network devices in a wireless sensor network of the present invention, comprising:

[0014] 第一协调器接收第二协调器广播的消息,所述广播的消息中携带所述第二协调器所在网络的功能特性及第二协调器下属设备信息; [0014] The first coordinator receives a second broadcast message coordinator, the network features of the broadcast message carries the second location and the second coordinator subordinate coordinator device information;

[0015] 所述第一协调器在确定本身所在网络的络功能特性与所述第二协调器所在网络的功能特性相符时,将所述下属设备信息加入到自身邻居列表中,以便为所述下属设备提供入网服务。 [0015] When the first coordinator itself determines the network where the network features consistent with the functional characteristics of the network where the second coordinator, the subordinate apparatus own information to the neighbor list, so that said subordinate device provides network services. [0016] 本发明实施例提供一种无线传感器网络中设备入网方法,包括: [0016] Example embodiments provide a method for network devices in a wireless sensor network of the present invention, comprising:

[0017] 获取设备的网络功能属性信息,所述网络功能属性信息用于指示所述设备能够加入的网络的功能特性; [0017] The network function device acquired attribute information, attribute information of the network functions for features indicative of the device to join the network;

[0018] 确定自身所在网络的功能特性与所述网络功能属性信息相符; [0018] The functional properties of the network to determine its own location matches the attribute information of the network functions;

[0019] 通知所述设备,以指示所述设备能够加入自身所在的网络。 [0019] The notification device to instruct the device to join the network itself is located.

[0020] 本发明实施例提供一种用户设备,包括: [0020] The present invention provides a user equipment, comprising:

[0021] 获取单元,用于获取无线传感器网络中的至少一种网络的功能特性以及所述用户设备的网络功能属性信息,所述网络功能属性信息用于指示所述用户设备能够加入的网络的功能特性; [0021] acquiring unit, for acquiring at least one network function network wireless sensor network and the user features of the device attribute information, the attribute information of the network function for instructing the user device to join a network features;

[0022] 选择单元,用于从所述至少一种网络中选择功能特性与所述网络功能属性信息相符的网络; [0022] The selection unit for selecting features from said at least one network functional properties consistent with the network information in the network;

[0023] 入网控制单元,用于控制所述用户设备加入所述选择单元选择的网络。 [0023] The network control unit for controlling the user equipment selection unit is added to the network.

[0024] 本发明实施例提供一种协调器,包括: [0024] Embodiments of the present invention to provide a coordinator, comprising:

[0025] 获取单元,用于获取设备的网络功能属性信息,所述网络功能属性信息用于指示所述设备能够加入的网络的功能特性; [0025] an acquiring unit for acquiring attribute information of a network device function, the network function attribute information indicates functional characteristics for the device to join the network;

[0026] 判断单元,用于判断自身所在网络的功能特性是否与所述获取单元获取的网络功能属性信息相符; [0026] The determination unit configured to determine its own network location features whether said matching network function acquires attribute information acquiring unit;

[0027] 通知单元,用于在所述判断单元判断相符情况下通知所述设备,以指示所述设备能够加入自身所在的网络。 [0027] The notification unit for notifying the device in the determination means determines the matching case, to instruct the device to join the network itself is located.

[0028] 本发明实施例提供一种协调器,包括: [0028] Embodiments of the present invention to provide a coordinator, comprising:

[0029] 接收单元,用于接收其他协调器广播的携带所述其他协调器所在网络的功能特性及所述其他协调器下属设备信息的消息; Features [0029] The receiving unit configured to receive other broadcast coordinator carries the other network coordinator and is located under the other coordinator device information message;

[0030] 判断单元,用于判断所述接收单元接收的消息中携带的所述网络的功能特性是否与本协调器所在网络的功能特性相符; [0030] determination unit configured to determine functional characteristics of the network message received by said receiving means carried matches the features of the present where the network coordinator;

[0031] 邻居列表更新单元,用于在所述判断单元判断所述接收单元接收的消息中携带的所述网络的功能特性与本协调器所在网络的功能特性相符情况下,将所述下属设备信息加入到自身邻居列表中。 [0031] The neighbor list update means for determining the functional characteristics of the network unit determines the message carried in the receiving unit matches the features of the present situation where the network coordinator, the subordinate apparatus Join to own neighbor list.

[0032] 由上述本发明实施例提供的技术方案可以看出,本发明实施例在无线传感器网络设备入网过程中能够参考网络功能属性信息,使设备能够快速准确选择合适的网络加入, 不必经过多次加入网络、离开网络的过程最终找到合适的网络,从而减少资源和能量的消 [0032] The technical solution provided by the embodiment of the present invention can be seen, embodiments of the present invention in the process of network device in wireless sensor network can refer to attribute information of the network function, so that the device can quickly and accurately select the appropriate network added, without going through multiple He added in the process network, eventually leaving the network to find a suitable network, thus reducing the consumption of resources and energy

耗ο Ο consumption

附图说明 BRIEF DESCRIPTION

[0033] 图1为本发明实施 [0033] FIG. 1 embodiment of the present invention

[0034] 图2为本发明实施 [0034] FIG. 2 embodiment of the present invention,

[0035] 图3为本发明实施 [0035] FIG. 3 embodiment of the present invention

[0036] 图4为本发明实施 [0036] 4 embodiment of the present invention, FIG.

[0037] 图5为本发明实施 [0037] FIG. 5 embodiment of the present invention

[0038] 图6为本发明实施 [0038] FIG. 6 embodiment of the present invention.

无线传感器网络中设备入网方法流程图; 的一个具体应用场景流程图; 的另一个具体应用场景流程图; 的再一个具体应用场景流程图; 无线传感器网络中设备入网方法流程图; 的一个具体应用场景流程图;[0039] 图7为本发明实施例三无线传感器网络中设备入网方法流程图; A specific application; wireless sensor network device accesses a flowchart of a method; a flowchart of a specific application scenario; flowchart illustrating another specific application scenario; re flowchart of a specific application scenario; flowchart device accesses the wireless sensor network method a flowchart of a scene; [0039] FIG. 7 flowchart of a method according to a third network device in wireless sensor networks embodiment of the present invention;

[0040] 图8为本发明实施例四用户设备结构示意图; [0040] FIG. 8 a schematic structure of a user equipment according to a fourth embodiment of the present invention;

[0041] 图9为本发明实施例四用户设备中获取单元一种实例结构示意图; [0041] FIG. 9 according to a fourth user device acquires a schematic example of one kind of structural unit embodiment of the present invention;

[0042] 图10为本发明实施例四用户设备中获取单元另一种实例结构示意图; [0042] FIG 10 a schematic view of another example of the structure of user equipment according to a fourth embodiment of the present invention, the acquiring unit;

[0043] 图11为本发明实施例五协调器结构示意图; [0043] FIG. 11 is a schematic configuration example of five coordinator embodiment of the present invention;

[0044] 图12为本发明实施例六协调器结构示意图。 [0044] FIG. 12 is a schematic configuration example of six coordinator embodiment of the present invention.

具体实施方式 Detailed ways

[0045] 下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,可以理解的是,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。 [0045] below in conjunction with the present invention in the accompanying drawings, technical solutions of embodiments of the present invention are clearly and completely described, will be understood that the described embodiments are merely part of embodiments of the present invention, rather than all embodiments. 基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 Based on the embodiments of the present invention, all other embodiments of ordinary skill in the art without any creative effort shall fall within the scope of the present invention.

[0046] 本发明实施例一提供一种传感器网络中设备入网方法,参照图1中所示,包括如下步骤: [0046] Embodiments of the present invention provides a method for network equipment, as shown in FIG. 1 with reference to a sensor network, comprising the steps of:

[0047] 步骤10 :获取无线传感器网络中的至少一种网络的功能特性; [0047] Step 10: acquiring at least one network functional characteristics of the wireless sensor network;

[0048] 其中,在设备通过关联过程加入网络或通过重新加入网络过程加入网络时,所述获取无线传感器网络中的一种网络的功能特性的方法包括:接收协调器广播的信标,所述信标中包含所述协调器所在的一种网络的功能特性;从所述信标中提取该种网络的功能特性。 [0048] wherein, in the process of joining the network through the association process apparatus or rejoin the network through network during the addition, the functional properties of obtaining a networked wireless sensor network comprises: receiving a beacon broadcast by the coordinator, the beacon comprises the features for network coordinator is located; extracting features of the kind of network from the beacon.

[0049] 在设备通过直接加入网络过程加入网络时,所述获取无线传感器网络中的一种网络的功能特性包括:接收协调器发送的重配置命令,所述重配置命令中携带所述协调器所在的一种网络的功能特性;从所述重配置命令中提取该种网络的功能特性。 [0049] In the device directly into the network through the network during the addition, the functional properties of obtaining a networked wireless sensor network comprises: carrying the coordinator receives a reconfiguration command sent by the coordinator, the reconfiguration command a network feature resides; functional properties of the extracted species from the network reconfiguration commands.

[0050] 本实施例可通过扩展现有协议,来实现在各信道协调器广播的信标中增加各协调器所在网络的功能特性,或实现在协调器发送的重配置命令中携带各协调器所在网络的功能特性。 [0050] The present embodiment can extend the existing protocol, implemented in the channel coordinator broadcasts the beacon to increase the functional properties of the network each coordinator is located, or implement carrying each coordinator reconfiguration command coordinator sends the functional characteristics of the network lies.

[0051] 步骤11 :获取设备的网络功能属性信息,所述网络功能属性信息用于指示所述设备能够加入的网络的功能特性; [0051] Step 11: acquiring attribute information of a network device function, the network function attribute information indicates functional characteristics for the device to join the network;

[0052] 所述设备的网络功能属性可以为网络信息库(Network Information Base, NIB) 属性,进一步的,可以为部分或全部设备标识符。 [0052] The functional attributes of the network device may be a network information database (Network Information Base, NIB) property, further, may be partially or fully device identifier.

[0053] 当然,步骤10和步骤11间的顺序不是固定的,本实施例不做限定。 [0053] Of course, the order of step 11 and step 10 is not fixed, not limited in the present embodiment.

[0054] 步骤12 :从所述至少一种网络中选择功能特性与所述网络功能属性信息相符的网络; [0054] Step 12: Select the network properties of the network functions that match the attribute information from the at least one network;

[0055] 本发明实施例可以在根据所述网络的功能特性选择与所述网络功能属性信息相符的网络后,再根据现有条件选择确定一个要加入的网络。 [0055] Embodiments of the invention may be in the matching network based on the functional properties of the selected network attribute information of the network function, and then choose OK to join a network in accordance with existing conditions.

[0056] 步骤13 :加入所选择的网络。 [0056] Step 13: Add the selected network.

[0057] 本发明实施例在设备加入网络过程中参考网络功能属性信息,使设备能够快速准确的选择加入到与本身功能特性相符的网络,使得设备不必经过多次加入网络、离开网络的过程,从而减少资源和能量的消耗。 Example [0057] The features of the present invention with reference to the attribute information network device joins the network process, so that the device can be quickly and accurately added to the selected features consistent with the network itself, after several such devices do not join the network, the process of leaving the network, thereby reducing the consumption of resources and energy.

[0058] 为进一步理解本发明实施例一,下面以一个具体实施例对上述实施例一的方法进 [0058] For a further understanding of the present invention is an embodiment, in the following a specific embodiment of the method of the above-described embodiment into the first embodiment of the

6行详细介绍,如图2中所示,以设备通过关联过程加入网络为例,该方法具体包括如下步骤: Details of the line 6, as shown in FIG. 2, to join the network the device association process through an example, the method includes the following steps:

[0059] 步骤20 :通过关联过程加入网络的设备的上层向网络层发送网络发现原语NLME-NETffORK-DISCOVERY. request,发起网络发现过程,以寻找合适的网络加入,该原语中指示即将扫描的信道,以及每个信道扫描的时长等信息; [0059] Step 20: the upper joining device a network via an associated discovery process primitive NLME-NETffORK-DISCOVERY to the network layer sends the network request, the originating network discovery process to find a suitable network participation, the primitive indicates impending scan. channel, and the duration of each information channel scanning;

[0060] 步骤21 :设备的网络层接收到NLME-NETWORK-DI SCOVERY. request原语之后,向设备的媒体接入控制(MAC,Media Access Control)层发送扫描请求原语MLME-SCAN. request,发起一个主动(active)信道扫描过程; [0060] Step 21: The network device after receiving layer NLME-NETWORK-DI SCOVERY request primitive, layer to send the scan request primitive to the MLME-SCAN media access control (MAC, Media Access Control) device Request,. initiating an active (active) channel scanning process;

[0061] 步骤22 :设备的MAC层接收到MLME-SCAN. request原语之后,开始扫描信道,包括:在每一个指示的信道上发送信标请求帧Beacon request,接收各信道上各协调器反馈的所有信标帧,所述信标帧中携带有各协调器所在网络的功能特性nwkNetworkFimction ; [0061] Step 22: After receiving the MAC layer device MLME-SCAN request primitive begins scanning channels, comprising: transmitting a beacon channel indicates a request frame every Beacon request, each coordinator on each channel received feedback All beacon frame, the beacon frame carries where each coordinator nwkNetworkFimction network features;

[0062] 设备的MAC层从接收到的信标帧中提取信息,组成PAN Descriptor结构体,可以通过信标通知原语MLME-BEAC0N-N0TIFY. indication把上述PANDescriptor结构体发送给设备的网络层;或者将PAN Descriptor结构体暂存在MAC层,在所有信道扫描完成之后,通过MLME-SCAN. confrim原语,把所有的PAN Descriptor 一起发送给网络层。 MAC [0062] device layer was extracted information from the beacon frame is received, the composition of PAN Descriptor structure, may be notified primitive MLME-BEAC0N-N0TIFY indication network layer transmits the above-described PANDescriptor structure to the device through the beacon.; or PAN Descriptor structure is temporarily stored in the MAC layer, after the completion of scanning all channels,. confrim primitive, MLME-sCAN transmits all together to the network layer PAN Descriptor.

[0063] 本发明实施例设备的MAC层扫描到的信标帧中包含有nwkNetworkFunction信息, 并且,设备扫描到信标帧后,需要把信标帧中包含的上述nwkNetworkFunction信息包含在PAN Descriptor结构体中,反馈给设备的网络层; [0063] MAC layer embodiment of the apparatus of the present invention scans the beacon frame contains nwkNetworkFunction information, and the device scans the beacon frames, need to above nwkNetworkFunction information in the beacon frame contains contained in the PAN Descriptor structure the feedback device to the network layer;

[0064] 步骤23 :在完成所有信道扫描之后,设备的MAC层向网络层发送扫描确认原语MLME-SCAN. confrim ; [0064] Step 23: After completing all the channel scanning, MAC layer of the transmitting device scans confirm primitive to the network layer MLME-SCAN confrim;.

[0065] 步骤24 :设备的网络层接收到MLME-SCAN. confrim原语之后,将PANDescriptor结构体中包含的设备信息加入到其邻居列表中,并针对每一个网络构建网络描述信息Network Descriptor,将该网络描述信息通过网络发现确认原语NLME-NETWORK-D I SCOVERY. confirm 发送给设备的上层; [0065] Step 24: The network layer device receives the MLME-SCAN after confrim primitive, the device information PANDescriptor structure contains added to its neighbor list, and build the network description information Network Descriptor for each network will be. the network description information confirmation primitive NLME-nETWORK-D I SCOVERY discovery confirm the network device transmits to the upper layer.;

[0066] 所述Network Descriptor中包含的信息,除网络标识ExtendedPANIcU逻辑信道LogicalChannle 等信息之夕卜,还包括上述nwkNetworkFunction ; [0066] The information included in the Network Descriptor addition ExtendedPANIcU logical network identification information of LogicalChannle like Bu Xi, further comprising the above-described nwkNetworkFunction;

[0067] 其中,此处所述的设备信息包括协调器相关信息,设备的网络层的邻居列表中保存有可为该设备提供服务的协调器信息。 [0067] wherein, where the apparatus includes a neighbor list information coordinator network layer related information, may be stored in the device to service the device information coordinator.

[0068] 步骤25 :设备的上层根据nwkNetworkFunction信息,选择与本身的网络功能属性信息相符的网络,然后再根据现有的条件进行选择,并最终选定一个网络,并通过发送加入请求原语NLME-J0IN. request,加入到选定的网络中; [0068] Step 25: The upper layer device nwkNetworkFunction information, the network selection function attribute information matching the network itself, and then selected according to the existing conditions, and finally selected a network, and by transmitting the request primitive added NLME . -J0IN request, is added to the selected network;

[0069] 所述NLME-J0IN. request原语中携带选定的网络的标识,并指示是通过关联过程加入网络; . [0069] The NLME-J0IN request primitive identifier carried in the selected network, and the indication is added by the network association procedure;

[0070] 之后完成关联过程加入网络的操作,其操作方法同现有技术,具体如下: [0070] After completion of the correlation operation of the network during the addition, with the prior art method of operation, as follows:

[0071] 步骤26 :设备的网络层接收到NLME-J0IN. request,从其邻居列表中选择一个合适的协调器,并向设备的MAC层发送关联请求原语MLME-ASS0CIATI0N. request,该原语中指示要关联的协调器的地址; [0071] Step 26: The network layer receives the device NLME-J0IN request, select an appropriate neighbor list from the coordinator, and requests the MAC layer of the transmitting device associated primitive MLME-ASS0CIATI0N request, the primitive. indicating the address of the coordinator to be associated;

[0072] 步骤27 :设备的MAC层在接收到MLME-ASS0CIATI0N. request原语之后,向原语中指示的协调器发送关联请求命令Association request command,并接收协调器返回的关 [0072] Step 27:. MAC layer of the device after receiving the MLME-ASS0CIATI0N request primitive, indicating the original language coordinator sends the association request command Association request command, and receives the returned off coordinator

7联口向应命令Association response command ; 7 to be linked to the command port Association response command;

[0073] 步骤28 =MAC层向网络层发送关联确认原语MLME-ASSOCIATION. confirm,反馈关联请求结果; [0073] Step 28 = MAC layer sends an association confirm primitive to the network layer MLME-ASSOCIATION confirm, an association request feedback results.;

[0074] 步骤29 :设备的网络层向设备的上层发送加入确认原语NLME-J0IN. confirm,完成加入过程。 [0074] Step 29: The network device transmits to the upper layer device Join Confirm primitive NLME-J0IN confirm, complete the joining process.

[0075] 本发明实施例在设备通过关联过程加入网络过程中,通过在协调器发送的信标中增加网络的功能特性,使设备可以根据该网络的功能特性快速选择正确的网络加入,不必经过几次加入网络、离开网络的过程,从而减少资源和能量消耗。 [0075] Embodiments of the invention in a device joins the network process by linking process, by increasing the functional characteristics of the network in a beacon coordinator transmitted, so that the device can quickly select the correct network according to the features of the network added, without going through several times to join the network, the process of leaving the network, thus reducing resource and energy consumption.

[0076] 本发明实施例一的另一个具体应用实例如图3中所示,为设备通过重新加入网络过程加入网络为例,该方法具体包括如下步骤: [0076] Another embodiment of a specific application example of the present invention is shown in Figure 3, is to rejoin the network device through the network during the addition of, for example, the method includes the following steps:

[0077] 步骤30 :通过重新加入网络过程加入网络的设备的上层,向网络层发送加入请求原语NLME-J0IN. request,并指示通过重新入网过程加入网络,指示加入网络的网络标识ExtendPANId,以及即将扫描的信道信息等; [0077] Step 30: The upper layer rejoin the network during the addition of devices of the network, and sent to the network layer is added to request primitive NLME-J0IN request, and indicates to join the network by re-network process, indicating added network identification ExtendPANId network, as well. the channel information is about to scan the like;

[0078] 步骤31 :设备的网络层接收到NLME-J0IN. request原语之后,向设备的MAC层发送扫描请求原语MLME-SCAN. request,发起一个主动(active)信道扫描过程; . [0078] Step 31: The network device after receiving layer NLME-J0IN request primitive to request primitive MLME-SCAN request to the MAC layer of the transmitting scanning device, to initiate an active (active) channel scanning process;.

[0079] 步骤32 :设备的MAC层接收到MLME-SCAN. request原语之后,开始扫描指定的信道,方法是:在每一个信道上发送信标请求帧;接收该信道上的所有信标帧;从接收到的信标帧中提取信息,提取的信息包括ExtendPANId及协调器所在网络的功能特性nwkNetworkFimction信息、以及协调器信息等,并比较所提取的信息中包含的ExtendPANId是否与设备指定的ExtendPANId —致,以及比较提取的信息中所包含的网络的功能特性是否与设备的网络功能属性信息相符,如果一致且相符,则把对应的协调器信息加入到其设备的邻居列表中,并向设备的网络层发送MLME-BEAC0N-N0TIFY. indication 原语,其中包含网络的功能特性nwkNetworkFunction ;如果不一致或不相符,则丢弃接收到的信标帧以及提取的信息。 . [0079] Step 32: After receiving the MAC layer device MLME-SCAN request primitive to start scanning the specified channel, the method is: in each channel transmits a beacon request frame; all beacon frames received on the channel ; extracted from the beacon frame in the received information, the extracted information includes features ExtendPANId and the network coordinator where nwkNetworkFimction information and the coordinator information and the like, ExtendPANId information and comparing the extracted contained specifies whether the device ExtendPANId - actuation feature, and the information contained in the network comparing the extracted information whether the network device functional attributes match and the match if they are consistent, the coordinator added to the information corresponding to put it in the list of neighboring devices, equipment and network layer transmits MLME-BEAC0N-N0TIFY indication primitive, wherein the network comprises features nwkNetworkFunction;. If not or do not match, the received beacon frame, and the extracted information is discarded.

[0080] 步骤33 :在完成所有信道扫描之后,设备的MAC层向设备的网络层发送MLME-SCAN. confrim 原语; [0080] Step 33: After completing all the channel scanning, MAC layer of the transmitting device to the network layer MLME-SCAN primitive confrim device;.

[0081] 步骤34 :设备的网络层接收到MLME-SCAN. confrim原语之后,根据从MLME-BEAC0N-N0TIFY. indication 原语中提取的nwkNetworkFunction 选择合适的网络,以及在其邻居列表中选择合适的协调器,并经设备的MAC层向选择的协调器发送重新加入请求命令Rejoin reqeust command ; [0081] Step 34: Network layer device after receiving the MLME-SCAN confrim primitive select the appropriate network based on the extracted from the MLME-BEAC0N-N0TIFY indication primitive nwkNetworkFunction, and selecting in its neighbor list the appropriate coordinator, and transmitting a request to rejoin the command rejoin reqeust command coordinator to the selected device via the MAC layer;

[0082] 步骤35 :协调器接收到所述Rejoin reqeust command命令后,向经设备的MAC层向设备的网络层发送重新加入响应命令Rejoin Response command命令; [0082] Step 35: After receiving the coordinator Rejoin reqeust command command, layer transmits a response command to rejoin Rejoin Response command command to the MAC layer via the device to the network device;

[0083] 步骤36 :设备的网络层接收到所述Rejoin Response command命令后,向设备的上层发送NLME-J0IN. confirm原语,完成网络重新入网。 [0083] Step 36: After the network layer receives the device Rejoin Response command command, transmits upper layer NLME-J0IN device to confirm primitive, to complete the network re-access network.

[0084] 本发明实施例在设备通过重新加入网络过程加入网络过程中,通过在协调器发送的信标中增加网络的功能特性,使设备可以根据该网络的功能特性快速选择正确的网络加入,不必经过几次加入网络、离开网络的过程,从而减少资源和能量消耗。 [0084] Embodiments of the invention the apparatus by re-join the network during the addition of the network process by increasing the functional characteristics of the network in a beacon coordinator transmitted, so that the device can quickly select the correct network participation in accordance with features of the network, without going through the process several times to join the network, leaving the network, thus reducing resource and energy consumption.

[0085] 本发明实施例一的再一个具体应用实例如图4中所示,为设备通过直接加入网络过程加入网络为例,该方法具体包括如下步骤:[0086] 步骤40 :设备上层向设备网络侧发送MLME-JOIN. request原语,发起直接加入网络的设备侧过程,该MLME-JOIN. request原语指定是通过孤立加入过程并指定扫描的信道 A specific application example shown in FIG. 4 of a further embodiment [0085] of the present invention, by the direct addition of a network device joins the network as an example the process, which method includes the following steps: [0086] Step 40: an upper layer device to device the network side sending MLME-JOIN. request primitive, initiating network device directly into the process side of the MLME-JOIN. request primitive isolated by addition of the specified procedure and specifying a channel scan

^fn 息; ^ Fn interest;

[0087] 步骤41 :设备网络侧接收到上述MLME-JOIN. request原语之后,向设备MAC层发起MLME-SCAN. request原语,进行信道扫描,该MLME-SCAN. request原语指示为孤立扫描; [0087] Step 41: the network side receives the MLME-JOIN after the request primitive, initiate MLME-SCAN to the MAC layer request primitive, a channel scan, the MLME-SCAN request primitive is indicated as orphan scan... ;

[0088] 步骤42 :设备MAC层接收到MLME-SCAN. request原语之后,在指定信道上发送孤立通知命令(Orphan notification command),该孤立通知命令中携带所述设备地址; . [0088] Step 42: After the MAC layer receives the primitive MLME-SCAN request, notification command transmitted isolated (Orphan notification command) the designated channel, the orphan notification command carries the device address;

[0089] 步骤43 :每一个接收到孤立通知命令的协调器的MAC层都向其网络层发送MLME-0RPHAN. indication原语,携带孤立通知命令中携带的设备地址; [0089] Step 43: receiving the orphan notification each command the MAC layer of the coordinator sends its network layer MLME-0RPHAN indication primitive address orphan notification command carrying device carried;.

[0090] 步骤44 :协调器的网络层在其邻居列表中查询是否有上述孤立通知命令携带的设备的地址指示的设备信息,如果有,则向协调器的MAC层发送MLME-0RPHAN. response原语,该原语中携带协调器所在网络的功能特性,指示协调器所在网络的功能特性;如果没有,则不响应; [0090] Step 44: Network Layer coordinator queries in its neighbor list if there is the device information of device address indication carried the orphan notification command, if so, transmits MLME-0RPHAN to the MAC layer coordinator response original. language, carry the network coordinator features located in the primitive, indicating functional characteristics of the network coordinator is located; if not, no response;

[0091 ] 步骤45 :协调器的MAC层接收到MLME-ORPHAN. response原语后,发送协调器重配置命令(coordinator realignment command),并在命令中携带网络标识(PAN identifier)、网络协调器地址(macPANId)、网络当前的逻辑信道和信道页(logical channel,channelpage)以及为设备分配的16位短地址,还有协调器所在网络的功能特性; [0091] Step 45: MAC layer coordinator receives the MLME-ORPHAN the response primitive, transmission coordination discouraged configuration command (coordinator realignment command), and carries the network identifier (PAN identifier), the network coordinator address in the command (. macPANId is), the current network and the logical page channel (logical channel, channelpage) and 16-bit short address assigned to the device, as well as the coordinator of the network where the functional characteristics;

[0092] 步骤46 :设备的MAC层接收到协调器发送的重配置命令之后,首先判断发送重配置命令的协调器所在网络的功能特性是否与所述设备的网络功能属性信息相符,如果相符,则向网络层发送MLME-SCAN. conff im原语;否则,继续扫描信道,直到信道扫描结束,或者找到与设备网络功能属性信息相符的网络; [0092] Step 46: After receiving the MAC layer device reconfiguration command sent by the coordinator, the network first determines whether the transmission of the reconfiguration command coordinator located features and functions of the network device attribute information match, if match, sending MLME-sCAN conff im primitive to the network layer; otherwise, continue to scan the channels until a channel scan end or find devices with functional properties matching network information network;

[0093] 步骤47 :设备的网络层在接收到MLME-SCAN. confirm原语之后,向其上层发送NLME-J0IN. conffim原语,完成加入网络过程。 [0093] Step 47: The network layer of the device after receiving the MLME-SCAN confirm primitive, the upper layer transmits NLME-J0IN conffim primitives thereto, to join the network to complete the process.

[0094] 本实施例在设备通过直接加入网络过程加入网络时,协调器在反馈的重配置命令中增加网络的功能特性,使设备可以根据该网络的功能特性快速准确的选择合适的网络加入,不必经过几次加入网络、离开网络的过程,从而减少资源和能量消耗。 [0094] The present embodiment increases the functional properties of the network reconfiguration command devices directly join the network during the addition of the network coordinator fed back, so that the device can be quickly and accurately select the appropriate network added functional characteristics of the network, without going through the process several times to join the network, leaving the network, thus reducing resource and energy consumption.

[0095] 本发明实施例二提供一种无线传感器网络中设备入网方法,参照图5中所示,该方法包括如下步骤: [0095] The method according to the second network in a wireless sensor network apparatus according to the present invention, with reference to FIG. 5, the method comprising the steps of:

[0096] 步骤50 :获取设备的网络功能属性信息,所述网络功能属性信息用于指示所述设备能够加入的网络的功能特性; [0096] Step 50: acquiring attribute information of a network device function, the network function attribute information indicates functional characteristics for the device to join the network;

[0097] 其中,所述获取设备的网络功能属性信息的方法包括:接收设备发送的孤立通知命令,所述孤立通知命令中携带所述设备的网络功能属性信息;从所述孤立通知命令中提取所述设备的网络功能属性信息。 [0097] wherein, said acquiring function network device attribute information comprising: receiving the orphan notification command sent by the orphan notification command carries the network function of the device attribute information; extracting from the orphan notification command network function of the device attribute information.

[0098] 步骤51 :确定自身所在网络的功能特性与所述网络功能属性信息相符; [0098] Step 51: determining features consistent with the attribute information of network function of the network itself belongs;

[0099] 步骤52 :通知所述设备,以指示所述设备能够加入自身所在的网络。 [0099] Step 52: notifying the device, to instruct the device to join the network itself is located.

[0100] 所述通知所述设备包括:发送重配置命令给所述设备。 [0100] The notification said apparatus comprising: a reconfiguration command to the transmitting device.

[0101] 其中,所述设备可以加入接收到的第一个发送所述重配置命令的协调器所在网络,也可以从多个发送所述重配置命令的协调器所在网络中选择一个,本发明实施例对此不作限定。 [0101] wherein, the device can join the network coordinator reconfiguration command where a first received transmission, the network may send a reconfiguration command to the coordinator selects one from a plurality of host, the present invention Example embodiments which is not limited. [0102] 本实施例在设备发送的孤立通知命令中携带设备的网络功能属性信息,使设备的网络选择加入过程可以参考网络功能特性,实现设备能够快速准确选择合适的网络加入, 而不必经过几次加入网络、离开网络的过程,从而减少资源和能量消耗。 [0102] This network function attribute information carrying device of the orphan notification command sent in Example embodiments the network device opt process may reference network features to realize the device can quickly and accurately select the appropriate network added, without going through several times to join the network, the process of leaving the network, thus reducing resource and energy consumption.

[0103] 为进一步理解实施例二所述方法,下面以具体应用场景对实施例二进行详细说明,以设备直接加入网络过程为例进行说明,如图6中所示,具体包括如下步骤: [0103] For a further understanding of the method of Example two below as specific application scenario according to the second embodiment to be described in detail, in order to join the network device directly process as an example, as shown in Figure 6, includes the following steps:

[0104] 步骤60 :设备上层向设备网络层发送NLME-JOIN. request原语,发起直接加入网络的设备侧过程,所述NLME-JOIN. request原语中指定是通过孤立加入过程,并指示需要扫描的信道等信息; [0104] Step 60: The device sends the device the upper network layer NLME-JOIN request primitive, the initiating device processes the side directly into the network, the NLME-JOIN request primitive is specified by the addition of an isolated process, and to indicate channel scan information;

[0105] 步骤61 :设备网络层接收到上述NLME-JOIN. request原语之后,向设备MAC层发起MLME-SCAN. request原语,进行信道扫描,该MLME-SCAN. request原语指示为孤立扫描, 并在该MLME-SCAN. request原语中指示设备的网络功能属性信息; [0105] Step 61: the device network layer receiving the NLME-JOIN after the request primitive, initiate MLME-SCAN to the MAC layer request primitive, a channel scan, the MLME-SCAN request primitive is indicated as orphan scan... and attribute information indicating that the network function of the device in the MLME-SCAN request primitive.;

[0106] 步骤62 :设备MAC层接收到MLME-SCAN. request原语之后,在指定信道上发送孤立通知命令(Orphan notification command),并在该命令中携带设备的网络功能属性信息nwkNetworkFunction ; . [0106] Step 62: After the MAC layer receives the primitive MLME-SCAN request, notification command transmitted isolated (Orphan notification command) in the specified channel, and carries the network function of the device attribute information in the order nwkNetworkFunction;

[0107] 步骤63 :每一个接收到孤立通知命令的协调器的MAC层都向该协调器的网络层发送孤立通知原语MLME-0RPHAN. indication,携带孤立通知命令中携带的设备地址和设备的nwkNe tworkFunc t ion ; [0107] Step 63: receiving the orphan notification each command coordinator sends a MAC layer notification isolated MLME-0RPHAN indication primitive to the network layer of the coordinator, and the device isolation carrying device address carried in the notification command. nwkNe tworkFunc t ion;

[0108] 步骤64:协调器的网络层判断协调器自身所在的网络的功能特性是否与设备的nwkNetworkFunction相符,如果相符,就在其邻居列表中查询是否有上述孤立通知命令携带的所述设备的地址指示的设备信息,如果找到,则向协调器的MAC层发送孤立响应原语MLME-0RPHAN. response ;如果不相符,或者没有在其邻居列表中找到设备的信息,则不响应; [0108] Step 64: Network Features network layer itself belongs coordinator coordinator determines whether the device matches nwkNetworkFunction, If they match, it queries whether the above-described apparatus orphan notification command carries in its neighbor list the address indicated by the device information, if found, transmits isolated response primitive MLME-0RPHAN response to the MAC layer coordinator;. If it does not, or no information is found in its device neighbor list, no response;

[0109] 需要说明的是,实际应用中可以先查询邻居列表中是否有所述孤立通知命令携带的所述设备的地址指示的设备信息的操作,在确认邻居列表中有所述设备的信息后,再执行协调器自身所在的网络的功能特性是否与设备的nwkNetworkFunction相符的判断,本发明实施例对该操作顺页序不做限制。 [0109] It should be noted that the actual application can first check whether there is information on the operation of the device address of the device of the orphan notification command carries indication neighbor list, after confirming the neighbor list information of the device , and then determines whether performing the functional properties of the network itself is located coordinator device consistent with nwkNetworkFunction, embodiments of the present invention is not limited in the actions that cis page order.

[0110] 步骤65 :协调器的MAC层接收到MLME-0RPHAN. response原语后,发送协调器重配置命令(coordinator realignment command),并在命令中携带网络标识(PAN identifier)、网络协调器地址(macPANId)、网络当前的逻辑信道和信道页(logical channel、channelpage)以及为设备分配的16位短地址; [0110] Step 65: MAC layer coordinator receives the MLME-0RPHAN the response primitive, transmission coordination discouraged configuration command (coordinator realignment command), and carries the network identifier (PAN identifier), the network coordinator address in the command (. macPANId), the current network and the logical page channel (logical channel, channelpage) and 16-bit short address assigned to the device;

[0111] 步骤66:设备的MAC层接收到协调器重配置命令之后,向设备的网络层发送MLME-SCAN. confrim 原语; [0111] Step 66: After receiving the MAC layer coordinator discouraged device configuration command, transmits MLME-SCAN confrim primitive to the network layer device;.

[0112] 步骤67 :设备的网络层在接收到MLME-SCAN. confirm原语之后,向设备上层发送NLME-JOIN. confrim原语,完成加入网络过程。 [0112] Step 67: The network layer of the device after receiving the MLME-SCAN confirm primitive, the upper layer transmits NLME-JOIN confrim primitive device, join the network to complete the process.

[0113] 本实施例在设备通过直接加入网络过程加入网络时,在设备发送的孤立通知命令中携带设备的网络功能属性信息,使设备的网络选择加入过程可以参考网络功能特性,实现设备能够快速准确选择合适的网络加入,不必经过几次加入网络、离开网络的过程,从而减少资源和能量消耗。 [0113] The present embodiment functions in the network attribute information of the device by direct addition of the network during the addition of the network, carrying device of the orphan notification command sent in the network device opt process may reference network features, for device quickly accurately select the appropriate network added, without going through the process several times to join the network, leaving the network, thus reducing resource and energy consumption.

[0114] 本发明实施例三提供一种无线传感器网络中设备入网方法,参照图7所示,包括如下步骤: [0114] according to a third method for network devices in a wireless sensor network, with reference to FIG. 7, embodiments of the present invention comprising the steps of:

[0115] 步骤70 :第一协调器接收第二协调器广播的消息,所述广播的消息中携带所述第二协调器所在网络的功能特性及第二协调器下属设备信息; [0115] Step 70: a first coordinator receives a second message broadcast by the coordinator, the network features of the broadcast message carries the second location and the second coordinator subordinate coordinator device information;

[0116] 步骤71 :所述第一协调器在确定本身所在网络的络功能特性与所述第二协调器所在网络的功能特性相符时,将所述下属设备信息加入到自身邻居列表中,以便为所述下属设备提供入网服务。 [0116] Step 71: When the first coordinator itself determines the network where the network features consistent with the functional characteristics of the network where the second coordinator, the subordinate apparatus own information to the neighbor list, so that provide network services to the subordinate device.

[0117] 可以理解的是,该第二协调器广播的消息也会被设备接收到,设备在发现协调器需要改变后,在后续入网过程中,所述第一协调器由于在自身的邻居列表中已经保存了该设备信息,且该第一协调器所在网络的功能特性与第二协调器所在网络的功能特性相符, 因此也必然与所述设备的网络功能属性信息相符,因此该第一协调器能够为该设备提供入网服务。 [0117] It will be appreciated that the second coordinator will broadcast a message to the device is received, after the discovery coordinator device needs to be changed in the course of the subsequent network, the coordinator first since its neighbor list in the device information has been saved, and features a first coordinator of the network where the network features a second coordinator where consistent, and therefore necessarily match the network function of the device attribute information, so that the first coordinator It can provide network services for the device. 因此本发明实施例的方案为设备快速准确的选择合适的网络加入提供的有效的帮助。 Thus embodiments of the present invention apparatus quickly and accurately select the appropriate network is added to provide effective help.

[0118] 本发明实施例四提供一种用户设备,如图8中所示,包括: [0118] according to a fourth embodiment of the present invention provides a user equipment, as shown in FIG. 8, comprising:

[0119] 获取单元80,用于获取无线传感器网络中的至少一种网络的功能特性以及所述用户设备的网络功能属性信息,所述网络功能属性信息用于指示所述用户设备能够加入的网络的功能特性; [0119] acquiring unit 80, configured to acquire at least one network functional features of the network in the wireless sensor network and the user device attribute information, the attribute information of the network function for instructing the user device to join a network functional properties;

[0120] 选择单元81,用于从所述至少一种网络中选择功能特性与所述网络功能属性信息相符的网络; [0120] a selecting unit 81 for selecting features from said at least one network with the network match the attribute information of the network functions;

[0121] 入网控制单元82,用于控制所述用户设备加入所述选择单元81选择的网络。 [0121] network control unit 82 for controlling the user equipment selection unit 81 added to the selected network.

[0122] 所述获取单元80 —种结构实施例如图9中所示,可以进一步包括: [0122] The acquisition unit 80-- kind of structure embodiment shown in FIG. 9, for example, may further comprise:

[0123] 第一接收子单元801,用于接收协调器广播的信标,所述信标中包含所述协调器所在网络的功能特性; [0123] a first receiving subunit 801, a beacon receiver for broadcast by the coordinator, the beacon includes function characteristic where the coordinator of the network;

[0124] 第一提取子单元802,用于从所述信标中提取网络的功能特性。 [0124] extracting a first sub-unit 802, for extracting features from the network beacon.

[0125] 所述获取单元81另一种实施例如图10中所示,可以进一步包括: [0125] The acquisition unit 81 a further example embodiment shown in FIG. 10, further comprising:

[0126] 第二接收子单元803,用于接收协调器发送的重配置命令,所述重配置命令中携带所述协调器所在网络的功能特性; [0126] The second receiving subunit 803, configured to receive the coordinator sends a reconfiguration command, the reconfiguration command carries functional characteristics of the network coordinator is located;

[0127] 第二提取子单元804,用于从所述重配置命令中提取所述网络的功能特性。 [0127] The second sub-extraction unit 804, the functional properties of the network for a reconfiguration command from the extract.

[0128] 本实施例所述用户设备能够从获取至少一种网络的功能特性信息,根据所述网络的功能特性来选择与本身的功能网络功能属性相符的网络加入,实现设备能够快速准确选择合适的网络加入,不必经过几次加入网络、离开网络的过程,从而减少资源和能量消耗。 [0128] The present embodiment the user device can acquire at least one feature information from the network, according to the functional characteristics of the network itself and opt matching functions of the network properties of the network function, the device can be achieved quickly and accurately select an appropriate the network added, without going through the process several times to join the network, leaving the network, thus reducing resource and energy consumption.

[0129] 本发明实施例五提供一种协调器,如图11中所示,包括: [0129] according to the fifth embodiment of the present invention to provide a coordinator, shown in Figure 11, comprising:

[0130] 获取单元110,用于获取设备的网络功能属性信息,所述网络功能属性信息用于指示所述设备能够加入的网络的功能特性; [0130] acquiring unit 110, a network device attribute information obtaining function, the network function attribute information indicates functional characteristics for the device to join the network;

[0131] 判断单元111,用于判断自身所在网络的功能特性是否与所述获取单元获取的网络功能属性信息相符; [0131] determination unit 111 for determining functional properties of the network itself belongs whether said matching network function acquires attribute information acquiring unit;

[0132] 通知单元112,用于在所述判断单元111判断相符情况下通知所述设备,以指示所述设备能够加入自身所在的网络。 [0132] The notification unit 112 for notifying the device in the determination unit 111 determines the matching case, to instruct the device to join the network itself is located.

[0133] 本实施例所述协调器能够根据获取的设备的网络功能属性信息,判断本身所在网络的功能特性是否与所述设备的功能特性相符,若相符,则通知设备以指示设备可以加入自身所在的网络,否则不响应,实现了设备能够快速准确选择合适的网络加入,不必经过几次加入网络、离开网络的过程,从而减少资源和能量消耗。 [0133] The present embodiment according to the network coordinator to the function of acquiring the attribute information of the device, where the network itself is determined whether the features consistent with the functional characteristics of the device, if match, the notification device to indicate that the device itself can be added network is located, or does not respond, to achieve a device capable of quickly and accurately select the appropriate network added, without going through the process several times to join the network, leaving the network, thus reducing resource and energy consumption.

[0134] 本发明实施例六提供一种协调器,如图12中所示,包括: [0134] Example provides a six coordinator, as shown in FIG. 12 embodiment of the present invention, comprising:

[0135] 接收单元120,用于接收其他协调器广播的携带所述其他协调器所在网络的功能特性及所述其他协调器下属设备信息的消息; [0135] The receiving unit 120 for receiving the carrying functional properties of other networks where the other coordinator broadcasts a coordinator and the message coordinator other subordinate device information;

[0136] 判断单元121,用于判断所述接收单元接收的消息中携带的所述网络的功能特性是否与本协调器所在网络的功能特性相符; Functional properties of the network message [0136] determination unit 121 for determining whether the receiving unit is carried in the received matches the features of the present where the network coordinator;

[0137] 邻居列表更新单元122,用于在所述判断单元121判断所述接收单元接收的消息中携带的所述网络的功能特性与本协调器所在网络的功能特性相符情况下,将所述下属设备信息加入到自身邻居列表中。 [0137] The neighbor list update unit 122, for the determination of the functional properties of the network unit 121 determines whether the receiving unit receives the message carried in line with the features of the present situation where the network coordinator, the subordinate device information added to their neighbor list.

[0138] 本发明实施例的协调器为设备快速准确的选择合适的网络加入提供的有效的帮助。 [0138] coordinator embodiment of the present invention is adding an effective embodiment of the device helps to provide fast and accurate selection of the appropriate network.

[0139] 综上所述,本发明实施例在设备入网过程中能够参考网络功能属性信息,使设备能够快速准确选择合适的网络加入,不必经过几次加入网络、离开网络的过程,从而减少资源和能量消耗。 [0139] In summary, embodiments of the present invention the process can refer to network equipment attribute information of the network function, so that the device can quickly and accurately select the appropriate network added, without going through the process several times to join the network, leaving the network, thereby reducing the resources and energy consumption.

[0140] 同时,本发明实施例在设备入网后,为设备提供服务的协调器发生改变时,改变前的原协调器广播携带所述原协调器所在网络的功能特性及原协调器下属设备信息的消息,接收到所述消息的其他协调器在确定本身所在网络的功能特性与所述原协调器所在网络的功能特性相符情况下,将所述广播的消息中携带的所述下属设备信息加入到邻居列表中,便于设备再次选择网络,能够快速选择到与本身功能特性相符的网络加入。 [0140] Also, embodiments of the present invention after the network equipment, the service providing apparatus when the change coordinator, the coordinator of the original broadcast before the change the functional properties of the original carrying network coordinator where the coordinator and subordinate raw device information message, the message is received at the other coordinator itself determines the network where the features and functional characteristics of the original match network coordinator where case, the broadcast message carries information of the subordinate apparatus was added the neighbor list, select the network to facilitate device again, be able to quickly select the features consistent with itself to join the network.

[0141] 本发明实施例适用于各种无线传感器网络,特别是当无线传感器网络中存在不同种类特性的网络时,可避免设备在不同属性网络中不能工作的情况。 [0141] where embodiments applicable to various embodiments of the present invention, wireless sensor networks, especially when there are different kinds of characteristics of wireless sensor networks network, the device can be avoided not work in the different properties of the network. 例如,未来的家庭无线传感网络中,电表设备和水表设备都可能是无线传感网络中的设备,但达到的功能各不相同。 For example, future home wireless sensor network, device and water meter meter device may be a wireless sensor network devices, but to achieve the functions vary. 当新电表或水表入网时需要加入与各自特性相符的网络从而正常工作。 When a new meter or meter network consistent with the need to be added so that the respective characteristics of the network is working properly. 本发明实施例则为此提供了良好的解决方案,当然也并不仅限于此处列举的场景。 For this embodiment of the invention is to provide a good solution, of course, not limited to the herein exemplified scene.

[0142] 本领域普通技术人员可以理解,实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一计算机可读存储介质中,例如只读存储器(简称ROM)、随机存取存储器(简称RAM)、磁盘、光盘等。 [0142] Those of ordinary skill in the art can be appreciated, the foregoing embodiments of the method steps may be all or part by a program instructing relevant hardware, the program may be stored in a computer-readable storage medium, for example, only read-only memory (referred to as ROM), a random access memory (abbreviated RAM), magnetic disk, optical disk.

[0143] 以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换, 都应涵盖在本发明的保护范围之内。 [0143] The above are only the preferred specific embodiments of the invention, but the scope of the present invention is not limited thereto, any skilled in the art in the art within the scope of the invention disclosed can be easily thought variations or replacements shall fall within the protection scope of the present invention. 因此,本发明的保护范围应该以权利要求的保护范围为准。 Accordingly, the scope of the present invention should be defined by the scope of the claims.

Claims (13)

  1. 一种无线传感器网络中设备入网方法,其特征在于,包括:获取无线传感器网络中的至少一种网络的功能特性;获取设备的网络功能属性信息,所述网络功能属性信息用于指示所述设备能够加入的网络的功能特性;从所述至少一种网络中选择功能特性与所述网络功能属性信息相符的网络;加入所选择的网络。 A method of network equipment in a wireless sensor network, characterized by comprising: obtaining at least one network functional characteristics of the wireless sensor network; acquiring attribute information of a network enabled device, the functional attributes of the network information indicating the device features can be added to a network; select network characteristics of the network functions that match the attribute information from the at least one network; added to the selected network.
  2. 2.如权利要求1所述的方法,其特征在于,设备通过关联过程加入网络或通过重新加入网络过程加入网络时,所述获取无线传感器网络中的一种网络的功能特性包括:接收协调器广播的信标,所述信标中包含所述协调器所在的一种网络的功能特性; 从所述信标中提取该种网络的功能特性。 2. The method according to claim 1, characterized in that the functional properties of the device to join the network through the association process, or by re-join the network during the addition of the network. A network acquiring the wireless sensor network comprises: receiving coordinator broadcast beacon, the beacon includes the features for network coordinator is located; extracting features of the kind of network from the beacon.
  3. 3.如权利要求1所述的方法,其特征在于,设备通过直接加入网络过程加入网络时,所述获取无线传感器网络中的一种网络的功能特性包括:接收协调器发送的重配置命令,所述重配置命令中携带所述协调器所在的一种网络的功能特性;从所述重配置命令中提取该种网络的功能特性。 3. The method according to claim 1, characterized in that, when added directly to the network device through the network during the addition, the functional properties of obtaining a networked wireless sensor network comprises: receiving a reconfiguration command sent by the coordinator, the reconfiguration command carries features for network where the coordinator; extracting the features from the kind of network reconfiguration commands.
  4. 4.如权利要求1至3中任一项所述的方法,其特征在于,所述设备的网络功能属性信息为设备标识符。 4. A method according to any one of claims 1 to 3, characterized in that the functional properties of the network device identifier of information device.
  5. 5. 一种无线传感器网络中设备入网方法,其特征在于,包括:第一协调器接收第二协调器广播的消息,所述广播的消息中携带所述第二协调器所在网络的功能特性及第二协调器下属设备信息;所述第一协调器在确定本身所在网络的络功能特性与所述第二协调器所在网络的功能特性相符时,将所述下属设备信息加入到自身邻居列表中,以便为所述下属设备提供入网服务。 A wireless sensor network method for network equipment, characterized by comprising: a first coordinator receives a second message broadcast by the coordinator, the broadcast message carries the functional characteristics of the network is located and a second coordinator the second device information of the subordinate coordinator; the first coordinator in determining the network where the network itself features consistent with the functional characteristics of the network where the second coordinator, the subordinate apparatus own information to the neighbor list to provide network services to said subordinate apparatus.
  6. 6. 一种无线传感器网络中设备入网方法,其特征在于,包括:获取设备的网络功能属性信息,所述网络功能属性信息用于指示所述设备能够加入的网络的功能特性;确定自身所在网络的功能特性与所述网络功能属性信息相符; 通知所述设备,以指示所述设备能够加入自身所在的网络。 A wireless sensor network method for network equipment, characterized by comprising: acquiring attribute information of the device network function, the network function attribute information for features indicative of the device to join the network; the network determines that it is located the functional characteristics of the network functions and attribute information match; notifying the apparatus to instruct the device to join the network itself is located.
  7. 7.如权利要求6所述的方法,其特征在于,所述获取设备的网络功能属性信息包括: 接收设备发送的孤立通知命令,所述孤立通知命令中携带所述设备的网络功能属性信息;从所述孤立通知命令中提取所述设备的网络功能属性信息。 7. The method according to claim 6, characterized in that said device attribute acquiring network function information comprises: receiving the orphan notification command sent by the orphan notification command carries the attribute information of the network function of the device; extracting the device from the orphan notification command attribute information of the network functions.
  8. 8.如权利要求6或7所述的方法,其特征在于,所述通知所述设备包括:发送重配置命令给所述设备。 8. The method of claim 6 or claim 7, wherein said notifying the apparatus comprising: a reconfiguration command to the transmitting device.
  9. 9. 一种用户设备,其特征在于,包括:获取单元,用于获取无线传感器网络中的至少一种网络的功能特性以及所述用户设备的网络功能属性信息,所述网络功能属性信息用于指示所述用户设备能够加入的网络的功能特性;选择单元,用于从所述至少一种网络中选择功能特性与所述网络功能属性信息相符的网络;入网控制单元,用于控制所述用户设备加入所述选择单元选择的网络。 A user equipment, comprising: an acquisition unit configured to acquire wireless network function features at least one sensor network and the user network device attribute information, the attribute information of the network functions for features instructing the user equipment to join the network; selecting means for selecting from said at least one network functional properties consistent with the attribute information of the network of the network functions; network control means, for controlling said user apparatus selection unit is added to the network.
  10. 10.如权利要求9所述的用户设备,其特征在于,所述获取单元进一步包括:第一接收子单元,用于接收协调器广播的信标,所述信标中包含所述协调器所在网络的功能特性;第一提取子单元,用于从所述信标中提取该网络的功能特性。 10. The user equipment according to claim 9, wherein the obtaining unit further comprises: a first receiving subunit, configured to broadcast the beacon receiver of the coordinator, the beacon includes the coordinator is located functional characteristics of the network; extracting a first sub-unit, for extracting from the network beacon functional properties.
  11. 11.如权利要求9所述的用户设备,其特征在于,所述获取单元进一步包括:第二接收子单元,用于接收协调器发送的重配置命令,所述重配置命令中携带所述协调器所在网络的功能特性;第二提取子单元,用于从所述重配置命令中提取所述网络的功能特性。 11. The user equipment according to claim 9, wherein the obtaining unit further comprises: a second receiving subunit, configured for re-transmitting the command receiver coordinator, the reconfiguration command carries the coordinator features network is located; the second sub-unit extracting, from the reconfiguration command for extracting the features of the network.
  12. 12. —种协调器,其特征在于,包括:获取单元,用于获取设备的网络功能属性信息,所述网络功能属性信息用于指示所述设备能够加入的网络的功能特性;判断单元,用于判断自身所在网络的功能特性是否与所述获取单元获取的网络功能属性信息相符;通知单元,用于在所述判断单元判断相符情况下通知所述设备,以指示所述设备能够加入自身所在的网络。 12. - species coordinator, characterized by comprising: an acquisition unit for acquiring attribute information of a network device function, the network function information indicating attribute of the device to join the network features; determining unit, with which itself belongs to determining whether to acquire the network features consistent with the functional network attribute information acquiring unit; a notification unit for notifying the device of the matching determination means determines the situation, to indicate that the device itself can be added where network of.
  13. 13. 一种协调器,其特征在于,包括:接收单元,用于接收其他协调器广播的携带所述其他协调器所在网络的功能特性及所述其他协调器下属设备信息的消息;判断单元,用于判断所述接收单元接收的消息中携带的所述网络的功能特性是否与本协调器所在网络的功能特性相符;邻居列表更新单元,用于在所述判断单元判断所述接收单元接收的消息中携带的所述网络的功能特性与本协调器所在网络的功能特性相符情况下,将所述下属设备信息加入到自身邻居列表中。 A coordinator, characterized by comprising: a receiving unit, a message features of other networks where the coordinator and subordinate coordinator said other device for receiving information broadcast by the other carrying the coordinator; determining means, functional properties of the network message carried in line for determining whether the receiving unit receives the functional characteristics of the present where the network coordinator; neighbor list update unit, the judging unit judges that the accepting unit the functional properties of the carrying network with features of the present network coordinator in the case where the message match, the information is added to the subordinate apparatus itself in the neighbor list.
CN2010102335707A 2010-07-16 2010-07-16 Method and device for network access of equipment in wireless sensor network CN101895963A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102335707A CN101895963A (en) 2010-07-16 2010-07-16 Method and device for network access of equipment in wireless sensor network

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2010102335707A CN101895963A (en) 2010-07-16 2010-07-16 Method and device for network access of equipment in wireless sensor network
PCT/CN2011/073234 WO2011140906A1 (en) 2010-07-16 2011-04-25 Network accessing method and apparatus for device in wireless sensor network

Publications (1)

Publication Number Publication Date
CN101895963A true CN101895963A (en) 2010-11-24

Family

ID=43104984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102335707A CN101895963A (en) 2010-07-16 2010-07-16 Method and device for network access of equipment in wireless sensor network

Country Status (2)

Country Link
CN (1) CN101895963A (en)
WO (1) WO2011140906A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011140906A1 (en) * 2010-07-16 2011-11-17 华为技术有限公司 Network accessing method and apparatus for device in wireless sensor network
CN102571890A (en) * 2010-12-22 2012-07-11 江苏联优信息科技有限公司 Method for managing configuration of wireless sensor access multiplexing equipment
CN104852982A (en) * 2015-05-18 2015-08-19 重庆邮电大学 Method of direct connection between WIA-PA network handheld device and field device based on Keep-alive frame
CN104955016A (en) * 2014-03-27 2015-09-30 浙江大华技术股份有限公司 Method of automatically joining ZigBee network and terminal equipment
CN106255228A (en) * 2016-04-27 2016-12-21 北京智谷睿拓技术服务有限公司 A kind of method, terminal unit and node device setting up network connection
CN106304247A (en) * 2015-05-11 2017-01-04 美的集团股份有限公司 The method of network entry of equipment based on Zigbee protocol
WO2018014172A1 (en) * 2016-07-19 2018-01-25 华为技术有限公司 Business processing method and network equipment in core network

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106851655A (en) * 2015-12-04 2017-06-13 富士通株式会社 Wireless network configuration method and its device, access net system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070171859A1 (en) * 2006-01-20 2007-07-26 Cisco Technology Inc. Intelligent Association of Nodes with PAN Coordinator
CN101160870A (en) * 2005-04-20 2008-04-09 皇家飞利浦电子股份有限公司 Method and device of completing sensor network task
CN101247342A (en) * 2008-03-14 2008-08-20 毛宏伟 Wireless sensor network, establishing method and communication method
EP2058981A1 (en) * 2006-09-07 2009-05-13 Huawei Technologies Co Ltd A method, system and equipment of accessing network for user
CN101505524A (en) * 2008-02-05 2009-08-12 华为技术有限公司 Method and apparatus for selecting network by user equipment
CN101513100A (en) * 2006-08-31 2009-08-19 Lg电子株式会社 Method of communicating in wireless network
CN101553021A (en) * 2008-03-31 2009-10-07 华为技术有限公司 Method, device and system for acquiring access network information
CN101668357A (en) * 2009-09-25 2010-03-10 香港城市大学深圳研究院 Multiband networking coordinator based on Zigbee technology

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895963A (en) * 2010-07-16 2010-11-24 华为技术有限公司 Method and device for network access of equipment in wireless sensor network

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101160870A (en) * 2005-04-20 2008-04-09 皇家飞利浦电子股份有限公司 Method and device of completing sensor network task
US20070171859A1 (en) * 2006-01-20 2007-07-26 Cisco Technology Inc. Intelligent Association of Nodes with PAN Coordinator
CN101513100A (en) * 2006-08-31 2009-08-19 Lg电子株式会社 Method of communicating in wireless network
EP2058981A1 (en) * 2006-09-07 2009-05-13 Huawei Technologies Co Ltd A method, system and equipment of accessing network for user
CN101505524A (en) * 2008-02-05 2009-08-12 华为技术有限公司 Method and apparatus for selecting network by user equipment
CN101247342A (en) * 2008-03-14 2008-08-20 毛宏伟 Wireless sensor network, establishing method and communication method
CN101553021A (en) * 2008-03-31 2009-10-07 华为技术有限公司 Method, device and system for acquiring access network information
CN101668357A (en) * 2009-09-25 2010-03-10 香港城市大学深圳研究院 Multiband networking coordinator based on Zigbee technology

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011140906A1 (en) * 2010-07-16 2011-11-17 华为技术有限公司 Network accessing method and apparatus for device in wireless sensor network
CN102571890A (en) * 2010-12-22 2012-07-11 江苏联优信息科技有限公司 Method for managing configuration of wireless sensor access multiplexing equipment
CN102571890B (en) * 2010-12-22 2015-08-05 江苏联优信息科技有限公司 A kind of configuring management method of wireless sensing access multiplexing
CN104955016B (en) * 2014-03-27 2018-08-07 浙江大华技术股份有限公司 A kind of method and terminal device being automatically added to ZigBee-network
CN104955016A (en) * 2014-03-27 2015-09-30 浙江大华技术股份有限公司 Method of automatically joining ZigBee network and terminal equipment
CN106304247A (en) * 2015-05-11 2017-01-04 美的集团股份有限公司 The method of network entry of equipment based on Zigbee protocol
CN104852982B (en) * 2015-05-18 2018-04-27 重庆邮电大学 A kind of direct-connected method of WIA-PA network handheld device and field device based on Keep-alive frames
CN104852982A (en) * 2015-05-18 2015-08-19 重庆邮电大学 Method of direct connection between WIA-PA network handheld device and field device based on Keep-alive frame
CN106255228A (en) * 2016-04-27 2016-12-21 北京智谷睿拓技术服务有限公司 A kind of method, terminal unit and node device setting up network connection
WO2018014172A1 (en) * 2016-07-19 2018-01-25 华为技术有限公司 Business processing method and network equipment in core network

Also Published As

Publication number Publication date
WO2011140906A1 (en) 2011-11-17

Similar Documents

Publication Publication Date Title
JP5815734B2 (en) Configuration of user equipment for peer-to-peer communication
KR101304773B1 (en) Method and apparatus for performing a handover procedure between a 3gpp lte network and an alternative wireless network
JP2017055443A (en) Method and device for support-type/adjustment-type home communication
EP2745618B1 (en) Apparatus and method for determining group owner in establishment of wi-fi direct connection
KR101261637B1 (en) Method of transmitting MIH message during handover between heterogeneous networks
KR20120088826A (en) Method and apparatus for peer discovery in a wireless communication network
KR101249102B1 (en) Ad hoc network initiation method and apparatus
US8577999B2 (en) Method for WLAN network and device role activation
EP2387206B1 (en) Wi-Fi Service Method and System for Wi-Fi Devices
US9001693B2 (en) Enhanced discovery procedures in peer-to-peer wireless local area networks (WLANs)
US9408058B2 (en) Device discovery method and apparatus of Wi-Fi P2P device
CN101374295B (en) Method and terminal for selecting access network
KR101723453B1 (en) Apparatus and method for providing universal plug and play based on wi-fi direct connection in portable terminal
KR20130093662A (en) Probe messaging for direct link connections
JP2006229938A (en) Finding of distributed network
TW201021593A (en) Manual cell detection and selection procedures
WO2014044081A1 (en) Method and device for sending signals and configuration information and finding terminals
KR101235496B1 (en) Method for scanning channel in a mesh network and channel scan system
WO2012174152A2 (en) Enhanced discovery procedures in peer-to-peer wireless local area networks (wlans)
CN103039021A (en) Method and apparatus for a station to operate within WLAN system
JP6328811B2 (en) P2P group formation method and apparatus for direct communication system
KR20100097497A (en) Wireless communication method, and wireless communication device and system using the same
US20150215767A1 (en) Obtaining and using d2d related information to perform mobility operation(s)
CN103369638A (en) Communication device
CN102857901A (en) Device discovery method, device discovery processing method and device discovering processing device

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination