WO2018019056A1 - Data transmission method and relay node - Google Patents

Data transmission method and relay node Download PDF

Info

Publication number
WO2018019056A1
WO2018019056A1 PCT/CN2017/089272 CN2017089272W WO2018019056A1 WO 2018019056 A1 WO2018019056 A1 WO 2018019056A1 CN 2017089272 W CN2017089272 W CN 2017089272W WO 2018019056 A1 WO2018019056 A1 WO 2018019056A1
Authority
WO
WIPO (PCT)
Prior art keywords
relay node
destination
site
relay
data packet
Prior art date
Application number
PCT/CN2017/089272
Other languages
French (fr)
Chinese (zh)
Inventor
郭宇宸
贾嘉
李云波
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2018019056A1 publication Critical patent/WO2018019056A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/22Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • 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/08Load balancing or load distribution
    • H04W28/082Load balancing or load distribution among bearers or channels

Definitions

  • the present application relates to the field of data transmission and, more particularly, to a method of transmitting data and a relay node.
  • the relay technology adds one or more relay nodes between two nodes that need to transmit data to perform one or more forwarding of data that needs to be transmitted.
  • the relay technology adds one or more relay nodes between two nodes that need to transmit data to perform one or more forwarding of data that needs to be transmitted.
  • AP root access point
  • Relay relay node
  • STA station
  • Site 1 For ease of differentiation, if one site (hereinafter referred to as Site 1 for ease of differentiation) needs to forward data to another site (for ease of distinction, hereinafter referred to as Site 2), Site 1 first forwards the packet to its associated Relay node 1, after receiving the data packet, the relay node 1 transmits the data packet to the relay node 2 associated therewith. And so on, until the packet is sent to the root access point. After receiving the data packet, the root access point forwards the data packet to the relay node 3 associated with the station 2, and finally sends the data packet to the station 2 by the relay node 3 to complete the data transmission. .
  • the present application provides a method and a relay node for transmitting data, which can reduce the burden of transmitting data by a root access point.
  • the present application provides a method for transmitting data, which is applied to a wireless network including a root access point and at least two relay nodes, the method comprising: a first relay of the at least two relay nodes The node acquires a mapping relationship between the at least one second relay node and the at least one station, where each second relay node corresponds to at least one station; the first relay node receives a data packet, and the data packet carries indication information, the indication The information is used to indicate the destination station to which the data packet needs to be transmitted; when the first relay node determines that the destination station exists in the mapping relationship, the data packet is sent to the destination second relay node corresponding to the destination station, For this purpose, the second relay node sends the data packet to the destination site.
  • the first relay node acquires a mapping relationship between the at least one second relay node and the at least one site, where the first relay node determines the at least one second relay node; Establishing a device-to-device D2D connection between the first relay node and the at least one second relay node; the first relay node acquiring at least one site information of the at least one second relay node, the at least one site information and The at least one second relay node is in one-to-one correspondence, each site information is used to indicate one or more sites, and each site passes the corresponding second relay
  • the node sends or receives data; the first relay node establishes a mapping relationship between the at least one second relay node and the at least one station according to the at least one site information.
  • the first relay node determines the at least one second relay node, including: the first relay node sends a discovery request frame, where the discovery request frame carries response condition information, and the response The condition information is used to indicate a condition that the device responding to the discovery request frame needs to satisfy; the first relay node receives the at least one response frame that is sent when the at least one second relay node determines that the response condition is met; the first relay The node determines the at least one second relay node according to the at least one response frame.
  • the response condition further includes at least one of the following conditions: the device is a relay node, the device supports a D2D connection, the device has a routing function, and the device and the first relay node The link rate between the device is equal to or higher than the preset rate threshold, and the transmission delay between the device and the first relay node is equal to or lower than a preset delay threshold.
  • the first relay node determines the at least one second relay node, including: the first relay node receives a D2D connection suggestion frame sent by a root access point, and the D2D connection suggestion frame
  • the first identifier information and the at least one second identifier information are used to identify the first relay node, where the at least one second identifier information is in one-to-one correspondence with the at least one second relay node, where the D2D connection proposal is
  • the frame is sent to the first relay node when the root access point determines that the first relay node and the at least one second relay node satisfy the D2D connection condition; the first relay node is according to the at least one
  • the second identification information determines the at least one second relay node.
  • the first relay node determines the at least one second relay node, including: the first relay node receives at least one D2D connection suggestion frame, and the at least one D2D connection suggestion frame and the The at least one second relay node is in one-to-one correspondence, and each D2D connection suggestion frame carries first identifier information for identifying the first relay node and second identifier information for identifying the corresponding second relay node.
  • Each D2D connection suggestion frame is sent by the parent node of the corresponding second relay node to the first relay node when determining that the second relay node and the first relay node satisfy the D2D connection condition.
  • the first relay node determines the at least one second relay node according to the second identifier information carried in the at least one D2D connection suggestion frame.
  • the first relay node acquires site information of the at least one second relay node, where the first relay node sends a site information request frame to the at least one second relay node.
  • the site information request frame is used to request to acquire a site corresponding to each second relay node; the first relay node receives site information sent by the at least one second relay node.
  • the method further includes: the first relay node sending the first medium to the at least one second relay node Following the site information of the node, the site information of the first relay node is used to indicate one or more sites corresponding to the first relay node, so that the at least one second relay node is configured according to the first relay node.
  • the station information forwards the data packet to the first relay node.
  • the method further includes: the first relay node receiving the destination second relay node sending An error report, where the error report carries the indication information of the destination station, where the error report is used to indicate that the destination station does not exist in the site corresponding to the second relay node of the destination; the first relay node reports according to the error, The mapping relationship is updated, and information about the destination site of the destination second relay node recorded in the mapping relationship is deleted.
  • the method further includes: when the first relay node determines that the destination station does not exist in the mapping relationship, the first relay node sends the data packet to the root access point, In order for the root access point to send the data packet to the destination site.
  • the method further includes: the first relay node receives the destination second And following the first prompt information or the second prompt information sent by the node, the first prompt information is sent to the first relay node when the site corresponding to the second relay node of the destination is increased, and the first prompt information carries a new one.
  • the indication information of the added site is sent to the first relay node when the site corresponding to the second relay node of the destination is reduced, and the second prompt information carries the indication information of the reduced site;
  • the first relay node creates, according to the first prompt information, information about the newly added site of the destination second relay node in the mapping relationship, or the first relay node deletes according to the second prompt information.
  • the information of the site that should be reduced by the second relay node of the destination recorded in the mapping relationship.
  • the present application provides a method for transmitting data, which is applied to a wireless network including a root access point and at least two relay nodes, where the method includes: a second of the at least two relay nodes Receiving, by the node, a data packet sent by the first relay node, where the data packet carries indication information, where the indication information is used to indicate a destination station to which the data packet needs to be transmitted, where the data packet is obtained by the first relay node according to at least Transmitting a mapping relationship between the second relay node and the at least one site to the destination second relay node, where the destination second relay node is one of the at least one second relay node, each second The relay node corresponds to at least one station; the destination second relay node determines that the destination station exists in the corresponding station, and sends the data packet to the destination station.
  • the method further includes: receiving, by the second relay node, the discovery request frame sent by the first relay node, where the discovery request frame carries response condition information, where the response condition information is used Determining a condition that the device responding to the discovery request frame needs to satisfy; when the destination second relay node determines that the response condition is met, sending a response frame to the first relay node, so that the first relay node finds the destination The second relay node establishes a D2D connection with the destination second relay node.
  • the response condition includes at least one of the following conditions: the device is a relay node, the device supports device-to-device D2D connection, the device has a routing function, and the device is in the first The transmission delay between the device and the first relay node is equal to or lower than a preset delay threshold, and the link rate between the nodes is equal to or higher than a preset rate threshold.
  • the method further includes: receiving, by the second relay node, the D2D connection suggestion frame sent by the root access point, where the D2D connection suggestion frame carries the first identifier that identifies the first relay node Identifying information and identifying second identification information of the second relay node of the destination, where the D2D connection suggestion frame is sent when the root access point determines that the first relay node and the destination second relay node satisfy the D2D connection condition Giving the second relay node and the first relay node to the destination; the destination second relay node receives the D2D connection request frame sent by the first relay node based on the D2D connection suggestion frame, and the first relay The node establishes a D2D connection.
  • the method further includes: receiving, by the second relay node, the D2D connection suggestion frame sent by the parent node of the destination second relay node, where the D2D connection suggestion frame carries the identifier a first identification information of the relay node and a second identification information identifying the second relay node of the destination, the D2D connection suggestion frame is a parent node of the second relay node of the destination, determining the first relay node and the destination Sending to the second relay node and the first relay node when the D2D connection condition is met between the two relay nodes; the destination second relay node receives the first relay node and sends the frame according to the D2D connection suggestion frame The D2D connects to the request frame and establishes a D2D connection with the first relay node.
  • the method before the destination second relay node receives the data packet sent by the first relay node, the method further includes: the destination second relay node receives the site sent by the first relay node Information request frame, The site information request frame is used to request to acquire a site corresponding to the second relay node of the destination; the destination second relay node sends site information to the first relay node, where the site information is used to indicate one or more sites, Each station sends or receives data through the destination second relay node, so that the first relay node establishes a mapping relationship between the destination second relay node and the one or more sites.
  • the method further includes: the destination second relay node receives and saves the site information of the first relay node sent by the first relay node, so as to facilitate the destination second relay node.
  • the destination second relay node receives and saves the site information of the first relay node sent by the first relay node, so as to facilitate the destination second relay node.
  • the method further includes: determining, by the second relay node, that the destination does not exist in the corresponding site. At the time of the site, an error report is sent to the first relay node, where the error report carries the indication information of the destination station, so that the first relay node updates the mapping relationship according to the error report.
  • the method further includes: when the destination corresponding to the second relay node increases, the destination The second relay node sends the first prompt information to the first relay node, where the first prompt information carries the indication information of the newly added station, so that the first relay node creates the new destination in the mapping relationship.
  • the second prompt information carries the indication information of the reduced station, so that the first relay node deletes information about the site corresponding to the destination second relay node in the mapping relationship.
  • the present application provides a relay node for performing the method of the first aspect or any possible implementation of the first aspect.
  • the relay node comprises means for performing the method of the first aspect or any of the possible implementations of the first aspect.
  • the present application provides a relay node for performing the method in any of the possible implementations of the second aspect or the second aspect.
  • the relay node comprises means for performing the method of any of the second aspect or any of the possible implementations of the second aspect.
  • the application provides a relay node, where the relay node includes a receiver, a transmitter, a processor, and a memory.
  • the memory is used to store instructions
  • the processor is configured to execute instructions stored in the memory to control the receiver to receive signals or to control the transmitter to transmit signals.
  • the processor performs the method of the first aspect or any of the possible implementations of the first aspect when the instructions stored in the memory are executed.
  • the application provides a relay node, where the relay node includes a receiver, a transmitter, a processor, and a memory.
  • the memory is used to store instructions
  • the processor is configured to execute instructions stored in the memory to control the receiver to receive signals or to control the transmitter to transmit signals.
  • the processor performs the method of any of the possible implementations of the second aspect or the second aspect when the instructions stored in the memory are executed.
  • the memories in the above fifth and sixth aspects may be independent or integrated with the processor.
  • the processor When the processor is implemented by hardware, for example, it may be a logic circuit or an integrated circuit, and is connected to other hardware through an interface, and no memory may be needed at this time.
  • the application provides a computer readable medium for storing a computer program, the computer program comprising instructions for performing the method of the first aspect or any of the possible implementations of the first aspect.
  • the application provides a computer readable medium for storing a computer program, the computer program Instructions are included for performing the method of the second aspect or any of the possible implementations of the second aspect.
  • the first relay node obtains a mapping relationship between the at least one second relay node and the at least one site, so that when the data packet to be forwarded is received, if it is determined that the mapping relationship exists
  • the destination station to which the data packet needs to be forwarded and the first relay node sends the data packet to the destination second relay node corresponding to the destination station according to the mapping relationship, so that the destination second relay node forwards the data packet to the destination site. . Therefore, the data packet no longer needs to be forwarded through the root access point, which can reduce the burden on the root access point.
  • FIG. 1 is a schematic diagram of a topology of a prior art relay transmission technology.
  • FIG. 2 is a schematic flowchart of a method of transmitting data according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a plurality of second relay nodes that satisfy a response condition and send a response frame according to an embodiment of the present application.
  • FIG. 4 shows one possible form of the D2D connection suggestion frame of the embodiment of the present application.
  • FIG. 5 illustrates a schematic scenario of a method of transmitting data in accordance with an embodiment of the present application.
  • FIG. 6 shows a schematic block diagram of a relay node in accordance with an embodiment of the present application.
  • FIG. 7 shows a schematic block diagram of a relay node in accordance with another embodiment of the present application.
  • FIG. 8 shows a schematic structural diagram of a relay node according to an embodiment of the present application.
  • FIG. 9 shows a schematic structural diagram of a relay node according to another embodiment of the present application.
  • an access point (AP) and a plurality of stations (Stations, STAs) associated with the access point form a basic service set (BSS).
  • Service data can be forwarded by adding relay access points (Relays) while increasing coverage or increasing system throughput.
  • the relay access point device includes two logical entities, namely, a relay-station (Relay STA) and a relay-access point (Relay AP).
  • relay STA relay-station
  • Relay AP relay-access point
  • non-relay access points are referred to as root access points (Root APs).
  • the Relay STA entity associates with the Root AP and communicates with each other.
  • the Relay STA and the Root AP belong to the same BSS.
  • the Relay AP entity associates with the site and communicates, that is, the Relay AP and the site belong to the same BSS.
  • FIG. 1 shows a schematic diagram of the topology of a prior art relay network.
  • a topology there are three types of nodes, namely, a root access point (Root Access Point), a relay node (relay), and a station (Station, STA).
  • Some of the sites are directly associated with the root access point, and some sites are associated with the relay node.
  • the relay node can also be associated with the relay node to form a multi-layer relay.
  • a relay node it internally includes three parts, which are a relay STA, a relay function, and a relay AP.
  • the relay STA communicates with the node in the upper BSS as the root access point or the relay of the upper level.
  • the relay AP acts as a node of the lower BSS and communicates with its associated relay node or station.
  • the function of the relay function is to bridge the STA and the relay AP, and connect to the logical link layer to implement the relay function.
  • the STA2 transmits data to the STA6 as an example.
  • STA2 first transmits the data packet to the relay node 1 associated with STA2.
  • Relay node 1 then sends the packet to the root access point.
  • the root access point After receiving the data packet, the root access point sends the data packet to the relay node 2 according to the association between the relay node and the station.
  • the relay node 2 then transmits the data packet to the relay node 3 and finally transmits the data packet to the STA 6.
  • the forwarding of the data packet by the relay node can solve the problem in the prior art that STA2 cannot be directly transmitted due to the long transmission distance between STA2 and STA6 and the limitation of the transmission power.
  • FIG. 2 shows a schematic flow chart of a method of transmitting data according to an embodiment of the present application. As shown in FIG. 2, the method includes steps 110 through 130.
  • the first relay node acquires a mapping relationship between the at least one second relay node and the at least one site, where the mapping relationship is used to record at least one site corresponding to each second relay node.
  • the first relay node refers to a relay node associated with the root access point.
  • the second relay node refers to a relay node associated with a site.
  • the second relay node may be associated with the root access point, or one or more relay nodes may exist between the second relay node and the root access point, which is not specifically limited in this embodiment. .
  • topology relationship shown in FIG. 1 is taken as an example to describe the topological relationship between the nodes involved in the embodiment of the present application.
  • the first relay node in the embodiment of the present application may be the relay node 1, and the second relay node may be the relay node 2, and the relay node 2 is associated with the relay node 2 at this time. There is STA4. Alternatively, the second relay node may also be the relay node 3. At this time, the relay node 3 is connected to the root access point through the parent node (ie, the relay node 2 shown in FIG. 1), and is relayed. Node 3 is associated with STA5 and STA6.
  • one relay node corresponds to one site, and includes two cases.
  • the relay node is associated with the site, and the station directly receives data or transmits data through the relay node.
  • mapping relationship in the embodiment of the present application can be understood as recording a site associated with each of the one or more second relay nodes, or a site that can communicate indirectly through other relay nodes.
  • the first relay node acquires a mapping relationship between the at least one second relay node and the at least one site, including:
  • the first relay node determines the at least one second relay node
  • the first relay node acquires at least one site information of the at least one second relay node, the at least one site information is in one-to-one correspondence with the at least one second relay node, and each site information is used to indicate one or more a site, each station transmitting or receiving data through a corresponding second relay node;
  • the first relay node establishes a mapping relationship between the at least one second relay node and the at least one site according to the at least one site information.
  • the first relay node performs D2D device discovery, and determines at least one second relay node.
  • D2D device discovery There are two ways, namely, mode 1 and mode 2.
  • the first relay node determines the at least one second relay node, including:
  • the first relay node sends a discovery request frame, where the discovery request frame carries response condition information, where the response condition information is used to indicate a condition that the device responding to the discovery request frame needs to meet;
  • the first relay node determines the at least one second relay node according to the at least one response frame.
  • the first relay node sends a discovery request frame, and the discovery request frame carries a response condition. If the neighboring node of the first relay node receives the discovery request frame, it determines whether the response condition is met by itself. If so, the neighbor node sends a response frame to the first relay node. The first relay node receives the response frame, learns one or more neighbor nodes in the neighbor node that satisfy the response condition, and determines the one or more neighbor nodes as the second relay node.
  • the neighbor node that receives the discovery request frame does not reply to the discovery request frame if it finds that it does not satisfy the response condition.
  • the response condition may include at least one of the following conditions:
  • the device (or node) that replies to the discovery request frame is a relay node, the device supports a D2D connection, the device has a routing function, and the link rate between the device and the first relay node is equal to or higher than a preset.
  • the rate threshold, the transmission delay between the device and the first relay node is equal to or lower than a preset delay threshold.
  • the device replying to the discovery request frame should be a relay device, and the device replying to the discovery request frame should support the D2D connection.
  • the device replying to the discovery request frame should have the computing power of routing and should have access to the routing table.
  • the link rate between the device and the first relay node may not be lower than a predetermined preset rate threshold. In this case, the preset rate threshold may be carried in the request frame.
  • the delay between the device and the first relay node must not exceed the preset delay threshold.
  • the first relay node may carry the conditions of the link rate and the transmission delay in the response condition according to the requirements of the data transmission.
  • the response condition carries the requirements of the lowest link rate and the maximum transmission delay
  • the node that replies to the discovery request frame may carry the actual response frame in the response frame if it satisfies the requirement of the link rate and the transmission delay of the first relay node. Link rate or actual transmission delay.
  • the first relay node may select one or a part of the second relay nodes that have a higher actual transmission rate or a smaller actual transmission delay from among the plurality of second relay nodes that satisfy the condition to establish a D2D connection.
  • the response condition may include a minimum value of the number of sites associated with the node that replies to the discovery request frame, or the response condition carries a target site list.
  • the first relay node can avoid establishing a D2D connection with a relay node that has few or even no associated sites by carrying the minimum number of associated sites in the response condition.
  • the condition of the maximum transmission delay is based on the reason similar to the lowest link rate, that is, the first relay node can further select the relay node that meets the delay requirement from the relay nodes that satisfy the other multiple conditions.
  • the actual chain The path rate and the actual transmission delay can be used as a reference for the first relay node to perform D2D connection.
  • the target site list in the response condition is used for the case where the first relay node purposefully searches for certain sites.
  • the list of target sites carried in the discovery request frame is STA1, STA2, and STA3.
  • a relay node can send a response frame to the first relay node only when at least one of STA1, STA2, and STA3 is associated.
  • the relay node that sends the response frame carries the identification information of the associated site in the response frame.
  • the first relay node may send the discovery request frame to the other neighboring node in the form of a broadcast, or may be sent to a specific neighbor node in a unicast manner.
  • This example is not particularly limited. In the latter case, it can generally be applied to the first relay node to know the existence of a certain neighbor node, but it is not known whether the neighbor node satisfies the response condition. Therefore, the first relay node sends a discovery request frame to the neighbor node, and if the neighbor node replies with the response frame, the first relay node initiates establishment of a D2D connection with the neighbor node.
  • At least one second relay node that replies to the discovery request frame may contend for the channel when transmitting the response frame to the first relay node.
  • the response frame is sent again when the channel access opportunity is acquired.
  • FIG. 3 shows a schematic diagram of a plurality of second relay nodes that satisfy a response condition transmitting a response frame.
  • the relay node 1 transmits a discovery request frame to find a relay node that is satisfied.
  • the discovery request carries a response condition. If the relay node 2, the relay node 3, and the relay node 4 that have received the discovery request frame satisfy the response condition, the relay node 2, the relay node 3, and the relay node 4 respectively acquire the channel through the contention channel.
  • An access frame is sent to the first relay node when the opportunity is accessed.
  • the first relay node determines the at least one second relay node, including:
  • the first relay node receives at least one D2D connection suggestion frame, and the at least one D2D connection suggestion frame is in one-to-one correspondence with the at least one second relay node, and each D2D connection suggestion frame carries a identifier for identifying the first relay node.
  • First identification information and second identification information for identifying the corresponding second relay node, each D2D connection suggestion frame is a parent node of the corresponding second relay node in determining the second relay node Sending to the first relay node when the first relay node satisfies the D2D connection condition;
  • the first relay node determines the at least one second relay node according to the second identifier information carried in the at least one D2D connection suggestion frame.
  • a parent node of a relay node finds its own associated relay node (referred to as a relay node 1 for convenience of distinction) and another relay node (for the purpose of distinguishing,
  • the D2D connection condition is satisfied between the relay nodes 2), for example, there is frequent frame exchange between the relay node 1 and the relay node 2, or the distance between the relay node 1 and the relay node 2 is relatively close.
  • the parent node of the relay node 1 may transmit a D2D connection suggestion frame to the relay node 1 and the relay node 2 to instruct the relay node 1 and the relay node 2 to establish a D2D connection.
  • the first relay node receives the D2D connection suggestion frame that is also sent by the root access point, where the D2D connection suggestion frame carries the first identifier information that identifies the first relay node and at least a second identification information, the at least one second identification information is in one-to-one correspondence with the at least one second relay node, wherein the D2D connection suggestion frame is a root access point determining the first relay node and the at least one Sending to the first relay node when the two relay nodes satisfy the D2D connection condition;
  • the first relay node determines the at least one second relay node according to the at least one second identification information.
  • the root access point can learn the communication situation between all relay nodes in the wireless network. It is therefore possible to determine a plurality of second relay nodes that satisfy the D2D connection condition with the first relay node. Therefore, the D2D connection suggestion frame sent by the root access point to the first relay node may carry the identifier information of the plurality of second relay nodes that satisfy the D2D connection condition.
  • the first relay node may further receive the D2D connection suggestion frame sent by the parent node of the first relay node, and determine, according to the at least one second identifier information carried in the D2D connection suggestion frame.
  • the at least one second relay node may further receive the D2D connection suggestion frame sent by the parent node of the first relay node, and determine, according to the at least one second identifier information carried in the D2D connection suggestion frame. The at least one second relay node.
  • the parent node of the first relay node may also learn multiple seconds that have frequent frame exchange with the first relay node.
  • the relay node therefore, the parent node of the first relay node may also send a D2D connection suggestion frame to the first relay node.
  • the D2D connection suggestion frame may carry identifier information of multiple second relay nodes that have frequent frame exchange with the first relay node.
  • the upper layer node directly associated with a node is called the parent node of the node.
  • the relay node 1 is the parent node of STA2 and STA3
  • the relay node 2 is the parent node of the relay node 3 and STA4.
  • the root access point and each relay node may determine, according to preset D2D connection conditions, which nodes in the wireless network are suitable for establishing a D2D connection, and determine that the nodes satisfy D2D.
  • a D2D connection suggestion frame is sent to at least two nodes that satisfy the condition to indicate that the at least two nodes establish a D2D connection.
  • the D2D connection condition can be preset. For example, there is frequent frame exchange between two relay nodes. For another example, the distance between two relay nodes of communication is relatively close, or other conditions, and the like.
  • the parent node of the root access point or a certain relay node learns the process of frequent frame exchange or distance between the two relay nodes, which can be implemented by the prior art, and will not be described in detail herein.
  • Figure 4 shows one possible form of a D2D connection suggestion frame.
  • the D2D connection suggestion frame includes at least two pieces of identification information, and the at least two pieces of identification information are in one-to-one correspondence with at least two relay nodes, and each of the identification information is used to uniquely identify the corresponding relay node.
  • the identifier information may be an Association ID (AID), a Media Access Control (MAC) address, or the like.
  • AID Association ID
  • MAC Media Access Control
  • the D2D connection suggestion frame may also carry a Basic Service Set Identifier (BSSID) of the AP, suggesting the reason for establishing the D2D connection, and the beneficial effects of the recommended D2D connection.
  • BSSID Basic Service Set Identifier
  • the D2D connection suggestion frame may further carry information indicating an initiator that establishes a D2D connection to indicate which relay node is the initiator of the D2D connection establishment.
  • the information indicating the originator of the D2D connection may not be carried, and the location of the information is implicitly indicated in the order of the information.
  • the relay node corresponding to the first identification information in the D2D connection suggestion frame is defaulted to the initiator of the D2D connection establishment.
  • the D2D connection suggestion frame may carry more identification information to indicate that a D2D connection is established between the initiator of the D2D connection and the multiple relay nodes.
  • the first relay node finds a relay node in the surrounding neighbor nodes that is consistent with establishing a D2D connection.
  • the first relay node can establish a D2D connection with the relay nodes (ie, the second relay node) that meet the D2D connection conditions.
  • the establishment of the D2D connection may be performed by using the prior art.
  • the main process of establishing the D2D connection includes the following steps: the first relay node is sent as the initiator of the D2D connection to the destination second relay node.
  • the D2D connection establishes a request frame.
  • the second relay node After receiving the D2D connection establishment request frame, the second relay node sends a D2D connection suggestion response frame to the first relay node.
  • the first relay node sends a D2D connection establishment confirmation frame to the destination second relay node.
  • the foregoing steps are the processes of the Tunneled Direct Link Setup (TDLS) in the prior art, and are not described in detail herein.
  • TDLS Tunneled Direct Link Setup
  • the site information of each second relay node may be acquired.
  • the first relay node acquires site information of the at least one second relay node, including:
  • the first relay node sends a site information request frame to the at least one second relay node, where the site information request frame is used to request to acquire a site corresponding to each second relay node;
  • the first relay node receives the site information sent by the at least one second relay node.
  • the first relay node may acquire the site information of the second relay node by sending the site information request frame to the second relay node. After receiving the site information request frame, the second relay node sends its own site information to the first relay node.
  • the site information of one relay node is used to indicate one or more sites that receive or transmit data through the relay node.
  • the specific form of the site information is not particularly limited.
  • the relay node can store its own site information in the form of a routing table.
  • other forms that are readily apparent to those skilled in the art may also be employed.
  • FIG. 5 illustrates a schematic scenario of a method of transmitting data in accordance with an embodiment of the present application.
  • the relay node 1 is associated with STA1.
  • the relay node 1 can also be connected to STA2 and STA3. Therefore, the site information of the relay node 1 can be as shown in Table 1.
  • the depth information of each site is also recorded. It can be understood that the depth information of each station refers to the number of hops required to connect from the relay node 1 to each STA.
  • the station information of the relay node 2 and the relay node 3 can be as shown in Tables 2 and 3 below, respectively.
  • the relay node 1 If the relay node 1 establishes a D2D connection with the relay node 2 (as indicated by a broken line in FIG. 5), as described above, the relay node 1 transmits a site information request frame to the relay node 2, requesting acquisition of the relay node 2 Site information. After receiving the site information of the relay node 2, the relay node 1 can establish a mapping relationship between the relay node 2 and the relay node 3 and a plurality of sites.
  • a routing table is stored on the first relay node, where the routing table is used to store the mapping relationship.
  • the routing table established is shown in Table 4.
  • the relay node 1 may send the data packet to the relay node corresponding to the destination station recorded in the mapping relationship, and the relay node sends the data packet to the destination station.
  • the relay node does not need to send it to its associated parent node, and eventually sends the data packet to the root access point.
  • the root access point then sends the packet to the destination site. Thereby, the burden on the root access point to forward data can be alleviated.
  • the depth information of each site carried in the site information may be used for path selection when the first relay node forwards the data packet.
  • a D2D connection is established between the relay node 2 and the relay node 3 (shown by a broken line in FIG. 5).
  • the relay node 2 can connect to STA2 and STA3 through the relay node 3.
  • the station information transmitted by the relay node 2 to the relay node 1 can be as shown in Table 5.
  • mapping relationship established by the relay node 1 is as shown in Table 6.
  • the relay node 1 After the mapping relationship shown in Table 6 is established, if the relay node 1 receives a data packet, the destination station indicated by the indication information carried by the data packet is STA 2. The relay node 1 can forward the data packet to the STA 2 by querying the routing table. That is, the relay node 2 (Relay 2) and the relay node 3 (Relay 3) are respectively passed. At this time, the relay node 1 can select to transmit the data packet to the relay node 3, and the relay node 3 forwards the data packet to the STA2. This way, the packet is transmitted with fewer hops. Can improve the efficiency of transmission.
  • the relay node 1 stores multiple paths of the same destination node, and when one of the paths fails, another path is selected for data transmission, thereby improving the reliability of data transmission.
  • the first relay node establishes a D2D connection with the second relay node by determining the second relay node, and stores a mapping relationship between the second relay node and the site, thereby being capable of When a packet is received, the destination site is queried in the query mapping relationship. If the destination station exists in the mapping relationship, the first relay node directly sends the data packet to the destination second relay node corresponding to the destination station, so that the destination second relay node sends the data packet to the destination station. On the one hand, the burden on the root access point is alleviated. On the other hand, the number of hops transmitted is also reduced, and the transmission efficiency is improved.
  • the method further includes:
  • the first relay node sends the site information of the first relay node to the at least one second relay node, where the site information of the first relay node is used to indicate one or more sites corresponding to the first relay node. So that the at least one second relay node forwards the data packet to the first relay node according to the site information of the first relay node.
  • the first relay node may further send its own site information to at least one second relay node that establishes a D2D connection with the first relay node. It can be understood that, after any one of the second relay nodes receives and stores the site information of the first relay node, the site associated with the first relay node and the first medium can be known. A station to which the node can connect, so that when the data packet is received, if it is determined that the destination station indicated by the indication information carried by the data packet exists in the site information of the first relay node, the data packet may be directly sent to the The first relay node is sent by the first relay node to the destination station to alleviate the burden of the root access point.
  • the first relay node sends its own site information to the at least one second relay node, which may be in the form of a broadcast or a unicast form.
  • the relay node 1 can broadcast the information recorded in Table 1.
  • the relay node 2 and the relay node 3 can know that the relay information is available.
  • Node 1 can be connected to STA 1, STA 2 and STA 3.
  • the relay node 1 can also transmit the information recorded in Table 1 to a specific second relay node, for example, only to the relay node 2 or the relay node 3.
  • the relay node 1 acquires the site information of the relay node 2 and the relay node 3, and broadcasts its own site information to the relay node 2 and the relay node 3, so that the relay nodes establishing the D2D connection are mutually saved.
  • the site information of the other party is such that, when the data packet is received, the data packet can be sent to the relay node corresponding to the destination site based on the site information.
  • the first relay node receives a data packet, where the data packet carries indication information, where the indication information is used to indicate a destination site to which the data packet needs to be transmitted.
  • the indication information carried by the data packet may include multiple forms.
  • it may be a device identifier of the destination site, a Media Access Control (MAC) address of the destination site, and the like.
  • MAC Media Access Control
  • the first relay node determines that the destination station exists in the mapping relationship, and sends the data packet to the destination second relay node corresponding to the destination station.
  • a D2D connection is established between the first relay node and the at least one second relay node, and the site information of the at least one second relay node is acquired, and a mapping relationship is established. Therefore, when the data packet is received, the mapping relationship is searched. When it is determined that the destination station exists in the mapping relationship, the data packet is sent to the destination second relay node corresponding to the destination station.
  • the method further includes:
  • the first relay node determines that the destination station does not exist in the mapping relationship
  • the first relay node sends the data packet to the root access point, so that the root access point sends the data packet to the destination site.
  • the first relay node needs to send the received data packet to the root access point in order to send the data packet to the destination site according to the root access point.
  • the first relay node in the embodiment of the present application sends the data packet to the root access point, and may include that the first relay node is associated with the root access point, or the first relay node passes The multi-level relay node sends the packet to the root access point.
  • the root access point sends the data packet to the destination site, and may also include the destination site associated with the root access point, and the root access point directly sends the data packet to the destination site.
  • the root node sends the packet to the destination site through the multi-level relay node.
  • the process in which the root access point sends the data packet to the destination site is the same as the prior art, and is not described herein.
  • the method further includes:
  • the first relay node receives the first prompt information or the second prompt information sent by the second relay node of the destination, where the first prompt information is sent to the first middle when the site corresponding to the second relay node of the destination is increased.
  • the first prompt information carries the indication information of the newly added station
  • the second prompt information is the second relay node pair of the destination.
  • the second prompt information is sent to the first relay node when the site is reduced, and the second prompt information carries the indication information of the reduced site;
  • the first relay node newly creates, according to the first prompt information, information about the newly added site of the destination second relay node in the mapping relationship, or
  • the first relay node deletes, according to the second prompt information, information about the site corresponding to the destination second relay node recorded in the mapping relationship.
  • the first relay node acquires the site information of the second relay node, and after the mapping relationship is established, if the site information of the second relay node changes, the second relay node needs to go to the first relay node. Sending a prompt message to instruct the first relay node to update the mapping relationship.
  • the second relay node sends the prompt information to the first relay node.
  • the prompt information of the newly added site in the network is recorded as the first prompt information, and the information that the site leaves the network is recorded as the second prompt information.
  • the indication information of the newly added station may be carried in the first prompt information, for example, the MAC address or AID of the newly added station may be carried.
  • the first relay node updates the information of the site corresponding to the second relay node recorded in the mapping relationship. For example, according to the first prompt information, the first relay node adds information of the newly added station corresponding to the second relay node in the mapping relationship. Similarly, the indication information of the station leaving the network may be carried in the second prompt information. In this way, after receiving the second prompt information, the first relay node deletes, according to the second prompt information, the information of the second relay node recorded in the mapping relationship corresponding to the station that should leave the network.
  • the second relay node sends the first prompt information or the second prompt information to the first relay node, and may send the wireless frame to the first relay node, where the wireless frame carries the first prompt information or the second Prompt message.
  • the first relay node updates the mapping relationship. Specifically, if the mapping relationship is in the form of a routing table, the first relay node updates the routing table.
  • the method further includes:
  • the first relay node receives an error report sent by the destination second relay node, where the error report carries indication information of the destination station, where the error report is used to indicate that the destination corresponding to the second relay node does not exist in the site The destination site;
  • the first relay node updates the mapping relationship according to the error report, and deletes information about the destination site of the destination second relay node recorded in the mapping relationship.
  • the relay node if the first relay node establishes the mapping relationship, the site information of the destination second relay node is changed, and before the destination second relay node sends the prompt information to the first relay node, if the first After the node receives a data packet, the relay node corresponding to the destination station indicated by the indication information carried by the data packet is the destination second relay node. The first relay node sends the data packet to the destination second relay node. Since the site information of the destination second relay node has changed, for example, the destination site has left the network, the destination site is not present in the site information stored by the second relay node. At this point, the second relay node considers this to be an abnormal reception. The second relay node sends the data packet to the root access point.
  • the destination second relay node sends an error report to the first relay node to indicate that the first relay node cannot forward the data packet to the destination station through the destination second relay node.
  • the destination second relay node may broadcast the error report to the neighbor node in order to receive the error.
  • the reported neighbor node updates the mapping relationship between the saved destination second relay node and the destination site.
  • the first relay node obtains a mapping relationship between the at least one second relay node and the at least one site, so that when the data packet to be forwarded is received, if it is determined that the mapping relationship exists
  • FIG. 6 shows a schematic block diagram of a relay node 300 in accordance with an embodiment of the present application.
  • the relay node 300 includes:
  • the processing unit 310 is configured to acquire a mapping relationship between the at least one second relay node and the at least one site, where the mapping relationship is used to record at least one site corresponding to each second relay node;
  • the receiving unit 320 is configured to receive a data packet, where the data packet carries indication information, where the indication information is used to indicate a destination site to which the data packet needs to be transmitted;
  • the processing unit 310 is further configured to determine whether the destination station exists in the mapping relationship
  • the sending unit 330 is configured to: when the processing unit 310 determines that the destination station exists in the mapping relationship, send the data packet to a destination second relay node corresponding to the destination station, so as to facilitate the destination second relay node. Send the packet to the destination site.
  • the respective units in the relay node 300 and the other operations or functions described above according to the embodiments of the present application are respectively configured to implement the corresponding processes performed by the first relay node in the embodiments of the present application. For the sake of brevity, it will not be repeated here.
  • the first relay node obtains a mapping relationship between the at least one second relay node and the at least one site, so that when the data packet to be forwarded is received, if it is determined that the mapping relationship exists
  • the data packet needs to be forwarded to the destination station, and the first relay node sends the data packet to the destination second relay node corresponding to the destination station according to the mapping relationship, so that the destination second relay node sends the data packet to the destination station. Therefore, the data packet no longer needs to be forwarded through the root access point, which can reduce the burden on the root access point.
  • FIG. 7 shows a schematic block diagram of a relay node 400 in accordance with another embodiment of the present application.
  • the relay node 400 includes:
  • the receiving unit 410 is configured to receive a data packet sent by the first relay node, where the data packet carries indication information, where the indication information is used to indicate a destination station to which the data packet needs to be transmitted, where the data packet is the first relay node Transmitting to the relay node according to the obtained mapping relationship between the at least one second relay node and the at least one site, where the mapping relationship is used to record at least one site corresponding to each second relay node, where the relay node Is one of the at least one second relay node;
  • the processing unit 420 is configured to determine whether a destination station exists in the site corresponding to the relay node;
  • the sending unit 430 is configured to send the data packet to the destination site when the processing unit 420 determines that the destination site exists in the corresponding site.
  • the first relay node obtains a mapping relationship between the at least one second relay node and the at least one site, so that when the data packet to be forwarded is received, if it is determined that the mapping relationship exists
  • the destination station to which the data packet needs to be forwarded, and the first relay node sends the data packet to the destination according to the mapping relationship.
  • the site corresponds to the destination second relay node, so that the destination second relay node sends the data packet to the destination site. Therefore, the data packet no longer needs to be forwarded through the root access point, which can reduce the burden on the root access point.
  • FIG. 8 shows a schematic structural diagram of a relay node 500 according to an embodiment of the present application.
  • the relay node 500 includes a receiver 510, a transmitter 520, a processor 530, and a memory 540.
  • the memory 540 is configured to store instructions
  • the processor 530 is configured to execute instructions stored in the memory 540 to control the receiver 510 to receive signals and control the transmitter 520 to send signals.
  • the processor 530 is configured to acquire a mapping relationship between the at least one second relay node and the at least one site, where the mapping relationship is used to record at least one site corresponding to each second relay node;
  • the receiver 510 is configured to receive a data packet, where the data packet carries indication information, where the indication information is used to indicate a destination site to which the data packet needs to be transmitted;
  • the processor 530 is further configured to determine whether the destination station exists in the mapping relationship
  • the transmitter 520 is configured to: when the processor 530 determines that the destination station exists in the mapping relationship, send the data packet to a destination second relay node corresponding to the destination station, to facilitate the destination second relay node. Send the packet to the destination site.
  • the processor 530 may be a central processing unit (CPU), and the processor 530 may also be another general-purpose processor, a digital signal processor (DSP). , Application-Specific Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 540 can include read only memory and random access memory and provides instructions and data to the processor 530. A portion of the memory 540 may also include a non-volatile random access memory. For example, the memory 540 can also store information of the device type.
  • memory 540 may be separate or may be integrated with processor 530.
  • processor 530 When the processor 530 is implemented by hardware, for example, it may be a logic circuit or an integrated circuit, and is connected to other hardware through an interface, and the memory 540 may not be needed at this time.
  • each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 530 or an instruction in a form of software.
  • the steps of the method for transmitting information disclosed in the embodiments of the present application may be directly implemented by the hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 540, and the processor 530 reads the information in the memory 540 and performs the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.
  • the units in the relay node 500 and the other operations or functions described above according to embodiments of the present application are respectively configured to perform respective processes performed by the first relay node in the respective embodiments. For the sake of brevity, it will not be repeated here.
  • the first relay node obtains a mapping relationship between the at least one second relay node and the at least one site, so that when the data packet to be forwarded is received, if it is determined that the mapping relationship exists
  • the data packet needs to be forwarded to the destination station, and the first relay node sends the data packet to the destination second relay node corresponding to the destination station according to the mapping relationship, so that the destination second relay node sends the data packet to the destination station. Therefore, the data packet no longer needs to be forwarded through the root access point, which can reduce the burden on the root access point.
  • FIG. 9 shows a schematic structural diagram of a relay node 600 according to another embodiment of the present application.
  • the relay node 600 includes a receiver 610, a transmitter 620, a processor 630, and a memory 640.
  • the memory 640 is configured to store instructions
  • the processor 630 is configured to execute instructions stored in the memory 640 to control the receiver 610 to receive signals and control the transmitter 620 to send signals.
  • the receiver 610 is configured to receive a data packet sent by the first relay node, where the data packet carries indication information, where the indication information is used to indicate a destination station to which the data packet needs to be transmitted, where the data packet is the first relay node. Transmitting to the relay node according to the obtained mapping relationship between the at least one second relay node and the at least one site, where the mapping relationship is used to record at least one site corresponding to each second relay node, where the relay node Is one of the at least one second relay node;
  • the processor 630 is configured to determine whether the destination station exists in the site corresponding to the relay node;
  • the transmitter 620 is configured to send the data packet to the destination site when the processor 630 determines that the destination site exists in the site corresponding to the relay node.
  • the respective units in the relay node 600 and the other operations or functions described above according to the embodiments of the present application are respectively configured to implement the corresponding processes performed by the destination second relay node in the embodiments of the present application. For the sake of brevity, it will not be repeated here.
  • the memory 640 can be separate or integrated with the processor 630.
  • the processor 630 may be a logic circuit or an integrated circuit, and is connected to other hardware through an interface, and the memory 640 may not be needed at this time.
  • the first relay node obtains a mapping relationship between the at least one second relay node and the at least one site, so that when the data packet to be forwarded is received, if it is determined that the mapping relationship exists
  • the data packet needs to be forwarded to the destination station, and the first relay node sends the data packet to the destination second relay node corresponding to the destination station according to the mapping relationship, so that the destination second relay node sends the data packet to the destination station. Therefore, the data packet no longer needs to be forwarded through the root access point, which can reduce the burden on the root access point.
  • the size of the sequence numbers of the foregoing processes does not mean the order of execution sequence, and the order of execution of each process should be determined by its function and internal logic, and should not be applied to the embodiment of the present application.
  • the implementation process constitutes any limitation.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the unit described as a separate component may or may not be physically separated as a unit display
  • the components may or may not be physical units, ie may be located in one place, or may be distributed over multiple network elements. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
  • the technical solution of the present application which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .

Abstract

Disclosed in an embodiment of the present application is a data transmission method, applied to a wireless network comprising a root access node and at least two relay nodes. The method comprises: a first relay node in at least two relay nodes obtains a mapping relationship between at least one second relay node and at least one station, each second relay node being corresponding to at least one station; the first relay node receives a data packet, the data packet carrying indication information, and the indication information being used for indicating a destination station to which the data packet is transmitted; and when it is determined that the destination station exists in the mapping relationship, the first relay node sends the data packet to the second relay node corresponding to the destination station, so that the second relay node sends the data packet to the destination station.

Description

传输数据的方法和中继节点Method of transmitting data and relay node
本申请要求于2016年7月27日提交中国专利局、申请号为201610601293.8、发明名称为“传输数据的方法和中继节点”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application, filed on Jul. 27, 2016, the entire disclosure of which is hereby incorporated by reference. in.
技术领域Technical field
本申请涉及数据传输领域,并且更具体地,涉及传输数据的方法和中继节点。The present application relates to the field of data transmission and, more particularly, to a method of transmitting data and a relay node.
背景技术Background technique
在无线通信的很多应用场景下,节点之间需要长达1~2公里的长距离传输,例如,智能电网、高速公路交通监控等。但由于法规限制以及无线信道状况的不确定性,节点之间无法直接进行长距离的传输。In many application scenarios of wireless communication, long-distance transmission of up to 1 to 2 kilometers between nodes is required, for example, smart grid, highway traffic monitoring, and the like. However, due to regulatory restrictions and uncertainty of wireless channel conditions, long-distance transmission between nodes is not possible.
为了解决上述问题,现有技术中提出了中继技术。中继技术是在需要传输数据的两个节点之间增加一个或多个中继节点,以对需要传输的数据进行一次或多次转发。通过增加中继节点,经过多跳传输,达到了长距离传输数据的目的。在中继传输的拓扑结构中,包括三类节点,分别是根接入点(Root Access Point,AP)、中继节点(Relay)和站点(Station,STA)。基于这样的拓扑结构,如果一个站点(为了便于区分,以下记作站点1)需要转发数据到另一个站点(为了便于区分,以下记作站点2),站点1首先将数据包转发至与其关联的中继节点1,中继节点1接收到数据包之后,将数据包发送至与其关联的中继节点2。以此类推,直至将数据包发送到根接入点。根接入点接收到数据包之后,将数据包经过多次转发,发送到与站点2关联的中继节点3,并最终由中继节点3将数据包发送至站点2,完成一次数据的传输。In order to solve the above problems, a relay technique has been proposed in the prior art. The relay technology adds one or more relay nodes between two nodes that need to transmit data to perform one or more forwarding of data that needs to be transmitted. By adding a relay node, after multi-hop transmission, the purpose of transmitting data over a long distance is achieved. In the topology of the relay transmission, there are three types of nodes, namely, a root access point (AP), a relay node (Relay), and a station (Station, STA). Based on such a topology, if one site (hereinafter referred to as Site 1 for ease of differentiation) needs to forward data to another site (for ease of distinction, hereinafter referred to as Site 2), Site 1 first forwards the packet to its associated Relay node 1, after receiving the data packet, the relay node 1 transmits the data packet to the relay node 2 associated therewith. And so on, until the packet is sent to the root access point. After receiving the data packet, the root access point forwards the data packet to the relay node 3 associated with the station 2, and finally sends the data packet to the station 2 by the relay node 3 to complete the data transmission. .
在上述传输过程中,虽然解决了数据可以长距离传输的问题。但是,由于所有的数据包都需要经过根接入点的转发,因此,使得根接入点传输数据的负担增大。In the above transmission process, the problem that data can be transmitted over a long distance is solved. However, since all data packets need to be forwarded through the root access point, the burden on the root access point to transmit data is increased.
发明内容Summary of the invention
本申请提供了一种传输数据的方法和中继节点,能够减轻根接入点传输数据的负担。The present application provides a method and a relay node for transmitting data, which can reduce the burden of transmitting data by a root access point.
第一方面,本申请提供一种传输数据的方法,应用于包括根接入点和至少两个中继节点的无线网络中,该方法包括:该至少两个中继节点中的第一中继节点获取至少一个第二中继节点与至少一个站点的映射关系,其中,每个第二中继节点对应至少一个站点;该第一中继节点接收数据包,该数据包携带指示信息,该指示信息用于指示该数据包需要传输至的目的站点;该第一中继节点确定该映射关系中存在该目的站点时,将该数据包发送至与该目的站点对应的目的第二中继节点,以便于该目的第二中继节点将该数据包发送至该目的站点。In a first aspect, the present application provides a method for transmitting data, which is applied to a wireless network including a root access point and at least two relay nodes, the method comprising: a first relay of the at least two relay nodes The node acquires a mapping relationship between the at least one second relay node and the at least one station, where each second relay node corresponds to at least one station; the first relay node receives a data packet, and the data packet carries indication information, the indication The information is used to indicate the destination station to which the data packet needs to be transmitted; when the first relay node determines that the destination station exists in the mapping relationship, the data packet is sent to the destination second relay node corresponding to the destination station, For this purpose, the second relay node sends the data packet to the destination site.
在一种可能的实现方式中,该第一中继节点获取至少一个第二中继节点与至少一个站点的映射关系,包括:该第一中继节点确定该至少一个第二中继节点;该第一中继节点与该至少一个第二中继节点之间建立设备对设备D2D连接;该第一中继节点获取该至少一个第二中继节点的至少一个站点信息,该至少一个站点信息与该至少一个第二中继节点一一对应,每个站点信息用于指示一个或多个站点,每个站点通过对应的第二中继 节点发送或接收数据;该第一中继节点根据该至少一个站点信息,建立该至少一个第二中继节点与至少一个站点的映射关系。In a possible implementation manner, the first relay node acquires a mapping relationship between the at least one second relay node and the at least one site, where the first relay node determines the at least one second relay node; Establishing a device-to-device D2D connection between the first relay node and the at least one second relay node; the first relay node acquiring at least one site information of the at least one second relay node, the at least one site information and The at least one second relay node is in one-to-one correspondence, each site information is used to indicate one or more sites, and each site passes the corresponding second relay The node sends or receives data; the first relay node establishes a mapping relationship between the at least one second relay node and the at least one station according to the at least one site information.
在一种可能的实现方式中,该第一中继节点确定该至少一个第二中继节点,包括:该第一中继节点发送发现请求帧,该发现请求帧中携带应答条件信息,该应答条件信息用于指示响应该发现请求帧的设备需要满足的条件;该第一中继节点接收该至少一个第二中继节点确定满足该应答条件时发送的至少一个应答帧;该第一中继节点根据该至少一个应答帧确定该至少一个第二中继节点。In a possible implementation manner, the first relay node determines the at least one second relay node, including: the first relay node sends a discovery request frame, where the discovery request frame carries response condition information, and the response The condition information is used to indicate a condition that the device responding to the discovery request frame needs to satisfy; the first relay node receives the at least one response frame that is sent when the at least one second relay node determines that the response condition is met; the first relay The node determines the at least one second relay node according to the at least one response frame.
在一种可能的实现方式中,该应答条件还包括以下条件中的至少一项:该设备为中继节点、该设备支持D2D连接、该设备具有路由功能、该设备与该第一中继节点之间的链路速率等于或高于预设速率门限、该设备与该第一中继节点之间的传输时延等于或低于预设时延门限。In a possible implementation manner, the response condition further includes at least one of the following conditions: the device is a relay node, the device supports a D2D connection, the device has a routing function, and the device and the first relay node The link rate between the device is equal to or higher than the preset rate threshold, and the transmission delay between the device and the first relay node is equal to or lower than a preset delay threshold.
在一种可能的实现方式中,该第一中继节点确定该至少一个第二中继节点,包括:该第一中继节点接收根接入点发送的D2D连接建议帧,该D2D连接建议帧中携带用于标识该第一中继节点的第一标识信息和至少一个第二标识信息,该至少一个第二标识信息与该至少一个第二中继节点一一对应,其中,该D2D连接建议帧是该根接入点确定该第一中继节点与该至少一个第二中继节点之间满足D2D连接条件时发送给该第一中继节点的;该第一中继节点根据该至少一个第二标识信息,确定该至少一个第二中继节点。In a possible implementation manner, the first relay node determines the at least one second relay node, including: the first relay node receives a D2D connection suggestion frame sent by a root access point, and the D2D connection suggestion frame The first identifier information and the at least one second identifier information are used to identify the first relay node, where the at least one second identifier information is in one-to-one correspondence with the at least one second relay node, where the D2D connection proposal is The frame is sent to the first relay node when the root access point determines that the first relay node and the at least one second relay node satisfy the D2D connection condition; the first relay node is according to the at least one The second identification information determines the at least one second relay node.
在一种可能的实现方式中,该第一中继节点确定该至少一个第二中继节点,包括:该第一中继节点接收至少一个D2D连接建议帧,该至少一个D2D连接建议帧与该至少一个第二中继节点一一对应,每个D2D连接建议帧中携带用于标识该第一中继节点的第一标识信息和用于标识所对应的第二中继节点的第二标识信息,每个D2D连接建议帧是所对应的第二中继节点的父节点在确定该第二中继节点与该第一中继节点之间满足D2D连接条件时发送给该第一中继节点的;该第一中继节点根据该至少一个D2D连接建议帧中携带的第二标识信息,确定该至少一个第二中继节点。In a possible implementation manner, the first relay node determines the at least one second relay node, including: the first relay node receives at least one D2D connection suggestion frame, and the at least one D2D connection suggestion frame and the The at least one second relay node is in one-to-one correspondence, and each D2D connection suggestion frame carries first identifier information for identifying the first relay node and second identifier information for identifying the corresponding second relay node. Each D2D connection suggestion frame is sent by the parent node of the corresponding second relay node to the first relay node when determining that the second relay node and the first relay node satisfy the D2D connection condition. The first relay node determines the at least one second relay node according to the second identifier information carried in the at least one D2D connection suggestion frame.
在一种可能的实现方式中,该第一中继节点获取该至少一个第二中继节点的站点信息,包括:该第一中继节点向该至少一个第二中继节点发送站点信息请求帧,该站点信息请求帧用于请求获取每个第二中继节点对应的站点;该第一中继节点接收该至少一个第二中继节点发送的站点信息。In a possible implementation manner, the first relay node acquires site information of the at least one second relay node, where the first relay node sends a site information request frame to the at least one second relay node. The site information request frame is used to request to acquire a site corresponding to each second relay node; the first relay node receives site information sent by the at least one second relay node.
在一种可能的实现方式中,该第一中继节点确定该至少一个第二中继节点之后,该方法还包括:该第一中继节点向该至少一个第二中继节点发送第一中继节点的站点信息,该第一中继节点的站点信息用于指示该第一中继节点对应的一个或多个站点,以便于该至少一个第二中继节点根据该第一中继节点的站点信息向该第一中继节点转发数据包。In a possible implementation, after the first relay node determines the at least one second relay node, the method further includes: the first relay node sending the first medium to the at least one second relay node Following the site information of the node, the site information of the first relay node is used to indicate one or more sites corresponding to the first relay node, so that the at least one second relay node is configured according to the first relay node. The station information forwards the data packet to the first relay node.
在一种可能的实现方式中,该第一中继节点将该数据包发送至该目的第二中继节点之后,该方法还包括:该第一中继节点接收该目的第二中继节点发送的错误报告,该错误报告中携带该目的站点的指示信息,该错误报告用于指示该目的第二中继节点对应的站点中不存在该目的站点;该第一中继节点根据该错误报告,更新该映射关系,删除该映射关系中记录的该目的第二中继节点对应该目的站点的信息。In a possible implementation, after the first relay node sends the data packet to the destination second relay node, the method further includes: the first relay node receiving the destination second relay node sending An error report, where the error report carries the indication information of the destination station, where the error report is used to indicate that the destination station does not exist in the site corresponding to the second relay node of the destination; the first relay node reports according to the error, The mapping relationship is updated, and information about the destination site of the destination second relay node recorded in the mapping relationship is deleted.
在一种可能的实现方式中,该方法还包括:该第一中继节点确定该映射关系中不存在该目的站点时,该第一中继节点将该数据包发送至该根接入点,以便于该根接入点将该数据包发送至该目的站点。 In a possible implementation manner, the method further includes: when the first relay node determines that the destination station does not exist in the mapping relationship, the first relay node sends the data packet to the root access point, In order for the root access point to send the data packet to the destination site.
在一种可能的实现方式中,该第一中继节点获取该至少一个第二中继节点与至少一个站点的映射关系后,该方法还包括:该第一中继节点接收该目的第二中继节点发送的第一提示信息或第二提示信息,该第一提示信息是该目的第二中继节点对应的站点增加时发送给该第一中继节点的,该第一提示信息中携带新增加的站点的指示信息,该第二提示信息是该目的第二中继节点对应的站点减少时发送给该第一中继节点的,该第二提示信息中携带减少的站点的指示信息;该第一中继节点根据该第一提示信息,在该映射关系中新建该目的第二中继节点对应该新增加的站点的信息,或者,该第一中继节点根据该第二提示信息,删除该映射关系中记录的该目的第二中继节点对应该减少的站点的信息。In a possible implementation manner, after the first relay node acquires the mapping relationship between the at least one second relay node and the at least one site, the method further includes: the first relay node receives the destination second And following the first prompt information or the second prompt information sent by the node, the first prompt information is sent to the first relay node when the site corresponding to the second relay node of the destination is increased, and the first prompt information carries a new one. The indication information of the added site is sent to the first relay node when the site corresponding to the second relay node of the destination is reduced, and the second prompt information carries the indication information of the reduced site; The first relay node creates, according to the first prompt information, information about the newly added site of the destination second relay node in the mapping relationship, or the first relay node deletes according to the second prompt information. The information of the site that should be reduced by the second relay node of the destination recorded in the mapping relationship.
第二方面,本申请提供一种传输数据的方法,应用于包括根接入点和至少两个中继节点的无线网络中,该方法包括:该至少两个中继节点中的目的第二中继节点接收第一中继节点发送的数据包,该数据包携带指示信息,该指示信息用于指示该数据包需要传输至的目的站点,该数据包是该第一中继节点根据获取的至少一个第二中继节点与至少一个站点的映射关系发送给该目的第二中继节点的,其中,该目的第二中继节点为该至少一个第二中继节点中的一个,每个第二中继节点对应至少一个站点;该目的第二中继节点确定对应的站点中存在该目的站点时,将该数据包发送至该目的站点。In a second aspect, the present application provides a method for transmitting data, which is applied to a wireless network including a root access point and at least two relay nodes, where the method includes: a second of the at least two relay nodes Receiving, by the node, a data packet sent by the first relay node, where the data packet carries indication information, where the indication information is used to indicate a destination station to which the data packet needs to be transmitted, where the data packet is obtained by the first relay node according to at least Transmitting a mapping relationship between the second relay node and the at least one site to the destination second relay node, where the destination second relay node is one of the at least one second relay node, each second The relay node corresponds to at least one station; the destination second relay node determines that the destination station exists in the corresponding station, and sends the data packet to the destination station.
在一种可能的实现方式中,该方法还包括:该目的第二中继节点接收该第一中继节点发送的发现请求帧,该发现请求帧中携带应答条件信息,该应答条件信息用于指示响应该发现请求帧的设备需要满足的条件;该目的第二中继节点确定满足该应答条件时,向该第一中继节点发送应答帧,以便于该第一中继节点发现该目的第二中继节点,并与该目的第二中继节点建立D2D连接。In a possible implementation manner, the method further includes: receiving, by the second relay node, the discovery request frame sent by the first relay node, where the discovery request frame carries response condition information, where the response condition information is used Determining a condition that the device responding to the discovery request frame needs to satisfy; when the destination second relay node determines that the response condition is met, sending a response frame to the first relay node, so that the first relay node finds the destination The second relay node establishes a D2D connection with the destination second relay node.
在一种可能的实现方式中,该应答条件包括以下条件中的至少一项:该设备为中继节点、该设备支持设备对设备D2D连接、该设备具有路由功能、该设备与该第一中继节点之间的链路速率等于或高于预设速率门限、该设备与该第一中继节点之间的传输时延等于或低于预设时延门限。In a possible implementation, the response condition includes at least one of the following conditions: the device is a relay node, the device supports device-to-device D2D connection, the device has a routing function, and the device is in the first The transmission delay between the device and the first relay node is equal to or lower than a preset delay threshold, and the link rate between the nodes is equal to or higher than a preset rate threshold.
在一种可能的实现方式中,该方法还包括:该目的第二中继节点接收根接入点发送的D2D连接建议帧,该D2D连接建议帧中携带标识该第一中继节点的第一标识信息和标识该目的第二中继节点的第二标识信息,该D2D连接建议帧是根接入点确定该第一中继节点与该目的第二中继节点之间满足D2D连接条件时发送给该目的第二中继节点和第一中继节点的;该目的第二中继节点接收该第一中继节点基于该D2D连接建议帧发送的D2D连接请求帧,并与该第一中继节点建立D2D连接。In a possible implementation manner, the method further includes: receiving, by the second relay node, the D2D connection suggestion frame sent by the root access point, where the D2D connection suggestion frame carries the first identifier that identifies the first relay node Identifying information and identifying second identification information of the second relay node of the destination, where the D2D connection suggestion frame is sent when the root access point determines that the first relay node and the destination second relay node satisfy the D2D connection condition Giving the second relay node and the first relay node to the destination; the destination second relay node receives the D2D connection request frame sent by the first relay node based on the D2D connection suggestion frame, and the first relay The node establishes a D2D connection.
在一种可能的实现方式中,该方法还包括:该目的第二中继节点接收该目的第二中继节点的父节点发送的D2D连接建议帧,该D2D连接建议帧中携带标识该第一中继节点的第一标识信息和标识该目的第二中继节点的第二标识信息,该D2D连接建议帧是该目的第二中继节点的父节点确定该第一中继节点与该目的第二中继节点之间满足D2D连接条件时发送给该目的第二中继节点和该第一中继节点的;该目的第二中继节点接收该第一中继节点基于该D2D连接建议帧发送的D2D连接请求帧,并与该第一中继节点建立D2D连接。In a possible implementation manner, the method further includes: receiving, by the second relay node, the D2D connection suggestion frame sent by the parent node of the destination second relay node, where the D2D connection suggestion frame carries the identifier a first identification information of the relay node and a second identification information identifying the second relay node of the destination, the D2D connection suggestion frame is a parent node of the second relay node of the destination, determining the first relay node and the destination Sending to the second relay node and the first relay node when the D2D connection condition is met between the two relay nodes; the destination second relay node receives the first relay node and sends the frame according to the D2D connection suggestion frame The D2D connects to the request frame and establishes a D2D connection with the first relay node.
在一种可能的实现方式中,该目的第二中继节点接收第一中继节点发送的数据包之前,该方法还包括:该目的第二中继节点接收该第一中继节点发送的站点信息请求帧, 该站点信息请求帧用于请求获取该目的第二中继节点对应的站点;该目的第二中继节点向该第一中继节点发送站点信息,该站点信息用于指示一个或多个站点,每个站点通过该目的第二中继节点发送或接收数据,以便于该第一中继节点建立该目的第二中继节点与该一个或多个站点的映射关系。In a possible implementation, before the destination second relay node receives the data packet sent by the first relay node, the method further includes: the destination second relay node receives the site sent by the first relay node Information request frame, The site information request frame is used to request to acquire a site corresponding to the second relay node of the destination; the destination second relay node sends site information to the first relay node, where the site information is used to indicate one or more sites, Each station sends or receives data through the destination second relay node, so that the first relay node establishes a mapping relationship between the destination second relay node and the one or more sites.
在一种可能的实现方式中,该方法还包括:该目的第二中继节点接收并保存该第一中继节点发送的第一中继节点的站点信息,以便于该目的第二中继节点在接收到数据包时,根据该第一中继节点的站点信息确定是否向该第一中继节点转发数据包,其中,该第一中继节点的站点信息用于指示一个或多个站点,每个站点通过该第一中继节点发送或接收数据。In a possible implementation manner, the method further includes: the destination second relay node receives and saves the site information of the first relay node sent by the first relay node, so as to facilitate the destination second relay node. When receiving the data packet, determining, according to the site information of the first relay node, whether to forward the data packet to the first relay node, where the site information of the first relay node is used to indicate one or more sites, Each station transmits or receives data through the first relay node.
在一种可能的实现方式中,该目的第二中继节点接收该第一中继节点发送的数据包之后,该方法还包括:该目的第二中继节点确定对应的站点中不存在该目的站点时,向该第一中继节点发送错误报告,该错误报告中携带该目的站点的指示信息,以便于该第一中继节点根据该错误报告更新该映射关系。In a possible implementation manner, after the destination second relay node receives the data packet sent by the first relay node, the method further includes: determining, by the second relay node, that the destination does not exist in the corresponding site. At the time of the site, an error report is sent to the first relay node, where the error report carries the indication information of the destination station, so that the first relay node updates the mapping relationship according to the error report.
在一种可能的实现方式中,该目的第二中继节点向该第一中继节点发送该站点信息之后,该方法还包括:当该目的第二中继节点对应的站点增加时,该目的第二中继节点向该第一中继节点发送第一提示信息,该第一提示信息中携带新增加的站点的指示信息,以便于该第一中继节点在该映射关系中新建该目的第二中继节点对应该新增加的站点的信息;或者,当该目的第二中继节点对应的站点减少时,该目的第二中继节点向该第一中继节点发送第二提示信息,该第二提示信息中携带减少的站点的指示信息,以便于该第一中继节点删除该映射关系中该目的第二中继节点对应该减少的站点的信息。In a possible implementation manner, after the destination second relay node sends the site information to the first relay node, the method further includes: when the destination corresponding to the second relay node increases, the destination The second relay node sends the first prompt information to the first relay node, where the first prompt information carries the indication information of the newly added station, so that the first relay node creates the new destination in the mapping relationship. The information that the second relay node corresponds to the newly added station; or, when the destination corresponding to the second relay node of the destination is decreased, the second relay node of the destination sends the second prompt information to the first relay node, where The second prompt information carries the indication information of the reduced station, so that the first relay node deletes information about the site corresponding to the destination second relay node in the mapping relationship.
第三方面,本申请提供一种中继节点,用于执行第一方面或第一方面的任意可能的实现方式中的方法。具体地,该中继节点包括用于执行第一方面或第一方面的任意可能的实现方式中的方法的单元。In a third aspect, the present application provides a relay node for performing the method of the first aspect or any possible implementation of the first aspect. In particular, the relay node comprises means for performing the method of the first aspect or any of the possible implementations of the first aspect.
第四方面,本申请提供一种中继节点,用于执行第二方面或第二方面的任意可能的实现方式中的方法。具体地,该中继节点包括用于执行第二方面或第二方面的任意可能的实现方式中的方法的单元。In a fourth aspect, the present application provides a relay node for performing the method in any of the possible implementations of the second aspect or the second aspect. In particular, the relay node comprises means for performing the method of any of the second aspect or any of the possible implementations of the second aspect.
第五方面,本申请提供一种中继节点,该中继节点包括接收器、发送器、处理器、存储器。其中,存储器用于存储指令,处理器用于执行存储器存储的指令,以控制接收器接收信号,或控制发送器发送信号。当该存储器中存储的指令被执行时,该处理器执行第一方面或第一方面的任意可能的实现方式中的方法。In a fifth aspect, the application provides a relay node, where the relay node includes a receiver, a transmitter, a processor, and a memory. The memory is used to store instructions, and the processor is configured to execute instructions stored in the memory to control the receiver to receive signals or to control the transmitter to transmit signals. The processor performs the method of the first aspect or any of the possible implementations of the first aspect when the instructions stored in the memory are executed.
第六方面,本申请提供一种中继节点,该中继节点包括接收器、发送器、处理器、存储器。其中,存储器用于存储指令,处理器用于执行存储器存储的指令,以控制接收器接收信号,或控制发送器发送信号。当该存储器中存储的指令被执行时,该处理器执行第二方面或第二方面的任意可能的实现方式中的方法。In a sixth aspect, the application provides a relay node, where the relay node includes a receiver, a transmitter, a processor, and a memory. The memory is used to store instructions, and the processor is configured to execute instructions stored in the memory to control the receiver to receive signals or to control the transmitter to transmit signals. The processor performs the method of any of the possible implementations of the second aspect or the second aspect when the instructions stored in the memory are executed.
可选地,上述第五方面和第六方面中的存储器可以是独立的,也可以跟处理器集成在一起。当处理器由硬件实现时,例如,可以是逻辑电路或者集成电路,通过接口与其他硬件相连,此时可以不需要存储器。Alternatively, the memories in the above fifth and sixth aspects may be independent or integrated with the processor. When the processor is implemented by hardware, for example, it may be a logic circuit or an integrated circuit, and is connected to other hardware through an interface, and no memory may be needed at this time.
第七方面,本申请提供一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行第一方面或第一方面的任意可能的实现方式中的方法的指令。In a seventh aspect, the application provides a computer readable medium for storing a computer program, the computer program comprising instructions for performing the method of the first aspect or any of the possible implementations of the first aspect.
第八方面,本申请提供一种计算机可读介质,用于存储计算机程序,该计算机程序 包括用于执行第二方面或第二方面的任意可能的实现方式中的方法的指令。In an eighth aspect, the application provides a computer readable medium for storing a computer program, the computer program Instructions are included for performing the method of the second aspect or any of the possible implementations of the second aspect.
根据本申请实施例的传输数据的方法,第一中继节点通过获取至少一个第二中继节点与至少一个站点的映射关系,从而在接收到需要转发的数据包时,如果确定映射关系中存在数据包需要转发至的目的站点,第一中继节点根据映射关系,将数据包发送至目的站点对应的目的第二中继节点,以便于由目的第二中继节点将数据包转发至目的站点。从而,数据包不再需要经过根接入点进行转发,能够减轻根接入点的负担。According to the method for transmitting data according to the embodiment of the present application, the first relay node obtains a mapping relationship between the at least one second relay node and the at least one site, so that when the data packet to be forwarded is received, if it is determined that the mapping relationship exists The destination station to which the data packet needs to be forwarded, and the first relay node sends the data packet to the destination second relay node corresponding to the destination station according to the mapping relationship, so that the destination second relay node forwards the data packet to the destination site. . Therefore, the data packet no longer needs to be forwarded through the root access point, which can reduce the burden on the root access point.
附图说明DRAWINGS
图1是现有技术的中继传输技术的拓扑结构的示意图。1 is a schematic diagram of a topology of a prior art relay transmission technology.
图2是根据本申请实施例的传输数据的方法的示意性流程图。2 is a schematic flowchart of a method of transmitting data according to an embodiment of the present application.
图3示出了本申请实施例的满足应答条件的多个第二中继节点发送应答帧的示意图。FIG. 3 is a schematic diagram of a plurality of second relay nodes that satisfy a response condition and send a response frame according to an embodiment of the present application.
图4示出了本申请实施例的D2D连接建议帧的一种可能的形式。FIG. 4 shows one possible form of the D2D connection suggestion frame of the embodiment of the present application.
图5示出了根据本申请实施例的传输数据的方法的一种示意性场景。FIG. 5 illustrates a schematic scenario of a method of transmitting data in accordance with an embodiment of the present application.
图6示出了根据本申请一实施例的中继节点的示意性框图。FIG. 6 shows a schematic block diagram of a relay node in accordance with an embodiment of the present application.
图7示出了根据本申请另一实施例的中继节点的示意性框图。FIG. 7 shows a schematic block diagram of a relay node in accordance with another embodiment of the present application.
图8示出了根据本申请一实施例的中继节点的示意性结构图。FIG. 8 shows a schematic structural diagram of a relay node according to an embodiment of the present application.
图9示出了根据本申请另一实施例的中继节点的示意性结构图。FIG. 9 shows a schematic structural diagram of a relay node according to another embodiment of the present application.
具体实施方式detailed description
下面结合附图,对本申请提供的技术方案作详细说明。The technical solutions provided by the present application are described in detail below with reference to the accompanying drawings.
应理解,在本申请实施例中,编号“第一”、“第二”仅仅用于区分不同的对象,例如,为了区分不同的中继节点或信息,不应对本申请实施例的保护范围构成不必要的限定。It should be understood that, in the embodiment of the present application, the numbers "first" and "second" are only used to distinguish different objects. For example, in order to distinguish different relay nodes or information, the protection scope of the embodiment of the present application should not be Unnecessary restrictions.
在传统的802.11标准中,一个接入点(Access Point,AP)以及与该接入点关联的多个站点(Station,STA)组成一个基本服务集(Basic Service Set,BSS)。在增强覆盖或者提高系统吞吐率的需求下,可以通过增加中继接入点(Relay)来转发业务数据。中继接入点设备中包括两个逻辑实体,即非接入点中继站点实体(Relay-station,Relay STA)和中继接入点实体(Relay-access Point,Relay AP)。为了和非中继的接入点进行区分,将非中继的接入点称之为根接入点(Root AP)。当Relay与Root AP通信时,由Relay STA实体与Root AP进行关联并通信,也可以说,Relay STA与Root AP属于同一个BSS。当Relay与普通的站点通信时,则由Relay AP实体与站点进行关联并通信,即,Relay AP与站点属于同一个BSS。In the traditional 802.11 standard, an access point (AP) and a plurality of stations (Stations, STAs) associated with the access point form a basic service set (BSS). Service data can be forwarded by adding relay access points (Relays) while increasing coverage or increasing system throughput. The relay access point device includes two logical entities, namely, a relay-station (Relay STA) and a relay-access point (Relay AP). In order to distinguish from non-relay access points, non-relay access points are referred to as root access points (Root APs). When the relay communicates with the Root AP, the Relay STA entity associates with the Root AP and communicates with each other. It can also be said that the Relay STA and the Root AP belong to the same BSS. When the Relay communicates with the normal site, the Relay AP entity associates with the site and communicates, that is, the Relay AP and the site belong to the same BSS.
图1示出了现有技术中继网络的拓扑结构的示意图。如图1所示,在一个拓扑结构中,共包括3类节点,分别是根接入点(Root Access Point,Root AP)、中继节点(relay)和站点(Station,STA)。其中,有些站点直接关联在根接入点上,有些站点关联在中继节点上。此外,中继节点也可以关联在中继节点上,组成一个多层中继。对于一个中继节点,其内部包括3个部分,分别为中继STA、中继功能和中继AP。其中,中继STA作为上层BSS中的节点同根接入点或上一级的中继进行通信。而中继AP作为下层BSS的节点,同与其关联的中继节点或者站点进行通信。中继功能的作用是中继STA与中继AP的桥梁,并且与逻辑链路层相连,实现中继的功能。 Figure 1 shows a schematic diagram of the topology of a prior art relay network. As shown in Figure 1, in a topology, there are three types of nodes, namely, a root access point (Root Access Point), a relay node (relay), and a station (Station, STA). Some of the sites are directly associated with the root access point, and some sites are associated with the relay node. In addition, the relay node can also be associated with the relay node to form a multi-layer relay. For a relay node, it internally includes three parts, which are a relay STA, a relay function, and a relay AP. The relay STA communicates with the node in the upper BSS as the root access point or the relay of the upper level. The relay AP acts as a node of the lower BSS and communicates with its associated relay node or station. The function of the relay function is to bridge the STA and the relay AP, and connect to the logical link layer to implement the relay function.
如图1所示,以STA2向STA6传输数据为例。采用中继传输时,STA2首先将数据包发送至与STA2关联的中继节点1。中继节点1再将数据包发送到根接入点。根接入点在接收到数据包之后,根据中继节点与站点之间的关联情况,将数据包发送至中继节点2。中继节点2再将数据包发送至中继节点3,并最终将数据包发送至STA6。通过上述数据包的转发过程可以看到,通过中继节点对数据包的转发,可以解决现有技术中,由于STA2与STA6之间传输距离太长以及对发射功率的限制等,使得STA2无法直接将数据包发送至STA6的问题。As shown in FIG. 1, the STA2 transmits data to the STA6 as an example. When relay transmission is used, STA2 first transmits the data packet to the relay node 1 associated with STA2. Relay node 1 then sends the packet to the root access point. After receiving the data packet, the root access point sends the data packet to the relay node 2 according to the association between the relay node and the station. The relay node 2 then transmits the data packet to the relay node 3 and finally transmits the data packet to the STA 6. Through the forwarding process of the foregoing data packet, it can be seen that the forwarding of the data packet by the relay node can solve the problem in the prior art that STA2 cannot be directly transmitted due to the long transmission distance between STA2 and STA6 and the limitation of the transmission power. The problem of sending a packet to STA6.
但是,上述过程存在另外一个问题,即,所有数据包的转发都会经过根接入点,导致根接入点传输数据的负担较大。However, the above process has another problem, that is, all data packets are forwarded through the root access point, resulting in a large burden on the root access point to transmit data.
以下结合图2至图5,对本申请实施例的传输数据的方法进行详细说明。The method for transmitting data in the embodiment of the present application will be described in detail below with reference to FIG. 2 to FIG. 5.
图2示出了根据本申请实施例的传输数据的方法的示意性流程图。如图2所示,该方法包括步骤110至130。FIG. 2 shows a schematic flow chart of a method of transmitting data according to an embodiment of the present application. As shown in FIG. 2, the method includes steps 110 through 130.
110、第一中继节点获取至少一个第二中继节点与至少一个站点的映射关系,该映射关系用于记录每个第二中继节点对应的至少一个站点。110. The first relay node acquires a mapping relationship between the at least one second relay node and the at least one site, where the mapping relationship is used to record at least one site corresponding to each second relay node.
需要说明的是,在本申请实施例中,第一中继节点是指与根接入点关联的中继节点。第二中继节点是指关联有站点的中继节点。其中,第二中继节点可以与根接入点关联,或者,第二中继节点与根接入点之间也可以存在一层或多层中继节点,本申请实施例对此不作特别限定。It should be noted that, in the embodiment of the present application, the first relay node refers to a relay node associated with the root access point. The second relay node refers to a relay node associated with a site. The second relay node may be associated with the root access point, or one or more relay nodes may exist between the second relay node and the root access point, which is not specifically limited in this embodiment. .
为了便于理解,以上述图1所示的拓扑结构作为示例,对本申请实施例中涉及的各节点之间的拓扑关系进行举例说明。For the sake of understanding, the topology relationship shown in FIG. 1 is taken as an example to describe the topological relationship between the nodes involved in the embodiment of the present application.
在上述图1所示的拓扑结构中,本申请实施例中所述的第一中继节点可以为中继节点1,第二中继节点可以为中继节点2,此时中继节点2关联有STA4。或者,第二中继节点也可以为中继节点3,此时,中继节点3通过父节点(即,图1中所示的中继节点2)与根接入点连接,并且,中继节点3关联有STA5和STA6。In the above-mentioned topology shown in FIG. 1, the first relay node in the embodiment of the present application may be the relay node 1, and the second relay node may be the relay node 2, and the relay node 2 is associated with the relay node 2 at this time. There is STA4. Alternatively, the second relay node may also be the relay node 3. At this time, the relay node 3 is connected to the root access point through the parent node (ie, the relay node 2 shown in FIG. 1), and is relayed. Node 3 is associated with STA5 and STA6.
在本申请实施例中,一个中继节点与一个站点对应,包括两种情况。一种情况是,该中继节点与该站点关联,该站点直接通过该中继节点接收数据或发送数据。另一种情况是,该中继节点与站点之间还存在一层或多层中继节点,该站点通过该中继节点间接地接收或发送数据。In the embodiment of the present application, one relay node corresponds to one site, and includes two cases. In one case, the relay node is associated with the site, and the station directly receives data or transmits data through the relay node. In another case, there is one or more relay nodes between the relay node and the station, and the station indirectly receives or transmits data through the relay node.
因此,本申请实施例中的映射关系,可以理解为记录了一个或多个第二中继节点各自所关联的站点,或者,可以通过其它中继节点间接地进行通信的站点。Therefore, the mapping relationship in the embodiment of the present application can be understood as recording a site associated with each of the one or more second relay nodes, or a site that can communicate indirectly through other relay nodes.
可选地,作为一个实施例,第一中继节点获取至少一个第二中继节点与至少一个站点的映射关系,包括:Optionally, as an embodiment, the first relay node acquires a mapping relationship between the at least one second relay node and the at least one site, including:
该第一中继节点确定该至少一个第二中继节点;The first relay node determines the at least one second relay node;
该第一中继节点与该至少一个第二中继节点之间建立设备对设备D2D连接;Establishing a device-to-device D2D connection between the first relay node and the at least one second relay node;
该第一中继节点获取该至少一个第二中继节点的至少一个站点信息,该至少一个站点信息与该至少一个第二中继节点一一对应,每个站点信息用于指示一个或多个站点,每个站点通过对应的第二中继节点发送或接收数据;The first relay node acquires at least one site information of the at least one second relay node, the at least one site information is in one-to-one correspondence with the at least one second relay node, and each site information is used to indicate one or more a site, each station transmitting or receiving data through a corresponding second relay node;
该第一中继节点根据该至少一个站点信息,建立该至少一个第二中继节点与至少一个站点的映射关系。And the first relay node establishes a mapping relationship between the at least one second relay node and the at least one site according to the at least one site information.
在本申请实施例中,第一中继节点进行D2D设备发现,确定至少一个第二中继节点 包括两种方式,即,方式1和方式2。In the embodiment of the present application, the first relay node performs D2D device discovery, and determines at least one second relay node. There are two ways, namely, mode 1 and mode 2.
方式1 Mode 1
可选地,第一中继节点确定至少一个第二中继节点,包括:Optionally, the first relay node determines the at least one second relay node, including:
第一中继节点发送发现请求帧,该发现请求帧中携带应答条件信息,该应答条件信息用于指示响应该发现请求帧的设备需要满足的条件;The first relay node sends a discovery request frame, where the discovery request frame carries response condition information, where the response condition information is used to indicate a condition that the device responding to the discovery request frame needs to meet;
第一中继节点接收该至少一个第二中继节点确定满足该应答条件时发送的至少一个应答帧;Receiving, by the first relay node, the at least one response frame that is sent when the at least one second relay node determines that the response condition is met;
第一中继节点根据该至少一个应答帧确定该至少一个第二中继节点。The first relay node determines the at least one second relay node according to the at least one response frame.
具体地说,第一中继节点发送一个发现请求帧,该发现请求帧中携带应答条件。若第一中继节点的邻居节点接收到该发现请求帧,判断自身是否满足该应答条件。如果满足,该邻居节点向该第一中继节点发送应答帧。第一中继节点接收到该应答帧,获知邻居节点中满足应答条件的一个或多个邻居节点,并将这一个或多个邻居节点确定为第二中继节点。Specifically, the first relay node sends a discovery request frame, and the discovery request frame carries a response condition. If the neighboring node of the first relay node receives the discovery request frame, it determines whether the response condition is met by itself. If so, the neighbor node sends a response frame to the first relay node. The first relay node receives the response frame, learns one or more neighbor nodes in the neighbor node that satisfy the response condition, and determines the one or more neighbor nodes as the second relay node.
应理解,接收到该发现请求帧的邻居节点如果发现自己不满足该应答条件,则不回复该发现请求帧。It should be understood that the neighbor node that receives the discovery request frame does not reply to the discovery request frame if it finds that it does not satisfy the response condition.
在本申请实施例中,应答条件可以包括以下条件中的至少一项:In the embodiment of the present application, the response condition may include at least one of the following conditions:
回复该发现请求帧的设备(或者说,节点)为中继节点、该设备支持D2D连接、该设备具有路由功能、该设备与第一中继节点之间的链路速率等于或高于预设速率门限、该设备与第一中继节点之间的传输时延等于或低于预设时延门限。The device (or node) that replies to the discovery request frame is a relay node, the device supports a D2D connection, the device has a routing function, and the link rate between the device and the first relay node is equal to or higher than a preset. The rate threshold, the transmission delay between the device and the first relay node is equal to or lower than a preset delay threshold.
具体地说,回复该发现请求帧的设备应当为relay设备、回复该发现请求帧的设备应当支持D2D连接。回复该发现请求帧的设备应当具有路由选择的计算能力,同时应当具备路由表的存取能力。该设备与第一中继节点之间的链路速率不得低于一个给定的预设速率门限值,此种情况下,发现请求帧中可以携带该预设速率门限值。该设备与第一中继节点之间的时延不得超过预设时延门限值。Specifically, the device replying to the discovery request frame should be a relay device, and the device replying to the discovery request frame should support the D2D connection. The device replying to the discovery request frame should have the computing power of routing and should have access to the routing table. The link rate between the device and the first relay node may not be lower than a predetermined preset rate threshold. In this case, the preset rate threshold may be carried in the request frame. The delay between the device and the first relay node must not exceed the preset delay threshold.
应理解,第一中继节点可以根据数据传输的需求,在应答条件中携带链路速率和传输时延的条件。当应答条件中携带最低链路速率和最大传输时延的要求时,回复该发现请求帧的节点如果满足第一中继节点对链路速率和传输时延的要求,可以在应答帧中携带实际的链路速率或实际的传输时延。It should be understood that the first relay node may carry the conditions of the link rate and the transmission delay in the response condition according to the requirements of the data transmission. When the response condition carries the requirements of the lowest link rate and the maximum transmission delay, the node that replies to the discovery request frame may carry the actual response frame in the response frame if it satisfies the requirement of the link rate and the transmission delay of the first relay node. Link rate or actual transmission delay.
还应理解,如果有多个第二中继节点都满足最低链路要求或最大传输时延的要求,并在发送给第一中继节点的应答帧中携带了各自实际的链路速率或实际传输时延。第一中继节点可以从满足条件的多个第二中继节点中选择部分实际传输速率更高或实际传输时延更小的一个或部分第二中继节点建立D2D连接。It should also be understood that if there are multiple second relay nodes that meet the minimum link requirement or the maximum transmission delay requirement, and the actual frame rate or actuality is carried in the response frame sent to the first relay node. Transmission delay. The first relay node may select one or a part of the second relay nodes that have a higher actual transmission rate or a smaller actual transmission delay from among the plurality of second relay nodes that satisfy the condition to establish a D2D connection.
可选地,该应答条件中可以包括回复该发现请求帧的节点所关联的站点的数目的最小值,或者该应答条件中携带目标站点列表。Optionally, the response condition may include a minimum value of the number of sites associated with the node that replies to the discovery request frame, or the response condition carries a target site list.
应理解,当一个中继节点关联的站点数目非常少,或者没有关联任何的站点时,即使满足了上述应答条件中的全部条件,第一中继节点与该中继节点建立D2D连接就没有必要。因此,第一中继节点可以通过在应答条件中携带所关联的站点的最小数目,避免与部分关联站点非常少、甚至不关联站点的中继节点建立D2D连接。It should be understood that when the number of sites associated with one relay node is very small, or no site is associated, even if all the conditions of the above response conditions are met, it is not necessary for the first relay node to establish a D2D connection with the relay node. . Therefore, the first relay node can avoid establishing a D2D connection with a relay node that has few or even no associated sites by carrying the minimum number of associated sites in the response condition.
最大传输时延的条件基于和最低链路速率类似的理由,即,第一中继节点可以从满足其它多个条件的中继节点中进一步选择符合时延要求的中继节点。换句话说,实际链 路速率和实际传输时延可以作为第一中继节点进行D2D连接时的参考。The condition of the maximum transmission delay is based on the reason similar to the lowest link rate, that is, the first relay node can further select the relay node that meets the delay requirement from the relay nodes that satisfy the other multiple conditions. In other words, the actual chain The path rate and the actual transmission delay can be used as a reference for the first relay node to perform D2D connection.
在本申请实施例中,应答条件中的目标站点列表用于第一中继节点有目的地寻找某些站点的情况。例如,发现请求帧中携带的目标站点列表为STA1、STA2和STA3。那么,一个中继节点只有在关联了STA1、STA2和STA3中至少一个时,才能够向第一中继节点发送应答帧。可选地,发送应答帧的中继节点在应答帧中携带自己关联的站点的标识信息。In the embodiment of the present application, the target site list in the response condition is used for the case where the first relay node purposefully searches for certain sites. For example, the list of target sites carried in the discovery request frame is STA1, STA2, and STA3. Then, a relay node can send a response frame to the first relay node only when at least one of STA1, STA2, and STA3 is associated. Optionally, the relay node that sends the response frame carries the identification information of the associated site in the response frame.
本申请实施例中,第一中继节点发送该发现请求帧的可以是通过广播的形式发送给其它邻居节点,或者,也可以是通过单播的形式发送给一个特定的邻居节点,本申请实施例对此不作特别限定。在后面一种情况下,通常可以应用于第一中继节点知道某一邻居节点的存在,但并不知道该邻居节点是否满足应答条件。因此,第一中继节点通过向该邻居节点发送发现请求帧,如果该邻居节点回复了应答帧,那么第一中继节点发起与该邻居节点的D2D连接的建立。In the embodiment of the present application, the first relay node may send the discovery request frame to the other neighboring node in the form of a broadcast, or may be sent to a specific neighbor node in a unicast manner. This example is not particularly limited. In the latter case, it can generally be applied to the first relay node to know the existence of a certain neighbor node, but it is not known whether the neighbor node satisfies the response condition. Therefore, the first relay node sends a discovery request frame to the neighbor node, and if the neighbor node replies with the response frame, the first relay node initiates establishment of a D2D connection with the neighbor node.
需要说明的是,回复发现请求帧的至少一个第二中继节点,在向第一中继节点发送应答帧时,可以竞争信道。在获取信道接入机会时再发送应答帧。It should be noted that at least one second relay node that replies to the discovery request frame may contend for the channel when transmitting the response frame to the first relay node. The response frame is sent again when the channel access opportunity is acquired.
图3示出了满足应答条件的多个第二中继节点发送应答帧的示意图。如图3所示,中继节点1发送发现请求帧,以发现周围满足的中继节点。其中,发现请求帧中携带应答条件。假使接收到该发现请求帧的中继节点2、中继节点3和中继节点4满足该应答条件,中继节点2、中继节点3和中继节点4通过竞争信道,分别在获取到信道接入机会时向第一中继节点发送应答帧。FIG. 3 shows a schematic diagram of a plurality of second relay nodes that satisfy a response condition transmitting a response frame. As shown in FIG. 3, the relay node 1 transmits a discovery request frame to find a relay node that is satisfied. The discovery request carries a response condition. If the relay node 2, the relay node 3, and the relay node 4 that have received the discovery request frame satisfy the response condition, the relay node 2, the relay node 3, and the relay node 4 respectively acquire the channel through the contention channel. An access frame is sent to the first relay node when the opportunity is accessed.
方式2 Mode 2
可选地,第一中继节点确定至少一个第二中继节点,包括:Optionally, the first relay node determines the at least one second relay node, including:
第一中继节点接收至少一个D2D连接建议帧,该至少一个D2D连接建议帧与该至少一个第二中继节点一一对应,每个D2D连接建议帧中携带用于标识该第一中继节点的第一标识信息和用于标识所对应的第二中继节点的第二标识信息,每个D2D连接建议帧是所对应的第二中继节点的父节点在确定该第二中继节点与该第一中继节点之间满足D2D连接条件时发送给该第一中继节点的;The first relay node receives at least one D2D connection suggestion frame, and the at least one D2D connection suggestion frame is in one-to-one correspondence with the at least one second relay node, and each D2D connection suggestion frame carries a identifier for identifying the first relay node. First identification information and second identification information for identifying the corresponding second relay node, each D2D connection suggestion frame is a parent node of the corresponding second relay node in determining the second relay node Sending to the first relay node when the first relay node satisfies the D2D connection condition;
该第一中继节点根据该至少一个D2D连接建议帧中携带的第二标识信息,确定该至少一个第二中继节点。The first relay node determines the at least one second relay node according to the second identifier information carried in the at least one D2D connection suggestion frame.
具体地说,在本申请实施例中,如果一个中继节点的父节点发现自身关联的中继节点(为了便于区分,记作中继节点1)与另外的中继节点(为了便于区分,记作中继节点2)之间满足D2D连接条件,例如,中继节点1和中继节点2之间有频繁的帧交换,或者中继节点1和中继节点2之间的距离较近等。这种情况下,中继节点1的父节点可以向中继节点1和中继节点2发送D2D连接建议帧,以指示中继节点1和中继节点2建立D2D连接。Specifically, in the embodiment of the present application, if a parent node of a relay node finds its own associated relay node (referred to as a relay node 1 for convenience of distinction) and another relay node (for the purpose of distinguishing, The D2D connection condition is satisfied between the relay nodes 2), for example, there is frequent frame exchange between the relay node 1 and the relay node 2, or the distance between the relay node 1 and the relay node 2 is relatively close. In this case, the parent node of the relay node 1 may transmit a D2D connection suggestion frame to the relay node 1 and the relay node 2 to instruct the relay node 1 and the relay node 2 to establish a D2D connection.
可选地,作为一个实施例,第一中继节点接收还可以根接入点发送的D2D连接建议帧,该D2D连接建议帧中携带有标识该第一中继节点的第一标识信息和至少一个第二标识信息,该至少一个第二标识信息与该至少一个第二中继节点一一对应,其中,该D2D连接建议帧是根接入点确定该第一中继节点与该至少一个第二中继节点之间满足D2D连接条件时发送给该第一中继节点的;Optionally, as an embodiment, the first relay node receives the D2D connection suggestion frame that is also sent by the root access point, where the D2D connection suggestion frame carries the first identifier information that identifies the first relay node and at least a second identification information, the at least one second identification information is in one-to-one correspondence with the at least one second relay node, wherein the D2D connection suggestion frame is a root access point determining the first relay node and the at least one Sending to the first relay node when the two relay nodes satisfy the D2D connection condition;
该第一中继节点根据该至少一个第二标识信息,确定该至少一个第二中继节点。 The first relay node determines the at least one second relay node according to the at least one second identification information.
应理解,与上述第二中继节点的父节点不同的是,根接入点可以获知无线网络中所有中继节点之间的通信情况。因此可以确定与第一中继节点满足D2D连接条件的多个第二中继节点。因而,根接入点发送给第一中继节点的D2D连接建议帧中可以携带满足D2D连接条件的多个第二中继节点的标识信息。It should be understood that, unlike the parent node of the second relay node described above, the root access point can learn the communication situation between all relay nodes in the wireless network. It is therefore possible to determine a plurality of second relay nodes that satisfy the D2D connection condition with the first relay node. Therefore, the D2D connection suggestion frame sent by the root access point to the first relay node may carry the identifier information of the plurality of second relay nodes that satisfy the D2D connection condition.
可选地,作为一个实施例,第一中继节点还可以接收第一中继节点的父节点发送的D2D连接建议帧,并根据该D2D连接建议帧中携带的至少一个第二标识信息,确定该至少一个第二中继节点。Optionally, as an embodiment, the first relay node may further receive the D2D connection suggestion frame sent by the parent node of the first relay node, and determine, according to the at least one second identifier information carried in the D2D connection suggestion frame. The at least one second relay node.
如果第一中继节点与根接入点之间还存在一层或多层中继节点,第一中继节点的父节点也可以获知与第一中继节点有频繁帧交换的多个第二中继节点,因此,第一中继节点的父节点也可以向第一中继节点发送D2D连接建议帧。并且,该D2D连接建议帧中可以携带与第一中继节点有频繁帧交换的多个第二中继节点的标识信息。If one or more relay nodes exist between the first relay node and the root access point, the parent node of the first relay node may also learn multiple seconds that have frequent frame exchange with the first relay node. The relay node, therefore, the parent node of the first relay node may also send a D2D connection suggestion frame to the first relay node. Moreover, the D2D connection suggestion frame may carry identifier information of multiple second relay nodes that have frequent frame exchange with the first relay node.
可以理解的是,在一个中继拓扑结构中,与一个节点直接关联的上一层节点称为该节点的父节点。以图1所示的拓扑结构为例,中继节点1为STA2和STA3的父节点,中继节点2为中继节点3和STA4的父节点。It can be understood that in a relay topology, the upper layer node directly associated with a node is called the parent node of the node. Taking the topology shown in FIG. 1 as an example, the relay node 1 is the parent node of STA2 and STA3, and the relay node 2 is the parent node of the relay node 3 and STA4.
具体地说,在本申请实施例中,根接入点和各中继节点可以基于预设D2D连接条件,判断无线网络中的哪些节点之间适合建立D2D连接,当判断有节点之间满足D2D连接条件时,向满足条件的至少两个节点发送D2D连接建议帧,以指示该至少两个节点建立D2D连接。其中,D2D连接条件可以进行预设。例如,两个中继节点之间有频繁的帧交换。又例如,通信的两个中继节点之间的距离比较近,或者其它条件等。其中,根接入点或某一个中继节点的父节点获知两个中继节点之间有频繁帧交换或距离的过程,可以通过现有技术实现,这里不作详细说明。Specifically, in the embodiment of the present application, the root access point and each relay node may determine, according to preset D2D connection conditions, which nodes in the wireless network are suitable for establishing a D2D connection, and determine that the nodes satisfy D2D. When the condition is connected, a D2D connection suggestion frame is sent to at least two nodes that satisfy the condition to indicate that the at least two nodes establish a D2D connection. Among them, the D2D connection condition can be preset. For example, there is frequent frame exchange between two relay nodes. For another example, the distance between two relay nodes of communication is relatively close, or other conditions, and the like. The parent node of the root access point or a certain relay node learns the process of frequent frame exchange or distance between the two relay nodes, which can be implemented by the prior art, and will not be described in detail herein.
图4示出了D2D连接建议帧的一种可能的形式。如图4所示,D2D连接建议帧中包含至少两个标识信息,该至少两个标识信息与至少两个中继节点一一对应,每个标识信息用于唯一地标识对应的中继节点。Figure 4 shows one possible form of a D2D connection suggestion frame. As shown in FIG. 4, the D2D connection suggestion frame includes at least two pieces of identification information, and the at least two pieces of identification information are in one-to-one correspondence with at least two relay nodes, and each of the identification information is used to uniquely identify the corresponding relay node.
可选地,标识信息可以为关联标识(Association ID,AID)、媒体接入控制(Media Access Control,MAC)地址等。Optionally, the identifier information may be an Association ID (AID), a Media Access Control (MAC) address, or the like.
可选地,D2D连接建议帧中还可以携带该AP的基本服务集标识(Basic Service Set Identifier,BSSID),建议建立D2D连接的原因、以及建议D2D连接的有益效果等信息。Optionally, the D2D connection suggestion frame may also carry a Basic Service Set Identifier (BSSID) of the AP, suggesting the reason for establishing the D2D connection, and the beneficial effects of the recommended D2D connection.
进一步地,该D2D连接建议帧中还可以携带指示建立D2D连接的发起方的信息,以指示哪一个中继节点为D2D连接建立的发起方。或者,也可以不携带指示建立D2D连接的发起方的信息,以标识信息的位置顺序隐式地指示。例如,将D2D连接建议帧中的第一个标识信息对应的中继节点默认为D2D连接建立的发起方。Further, the D2D connection suggestion frame may further carry information indicating an initiator that establishes a D2D connection to indicate which relay node is the initiator of the D2D connection establishment. Alternatively, the information indicating the originator of the D2D connection may not be carried, and the location of the information is implicitly indicated in the order of the information. For example, the relay node corresponding to the first identification information in the D2D connection suggestion frame is defaulted to the initiator of the D2D connection establishment.
需要说明的是,图4中仅以D2D连接建议帧中携带两个标识信息为例进行说明。D2D连接建议帧可以携带更多的标识信息,以指示D2D连接的发起方与多个中继节点之间建立D2D连接。It should be noted that, in FIG. 4, only two identification information carried in the D2D connection suggestion frame is taken as an example for description. The D2D connection suggestion frame may carry more identification information to indicate that a D2D connection is established between the initiator of the D2D connection and the multiple relay nodes.
通过上述两种方式第一中继节点发现了周围的邻居节点中符合建立D2D连接的中继节点。接下来,第一中继节点可以与这些符合D2D连接条件的中继节点(即,第二中继节点)建立D2D连接。Through the above two methods, the first relay node finds a relay node in the surrounding neighbor nodes that is consistent with establishing a D2D connection. Next, the first relay node can establish a D2D connection with the relay nodes (ie, the second relay node) that meet the D2D connection conditions.
在本申请实施例中,可以采用现有技术进行D2D连接的建立,建立D2D连接的主要过程包括如下步骤:第一中继节点作为D2D连接的发起方,向目的第二中继节点发送 D2D连接建立请求帧。目的第二中继节点接收到D2D连接建立请求帧后,向第一中继节点发送D2D连接建议响应帧。最后,第一中继节点向目的第二中继节点发送D2D连接建立确认帧。上述步骤为现有技术中通道直接链路建立(Tunneled Direct Link Setup,TDLS)的过程,此处不作详述。In the embodiment of the present application, the establishment of the D2D connection may be performed by using the prior art. The main process of establishing the D2D connection includes the following steps: the first relay node is sent as the initiator of the D2D connection to the destination second relay node. The D2D connection establishes a request frame. After receiving the D2D connection establishment request frame, the second relay node sends a D2D connection suggestion response frame to the first relay node. Finally, the first relay node sends a D2D connection establishment confirmation frame to the destination second relay node. The foregoing steps are the processes of the Tunneled Direct Link Setup (TDLS) in the prior art, and are not described in detail herein.
第一中继节点与至少一个第二中继节点建立D2D连接之后,可以获取每个第二中继节点的站点信息。After the first relay node establishes a D2D connection with the at least one second relay node, the site information of each second relay node may be acquired.
可选地,该第一中继节点获取该至少一个第二中继节点的站点信息,包括:Optionally, the first relay node acquires site information of the at least one second relay node, including:
该第一中继节点向该至少一个第二中继节点发送站点信息请求帧,该站点信息请求帧用于请求获取每个第二中继节点对应的站点;The first relay node sends a site information request frame to the at least one second relay node, where the site information request frame is used to request to acquire a site corresponding to each second relay node;
该第一中继节点接收该至少一个第二中继节点发送的站点信息。The first relay node receives the site information sent by the at least one second relay node.
具体地说,第一中继节点可以通过向第二中继节点发送站点信息请求帧的方式,获取第二中继节点的站点信息。第二中继节点接收到该站点信息请求帧后,将自己的站点信息发送给第一中继节点。Specifically, the first relay node may acquire the site information of the second relay node by sending the site information request frame to the second relay node. After receiving the site information request frame, the second relay node sends its own site information to the first relay node.
需要说明的是,在本申请实施例中,一个中继节点的站点信息用于指示通过该中继节点接收或发送数据的一个或多个站点。本申请实施例中,对于站点信息的具体形式不作特别限定。例如,中继节点可以通过路由表的形式存储各自的站点信息。或者,也可以通过本领域技术人员容易想到的其它形式。It should be noted that, in the embodiment of the present application, the site information of one relay node is used to indicate one or more sites that receive or transmit data through the relay node. In the embodiment of the present application, the specific form of the site information is not particularly limited. For example, the relay node can store its own site information in the form of a routing table. Alternatively, other forms that are readily apparent to those skilled in the art may also be employed.
为了便于理解和说明,以下结合图5所示的拓扑结构为例,对站点信息进行举例说明。For the sake of easy understanding and explanation, the following describes the site information by taking the topology shown in FIG. 5 as an example.
图5示出了根据本申请实施例的传输数据的方法的一种示意性场景。如图5所示,中继节点1与STA1关联。并且,通过中继节点3,中继节点1还可以连接到STA2和STA3。因此,中继节点1的站点信息可以如表1所示。FIG. 5 illustrates a schematic scenario of a method of transmitting data in accordance with an embodiment of the present application. As shown in FIG. 5, the relay node 1 is associated with STA1. And, through the relay node 3, the relay node 1 can also be connected to STA2 and STA3. Therefore, the site information of the relay node 1 can be as shown in Table 1.
表1Table 1
Figure PCTCN2017089272-appb-000001
Figure PCTCN2017089272-appb-000001
需要说明的是,在表1中,除了记录有中继节点1对应的多个站点,同时还记录有每个站点的深度信息。可以理解的是,每个站点的深度信息是指,从中继节点1连接至每一个STA需要的跳数。It should be noted that, in Table 1, in addition to the plurality of sites corresponding to the relay node 1, the depth information of each site is also recorded. It can be understood that the depth information of each station refers to the number of hops required to connect from the relay node 1 to each STA.
类似地,中继节点2和中继节点3的站点信息可以分别如下面的表2和表3所示。Similarly, the station information of the relay node 2 and the relay node 3 can be as shown in Tables 2 and 3 below, respectively.
表2Table 2
Figure PCTCN2017089272-appb-000002
Figure PCTCN2017089272-appb-000002
表3table 3
Figure PCTCN2017089272-appb-000003
Figure PCTCN2017089272-appb-000003
若中继节点1与中继节点2建立了D2D连接(如图5中虚线所示),如前文所述,中继节点1向中继节点2发送站点信息请求帧,请求获取中继节点2的站点信息。中继节点1接收到中继节点2的站点信息后,可以建立中继节点2和中继节点3与多个站点之间的映射关系。If the relay node 1 establishes a D2D connection with the relay node 2 (as indicated by a broken line in FIG. 5), as described above, the relay node 1 transmits a site information request frame to the relay node 2, requesting acquisition of the relay node 2 Site information. After receiving the site information of the relay node 2, the relay node 1 can establish a mapping relationship between the relay node 2 and the relay node 3 and a plurality of sites.
可选地,作为一个实施例,第一中继节点上存储有路由表,该路由表用于存储该映射关系。Optionally, as an embodiment, a routing table is stored on the first relay node, where the routing table is used to store the mapping relationship.
以图5所示的拓扑结构为例,中继节点1在获取到中继节点2之后,建立的路由表如表4所示。Taking the topology shown in FIG. 5 as an example, after the relay node 1 acquires the relay node 2, the routing table established is shown in Table 4.
表4Table 4
Figure PCTCN2017089272-appb-000004
Figure PCTCN2017089272-appb-000004
可以理解的是,中继节点1建立并存储了多个中继节点与多个站点的映射关系后,在接收到数据包时,可以查询映射关系。如果该映射关系中记录有该目的站点,那么,中继节点1可以将数据包发送给映射关系中记录的该目的站点对应的中继节点,由该中继节点将数据包发送给目的站点。与现有技术相比,中继节点不用将发送给自己关联的父节点,以至最终将数据包发送到根接入点。再由根接入点将数据包发送至目的站点。从而,可以减轻根接入点转发数据的负担。It can be understood that, after the relay node 1 establishes and stores the mapping relationship between multiple relay nodes and multiple sites, when the data packet is received, the mapping relationship can be queried. If the destination station is recorded in the mapping relationship, the relay node 1 may send the data packet to the relay node corresponding to the destination station recorded in the mapping relationship, and the relay node sends the data packet to the destination station. Compared to the prior art, the relay node does not need to send it to its associated parent node, and eventually sends the data packet to the root access point. The root access point then sends the packet to the destination site. Thereby, the burden on the root access point to forward data can be alleviated.
需要说明的是,上述站点信息中携带每一个站点的深度信息,可以用于第一中继节点转发数据包时的路径选择。It should be noted that the depth information of each site carried in the site information may be used for path selection when the first relay node forwards the data packet.
例如,中继节点2和中继节点3之间建立了D2D连接(如图5中的虚线所示)。这样,中继节点2通过中继节点3可以连接到STA2和STA3。在这种情况下,中继节点2发送给中继节点1的站点信息可以如表5所示。For example, a D2D connection is established between the relay node 2 and the relay node 3 (shown by a broken line in FIG. 5). Thus, the relay node 2 can connect to STA2 and STA3 through the relay node 3. In this case, the station information transmitted by the relay node 2 to the relay node 1 can be as shown in Table 5.
表5table 5
Figure PCTCN2017089272-appb-000005
Figure PCTCN2017089272-appb-000005
Figure PCTCN2017089272-appb-000006
Figure PCTCN2017089272-appb-000006
与此相对,中继节点1建立的映射关系如表6所示。On the other hand, the mapping relationship established by the relay node 1 is as shown in Table 6.
表6Table 6
Figure PCTCN2017089272-appb-000007
Figure PCTCN2017089272-appb-000007
建立如表6所示的映射关系后,如果中继节点1接收到一个数据包,数据包携带的指示信息指示的目的站点为STA 2。中继节点1通过查询路由表,有2条路径都可以将数据包转发至STA 2。即,分别通过中继节点2(Relay 2)和中继节点3(Relay 3)。此时,中继节点1可以选择将数据包发送给中继节点3,由中继节点3将数据包转发给STA2。这样,传输数据包时经过更少的跳数。可以提高传输的效率。After the mapping relationship shown in Table 6 is established, if the relay node 1 receives a data packet, the destination station indicated by the indication information carried by the data packet is STA 2. The relay node 1 can forward the data packet to the STA 2 by querying the routing table. That is, the relay node 2 (Relay 2) and the relay node 3 (Relay 3) are respectively passed. At this time, the relay node 1 can select to transmit the data packet to the relay node 3, and the relay node 3 forwards the data packet to the STA2. This way, the packet is transmitted with fewer hops. Can improve the efficiency of transmission.
另外,中继节点1存储同一目的节点的多种路径,可以在其中一条路径出现故障时,选择另外的路径进行数据的传输,提高数据传输的可靠性。In addition, the relay node 1 stores multiple paths of the same destination node, and when one of the paths fails, another path is selected for data transmission, thereby improving the reliability of data transmission.
因此,本申请实施例的传输数据的方法,第一中继节点通过确定第二中继节点,与第二中继节点建立D2D连接,并存储第二中继节点与站点的映射关系,从而能够在接收到数据包时,查询映射关系中是否存在目的站点。如果映射关系中存在目的站点,第一中继节点直接将数据包发送给目的站点对应的目的第二中继节点,以便于目的第二中继节点将数据包发送至目的站点。一方面,减轻了根接入点的负担。另一方面,也减少了传输的跳数,提高了传输效率。Therefore, in the method for transmitting data in the embodiment of the present application, the first relay node establishes a D2D connection with the second relay node by determining the second relay node, and stores a mapping relationship between the second relay node and the site, thereby being capable of When a packet is received, the destination site is queried in the query mapping relationship. If the destination station exists in the mapping relationship, the first relay node directly sends the data packet to the destination second relay node corresponding to the destination station, so that the destination second relay node sends the data packet to the destination station. On the one hand, the burden on the root access point is alleviated. On the other hand, the number of hops transmitted is also reduced, and the transmission efficiency is improved.
可选地,该第一中继节点确定该至少一个第二中继节点之后,该方法还包括:Optionally, after the first relay node determines the at least one second relay node, the method further includes:
该第一中继节点向该至少一个第二中继节点发送第一中继节点的站点信息,该第一中继节点的站点信息用于指示该第一中继节点对应的一个或多个站点,以便于该至少一个第二中继节点根据该第一中继节点的站点信息向该第一中继节点转发数据包。The first relay node sends the site information of the first relay node to the at least one second relay node, where the site information of the first relay node is used to indicate one or more sites corresponding to the first relay node. So that the at least one second relay node forwards the data packet to the first relay node according to the site information of the first relay node.
在本申请实施例中,第一中继节点还可以将自己的站点信息发送给与第一中继节点建立了D2D连接的至少一个第二中继节点。可以理解的是,任意一个第二中继节点接收并存储了第一中继节点的站点信息后,就可以获知第一中继节点关联的站点以及第一中 继节点可以连接到的站点,从而在接收到数据包时,如果确定数据包携带的指示信息所指示的目的站点存在与第一中继节点的站点信息中,则可以直接将该数据包发送至第一中继节点处,从而由第一中继节点发送给目的站点,以减轻根接入点的负担。In the embodiment of the present application, the first relay node may further send its own site information to at least one second relay node that establishes a D2D connection with the first relay node. It can be understood that, after any one of the second relay nodes receives and stores the site information of the first relay node, the site associated with the first relay node and the first medium can be known. A station to which the node can connect, so that when the data packet is received, if it is determined that the destination station indicated by the indication information carried by the data packet exists in the site information of the first relay node, the data packet may be directly sent to the The first relay node is sent by the first relay node to the destination station to alleviate the burden of the root access point.
具体地,第一中继节点向该至少一个第二中继节点发送自己的站点信息,可以是广播的形式,也可以是单播的形式。以图4为例,如果是广播形式,中继节点1可以将表1中记录的信息广播出去,中继节点2和中继节点3接收到中继节点1的广播信息后,可以获知通过中继节点1可以连接到STA 1、STA 2和STA 3。如果是单播的形式,中继节点1也可以将表1中记录的信息发送给一个特定的第二中继节点,例如,仅发送给中继节点2或中继节点3。中继节点1通过获取中继节点2和中继节点3的站点信息,并将自己的站点信息广播给中继节点2和中继节点3,使得建立了D2D连接的中继节点之间互相保存了对方的站点信息,这样,在接收到数据包时,就可以基于这个站点信息,将数据包发送给目的站点对应的中继节点。Specifically, the first relay node sends its own site information to the at least one second relay node, which may be in the form of a broadcast or a unicast form. Taking FIG. 4 as an example, if it is in the form of broadcast, the relay node 1 can broadcast the information recorded in Table 1. After receiving the broadcast information of the relay node 1, the relay node 2 and the relay node 3 can know that the relay information is available. Node 1 can be connected to STA 1, STA 2 and STA 3. If it is in the form of unicast, the relay node 1 can also transmit the information recorded in Table 1 to a specific second relay node, for example, only to the relay node 2 or the relay node 3. The relay node 1 acquires the site information of the relay node 2 and the relay node 3, and broadcasts its own site information to the relay node 2 and the relay node 3, so that the relay nodes establishing the D2D connection are mutually saved. The site information of the other party is such that, when the data packet is received, the data packet can be sent to the relay node corresponding to the destination site based on the site information.
120、第一中继节点接收数据包,该数据包携带指示信息,该指示信息用于指示该数据包需要传输至的目的站点。120. The first relay node receives a data packet, where the data packet carries indication information, where the indication information is used to indicate a destination site to which the data packet needs to be transmitted.
在本申请实施例中,数据包携带的指示信息可以包括多种形式。例如,可以为目的站点的设备标识、目的站点的媒体接入控制(Media Access Control,MAC)地址等。可以理解的是,只要指示信息可以唯一地指示一个站点即可。因此,本申请实施例对指示信息的具体形式不作特别限定。In the embodiment of the present application, the indication information carried by the data packet may include multiple forms. For example, it may be a device identifier of the destination site, a Media Access Control (MAC) address of the destination site, and the like. It can be understood that as long as the indication information can uniquely indicate a site. Therefore, the specific form of the indication information is not specifically limited in the embodiment of the present application.
130、第一中继节点确定该映射关系中存在该目的站点时,将该数据包发送至与该目的站点对应的目的第二中继节点。130. The first relay node determines that the destination station exists in the mapping relationship, and sends the data packet to the destination second relay node corresponding to the destination station.
根据上述步骤110,第一中继节点与至少一个第二中继节点之间建立了D2D连接,并获取到该至少一个第二中继节点的站点信息,建立了映射关系。从而能够在接收到时数据包时,查找该映射关系,当确定该映射关系中存在目的站点时,将数据包发送至目的站点对应的目的第二中继节点。According to the above step 110, a D2D connection is established between the first relay node and the at least one second relay node, and the site information of the at least one second relay node is acquired, and a mapping relationship is established. Therefore, when the data packet is received, the mapping relationship is searched. When it is determined that the destination station exists in the mapping relationship, the data packet is sent to the destination second relay node corresponding to the destination station.
可选地,该方法还包括:Optionally, the method further includes:
第一中继节点确定映射关系中不存在该目的站点时,该第一中继节点将该数据包发送至该根接入点,以便于该根接入点将该数据包发送至该目的站点。When the first relay node determines that the destination station does not exist in the mapping relationship, the first relay node sends the data packet to the root access point, so that the root access point sends the data packet to the destination site. .
应理解,如果映射关系中不存在目的站点,第一中继节点需要将接收到的数据包发送至根接入点,以便于根据根接入点将数据包发送至目的站点。It should be understood that if there is no destination site in the mapping relationship, the first relay node needs to send the received data packet to the root access point in order to send the data packet to the destination site according to the root access point.
需要说明的是,本申请实施例中所述的第一中继节点将数据包发送至根接入点,可以包括第一中继节点与根接入点关联,或者,第一中继节点通过多级中继节点将数据包发送至根接入点。同样地,根接入点将数据包发送至目的站点,也可以包括目的站点与根接入点关联,根接入点直接将数据包发送至目的站点。或者,根节点通过多级中继节点将数据包发送至目的站点。具体地,根接入点将数据包发送至目的站点的过程与现有技术相同,此处不作赘述。It should be noted that, the first relay node in the embodiment of the present application sends the data packet to the root access point, and may include that the first relay node is associated with the root access point, or the first relay node passes The multi-level relay node sends the packet to the root access point. Similarly, the root access point sends the data packet to the destination site, and may also include the destination site associated with the root access point, and the root access point directly sends the data packet to the destination site. Alternatively, the root node sends the packet to the destination site through the multi-level relay node. Specifically, the process in which the root access point sends the data packet to the destination site is the same as the prior art, and is not described herein.
可选地,该第一中继节点获取该至少一个第二中继节点与至少一个站点的映射关系后,该方法还包括:Optionally, after the first relay node acquires the mapping relationship between the at least one second relay node and the at least one site, the method further includes:
该第一中继节点接收该目的第二中继节点发送的第一提示信息或第二提示信息,该第一提示信息是该目的第二中继节点对应的站点增加时发送给该第一中继节点的,该第一提示信息中携带新增加的站点的指示信息,该第二提示信息是该目的第二中继节点对 应的站点减少时发送给该第一中继节点的,该第二提示信息中携带减少的站点的指示信息;The first relay node receives the first prompt information or the second prompt information sent by the second relay node of the destination, where the first prompt information is sent to the first middle when the site corresponding to the second relay node of the destination is increased. Following the node, the first prompt information carries the indication information of the newly added station, and the second prompt information is the second relay node pair of the destination. The second prompt information is sent to the first relay node when the site is reduced, and the second prompt information carries the indication information of the reduced site;
该第一中继节点根据该第一提示信息,在该映射关系中新建该目的第二中继节点对应该新增加的站点的信息,或The first relay node newly creates, according to the first prompt information, information about the newly added site of the destination second relay node in the mapping relationship, or
该第一中继节点根据该第二提示信息,删除该映射关系中记录的该目的第二中继节点对应该减少的站点的信息。The first relay node deletes, according to the second prompt information, information about the site corresponding to the destination second relay node recorded in the mapping relationship.
具体地说,第一中继节点获取到第二中继节点的站点信息,建立了映射关系后,如果第二中继节点的站点信息发生变更,第二中继节点需要向第一中继节点发送提示信息,以指示第一中继节点更新映射关系。Specifically, the first relay node acquires the site information of the second relay node, and after the mapping relationship is established, if the site information of the second relay node changes, the second relay node needs to go to the first relay node. Sending a prompt message to instruct the first relay node to update the mapping relationship.
例如,如果有新的站点关联到第二中继节点,或,第二中继节点关联的中继节点关联了新的站点。又或者,第二中继节点关联的站点或可以连接到的站点离开网络时,第二中继节点向第一中继节点发送提示信息。为了便于区分,本申请实施例中,将网络中新增站点的提示信息记作第一提示信息,将网络中有站点离开的信息记作第二提示信息。其中,在第一提示信息中可以携带新增加的站点的指示信息,例如,可以携带新增加的站点的MAC地址或AID等。这样,第一中继节点接收到该第一提示信息后,更新映射关系中记录的第二中继节点对应的站点的信息。例如,根据第一提示信息,第一中继节点在映射关系中添加新增加的站点对应第二中继节点的信息。类似地,在第二提示信息中可以携带离开网络的站点的指示信息。这样,第一中继节点在接收到第二提示信息后,根据第二提示信息,删除映射关系中记录的第二中继节点对应该离开网络的站点的信息。For example, if a new site is associated with a second relay node, or a relay node associated with the second relay node is associated with a new site. Alternatively, when the site associated with the second relay node or the site to which the second relay node is connected leaves the network, the second relay node sends the prompt information to the first relay node. In order to facilitate the distinguishing, in the embodiment of the present application, the prompt information of the newly added site in the network is recorded as the first prompt information, and the information that the site leaves the network is recorded as the second prompt information. The indication information of the newly added station may be carried in the first prompt information, for example, the MAC address or AID of the newly added station may be carried. In this way, after receiving the first prompt information, the first relay node updates the information of the site corresponding to the second relay node recorded in the mapping relationship. For example, according to the first prompt information, the first relay node adds information of the newly added station corresponding to the second relay node in the mapping relationship. Similarly, the indication information of the station leaving the network may be carried in the second prompt information. In this way, after receiving the second prompt information, the first relay node deletes, according to the second prompt information, the information of the second relay node recorded in the mapping relationship corresponding to the station that should leave the network.
可选地,第二中继节点向第一中继节点发送第一提示信息或第二提示信息,可以通过向第一中继节点发送无线帧,该无线帧中携带第一提示信息或第二提示信息。第一中继节点在接收到该无线帧后,更新映射关系。具体地,如果该映射关系为路由表形式,那么第一中继节点更新路由表。Optionally, the second relay node sends the first prompt information or the second prompt information to the first relay node, and may send the wireless frame to the first relay node, where the wireless frame carries the first prompt information or the second Prompt message. After receiving the radio frame, the first relay node updates the mapping relationship. Specifically, if the mapping relationship is in the form of a routing table, the first relay node updates the routing table.
可选地,该第一中继节点将该数据包发送至该目的第二中继节点之后,该方法还包括:Optionally, after the first relay node sends the data packet to the destination second relay node, the method further includes:
该第一中继节点接收该目的第二中继节点发送的错误报告,该错误报告中携带该目的站点的指示信息,该错误报告用于指示该目的第二中继节点对应的站点中不存在该目的站点;The first relay node receives an error report sent by the destination second relay node, where the error report carries indication information of the destination station, where the error report is used to indicate that the destination corresponding to the second relay node does not exist in the site The destination site;
该第一中继节点根据该错误报告,更新该映射关系,删除该映射关系中记录的该目的第二中继节点对应该目的站点的信息。The first relay node updates the mapping relationship according to the error report, and deletes information about the destination site of the destination second relay node recorded in the mapping relationship.
应理解,如果第一中继节点在建立映射关系之后,目的第二中继节点的站点信息发生了变更,在目的第二中继节点向第一中继节点发送提示信息之前,如果第一中继节点接收到一个数据包,该数据包携带的指示信息指示的目的站点对应的中继节点为目的第二中继节点。第一中继节点将该数据包发送至目的第二中继节点。由于目的第二中继节点的站点信息已经变化,例如,目的站点已经离开网络,第二中继节点存储的站点信息中不存在目的站点。此时,第二中继节点认为这是一个异常的接收。第二中继节点将数据包发送至根接入点。It should be understood that if the first relay node establishes the mapping relationship, the site information of the destination second relay node is changed, and before the destination second relay node sends the prompt information to the first relay node, if the first After the node receives a data packet, the relay node corresponding to the destination station indicated by the indication information carried by the data packet is the destination second relay node. The first relay node sends the data packet to the destination second relay node. Since the site information of the destination second relay node has changed, for example, the destination site has left the network, the destination site is not present in the site information stored by the second relay node. At this point, the second relay node considers this to be an abnormal reception. The second relay node sends the data packet to the root access point.
并且,在发生了上述异常接收时,目的第二中继节点向第一中继节点发送错误报告,以指示第一中继节点该数据包无法通过目的第二中继节点转发至目的站点。Moreover, when the abnormal reception occurs, the destination second relay node sends an error report to the first relay node to indicate that the first relay node cannot forward the data packet to the destination station through the destination second relay node.
可选地,目的第二中继节点可以向邻居节点广播该错误报告,以便于接收到该错误 报告的邻居节点对保存的目的第二中继节点与目的站点的映射关系进行更新。Optionally, the destination second relay node may broadcast the error report to the neighbor node in order to receive the error. The reported neighbor node updates the mapping relationship between the saved destination second relay node and the destination site.
根据本申请实施例的传输数据的方法,第一中继节点通过获取至少一个第二中继节点与至少一个站点的映射关系,从而在接收到需要转发的数据包时,如果确定映射关系中存在数据包需要转发至的目的站点,第一中继节点根据映射关系,将数据包发送至目的站点对应的目的第二中继节点。从而,数据包不再需要经过根接入点进行转发,能够减轻根接入点的负担。According to the method for transmitting data according to the embodiment of the present application, the first relay node obtains a mapping relationship between the at least one second relay node and the at least one site, so that when the data packet to be forwarded is received, if it is determined that the mapping relationship exists The destination station to which the data packet needs to be forwarded, and the first relay node sends the data packet to the destination second relay node corresponding to the destination station according to the mapping relationship. Therefore, the data packet no longer needs to be forwarded through the root access point, which can reduce the burden on the root access point.
以上结合图2至图5,详细说明了根据本申请实施例的传输数据的方法。以下,结合图6和图7,说明根据本申请实施例的中继节点。The method of transmitting data according to an embodiment of the present application is described in detail above with reference to FIGS. 2 through 5. Hereinafter, a relay node according to an embodiment of the present application will be described with reference to FIGS. 6 and 7.
图6示出了根据本申请一实施例的中继节点300的示意性框图。如图6所示,该中继节点300包括:FIG. 6 shows a schematic block diagram of a relay node 300 in accordance with an embodiment of the present application. As shown in FIG. 6, the relay node 300 includes:
处理单元310,用于获取至少一个第二中继节点与至少一个站点的映射关系,该映射关系用于记录每个第二中继节点对应的至少一个站点;The processing unit 310 is configured to acquire a mapping relationship between the at least one second relay node and the at least one site, where the mapping relationship is used to record at least one site corresponding to each second relay node;
接收单元320,用于接收数据包,该数据包携带指示信息,该指示信息用于指示该数据包需要传输至的目的站点;The receiving unit 320 is configured to receive a data packet, where the data packet carries indication information, where the indication information is used to indicate a destination site to which the data packet needs to be transmitted;
该处理单元310还用于确定该映射关系中是否存在该目的站点;The processing unit 310 is further configured to determine whether the destination station exists in the mapping relationship;
发送单元330,用于当该处理单元310确定该映射关系中存在该目的站点时,将该数据包发送至与该目的站点对应的目的第二中继节点,以便于该目的第二中继节点将该数据包发送至该目的站点。The sending unit 330 is configured to: when the processing unit 310 determines that the destination station exists in the mapping relationship, send the data packet to a destination second relay node corresponding to the destination station, so as to facilitate the destination second relay node. Send the packet to the destination site.
根据本申请实施例的中继节点300中的各单元和上述其它操作或功能,分别为了实现本申请各实施例中由第一中继节点执行的相应流程。为了简洁,此处不再赘述。The respective units in the relay node 300 and the other operations or functions described above according to the embodiments of the present application are respectively configured to implement the corresponding processes performed by the first relay node in the embodiments of the present application. For the sake of brevity, it will not be repeated here.
根据本申请实施例的传输数据的方法,第一中继节点通过获取至少一个第二中继节点与至少一个站点的映射关系,从而在接收到需要转发的数据包时,如果确定映射关系中存在数据包需要转发至的目的站点,第一中继节点根据映射关系,将数据包发送至目的站点对应的目的第二中继节点,以便于目的第二中继节点将数据包发送至目的站点。从而,数据包不再需要经过根接入点进行转发,能够减轻根接入点的负担。According to the method for transmitting data according to the embodiment of the present application, the first relay node obtains a mapping relationship between the at least one second relay node and the at least one site, so that when the data packet to be forwarded is received, if it is determined that the mapping relationship exists The data packet needs to be forwarded to the destination station, and the first relay node sends the data packet to the destination second relay node corresponding to the destination station according to the mapping relationship, so that the destination second relay node sends the data packet to the destination station. Therefore, the data packet no longer needs to be forwarded through the root access point, which can reduce the burden on the root access point.
图7示出了根据本申请另一实施例的中继节点400的示意性框图。如图7所示,该中继节点400包括:FIG. 7 shows a schematic block diagram of a relay node 400 in accordance with another embodiment of the present application. As shown in FIG. 7, the relay node 400 includes:
接收单元410,用于接收第一中继节点发送的数据包,该数据包携带指示信息,该指示信息用于指示该数据包需要传输至的目的站点,该数据包是该第一中继节点根据获取的至少一个第二中继节点与至少一个站点的映射关系发送给该中继节点的,该映射关系用于记录每个第二中继节点对应的至少一个站点,其中,该中继节点为该至少一个第二中继节点中的一个;The receiving unit 410 is configured to receive a data packet sent by the first relay node, where the data packet carries indication information, where the indication information is used to indicate a destination station to which the data packet needs to be transmitted, where the data packet is the first relay node Transmitting to the relay node according to the obtained mapping relationship between the at least one second relay node and the at least one site, where the mapping relationship is used to record at least one site corresponding to each second relay node, where the relay node Is one of the at least one second relay node;
处理单元420,用于确定该中继节点对应的站点中是否存在目的站点;The processing unit 420 is configured to determine whether a destination station exists in the site corresponding to the relay node;
发送单元430,用于当处理单元420确定对应的站点中存在该目的站点时,将该数据包发送至该目的站点。The sending unit 430 is configured to send the data packet to the destination site when the processing unit 420 determines that the destination site exists in the corresponding site.
根据本申请实施例的中继节点400中的各单元和上述其它操作或功能,分别为了实现本申请各实施例中由目的第二中继节点执行的相应流程。为了简洁,此处不再赘述。The respective units in the relay node 400 according to the embodiment of the present application and the other operations or functions described above are respectively implemented in order to implement the corresponding processes performed by the destination second relay node in the embodiments of the present application. For the sake of brevity, it will not be repeated here.
根据本申请实施例的传输数据的方法,第一中继节点通过获取至少一个第二中继节点与至少一个站点的映射关系,从而在接收到需要转发的数据包时,如果确定映射关系中存在数据包需要转发至的目的站点,第一中继节点根据映射关系,将数据包发送至目 的站点对应的目的第二中继节点,以便于目的第二中继节点将数据包发送至目的站点。从而,数据包不再需要经过根接入点进行转发,能够减轻根接入点的负担。According to the method for transmitting data according to the embodiment of the present application, the first relay node obtains a mapping relationship between the at least one second relay node and the at least one site, so that when the data packet to be forwarded is received, if it is determined that the mapping relationship exists The destination station to which the data packet needs to be forwarded, and the first relay node sends the data packet to the destination according to the mapping relationship. The site corresponds to the destination second relay node, so that the destination second relay node sends the data packet to the destination site. Therefore, the data packet no longer needs to be forwarded through the root access point, which can reduce the burden on the root access point.
以上结合图2至图5,详细说明了根据本申请实施例的传输数据的方法,以下,结合图8和图9,说明根据本申请实施例的中继节点。The method for transmitting data according to the embodiment of the present application is described in detail above with reference to FIG. 2 to FIG. 5. Hereinafter, a relay node according to an embodiment of the present application will be described with reference to FIG. 8 and FIG.
图8示出了根据本申请一实施例的中继节点500的示意性结构图。如图8所示,该中继节点500包括:接收器510、发送器520、处理器530、存储器540。该存储器540用于存储指令,该处理器530用于执行该存储器540存储的指令,以控制接收器510接收信号,并控制发送器520发送信号,其中,FIG. 8 shows a schematic structural diagram of a relay node 500 according to an embodiment of the present application. As shown in FIG. 8, the relay node 500 includes a receiver 510, a transmitter 520, a processor 530, and a memory 540. The memory 540 is configured to store instructions, and the processor 530 is configured to execute instructions stored in the memory 540 to control the receiver 510 to receive signals and control the transmitter 520 to send signals.
处理器530,用于获取至少一个第二中继节点与至少一个站点的映射关系,该映射关系用于记录每个第二中继节点对应的至少一个站点;The processor 530 is configured to acquire a mapping relationship between the at least one second relay node and the at least one site, where the mapping relationship is used to record at least one site corresponding to each second relay node;
接收器510,用于接收数据包,该数据包携带指示信息,该指示信息用于指示该数据包需要传输至的目的站点;The receiver 510 is configured to receive a data packet, where the data packet carries indication information, where the indication information is used to indicate a destination site to which the data packet needs to be transmitted;
该处理器530还用于确定该映射关系中是否存在该目的站点;The processor 530 is further configured to determine whether the destination station exists in the mapping relationship;
发送器520,用于当该处理器530确定该映射关系中存在该目的站点时,将该数据包发送至与该目的站点对应的目的第二中继节点,以便于该目的第二中继节点将该数据包发送至该目的站点。The transmitter 520 is configured to: when the processor 530 determines that the destination station exists in the mapping relationship, send the data packet to a destination second relay node corresponding to the destination station, to facilitate the destination second relay node. Send the packet to the destination site.
应理解,在本申请实施例中,该处理器530可以是中央处理单元(Central Processing Unit,CPU),该处理器530还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application-Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that, in the embodiment of the present application, the processor 530 may be a central processing unit (CPU), and the processor 530 may also be another general-purpose processor, a digital signal processor (DSP). , Application-Specific Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
该存储器540可以包括只读存储器和随机存取存储器,并向处理器530提供指令和数据。存储器540的一部分还可以包括非易失性随机存取存储器。例如,存储器540还可以存储设备类型的信息。The memory 540 can include read only memory and random access memory and provides instructions and data to the processor 530. A portion of the memory 540 may also include a non-volatile random access memory. For example, the memory 540 can also store information of the device type.
可选地,存储器540可以是独立的,也可以跟处理器530集成在一起。当处理器530由硬件实现时,例如,可以是逻辑电路或者集成电路,通过接口与其他硬件相连,此时可以不需要存储器540。Alternatively, memory 540 may be separate or may be integrated with processor 530. When the processor 530 is implemented by hardware, for example, it may be a logic circuit or an integrated circuit, and is connected to other hardware through an interface, and the memory 540 may not be needed at this time.
在实现过程中,上述方法的各步骤可以通过处理器530中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的传输信息的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器540,处理器530读取存储器540中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。In the implementation process, each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 530 or an instruction in a form of software. The steps of the method for transmitting information disclosed in the embodiments of the present application may be directly implemented by the hardware processor, or may be performed by a combination of hardware and software modules in the processor. The software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory 540, and the processor 530 reads the information in the memory 540 and performs the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.
根据本申请实施例的中继节点500中的各单元和上述其它操作或功能,分别为了执行各实施例中由第一中继节点执行的相应流程。为了简洁,此处不再赘述。The units in the relay node 500 and the other operations or functions described above according to embodiments of the present application are respectively configured to perform respective processes performed by the first relay node in the respective embodiments. For the sake of brevity, it will not be repeated here.
根据本申请实施例的传输数据的方法,第一中继节点通过获取至少一个第二中继节点与至少一个站点的映射关系,从而在接收到需要转发的数据包时,如果确定映射关系中存在数据包需要转发至的目的站点,第一中继节点根据映射关系,将数据包发送至目的站点对应的目的第二中继节点,以便于目的第二中继节点将数据包发送至目的站点。 从而,数据包不再需要经过根接入点进行转发,能够减轻根接入点的负担。According to the method for transmitting data according to the embodiment of the present application, the first relay node obtains a mapping relationship between the at least one second relay node and the at least one site, so that when the data packet to be forwarded is received, if it is determined that the mapping relationship exists The data packet needs to be forwarded to the destination station, and the first relay node sends the data packet to the destination second relay node corresponding to the destination station according to the mapping relationship, so that the destination second relay node sends the data packet to the destination station. Therefore, the data packet no longer needs to be forwarded through the root access point, which can reduce the burden on the root access point.
图9示出了根据本申请另一实施例的中继节点600的示意性结构图。如图9所示,该中继节点600包括:接收器610、发送器620、处理器630、存储器640。该存储器640用于存储指令,该处理器630用于执行该存储器640存储的指令,以控制接收器610接收信号,并控制发送器620发送信号,其中,FIG. 9 shows a schematic structural diagram of a relay node 600 according to another embodiment of the present application. As shown in FIG. 9, the relay node 600 includes a receiver 610, a transmitter 620, a processor 630, and a memory 640. The memory 640 is configured to store instructions, and the processor 630 is configured to execute instructions stored in the memory 640 to control the receiver 610 to receive signals and control the transmitter 620 to send signals.
接收器610,用于接收第一中继节点发送的数据包,该数据包携带指示信息,该指示信息用于指示该数据包需要传输至的目的站点,该数据包是该第一中继节点根据获取的至少一个第二中继节点与至少一个站点的映射关系发送给该中继节点的,该映射关系用于记录每个第二中继节点对应的至少一个站点,其中,该中继节点为该至少一个第二中继节点中的一个;The receiver 610 is configured to receive a data packet sent by the first relay node, where the data packet carries indication information, where the indication information is used to indicate a destination station to which the data packet needs to be transmitted, where the data packet is the first relay node. Transmitting to the relay node according to the obtained mapping relationship between the at least one second relay node and the at least one site, where the mapping relationship is used to record at least one site corresponding to each second relay node, where the relay node Is one of the at least one second relay node;
处理器630,用于确定该中继节点对应的站点中是否存在该目的站点;The processor 630 is configured to determine whether the destination station exists in the site corresponding to the relay node;
发送器620,用于当处理器630确定该中继节点对应的站点中存在该目的站点时,将该数据包发送至该目的站点。The transmitter 620 is configured to send the data packet to the destination site when the processor 630 determines that the destination site exists in the site corresponding to the relay node.
根据本申请实施例的中继节点600中的各单元和上述其它操作或功能,分别为了实现本申请各实施例中由目的第二中继节点执行的相应流程。为了简洁,此处不再赘述。The respective units in the relay node 600 and the other operations or functions described above according to the embodiments of the present application are respectively configured to implement the corresponding processes performed by the destination second relay node in the embodiments of the present application. For the sake of brevity, it will not be repeated here.
可选地,存储器640可以是独立的,也可以跟处理器630集成在一起。当处理器630由硬件实现时,例如,可以是逻辑电路或者集成电路,通过接口与其他硬件相连,此时可以不需要存储器640。Alternatively, the memory 640 can be separate or integrated with the processor 630. When the processor 630 is implemented by hardware, for example, it may be a logic circuit or an integrated circuit, and is connected to other hardware through an interface, and the memory 640 may not be needed at this time.
根据本申请实施例的传输数据的方法,第一中继节点通过获取至少一个第二中继节点与至少一个站点的映射关系,从而在接收到需要转发的数据包时,如果确定映射关系中存在数据包需要转发至的目的站点,第一中继节点根据映射关系,将数据包发送至目的站点对应的目的第二中继节点,以便于目的第二中继节点将数据包发送至目的站点。从而,数据包不再需要经过根接入点进行转发,能够减轻根接入点的负担。According to the method for transmitting data according to the embodiment of the present application, the first relay node obtains a mapping relationship between the at least one second relay node and the at least one site, so that when the data packet to be forwarded is received, if it is determined that the mapping relationship exists The data packet needs to be forwarded to the destination station, and the first relay node sends the data packet to the destination second relay node corresponding to the destination station according to the mapping relationship, so that the destination second relay node sends the data packet to the destination station. Therefore, the data packet no longer needs to be forwarded through the root access point, which can reduce the burden on the root access point.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that, in the various embodiments of the present application, the size of the sequence numbers of the foregoing processes does not mean the order of execution sequence, and the order of execution of each process should be determined by its function and internal logic, and should not be applied to the embodiment of the present application. The implementation process constitutes any limitation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示 的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The unit described as a separate component may or may not be physically separated as a unit display The components may or may not be physical units, ie may be located in one place, or may be distributed over multiple network elements. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。 The foregoing is only a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application. It should be covered by the scope of protection of this application. Therefore, the scope of protection of the present application should be determined by the scope of the claims.

Claims (18)

  1. 一种传输数据的方法,其特征在于,应用于包括根接入点和至少两个中继节点的无线网络中,所述方法包括:A method for transmitting data, characterized by being applied to a wireless network including a root access point and at least two relay nodes, the method comprising:
    所述至少两个中继节点中的第一中继节点获取至少一个第二中继节点与至少一个站点的映射关系,所述映射关系用于记录每个第二中继节点对应的至少一个站点;The first relay node of the at least two relay nodes acquires a mapping relationship between the at least one second relay node and the at least one site, where the mapping relationship is used to record at least one site corresponding to each second relay node. ;
    所述第一中继节点接收数据包,所述数据包携带指示信息,所述指示信息用于指示所述数据包需要传输至的目的站点;Receiving, by the first relay node, a data packet, where the data packet carries indication information, where the indication information is used to indicate a destination site to which the data packet needs to be transmitted;
    所述第一中继节点确定所述映射关系中存在所述目的站点时,将所述数据包发送至与所述目的站点对应的目的第二中继节点,以便于所述目的第二中继节点将所述数据包发送至所述目的站点。When the first relay node determines that the destination station exists in the mapping relationship, the data packet is sent to a destination second relay node corresponding to the destination station, so as to facilitate the destination second relay. The node sends the data packet to the destination site.
  2. 根据权利要求1所述的方法,其特征在于,所述第一中继节点获取至少一个第二中继节点与至少一个站点的映射关系,包括:The method according to claim 1, wherein the first relay node acquires a mapping relationship between the at least one second relay node and the at least one site, including:
    所述第一中继节点确定所述至少一个第二中继节点;Determining, by the first relay node, the at least one second relay node;
    所述第一中继节点与所述至少一个第二中继节点之间建立设备对设备D2D连接;Establishing a device-to-device D2D connection between the first relay node and the at least one second relay node;
    所述第一中继节点获取所述至少一个第二中继节点的至少一个站点信息,所述至少一个站点信息与所述至少一个第二中继节点一一对应,每个站点信息用于指示一个或多个站点,每个站点通过对应的第二中继节点发送或接收数据;The first relay node acquires at least one site information of the at least one second relay node, where the at least one site information is in one-to-one correspondence with the at least one second relay node, and each site information is used to indicate One or more sites, each of which transmits or receives data through a corresponding second relay node;
    所述第一中继节点根据所述至少一个站点信息,建立所述至少一个第二中继节点与至少一个站点的映射关系。And the first relay node establishes a mapping relationship between the at least one second relay node and the at least one site according to the at least one site information.
  3. 根据权利要求2所述的方法,其特征在于,所述第一中继节点确定所述至少一个第二中继节点,包括:The method according to claim 2, wherein the determining, by the first relay node, the at least one second relay node comprises:
    所述第一中继节点发送发现请求帧,所述发现请求帧中携带应答条件信息,所述应答条件信息用于指示响应所述发现请求帧的设备需要满足的条件;The first relay node sends a discovery request frame, where the discovery request frame carries response condition information, where the response condition information is used to indicate a condition that the device responding to the discovery request frame needs to meet;
    所述第一中继节点接收所述至少一个第二中继节点确定满足所述应答条件时发送的至少一个应答帧;The first relay node receives at least one response frame that is sent when the at least one second relay node determines that the response condition is met;
    所述第一中继节点根据所述至少一个应答帧确定所述至少一个第二中继节点。The first relay node determines the at least one second relay node according to the at least one response frame.
  4. 根据权利要求3所述的方法,其特征在于,所述应答条件还包括以下条件中的至少一项:所述设备为中继设备、所述设备支持D2D连接、所述设备具有路由功能、所述设备与所述第一中继节点之间的链路速率等于或高于预设速率门限、所述设备与所述第一中继节点之间的传输时延等于或低于预设时延门限。The method according to claim 3, wherein the response condition further comprises at least one of the following conditions: the device is a relay device, the device supports a D2D connection, the device has a routing function, The link rate between the device and the first relay node is equal to or higher than a preset rate threshold, and the transmission delay between the device and the first relay node is equal to or lower than a preset delay. Threshold.
  5. 根据权利要求2所述的方法,其特征在于,所述第一中继节点确定所述至少一个第二中继节点,包括:The method according to claim 2, wherein the determining, by the first relay node, the at least one second relay node comprises:
    所述第一中继节点接收至少一个D2D连接建议帧,所述至少一个D2D连接建议帧与所述至少一个第二中继节点一一对应,每个D2D连接建议帧中携带用于标识所述第一中继节点的第一标识信息和用于标识所对应的第二中继节点的第二标识信息,每个D2D连接建议帧是所对应的第二中继节点的父节点在确定所述第二中继节点与所述第一中继节点之间满足D2D连接条件时发送给所述第一中继节点的;The first relay node receives at least one D2D connection suggestion frame, and the at least one D2D connection suggestion frame is in one-to-one correspondence with the at least one second relay node, and each D2D connection suggestion frame carries First identification information of the first relay node and second identification information for identifying the corresponding second relay node, each D2D connection suggestion frame is a parent node of the corresponding second relay node, Transmitting to the first relay node when the second relay node and the first relay node satisfy the D2D connection condition;
    所述第一中继节点根据所述至少一个D2D连接建议帧中携带的第二标识信息,确定所述至少一个第二中继节点。The first relay node determines the at least one second relay node according to the second identifier information carried in the at least one D2D connection suggestion frame.
  6. 一种传输数据的方法,其特征在于,应用于包括根接入点和至少两个中继节点的 无线网络中,所述方法包括:A method of transmitting data, characterized by being applied to a root access point and at least two relay nodes In a wireless network, the method includes:
    所述至少两个中继节点中的目的第二中继节点接收第一中继节点发送的数据包,所述数据包携带指示信息,所述指示信息用于指示所述数据包需要传输至的目的站点,所述数据包是所述第一中继节点根据获取的至少一个第二中继节点与至少一个站点的映射关系发送给所述目的第二中继节点的,所述映射关系用于记录每个第二中继节点对应的至少一个站点,其中,所述目的第二中继节点为所述至少一个第二中继节点中的一个;And the destination second relay node of the at least two relay nodes receives the data packet sent by the first relay node, where the data packet carries indication information, where the indication information is used to indicate that the data packet needs to be transmitted to a destination station, where the data packet is sent by the first relay node to the destination second relay node according to the obtained mapping relationship between the at least one second relay node and the at least one site, where the mapping relationship is used. Recording at least one site corresponding to each second relay node, wherein the destination second relay node is one of the at least one second relay node;
    所述目的第二中继节点确定对应的站点中存在所述目的站点时,将所述数据包发送至所述目的站点。The destination second relay node determines that the data packet is sent to the destination site when the destination site exists in the corresponding site.
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:The method of claim 6 wherein the method further comprises:
    所述目的第二中继节点接收所述第一中继节点发送的发现请求帧,所述发现请求帧中携带应答条件信息,所述应答条件信息用于指示响应所述发现请求帧的设备需要满足的条件;The destination second relay node receives the discovery request frame sent by the first relay node, where the discovery request frame carries response condition information, where the response condition information is used to indicate that the device responding to the discovery request frame needs Condition of satisfaction;
    所述目的第二中继节点确定满足所述应答条件时,向所述第一中继节点发送应答帧,以便于所述第一中继节点发现所述目的第二中继节点,并与所述目的第二中继节点建立设备对设备D2D连接。And determining, by the second relay node, that the response condition is met, sending a response frame to the first relay node, so that the first relay node discovers the destination second relay node, and The second relay node is described to establish a device-to-device D2D connection.
  8. 根据权利要求7所述的方法,其特征在于,所述应答条件包括以下条件中的至少一项:所述设备为中继设备、所述设备支持D2D连接、所述设备具有路由功能、所述设备与所述第一中继节点之间的链路速率等于或高于预设速率门限、所述设备与所述第一中继节点之间的传输时延等于或低于预设时延门限。The method according to claim 7, wherein the response condition comprises at least one of the following conditions: the device is a relay device, the device supports a D2D connection, the device has a routing function, the The link rate between the device and the first relay node is equal to or higher than a preset rate threshold, and the transmission delay between the device and the first relay node is equal to or lower than a preset delay threshold. .
  9. 根据权利要求6至8中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 6 to 8, wherein the method further comprises:
    所述目的第二中继节点接收所述目的第二中继节点的父节点发送的D2D连接建议帧,所述D2D连接建议帧中携带用于标识所述第一中继节点的第一标识信息和用于标识所述目的第二中继节点的第二标识信息,所述D2D连接建议帧是所述目的第二中继节点的父节点在确定所述第一中继节点与所述目的第二中继节点之间满足D2D连接条件时发送给所述目的第二中继节点和所述第一中继节点的;The destination second relay node receives the D2D connection suggestion frame sent by the parent node of the destination second relay node, where the D2D connection suggestion frame carries the first identifier information used to identify the first relay node. And second identifier information for identifying the second relay node of the destination, the D2D connection suggestion frame is a parent node of the destination second relay node, determining the first relay node and the destination Transmitting to the destination second relay node and the first relay node when the two relay nodes satisfy the D2D connection condition;
    所述目的第二中继节点接收所述第一中继节点基于所述D2D连接建议帧发送的D2D连接请求帧,并与所述第一中继节点建立D2D连接。The destination second relay node receives the D2D connection request frame sent by the first relay node based on the D2D connection suggestion frame, and establishes a D2D connection with the first relay node.
  10. 一种中继节点,其特征在于,所述中继节点包括:A relay node, characterized in that the relay node comprises:
    处理单元,用于获取至少一个第二中继节点与至少一个站点的映射关系,所述映射关系用于记录每个第二中继节点对应的至少一个站点;a processing unit, configured to acquire a mapping relationship between the at least one second relay node and the at least one site, where the mapping relationship is used to record at least one site corresponding to each second relay node;
    接收单元,用于接收数据包,所述数据包携带指示信息,所述指示信息用于指示所述数据包需要传输至的目的站点;a receiving unit, configured to receive a data packet, where the data packet carries indication information, where the indication information is used to indicate a destination site to which the data packet needs to be transmitted;
    以及,所述处理单元还用于确定所述映射关系中是否存在所述目的站点;And the processing unit is further configured to determine whether the destination station exists in the mapping relationship;
    发送单元,用于当所述处理单元确定所述映射关系中存在所述目的站点时,将所述数据包发送至与所述目的站点对应的目的第二中继节点,以便于所述目的第二中继节点将所述数据包发送至所述目的站点。a sending unit, configured to: when the processing unit determines that the destination station exists in the mapping relationship, send the data packet to a destination second relay node corresponding to the destination site, to facilitate the destination The two relay nodes send the data packet to the destination site.
  11. 根据权利要求10所述的中继节点,其特征在于,所述处理单元具体用于:The relay node according to claim 10, wherein the processing unit is specifically configured to:
    确定所述至少一个第二中继节点,并与所述至少一个第二中继节点建立设备对设备D2D连接;Determining the at least one second relay node, and establishing a device-to-device D2D connection with the at least one second relay node;
    获取所述至少一个第二中继节点的至少一个站点信息,所述至少一个站点信息与所 述至少一个第二中继节点一一对应,每个站点信息用于指示一个或多个站点,每个站点通过对应的第二中继节点发送或接收数据;Obtaining at least one site information of the at least one second relay node, the at least one site information and location The at least one second relay node is in one-to-one correspondence, each site information is used to indicate one or more sites, and each site sends or receives data through a corresponding second relay node;
    根据所述至少一个站点信息,建立所述至少一个第二中继节点与至少一个站点的映射关系。And establishing, according to the at least one site information, a mapping relationship between the at least one second relay node and the at least one site.
  12. 根据权利要求11所述的中继节点,其特征在于,所述发送单元具体用于发送发现请求帧,所述发现请求帧中携带应答条件信息,所述应答条件信息用于指示响应所述发现请求帧的设备需要满足的条件;The relay node according to claim 11, wherein the sending unit is specifically configured to send a discovery request frame, where the discovery request frame carries response condition information, where the response condition information is used to indicate response to the discovery The condition that the device requesting the frame needs to meet;
    以及,所述接收单元具体用于接收所述至少一个第二中继节点确定满足所述应答条件时发送的至少一个应答帧;And the receiving unit is specifically configured to receive, by the at least one second relay node, at least one response frame that is sent when the response condition is met;
    以及,所述处理单元具体用于根据所述至少一个应答帧确定所述至少一个第二中继节点。And the processing unit is specifically configured to determine the at least one second relay node according to the at least one response frame.
  13. 根据权利要求12所述的中继节点,其特征在于,所述应答条件还包括以下条件中的至少一项:所述设备为中继节点、所述设备支持D2D连接、所述设备具有路由功能、所述设备与所述第一中继节点之间的链路速率等于或高于预设速率门限、所述设备与所述第一中继节点之间的传输时延等于或低于预设时延门限。The relay node according to claim 12, wherein the response condition further comprises at least one of the following conditions: the device is a relay node, the device supports a D2D connection, and the device has a routing function. The link rate between the device and the first relay node is equal to or higher than a preset rate threshold, and the transmission delay between the device and the first relay node is equal to or lower than a preset. Delay threshold.
  14. 根据权利要求10至13中任一项所述的中继节点,其特征在于,所述接收单元具体还用于接收至少一个D2D连接建议帧,所述至少一个D2D连接建议帧与所述至少一个第二中继节点一一对应,每个D2D连接建议帧中携带用于标识所述第一中继节点的第一标识信息和用于标识所对应的第二中继节点的第二标识信息,每个D2D连接建议帧是所对应的第二中继节点的父节点在确定所述第二中继节点与所述第一中继节点之间满足D2D连接条件时发送给所述中继节点的;The relay node according to any one of claims 10 to 13, wherein the receiving unit is further configured to receive at least one D2D connection suggestion frame, the at least one D2D connection suggestion frame and the at least one The second relay node has a one-to-one correspondence, and each D2D connection suggestion frame carries first identification information for identifying the first relay node and second identification information for identifying the corresponding second relay node, Each D2D connection suggestion frame is sent by the parent node of the corresponding second relay node to the relay node when determining that the D2D connection condition is satisfied between the second relay node and the first relay node. ;
    以及,所述处理单元具体用于根据所述至少一个D2D连接建议帧中携带的第二标识信息,确定所述至少一个第二中继节点。And the processing unit is configured to determine the at least one second relay node according to the second identifier information carried in the at least one D2D connection suggestion frame.
  15. 一种中继节点,其特征在于,所述中继节点包括:A relay node, characterized in that the relay node comprises:
    接收单元,用于接收第一中继节点发送的数据包,所述数据包携带指示信息,所述指示信息用于指示所述数据包需要传输至的目的站点,所述数据包是所述第一中继节点根据获取的至少一个第二中继节点与至少一个站点的映射关系发送给所述中继节点的,所述映射关系用于记录每个第二中继节点对应的至少一个站点,其中,所述中继节点为所述至少一个第二中继节点中的一个;a receiving unit, configured to receive a data packet sent by the first relay node, where the data packet carries indication information, where the indication information is used to indicate a destination station to which the data packet needs to be transmitted, where the data packet is the first a relay node is sent to the relay node according to the obtained mapping relationship between the at least one second relay node and the at least one site, where the mapping relationship is used to record at least one site corresponding to each second relay node, The relay node is one of the at least one second relay node;
    处理单元,用于确定所述中继节点对应的站点中是否存在所述目的站点;a processing unit, configured to determine whether the destination station exists in a site corresponding to the relay node;
    发送单元,用于在所述处理单元确定所述中继节点对应的站点中存在所述目的站点时,将所述数据包发送至所述目的站点。And a sending unit, configured to send the data packet to the destination station when the processing unit determines that the destination station exists in a site corresponding to the relay node.
  16. 根据权利要求15所述的中继节点,其特征在于,所述接收单元具体用于接收第一中继节点发送的发现请求帧,所述发现请求帧中携带应答条件信息,所述应答条件信息用于指示响应所述发现请求帧的设备需要满足的条件;The relay node according to claim 15, wherein the receiving unit is configured to receive a discovery request frame sent by the first relay node, where the discovery request frame carries response condition information, and the response condition information Means for indicating a condition that the device responding to the discovery request frame needs to satisfy;
    以及,所述处理单元具体用于确定所述中继节点是否满足所述应答条件;And the processing unit is specifically configured to determine whether the relay node meets the response condition;
    以及,所述发送单元具体用于在所述处理单元确定所述中继节点满足所述应答条件时,向所述第一中继节点发送应答帧,以便于所述第一中继节点与所述中继节点建立设备对设备D2D连接。And the sending unit is specifically configured to: when the processing unit determines that the relay node meets the response condition, send a response frame to the first relay node, so that the first relay node and the The relay node establishes a device-to-device D2D connection.
  17. 根据权利要求16所述的中继节点,其特征在于,所述应答条件包括以下条件中 的至少一项:所述设备为中继节点、所述设备支持D2D连接、所述设备具有路由功能、所述设备与所述第一中继节点之间的链路速率等于或高于预设速率门限、所述设备与所述第一中继节点之间的传输时延等于或低于预设时延门限。The relay node according to claim 16, wherein said response condition includes the following conditions At least one of: the device is a relay node, the device supports a D2D connection, the device has a routing function, and a link rate between the device and the first relay node is equal to or higher than a preset The rate threshold, the transmission delay between the device and the first relay node is equal to or lower than a preset delay threshold.
  18. 根据权利要求15至17中任一项所述的中继节点,其特征在于,所述接收单元具体用于:The relay node according to any one of claims 15 to 17, wherein the receiving unit is specifically configured to:
    接收所述中继节点的父节点发送的D2D连接建议帧,所述D2D连接建议帧中携带用于标识所述第一中继节点的第一标识信息和用于标识所述中继节点的第二标识信息,所述D2D连接建议帧是所述中继节点的父节点在确定所述第一中继节点与所述中继节点之间满足D2D连接条件时发送给所述中继节点和所述第一中继节点的;Receiving a D2D connection suggestion frame sent by the parent node of the relay node, where the D2D connection suggestion frame carries first identifier information for identifying the first relay node and a number for identifying the relay node Two identification information, the D2D connection suggestion frame is sent to the relay node and the parent node of the relay node when determining that the D2D connection condition is satisfied between the first relay node and the relay node Said first relay node;
    接收所述第一中继节点基于所述D2D连接建议帧发送的D2D连接请求帧;Receiving a D2D connection request frame sent by the first relay node based on the D2D connection suggestion frame;
    以及,所述处理单元具体用于与所述第一中继节点建立D2D连接。 And the processing unit is specifically configured to establish a D2D connection with the first relay node.
PCT/CN2017/089272 2016-07-27 2017-06-21 Data transmission method and relay node WO2018019056A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610601293.8A CN107666686B (en) 2016-07-27 2016-07-27 Method for transmitting data and relay node
CN201610601293.8 2016-07-27

Publications (1)

Publication Number Publication Date
WO2018019056A1 true WO2018019056A1 (en) 2018-02-01

Family

ID=61017459

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/089272 WO2018019056A1 (en) 2016-07-27 2017-06-21 Data transmission method and relay node

Country Status (2)

Country Link
CN (1) CN107666686B (en)
WO (1) WO2018019056A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112233449A (en) * 2020-10-13 2021-01-15 中国联合网络通信集团有限公司 Vehicle position obtaining method and system, bus-mounted terminal and bus stop board system
EP4142368A4 (en) * 2020-05-22 2023-10-11 Huawei Technologies Co., Ltd. Communication method and apparatus, communication device, and system

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021022443A1 (en) * 2019-08-05 2021-02-11 Lenovo (Beijing) Limited Method and apparatus for performing sidelink communication in a communication system
CN114846903A (en) * 2019-12-31 2022-08-02 华为技术有限公司 Data transmission method and device of multi-hop path
WO2022155795A1 (en) * 2021-01-19 2022-07-28 Nokia Shanghai Bell Co., Ltd. Medium access control protocol data unit forwarding

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192873A (en) * 2006-11-23 2008-06-04 北京三星通信技术研究有限公司 Routing method and device for relay system based on cellular system
CN101933366A (en) * 2008-01-30 2010-12-29 高通股份有限公司 Use routing table management wireless relay nodes
CN101932120A (en) * 2009-06-22 2010-12-29 华为技术有限公司 Connection establishment method and device for relay node and network node
US20140071885A1 (en) * 2012-09-10 2014-03-13 Qualcomm Incorporated Systems, apparatus, and methods for bridge learning in multi-hop networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192873A (en) * 2006-11-23 2008-06-04 北京三星通信技术研究有限公司 Routing method and device for relay system based on cellular system
CN101933366A (en) * 2008-01-30 2010-12-29 高通股份有限公司 Use routing table management wireless relay nodes
CN101932120A (en) * 2009-06-22 2010-12-29 华为技术有限公司 Connection establishment method and device for relay node and network node
US20140071885A1 (en) * 2012-09-10 2014-03-13 Qualcomm Incorporated Systems, apparatus, and methods for bridge learning in multi-hop networks

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4142368A4 (en) * 2020-05-22 2023-10-11 Huawei Technologies Co., Ltd. Communication method and apparatus, communication device, and system
CN112233449A (en) * 2020-10-13 2021-01-15 中国联合网络通信集团有限公司 Vehicle position obtaining method and system, bus-mounted terminal and bus stop board system

Also Published As

Publication number Publication date
CN107666686A (en) 2018-02-06
CN107666686B (en) 2020-10-09

Similar Documents

Publication Publication Date Title
WO2018019056A1 (en) Data transmission method and relay node
US10117282B2 (en) D2D device communication using a broadcast type message
US9648548B1 (en) WiFi mesh configuration
WO2016155472A1 (en) Path selection method and device
WO2018049961A1 (en) Data transmission method and relay node
US20060285510A1 (en) Method and apparatus for transferring frames in extended wireless LAN
US10735321B2 (en) Method and apparatus for relaying packet transmission and updating network address information in communication system
WO2016081734A2 (en) Techniques to support heterogeneous network data path discovery
US8213352B2 (en) Wireless communication system, wireless communication device, wireless communication method, and program
WO2015090057A1 (en) Method and device for transmitting and receiving routing information and routing information processing system
US20230156564A1 (en) Communication path switching method, apparatus, and system
CN106900174B (en) Data transmission method, device and system for wireless local area network mesh network
CN1875572B (en) Method and apparatus for route discovery within a communication system
WO2018188337A1 (en) Method and device for packet broadcasting
US10594598B2 (en) Path setup in a mesh network
US9167614B2 (en) Tunneled direct link setup systems and methods with consistent link information maintenance
US20200084689A1 (en) Detecting Critical Links in Bluetooth Mesh Networks
TW201801563A (en) Communication device performing device-to-device communication and operating method thereof
US20120155322A1 (en) Method And Apparatus For Network Node Discovery
JP5673840B2 (en) Node device and communication method
JP4299343B2 (en) Information transmission method using path in communication system
US9742578B2 (en) Simple mesh network for wireless transceivers
JP7018070B2 (en) Paging method and equipment
US20140022950A1 (en) Node and link formation method
JP4913208B2 (en) Address resolution method

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

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

Country of ref document: EP

Kind code of ref document: A1