WO2011032516A1 - 资源管理方法及设备 - Google Patents

资源管理方法及设备 Download PDF

Info

Publication number
WO2011032516A1
WO2011032516A1 PCT/CN2010/077097 CN2010077097W WO2011032516A1 WO 2011032516 A1 WO2011032516 A1 WO 2011032516A1 CN 2010077097 W CN2010077097 W CN 2010077097W WO 2011032516 A1 WO2011032516 A1 WO 2011032516A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
bit
time slot
chart
configuration bit
Prior art date
Application number
PCT/CN2010/077097
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 华为技术有限公司
Publication of WO2011032516A1 publication Critical patent/WO2011032516A1/zh

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
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information

Definitions

  • the present invention relates to the field of communications, and in particular, to a resource management method and device. Background technique
  • Wireless sensor network is a widely used wireless network, which can adapt to a variety of real-life intelligent environments. It is widely used due to its self-organization, self-management, self-energy saving, high reliability, low cost and suitable for harsh environments. In the fields of military, health care, environmental protection and transportation.
  • the use of beacons enables the network's wireless sensor network to support superframe structures including: beacon period, channel contention access ( ⁇ ), channel no-competition period (Content) Ion Free Per iod (abbreviation: CFP) and inactive period. After the communication of the superframe's channel competing access period ends, the network enters a channel with no competition period to ensure communication between devices, and the communication in the non-competitive phase of the channel consists of guaranteed time slots.
  • Enhanced Guaranteed Time Slot is a method for simultaneous multi-channel communication based on the existing superframe structure communication method.
  • EGTS not only allocates time slot resources, but also allocates channel resources, so that different devices can communicate at different times and channels, and resource allocation requirements are more complicated.
  • the resource information of the time slot and the channel are present in the configuration bit chart (abbreviation: ABT).
  • ABT configuration bit chart
  • a three-way handshake process is used to apply for or release resources for each device.
  • the EGTS request command frame, the EGTS response command frame, and the EGTS notification command frame are used to request or release resources for each device node.
  • the EGTS response command frame and the EGTS notification command frame will not release the corresponding resources, but will continue to retain the information occupied by the corresponding resources in its own ABT.
  • ABT resources are gradually consumed, which increases the probability of data communication collisions occurring during EGTS communication. Long-term operation will cause ABT to overflow, so that nodes in the network cannot find time slots that can be allocated. And channel resources. Summary of the invention
  • the embodiment of the invention provides a resource management method and device.
  • the embodiment of the invention provides a resource management method, including:
  • the bit in the occupied state satisfies the resource release condition, the corresponding time slot and channel resource in the configuration bit chart are released.
  • the embodiment of the invention further provides a resource management method, including:
  • the embodiment of the invention further provides a resource management method, including:
  • the corresponding bit in the configuration bit map is updated according to the received broadcast command frame.
  • the embodiment of the invention further provides a resource management device, including:
  • a first obtaining module configured to acquire a bit in a configuration bit chart of the first node that is in an occupied state
  • a resource release module configured to release the corresponding time slot and channel resource in the configuration bit chart if the bit in the usage state is the resource release condition.
  • the embodiment of the invention further provides a resource management device, including:
  • a second obtaining module configured to acquire a usage state of each bit in the configuration bit chart of the first node
  • a selecting module configured to select, in a configuration bit chart of the first node and a configuration of the second node, according to a usage state of each bit in a configuration bit chart of a second node adjacent to the first node
  • the bit chart uses the time slot corresponding to the bit in the idle state to communicate with the channel resource.
  • the embodiment of the invention further provides a resource management device, including:
  • a determining module configured to determine that the received broadcast command frame is valid
  • an update module configured to update a corresponding bit in the configuration bit map according to the received broadcast command frame.
  • the resource management method and device provided by the embodiment of the present invention release the bit in the ABT of the first node that satisfies the resource release condition, and can manage the channel and the time slot resource in the first node itself, and reduce the network.
  • the consumption of ABT resources and the probability of data communication collisions prevent ABT from overflowing.
  • FIG. 1 is a signaling flowchart of a three-way handshake application process in the process of applying for an EGTS according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a first embodiment of a resource management method according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a third embodiment of a resource management method according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a structure of a first embodiment of a resource management device according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of a second embodiment of a resource management device according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of a third embodiment of a resource management device according to an embodiment of the present invention.
  • Wireless sensor networks can use non-beacons to enable networks and beacons to enable networks.
  • devices do not periodically send beacons, and communication between devices is generally asynchronous; in beacons, the network can be configured to superimpose frames between devices in a wireless sensor network.
  • Communication The beacon enables the superframe structure supported by the network to be composed of a beacon period, a channel contention access period, a channel non-competition period, and an inactive period, and the specific format is defined by a coordinator that specifies a superframe.
  • the beacon period, the channel contention access period, and the channel non-competition period constitute an active period of the superframe.
  • the active period of the superframe includes 16 equal-sized time slots, and the beacon frame is transmitted in the first time slot of the superframe.
  • Each superframe period starts with a beacon frame sent by the network coordinator.
  • the beacon frame contains information such as the duration of the superframe period, the overall structure of the superframe, the arrangement of each phase, and the time synchronization of each device.
  • the device in the network After receiving the beacon frame, the device in the network completes the network synchronization according to the information in the beacon frame and determines whether the device undertakes the data communication task in the super frame period.
  • the communication in the non-contention phase of the superframe is composed of guaranteed time slots.
  • a superframe may include several guaranteed time slots.
  • Each device assigned a guaranteed time slot must ensure that its communication arrives before the next guaranteed time slot arrives. carry out.
  • the devices in the wireless sensor network will go to sleep to save energy, waiting for the next superframe period to arrive.
  • each device can complete guaranteed time slot communication on one channel, and can also ensure guaranteed time slot communication on multiple channels by frequency hopping.
  • the EGTS can expand the communication capacity of the network system in multiple channel communication, and allocate the time slot resource and the channel resource, so that different devices can communicate at different times and channels.
  • a configuration bit map of resource information storage of time slots and channels is generally a two-dimensional table containing different bit information, as shown in Table 1.
  • ABT is 7 slot (slot) x l6 channel usage in EGST, where the status of each channel in each slot is One bit indicates that "0" means that the time slot and channel resources are not occupied, "1" means that the time slot and channel resources are occupied.
  • each device is a node
  • the node in the communication using EGTS mode, if the node needs to send data to the node 2, it can apply to the node 2 to use a time slot and channel resources in advance.
  • the node 1 After the resource application is successful, the node 1 will own its own. The bit corresponding to the resource in the ABT is identified as "1". After the resource is used, Node 1 and Node 2 release the resource and identify the corresponding position in the respective ABT as "0".
  • the beacon frame may not include all the information of the ABT in the node.
  • EGTS communication is suitable for mesh networks, in a mesh network, point-to-point communication is generally used. Therefore, ABT cannot perform ABT information in a hop range through a beacon frame as in the superframe communication mode. broadcast.
  • the EGTS communication mode information exchange can be performed between the transmitting node and the receiving node, and the receiving node determines the allocation of the EGTS.
  • FIG. 1 is a signaling flowchart of a three-way handshake application process in the process of applying for an EGTS according to an embodiment of the present invention.
  • the node A is a sending node.
  • Node B is a receiving node, and node D and node C are neighbor nodes around node A and node B, respectively.
  • Step 101 Node A sends an EGTS request (request) command frame to the node B.
  • the EGTS request command frame includes the time and channel resources of the node A being idle, that is, the part of the ABT information including the node A in the EGTS request command frame.
  • Step 102 After receiving the EGTS request command frame of the node A, the node B compares its own ABT with the ABT information of the node A carried in the EGTS request command frame, and selects that both the node A and the node B are in an idle state. Gap and channel resources. Node B then loads the selected ABT resource information into In the EGTS response (Rep ly) command frame, it is sent out as a broadcast.
  • a hop range node around the Node B for example: Node A, Node C can receive the broadcast information.
  • the node C that receives the EGTS response broadcast frame of the Node B modifies its own ABT according to the ABT information carried in the broadcast information, and identifies the resource occupied by the Node B as occupied, so that it will not be in the subsequent communication process.
  • a communication conflict occurs between Node B and Node C.
  • Step 1 03 After receiving the EGTS response command frame of the Node B, the node A also marks the resource determined by the Node B as being occupied in its own ABT, and then the node A sends an EGTS notification in a broadcast form (No ti fy).
  • the command frame, the EGTS notification command frame includes the ABT information that has been applied for.
  • the EGTS notification command frame informs the node A—each node within the hop range, such as node B and node D, has occupied the resources identified in the ABT table, and notifies the node B that the node A is ready to send information. Node A can then send information on the time and channel resources of the application.
  • canceling the EGTS also requires a three-way handshake cancellation process. Consistent with the application process, the command frame needs to be identified as canceling EGTS communication, and the content in the command frame is the designated cancelled ABT resource information.
  • the EGTS response command frame and the EGTS notification command frame are all sent out by broadcast. Except for the sending device node and the receiving device node, the surrounding device node does not acknowledge the EGTS response command frame and the EGTS notification command frame.
  • FIG. 2 is a flowchart of a first embodiment of a resource management method according to an embodiment of the present invention. As shown in FIG. 2, the resource management method includes:
  • Step 201 Acquire a bit in the configuration bit chart of the first node that uses the occupied state.
  • each node stores its own ABT, which records the status of the channel itself and the channel and time slot resources used by its neighboring nodes. Since the neighbor nodes of each node are not necessarily identical, the ABT of each node even if it is an adjacent node may not be exactly the same. The difference in ABT between nodes results in the inability to update synchronization through the mutual copy of ABT.
  • the ABT can be updated according to the status of the EGTS resources used by the node itself and the application of EGTS resources by surrounding nodes.
  • Step 202 If the used bit in the occupied state satisfies a resource release condition, The corresponding time slot and channel resources in the configuration bit map are released.
  • Example 1 If the time slot and the channel resource corresponding to the bit in the configuration bit chart of the first node that has been in the occupied state are not used, the bit in the configuration bit chart is always occupied. The corresponding time slot and channel resources are released.
  • the maintenance of ABT information can be implemented on the node itself.
  • Each node periodically monitors the usage status of each bit in its own ABT. Once it finds that a certain bit is occupied for a long time, after a series of judgments, it can maintain the occupied ABT through its own operation, thereby realizing ABT. Regular updates.
  • the sending node of the EGTS resource is the first node, and the neighboring node of the first node is the second node.
  • the specific method for maintaining the time slot and the channel resource corresponding to the bit in the ABT is as follows: Checking the first node at the monitoring time Configuring whether the bit in the bit chart is in the occupied state is used by the first node, and if so, maintaining the occupied state; otherwise, the first node sends a broadcast query frame, where the broadcast query frame includes The usage status is always a bit of the occupied state; if the query response frame returned by the second node adjacent to the first node is received within a limited time, the use of the query status in the query response frame is always If the bit of the occupied state is used, the bit in the occupied state is always used by the second node to maintain the occupied state; if the query response frame returned by the second node is not received within the limited time, And releasing the time slot and channel resources corresponding to the bits in the configuration bit map of the first node
  • the method for obtaining the bit in the configuration bit map of the first node that is always in the occupied state in the monitoring time may be:
  • the first node starts a timer inside the device for recording the number of cycles of the EGTS, and presets The monitoring time is N EGTS periods.
  • the monitoring time is N EGTS periods.
  • the first node checks its own ABT, and records the bit in the occupied state marked "1"; after another EGTS cycle, the first node will One week
  • the ABT of the current record occupation status is compared with the ABT of the current cycle. For example: The logical calculation can be performed through two tables to obtain the bits that are still occupied in the current EGTS cycle, and the bits are recorded; and the current cycle can be released at the same time.
  • a bit record of the idle state that is marked as "0".
  • the first node obtains information of bits that have been occupied in the ABT for N EGTS periods. There may be more than one bit that has been occupied.
  • the first node For a bit that is always occupied, the first node first queries whether it is using the time slot and channel resources corresponding to the bit. If the first node itself requests and is using the resource, the first node does not process the bit that has been occupied, keeping the bit "1" unchanged. If the bit that is always in the occupied state is not the resource requested by the first node itself, the first node needs to send a query broadcast frame to the neighboring node, that is, the second node, to ask whether the neighboring node is using the bit. The resources represented. If the first node does not receive the query response frame returned by any adjacent second node in a limited time, it indicates that the bit that has been occupied is not used by the second node, and is a legacy resource.
  • the first node may clear the bit in the ABT that is always occupied, thereby releasing the time slot and channel resources corresponding to the bit. If the first node receives the query response frame returned by the adjacent second node, and the query response frame includes the bit that has been occupied, the bit that is always occupied is being used by the first node. The second node of the neighbor is used, which is not a legacy resource. The first node does not process this bit, and keeps the bit unchanged as "1".
  • the broadcast query frame sent by the first node to the neighboring second node may include an address of the first node itself, and the ABT of the first node is always a bit of the occupied state.
  • Broadcast query frame The specific format is shown in Table 2:
  • the header of the broadcast query frame may include the first node of the broadcast query frame.
  • the address, the command identifier indicates that the command is a broadcast query frame, and the bit variable that has been occupied for the status identifies the resource that has been occupied and needs to be released.
  • the second node adjacent to the first node queries the resource occupied by the second node's own ABT. If the bit carried in the variable in the broadcast query frame is the resource occupied by the second node, The second node sends the information in a unicast manner to the first node that sends the broadcast query frame, and notifies the first node that a bit that is always occupied is used by the second node, and does not need to be cleared. If the bit identified in the broadcast query frame does not have the resources occupied by the second node, the second node does not respond.
  • the specific query response frame is shown in Table 3 below.
  • Table 3 Query Response Frame
  • the frame header of the query response frame includes the address of the second node itself
  • the query response frame variable includes information of the bit occupied by the second node itself that needs to be declared.
  • the first node can effectively clean up resources that are occupied by the ABT for a long time, and release more available channels and time slot resources.
  • extending the time period of ABT detection appropriately does not require frequent querying of ABT, thereby improving network efficiency.
  • Example 2 if the number of bits in the configuration bit map of the first node is in the occupied state or the proportion in the configuration bit chart reaches the set value, or the network running time reaches the set value, The time slot and channel resources corresponding to some or all of the bits in the configuration bit map are released.
  • the first node When the time slot and channel resources corresponding to the occupied status bits in the resources available in the ABT of the first node reach a set value, for example, the proportion of the occupied status bits reaches 90% or reaches 100%, or the network When the running time reaches a certain set value, the first node releases some or all of the resources in its own ABT, and clears some or all of the bits in the ABT, thereby forcibly releasing the resources for subsequent EGTS. Can be applied for normal use.
  • a counter for counting the bits of the ABT occupation status may be set inside the first node, and when the usage rate of the ABT usage or the usage status is occupied, the number of the occupied bits has reached a certain set value or After the network running time reaches a certain period, the counter will trigger the ABT clearing mechanism inside the device node.
  • the first node resets some or all of the bits in the ABT to “0” according to the communication status of the current network; for example: If the current network communication is relatively frequent, the first node may arbitrarily select an ABT.
  • the resources corresponding to the consecutive bits are released, or the resources corresponding to the several bits are randomly selected for release; if the amount of data of the current network communication is not large, the first node may clear all the bits of the ABT.
  • the ABT release operation may be started, and the ABT resource may be completely cleaned or the operation of releasing some resources may be continued. . You do not need to send the query information before cleaning the ABT, you can directly perform the corresponding operation.
  • the first node After the operation of releasing the resource is completed, the first node sends a broadcast command frame to all the neighboring second nodes, for example: an EGTS notification command frame, notifying the surrounding second node that the ABT has been reset, and the second node is subsequently applied for EGTS resources provide the necessary information.
  • the second node After receiving the broadcast of the first node, the second node may not operate, and may also release some resources in its own ABT.
  • Example 3 If a bit in the configuration bit map of the first node is in an occupied state, the usage state in the second node adjacent to the first node is an idle state, and the bit is not For use by the first node, the time slot and channel resources corresponding to the bit are released.
  • the first node listens to the ABT information broadcast published by the surrounding nodes. If the first node finds that one of its own bits is occupied, the support is marked as "1"; and in the ABT of all neighboring second nodes The same bit is idle, and the hypothesis is marked as "0", which is not occupied.
  • the first node can query whether it is using the time slot and channel resources corresponding to the bit, if the first node finds that it does not use the bit. For the corresponding time slot and channel resource, the corresponding time slot and channel resource of the bit are considered to be legacy resources that have not been cleared. Therefore, the bit can be cleared to "0", and the legacy resource is released.
  • the clearing operation is not performed. Due to the unreliability of the broadcast, when the resource that has applied for the use of the EGT S is released by the requesting node, if the receiving device node and the surrounding device node of the transmitting device node do not listen to two broadcast command frames in the EGTS release process: EGTS response The command frame and the EGTS notification command frame will not release the corresponding resources, but will continue to retain the information occupied by the corresponding resources in their own ABT, so that the ABT resources are gradually consumed, and the data communication collision occurs during the EGT S communication process.
  • Example 1 adopts a partial release method to release resources that are occupied by ABT for a long time.
  • Example 2 uses all resource release methods to further prevent ABT overflow and maintain normal operation of the entire network.
  • FIG. 3 is a flowchart of a second embodiment of a resource management method according to an embodiment of the present invention. As shown in FIG. 3, the resource management method includes:
  • Step 301 Obtain a usage status of each bit in the configuration bit chart of the first node.
  • Step 302 Select, according to a usage state of each bit in the configuration bit chart of the second node adjacent to the first node, a configuration bit chart in the configuration bit chart of the first node and the second node.
  • the time slot corresponding to the bit in the idle state is used to communicate with the channel resource. Specifically, it can be divided into the following cases:
  • step 302 is specifically:
  • the bit that is selected from the first node configuration bit map is an idle state bit and the pre-saved second node.
  • the corresponding bits in the configuration bit chart are compared, and the time slot corresponding to the bit in the idle state and the channel resource are used to communicate in the configuration map of the first node configuration bit chart and the configuration bit chart of the second node.
  • the devices of each node in the network can record all the neighbor nodes.
  • ABT When each node periodically broadcasts its latest ABT, its neighboring nodes receive the ABT information of the node, update the ABT of the node stored by the neighboring node, and update the ABT of the neighboring node stored in the node. Specifically, the ABT of all the second nodes adjacent to each other may be recorded at the first node. In the process of the first node requesting the EGTS from the second node, the first node may first select a piece of available resources from its own ABT table, that is, the bit in the idle state, and the stored ABT of the second node.
  • the first node reselects the available resources; if there is no conflict, the data of the available resources is sent to the second node to perform an EGTS application process.
  • the second node selects available resources for communication of the EGTS according to its own ABT and the ABT of the neighboring node stored by itself, and sends the available resources to the first node.
  • the first node may broadcast the related information of the available resources after receiving the response of the second node.
  • step 302 is specifically:
  • the bit selected from the first node configuration bit chart is an idle state bit and the pre-saved difference record table
  • the corresponding bits are combined, the bits in the occupied state are marked, and the time slots corresponding to the bits in the idle state are selected to communicate with the channel resources.
  • the ABT information of the neighboring nodes may not be recorded in all the nodes, but the difference between the ABT of each neighboring node and the ABT of the node itself may be recorded, and a more detailed ABT difference record is generated and saved. table.
  • the process of generating the difference record table is specifically as follows: The first node periodically broadcasts its own ABT, and the second node adjacent to the first node compares with its own ABT after receiving the first node ABT, and checks whether there is a difference.
  • the second node may not respond; if the second node finds that there is an inconsistency between the two, the second node responds to the inconsistent place to initiate The first node of the broadcast (which can be implemented by the EGTS response command frame) and at the second node Record inconsistencies. After all the second nodes adjacent to the first node notify the first node of the difference by broadcasting, the first node can generate and save the difference record table of the ABT according to the records of the differences, so as to be used at the time of the EGTS application. .
  • the first node in the process that the first node applies for the EGTS to the second node, the first node first selects a piece of available resources from its own ABT, and stores it with itself.
  • the ABT difference record table is compared, that is, the selected ABT and the corresponding ABT difference record table are merged, and the occupied resources are marked, that is, the use status is the occupied status bit.
  • These already occupied resources include not only the resources occupied by the first node of the application resource but also the resources occupied by all the second nodes adjacent to the first node.
  • the first two steps of the first node to apply for the EGTS process The EGTS response and the EGTS notification remain essentially unchanged.
  • the first node may select to use the time slot corresponding to the bit in the idle state to communicate with the channel resource.
  • the method for releasing the time slot and channel resources corresponding to the bits of the ABT in this embodiment may specifically include the following examples:
  • Example 1 If the time slot and the channel resource corresponding to the bit in the configuration bit chart of the first node that has been in the occupied state are not used, the bit in the configuration bit chart is always occupied. The corresponding time slot and channel resources are released.
  • Example 2 if the number of bits in the configuration bit map of the first node is in the occupied state or the proportion in the configuration bit chart reaches the set value, or the network running time reaches the set value, The time slot and channel resources corresponding to any bit in the configuration bit map are released.
  • Example 3 If the time slot and channel resources corresponding to the occupied state bits are used in the configuration bit chart of the first node, the usage status in the second node adjacent to the first node is idle. a state, and the time slot and channel resources corresponding to the bit are not used by the first node, and the time slot and channel resources corresponding to the bit are released.
  • each of the ABTs of the first node and the second node may be used.
  • the use status of the bits is selected, and the time slot corresponding to the bit in the idle state is selected to communicate with the channel resource, and the ABT of the neighboring second node may be added to the first node or
  • ABT's difference record table which significantly reduces the data communication collision caused by EGTS communication, reduces the legacy resources of ABT, and reduces the release frequency of ABT corresponding resources and the probability of ABT overflow.
  • FIG. 4 is a flowchart of a third embodiment of a resource management method according to an embodiment of the present invention. As shown in FIG. 4, the resource management method includes:
  • Step 401 Determine that the received broadcast command frame is valid.
  • Step 402 Update a corresponding bit in the configuration bit map according to the received broadcast command frame.
  • the broadcast command frame includes an extended guaranteed time slot communication response command frame or an extended guaranteed time slot communication notification command frame, wherein the method for determining whether the received broadcast command frame is valid is, for example, the method: if the received broadcast is received The broadcast command frame is valid if the signal characteristic value of the command frame is greater than the set reception threshold.
  • the node can preset a certain threshold, for example: Receive threshold to determine whether the broadcast command is valid.
  • Receive threshold to determine whether the broadcast command is valid.
  • the node receives the broadcast command frame of the EGTS, for example, the EGTS response command frame or the EGTS notification command frame, the node performs measurement according to the signal feature values corresponding to the two broadcast command frames, if the signal feature value of the broadcast command frame is greater than the preset value.
  • the broadcast command frame is considered to be valid, and the ABT of the node is updated accordingly. If the signal feature value of the broadcast command frame is less than a preset threshold, the broadcast command frame is considered invalid.
  • the node's ABT operates.
  • the signal characteristic value of the broadcast command frame may be, but not limited to, a link quality indication value (LQ I ) or a signal strength value.
  • the received broadcast command frame includes a source address, and the source address is determined in the neighbor table according to the neighbor table carried by the node, and then the broadcast command frame is determined to be sent by the neighboring node, and the broadcast command is sent.
  • the frame is valid.
  • the node can determine whether the EGTS broadcast command frame is valid according to the neighbor table stored by itself.
  • the node when receiving the broadcast command frame (the EGTS response command frame and the EGTS notification command frame) of the EGTS, the node checks whether the source address included in the broadcast command frame is in the neighbor table stored by the node, and if yes, the description The broadcast command is sent by the neighboring node, and the broadcast command frame is considered to be valid, and the ABT is operated accordingly; if the broadcast command frame is not sent by the neighboring node, the broadcast command frame is considered invalid, and the broadcast command may be used. The frame is ignored.
  • the broadcast command frame the EGTS response command frame and the EGTS notification command frame
  • the second embodiment of the resource management method provided by the embodiment of the present invention may also be used for communication, and may also be implemented according to the present invention.
  • Example Resource Management Method The method of the first embodiment maintains the ABT.
  • the ABT management and maintenance in the node may be restricted to the node and the neighbor nodes within the range of one hop, thereby reducing the node hop.
  • the other nodes outside the range interfere with the ABT in the node, reduce the data communication collision caused by the EGTS communication, reduce the legacy resources of the ABT, and ensure the normal operation of the entire network.
  • the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
  • FIG. 5 is a schematic structural diagram of a first embodiment of a resource management device according to an embodiment of the present invention.
  • the resource management device includes: a first acquiring module 51 and a resource releasing module 52.
  • the first obtaining module 51 is configured to obtain a bit in the configuration bit chart of the first node that is in an occupied state.
  • the resource release module 52 is configured to release the corresponding time slot and channel resources in the configuration bit chart if the bit in the usage state is the resource release condition.
  • the resource release module 52 may include any one or more of the first resource release submodule 521, the second resource release submodule 522, and the third resource release submodule 523.
  • the first resource release sub-module 521 is configured to: if the time slot and the channel resource corresponding to the bit in the configuration bit map of the first node that is always in the occupied state are not used, The use of the time slot and the channel resource corresponding to the bit in the occupied state is used;
  • the second resource release sub-module 522 is configured to use the number of bits in the configuration bit map of the first node in the occupied state or When the ratio in the configuration bit map reaches a set value, or the network running time reaches a set value, the time slot and channel resources corresponding to any bit in the configuration bit chart are released;
  • a third resource release sub-module 52 3 configured to: if a time slot corresponding to a used state in the configuration bit map of the first node is used, and a channel resource corresponding to the second node adjacent to the first node The usage state in the node is an idle state, and the time slot and channel resources corresponding to the bit are not used by the first node, and the time slot and channel resources corresponding to the bit are released.
  • each node stores its own ABT, which records the status of the channel itself and the channel and slot resources used by its neighboring nodes. It is assumed that the sending node that applies for the EGTS resource is the first node, and the neighboring node of the first node is the second node, and the first obtaining module 51 can statistically obtain that the usage state in the configuration bit chart of the first node is always occupied. Bit. If the time slot and channel resources corresponding to the bit in the occupied state of the ABT in the first node in the monitoring time are not used by the first node or the second node, the first resource release submodule 521 will ABT.
  • the used state is always the time slot and channel resource corresponding to the occupied bit; if the number of bits in the ABT of the first node is the occupied state or the proportion in the ABT reaches the set value, or the network
  • the second resource release sub-module 522 releases the time slot and channel resources corresponding to any (partial or all) bits in the ABT; if the ABT in the first node uses the occupied state bit
  • the time slot and the channel resource corresponding to the bit are in an idle state in the second node adjacent to the first node, and the time slot and channel resource corresponding to the bit are not the first node
  • the third resource release sub-module 52 3 releases the time slot and channel resources corresponding to the bit.
  • the resource releasing module may release the bit in the ABT of the first node that satisfies the resource release condition, thereby A node itself manages channel and time slot resources, reduces the consumption of ABT resources and the probability of data communication collisions in the network, and prevents ABT from overflowing.
  • FIG. 6 is a schematic structural diagram of a second embodiment of a resource management device according to an embodiment of the present disclosure.
  • the resource management device includes: a second obtaining module 61 and a selecting module 62.
  • the second obtaining module 61 is configured to obtain a usage status of each bit in the configuration bit chart of the first node.
  • the selecting module 62 is configured to select, according to a usage state of each bit in the configuration bit chart of the second node adjacent to the first node, in a configuration bit chart of the first node and the second node
  • the configuration bit map uses the time slot corresponding to the bit in the idle state to communicate with the channel resource.
  • each node stores its own ABT, which records the status of the channel itself and the channel and time slot resources used by its neighboring nodes. It is assumed that the sending node that applies for the EGTS resource is the first node, and the neighboring node of the first node is the second node, where the first node can also save the ABT or the second node and the first node of all the second nodes adjacent thereto. ABT difference record table. After the second obtaining module 61 acquires the usage status of each bit in the ABT of the first node, the selecting module 62 may select the first node according to the usage status of each bit in the ABT of the second node adjacent to the first node. In the ABT and the ABT of the second node, the time slot corresponding to the bit in the idle state is used to communicate with the channel resource.
  • the selection module 62 can include: a first comparison selection sub-module 622 or a second comparison selection sub-module 623.
  • the first comparison selection sub-module 622 is configured to: in the first node, pre-save the configuration bit map of the second node, the usage status selected from the first node configuration bit chart is an idle state. Bits and corresponding bits in the configuration bit map of the second node saved in advance For comparison, it is selected to communicate in the first node configuration bit map and the configuration bit map of the second node using the time slot corresponding to the bit in the idle state and the channel resource.
  • a second comparison selecting sub-module 623 configured to configure a bit chart from the first node in a case where the difference record table of the configuration map of the second node and the first node is pre-stored in the first node
  • the selected bit in the idle state is merged with the corresponding bit in the difference record table stored in advance, and the bit in the use state is occupied, and the bit corresponding to the use state in the idle state is selected.
  • the gap communicates with the channel resources.
  • the resource management device may further include any one or more of the first resource release module 63, the second resource release module 64, and the third resource release module 65.
  • the first resource release module 63 is configured to use the configuration bit chart if the time slot corresponding to the bit in the configuration bit chart of the first node and the channel resource corresponding to the occupied state are not used. The time slot and the channel resource corresponding to the bit in the occupied state are released; the second resource release module 64 is configured to: if the number of bits in the configuration bit map of the first node is in the occupied state, or When the ratio in the configuration bit map reaches a set value, or the network running time reaches a set value, the time slot and channel resources corresponding to any bit in the configuration bit chart are released;
  • a third resource release module 65 configured to: if a time slot and a channel resource corresponding to a bit in a configuration state in the configuration bit map of the first node are in a second node adjacent to the first node, The usage state is an idle state, and the time slot and channel resources corresponding to the bit are not used by the first node, and the time slot and channel resources corresponding to the bit are released.
  • the second obtaining module may acquire each of the first nodes.
  • the selection module selects the time slot corresponding to the bit in the idle state and the channel resource according to the ABT of the second node, and may add a comparison between the adjacent second node in the first node.
  • ABT or ABT difference record table which significantly reduces the data communication collision caused by EGTS communication, reduces the legacy resources of ABT, and reduces the release frequency of ABT corresponding resources and the probability of ABT overflow.
  • FIG. 7 is a schematic structural diagram of a third embodiment of a resource management device according to an embodiment of the present invention, as shown in FIG.
  • the resource management device includes: a determining module 71 and an updating module 72.
  • the determining module 71 is configured to determine that the received broadcast command frame is valid
  • the updating module 72 is configured to update a corresponding bit in the configuration bit map according to the received broadcast command frame.
  • the broadcast command frame may include an extended guaranteed slot communication response command frame or an extended guaranteed time slot communication notification command frame.
  • the determining module 71 may include: a first determining sub-module 71 1 and/or a second determining sub-module 712.
  • the first determining sub-module 71 1 is configured to: if the received signal feature value of the broadcast command frame is greater than a set receiving threshold, the broadcast command frame is valid.
  • the node may preset a certain threshold value, for example, a threshold value to determine whether the broadcast command is valid.
  • the broadcast command frame is valid information, and the ABT of the node is updated accordingly; if a broadcast command is received If the signal characteristic value of the frame is lower than the receiving threshold, the broadcast command frame may be ignored, and the ABT of the node is not operated.
  • the signal feature value of the broadcast command frame may be, but not limited to, a link quality indicator value (LQ I ) or a signal strength value.
  • the received broadcast command frame includes a source address, and if the source address is in a neighbor table of a node that receives the broadcast command frame, determining the broadcast command frame
  • the broadcast command frame is valid for the neighbor node.
  • the node receives the broadcast command frame of the EGTS (the EGTS response command frame and the EGTS notification command frame)
  • the node checks the broadcast command frame. Whether the source address included in the neighbor table stored by the node that receives the broadcast command frame, if yes, indicating that the broadcast command is sent by the neighboring node, the broadcast command frame can be considered valid, and the ABT is performed. Corresponding operation; If the broadcast command frame is not sent by a neighboring node, the command that considers the broadcast command frame invalid may be ignored by the broadcast command frame.
  • the resource management device in this embodiment may further include each module in the first embodiment of the resource management device provided by the embodiment of the present invention, or may further include the second embodiment in the resource management device provided by the embodiment of the present invention. Each module.
  • the determining module may limit the management and maintenance of the ABT in the node to the neighbor node within the range of one hop according to the signal feature value or the neighbor table, etc., thereby reducing The other nodes outside the one-hop range of the node interfere with the ABT in the node, reduce the data communication collision caused by the EGTS communication, reduce the legacy resources of the ABT, and ensure the normal operation of the entire network.
  • receiving in the above embodiments of the invention may be understood as actively acquiring information from other modules or receiving information transmitted by other modules.
  • the above modules can be combined into one module, or they can be further split into multiple submodules.
  • the program is instructed to complete the associated hardware, and the program can be stored in a computer readable storage medium.

Landscapes

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

Description

资源管理方法及设备 本申请要求于 2009年 9月 18 日提交的, 申请号为 200910175576. 0, 发 明名称为 "资源管理方法及设备,, 的中国申请的优先权, 其全部内容通过引 用结合在本申请中。
技术领域
本发明涉及通信领域, 尤其涉及一种资源管理方法及设备。 背景技术
无线传感网络是一种应用广泛的无线网络, 能够适应多种现实智能环境, 具有以其自组织、 自管理、 自节能、 可靠性高、 造价低和适用于恶劣环境等 特点,被广泛应用于军事、 医疗卫生、 环境保护和交通等领域。 采用信标能使 网络的无线传感网络, 所支持的超帧结构包括: 信标时段、 信道竟争访问时 ^ ( Content ion Acces s Per iod, 简称: CAP )、 信道无竟争时段( Content ion Free Per iod , 简称: CFP )和非活跃期。 在超帧的信道竟争访问期的通信结 束后, 网络进入为确保设备间通信服务的信道无竟争时段, 信道无竟争阶段 的通信由保证时隙组成。
扩展保证时隙通信(Enhanced Guaranteed Time S lot , 简称: EGTS )是 在现有的超帧结构通信方式的基础上, 引入的多信道同时通信的方法。 EGTS 不仅对时隙资源进行分配, 还对信道资源进行分配, 使不同的设备可以在不 同的时间和信道上进行通信, 资源分配的要求更加复杂。 在扩展保证时隙通 信中, 时隙与信道的资源信息都存在于配置位图表中(Al loca t ion Bi tmap Table , 简称: ABT)。 具体地, 在 EGTS通信方式中, 采用三次握手过程, 为各 个设备申请或释放资源。 采用 EGTS请求命令帧、 EGTS应答命令帧、 EGTS通知 命令帧为各个设备节点申请或释放资源。 由于广播的不可靠性, 当已经申请 使用 EGTS的资源被申请节点释放掉时, 如果接收设备节点与发送设备节点的 周围设备节点没有监听到 EGTS释放过程中的两个广播命令帧: EGTS应答命令 帧、 EGTS通知命令帧, 将不释放相应资源, 而会在自己的 ABT中继续保留该相 应资源被占用的信息。 在现有技术中, 在系统运行时, ABT资源逐渐被消耗, 增加了 EGTS通信 过程中发生数据通信碰撞的概率, 长期运行将导致 ABT 溢出, 使网络中的节 点找不到可以分配的时隙和信道资源。 发明内容
本发明实施例提供一种资源管理方法及设备。
本发明实施例提供一种资源管理方法, 包括:
获取第一节点的配置位图表中使用状态为占用状态的比特位;
若所述使用状态为占用状态的比特位满足资源释放条件, 则将所述配置 位图表中对应的时隙和信道资源释放。
本发明实施例又提供一种资源管理方法, 包括:
获取第一节点的配置位图表中各个比特位的使用状态;
根据与所述第一节点相邻的第二节点的配置位图表中各个比特位的使用 状态, 选取在所述第一节点的配置位图表中以及所述第二节点的配置位图表 中使用状态为空闲状态的比特位对应的时隙和信道资源进行通信。
本发明实施例再提供一种资源管理方法, 包括:
确定接收到的广播命令帧有效;
根据接收到的所述广播命令帧更新配置位图表中对应的比特位。
本发明实施例还提供一种资源管理设备, 包括:
第一获取模块, 用于获取第一节点的配置位图表中使用状态为占用状态 的比特位;
资源释放模块, 用于若所述使用状态为占用状态的比特位满足资源释放 条件, 则将所述配置位图表中对应的时隙和信道资源释放。 本发明实施例还提供一种资源管理设备, 包括:
第二获取模块, 用于获取第一节点的配置位图表中各个比特位的使用状 态;
选取模块, 用于根据与所述第一节点相邻的第二节点的配置位图表中各 个比特位的使用状态, 选取在所述第一节点的配置位图表中以及所述第二节 点的配置位图表中使用状态为空闲状态的比特位对应的时隙和信道资源进行 通信。
本发明实施例还提供一种资源管理设备, 包括:
确定模块, 用于确定接收到的广播命令帧有效;
更新模块, 用于根据接收到的所述广播命令帧更新配置位图表中对应的 比特位。
本发明实施例提供的资源管理方法及设备, 将第一节点的 ABT 中满足资 源释放条件的占用状态的比特位释放, 可以在第一节点自身实现对信道与时 隙资源的进行管理, 减少网络中 ABT 资源的消耗和数据通信碰撞的概率, 防 止 ABT的溢出。 附图说明
图 1为本发明实施例申请 EGTS的过程中三次握手申请过程的信令流程图; 图 2为本发明实施例提供的资源管理方法第一实施例的流程图; 图 3为本发明实施例提供的资源管理方法第二实施例的流程图; 图 4为本发明实施例提供的资源管理方法第三实施例的流程图; 图 5为本发明实施例提供的资源管理设备第一实施例的结构示意图; 图 6为本发明实施例提供的资源管理设备第二实施例的结构示意图; 图 Ί为本发明实施例提供的资源管理设备第三实施例的结构示意图。 具体实施方式
下面通过附图和实施例, 对本发明实施例的技术方案做进一步的详细描 述。 无线传感网络可以采用非信标能使网络和信标能使网络。 在非信标使能 网络当中, 设备不会周期性的发送信标, 设备之间的通信一般是异步的;在信 标能使网络中选用以超帧为周期组织无线传感器网络内设备间的通信。 信标 能使网络所支持的超帧结构由信标时段、 信道竟争访问时段、 信道无竟争时 段和非活跃期组成, 具体格式由规定超帧的协调器定义。 其中信标时段、 信 道竟争访问时段和信道无竟争时段组成了超帧的活跃期。 超帧的活跃期包括 16个大小相等的时隙, 信标帧在超帧的第一个时隙中进行传输。 每个超帧周 期都以网络协调器发出信标帧开始, 信标帧中包含了该超帧周期持续的时间、 超帧的整体结构、 每阶段时间的安排以及各个设备的时间同步等信息。 网络 中的设备在接收到信标帧后, 根据信标帧中的信息完成网络同步并明确该设 备在这个超帧周期内是否承担数据通信任务。
在超帧的信道无竟争阶段的通信由保证时隙组成, 一个超帧中可以包括 若干个保证时隙, 被分配有保证时隙的每个设备必须保证其通信在下一个保 证时隙到来之前完成。 在完成设备活跃阶段后, 无线传感器网络中的设备将 进入休眠状态以节省能量, 等待下一个超帧周期的到来。 在无线网络通信中, 各个设备可以在一个信道上完成保证时隙通信, 也可以通过跳频方式在多个 信道上完成保证时隙通信。 相对于单一信道通信方式, EGTS在多个信道通信 可以扩充网络系统的通信容量, 将时隙资源和信道资源进行了分配, 使不同 的设备可以在不同的时间和信道上进行通信。 在 EGTS中, 时隙与信道的资源 信息存储的配置位图表, 一般是一种包含不同比特信息的二维表格, 如表 1所
表 1 配置位图表 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Slotl 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0
Slot2 1 0 0 0 0 0 0 0 0 1 1 0 0 1 1 0
Slot3 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0
Slot4 0 0 0 0 0 0 0 0 1 1 0 0 0 1 1 0
Slot5 1 0 1 1 0 0 0 1 0 0 0 0 1 0 0 0
Slot6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Slot7 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 上述的 ABT为一个 EGST中 7个时隙 ( slot ) x l6个信道使用情况, 其中每 个信道在每个时隙的状态由一个比特位表示, "0" 代表该时隙和信道资源没 有被占用, "1" 代表该时隙和信道资源被占用。
假设每个设备为一个节点, 在使用 EGTS方式的通信中, 如果节点一需要 向节点二发送数据, 可以预先向节点二申请使用一个时隙和信道资源, 资源 申请成功后, 节点一将自己的 ABT中该资源相对应的比特位标识为 "1" 。 在 该资源使用完毕后, 节点一与节点二将该资源释放, 将各自的 ABT中相应的位 置标识为 "0" 。 在 EGTS方式通信中, 由于时隙和信道结合在一起进行分配, 数据的信息量比较庞大, 在信标帧中可以不包含节点中 ABT的全部信息。 由于 EGTS通信是适用于网格(mesh) 网络, 在 mesh网络中, 一般采用点对点的方 式进行通信, 因此 ABT不能像在超帧通信方式中那样通过信标帧在一跳范围内 对 ABT信息进行广播。 针对 EGTS通信方式, 可以在发送节点和接收节点之间进 行信息交互, 并且由接收节点来决定 EGTS的分配。
在 EGTS通信方式中, 申请 EGTS的过程需要进行三次握手申请, 图 1为本发 明实施例申请 EGTS的过程中三次握手申请过程的信令流程图, 如图 1所示, 节 点 A为发送节点, 节点 B为接收节点, 节点 D与节点 C分别是节点 A和节点 B周围 的邻节点。
步骤 101、 节点 A向节点 B发送一个 EGTS请求 ( request )命令帧, EGTS请 求命令帧中包括节点 A空闲的时间与信道资源, 即 EGTS请求命令帧中包括节点 A的部分 ABT信息。
步骤 102、 节点 B接收到节点 A的 EGTS请求命令帧后, 将自己的 ABT与 EGTS 请求命令帧中所携带的节点 A的 ABT信息进行对比, 选择出节点 A和节点 B都处 于空闲状态的时隙与信道资源。 然后, 节点 B将所选择的 ABT资源信息加载到 EGTS应答(Rep l y )命令帧中, 以广播形式发送出去。 节点 B周围一跳范围节 点例如: 节点 A、 节点 C可以接收到该广播信息。 此时, 接收到节点 B的 EGTS应 答广播帧的节点 C根据广播信息中所携带的 ABT信息修改自己的 ABT, 将节点 B 所占用的资源标识为已经占用, 这样在后续的通信过程中不会在节点 B和节点 C间产生通信沖突。
步骤 1 03、 节点 A在收到节点 B的 EGTS应答命令帧后, 也将节点 B所确定使 用的资源在自己的 ABT中标示为占用, 然后节点 A以广播形式发出一个 EGTS通 知(No t i fy )命令帧, EGTS通知命令帧中包括已经申请占用的 ABT信息。该 EGTS 通知命令帧通知节点 A—跳范围内的各个节点例如节点 B、 节点 D已经占用 ABT 表中所标识的资源, 并通知节点 B该节点 A已经做好发送信息的准备。 然后, 节点 A可以在申请的时间和信道资源上进行信息发送。
另外, 取消 EGTS也需要进行三次握手的取消过程, 与申请的过程一致, 需要将命令帧标识为取消 EGTS通信, 命令帧中的内容是指定取消的 ABT资源信 息。 此外, EGTS应答命令帧、 EGTS通知命令帧都是通过广播形式发送出去, 除了发送设备节点与接收设备节点外, 周围设备节点并不对 EGTS应答命令帧、 EGTS通知命令帧做出接收确认应答。
图 2为本发明实施例提供的资源管理方法第一实施例的流程图, 如图 2所 示, 该资源管理方法包括:
步骤 201、 获取第一节点的配置位图表中使用状态为占用状态的比特位。 在使用 EGTS通信方式的网络中, 每个节点中都保存各自的 ABT, 该 ABT表 格记录节点自身以及其周边节点使用的信道和时隙资源的状况。 由于各个节 点的邻节点并不一定完全相同, 每个节点即使是相邻节点的 ABT也不一定完全 相同。 而节点之间的 ABT的差异性导致不能通过全部相互拷贝 ABT实现更新同 步, 可以根据节点自身使用 EGTS资源的状况以及周围节点申请 EGTS资源的情 况来更新自己的 ABT。
步骤 202、 若所述使用状态为占用状态的比特位满足资源释放条件, 则将 所述配置位图表中对应的时隙和信道资源释放。
根据释放条件对 ABT中的时隙和信道资源进行释放的具体方法, 如以下几 种示例:
示例一、 若第一节点的配置位图表中使用状态一直为占用状态的比特位 所对应的时隙和信道资源未被使用, 则将所述配置位图表中使用状态一直为 占用状态的比特位对应的时隙和信道资源释放。
在一般传感器网络通信中, 由于收集信息的突发性以及间断性, 一般不 会长期占用特定的信道和时隙。 根据这一特性, 可以在节点自身实现对 ABT信 息的维护。 每个节点自身定期监测自己的 ABT中的各个比特位的使用状态, 一 旦发现某个比特位被长期占用, 经过一系列的判定, 可以通过自身的操作对 该占用 ABT进行维护, 从而实现对 ABT的定期更新。
§i申请 EGTS资源的发送节点为第一节点, 第一节点的邻节点为第二节 点, 则维护 ABT中比特位对应的时隙和信道资源的具体方法为: 在监测时间检 查第一节点的配置位图表中使用状态一直为占用状态的比特位是否为所述第 一节点所使用, 如果是, 则保持占用状态; 否则, 所述第一节点发送广播查 询帧, 所述广播查询帧中包括所述使用状态一直为占用状态的比特位; 若在 限定时间内接收到与所述第一节点相邻的第二节点返回的查询应答帧, 所述 查询应答帧中包括所述使用状态一直为占用状态的比特位, 则所述使用状态 一直为占用状态的比特位为所述第二节点所使用, 保持占用状态; 若在限定 时间内未接收到所述第二节点返回的查询应答帧, 则将所述第一节点的配置 位图表中使用状态一直为占用状态的比特位对应的时隙和信道资源释放。
其中, 在监测时间内统计得到第一节点的配置位图表中使用状态一直为 占用状态的比特位的方法可以为: 第一节点在设备内部启动一个定时器用于 记录 EGTS的周期数, 预先设定监测时间为 N个 EGTS周期。 在监测时间内, 经过 一个 EGTS周期, 第一节点检查一下自身的 ABT, 对其中标记为 " 1 " 即处于占 用状态的比特位进行记录; 当经过又一个 EGTS周期的后, 第一节点将上一周 期记录占用状态的 ABT和当前周期的 ABT进行对比, 例如: 可以通过两张表进 行与逻辑计算, 得到当前 EGTS周期中还处于占用状态的比特位, 记录下这些 比特位; 同时可以释放当前周期标记为 " 0"即可用的空闲状态的比特位记录。 经过 N个 EGTS周期后, 第一节点得到在 N个 EGTS周期内 ABT中一直为占用状态的 比特位的信息。 一直为占用状态的比特位可能为多个。
对于一直为占用状态的比特位, 第一节点首先查询自身是否正在使用该 比特位所对应的时隙和信道资源。 如果第一节点自身申请并正在使用的资源, 则第一节点并不对该一直为占用状态的比特位进行处理,保持该比特位为 " 1 " 不变。 如果该一直为占用状态的比特位不是第一节点自身所申请的资源, 则 第一节点需要向周围的邻节点即第二节点发出一个查询广播帧, 询问是否是 周边邻节点正在使用该比特位所代表的资源。 在限定的时间内, 第一节点如 果没有收到周围任何相邻的第二节点返回的查询应答帧, 则表示该一直为占 用状态的比特位没有被第二节点所使用, 是处于遗留的资源; 第一节点可以 将自身 ABT中的该一直为占用状态的比特位进行清零, 从而将该比特位对应的 时时隙和信道资源释放。 如果第一节点收到相邻的第二节点返回的查询应答 帧, 查询应答帧中包括一直为占用状态的比特位, 则说明该一直为占用状态 的比特位正在被第一节点的某一个相邻的第二节点所使用, 不是遗留的资源, 第一节点对此比特位不做处理, 保持该比特位为 " 1 " 不变。
第一节点向周围相邻的第二节点发送的广播查询帧中可以包括第一节点 本身的地址, 第一节点的 ABT中一直为占用状态的比特位等信息。 广播查询帧 具体的格式如表 2所示:
表 2 : 广播查询帧
Figure imgf000010_0001
表 2中, 广播查询帧的帧头内部可以包括发布广播查询帧的第一节点的地 址, 命令标识表明该命令是一种广播查询帧, 而一直为占用状态的比特位变 量标识出一直被占用的需要被释放的资源。
第一节点周围相邻的第二节点接收到广播查询帧后, 对应第二节点自身 ABT中占用的资源进行查询, 如果广播查询帧中变量所携带的比特位是第二节 点所占用的资源, 第二节点将该信息以单播形式发送给发送广播查询帧的第 一节点, 通知该第一节点某个一直为占用状态的比特位是该第二节点正在使 用的, 不需要清除。 如果广播查询帧中所标识的比特位没有第二节点所占用 的资源, 则第二节点不做应答。 具体的查询应答帧如下表 3所示。
表 3 : 查询应答帧
Figure imgf000011_0001
表 3中, 查询应答帧的帧头包括第二节点自身的地址, 在查询应答帧变量 包括需要申明的第二节点自身所占用的比特位的信息。
通过上述的查询与对比的过程, 第一节点可以对自身 ABT中长期占用的资 源进行有效的清理, 释放出更多的可用信道与时隙资源。 对于周期性传输数 据的网络, 适当延长 ABT检测的时间周期, 可以不需要频繁查询 ABT, 从而提 高网络的效率。
示例二、 若所述第一节点的配置位图表中使用状态为占用状态的比特位 的数目或在所述配置位图表中的比例达到设定值, 或网络运行时间达到设定 值, 则将所述配置位图表中部分或全部的比特位对应的时隙和信道资源释放。
当第一节点自身的 ABT中可用的资源中为占用状态的比特位对应的时隙 和信道资源达到设定值, 例如占用状态的比特位的比例达到 90 %或达到 1 00 % 时, 或者网络运行时间达到一定设定值时, 第一节点对自身的 ABT中的部分或 者全部资源进行释放, 将 ABT中的部分或者全部的比特位清零, 从而强制释放 出资源, 以便后续的在 EGTS中可以正常申请使用。 具体而言, 可以在第一节点内部设置一个对 ABT占用状态的比特位进行统 计的计数器, 当监测到 ABT的使用率或使用状态为占用状态的比特位的数目已 经到达某个设定值或者网络运行时间达到一定期限后, 计数器会触发设备节 点内部的 ABT清除机制。 此时第一节点会根据当前网络的通信状况, 对 ABT中 的部分或者全部的比特位进行重置为 " 0" 的操作; 例如: 如果当前网络通信 比较频繁, 第一节点可以任意选取一段 ABT中连续的比特位对应的资源进行释 放, 或, 随机选取几个比特位对应的资源进行释放; 如果当前网络通信的数 据量不多,第一节点可以将 ABT全部的比特位清零。 当然在部分释放的操作后, 如果第一节点的 ABT资源在限定的时间内又达到设定值, 则可以启动 ABT全部 释放的操作, 对 ABT资源进行彻底清理或者可以继续选择释放部分资源的操 作。 在清理 ABT之前并不需要发送查询信息, 可以直接进行相应的操作。 当释 放资源的操作完成后, 第一节点向周边相邻的所有第二节点发送广播命令帧 例如: EGTS通知命令帧, 通知周围的第二节点自己已经重置了 ABT, 为第二节 点后续申请 EGTS资源提供必要的信息。 第二节点在接收到第一节点的广播后, 可以不做操作, 也可以释放自己 ABT中部分资源。
示例三、 若所述第一节点的配置位图表中使用状态为占用状态的比特位, 在与所述第一节点相邻的第二节点中的使用状态为空闲状态, 且所述比特位 未为所述第一节点所使用, 则将所述比特位对应的时隙和信道资源释放。
第一节点监听到周围节点所发布的 ABT信息广播, 如果第一节点发现自 身的某个比特位为占用状态, 支设标记为 " 1 " ; 而周围所有相邻的第二节点 的 ABT 中的相同的比特位为空闲状态, 假设都标记为 " 0", 没有被占用; 第 一节点可以查询自己是否正在使用该比特位对应的时隙和信道资源, 如果第 一节点发现自身没有使用该比特位对应的时隙和信道资源, 则认为该比特位 的对应的时隙和信道资源是没有被清除的遗留的资源。 因此可以将该比特位 清除为 " 0", 释放出该遗留的资源。 如果第一节点发现是自身占用该比特位 对应的时隙和信道资源, 则不做清零操作。 由于广播的不可靠性, 当已经申请使用 EGT S的资源被申请节点释放掉 时, 如果接收设备节点与发送设备节点的周围设备节点没有监听到 EGTS释 放过程中的两个广播命令帧: EGTS应答命令帧、 EGTS通知命令帧, 将不释 放相应资源,而会在自己的 ABT中继续保留该相应资源被占用的信息,使 ABT 资源逐渐被消耗, 增加了 EGT S通信过程中发生数据通信碰撞的概率; 长期 积累将导致 A B T溢出, 使网络中的节点找不到可以分配的时隙和信道资源。 本实施例将第一节点的 ABT中满足资源释放条件的占用状态的比特位释放, 可以在第一节点自身实现对信道与时隙资源的进行管理, 减少网络中 ABT 资源的消耗和数据通信碰撞的概率, 防止 ABT的溢出。 其中, 示例一采取部 分释放的方法, 可以释放 ABT中被长期占用的资源; 示例二采用全部资源释 放的方法, 可以进一步防止 ABT的溢出, 维护整个网络正常的运行。
图 3为本发明实施例提供的资源管理方法第二实施例的流程图, 如图 3所 示, 该资源管理方法包括:
步骤 301、 获取第一节点的配置位图表中各个比特位的使用状态。
步骤 302、 根据与所述第一节点相邻的第二节点的配置位图表中各个比特 位的使用状态, 选取在所述第一节点的配置位图表中以及所述第二节点的配 置位图表中使用状态为空闲状态的比特位对应的时隙和信道资源进行通信。 具体可以分为以下情况:
情况一、 在第一节点中预先保存所述第二节点的配置位图表的情况下, 步骤 302具体为:
从所述第一节点的配置位图表中选取使用状态为空闲状态的比特位; 将 从第一节点配置位图表中选取的使用状态为空闲状态的比特位与预先保存的 所述第二节点的配置位图表中相应比特位进行比较, 选取在第一节点配置位 图表和第二节点的配置位图表中使用状态同为空闲状态的比特位对应的时隙 和信道资源进行通信。
在情况一中, 网络中的每个节点的设备内部可以记录所有的邻节点的 ABT。 当各个节点定期广播自己的最新的 ABT时, 其周围邻节点收到该节点 ABT 信息后, 更新该邻节点所存储的该节点的 ABT, 并更新该节点内部所存储的邻 节点的 ABT。 具体地, 在第一节点可以记录相邻的所有第二节点的 ABT。 在第 一节点向第二节点请 EGTS的过程中, 第一节点可以首先从自身的 ABT表格中选 取一段可用的资源即使用状态为空闲状态的比特位, 并且和所储存的第二节 点的 ABT进行对比, 判断是否有沖突, 即判断所选取的可用资源是否被第二节 点所占用。 如果有沖突, 则第一节点重新选取可用的资源; 如果没有沖突, 则将该可用的资源的数据发送给第二节点, 进行 EGTS的申请过程。 第二节点 在收到第一节点的申请后, 根据自身的 ABT和自身所储存的相邻的节点的 ABT 选择用于 EGTS的通信的可用资源, 发送给第一节点。 第一节点可以在收到第 二节点的应答后再将该可用资源的相关信息广播出去。
情况二、 在第一节点中预先保存所述第二节点与所述第一节点的配置位 图表的差异记录表的情况下, 步骤 302具体为:
从所述第一节点的配置位图表中选取使用状态为空闲状态的比特位; 将 从第一节点配置位图表中选取的使用状态为空闲状态的比特位与预先保存的 所述差异记录表中相应比特位进行合并, 标出使用状态为占用状态的比特位, 选取使用状态为空闲状态的比特位对应的时隙和信道资源进行通信。
在情况二中, 在各个节点中也可以不全部记录邻节点的 ABT信息, 而是记 录周围各个邻节点的 ABT与节点自身的 ABT的不同的地方, 产生并保存一个更 为详尽的 ABT差异记录表。 通过查询节点自身的 ABT信息和 ABT差异记录表, 减 少 EGTS通信中产生的通信碰撞与 ABT信息的遗留问题。 差异记录表的生成过程 具体为: 第一节点定期广播自己的 ABT, 周围与第一节点相邻的第二节点在接 收到第一节点 ABT后, 和自身的 ABT进行对比, 检查是否有差异。 如果广播中 的第一节点 ABT和第二节点自身的 ABT—致, 则第二节点可以不作应答; 如果 第二节点发现二者中存在不一致的地方, 则第二节点将不一致的地方应答给 发起广播的第一节点 (可以通过 EGTS应答命令帧实现) , 并且在第二节点自 身记录下不一致的地方。 在周围与第一节点相邻的所有第二节点都将差异通 过广播通知第一节点后, 第一节点可以根据这些差异的记录生成并保存 ABT的 差异记录表, 以便在 EGTS申请的时候加以使用。
在第一节点有 ABT的差异记录表的情况下, 在第一节点向第二节点申请 EGTS的过程中, 第一节点首先会从自身的 ABT中选取一段可用的资源, 并且和 自己所储存的 ABT的差异记录表进行对比, 即将所选取的 ABT和对应 ABT的差异 记录表合并, 标出已经占用的资源即使用状态为占用状态的比特位。 这些已 经占用的资源不仅包括申请资源的第一节点自身所占用的资源, 同时还包括 与第一节点相邻的所有第二节点所占用的资源。 而第一节点申请 EGTS过程的 后续两个步骤: EGTS应答和 EGTS通知基本保持不变。 第一节点可以选取使用 状态为空闲状态的比特位对应的时隙和信道资源进行通信。
此外, 本实施例中的释放 ABT的比特位对应的时隙和信道资源的方法, 具 体可以包括以下示例:
示例一、 若第一节点的配置位图表中使用状态一直为占用状态的比特位 所对应的时隙和信道资源未被使用, 则将所述配置位图表中使用状态一直为 占用状态的比特位对应的时隙和信道资源释放。
示例二、 若所述第一节点的配置位图表中使用状态为占用状态的比特位 的数目或在所述配置位图表中的比例达到设定值, 或网络运行时间达到设定 值, 则将所述配置位图表中任意比特位对应的时隙和信道资源释放。
示例三、 若所述第一节点的配置位图表中使用状态为占用状态的比特位 所对应的时隙和信道资源, 在与所述第一节点相邻的第二节点中的使用状态 为空闲状态, 且所述比特位所对应的时隙和信道资源未被所述第一节点所使 用, 则将所述比特位对应的时隙和信道资源释放。
上述的各个示例的具体可以参照本发明实施例提供的资源管理方法第一 实施例中的示例一到示例三中的相关描述。
本实施例, 在 EGTS的申请过程中可以根据第一节点、 第二节点的 ABT中各 个比特位的使用状态, 选取使用状态为空闲状态的比特位对应的时隙和信道 资源进行通信, 可以在第一节点中添加了对比周围相邻第二节点的 ABT或者
ABT的差异记录表, 从而明显减少 EGTS通信产生的数据通信碰撞, 减少 ABT的 遗留资源, 并降低 ABT对应资源的释放频率和 ABT溢出的概率。
图 4为本发明实施例提供的资源管理方法第三实施例的流程图, 如图 4所 示, 该资源管理方法包括:
步骤 401、 确定接收到的广播命令帧有效;
步骤 402、 根据接收到的所述广播命令帧更新配置位图表中对应的比特 位。
所述广播命令帧包括扩展保证时隙通信应答命令帧或扩展保证时隙通信 通知命令帧, 其中, 判断接收到的广播命令帧是否有效的发表方法例如: 方法一、 若接收到的所述广播命令帧的信号特征值大于设置的接收门限 值, 则所述广播命令帧有效。
节点可以预先设置一定的门限值, 例如: 接收门限值来确定该广播命令 是否有效。 在接收 EGTS相关广播命令的时候, 如果节点接收到广播命令帧的 信号特征值大于该接收门限值, 则该广播命令帧为有效的信息; 如果接收到 广播命令帧的信号特征值低于该接收门限值, 则可以忽略该广播命令帧。 因 此节点在接收到 EGTS的广播命令帧, 例如: EGTS应答命令帧或 EGTS通知命令 帧时, 根据这两个广播命令帧对应的信号特征值进行测量, 如果广播命令帧 的信号特征值大于预先设定的门限值, 则认为该广播命令帧有效, 对节点的 ABT进行相应的更新操作; 如果广播命令帧的信号特征值小于预先设定的门限 值, 则认为该广播命令帧无效, 不对节点的 ABT进行操作。 其中广播命令帧的 信号特征值可以是但不限于链路质量指示值(LQ I )或信号强度值等参数。
方法二、 接收到的所述广播命令帧中包括源地址, 根据节点自身所携带 的邻居表确定该源地址在邻居表中, 则确定该广播命令帧为邻居节点所发, 则所述广播命令帧有效。 节点可以根据自身存储的邻居表判断 EGTS广播命令帧是否有效。 具体地, 节点在接收到 EGTS的广播命令帧 (EGTS应答命令帧和 EGTS通知命令帧) 时, 检查该广播命令帧中所包含的源地址是否在节点所储存的邻居表中, 如果是, 说明是该广播命令是邻节点发出的, 可以认为该广播命令帧有效, 并对 ABT进 行相应的操作; 如果广播命令帧不是邻节点发出, 则认为该广播命令帧无效 的命令, 可以将该广播命令帧忽略。
另外, 按照本发明实施例提供的资源管理方法第三实施例的对广播命令 帧进行过滤后, 也可以按照本发明实施例提供的资源管理方法第二实施例进 行通信, 还可以按照本发明实施例提供的资源管理方法第一实施例的方法对 ABT进行维护。
本实施例根据信号特征值或邻居表等判断接收到的广播命令帧是否有 效, 可以将节点中 ABT的管理和维护限制节点及其一跳的范围之内的邻节点 中, 从而减少节点一跳范围之外的其他节点对节点中 ABT的干扰, 减少 EGTS通 信产生的数据通信碰撞, 减少 ABT的遗留资源, 保证整个网络正常的运行。
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述 的存储介质包括: R0M、 RAM, 磁碟或者光盘等各种可以存储程序代码的介质。
图 5为本发明实施例提供的资源管理设备第一实施例的结构示意图, 如图 5所示, 该资源管理设备包括: 第一获取模块 51和资源释放模块 52。
其中, 第一获取模块 51, 用于获取第一节点的配置位图表中使用状态为 占用状态的比特位;
资源释放模块 52, 用于若所述使用状态为占用状态的比特位满足资源释 放条件, 则将所述配置位图表中对应的时隙和信道资源释放。
进一步地, 资源释放模块 52可以包括第一资源释放子模块 521、 第二资源 释放子模块 522和第三资源释放子模块 523中的任意一个或者多个。 其中, 第一资源释放子模块 521, 用于若第一节点的配置位图表中使用状 态一直为占用状态的比特位所对应的时隙和信道资源未被使用, 则将所述配 置位图表中使用状态一直为占用状态的比特位对应的时隙和信道资源释放; 第二资源释放子模块 522, 用于若所述第一节点的配置位图表中使用状态 为占用状态的比特位的数目或在所述配置位图表中的比例达到设定值, 或网 络运行时间达到设定值, 则将所述配置位图表中任意比特位对应的时隙和信 道资源释放;
第三资源释放子模块 52 3, 用于若所述第一节点的配置位图表中使用状态 为占用状态的比特位所对应的时隙和信道资源在与所述第一节点相邻的第二 节点中的使用状态为空闲状态, 且所述比特位所对应的时隙和信道资源未为 所述第一节点所使用, 则将所述比特位对应的时隙和信道资源释放。
具体地, 在使用 EGTS通信方式的网络中, 每个节点中都保存各自的 ABT, 该 ABT表格记录节点自身以及其周边节点使用的信道和时隙资源的状况。 假设 申请 EGTS资源的发送节点为第一节点, 第一节点的邻节点为第二节点, 第一 获取模块 51在监测时间内可以统计得到第一节点的配置位图表中使用状态一 直为占用状态的比特位。 如果在监测时间内第一节点的 ABT中使用状态一直为 占用状态的比特位所对应的时隙和信道资源未被第一节点或第二节点所使 用, 则第一资源释放子模块 521将 ABT中使用状态一直为占用状态的比特位对 应的时隙和信道资源释放; 如果第一节点的 ABT中使用状态为占用状态的比特 位的数目或在在 ABT中的比例达到设定值, 或网络运行时间达到设定值, 则第 二资源释放子模块 522将 ABT中任意 (部分或全部) 的比特位对应的时隙和信 道资源释放; 如果第一节点的 ABT中使用状态为占用状态的比特位所对应的时 隙和信道资源, 在与第一节点相邻的第二节点中的使用状态为空闲状态, 且 所述比特位所对应的时隙和信道资源未为所述第一节点所使用, 则第三资源 释放子模块 52 3将所述比特位所对应的时隙和信道资源释放。 具体方法可以参 照本发明实施例提供的资源管理方法第一实施例中示例一到示例三的相关描 述。
本实施例第一获取模块获取第一节点的 ABT 中使用状态为占用状态的比 特位后, 资源释放模块可以将第一节点的 ABT 中满足资源释放条件的占用状 态的比特位释放, 从而在第一节点自身实现对信道与时隙资源的进行管理, 减少网络中 ABT资源的消耗和数据通信碰撞的概率, 防止 ABT的溢出。
图 6为本发明实施例提供的资源管理设备第二实施例的结构示意图, 如图 6所示, 该资源管理设备包括: 第二获取模块 61和选取模块 62。
其中, 第二获取模块 61, 用于获取第一节点的配置位图表中各个比特位 的使用状态;
选取模块 62, 用于根据与所述第一节点相邻的第二节点的配置位图表中 各个比特位的使用状态, 选取在所述第一节点的配置位图表中以及所述第二 节点的配置位图表中使用状态为空闲状态的比特位对应的时隙和信道资源进 行通信。
具体地, 在使用 EGTS通信方式的网络中, 每个节点中都保存各自的 ABT, 该 ABT表格记录节点自身以及其周边节点使用的信道和时隙资源的状况。 假设 申请 EGTS资源的发送节点为第一节点, 第一节点的邻节点为第二节点, 其中, 第一节点中还可以保存与其相邻的所有第二节点的 ABT或者第二节点与第一 节点的 ABT的差异记录表。 第二获取模块 61获取第一节点的 ABT中各个比特位 的使用状态后; 选取模块 62根据与第一节点相邻的第二节点的 ABT中各个比特 位的使用状态, 可以选取在第一节点的 ABT中以及第二节点的 ABT中使用状态 为空闲状态的比特位对应的时隙和信道资源进行通信。
进一步地, 选取模块 62可以包括: 第一比较选取子模块 622或第二比较选 取子模块 623。
其中, 第一比较选取子模块 622, 用于在所述第一节点中预先保存所述第 二节点的配置位图表的情况下, 将从第一节点配置位图表中选取的使用状态 为空闲状态的比特位与预先保存的所述第二节点的配置位图表中相应比特位 进行比较, 选取在第一节点配置位图表和第二节点的配置位图表中使用状态 同为空闲状态的比特位对应的时隙和信道资源进行通信。 参照本发明实施例 提供的资源管理方法第二实施例的中情况一的相关描述。
第二比较选取子模块 623, 用于在所述第一节点中预先保存所述第二节点 与所述第一节点的配置位图表的差异记录表的情况下, 将从第一节点配置位 图表中选取的使用状态为空闲状态的比特位与预先保存的所述差异记录表中 相应比特位进行合并, 标出使用状态为占用状态的比特位, 选取使用状态为 空闲状态的比特位对应的时隙和信道资源进行通信。 参照本发明实施例提供 的资源管理方法第二实施例的中情况二的相关描述。
再进一步地, 该资源管理设备还可以包括第一资源释放模块 63、 第二资 源释放模块 64和第三资源释放模块 65中的任意一个或者多个。
其中, 第一资源释放模块 63, 用于若第一节点的配置位图表中使用状态 一直为占用状态的比特位所对应的时隙和信道资源未被使用, 则将所述配置 位图表中使用状态一直为占用状态的比特位对应的时隙和信道资源释放; 第二资源释放模块 64, 用于若所述第一节点的配置位图表中使用状态为 占用状态的比特位在的数目或在所述配置位图表中的比例达到设定值, 或网 络运行时间达到设定值, 则将所述配置位图表中任意比特位对应的时隙和信 道资源释放;
第三资源释放模块 65, 用于若所述第一节点的配置位图表中使用状态为 占用状态的比特位所对应的时隙和信道资源在与所述第一节点相邻的第二节 点中的使用状态为空闲状态, 且所述比特位所对应的时隙和信道资源未为所 述第一节点所使用, 则将所述比特位对应的时隙和信道资源释放。 具体可以参照本发明实施例提供的资源管理方法第一、 第二实施例中的 示例一到示例三中的相关描述。
本实施例在 EGTS的申请过程中, 第二获取模块可以获取第一节点中各个 比特位的使用状态, 选取模块根据第二节点的 ABT, 选取使用状态为空闲状态 的比特位对应的时隙和信道资源进行通信, 可以在第一节点中添加了对比周 围相邻第二节点的 ABT或者 ABT的差异记录表, 从而明显减少 EGTS通信产生的 数据通信碰撞, 减少 ABT的遗留资源, 并降低 ABT对应资源的释放频率和 ABT溢 出的概率。
图 7为本发明实施例提供的资源管理设备第三实施例的结构示意图, 如图
7所示, 该资源管理设备包括: 确定模块 71和更新模块 72。
其中确定模块 71, 用于确定接收到的广播命令帧有效;
更新模块 72, 用于根据接收到的所述广播命令帧更新配置位图表中对应 的比特位。
其中, 广播命令帧可以包括扩展保证时隙通信应答命令帧或扩展保证时 隙通信通知命令帧。
进一步地, 确定模块 71可以包括: 第一判断子模块 71 1和 /或第二判断子 模块 712。
其中, 第一判断子模块 71 1, 用于若接收到的所述广播命令帧的信号特征 值大于设置的接收门限值, 则所述广播命令帧有效。 具体地, 节点可以预先 设置一定的门限值例如:接收门限值来确定该广播命令是否有效。在接收 EGTS 相关广播命令的时候, 如果节点接收到广播命令帧的信号特征值大于该接收 门限, 则该广播命令帧为有效的信息, 对节点的 ABT进行相应的更新操作; 如 果接收到广播命令帧的信号特征值低于该接收门限, 则可以忽略该广播命令 帧, 不对节点的 ABT进行操作。 其中广播命令帧的信号特征值可以是但不限于 链路质量指示值(LQ I )或信号强度值等参数。
第二判断子模块 7 12, 用于接收到的所述广播命令帧中包括源地址, 若所 述源地址在接收到所述广播命令帧的节点的邻居表中, 则确定所述广播命令 帧为邻节点所发送的, 则所述广播命令帧有效。 具体地, 节点在接收到 EGTS 的广播命令帧 (EGTS应答命令帧和 EGTS通知命令帧) 时, 检查该广播命令帧 中所包含的源地址是否在接收到所述广播命令帧的节点所储存的邻居表中, 如果是, 说明是该广播命令是邻节点发出的, 可以认为该广播命令帧有效, 并对 ABT进行相应的操作; 如果广播命令帧不是邻节点发出, 则认为该广播命 令帧无效的命令, 可以将该广播命令帧忽略。
具体可以参照本发明实施例提供的资源管理方法中的实施例中的相关描 述。
此外, 本实施例中的资源管理设备, 还可以包括本发明实施例提供的资 源管理设备第一实施例中的各个模块, 或者还可以包括本发明实施例提供的 资源管理设备第二实施例中的各个模块。
本实施例根据信号特征值或邻居表等, 确定模块确定接收到的广播命令 帧有效后, 可以将节点中 ABT的管理和维护限制节点及其一跳的范围之内的邻 节点中, 从而减少节点一跳范围之外的其他节点对节点中 ABT的干扰, 减少 EGTS通信产生的数据通信碰撞, 减少 ABT的遗留资源, 保证整个网络正常的运 行。 非对其限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普 通技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修 改, 或者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使 相应技术方案的本质脱离本发明各实施例技术方案的范围。
本领域普通技术人员可以理解以上实施例只是本发明的一个较佳的实施 例, 不对本专利构成限定, 其他类似的修改与变化均在本专利的保护范围之 内。
上述发明实施例中的 "接收" 一词可以理解为主动从其他模块获取也可 以是接收其他模块发送来的信息。 上述模块可以合并为一个模块, 也可以进 一步拆分成多个子模块。
本领域普通技术人员可以理解上述实施例方法中的部分处理是可以通过 程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机可读存储介 质中。
上述发明实施例序号仅仅为了描述, 不代表实施例的优劣。
权利要求的内容记载的方案也是本发明实施例的保护范围。 以上所述仅为本发明的较佳实施例而已, 并非用于限定本发明的保护范 围。 凡在本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权利要求 书
1、 一种资源管理方法, 其特征在于, 包括:
获取第一节点的配置位图表中使用状态为占用状态的比特位;
若所述使用状态为占用状态的比特位满足资源释放条件, 则将所述配置位 图表中对应的时隙和信道资源释放。
2、 根据权利要求 1所述的资源管理方法, 其特征在于, 所述若所述使用状 态为占用状态的比特位满足资源释放条件, 则将所述配置位图表中对应的时隙 和信道资源释放, 包括:
若第一节点的配置位图表中使用状态一直为占用状态的比特位所对应的时 隙和信道资源未被使用, 则将所述配置位图表中使用状态一直为占用状态的比 特位对应的时隙和信道资源释放; 或
若所述第一节点的配置位图表中使用状态为占用状态的比特位的数目或在 所述配置位图表中的比例达到设定值, 或网络运行时间达到设定值, 则将所述 配置位图表中任意比特位对应的时隙和信道资源释放; 或
若所述第一节点的配置位图表中使用状态为占用状态的比特位所对应的时 隙和信道资源在与所述第一节点相邻的第二节点中的使用状态为空闲状态, 且 所述比特位所对应的时隙和信道资源未为所述第一节点所使用, 则将所述比特 位对应的时隙和信道资源释放。
3、 根据权利要求 2所述的资源管理方法, 其特征在于, 所述若第一节点的 配置位图表中使用状态一直为占用状态的比特位所对应的时隙和信道资源未被 使用, 则将所述配置位图表中使用状态一直为占用状态的比特位对应的时隙和 信道资源释放, 包括:
检查第一节点的配置位图表中使用状态一直为占用状态的比特位所对应的 时隙和信道资源是否为所述第一节点所使用, 如果是, 则保持占用状态; 否则, 所述第一节点向与所述第一节点相邻的第二节点发送广播查询帧, 所述广播查 询帧中包括所述使用状态一直为占用状态的比特位; 若在限定时间内接收到与所述第一节点相邻的第二节点返回的查询应答 帧, 所述查询应答帧中包括所述使用状态一直为占用状态的比特位, 则所述第 一节点保持所述比特位的使用状态为占用状态;
若在限定时间内未接收到所述第二节点返回的查询应答帧, 则将所述第一 节点的配置位图表中使用状态一直为占用状态的比特位对应的时隙和信道资源 释放。
4、 一种资源管理方法, 其特征在于, 包括:
获取第一节点的配置位图表中各个比特位的使用状态;
根据与所述第一节点相邻的第二节点的配置位图表中各个比特位的使用状 态, 选取在所述第一节点的配置位图表中以及所述第二节点的配置位图表中使 用状态为空闲状态的比特位对应的时隙和信道资源进行通信。
5、 根据权利要求 4所述的资源管理方法, 其特征在于, 所述第一节点中预 先保存所述第二节点的配置位图表,
所述根据与所述第一节点相邻的第二节点的配置位图表中各个比特位的使 用状态, 选取在所述第一节点的配置位图表中以及所述第二节点的配置位图表 中使用状态为空闲状态的比特位对应的时隙和信道资源进行通信, 包括:
从所述第一节点的配置位图表中选取使用状态为空闲状态的比特位; 将从第一节点配置位图表中选取的使用状态为空闲状态的比特位与预先保 存的所述第二节点的配置位图表中相应比特位进行比较, 选取在第一节点配置 位图表和第二节点的配置位图表中使用状态同为空闲状态的比特位对应的时隙 和信道资源进行通信。
6、 根据权利要求 4所述的资源管理方法, 其特征在于, 所述第一节点中预 先保存所述第二节点与所述第一节点的配置位图表的差异记录表,
所述根据与所述第一节点相邻的第二节点的配置位图表中各个比特位的使 用状态, 选取在所述第一节点的配置位图表中以及所述第二节点的配置位图表 中使用状态为空闲状态的比特位对应的时隙和信道资源进行通信, 包括: 从所述第一节点的配置位图表中选取使用状态为空闲状态的比特位; 将从第一节点配置位图表中选取的使用状态为空闲状态的比特位与预先保 存的所述差异记录表中相应比特位进行合并, 标出使用状态为占用状态的比特 位, 选取使用状态为空闲状态的比特位对应的时隙和信道资源进行通信。
7、 根据权利要求 4-6任一所述的资源管理方法, 其特征在于, 还包括: 若第一节点的配置位图表中使用状态一直为占用状态的比特位所对应的时 隙和信道资源未被使用, 则将所述配置位图表中使用状态一直为占用状态的比 特位对应的时隙和信道资源释放; 或
若所述第一节点的配置位图表中使用状态为占用状态的比特位在的数目或 在所述配置位图表中的比例达到设定值, 或网络运行时间达到设定值, 则将所 述配置位图表中任意比特位对应的时隙和信道资源释放; 或
若所述第一节点的配置位图表中使用状态为占用状态的比特位所对应的时 隙和信道资源在与所述第一节点相邻的第二节点中的使用状态为空闲状态, 且 所述比特位所对应的时隙和信道资源未为所述第一节点所使用, 则将所述比特 位对应的时隙和信道资源释放。
8、 一种资源管理设备, 其特征在于, 包括:
第一获取模块, 用于获取第一节点的配置位图表中使用状态为占用状态的 比特位;
资源释放模块, 用于若所述使用状态为占用状态的比特位满足资源释放条 件, 则将所述配置位图表中对应的时隙和信道资源释放。
9、 根据权利要求 8所述的资源管理设备, 其特征在于, 所述资源释放模块 包括以下子模块的至少一个:
第一资源释放子模块, 用于若第一节点的配置位图表中使用状态一直为占 用状态的比特位所对应的时隙和信道资源未被使用, 则将所述配置位图表中使 用状态一直为占用状态的比特位对应的时隙和信道资源释放;
第二资源释放子模块, 用于若所述第一节点的配置位图表中使用状态为占 用状态的比特位的数目或在所述配置位图表中的比例达到设定值, 或网络运行 时间达到设定值, 则将所述配置位图表中任意比特位对应的时隙和信道资源释 放;
第三资源释放子模块, 用于若所述第一节点的配置位图表中使用状态为占 用状态的比特位所对应的时隙和信道资源在与所述第一节点相邻的第二节点中 的使用状态为空闲状态, 且所述比特位所对应的时隙和信道资源未为所述第一 节点所使用, 则将所述比特位对应的时隙和信道资源释放。
10、 一种资源管理设备, 其特征在于, 包括:
第二获取模块, 用于获取第一节点的配置位图表中各个比特位的使用状态; 选取模块, 用于根据与所述第一节点相邻的第二节点的配置位图表中各个 比特位的使用状态, 选取在所述第一节点的配置位图表中以及所述第二节点的 配置位图表中使用状态为空闲状态的比特位对应的时隙和信道资源进行通信。
11、 根据权利要求 10所述的资源管理设备, 其特征在于, 所述选取模块包 括:
第一比较选取子模块, 用于在所述第一节点中预先保存所述第二节点的配 置位图表的情况下, 将从第一节点配置位图表中选取的使用状态为空闲状态的 比特位与预先保存的所述第二节点的配置位图表中相应比特位进行比较, 选取 在第一节点配置位图表和第二节点的配置位图表中使用状态同为空闲状态的比 特位对应的时隙和信道资源进行通信; 或
第二比较选取子模块, 用于在所述第一节点中预先保存所述第二节点与所 述第一节点的配置位图表的差异记录表的情况下, 将从第一节点配置位图表中 选取的使用状态为空闲状态的比特位与预先保存的所述差异记录表中相应比特 位进行合并, 标出使用状态为占用状态的比特位, 选取使用状态为空闲状态的 比特位对应的时隙和信道资源进行通信。
12、 根据权利要求 10所述的资源管理设备, 其特征在于, 还包括以下模块 的至少一个: 第一资源释放模块, 用于若第一节点的配置位图表中使用状态一直为占用 状态的比特位所对应的时隙和信道资源未被使用, 则将所述配置位图表中使用 状态一直为占用状态的比特位对应的时隙和信道资源释放;
第二资源释放模块, 用于若所述第一节点的配置位图表中使用状态为占用 状态的比特位在的数目或在所述配置位图表中的比例达到设定值, 或网络运行 时间达到设定值, 则将所述配置位图表中任意比特位对应的时隙和信道资源释 放;
第三资源释放模块, 用于若所述第一节点的配置位图表中使用状态为占用 状态的比特位所对应的时隙和信道资源在与所述第一节点相邻的第二节点中的 使用状态为空闲状态, 且所述比特位所对应的时隙和信道资源未为所述第一节 点所使用, 则将所述比特位对应的时隙和信道资源释放。
PCT/CN2010/077097 2009-09-18 2010-09-19 资源管理方法及设备 WO2011032516A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2009101755760A CN102026292B (zh) 2009-09-18 2009-09-18 资源管理方法及设备
CN200910175576.0 2009-09-18

Publications (1)

Publication Number Publication Date
WO2011032516A1 true WO2011032516A1 (zh) 2011-03-24

Family

ID=43758120

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/077097 WO2011032516A1 (zh) 2009-09-18 2010-09-19 资源管理方法及设备

Country Status (2)

Country Link
CN (1) CN102026292B (zh)
WO (1) WO2011032516A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020113405A1 (en) * 2018-12-04 2020-06-11 Telefonaktiebolaget Lm Ericsson (Publ) Configuration updates of service functions in service-based network architecture

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103812786B (zh) * 2012-11-14 2017-04-05 电信科学技术研究院 一种时隙资源的调度方法及装置
CN104349280B (zh) * 2013-08-07 2018-04-17 大唐电信科技产业控股有限公司 一种时隙分配方法及系统
CN104427617B (zh) * 2013-08-19 2018-03-30 大唐电信科技产业控股有限公司 一种资源指示及确定方法、装置
EP3042523B1 (en) 2013-09-06 2021-03-17 Harman International Industries, Incorporated Time slot selection in wireless communication
CN107734605B (zh) * 2016-08-11 2021-11-05 上海诺基亚贝尔股份有限公司 在通信系统中用于资源管理的方法和设备
CN108024367B (zh) * 2017-12-01 2020-11-20 上海金卓科技有限公司 一种动态分配时隙的方法、装置、设备和存储介质

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090511A (zh) * 2006-06-14 2007-12-19 华为技术有限公司 一种吊死资源的释放方法

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1281080C (zh) * 2004-06-08 2006-10-18 华为技术有限公司 媒体网关中终端资源释放方法

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090511A (zh) * 2006-06-14 2007-12-19 华为技术有限公司 一种吊死资源的释放方法

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MYUNG LEE ET AL.: "Project: IEEE P802.15 Working Group for Wireless Personal Area Networks (WPANs) EGTS Joint Proposal for IEEE 802.15.4e", IEEE, 19 January 2009 (2009-01-19) *
MYUNG LEE ET AL.: "Project: IEEE P802.15 Working Group for Wireless Personal Area Networks (WPANs) Required Changes for EGTS Extension", IEEE, 11 May 2009 (2009-05-11) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020113405A1 (en) * 2018-12-04 2020-06-11 Telefonaktiebolaget Lm Ericsson (Publ) Configuration updates of service functions in service-based network architecture

Also Published As

Publication number Publication date
CN102026292A (zh) 2011-04-20
CN102026292B (zh) 2013-11-06

Similar Documents

Publication Publication Date Title
KR102377010B1 (ko) 무선랜 시스템의 슬롯 기반 채널 액세스 제어 장치 및 방법, 무선랜 시스템의 슬롯 기반 채널 액세스 단말
US9338799B2 (en) Method for random access of machine to machine (M2M) terminals
WO2011032516A1 (zh) 资源管理方法及设备
JP7308841B2 (ja) ユーザ機器、基地局、集積回路および方法
CN113630852B (zh) 一种数据通信方法及装置
CN108024367B (zh) 一种动态分配时隙的方法、装置、设备和存储介质
US9661561B2 (en) Wireless network discovery method and apparatus
CN106550478B (zh) 一种多用户传输网络分配矢量设置方法和装置
US20200059791A1 (en) Method and device for radio frame transmission
BRPI0403932B1 (pt) Sistema de comunicação sem fio, método de comunicação sem fio, e, estação de comunicação sem fio
TW201127166A (en) Scheduling and protection of quiet periods in a quiet zone for incumbent signal detection
JP6861812B2 (ja) 覚醒パケットを送る方法、ノード覚醒後に最初のフレームを送る方法、装置およびデバイス
US20150351125A1 (en) Apparatus and method for allocating resource
US20120093056A1 (en) Apparatus and method for managing slot
US20140133473A1 (en) Apparatus and method for managing slot
WO2013163918A1 (zh) 一种fi消息的传输方法及装置
WO2017143849A1 (zh) 一种休眠控制方法及相关设备
JP2023126961A (ja) 移動端末及び方法
WO2011038692A1 (zh) 网络节点配置信息处理方法、网络节点以及通信系统
CN109644502A (zh) 一种点到多点的信道分配方法、装置及系统
US9787584B2 (en) Data transmission reservation method and apparatus, data reception method and apparatus, and data transmission and reception system in receiver-initiated asynchronous medium access control protocol
JP4692017B2 (ja) 無線通信システム、無線通信装置及び無線通信方法、並びにコンピュータ・プログラム
US10993231B2 (en) Method and device for operation based on multiple channels in sensor network
KR100424753B1 (ko) 통신 단말 수용 장치, 기지국 장치 및 통신 단말 수용 방법
KR20170137078A (ko) Ioe 디바이스 어웨이크 스케줄링 및 디스커버리

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10816720

Country of ref document: EP

Kind code of ref document: A1