WO2014090162A1 - 一种节点调度方法、设备及系统 - Google Patents

一种节点调度方法、设备及系统 Download PDF

Info

Publication number
WO2014090162A1
WO2014090162A1 PCT/CN2013/089123 CN2013089123W WO2014090162A1 WO 2014090162 A1 WO2014090162 A1 WO 2014090162A1 CN 2013089123 W CN2013089123 W CN 2013089123W WO 2014090162 A1 WO2014090162 A1 WO 2014090162A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
beacon frame
superframe
working
period
Prior art date
Application number
PCT/CN2013/089123
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 EP13861971.3A priority Critical patent/EP2925072B1/en
Publication of WO2014090162A1 publication Critical patent/WO2014090162A1/zh
Priority to US14/734,906 priority patent/US9936497B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0446Resources in time domain, e.g. slots or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/12Access restriction or access information delivery, e.g. discovery data delivery using downlink control channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management

Definitions

  • the coordinator broadcasts the beacon frame in a fixed period, and all the beacon frames broadcast by the coordinator are received by each node in the network, and each node corresponds to all the beacon frames.
  • the active period of the superframe enters the active state, participating in channel competition and data transmission and reception.
  • nodes in the personal area network may have different node performance indicators in different time periods, for example: different residual energy of the node itself, different alarm delay requirements, different frequency requirements reported to the coordinator, and data transmission and reception.
  • the amount is also different.
  • node 1 reports to the coordinator that the frequency is low and the transceiver data throughput is also small
  • node 2 reports the frequency to the coordinator very high and the transceiver data throughput is also large
  • All beacon frames are received, and corresponding superframes are established, and the active state is entered during the active period of the established superframe, participating in channel competition and data transmission and reception.
  • node 1 may not send and receive data during the active period of some superframes, and node 2 may not meet the requirements of node 2 for transmitting and receiving data during the active period of some superframes. It can be seen that the network resources in the current personal area network cannot be reasonably utilized. Summary of the invention
  • the embodiment of the invention provides a node scheduling method, device and system, which can make the network resources in the personal area network be rationally utilized.
  • a first aspect of the present invention provides a node scheduling method, including:
  • the superframe is a superframe corresponding to the beacon frame in the network where the node is located; Sending an update beacon frame containing information of the duty cycle to the node, so that the node acquires information of the duty cycle from the update beacon frame, receives a work beacon frame, and establishes the work a superframe corresponding to the beacon frame, until the end of the working period, recycling the received working beacon frame, establishing a superframe corresponding to the working beacon frame, until the updated beacon frame is received again;
  • the working beacon frame is a beacon frame broadcasted in the network at the beginning of the duty cycle.
  • the performance indicator includes at least one of the following items:
  • the working period that is configured for the node to match the performance indicator of the node includes:
  • Transmitting the update beacon frame including the information of the duty cycle to the node includes: transmitting an update beacon frame including information of the duty cycle to each node, so that each node Acquiring information of a working period of the node from the update beacon frame, the node receiving a working beacon frame, establishing a superframe corresponding to the working beacon frame, until the end of the working period, recirculating receiving a working beacon a frame, establishing a superframe corresponding to the working beacon frame until the update beacon frame is received again; the working beacon frame is a beacon frame broadcasted in the network at a start time of the working period.
  • the updating the beacon frame includes:
  • the No. 13 bit of the superframe specification field is set to 1;
  • the beacon payload field includes a period allocation field, where the period allocation field includes an update node number, a beacon index, and a period allocation list;
  • the beacon index is used to indicate a superframe duration corresponding to the update beacon frame;
  • the periodic allocation list includes at least one periodic allocation descriptor, where the periodic allocation descriptor includes a node address and a multiple of the superframe duration;
  • the number of update nodes is the number of all nodes in the network
  • the periodic allocation list includes a number of period allocation descriptors of all nodes in the network, One of the periodic allocation descriptors corresponds to one node, and the working period duration of each node is equal to the multiple of the superframe durations included in the periodic allocation descriptor corresponding to the node.
  • the working period that is configured to match a performance indicator of the node to the node includes:
  • sending the update beacon frame including the information of the work cycle to the node includes: information that includes the work cycle
  • the update beacon frame is sent to the newly added node, so that the newly added node acquires the information of the working period from the update beacon frame, receives a working beacon frame, and establishes the corresponding work beacon frame.
  • the updating the beacon frame includes:
  • the No. 13 bit of the superframe specification field is set to 1;
  • the beacon payload field includes a period allocation field, where the period allocation field includes an update node number, a beacon index, and a period allocation list;
  • a beacon index is used to indicate a superframe duration corresponding to the update beacon frame;
  • the periodic allocation list includes at least one periodic allocation descriptor, where the periodic allocation descriptor includes a node address and the super corresponding to the node address Multiple information of the frame duration;
  • the number of update nodes is the number of the newly added nodes
  • the periodic allocation list includes a number of periodic allocation descriptors of the newly added node, and one periodic allocation descriptor corresponds to one new node, and the working period duration of the newly added node is equal to the period included in the periodic allocation descriptor. The number of the superframe durations is multiplied.
  • the method before the working period that the node is configured to match the performance indicator of the node, the method further includes:
  • the working period for the node configuration to match the performance indicator of the node includes: And configuring, for the node having the change, a duty cycle that matches a current performance indicator of the node that is determined to be changed;
  • the transmitting the update beacon frame containing the information of the duty cycle to the node comprises: transmitting an update beacon frame containing information of the duty cycle to the node that determines the change.
  • a second aspect of the present invention provides another node scheduling method, including:
  • an update beacon frame that includes information of a work period, where the duty cycle is matched with a performance indication of a device that implements the method, where the duration of the work cycle is an integer multiple of a superframe duration; a superframe corresponding to a beacon frame in the network where the device is located;
  • the working beacon frame is a beacon frame sent by the coordinator at a start time of the working period
  • the step of receiving the work beacon frame is cycled until the update beacon frame is received again.
  • the performance indicator includes at least one of the following items:
  • the method further includes:
  • the receiving a work beacon frame includes:
  • the updating the beacon frame includes:
  • the bit 13 of the superframe specification field is set to 1;
  • the beacon payload field includes a period allocation field, where the period allocation field includes a device number, a beacon index, and a week. a period allocation list;
  • the beacon index is used to indicate a superframe duration corresponding to the update beacon frame;
  • the periodic allocation list includes at least one period allocation descriptor, where the periodic allocation descriptor includes a device address and the super Multiple information of the frame duration;
  • One of the periodic allocation descriptors corresponds to one device, and the working period duration corresponding to each device is equal to the multiple of the superframe durations included in the periodic allocation descriptor corresponding to the device.
  • the method before the receiving the coordinator sends the updated beacon frame including the information of the working period, the method further Includes:
  • the update beacon frame of the information including the duty cycle sent by the receiving coordinator includes: an update beacon frame that includes information of a duty cycle sent by the coordinator, the duty cycle matching the current performance indication.
  • a third aspect of the present invention provides a network device, including: a first configuration unit and a sending unit, where:
  • the first configuration unit is configured to configure, for the node, a working period that matches a performance indicator of the node, where the duration of the working period is an integer multiple of a superframe duration;
  • the superframe is a network in which the node is located a superframe corresponding to the frame frame;
  • the sending unit is configured to send an update beacon frame including the information of the working period to the node, so that the node acquires the information of the working period from the updated beacon frame, and receives a working letter.
  • a superframe corresponding to the working beacon frame, until the end of the working period recycling the received working beacon frame, establishing a superframe corresponding to the working beacon frame, until receiving the Updating a beacon frame;
  • the working beacon frame is a beacon frame broadcasted in the network at the start time of the duty cycle.
  • the first configuration unit is further configured to configure, for each node in the network, a working period that matches a performance indicator of the node, respectively;
  • the sending unit is further configured to send an update beacon frame including the information of the duty cycle to the Each node is configured to enable each of the nodes to obtain information about a working period of the node from the updated beacon frame, the node receiving a working beacon frame, and establishing a superframe corresponding to the working beacon frame until End of the working period, recycling the received working beacon frame, establishing a superframe corresponding to the working beacon frame, until the updated beacon frame is received again; the working beacon frame is the working period A beacon frame broadcast in the network at the start time.
  • the updating the beacon frame includes:
  • the No. 13 bit of the superframe specification field is set to 1;
  • the beacon payload field includes a period allocation field, where the period allocation field includes an update node number, a beacon index, and a period allocation list;
  • the beacon index is used to indicate a superframe duration corresponding to the update beacon frame;
  • the periodic allocation list includes at least one periodic allocation descriptor, where the periodic allocation descriptor includes a node address and a multiple of the superframe duration;
  • the number of update nodes is the number of all nodes in the network
  • the periodic allocation list includes a number of periodic allocation descriptors of all the nodes in the network, and one of the periodic allocation descriptors corresponds to one node, and the working period duration of each node is equal to the periodic allocation description corresponding to the node.
  • the plurality of superframe durations included in the symbol includes a number of periodic allocation descriptors of all the nodes in the network, and one of the periodic allocation descriptors corresponds to one node, and the working period duration of each node is equal to the periodic allocation description corresponding to the node.
  • the first configuration unit is further configured to configure, for the newly added node, a working period that matches a performance indicator of the newly added node;
  • the sending unit is further configured to send an update beacon frame including the information of the working period to the newly added node, so that the newly added node acquires the information of the working period from the updated beacon frame.
  • the work beacon frame is a beacon frame broadcasted in the network at the start time of the work cycle.
  • the updating the beacon frame includes:
  • the 13th bit of the superframe specification field is set to 1;
  • the beacon payload The field includes a period allocation field, where the period allocation field includes a number of update nodes, a beacon index, and a period allocation list; the beacon index is used to indicate a superframe duration corresponding to the updated beacon frame; At least one period allocation descriptor, where the period allocation descriptor includes a node address and a multiple of the superframe duration corresponding to the node address;
  • the number of update nodes is the number of the newly added nodes
  • the periodic allocation list includes a number of periodic allocation descriptors of the newly added node, and one periodic allocation descriptor corresponds to one new node, and the working period duration of the newly added node is equal to the period included in the periodic allocation descriptor. The number of the superframe durations is multiplied.
  • the network device further includes:
  • a determining unit configured to receive a current performance indicator reported by each node in the network, and determine whether the current performance indicator of each node received and the performance index of the node obtained in advance are changed;
  • the first configuration unit is further configured to: when the determining unit determines that the result is yes, configure, for the node that is determined to be changed, a working period that matches a current performance indicator of the node that determines the change;
  • the sending unit is further configured to send an update beacon frame including the information of the duty cycle to the node that determines the change.
  • the network device further includes:
  • a calculating unit configured to: when the current beacon frame needs to be broadcast, calculate, according to a working period allocated to each node in the network, at least one node that can receive the current beacon frame, and the at least one a node as a combination;
  • a second configuration unit configured to configure a GTS field included in the current beacon frame according to a GTS request sent by each node in the combination in a previous superframe established by the node; the GTS field is used to identify The non-contention period of the superframe corresponding to the current beacon frame is allocated to the node in the combination, and the last superframe established by the node is the last superframe of the superframe corresponding to the current beacon frame established by the node frame;
  • the sending unit is further configured to send the current beacon frame to a node in the combination.
  • a fourth aspect of the present invention provides a node device, including: a receiving unit, an obtaining unit, a receiving unit, and a first establishing unit, where:
  • the receiving unit is configured to receive an update beacon frame that is sent by the coordinator and includes information about a working period, where the working period is matched with a performance indication of the node device, where the working period duration is an integer multiple of a superframe duration
  • the superframe is a superframe corresponding to a beacon frame in a network where the node device is located;
  • the acquiring unit is configured to obtain information about the working period from the update beacon frame, and the receiving unit is configured to receive a working beacon frame, where the working beacon frame is a start time of the working period a beacon frame transmitted by the coordinator;
  • the first establishing unit is configured to establish a superframe corresponding to the working beacon frame
  • the receiving unit is further configured to cyclically receive the working beacon frame when the working period ends, until the updated beacon frame is received again.
  • the node device further includes: a second establishing unit, configured to establish a superframe corresponding to the updated beacon frame;
  • the receiving unit is further configured to receive a working beacon frame at a start time of the working period after the superframe ends.
  • the updating the beacon frame includes:
  • the 13th bit of the superframe specification field is set to 1;
  • the beacon payload field includes a period allocation field, where the periodic allocation field includes a number of more node devices, a beacon index, and a periodic allocation list;
  • the beacon index is used to indicate a superframe duration corresponding to the update beacon frame;
  • the periodic allocation list includes at least one periodic allocation descriptor, where the periodic allocation descriptor includes a node device address and a multiple of the superframe duration Information
  • One of the periodic allocation descriptors corresponds to one node device, and the working period duration corresponding to each node device is equal to the multiple of the superframe durations included in the periodic allocation descriptor corresponding to the node device.
  • the acquiring unit includes: a calculating unit, configured to acquire the beacon index from the update beacon frame, and calculate a superframe duration corresponding to the update beacon frame;
  • Obtaining a sub-unit configured to acquire an allocation descriptor that includes an address of the node device from the periodic allocation list, and obtain multiple information of the superframe duration from the obtained allocation descriptor, and obtain the multiples
  • the superframe duration is used as the duration of the duty cycle.
  • the node device further includes:
  • a sending unit configured to send a current performance indication to the coordinator, to enable the coordinator to determine whether the current performance indication and the performance indication of the node device acquired in advance by the coordination are changed, and if yes, the coordinating And configuring, by the node device, a duty cycle that matches the current performance indication;
  • the receiving unit is further configured to receive an update beacon frame that is sent by the coordinator and includes information of a duty cycle, where the duty cycle matches the current performance indication.
  • a fifth aspect of the present invention provides a node scheduling system, including: the foregoing network device and the foregoing node device.
  • a node is configured to match a performance period of the node, and an update beacon frame including information of the work period is sent to the node, so that the node receives the update letter. Acquiring the information of the working period in the frame, receiving the working beacon frame, establishing a superframe corresponding to the working beacon frame, until the end of the working period, recycling the receiving working beacon frame, establishing the work The superframe corresponding to the beacon frame until the update beacon frame is received again.
  • the node receives a working beacon frame in the working period, and the working beacon frame is a beacon frame sent by the coordinator at the start time of the working period, because the node is configured to match the performance index of the node. , so that only one beacon frame can be received in one working cycle.
  • the present invention can make the network resources in the personal area network be rationally utilized.
  • FIG. 1 is a schematic flowchart of a node scheduling method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another node scheduling method according to an embodiment of the present invention
  • FIG. 3 is an optional scenario diagram provided by an embodiment of the present invention
  • FIG. 4 is a schematic flowchart of another node scheduling method according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of an optional node operation according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of another node scheduling method according to an embodiment of the present invention
  • FIG. 7 is a schematic flowchart of another node scheduling method according to an embodiment of the present invention
  • FIG. 9 is a schematic structural diagram of a network device according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of another network device according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of another network device according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram of a node device according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic structural diagram of another node device according to an embodiment of the present disclosure.
  • FIG. 14 is a schematic structural diagram of a node scheduling system according to an embodiment of the present invention
  • FIG. 15 is a schematic structural diagram of another network device according to an embodiment of the present disclosure
  • FIG. 16 is a schematic structural diagram of another network device according to an embodiment of the present invention.
  • FIG. 17 is a schematic structural diagram of another network device according to an embodiment of the present disclosure.
  • FIG. 18 is a schematic structural diagram of another node device according to an embodiment of the present disclosure.
  • FIG. 19 is a schematic structural diagram of another node device according to an embodiment of the present disclosure.
  • FIG. 20 is a schematic structural diagram of another node scheduling system according to an embodiment of the present invention. detailed description
  • FIG. 1 is a schematic flowchart of a node scheduling method according to an embodiment of the present invention. As shown in FIG. 1, the method includes:
  • the working period is matched with the performance indicator of the node, and the working period duration is an integer multiple of the superframe duration; the superframe is a superframe corresponding to the beacon frame in the network where the node is located.
  • the foregoing working period that matches the performance indicator of the node may refer to saving the working period of the network resource as much as possible while satisfying the requirement of the performance indicator of the node.
  • the greater the demand for performance indicators the longer the duration of the work cycle that matches the performance metric.
  • the smaller the demand for performance metrics the shorter the duration of the work cycle that matches the performance metric.
  • the performance requirement of the above nodes is that the data throughput is small and the reported data frequency is low, so that the node can be configured with a long working period.
  • the foregoing performance indicator may include at least one of the following: a node's own energy remaining energy, a transceiving data throughput, a data reporting frequency, and an alarm delay.
  • the working period configured in step 101 is longer, and conversely, the shorter.
  • the duration of the working period configured in step 101 is longer, and conversely, the shorter.
  • the duration of the configured duty cycle of step 101 is longer, and conversely, the shorter.
  • the working beacon frame is a beacon frame broadcasted in the network at the beginning of the working period.
  • the information about the working period may be obtained from the update beacon frame, and the working beacon frame is received, and the working beacon frame is set to be super a frame, until the end of the duty cycle, recycling the received work beacon frame, establishing the work The superframe corresponding to the beacon frame is received until the update beacon frame is received again.
  • the foregoing work cycle may further include:
  • the listening period and the sleep period wherein, the listening period is the front part of the working period, and the duration of the listening period is longer than the active period of the superframe corresponding to the working beacon frame, and the rest of the working period is the sleep period . That is, the node establishes a superframe during the listening period of the work cycle, and is active during the active period of the superframe. When the inactive period of the superframe is reached, the node enters a sleep cycle and is in a sleep state.
  • the method may further include: receiving a current performance indicator reported by each node in the network, and determining, respectively, a current performance indicator of each node that is received and pre-acquisition Whether the performance index of the node changes, and if so, triggering step 101;
  • step 101 may include:
  • step 102 may include:
  • An update beacon frame containing information of the duty cycle is sent to the node that determines the change.
  • the device implementing the method may be a personal area network, a wireless sensor system based on a wireless sensor network, or a coordinator in a wireless smart home system based on a wireless sensor network.
  • a node is configured to match a performance period of the node, and an update beacon frame including information of the work period is sent to the node, so that the node receives the update letter. Acquiring the information of the working period in the frame, receiving the working beacon frame, establishing a superframe corresponding to the working beacon frame, until the end of the working period, recycling the receiving working beacon frame, establishing the work The superframe corresponding to the beacon frame until the update beacon frame is received again.
  • the node receives a working beacon frame in the working period, and the working beacon frame is a beacon frame sent by the coordinator at the start time of the working period, because the node is configured to match the performance index of the node. , so that only one beacon frame can be received in one working cycle.
  • FIG. 2 is a schematic flowchart of another node scheduling method according to an embodiment of the present invention. As shown in FIG. 2, the method includes:
  • the working period of each node in the pre-designated network is matched with the performance indicator of the node; the working period duration is an integer multiple of the superframe duration; the superframe is a beacon in the network where the node is located.
  • the superframe corresponding to the frame.
  • the predetermined designated network may be a personal area network, a wireless sensor network-based wireless monitoring system, or a wireless sensor network-based wireless smart home system.
  • the duration of the superframe corresponding to all the beacon frames in the foregoing network may be the same, that is, the duration of the superframe established by the node is the same.
  • the application scenario of this embodiment may be as shown in FIG. 3.
  • the foregoing network includes: a meter node, a meter node B, a meter node C, a meter node D, and a meter node E.
  • the device implementing the present invention can be a coordinator R. That is, step 201 is a duty cycle in which the meter node A, the meter node B, the meter node C, the meter node D, and the meter node E respectively match the performance indicators of each node, that is, each node can be configured the same. Or a different work cycle.
  • each node obtains information about a working period of the node from the update beacon frame, and the node receives Working a beacon frame, establishing a superframe corresponding to the working beacon frame, until the end of the working period, recycling the received working beacon frame, establishing a superframe corresponding to the working beacon frame, until receiving again
  • the update beacon frame; the work beacon frame is a beacon frame broadcasted in the network at the start time of the work cycle.
  • the update beacon frame may be a start beacon frame in the network, that is, a first beacon frame sent to the node in the network.
  • it can also be other beacon frames.
  • the updating the beacon frame includes:
  • the 13th bit of the superframe specification field is set to 1;
  • the beacon payload The field includes a period allocation field, where the period allocation field includes a number of update nodes, a beacon index, and a period allocation list; the beacon index is used to indicate a superframe duration corresponding to the updated beacon frame; At least one period allocation descriptor, the period allocation descriptor including a node address and a multiple of the superframe duration;
  • the number of update nodes is the number of all nodes in the network
  • the periodic allocation list includes a number of periodic allocation descriptors of all the nodes in the network, and one of the periodic allocation descriptors corresponds to one node, and the working period duration of each node is equal to the periodic allocation description corresponding to the node.
  • the plurality of superframe durations included in the symbol includes a number of periodic allocation descriptors of all the nodes in the network, and one of the periodic allocation descriptors corresponds to one node, and the working period duration of each node is equal to the periodic allocation description corresponding to the node.
  • the above superframe specification field may be as shown in the following table:
  • the beacon frame of the network broadcast (for example, the beacon frame sent by the coordinator) is sent to all nodes, but each node only receives the start time of the work cycle of the node.
  • Beacon frames for network network broadcasts When a certain beacon frame contains information of the above duty cycle, the beacon frame is defined as an update beacon frame, and the 13th bit of the superframe specification field in the beacon frame is set to 1, if not an update letter The frame, the 13th bit of the superframe specification field in the beacon frame is set to 0.
  • the node knows that the 13th bit of the superframe specification field in the beacon frame is set to 0, the beacon payload field in the beacon frame is obtained, and the periodic allocation field included in the beacon payload field is obtained.
  • the above period allocation field can be as shown in the following table:
  • the above period allocation descriptor may be as shown in the following table:
  • the updated node data is 10
  • the periodic allocation list may include 10 periodic allocation descriptors, and each periodic allocation descriptor includes an address of a node.
  • the multiple information of the superframe duration may be a value, such as 5 times or 10 times, etc.; for example, the multiple information of the superframe duration corresponding to the node 1 is 5 times, and the superframe duration is 10 ms, then the node 1
  • the working cycle duration is 50ms.
  • the method may further include: receiving a current performance indicator reported by each node in the network, and determining, respectively, a current performance indicator of each node that is received and pre-acquisition Whether there is a change in the performance index of the node, and if so, a configuration period in which the node that determines the change matches the current performance indicator of the node that determines the change;
  • An update beacon frame containing information of the duty cycle is sent to the node that determines the change.
  • the current performance indication sent by each node is received, and when it is determined that the performance indication of some nodes changes, the nodes are reconfigured and configured.
  • the current performance indicators match the work cycle to achieve timely update of the node's work cycle and maximize the use of network resources.
  • the updated beacon frame may refer to the beacon frame in the foregoing embodiment, that is, the superframe specification field and the beacon payload field are included; the number of the updated nodes is changed by the determining.
  • the number of nodes, each of the period assigners in the periodic allocation list corresponds to one of the nodes whose judgments are changed.
  • the method may further include:
  • a GTS field included in the current beacon frame according to a time slot guarantee mechanism (GTS) request sent by each node in the combination in a previous superframe established by the node; the GTS field is used to identify The non-contention period of the superframe corresponding to the current beacon frame is allocated to the node in the combination, and the last superframe established by the node is the previous one of the superframe corresponding to the current beacon frame established by the node.
  • GTS time slot guarantee mechanism
  • a beacon frame (for example, an update beacon frame, a work beacon frame, and a current beacon frame) may be sent to all nodes in the network, but due to different nodes.
  • the duty cycle is different, so that different beacon frames are received by different nodes, such as the above-mentioned current beacon frame will be received by the nodes in the above combination.
  • the current beacon frame may be any beacon frame after the update beacon frame.
  • the above combination includes node A and node B, that is, only node A and node B can receive the current beacon frame, so step 204 can be based on the GTS request sent in the last superframe corresponding to node A and node B. And configuring a GTS field included in the current beacon frame.
  • the current beacon frame is a beacon frame No. 3, so that node A and node B receive the beacon frame in the third working cycle and the second working cycle, respectively, and receive the beacon frame.
  • the superframe established by the node A and the node B before the beacon frame ie, the last superframe established by the node in step 204) is the superframe corresponding to the beacon frame No.
  • step 204 configures the beacon frame 3 according to the GTS request sent by the third superframe and the second superframe established respectively at node A and node B.
  • the GTS field that is, the non-competition period of the superframe corresponding to the beacon frame No. 3 is allocated to the node A and the node B.
  • the foregoing network includes a node A, a node B, a node C, and a node D, where the durations of the work cycles allocated for the node A, the node B, the node C, and the node D are respectively T A , T B , T c , and T D , and by updating the beacon frame (for example, the beacon frame 0 shown in FIG. 5), the superframe duration in the network is T s . Then the superframe established by the node VIII, the node B, the node C and the node D can be as shown in FIG.
  • the first behavior coordinator broadcasts the beacon frame
  • the second, third, fourth and fifth solid squares The box is the active period of the superframe established by each node, and the straight line portion indicates the inactive period of the superframe and stops receiving the beacon frame period.
  • the duration of the work cycle configured by the node A is the same as the duration of the superframe, so that the node A receives all the beacon frames sent by the coordinator and establishes a superframe; for example, the duration of the work cycle configured by the node B is twice the duration of the superframe. So, Node B receives the beacon frame sent by the coordinator at the start time of the work cycle of Node B, and establishes a superframe.
  • the character of the "beacon frame containing the period allocation field" in the first row and the second row means that the beacon frame is a new update beacon frame.
  • the node with the change of the above judgment includes the node A and the node B.
  • the receiving node A and the node B adjust the working period, such as the working period of the node A and the node B.
  • T A and T B respectively , node ⁇ and node B receive corresponding beacon frames to establish a superframe.
  • FIG. 6 is a schematic flowchart of another node scheduling method according to an embodiment of the present invention. As shown in FIG. 6, the method includes:
  • a working period that matches the performance indicator of the newly added node; the duration of the working period is an integer multiple of a superframe duration; and the superframe is a beacon frame corresponding to the network where the node is located.
  • the newly added node may be a newly added node in the foregoing network.
  • a frame establishing a superframe corresponding to the working beacon frame, until the end of the working period, recycling the received working beacon frame, establishing a superframe corresponding to the working beacon frame, until the update is received again a beacon frame;
  • the working beacon frame is a beacon frame broadcasted in the network at the start time of the duty cycle.
  • the length of the superframe corresponding to the beacon frame in the foregoing network may be the same, that is, the duration of the superframe established by the node is the same.
  • the foregoing network may be a personal area network.
  • the updating the beacon frame may include:
  • the No. 13 bit of the superframe specification field is set to 1;
  • the beacon payload field includes a period allocation field, where the period allocation field includes an update node number, a beacon index, and a period allocation list;
  • a beacon index is used to indicate a superframe duration corresponding to the update beacon frame;
  • the periodic allocation list includes at least one periodic allocation descriptor, where the periodic allocation descriptor includes a node address and the super corresponding to the node address Multiple information of the frame duration;
  • the number of update nodes is the number of the newly added nodes
  • the periodic allocation list includes a number of periodic allocation descriptors of the newly added nodes, one week
  • the period allocation descriptor corresponds to a newly added node, and the working period duration of the newly added node is equal to the multiple of the superframe durations included in the period allocation descriptor.
  • the foregoing new node may include multiple nodes, or one node.
  • the beacon payload field in the beacon frame is obtained, and the period allocation field is obtained.
  • FIG. 7 is a schematic flowchart of another node scheduling method according to an embodiment of the present invention. As shown in FIG. 7, the method includes:
  • the update beacon frame that is sent by the coordinator and includes the information of the working period, where the working period is matched with the performance indication of the device that implements the method, where the working period duration is an integer multiple of the superframe duration;
  • the superframe is a superframe corresponding to the beacon frame in the network where the device is located.
  • the device for implementing the method may be a node device of a network, for example, an electric meter, a water meter, and a gas meter in a personal area network, and the node device may also be a wireless sensor in a wireless monitoring system based on a wireless sensor network.
  • the node device may also be a wireless sensor node device in a wireless smart home network based wireless smart home system.
  • the duration of the superframe corresponding to all the beacon frames in the foregoing network may be the same, that is, the duration of the superframe established by the node is the same.
  • the foregoing performance indicator may include at least one of the following: a node's own energy remaining energy, a transceiving data throughput, a data reporting frequency, and an alarm delay.
  • the duration of the working cycle in step 401 is longer, and conversely, the shorter.
  • the duration of the duty cycle in step 401 is longer, and conversely, the shorter.
  • the duration of the duty cycle configured in step 401 is longer, and conversely, the shorter.
  • the working beacon frame is a beacon frame sent by the coordinator at a start time of the working period
  • the working beacon frame is a beacon frame sent by the coordinator at the start time of the working period, that is, the time when the coordinator sends the working beacon frame is the same as the start time of the working period.
  • the receiving work beacon frame is cyclically, so that only the working beacon frame is received in each working period, that is, one beacon frame is received in one working period, and the receiving pair is received.
  • the update beacon frame that includes the information of the work cycle sent by the coordinator receives the work beacon frame, where the work beacon frame is the beacon frame sent by the coordinator at the start time of the work cycle. Establishing a superframe corresponding to the working beacon frame; when the working period ends, the step of receiving the working beacon frame is repeated until the updated beacon frame is received again. Since the above work cycle is configured by the coordinator based on performance indicators, that is, the work cycle matches the performance indicator, the network resources can be reasonably utilized.
  • FIG. 8 is a schematic flowchart of another node scheduling method according to an embodiment of the present invention. As shown in FIG. 8, the method includes:
  • the coordinator sends a current performance indication to the coordinator, so that the coordinator determines whether the current performance indication and the coordination pre-acquired performance indication of the device implementing the method change, and if yes, the coordinator And the working period of the device is configured to match the current performance indication; the working period duration is an integer multiple of a superframe duration; the superframe is a corresponding to a beacon frame in the network where the device is located. Superframe.
  • step 501 can be performed periodically, such as once a day, so that Let the coordinator know the performance indicators of each device under the coordinator management in time to configure an updated work cycle for each device.
  • step 502 can include:
  • An update beacon frame containing information of a duty cycle transmitted by the coordinator is received, the duty cycle matching the current performance indication.
  • an immediate update work cycle can be implemented.
  • the updating the beacon frame may include:
  • the No. 13 bit of the superframe specification field is set to 1;
  • the beacon payload field includes a period allocation field, where the period allocation field includes a more device number, a beacon index, and a period allocation list;
  • a beacon index is used to indicate a superframe duration corresponding to the update beacon frame;
  • the periodic allocation list includes at least one periodic allocation descriptor, where the periodic allocation descriptor includes a device address and a multiple of the superframe duration;
  • One of the periodic allocation descriptors corresponds to one device, and the working period duration corresponding to each device is equal to the multiple of the superframe durations included in the periodic allocation descriptor corresponding to the device.
  • the number of the updated nodes is the number of all devices in the network that need to update the working period.
  • step 503 may include:
  • an allocation descriptor that includes an address of a device that implements the method, and obtaining multiple information of the superframe duration from the obtained allocation descriptor, and using the multiple of the superframe duration As the duration of the work cycle.
  • the address of the device implementing the method is address 1.
  • the allocation descriptor including the address 1 is obtained, and the multiple information of the superframe duration of the allocation descriptor is obtained, for example, the multiple information is 5 times.
  • the duration of the above superframe is 10 ms, then it is known that the duration of the above work cycle is 50 ms, that is, a beacon frame is received at the 50 ms, and the start time coordination is received during the timing of receiving the 50 ms.
  • the beacon frame sent by the device.
  • the time when the coordinator sends the working beacon frame can be known according to the information of the working period.
  • step 504 may be to time the work cycle and receive the work beacon frame.
  • the method may further include:
  • Step 504 can also include:
  • step 504 can include:
  • the duty cycle is clocked and a working beacon frame is received at the beginning of the duty cycle.
  • the device implementing the method is the node B shown in FIG. 5, and the step 502 receives the updated beacon frame including the information of the working period (for example, FIG. 5 Step 502, after step 502, and performing a superframe corresponding to the update beacon frame; step 504 starts timing the work cycle at the end of the established superframe, and coordinates
  • the transmitter transmits the beacon frame No. 1, and the transmission time of the beacon frame 1 is the start time of the working period, that is, the beacon frame No.
  • the transmission time of the frame is the start time of the duty cycle, that is, the beacon frame No. 3 is a work beacon frame, so that step 504 receives the beacon frame, and step 505 is based on the superframe established by the beacon frame.
  • a superframe corresponding to the beacon frame at the end of the superframe, timing a new duty cycle included in the beacon frame, receiving a beacon frame sent by the coordinator of the start time of the new work cycle, establishing a superframe for another cycle .
  • FIG. 9 is a schematic structural diagram of a network device according to an embodiment of the present invention. As shown in FIG. 9, the method includes: a first configuration unit 11 and a sending unit 12, where:
  • the first configuration unit 11 is configured to configure, for the node, a working period that matches a performance indicator of the node, where the working period duration is an integer multiple of a superframe duration; the superframe is a beacon in a network where the node is located The superframe corresponding to the frame.
  • the foregoing working period that matches the performance indicator of the node may refer to saving the working period of the network resource as much as possible while satisfying the requirement of the performance indicator of the node.
  • the greater the demand for performance indicators the longer the duration of the work cycle that matches the performance metric.
  • the smaller the demand for performance metrics the shorter the duration of the work cycle that matches the performance metric.
  • the performance requirement of the above nodes is that the data throughput is small and the reported data frequency is low, so that the node can be configured with a long working period.
  • the foregoing performance indicator may include at least one of the following: a node's own energy remaining energy, a transceiving data throughput, a data reporting frequency, and an alarm delay.
  • the working period configured by the first configuration unit 11 is longer, and conversely, the shorter.
  • the duration of the working period configured by the first configuration unit 11 is longer, and conversely, the shorter.
  • the duration of the duty cycle configured by the first configuration unit 11 is longer, and conversely, the shorter.
  • the sending unit 12 is configured to send an update beacon frame including the information of the working period to the node, so that the node acquires the information of the working period from the updated beacon frame, and receives a working beacon.
  • a frame establishing a superframe corresponding to the working beacon frame, until the end of the working period, recycling the received working beacon frame, establishing a superframe corresponding to the working beacon frame, until the update is received again a beacon frame;
  • the working beacon frame is a beacon frame broadcasted in the network at the start time of the duty cycle.
  • the information about the working period may be obtained from the update beacon frame, and the working beacon frame is received, and the working beacon frame is set to be super The frame, until the end of the working period, recirculates the received working beacon frame, and establishes a superframe corresponding to the working beacon frame until the updated beacon frame is received again.
  • the foregoing work cycle may further include:
  • the listening period and the sleep period wherein, the listening period is the front part of the working period, and the duration of the listening period is longer than the active period of the superframe corresponding to the working beacon frame, and the rest of the working period is the sleep period . That is, the node establishes a superframe during the listening period of the work cycle, and is active during the active period of the superframe. When the inactive period of the superframe is reached, the node enters a sleep cycle and is in a sleep state.
  • the network device may be a coordinator in a personal area network, a wireless sensor network based wireless monitoring system, or a wireless sensor network based wireless smart home system.
  • a node is configured to match a performance period of the node, and an update beacon frame including information of the work period is sent to the node, so that the node receives the update letter. Acquiring the information of the working period in the frame, receiving the working beacon frame, establishing a superframe corresponding to the working beacon frame, until the end of the working period, recycling the receiving working beacon frame, establishing the work The superframe corresponding to the beacon frame until the update beacon frame is received again.
  • the node receives a working beacon frame in the working period, and the working beacon frame is a beacon frame sent by the coordinator at the start time of the working period, because the node is configured to match the performance index of the node. , so that only one beacon frame can be received in one working cycle.
  • FIG. 10 is a schematic structural diagram of another network device according to an embodiment of the present invention. As shown in FIG. 10, the method includes: a first configuration unit 21 and a sending unit 22, where:
  • the first configuration unit 11 is configured to pre-specify the working period of each node in the network to match the performance index of the node; the working period duration is an integer multiple of the superframe duration; the superframe is where the node is located Superframe corresponding to the beacon frame in the network
  • the predetermined designated network may be a personal area network, a wireless sensor network-based wireless monitoring system, or a wireless sensor network-based wireless smart home system.
  • the duration of the superframe corresponding to all the beacon frames in the foregoing network may be the same, that is, the duration of the superframe established by the node is the same.
  • the application scenario of this embodiment may be as shown in FIG. 3.
  • the foregoing network includes: node A, node B, node C, node D, and node E.
  • the device implementing the present invention can be a coordinator. That is, the first configuration unit 11 is a duty cycle in which the above-mentioned node A, node B, node C, node D, and node E respectively match the performance indicators of each node, that is, each node can be configured with the same or different duty cycle.
  • the sending unit 22 is configured to send an update beacon frame including the information of the working period to each node, so that each node obtains information about a working period of the node from the updated beacon frame.
  • the update beacon frame may be a start beacon frame in the network, that is, a first beacon frame sent to the node in the network.
  • a beacon frame that differs by a certain period that is, the configuration unit 21 and the transmitting unit 22 are periodically executed, so that the duty cycle of the node can be periodically updated.
  • the updating the beacon frame includes:
  • the Superframe specification field beacon payload field;
  • the No. 13 bit of the superframe specification field is set to 1;
  • the beacon payload field includes a period allocation field, where the period allocation field includes an update node number, a beacon index, and a period allocation list;
  • the beacon index is used to indicate a superframe duration corresponding to the update beacon frame;
  • the periodic allocation list includes at least one periodic allocation descriptor, where the periodic allocation descriptor includes a node address and a multiple of the superframe duration;
  • the number of update nodes is the number of all nodes in the network
  • the periodic allocation list includes a number of periodic allocation descriptors of all the nodes in the network, and one of the periodic allocation descriptors corresponds to one node, and the working period duration of each node is equal to the periodic allocation description corresponding to the node.
  • the plurality of superframe durations included in the symbol includes a number of periodic allocation descriptors of all the nodes in the network, and one of the periodic allocation descriptors corresponds to one node, and the working period duration of each node is equal to the periodic allocation description corresponding to the node.
  • the above superframe specification field may be as shown in the following table:
  • the beacon frame of the network broadcast (for example, the beacon frame sent by the coordinator) is sent to all nodes, but each node only receives the start time of the work cycle of the node.
  • Beacon frames for network network broadcasts When a certain beacon frame contains information of the above duty cycle, the beacon frame is defined as an update beacon frame, and the 13th bit of the superframe specification field in the beacon frame is set to 1, if not an update letter The frame, the 13th bit of the superframe specification field in the beacon frame is set to 0.
  • the node knows that the 13th bit of the superframe specification field in the beacon frame is set to 0, the beacon payload field in the beacon frame is obtained, and the periodic allocation field included in the beacon payload field is obtained.
  • the above period allocation field can be as shown in the following table:
  • the above period allocation descriptor may be as shown in the following table:
  • the updated node data is 10
  • the periodic allocation list may include 10 periodic allocation descriptors, and each periodic allocation descriptor includes an address of a node.
  • the multiple information of the superframe duration may be a value, such as 5 times or 10 times, etc.; for example, the multiple information of the superframe duration corresponding to the node 1 is 5 times, and the superframe duration is 10 ms, then the node The working cycle duration of 1 is 50ms.
  • the network device may further include:
  • a determining unit (not shown in the drawing), configured to receive current performance indicators reported by each node in the network, and determine whether the current performance indicator of each node received and the performance index of the node obtained in advance are respectively determined Change;
  • the first configuration unit 21 is further configured to: when the determination result of the determining unit (not shown in the drawing) is YES, configure, for the node having the change, the current performance index of the node that is determined to be changed. Matching work cycle;
  • the transmitting unit 22 is further operable to send an update beacon frame containing information of the duty cycle to the node that is determined to have changed.
  • the configuration may be implemented only for the node that is determined to be changed, and the information of the working period is sent, and the information is configured according to the current performance indicator, so that the working period of the real-time update node can be realized.
  • the updated beacon frame may refer to the beacon frame in the foregoing embodiment, that is, the superframe specification field and the beacon payload field are included; the number of the updated nodes is changed by the determining.
  • the number of nodes, each of the period assigners in the periodic allocation list corresponds to one of the nodes whose judgments are changed.
  • the network device may further include: a calculating unit 23, configured to: according to the work assigned to each node in the network when the current beacon frame needs to be broadcasted a period, calculating at least one node that can receive the current beacon frame, and using the at least one node as a combination;
  • a second configuration unit 24 configured to configure, according to a GTS request sent by each node in the combination in a previous superframe established by the node, a GTS field included in the current beacon frame; the GTS field is used to identify The non-contention period of the superframe corresponding to the current beacon frame is allocated to the node in the combination, and the last superframe established by the node is the previous one of the superframe corresponding to the current beacon frame established by the node.
  • the sending unit 22 can also be configured to send the current beacon frame to a node in the combination.
  • the current beacon frame may be any beacon frame after the update beacon frame.
  • the above combination includes the node A and the node B, that is, only the node A and the node B can receive the current beacon frame, so that the second configuration unit 24 can send according to the previous superframe corresponding to the node A and the node B.
  • the GTS request configures the GTS field included in the current beacon frame.
  • the current beacon frame is a beacon frame No. 3, so that node A and node B receive the beacon frame in the third working cycle and the second working cycle, respectively, and receive the beacon frame.
  • the superframe established by the node A and the node B before the beacon frame is a superframe corresponding to the beacon frame No. 1, that is, node A and node B are respectively established.
  • the GTS field included in the beacon frame is to divide the non-competition period of the superframe corresponding to the beacon frame 3 to node A and node B.
  • the first configuration unit 21 may be further configured to configure, for the newly added node, a working period that matches the performance indicator of the newly added node; the working period duration is an integer multiple of a superframe duration
  • the superframe is a superframe corresponding to a beacon frame in a network where the node is located;
  • the newly added node may be a newly added node in the foregoing network.
  • the working beacon frame is the work A beacon frame broadcast in the network at the beginning of the cycle.
  • the updating the beacon frame may include:
  • the No. 13 bit of the superframe specification field is set to 1;
  • the beacon payload field includes a period allocation field, where the period allocation field includes an update node number, a beacon index, and a period allocation list;
  • a beacon index is used to indicate a superframe duration corresponding to the update beacon frame;
  • the periodic allocation list includes at least one periodic allocation descriptor, where the periodic allocation descriptor includes a node address and the super corresponding to the node address Multiple information of the frame duration;
  • the number of update nodes is the number of the newly added nodes;
  • the periodic allocation list includes a number of periodic allocation descriptors of the newly added node, and one periodic allocation descriptor corresponds to one new node, and the working period duration of the newly added node is equal to the period included in the periodic allocation descriptor. The number of the superframe durations is multiplied.
  • the foregoing new node may include multiple nodes, or one node.
  • the beacon payload field in the beacon frame is obtained, and the period allocation field is obtained.
  • the duty cycle is configured for the newly added node, so that the work cycle of matching the performance indexes of the newly added node is applied to make the new node work.
  • each node of the network is configured with a corresponding working period, so that an update beacon frame can be sent to adjust the working period of each node. It can also make reasonable use of network resources in the personal area network.
  • FIG. 12 is a schematic structural diagram of a node device according to an embodiment of the present invention. As shown in FIG.
  • the method includes: a receiving unit 31, an obtaining unit 32, a receiving unit 33, and a first establishing unit 34, where: receiving unit 31, Receiving, by the coordinator, an update beacon frame that includes information of a duty cycle, the duty cycle is matched with the performance indication of the node device, where the duration of the work cycle is an integer multiple of a superframe duration; A superframe corresponding to a beacon frame in the network where the node device is located.
  • the node device may be a node device of a network, for example, an electric meter, a water meter, and a gas meter in a personal area network, and the node device may also be a wireless sensor node device in a wireless monitoring system based on a wireless sensor network; The node device may also be a wireless sensor node device in a wireless smart home network based wireless smart home system.
  • the duration of the superframe corresponding to all the beacon frames in the foregoing network may be the same, that is, the duration of the superframe established by the node is the same.
  • the foregoing performance indicator may include at least one of the following: a node's own energy remaining energy, a transceiving data throughput, a data reporting frequency, and an alarm delay.
  • the working period in the receiving unit 31 is longer, and conversely, the shorter.
  • the duration of the working period in the receiving unit 31 is longer, and conversely, the shorter.
  • the duration of the configured duty cycle in the receiving unit 31 is longer, and conversely, the shorter.
  • the obtaining unit 32 is configured to obtain information about the working period from the update beacon frame, and the receiving unit 33 is configured to receive a working beacon frame, where the working beacon frame is the start time of the working period. a beacon frame sent by the coordinator;
  • a first establishing unit 34 configured to establish a superframe corresponding to the working beacon frame
  • the receiving unit 33 is further configured to cyclically receive the working beacon frame when the duty cycle ends, until the update beacon frame is received again.
  • the working beacon frame is a beacon frame sent by the coordinator at the start time of the working period, that is, a time when the coordinator sends a working beacon frame and a start time for timing the working period.
  • the receiving unit 33 loops the received working beacon frame when the working period ends, so that only the working beacon frame is received in each working period, that is, one beacon frame is received in one working cycle.
  • a beacon frame transmitted by the coordinator at the start time of the duty cycle is received.
  • the update beacon frame that includes the information of the work cycle sent by the coordinator receives the work beacon frame, where the work beacon frame is the beacon frame sent by the coordinator at the start time of the work cycle. Establishing a superframe corresponding to the working beacon frame; when the working period ends, the step of receiving the working beacon frame is repeated until the updated beacon frame is received again. Since the above work cycle is configured by the coordinator based on the performance indicator, that is, the work cycle is matched with the performance indicator, the network resource can be reasonably utilized.
  • FIG. 13 is a schematic structural diagram of another node device according to an embodiment of the present invention. As shown in FIG.
  • the method includes: a sending unit 41, a receiving unit 42, an obtaining unit 43, a receiving unit 44, and a first establishing unit 45, where: a sending unit 41, configured to send a current performance indication to the coordinator, to enable the coordinator to determine whether the current performance indication and the performance indication of the node device that is previously acquired by the coordination are changed, and if yes, The coordinator configures, for the node device, a duty cycle that matches the current performance indication; the duration of the work cycle is an integer multiple of a superframe duration; the superframe is a beacon frame corresponding to the network where the device is located. Superframe.
  • the receiving unit 42 is configured to receive an update beacon frame that is sent by the coordinator and includes information about a duty cycle. As an optional implementation manner, the receiving unit 42 may be further configured to receive an update beacon frame that is sent by the coordinator and includes information about a duty cycle, where the duty cycle matches the current performance indication.
  • an immediate update work cycle can be implemented.
  • the obtaining unit 43 is configured to obtain information about the work cycle from the update beacon frame.
  • the updating the beacon frame may include:
  • the No. 13 bit of the superframe specification field is set to 1;
  • the beacon payload field includes a period allocation field, where the period allocation field includes a more device number, a beacon index, and a period allocation list;
  • a beacon index is used to indicate a superframe duration corresponding to the update beacon frame;
  • the periodic allocation list includes at least one periodic allocation descriptor, where the periodic allocation descriptor includes a device address and a multiple of the superframe duration;
  • One of the periodic allocation descriptors corresponds to one device, and the working period duration corresponding to each device is equal to the multiple of the superframe durations included in the periodic allocation descriptor corresponding to the device.
  • the number of the updated nodes is the number of all devices in the network that need to update the working period.
  • the obtaining unit 43 may include:
  • a calculation unit (not shown in the drawing), configured to acquire the beacon index from the update beacon frame, and calculate a superframe duration corresponding to the update beacon frame;
  • Obtaining a subunit (not shown in the drawing), configured to acquire an allocation descriptor including an address of the node device from the periodic allocation list, and obtain a multiple of the superframe duration from the obtained allocation descriptor Information, and taking the multiple of the superframe duration as the working period duration.
  • the address of the device implementing the method is address 1, and the obtaining unit 43 obtains an allocation descriptor including the address 1, and obtains multiple information of the superframe duration of the allocation descriptor, such as the multiple.
  • the information is 5 times, and the superframe duration is 10ms, then it is known that the working period duration is 50ms, that is, a beacon frame is received at the 50ms, and the receiving time coordinator sends the timing of the 50ms. Beacon frame.
  • the receiving unit 44 is configured to receive a working beacon frame, where the working beacon frame is a beacon frame sent by the coordinator at the beginning of the working period.
  • the time when the coordinator sends the working beacon frame can be known according to the information of the working period.
  • the receiving unit 44 can be configured to time the duty cycle and receive the working beacon frame.
  • the first establishing unit 45 is configured to establish a superframe corresponding to the working beacon frame.
  • the receiving unit 44 is further configured to cyclically receive the working beacon frame when the duty cycle ends, until the update beacon frame is received again.
  • the node device may further include:
  • a second establishing unit (not shown in the drawing), configured to establish a superframe corresponding to the updated beacon frame; the receiving unit 44 may further be configured to start at the beginning of the working period after the superframe ends Receive work beacon frames at all times.
  • the receiving unit 44 is further configured to: when the superframe ends, time the working period, and receive a working beacon frame at a start time of the working period.
  • the device implementing the method is the node B shown in FIG. 5, and the receiving unit 42 receives the updated beacon frame including the information of the working period (for example: FIG. 5 In the shown beacon frame 0), the obtaining unit 43 acquires the information of the duty cycle, and the second establishing unit (not shown in the drawing) establishes the superframe corresponding to the updated beacon frame; At the end of the frame, the duty cycle is started. At this time, the coordinator transmits the beacon frame No. 1, and the transmission time of the beacon frame 1 is the start time of the work cycle, that is, the beacon frame No. 1 is the work beacon frame. Thus, the receiving unit 44 receives the beacon frame.
  • the first establishing unit 45 ends the superframe according to the beacon frame, the working period has not ended yet, and the timing continues until the end of the working period, and the recirculating execution receiving unit 44 works.
  • the periodic timing such that the coordinator sends the beacon frame No. 3, and the transmission time of the beacon frame No. 3 is the starting time of the working period, that is, the beacon frame No. 3 is the working beacon frame, so that the receiving unit 44 receives the letter.
  • Frame A super frame unit 45 to establish the beacon frame according to the establishment. Loop execution
  • the receiving unit 44 and the first establishing unit 45 establish the beacon when receiving the beacon frame corresponding to the character of the "beacon frame including the period allocation field" in the first row and the second row shown on the right side of FIG.
  • the superframe corresponding to the frame when the superframe ends, counts the new work cycle included in the beacon frame, receives the beacon frame sent by the coordinator of the start time of the new work cycle, and establishes a superframe for another cycle.
  • FIG. 14 is a schematic structural diagram of a node scheduling system according to an embodiment of the present invention. As shown in FIG. 14, the network device 51 and the node device 52.
  • network device 51 may be a network device of any of the embodiments of Figures 9-11.
  • the node device 52 may be a node device of any of the embodiments of Figures 12-13.
  • the network device configures, for the node, a working period that matches the performance indicator of the node, and the network device sends an update beacon frame including the information of the working period to the node, where the node device updates from the node Acquiring the information of the working period in the beacon frame, receiving the working beacon frame, establishing a superframe corresponding to the working beacon frame, until the end of the working period, recycling the receiving working beacon frame, establishing the The superframe corresponding to the work beacon frame until the update beacon frame is received again.
  • the node device receives the working beacon frame in the working period, and the working beacon frame is the beacon sent by the coordinator at the start time of the working period, because the node is configured to match the performance index of the node.
  • FIG. 15 is a schematic structural diagram of another network device according to an embodiment of the present invention. As shown in FIG. 15, the method includes: a processor 61 and a transmitter 62, where:
  • the processor 61 is configured to perform the following steps:
  • the duty cycle is an integer multiple of the superframe duration; the superframe is a superframe corresponding to the beacon frame in the network where the node is located.
  • the transmitter 62 is configured to send an update beacon frame including the information of the working period to the node, so that the node acquires the information of the working period from the updated beacon frame, and receives a working beacon.
  • a frame establishing a superframe corresponding to the working beacon frame, until the end of the working period, recycling the received working beacon frame, establishing a superframe corresponding to the working beacon frame, until the update is received again a beacon frame;
  • the working beacon frame is a beacon frame broadcasted in the network at the start time of the duty cycle.
  • the working period that matches the performance indicator of the node may be: saving network resources as much as possible while satisfying the requirement of the performance indicator of the node.
  • Work cycle For example, the greater the demand for performance indicators, the longer the duration of the work cycle that matches the performance metric. The smaller the demand for performance metrics, the shorter the duration of the work cycle that matches the performance metric.
  • the performance requirement of the above nodes is that the data throughput is small and the reported data frequency is low, so that the node can be configured with a long working period.
  • the foregoing performance indicator may include at least one of the following: a node's own energy remaining energy, a transceiving data throughput, a data reporting frequency, and an alarm delay.
  • the working period configured by the processor 61 is longer, and conversely, the shorter.
  • the duration of the working cycle configured by the processor 61 is longer, and conversely, the shorter.
  • the duration of the working cycle configured by the processor 61 is longer, and conversely, the shorter.
  • the information about the working period may be obtained from the update beacon frame, and the working beacon frame is received, and the working beacon frame is set to be super The frame, until the end of the working period, recirculates the received working beacon frame, and establishes a superframe corresponding to the working beacon frame until the updated beacon frame is received again.
  • the foregoing work cycle may further include: The listening period and the sleep period; wherein, the listening period is the front part of the working period, and the duration of the listening period is longer than the active period of the superframe corresponding to the working beacon frame, and the rest of the working period is the sleep period . That is, the node establishes a superframe during the listening period of the working period, and is active during the active period of the superframe. When the inactive period of the superframe arrives, the node enters a sleep period and is in a sleep state.
  • the network device may be a personal area network, a wireless sensor network based wireless monitoring system, or a wireless sensor network based wireless smart home system.
  • a node is configured to match a performance period of the node, and an update beacon frame including information of the work period is sent to the node, so that the node receives the update letter. Acquiring the information of the working period in the frame, receiving the working beacon frame, establishing a superframe corresponding to the working beacon frame, until the end of the working period, recycling the receiving working beacon frame, establishing the work The superframe corresponding to the beacon frame until the update beacon frame is received again.
  • the node receives a working beacon frame in the working period, and the working beacon frame is a beacon frame sent by the coordinator at the start time of the working period, because the node is configured to match the performance index of the node. , so that only one beacon frame can be received in one working cycle.
  • FIG. 16 is a schematic structural diagram of another network device according to an embodiment of the present invention. As shown in FIG. 16, the method includes: a processor 71 and a transmitter 72, where:
  • the processor 71 is configured to perform the following steps:
  • the working period of each node in the pre-designated network is matched with the performance indicator of the node; the duration of the working period is an integer multiple of the duration of the superframe; and the superframe is a beacon frame corresponding to the network where the node is located. Superframe.
  • a transmitter 72 configured to send an update beacon frame including the information of the working period to each node, so that each node obtains information about a working period of the node from the updated beacon frame
  • the working beacon frame is a beacon frame broadcasted in the network at the start time of the duty cycle.
  • the predetermined designated network may be a personal area network, a wireless sensor network-based wireless monitoring system, or a wireless sensor network-based wireless smart home system.
  • the duration of the superframe corresponding to all the beacon frames in the foregoing network may be the same, that is, the duration of the superframe established by the node is the same.
  • the application scenario of this embodiment may be as shown in FIG. 3.
  • the foregoing network includes: a meter node, a meter node B, a meter node C, a meter node D, and a meter node.
  • the device implementing the present invention can be the coordinator 1. That is, the processor 71 is a duty cycle in which the meter node A, the meter node B, the meter node C, the meter node D, and the meter node E respectively match the performance index of each node, that is, each node can be configured. Same or different duty cycle.
  • the update beacon frame may be a start beacon frame in the network, that is, a first beacon frame sent to the node in the network.
  • a start beacon frame in the network that is, a first beacon frame sent to the node in the network.
  • it can also be other beacon frames.
  • the updating the beacon frame includes:
  • the No. 13 bit of the superframe specification field is set to 1;
  • the beacon payload field includes a period allocation field, where the period allocation field includes an update node number, a beacon index, and a period allocation list;
  • the beacon index is used to indicate a superframe duration corresponding to the update beacon frame;
  • the periodic allocation list includes at least one periodic allocation descriptor, where the periodic allocation descriptor includes a node address and a multiple of the superframe duration;
  • the number of update nodes is the number of all nodes in the network
  • the periodic allocation list includes a number of periodic allocation descriptors of all the nodes in the network, and one of the periodic allocation descriptors corresponds to one node, and the working period duration of each node is equal to the periodic allocation description corresponding to the node.
  • the plurality of superframe durations included in the symbol includes a number of periodic allocation descriptors of all the nodes in the network, and one of the periodic allocation descriptors corresponds to one node, and the working period duration of each node is equal to the periodic allocation description corresponding to the node.
  • the above superframe specification field may be as shown in the following table:
  • the beacon frame of the network broadcast (for example: the beacon sent by the coordinator)
  • the frames are sent to all nodes, but each node receives only the beacon frames of the network network broadcast at the beginning of the work cycle of the node.
  • the beacon frame is defined as an update beacon frame, and the 13th bit of the superframe specification field in the beacon frame is set to 1, if not an update letter The frame, the 13th bit of the superframe specification field in the beacon frame is set to 0.
  • the above period allocation field can be as shown in the following table:
  • the above period allocation descriptor may be as shown in the following table:
  • the updated node data is 10
  • the periodic allocation list may include 10 periodic allocation descriptors, and each periodic allocation descriptor includes an address of a node.
  • the multiple information of the superframe duration may be a value, such as 5 times or 10 times; for example, the multiple information of the superframe duration corresponding to the node 1 is 5 times, and the superframe duration is 10 ms, then the node
  • the duty cycle of 1 is 50ms.
  • the device may further include:
  • a receiver 73 configured to receive a current performance indicator reported by each node in the network; and after the step of transmitting, by the processor 71, an update beacon frame including information of the duty cycle to each node, Perform the following steps:
  • Transmitter 72 may also be operative to transmit an updated beacon frame containing information of the duty cycle to the node that is determined to have changed.
  • the current performance indication sent by each node is received, and when the performance indication of some nodes is changed, it is determined that the performance indication of some nodes changes.
  • the work cycle is updated to achieve timely update of the node's work cycle and maximize the utilization of network resources.
  • the updated beacon frame may refer to the beacon frame in the foregoing embodiment, that is, the superframe specification field and the beacon payload field are included; the number of the updated nodes is changed by the determining.
  • the number of nodes, each of the period assigners in the periodic allocation list corresponds to one of the nodes whose judgments are changed.
  • the processor 71 is further configured to perform the following steps after the step of sending the updated beacon frame containing the information of the working period to each node:
  • the GTS field is used to identify the corresponding current beacon frame.
  • the non-contention period of the superframe is allocated to the node in the combination, and the last superframe established by the node is the last superframe of the superframe corresponding to the current beacon frame established by the node;
  • the current beacon frame is sent to a node in the combination.
  • a beacon frame (for example, an update beacon frame, a work beacon frame, and a current beacon frame) may be sent to all nodes in the network, but due to different nodes.
  • the duty cycle is different, so that different beacon frames are received by different nodes, such as the above-mentioned current beacon frame will be received by the nodes in the above combination.
  • the current beacon frame may be any of the beacon frames after the update of the beacon frame.
  • the network device may further include:
  • the memory 74 is configured to store a program executed by the processor 71.
  • FIG. 17 is a schematic structural diagram of another network device according to an embodiment of the present invention, as shown in FIG.
  • the indication includes: a processor 81 and a transmitter 82, wherein:
  • the processor 81 is configured to perform the following steps:
  • the working period of the new node is matched with the performance index of the newly added node; the working period duration is an integer multiple of the superframe duration; the superframe is the super corresponding to the beacon frame in the network where the node is located. frame;
  • a transmitter 82 configured to send, to the newly added node, an update beacon frame that includes information about the duty cycle, so that the newly added node obtains information about the work cycle from the update beacon frame, Receiving a working beacon frame, establishing a superframe corresponding to the working beacon frame, until the end of the working period, recycling the received working beacon frame, establishing a superframe corresponding to the working beacon frame, until receiving again And the updated beacon frame; the working beacon frame is a beacon frame broadcasted in the network at the start time of the working period.
  • the newly added node may be a newly added node in the foregoing network.
  • the length of the superframe corresponding to the beacon frame in the foregoing network may be the same, that is, the duration of the superframe established by the node is the same.
  • the foregoing network may be a personal area network.
  • the updating the beacon frame may include:
  • the No. 13 bit of the superframe specification field is set to 1;
  • the beacon payload field includes a period allocation field, where the period allocation field includes an update node number, a beacon index, and a period allocation list;
  • a beacon index is used to indicate a superframe duration corresponding to the update beacon frame;
  • the periodic allocation list includes at least one periodic allocation descriptor, where the periodic allocation descriptor includes a node address and the super corresponding to the node address Multiple information of the frame duration;
  • the number of update nodes is the number of the newly added nodes
  • the periodic allocation list includes a number of periodic allocation descriptors of the newly added node, and one periodic allocation descriptor corresponds to one new node, and the working period duration of the newly added node is equal to the period included in the periodic allocation descriptor. The number of the superframe durations is multiplied.
  • the foregoing new node may include multiple nodes, or one node.
  • the beacon payload field in the beacon frame is obtained, and the period is obtained. Allocating a field, and obtaining a period allocation descriptor including the newly added node address, thereby obtaining a multiple of the superframe duration, so that the duration of the working period of the newly added node can be obtained, thereby counting the working period.
  • a beacon frame that receives the start time of the duty cycle.
  • the network device may further include:
  • the memory 83 is used to store a program executed by the processor 81.
  • FIG. 18 is a schematic structural diagram of another node device according to an embodiment of the present invention. As shown in FIG. 18, the device includes: a receiver 91 and a processor 92, where:
  • the receiver 91 is configured to receive an update beacon frame that is sent by the coordinator and includes the information of the working period, where the working period is matched with the performance indication of the device that implements the method, where the duration of the working period is an integer of a superframe duration
  • the superframe is a superframe corresponding to a beacon frame in the network where the device is located.
  • the processor 92 is configured to perform the following steps:
  • the working beacon frame is a beacon frame sent by the coordinator at a start time of the working period
  • the node device may be a node device of a network, for example, an electric meter, a water meter, and a gas meter in a personal area network, and the node device may also be a wireless sensor node device in a wireless monitoring system based on a wireless sensor network; The node device may also be a wireless sensor node device in a wireless smart home network based wireless smart home system.
  • the duration of the superframe corresponding to all the beacon frames in the foregoing network may be the same, that is, the duration of the superframe established by the node is the same.
  • the foregoing performance indicator may include at least one of the following: a node's own energy remaining energy, a transceiving data throughput, a data reporting frequency, and an alarm delay.
  • a node's own energy residual energy is smaller, the duty cycle in the receiver 91 is The longer it is, the shorter it is.
  • the duration of the working period in the receiver 91 is longer, and conversely, the shorter.
  • the working period in the receiver 91 is longer, and conversely, the shorter.
  • the duration of the configured duty cycle in the receiver 91 is longer, and conversely, the shorter.
  • the working beacon frame is a beacon frame sent by the coordinator at the start time of the working period, that is, a time when the coordinator sends a working beacon frame and a start time for timing the working period.
  • the same is true, such that in the processor 92, when the duty cycle ends, the receiving work beacon frame is cycled, so that only the working beacon frame is received in each working cycle, that is, one beacon frame is received in one working cycle. And receiving a beacon frame sent by the coordinator at the start time of the duty cycle.
  • the update beacon frame that includes the information of the work cycle sent by the coordinator receives the work beacon frame, where the work beacon frame is the beacon frame sent by the coordinator at the start time of the work cycle. Establishing a superframe corresponding to the working beacon frame; when the working period ends, the step of receiving the working beacon frame is repeated until the updated beacon frame is received again. Since the above work cycle is configured by the coordinator based on performance indicators, that is, the work cycle matches the performance indicator, the network resources can be reasonably utilized.
  • FIG. 19 is a schematic structural diagram of another node device according to an embodiment of the present invention. As shown in FIG. 19, the device includes: a transmitter 101, a receiver 102, and a processor 103, where:
  • the transmitter 101 is configured to send a current performance indication to the coordinator, so that the coordinator determines whether the current performance indication and the coordination pre-acquired performance indication of the device implementing the method change, and if yes,
  • the coordinator is configured to implement a working period in which the device configuration of the method matches the current performance indication; the duration of the working period is an integer multiple of a superframe duration; the superframe is a network in which the device is located The superframe corresponding to the frame.
  • the receiver 102 is configured to receive an update beacon frame that is sent by the coordinator and includes information about a duty cycle.
  • the processor 103 is configured to perform the following steps:
  • the time when the coordinator sends the working beacon frame can be known according to the information of the working period.
  • the step of receiving the working beacon frame performed by the processor 103 may include:
  • the duty cycle is timed and a work beacon frame is received.
  • the transmitter 101 can be periodically executed, such as once a day, so that the coordinator can know the performance indicators of each device under the coordinator management in time to configure an updated work cycle for each device.
  • the receiver 102 is further configured to receive an update beacon frame that is sent by the coordinator and includes information about a duty cycle, where the duty cycle matches the current performance indication.
  • an immediate update work cycle can be implemented.
  • the updating the beacon frame may include:
  • the No. 13 bit of the superframe specification field is set to 1;
  • the beacon payload field includes a period allocation field, where the period allocation field includes a more device number, a beacon index, and a period allocation list;
  • a beacon index is used to indicate a superframe duration corresponding to the update beacon frame;
  • the periodic allocation list includes at least one periodic allocation descriptor, where the periodic allocation descriptor includes a device address and a multiple of the superframe duration;
  • One of the periodic allocation descriptors corresponds to one device, and the working period duration corresponding to each device is equal to the multiple of the superframe durations included in the periodic allocation descriptor corresponding to the device.
  • the number of the updated nodes is the number of all devices in the network that need to update the working period.
  • the step of the processor 103 performing the obtaining the information of the working period from the update beacon frame may include:
  • an allocation descriptor that includes an address of a device that implements the method, and obtaining multiple information of the superframe duration from the obtained allocation descriptor, and using the multiple of the superframe duration As the duration of the work cycle.
  • the processor 103 may be further used in the following steps before performing the step of receiving the working beacon frame:
  • the step of the processor 103 performing the receiving of the working beacon frame may include:
  • the step of the processor 103 performing the receiving the working beacon frame may include:
  • the duty cycle is clocked and a working beacon frame is received at the beginning of the duty cycle.
  • the node device may further include:
  • the memory 104 is configured to store a program executed by the processor 103.
  • FIG. 20 is a schematic structural diagram of a node scheduling system according to an embodiment of the present invention. As shown in FIG. 20, the network device 111 and the node device 112.
  • the network device 111 may be a network device in any of the embodiments of FIG.
  • the node device 112 may be a node device in any of the embodiments of FIGS. 18-19.
  • the network device configures, for the node, a working period that matches the performance indicator of the node, and the network device sends an update beacon frame including the information of the working period to the node, where the node device updates from the node Acquiring the information of the working period in the beacon frame, receiving the working beacon frame, establishing a superframe corresponding to the working beacon frame, until the end of the working period, recycling the receiving working beacon frame, establishing the The superframe corresponding to the work beacon frame until the above is received again New beacon frame.
  • the node device receives the working beacon frame in the working period, and the working beacon frame is the beacon sent by the coordinator at the start time of the working period, because the node is configured to match the performance index of the node. Frame, so that only one beacon frame can be received in one working cycle.
  • the present invention can make reasonable use of network resources in the personal area network.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明实施例公开了一种节点调度方法,包括:为节点配置与所述节点的性能指标相匹配的工作周期,工作周期时长为超帧时长的整数倍;超帧为所述节点所在的网络中信标帧对应的超帧;将包含工作周期的信息的更新信标帧发送至节点,以使节点从更新信标帧中获取所述工作周期的信息,接收工作信标帧,建立工作信标帧对应的超帧,直到工作周期结束,再循环所述接收工作信标帧,建立所述工作信标帧对应的超帧,直到再次接收到所述更新信标帧;所述工作信标帧为所述工作周期起始时刻所述网络中广播的信标帧。相应地本发明实施例还提供高度节点的设备以及系统。本发明实施例可以使个域网中网络资源得到合理利用。

Description

一种节点调度方法、 设备及系统
本申请要求了于 2012 年 12 月 11 日提交中国专利局, 申请号为 201210531572.3、 发明名称为 "一种节点调度方法、 设备及系统" 的中国申请 的优先权, 其全部内容通过引用结合在本申请中。 技术领域 本发明涉及通信领域, 尤其涉及一种节点调度方法、 设备及系统。 背景技术
目前在个域网中协调器都是以一个固定的周期广播信标帧, 协调器广播 的所有信标帧均会被该网络中各节点接收到, 每个节点在所有的信标帧对应 的超帧的活跃期都进入活动状态, 参与信道竟争和数据收发。
但在实际应用中, 个域网中不同节点在不同时间段内的节点性能指标会 有不同, 例如: 节点自身剩余能量不同、 报警时延要求不同、 向协调器汇报 频率需求不同以及收发数据吞吐量也不同。 例如, 节点 1向协调器汇报频率很 低且收发数据吞吐量也很小, 而节点 2向协调器汇报频率很高且收发数据吞吐 量也很大, 而目前在个域网节点 1和节点 2接收所有的信标帧, 并建立对应的 超帧, 在建立的超帧的活跃期内进入活动状态, 参与信道竟争和数据收发。 这样节点 1在某些超帧的活跃期内可能并没有收发数据, 而节点 2在某些超帧 的活跃期内可能不能满足节点 2的收发数据的需求。 可见, 目前的个域网中网 络资源无法得到合理利用。 发明内容
本发明实施例提供了一种节点调度方法、 设备及系统, 可以使个域网中 网络资源得到合理利用。
本发明第一方面提供一种节点调度方法, 包括:
为节点配置与所述节点的性能指标相匹配的工作周期, 所述工作周期时 长为超帧时长的整数倍; 所述超帧为所述节点所在的网络中信标帧对应的超 帧; 将包含所述工作周期的信息的更新信标帧发送至所述节点, 以使所述节 点从所述更新信标帧中获取所述工作周期的信息, 接收工作信标帧, 建立所 述工作信标帧对应的超帧, 直到所述工作周期结束, 再循环所述接收工作信 标帧, 建立所述工作信标帧对应的超帧, 直到再次接收到所述更新信标帧; 所述工作信标帧为所述工作周期起始时刻所述网络中广播的信标帧。
在第一方面的第一种可能的实现方式中, 所述性能指标包含如下至少一 项:
节点自身能量剩余能量、 收发数据吞吐量、 数据上报频率和报警时延。 结合第一方面, 在第二种可能的实现方式中, 所述为节点配置与所述节 点的性能指标相匹配的工作周期包括:
分别为所述网络中每个节点配置与该节点的性能指标相匹配的工作周 期;
所述将包含所述工作周期的信息的更新信标帧发送至所述节点包括: 将包含所述工作周期的信息的更新信标帧发送至所述每个节点, 以使所 述每个节点从所述更新信标帧中获取该节点的工作周期的信息, 该节点接收 工作信标帧, 建立所述工作信标帧对应的超帧, 直到所述工作周期结束, 再 循环接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到再次接收到所 述更新信标帧; 所述工作信标帧为所述工作周期起始时刻所述网络中广播的 信标帧。
结合第一方面的第二种可能的实现方式, 在第三种可能的实现方式中, 所述更新信标帧包括:
超帧规范字段、 信标有效负荷字段;
其中, 所述超帧规范字段的第 13号比特位设置为 1 ; 所述信标有效负荷 字段包含周期分配字段, 所述周期分配字段包含更新节点数目、 信标指数、 周期分配列表; 所述信标指数用于指示所述更新信标帧对应的超帧时长; 所 述周期分配列表包含至少一个周期分配描述符, 所述周期分配描述符包含节 点地址和所述超帧时长的倍数信息;
所述更新节点数目为所述网络中所有节点的数目;
所述周期分配列表包含所述网络中所有节点的数目个周期分配描述符, 一个所述周期分配描述符对应一个节点, 所述每个节点的工作周期时长等于 该节点对应的所述周期分配描述符包含的所述倍数个所述超帧时长。
结合第一方面, 在第四种可能的实现方式中, 所述为节点配置与所述节 点的性能指标相匹配的工作周期包括:
为新增节点配置与所述新增节点的性能指标相匹配的工作周期; 所述将包含所述工作周期的信息的更新信标帧发送至所述节点包括: 将包含所述工作周期的信息的更新信标帧发送至所述新增节点, 以使所 述新增节点从所述更新信标帧中获取所述工作周期的信息, 接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到所述工作周期结束, 再循环接收工作 信标帧, 建立所述工作信标帧对应的超帧, 直到再次接收到所述更新信标帧; 所述工作信标帧为所述工作周期起始时刻所述网络中广播的信标帧。
结合第一方面的第四种可能的实现方式, 在第五种可能的实现方式中, 所述更新信标帧包括:
超帧规范字段、 信标有效负荷字段;
其中, 所述超帧规范字段的第 13号比特位设置为 1 ; 所述信标有效负荷 字段包含周期分配字段, 所述周期分配字段包含更新节点数目、 信标指数、 周期分配列表; 所述信标指数用于指示所述更新信标帧对应的超帧时长; 所 述周期分配列表包含至少一个周期分配描述符, 所述周期分配描述符包含节 点地址和所述节点地址对应的所述超帧时长的倍数信息;
所述更新节点数目为所述新增节点的数目;
所述周期分配列表包含所述新增节点的数目个周期分配描述符, 一个周 期分配描述符对应一个新增节点, 所述新增节点的工作周期时长等于所述周 期分配描述符包含的所述倍数个所述超帧时长。
结合第一方面, 在第六种可能的实现方式中, 所述为节点配置与所述节 点的性能指标相匹配的工作周期之前, 所述方法还包括:
接收所述网络中每个节点上报的当前性能指标, 分别判断所述接收的每 个节点的当前性能指标与预先获取的该节点的性能指标是否有变化, 若是, 触发所述为节点配置与所述节点的性能指标相匹配的工作周期的步骤;
所述为节点配置与所述节点的性能指标相匹配的工作周期包括: 为所述判断有变化的节点配置与所述判断有变化的节点的当前性能指标 相匹配的工作周期;
所述将包含所述工作周期的信息的更新信标帧发送至所述节点包括: 将包含所述工作周期的信息的更新信标帧发送至所述判断有变化的节 点。
本发明第二方面提供另一种节点调度方法, 包括:
接收协调器发送的包含工作周期的信息的更新信标帧, 所述工作周期与 实现所述方法的设备的性能指示相匹配, 所述工作周期时长为超帧时长的整 数倍; 所述超帧为所述设备所在的网络中信标帧对应的超帧;
从所述更新信标帧中获取所述工作周期的信息;
接收工作信标帧, 所述工作信标帧为所述工作周期起始时刻所述协调器 发送的信标帧;
建立所述工作信标帧对应的超帧;
当所述工作周期结束时, 循环所述接收工作信标帧的步骤, 直到再次接 收到所述更新信标帧。
在第二方面的第一种可能的实现方式中, 所述性能指标包含如下至少一 项:
节点自身能量剩余能量、 收发数据吞吐量、 数据上报频率和报警时延。 结合第二方面或第二方面的第一种可能的实现方式, 在第二种可能的实 现方式中, 所述从所述更新信标帧中获取所述工作周期的信息之后, 所述接 收工作信标帧之前, 所述方法还包括:
建立所述更新信标帧对应的超帧;
所述接收工作信标帧包括:
在所述超帧结束后, 在所述工作周期的起始时刻接收工作信标帧。
结合第二方面或第二方面的第一种可能的实现方式, 在第三种可能的实 现方式中, 所述所述更新信标帧包括:
超帧规范字段、 信标有效负荷字段;
其中, 所述超帧规范字段的第 13号比特位设置为 1 ; 所述信标有效负荷 字段包含周期分配字段, 所述周期分配字段包含更设备数目、 信标指数、 周 期分配列表; 所述信标指数用于指示所述更新信标帧对应的超帧时长; 所述 周期分配列表包含至少一个周期分配描述符, 所述周期分配描述符包含设备 地址和所述超帧时长的倍数信息;
一个所述周期分配描述符对应一个设备, 每个设备对应的工作周期时长 等于该设备对应的所述周期分配描述符包含的所述倍数个所述超帧时长。
结合第二方面或第二方面的第一种可能的实现方式, 在第四种可能的实 现方式中, 所述接收协调器发送的包含工作周期的信息的更新信标帧之前, 所述方法还包括:
向所述协调器发送当前性能指示; 以使所述协调器判断所述当前性能指 所述协调器则为实现所述方法的设备配置与所述当前性能指示相匹配的工作 周期;
所述接收协调器发送的包含工作周期的信息的更新信标帧包括: 接收协调器发送的包含工作周期的信息的更新信标帧, 所述工作周期与 所述当前性能指示相匹配。
本发明第三方面提供一种网络设备, 包括: 第一配置单元和发送单元, 其中:
所述第一配置单元, 用于为节点配置与所述节点的性能指标相匹配的工 作周期, 所述工作周期时长为超帧时长的整数倍; 所述超帧为所述节点所在 的网络中信标帧对应的超帧;
所述发送单元, 用于将包含所述工作周期的信息的更新信标帧发送至所 述节点, 以使所述节点从所述更新信标帧中获取所述工作周期的信息, 接收 工作信标帧, 建立所述工作信标帧对应的超帧, 直到所述工作周期结束, 再 循环所述接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到再次接收 到所述更新信标帧; 所述工作信标帧为所述工作周期起始时刻所述网络中广 播的信标帧。
在第三方面的第一种可能的实现方式中, 所述第一配置单元还用于分别 为所述网络中每个节点配置与该节点的性能指标相匹配的工作周期;
所述发送单元还用于将包含所述工作周期的信息的更新信标帧发送至所 述每个节点, 以使所述每个节点从所述更新信标帧中获取该节点的工作周期 的信息, 该节点接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到所 述工作周期结束, 再循环所述接收工作信标帧, 建立所述工作信标帧对应的 超帧, 直到再次接收到所述更新信标帧; 所述工作信标帧为所述工作周期起 始时刻所述网络中广播的信标帧。
结合第三方面的第一种可能的实现方式, 在第二种可能的实现方式中, 所述更新信标帧包括:
超帧规范字段、 信标有效负荷字段;
其中, 所述超帧规范字段的第 13号比特位设置为 1 ; 所述信标有效负荷 字段包含周期分配字段, 所述周期分配字段包含更新节点数目、 信标指数、 周期分配列表; 所述信标指数用于指示所述更新信标帧对应的超帧时长; 所 述周期分配列表包含至少一个周期分配描述符, 所述周期分配描述符包含节 点地址和所述超帧时长的倍数信息;
所述更新节点数目为所述网络中所有节点的数目;
所述周期分配列表包含所述网络中所有节点的数目个周期分配描述符, 一个所述周期分配描述符对应一个节点, 所述每个节点的工作周期时长等于 该节点对应的所述周期分配描述符包含的所述倍数个所述超帧时长。
结合第三方面, 在第三种可能的实现方式中, 所述第一配置单元还用于 为新增节点配置与所述新增节点的性能指标相匹配的工作周期;
所述发送单元还用于将包含所述工作周期的信息的更新信标帧发送至所 述新增节点, 以使所述新增节点从所述更新信标帧中获取所述工作周期的信 息, 接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到所述工作周期 结束, 再循环所述接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到 再次接收到所述更新信标帧; 所述工作信标帧为所述工作周期起始时刻所述 网络中广播的信标帧。
结合第三方面的第三种可能的实现, 在第四种可能的实现方式中, 所述 更新信标帧包括:
超帧规范字段、 信标有效负荷字段;
其中, 所述超帧规范字段的第 13号比特位设置为 1 ; 所述信标有效负荷 字段包含周期分配字段, 所述周期分配字段包含更新节点数目、 信标指数、 周期分配列表; 所述信标指数用于指示所述更新信标帧对应的超帧时长; 所 述周期分配列表包含至少一个周期分配描述符, 所述周期分配描述符包含节 点地址和所述节点地址对应的所述超帧时长的倍数信息;
所述更新节点数目为所述新增节点的数目;
所述周期分配列表包含所述新增节点的数目个周期分配描述符, 一个周 期分配描述符对应一个新增节点, 所述新增节点的工作周期时长等于所述周 期分配描述符包含的所述倍数个所述超帧时长。
结合第三方面上述任一实现方式, 在第五种可能的实现方式中, 所述网 络设备还包括:
判断单元, 用于接收所述网络中每个节点上报的当前性能指标, 分别判 断所述接收的每个节点的当前性能指标与预先获取的该节点的性能指标是否 有变化;
所述第一配置单元还用于当所述判断单元判断结果为是时, 为所述判断 有变化的节点配置与所述判断有变化的节点的当前性能指标相匹配的工作周 期;
所述发送单元还用于将包含所述工作周期的信息的更新信标帧发送至所 述判断有变化的节点。
结合第三方面上述任一实现方式, 在第六种可能的实现方式中, 所述网 络设备还包括:
计算单元, 用于当需要广播当前信标帧时, 根据分配给所述网络中每个 节点的工作周期, 计算出能接收到所述当前信标帧的至少一个节点, 并将所 述至少一个节点作为一个组合;
第二配置单元, 用于根据所述组合中每个节点在该节点建立的上一超帧 中发送的 GTS请求, 配置所述当前信标帧包含的 GTS字段; 所述 GTS字段 用于标识所述当前信标帧对应的超帧的非竟争期划分给所述组合中的节点, 该节点建立的上一超帧为该节点建立的所述当前信标帧对应的超帧的上一个 超帧;
所述发送单元还用于将所述当前信标帧发送至所述组合中的节点。 本发明第四方面提供一种节点设备, 包括: 接收单元、 获取单元、 接收 单元和第一建立单元, 其中:
所述接收单元, 用于接收协调器发送的包含工作周期的信息的更新信标 帧, 所述工作周期与所述节点设备的性能指示相匹配, 所述工作周期时长为 超帧时长的整数倍; 所述超帧为所述节点设备所在的网络中信标帧对应的超 帧;
所述获取单元, 用于从所述更新信标帧中获取所述工作周期的信息; 所述接收单元, 用于接收工作信标帧, 所述工作信标帧为所述工作周期 起始时刻所述协调器发送的信标帧;
所述第一建立单元, 用于建立所述工作信标帧对应的超帧;
所述接收单元还用于当所述工作周期结束时, 循环接收工作信标帧, 直 到再次接收到所述更新信标帧。
在第四方面的第一种可能的实现方式中, 所述节点设备还包括: 第二建立单元, 用于建立所述更新信标帧对应的超帧;
所述接收单元还用于在所述超帧结束后, 在所述工作周期的起始时刻接 收工作信标帧。
结合第五方面或第五方面的第一种可能的实现方式, 在第二种可能的实 现方式中, 所述所述更新信标帧包括:
超帧规范字段、 信标有效负荷字段;
其中, 所述超帧规范字段的第 13号比特位设置为 1 ; 所述信标有效负荷 字段包含周期分配字段, 所述周期分配字段包含更节点设备数目、 信标指数、 周期分配列表; 所述信标指数用于指示所述更新信标帧对应的超帧时长; 所 述周期分配列表包含至少一个周期分配描述符, 所述周期分配描述符包含节 点设备地址和所述超帧时长的倍数信息;
一个所述周期分配描述符对应一个节点设备, 每个节点设备对应的工作 周期时长等于该节点设备对应的所述周期分配描述符包含的所述倍数个所述 超帧时长。
结合第五方面的第二种可能的实现方式, 在第三种可能的实现方式中, 所述获取单元包括: 计算单元, 用于从所述更新信标帧中获取所述信标指数, 并计算出所述 更新信标帧对应的超帧时长;
获取子单元, 用于从所述周期分配列表中获取包括所述节点设备的地址 的分配描述符, 并从获取的分配描述符中获取所述超帧时长的倍数信息, 并 将所述倍数个所述超帧时长作为所述工作周期时长。
结合第五方面或第五方面的第一种可能的实现方式, 在第四种可能的实 现方式中, 所述节点设备还包括:
发送单元, 用于向所述协调器发送当前性能指示; 以使所述协调器判断 所述当前性能指示与所述协调预先获取的所述节点设备的性能指示是否有变 化, 若是, 所述协调器则为所述节点设备配置与所述当前性能指示相匹配的 工作周期;
所述接收单元还用于接收协调器发送的包含工作周期的信息的更新信标 帧, 所述工作周期与所述当前性能指示相匹配。
本发明第五方面提供一种节点调度系统, 包括: 上述网络设备和上述节 点设备。
上述技术方案中, 为节点配置与所述节点的性能指标相匹配的工作周期, 将包含所述工作周期的信息的更新信标帧发送至所述节点, 以使所述节点从 所述更新信标帧中获取所述工作周期的信息, 接收工作信标帧, 建立所述工 作信标帧对应的超帧, 直到所述工作周期结束, 再循环所述接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到再次接收到所述更新信标帧。 由于为 节点配置与节点的性能指标相匹配的工作周期, 节点在该工作周期内接收工 作信标帧, 所述工作信标帧为所述工作周期起始时刻所述协调器发送的信标 帧, 这样就可以实现在一个工作周期内只接收到一个信标帧。 相比现有技术 中所有节点设备接收所有的信标帧, 本发明可以使个域网中网络资源得到合 理利用。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作筒单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1是本发明实施例提供的一种节点调度方法的流程示意图;
图 2是本发明实施例提供的另一种节点调度方法的流程示意图; 图 3是本发明实施例提供的一种可选的场景图;
图 4是本发明实施例提供的另一种节点调度方法的流程示意图; 图 5是本发明实施例提供一种可选的节点工作示意;
图 6是本发明实施例提供的另一种节点调度方法的流程示意图; 图 7是本发明实施例提供的另一种节点调度方法的流程示意图; 图 8是本发明实施例提供的另一种节点调度方法的流程示意图; 图 9 是本发明实施例提供的一种网络设备的结构示意图;
图 10是本发明实施例提供的另一种网络设备的结构示意图;
图 11是本发明实施例提供的另一种网络设备的结构示意图;
图 12是本发明实施例提供的一种节点设备的结构示意图;
图 13是本发明实施例提供的另一种节点设备的结构示意图;
图 14是本发明实施例提供的一种节点调度系统的结构示意图; 图 15 是本发明实施例提供的另一种网络设备的结构示意图;
图 16是本发明实施例提供的另一种网络设备的结构示意图;
图 17是本发明实施例提供的另一种网络设备的结构示意图;
图 18是本发明实施例提供的另一种节点设备的结构示意图;
图 19是本发明实施例提供的另一种节点设备的结构示意图;
图 20是本发明实施例提供的另一种节点调度系统的结构示意图。 具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作 出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。 图 1是本发明实施例提供的一种节点调度方法的流程示意图, 如图 1所 示, 包括:
101、 为节点配置与所述节点的性能指标相匹配的工作周期, 所述工作周 期时长为超帧时长的整数倍; 所述超帧为所述节点所在的网络中信标帧对应 的超帧。
可选的, 上述与所述节点的性能指标相匹配的工作周期可以是指, 在满 足所述节点的性能指标的需求的前提下, 尽可能地节约网络资源的工作周期。 例如: 性能指标的需求越大, 与该性能指标相匹配的工作周期的时长就越长, 当性能指标的需求越小, 与该性能指标相匹配的工作周期的时长就越短。 例 如: 上述节点的性能指标的需求为数据吞吐量少, 上报数据频率低, 这样就 可以为该节点配置时长较长的工作周期。
作为一种可选的实施方式, 上述性能指标可以包括如下至少一项: 节点自身能量剩余能量、 收发数据吞吐量、 数据上报频率和报警时延。 可选的, 当节点自身能量剩余能量越小时, 步骤 101 配置的工作周期的 时长就越长, 反之, 越短。
可选的, 当节点设备收发数据吞吐量越小时, 步骤 101 配置的工作周期 的时长就越长, 反之, 越短。
可选的, 当节点设备数据上报频率越低时, 步骤 101 配置的工作周期的 时长就越长, 反之, 越短。
可选的, 当节点设备 ·^艮警时延越大时, 步骤 101 配置的工作周期的时长 就越长, 反之, 越短。
102、 将包含所述工作周期的信息的更新信标帧发送至所述节点, 以使所 述节点从所述更新信标帧中获取所述工作周期的信息, 接收工作信标帧, 建 立所述工作信标帧对应的超帧, 直到所述工作周期结束, 再循环所述接收工 作信标帧, 建立所述工作信标帧对应的超帧, 直到再次接收到所述更新信标 帧; 所述工作信标帧为所述工作周期起始时刻所述网络中广播的信标帧。
可选的, 当上述节点接收到上述更新信标帧时, 就可以从所述更新信标 帧中获取所述工作周期的信息, 接收工作信标帧, 建立所述工作信标帧对应 的超帧, 直到所述工作周期结束, 再循环所述接收工作信标帧, 建立所述工 作信标帧对应的超帧, 直到再次接收到所述更新信标帧。
可选的, 上述工作周期还可以包括:
侦听周期和睡眠周期; 其中, 侦听周期为工作周期的前面部分, 且侦听 周期的时长与上述工作信标帧对应的超帧的活跃期的时长, 工作周期的其余 部分都为睡眠周期。 即节点在工作周期的侦听周期建立超帧, 并在超帧的活 跃期处于活动状态, 当到达超帧的非活跃期时节点就进入睡眠周期, 处于睡 眠状态。
作为一种可能的实施方式, 在步骤 101之前, 所述方法还可以包括: 接收所述网络中每个节点上报的当前性能指标, 分别判断所述接收的每 个节点的当前性能指标与预先获取的该节点的性能指标是否有变化, 若是, 触发步骤 101 ;
可选的, 该实施方式中, 步骤 101可以包括:
为所述判断有变化的节点配置与所述判断有变化的节点的当前性能指标 相匹配的工作周期;
可选的, 该实施方式中, 步骤 102可以包括:
将包含所述工作周期的信息的更新信标帧发送至所述判断有变化的节 点。
作为一种可选的实施方式, 实现所述方法的设备可以是个域网、 基于无 线传感器网络的无线监测系统或者基于无线传感器网络的无线智能家居系统 中的协调器。
上述技术方案中, 为节点配置与所述节点的性能指标相匹配的工作周期, 将包含所述工作周期的信息的更新信标帧发送至所述节点, 以使所述节点从 所述更新信标帧中获取所述工作周期的信息, 接收工作信标帧, 建立所述工 作信标帧对应的超帧, 直到所述工作周期结束, 再循环所述接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到再次接收到所述更新信标帧。 由于为 节点配置与节点的性能指标相匹配的工作周期, 节点在该工作周期内接收工 作信标帧, 所述工作信标帧为所述工作周期起始时刻所述协调器发送的信标 帧, 这样就可以实现在一个工作周期内只接收到一个信标帧。 相比现有技术 中所有节点设备接收所有的信标帧, 本发明可以使个域网中网络资源得到合 理利用。 图 2是本发明实施例提供的另一种节点调度方法的流程示意图, 如图 2 所示, 包括:
201、 分别为预先指定网络中每个节点配置与该节点的性能指标相匹配的 工作周期; 所述工作周期时长为超帧时长的整数倍; 所述超帧为所述节点所 在的网络中信标帧对应的超帧。
可选的, 上述预定指定网络可以个域网、 基于无线传感器网络的无线监 测系统或者基于无线传感器网络的无线智能家居系统。
可选的, 上述网络中所有信标帧对应的超帧的时长都可以是一样的, 即 节点建立的超帧的时长都是一样的。
作为一种可选的实施方式, 本实施例的应用场景可以如图 3 所示, 上述 网络中包括: 表计节点 、 表计节点 B、 表计节点 C、 表计节点 D和表计节 点 E。其中, 实现本发明的设备可以协调器 R。即步骤 201为上述表计节点 A、 表计节点 B、 表计节点 C、 表计节点 D和表计节点 E分别与每个节点的性能 指标相匹配的工作周期, 即每个节点可以配置相同或不同的工作周期。
202、将包含所述工作周期的信息的更新信标帧发送至所述每个节点, 以 使所述每个节点从所述更新信标帧中获取该节点的工作周期的信息, 该节点 接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到所述工作周期结束, 再循环所述接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到再次接 收到所述更新信标帧; 所述工作信标帧为所述工作周期起始时刻所述网络中 广播的信标帧。
作为一种可选的实施方式, 上述更新信标帧可以是上述网络中的起始信 标帧, 即给上述网络中, 给上述节点发送的第一个信标帧。 当然还可以是其 它信标帧。 例如: 相差一定周期的信标帧, 即周期性的执行上述步骤 201 和 202 , 这样就可以实现周期性地更新节点的工作周期。
作为一种可选的实施方式, 所述更新信标帧包括:
超帧规范字段、 信标有效负荷字段;
其中, 所述超帧规范字段的第 13号比特位设置为 1 ; 所述信标有效负荷 字段包含周期分配字段, 所述周期分配字段包含更新节点数目、 信标指数、 周期分配列表; 所述信标指数用于指示所述更新信标帧对应的超帧时长; 所 述周期分配列表包含至少一个周期分配描述符, 所述周期分配描述符包含节 点地址和所述超帧时长的倍数信息;
所述更新节点数目为所述网络中所有节点的数目;
所述周期分配列表包含所述网络中所有节点的数目个周期分配描述符, 一个所述周期分配描述符对应一个节点, 所述每个节点的工作周期时长等于 该节点对应的所述周期分配描述符包含的所述倍数个所述超帧时长。
可选的, 上述超帧规范字段可以如下表所示:
Figure imgf000015_0001
可选的, 在本实施例中, 网络广播的信标帧 (例如: 协调器发送的信标 帧)都面向所有节点发送的, 但每个节点都只接收该节点的工作周期起始时 刻的网络网络广播的信标帧。 当某一信标帧中包含上述工作周期的信息时, 该信标帧就定义为更新信标帧, 该信标帧中的超帧规范字段第 13号比特位设 置为 1 , 如果不是更新信标帧, 该信标帧中的超帧规范字段第 13号比特位设 置为 0。 当节点得知信标帧中的超帧规范字段第 13号比特位设置为 0, 就去 获取该信标帧中的信标有效负荷字段, 获取信标有效负荷字段中包含的周期 分配字段。
可选的, 上述周期分配字段可以如下表所示:
Figure imgf000015_0002
可选的, 上述周期分配描述符可以如下表所示:
Figure imgf000015_0003
可选的, 上述如上述网络中节点数目为 10时, 上述更新节点数据目就为 10, 上述周期分配列表就可以包括 10个周期分配描述符, 每个周期分配描述 符包含一个节点的地址, 和该节点地址对应的所述超帧时长的倍数信息。 上 述超帧时长的倍数信息具体可以一个数值, 如 5倍或 10倍等; 例如, 节点 1 对应的所述超帧时长的倍数信息为 5倍, 而所述超帧时长为 10ms, 那么节点 1的工作周期时长就为 50ms。 作为一种可能的实施方式, 在步骤 202之后, 所述方法还可以包括: 接收所述网络中每个节点上报的当前性能指标, 分别判断所述接收的每 个节点的当前性能指标与预先获取的该节点的性能指标是否有变化, 若是, 则为所述判断有变化的节点配置与所述判断有变化的节点的当前性能指标相 匹配的工作周期;
将包含所述工作周期的信息的更新信标帧发送至所述判断有变化的节 点。
该实施方式中, 可以实现在给上述网络中每个节点配置好工作周期后, 再接收每个节点发送的当前性能指示, 当判断某些节点的性能指示发生变化 时, 重新为这些节点配置与当前性能指标相匹配工作周期, 以实现及时更新 节点的工作周期, 最大化利用网络资源。
可选的, 该实施方式中, 更新信标帧可以参考上述实施方式中的信标帧, 即包含超帧规范字段、 信标有效负荷字段; 上述所述更新节点数目为所述判 断有变化的节点的数目, 周期分配列表中每个一个周期分配符对应一个所述 判断有变化的节点。
作为一种可选的实施方式, 如图 4所示, 在步骤 202之后, 还可以包括:
203、 当需要广播当前信标帧时, 根据分配给所述网络中每个节点的工作 周期, 计算出能接收到所述当前信标帧的至少一个节点, 并将所述至少一个 节点作为一个组合;
204、 根据所述组合中每个节点在该节点建立的上一超帧中发送的时隙保 障机制 ( GTS )请求, 配置所述当前信标帧包含的 GTS字段; 所述 GTS字段 用于标识所述当前信标帧对应的超帧的非竟争期划分给所述组合中的节点, 该节点建立的上一超帧为该节点建立的所述当前信标帧对应的超帧的上一个 超帧;
205、 将所述当前信标帧发送至所述组合中的节点。
需要说明的, 在本发明中, 将信标帧 (例如: 更新信标帧、 工作信标帧 和当前信标帧)都可以是面向所述网络中所有节点发送的, 但由于不同的节 点的工作周期不同, 这样不同的信标帧就会被不同的节点接收到, 如上述当 前信标帧就会被上述组合中的节点接收到。 可选的, 该实施方式中, 当前信标帧可以是上述更新信标帧后的任一信 标帧。
例如, 上述组合包含节点 A和节点 B, 即只有节点 A和节点 B才可以接 收到上述当前信标帧, 这样步骤 204就可以根据节点 A和节点 B对应的上一 超帧中发送的 GTS请求, 配置所述当前信标帧包含的 GTS字段。 例如, 图 5 所示, 上述当前信标帧为 3号信标帧, 这样节点 A和节点 B分别在第三个工 作周期和第二个工作周期接收到该信标帧, 而在接收到该信标帧前节点 A和 节点 B建立的超帧 (即步骤 204中的该节点建立的上一超帧) 为 1号信标帧 对应的超帧, 即节点 A和节点 B分别建立的第三个超帧和第二个超帧, 这样 步骤 204就根据在节点 A和节点 B分别建立的第三个超帧和第二个超帧发送 的 GTS请求, 配置所述 3号信标帧包含的 GTS字段, 即将 3号信标帧对应的 超帧的非竟争期划分给节点 A和节点 B。
需要说明的是, 上述接收 GTS请求和分配非竟争期的技术为现有的, 此 处不作详细说明。
可选的, 上述网络包含节点 A、 节点 B、 节点 C和节点 D, 其中, 为节 点 A、 节点 B、 节点 C和节点 D分配的工作周期的时长分别为 TA、 TB、 Tc 和 TD, 并通过更新信标帧 (例如: 图 5所示的 0号信标帧)为所述网络中的 超帧时长为 Ts。 那么节点八、 节点 B、 节点 C和节点 D建立的超帧可以如图 5所示, 其中, 第一行为协调器广播的信标帧, 第二、 第三、 第四和第五中实 心方框为各节点建立的超帧的活跃期, 直线部分表示超帧的非活跃期和停止 接收信标帧期。 例如, 节点 A配置的工作周期时长与超帧时长相同, 这样节 点 A就接收协调器发送的所有信标帧, 并建立超帧; 例如: 节点 B配置的工 作周期时长为超帧时长的 2倍, 这样节点 B就接收协调器在节点 B的工作周 期起始时刻发送的信标帧, 并建立超帧。
可选的, 如图 5右边所示, 第一行和第二行中的 "包含周期分配字段的 信标帧" 的字符, 该字符的意思是指该信标帧为新的更新信标帧, 如上述将 包含所述工作周期的信息的更新信标帧发送至所述判断有变化的节点的步 骤。 其中, 上述判断有变化的节点包含节点 A和节点 B, 接收节点 A和节点 B接收到该更新信标帧后, 就调整工作周期, 如节点 A和节点 B的工作周期 分别为 TA和 TB , 节点 Α和节点 B再接收相应的信标帧, 建立超帧。
上述技术方案中, 在上面实施例的基础上, 对网络的每个节点配置相应 的工作周期, 这样可以实现由发送一个更新信标帧, 实现对每个节点的工作 周期进行调整。 还可以使个域网中网络资源得到合理利用。 图 6是本发明实施例提供的另一种节点调度方法的流程示意图, 如图 6 所示, 包括:
301、 为新增节点配置与所述新增节点的性能指标相匹配的工作周期; 所 述工作周期时长为超帧时长的整数倍; 所述超帧为所述节点所在的网络中信 标帧对应的超帧;
可选的, 上述新增节点可以上述网络中新增加的节点。
302、 将包含所述工作周期的信息的更新信标帧发送至所述新增节点, 以 使所述新增节点从所述更新信标帧中获取所述工作周期的信息, 接收工作信 标帧, 建立所述工作信标帧对应的超帧, 直到所述工作周期结束, 再循环所 述接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到再次接收到所述 更新信标帧; 所述工作信标帧为所述工作周期起始时刻所述网络中广播的信 标帧。
可选的, 上述网络中所以信标帧对应的超帧的时长都可以是一样的, 即 节点建立的超帧的时长都是一样的。
可选的, 上述网络可以是个域网。
作为一种可选的实施方式, 所述更新信标帧可以包括:
超帧规范字段、 信标有效负荷字段;
其中, 所述超帧规范字段的第 13号比特位设置为 1 ; 所述信标有效负荷 字段包含周期分配字段, 所述周期分配字段包含更新节点数目、 信标指数、 周期分配列表; 所述信标指数用于指示所述更新信标帧对应的超帧时长; 所 述周期分配列表包含至少一个周期分配描述符, 所述周期分配描述符包含节 点地址和所述节点地址对应的所述超帧时长的倍数信息;
所述更新节点数目为所述新增节点的数目;
所述周期分配列表包含所述新增节点的数目个周期分配描述符, 一个周 期分配描述符对应一个新增节点, 所述新增节点的工作周期时长等于所述周 期分配描述符包含的所述倍数个所述超帧时长。
可选的, 上述新增节点可以包括多个节点, 或一个节点。
可选的, 当上述新增节点获取到上述超帧规范字段, 发送上述超帧规范 字段第 13号比特为 1时, 就获取该信标帧中的信标有效负荷字段, 获取周期 分配字段, 并获取包含该新增节点地址的周期分配描述符, 从而得到所述超 帧时长的倍数信息, 这样就可以得到该新增节点的工作周期的时长, 从而对 该工作周期进行计时, 接收该工作周期的起始时刻的信标帧。
上述技术方案中, 在上面实施例的基础上, 重点描述对新增节点配置工 作周期, 以实现使新增节点工作适用新增节点的性能指标相匹配的工作周期, 以实现使个域网中网络资源得到合理利用。 图 7是本发明实施例提供的另一种节点调度方法的流程示意图, 如图 7 所示, 包括:
401、 接收协调器发送的包含工作周期的信息的更新信标帧, 所述工作周 期与实现所述方法的设备的性能指示相匹配, 所述工作周期时长为超帧时长 的整数倍; 所述超帧为所述设备所在的网络中信标帧对应的超帧。
可选的, 上述实现所述方法的设备可以是个网络的节点设备, 例如: 个 域网中的电表、 水表、 气表, 节点设备还可以是基于无线传感器网络的无线 监测系统中的无线传感节点设备; 节点设备还可以是基于无线传感器网络的 无线智能家居系统中的无线传感节点设备。
可选的, 上述网络中所有信标帧对应的超帧的时长都可以是一样的, 即 节点建立的超帧的时长都是一样的。
作为一种可选的实施方式, 上述性能指标可以包括如下至少一项: 节点自身能量剩余能量、 收发数据吞吐量、 数据上报频率和报警时延。 可选的, 当节点自身能量剩余能量越小时, 步骤 401 中的工作周期的时 长就越长, 反之, 越短。
可选的, 当节点设备收发数据吞吐量越小时, 步骤 401 中的工作周期的 时长就越长, 反之, 越短。 可选的, 当节点设备数据上 ·^艮频率越低时, 步骤 401 中的工作周期的时 长就越长, 反之, 越短。
可选的, 当节点设备 ·^艮警时延越大时, 步骤 401 中配置的工作周期的时 长就越长, 反之, 越短。
402、 从所述更新信标帧中获取所述工作周期的信息。
403、 接收工作信标帧, 所述工作信标帧为所述工作周期起始时刻所述协 调器发送的信标帧;
404、 建立所述工作信标帧对应的超帧; 当所述工作周期结束时, 循环所 述接收工作信标帧的步骤, 直到再次接收到所述更新信标帧。
可选的, 所述工作信标帧为所述工作周期起始时刻所述协调器发送的信 标帧, 即上述协调器发送工作信标帧的时间与对上述工作周期的起始时间是 相同的, 这样步骤 404中当所述工作周期结束时, 循环所述接收工作信标帧, 这样就是在每个工作周期内只接收工作信标帧, 即一个工作周期接收一个信 标帧, 接收对工作周期计时的起始时刻上述协调器发送的信标帧。
上述技术方案中, 接收协调器发送的包含工作周期的信息的更新信标帧, 接收工作信标帧, 所述工作信标帧为所述工作周期起始时刻所述协调器发送 的信标帧; 建立所述工作信标帧对应的超帧; 当所述工作周期结束时, 循环 所述接收工作信标帧的步骤, 直到再次接收到所述更新信标帧。 由于上述工 作周期是协调器基于性能指标配置的, 即工作周期与性能指标相匹配, 这样 网络资源就可以得到合理利用。 图 8是本发明实施例提供的另一种节点调度方法的流程示意图, 如图 8 所示, 包括:
501、 向所述协调器发送当前性能指示; 以使所述协调器判断所述当前性 能指示与所述协调预先获取的实现所述方法的设备的性能指示是否有变化, 若是, 所述协调器则为实现所述方法的设备配置与所述当前性能指示相匹配 的工作周期; 所述工作周期时长为超帧时长的整数倍; 所述超帧为所述设备 所在的网络中信标帧对应的超帧。
可选的, 步骤 501 可以是周期性的执行, 如一天执行一次, 这样就可以 让协调器及时知晓协调器管理下各设备的性能指标, 以为每个设备配置更新 的工作周期。
502、 接收协调器发送的包含工作周期的信息的更新信标帧。
可选的, 步骤 502可以包括:
接收协调器发送的包含工作周期的信息的更新信标帧, 所述工作周期与 所述当前性能指示相匹配。
该实施方式中, 可以实现即时更新工作周期。
503、 从所述更新信标帧中获取所述工作周期的信息。
作为一种可选的实施方式, 所述所述更新信标帧可以包括:
超帧规范字段、 信标有效负荷字段;
其中, 所述超帧规范字段的第 13号比特位设置为 1 ; 所述信标有效负荷 字段包含周期分配字段, 所述周期分配字段包含更设备数目、 信标指数、 周 期分配列表; 所述信标指数用于指示所述更新信标帧对应的超帧时长; 所述 周期分配列表包含至少一个周期分配描述符, 所述周期分配描述符包含设备 地址和所述超帧时长的倍数信息;
一个所述周期分配描述符对应一个设备, 每个设备对应的工作周期时长 等于该设备对应的所述周期分配描述符包含的所述倍数个所述超帧时长。
其中, 上述更新节点数目为所述网络中所有需要更新工作周期的设备的 数目。
可选的, 该实施方式中, 步骤 503可以包括:
从所述更新信标帧中获取所述信标指数, 并计算出所述更新信标帧对应 的超帧时长;
从所述周期分配列表中获取包括实现本方法的设备的地址的分配描述 符, 并从获取的分配描述符中获取所述超帧时长的倍数信息, 并将所述倍数 个所述超帧时长作为所述工作周期时长。
例如: 实现本方法的设备的地址为地址 1 , 步骤 503就获取包含地址 1的 分配描述符, 并获取该分配描述符的所述超帧时长的倍数信息, 如该倍数信 息为 5倍, 而上述超帧时长为 10ms , 那么就得知上述工作周期时长为 50ms , 即在该 50ms接收一个信标帧, 且接收对这 50ms计时过程中, 起始时刻协调 器发送的信标帧。
504、 接收工作信标帧, 所述工作信标帧为所述工作周期起始时刻所述协 调器发送的信标帧。
作为一种可选的实施方式, 在获取到上述工作周期的信息后, 就可以根 据工作周期的信息, 获知协调器发送工作信标帧的时间, 即工作周期的起始 时刻。
可选的, 步骤 504可以是对工作周期进行计时, 并接收工作信标帧。
505、 建立所述工作信标帧对应的超帧; 当所述工作周期结束时, 循环所 述接收工作信标帧的步骤, 直到再次接收到所述更新信标帧。
作为一种可选的实施方式, 在步骤 502之后, 步骤 504之前, 所述方法 还可以包括:
建立所述更新信标帧对应的超帧;
步骤 504还可以包括:
在所述超帧结束后, 在所述工作周期的起始时刻接收工作信标帧。
可选的, 步骤 504可以包括:
在所述超帧结束时, 对所述工作周期进行计时, 并在所述工作周期的起 始时刻接收工作信标帧。
可选的, 该实施方式中, 如图 5所示, 实现所述方法的设备为图 5所示 的节点 B , 步骤 502接收到包含工作周期的信息的更新信标帧 (例如: 图 5 所示的 0号信标帧), 步骤 502之后就可以执行步骤 503 , 以及建立所述更新 信标帧对应的超帧; 步骤 504在建立的超帧结束时, 开始对工作周期计时, 此时协调器发送 1号信标帧, 而 1号信标帧的发送时间为工作周期的起始时 刻, 即 1号信标帧为工作信标帧, 这样步骤 504接收该信标帧, 然而步骤 505 根据该信标帧建立的超帧结束时, 工作周期还没有结束, 继续计时, 直到工 作周期结束, 再循环执行步骤 504对工作周期计时, 这样协调器发送的 3号 信标帧, 而 3号信标帧的发送时间为工作周期的起始时刻, 即 3号信标帧为 工作信标帧, 这样步骤 504接收该信标帧, 步骤 505根据该信标帧建立的超 帧。 这样循环执行步骤 504和步骤 505直到接收到图 5右边所示的第一行和 第二行中的 "包含周期分配字段的信标帧" 的字符对应的信标帧时, 建立该 信标帧对应的超帧, 以该超帧结束时, 对该信标帧包含的新工作周期计时, 接收新工作周期的起始时刻协调器发送的信标帧, 建立超帧进行另一次循环。
上述技术方案中, 在上面实施例的基础上, 增加了向所述协调器发送当 前性能指示的步骤, 这样协调器可以及时配置与当前性能指示相匹配的工作 周期, 这样就可以使网络资源得到合理利用。 下面为本发明装置实施例, 本发明装置实施例用于执行本发明方法实施 例一至二实现的方法, 为了便于说明, 仅示出了与本发明实施例相关的部分, 具体技术细节未揭示的, 请参照本发明实施例一和实施例二。 图 9 是本发明实施例提供的一种网络设备的结构示意图, 如图 9所示, 包括: 第一配置单元 11和发送单元 12 , 其中:
第一配置单元 11 , 用于为节点配置与所述节点的性能指标相匹配的工作 周期, 所述工作周期时长为超帧时长的整数倍; 所述超帧为所述节点所在的 网络中信标帧对应的超帧。
可选的, 上述与所述节点的性能指标相匹配的工作周期可以是指, 在满 足所述节点的性能指标的需求的前提下, 尽可能地节约网络资源的工作周期。 例如: 性能指标的需求越大, 与该性能指标相匹配的工作周期的时长就越长, 当性能指标的需求越小, 与该性能指标相匹配的工作周期的时长就越短。 例 如: 上述节点的性能指标的需求为数据吞吐量少, 上报数据频率低, 这样就 可以为该节点配置时长较长的工作周期。
作为一种可选的实施方式, 上述性能指标可以包括如下至少一项: 节点自身能量剩余能量、 收发数据吞吐量、 数据上报频率和报警时延。 可选的, 当节点自身能量剩余能量越小时, 第一配置单元 11配置的工作 周期的时长就越长, 反之, 越短。
可选的, 当节点设备收发数据吞吐量越小时, 第一配置单元 11配置的工 作周期的时长就越长, 反之, 越短。
可选的, 当节点设备数据上报频率越低时, 第一配置单元 11配置的工作 周期的时长就越长, 反之, 越短。 可选的, 当节点设备 ·^艮警时延越大时, 第一配置单元 11配置的工作周期 的时长就越长, 反之, 越短。
发送单元 12, 用于将包含所述工作周期的信息的更新信标帧发送至所述 节点, 以使所述节点从所述更新信标帧中获取所述工作周期的信息, 接收工 作信标帧, 建立所述工作信标帧对应的超帧, 直到所述工作周期结束, 再循 环所述接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到再次接收到 所述更新信标帧; 所述工作信标帧为所述工作周期起始时刻所述网络中广播 的信标帧。
可选的, 当上述节点接收到上述更新信标帧时, 就可以从所述更新信标 帧中获取所述工作周期的信息, 接收工作信标帧, 建立所述工作信标帧对应 的超帧, 直到所述工作周期结束, 再循环所述接收工作信标帧, 建立所述工 作信标帧对应的超帧, 直到再次接收到所述更新信标帧。
可选的, 上述工作周期还可以包括:
侦听周期和睡眠周期; 其中, 侦听周期为工作周期的前面部分, 且侦听 周期的时长与上述工作信标帧对应的超帧的活跃期的时长, 工作周期的其余 部分都为睡眠周期。 即节点在工作周期的侦听周期建立超帧, 并在超帧的活 跃期处于活动状态, 当到达超帧的非活跃期时节点就进入睡眠周期, 处于睡 眠状态。
作为一种可选的实施方式, 所述网络设备可以个域网、 基于无线传感器 网络的无线监测系统或者基于无线传感器网络的无线智能家居系统中的协调 器。
上述技术方案中, 为节点配置与所述节点的性能指标相匹配的工作周期, 将包含所述工作周期的信息的更新信标帧发送至所述节点, 以使所述节点从 所述更新信标帧中获取所述工作周期的信息, 接收工作信标帧, 建立所述工 作信标帧对应的超帧, 直到所述工作周期结束, 再循环所述接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到再次接收到所述更新信标帧。 由于为 节点配置与节点的性能指标相匹配的工作周期, 节点在该工作周期内接收工 作信标帧, 所述工作信标帧为所述工作周期起始时刻所述协调器发送的信标 帧, 这样就可以实现在一个工作周期内只接收到一个信标帧。 相比现有技术 中所有节点设备接收所有的信标帧, 本发明可以使个域网中网络资源得到合 理利用。 图 10是本发明实施例提供的另一种网络设备的结构示意图, 如图 10所 示, 包括: 第一配置单元 21和发送单元 22, 其中:
第一配置单元 11 , 分别为预先指定网络中每个节点配置与该节点的性能 指标相匹配的工作周期; 所述工作周期时长为超帧时长的整数倍; 所述超帧 为所述节点所在的网络中信标帧对应的超帧
可选的, 上述预定指定网络可以个域网、 基于无线传感器网络的无线监 测系统或者基于无线传感器网络的无线智能家居系统。
可选的, 上述网络中所有信标帧对应的超帧的时长都可以是一样的, 即 节点建立的超帧的时长都是一样的。
作为一种可选的实施方式, 本实施例的应用场景可以如图 3 所示, 上述 网络中包括: 节点 A、 节点 B、 节点 C、 节点 D和节点 E。 其中, 实现本发明 的设备可以协调器。 即第一配置单元 11为上述节点 A、 节点 B、 节点 C、 节 点 D和节点 E分别与每个节点的性能指标相匹配的工作周期, 即每个节点可 以配置相同或不同的工作周期。
发送单元 22, 用于将包含所述工作周期的信息的更新信标帧发送至所述 每个节点, 以使所述每个节点从所述更新信标帧中获取该节点的工作周期的 信息, 该节点接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到所述 工作周期结束, 再循环所述接收工作信标帧, 建立所述工作信标帧对应的超 帧, 直到再次接收到所述更新信标帧; 所述工作信标帧为所述工作周期起始 时刻所述网络中广播的信标帧。
作为一种可选的实施方式, 上述更新信标帧可以是上述网络中的起始信 标帧, 即给上述网络中, 给上述节点发送的第一个信标帧。 当然还可以是其 它信标帧。 例如: 相差一定周期的信标帧, 即周期性的执行上述配置单元 21 和发送单元 22, 这样就可以实现周期性地更新节点的工作周期。
作为一种可选的实施方式, 所述更新信标帧包括:
超帧规范字段、 信标有效负荷字段; 其中, 所述超帧规范字段的第 13号比特位设置为 1 ; 所述信标有效负荷 字段包含周期分配字段, 所述周期分配字段包含更新节点数目、 信标指数、 周期分配列表; 所述信标指数用于指示所述更新信标帧对应的超帧时长; 所 述周期分配列表包含至少一个周期分配描述符, 所述周期分配描述符包含节 点地址和所述超帧时长的倍数信息;
所述更新节点数目为所述网络中所有节点的数目;
所述周期分配列表包含所述网络中所有节点的数目个周期分配描述符, 一个所述周期分配描述符对应一个节点, 所述每个节点的工作周期时长等于 该节点对应的所述周期分配描述符包含的所述倍数个所述超帧时长。
可选的, 上述超帧规范字段可以如下表所示:
Figure imgf000026_0001
可选的, 在本实施例中, 网络广播的信标帧 (例如: 协调器发送的信标 帧)都面向所有节点发送的, 但每个节点都只接收该节点的工作周期起始时 刻的网络网络广播的信标帧。 当某一信标帧中包含上述工作周期的信息时, 该信标帧就定义为更新信标帧, 该信标帧中的超帧规范字段第 13号比特位设 置为 1 , 如果不是更新信标帧, 该信标帧中的超帧规范字段第 13号比特位设 置为 0。 当节点得知信标帧中的超帧规范字段第 13号比特位设置为 0, 就去 获取该信标帧中的信标有效负荷字段, 获取信标有效负荷字段中包含的周期 分配字段。
可选的, 上述周期分配字段可以如下表所示:
Figure imgf000026_0002
可选的, 上述周期分配描述符可以如下表所示:
Figure imgf000026_0003
可选的, 上述如上述网络中节点数目为 10时, 上述更新节点数据目就为 10, 上述周期分配列表就可以包括 10个周期分配描述符, 每个周期分配描述 符包含一个节点的地址, 和该节点地址对应的所述超帧时长的倍数信息。 上 述超帧时长的倍数信息具体可以一个数值, 如 5倍或 10倍等; 例如, 节点 1 对应的所述超帧时长的倍数信息为 5倍, 而所述超帧时长为 10ms, 那么节点 1的工作周期时长就为 50ms。
作为一种可选的实施方式, 所述网络设备还可以包括:
判断单元(附图中未画出), 用于接收所述网络中每个节点上报的当前性 能指标, 分别判断所述接收的每个节点的当前性能指标与预先获取的该节点 的性能指标是否有变化;
第一配置单元 21还可以用于当所述判断单元(附图中未画出)判断结果 为是时, 为所述判断有变化的节点配置与所述判断有变化的节点的当前性能 指标相匹配的工作周期;
发送单元 22还可以用于将包含所述工作周期的信息的更新信标帧发送至 所述判断有变化的节点。
该实施方式中, 可以实现只向所述判断有变化的节点配置工作周期, 以 及发送工作周期的信息, 且这样是根据当前性能指标配置的, 这样可以实现 实时的更新节点的工作周期, 以最大化利用网络资源。
可选的, 该实施方式中, 更新信标帧可以参考上述实施方式中的信标帧, 即包含超帧规范字段、 信标有效负荷字段; 上述所述更新节点数目为所述判 断有变化的节点的数目, 周期分配列表中每个一个周期分配符对应一个所述 判断有变化的节点。
作为一种可选的实施方式, 如图 11所示, 所述网络设备还可以包括: 计算单元 23 , 用于当需要广播当前信标帧时, 根据分配给所述网络中每 个节点的工作周期, 计算出能接收到所述当前信标帧的至少一个节点, 并将 所述至少一个节点作为一个组合;
第二配置单元 24, 用于根据所述组合中每个节点在该节点建立的上一超 帧中发送的 GTS请求, 配置所述当前信标帧包含的 GTS字段; 所述 GTS字 段用于标识所述当前信标帧对应的超帧的非竟争期划分给所述组合中的节 点, 该节点建立的上一超帧为该节点建立的所述当前信标帧对应的超帧的上 一个超帧;
发送单元 22还可以用于将所述当前信标帧发送至所述组合中的节点。 可选的, 该实施方式中, 当前信标帧可以是上述更新信标帧后的任一信 标帧。 例如, 上述组合包含节点 A和节点 B, 即只有节点 A和节点 B才可以接 收到上述当前信标帧,这样第二配置单元 24就可以根据节点 A和节点 B对应 的上一超帧中发送的 GTS请求,配置所述当前信标帧包含的 GTS字段。例如, 图 5所示, 上述当前信标帧为 3号信标帧, 这样节点 A和节点 B分别在第三 个工作周期和第二个工作周期接收到该信标帧,而在接收到该信标帧前节点 A 和节点 B建立的超帧 (即第二配置单元 24中的该节点建立的上一超帧)为 1 号信标帧对应的超帧, 即节点 A和节点 B分别建立的第三个超帧和第二个超 帧,这样第二配置单元 24就根据在节点 A和节点 B分别建立的第三个超帧和 第二个超帧发送的 GTS请求, 配置所述 3号信标帧包含的 GTS字段, 即将 3 号信标帧对应的超帧的非竟争期划分给节点 A和节点 B。
需要说明的是, 上述接收 GTS请求和分配非竟争期的技术为现有的, 此 处不作详细说明。
作为一种可选的实施方式, 第一配置单元 21还可以用于为新增节点配置 与所述新增节点的性能指标相匹配的工作周期; 所述工作周期时长为超帧时 长的整数倍; 所述超帧为所述节点所在的网络中信标帧对应的超帧;
可选的, 上述新增节点可以上述网络中新增加的节点。 帧发送至所述新增节点, 以使所述新增节点从所述更新信标帧中获取所述工 作周期的信息, 接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到所 述工作周期结束, 再循环所述接收工作信标帧, 建立所述工作信标帧对应的 超帧, 直到再次接收到所述更新信标帧; 所述工作信标帧为所述工作周期起 始时刻所述网络中广播的信标帧。
可选的, 所述更新信标帧可以包括:
超帧规范字段、 信标有效负荷字段;
其中, 所述超帧规范字段的第 13号比特位设置为 1 ; 所述信标有效负荷 字段包含周期分配字段, 所述周期分配字段包含更新节点数目、 信标指数、 周期分配列表; 所述信标指数用于指示所述更新信标帧对应的超帧时长; 所 述周期分配列表包含至少一个周期分配描述符, 所述周期分配描述符包含节 点地址和所述节点地址对应的所述超帧时长的倍数信息; 所述更新节点数目为所述新增节点的数目;
所述周期分配列表包含所述新增节点的数目个周期分配描述符, 一个周 期分配描述符对应一个新增节点, 所述新增节点的工作周期时长等于所述周 期分配描述符包含的所述倍数个所述超帧时长。
可选的, 上述新增节点可以包括多个节点, 或一个节点。
可选的, 当上述新增节点获取到上述超帧规范字段, 发送上述超帧规范 字段第 13号比特为 1时, 就获取该信标帧中的信标有效负荷字段, 获取周期 分配字段, 并获取包含该新增节点地址的周期分配描述符, 从而得到所述超 帧时长的倍数信息, 这样就可以得到该新增节点的工作周期的时长, 从而对 该工作周期进行计时, 接收该工作周期的起始时刻的信标帧。
该实施方式中, 实现对新增节点配置工作周期, 以实现使新增节点工作 适用新增节点的性能指标相匹配的工作周期。
上述技术方案中, 在上面实施例的基础上, 对网络的每个节点配置相应 的工作周期, 这样可以实现由发送一个更新信标帧, 实现对每个节点的工作 周期进行调整。 还可以使个域网中网络资源得到合理利用。 图 12是本发明实施例提供的一种节点设备的结构示意图, 如图 12所示, 包括: 接收单元 31、 获取单元 32、 接收单元 33和第一建立单元 34, 其中: 接收单元 31 ,用于接收协调器发送的包含工作周期的信息的更新信标帧, 所述工作周期与所述节点设备的性能指示相匹配, 所述工作周期时长为超帧 时长的整数倍; 所述超帧为所述节点设备所在的网络中信标帧对应的超帧。
可选的, 所述节点设备可以是个网络的节点设备, 例如: 个域网中的电 表、 水表、 气表, 节点设备还可以是基于无线传感器网络的无线监测系统中 的无线传感节点设备; 节点设备还可以是基于无线传感器网络的无线智能家 居系统中的无线传感节点设备。
可选的, 上述网络中所有信标帧对应的超帧的时长都可以是一样的, 即 节点建立的超帧的时长都是一样的。
作为一种可选的实施方式, 上述性能指标可以包括如下至少一项: 节点自身能量剩余能量、 收发数据吞吐量、 数据上报频率和报警时延。 可选的, 当节点自身能量剩余能量越小时, 接收单元 31中的工作周期的 时长就越长, 反之, 越短。
可选的, 当节点设备收发数据吞吐量越小时, 接收单元 31中的工作周期 的时长就越长, 反之, 越短。
可选的, 当节点设备数据上报频率越低时, 接收单元 31中的工作周期的 时长就越长, 反之, 越短。
可选的, 当节点设备报警时延越大时, 接收单元 31中配置的工作周期的 时长就越长, 反之, 越短。
获取单元 32 , 用于从所述更新信标帧中获取所述工作周期的信息; 接收单元 33 , 用于接收工作信标帧, 所述工作信标帧为所述工作周期起 始时刻所述协调器发送的信标帧;
第一建立单元 34, 用于建立所述工作信标帧对应的超帧;
接收单元 33还用于当所述工作周期结束时, 循环接收工作信标帧, 直到 再次接收到所述更新信标帧。
可选的, 所述工作信标帧为所述工作周期起始时刻所述协调器发送的信 标帧, 即上述协调器发送工作信标帧的时间与对上述工作周期进行计时的起 始时间是相同的, 这样接收单元 33当所述工作周期结束时, 循环所述接收工 作信标帧, 这样就是在每个工作周期内只接收工作信标帧, 即一个工作周期 接收一个信标帧, 接收对工作周期计时的起始时刻上述协调器发送的信标帧。
上述技术方案中, 接收协调器发送的包含工作周期的信息的更新信标帧, 接收工作信标帧, 所述工作信标帧为所述工作周期起始时刻所述协调器发送 的信标帧; 建立所述工作信标帧对应的超帧; 当所述工作周期结束时, 循环 所述接收工作信标帧的步骤, 直到再次接收到所述更新信标帧。 由于上述工 作周期是协调器基于性能指标配置的, 即工作周期与性能指标相匹配, 这样 网络资源就可以得到合理利用。 图 13是本发明实施例提供的另一种节点设备的结构示意图, 如图 13所 示, 包括: 发送单元 41、 接收单元 42、 获取单元 43、 接收单元 44和第一建 立单元 45 , 其中: 发送单元 41 , 用于向所述协调器发送当前性能指示; 以使所述协调器判 断所述当前性能指示与所述协调预先获取的所述节点设备的性能指示是否有 变化, 若是, 所述协调器则为所述节点设备配置与所述当前性能指示相匹配 的工作周期; 所述工作周期时长为超帧时长的整数倍; 所述超帧为所述设备 所在的网络中信标帧对应的超帧。
接收单元 42 ,用于接收协调器发送的包含工作周期的信息的更新信标帧。 作为一种可选的实施方式, 接收单元 42还可以用于接收协调器发送的包 含工作周期的信息的更新信标帧, 所述工作周期与所述当前性能指示相匹配。
该实施方式中, 可以实现即时更新工作周期。
获取单元 43 , 用于从所述更新信标帧中获取所述工作周期的信息。
作为一种可选的实施方式, 所述所述更新信标帧可以包括:
超帧规范字段、 信标有效负荷字段;
其中, 所述超帧规范字段的第 13号比特位设置为 1 ; 所述信标有效负荷 字段包含周期分配字段, 所述周期分配字段包含更设备数目、 信标指数、 周 期分配列表; 所述信标指数用于指示所述更新信标帧对应的超帧时长; 所述 周期分配列表包含至少一个周期分配描述符, 所述周期分配描述符包含设备 地址和所述超帧时长的倍数信息;
一个所述周期分配描述符对应一个设备, 每个设备对应的工作周期时长 等于该设备对应的所述周期分配描述符包含的所述倍数个所述超帧时长。
其中, 上述更新节点数目为所述网络中所有需要更新工作周期的设备的 数目。
可选的, 该实施方式中, 获取单元 43可以包括:
计算单元(附图中未画出),用于从所述更新信标帧中获取所述信标指数, 并计算出所述更新信标帧对应的超帧时长;
获取子单元(附图中未画出), 用于从所述周期分配列表中获取包括所述 节点设备的地址的分配描述符, 并从获取的分配描述符中获取所述超帧时长 的倍数信息, 并将所述倍数个所述超帧时长作为所述工作周期时长。
例如: 实现本方法的设备的地址为地址 1 , 获取单元 43就获取包含地址 1的分配描述符, 并获取该分配描述符的所述超帧时长的倍数信息, 如该倍数 信息为 5倍,而上述超帧时长为 10ms ,那么就得知上述工作周期时长为 50ms, 即在该 50ms接收一个信标帧, 且接收对这 50ms计时过程中, 起始时刻协调 器发送的信标帧。
接收单元 44, 用于接收工作信标帧, 所述工作信标帧为所述工作周期起 始时刻所述协调器发送的信标帧。
作为一种可选的实施方式, 在获取到上述工作周期的信息后, 就可以根 据工作周期的信息, 获知协调器发送工作信标帧的时间, 即工作周期的起始 时刻。
可选的,接收单元 44可以用于对工作周期进行计时,并接收工作信标帧。 第一建立单元 45 , 用于建立所述工作信标帧对应的超帧。
接收单元 44还用于当所述工作周期结束时, 循环接收工作信标帧, 直到 再次接收到所述更新信标帧。
作为一种可选的实施方式, 所述节点设备还可以包括:
第二建立单元(附图中未画出), 用于建立所述更新信标帧对应的超帧; 接收单元 44还可以用于在所述超帧结束后, 在所述工作周期的起始时刻 接收工作信标帧。
可选的, 接收单元 44还可以用于在所述超帧结束时, 对所述工作周期进 行计时, 并在所述工作周期的起始时刻接收工作信标帧。
可选的, 该实施方式中, 如图 5所示, 实现所述方法的设备为图 5所示 的节点 B , 接收单元 42接收到包含工作周期的信息的更新信标帧 (例如: 图 5所示的 0号信标帧), 获取单元 43获取工作周期的信息, 以及第二建立单元 (附图中未画出)建立所述更新信标帧对应的超帧; 步骤 504在建立的超帧 结束时, 开始对工作周期计时, 此时协调器发送 1号信标帧, 而 1号信标帧 的发送时间为工作周期的起始时刻, 即 1 号信标帧为工作信标帧, 这样接收 单元 44接收该信标帧, 然而第一建立单元 45根据该信标帧建立的超帧结束 时, 工作周期还没有结束, 继续计时, 直到工作周期结束, 再循环执行接收 单元 44对工作周期计时, 这样协调器发送的 3号信标帧, 而 3号信标帧的发 送时间为工作周期的起始时刻, 即 3 号信标帧为工作信标帧, 这样接收单元 44接收该信标帧, 第一建立单元 45根据该信标帧建立的超帧。 这样循环执行 接收单元 44和第一建立单元 45直到接收到图 5右边所示的第一行和第二行 中的 "包含周期分配字段的信标帧" 的字符对应的信标帧时, 建立该信标帧 对应的超帧, 以该超帧结束时, 对该信标帧包含的新工作周期计时, 接收新 工作周期的起始时刻协调器发送的信标帧, 建立超帧进行另一次循环。
上述技术方案中, 在上面实施例的基础上, 增加了单元向所述协调器发 送当前性能指示, 这样协调器可以及时配置与当前性能指示相匹配的工作周 期, 这样就可以使网络资源得到合理利用。 图 14是本发明实施例提供的一种节点调度系统的结构示意图, 如图 14 所示, 网络设备 51和节点设备 52。
作为一种可选的实施方式, 网络设备 51可以如图 9-图 11 中任一实施方 式的网络设备。
作为一种可选的实施方式, 节点设备 52可以如图 12-图 13中任一实施方 式的节点设备。
上述技术方案中, 网络设备为节点配置与所述节点的性能指标相匹配的 工作周期, 网络设备将包含所述工作周期的信息的更新信标帧发送至所述节 点, 节点设备从所述更新信标帧中获取所述工作周期的信息, 接收工作信标 帧, 建立所述工作信标帧对应的超帧, 直到所述工作周期结束, 再循环所述 接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到再次接收到所述更 新信标帧。 由于为节点配置与节点的性能指标相匹配的工作周期, 节点设备 在该工作周期内接收工作信标帧, 所述工作信标帧为所述工作周期起始时刻 所述协调器发送的信标帧, 这样就可以实现在一个工作周期内只接收到一个 信标帧。 相比现有技术中所有节点设备接收所有的信标帧, 本发明可以使个 域网中网络资源得到合理利用。 图 15是本发明实施例提供的另一种网络设备的结构示意图, 如图 15所 示, 包括: 处理器 61和发射器 62 , 其中:
处理器 61用于执行如下步骤:
为节点配置与所述节点的性能指标相匹配的工作周期, 所述工作周期时 长为超帧时长的整数倍; 所述超帧为所述节点所在的网络中信标帧对应的超 帧。
发射器 62 , 用于将包含所述工作周期的信息的更新信标帧发送至所述节 点, 以使所述节点从所述更新信标帧中获取所述工作周期的信息, 接收工作 信标帧, 建立所述工作信标帧对应的超帧, 直到所述工作周期结束, 再循环 所述接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到再次接收到所 述更新信标帧; 所述工作信标帧为所述工作周期起始时刻所述网络中广播的 信标帧。
作为一种可选的实施方式, 可选的, 上述与所述节点的性能指标相匹配 的工作周期可以是指, 在满足所述节点的性能指标的需求的前提下, 尽可能 地节约网络资源的工作周期。 例如: 性能指标的需求越大, 与该性能指标相 匹配的工作周期的时长就越长, 当性能指标的需求越小, 与该性能指标相匹 配的工作周期的时长就越短。 例如: 上述节点的性能指标的需求为数据吞吐 量少, 上报数据频率低, 这样就可以为该节点配置时长较长的工作周期。
作为一种可选的实施方式, 上述性能指标可以包括如下至少一项: 节点自身能量剩余能量、 收发数据吞吐量、 数据上报频率和报警时延。 可选的, 当节点自身能量剩余能量越小时, 处理器 61配置的工作周期的 时长就越长, 反之, 越短。
可选的, 当节点设备收发数据吞吐量越小时, 处理器 61配置的工作周期 的时长就越长, 反之, 越短。
可选的, 当节点设备数据上报频率越低时, 处理器 61配置的工作周期的 时长就越长, 反之, 越短。
可选的, 当节点设备报警时延越大时, 处理器 61配置的工作周期的时长 就越长, 反之, 越短。
可选的, 当上述节点接收到上述更新信标帧时, 就可以从所述更新信标 帧中获取所述工作周期的信息, 接收工作信标帧, 建立所述工作信标帧对应 的超帧, 直到所述工作周期结束, 再循环所述接收工作信标帧, 建立所述工 作信标帧对应的超帧, 直到再次接收到所述更新信标帧。
可选的, 上述工作周期还可以包括: 侦听周期和睡眠周期; 其中, 侦听周期为工作周期的前面部分, 且侦听 周期的时长与上述工作信标帧对应的超帧的活跃期的时长, 工作周期的其余 部分都为睡眠周期。 即节点在工作周期的侦听周期建立超帧, 并在超帧的活 跃期处于活动状态, 当到达超帧的非活跃期时节点就进入睡眠周期, 处于睡 眠状态。
作为一种可选的实施方式, 所述网络设备可以是个域网、 基于无线传感 器网络的无线监测系统或者基于无线传感器网络的无线智能家居系统中的协 调器。
上述技术方案中, 为节点配置与所述节点的性能指标相匹配的工作周期, 将包含所述工作周期的信息的更新信标帧发送至所述节点, 以使所述节点从 所述更新信标帧中获取所述工作周期的信息, 接收工作信标帧, 建立所述工 作信标帧对应的超帧, 直到所述工作周期结束, 再循环所述接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到再次接收到所述更新信标帧。 由于为 节点配置与节点的性能指标相匹配的工作周期, 节点在该工作周期内接收工 作信标帧, 所述工作信标帧为所述工作周期起始时刻所述协调器发送的信标 帧, 这样就可以实现在一个工作周期内只接收到一个信标帧。 相比现有技术 中所有节点设备接收所有的信标帧, 本发明可以使个域网中网络资源得到合 理利用。 图 16是本发明实施例提供的另一种网络设备的结构示意图, 如图 16所 示, 包括: 处理器 71和发射器 72 , 其中:
处理器 71用于执行如下步骤:
分别为预先指定网络中每个节点配置与该节点的性能指标相匹配的工作 周期; 所述工作周期时长为超帧时长的整数倍; 所述超帧为所述节点所在的 网络中信标帧对应的超帧。
发射器 72 , 用于将包含所述工作周期的信息的更新信标帧发送至所述每 个节点, 以使所述每个节点从所述更新信标帧中获取该节点的工作周期的信 息, 该节点接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到所述工 作周期结束, 再循环所述接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到再次接收到所述更新信标帧; 所述工作信标帧为所述工作周期起始时刻 所述网络中广播的信标帧。
可选的, 上述预定指定网络可以个域网、 基于无线传感器网络的无线监 测系统或者基于无线传感器网络的无线智能家居系统。
可选的, 上述网络中所有信标帧对应的超帧的时长都可以是一样的, 即 节点建立的超帧的时长都是一样的。
作为一种可选的实施方式, 本实施例的应用场景可以如图 3 所示, 上述 网络中包括: 表计节点 、 表计节点 B、 表计节点 C、 表计节点 D和表计节 点£。 其中, 实现本发明的设备可以协调器1。 即处理器 71为上述表计节点 A、表计节点 B、表计节点 C、表计节点 D和表计节点 E分别与每个节点的性 能指标相匹配的工作周期, 即每个节点可以配置相同或不同的工作周期。
作为一种可选的实施方式, 上述更新信标帧可以是上述网络中的起始信 标帧, 即给上述网络中, 给上述节点发送的第一个信标帧。 当然还可以是其 它信标帧。
作为一种可选的实施方式, 所述更新信标帧包括:
超帧规范字段、 信标有效负荷字段;
其中, 所述超帧规范字段的第 13号比特位设置为 1 ; 所述信标有效负荷 字段包含周期分配字段, 所述周期分配字段包含更新节点数目、 信标指数、 周期分配列表; 所述信标指数用于指示所述更新信标帧对应的超帧时长; 所 述周期分配列表包含至少一个周期分配描述符, 所述周期分配描述符包含节 点地址和所述超帧时长的倍数信息;
所述更新节点数目为所述网络中所有节点的数目;
所述周期分配列表包含所述网络中所有节点的数目个周期分配描述符, 一个所述周期分配描述符对应一个节点, 所述每个节点的工作周期时长等于 该节点对应的所述周期分配描述符包含的所述倍数个所述超帧时长。
可选的, 上述超帧规范字段可以如下表所示:
Figure imgf000036_0001
可选的, 在本实施例中, 网络广播的信标帧 (例如: 协调器发送的信标 帧)都面向所有节点发送的, 但每个节点都只接收该节点的工作周期起始时 刻的网络网络广播的信标帧。 当某一信标帧中包含上述工作周期的信息时, 该信标帧就定义为更新信标帧, 该信标帧中的超帧规范字段第 13号比特位设 置为 1 , 如果不是更新信标帧, 该信标帧中的超帧规范字段第 13号比特位设 置为 0。 当节点得知信标帧中的超帧规范字段第 13号比特位设置为 0, 就去 获取该信标帧中的信标有效负荷字段, 获取信标有效负荷字段中包含的周期 分配字段。
可选的, 上述周期分配字段可以如下表所示:
Figure imgf000037_0001
可选的, 上述周期分配描述符可以如下表所示:
Figure imgf000037_0002
可选的, 上述如上述网络中节点数目为 10时, 上述更新节点数据目就为 10, 上述周期分配列表就可以包括 10个周期分配描述符, 每个周期分配描述 符包含一个节点的地址, 和该节点地址对应的所述超帧时长的倍数信息。 上 述超帧时长的倍数信息具体可以一个数值, 如 5倍或 10倍等; 例如, 节点 1 对应的所述超帧时长的倍数信息为 5倍, 而所述超帧时长为 10ms, 那么节点
1的工作周期时长就为 50ms。
作为一种可选的实施方式, 所述设备还可以包括:
接收器 73 , 用于接收所述网络中每个节点上报的当前性能指标; 处理器 71在将包含所述工作周期的信息的更新信标帧发送至所述每个节 点的步骤之后, 还用于执行如下步骤:
分别判断所述接收的每个节点的当前性能指标与预先获取的该节点的性 能指标是否有变化, 若是, 则为所述判断有变化的节点配置与所述判断有变 化的节点的当前性能指标相匹配的工作周期;
发射器 72还可以用于将包含所述工作周期的信息的更新信标帧发送至所 述判断有变化的节点。
该实施方式中, 可以实现在给上述网络中每个节点配置好工作周期后, 再接收每个节点发送的当前性能指示, 当判断某些节点的性能指示发生变化 时, 重新为这些节点配置与当前性能指标相匹配工作周期, 以实现及时更新 节点的工作周期, 最大化利用网络资源。
可选的, 该实施方式中, 更新信标帧可以参考上述实施方式中的信标帧, 即包含超帧规范字段、 信标有效负荷字段; 上述所述更新节点数目为所述判 断有变化的节点的数目, 周期分配列表中每个一个周期分配符对应一个所述 判断有变化的节点。
作为一种可选的实施方式, 处理器 71在将包含所述工作周期的信息的更 新信标帧发送至所述每个节点的步骤之后, 还用于执行如下步骤:
当需要广播当前信标帧时, 根据分配给所述网络中每个节点的工作周期, 计算出能接收到所述当前信标帧的至少一个节点, 并将所述至少一个节点作 为一个组合;
根据所述组合中每个节点在该节点建立的上一超帧中发送的 GTS请求, 配置所述当前信标帧包含的 GTS字段;所述 GTS字段用于标识所述当前信标 帧对应的超帧的非竟争期划分给所述组合中的节点, 该节点建立的上一超帧 为该节点建立的所述当前信标帧对应的超帧的上一个超帧;
将所述当前信标帧发送至所述组合中的节点。
需要说明的, 在本发明中, 将信标帧 (例如: 更新信标帧、 工作信标帧 和当前信标帧)都可以是面向所述网络中所有节点发送的, 但由于不同的节 点的工作周期不同, 这样不同的信标帧就会被不同的节点接收到, 如上述当 前信标帧就会被上述组合中的节点接收到。
可选的, 该实施方式中, 当前信标帧可以是上述更新信标帧后的任一信 标帧。
作为一种可选的实施方式, 所述网络设备还可以包括:
存储器 74, 用于存储处理器 71执行的程序。
上述技术方案中, 在上面实施例的基础上, 对网络的每个节点配置相应 的工作周期, 这样可以实现由发送一个更新信标帧, 实现对每个节点的工作 周期进行调整。 还可以使个域网中网络资源得到合理利用。 图 17是本发明实施例提供的另一种网络设备的结构示意图, 如图 17所 示, 包括: 处理器 81和发射器 82 , 其中:
处理器 81用于执行如下步骤:
为新增节点配置与所述新增节点的性能指标相匹配的工作周期; 所述工 作周期时长为超帧时长的整数倍; 所述超帧为所述节点所在的网络中信标帧 对应的超帧;
发射器 82 , 用于将包含所述工作周期的信息的更新信标帧发送至所述新 增节点, 以使所述新增节点从所述更新信标帧中获取所述工作周期的信息, 接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到所述工作周期结束, 再循环所述接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到再次接 收到所述更新信标帧; 所述工作信标帧为所述工作周期起始时刻所述网络中 广播的信标帧。
可选的, 上述新增节点可以上述网络中新增加的节点。
可选的, 上述网络中所以信标帧对应的超帧的时长都可以是一样的, 即 节点建立的超帧的时长都是一样的。
可选的, 上述网络可以是个域网。
作为一种可选的实施方式, 所述更新信标帧可以包括:
超帧规范字段、 信标有效负荷字段;
其中, 所述超帧规范字段的第 13号比特位设置为 1 ; 所述信标有效负荷 字段包含周期分配字段, 所述周期分配字段包含更新节点数目、 信标指数、 周期分配列表; 所述信标指数用于指示所述更新信标帧对应的超帧时长; 所 述周期分配列表包含至少一个周期分配描述符, 所述周期分配描述符包含节 点地址和所述节点地址对应的所述超帧时长的倍数信息;
所述更新节点数目为所述新增节点的数目;
所述周期分配列表包含所述新增节点的数目个周期分配描述符, 一个周 期分配描述符对应一个新增节点, 所述新增节点的工作周期时长等于所述周 期分配描述符包含的所述倍数个所述超帧时长。
可选的, 上述新增节点可以包括多个节点, 或一个节点。
可选的, 当上述新增节点获取到上述超帧规范字段, 发送上述超帧规范 字段第 13号比特为 1时, 就获取该信标帧中的信标有效负荷字段, 获取周期 分配字段, 并获取包含该新增节点地址的周期分配描述符, 从而得到所述超 帧时长的倍数信息, 这样就可以得到该新增节点的工作周期的时长, 从而对 该工作周期进行计时, 接收该工作周期的起始时刻的信标帧。
作为一种可选的实施方式, 所述网络设备还可以包括:
存储器 83 , 用于存储处理器 81执行的程序。
上述技术方案中, 在上面实施例的基础上, 重点描述对新增节点配置工 作周期, 以实现使新增节点工作适用新增节点的性能指标相匹配的工作周期, 以实现使个域网中网络资源得到合理利用。 图 18是本发明实施例提供的另一种节点设备的结构示意图, 如图 18所 示, 包括: 接收器 91和处理器 92 , 其中:
接收器 91 , 用于接收协调器发送的包含工作周期的信息的更新信标帧, 所述工作周期与实现所述方法的设备的性能指示相匹配, 所述工作周期时长 为超帧时长的整数倍; 所述超帧为所述设备所在的网络中信标帧对应的超帧。
处理器 92用于执行如下步骤:
从所述更新信标帧中获取所述工作周期的信息。
接收工作信标帧, 所述工作信标帧为所述工作周期起始时刻所述协调器 发送的信标帧;
建立所述工作信标帧对应的超帧; 当所述工作周期结束时, 循环所述接 收工作信标帧的步骤, 直到再次接收到所述更新信标帧。
可选的, 所述节点设备可以是个网络的节点设备, 例如: 个域网中的电 表、 水表、 气表, 节点设备还可以是基于无线传感器网络的无线监测系统中 的无线传感节点设备; 节点设备还可以是基于无线传感器网络的无线智能家 居系统中的无线传感节点设备。
可选的, 上述网络中所有信标帧对应的超帧的时长都可以是一样的, 即 节点建立的超帧的时长都是一样的。
作为一种可选的实施方式, 上述性能指标可以包括如下至少一项: 节点自身能量剩余能量、 收发数据吞吐量、 数据上报频率和报警时延。 可选的, 当节点自身能量剩余能量越小时, 接收器 91中的工作周期的时 长就越长, 反之, 越短。
可选的, 当节点设备收发数据吞吐量越小时, 接收器 91中的工作周期的 时长就越长, 反之, 越短。
可选的, 当节点设备数据上报频率越低时, 接收器 91中的工作周期的时 长就越长, 反之, 越短。
可选的, 当节点设备报警时延越大时, 接收器 91中配置的工作周期的时 长就越长, 反之, 越短。
可选的, 所述工作信标帧为所述工作周期起始时刻所述协调器发送的信 标帧, 即上述协调器发送工作信标帧的时间与对上述工作周期进行计时的起 始时间是相同的, 这样处理器 92中当所述工作周期结束时, 循环所述接收工 作信标帧, 这样就是在每个工作周期内只接收工作信标帧, 即一个工作周期 接收一个信标帧, 接收对工作周期计时的起始时刻上述协调器发送的信标帧。
上述技术方案中, 接收协调器发送的包含工作周期的信息的更新信标帧, 接收工作信标帧, 所述工作信标帧为所述工作周期起始时刻所述协调器发送 的信标帧; 建立所述工作信标帧对应的超帧; 当所述工作周期结束时, 循环 所述接收工作信标帧的步骤, 直到再次接收到所述更新信标帧。 由于上述工 作周期是协调器基于性能指标配置的, 即工作周期与性能指标相匹配, 这样 网络资源就可以得到合理利用。 图 19是本发明实施例提供的另一种节点设备的结构示意图, 如图 19所 示, 包括: 发射器 101、 接收器 102和处理器 103 , 其中:
发射器 101 , 用于向所述协调器发送当前性能指示; 以使所述协调器判断 所述当前性能指示与所述协调预先获取的实现所述方法的设备的性能指示是 否有变化, 若是, 所述协调器则为实现所述方法的设备配置与所述当前性能 指示相匹配的工作周期; 所述工作周期时长为超帧时长的整数倍; 所述超帧 为所述设备所在的网络中信标帧对应的超帧。
接收器 102, 用于接收协调器发送的包含工作周期的信息的更新信标帧。 处理器 103用于执行如下步骤:
从所述更新信标帧中获取所述工作周期的信息; 接收工作信标帧, 所述工作信标帧为所述工作周期起始时刻所述协调器 发送的信标帧;
建立所述工作信标帧对应的超帧; 当所述工作周期结束时, 循环所述接 收工作信标帧的步骤, 直到再次接收到所述更新信标帧。
作为一种可选的实施方式, 在获取到上述工作周期的信息后, 就可以根 据工作周期的信息, 获知协调器发送工作信标帧的时间, 即工作周期的起始 时刻。
可选的, 处理器 103执行的接收工作信标帧的步骤可以包括:
对工作周期进行计时, 并接收工作信标帧。
可选的, 发射器 101 可以是周期性的执行, 如一天执行一次, 这样就可 以让协调器及时知晓协调器管理下各设备的性能指标, 以为每个设备配置更 新的工作周期。
可选的, 接收器 102还可以用于接收协调器发送的包含工作周期的信息 的更新信标帧, 所述工作周期与所述当前性能指示相匹配。
该实施方式中, 可以实现即时更新工作周期。
作为一种可选的实施方式, 所述所述更新信标帧可以包括:
超帧规范字段、 信标有效负荷字段;
其中, 所述超帧规范字段的第 13号比特位设置为 1 ; 所述信标有效负荷 字段包含周期分配字段, 所述周期分配字段包含更设备数目、 信标指数、 周 期分配列表; 所述信标指数用于指示所述更新信标帧对应的超帧时长; 所述 周期分配列表包含至少一个周期分配描述符, 所述周期分配描述符包含设备 地址和所述超帧时长的倍数信息;
一个所述周期分配描述符对应一个设备, 每个设备对应的工作周期时长 等于该设备对应的所述周期分配描述符包含的所述倍数个所述超帧时长。
其中, 上述更新节点数目为所述网络中所有需要更新工作周期的设备的 数目。
可选的, 该实施方式中, 处理器 103执行从所述更新信标帧中获取所述 工作周期的信息的步骤可以包括:
从所述更新信标帧中获取所述信标指数, 并计算出所述更新信标帧对应 的超帧时长;
从所述周期分配列表中获取包括实现本方法的设备的地址的分配描述 符, 并从获取的分配描述符中获取所述超帧时长的倍数信息, 并将所述倍数 个所述超帧时长作为所述工作周期时长。
作为一种可选的实施方式, 处理器 103 在执行接收工作信标帧的步骤之 前, 还可以用于如下步骤:
建立所述更新信标帧对应的超帧;
处理器 103执行接收工作信标帧的步骤可以包括:
在所述超帧结束后, 在所述工作周期的起始时刻接收工作信标帧。
可行的, 处理器 103执行接收工作信标帧的步骤可以包括:
在所述超帧结束时, 对所述工作周期进行计时, 并在所述工作周期的起 始时刻接收工作信标帧。
作为一种可选的实施方式, 所述节点设备还可以包括:
存储器 104, 用于存储处理器 103执行的程序。
上述技术方案中, 在上面实施例的基础上, 增加了向所述协调器发送当 前性能指示的步骤, 这样协调器可以及时配置与当前性能指示相匹配的工作 周期, 这样就可以使网络资源得到合理利用。 图 20是本发明实施例提供的一种节点调度系统的结构示意图, 如图 20 所示, 网络设备 111和节点设备 112。
作为一种可选的实施方式, 网络设备 111可以如图 15-图 17中任一实施 方式的网络设备。
作为一种可选的实施方式, 节点设备 112可以如图 18-图 19中任一实施 方式的节点设备。
上述技术方案中, 网络设备为节点配置与所述节点的性能指标相匹配的 工作周期, 网络设备将包含所述工作周期的信息的更新信标帧发送至所述节 点, 节点设备从所述更新信标帧中获取所述工作周期的信息, 接收工作信标 帧, 建立所述工作信标帧对应的超帧, 直到所述工作周期结束, 再循环所述 接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到再次接收到所述更 新信标帧。 由于为节点配置与节点的性能指标相匹配的工作周期, 节点设备 在该工作周期内接收工作信标帧, 所述工作信标帧为所述工作周期起始时刻 所述协调器发送的信标帧, 这样就可以实现在一个工作周期内只接收到一个 信标帧。 相比现有技术中所有节点设备接收所有的信标帧, 本发明可以使个 域网中网络资源得到合理利用。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流 程, 是可以通过计算机程序来指令相关的硬件来完成, 所述的程序可存储于 一计算机可读取存储介质中, 该程序在执行时, 可包括如上述各方法的实施 例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体( Read-Only Memory, ROM )或随机存取存储器( Random Access Memory, 筒称 RAM ) 等。
以上所揭露的仅为本发明较佳实施例而已, 当然不能以此来限定本发明 之权利范围, 因此依本发明权利要求所作的等同变化, 仍属本发明所涵盖的 范围。

Claims

权利要求 书
1、 一种节点调度方法, 其特征在于, 包括:
为节点配置与所述节点的性能指标相匹配的工作周期, 所述工作周期时长 为超帧时长的整数倍; 所述超帧为所述节点所在的网络中信标帧对应的超帧; 将包含所述工作周期的信息的更新信标帧发送至所述节点, 以使所述节点 从所述更新信标帧中获取所述工作周期的信息, 接收工作信标帧, 建立所述工 作信标帧对应的超帧, 直到所述工作周期结束, 再循环所述接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到再次接收到所述更新信标帧; 所述工作 信标帧为所述工作周期起始时刻所述网络中广播的信标帧。
2、 如权利要求 1所述的方法, 其特征在于, 所述性能指标包含如下至少一 项:
节点自身能量剩余能量、 收发数据吞吐量、 数据上报频率和报警时延。
3、 如权利要求 1所述的方法, 其特征在于, 所述为节点配置与所述节点的 性能指标相匹配的工作周期包括:
分别为所述网络中每个节点配置与该节点的性能指标相匹配的工作周期; 所述将包含所述工作周期的信息的更新信标帧发送至所述节点包括: 将包含所述工作周期的信息的更新信标帧发送至所述每个节点, 以使所述 每个节点从所述更新信标帧中获取该节点的工作周期的信息, 该节点接收工作 信标帧, 建立所述工作信标帧对应的超帧, 直到所述工作周期结束, 再循环接 收工作信标帧, 建立所述工作信标帧对应的超帧, 直到再次接收到所述更新信 标帧; 所述工作信标帧为所述工作周期起始时刻所述网络中广播的信标帧。
4、 如权利要求 3所述的方法, 其特征在于, 所述更新信标帧包括: 超帧规范字段、 信标有效负荷字段;
其中, 所述超帧规范字段的第 13号比特位设置为 1 ; 所述信标有效负荷字 段包含周期分配字段, 所述周期分配字段包含更新节点数目、 信标指数、 周期 分配列表; 所述信标指数用于指示所述更新信标帧对应的超帧时长; 所述周期 分配列表包含至少一个周期分配描述符, 所述周期分配描述符包含节点地址和 所述超帧时长的倍数信息;
所述更新节点数目为所述网络中所有节点的数目;
所述周期分配列表包含所述网络中所有节点的数目个周期分配描述符, 一 个所述周期分配描述符对应一个节点, 所述每个节点的工作周期时长等于该节 点对应的所述周期分配描述符包含的所述倍数个所述超帧时长。
5、 如权利要求 1 所述的方法, 其特征在于, 所述为节点配置与所述节点 的性能指标相匹配的工作周期包括:
为新增节点配置与所述新增节点的性能指标相匹配的工作周期;
所述将包含所述工作周期的信息的更新信标帧发送至所述节点包括: 将包含所述工作周期的信息的更新信标帧发送至所述新增节点, 以使所述 新增节点从所述更新信标帧中获取所述工作周期的信息, 接收工作信标帧, 建 立所述工作信标帧对应的超帧, 直到所述工作周期结束, 再循环接收工作信标 帧, 建立所述工作信标帧对应的超帧, 直到再次接收到所述更新信标帧; 所述 工作信标帧为所述工作周期起始时刻所述网络中广播的信标帧。
6、 如权利要求 5所述的方法, 其特征在于, 所述更新信标帧包括: 超帧规范字段、 信标有效负荷字段;
其中, 所述超帧规范字段的第 13号比特位设置为 1 ; 所述信标有效负荷字 段包含周期分配字段, 所述周期分配字段包含更新节点数目、 信标指数、 周期 分配列表; 所述信标指数用于指示所述更新信标帧对应的超帧时长; 所述周期 分配列表包含至少一个周期分配描述符, 所述周期分配描述符包含节点地址和 所述节点地址对应的所述超帧时长的倍数信息;
所述更新节点数目为所述新增节点的数目;
所述周期分配列表包含所述新增节点的数目个周期分配描述符, 一个周期 分配描述符对应一个新增节点, 所述新增节点的工作周期时长等于所述周期分 配描述符包含的所述倍数个所述超帧时长。 7、 如权利要求 1所述的方法, 其特征在于, 所述为节点配置与所述节点的 性能指标相匹配的工作周期之前, 所述方法还包括:
接收所述网络中每个节点上报的当前性能指标, 分别判断所述接收的每个 节点的当前性能指标与预先获取的该节点的性能指标是否有变化, 若是, 触发 所述为节点配置与所述节点的性能指标相匹配的工作周期的步骤;
所述为节点配置与所述节点的性能指标相匹配的工作周期包括:
为所述判断有变化的节点配置与所述判断有变化的节点的当前性能指标相 匹配的工作周期;
所述将包含所述工作周期的信息的更新信标帧发送至所述节点包括: 将包含所述工作周期的信息的更新信标帧发送至所述判断有变化的节点。
8、 如权利要求 1所述的方法, 其特征在于, 所述将包含所述工作周期的信 息的信标帧发送至所述节点之后, 所述方法还包括:
当需要广播当前信标帧时, 根据分配给所述网络中每个节点的工作周期, 计算出能接收到所述当前信标帧的至少一个节点, 并将所述至少一个节点作为 一个组合;
根据所述组合中每个节点在该节点建立的上一超帧中发送的时隙保障机制 GTS请求, 配置所述当前信标帧包含的 GTS字段; 所述 GTS字段用于标识所述 当前信标帧对应的超帧的非竟争期划分给所述组合中的节点, 该节点建立的上 一超帧为该节点建立的所述当前信标帧对应的超帧的上一个超帧;
将所述当前信标帧发送至所述组合中的节点。
9、 一种节点调度方法, 其特征在于, 包括:
接收协调器发送的包含工作周期的信息的更新信标帧, 所述工作周期与实 现所述方法的设备的性能指示相匹配, 所述工作周期时长为超帧时长的整数倍; 所述超帧为所述设备所在的网络中信标帧对应的超帧;
从所述更新信标帧中获取所述工作周期的信息;
接收工作信标帧, 所述工作信标帧为所述工作周期起始时刻所述协调器发 送的信标帧; 建立所述工作信标帧对应的超帧; 当所述工作周期结束时, 循环接收工作 信标帧的步骤, 直到再次接收到所述更新信标帧。
10、 如权利要求 9所述的方法, 其特征在于, 所述性能指标包含如下至少 一项:
节点自身能量剩余能量、 收发数据吞吐量、 数据上报频率和报警时延。
11、 如权利要求 9或 10所述的方法, 其特征在于, 所述从所述更新信标帧 中获取所述工作周期的信息之后, 所述接收工作信标帧之前, 所述方法还包括: 建立所述更新信标帧对应的超帧;
所述接收工作信标帧包括:
在所述超帧结束后, 在所述工作周期的起始时刻接收工作信标帧。
12、 如权利要求 9或 10所述的方法, 其特征在于, 所述所述更新信标帧包 括:
超帧规范字段、 信标有效负荷字段;
其中, 所述超帧规范字段的第 13号比特位设置为 1 ; 所述信标有效负荷字 段包含周期分配字段, 所述周期分配字段包含更设备数目、 信标指数、 周期分 配列表; 所述信标指数用于指示所述更新信标帧对应的超帧时长; 所述周期分 配列表包含至少一个周期分配描述符, 所述周期分配描述符包含设备地址和所 述超帧时长的倍数信息;
一个所述周期分配描述符对应一个设备, 每个设备对应的工作周期时长等 于该设备对应的所述周期分配描述符包含的所述倍数个所述超帧时长。
13、 如权利要求 12所述的方法, 其特征在于, 所述从所述更新信标帧中获 取所述工作周期的信息包括:
从所述更新信标帧中获取所述信标指数, 并计算出所述更新信标帧对应的 超帧时长;
从所述周期分配列表中获取包括实现本方法的设备的地址的分配描述符, 并从获取的分配描述符中获取所述超帧时长的倍数信息, 并将所述倍数个所述 超帧时长作为所述工作周期时长。
14、 如权利要求 9或 10所述的方法, 其特征在于, 所述接收协调器发送的 包含工作周期的信息的更新信标帧之前, 所述方法还包括:
向所述协调器发送当前性能指示; 以使所述协调器判断所述当前性能指示 与所述协调预先获取的实现所述方法的设备的性能指示是否有变化, 若是, 所 述协调器则为实现所述方法的设备配置与所述当前性能指示相匹配的工作周 期;
所述接收协调器发送的包含工作周期的信息的更新信标帧包括:
接收协调器发送的包含工作周期的信息的更新信标帧, 所述工作周期与所 述当前性能指示相匹配。
15、 一种网络设备, 其特征在于, 包括: 第一配置单元和发送单元, 其中: 所述第一配置单元, 用于为节点配置与所述节点的性能指标相匹配的工作 周期, 所述工作周期时长为超帧时长的整数倍; 所述超帧为所述节点所在的网 络中信标帧对应的超帧;
所述发送单元, 用于将包含所述工作周期的信息的更新信标帧发送至所述 节点, 以使所述节点从所述更新信标帧中获取所述工作周期的信息, 接收工作 信标帧, 建立所述工作信标帧对应的超帧, 直到所述工作周期结束, 再循环所 述接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到再次接收到所述更 新信标帧; 所述工作信标帧为所述工作周期起始时刻所述网络中广播的信标帧。
16、 如权利要求 15所述的网络设备, 基特征在于, 所述第一配置单元还用 于分别为所述网络中每个节点配置与该节点的性能指标相匹配的工作周期; 所述发送单元还用于将包含所述工作周期的信息的更新信标帧发送至所述 每个节点, 以使所述每个节点从所述更新信标帧中获取该节点的工作周期的信 息, 该节点接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到所述工作 周期结束, 再循环所述接收工作信标帧, 建立所述工作信标帧对应的超帧, 直 到再次接收到所述更新信标帧; 所述工作信标帧为所述工作周期起始时刻所述 网络中广播的信标帧。
17、 如权利要求 16所述的网络设备, 其特征在于, 所述更新信标帧包括: 超帧规范字段、 信标有效负荷字段;
其中, 所述超帧规范字段的第 13号比特位设置为 1 ; 所述信标有效负荷字 段包含周期分配字段, 所述周期分配字段包含更新节点数目、 信标指数、 周期 分配列表; 所述信标指数用于指示所述更新信标帧对应的超帧时长; 所述周期 分配列表包含至少一个周期分配描述符, 所述周期分配描述符包含节点地址和 所述超帧时长的倍数信息;
所述更新节点数目为所述网络中所有节点的数目;
所述周期分配列表包含所述网络中所有节点的数目个周期分配描述符, 一 个所述周期分配描述符对应一个节点, 所述每个节点的工作周期时长等于该节 点对应的所述周期分配描述符包含的所述倍数个所述超帧时长。
18如权利要求 15所述的网络设备, 其特征在于, 所述第一配置单元还用于 为新增节点配置与所述新增节点的性能指标相匹配的工作周期;
所述发送单元还用于将包含所述工作周期的信息的更新信标帧发送至所述 新增节点, 以使所述新增节点从所述更新信标帧中获取所述工作周期的信息, 接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到所述工作周期结束, 再循环所述接收工作信标帧, 建立所述工作信标帧对应的超帧, 直到再次接收 到所述更新信标帧; 所述工作信标帧为所述工作周期起始时刻所述网络中广播 的信标帧。
19、 如权利要求 18所述的网络设备, 其特征在于, 所述更新信标帧包括: 超帧规范字段、 信标有效负荷字段;
其中, 所述超帧规范字段的第 13号比特位设置为 1 ; 所述信标有效负荷字 段包含周期分配字段, 所述周期分配字段包含更新节点数目、 信标指数、 周期 分配列表; 所述信标指数用于指示所述更新信标帧对应的超帧时长; 所述周期 分配列表包含至少一个周期分配描述符, 所述周期分配描述符包含节点地址和 所述节点地址对应的所述超帧时长的倍数信息;
所述更新节点数目为所述新增节点的数目;
所述周期分配列表包含所述新增节点的数目个周期分配描述符, 一个周期 分配描述符对应一个新增节点, 所述新增节点的工作周期时长等于所述周期分 配描述符包含的所述倍数个所述超帧时长。
20、 如权利要求 15-19中任一项所述的网络设备, 其特征在于, 所述网络设 备还包括:
判断单元, 用于接收所述网络中每个节点上报的当前性能指标, 分别判断 所述接收的每个节点的当前性能指标与预先获取的该节点的性能指标是否有变 化;
所述第一配置单元还用于当所述判断单元判断结果为是时, 为所述判断有 变化的节点配置与所述判断有变化的节点的当前性能指标相匹配的工作周期; 所述发送单元还用于将包含所述工作周期的信息的更新信标帧发送至所述 判断有变化的节点。
21、 如权利要求 15-19中任一项所述的网络设备, 其特征在于, 所述网络设 备还包括:
计算单元, 用于当需要广播当前信标帧时, 根据分配给所述网络中每个节 点的工作周期, 计算出能接收到所述当前信标帧的至少一个节点, 并将所述至 少一个节点作为一个组合;
第二配置单元, 用于根据所述组合中每个节点在该节点建立的上一超帧中 发送的 GTS请求, 配置所述当前信标帧包含的 GTS字段; 所述 GTS字段用于 标识所述当前信标帧对应的超帧的非竟争期划分给所述组合中的节点, 该节点 建立的上一超帧为该节点建立的所述当前信标帧对应的超帧的上一个超帧; 所述发送单元还用于将所述当前信标帧发送至所述组合中的节点。
22、 一种节点设备, 其特征在于, 包括: 接收单元、 获取单元、 接收单元 和第一建立单元, 其中:
所述接收单元, 用于接收协调器发送的包含工作周期的信息的更新信标帧, 所述工作周期与所述节点设备的性能指示相匹配, 所述工作周期时长为超帧时 长的整数倍; 所述超帧为所述节点设备所在的网络中信标帧对应的超帧;
所述获取单元, 用于从所述更新信标帧中获取所述工作周期的信息; 所述接收单元, 用于接收工作信标帧, 所述工作信标帧为所述工作周期起 始时刻所述协调器发送的信标帧;
所述第一建立单元, 用于建立所述工作信标帧对应的超帧;
所述接收单元还用于当所述工作周期结束时, 循环接收工作信标帧, 直到 再次接收到所述更新信标帧。
23、 如权利要求 22所述的节点设备, 其特征在于, 所述节点设备还包括: 第二建立单元, 用于建立所述更新信标帧对应的超帧;
所述接收单元还用于在所述超帧结束后, 在所述工作周期的起始时刻接收 工作信标帧。
24如权利要求 21或 22所述的节点设备, 其特征在于, 所述所述更新信标 帧包括:
超帧规范字段、 信标有效负荷字段;
其中, 所述超帧规范字段的第 13号比特位设置为 1 ; 所述信标有效负荷字 段包含周期分配字段, 所述周期分配字段包含更节点设备数目、 信标指数、 周 期分配列表; 所述信标指数用于指示所述更新信标帧对应的超帧时长; 所述周 期分配列表包含至少一个周期分配描述符, 所述周期分配描述符包含节点设备 地址和所述超帧时长的倍数信息;
一个所述周期分配描述符对应一个节点设备, 每个节点设备对应的工作周 期时长等于该节点设备对应的所述周期分配描述符包含的所述倍数个所述超帧 时长。
25、 如权利要求 24所述的节点设备, 其特征在于, 所述获取单元包括: 计算单元, 用于从所述更新信标帧中获取所述信标指数, 并计算出所述更 新信标帧对应的超帧时长;
获取子单元, 用于从所述周期分配列表中获取包括所述节点设备的地址的 分配描述符, 并从获取的分配描述符中获取所述超帧时长的倍数信息, 并将所 述倍数个所述超帧时长作为所述工作周期时长。
26、 如权利要求 21或 22所述的节点设备, 其特征在于, 所述节点设备还 包括:
发送单元, 用于向所述协调器发送当前性能指示; 以使所述协调器判断所 述当前性能指示与所述协调预先获取的所述节点设备的性能指示是否有变化, 若是, 所述协调器则为所述节点设备配置与所述当前性能指示相匹配的工作周 期;
所述接收单元还用于接收协调器发送的包含工作周期的信息的更新信标 帧, 所述工作周期与所述当前性能指示相匹配。
27、 一种节点调度系统, 包括如权利要求 15-21中任一项所述的网络设备 和如权利要求 22-26中任一项所述的节点设备。
PCT/CN2013/089123 2012-12-11 2013-12-11 一种节点调度方法、设备及系统 WO2014090162A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP13861971.3A EP2925072B1 (en) 2012-12-11 2013-12-11 Node scheduling method and device
US14/734,906 US9936497B2 (en) 2012-12-11 2015-06-09 Node scheduling method and system and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210531572.3A CN103118435B (zh) 2012-12-11 2012-12-11 一种节点调度方法、设备及系统
CN201210531572.3 2012-12-11

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/734,906 Continuation US9936497B2 (en) 2012-12-11 2015-06-09 Node scheduling method and system and device

Publications (1)

Publication Number Publication Date
WO2014090162A1 true WO2014090162A1 (zh) 2014-06-19

Family

ID=48416678

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/089123 WO2014090162A1 (zh) 2012-12-11 2013-12-11 一种节点调度方法、设备及系统

Country Status (4)

Country Link
US (1) US9936497B2 (zh)
EP (1) EP2925072B1 (zh)
CN (1) CN103118435B (zh)
WO (1) WO2014090162A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103118435B (zh) 2012-12-11 2015-11-25 华为技术有限公司 一种节点调度方法、设备及系统
CN103747490B (zh) * 2014-02-19 2018-06-26 林强 一种组帧方法、传输信息配置方法、装置和通信节点
WO2018132128A1 (en) * 2017-01-11 2018-07-19 Intel IP Corporation Apparatus, system and method of power management for wireless communication
CN108600320A (zh) * 2018-03-23 2018-09-28 阿里巴巴集团控股有限公司 一种数据缓存方法、装置及系统
CN110932980B (zh) * 2019-11-27 2022-09-20 达闼机器人股份有限公司 通信方法、终端及计算机可读存储介质
CN115497273B (zh) * 2022-04-22 2024-01-09 北京临近空间飞行器系统工程研究所 装订描述方法和基于装订参数链表的无线指令控制方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6587453B1 (en) * 1997-12-17 2003-07-01 Hewlett-Packard Company Method of communicating first and second data types
CN101232419A (zh) * 2008-01-18 2008-07-30 西安西电捷通无线网络通信有限公司 一种基于原语的无线个域网接入方法
CN101978760A (zh) * 2008-03-18 2011-02-16 三菱电机株式会社 在包括协调器节点和一组叶节点的网络中进行通信的方法
CN103118435A (zh) * 2012-12-11 2013-05-22 华为技术有限公司 一种节点调度方法、设备及系统

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100766039B1 (ko) * 2005-07-06 2007-10-12 삼성전자주식회사 무선 통신망에서 전송되는 슈퍼프레임의 구조, 상기슈퍼프레임의 전송 방법, 및 상기 슈퍼프레임을 통한디바이스의 웨이크업 제어 방법
EP1916808A1 (en) 2006-10-27 2008-04-30 Nokia Siemens Networks Gmbh & Co. Kg Method of connection based scheduling with differentiated service support for multi-hop wireless networks
KR100903112B1 (ko) 2007-04-30 2009-06-16 한국전자통신연구원 애드 혹(ad-hoc) 네트워크에서 비컨 스케줄링 노드장치 및 스케줄링 방법, 및 데이터 전송 방법
US7881340B2 (en) * 2007-10-22 2011-02-01 The Johns Hopkins University Decentralized media access control for ad-hoc mobile wireless network
TWI482456B (zh) 2007-12-07 2015-04-21 Koninkl Philips Electronics Nv 彈性媒體存取控制(mac)超框結構及信標方法
US7936709B2 (en) * 2008-03-18 2011-05-03 Mitsubishi Electric Research Laboratories, Inc. Distributed beacon enabled wireless networks
EP2227045B1 (en) * 2009-03-04 2015-10-14 Fujitsu Limited Improvements to body area networks
JP5353812B2 (ja) * 2009-08-12 2013-11-27 ソニー株式会社 通信制御方法、通信装置、及びプログラム
WO2011158470A1 (ja) * 2010-06-18 2011-12-22 パナソニック株式会社 通信装置及び通信方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6587453B1 (en) * 1997-12-17 2003-07-01 Hewlett-Packard Company Method of communicating first and second data types
CN101232419A (zh) * 2008-01-18 2008-07-30 西安西电捷通无线网络通信有限公司 一种基于原语的无线个域网接入方法
CN101978760A (zh) * 2008-03-18 2011-02-16 三菱电机株式会社 在包括协调器节点和一组叶节点的网络中进行通信的方法
CN103118435A (zh) * 2012-12-11 2013-05-22 华为技术有限公司 一种节点调度方法、设备及系统

Non-Patent Citations (1)

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

Also Published As

Publication number Publication date
US9936497B2 (en) 2018-04-03
US20150282168A1 (en) 2015-10-01
CN103118435B (zh) 2015-11-25
EP2925072B1 (en) 2019-03-13
EP2925072A1 (en) 2015-09-30
EP2925072A4 (en) 2015-10-21
CN103118435A (zh) 2013-05-22

Similar Documents

Publication Publication Date Title
JP6527965B2 (ja) チャネル効率の高い分散方式のピアステーション間のデータ伝送の方法及びシステム
WO2014090162A1 (zh) 一种节点调度方法、设备及系统
US10390355B2 (en) Method for sending uplink multi-user transmission trigger frame, access point, and station
US11071168B2 (en) Multi-station access method, apparatus, and system
CN105659683B (zh) 用于设置循环前缀长度的系统和方法
CA2775080C (en) Method and system for announcement time of idle timeout for power saving operations in wireless networks
CN102932919B (zh) 上行链路探测参考信号的资源配置方法及装置
CN109041039A (zh) 用于设备对设备通信的用户设备及其方法
CN104137574B (zh) 数据传输、获取方法及基站
WO2019141081A1 (zh) 无线网络接入的方法及装置、终端设备
CN104508996B (zh) 连接建立方法、装置及系统
KR101832687B1 (ko) Ioe 통신들의 매체 예약 및 우선순위화를 위한 분산된 메커니즘
JP2013520909A5 (zh)
WO2013127304A1 (zh) 下行数据传输方法及相关设备和通信系统
US11683732B2 (en) Transmission opportunity control method and apparatus
CN110177097A (zh) 数据传输方法、装置及系统
CN110972323A (zh) 数据发送方法、资源测量方法、装置和设备
CN108810975A (zh) 用于传输缓存状态报告的方法和装置
WO2019062624A1 (zh) Rar时间窗配置及检测方法、装置、终端、基站及存储介质
US10530596B2 (en) Method for setting packet transmission mode and device
WO2014012259A1 (zh) 实现辅小区的时分双工配置的方法、基站及系统
KR20170137078A (ko) Ioe 디바이스 어웨이크 스케줄링 및 디스커버리
WO2015188698A1 (zh) 上行数据传输方法及装置
CN105122927B (zh) 一种资源申请的方法、装置及系统
CN108684049B (zh) 分布式WiFi网络的参数配置方法、装置、设备及存储介质

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: 13861971

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2013861971

Country of ref document: EP