WO2017028205A1 - 一种锚主节点am管理的方法及节点 - Google Patents

一种锚主节点am管理的方法及节点 Download PDF

Info

Publication number
WO2017028205A1
WO2017028205A1 PCT/CN2015/087413 CN2015087413W WO2017028205A1 WO 2017028205 A1 WO2017028205 A1 WO 2017028205A1 CN 2015087413 W CN2015087413 W CN 2015087413W WO 2017028205 A1 WO2017028205 A1 WO 2017028205A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
state
beacon frame
synchronization
amr
Prior art date
Application number
PCT/CN2015/087413
Other languages
English (en)
French (fr)
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 EP15901409.1A priority Critical patent/EP3319377B1/en
Priority to EP20172578.5A priority patent/EP3749027B1/en
Priority to JP2018508671A priority patent/JP2018528680A/ja
Priority to ES20172578T priority patent/ES2922900T3/es
Priority to US15/751,431 priority patent/US20180234934A1/en
Priority to CN201580027674.3A priority patent/CN106416328B/zh
Priority to SG11201810807YA priority patent/SG11201810807YA/en
Priority to PCT/CN2015/087413 priority patent/WO2017028205A1/zh
Priority to CA3027207A priority patent/CA3027207A1/en
Priority to ES15901409T priority patent/ES2867123T3/es
Publication of WO2017028205A1 publication Critical patent/WO2017028205A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • H04W56/0015Synchronization between nodes one node acting as a reference for the others
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/244Connectivity information management, e.g. connectivity discovery or connectivity update using a network of reference devices, e.g. beaconing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • H04W84/20Master-slave selection or change arrangements
    • 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 THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the field of wireless communication technologies, and in particular, to a method and a node for managing an anchor master node AM.
  • Wi-Fi Wireless-Fidelity
  • Wi-Fi technology periodically sends messages through the central node.
  • a Beacon frame allows an external node to associate with the central node.
  • the network structure and data transmission in the 802.11 protocol are limited. For example, when there is no central node, there is a certain difficulty in performing the discovery service.
  • NAN Neighbor Awareness Networking
  • the nodes in the same NAN cluster have the same cluster identifier.
  • Each node has its own attributes, including Role and State.
  • the Role includes two types: the master node and the non-master node.
  • the state includes both synchronous (sync) and non-sync (non-sync).
  • the node in the Sync state is responsible for maintaining cluster synchronization, the Master is in the sync state, and the non-Master can be in the sync or non-sync state.
  • Each node also includes a master node (Master Rank, MR).
  • the master with the largest MR in the NAN cluster becomes the anchor master (AM), and all other nodes are synchronized with the AM in time, thus ensuring the whole. Synchronization of NAN clusters.
  • a typical application scenario in a NAN cluster is to perform mutual service discovery between nodes before association.
  • nodes in the NAN cluster In order to enable service discovery between nodes, nodes in the NAN cluster must work on the social channel of the NAN for a certain period of time and remain in an awake state, for example, the social channel on the 2.4 GHz channel is channel 6 . In some scenarios, the NAN must be running in the background for a long time. Therefore, the nodes in the NAN need to perform energy-saving control. The node is only required to wake up when the Discovery Window (DW) arrives to perform service discovery on the social channel. Synchronize with the cluster.
  • DW Discovery Window
  • each node must be frequently synchronized to ensure that there is no large deviation between the system clocks, that is, each Master and Sync non-Master sends a synchronization beacon in the DW (Sync). Beacon) frame.
  • AMR anchor master rank
  • MAC Medium Access Control
  • the invention provides a method and a node for managing an anchor master node AM, which can reduce the number of beacons sent by the AM in the NAN network in a short time, and effectively reduce the waste of air interface resources.
  • a first aspect of the embodiments of the present invention provides a method for managing an anchor master node AM, which is used in a proximity aware network, where the method includes:
  • the first node receives a first synchronization beacon frame sent by the second node in the proximity sensing network, where the first synchronization beacon frame carries first anchor master information, and the first anchor master information includes a first anchor master Level AMR, the first AMR includes first MAC address information; the anchor master information in the first node includes a second AMR, where the second AMR includes second MAC address information;
  • the first node updates the anchor master information in the first node according to the first anchor master information
  • the first node When the preset node state of the first node is in a synchronization state, the first node sends a second synchronization beacon frame;
  • the first node when the preset node state of the first node is in an asynchronous state, the first node does not send a synchronization beacon frame.
  • the method when the preset node state of the first node is in a synchronization state, before the first node sends the second synchronization beacon frame, the method also includes:
  • the first node sends the second synchronization beacon frame
  • the first node When the last node state of the preset node state of the first node is an asynchronous state, the first node does not send the second synchronization beacon frame in the current window, and sends the location in the next discovery window. Decoding a second synchronization beacon frame;
  • the preset node status of the first node includes: the first node receiving the The state before the first synchronization beacon frame, the state of the first node at the beginning of the current discovery window, or the state of the first node in the previous discovery window.
  • the sending, by the first node, the second synchronization beacon frame includes:
  • the first node transmits a second synchronization beacon frame within the current window or within the next discovery window.
  • the method further includes:
  • the first node receives a third synchronization beacon frame sent by a third node in the proximity sensing network, where the third synchronization beacon frame carries third anchor master information, and the third anchor master information includes a third The AMR, the updated anchor master information in the first node includes a fourth AMR;
  • the first node When the third AMR is smaller than the fourth AMR, the first node does not update anchor master information in the first node; and if the first node is in a synchronization state, the first node is Sending a synchronization beacon frame to the next discovery window;
  • the first node updates the updated anchor master information in the first node according to the third anchor master information.
  • a second aspect of the present invention provides a method for managing an anchor master node AM, which is used in a proximity aware network, and the method includes:
  • the first node receives the first synchronization beacon synchronization beacon frame sent by the second node in the proximity sensing network in the second 1/2 time period of the current discovery window, where the first synchronization beacon frame carries the first anchor master Information, the first anchor master information includes a first AMR, and anchor anchor information in the first node includes a second AMR;
  • the first node When the first AMR is smaller than the second AMR, the first node does not update the preset node state of the first node and the anchor master information in the first node.
  • the method further includes:
  • the first node When the preset node state of the first node is a synchronization state, the first node sends a second synchronization beacon frame in a next discovery window;
  • the first node when the preset node state of the first node is in an asynchronous state, the first node does not send a synchronization beacon frame.
  • the method further includes:
  • the first node When the preset node state of the first node is in a synchronization state, the first node further determines whether the last node state of the first node is a synchronization state;
  • the first node sends the second synchronization beacon frame
  • the first node does not send a synchronization beacon frame
  • the first node when the current node status of the first node is an asynchronous state, the first node does not send a synchronization beacon frame.
  • a third aspect of the present invention provides a method for managing an anchor master node AM, which is used in a proximity aware network, and the method includes:
  • the first node When the last node state of the first node is an asynchronous state, and the current node state of the first node is a synchronous state or an asynchronous state, the first node does not send a frame in the current discovery window.
  • the method further includes: the current node state of the first node is a synchronization state, and the first node is behind the current discovery window.
  • the node state in the 1/2 time period is also in the synchronization state, the first node is in the current discovery.
  • the sync beacon frame is not sent in the window, and the sync beacon frame is transmitted in the next discovery window.
  • a fourth aspect of the present invention provides a method for managing an anchor master node AM, which is used in a proximity aware network, and the method includes:
  • the first node acquires an anchor master node wish value MR of the other nodes in the proximity sensing network
  • the first node Receiving, by the first node, a first synchronization beacon synchronization beacon frame sent by the second node in the proximity sensing network, where the first synchronization beacon frame carries first anchor master information, the first anchor
  • the primary information includes a first anchor master level AMR, where the first AMR includes first media access control MAC address information, and the second anchor master information in the first node includes second MAC address information;
  • the first node does not update the The second anchor master information.
  • a fifth aspect of the present invention provides a node, which is used in a proximity sensing network, where the node includes:
  • a transmitting module configured to receive a first synchronization beacon synchronization beacon frame sent by the second node in the proximity sensing network, where the first synchronization beacon frame carries first anchor master information, the first anchor master information
  • the first anchor master level AMR is included, the first AMR includes first media access control MAC address information; the anchor master information in the first node includes a second AMR, where the second AMR includes second MAC address information;
  • a processing module configured to: when the first AMR is smaller than the second AMR, the first MAC address information and the second MAC address information are the same, and the primary node wish value MR of the first node is greater than the The first node updates the anchor master information in the first node according to the first anchor master information;
  • the transmitting module is further configured to: when the processing module determines that the preset node state of the first node is in a synchronization state, send a second synchronization beacon frame;
  • the transmitting module is further configured to: when the processing module determines that the preset node state of the first node is in an asynchronous state, does not send a synchronization beacon frame.
  • the processing module is further configured to:
  • the transmitting module is further configured to: when the processing module determines that the last node state of the preset node state of the first node is a synchronization state, send the second synchronization beacon frame;
  • the processing module determines that the last node state of the preset node state of the first node is an asynchronous state, the second synchronization beacon frame is not sent in the current window discovery window, and is in the next discovery window. Sending the second synchronization beacon frame.
  • the preset node status of the first node includes: the first node is in the transmission module a state before the first synchronization beacon frame is received, a state of the first node at the beginning of the current discovery window, or a state of the first node in a previous discovery window.
  • the transmission module is specifically configured to:
  • the second synchronization beacon frame is transmitted within the current window discovery window or within the next discovery window.
  • the transmission module is further configured to:
  • the anchor master information in the first node includes a fourth AMR
  • the processing module is further configured to: when the third AMR is smaller than the fourth AMR, not updating anchor master information in the first node; and if the first node is in a synchronization state, the first The node transmits a synchronization beacon frame in the next discovery window;
  • processing module is further configured to: when the third AMR is greater than the fourth AMR, update the updated anchor master information in the first node according to the third anchor master information.
  • a sixth aspect of the present invention provides a node, which is used in a proximity sensing network, where the node includes:
  • a transmitting module configured to receive, by a second synchronization beacon synchronization beacon frame sent by the second node in the proximity sensing network, in the second 1/2 time period of the current discovery window, where the first synchronization beacon frame carries the first Anchor master information, the first anchor master information includes a first anchor master level AMR, and the anchor master information in the first node includes a second AMR;
  • a processing module configured to not update the current node state of the first node and the anchor master information in the first node when the first AMR is smaller than the second AMR.
  • the processing module is further configured to:
  • the transmission module is further configured to: when the processing module determines that the current node state of the first node is a synchronization state, send a second synchronization beacon frame in a next discovery window;
  • the processing module determines that the current node state of the first node is an unsynchronized state, the synchronization beacon frame is not transmitted.
  • the processing module is further configured to:
  • the transmission module is further configured to: when the processing module determines that the last node state of the first node is a synchronization state, send the second synchronization beacon frame in a next discovery window;
  • the processing module determines that the last node state of the first node is an asynchronous state, the synchronization beacon frame is not sent;
  • the processing module determines that the current node status of the first node is an asynchronous state, the synchronization beacon frame is not sent.
  • a seventh aspect of the present invention provides a node, which is used in a proximity sensing network, where the node includes:
  • a processing module configured to determine whether a previous node state of the first node is an asynchronous state
  • a transmission module configured to: when the processing module determines that the last node state of the first node is an asynchronous state, and the current node state of the first node is a synchronous state or an asynchronous state, then the current node does not Send a sync beacon frame.
  • the transmission module is further configured to:
  • the processing module determines that the current node status of the first node is a synchronous state or is asynchronous a state, and the node state of the first node is in a synchronization state in the second 1/2 period of the current discovery window, then the synchronization beacon frame is not sent in the current discovery window, and is sent in the next discovery window. Synchronize beacon frames. .
  • An eighth aspect of the present invention provides a node, which is used in a proximity sensing network, where the node includes:
  • a transmission module configured to acquire a principal node wish value MR of other nodes in the proximity sensing network
  • first synchronization beacon synchronization beacon frame carries first anchor master information
  • first anchor master information includes An anchor master level AMR
  • first AMR includes first media access control MAC address information
  • second anchor master information in the first node includes second MAC address information
  • a processing module configured to: acquire, by the transmission module, the MR acquired by the transmission module that is that the first AMR is smaller than a preset ratio, and the first MAC address information and the second MAC address information When the same, the second anchor master information is not updated.
  • a ninth aspect of the present invention provides a node, which is used in a proximity sensing network, where the node includes:
  • a memory for storing computer executable program code
  • the processor, the receiver, the transmitter, the storage device, and the communication interface communicate with each other through a bus;
  • the processor reads program code and data stored in the storage device, wherein the program code includes instructions that, when executed by the processor, cause the processor to perform the following operations:
  • a first synchronization beacon frame sent by a second node in the proximity sensing network where the first synchronization beacon frame carries first anchor master information, and the first anchor master information includes a first Anchor first level AMR, the first AMR includes first media access control MAC address information; the anchor master information in the first node includes a second AMR, and the second AMR includes second MAC address information;
  • the first AMR is smaller than the second AMR, the first MAC address information and the second MAC address information are the same, and the primary node wish value MR of the first node is greater than the first At the time of AMR, updating the anchor master information in the first node according to the first anchor master information;
  • the synchronization beacon frame is not transmitted.
  • the processor before the preset node status of the first node is in a synchronization state, before the second synchronization beacon frame is sent by the transmitter, the processor also does the following:
  • the second synchronization beacon frame is not sent by the transmitter in the current discovery window, and is sent in the next discovery window.
  • the second synchronization beacon frame is not sent by the transmitter in the current discovery window, and is sent in the next discovery window.
  • the preset node status of the first node includes: a state before the receiver receives the first synchronization beacon frame, a state of the first node at the beginning of the current discovery window, or a state of the first node in a previous discovery window.
  • the processor sends the second synchronization beacon frame by the first node of the transmitter ,include:
  • a second synchronization beacon frame is transmitted by the transmitter within the current discovery window or within the next discovery window.
  • the processor After the anchor master information in a node, the processor also executes:
  • the receiver Receiving, by the receiver, a third synchronization beacon frame sent by a third node in the proximity sensing network, where the third synchronization beacon frame carries third anchor master information, and the third anchor master information includes a third The AMR, the updated anchor master information in the first node includes a fourth AMR;
  • the anchor master information in the first node is not updated; and if the first node is in a synchronization state, the next discovery is performed by the transmitter
  • the window sends a synchronization beacon frame
  • a tenth aspect of the present invention provides a node, which is used in a proximity sensing network, where the node includes:
  • a memory for storing computer executable program code
  • the processor, the receiver, the transmitter, the storage device, and the communication interface communicate with each other through a bus;
  • the processor reads program code and data stored in the storage device, wherein the program code includes instructions that, when executed by the processor, cause the processor to perform the following operations:
  • the first synchronization beacon frame carries first anchor information
  • the first The anchor master information includes a first AMR
  • the anchor master information in the first node includes a second AMR
  • the current node state of the first node and the anchor master information in the first node are not updated.
  • the processor further performs the following operations:
  • the synchronization beacon frame is not transmitted.
  • the processor further performs:
  • the synchronization beacon frame is not sent
  • the synchronous beacon frame is not sent.
  • the eleventh aspect of the present invention provides a node, which is used in a proximity sensing network, where the node includes:
  • a memory for storing computer executable program code
  • the processor, the receiver, the transmitter, the storage device, and the communication interface communicate with each other through a bus;
  • the processor reads program code and data stored in the storage device, wherein the program code includes instructions that, when executed by the processor, cause the processor to perform the following operations:
  • the synchronization beacon frame is not transmitted in the current discovery window.
  • the processor further performs the following operations:
  • the current node state of the first node is a synchronization state, and the first node is in the synchronization state when the node state in the last 1/2 time period of the current discovery window is The sync beacon frame is not sent in the discovery window, and the sync beacon frame is transmitted in the next discovery window.
  • a twelfth aspect of the present invention provides a node for use in a proximity aware network, the node comprising:
  • a memory for storing computer executable program code
  • the processor, the receiver, the transmitter, the storage device, and the communication interface communicate with each other through a bus;
  • the processor reads program code and data stored in the storage device, wherein the program code includes instructions that, when executed by the processor, cause the processor to perform the following operations:
  • a first synchronization beacon synchronization beacon frame where the first synchronization beacon frame carries first anchor master information, and the first anchor master information includes the first An anchor master level AMR, where the first AMR includes first media access control MAC address information, and the second anchor master information in the first node includes second MAC address information;
  • the second anchor master is not updated. information.
  • the first node determines, according to the first anchor master information, the anchor master information in the first node, and the MR of the first node, whether to update the anchor master information in the first node, and when in the synchronization state
  • the second synchronization beacon frame is sent, so that other nodes synchronize with themselves, and the node that becomes the AM is restricted to send the synchronization beacon frame to a certain extent, thereby effectively reducing the waste of the air interface resources.
  • FIG. 1 is a flowchart of a method for managing an anchor master node AM according to an embodiment of the present invention
  • FIG. 2 is a flowchart of another method for managing an anchor master node AM according to an embodiment of the present invention
  • FIG. 3 is a flowchart of another method for managing an anchor master node AM according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of another method for managing an anchor master node AM according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a node according to an embodiment of the present invention.
  • FIG. 6 is another schematic structural diagram of another node according to an embodiment of the present invention.
  • FIG. 7 is another schematic structural diagram of another node according to an embodiment of the present invention.
  • FIG. 8 is another schematic structural diagram of another node according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a node according to an embodiment of the present invention.
  • FIG. 10 is another schematic structural diagram of another node according to an embodiment of the present invention.
  • FIG. 11 is another schematic structural diagram of another node according to an embodiment of the present invention.
  • FIG. 12 is another schematic structural diagram of another node according to an embodiment of the present invention.
  • the terms “comprises” and “comprises” and “the” and “the” are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or modules is not necessarily limited to Those steps or modules, but may include other steps or modules not explicitly listed or inherent to such processes, methods, products or devices, the division of the modules presented herein is merely a logical division. There may be additional divisions in the implementation of the actual application, for example, multiple modules may be combined or integrated into another system, or some features may be ignored, or not executed, and the displayed or discussed mutual coupling.
  • the direct coupling or the communication connection may be through some interfaces, and the indirect coupling or communication connection between the modules may be electrical or the like, which is not limited herein.
  • the module or the sub-module described as the separate component may or may not be physically separated, may not be a physical module, or may not be divided into a plurality of circuit modules, and may select a part thereof according to actual needs or All modules are used to achieve the objectives of the embodiments of the present invention.
  • An embodiment of the present invention provides a method and a node for managing an anchor master node AM, which are used for a proximity aware network, where the proximity aware network includes at least one cluster, and each cluster includes at least one node.
  • a node is a device in a cluster. These nodes form a distributed network.
  • a node can be a peer-to-peer network element or any device. The establishment is not limited. The details are described below.
  • the attributes of the node include the role of the node and the state of the node.
  • the roles include the master node (Non-Master) and the non-master node (Non-Master).
  • the node states include synchronous (Sync) and non-synchronized (Non-Sync).
  • the primary node is divided into an anchor master (AM) and a non-anchor master node, and the node states are all in a synchronous state, and the node states of the non-master node may be a synchronous state or an asynchronous state.
  • the nodes in the Non-Master Sync state and in the Non-Master Non-Sync state belong to the Non-Master role.
  • Each node can be in any of the Master role, the Non-Master Sync state, and the Non-Master Non-Sync properties. For example, if the node is in the Master role to indicate that the node is in the synchronization state, the node in the Non-Master Sync state indicates that the node is in the synchronization state, and the node in the Non-Master Non-Sync state indicates that the node is in the non-synchronized state.
  • the Sync Beacon frame received by the node may be divided into a near Beacon frame and a far Beacon frame, where the near Beacon frame is a Receive Signal Strength Indicator (RSSI,) greater than a first threshold.
  • RSSI Receive Signal Strength Indicator
  • a Beacon frame with RSSI -60 dBm
  • each node has its own MR, and more nodes can be restricted to become AM by defining the state of the node.
  • the anchor master information in the AM node is the AM node recorded or saved in the AM node. Anchor master information.
  • the node is sent to the Sync Beacon frame by the node's preset state:
  • a node other than the AM node that is, a non-AM node, needs to determine whether its preset node state is in a synchronized state according to the received Sync Beacon frame sent by other nodes, and if so, send Sync Beacon frame, if not, it will not be sent.
  • the Sync Beacon frame is not transmitted because the current node state is switched to the synchronization state, but the condition of the above judgment is satisfied. That is, not all AM nodes send Sync Beacon frames, which limits the AM section to some extent. The number of Sync Beacon frames is sent, which reduces the waste of air interface resources.
  • the non-AM node receives the Sync Beacon frame in the second 1/2 period of the DW, even if the AMR in the Sync Beacon frame is smaller than the AMR of the node itself, the node status and the anchor information are not updated, that is, the restriction If the non-AM node becomes an AM node, the Sync Beacon frame will not be sent.
  • the Sync Beacon frame will not be sent.
  • the node When the current node state of the node is the synchronization state, it is necessary to refer to the last node state of the node, that is, when the last node state is the synchronization state, the node will send the Sync Beacon frame, and the last node state is non- In the synchronization state, the node does not send Sync Beacon frames, which limits the conditions for sending Sync Beacon frames and reduces the number of Sync Beacon frames sent.
  • Each node in the NAN network acquires and records the MRs of other nodes in advance, and when a certain node receives the acquired AMR in the Sync Beacon frame that is smaller than the preset ratio of the acquired MR, and the MAC address information in the Sync Beacon frame The same as the MAC address information in the node, indicating that the node corresponding to the Sync Beacon frame has a lower AMR in the neighboring sensing network than most nodes, which may be a Sync Beacon frame sent by the fake AM node, so the anchor owner of the node is not updated.
  • the information does not send Sync Beacon frames, thereby reducing the number of AM nodes and the number of Sync Beacon frames, saving air interface resources.
  • a method for managing an anchor master node in an embodiment of the present invention is described by using a change of a first node of a non-AM role as an example.
  • the method includes:
  • the first node receives a first synchronization beacon frame sent by the second node in the proximity sensing network.
  • the first synchronization beacon (Sync Beacon) frame carries first anchor master information; the first anchor master information includes a first anchor master level AMR, and the first AMR includes a first media access control MAC address. Information; the anchor master information in the first node includes a second AMR, and the second AMR includes second MAC address information;
  • the message that can carry the first anchor master information may be a Sync Beacon frame
  • the service discovery frame (SDF) or other NAN messages may of course be newly extended or newly defined messages.
  • the specific bearer mode is not limited herein.
  • the Sync Beacon frame may include at least one of AM information, AMR information, HC information, Anchor Master Beacon Transmission Time (AMBTT) information, and Time Synchronization Function (TSF) information.
  • the AM information, the AMR information, or the MAC address information may be corresponding information values, or other expressions, or may be derived values of the information values, or derived values of the information values combined with other information, which are not limited herein. .
  • the MAC address information may be, for example, the lower 6 bytes of the first AMR information, that is, the first AMR includes the first MAC address information, and the first AMR information may be expressed as an AMR value, and the like.
  • the first AMR is smaller than the second AMR, the first MAC address information and the second MAC address information are the same, and the primary node wish value MR of the first node is greater than the first AMR.
  • the first node updates the anchor master information in the first node according to the first anchor master information.
  • the anchor master information in the first node refers to the anchor master information saved or recorded in the first node.
  • the first anchor master information further includes a first HC and a first AMBTT
  • the anchor master information in the first node further includes a second HC, a second AMBTT, and first TSF information.
  • the second AMBTT is set to zero.
  • the lower 6 bytes of the first AMR are compared with the lower 6 bytes of the second AMR.
  • the above comparison AMR, comparing MAC address information, and comparing the order of MR and AMR may be arbitrary, and there is no sequential relationship.
  • the first node determines whether a preset node status of the first node is in a synchronization state.
  • the preset node state is a predefined usage state, or a standard specified usage state. It may be a node state defined by a network side according to a pre-configured rule, or may be a node.
  • the state of self-configuration is not limited.
  • the preset node state includes: a state before the first node receives the first Sync Beacon frame, a state of the first node at the beginning of the current discovery window DW, or a state of the first node in the previous DW, etc. (but is not limited thereto)
  • the state of the nodes at the three types of times may be as long as the number of Sync Beacon frames is limited or the time for transmitting the Sync Beacon frame is delayed.
  • the preset node states specifically include: a synchronous state and an asynchronous state.
  • a synchronous state When the node is in the master role, it is in the synchronization state; when the node is Non-Master-Sync, the node is in the synchronization state; when the node is Non-Master-Non-Sync, the node is in the asynchronous state.
  • the preset node state may be saved in the first node for comparing the node states.
  • the first node When the preset node state of the first node is in a synchronization state, the first node
  • the node does not send a sync beacon frame.
  • the first node when the first node sends the Sync Beacon, it carries the updated anchor information in the first node.
  • the first node transmits the Sync Beacon frame as long as the preset node state of the first node is the synchronization state.
  • the first node sends a Sync Beacon frame, indicating that the first node can send a Sync Beacon frame, and the time at which the Sync Beacon frame is sent can be any time, such as a current discovery window, or a next discovery window.
  • the first node when the preset node state of the first node is in an asynchronous state, the first node does not send a Sync Beacon frame even if the current node state of the first node is in a synchronized state.
  • the first node preset node is the state before the first Sync Beacon frame is received
  • the state before receiving the first Sync Beacon frame is the master state
  • the first node sends the second Sync Beacon. frame.
  • the state of the first node preset node is the state before the first Sync Beacon frame is received
  • the state before the first Sync Beacon frame is received is Non-Master. In the Non-Sync state, the node does not send the second Sync Beacon frame.
  • the first node determines, according to the first anchor master information, the anchor master information in the first node, and the MR of the first node, whether to update the anchor master information in the first node, and in the first node
  • the second Sync Beacon frame is sent, so that other nodes synchronize with themselves, and the node that becomes the AM is restricted to send the Sync Beacon frame to a certain extent, thereby effectively reducing the number of Sync Beacon frames and the occupation of the air interface resources. And waste.
  • the synchronization state of the node may be set into a first synchronization state Sync1 and a second synchronization state Sync2.
  • the first node may randomly select the backoff number [0, 15]
  • the first node may randomly select the backoff number [ 0, 31], wherein the backoff number represents a counter, so that the transmission time of the node that needs to send the Sync Beacon frame can be staggered, thereby effectively reducing network congestion and delaying the transmission time, and avoiding a large number of Sync Beacon frame accumulation in a short time. If there are similarities, they will not be repeated.
  • the embodiment of the present invention may further limit the time of sending the Sync Beacon frame (which may be understood as sending delay), for example, in the current discovery window or in the next discovery window, or may be sent in a later discovery window.
  • the specific is not limited. Flexible and reasonable selection of the moment of transmission, to some extent reduce the conflict of the Sync Beacon frame transmission time, can also enable the node to synchronize in time.
  • the method when the preset node state of the first node is in a synchronization state, before the sending, by the first node, the second synchronization beacon frame, the method further includes:
  • the first node determines whether a previous node state of the preset node state of the first node is a synchronization state.
  • the first node sends the second Sync Beacon frame
  • the first node when the last node state of the preset node state of the first node is an asynchronous state, the first node does not send the second Sync Beacon frame in the current window DW, but sends in the next DW The second Sync Beacon frame.
  • the node sends the second Sync described above. Beacon frame. If the last node state is Non-Master Non-Sync, that is, the non-synchronization state, the node does not send the second Sync Beacon frame in the current discovery window, but transmits the second Sync Beacon frame in the next discovery window.
  • each node records the change of the state of its own node, and judges the node state of the first node twice by the new definition (of course, it may be more than twice, the more the number of selections, the better the effect)
  • the first node that becomes the AM does not send the Sync Beacon frame, thereby reducing the waste of the air interface resources and effectively improving the utilization of the network resources.
  • the SDF provides more opportunities for air interface resources, so that service discovery can be performed in time between nodes, and the utilization of network resources can be effectively improved.
  • the method further includes:
  • the first node receives a third synchronization beacon frame sent by a third node in the proximity sensing network, where the third synchronization beacon frame carries third anchor master information, where the third anchor master information includes The third AMR, the updated anchor master information in the first node includes a fourth AMR, and the method further includes:
  • the first node When the third AMR is smaller than the fourth AMR, the first node does not update anchor master information in the first node; and if the first node is in a synchronization state, the first node Describe the next DW to send a synchronization beacon frame; or,
  • the first node updates the updated anchor master information in the first node according to the third anchor master information. Specifically, the first node may update the anchor master information in the updated first node according to the second synchronization beacon frame:
  • the third AMBTT is set to the fourth AMBTT.
  • the first node further The synchronization state of the node can be divided into a first synchronization state Sync1 and a second synchronization state Sync2.
  • the first node randomly selects a backoff number, and the second Sync Beacon frame is sent when the backoff number is reached. Therefore, during the counting of the backoff number, the first node may update the anchor owner recorded by itself.
  • the third Sync Beacon frame is received before the second Sync Beacon frame is sent, and the third Sync Beacon frame may be received after the second Sync Beacon frame is sent.
  • the specific timing is not limited herein.
  • the first node since the third AMR is smaller than the fourth AMR, the first node neither changes the current node state of the first node and the anchor master information in the first node, and does not send Sync in the current window. Beacon frames are used to synchronize other nodes with themselves, which can reduce the number of Sync Beacon frames to a certain extent and reduce the waste of air interface resources. Moreover, when the third AMR is equal to the fourth AMR, the first node may ignore the third Sync Beacon frame received this time without any processing.
  • the method for managing the anchor master node AM in the embodiment of the present invention is described below, and the method for managing the anchor node AM in the embodiment of the present invention is as follows:
  • the first node receives the first synchronization beacon Sync Beacon frame sent by the second node in the proximity sensing network in the second 1/2 time period of the current discovery window DW.
  • the first Sync Beacon frame carries the first anchor master information, the first anchor master information includes a first AMR, and the anchor master information in the first node includes a second AMR;
  • the above 1/2 time period may be any time period in the last 1/2 time period, which represents a DW is about to end, but is not limited to the critical point of 1/2.
  • the DW is about to end according to the actual situation.
  • some may set the 2/5 time period as a DW is about to end, etc., and the specific DW is about to end.
  • the first node does not update a current node state of the first node and anchor master information in the first node.
  • the first node when the first node receives the first Sync Beacon frame in the second 1/2 time period of the DW, the first node does not change the current node of the first node even if the first AMR is smaller than the second AMR. State and anchor master information in the first node, thus avoiding the end of the discovery window
  • the device becomes AM, and the Sync Beacon frame is sent outside the window, effectively suppressing the Sync Beacon frame that may become the AM in some special time period, which can reduce the number of AMs in a short time and effectively reduce the Sync Beacon frame. The number of transmissions, thereby reducing the waste of air interface resources.
  • the embodiment may further include steps 203-205:
  • the first node sends a second synchronization beacon frame in a next DW, where the second synchronization beacon frame carries the first synchronization beacon frame.
  • Anchor master information
  • the first node does not send a synchronization beacon frame.
  • the embodiment may further include steps 206-210 instead of the foregoing steps 203-205:
  • the first node determines whether a current node status of the first node is in a synchronization state.
  • the first node When the current node state of the first node is in a synchronization state, the first node further determines whether a previous node state of the first node is a synchronization state.
  • the first node sends the second Sync Beacon frame, where the second Sync Beacon frame carries the anchor master information in the first node. ;
  • the first node does not send a Sync Beacon frame.
  • the first node does not send a Sync Beacon frame in the current DW. Sending the second Sync Beacon frame in the next DW;
  • the first node does not send a Sync Beacon frame.
  • the second Sync Beacon frame is not transmitted in the last 1/2 period of the remaining DW, but in the next Transmitted within the DW, effectively delays the time of sending the Sync Beacon frame, avoiding the node that becomes synchronized in the last 1/2 period of the DW to send the Sync Beacon frame, reducing unnecessary synchronization in a short time.
  • a method for managing another anchor master node AM in the embodiment of the present invention is described from the perspective of limiting the number of Sync Beacon frames according to the state of the node, and each node records a change of the state of the node itself.
  • Methods include:
  • the first node does not send the Sync Beacon frame in the current discovery window DW. ;
  • the method further includes:
  • the first node is in the The Sync Beacon frame is not sent in the current DW, and the Sync Beacon frame is sent in the next DW.
  • the first node that becomes the AM is not sent by the new definition.
  • the Sync Beacon frame can effectively reduce the number of Sync Beacon frames sent in the proximity sensing network in a certain period of time, thereby reducing the waste of air interface resources, thereby providing more opportunities for SDF to provide more air interface resources, so that nodes can be served in time. It is also found to effectively improve the utilization of network resources.
  • the first node when the last node state of the first node is a synchronization state, the first node sends the second Sync Beacon frame.
  • the node sends the second Sync Beacon frame.
  • the state of the first node at the beginning of the current DW is the Master or Non-Master Sync state
  • the current node state of the first node is the Master state or AM.
  • the last node state is the Master or Non-Master Sync state
  • the first node sends the second Sync Beacon frame.
  • FIG. 4 another method for managing an anchor master node AM in the embodiment of the present invention is described below, and the method includes:
  • the first node acquires a principal node wish value MR of the other nodes in the proximity sensing network.
  • the first node may extract, from the synchronization beacon Sync Beacon frame sent by the node in the synchronization state of the neighbor sensing network, the MR corresponding to the node in the synchronization state, and record the MR.
  • the first Sync Beacon frame carries first anchor master information, and the first anchor master information includes a first anchor master level AMR, where the first AMR includes first MAC address information, where the first node is in the first node.
  • the second anchor master information includes second MAC address information.
  • the first node does not update the location.
  • the second anchor master information If the first AMR is smaller than a preset ratio of the MR acquired by the first node, and the first MAC address information is the same as the second MAC address information, the first node does not update the location.
  • the second anchor master information If the first AMR is smaller than a preset ratio of the MR acquired by the first node, and the first MAC address information is the same as the second MAC address information, the first node does not update the location.
  • the preset ratio may be any value of 70%-100%.
  • the first node records the MRs of the N nodes in the proximity sensing network. After the first node receives the first Sync Beacon frame, if the first AMR is less than 70%-100% of the nodes' MR, Indicates that the MR of the node that sends the first Sync Beacon frame is smaller than the MR of most nodes in the proximity sensing network, and the node that sends the first Sync Beacon frame may be a fake node or a node that attacks the network, then the first Nodes do not need to update their anchor master information and node state to reduce unnecessary state changes and synchronization.
  • the MR of the other nodes in the proximity sensing network is obtained in advance, so that after receiving the Sync Beacon frame, the first anchor master information is compared with the second anchor master information, where the first AMR is smaller than When the acquired MR value is preset, and the first MAC address information is the same as the second MAC address information, it indicates that the node corresponding to the Sync Beacon frame has a lower AMR in the proximity sensing network.
  • the partial node does not need to update the second anchor master information according to the first anchor master information, and does not need to send a Sync Beacon frame, reducing the number of Sync Beacon frames and saving air interface resources.
  • the node 50 is used in a proximity sensing network, and the node 50 includes:
  • the transmitting module 501 is configured to receive the first synchronization sent by the second node in the proximity sensing network.
  • a beacon synchronization beacon frame the first synchronization beacon frame carries first anchor master information, the first anchor master information includes a first anchor master level AMR, and the first AMR includes a first media access control MAC Address information;
  • the anchor master information in the first node includes a second AMR, where the second AMR includes second MAC address information;
  • the processing module 502 is configured to: when the first AMR is smaller than the second AMR, the first MAC address information and the second MAC address information are the same, and the primary level MR of the first node is greater than the first And an AMR, the first node updates the anchor master information in the first node according to the first anchor master information;
  • the transmission module 501 is further configured to: when the processing module 502 determines that the preset node state of the first node is in a synchronization state, send a second synchronization beacon frame; optionally, the transmission module 501 may be current A second synchronization beacon frame is transmitted within the window discovery window or within the next discovery window.
  • the processing module 502 determines that the preset node state of the first node is in an asynchronous state, the synchronization beacon frame is not sent.
  • the preset node state of the first node includes: a state before the first node receives the first synchronization beacon frame by the transmission module 502, and the first node is in the current discovery window.
  • the state at the beginning or the state of the first node in the previous discovery window refer to step 103 in the embodiment of the present disclosure, and details are not described herein again.
  • the processing module 502 determines, according to the first anchor master information, the anchor master information in the first node, and the MR of the first node, whether to update the anchor master information in the first node, and in the first node.
  • the preset node state is in the synchronization state
  • the second synchronization beacon frame is sent, so that other nodes synchronize with themselves, and the node that becomes the AM is restricted to send the synchronization beacon frame to some extent, thereby effectively reducing the number of synchronization beacon frames and the air interface. Resource occupation and waste.
  • processing module 502 in the embodiment of the present invention is further configured to:
  • the transmitting module 501 is further configured to: when the processing module 502 determines that the last node state of the preset node state of the first node is a synchronization state, send the second synchronization beacon frame;
  • the processing module 502 determines that the last node state of the preset node state of the first node is an asynchronous state, the second synchronization beacon frame is not sent in the current window discovery window, and The second synchronization beacon frame is transmitted within the next discovery window.
  • the transmission module 501 in the embodiment of the present invention is further configured to:
  • the anchor master information in the first node includes a fourth AMR
  • the processing module 502 is further configured to: when the third AMR is smaller than the fourth AMR, not updating the anchor master information in the first node; and if the first node is in a synchronization state, the A node transmits a synchronization beacon frame in the next discovery window;
  • the node 60 is used in a proximity sensing network, and the node 60 includes:
  • the transmitting module 601 is configured to receive a first synchronization beacon synchronization beacon frame sent by the second node in the proximity sensing network in a second 1/2 time period of the current discovery window discovery window, where the first synchronization beacon frame Carrying the first anchor master information, the first anchor master information includes a first anchor master level AMR, and the anchor master information in the first node includes a second AMR;
  • the processing module 602 is configured to not update the current node state of the first node and the anchor master information in the first node when the first AMR is smaller than the second AMR.
  • the processing module 602 when the first synchronization beacon frame is received by the first node in the second 1/2 time period of the discovery window, the processing module 602 does not change the first node even if the first AMR is smaller than the second AMR.
  • the current node state and the anchor master information in the first node by this mechanism, can effectively suppress the node that may become AM in some special time period to send the synchronization beacon frame, thereby reducing the number of AMs in a short time, and effectively Reduce the number of synchronous beacon frame transmissions, thereby reducing the waste of air interface resources.
  • the transmission module 601 and the processing module 602 in the embodiment of the present invention may also perform the following One of the situations:
  • the first case is a first case:
  • the processing module 602 in the embodiment of the present invention is further configured to:
  • the transmission module 601 in the embodiment of the present invention is further configured to: when the processing module determines that the current node state of the first node is a synchronization state, send a second synchronization beacon frame in a next discovery window;
  • the processing module 602 determines that the current node status of the first node is an unsynchronized state, the synchronization beacon frame is not transmitted.
  • the second case is a first case
  • the processing module 602 in the embodiment of the present invention is further configured to:
  • the transmission module 601 in the embodiment of the present invention is further configured to: when the processing module 602 determines that the last node state of the first node is a synchronization state, send the second synchronization beacon frame in a next discovery window. ;
  • the processing module 602 determines that the last node state of the first node is an asynchronous state, the synchronization beacon frame is not sent;
  • the processing module 602 determines that the current node status of the first node is an unsynchronized state, the synchronization beacon frame is not transmitted.
  • the node 70 is used in a proximity sensing network, and the node 70 includes:
  • the processing module 701 is configured to determine whether the last node state of the first node is an unsynchronized state
  • the transmission module 702 is configured to: when the processing module 701 determines that the last node state of the first node is an asynchronous state, and the current node state of the first node is a synchronous state or an asynchronous state, then the current discovery window The sync beacon frame is not sent in the discovery window.
  • the first node is determined twice by the new definition processing module 701 (of course also The node state may be two or more times, the more times the number of selections is, the better the effect is, so that the first node that becomes the AM does not send the synchronization beacon frame, and the synchronization message sent in the proximity sensing network can be effectively reduced in a certain period of time.
  • the number of frame frames can reduce the waste of air interface resources and provide more opportunities for SDF to provide air interface resources, so that service discovery can be performed in time between nodes, and the utilization of network resources can be effectively improved.
  • the transmission module 702 in the embodiment of the present invention is further configured to:
  • the processing module 701 determines that the current node state of the first node is a synchronization state, and the node state of the first node is a synchronization state in a second 1/2 period of the current discovery window, The synchronization beacon frame is not sent in the current discovery window, and the synchronization beacon frame is transmitted in the next discovery window.
  • the node 80 is used in a proximity sensing network, and the node 80 includes:
  • the transmission module 801 is configured to acquire a principal node wish value MR of other nodes in the proximity sensing network;
  • first synchronization beacon synchronization beacon frame carries first anchor master information
  • first anchor master information includes An anchor master level AMR
  • first AMR includes first media access control MAC address information
  • second anchor master information in the first node includes second MAC address information
  • the processing module 802 is configured to: acquire, by the transmission module 801, the MR that is acquired by the transmission module, where the first AMR is smaller than a preset ratio, and the first MAC address information and the second MAC address When the address information is the same, the second anchor master information is not updated.
  • the MR of the other nodes in the proximity sensing network is obtained in advance by the transmission module 801, so that after the transmission module 801 receives the synchronization beacon frame, the processing module 802 sets the first anchor master information and the second anchor master.
  • the information is compared, when the first AMR is less than the preset MR value, and the first MAC address information is the same as the second MAC address information, indicating that the synchronization beacon frame corresponds to
  • the AMR of the node in the proximity sensing network is lower than that of most nodes, and does not need to update the second anchor master information according to the first anchor master information, nor does the transmission module 801 need to send Synchronize beacon frames, reduce the number of synchronized beacon frames, and save air interface resources.
  • the transmitting node corresponding to the foregoing embodiment and the corresponding optional embodiment in FIG. 5 to FIG. 8 can be understood as a receiver when receiving or acquiring certain information, and when transmitting a message, It is understood to be a transmitter, and in addition, a processing module can be understood as a processor that performs some or all of the steps in the above embodiments.
  • the present invention also provides a computer storage medium storing a program that, when executed, includes some or all of the steps in the method of managing the anchor master AM described above.
  • the present invention also provides a computer storage medium storing a program that, when executed, includes some or all of the steps of the above-described node performing a method of anchor master AM management.
  • FIG. 9 is another schematic structural diagram of a user node 90 according to an embodiment of the present invention.
  • User node 90 may include at least one network interface or other communication interface, at least one receiver 901, at least one transmitter 902, at least one processor 903, and memory 904 to enable connection communication between these devices through at least one network interface (Can be wired or wireless) to realize the communication connection between the system gateway and at least one other network element, and can use the Internet, a wide area network, a local network, a metropolitan area network, and the like.
  • the memory 904 can include read only memory and random access memory, and provides instructions and data to the processor 903.
  • a portion of the memory 904 can also include, possibly including, a high speed random access memory (RAM), and possibly a non- Un-volatile memory.
  • RAM high speed random access memory
  • the memory 904 stores the following elements, executable modules or data structures, or a subset thereof, or an extended set thereof:
  • Operation instructions include various operation instructions for implementing various operations.
  • Operating system Includes a variety of system programs for implementing various basic services and handling hardware-based tasks.
  • the processor 903 performs the following operations by calling an operation instruction stored in the memory 904 (the operation instruction can be stored in the operating system):
  • a first synchronization beacon synchronization beacon frame sent by the second node in the proximity sensing network, where the first synchronization beacon frame carries first anchor master information, the first anchor master information packet
  • the anchor master information in the first node includes a second AMR, where the second AMR includes second MAC address information;
  • the first node updates the anchor master information in the first node according to the first anchor master information
  • the synchronization beacon frame is not transmitted.
  • the preset node state of the first node includes: a state before the first node receives the first synchronization beacon frame, a state of the first node when the current discovery window starts, or The state of the first node in the last discovery window.
  • the processor 903 uses the transmitter 902 to send the second synchronization beacon frame in the current window discovery window or in the next discovery window.
  • the processor 903 may perform the following steps before the first node sends the second synchronization beacon frame:
  • the first node sends the second synchronization beacon frame
  • the second synchronization beacon frame is not sent by the transmitter 902 in the current window discovery window, and is in the next discovery window. Transmitting the second synchronization beacon frame.
  • the processor 903 may further perform the following steps:
  • a third synchronization beacon frame sent by the third node in the proximity sensing network where the third synchronization beacon frame carries third anchor master information, and the third anchor master information includes a third AMR
  • the updated anchor master information in the first node includes a fourth AMR
  • FIG. 10 is another schematic structural diagram of a user node 100 according to an embodiment of the present invention.
  • User node 100 may include at least one network interface or other communication interface, at least one receiver 1001, at least one transmitter 1002, at least one processor 1003, and memory 1004 to enable connection communication between these devices through at least one network interface (Can be wired or wireless) to realize the communication connection between the system gateway and at least one other network element, and can use the Internet, a wide area network, a local network, a metropolitan area network, and the like.
  • the memory 1004 can include a read only memory and a random access memory, and provides instructions and data to the processor 1003.
  • a portion of the memory 1004 can also include, possibly including, a high speed random access memory (RAM), and possibly a non- Un-volatile memory.
  • RAM high speed random access memory
  • the memory 1004 stores the following elements, executable modules or data structures, or a subset thereof, or an extended set thereof:
  • Operation instructions include various operation instructions for implementing various operations.
  • Operating system Includes a variety of system programs for implementing various basic services and handling hardware-based tasks.
  • the processor 1003 performs the following operations by calling an operation instruction stored in the memory 1004 (the operation instruction can be stored in the operating system):
  • a first synchronization beacon frame sent by the second node in the proximity sensing network where the first synchronization beacon frame carries the first anchor master information
  • the first anchor master information includes a first AMR
  • the anchor master information in the first node includes a second AMR
  • the current node state of the first node and the anchor master information in the first node are not updated.
  • the processor 1003 may further perform the following steps:
  • the second synchronization beacon frame is sent by the transmitter 1002 in the next discovery window;
  • the synchronization beacon frame is not transmitted.
  • the processor 1003 may further perform the following steps:
  • the second synchronization beacon frame is sent by the transmitter 902 in a next discovery window
  • the synchronization beacon frame is not sent
  • the synchronization beacon frame is not transmitted.
  • FIG. 11 is another schematic structural diagram of a user node 110 according to an embodiment of the present invention.
  • User node 110 may include at least one network interface or other communication interface, at least one receiver 1101, at least one transmitter 1102, at least one processor 1103, and memory 1104 to enable connection communication between these devices through at least one network interface (Can be wired or wireless) to realize the communication connection between the system gateway and at least one other network element, and can use the Internet, a wide area network, a local network, a metropolitan area network, and the like.
  • the memory 1104 can include read only memory and random access memory, and provides instructions and data to the processor 1103.
  • a portion of the memory 1104 can also include, possibly including, a high speed random access memory (RAM), and possibly a non- Un-volatile memory.
  • RAM high speed random access memory
  • the memory 1104 stores the following elements, executable modules or data structures, or a subset thereof, or an extended set thereof:
  • Operation instructions include various operation instructions for implementing various operations.
  • Operating system Includes various system programs for implementing various basic services and processing hardware-based Task.
  • the processor 1103 performs the following operations by calling an operation instruction stored in the memory 1104 (which can be stored in the operating system):
  • the synchronization beacon frame is not transmitted by the transmitter 1102 in the current discovery window.
  • the processor 1103 may further perform the following steps:
  • the current node state of the first node is a synchronization state, and the first node does not send in the current discovery window when the node state in the last 1/2 time period of the current discovery window is also in a synchronization state.
  • the beacon frame is synchronized, and the sync beacon frame is transmitted by the transmitter 1102 in the next discovery window.
  • FIG. 12 is another schematic structural diagram of a user node 120 according to an embodiment of the present invention.
  • User node 120 may include at least one network interface or other communication interface, at least one receiver 1201, at least one transmitter 1202, at least one processor 1203, and memory 1204 to enable connection communication between these devices through at least one network interface (Can be wired or wireless) to realize the communication connection between the system gateway and at least one other network element, and can use the Internet, a wide area network, a local network, a metropolitan area network, and the like.
  • the memory 1204 can include read only memory and random access memory, and provides instructions and data to the processor 1203.
  • a portion of the memory 1204 can also include, possibly including, a high speed random access memory (RAM), and possibly a non- Un-volatile memory.
  • RAM high speed random access memory
  • the memory 1204 stores the following elements, executable modules or data structures, or a subset thereof, or an extended set thereof:
  • Operation instructions include various operation instructions for implementing various operations.
  • Operating system Includes a variety of system programs for implementing various basic services and handling hardware-based tasks.
  • the processor 1203 calls the operation instruction stored in the memory 1204 (the The operation instructions can be stored in the operating system), and the following operations are performed:
  • a first synchronization beacon synchronization beacon frame sent by the second node in the proximity sensing network where the first synchronization beacon frame carries first anchor master information
  • the first anchor master The information includes a first anchor master level AMR, where the first AMR includes first media access control MAC address information, and the second anchor master information in the first node includes second MAC address information;
  • the second anchor is not updated. Main information.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or a software functional unit. Formal realization.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer node (which may be a personal computer, server, or network node, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Abstract

本发明提供了一种锚主节点AM管理的方法及节点,该方法用于临近感知网络,包括:第一节点接收临近感知网络中的第二节点发送的第一同步信标同步信标帧,第一同步信标帧携带第一锚主信息,第一节点中的锚主信息包括第二AMR,其中第二AMR包括第二MAC地址信息;在第一AMR小于第二AMR,第一MAC地址信息和所述第二MAC地址信息相同,且第一节点的主节点意愿值MR大于所述第一AMR时,第一节点根据第一锚主信息更新第一节点中的锚主信息;当第一节点的预设节点状态处于同步状态时,第一节点发送第二同步信标帧;或,当第一节点的预设节点状态处于非同步状态时,第一节点不发送同步信标帧,从而解决空口资源消耗过多的问题。

Description

一种锚主节点AM管理的方法及节点 技术领域
本发明涉及无线通信技术领域,尤其涉及的是一种锚主节点AM管理的方法及节点。
背景技术
目前社交、本地化等已成为移动互联网界的主流模式,尤其是随着配备无线保真(Wireless-Fidelity,Wi-Fi)接口的移动节点的普及,Wi-Fi技术通过中心节点周期性发送信标(Beacon)帧,使得外界节点可以与该中心节点关联。但在802.11协议中的网络结构和数据传输有限制,例如在没有中心节点时,进行发现服务存在一定困难,目前一般采用邻居感知网络(Neighbor Awareness Networking,NAN)机制来解决该问题,使得多个NAN节点组成的NAN即NAN簇(Cluster),同一个NAN簇内的节点具有相同的簇标识,每个节点具有自身的属性,包括:角色(Role)和状态(State)。Role包括主节点(Master)和非主节点(non-Master)两类,State包括同步(sync)和非同步(non-sync)两种。处于Sync状态的节点负责维护簇同步,Master为sync状态,而non-Master可以是sync或non-sync状态。每个节点还包括主节点意愿值(Master Rank,MR),在NAN簇中MR最大的Master成为锚主节点(Anchor Master,AM),所有其它节点与AM在时间上保持同步,从而保证了整个NAN簇的同步。在NAN簇中典型的应用场景是节点之间在关联之前进行相互的服务发现。为了能够进行节点之间的服务发现,NAN簇中的节点必须在特定时间段工作于NAN的社交(social)信道并保持醒来(awake)状态,例如,2.4GHz频道上的社交信道为信道6。在某些场景中要求NAN必须长期运行于后台,因此NAN中的节点需要进行节能控制,规定节点只有在发现窗口(Discovery Window,DW)到达时才会醒来,以在social信道上进行服务发现和簇同步。
现有技术中,每个节点之间必须经常同步才能保证两者系统时钟不出现大的偏差,即每个Master和Sync non-Master在DW内发送同步信标(Sync  Beacon)帧。根据现有规则,簇中的节点在接收到AM的Sync Beacon帧时,如果Sync Beacon帧中的锚主等级(Anchor Master Rank,AMR)小于簇中大部分节点自己记录的AMR和自己的MR,且Sync Beacon帧中的媒体接入控制(Medium Access Control,MAC)地址信息等于节点自己记录的AM的MAC地址信息,则前述大部分节点可能在短时间内更改自己的角色成为AM,从而导致短时间内需要发送大量的Sync Beacon,消耗过多的空口资源。
发明内容
本发明提供了一种锚主节点AM管理的方法及节点,能够减少短时间内NAN网络中AM发送的beacon的数量,有效减少空口资源的浪费。
本发明实施例第一方面提供了一种锚主节点AM管理的方法,用于临近感知网络中,所述方法包括:
第一节点接收所述临近感知网络中的第二节点发送的第一同步信标帧,所述第一同步信标帧携带第一锚主信息,所述第一锚主信息包括第一锚主等级AMR,所述第一AMR包括第一MAC地址信息;所述第一节点中的锚主信息包括第二AMR,其中第二AMR包括第二MAC地址信息;
在所述第一AMR小于所述第二AMR,所述第一MAC地址信息和所述第二MAC地址信息相同,且所述第一节点的主节点意愿值MR大于所述第一AMR时,所述第一节点根据所述第一锚主信息更新所述第一节点中的锚主信息;
当所述第一节点的预设节点状态处于同步状态时,所述第一节点发送第二同步信标帧;
或,当所述第一节点的预设节点状态处于非同步状态时,所述第一节点不发送同步信标帧。
结合第一方面,本发明第一方面的第一种实现方式中,在当所述第一节点的预设节点状态处于同步状态,在所述第一节点发送第二同步信标帧之前,所述方法还包括:
所述第一节点判断所述第一节点的预设节点状态的上一次节点状态是否为同步状态;
当所述第一节点的预设节点状态的上一次节点状态为同步状态,则所述第一节点发送所述第二同步信标帧;
当所述第一节点的预设节点状态的上一次节点状态为非同步状态,则所述第一节点在当前窗口内不发送所述第二同步信标帧,并在下一个发现窗口内发送所述第二同步信标帧;
结合第一方面或上述第一方面的第一种实现方式,本发明第一方面的第二种实现方式中,所述第一节点的预设节点状态包括:所述第一节点在接收到所述第一同步信标帧之前的状态、所述第一节点在当前发现窗口开始时的状态或所述第一节点在上一个发现窗口中的状态。
结合第一方面或上述第一方面的第二种实现方式,本发明第一方面的第三种实现方式中,所述第一节点发送第二同步信标帧,包括:
所述第一节点在当前窗口内或下一个发现窗口内发送第二同步信标帧。
结合第一方面或上述第一方面的第一种至第三种实现方式任意一种,本发明第一方面的第四种实现方式中,所述在所述第一节点根据所述第一锚主信息更新所述第一节点中的锚主信息之后,所述方法还包括:
所述第一节点接收所述临近感知网络中的第三节点发送的第三同步信标帧,所述第三同步信标帧携带第三锚主信息,所述第三锚主信息包括第三AMR,更新后的所述第一节点中的锚主信息包括第四AMR;
当所述第三AMR小于所述第四AMR时,所述第一节点不更新所述第一节点中的锚主信息;且如果所述第一节点处于同步状态,则所述第一节点在所述下一个发现窗口发送同步信标帧;
或,当所述第三AMR大于所述第四AMR时,所述第一节点根据所述第三锚主信息更新所述更新后的所述第一节点中的锚主信息。
本发明第二方面提供一种锚主节点AM管理的方法,用于临近感知网络中,所述方法包括:
第一节点在当前发现窗口的后1/2时间段接收所述临近感知网络中的第二节点发送的第一同步信标同步信标帧,所述第一同步信标帧携带第一锚主信息,所述第一锚主信息包括第一AMR,所述第一节点中的锚主信息包括第二 AMR;
当所述第一AMR小于所述第二AMR时,所述第一节点不更新所述第一节点的预设节点状态和所述第一节点中的锚主信息。
结合第二方面,本发明第二方面的第一种实现方式中,所述方法还包括:
所述第一节点判断所述第一节点的预设节点状态是否处于同步状态;
当所述第一节点的预设节点状态为同步状态时,所述第一节点在下一个发现窗口内发送第二同步信标帧;
或,当所述第一节点的预设节点状态处于非同步状态时,所述第一节点不发送同步信标帧。
结合第二方面,本发明第二方面的第二种实现方式中,所述方法还包括:
所述第一节点判断所述第一节点的当前节点状态是否处于同步状态;
当所述第一节点的预设节点状态处于同步状态,则所述第一节点进一步判断所述第一节点的上一次节点状态是否为同步状态;
当所述第一节点的上一次节点状态为同步状态,则所述第一节点发送所述第二同步信标帧;
或,当所述第一节点的上一次节点状态为非同步状态,则所述第一节点不发送同步信标帧;
或,当所述第一节点的当前节点状态为非同步状态,则所述第一节点不发送同步信标帧。
本发明第三方面提供一种锚主节点AM管理的方法,用于临近感知网络中,所述方法包括:
所述第一节点判断第一节点的上一次节点状态是否为非同步状态;
当所述第一节点的上一次节点状态为非同步状态,所述第一节点的当前节点状态为同步状态或非同步状态,则所述第一节点在当前发现窗口中不发送帧。
结合第三方面,本发明第三方面的第一种实现方式中,所述方法还包括:所述第一节点的当前节点状态为同步状态,且,所述第一节点在当前发现窗口的后1/2时间段内的节点状态也为同步状态时,所述第一节点在所述当前发现 窗口中不发送同步信标帧,在下一个发现窗口内发送同步信标帧。
本发明第四方面提供一种锚主节点AM管理的方法,用于临近感知网络中,所述方法包括:
第一节点获取所述临近感知网络中其他节点的锚主节点意愿值MR;
所述第一节点接收所述临近感知网络中的第二节点发送的第一同步信标同步信标帧,其中,所述第一同步信标帧携带第一锚主信息,所述第一锚主信息包括第一锚主等级AMR,其中所述第一AMR包括第一媒体接入控制MAC地址信息,所述第一节点中的第二锚主信息包括第二MAC地址信息;
若所述第一AMR小于预设比率的所述第一节点获取到的所述MR,且所述第一MAC地址信息与所述第二MAC地址信息相同时,所述第一节点不更新所述第二锚主信息。
本发明第五方面提供一种节点,用于临近感知网络中,所述节点包括:
传输模块,用于接收所述临近感知网络中的第二节点发送的第一同步信标同步信标帧,所述第一同步信标帧携带第一锚主信息,所述第一锚主信息包括第一锚主等级AMR,所述第一AMR包括第一媒体接入控制MAC地址信息;所述第一节点中的锚主信息包括第二AMR,其中第二AMR包括第二MAC地址信息;
处理模块,用于在所述第一AMR小于所述第二AMR,所述第一MAC地址信息和所述第二MAC地址信息相同,且所述第一节点的主节点意愿值MR大于所述第一AMR时,所述第一节点根据所述第一锚主信息更新所述第一节点中的锚主信息;
所述传输模块还用于当所述处理模块判断所述第一节点的预设节点状态处于同步状态时,发送第二同步信标帧;
或,所述传输模块还用于当所述处理模块判断所述第一节点的预设节点状态处于非同步状态时,不发送同步信标帧。
结合第五方面,本发明第五方面的第一种实现方式中,所述处理模块还用于:
判断所述第一节点的预设节点状态的上一次节点状态是否为同步状态;
所述传输模块还用于当所述处理模块判断所述第一节点的预设节点状态的上一次节点状态为同步状态,则发送所述第二同步信标帧;
当所述处理模块判断所述第一节点的预设节点状态的上一次节点状态为非同步状态,则在当前窗口发现窗口内不发送所述第二同步信标帧,并在下一个发现窗口内发送所述第二同步信标帧。
结合第五方面或第五方面的第一种实现方式,本发明第五方面的第二种实现方式中,所述第一节点的预设节点状态包括:所述第一节点在所述传输模块接收到所述第一同步信标帧之前的状态、所述第一节点在所述当前发现窗口开始时的状态或所述第一节点在上一个发现窗口中的状态。
结合第五方面或第五方面的第二种实现方式,本发明第五方面的第三种实现方式中,所述传输模块具体用于:
在当前窗口发现窗口内或下一个发现窗口内发送第二同步信标帧。
结合第五方面或第五方面的第一种至第三种实现方式中的任一种,本发明第五方面的第四种实现方式中,所述传输模块还用于:
接收所述临近感知网络中的第三节点发送的第三同步信标帧,所述第三同步信标帧携带第三锚主信息,所述第三锚主信息包括第三AMR,更新后的所述第一节点中的锚主信息包括第四AMR;
所述处理模块还用于当所述第三AMR小于所述第四AMR时,不更新所述第一节点中的锚主信息;且如果所述第一节点处于同步状态,则所述第一节点在所述下一个发现窗口发送同步信标帧;
或,所述处理模块还用于当所述第三AMR大于所述第四AMR时,根据所述第三锚主信息更新所述更新后的所述第一节点中的锚主信息。
本发明第六方面提供一种节点,用于临近感知网络中,所述节点包括:
传输模块,用于在当前发现窗口的后1/2时间段接收所述临近感知网络中的第二节点发送的第一同步信标同步信标帧,所述第一同步信标帧携带第一锚主信息,所述第一锚主信息包括第一锚主等级AMR,所述第一节点中的锚主信息包括第二AMR;
处理模块,用于当所述第一AMR小于所述第二AMR时,不更新所述第一节点的当前节点状态和所述第一节点中的锚主信息。
结合第六方面,本发明第六方面的第一种实现方式中,所述处理模块还用于:
判断所述第一节点的当前节点状态是否处于同步状态;
所述传输模块还用于当所述处理模块判断所述第一节点的当前节点状态为同步状态时,在下一个发现窗口内发送第二同步信标帧;
当所述处理模块判断所述第一节点的当前节点状态为非同步状态,则不发送同步信标帧。
结合第六方面,本发明第六方面的第二种实现方式中,所述处理模块还用于:
判断所述第一节点的当前节点状态是否处于同步状态;
当所述第一节点的当前节点状态处于同步状态,则进一步判断所述第一节点的上一次节点状态是否为同步状态;
所述传输模块还用于当所述处理模块判断所述第一节点的上一次节点状态为同步状态,则在下一个发现窗口内发送所述第二同步信标帧;
当所述处理模块判断所述第一节点的上一次节点状态为非同步状态,则不发送同步信标帧;
或,当所述处理模块判断所述第一节点的当前节点状态为非同步状态,则不发送同步信标帧。
本发明第七方面提供一种节点,用于临近感知网络中,所述节点包括:
处理模块,用于判断第一节点的上一次节点状态是否为非同步状态;
传输模块,用于当所述处理模块判断所述第一节点的上一次节点状态为非同步状态,所述第一节点的当前节点状态为同步状态或非同步状态,则在当前发现窗口中不发送同步信标帧。
结合第七方面,本发明第七方面的第一种实现方式中,所述传输模块还用于:
当所述处理模块判断所述第一节点的当前节点状态为同步状态或非同步 状态,且所述第一节点的节点状态在所述当前发现窗口的后1/2时间段为同步状态时,则在所述当前发现窗口中不发送同步信标帧,在下一个发现窗口内发送同步信标帧。。
本发明第八方面提供一种节点,用于临近感知网络中,所述节点包括:
传输模块,用于获取所述临近感知网络中其他节点的主节点意愿值MR;
并接收所述临近感知网络中的第二节点发送的第一同步信标同步信标帧,其中,所述第一同步信标帧携带第一锚主信息,所述第一锚主信息包括第一锚主等级AMR,其中所述第一AMR包括第一媒体接入控制MAC地址信息,所述第一节点中的第二锚主信息包括第二MAC地址信息;
处理模块,用于在所述传输模块获取到的所述第一AMR小于预设比率的所述传输模块获取到的所述MR,且所述第一MAC地址信息与所述第二MAC地址信息相同时,不更新所述第二锚主信息。
本发明第九方面提供一种节点,其用于临近感知网络中,所述节点包括:
处理器;
存储器,用于存储计算机可执行程序代码;
通信接口;
接收器、发射器;
所述处理器、所述接收器、所述发射器、所述存储设备和所述通信接口通过总线相互通信;
所述处理器读取所述存储设备中存储的程序代码和数据,其中所述程序代码包括指令,当所述处理器执行所述指令时,所述指令致使所述处理器执行以下操作:
通过所述接收器接收所述临近感知网络中的第二节点发送的第一同步信标帧,所述第一同步信标帧携带第一锚主信息,所述第一锚主信息包括第一锚主等级AMR,所述第一AMR包括第一媒体接入控制MAC地址信息;所述第一节点中的锚主信息包括第二AMR,所述第二AMR包括第二MAC地址信息;
在所述第一AMR小于所述第二AMR,所述第一MAC地址信息和所述第二MAC地址信息相同,且所述第一节点的主节点意愿值MR大于所述第一 AMR时,根据所述第一锚主信息更新所述第一节点中的锚主信息;
当所述第一节点的预设节点状态处于同步状态时,通过所述发射器发送第二同步信标帧;
或,当所述第一节点的预设节点状态处于非同步状态时,不发送同步信标帧。
结合第九方面,本发明第九方面的第一种实现方式中,在当所述第一节点的预设节点状态处于同步状态,通过所述发射器发送第二同步信标帧之前,所述处理器还执行以下操作:
判断所述第一节点的预设节点状态的上一次节点状态是否为同步状态;
当所述第一节点的预设节点状态的上一次节点状态为同步状态,则通过所述发射器发送所述第二同步信标帧;
当所述第一节点的预设节点状态的上一次节点状态为非同步状态,则通过所述发射器在当前发现窗口内不发送所述第二同步信标帧,并在下一个发现窗口内发送所述第二同步信标帧。
结合第九方面或上述第九方面的第一种实现方式,本发明第九方面的第二种实现方式中,所述第一节点的预设节点状态包括:所述第一节点在通过所述接收器接收到所述第一同步信标帧之前的状态、所述第一节点在所述当前发现窗口开始时的状态、或所述第一节点在上一个发现窗口中的状态。
结合第九方面或上述第九方面的第二种实现方式,本发明第九方面的第三种实现方式中,所述处理器通过所述发射器所述第一节点发送第二同步信标帧,包括:
通过所述发射器在当前发现窗口内或下一个发现窗口内发送第二同步信标帧。
结合第九方面或上述第九方面的第一种至第三种实现方式任意一种,本发明第九方面的第四种实现方式中,所述根据所述第一锚主信息更新所述第一节点中的锚主信息之后,所述处理器还执行:
通过所述接收器接收所述临近感知网络中的第三节点发送的第三同步信标帧,所述第三同步信标帧携带第三锚主信息,所述第三锚主信息包括第三AMR,更新后的所述第一节点中的锚主信息包括第四AMR;
当所述第三AMR小于所述第四AMR时,不更新所述第一节点中的锚主信息;且如果所述第一节点处于同步状态,则通过所述发射器在所述下一个发现窗口发送同步信标帧;
或,当所述第三AMR大于所述第四AMR时,根据所述第三锚主信息更新所述更新后的所述第一节点中的锚主信息。
本发明第十方面提供一种节点,用于临近感知网络中,所述节点包括:
处理器;
存储器,用于存储计算机可执行程序代码;
通信接口;
接收器、发射器;
所述处理器、所述接收器、所述发射器、所述存储设备和所述通信接口通过总线相互通信;
所述处理器读取所述存储设备中存储的程序代码和数据,其中所述程序代码包括指令,当所述处理器执行所述指令时,所述指令致使所述处理器执行以下操作:
在当前发现窗口的后1/2时间段接收所述临近感知网络中的第二节点发送的第一同步信标帧,所述第一同步信标帧携带第一锚主信息,所述第一锚主信息包括第一AMR,所述第一节点中的锚主信息包括第二AMR;
当所述第一AMR小于所述第二AMR时,不更新所述第一节点的当前节点状态和所述第一节点中的锚主信息。
结合第十方面,本发明第十方面的第一种实现方式中,所述处理器还执行以下操作:
判断所述第一节点的当前节点状态是否处于同步状态;
当所述第一节点的当前节点状态为同步状态时,通过所述发射器在下一个发现窗口内发送第二同步信标帧;
或,当所述第一节点的当前节点状态为非同步状态,则不发送同步信标帧。
结合第十方面,本发明第十方面的第二种实现方式中,所述处理器还执行:
判断所述第一节点的当前节点状态是否处于同步状态;
当所述第一节点的当前节点状态处于同步状态,则进一步判断所述第一节点的上一次节点状态是否为同步状态;
当所述第一节点的上一次节点状态为同步状态,则通过所述发射器在下一个发现窗口内发送所述第二同步信标帧;
或,当所述第一节点的上一次节点状态为非同步状态,则不发送同步信标帧;
或,当所述第一节点的当前节点状态为非同步状态,则所述不发送同步信标帧。
本发明第十一方面提供一种节点,用于临近感知网络中,所述节点包括:
处理器;
存储器,用于存储计算机可执行程序代码;
通信接口;
接收器、发射器;
所述处理器、所述接收器、所述发射器、所述存储设备和所述通信接口通过总线相互通信;
所述处理器读取所述存储设备中存储的程序代码和数据,其中所述程序代码包括指令,当所述处理器执行所述指令时,所述指令致使所述处理器执行以下操作:
判断所述第一节点的上一次节点状态是否为非同步状态;
当所述第一节点的上一次节点状态为非同步状态,所述第一节点的当前节点状态为同步状态或非同步状态,则在当前发现窗口中不发送同步信标帧。
结合第十方面,本发明第十方面的第一种实现方式中,所述处理器还执行以下操作:
所述第一节点的当前节点状态为同步状态,且,所述第一节点在当前发现窗口的后1/2时间段内的节点状态也为同步状态时,通过所述发射器在所述当前发现窗口中不发送同步信标帧,在下一个发现窗口内发送同步信标帧。
本发明第十二方面提供一种节点,用于临近感知网络中,所述节点包括:
处理器;
存储器,用于存储计算机可执行程序代码;
通信接口;
接收器、发射器;
所述处理器、所述接收器、所述发射器、所述存储设备和所述通信接口通过总线相互通信;
所述处理器读取所述存储设备中存储的程序代码和数据,其中所述程序代码包括指令,当所述处理器执行所述指令时,所述指令致使所述处理器执行以下操作:
获取所述临近感知网络中其他节点的主节点意愿值MR;
接收所述临近感知网络中的第二节点发送的第一同步信标同步信标帧,其中,所述第一同步信标帧携带第一锚主信息,所述第一锚主信息包括第一锚主等级AMR,其中所述第一AMR包括第一媒体接入控制MAC地址信息,所述第一节点中的第二锚主信息包括第二MAC地址信息;
若所述第一AMR小于预设比率的所述第一节点获取到的所述MR,且所述第一MAC地址信息与所述第二MAC地址信息相同时,不更新所述第二锚主信息。
本发明实施例中,第一节点根据第一锚主信息、第一节点中的锚主信息和第一节点的MR三者确定是否更新第一节点中的锚主信息,并在处于同步状态时,发送第二同步信标帧,使得其他节点与自己同步,在一定程度上限制成为AM的节点发送同步信标帧,有效减少空口资源的浪费。
附图说明
图1为本发明实施例中一种锚主节点AM管理的方法的流程图;
图2为本发明实施例中另一种锚主节点AM管理的方法的流程图;
图3为本发明实施例中另一种锚主节点AM管理的方法的流程图;
图4为本发明实施例中另一种锚主节点AM管理的方法的流程图;
图5为本发明实施例中一种节点的结构示意图;
图6为本发明实施例另一种节点的另一结构示意图;
图7为本发明实施例另一种节点的另一结构示意图;
图8为本发明实施例另一种节点的另一结构示意图;
图9为本发明实施例中一种节点的结构示意图;
图10为本发明实施例另一种节点的另一结构示意图;
图11为本发明实施例另一种节点的另一结构示意图;
图12为本发明实施例另一种节点的另一结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例,基于本发明中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或模块的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或模块,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或模块,本文中所出现的模块的划分,仅仅是一种逻辑上的划分,实际应用中实现时可以有另外的划分方式,例如多个模块可以结合成或集成在另一个系统中,或一些特征可以忽略,或不执行,另外,所显示的或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,模块之间的间接耦合或通信连接可以是电性或其他类似的形式,本文中均不作限定。并且,作为分离部件说明的模块或子模块可以是也可以不是物理上的分离,可以是也可以不是物理模块,或者可以分不到多个电路模块中,可以根据实际的需要选择其中的部分或全部模块来实现本发明实施例方案的目的。
本发明实施例提供了一种锚主节点AM管理的方法及节点,用于临近感知网络,该临近感知网络包括至少一个簇(Cluster),每个簇包括至少一个节点, 节点即是簇中的一个设备,这些节点组成分布式网络,节点可以是对等地位的网元或任意设备,建立具体不做限定。以下进行详细说明。
本文中,关于节点的属性包括节点的角色和节点状态,角色包括主节点(Master)和非主节点(Non-Master)两类,节点状态包括同步(Sync)和非同步(Non-Sync)两种,主节点分为分为锚主节点(Anchor Master,AM)和非锚主主节点,其节点状态均为同步状态,非主节点的节点状态可以为同步状态、也可以为非同步状态。其中处于Non-Master Sync状态、处于Non-Master Non-Sync状态的节点都属于处于Non-Master角色。每个节点可以处于Master角色、Non-Master Sync状态、Non-Master Non-Sync属性中的任一种。例如,如果节点处于Master角色表示节点处于同步状态,节点处于Non-Master Sync状态表示节点处于同步状态,节点处于Non-Master Non-Sync状态表示节点处于非同步状态。
另外,节点接收到的同步信标(Sync Beacon)帧可以分为近Beacon帧和远Beacon帧,其中,近Beacon帧为一个接收信号强度指示(Receive Signal Strength Indicator,RSSI,)大于第一阈值,例如RSSI=-60dBm的Beacon帧,远Beacon帧为RSSI大于第二阈值,例如RSSI=-75dBm且小于第一阈值的Beacon帧。
本发明实施例中,每个节点都有自己的MR,可以通过定义节点的状态来限制更多的节点成为AM,AM节点中的锚主信息为在AM节点中所记录的或保存的AM节点的锚主信息。本发明实施例中为减少短时间内临近感知网络中发送Sync Beacon帧的数目,主要提供以下4种解决方案:
一、通过节点的预设状态限制节点发送Sync Beacon帧:
1、除AM节点以外的其他节点即非AM节点,根据接收到的其他节点发送的Sync Beacon帧更新自身的锚主信息后,需要判断自身的预设节点状态是否为同步状态,若是,则发送Sync Beacon帧,若否,则不发送。这样,即使非AM节点成为了AM节点(切换至或保持了同步状态),也不因为当前的节点状态切换至同步状态就发送Sync Beacon帧,而是要满足上述判断的条件。即不是所有AM节点都发送Sync Beacon帧,从而在一定程度上限制了AM节 点发送Sync Beacon帧的数量,进而减少空口资源的浪费。
2、当非AM节点在DW的后1/2时段内接收到Sync Beacon帧,即使该Sync Beacon帧中的AMR小于该节点自身的AMR,也不更新自身的节点状态和锚主信息,即限制非AM节点变为AM节点,也就不会发送Sync Beacon帧了。通过这种机制,可以有效遏制在某些特殊时段可能成为AM节点的数目,减少Sync Beacon帧发送的数量,从而减少空口资源的浪费。
3、在节点的当前节点状态为同步状态时,需要参考该节点上一次的节点状态,即在上一次节点状态为同步状态时,该节点才会发送Sync Beacon帧,在上一次节点状态为非同步状态时,该节点不发送Sync Beacon帧,进而限制了Sync Beacon帧发送的条件,降低了Sync Beacon帧的发送数量。
二、根据节点在一段时间内对其他节点的MR的检测结果来判断是否发送Sync Beacon帧:
NAN网络中的各节点预先获取并记录其他节点的MR,当某一节点在接收到的Sync Beacon帧中的AMR小于预设比率的已获取的MR时,且该Sync Beacon帧中的MAC地址信息与该节点中的MAC地址信息相同,表明该Sync Beacon帧对应的节点在临近感知网络中的AMR低于大部分节点,可能是假的AM节点发送的Sync Beacon帧,那么不更新自身的锚主信息,也不发送Sync Beacon帧,从而减少AM节点的数量,以及Sync Beacon帧的数量,节约空口资源。
请参照图1,本发明实施例以非AM角色的第一节点的变化为例,对本发明实施例中的一种锚主节点AM管理的方法进行描述,所述方法包括:
101、第一节点接收所述临近感知网络中的第二节点发送的第一同步信标帧;
其中,所述第一同步信标(Sync Beacon)帧携带第一锚主信息;所述第一锚主信息包括第一锚主等级AMR,所述第一AMR包括第一媒体接入控制MAC地址信息;所述第一节点中的锚主信息包括第二AMR,第二AMR包括第二MAC地址信息;
实际应用中,可以携带上述第一锚主信息的消息可以是Sync Beacon帧、 服务发现帧(Service Discovery Frame,SDF)或其他NAN中的消息,当然也可以是新扩展或新定义的消息,具体的承载方式本文中不做限定。
另外,上述Sync Beacon帧可以包括AM信息、AMR信息、HC信息、锚主信标传输时间(Anchor Master Beacon Transmission Time,AMBTT)信息及时间同步功能(Time Synchronization Function,TSF)信息等中的至少一种,AM信息、AMR信息或MAC地址信息可以是相应的信息值,或其他表达方式,也可以是这些信息值的衍生值,或者是这些信息值结合其他信息的衍生值,具体本文不做限定。
上述MAC地址信息例如可以为为上述第一AMR信息的低6个字节,即第一AMR包括第一MAC地址信息,第一AMR信息具体可以表现为AMR值,其他类似。
102、在所述第一AMR小于所述第二AMR,所述第一MAC地址信息和所述第二MAC地址信息相同,且所述第一节点的主节点意愿值MR大于所述第一AMR时,所述第一节点根据所述第一锚主信息更新所述第一节点中的锚主信息。
需要说明的是,第一节点中的锚主信息是指保存或记录在第一节点中的锚主信息。第一锚主信息还包括第一HC和第一AMBTT,第一节点中的锚主信息还包括第二HC、第二AMBTT和第一TSF信息。
当满足AMR1<AMR2、MAC1=MAC2、AMR1<MR第一节点时,第一节点更新其中的锚主信息:
将所述第二AMR设置为所述第一节点的MR;
将所述第二HC设置为0;
将所述第二AMBTT设置为0。
另外,在比较MAC地址信息时,具体是将第一AMR的低6个字节与第二AMR的低6个字节进行比较。上述比较AMR、比较MAC地址信息以及比较MR与AMR的顺序可以任意的,不存在先后关系。
103、所述第一节点判断所述第一节点的预设节点状态是否处于同步状态。
需要说明的是,预设节点状态是预先定义的使用状态,或标准规定的使用状态。可以是由网络侧根据预先配置的规则所定义的节点状态,也可以是节点 自行配置的状态,具体不做限定。预设节点状态包括:第一节点在接收到第一Sync Beacon帧之前的状态、第一节点在当前发现窗口DW开始时的状态或第一节点在上一个DW中的状态等(但不限于这三类时刻的节点状态,只要可以达到限制Sync Beacon帧的数目或延迟发送Sync Beacon帧的时间的目的即可)。预设节点状态具体包括:同步状态和非同步状态。当节点处于Master角色时,均处于同步状态;当节点为Non-Master-Sync时,节点为同步状态;当节点为Non-Master-Non-Sync时,节点为非同步状态。
也就是说,即使第一节点的当前节点状态切换为同步状态,仍需要判断其预设节点状态是否处于同步状态,即节点是否为Master角色,或Non-Master-Sync状态。
其中,第一节点中可以保存预设节点状态,用于进行节点状态的比较。
104-1、当所述第一节点的预设节点状态处于同步状态时,所述第一节点
发送第二同步信标帧;
或,104-2、当所述第一节点的预设节点状态处于非同步状态时,则第一
节点不发送同步信标帧。
需要说明的是,当第一节点发送Sync Beacon时,会携带更新后的所述第一节点中的锚主信息。
也就是说,即使第一节点当前节点状态与预设节点状态不同,根据预先配置的规则,只要第一节点的预设节点状态为同步状态,第一节点就发送Sync Beacon帧。此处第一节点发送Sync Beacon帧,表明第一节点可以发送Sync Beacon帧,其发送Sync Beacon帧的时刻,可以为任意时刻,比如当前发现窗口,或下一发现窗口等。
或者,当所述第一节点的预设节点状态处于非同步状态时,即使第一节点的当前节点状态为同步状态,第一节点也不会发送Sync Beacon帧。
举例来说,如果第一节点预设节点状态为在接收到第一Sync Beacon帧之前的状态,当在接收到第一Sync Beacon帧之前的状态为Master状态,则第一节点发送第二Sync Beacon帧。
又举例来说,如果第一节点预设节点状态为在接收到第一Sync Beacon帧之前的状态,当在接收到第一Sync Beacon帧之前的状态为Non-Master  Non-Sync状态,则节点不发送上述第二Sync Beacon帧。
本发明实施例中,第一节点根据第一锚主信息、第一节点中的锚主信息和第一节点的MR三者确定是否更新第一节点中的锚主信息,并在第一节点的预设节点状态处于同步状态时,才发送第二Sync Beacon帧,使得其他节点与自己同步,在一定程度上限制成为AM的节点发送Sync Beacon帧,有效减少Sync Beacon帧的数目及空口资源的占用和浪费。
进一步的,本发明实施例中,例如可以设定节点的同步状态分为第一同步状态Sync1和第二同步状态Sync2。在第一节点处于Sync1(Master状态)时,第一节点可以随机选择退避数[0,15],在第一节点处于Sync2(Non-Master Sync状态)时,第一节点可以随机选择退避数[0,31],其中的退避数代表计数器,从而可以将需要发送Sync Beacon帧的节点的发送时间错开,有效减少网络的拥堵、延迟发送的时间,避免短时间内大量的Sync Beacon帧堆积,文中若有类似之处,均不再赘述。
由此可知,本发明实施例还可以进一步限制Sync Beacon帧发送的时刻(可以理解为发送延后),例如在当前发现窗口内或在下一个发现窗口内发送,也可以在更后的发现窗口发送,具体不做限定。灵活且合理的选择发送的时刻,一定程度上减少Sync Beacon帧发送时刻的冲突,也可以使得节点能够及时的同步。
可选的,本发明实施例在当所述第一节点的预设节点状态处于同步状态时,所述在所述第一节点发送第二同步信标帧之前,还包括:
105、所述第一节点判断所述第一节点的预设节点状态的上一次节点状态是否为同步状态;
当所述第一节点的预设节点状态的上一次节点状态为同步状态,则所述第一节点发送所述第二Sync Beacon帧;
或,当所述第一节点的预设节点状态的上一次节点状态为非同步状态,则所述第一节点在当前窗口DW内不发送所述第二Sync Beacon帧,而在下一个DW内发送所述第二Sync Beacon帧。
举例来说,如果第一节点预设节点状态为在接收到第一Sync Beacon帧之 前的状态,当在接收到第一Sync Beacon帧之前的状态为Master状态,即同步状态;进一步的上一次节点状态是Master或Non-Master Sync状态,即同步状态,则节点发送上述第二Sync Beacon帧。而如果上一次节点状态为Non-Master Non-Sync,即非同步状态,则节点在当前发现窗口不发送第二Sync Beacon帧,而在下一个发现窗口内发送第二Sync Beacon帧。
本可选方案中,每个节点都记录自身节点状态的变化,通过新定义判断第一节点的连续两次(当然也可以是两次以上,选择的次数越多,效果愈好)的节点状态,来限制成为AM的第一节点不发送Sync Beacon帧,一定时段内可以有效减少临近感知网络中发送的Sync Beacon帧的数目,从而可以减少空口资源的浪费,也有效提高网络资源的利用率,进而为SDF提供更多的空口资源的机会,使得节点之间可以及时进行服务发现,也有效提高网络资源的利用率。
可选的,本发明实施例在所述第一节点根据所述第一锚主信息更新所述第一节点中的锚主信息之后,还包括:
106、所述第一节点接收所述临近感知网络中的第三节点发送的第三同步信标帧,所述第三同步信标帧携带第三锚主信息,所述第三锚主信息包括第三AMR,更新后的所述第一节点中的锚主信息包括第四AMR,所述方法还包括:
当所述第三AMR小于所述第四AMR时,所述第一节点不更新所述第一节点中的锚主信息;且如果所述第一节点处于同步状态,则所述第一节点所述下一个DW发送同步信标帧;或,
当所述第三AMR大于所述第四AMR时,所述第一节点根据所述第三锚主信息更新所述更新后的所述第一节点中的锚主信息。具体的,第一节点可以根据所述第二同步信标帧更新所述更新后的第一节点中的锚主信息:
将所述第四AMR设置为所述第三AMR;
将所述第三HC设置为1(即所述第二HC的值加1);
将所述第三AMBTT设置为所述第四AMBTT。
本可选方案中,所述第一节点在更新自身记录的锚主信息后,进一步的还 可以将节点的同步状态分为第一同步状态Sync1和第二同步状态Sync2。第一节点会随机选择一个退避数,在达到该退避数时,才会发送上述第二Sync Beacon帧,因此在该退避数的计数期间,上述第一节点可能会在更新自身所记录的锚主信息之后,发送上述第二Sync Beacon帧之前,接收到上述第三Sync Beacon帧,也可能是在发送上述第二Sync Beacon帧之后,接收到上述第三Sync Beacon帧,具体时序本文不做限定。
另外,即使所述第三AMR小于所述第四AMR,第一节点既不改变所述第一节点的当前节点状态和所述第一节点中的锚主信息,在当前窗口也不会发送Sync Beacon帧以使其他节点与自己同步,在一定程度上可以减少Sync Beacon帧的数目,减少空口资源的浪费。并且,所述第三AMR等于所述第四AMR时,第一节点可以忽略本次所接收到的第三Sync Beacon帧,不作任何处理。
参阅图2,以下从接收Sync Beacon帧的时刻来限制第一节点的改变的角度,对本发明实施例中另一种锚主节点AM管理的方法进行说明,所述方法包括:
201、第一节点在当前发现窗口DW的后1/2时间段接收所述临近感知网络中第二节点发送的第一同步信标Sync Beacon帧;
其中,所述第一Sync Beacon帧携带第一锚主信息,所述第一锚主信息包括第一AMR,所述第一节点中的锚主信息包括第二AMR;
可以理解的是,上述后1/2时间段可以是后1/2时间段内的任意时段,代表一个DW即将结束,但不限于1/2这个临界点,具体领域里对DW即将结束根据实际网络规则的设计而定,例如,有的可能设置后2/5时间段为一个DW即将结束等等,具体的DW即将结束如何划分本文不做限定。
202、当所述第一AMR小于所述第二AMR时,所述第一节点不更新所述第一节点的当前节点状态和所述第一节点中的锚主信息。
本发明实施例中,通过定义第一节点在DW的后1/2时间段接收到第一Sync Beacon帧时,即使第一AMR小于第二AMR,第一节点也不改变第一节点的当前节点状态和第一节点中的锚主信息,这样,避免了在发现窗口结束时 设备变成了AM,而在窗口之外发送Sync Beacon帧,有效的遏制在某些特殊时段可能成为AM的节点发送Sync Beacon帧,可减少短时间内AM的数目,又可以有效减少Sync Beacon帧发送的数目,从而减少空口资源的浪费。
需要说明的是,在上述步骤201、202的基础上,本实施例还可以包括步骤203-205:
203、判断所述第一节点的当前节点状态是否处于同步状态;
204、当所述第一节点的当前节点状态为同步状态时,所述第一节点在下一个DW内发送第二同步信标帧,所述第二同步信标帧携带所述第一节点中的锚主信息;
205、当所述第一节点的当前节点状态处于非同步状态时,所述第一节点不发送同步信标帧。
进一步的,在上述步骤201、202的基础上,本实施例还可以包括步骤206-210,以替代上述步骤203-205:
206、所述第一节点判断所述第一节点的当前节点状态是否处于同步状态;
207、当所述第一节点的当前节点状态处于同步状态,则所述第一节点进一步判断所述第一节点的上一次节点状态是否为同步状态;
208、当所述第一节点的上一次节点状态为同步状态,则所述第一节点发送所述第二Sync Beacon帧,所述第二Sync Beacon帧携带所述第一节点中的锚主信息;
209、当所述第一节点的上一次节点状态为非同步状态,则所述第一节点不发送Sync Beacon帧;可选的,所述第一节点在所述当前DW内不发送Sync Beacon帧,在下一个DW内发送所述第二Sync Beacon帧;
210、当所述第一节点的当前节点状态为非同步状态,则所述第一节点不发送Sync Beacon帧。
本实施例中,通过定义在DW的后1/2时段内,即使第一节点处于同步状态,在剩下的DW的后1/2时段内也不发送第二Sync Beacon帧,而是在下一个DW内发送,有效延迟发送Sync Beacon帧的时间,避免在DW的后1/2时段内变为同步状态的节点发送Sync Beacon帧,减少短时间内的不必要的同步。
参阅图3,以下从根据节点的状态来限制Sync Beacon帧的数目的角度对本发明实施例中另一种锚主节点AM管理的方法进行说明,每个节点都记录自身节点状态的变化,所述方法包括:
301、判断所述第一节点的上一次节点状态是否为非同步状态;
302、当所述第一节点的上一次节点状态为非同步状态,所述第一节点的当前节点状态为同步状态,则所述第一节点在当前发现窗口DW中不发送所述Sync Beacon帧;
可选的,所述方法还包括:
303、当所述第一节点的当前节点状态为同步状态,且所述第一节点的节点状态在所述当前DW的后1/2时间段为同步状态时,则所述第一节点在所述当前DW中不发送Sync Beacon帧,在下一个DW内发送所述Sync Beacon帧。
本实施例中,通过新定义判断第一节点的连续两次(当然也可以是两次以上,选择的次数越多,效果愈好)的节点状态,来限制成为AM的第一节点不发送上述Sync Beacon帧,一定时段内可以有效减少临近感知网络中发送的Sync Beacon帧的数目,从而可以减少空口资源的浪费,进而为SDF提供更多的空口资源的机会,使得节点之间可以及时进行服务发现,也有效提高网络资源的利用率。
另外,当所述第一节点的上一次节点状态为同步状态,则所述第一节点发送所述第二Sync Beacon帧。
举例来说,如果第一节点当前的节点状态为Master状态或AM状态,而上一次节点状态是Master或Non-Master Sync状态,则节点发送上述第二Sync Beacon帧。
又举例来说,考虑当前DW开始时第一节点的节点状态,如果第一节点在当前DW开始时的状态为Master或Non-Master Sync状态,且第一节点的当前节点状态为Master状态或AM,上一次节点状态是Master或Non-Master Sync状态,则第一节点发送上述第二Sync Beacon帧。
参阅图4,以下对本发明实施例中另一种锚主节点AM管理的方法进行描述,所述方法包括:
401、第一节点获取所述临近感知网络中其他节点的主节点意愿值MR;
其中,所述第一节点可以从所述邻居感知网络中处于同步状态的节点发送的同步信标Sync Beacon帧中提取与处于同步状态的节点对应的MR,并记录。
402、所述第一节点所述临近感知网络中的第二节点发送的接收第一同步信标Sync Beacon帧;
其中,所述第一Sync Beacon帧携带第一锚主信息,所述第一锚主信息包括第一锚主等级AMR,其中所述第一AMR包括第一MAC地址信息,所述第一节点中的第二锚主信息包括第二MAC地址信息。
403、若所述第一AMR小于预设比率的所述第一节点获取到的MR,且所述第一MAC地址信息与所述第二MAC地址信息相同时,所述第一节点不更新所述第二锚主信息。
其中,上述预设比率可以是70%-100%中的任意值。
举例来说,上述第一节点记录了该临近感知网络内N个节点的MR,在该第一节点接收到第一Sync Beacon帧后,若第一AMR小于70%-100%的节点的MR,则表明该发送第一Sync Beacon帧的节点的MR是小于临近感知网络中的大部分节点的MR的,发送第一Sync Beacon帧的节点可能是假的,或者是攻击网络的节点,那么第一节点是不需要更新自身的锚主信息和节点状态的,即可减少不必要的状态变化及同步。
本发明实施例中,通过预先获取临近感知网络中的其他节点的MR,使得在接收到Sync Beacon帧后,将上述第一锚主信息与第二锚主信息进行比较,在上述第一AMR小于预设比率的所述获取到的MR值,且所述第一MAC地址信息与所述第二MAC地址信息相同时,即表明该Sync Beacon帧对应的节点在临近感知网络中的AMR低于大部分节点,并不需要根据该第一锚主信息更新第二锚主信息,也不需要发送Sync Beacon帧,减少Sync Beacon帧的数目,节约空口资源。
参阅图5,对本发明实施例中一种节点进行描述,该节点50用于临近感知网络中,所述节点50包括:
传输模块501,用于接收所述临近感知网络中的第二节点发送的第一同步 信标同步信标帧,所述第一同步信标帧携带第一锚主信息,所述第一锚主信息包括第一锚主等级AMR,所述第一AMR包括第一媒体接入控制MAC地址信息;所述第一节点中的锚主信息包括第二AMR,其中第二AMR包括第二MAC地址信息;
处理模块502,用于在所述第一AMR小于所述第二AMR,所述第一MAC地址信息和所述第二MAC地址信息相同,且所述第一节点的主等级MR大于所述第一AMR时,所述第一节点根据所述第一锚主信息更新所述第一节点中的锚主信息;
所述传输模块501还用于当所述处理模块502判断所述第一节点的预设节点状态处于同步状态时,发送第二同步信标帧;可选的,所述传输模块501可以在当前窗口发现窗口内或下一个发现窗口内发送第二同步信标帧。
或,当所述处理模块502判断所述第一节点的预设节点状态处于非同步状态时,不发送同步信标帧。
其中,所述第一节点的预设节点状态包括:所述第一节点在所述传输模块502接收到所述第一同步信标帧之前的状态、所述第一节点在所述当前发现窗口开始时的状态或所述第一节点在上一个发现窗口中的状态,具体应用场景可参考本文中实施例的步骤103,类似之处均不再赘述。
本发明实施例中,处理模块502根据第一锚主信息、第一节点中的锚主信息和第一节点的MR三者确定是否更新第一节点中的锚主信息,并在第一节点的预设节点状态处于同步状态时,才发送第二同步信标帧,使得其他节点与自己同步,在一定程度上限制成为AM的节点发送同步信标帧,有效减少同步信标帧的数目及空口资源的占用和浪费。
可选的,本发明实施例中的所述处理模块502还用于:
判断所述第一节点的预设节点状态的上一次节点状态是否为同步状态;
所述传输模块501还用于当所述处理模块502判断所述第一节点的预设节点状态的上一次节点状态为同步状态,则发送所述第二同步信标帧;
当所述处理模块502判断所述第一节点的预设节点状态的上一次节点状态为非同步状态,则在当前窗口发现窗口内不发送所述第二同步信标帧,并在 下一个发现窗口内发送所述第二同步信标帧。
可选的,本发明实施例中的所述传输模块501还用于:
接收所述临近感知网络中的第三节点发送的第三同步信标帧,所述第三同步信标帧携带第三锚主信息,所述第三锚主信息包括第三AMR,更新后的所述第一节点中的锚主信息包括第四AMR;
所述处理模块502还用于当所述第三AMR小于所述第四AMR时,不更新所述第一节点中的锚主信息;且如果所述第一节点处于同步状态,则所述第一节点在所述下一个发现窗口发送同步信标帧;
或,
当所述第三AMR大于所述第四AMR时,根据所述第三锚主信息更新所述更新后的所述第一节点中的锚主信息。
参阅图6,对本发明实施例中一种节点进行描述,该节点60用于临近感知网络中,所述节点60包括:
传输模块601,用于在当前发现窗口发现窗口的后1/2时间段接收所述临近感知网络中的第二节点发送的第一同步信标同步信标帧,所述第一同步信标帧携带第一锚主信息,所述第一锚主信息包括第一锚主等级AMR,所述第一节点中的锚主信息包括第二AMR;
处理模块602,用于当所述第一AMR小于所述第二AMR时,不更新所述第一节点的当前节点状态和所述第一节点中的锚主信息。
本发明实施例中,通过定义第一节点在发现窗口的后1/2时间段接收到第一同步信标帧时,即使第一AMR小于第二AMR,处理模块602也不改变第一节点的当前节点状态和第一节点中的锚主信息,通过这种机制,可以有效遏制在某些特殊时段可能成为AM的节点发送同步信标帧,即可减少短时间内AM的数目,又可以有效减少同步信标帧发送的数目,从而减少空口资源的浪费。
可选的,本发明实施例中的传输模块601和处理模块602还可以执行以下 情况中的一种:
第一种情况:
本发明实施例中的所述处理模块602还用于:
判断所述第一节点的当前节点状态是否处于同步状态;
本发明实施例中的所述传输模块601还用于当所述处理模块判断所述第一节点的当前节点状态为同步状态时,在下一个发现窗口内发送第二同步信标帧;
当所述处理模块602判断所述第一节点的当前节点状态为非同步状态,则不发送同步信标帧。
第二种情况:
本发明实施例中的所述处理模块602还用于:
判断所述第一节点的当前节点状态是否处于同步状态;
当所述第一节点的当前节点状态处于同步状态,则进一步判断所述第一节点的上一次节点状态是否为同步状态;
本发明实施例中的所述传输模块601还用于当所述处理模块602判断所述第一节点的上一次节点状态为同步状态,则在下一个发现窗口内发送所述第二同步信标帧;
当所述处理模块602判断所述第一节点的上一次节点状态为非同步状态,则不发送同步信标帧;
当所述处理模块602判断所述第一节点的当前节点状态为非同步状态,则不发送同步信标帧。
参阅图7,对本发明实施例中另一种节点进行描述,该节点70用于临近感知网络中,所述节点70包括:
处理模块701,用于判断第一节点的上一次节点状态是否为非同步状态;
传输模块702,用于当所述处理模块701判断所述第一节点的上一次节点状态为非同步状态,所述第一节点的当前节点状态为同步状态或非同步状态,则在当前发现窗口发现窗口中不发送同步信标帧。
本实施例中,通过新定义处理模块701判断第一节点的连续两次(当然也 可以是两次以上,选择的次数越多,效果愈好)的节点状态,来限制成为AM的第一节点不发送上述同步信标帧,一定时段内可以有效减少临近感知网络中发送的同步信标帧的数目,从而可以减少空口资源的浪费,为SDF提供更多的空口资源的机会,使得节点之间可以及时进行服务发现,也有效提高网络资源的利用率。
可选的,本发明实施例中的所述传输模块702还用于:
当所述处理模块701判断所述第一节点的当前节点状态为同步状态,且所述第一节点的节点状态在所述当前发现窗口的后1/2时间段为同步状态时,则在所述当前发现窗口中不发送同步信标帧,在下一个发现窗口内发送同步信标帧。
参阅图8,对本发明实施例中一种节点进行描述,该节点80用于临近感知网络中,所述节点80包括:
传输模块801,用于获取所述临近感知网络中其他节点的主节点意愿值MR;
并接收所述临近感知网络中的第二节点发送的第一同步信标同步信标帧,其中,所述第一同步信标帧携带第一锚主信息,所述第一锚主信息包括第一锚主等级AMR,其中所述第一AMR包括第一媒体接入控制MAC地址信息,所述第一节点中的第二锚主信息包括第二MAC地址信息;
处理模块802,用于在所述传输模块801获取到的所述第一AMR小于预设比率的所述传输模块获取到的所述MR,且所述第一MAC地址信息与所述第二MAC地址信息相同时,不更新所述第二锚主信息。
本发明实施例中,通过传输模块801预先获取临近感知网络中的其他节点的MR,使得在传输模块801接收到同步信标帧后,处理模块802将上述第一锚主信息与第二锚主信息进行比较,在上述第一AMR小于预设比率的所述获取到的MR值,且所述第一MAC地址信息与所述第二MAC地址信息相同时,即表明该同步信标帧对应的节点在临近感知网络中的AMR低于大部分节点,并不需要根据该第一锚主信息更新第二锚主信息,也不需要传输模块801发送 同步信标帧,减少同步信标帧的数目,节约空口资源。
可以理解的是,上述图5至图8所对应的实施例及相应的可选实施例中所出现的传输节点在接收或获取某信息时,可以理解为接收器,在发送某消息时,可以理解为发射器,另外,处理模块可以理解为执行了上述各实施例中的部分或全部步骤的处理器。
本发明还提供一种计算机存储介质,该介质存储有程序,该程序执行时包括上述锚主节点AM管理的方法中的部分或者全部步骤。
本发明还提供一种计算机存储介质,该介质存储有程序,该程序执行时包括上述节点执行一种锚主节点AM管理的方法中的部分或者全部步骤。
图9是本发明实施例用户节点90的另一结构示意图。用户节点90可包括至少一个网络接口或者其它通信接口、至少一个接收器901、至少一个发射器902、至少一个处理器903和存储器904,以实现这些装置之间的连接通信,通过至少一个网络接口(可以是有线或者无线)实现该系统网关与至少一个其它网元之间的通信连接,可以使用互联网,广域网,本地网,城域网等。
存储器904可以包括只读存储器和随机存取存储器,并向处理器903提供指令和数据,存储器904的一部分还可以包括可能包含高速随机存取存储器(RAM,Random Access Memory),也可能还包括非不稳定的存储器(non-volatile memory)。
存储器904存储了如下的元素,可执行模块或者数据结构,或者它们的子集,或者它们的扩展集:
操作指令:包括各种操作指令,用于实现各种操作。
操作系统:包括各种系统程序,用于实现各种基础业务以及处理基于硬件的任务。
在本发明实施例中,处理器903通过调用存储器904存储的操作指令(该操作指令可存储在操作系统中),执行如下操作:
通过接收器901接收所述临近感知网络中的第二节点发送的第一同步信标同步信标帧,所述第一同步信标帧携带第一锚主信息,所述第一锚主信息包 括第一锚主等级AMR,所述第一AMR包括第一媒体接入控制MAC地址信息;所述第一节点中的锚主信息包括第二AMR,其中第二AMR包括第二MAC地址信息;
在所述第一AMR小于所述第二AMR,所述第一MAC地址信息和所述第二MAC地址信息相同,且所述第一节点的主等级MR大于所述第一AMR时,所述第一节点根据所述第一锚主信息更新所述第一节点中的锚主信息;
当所述第一节点的预设节点状态处于同步状态时,通过发射器902发送第二同步信标帧;
或,当所述第一节点的预设节点状态处于非同步状态时,不发送同步信标帧。
其中,所述第一节点的预设节点状态包括:所述第一节点在接收到所述第一同步信标帧之前的状态、所述第一节点在所述当前发现窗口开始时的状态或所述第一节点在上一个发现窗口中的状态。
可选的,所述处理器903利用发射器902在当前窗口发现窗口内或下一个发现窗口内发送第二同步信标帧。
在一些实施方式中,上述处理器903在所述第一节点发送第二同步信标帧之前,还可以执行以下步骤:
判断所述第一节点的预设节点状态的上一次节点状态是否为同步状态;
当所述第一节点的预设节点状态的上一次节点状态为同步状态,则所述第一节点发送所述第二同步信标帧;
或,当所述第一节点的预设节点状态的上一次节点状态为非同步状态,则通过发射器902在当前窗口发现窗口内不发送所述第二同步信标帧,并在下一个发现窗口内发送所述第二同步信标帧。
在一些实施方式中,上述处理器903在所述第一节点根据所述第一锚主信息更新所述第一节点中的锚主信息之后,还可以执行以下步骤:
通过接收器901接收所述临近感知网络中的第三节点发送的第三同步信标帧,所述第三同步信标帧携带第三锚主信息,所述第三锚主信息包括第三AMR,更新后的所述第一节点中的锚主信息包括第四AMR;
当所述第三AMR小于所述第四AMR时,不更新所述第一节点中的锚主 信息;且如果所述第一节点处于同步状态,则通过发射器902在所述下一个发现窗口发送同步信标帧;
或,当所述第三AMR大于所述第四AMR时,根据所述第三锚主信息更新所述更新后的所述第一节点中的锚主信息。
图10是本发明实施例用户节点100的另一结构示意图。用户节点100可包括至少一个网络接口或者其它通信接口、至少一个接收器1001、至少一个发射器1002、至少一个处理器1003和存储器1004,以实现这些装置之间的连接通信,通过至少一个网络接口(可以是有线或者无线)实现该系统网关与至少一个其它网元之间的通信连接,可以使用互联网,广域网,本地网,城域网等。
存储器1004可以包括只读存储器和随机存取存储器,并向处理器1003提供指令和数据,存储器1004的一部分还可以包括可能包含高速随机存取存储器(RAM,Random Access Memory),也可能还包括非不稳定的存储器(non-volatile memory)。
存储器1004存储了如下的元素,可执行模块或者数据结构,或者它们的子集,或者它们的扩展集:
操作指令:包括各种操作指令,用于实现各种操作。
操作系统:包括各种系统程序,用于实现各种基础业务以及处理基于硬件的任务。
在本发明实施例中,处理器1003通过调用存储器1004存储的操作指令(该操作指令可存储在操作系统中),执行如下操作:
在当前发现窗口的后1/2时间段通过接收器1001接收所述临近感知网络中的第二节点发送的第一同步信标帧,所述第一同步信标帧携带第一锚主信息,所述第一锚主信息包括第一AMR,所述第一节点中的锚主信息包括第二AMR;
当所述第一AMR小于所述第二AMR时,不更新所述第一节点的当前节点状态和所述第一节点中的锚主信息。
在一些实施方式中,上述处理器1003还可以执行以下步骤:
判断所述第一节点的当前节点状态是否处于同步状态;
当所述第一节点的当前节点状态为同步状态时,通过发射器1002在下一个发现窗口内发送第二同步信标帧;
当所述第一节点的当前节点状态为非同步状态,则不发送同步信标帧。
在一些实施方式中,上述处理器1003还可以执行以下步骤:
判断所述第一节点的当前节点状态是否处于同步状态;
当所述第一节点的当前节点状态处于同步状态,则进一步判断所述第一节点的上一次节点状态是否为同步状态;
当所述第一节点的上一次节点状态为同步状态,则通过发射器902在下一个发现窗口内发送所述第二同步信标帧;
或,当所述第一节点的上一次节点状态为非同步状态,则不发送同步信标帧;
或,当所述第一节点的当前节点状态为非同步状态,则不发送同步信标帧。
图11是本发明实施例用户节点110的另一结构示意图。用户节点110可包括至少一个网络接口或者其它通信接口、至少一个接收器1101、至少一个发射器1102、至少一个处理器1103和存储器1104,以实现这些装置之间的连接通信,通过至少一个网络接口(可以是有线或者无线)实现该系统网关与至少一个其它网元之间的通信连接,可以使用互联网,广域网,本地网,城域网等。
存储器1104可以包括只读存储器和随机存取存储器,并向处理器1103提供指令和数据,存储器1104的一部分还可以包括可能包含高速随机存取存储器(RAM,Random Access Memory),也可能还包括非不稳定的存储器(non-volatile memory)。
存储器1104存储了如下的元素,可执行模块或者数据结构,或者它们的子集,或者它们的扩展集:
操作指令:包括各种操作指令,用于实现各种操作。
操作系统:包括各种系统程序,用于实现各种基础业务以及处理基于硬件 的任务。
在本发明实施例中,处理器1103通过调用存储器1104存储的操作指令(该操作指令可存储在操作系统中),执行如下操作:
判断所述第一节点的上一次节点状态是否为非同步状态;
当所述第一节点的上一次节点状态为非同步状态,所述第一节点的当前节点状态为同步状态或非同步状态,则通过发射器1102在当前发现窗口中不发送同步信标帧。
在一些实施方式中,上述处理器1103还可以执行以下步骤:
所述第一节点的当前节点状态为同步状态,且,所述第一节点在当前发现窗口的后1/2时间段内的节点状态也为同步状态时,在所述当前发现窗口中不发送同步信标帧,而在下一个发现窗口内通过发射器1102发送同步信标帧。
图12是本发明实施例用户节点120的另一结构示意图。用户节点120可包括至少一个网络接口或者其它通信接口、至少一个接收器1201、至少一个发射器1202、至少一个处理器1203和存储器1204,以实现这些装置之间的连接通信,通过至少一个网络接口(可以是有线或者无线)实现该系统网关与至少一个其它网元之间的通信连接,可以使用互联网,广域网,本地网,城域网等。
存储器1204可以包括只读存储器和随机存取存储器,并向处理器1203提供指令和数据,存储器1204的一部分还可以包括可能包含高速随机存取存储器(RAM,Random Access Memory),也可能还包括非不稳定的存储器(non-volatile memory)。
存储器1204存储了如下的元素,可执行模块或者数据结构,或者它们的子集,或者它们的扩展集:
操作指令:包括各种操作指令,用于实现各种操作。
操作系统:包括各种系统程序,用于实现各种基础业务以及处理基于硬件的任务。
在本发明实施例中,处理器1203通过调用存储器1204存储的操作指令(该 操作指令可存储在操作系统中),执行如下操作:
通过接收器1201获取所述临近感知网络中其他节点的主节点意愿值MR;
通过接收器1201接收所述临近感知网络中的第二节点发送的第一同步信标同步信标帧,其中,所述第一同步信标帧携带第一锚主信息,所述第一锚主信息包括第一锚主等级AMR,其中所述第一AMR包括第一媒体接入控制MAC地址信息,所述第一节点中的第二锚主信息包括第二MAC地址信息;
若所述第一AMR小于预设比率的所述第一节点获取到的所述MR,且所述第一MAC地址信息与所述第二MAC地址信息相同时,则不更新所述第二锚主信息。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的 形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机节点(可以是个人计算机,服务器,或者网络节点等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上对本发明所提供的一种锚主节点AM管理的方法及节点的方法及装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。

Claims (33)

  1. 一种锚主节点AM管理的方法,用于临近感知网络中,其特征在于,所述方法包括:
    第一节点接收所述临近感知网络中的第二节点发送的第一同步信标帧,所述第一同步信标帧携带第一锚主信息,所述第一锚主信息包括第一锚主等级AMR,所述第一AMR包括第一媒体接入控制MAC地址信息;所述第一节点中的锚主信息包括第二AMR,所述第二AMR包括第二MAC地址信息;
    在所述第一AMR小于所述第二AMR,所述第一MAC地址信息和所述第二MAC地址信息相同,且所述第一节点的主节点意愿值MR大于所述第一AMR时,所述第一节点根据所述第一锚主信息更新所述第一节点中的锚主信息;
    当所述第一节点的预设节点状态处于同步状态时,所述第一节点发送第二同步信标帧;
    或,当所述第一节点的预设节点状态处于非同步状态时,所述第一节点不发送同步信标帧。
  2. 根据权利要求1所述的方法,其特征在于,在当所述第一节点的预设节点状态处于同步状态,所述第一节点发送第二同步信标帧之前,所述方法还包括:
    所述第一节点判断所述第一节点的预设节点状态的上一次节点状态是否为同步状态;
    当所述第一节点的预设节点状态的上一次节点状态为同步状态,则所述第一节点发送所述第二同步信标帧;
    当所述第一节点的预设节点状态的上一次节点状态为非同步状态,则所述第一节点在当前发现窗口内不发送所述第二同步信标帧,并在下一个发现窗口内发送所述第二同步信标帧。
  3. 根据权利要求1或2所述的方法,其特征在于:
    所述第一节点的预设节点状态包括:所述第一节点在接收到所述第一同步信标帧之前的状态、所述第一节点在所述当前发现窗口开始时的状态、或所述第一节点在上一个发现窗口中的状态。
  4. 根据权利要求1或3所述的方法,其特征在于,所述第一节点发送第二同步信标帧,包括:
    所述第一节点在当前发现窗口内或下一个发现窗口内发送第二同步信标帧。
  5. 根据权利要求1-4任意一项所述的方法,其特征在于,所述在所述第一节点根据所述第一锚主信息更新所述第一节点中的锚主信息之后,所述方法还包括:
    所述第一节点接收所述临近感知网络中的第三节点发送的第三同步信标帧,所述第三同步信标帧携带第三锚主信息,所述第三锚主信息包括第三AMR,更新后的所述第一节点中的锚主信息包括第四AMR;
    当所述第三AMR小于所述第四AMR时,所述第一节点不更新所述第一节点中的锚主信息;且如果所述第一节点处于同步状态,则所述第一节点在所述下一个发现窗口发送同步信标帧;
    或,当所述第三AMR大于所述第四AMR时,所述第一节点根据所述第三锚主信息更新所述更新后的所述第一节点中的锚主信息。
  6. 一种锚主节点AM管理的方法,用于临近感知网络中,其特征在于,所述方法包括:
    第一节点在当前发现窗口的后1/2时间段接收所述临近感知网络中的第二节点发送的第一同步信标帧,所述第一同步信标帧携带第一锚主信息,所述第一锚主信息包括第一AMR,所述第一节点中的锚主信息包括第二AMR;
    当所述第一AMR小于所述第二AMR时,所述第一节点不更新所述第一节点的当前节点状态和所述第一节点中的锚主信息。
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:
    所述第一节点判断所述第一节点的当前节点状态是否处于同步状态;
    当所述第一节点的当前节点状态为同步状态时,所述第一节点在下一个发现窗口内发送第二同步信标帧;
    或,当所述第一节点的当前节点状态为非同步状态,则所述第一节点不发送同步信标帧。
  8. 根据权利要求6所述的方法,其特征在于,所述方法还包括:
    所述第一节点判断所述第一节点的当前节点状态是否处于同步状态;
    当所述第一节点的当前节点状态处于同步状态,则所述第一节点进一步判断所述第一节点的上一次节点状态是否为同步状态;
    当所述第一节点的上一次节点状态为同步状态,则所述第一节点在下一个发现窗口内发送所述第二同步信标帧;
    或,当所述第一节点的上一次节点状态为非同步状态,则所述第一节点不发送同步信标帧;
    或,当所述第一节点的当前节点状态为非同步状态,则所述第一节点不发送同步信标帧。
  9. 一种锚主节点AM管理的方法,用于临近感知网络中,其特征在于,所述方法包括:
    第一节点判断所述第一节点的上一次节点状态是否为非同步状态;
    当所述第一节点的上一次节点状态为非同步状态,所述第一节点的当前节点状态为同步状态或非同步状态,则所述第一节点在当前发现窗口中不发送同步信标帧。
  10. 根据权利要求9所述的方法,其特征在于,所述方法还包括:
    所述第一节点的当前节点状态为同步状态,且,所述第一节点在当前发现窗口的后1/2时间段内的节点状态也为同步状态时,所述第一节点在所述当前发现窗口中不发送同步信标帧,在下一个发现窗口内发送同步信标帧。
  11. 一种锚主节点AM管理的方法,用于临近感知网络中,其特征在于,所述方法包括:
    第一节点获取所述临近感知网络中其他节点的主节点意愿值MR;
    所述第一节点接收所述临近感知网络中的第二节点发送的第一同步信标同步信标帧,其中,所述第一同步信标帧携带第一锚主信息,所述第一锚主信息包括第一锚主等级AMR,其中所述第一AMR包括第一媒体接入控制MAC地址信息,所述第一节点中的第二锚主信息包括第二MAC地址信息;
    若所述第一AMR小于预设比率的所述第一节点获取到的所述MR,且所述第一MAC地址信息与所述第二MAC地址信息相同时,所述第一节点不更新所述第二锚主信息。
  12. 一种节点,用于临近感知网络中,其特征在于,所述节点包括:
    传输模块,用于接收所述临近感知网络中的第二节点发送的第一同步信标同步信标帧,所述第一同步信标帧携带第一锚主信息,所述第一锚主信息包括第一锚主等级AMR,所述第一AMR包括第一媒体接入控制MAC地址信息;所述第一节点中的锚主信息包括第二AMR,其中第二AMR包括第二MAC地址信息;
    处理模块,用于在所述第一AMR小于所述第二AMR,所述第一MAC地址信息和所述第二MAC地址信息相同,且所述第一节点的主节点意愿值MR大于所述第一AMR时,所述第一节点根据所述第一锚主信息更新所述第一节点中的锚主信息;
    所述传输模块还用于当所述处理模块判断所述第一节点的预设节点状态处于同步状态时,发送第二同步信标帧;
    或,所述传输模块还用于当所述处理模块判断所述第一节点的预设节点状态处于非同步状态时,不发送同步信标帧。
  13. 根据权利要求12所述的节点,其特征在于,所述处理模块还用于:
    判断所述第一节点的预设节点状态的上一次节点状态是否为同步状态;
    所述传输模块还用于当所述处理模块判断所述第一节点的预设节点状态的上一次节点状态为同步状态,则发送所述第二同步信标帧;
    当所述处理模块判断所述第一节点的预设节点状态的上一次节点状态为非同步状态,则在当前窗口发现窗口内不发送所述第二同步信标帧,并在下一个发现窗口内发送所述第二同步信标帧。
  14. 根据权利要求12或13所述的节点,其特征在于,所述第一节点的预设节点状态包括:所述第一节点在所述传输模块接收到所述第一同步信标帧之前的状态、所述第一节点在所述当前发现窗口开始时的状态或所述第一节点在上一个发现窗口中的状态。
  15. 根据权利要求12或14所述的节点,其特征在于,所述传输模块具体用于:
    在当前窗口发现窗口内或下一个发现窗口内发送第二同步信标帧。
  16. 根据权利要求12-15任意一项所述的节点,其特征在于,所述传输模 块还用于:
    接收所述临近感知网络中的第三节点发送的第三同步信标帧,所述第三同步信标帧携带第三锚主信息,所述第三锚主信息包括第三AMR,更新后的所述第一节点中的锚主信息包括第四AMR;
    所述处理模块还用于当所述第三AMR小于所述第四AMR时,不更新所述第一节点中的锚主信息;且如果所述第一节点处于同步状态,则所述第一节点在所述下一个发现窗口发送同步信标帧;
    或,所述处理模块还用于当所述第三AMR大于所述第四AMR时,根据所述第三锚主信息更新所述更新后的所述第一节点中的锚主信息。
  17. 一种节点,用于临近感知网络中,其特征在于,所述节点包括:
    传输模块,用于在当前发现窗口的后1/2时间段接收所述临近感知网络中的第二节点发送的第一同步信标同步信标帧,所述第一同步信标帧携带第一锚主信息,所述第一锚主信息包括第一锚主等级AMR,所述第一节点中的锚主信息包括第二AMR;
    处理模块,用于当所述第一AMR小于所述第二AMR时,不更新所述第一节点的当前节点状态和所述第一节点中的锚主信息。
  18. 根据权利要求17所述的节点,其特征在于,所述处理模块还用于:
    判断所述第一节点的当前节点状态是否处于同步状态;
    所述传输模块还用于当所述处理模块判断所述第一节点的当前节点状态为同步状态时,在下一个发现窗口内发送第二同步信标帧;
    当所述处理模块判断所述第一节点的当前节点状态为非同步状态,则不发送同步信标帧。
  19. 根据权利要求17所述的节点,其特征在于,所述处理模块还用于:
    判断所述第一节点的当前节点状态是否处于同步状态;
    当所述第一节点的当前节点状态处于同步状态,则进一步判断所述第一节点的上一次节点状态是否为同步状态;
    所述传输模块还用于当所述处理模块判断所述第一节点的上一次节点状态为同步状态,则在下一个发现窗口内发送所述第二同步信标帧;
    当所述处理模块判断所述第一节点的上一次节点状态为非同步状态,则不 发送同步信标帧;
    或,当所述处理模块判断所述第一节点的当前节点状态为非同步状态,则不发送同步信标帧。
  20. 一种节点,其用于临近感知网络中,其特征在于,所述节点包括:
    处理模块,用于判断第一节点的上一次节点状态是否为非同步状态;
    传输模块,用于当所述处理模块判断所述第一节点的上一次节点状态为非同步状态,所述第一节点的当前节点状态为同步状态或非同步状态,则在当前发现窗口中不发送同步信标帧。
  21. 根据权利要求20所述的节点,其特征在于,所述传输模块还用于:
    当所述处理模块判断所述第一节点的当前节点状态为同步状态,且所述第一节点的节点状态在所述当前发现窗口的后1/2时间段为同步状态时,则在所述当前发现窗口中不发送同步信标帧,在下一个发现窗口内发送同步信标帧。
  22. 一种节点,用于临近感知网络中,其特征在于,所述节点包括:
    传输模块,用于获取所述临近感知网络中其他节点的主节点意愿值MR;
    并接收所述临近感知网络中的第二节点发送的第一同步信标同步信标帧,其中,所述第一同步信标帧携带第一锚主信息,所述第一锚主信息包括第一锚主等级AMR,其中所述第一AMR包括第一媒体接入控制MAC地址信息,所述第一节点中的第二锚主信息包括第二MAC地址信息;
    处理模块,用于在所述传输模块获取到的所述第一AMR小于预设比率的所述传输模块获取到的所述MR,且所述第一MAC地址信息与所述第二MAC地址信息相同时,不更新所述第二锚主信息。
  23. 一种节点,用于临近感知网络中,所述节点包括:
    处理器;
    存储器,用于存储计算机可执行程序代码;
    通信接口;
    接收器、发射器;
    所述处理器、所述接收器、所述发射器、所述存储设备和所述通信接口通过总线相互通信;
    所述处理器读取所述存储设备中存储的程序代码和数据,其中所述程序代 码包括指令,当所述处理器执行所述指令时,所述指令致使所述处理器执行以下操作:
    通过所述接收器接收所述临近感知网络中的第二节点发送的第一同步信标帧,所述第一同步信标帧携带第一锚主信息,所述第一锚主信息包括第一锚主等级AMR,所述第一AMR包括第一媒体接入控制MAC地址信息;所述第一节点中的锚主信息包括第二AMR,所述第二AMR包括第二MAC地址信息;
    在所述第一AMR小于所述第二AMR,所述第一MAC地址信息和所述第二MAC地址信息相同,且所述第一节点的主节点意愿值MR大于所述第一AMR时,根据所述第一锚主信息更新所述第一节点中的锚主信息;
    当所述第一节点的预设节点状态处于同步状态时,通过所述发射器发送第二同步信标帧;
    或,当所述第一节点的预设节点状态处于非同步状态时,不发送同步信标帧。
  24. 根据权利要求23所述的节点,其特征在于,在当所述第一节点的预设节点状态处于同步状态,通过所述发射器发送第二同步信标帧之前,所述处理器还执行以下操作:
    判断所述第一节点的预设节点状态的上一次节点状态是否为同步状态;
    当所述第一节点的预设节点状态的上一次节点状态为同步状态,则通过所述发射器发送所述第二同步信标帧;
    当所述第一节点的预设节点状态的上一次节点状态为非同步状态,则通过发射器在当前发现窗口内不发送所述第二同步信标帧,并在下一个发现窗口内发送所述第二同步信标帧。
  25. 根据权利要求23或24所述的节点,其特征在于:
    所述第一节点的预设节点状态包括:所述第一节点在接收到所述第一同步信标帧之前的状态、所述第一节点在所述当前发现窗口开始时的状态、或所述第一节点在上一个发现窗口中的状态。
  26. 根据权利要求23或25所述的节点,其特征在于,所述处理器通过所述发射器发送第二同步信标帧,包括:
    通过所述发射器在当前发现窗口内或下一个发现窗口内发送第二同步信 标帧。
  27. 根据权利要求23-26任意一项所述的节点,其特征在于,所述根据所述第一锚主信息更新所述第一节点中的锚主信息之后,所述处理器还执行:
    通过所述接收器接收所述临近感知网络中的第三节点发送的第三同步信标帧,所述第三同步信标帧携带第三锚主信息,所述第三锚主信息包括第三AMR,更新后的所述第一节点中的锚主信息包括第四AMR;
    当所述第三AMR小于所述第四AMR时,不更新所述第一节点中的锚主信息;且如果所述第一节点处于同步状态,则通过所述发射器在所述下一个发现窗口发送同步信标帧;
    或,当所述第三AMR大于所述第四AMR时,根据所述第三锚主信息更新所述更新后的所述第一节点中的锚主信息。
  28. 一种节点,用于临近感知网络中,其特征在于,所述节点包括:
    处理器;
    存储器,用于存储计算机可执行程序代码;
    通信接口;
    接收器、发射器;
    所述处理器、所述接收器、所述发射器、所述存储设备和所述通信接口通过总线相互通信;
    所述处理器读取所述存储设备中存储的程序代码和数据,其中所述程序代码包括指令,当所述处理器执行所述指令时,所述指令致使所述处理器执行以下操作:
    通过所述接收器在当前发现窗口的后1/2时间段接收所述临近感知网络中的第二节点发送的第一同步信标帧,所述第一同步信标帧携带第一锚主信息,所述第一锚主信息包括第一AMR,所述第一节点中的锚主信息包括第二AMR;
    当所述第一AMR小于所述第二AMR时,不更新所述第一节点的当前节点状态和所述第一节点中的锚主信息。
  29. 根据权利要求28所述的节点,其特征在于,所述处理器还执行以下操作:
    判断所述第一节点的当前节点状态是否处于同步状态;
    当所述第一节点的当前节点状态为同步状态时,通过所述发射器在下一个发现窗口内发送第二同步信标帧;
    或,当所述第一节点的当前节点状态为非同步状态,则不发送同步信标帧。
  30. 根据权利要求28所述的节点,其特征在于,所述处理器还执行:
    判断所述第一节点的当前节点状态是否处于同步状态;
    当所述第一节点的当前节点状态处于同步状态,则进一步判断所述第一节点的上一次节点状态是否为同步状态;
    当所述第一节点的上一次节点状态为同步状态,则通过所述发射器在下一个发现窗口内发送所述第二同步信标帧;
    或,当所述第一节点的上一次节点状态为非同步状态,则不发送同步信标帧;
    或,当所述第一节点的当前节点状态为非同步状态,则所述不发送同步信标帧。
  31. 一种节点,用于临近感知网络中,其特征在于,所述节点包括:
    处理器;
    存储器,用于存储计算机可执行程序代码;
    通信接口;
    接收器、发射器;
    所述处理器、所述接收器、所述发射器、所述存储设备和所述通信接口通过总线相互通信;
    所述处理器读取所述存储设备中存储的程序代码和数据,其中所述程序代码包括指令,当所述处理器执行所述指令时,所述指令致使所述处理器执行以下操作:
    判断所述第一节点的上一次节点状态是否为非同步状态;
    当所述第一节点的上一次节点状态为非同步状态,所述第一节点的当前节点状态为同步状态或非同步状态,则通过所述发射器在当前发现窗口中不发送同步信标帧。
  32. 根据权利要求31所述的节点,其特征在于,所述处理器还执行以下 操作:
    所述第一节点的当前节点状态为同步状态,且,所述第一节点在当前发现窗口的后1/2时间段内的节点状态也为同步状态时,在通过所述发射器所述当前发现窗口中不发送同步信标帧,在下一个发现窗口内发送同步信标帧。
  33. 一种节点,用于临近感知网络中,其特征在于,所述节点包括:
    处理器;
    存储器,用于存储计算机可执行程序代码;
    通信接口;
    接收器、发射器;
    所述处理器、所述接收器、所述发射器、所述存储设备和所述通信接口通过总线相互通信;
    所述处理器读取所述存储设备中存储的程序代码和数据,其中所述程序代码包括指令,当所述处理器执行所述指令时,所述指令致使所述处理器执行以下操作:
    获取所述临近感知网络中其他节点的主节点意愿值MR;
    接收所述临近感知网络中的第二节点发送的第一同步信标同步信标帧,其中,所述第一同步信标帧携带第一锚主信息,所述第一锚主信息包括第一锚主等级AMR,其中所述第一AMR包括第一媒体接入控制MAC地址信息,所述第一节点中的第二锚主信息包括第二MAC地址信息;
    若所述第一AMR小于预设比率的所述第一节点获取到的所述MR,且所述第一MAC地址信息与所述第二MAC地址信息相同时,不更新所述第二锚主信息。
PCT/CN2015/087413 2015-08-18 2015-08-18 一种锚主节点am管理的方法及节点 WO2017028205A1 (zh)

Priority Applications (10)

Application Number Priority Date Filing Date Title
EP15901409.1A EP3319377B1 (en) 2015-08-18 2015-08-18 Anchor master node management method and node
EP20172578.5A EP3749027B1 (en) 2015-08-18 2015-08-18 Anchor master am management method and node
JP2018508671A JP2018528680A (ja) 2015-08-18 2015-08-18 アンカーマスターam管理方法およびノード
ES20172578T ES2922900T3 (es) 2015-08-18 2015-08-18 Método de gestión del nodo maestro de anclaje y nodo
US15/751,431 US20180234934A1 (en) 2015-08-18 2015-08-18 Anchor master am management method and node
CN201580027674.3A CN106416328B (zh) 2015-08-18 2015-08-18 一种用于控制信标帧的发送的方法、节点及装置
SG11201810807YA SG11201810807YA (en) 2015-08-18 2015-08-18 Anchor master am management method and node
PCT/CN2015/087413 WO2017028205A1 (zh) 2015-08-18 2015-08-18 一种锚主节点am管理的方法及节点
CA3027207A CA3027207A1 (en) 2015-08-18 2015-08-18 Anchor master am management method and node
ES15901409T ES2867123T3 (es) 2015-08-18 2015-08-18 Método de gestión del nodo maestro de anclaje y nodo

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/087413 WO2017028205A1 (zh) 2015-08-18 2015-08-18 一种锚主节点am管理的方法及节点

Publications (1)

Publication Number Publication Date
WO2017028205A1 true WO2017028205A1 (zh) 2017-02-23

Family

ID=58007131

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/087413 WO2017028205A1 (zh) 2015-08-18 2015-08-18 一种锚主节点am管理的方法及节点

Country Status (8)

Country Link
US (1) US20180234934A1 (zh)
EP (2) EP3319377B1 (zh)
JP (1) JP2018528680A (zh)
CN (1) CN106416328B (zh)
CA (1) CA3027207A1 (zh)
ES (2) ES2922900T3 (zh)
SG (1) SG11201810807YA (zh)
WO (1) WO2017028205A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108605300A (zh) 2016-03-28 2018-09-28 华为技术有限公司 一种nan设备发送同步信标消息的方法和设备
US10868749B2 (en) * 2016-07-26 2020-12-15 Motorola Mobility Llc Method and apparatus for discovering neighborhood awareness networking devices based on presence
US20190007903A1 (en) * 2017-06-28 2019-01-03 Qualcomm Incorporated Coordinated neighbor aware network (nan) role assignment
WO2020254231A1 (en) 2019-06-20 2020-12-24 Signify Holding B.V. Control network system
JP7358315B2 (ja) 2020-09-16 2023-10-10 株式会社東芝 無線通信装置、無線通信システム、無線通信装置の処理方法及びプログラム

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104053227A (zh) * 2013-12-02 2014-09-17 华为终端有限公司 一种用于锚主设备选择的方法和设备
WO2014176079A1 (en) * 2013-04-23 2014-10-30 Qualcomm Incorporated Systems and methods for identification in a neighborhood aware network
CN104278800A (zh) * 2013-07-05 2015-01-14 长江大学 一种装配式钢管混凝土柱连接结构
WO2015069041A1 (ko) * 2013-11-06 2015-05-14 엘지전자 주식회사 무선 통신 시스템에서 nan 단말의 신호 송수신 방법 및 장치
WO2015072796A1 (ko) * 2013-11-15 2015-05-21 엘지전자 주식회사 무선 통신 시스템에서 nan 단말의 상태 변경 방법 및 장치
WO2015117142A1 (en) * 2014-02-03 2015-08-06 Qualcomm Incorporated Discovery of a neighbor awareness network (nan) using a wake up message
WO2015119454A1 (ko) * 2014-02-07 2015-08-13 엘지전자 주식회사 무선 통신 시스템에서 nan 단말의 상태 천이 방법 및 장치

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9432925B2 (en) * 2013-08-05 2016-08-30 Nokia Technologies Oy Method, apparatus, and computer program product for hop count usage in cluster selection
US9723581B2 (en) * 2013-10-18 2017-08-01 Qualcomm Incorporated Systems and methods for establishing synchronization across multiple networks and participating STAs via operations on a known common channel
KR101785673B1 (ko) * 2013-10-22 2017-10-16 엘지전자 주식회사 무선 통신 시스템에서 nan 단말의 신호 전송 방법 및 장치
US9258193B2 (en) * 2014-01-14 2016-02-09 Nokia Technologies Oy Method, apparatus, and computer program product for wireless network cluster discovery and concurrency management

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014176079A1 (en) * 2013-04-23 2014-10-30 Qualcomm Incorporated Systems and methods for identification in a neighborhood aware network
CN104278800A (zh) * 2013-07-05 2015-01-14 长江大学 一种装配式钢管混凝土柱连接结构
WO2015069041A1 (ko) * 2013-11-06 2015-05-14 엘지전자 주식회사 무선 통신 시스템에서 nan 단말의 신호 송수신 방법 및 장치
WO2015072796A1 (ko) * 2013-11-15 2015-05-21 엘지전자 주식회사 무선 통신 시스템에서 nan 단말의 상태 변경 방법 및 장치
CN104053227A (zh) * 2013-12-02 2014-09-17 华为终端有限公司 一种用于锚主设备选择的方法和设备
WO2015117142A1 (en) * 2014-02-03 2015-08-06 Qualcomm Incorporated Discovery of a neighbor awareness network (nan) using a wake up message
WO2015119454A1 (ko) * 2014-02-07 2015-08-13 엘지전자 주식회사 무선 통신 시스템에서 nan 단말의 상태 천이 방법 및 장치

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3319377A4 *

Also Published As

Publication number Publication date
CN106416328A (zh) 2017-02-15
US20180234934A1 (en) 2018-08-16
EP3319377A1 (en) 2018-05-09
SG11201810807YA (en) 2019-01-30
EP3319377B1 (en) 2021-01-20
EP3319377A4 (en) 2018-07-25
CA3027207A1 (en) 2017-02-23
ES2922900T3 (es) 2022-09-21
EP3749027B1 (en) 2022-06-15
CN106416328B (zh) 2020-03-10
ES2867123T3 (es) 2021-10-20
EP3749027A1 (en) 2020-12-09
JP2018528680A (ja) 2018-09-27

Similar Documents

Publication Publication Date Title
JP6346970B2 (ja) アンカーマスタ選択のための方法およびデバイス
WO2017028205A1 (zh) 一种锚主节点am管理的方法及节点
EP3024289B1 (en) Communication system, communication apparatus and communication method, and computer program
TWI461078B (zh) 並行控制方法
US9819750B2 (en) Neighbor aware network cluster topology establishment based on proximity measurements
JP6392228B2 (ja) サービスを広告するように構成される発見メッセージを送信するためにモバイルデバイスをトリガするための方法
US9769705B2 (en) Method and apparatus for implementing decentralized clustering mechanism
US9247526B2 (en) Systems and methods for paging message enhancement
JP4579947B2 (ja) 無線lan省電力制御方法および無線基地局装置並びに無線端末装置
CN107743718B (zh) 经由nan代理服务器提供代理服务的方法和装置
WO2015021780A1 (zh) 用于加入邻近感知网络设备群的方法、设备及系统
JP6579884B2 (ja) 通信装置、制御方法、及びプログラム
CA3019360C (en) Method for sending sync beacon message by nan device, and device
JP2017063311A (ja) 通信装置、制御方法、及びプログラム
WO2016149890A1 (zh) 一种nan设备之间的距离测量方法及nan设备
WO2015188711A1 (zh) 一种小小区发现方法及系统、基站、用户设备
WO2017167141A1 (zh) 无线局域网信标发送方法及装置
JP6676202B2 (ja) アンカーマスターam管理方法およびノード
JP6888143B2 (ja) アンカーマスターam管理方法およびノード

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15901409

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2015901409

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 15751431

Country of ref document: US

ENP Entry into the national phase

Ref document number: 2018508671

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 3027207

Country of ref document: CA