WO2024000482A1 - Network topology construction method and apparatus - Google Patents

Network topology construction method and apparatus Download PDF

Info

Publication number
WO2024000482A1
WO2024000482A1 PCT/CN2022/103023 CN2022103023W WO2024000482A1 WO 2024000482 A1 WO2024000482 A1 WO 2024000482A1 CN 2022103023 W CN2022103023 W CN 2022103023W WO 2024000482 A1 WO2024000482 A1 WO 2024000482A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
information
nodes
degree
send
Prior art date
Application number
PCT/CN2022/103023
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 华为技术有限公司
Priority to PCT/CN2022/103023 priority Critical patent/WO2024000482A1/en
Publication of WO2024000482A1 publication Critical patent/WO2024000482A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies

Definitions

  • the present application relates to the field of wireless communication technology, and in particular, to a network topology construction method and device.
  • flooding-based methods are generally used.
  • the principle of the flooding method is that during the construction of the network topology or the update process of the network topology, each node in the network broadcasts the link information of surrounding nodes obtained by the node.
  • a node A receives the link information of surrounding nodes broadcast by other nodes, the node A can have the link information of more nodes. All nodes in the network perform a broadcast, which can be understood as completing a flood.
  • this node can be used as a control node, so that the control node can build the network topology or update the network topology based on the global information.
  • This application provides a network topology construction method and device to reduce the transmission of redundant information and reduce the time to build or update network topology.
  • the first aspect provides a network topology method.
  • the method may be executed by a communication device, or a chip with functions similar to the communication device.
  • the first node sends the second information of the first node based on the first information of the first node.
  • the first information of the first node is determined based on the third information of the first node and the fourth information of the first node.
  • the third information of the first node indicates the number of nodes connected to the first node, or the first information indicates the number of nodes perceived by the first node.
  • the fourth information of the first node indicates the number of nodes sending the second information to the first node.
  • the first node can send the second information of the first node according to one or more of the number of connected nodes, the number of sensed nodes, and the number of nodes sending the second information to the first node to perform network topology
  • the information transmitted is less redundant and the number of information interactions is less, so the transmission overhead and construction time of the network topology can be reduced.
  • using the above technical solution when updating the network topology can also reduce the time for updating the network topology, reduce information redundancy, and reduce the number of information interactions.
  • the second information includes channel state information of the communication link between the first node and the node connected to the first node, and the communication between the first node and the node connected to the first node Long-term channel state information of the link, link quality indication information of the communication link between the first node and the node connected to the first node, and communication link between the first node and the node connected to the first node One or more of the fading coefficients.
  • the first node can send the communication link information of the first node for other nodes to determine the communication link of the first node, thereby constructing a network topology.
  • the second information includes transmission request information.
  • the transmission request information may be used to request the transmission of channel state information of the communication link between the first node and the node connected to the first node, and the communication between the first node and the node connected to the first node.
  • Long-term channel state information of the link, link quality indication information of the communication link between the first node and the node connected to the first node, and communication link between the first node and the node connected to the first node One or more of the fading coefficients.
  • the first node can determine the order of transmitting the communication link information of the first node by transmitting the request information.
  • the number of information interactions can be reduced and the cost of constructing the network topology can be saved. and time.
  • the first node subtracts the number of nodes indicated by the fourth information from the number of nodes indicated by the third information to obtain the first information of the first node. Based on the above solution, the first node may send the second information of the first node after receiving the second information sent by the connected node.
  • the first node sends the second information of the first node when the first information is less than or equal to the first threshold.
  • the first threshold is preset, for example, it can be set to 0, 1, 2, etc. Based on the above solution, the first node may send the second information of the first node when the number of connected nodes is less than or equal to the first threshold.
  • the first node sends the second information of the first node according to the first information of the first node and the fifth information of the first node.
  • the fifth information of the first node indicates the carrier sensing result or the energy detection result.
  • the first node sends the second information of the first node according to the first information of the first node. Based on the above solution, when sending the second information of the first node, the first node can refer to the carrier sensing result or the energy detection result, thereby reducing interference.
  • the first node sends the second information of the first node to the second node based on the first information of the first node.
  • the first node receives sixth information from the second node, and the sixth information indicates whether the second information of the first node is successfully transmitted. Based on the above solution, the first node can receive the sixth information and determine whether the second information of the first node is successfully transmitted.
  • a network topology construction method may be provided by a communication system, which may include a first node, a second node and a third node.
  • the first node sends the seventh information of the first node to the second node according to the transmission order corresponding to the degree of the first node.
  • the seventh information of the first node includes information of nodes connected to the first node, and the degree of the first node is determined based on the number of nodes connected to the first node.
  • the second node subtracts the preset value from the degree of the second node. The degree of the second node is determined based on the number of nodes connected to the second node.
  • the second node When the degree of the second node is less than or equal to the first threshold, the second node sends the seventh information of the second node to the third node.
  • the seventh information of the second node includes information of nodes connected to the second node and seventh information of the first node.
  • the third node constructs network topology information based on the seventh information of the second node.
  • the network corresponding to the network topology information includes the first node, the second node and the third node.
  • the preset value can be set based on experience value, for example, it can be set to 1, 2, etc.
  • the first threshold can be set based on experience value, for example, it can be set to 0.
  • each node can send the seventh information of each node according to the transmission order corresponding to the degree.
  • the information transmitted is less redundant and the number of information interactions is less. , thus reducing the transmission overhead and construction time of the network topology.
  • using the above technical solution when updating the network topology can also reduce the time for updating the network topology, reduce information redundancy, and reduce the number of information interactions.
  • the eighth information of the first node may include link information of the first node, and the link information of the first node may include information of the communication link known by the first node.
  • the information of a communication link may include node information, link quality information (or link quality information) and/or beam status information of the communication link.
  • the eighth information may be used to request the transmission of the seventh information.
  • the eighth information may also be called transmission request information.
  • the eighth information of the first node may be used to request transmission of the seventh information of the first node.
  • the second node calculates the corresponding transmission sequence according to the degree of the second node, and after reaching the preset condition, sends the eighth information of the second node to the third node.
  • the eighth information of the second node is used to determine the degree of the third node, and the degree of the third node is used to indicate the amount of the eighth information received by the third node.
  • the first node may also receive eighth information from other nodes.
  • the degree of the first node may be the smallest within the scope of the network to which it belongs, so the first node may not receive the eighth information from other nodes, that is, the degree of the first node may be 0.
  • the third node after receiving the eighth information from the second node, can subtract the preset value from the degree of the third node, and the third node can transmit the information to the surrounding area according to the transmission sequence corresponding to the degree of the third node.
  • the node such as the fifth node, sends the eighth message.
  • each node in the network can exchange the eighth information to update the degree, that is, determine the order of transmitting the seventh information.
  • the first node sends the eighth information of the first node on the first of the N sending beams according to the transmission order corresponding to the degree of the first node, and the direction of the first sending beam. Matches the position of the second node.
  • the second node receives the eighth information of the first node on the first receiving beam among the M receiving beams, and the first receiving beam corresponds to the first transmitting beam.
  • N and M are both integers greater than or equal to 1.
  • each node can send through the sending beam when sending the eighth information, and each node can receive through the receiving beam when receiving the eighth information.
  • the receiving beam and the transmitting beam at the same time correspond to each other, so the eighth information transmission process can be reduced. communication interference.
  • the corresponding method is predetermined or configured.
  • each node sends the eighth information, it sends within the specified sending time corresponding to the corresponding sending beam.
  • the first receiving beam has a one-to-one correspondence with the first transmitting beam.
  • the first receive beam corresponds to the first transmit beam and X transmit beams.
  • the Y receive beams and the first receive beam correspond to the first transmit beam.
  • the second node receives the eighth information of the fourth node on a second receiving beam among the M receiving beams, and the second receiving beam matches the position of the fourth node.
  • the eighth information includes information on the degree of the fourth node.
  • the second node determines that the degree of the first node is smaller than the degree of the fourth node based on the degree information of the first node and the degree information of the fourth node.
  • the eighth information of the first node includes information about the degree of the first node.
  • the second node sends ninth information to the first node, and the ninth information is used to instruct the first node to send seventh information of the first node.
  • the fourth node sends the eighth information of the fourth node to the second node on a second sending beam among the N sending beams, and the second sending beam corresponds to the second receiving beam.
  • the second node can receive the seventh information of the first node through the first receiving beam among the M receiving beams, receive the eighth information of the fourth node through the second receiving beam among the M receiving beams, and The degree of the first node is compared with the degree of the fourth node, ninth information is sent to the node with a smaller degree, and the node with a smaller degree is instructed to send seventh information.
  • the second receiving beam has a one-to-one correspondence with the second transmitting beam.
  • the second reception beam corresponds to the second transmission beam and X transmission beams.
  • the Y receive beams and the second receive beam correspond to the second transmit beam.
  • the ninth information includes an identification of the first node. Based on the above solution, through the identification of the first node, each node that receives the ninth information can confirm that the ninth information instructs the first node to send the seventh information.
  • nodes with smaller degrees have higher transmission order. Based on the above solution, nodes with smaller degrees in the network are transmitted in higher order, that is, in order from small to large, each node transmits the eighth information, which can reduce the number of times the eighth information is transmitted.
  • the first node is the node with the smallest degree in the network
  • the third node is the node with the largest degree in the network.
  • the first node can be the node with the smallest degree in the network, so the first node sends the second message first
  • the third node is the node with the largest degree in the network, so the third node can receive the eighth message from other nodes.
  • a communication device including: a processing unit and a transceiver unit.
  • a processing unit configured to obtain the first information of the first node.
  • the transceiver unit is configured to send the second information of the first node according to the first information of the first node.
  • the first information of the first node is determined based on the third information of the first node and the fourth information of the first node.
  • the third information of the first node indicates the number of nodes connected to the first node, or the first information indicates the number of nodes perceived by the first node.
  • the fourth information of the first node indicates the number of nodes sending the second information to the first node.
  • the second information includes channel state information of the communication link between the first node and the node connected to the first node, and the communication between the first node and the node connected to the first node Long-term channel state information of the link, link quality indication information of the communication link between the first node and the node connected to the first node, and communication link between the first node and the node connected to the first node One or more of the fading coefficients.
  • the second information includes transmission request information.
  • the processing unit is further configured to: subtract the number of nodes indicated by the fourth information from the number of nodes indicated by the third information, to obtain the first information of the first node.
  • the transceiver unit is configured to send the second information of the first node according to the first information of the first node, and is specifically configured to: when the first information is less than or equal to the first threshold, send the second information of the first node.
  • the second information of a node is specifically configured to: when the first information is less than or equal to the first threshold, send the second information of the first node.
  • the transceiver unit is configured to send the second information of the first node according to the first information of the first node, specifically: according to the first information of the first node and the third information of the first node. Five messages, sending the second message of the first node. Wherein, the fifth information of the first node indicates the carrier sensing result or the energy detection result.
  • the transceiver unit sends the second information of the first node according to the first information of the first node and the fifth information of the first node, specifically for: performing carrier sensing results or energy detection results.
  • the second information of the first node is sent according to the first information of the first node.
  • the transceiver unit is configured to send the second information of the first node according to the first information of the first node, and is specifically configured to: send the second information to the second node according to the first information of the first node.
  • the second information of the first node The second information of the first node.
  • Sixth information is received from the second node, and the sixth information indicates whether the second information of the first node is successfully transmitted.
  • the second information of the first node also includes the second information received by the first node.
  • a communication device may be the communication device of any one of the first to fourth aspects in the above embodiments, or may be provided in any one of the first to second aspects. chips in communication devices.
  • the communication device includes a communication interface and a processor, and optionally, a memory. Wherein, the memory is used to store computer programs or instructions or data, and the processor is coupled to the memory and the communication interface. When the processor reads the computer program, instructions or data, the communication device is caused to execute the above first to second aspects. The method executed by the first node, the second node or the third node in any of the method embodiments.
  • the communication interface can be implemented through antennas, feeders, codecs, etc. in the communication device, or if the communication device is a chip provided in network equipment or terminal equipment, the communication interface can be the input of the chip /Output interface, such as input/output pins, etc.
  • the communication device may also include a transceiver for communicating with other devices.
  • the present application provides a computer-readable storage medium that stores a computer program or instructions.
  • the steps executed by the first node in the above aspects are implemented. method; or implement the method executed by the second node in the above aspects; or implement the method executed by the third node in the above aspects.
  • a computer program product includes: computer program code or instructions.
  • the method executed by the first node in the above aspects is caused to be executed.
  • An eighth aspect provides a communication device, which includes a unit or module that performs the methods of the above aspects.
  • Figure 1A is a schematic diagram of the first round of flooding process in the scheme of constructing network topology based on the flooding mechanism provided by the embodiment of the present application;
  • Figure 1B is a schematic diagram of the second round of flooding process in the scheme of constructing network topology based on the flooding mechanism provided by the embodiment of the present application;
  • Figure 2 is a schematic diagram of a multi-node writing network provided by an embodiment of the present application.
  • Figure 3 is one of the exemplary flow charts of a network topology construction method provided by an embodiment of the present application.
  • Figure 4A is one of the exemplary flow charts of a network topology construction method provided by an embodiment of the present application.
  • Figure 4B is a schematic diagram of the interaction process of the second information in the network topology construction method provided by the embodiment of the present application.
  • Figure 4C is a schematic diagram of the interaction process of the first information in the network topology construction method provided by the embodiment of the present application.
  • Figure 5A is a schematic diagram of spatial direction allocation of transmission beams provided by an embodiment of the present application.
  • Figure 5B is a schematic diagram of the spatial direction allocation of receiving beams provided by an embodiment of the present application.
  • Figure 6 is a schematic diagram of the information interaction process in the network topology construction method provided by the embodiment of the present application.
  • Figure 7 is one of the schematic diagrams of a communication device provided by an embodiment of the present application.
  • Figure 8 is one of the schematic diagrams of a communication device provided by an embodiment of the present application.
  • Figure 9 is a schematic diagram of a communication device provided by an embodiment of the present application.
  • Figure 10 is a schematic diagram of a communication device provided by an embodiment of the application.
  • Network topology also known as network topology structure, refers to the physical layout of various devices interconnected by transmission media.
  • the arrangement involved in the physical layout may be a specific, physical (or real) arrangement among the network members, or it may be a logical (or virtual) arrangement among the network members.
  • the control nodes may include central control nodes and distributed control nodes.
  • the central control node can schedule each node in the network where the central control node is located (ie, the network corresponding to the network topology).
  • the distributed control node can schedule one or more nodes around the distributed control node.
  • the one or more nodes and the distributed control node can form a subnet, and in a network it can Contains multiple subnets.
  • the central control node and distributed control nodes can exist in the same network at the same time.
  • the central control node can be a distributed control node in a certain subnet.
  • wireless self-organizing networks In terms of network research and future applications, wireless self-organizing networks have always been a hot topic of discussion because of their broader application scenarios and more complex and open research content. Wireless self-organizing network can achieve better performance of the overall network in different application scenarios through the self-organization and self-collaboration of multiple nodes in the network.
  • a typical wireless self-organizing network application such as wireless sensor network can transmit sensing data through the deployment of distributed sensors. Take the vehicle to vehicle (V2V) network in wireless sensor networks as an example. Distributed sensors can be deployed on vehicles in the V2V network. The distributed sensors can collect road condition information, and the vehicles can interact with each other to collect the information. Traffic information.
  • Most wireless self-organizing networks are flexible and dynamic because nodes can join or exit dynamically. For example, in a wireless sensor network, new nodes can be added by deploying distributed sensors. Old nodes may also exit the wireless sensor network due to insufficient power or failure. It is understandable that each node in the wireless self-organizing network can also move.
  • the scheduling and transmission of distributed sensors in V2V networks can be generally divided into two categories.
  • the first category includes scheduled transmissions based on deterministic network topology.
  • scheduling transmission based on deterministic network topology means that there is a central control node in the network that stores global information.
  • the central control node can establish the network topology or update the network topology based on the global information, and schedule the nodes in the network.
  • the control nodes need to store global information, it takes a long time. For highly dynamic networks where nodes move quickly, the network topology may need to be updated frequently.
  • the central control node needs to update global information frequently to achieve network topology updates.
  • the time for the central control node to update global information may be greater than the actual update time of the network topology. It can be seen that scheduling transmission based on deterministic network topology is not suitable for highly dynamic network topologies where nodes move quickly.
  • the second category of scheduled transmission of distributed sensors in V2V networks includes scheduled transmission based on random network topology.
  • Scheduling transmission based on random network topology means that there is no need for global information, but information is broadcast based on flooding until the final node. Among them, the technical solution for broadcasting information based on flooding will be introduced in detail later.
  • the construction of the entire network topology and the update of the network topology can be divided into two stages.
  • the first stage is for the nodes in the network to obtain the link information of the surrounding nodes to learn which communication links exist between the node and the surrounding nodes, and to obtain the quality parameters of the communication links, etc.
  • the second stage is for the nodes in the network to collect the network topology information to the control node based on the obtained link information of the surrounding nodes, so that the control node can obtain the link information of all nodes in the network or subnets of the network. .
  • flooding-based methods are generally used.
  • the principle of the flooding method is that during the construction of the network topology or the update process of the network topology, each node in the network broadcasts the link information of surrounding nodes obtained by the node.
  • a node A receives the link information of surrounding nodes broadcast by other nodes, the node A can have the link information of more nodes. All nodes in the network perform a broadcast, which can be understood as completing a flood.
  • this node can be used as a control node, so that the control node can build the network topology or update the network topology based on the global information.
  • each node in the network can broadcast communication link information (hereinafter also referred to as link information for short) to surrounding nodes.
  • link information hereinafter also referred to as link information for short
  • node 1 broadcasts link information. Since there is a communication link between node 1 and node 3, the link information of node 1 includes the link information of node 1 and node 3.
  • Node 3 can receive the link information broadcast by node 1.
  • node 3 can have the link information of node 3 and the link information of node 1.
  • node 3 can broadcast link information. Since node 3 has communication links with node 1, node 4, node 5 and node 6 respectively, the link information broadcast by node 3 can include the link between node 3 and node 1. Information, link information between node 3 and node 4, link information between node 3 and node 5, and link information between node 3 and node 6. Node 1, node 4, node 5 and node 6 can receive the link information broadcast by node 3.
  • node 1 can have the link information of node 3 and the link information of node 1
  • node 4 can have the link information of node 3 and the link information of node 4
  • node 5 can have the link information of node 3 and the node 5's link information
  • node 6 can have the link information of node 3 and the link information of node 6.
  • node 2, node 4, node 5, node 6, node 7 and node 8 all broadcast link information.
  • the numbers in brackets below the node in Figure 1A represent the link information owned by the node after the first flooding.
  • nodes within the network can broadcast to surrounding nodes the link information received by the node from other nodes.
  • node 1 can broadcast the link information received from node 3, that is, the link information between node 3 and node 1, the link information between node 3 and node 4, the link information between node 3 and node 5, and the link information between node 3 and node 3.
  • node 3 may broadcast link information received from node 1, node 4, node 5, and node 6, and so on.
  • the numbers in brackets below the node in Figure 1B represent the link information owned by the node after the second flooding.
  • embodiments of the present application provide a method for constructing a network topology.
  • each node in the network can send information according to a certain transmission order, which can reduce interference during information transmission, and sending information according to the transmission order can reduce the number of information interactions, reduce the transmission of redundant information, and shorten the network topology construction. The duration of time.
  • the technical solutions provided by the embodiments of this application can be applied to multi-node cooperation networks.
  • the nodes included in the multi-node cooperative network can have full-duplex capabilities.
  • FIG. 2 is a schematic diagram of a multi-node cooperation network 200 provided by an embodiment of the present application.
  • the multi-node cooperation network 200 may include one or more nodes.
  • 8 nodes are taken as an example.
  • black dots represent nodes
  • dotted lines represent the existence of communication links between two nodes.
  • a node can be a physical device, such as a terminal device, access point (AP) or relay device, etc., or a node can also be a logical device, such as a logical module set on a physical device, etc. .
  • information can be transmitted between nodes with communication links. For example, communication link information may be transmitted.
  • an exemplary flow chart of a network topology construction method provided by an embodiment of the present application may include the following operations.
  • the first node sends the second information of the first node based on the first information of the first node.
  • the second node receives the second information of the first node.
  • S302 The second node constructs the network topology.
  • the first information of the first node may be determined based on the third information of the first node and the fourth information of the first node.
  • the third information of the first node indicates the number of nodes connected to the first node, or the third information of the first node indicates the number of nodes perceived by the first node.
  • the third information of the first node may be called the degree of the first node.
  • the fourth information of the first node may indicate the number of nodes sending the second information to the first node.
  • the first node may send the second information of the first node when the number of nodes indicated by the first information of the first node is less than or equal to the first threshold.
  • the first threshold may be set based on experience values, for example, it may be set to 0, 1, 2, etc.
  • the first node may obtain the first information of the first node based on the number of nodes indicated by the third information minus the number of nodes indicated by the fourth information.
  • the first node may send the second information of the first node when the number of nodes indicated by the first information of the first node is less than or equal to the first threshold.
  • the first node may send the second information of the first node based on the first information of the first node when the carrier sensing result or the energy detection result is less than or equal to the second threshold.
  • the carrier sensing result or the energy detection result may be obtained by the first node monitoring the communication link.
  • the embodiments of this application do not specifically limit the manner in which carrier sensing results and energy monitoring results are obtained.
  • the first node may send the second information of the first node to the second node in a unicast manner.
  • the first node may broadcast the second information of the first node, and the second node may receive the second information of the first node broadcast by the first node.
  • the second information includes channel state information of the communication link between the first node and the node connected to the first node, and the length of the communication link between the first node and the node connected to the first node. time channel state information, link quality indication information of the communication link between the first node and the node connected to the first node, and fading coefficient of the communication link between the first node and the node connected to the first node of one or more.
  • the second information may include transmission request information.
  • the transmission request information may be used to request the transmission of channel state information of the communication link between the first node and the node connected to the first node, and the communication between the first node and the node connected to the first node. Long-term channel state information of the link, link quality indication information of the communication link between the first node and the node connected to the first node, and communication link between the first node and the node connected to the first node One or more of the fading coefficients.
  • the second information including the transmission request information may be called eighth information
  • the second information including the communication link information of the first node may be called seventh information.
  • a flow chart of a network topology construction method includes the following operations.
  • the first node sends the seventh information of the first node to the second node according to the transmission sequence corresponding to the degree of the first node.
  • the second node receives the seventh information of the first node from the first node.
  • the first node and the second node belong to the same network.
  • the embodiment of the present application is to construct the network topology of the network.
  • the network is called the first network.
  • the first node may send the seventh information of the first node to the second node in a unicast manner.
  • the first node may send the seventh information to the second node in a transmission sequence corresponding to the degree of the first node.
  • each node in the first network can store the corresponding relationship between the degree and the transmission order, and the first node can determine the transmission order of the first node based on the corresponding relationship between the degree and the transmission order and the degree of the first node. In this way, the first node can send the seventh information to the second node when the transmission sequence of the first node is reached.
  • each node in the first network can determine the transmission sequence of the node based on a timer. For example, each node in the first network may maintain multiple timers and send the seventh information when the corresponding timer is started. Among them, one timer can correspond to one degree. In the first network, each node can start multiple timers in sequence, wherein the next timer is started when one timer ends. Different nodes can start timers synchronously, or in other words, different nodes start the first timer at the same time. And different nodes start the timers in the same order. For example, each node starts timer A1 first and then starts timer A2. Optionally, when starting the timer, you can start it in order from the corresponding degree from small to large.
  • each node in the first network starts the timer A1 synchronously.
  • the node with degree A1 can send the seventh information.
  • each node in the first network can start timer A2 corresponding to degree A2.
  • the node with degree A2 can send the seventh information, and so on.
  • the seventh information can be sent to the second node during the running of the timer corresponding to the degree of the first node.
  • a node it will correspond to a degree, and the node will also correspond to the timer corresponding to the degree. Then when the timer starts, or during the running of the timer, the node can send the seventh information.
  • each node in the first network can determine the transmission order of the node based on the corresponding relationship between the sending time and the degree.
  • each node in the first network can store sending times corresponding to different degrees.
  • the smaller the degree the earlier the sending time.
  • the node with degree A1 can send the seventh information; at time A2, the node with degree A2 can send the seventh information, and so on.
  • time A2 is behind time A1, and degree A1 is smaller than degree A2.
  • the seventh information can be sent to the second node at a time corresponding to the degree of the first node.
  • the first node is the node with the smallest degree in the first network.
  • the degree of the first node may be updated based on the third information of the first node and the fourth information of the first node.
  • the embodiment shown in FIG. 4A may also include S400A and S400B.
  • S400A and S400B may occur before S401.
  • the first node sends the eighth information of the first node to the second node according to the transmission sequence corresponding to the degree of the first node.
  • the second node receives the eighth information of the first node from the first node.
  • the degree of the first node can be understood as the number of nodes that have communication links with the first node.
  • node 1 and node 3 have communication links, but there are no communication links between node 1 and other nodes, then the degree of node 1 can be 1.
  • node 3 has communication links with node 1, node 4, node 5 and node 6, but has no communication links with other nodes, then the degree of node 3 can be 4.
  • the eighth information may be used to request the transmission of the seventh information.
  • the eighth information may also be called transmission request information and is used to request the transmission of the seventh information in S301 (ie, the seventh information of the first node). information).
  • the first node may send the eighth information of the first node to the second node according to the transmission sequence corresponding to the degree of the first node.
  • each node in the first network can store the corresponding relationship between the degree and the transmission order, and the first node can determine the transmission order of the first node based on the corresponding relationship between the degree and the transmission order, and based on the degree of the first node.
  • the above-mentioned first node is the node with the smallest degree in the first network.
  • each node can perform a listen before talk (LBT) operation before unicasting the eighth information to one of the surrounding nodes.
  • LBT listen before talk
  • the first node may perform LBT to determine the communication link between the first node and the second node before sending the eighth information to the second node. Whether it is idle, and when the LBT is successful, that is, when it is determined that the communication link between the first node and the second node is idle, the eighth information is sent to the second node.
  • LBT listen before talk
  • the preset value can be set based on experience value, for example, it can be set to 1, 2, etc.
  • S400B may be a possible implementation manner for the second node to determine the first information of the second node.
  • the second node may subtract the number of nodes indicated by the fourth information (such as the degree of the second node) from the number of nodes indicated by the third information, such as subtracting the number of received eighth information.
  • the second node is node 3 in Figure 1A.
  • the degree of node 3 is 4.
  • node 3 can subtract the preset value from the degree of node 3.
  • the preset value is, for example, 1, then the degree of node 3 becomes 3. .
  • the second node may also send the eighth information to one of the surrounding nodes, such as the third node.
  • the second node is node 3 in Figure 1A. After node 3 receives the eighth information from node 1, the degree of node 3 becomes 3. Therefore, node 3 can send the eighth information to one of the surrounding nodes in the transmission sequence corresponding to the degree of 3.
  • the manner in which the second node sends the eighth information to one of the surrounding nodes may refer to the manner in which the first node sends the eighth information to the second node in S400A.
  • the third node can also send the eighth information to one of the surrounding nodes until the node with the highest degree can determine the nodes included in the first network and the link information between the nodes.
  • the dots represent nodes
  • the dotted lines represent the existence of a communication link between the two nodes
  • the bidirectional arrows represent that the two parties can conduct two-way communication through this link, that is, the exchange of information.
  • All links shown are numbered in Figure 4B, with numerical labels on corresponding links in the figure.
  • the degree of node 1 is 1
  • the degree of node 2 is 1
  • the degree of node 3 is 4
  • the degree of node 4 is 3
  • the degree of node 5 is 3
  • the degree of node 6 is 4, and the degree of node 7
  • the degree of node 8 is 3, and the degree of node 8 is 1.
  • node 1 to node 8 may respectively send the eighth information to the surrounding nodes according to the transmission order corresponding to the degree.
  • nodes with smaller degrees in the network have higher transmission order. Therefore, in FIG. 4B , node 1 , node 2 and node 8 with degree 1 first send the eighth information to one of the surrounding nodes respectively.
  • node 1 may send the eighth information to node 3
  • node 2 may send the eighth information to node 4
  • node 8 may send the eighth information to node 7.
  • Each node that receives the eighth information can subtract a preset value from the degree, such as minus 1.
  • node 3 can have its degree subtracted by 1 so that the degree of node 3 becomes 3.
  • Node 4 can subtract 1 from its degree, so that the degree of node 4 becomes 2.
  • Node 7 can subtract 1 from its degree, so that the degree of node 7 becomes 2.
  • node 4 and node 7 with degree 2 send the eighth information to one of the surrounding nodes.
  • node 4 may send the eighth information to node 6, and node 7 may send the eighth information to node 5.
  • Each node that receives the eighth information can subtract a preset value from the degree, such as minus 1.
  • node 6 can subtract 1 from its degree, so that the degree of node 6 becomes 3, and node 5 can subtract a preset value from its degree, so that the degree of node 5 becomes 2.
  • node 5 can also send the eighth information to one of the surrounding nodes, such as node 3. In this way, the degree of node 3 can become 2. Therefore, node 3 may also send the eighth information to one of the surrounding nodes, such as node 6, when the node with degree 2 sends the eighth information to one of the surrounding nodes.
  • each node can transmit the eighth information to one of the surrounding nodes, and then the node with the highest degree, such as node 6, can obtain which nodes are included in the network.
  • each node in the network can determine its own degree.
  • degree is used to indicate the quantity of the eighth information received.
  • the degree of the second node may be the number of eighth pieces of information received by the second node.
  • node 3 has received the eighth information of node 1 and node 5, so the degree of node 3 is 2.
  • node 6 has received the eighth information of node 4 and node 6, so the degree of node 6 is 2.
  • each node in the network can receive the eighth information according to the number of received eighth information. , update degree.
  • the first node can send the seventh information to the surrounding nodes according to the transmission sequence corresponding to the degree of the first node.
  • the first node may send the seventh information to a node that receives the eighth information of the first node, such as the second node.
  • node 1 sends the eighth information to node 3
  • node 5 sends the eighth information to node 3
  • node 5 can send the seventh information to node 3 in S401.
  • the second node is node 3 in Figure 4B.
  • the degree of node 3 is 2, then after receiving the seventh information of node 1, node 3 can subtract a preset value from the degree.
  • the preset value is, for example, 1, so that the degree of node 3 becomes 1.
  • S402 may be a possible implementation manner for the second node to determine the first information of the second node.
  • the second node may subtract the number of nodes indicated by the fourth information (such as the degree of the second node) from the number of nodes indicated by the third information, such as subtracting the number of received seventh information.
  • the first threshold may be set based on experience value, for example, it may be set to 0.
  • the second node is node 3 in Figure 4B.
  • node 3 can subtract a preset value from the degree.
  • the preset value is, for example, 1, so that the degree of node 3 becomes 1.
  • node 3 can subtract a preset value from the degree.
  • the preset value is, for example, 1, so that the degree of node 3 becomes 0.
  • Node 3 may send the seventh information to one of the surrounding nodes when the degree is less than or equal to 0. Among them, node 3 may send the seventh information to the node that receives the eighth information of node 3, that is, node 6.
  • each node in the network updates its own degree.
  • the degree of node 1 is 0, the degree of node 2 is 0, the degree of node 3 is 2, the degree of node 4 is 1, the degree of node 5 is 1, the degree of node 6 is 2, and the degree of node 7 is 1, and the degree of node 8 is 0.
  • node 1 to node 8 may respectively send the seventh information to the surrounding nodes according to the transmission order corresponding to the degree.
  • nodes with smaller degrees in the network have higher transmission order. Therefore, in Figure 4C, node 1, node 2 and node 8 with degree 0 respectively send the seventh information to one of the surrounding nodes.
  • One of the surrounding nodes may be the node that received the eighth information.
  • node 1 may send the seventh information to node 3
  • node 2 may send the seventh information to node 4
  • node 8 may send the seventh information to node 7.
  • Each node that receives the seventh information can subtract a preset value from the degree, such as minus 1.
  • node 3 can have its degree subtracted by 1 so that the degree of node 3 becomes 1.
  • Node 4 can subtract 1 from its degree, so that the degree of node 4 becomes 0.
  • Node 7 can subtract 1 from its degree, so that the degree of node 7 becomes 0.
  • the seventh information is sent from node 4 and node 7 with degree 0 to one of the surrounding nodes.
  • node 4 may send the seventh information to node 6, and node 7 may send the seventh information to node 5.
  • Each node that receives the seventh information can subtract a preset value from the degree, such as minus 1.
  • node 6 can subtract 1 from its degree, so that the degree of node 6 becomes 1, and node 5 can subtract a preset value from its degree, so that the degree of node 5 becomes 0.
  • the seventh information is sent from node 5 with degree 0 to one of the surrounding nodes.
  • node 5 may send seventh information to node 3. In this way, the degree of node 3 can become 0. Therefore, node 3 can send the seventh information to node 6.
  • each node can transmit the seventh information to one of the surrounding nodes, and then the node with the highest degree, such as node 6, can obtain the global link information in the network.
  • the third node constructs network topology information based on the seventh information of the second node.
  • the link information obtained by the third node constructs network topology information.
  • the network corresponding to the network topology information includes a first node, a second node and a third node.
  • the third node is node 6 in Figure 4C.
  • node 6 can obtain the link information of the network, so that node 6 can construct network topology information.
  • the network corresponding to the network topology information includes node 1, node 2, node 3, node 4, node 5, node 6, node 7 and node 8.
  • the information transmitted is less redundant, and the number of information interactions is less, so the network topology can be reduced.
  • Build time Moreover, using the technical solution shown in Figure 4A when updating the network topology can also reduce the time for updating the network topology, reduce information redundancy, and reduce the number of information interactions.
  • each node in order to reduce interference in the information transmission process, can send the seventh information and/or the eighth information through the sending beam, and each node can also receive the seventh information and/or the eighth information through the receiving beam. information.
  • the spatial allocation relationship of beams may be predefined or preconfigured, such as the spatial allocation relationship of transmitting beams and receiving beams.
  • the transmitting beam has N directions in total, and the receiving beam has M directions in total.
  • N is an integer greater than or equal to 1
  • M is an integer greater than or equal to 1.
  • N can be equal to M, that is, one transmit beam corresponds to one receive beam.
  • N can be different from M.
  • one transmitting beam can correspond to multiple receiving beams.
  • the transmitting beam can be regarded as a wide beam
  • the receiving beam can be regarded as a narrow beam. That is, the direction of a wide beam corresponds to the direction of multiple narrow beams.
  • multiple transmit beams can correspond to one receive beam.
  • the transmit beam can be regarded as a narrow beam
  • the receive beam can be regarded as a wide beam. That is, the direction of a wide beam corresponds to the direction of multiple narrow beams.
  • FIG. 5A is a schematic diagram of spatial direction allocation of transmission beams.
  • FIG. 5A a total of four directions of transmitting beams are used as an example for explanation.
  • Figure 5B which is a schematic diagram of the spatial direction allocation of the receiving beam.
  • Figure 5B a total of four directions of receiving beams are used as an example for explanation. It can be seen from Figure 5A and Figure 5B that the beam is divided into 4 directions by the plane space, each corresponding to a quadrant.
  • a node wants to receive in the R1 direction, it can only receive the transmit beam from the T1 direction.
  • the R1 receiving direction corresponds to the T1 transmitting direction
  • the R2 receiving direction corresponds to the T2 transmitting direction
  • the R3 receiving direction corresponds to the T3 receiving direction
  • the R4 receiving direction corresponds to the T4 receiving direction.
  • the first node when it sends the seventh information and/or the eighth information, it may send the seventh information and/or the eighth information to the second node through a preset sending beam. or eighth message.
  • the first node may send the eighth information of the first node to the second node on the first transmission beam according to the transmission sequence corresponding to the degree of the first node.
  • the first transmitting beam may be determined based on a predefined or preconfigured spatial allocation relationship of the beams.
  • the direction of the first transmit beam matches the location of the second node. It can be understood that in the process of obtaining the seventh information by each node in the network, the direction or position of the surrounding nodes can be determined. Therefore, when sending the eighth information, each node can determine which direction of sending beam to use to send the eighth information.
  • node 3 is located in the direction of the fourth quadrant of node 1, then node 1 can send the eighth information to node 3 in the T1 direction.
  • node 3 receives the seventh information from node 1, it may receive it in the R1 direction.
  • each node in the network can receive the eighth information in the same direction at a certain stage, and each node can send the eighth information in the same direction. For example, each node receives the eighth information and sends the eighth information in the order shown in FIG. 6 .
  • each node in the network receives in the R1 direction, and each node in the network can transmit in the T1 direction.
  • each node in the network receives in the R2 direction, and each node in the network can transmit in the T2 direction.
  • the request phase Request, Ri
  • each node in the network can exchange the eighth information.
  • i is taken from 1 through M.
  • node A receives the eighth information in the R1 direction.
  • node B and node C respectively send the eighth information in the T1 direction.
  • the degree of node B is d1
  • the degree of node C is d2, d1>d2. Since the smaller the degree, the higher the transmission order, so the timer of node C expires first.
  • node C can perform a listen before talk (LBT) operation. If LBT is successful, node C can send the eighth message to node A.
  • LBT listen before talk
  • node C can Node C does not send a transmission request to node A.
  • node A After receiving the eighth information from node C, node A can send a reservation signal in the T1 direction. In this way, after the timer of node B expires, when performing the LBT operation, the eighth information will not be sent due to the LBT failure, thereby effectively avoiding interference.
  • the code division multiple access (CDMA) method can be used to transmit it by multiple nodes at the same time.
  • the receiving node does not need to send a reserved signal, and sends Node does not require LBT.
  • each node in the network After each node in the network interacts with the eighth information, that is, after the R phase is completed, it enters the request response phase (Answer, A phase).
  • a phase each node in the network serves as the receiving end, and compares the degree carried in the eighth information with its own degree based on the eighth information received in phase R. After the comparison is completed, if the degree of a surrounding node is the lowest, the ninth information will be sent to the node in phase A.
  • the ninth information is used to instruct the node to send the seventh information of the node, or the ninth information may be used to indicate that the degree of the node is the smallest in the network.
  • node A can compare the degree of node B, the degree of node C and the degree of node A. If node B has the lowest degree, node A may send ninth information to node B. If node C has the lowest degree, node A can send ninth information to node C. If node A has the lowest degree, node A does not need to send the ninth information, but can receive the ninth information from surrounding nodes.
  • the ninth information may carry the identity (identity, ID) information of the node, such as the identifier of the node.
  • identity identity, ID
  • the ninth information may carry node B's identity information. In this way, even if the ninth information is received at multiple nodes, the notified node can be determined based on the identity information of Node B carried in the ninth information.
  • each node in the network can realize the transmission of the eighth information.
  • the embodiment of the present application also designs a data transmission stage (Data, D stage).
  • the node that receives the ninth information may send a response to the node that sent the ninth information to indicate receipt of the ninth information.
  • node B may send a response to node A in phase D to indicate to node A that the ninth information is received.
  • each node in the network can interact with the seventh information as shown in S401, S402, S403 and S404 to construct network topology information.
  • the third node can transfer the network topology information to other nodes in the network.
  • the third node serves as the information source and reaches the information sink via a path through multiple hops through relay transmission.
  • the third node is node 6 in Figure 4C.
  • node 6 can send the network topology information to node 4, node 3, node 5 and node 7 that have communication links with node 6.
  • Node 7 can send network topology information to node 8, which has a communication link with node 7.
  • Node 4 can send network topology information to node 2, which has a communication link with node 4.
  • Node 3 can send network topology information to node 7.
  • Node 3 has a communication link to node 1.
  • FIG. 7 is a schematic block diagram of a communication device 700 provided by an embodiment of the present application.
  • the communication device 700 can correspondingly implement the functions or steps implemented by the first node, the second node or the third node in each of the above method embodiments.
  • the communication device may include a processing unit 710 and a transceiver unit 720.
  • a storage unit may also be included, which may be used to store instructions (code or programs) and/or data.
  • the processing unit 710 and the transceiver unit 720 can be coupled with the storage unit.
  • the processing unit 710 can read instructions (codes or programs) and/or data in the storage unit to implement corresponding methods.
  • Each of the above units can be set up independently or partially or fully integrated.
  • the communication device 700 can correspondingly implement the behaviors and functions of the first node in the above method embodiment.
  • the communication device 700 may be a first node, or a component (such as a chip or a circuit) applied in the first node.
  • the transceiver unit 720 may be configured to perform all receiving or transmitting operations performed by the first node in the embodiment shown in FIG. 3 .
  • the processing unit 710 is used to obtain the first information of the first node.
  • the transceiving unit 720 is configured to send the second information of the first node according to the first information of the first node.
  • the first information of the first node is determined based on the third information of the first node and the fourth information of the first node.
  • the third information of the first node indicates the number of nodes connected to the first node, or the first information indicates the number of nodes perceived by the first node.
  • the fourth information of the first node indicates the number of nodes sending the second information to the first node.
  • the processing unit 710 is further configured to: subtract the number of nodes indicated by the fourth information from the number of nodes indicated by the third information, to obtain the first information of the first node.
  • the transceiving unit 720 is configured to send the second information of the first node according to the first information of the first node, specifically: when the first information is less than or equal to the first threshold, send The second information of the first node.
  • the transceiver unit 720 is configured to send the second information of the first node according to the first information of the first node, and is specifically configured to: according to the first information of the first node and the first information of the first node.
  • the fifth information is to send the second information of the first node.
  • the fifth information of the first node indicates the carrier sensing result or the energy detection result.
  • the transceiver unit 720 sends the second information of the first node according to the first information of the first node and the fifth information of the first node, specifically for: performing carrier sensing results or energy detection.
  • the second information of the first node is sent according to the first information of the first node.
  • the transceiving unit 720 is configured to send the second information of the first node according to the first information of the first node, and is specifically configured to: send the second information of the first node to the second node according to the first information of the first node. Send the second information of the first node. Sixth information is received from the second node, and the sixth information indicates whether the second information of the first node is successfully transmitted.
  • the communication device 700 can correspondingly implement the behaviors and functions of the first node in the above method embodiment.
  • the communication device 700 may be a first node, or a component (such as a chip or a circuit) applied in the first node.
  • the transceiver unit 720 may be used to perform all receiving or transmitting operations performed by the first node in the embodiment shown in FIG. 4A.
  • the processing unit 710 is used to determine the transmission order corresponding to the degree of the first node.
  • the transceiver unit 720 is configured to send the seventh information of the first node to the second node according to the transmission sequence corresponding to the degree of the first node.
  • the seventh information of the first node includes information of nodes connected to the first node, and the degree of the first node is determined based on the number of nodes connected to the first node.
  • the communication device 700 can correspondingly implement the behaviors and functions of the second node in the above method embodiments.
  • the communication device 700 may be a second node, or may be a component (such as a chip or a circuit) used in the second node.
  • the transceiver unit 720 may be used to perform all receiving or transmitting operations performed by the second node in the embodiment shown in FIG. 4A.
  • the transceiver unit 720 is configured to receive the seventh information from the first node.
  • the processing unit 710 is configured to subtract a preset value from the degree of the second node after receiving the seventh information of the first node.
  • the transceiver unit 720 is also configured to send the seventh information of the second node to the third node when the degree of the second node is less than or equal to the first threshold.
  • the seventh information of the second node includes information of nodes connected to the second node and seventh information of the first node.
  • the degree of the second node is determined based on the number of nodes connected to the second node.
  • the communication device 700 can correspondingly implement the behaviors and functions of the third node in the above method embodiments.
  • the communication device 700 may be a third node, or may be a component (such as a chip or circuit) applied in the third node.
  • the transceiver unit 720 may be used to perform all receiving or transmitting operations performed by the third node in the embodiment shown in FIG. 4A.
  • the transceiver unit 720 is configured to receive the seventh information from the second node.
  • the degree of the third node is greater than the degree of the second node.
  • the degree of the second node is determined based on the number of nodes connected to the second node, and the degree of the third node is determined based on the number of nodes connected to the third node.
  • the processing unit 710 is configured to subtract a preset value from the degree of the third node after receiving the seventh information from the second node. It can be understood that the preset value can be set based on experience, for example, it can be set to 1, 2, etc.
  • the processing unit 710 is also configured to construct network topology information based on the seventh information of the second node when the degree is less than or equal to a first threshold.
  • the first threshold may be set based on an empirical value, for example, it may be set to 0.
  • the network corresponding to the network topology information includes the second node and the third node.
  • processing unit 710 in the embodiment of the present application can be implemented by a processor or processor-related circuit components
  • transceiver unit 720 can be implemented by a transceiver or transceiver-related circuit components or a communication interface.
  • an embodiment of the present application provides a communication device 800.
  • the communication device 800 includes a processor 810 .
  • the communication device 800 may also include a memory 820 for storing instructions executed by the processor 810 or input data required for the processor 810 to run the instructions or data generated after the processor 810 executes the instructions.
  • the processor 810 can implement the method shown in the above method embodiment through instructions stored in the memory 820 .
  • an embodiment of the present application provides a communication device 900.
  • the communication device 900 may be a chip or a chip system.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • the communication device 900 may include at least one processor 910 coupled with a memory.
  • the memory may be located within the device or outside the device.
  • communication device 900 may also include at least one memory 920.
  • the memory 920 stores the computer programs, configuration information, computer programs or instructions and/or data necessary to implement any of the above embodiments; the processor 910 may execute the computer program stored in the memory 920 to complete the method in any of the above embodiments.
  • the coupling in the embodiment of this application is an indirect coupling or communication connection between devices, units or modules, which may be in electrical, mechanical or other forms, and is used for information interaction between devices, units or modules.
  • Processor 910 may cooperate with memory 920.
  • the specific connection medium between the above-mentioned transceiver 930, processor 910 and memory 920 is not limited in the embodiment of the present application.
  • the communication device 900 may also include a transceiver 930, and the communication device 900 may interact with other devices through the transceiver 930.
  • the transceiver 930 can be a circuit, a bus, a transceiver, or any other device that can be used for information exchange, or is also called a signal transceiver unit. As shown in FIG. 9 , the transceiver 930 includes a transmitter 931 , a receiver 932 and an antenna 933 .
  • the transceiver in the communication device 900 can also be an input-output circuit and/or a communication interface, which can input data (or receive data) and output data ( Or, sending data),
  • the processor is an integrated processor or microprocessor or integrated circuit, and the processor can determine the output data according to the input data.
  • the communication device 900 can be applied to the first node.
  • the specific communication device 900 can be the first node, or can be a first node that can support the first node to implement any of the above-mentioned embodiments.
  • functional device The memory 920 stores the necessary computer programs, computer programs or instructions and/or data to implement the functions of the first node in any of the above embodiments.
  • the processor 910 can execute the computer program stored in the memory 920 to complete the method executed by the first node in any of the above embodiments.
  • the communication device 900 can be applied to the second node.
  • the specific communication device 900 can be the second node, or can support the second node to implement the second node in any of the above-mentioned embodiments.
  • the memory 920 stores necessary computer programs, computer programs or instructions and/or data to implement the functions of the second node in any of the above embodiments.
  • the processor 910 can execute the computer program stored in the memory 920 to complete the method executed by the second node in any of the above embodiments.
  • the communication device 900 can be applied to a third node.
  • the specific communication device 900 can be the third node, or can support the third node, to implement the third node in any of the above-mentioned embodiments.
  • the memory 920 stores necessary computer programs, computer programs or instructions and/or data to implement the functions of the third node in any of the above embodiments.
  • the processor 910 can execute the computer program stored in the memory 920 to complete the method executed by the third node in any of the above embodiments.
  • the communication device 900 provided in this embodiment can be applied to the first node to complete the method executed by the first node, or applied to the second node to complete the method executed by the second node, or applied to the third node to complete the above method The method executed by the third node. Therefore, the technical effects that can be obtained can be referred to the above method embodiments, and will not be described again here.
  • the processor may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or Execute each method, step and logical block diagram disclosed in the embodiment of this application.
  • a general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in conjunction with the embodiments of the present application can be directly implemented by a hardware processor for execution, or can be executed by a combination of hardware and software modules in the processor.
  • the memory may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or it may be a volatile memory (volatile memory), such as Random-access memory (RAM).
  • Memory may also be, but is not limited to, any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
  • the memory in the embodiment of the present application can also be a circuit or any other device capable of performing a storage function, used to store computer programs, computer programs or instructions and/or data.
  • the embodiment of the present application also provides another communication device 1000, including: an input and output interface 1010 and a logic circuit 1020; the input and output interface 1010 is used to receive code instructions and transmit them to the logic circuit 1020; Logic circuit 1020 is used to run code instructions to execute the method executed by the first node, the second node, or the third node in any of the above embodiments.
  • the communication device 1000 can be applied to a first node to execute the method executed by the first node, specifically, for example, the method executed by the first node in the embodiment shown in FIG. 3 .
  • the input and output interface 1010 is used to output the second information of the first node according to the first information of the first node.
  • the first information of the first node is determined based on the third information of the first node and the fourth information of the first node.
  • the third information of the first node indicates the number of nodes connected to the first node, or the first information indicates the number of nodes perceived by the first node.
  • the fourth information of the first node indicates the number of nodes sending the second information to the first node.
  • the communication device 1000 can be applied to a first node to perform the method performed by the first node, specifically, for example, the method performed by the first node in the embodiment shown in FIG. 4A.
  • the logic circuit 1020 is used to determine the transmission sequence corresponding to the degree of the first node.
  • the input and output interface 1010 is configured to output the seventh information of the first node to the second node according to the transmission sequence corresponding to the degree of the first node.
  • the seventh information of the first node includes information of nodes connected to the first node, and the degree of the first node is determined based on the number of nodes connected to the first node.
  • the communication device 1000 can be applied to a second node to perform the method performed by the second node. Specifically, for example, the method performed by the second node in the method embodiment shown in FIG. 4A. method.
  • the input and output interface 1010 is used to receive the seventh information from the first node.
  • the logic circuit 1020 is configured to subtract a preset value from the degree of the second node after receiving the seventh information of the first node.
  • the input and output interface 1010 is also used to send the seventh information of the second node to the third node when the degree of the second node is less than or equal to the first threshold.
  • the seventh information of the second node includes information of nodes connected to the second node and seventh information of the first node.
  • the degree of the second node is determined based on the number of nodes connected to the second node.
  • the communication device 1000 can be applied to a third node to perform the method performed by the third node. Specifically, for example, the method performed by the third node in the method embodiment shown in FIG. 4A. method.
  • the input and output interface 1010 is used for receiving the seventh information from the second node.
  • the degree of the third node is greater than the degree of the second node.
  • the degree of the second node is determined based on the number of nodes connected to the second node, and the degree of the third node is determined based on the number of nodes connected to the third node.
  • the logic circuit 1020 is configured to subtract a preset value from the degree of the third node after receiving the seventh information from the second node. It can be understood that the preset value can be set based on experience, for example, it can be set to 1, 2, etc.
  • the logic circuit 1020 is also configured to construct network topology information based on the seventh information of the second node when the degree is less than or equal to a first threshold.
  • the first threshold may be set based on an empirical value, for example, it may be set to 0.
  • the network corresponding to the network topology information includes the second node and the third node.
  • the communication device 1000 provided in this embodiment can be applied to the first node to complete the method executed by the first node, or applied to the second node to complete the method executed by the second node, or applied to the third node to complete the above method
  • the method executed by the third node Therefore, the technical effects that can be obtained can be referred to the above method embodiments, and will not be described again here.
  • embodiments of the present application also provide a communication system.
  • the communication system includes at least one communication device applied to a first node, at least one communication device applied to a second node, and at least one communication device applied to a third node.
  • the technical effects that can be obtained may refer to the above method embodiments and will not be described again here.
  • embodiments of the present application also provide a computer-readable storage medium that stores computer programs or instructions.
  • the first node in any of the above embodiments is executed.
  • the method is implemented or the method executed by the second node is implemented or the method executed by the third node is implemented.
  • the computer-readable storage medium may include: U disk, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other various media that can store program codes.
  • embodiments of the present application also provide a chip including a processor to support the communication device to implement the first node, the second node or the third node in the above method embodiment.
  • the functions involved in the node In a possible design, the chip is connected to a memory or the chip includes a memory, which is used to store computer programs or instructions and data necessary for the communication device.
  • embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment that combines software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
  • These computer programs or instructions may also be stored in a computer-readable memory that causes a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture that includes the instruction means,
  • the instruction means implements the functions specified in a process or processes of the flowchart and/or a block or blocks of the block diagram.
  • These computer programs or instructions may also be loaded onto a computer or other programmable data processing device, causing a series of operating steps to be performed on the computer or other programmable device to produce computer-implemented processing, thereby executing on the computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in a process or processes in the flow diagram and/or in a block or blocks in the block diagram.

Abstract

The present application relates to the technical field of wireless communications. Provided are a network topology construction method and apparatus, which are used for reducing the time and overhead for constructing or updating a network topology. In the method, a first node sends second information of the first node according to first information of the first node. The first information of the first node is determined according to third information of the first node and fourth information of the first node. The third information of the first node indicates the number of nodes which are connected to the first node, or the first information indicates the number of nodes which are perceived by the first node. The fourth information of the first node indicates the number of nodes which send the second information to the first node. On the basis of the solution, a first node can send second information thereof according to first information, such that a network topology is constructed. Compared with a method for constructing a network topology on the basis of a flooding mechanism, transmitted information is relatively less redundant, and the number of information interactions is fewer; therefore, the transmission overhead and construction time of the network topology can be reduced.

Description

一种网络拓扑构建方法和装置A network topology construction method and device 技术领域Technical field
本申请涉及无线通信技术领域,尤其涉及一种网络拓扑构建方法和装置。The present application relates to the field of wireless communication technology, and in particular, to a network topology construction method and device.
背景技术Background technique
目前在无线场景下,为了有效管理整个网络以获得良好性能,需要有灵活和高效的动态管理算法,能够根据网络的实时部署情况进行调度和传输。这就要求网络中,存在具有实际的网络拓扑信息的节点,也就是说,要求该节点能够确定网络中有哪些节点,以及能够确定各个节点之间的连接关系等,这需要网络拓扑能够被及时且高效的构建和更新。In current wireless scenarios, in order to effectively manage the entire network to achieve good performance, a flexible and efficient dynamic management algorithm is required that can schedule and transmit according to the real-time deployment of the network. This requires that there be a node with actual network topology information in the network. That is to say, the node is required to be able to determine which nodes are in the network and to determine the connection relationship between each node. This requires that the network topology can be analyzed in a timely manner. And efficient construction and update.
在当前的网络拓扑的构建与网络拓扑的更新过程中,一般使用基于泛洪的方式进行。泛洪方式的原理是,在网络拓扑的构建或网络拓扑的更新过程中,网络中的各个节点分别广播该节点所获取的周边节点的链路信息。当一个节点A接收到其他节点广播的周边节点的链路信息后,该节点A就能够拥有更多节点的链路信息。网络中所有节点执行一次广播,可以理解为完成一次泛洪。通过多次泛洪后,该网络中就存在了拥有全局信息的节点,该节点就可作为控制节点,从而该控制节点可以根据全局信息构建网络拓扑或更新网络拓扑。In the process of constructing and updating the current network topology, flooding-based methods are generally used. The principle of the flooding method is that during the construction of the network topology or the update process of the network topology, each node in the network broadcasts the link information of surrounding nodes obtained by the node. When a node A receives the link information of surrounding nodes broadcast by other nodes, the node A can have the link information of more nodes. All nodes in the network perform a broadcast, which can be understood as completing a flood. After multiple floodings, there will be a node with global information in the network, and this node can be used as a control node, so that the control node can build the network topology or update the network topology based on the global information.
但是,基于泛洪机制构建或更新网络拓扑的方式,需要传输的冗余信息较多,信息交互的次数多,且所需时间较长。However, the way to build or update the network topology based on the flooding mechanism requires more redundant information to be transmitted, the number of information interactions is large, and it takes a long time.
发明内容Contents of the invention
本申请提供一种网络拓扑构建方法和装置,用来减少冗余信息的传输,减少构建或更新网络拓扑的时间。This application provides a network topology construction method and device to reduce the transmission of redundant information and reduce the time to build or update network topology.
第一方面,提供了一种网络拓扑方法。该方法可以由通信设备执行,或者类似通信设备功能的芯片执行。该方法中,第一节点根据第一节点的第一信息,发送第一节点的第二信息。其中,第一节点的第一信息是根据第一节点的第三信息和第一节点的第四信息确定的。第一节点的第三信息指示与第一节点连接的节点数量,或者第一信息指示第一节点感知到的节点数量。第一节点的第四信息指示向第一节点发送第二信息的节点数量。The first aspect provides a network topology method. The method may be executed by a communication device, or a chip with functions similar to the communication device. In this method, the first node sends the second information of the first node based on the first information of the first node. Wherein, the first information of the first node is determined based on the third information of the first node and the fourth information of the first node. The third information of the first node indicates the number of nodes connected to the first node, or the first information indicates the number of nodes perceived by the first node. The fourth information of the first node indicates the number of nodes sending the second information to the first node.
基于上述方案,第一节点可以根据连接的节点数量、感知到的节点数量和向第一节点发送第二信息的节点数量中的一个或多个,发送第一节点的第二信息从而进行网络拓扑构建,相较于基于泛洪机制构建网络拓扑的方式,传输的信息冗余较少,且信息交互的次数较少,因此可以减少网络拓扑的传输开销和构建时间。且,在更新网络拓扑时采用上述技术方案,也可以减少更新网络拓扑的时间,减少信息的冗余,减少信息的交互次数。Based on the above solution, the first node can send the second information of the first node according to one or more of the number of connected nodes, the number of sensed nodes, and the number of nodes sending the second information to the first node to perform network topology Compared with the method of constructing network topology based on the flooding mechanism, the information transmitted is less redundant and the number of information interactions is less, so the transmission overhead and construction time of the network topology can be reduced. Moreover, using the above technical solution when updating the network topology can also reduce the time for updating the network topology, reduce information redundancy, and reduce the number of information interactions.
在一种可能的实现方式中,第二信息包括第一节点与第一节点有连接的节点之间的通信链路的信道状态信息,第一节点与第一节点有连接的节点之间的通信链路的长时信道状态信息、第一节点与第一节点有连接的节点之间的通信链路的链路质量指示信息和第一节点与第一节点有连接的节点之间的通信链路的衰落系数中的一种或多种。In a possible implementation, the second information includes channel state information of the communication link between the first node and the node connected to the first node, and the communication between the first node and the node connected to the first node Long-term channel state information of the link, link quality indication information of the communication link between the first node and the node connected to the first node, and communication link between the first node and the node connected to the first node One or more of the fading coefficients.
基于上述方案,第一节点可以发送第一节点的通信链路信息,用于其他节点确定第一节点的通信链路,从而构建网络拓扑。Based on the above solution, the first node can send the communication link information of the first node for other nodes to determine the communication link of the first node, thereby constructing a network topology.
在一种可能的实现方式中,第二信息包括传输请求信息。可选的,该传输请求信息可 以用于请求传输第一节点与第一节点有连接的节点之间的通信链路的信道状态信息,第一节点与第一节点有连接的节点之间的通信链路的长时信道状态信息、第一节点与第一节点有连接的节点之间的通信链路的链路质量指示信息和第一节点与第一节点有连接的节点之间的通信链路的衰落系数中的一种或多种。In a possible implementation, the second information includes transmission request information. Optionally, the transmission request information may be used to request the transmission of channel state information of the communication link between the first node and the node connected to the first node, and the communication between the first node and the node connected to the first node. Long-term channel state information of the link, link quality indication information of the communication link between the first node and the node connected to the first node, and communication link between the first node and the node connected to the first node One or more of the fading coefficients.
基于上述方案,第一节点可以通过传输请求信息,确定传输第一节点的通信链路信息的顺序,在传输第一节点的通信链路信息时可以减少信息交互次数,节省构建网络拓扑时的开销和时间。Based on the above solution, the first node can determine the order of transmitting the communication link information of the first node by transmitting the request information. When transmitting the communication link information of the first node, the number of information interactions can be reduced and the cost of constructing the network topology can be saved. and time.
在一种可能的实现方式中,第一节点将第三信息指示的节点数量减去第四信息指示的节点数量,得到第一节点的第一信息。基于上述方案,第一节点可以在接收到连接的节点发送的第二信息后,发送第一节点的第二信息。In a possible implementation, the first node subtracts the number of nodes indicated by the fourth information from the number of nodes indicated by the third information to obtain the first information of the first node. Based on the above solution, the first node may send the second information of the first node after receiving the second information sent by the connected node.
在一种可能的实现方式中,第一节点在第一信息小于或者小于等于第一阈值时,发送第一节点的第二信息。其中,第一阈值是预设的,如可以设置为0、1、2等。基于上述方案,第一节点可以在连接的节点数量小于或者小于等于第一阈值时,发送第一节点的第二信息。In a possible implementation, the first node sends the second information of the first node when the first information is less than or equal to the first threshold. The first threshold is preset, for example, it can be set to 0, 1, 2, etc. Based on the above solution, the first node may send the second information of the first node when the number of connected nodes is less than or equal to the first threshold.
在一种可能的实现方式中,第一节点根据第一节点的第一信息和第一节点的第五信息,发送第一节点的第二信息。其中,第一节点的第五信息指示载波侦听结果或者能量检测结果。第一节点在载波侦听结果或者能量检测结果小于或等于第二阈值时,根据第一节点的第一信息发送第一节点的第二信息。基于上述方案,第一节点在发送第一节点的第二信息时,可以参考载波侦听结果或者能量检测结果,从而可以减少干扰。In a possible implementation, the first node sends the second information of the first node according to the first information of the first node and the fifth information of the first node. Wherein, the fifth information of the first node indicates the carrier sensing result or the energy detection result. When the carrier sensing result or the energy detection result is less than or equal to the second threshold, the first node sends the second information of the first node according to the first information of the first node. Based on the above solution, when sending the second information of the first node, the first node can refer to the carrier sensing result or the energy detection result, thereby reducing interference.
在一种可能的实现方式中,第一节点根据第一节点的第一信息,向第二节点发送第一节点的第二信息。第一节点接收来自第二节点的第六信息,第六信息指示第一节点的第二信息是否传输成功。基于上述方案,第一节点可以接收第六信息,确定第一节点的第二信息是否传输成功。In a possible implementation, the first node sends the second information of the first node to the second node based on the first information of the first node. The first node receives sixth information from the second node, and the sixth information indicates whether the second information of the first node is successfully transmitted. Based on the above solution, the first node can receive the sixth information and determine whether the second information of the first node is successfully transmitted.
在一种可能的实现方式中,第一节点的第二信息还包括第一节点接收到的第二信息。基于上述方案,第一节点可以将接收到的第二信息携带在第一节点的第二信息中进行传输,用于网络拓扑的构建。In a possible implementation, the second information of the first node also includes the second information received by the first node. Based on the above solution, the first node can carry the received second information in the second information of the first node for transmission, so as to construct the network topology.
第二方面,提供了一种网络拓扑构建方法。该方法可以由通信系统,该通信系统中可以包括第一节点、第二节点和第三节点。该方法中,第一节点按照第一节点的度对应的传输顺序,向第二节点发送第一节点的第七信息。第一节点的第七信息包括第一节点连接的节点的信息,第一节点的度是根据第一节点连接的节点数量确定的。第二节点在接收到第一节点的第七信息后,将第二节点的度减去预设值。第二节点的度是根据第二节点连接的节点数量确定的。第二节点在第二节点的度小于或者小于等于第一阈值时,向第三节点发送第二节点的第七信息。第二节点的第七信息包括第二节点连接的节点的信息和第一节点的第七信息。第三节点根据第二节点的第七信息构建网络拓扑信息,网络拓扑信息所对应的网络包含第一节点、第二节点和第三节点。In the second aspect, a network topology construction method is provided. The method may be provided by a communication system, which may include a first node, a second node and a third node. In this method, the first node sends the seventh information of the first node to the second node according to the transmission order corresponding to the degree of the first node. The seventh information of the first node includes information of nodes connected to the first node, and the degree of the first node is determined based on the number of nodes connected to the first node. After receiving the seventh information from the first node, the second node subtracts the preset value from the degree of the second node. The degree of the second node is determined based on the number of nodes connected to the second node. When the degree of the second node is less than or equal to the first threshold, the second node sends the seventh information of the second node to the third node. The seventh information of the second node includes information of nodes connected to the second node and seventh information of the first node. The third node constructs network topology information based on the seventh information of the second node. The network corresponding to the network topology information includes the first node, the second node and the third node.
其中,预设值可以是根据经验值设置的,如可以设置为1、2等。同理,第一阈值可以是根据经验值设置的,如可以设置为0。Among them, the preset value can be set based on experience value, for example, it can be set to 1, 2, etc. Similarly, the first threshold can be set based on experience value, for example, it can be set to 0.
基于上述方案,各个节点可以根据度对应的传输顺序,发送各个节点的第七信息,相较于基于泛洪机制构建网络拓扑的方式,传输的信息冗余较少,且信息交互的次数较少,因此可以减少网络拓扑的传输开销和构建时间。且,在更新网络拓扑时采用上述技术方案, 也可以减少更新网络拓扑的时间,减少信息的冗余,减少信息的交互次数。Based on the above solution, each node can send the seventh information of each node according to the transmission order corresponding to the degree. Compared with the method of constructing network topology based on the flooding mechanism, the information transmitted is less redundant and the number of information interactions is less. , thus reducing the transmission overhead and construction time of the network topology. Moreover, using the above technical solution when updating the network topology can also reduce the time for updating the network topology, reduce information redundancy, and reduce the number of information interactions.
一种可能的情况中,第一节点的第八信息可以包含第一节点的链路信息,第一节点的链路信息可包括第一节点所知的通信链路的信息。其中,一条通信链路的信息可包括该通信链路的节点信息、链路质量信息(或称为链路质量信息)和/或波束状态信息。In a possible situation, the eighth information of the first node may include link information of the first node, and the link information of the first node may include information of the communication link known by the first node. The information of a communication link may include node information, link quality information (or link quality information) and/or beam status information of the communication link.
另一种可能的情况中,第八信息可以用于请求传输第七信息,例如第八信息也可以称为传输请求信息。例如,第一节点的第八信息可以用于请求传输第一节点的第七信息。In another possible situation, the eighth information may be used to request the transmission of the seventh information. For example, the eighth information may also be called transmission request information. For example, the eighth information of the first node may be used to request transmission of the seventh information of the first node.
在一种可能的实现方式中,第一节点按照第一节点的度计算对应的传输顺序,达到预设条件后,向第二节点发送第一节点的第八信息。第一节点的度用于指示第一节点连接的节点数量,第一节点的第八信息用于确定第二节点的度,第二节点的度用于指示第二节点接收到的第八信息的数量。第二节点在接收到第一节点的第八信息后,更新第二节点的度,将第二节点的度减去预设值。第二节点的度用于指示第二节点连接的节点数量。第二节点按照第二节点的度计算对应的传输顺序,达到预设条件后,向第三节点发送第二节点的第八信息。第二节点的第八信息用于确定第三节点的度,第三节点的度用于指示第三节点接收到的第八信息的数量。In a possible implementation, the first node calculates the corresponding transmission sequence according to the degree of the first node, and after reaching the preset condition, sends the eighth information of the first node to the second node. The degree of the first node is used to indicate the number of nodes connected to the first node, the eighth information of the first node is used to determine the degree of the second node, and the degree of the second node is used to indicate the eighth information received by the second node. quantity. After receiving the eighth information from the first node, the second node updates the degree of the second node and subtracts the preset value from the degree of the second node. The degree of the second node is used to indicate the number of nodes connected to the second node. The second node calculates the corresponding transmission sequence according to the degree of the second node, and after reaching the preset condition, sends the eighth information of the second node to the third node. The eighth information of the second node is used to determine the degree of the third node, and the degree of the third node is used to indicate the amount of the eighth information received by the third node.
在一个示例中,第一节点也可以接收来自其他节点的第八信息。在一个示例中,第一节点的度可以在所属网络范围内最小,因此第一节点可能接收不到来自其他节点的第八信息,也就是第一节点的度可以为0。In one example, the first node may also receive eighth information from other nodes. In one example, the degree of the first node may be the smallest within the scope of the network to which it belongs, so the first node may not receive the eighth information from other nodes, that is, the degree of the first node may be 0.
另一个示例中,第三节点在接收到第二节点的第八信息后,可以将第三节点的度减去预设值,第三节点可以按照第三节点的度对应的传输顺序,向周边节点,如第五节点发送第八信息。In another example, after receiving the eighth information from the second node, the third node can subtract the preset value from the degree of the third node, and the third node can transmit the information to the surrounding area according to the transmission sequence corresponding to the degree of the third node. The node, such as the fifth node, sends the eighth message.
基于上述方案,网络中各个节点可以交互第八信息,从而更新度,也就是确定传输第七信息的顺序。Based on the above solution, each node in the network can exchange the eighth information to update the degree, that is, determine the order of transmitting the seventh information.
在一种可能的实现方式中,第一节点按照第一节点的度对应的传输顺序,在N个发送波束中的第一发送波束上发送第一节点的第八信息,第一发送波束的方向与第二节点的位置相匹配。第二节点在M个接收波束中的第一接收波束上接收第一节点的第八信息,第一接收波束与第一发送波束对应。其中,N和M均为大于或等于1的整数。In a possible implementation, the first node sends the eighth information of the first node on the first of the N sending beams according to the transmission order corresponding to the degree of the first node, and the direction of the first sending beam. Matches the position of the second node. The second node receives the eighth information of the first node on the first receiving beam among the M receiving beams, and the first receiving beam corresponds to the first transmitting beam. Among them, N and M are both integers greater than or equal to 1.
基于上述方案,各个节点在发送第八信息时可以通过发送波束发送,各个节点在接收第八信息时可以通过接收波束接收,同一时刻的接收波束和发送波束对应,因此可以减少第八信息传输过程中的通信干扰。该对应方式为预先规定,或者配置得到。可选的,每个节点在发送第八信息时,在规定的对应的发送波束所对应的发送时间内进行发送。Based on the above solution, each node can send through the sending beam when sending the eighth information, and each node can receive through the receiving beam when receiving the eighth information. The receiving beam and the transmitting beam at the same time correspond to each other, so the eighth information transmission process can be reduced. communication interference. The corresponding method is predetermined or configured. Optionally, when each node sends the eighth information, it sends within the specified sending time corresponding to the corresponding sending beam.
可选的,第一接收波束与第一发送波束一一对应。或者,第一接收波束与第一发送波束以及X个发送波束对应。或者,Y个接收波束以及第一接收波束与第一发送波束对应。Optionally, the first receiving beam has a one-to-one correspondence with the first transmitting beam. Alternatively, the first receive beam corresponds to the first transmit beam and X transmit beams. Alternatively, the Y receive beams and the first receive beam correspond to the first transmit beam.
在一种可能的实现方式中,第二节点在M个接收波束中的第二接收波束上接收第四节点的第八信息,第二接收波束与第四节点的位置相匹配,第四节点的第八信息包括第四节点的度的信息。第二节点根据第一节点的度的信息和第四节点的度的信息,确定第一节点的度小于第四节点的度。其中,第一节点的第八信息包括第一节点的度的信息。第二节点向第一节点发送第九信息,第九信息用于指示第一节点发送第一节点的第七信息。In a possible implementation, the second node receives the eighth information of the fourth node on a second receiving beam among the M receiving beams, and the second receiving beam matches the position of the fourth node. The eighth information includes information on the degree of the fourth node. The second node determines that the degree of the first node is smaller than the degree of the fourth node based on the degree information of the first node and the degree information of the fourth node. The eighth information of the first node includes information about the degree of the first node. The second node sends ninth information to the first node, and the ninth information is used to instruct the first node to send seventh information of the first node.
在一种可能的实现方式中,第四节点在N个发送波束中的第二发送波束上向第二节点发送第四节点的第八信息,第二发送波束与第二接收波束对应。In a possible implementation, the fourth node sends the eighth information of the fourth node to the second node on a second sending beam among the N sending beams, and the second sending beam corresponds to the second receiving beam.
基于上述方案,第二节点可以通过M个接收波束中的第一接收波束接收第一节点的第 七信息,通过M个接收波束中的第二接收波束接收第四节点的第八信息,并对第一节点的度与第四节点的度进行比较,向度较小的节点发送第九信息,指示该度较小的节点发送第七信息。Based on the above solution, the second node can receive the seventh information of the first node through the first receiving beam among the M receiving beams, receive the eighth information of the fourth node through the second receiving beam among the M receiving beams, and The degree of the first node is compared with the degree of the fourth node, ninth information is sent to the node with a smaller degree, and the node with a smaller degree is instructed to send seventh information.
可选的,第二接收波束与第二发送波束一一对应。或者,第二接收波束与第二发送波束以及X个发送波束对应。或者,Y个接收波束以及第二接收波束与第二发送波束对应。Optionally, the second receiving beam has a one-to-one correspondence with the second transmitting beam. Alternatively, the second reception beam corresponds to the second transmission beam and X transmission beams. Alternatively, the Y receive beams and the second receive beam correspond to the second transmit beam.
在一种可能的实现方式中,第九信息包括第一节点的标识。基于上述方案,通过第一节点的标识,可以让接收到第九信息的各个节点确认该第九信息是指示第一节点发送第七信息的。In a possible implementation, the ninth information includes an identification of the first node. Based on the above solution, through the identification of the first node, each node that receives the ninth information can confirm that the ninth information instructs the first node to send the seventh information.
在一种可能的实现方式中,度越小的节点的传输顺序越靠前。基于上述方案,在网络中度越小的节点传输顺序越靠前,也就是按照度从小到大的顺序,各个节点传输第八信息,可以减少传输第八信息的次数。In one possible implementation, nodes with smaller degrees have higher transmission order. Based on the above solution, nodes with smaller degrees in the network are transmitted in higher order, that is, in order from small to large, each node transmits the eighth information, which can reduce the number of times the eighth information is transmitted.
在一种可能的实现方式中,第一节点是网络中度最小的节点,第三节点是网络中度最大的节点。基于上述方案,第一节点可以是网络中度最小的节点,因此第一节点优先发送第二信,第三节点是网络中度最大的节点,因此第三节点可以接收其他节点的第八信息。In a possible implementation, the first node is the node with the smallest degree in the network, and the third node is the node with the largest degree in the network. Based on the above solution, the first node can be the node with the smallest degree in the network, so the first node sends the second message first, and the third node is the node with the largest degree in the network, so the third node can receive the eighth message from other nodes.
第三方面,提供了一种通信装置,包括:处理单元和收发单元。In a third aspect, a communication device is provided, including: a processing unit and a transceiver unit.
处理单元,用于获取第一节点的第一信息。收发单元,用于根据第一节点的第一信息,发送第一节点的第二信息。其中,第一节点的第一信息是根据第一节点的第三信息和第一节点的第四信息确定的。第一节点的第三信息指示与第一节点连接的节点数量,或者第一信息指示第一节点感知到的节点数量。第一节点的第四信息指示向第一节点发送第二信息的节点数量。A processing unit, configured to obtain the first information of the first node. The transceiver unit is configured to send the second information of the first node according to the first information of the first node. Wherein, the first information of the first node is determined based on the third information of the first node and the fourth information of the first node. The third information of the first node indicates the number of nodes connected to the first node, or the first information indicates the number of nodes perceived by the first node. The fourth information of the first node indicates the number of nodes sending the second information to the first node.
在一种可能的实现方式中,第二信息包括第一节点与第一节点有连接的节点之间的通信链路的信道状态信息,第一节点与第一节点有连接的节点之间的通信链路的长时信道状态信息、第一节点与第一节点有连接的节点之间的通信链路的链路质量指示信息和第一节点与第一节点有连接的节点之间的通信链路的衰落系数中的一种或多种。In a possible implementation, the second information includes channel state information of the communication link between the first node and the node connected to the first node, and the communication between the first node and the node connected to the first node Long-term channel state information of the link, link quality indication information of the communication link between the first node and the node connected to the first node, and communication link between the first node and the node connected to the first node One or more of the fading coefficients.
在一种可能的实现方式中,第二信息包括传输请求信息。In a possible implementation, the second information includes transmission request information.
在一种可能的实现方式中,处理单元还用于:将第三信息指示的节点数量减去第四信息指示的节点数量,得到第一节点的第一信息。In a possible implementation, the processing unit is further configured to: subtract the number of nodes indicated by the fourth information from the number of nodes indicated by the third information, to obtain the first information of the first node.
在一种可能的实现方式中,收发单元,用于根据第一节点的第一信息,发送第一节点的第二信息,具体用于:在第一信息小于或等于第一阈值时,发送第一节点的第二信息。In a possible implementation, the transceiver unit is configured to send the second information of the first node according to the first information of the first node, and is specifically configured to: when the first information is less than or equal to the first threshold, send the second information of the first node. The second information of a node.
在一种可能的实现方式中,收发单元,用于根据第一节点的第一信息,发送第一节点的第二信息,具体用于:根据第一节点的第一信息和第一节点的第五信息,发送第一节点的第二信息。其中,第一节点的第五信息指示载波侦听结果或者能量检测结果。In a possible implementation, the transceiver unit is configured to send the second information of the first node according to the first information of the first node, specifically: according to the first information of the first node and the third information of the first node. Five messages, sending the second message of the first node. Wherein, the fifth information of the first node indicates the carrier sensing result or the energy detection result.
在一种可能的实现方式中,收发单元根据第一节点的第一信息和第一节点的第五信息,发送第一节点的第二信息,具体用于:在载波侦听结果或者能量检测结果小于或等于第二阈值时,根据第一节点的第一信息发送第一节点的第二信息。In a possible implementation, the transceiver unit sends the second information of the first node according to the first information of the first node and the fifth information of the first node, specifically for: performing carrier sensing results or energy detection results. When it is less than or equal to the second threshold, the second information of the first node is sent according to the first information of the first node.
在一种可能的实现方式中,收发单元,用于根据第一节点的第一信息,发送第一节点的第二信息,具体用于:根据第一节点的第一信息,向第二节点发送第一节点的第二信息。接收来自第二节点的第六信息,第六信息指示第一节点的第二信息是否传输成功。In a possible implementation, the transceiver unit is configured to send the second information of the first node according to the first information of the first node, and is specifically configured to: send the second information to the second node according to the first information of the first node. The second information of the first node. Sixth information is received from the second node, and the sixth information indicates whether the second information of the first node is successfully transmitted.
在一种可能的实现方式中,第一节点的第二信息还包括第一节点接收到的第二信息。In a possible implementation, the second information of the first node also includes the second information received by the first node.
第四方面,提供了一种通信装置,该通信装置可以为上述实施例中第一方面至第四方 面中任一方面的通信装置,或者为设置在第一方面至第二方面中任一方面的通信装置中的芯片。该通信装置包括通信接口以及处理器,可选的,还包括存储器。其中,该存储器用于存储计算机程序或指令或者数据,处理器与存储器、通信接口耦合,当处理器读取所述计算机程序或指令或数据时,使通信装置执行上述第一方面至第二方面中任一方面方法实施例中第一节点、第二节点或第三节点所执行的方法。In a fourth aspect, a communication device is provided. The communication device may be the communication device of any one of the first to fourth aspects in the above embodiments, or may be provided in any one of the first to second aspects. chips in communication devices. The communication device includes a communication interface and a processor, and optionally, a memory. Wherein, the memory is used to store computer programs or instructions or data, and the processor is coupled to the memory and the communication interface. When the processor reads the computer program, instructions or data, the communication device is caused to execute the above first to second aspects. The method executed by the first node, the second node or the third node in any of the method embodiments.
应理解,该通信接口可以通过所述通信装置中的天线、馈线和编解码器等实现,或者,如果通信装置为设置在网络设备或终端设备中的芯片,则通信接口可以是该芯片的输入/输出接口,例如输入/输出管脚等。所述通信装置还可以包括收发器,用于该通信装置与其它设备进行通信。It should be understood that the communication interface can be implemented through antennas, feeders, codecs, etc. in the communication device, or if the communication device is a chip provided in network equipment or terminal equipment, the communication interface can be the input of the chip /Output interface, such as input/output pins, etc. The communication device may also include a transceiver for communicating with other devices.
第五方面,本申请实施例提供了一种芯片系统,该芯片系统包括处理器,还可以包括存储器,用于实现第一方面至第二方面中任一方面中的通信装置执行的方法。在一种可能的实现方式中,所述芯片系统还包括存储器,用于保存程序指令和/或数据。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。In a fifth aspect, embodiments of the present application provide a chip system, which includes a processor and may also include a memory for implementing the method performed by the communication device in any one of the first to second aspects. In a possible implementation, the chip system further includes a memory for storing program instructions and/or data. The chip system can be composed of chips or include chips and other discrete devices.
第六方面,本申请提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序或指令,当该计算机程序或指令被运行时,实现上述各方面中由第一节点执行的方法;或实现上述各方面中由第二节点执行的方法;或实现上述各方面中由第三节点执行的方法。In a sixth aspect, the present application provides a computer-readable storage medium that stores a computer program or instructions. When the computer program or instructions are run, the steps executed by the first node in the above aspects are implemented. method; or implement the method executed by the second node in the above aspects; or implement the method executed by the third node in the above aspects.
第七方面,提供了一种计算机程序产品,所述计算机程序产品包括:计算机程序代码或指令,当所述计算机程序代码或指令被运行时,使得上述各方面中由第一节点执行的方法被执行,或使得上述各方面中由第二节点执行的方法被执行,或使得上述各方面中由第三节点执行的方法被执行。In a seventh aspect, a computer program product is provided. The computer program product includes: computer program code or instructions. When the computer program code or instructions are executed, the method executed by the first node in the above aspects is caused to be executed. Execute, or cause the method executed by the second node in the above aspects to be executed, or cause the method executed by the third node in the above aspects to be executed.
第八方面,提供了一种通信装置,所述通信装置包括执行上述各方面方法的单元或模块。An eighth aspect provides a communication device, which includes a unit or module that performs the methods of the above aspects.
上述第三方面至第八方面及其实现方式的有益效果可以参考对第一方面和第二方面的方法及其实现方式的有益效果的描述。For the beneficial effects of the above-mentioned third to eighth aspects and their implementation methods, reference may be made to the description of the beneficial effects of the methods of the first and second aspects and their implementation methods.
附图说明Description of drawings
图1A为本申请实施例提供的基于泛洪机制构建网络拓扑的方案中第一轮泛洪过程示意图;Figure 1A is a schematic diagram of the first round of flooding process in the scheme of constructing network topology based on the flooding mechanism provided by the embodiment of the present application;
图1B为本申请实施例提供的基于泛洪机制构建网络拓扑的方案中第二轮泛洪过程示意图;Figure 1B is a schematic diagram of the second round of flooding process in the scheme of constructing network topology based on the flooding mechanism provided by the embodiment of the present application;
图2为本申请实施例提供的多节点写作网络示意图;Figure 2 is a schematic diagram of a multi-node writing network provided by an embodiment of the present application;
图3为本申请实施例提供的一种网络拓扑构建方法的示例性流程图之一;Figure 3 is one of the exemplary flow charts of a network topology construction method provided by an embodiment of the present application;
图4A为本申请实施例提供的一种网络拓扑构建方法的示例性流程图之一;Figure 4A is one of the exemplary flow charts of a network topology construction method provided by an embodiment of the present application;
图4B为本申请实施例提供的网络拓扑构建方法中第二信息的交互过程示意图;Figure 4B is a schematic diagram of the interaction process of the second information in the network topology construction method provided by the embodiment of the present application;
图4C为本申请实施例提供的网络拓扑构建方法中第一信息的交互过程示意图;Figure 4C is a schematic diagram of the interaction process of the first information in the network topology construction method provided by the embodiment of the present application;
图5A为本申请实施例提供的发送波束的空间方向分配示意图;Figure 5A is a schematic diagram of spatial direction allocation of transmission beams provided by an embodiment of the present application;
图5B为本申请实施例提供的接收波束的空间方向分配示意图;Figure 5B is a schematic diagram of the spatial direction allocation of receiving beams provided by an embodiment of the present application;
图6为本申请实施例提供的网络拓扑构建方法中信息交互过程示意图;Figure 6 is a schematic diagram of the information interaction process in the network topology construction method provided by the embodiment of the present application;
图7为本申请实施例提供的一种通信装置的示意图之一;Figure 7 is one of the schematic diagrams of a communication device provided by an embodiment of the present application;
图8为本申请实施例提供的一种通信装置的示意图之一;Figure 8 is one of the schematic diagrams of a communication device provided by an embodiment of the present application;
图9本申请实施例提供的一种通信装置的示意图之一;Figure 9 is a schematic diagram of a communication device provided by an embodiment of the present application;
图10申请实施例提供的一种通信装置的示意图之一。Figure 10 is a schematic diagram of a communication device provided by an embodiment of the application.
具体实施方式Detailed ways
以下,介绍本申请实施例涉及的技术术语。The technical terms involved in the embodiments of this application are introduced below.
网络拓扑,又称为网络拓扑(network topology)结构,是指用传输介质互联各种设备的物理布局。该物理布局所涉及的排列方式,可以是网络成员间特定的、物理的(或者说真实的)排列方式,也可以是网络成员间逻辑的(或者说虚拟的)排列方式。Network topology, also known as network topology structure, refers to the physical layout of various devices interconnected by transmission media. The arrangement involved in the physical layout may be a specific, physical (or real) arrangement among the network members, or it may be a logical (or virtual) arrangement among the network members.
在网络拓扑中可以存在一类节点,此类节点可用于调度其他节点,此类节点可称为控制节点。其中,控制节点可以包括中心控制节点和分布式控制节点。一种可能的情况中,中心控制节点可以调度该中心控制节点所在的网络(即,该网络拓扑所对应的网络)中的各个节点。另一种可能的情况中,分布式控制节点可以调度该分布式控制节点周围的一个或多个节点,这一个或多个节点以及该分布式控制节点可以构成一个子网,在一个网络中可以包含多个子网。There can be a type of node in the network topology, which can be used to schedule other nodes. This type of node can be called a control node. The control nodes may include central control nodes and distributed control nodes. In one possible situation, the central control node can schedule each node in the network where the central control node is located (ie, the network corresponding to the network topology). In another possible situation, the distributed control node can schedule one or more nodes around the distributed control node. The one or more nodes and the distributed control node can form a subnet, and in a network it can Contains multiple subnets.
可选的,中心控制节点与分布式控制节点可以同时存在于一个网络中。其中,中心控制节点可以是某个子网里的分布式控制节点。Optionally, the central control node and distributed control nodes can exist in the same network at the same time. Among them, the central control node can be a distributed control node in a certain subnet.
随着无线通信的发展,越来越密集、复杂和灵活的网络将成为未来发展的趋势,从而实现万物互联的目标。因此,网络的整体组网、传输的理论、方法和优化是非常重要的研究内容。With the development of wireless communications, increasingly dense, complex and flexible networks will become the trend of future development, thereby achieving the goal of interconnecting everything. Therefore, the overall networking, transmission theory, methods and optimization of the network are very important research contents.
在网络的研究和未来应用上,无线自组织网络因为其较为广阔的应用场景和较为复杂、开放的研究内容,一直是讨论的热点。无线自组织网络通过网络中多个节点的自组织和自协作,在不同的应用场景中,能够使整体网络达到较好的性能。一种典型的无线自组织网络的应用比如无线传感器网络,可通过分布式传感器的部署进行传感数据的传输。以无线传感器网络中的车到车(vehicle to vehicle,V2V)网络为例,V2V网络中车辆上可以部署分布式传感器,该分布式传感器可以对路况信息进行采集,车辆之间可以交互采集到的路况信息。大部分无线自组织网络由于节点可以动态加入或退出,因此具有灵活和动态的特征。如无线传感器网络,可以通过部署分布式传感器从而增加新的节点,旧的节点也可能因为电量不足或故障等原因退出该无线传感器网络。可以理解的是,无线自组织网络中各个节点也可以移动。In terms of network research and future applications, wireless self-organizing networks have always been a hot topic of discussion because of their broader application scenarios and more complex and open research content. Wireless self-organizing network can achieve better performance of the overall network in different application scenarios through the self-organization and self-collaboration of multiple nodes in the network. A typical wireless self-organizing network application such as wireless sensor network can transmit sensing data through the deployment of distributed sensors. Take the vehicle to vehicle (V2V) network in wireless sensor networks as an example. Distributed sensors can be deployed on vehicles in the V2V network. The distributed sensors can collect road condition information, and the vehicles can interact with each other to collect the information. Traffic information. Most wireless self-organizing networks are flexible and dynamic because nodes can join or exit dynamically. For example, in a wireless sensor network, new nodes can be added by deploying distributed sensors. Old nodes may also exit the wireless sensor network due to insufficient power or failure. It is understandable that each node in the wireless self-organizing network can also move.
例如,对于V2V网络,车辆上部署的分布式传感器也可以因为车辆的移动而加入该V2V网络或退出该V2V网络。为了适应这种灵活的自组织机制,对于V2V网络中分布式传感器的调度传输总体可以分为两大类。第一类包括基于确定性网络拓扑的调度传输。其中,基于确定性网络拓扑的调度传输是指网络中存在存储了全局信息的中心控制节点,该中心控制节点可基于全局信息建立网络拓扑或更新网络拓扑,对该网络中的节点进行调度。但是由于控制节点需要存储全局信息,所需时间较长,而对于节点移动速度较快的高动态网络,网络拓扑可能需要经常更新,则中心控制节点需要经常更新全局信息才能实现网络拓扑的更新,而中心控制节点更新全局信息的时间可能大于网络拓扑的实际更新时间,可见基于确定性网络拓扑的调度传输不适应于节点移动速度较快的高动态网络拓扑。For example, for V2V networks, distributed sensors deployed on vehicles can also join or exit the V2V network due to the movement of the vehicles. In order to adapt to this flexible self-organization mechanism, the scheduling and transmission of distributed sensors in V2V networks can be generally divided into two categories. The first category includes scheduled transmissions based on deterministic network topology. Among them, scheduling transmission based on deterministic network topology means that there is a central control node in the network that stores global information. The central control node can establish the network topology or update the network topology based on the global information, and schedule the nodes in the network. However, because the control nodes need to store global information, it takes a long time. For highly dynamic networks where nodes move quickly, the network topology may need to be updated frequently. Therefore, the central control node needs to update global information frequently to achieve network topology updates. The time for the central control node to update global information may be greater than the actual update time of the network topology. It can be seen that scheduling transmission based on deterministic network topology is not suitable for highly dynamic network topologies where nodes move quickly.
对于V2V网络中分布式传感器的调度传输的第二类,包括基于随机网络拓扑的调度传 输。基于随机网络拓扑的调度传输是指,无需全局信息,而是基于泛洪的方式广播信息直至最终节点。其中,基于泛洪的方式广播信息的技术方案在后续进行详细介绍。The second category of scheduled transmission of distributed sensors in V2V networks includes scheduled transmission based on random network topology. Scheduling transmission based on random network topology means that there is no need for global information, but information is broadcast based on flooding until the final node. Among them, the technical solution for broadcasting information based on flooding will be introduced in detail later.
目前在无线场景下,为了有效管理整个网络以获得良好性能,需要有灵活和高效的动态管理算法,能够根据网络的实时部署情况进行调度和传输。这就要求网络中,存在存储了实际的网络拓扑信息的控制节点,也就是说,要求该控制节点能够确定网络中有哪些节点,以及能够确定各个节点之间的连接关系等,从而使得网络拓扑能够得到及时且高效的构建和更新。In current wireless scenarios, in order to effectively manage the entire network to achieve good performance, a flexible and efficient dynamic management algorithm is required that can schedule and transmit according to the real-time deployment of the network. This requires that there be a control node in the network that stores actual network topology information. That is to say, the control node is required to be able to determine which nodes are in the network and the connection relationships between the nodes, etc., so that the network topology Can be built and updated in a timely and efficient manner.
目前,整个网络拓扑的构建和网络拓扑的更新可以分成两个阶段。其中,第一阶段是网络中的节点获取周边节点的链路信息,以获知该节点与周边哪些节点存在通信链路,以及获取通信链路的质量参数等。第二阶段是网络中的节点根据所获取的周边节点的链路信息,将网络拓扑信息的汇集至控制节点,使得控制节点能够获知该网络内或该网络的子网内所有节点的链路信息。Currently, the construction of the entire network topology and the update of the network topology can be divided into two stages. Among them, the first stage is for the nodes in the network to obtain the link information of the surrounding nodes to learn which communication links exist between the node and the surrounding nodes, and to obtain the quality parameters of the communication links, etc. The second stage is for the nodes in the network to collect the network topology information to the control node based on the obtained link information of the surrounding nodes, so that the control node can obtain the link information of all nodes in the network or subnets of the network. .
在当前的网络拓扑的构建与网络拓扑的更新过程中,一般使用基于泛洪的方式进行。泛洪方式的原理是,在网络拓扑的构建或网络拓扑的更新过程中,网络中的各个节点分别广播该节点所获取的周边节点的链路信息。当一个节点A接收到其他节点广播的周边节点的链路信息后,该节点A就能够拥有更多节点的链路信息。网络中所有节点执行一次广播,可以理解为完成一次泛洪。通过多次泛洪后,该网络中就存在了拥有全局信息的节点,该节点就可作为控制节点,从而该控制节点可以根据全局信息构建网络拓扑或更新网络拓扑。In the process of constructing and updating the current network topology, flooding-based methods are generally used. The principle of the flooding method is that during the construction of the network topology or the update process of the network topology, each node in the network broadcasts the link information of surrounding nodes obtained by the node. When a node A receives the link information of surrounding nodes broadcast by other nodes, the node A can have the link information of more nodes. All nodes in the network perform a broadcast, which can be understood as completing a flood. After multiple floodings, there will be a node with global information in the network, and this node can be used as a control node, so that the control node can build the network topology or update the network topology based on the global information.
在网络拓扑的构建或网络拓扑的更新过程中,由于使用泛洪方式来进行信息的汇聚,一个缺点是存在大量冗余信息的传输,因此会导致传输效率低下,并且各个节点都需要向周边节点广播信息,因此在广播阶段存在较大的干扰。不仅如此,各个节点也需要接收周边所有节点的信息,这样每次泛洪都需要较长的时间。为了便于理解,下面结合图1A和图1B来介绍泛洪方式。其中,图1A和图1B是以网络拓扑的构建过程为例。In the process of constructing or updating network topology, due to the use of flooding method for information aggregation, one disadvantage is that there is a large amount of redundant information transmission, which will lead to low transmission efficiency, and each node needs to send data to surrounding nodes. Broadcast information, so there is greater interference during the broadcast stage. Not only that, each node also needs to receive information from all surrounding nodes, so each flooding will take a long time. For ease of understanding, the flooding method is introduced below in conjunction with Figure 1A and Figure 1B. Among them, Figure 1A and Figure 1B take the construction process of the network topology as an example.
其中,图1A和图1B中,黑色圆点表示节点,虚线表示两个节点间存在通信链路,双向箭头表示双方可以通过此通信链路进行双向通信,也就是信息的交互。图1A和图1B中对示出的所有的通信链路进行标号,数字标号在图中对应的通信链路上。在图1A中,在第一次泛洪时,该网络内的各个节点可以向周边节点广播通信链路的信息(以下也简称为链路信息)。例如,节点1广播链路信息,由于节点1与节点3存在通信链路,因此节点1链路信息中包含节点1与节点3的链路信息。节点3可以接收节点1广播的链路信息。这样,节点3就可以拥有节点3的链路信息以及节点1的链路信息。又例如,节点3可以广播链路信息,由于节点3分别与节点1、节点4、节点5和节点6存在通信链路,因此节点3广播的链路信息可以包含节点3与节点1的链路信息、节点3与节点4的链路信息、节点3与节点5的链路信息和节点3与节点6的链路信息。节点1、节点4、节点5和节点6可以接收节点3广播的链路信息。这样节点1就可以拥有节点3的链路信息以及节点1的链路信息,节点4可以拥有节点3的链路信息以及节点4的链路信息,节点5可以拥有节点3的链路信息以及节点5的链路信息,节点6可以拥有节点3的链路信息以及节点6的链路信息。以此类推,节点2、节点4、节点5、节点6、节点7和节点8均广播链路信息。其中,图1A中的节点下方的括号内的数字表示第一次泛洪结束后该节点所拥有的链路信息。Among them, in Figure 1A and Figure 1B, the black dots represent nodes, the dotted lines represent the existence of a communication link between the two nodes, and the two-way arrows represent that the two parties can conduct two-way communication through this communication link, that is, the exchange of information. All communication links shown in FIGS. 1A and 1B are numbered, and the numerical labels are on the corresponding communication links in the figures. In Figure 1A, during the first flooding, each node in the network can broadcast communication link information (hereinafter also referred to as link information for short) to surrounding nodes. For example, node 1 broadcasts link information. Since there is a communication link between node 1 and node 3, the link information of node 1 includes the link information of node 1 and node 3. Node 3 can receive the link information broadcast by node 1. In this way, node 3 can have the link information of node 3 and the link information of node 1. For another example, node 3 can broadcast link information. Since node 3 has communication links with node 1, node 4, node 5 and node 6 respectively, the link information broadcast by node 3 can include the link between node 3 and node 1. Information, link information between node 3 and node 4, link information between node 3 and node 5, and link information between node 3 and node 6. Node 1, node 4, node 5 and node 6 can receive the link information broadcast by node 3. In this way, node 1 can have the link information of node 3 and the link information of node 1, node 4 can have the link information of node 3 and the link information of node 4, and node 5 can have the link information of node 3 and the node 5's link information, node 6 can have the link information of node 3 and the link information of node 6. By analogy, node 2, node 4, node 5, node 6, node 7 and node 8 all broadcast link information. Among them, the numbers in brackets below the node in Figure 1A represent the link information owned by the node after the first flooding.
在第二次泛洪时,该网络内的节点可以向周边节点广播该节点从其他节点收到的链路 信息。例如,节点1可以广播从节点3收到的链路信息,也就是节点3与节点1的链路信息、节点3与节点4的链路信息、节点3与节点5的链路信息和节点3与节点6的链路信息。又例如,节点3可以广播从节点1、节点4、节点5和节点6收到的链路信息,以此类推。其中,图1B中的节点下方的括号内的数字,表示第二次泛洪结束后该节点所拥有的链路信息。During the second flooding, nodes within the network can broadcast to surrounding nodes the link information received by the node from other nodes. For example, node 1 can broadcast the link information received from node 3, that is, the link information between node 3 and node 1, the link information between node 3 and node 4, the link information between node 3 and node 5, and the link information between node 3 and node 3. Link information to node 6. As another example, node 3 may broadcast link information received from node 1, node 4, node 5, and node 6, and so on. Among them, the numbers in brackets below the node in Figure 1B represent the link information owned by the node after the second flooding.
对照图1A和图1B中各节点广播的链路信息,在第二次泛洪时,各个节点广播的链路信息中有很多链路信息会被不同的节点重复广播。例如,节点6会接收到节点3、节点4、节点5和节点7广播的链路信息,而这些节点广播的链路信息中存在重复的链路信息,如节点3和节点4的链路信息,节点3和节点5的链路信息等。不仅如此,对照图1A和图1B中每个节点所拥有的链路信息可以知道,为了获得全局信息,最少需要进行40次、53个链路信息的传递。实际上,因为几乎不可能做到链路信息的无冗余发送,实际传输的链路信息数量会明显大于53。可见,基于泛洪机制的网络拓扑构建方法,需要传输的冗余信息较多,且所需时间较长。Comparing the link information broadcast by each node in Figure 1A and Figure 1B, during the second flooding, a lot of the link information broadcast by each node will be repeatedly broadcast by different nodes. For example, node 6 will receive the link information broadcast by node 3, node 4, node 5 and node 7, and the link information broadcast by these nodes contains duplicate link information, such as the link information of node 3 and node 4. , the link information of node 3 and node 5, etc. Not only that, comparing the link information owned by each node in Figure 1A and Figure 1B, we can know that in order to obtain global information, at least 40 times and 53 link information needs to be transferred. In fact, since it is almost impossible to send link information without redundancy, the number of link information actually transmitted will be significantly larger than 53. It can be seen that the network topology construction method based on the flooding mechanism requires more redundant information to be transmitted and takes a long time.
有鉴于此,本申请实施例提供一种网络拓扑构建方法。该方法中,网络中的各个节点可以按照一定的传输顺序发送信息,可以减少信息传输时的干扰,且按照传输顺序发送信息可以减少信息的交互次数,减少冗余信息的传输,缩短网络拓扑构建时的时长。In view of this, embodiments of the present application provide a method for constructing a network topology. In this method, each node in the network can send information according to a certain transmission order, which can reduce interference during information transmission, and sending information according to the transmission order can reduce the number of information interactions, reduce the transmission of redundant information, and shorten the network topology construction. The duration of time.
以下,结合附图介绍本申请实施例提供的网络拓扑构建方法。The network topology construction method provided by the embodiment of the present application is introduced below with reference to the accompanying drawings.
本申请实施例提供的技术方案可以应用于多节点协作网络。多节点协作网络所包括的节点可以具备全双工能力。参阅图2,为本申请实施例提供的多节点协作网络200的示意图。多节点协作网络200可以包括一个或多个节点,图2中以8个节点为例。图2中,黑色圆点表示节点,虚线表示两个节点间存在通信链路。其中,一个节点可以是一个物理设备,如终端设备、接入点(access point,AP)或中继设备等,或者,一个节点也可以是一个逻辑设备,例如设置在物理设备上的逻辑模块等。在多节点协作网络200中,存在通信链路的节点之间可以进行信息传输。例如,可以传输通信链路信息。The technical solutions provided by the embodiments of this application can be applied to multi-node cooperation networks. The nodes included in the multi-node cooperative network can have full-duplex capabilities. Refer to Figure 2, which is a schematic diagram of a multi-node cooperation network 200 provided by an embodiment of the present application. The multi-node cooperation network 200 may include one or more nodes. In FIG. 2 , 8 nodes are taken as an example. In Figure 2, black dots represent nodes, and dotted lines represent the existence of communication links between two nodes. Among them, a node can be a physical device, such as a terminal device, access point (AP) or relay device, etc., or a node can also be a logical device, such as a logical module set on a physical device, etc. . In the multi-node cooperation network 200, information can be transmitted between nodes with communication links. For example, communication link information may be transmitted.
参阅图3,为本申请实施例提供的一种网络拓扑构建方法的示例性流程图,可以包括以下操作。Referring to Figure 3, an exemplary flow chart of a network topology construction method provided by an embodiment of the present application may include the following operations.
S301:第一节点根据第一节点的第一信息,发送第一节点的第二信息。S301: The first node sends the second information of the first node based on the first information of the first node.
相应的,第二节点接收第一节点的第二信息。Correspondingly, the second node receives the second information of the first node.
S302:第二节点构建网络拓扑。S302: The second node constructs the network topology.
其中,第一节点的第一信息可以是根据第一节点的第三信息和第一节点的第四信息确定的。第一节点的第三信息指示与第一节点连接的节点数量,或者,第一节点的第三信息指示第一节点感知到的节点数量。可选的,第一节点的第三信息可以称为第一节点的度。第一节点的第四信息可以指示向第一节点发送第二信息的节点数量。The first information of the first node may be determined based on the third information of the first node and the fourth information of the first node. The third information of the first node indicates the number of nodes connected to the first node, or the third information of the first node indicates the number of nodes perceived by the first node. Optionally, the third information of the first node may be called the degree of the first node. The fourth information of the first node may indicate the number of nodes sending the second information to the first node.
例如,第一节点可以在第一节点的第一信息指示的节点数量小于或者小于等于第一阈值时,发送第一节点的第二信息。其中,第一阈值可以是根据经验值设置的,如可以设置为0、1、2等。For example, the first node may send the second information of the first node when the number of nodes indicated by the first information of the first node is less than or equal to the first threshold. The first threshold may be set based on experience values, for example, it may be set to 0, 1, 2, etc.
又例如,第一节点可以根据第三信息指示的节点数量减去第四信息指示的节点数量,得到第一节点的第一信息。可选的,第一节点可以在第一节点的第一信息指示的节点数量小于或等于第一阈值时,发送第一节点的第二信息。For another example, the first node may obtain the first information of the first node based on the number of nodes indicated by the third information minus the number of nodes indicated by the fourth information. Optionally, the first node may send the second information of the first node when the number of nodes indicated by the first information of the first node is less than or equal to the first threshold.
可选的,第一节点可以在载波侦听结果或者能量检测结果小于或者小于等于第二阈值 时,根据第一节点的第一信息,发送第一节点的第二信息。可以理解的是,载波侦听结果或者能量检测结果可以是第一节点监听通信链路得到的。本申请实施例不对获取载波侦听结果和能量监测结果的方式进行具体限定。Optionally, the first node may send the second information of the first node based on the first information of the first node when the carrier sensing result or the energy detection result is less than or equal to the second threshold. It can be understood that the carrier sensing result or the energy detection result may be obtained by the first node monitoring the communication link. The embodiments of this application do not specifically limit the manner in which carrier sensing results and energy monitoring results are obtained.
一种可能的情况中,第一节点可以通过单播方式向第二节点发送第一节点的第二信息。另一种可能的情况中,第一节点可以广播第一节点的第二信息,第二节点可以接收到第一节点广播的第一节点的第二信息。In a possible situation, the first node may send the second information of the first node to the second node in a unicast manner. In another possible situation, the first node may broadcast the second information of the first node, and the second node may receive the second information of the first node broadcast by the first node.
在一个示例中,第二信息包括第一节点与第一节点有连接的节点之间的通信链路的信道状态信息,第一节点与第一节点有连接的节点之间的通信链路的长时信道状态信息、第一节点与第一节点有连接的节点之间的通信链路的链路质量指示信息和第一节点与第一节点有连接的节点之间的通信链路的衰落系数中的一种或多种。In one example, the second information includes channel state information of the communication link between the first node and the node connected to the first node, and the length of the communication link between the first node and the node connected to the first node. time channel state information, link quality indication information of the communication link between the first node and the node connected to the first node, and fading coefficient of the communication link between the first node and the node connected to the first node of one or more.
另一个示例中,第二信息可以包括传输请求信息。可选的,传输请求信息可以用于请求传输上述第一节点与第一节点有连接的节点之间的通信链路的信道状态信息,第一节点与第一节点有连接的节点之间的通信链路的长时信道状态信息、第一节点与第一节点有连接的节点之间的通信链路的链路质量指示信息和第一节点与第一节点有连接的节点之间的通信链路的衰落系数中的一种或多种。In another example, the second information may include transmission request information. Optionally, the transmission request information may be used to request the transmission of channel state information of the communication link between the first node and the node connected to the first node, and the communication between the first node and the node connected to the first node. Long-term channel state information of the link, link quality indication information of the communication link between the first node and the node connected to the first node, and communication link between the first node and the node connected to the first node One or more of the fading coefficients.
以下,分别对第二信息包括不同的信息的情况,进行介绍。为了便于区分,可以将包括传输请求信息的第二信息称为第八信息,将包括第一节点的通信链路信息的第二信息称为第七信息。Below, the cases where the second information includes different information are introduced respectively. To facilitate distinction, the second information including the transmission request information may be called eighth information, and the second information including the communication link information of the first node may be called seventh information.
参阅图4A,为本申请实施例提供的一种网络拓扑构建方法的流程图,包括以下操作。Referring to Figure 4A, a flow chart of a network topology construction method provided by an embodiment of the present application includes the following operations.
S401:第一节点按照第一节点的度对应的传输顺序,向第二节点发送第一节点的第七信息。相应的,第二节点从第一节点接收第一节点的第七信息。第一节点和第二节点属于同一个网络,本申请实施例就是要构建该网络的网络拓扑,例如将该网络称为第一网络。S401: The first node sends the seventh information of the first node to the second node according to the transmission sequence corresponding to the degree of the first node. Correspondingly, the second node receives the seventh information of the first node from the first node. The first node and the second node belong to the same network. The embodiment of the present application is to construct the network topology of the network. For example, the network is called the first network.
可以理解的是,第一节点可以通过单播方式向第二节点发送第一节点的第七信息。It can be understood that the first node may send the seventh information of the first node to the second node in a unicast manner.
S401是S301的一种可能的实现方式。在一种可能的实现方式中,第一节点可以按照第一节点的度对应的传输顺序,向第二节点发送第七信息。例如,第一网络中各个节点可以存储度与传输顺序的对应关系,则第一节点可以根据该度与传输顺序的对应关系,以及第一节点的度,确定第一节点的传输顺序。这样,第一节点可以在到达第一节点的传输顺序时,向第二节点发送第七信息。S401 is a possible implementation of S301. In a possible implementation, the first node may send the seventh information to the second node in a transmission sequence corresponding to the degree of the first node. For example, each node in the first network can store the corresponding relationship between the degree and the transmission order, and the first node can determine the transmission order of the first node based on the corresponding relationship between the degree and the transmission order and the degree of the first node. In this way, the first node can send the seventh information to the second node when the transmission sequence of the first node is reached.
在一个示例中,第一网络中各个节点可以根据计时器确定该节点的传输顺序。举例来说,第一网络中各个节点可以维护多个计时器,并在相应的计时器被启动时发送第七信息。其中,一个计时器可以对应一个度。该第一网络中,各个节点对于多个计时器可以依次启动,其中,在一个计时器计时结束时再启动下一个计时器。不同的节点可以同步启动计时器,或者说,不同的节点启动第一个计时器的时间相同。且不同的节点对于计时器的启动顺序是相同的,例如各个节点均是先启动计时器A1再启动计时器A2。可选的,在启动计时器时,可以从对应的度从小到大的顺序依次启动。例如,第一网络中的各个节点同步启动计时器A1,在计时器A1运行期间,度为A1的节点可以发送第七信息。在计时器A1计时结束时,第一网络中各个节点可以启动度为A2对应的计时器A2,在计时器A2运行期间,度为A2的节点可以发送第七信息,以此类推。对于第一节点来说,就可以在第一节点的度对应的计时器运行期间向第二节点发送第七信息。In one example, each node in the first network can determine the transmission sequence of the node based on a timer. For example, each node in the first network may maintain multiple timers and send the seventh information when the corresponding timer is started. Among them, one timer can correspond to one degree. In the first network, each node can start multiple timers in sequence, wherein the next timer is started when one timer ends. Different nodes can start timers synchronously, or in other words, different nodes start the first timer at the same time. And different nodes start the timers in the same order. For example, each node starts timer A1 first and then starts timer A2. Optionally, when starting the timer, you can start it in order from the corresponding degree from small to large. For example, each node in the first network starts the timer A1 synchronously. During the running of the timer A1, the node with degree A1 can send the seventh information. When timer A1 ends, each node in the first network can start timer A2 corresponding to degree A2. During the running of timer A2, the node with degree A2 can send the seventh information, and so on. For the first node, the seventh information can be sent to the second node during the running of the timer corresponding to the degree of the first node.
可以理解的是,对于一个节点来说,会对应一个度,则该节点也就与该度所对应的计 时器相对应。则在该计时器启动时,或者在该计时器运行期间,该节点可以发送第七信息。It can be understood that for a node, it will correspond to a degree, and the node will also correspond to the timer corresponding to the degree. Then when the timer starts, or during the running of the timer, the node can send the seventh information.
在另一个示例中,第一网络中各个节点可以根据发送时间与度的对应关系,确定该节点的传输顺序。举例来说,第一网络中各个节点可以存储不同的度对应的发送时间。可选的,度越小发送时间越靠前。例如,在A1时刻,度为A1的节点可以发送第七信息;在A2时刻,度为A2的节点可以发送第七信息,以此类推。其中,A2时刻在A1时刻的后面,度A1小于度A2。对于第一节点来说,就可以在第一节点的度对应的时刻向第二节点发送第七信息。In another example, each node in the first network can determine the transmission order of the node based on the corresponding relationship between the sending time and the degree. For example, each node in the first network can store sending times corresponding to different degrees. Optional, the smaller the degree, the earlier the sending time. For example, at time A1, the node with degree A1 can send the seventh information; at time A2, the node with degree A2 can send the seventh information, and so on. Among them, time A2 is behind time A1, and degree A1 is smaller than degree A2. For the first node, the seventh information can be sent to the second node at a time corresponding to the degree of the first node.
可以理解的是,在第一网络中度越小的节点,传输顺序越靠前。例如第一节点是第一网络内度最小的节点。It can be understood that the smaller the node in the first network, the higher the transmission order. For example, the first node is the node with the smallest degree in the first network.
可选的,第一节点的度可以根据第一节点的第三信息和第一节点的第四信息更新。举例来说,图4A所示的实施例还可以包含S400A和S400B,例如S400A和S400B可以发生在S401之前。Optionally, the degree of the first node may be updated based on the third information of the first node and the fourth information of the first node. For example, the embodiment shown in FIG. 4A may also include S400A and S400B. For example, S400A and S400B may occur before S401.
S400A:第一节点按照第一节点的度对应的传输顺序,向第二节点发送第一节点的第八信息。相应的,第二节点从第一节点接收第一节点的第八信息。S400A: The first node sends the eighth information of the first node to the second node according to the transmission sequence corresponding to the degree of the first node. Correspondingly, the second node receives the eighth information of the first node from the first node.
其中,第一节点的度可以理解为与第一节点具有通信链路的节点的数量。举例来说,在图1A中节点1与节点3具有通信链路,而节点1与其他节点之间没有通信链路,那么节点1的度可以为1。又例如,在图1A中节点3与节点1、节点4、节点5和节点6具有通信链路,而与其他节点之间没有通信链路,那么节点3的度可以为4。The degree of the first node can be understood as the number of nodes that have communication links with the first node. For example, in Figure 1A, node 1 and node 3 have communication links, but there are no communication links between node 1 and other nodes, then the degree of node 1 can be 1. For another example, in Figure 1A, node 3 has communication links with node 1, node 4, node 5 and node 6, but has no communication links with other nodes, then the degree of node 3 can be 4.
一种可能的情况中,第八信息可以用于请求传输第七信息,例如第八信息也可以称为传输请求信息,用于请求传输S301中的第七信息(即,第一节点的第七信息)。In a possible situation, the eighth information may be used to request the transmission of the seventh information. For example, the eighth information may also be called transmission request information and is used to request the transmission of the seventh information in S301 (ie, the seventh information of the first node). information).
在S400A中,第一节点可以按照第一节点的度对应的传输顺序,向第二节点发送第一节点的第八信息。例如,第一网络中各个节点可以存储度与传输顺序的对应关系,则第一节点可以根据该度与传输顺序的对应关系,以及根据第一节点的度,确定第一节点的传输顺序。对此可以参照S401中第一节点根据第一节点的度确定传输顺序的实施方式,此处不再赘述。In S400A, the first node may send the eighth information of the first node to the second node according to the transmission sequence corresponding to the degree of the first node. For example, each node in the first network can store the corresponding relationship between the degree and the transmission order, and the first node can determine the transmission order of the first node based on the corresponding relationship between the degree and the transmission order, and based on the degree of the first node. For this, reference may be made to the implementation in S401 in which the first node determines the transmission order according to the degree of the first node, which will not be described again here.
可以理解的是,在第一网络中度越小的节点,传输顺序越靠前。上述第一节点是第一网络中度最小的节点。It can be understood that the smaller the node in the first network, the higher the transmission order. The above-mentioned first node is the node with the smallest degree in the first network.
可选的,各个节点可以向周边节点中的一个节点单播第八信息前,可以执行先听后说(listen before talk,LBT)操作。例如,以第一节点在向第二节点发送第八信息为例,第一节点可以在向第二节点发送第八信息前,执行LBT以确定第一节点与第二节点之间的通信链路是否空闲,并在LBT成功也即确定第一节点与第二节点之间的通信链路空闲时向第二节点发送第八信息。Optionally, each node can perform a listen before talk (LBT) operation before unicasting the eighth information to one of the surrounding nodes. For example, taking the first node sending the eighth information to the second node as an example, the first node may perform LBT to determine the communication link between the first node and the second node before sending the eighth information to the second node. Whether it is idle, and when the LBT is successful, that is, when it is determined that the communication link between the first node and the second node is idle, the eighth information is sent to the second node.
S400B:第二节点在接收到第一节点的第八信息后,将第二节点的度减去预设值。S400B: After receiving the eighth information from the first node, the second node subtracts the preset value from the degree of the second node.
其中,预设值可以是根据经验值设置的,如可以设置为1、2等。Among them, the preset value can be set based on experience value, for example, it can be set to 1, 2, etc.
S400B可以是第二节点确定第二节点的第一信息的一种可能的实现方式。举例来说,第二节点可以将第三信息指示的节点数量(如第二节点的度)减去第四信息指示的节点数量,如减去接收到的第八信息的数量。S400B may be a possible implementation manner for the second node to determine the first information of the second node. For example, the second node may subtract the number of nodes indicated by the fourth information (such as the degree of the second node) from the number of nodes indicated by the third information, such as subtracting the number of received eighth information.
例如第二节点为图1A中的节点3。例如节点3的度为4,在接收到节点1的第八信息后,节点3可以将节点3的度减去预设值,该预设值例如为1,那么节点3的度就变为3。For example, the second node is node 3 in Figure 1A. For example, the degree of node 3 is 4. After receiving the eighth information from node 1, node 3 can subtract the preset value from the degree of node 3. The preset value is, for example, 1, then the degree of node 3 becomes 3. .
在一个示例中,第二节点也可以向周边节点中的一个节点,如第三节点发送第八信息。 例如,第二节点为图1A中的节点3。节点3在接收到节点1的第八信息后,节点3的度就变为3,因此节点3可以按照度为3对应的传输顺序向周边节点中的一个节点发送第八信息。In an example, the second node may also send the eighth information to one of the surrounding nodes, such as the third node. For example, the second node is node 3 in Figure 1A. After node 3 receives the eighth information from node 1, the degree of node 3 becomes 3. Therefore, node 3 can send the eighth information to one of the surrounding nodes in the transmission sequence corresponding to the degree of 3.
其中,第二节点向周边节点中的一个节点发送第八信息的方式可以参照S400A中第一节点向第二节点发送第八信息的方式。同理,第三节点也可以向周边节点中的一个节点发送第八信息,直至度最高的节点可以确定第一网络中包含的节点,以及各个节点之间的链路信息。The manner in which the second node sends the eighth information to one of the surrounding nodes may refer to the manner in which the first node sends the eighth information to the second node in S400A. In the same way, the third node can also send the eighth information to one of the surrounding nodes until the node with the highest degree can determine the nodes included in the first network and the link information between the nodes.
以下,通过图4B对S400A和S400B进行介绍。Below, S400A and S400B are introduced through FIG. 4B.
参阅图4B,圆点表示节点,虚线表示两个节点间存在通信链路,双向箭头表示双方可以通过此链路进行双向通信,也就是信息的交互。图4B中对示出的所有链路进行标号,数字标号在图中对应链路上。由图4B可以看出,节点1的度为1,节点2的度为1,节点3的度为4,节点4的度3,节点5的度为3,节点6的度为4,节点7的度为3,节点8的度为1。Referring to Figure 4B, the dots represent nodes, the dotted lines represent the existence of a communication link between the two nodes, and the bidirectional arrows represent that the two parties can conduct two-way communication through this link, that is, the exchange of information. All links shown are numbered in Figure 4B, with numerical labels on corresponding links in the figure. As can be seen from Figure 4B, the degree of node 1 is 1, the degree of node 2 is 1, the degree of node 3 is 4, the degree of node 4 is 3, the degree of node 5 is 3, the degree of node 6 is 4, and the degree of node 7 The degree of node 8 is 3, and the degree of node 8 is 1.
其中,节点1至节点8可以分别按照度对应的传输顺序向周边节点发送第八信息。一种可能的情况中,网络中度越小的节点的传输顺序越靠前。因此,图4B中,首先度为1的节点1、节点2和节点8向分别向周边节点中的一个节点发送第八信息。例如,节点1可以向节点3发送第八信息,节点2可以向节点4发送第八信息,节点8可以向节点7发送第八信息。接收到第八信息的各个节点,可以将度减去预设值,如减去1。例如,节点3可以将度减去1,这样节点3的度变为3。节点4可以将度减去1,这样节点4的度变为2。节点7可以将度减去1,这样节点7的度变为2。接下来,由度为2的节点4和节点7向周边节点中的一个节点发送第八信息。例如,节点4可以向节点6发送第八信息,节点7可以向节点5发送第八信息。接收到第八信息的各个节点,可以将度减去预设值,如减去1。例如,节点6可以将度减去1,这样节点6的度变为3,节点5可以将度减去预设值,这样节点5的度变为2。由于节点5的度变为2,因此在度为2的节点向周边节点中的一个节点发送第八信息时,节点5也可以向周边节点中的一个节点,如节点3发送第八信息。这样,节点3的度可以变为2。因此,节点3也可以在度为2的节点向周边节点中的一个节点发送第八信息时,向周边节点中的一个节点,如节点6发送第八信息。Among them, node 1 to node 8 may respectively send the eighth information to the surrounding nodes according to the transmission order corresponding to the degree. In one possible situation, nodes with smaller degrees in the network have higher transmission order. Therefore, in FIG. 4B , node 1 , node 2 and node 8 with degree 1 first send the eighth information to one of the surrounding nodes respectively. For example, node 1 may send the eighth information to node 3, node 2 may send the eighth information to node 4, and node 8 may send the eighth information to node 7. Each node that receives the eighth information can subtract a preset value from the degree, such as minus 1. For example, node 3 can have its degree subtracted by 1 so that the degree of node 3 becomes 3. Node 4 can subtract 1 from its degree, so that the degree of node 4 becomes 2. Node 7 can subtract 1 from its degree, so that the degree of node 7 becomes 2. Next, node 4 and node 7 with degree 2 send the eighth information to one of the surrounding nodes. For example, node 4 may send the eighth information to node 6, and node 7 may send the eighth information to node 5. Each node that receives the eighth information can subtract a preset value from the degree, such as minus 1. For example, node 6 can subtract 1 from its degree, so that the degree of node 6 becomes 3, and node 5 can subtract a preset value from its degree, so that the degree of node 5 becomes 2. Since the degree of node 5 becomes 2, when the node with degree 2 sends the eighth information to one of the surrounding nodes, node 5 can also send the eighth information to one of the surrounding nodes, such as node 3. In this way, the degree of node 3 can become 2. Therefore, node 3 may also send the eighth information to one of the surrounding nodes, such as node 6, when the node with degree 2 sends the eighth information to one of the surrounding nodes.
通过上述图4B示出的链路信息交互方式,各个节点可以向周边节点中的一个节点传输第八信息,那么度最高的节点如节点6可以获取到网络中包含哪些节点。Through the link information interaction method shown in Figure 4B, each node can transmit the eighth information to one of the surrounding nodes, and then the node with the highest degree, such as node 6, can obtain which nodes are included in the network.
基于上述S400A和S400B,网络中的各个节点可以确定自身的度。其中,度用于指示接收到的第八信息的数量。例如,第二节点的度可以是第二节点接收到的第八信息的数量。如图4B所示,节点3接收到了节点1和节点5的第八信息,因此节点3的度为2。又例如,如图4B所示,节点6接收到了节点4和节点6的第八信息,因此节点6的度为2,以此类推,网络中的各个节点可以根据接收到的第八信息的数量,更新度。Based on the above S400A and S400B, each node in the network can determine its own degree. Among them, degree is used to indicate the quantity of the eighth information received. For example, the degree of the second node may be the number of eighth pieces of information received by the second node. As shown in Figure 4B, node 3 has received the eighth information of node 1 and node 5, so the degree of node 3 is 2. For another example, as shown in Figure 4B, node 6 has received the eighth information of node 4 and node 6, so the degree of node 6 is 2. By analogy, each node in the network can receive the eighth information according to the number of received eighth information. , update degree.
这样在S401中,第一节点可以根据第一节点的度对应的传输顺序,向周边节点发送第七信息。其中,第一节点可以向接收到第一节点的第八信息的节点,如第二节点发送第七信息。如图4B所示,节点1向节点3发送了第八信息,那么在S401中节点1可以向节点3发送第八信息。以此类推,节点5向节点3发送了第八信息,那么在S401中节点5可以向节点3发送第七信息。In this way, in S401, the first node can send the seventh information to the surrounding nodes according to the transmission sequence corresponding to the degree of the first node. Wherein, the first node may send the seventh information to a node that receives the eighth information of the first node, such as the second node. As shown in Figure 4B, node 1 sends the eighth information to node 3, then node 1 can send the eighth information to node 3 in S401. By analogy, node 5 sends the eighth information to node 3, then node 5 can send the seventh information to node 3 in S401.
S402:第二节点在接收到第一节点的第七信息后,将第二节点的度减去预设值。S402: After receiving the seventh information of the first node, the second node subtracts the preset value from the degree of the second node.
例如,第二节点为图4B中的节点3。例如,节点3的度为2,那么在接收到节点1的第七信息后,节点3可以将度减去预设值,该预设值例如为1,这样节点3的度变为1。For example, the second node is node 3 in Figure 4B. For example, if the degree of node 3 is 2, then after receiving the seventh information of node 1, node 3 can subtract a preset value from the degree. The preset value is, for example, 1, so that the degree of node 3 becomes 1.
S402可以是第二节点确定第二节点的第一信息的一种可能的实现方式。举例来说,第二节点可以将第三信息指示的节点数量(如第二节点的度)减去第四信息指示的节点数量,如减去接收到的第七信息的数量。S402 may be a possible implementation manner for the second node to determine the first information of the second node. For example, the second node may subtract the number of nodes indicated by the fourth information (such as the degree of the second node) from the number of nodes indicated by the third information, such as subtracting the number of received seventh information.
S403:第二节点在第二节点的度小于或等于第一阈值时,向第三节点发送第二节点的第七信息。S403: When the degree of the second node is less than or equal to the first threshold, the second node sends the seventh information of the second node to the third node.
其中,第一阈值可以是根据经验值设置的,如可以设置为0。The first threshold may be set based on experience value, for example, it may be set to 0.
例如,第二节点为图4B中的节点3。例如,节点3在接收到节点1的第八信息后,节点3可以将度减去预设值,该预设值例如为1,这样节点3的度变为1。同理,在节点3接收到节点5的第八信息后,节点3可以将度减去预设值,该预设值例如为1,这样节点3的度变为0。节点3可以在度小于或等于0时,向周边节点中的一个节点发送第七信息。其中,节点3可以向接收到节点3的第八信息的节点,也就是节点6发送第七信息。For example, the second node is node 3 in Figure 4B. For example, after node 3 receives the eighth information from node 1, node 3 can subtract a preset value from the degree. The preset value is, for example, 1, so that the degree of node 3 becomes 1. Similarly, after node 3 receives the eighth information from node 5, node 3 can subtract a preset value from the degree. The preset value is, for example, 1, so that the degree of node 3 becomes 0. Node 3 may send the seventh information to one of the surrounding nodes when the degree is less than or equal to 0. Among them, node 3 may send the seventh information to the node that receives the eighth information of node 3, that is, node 6.
以下,通过图4C介绍S401至S403。In the following, S401 to S403 will be introduced through FIG. 4C.
由图4B所示的方式,网络中的各个节点更新了自身的度。在图4C中,节点1的度为0,节点2的度为0,节点3的度为2,节点4的度1,节点5的度为1,节点6的度为2,节点7的度为1,节点8的度为0。In the manner shown in Figure 4B, each node in the network updates its own degree. In Figure 4C, the degree of node 1 is 0, the degree of node 2 is 0, the degree of node 3 is 2, the degree of node 4 is 1, the degree of node 5 is 1, the degree of node 6 is 2, and the degree of node 7 is 1, and the degree of node 8 is 0.
其中,节点1至节点8可以分别按照度对应的传输顺序向周边节点发送第七信息。一种可能的情况中,网络中度越小的节点的传输顺序越靠前。因此,图4C中,度为0的节点1、节点2和节点8分别向周边节点中的一个节点发送第七信息。该周边节点中的一个节点可以是接收到第八信息的节点。例如,节点1可以向节点3发送第七信息,节点2可以向节点4发送第七信息,节点8可以向节点7发送第七信息。接收到第七信息的各个节点,可以将度减去预设值,如减去1。例如,节点3可以将度减去1,这样节点3的度变为1。节点4可以将度减去1,这样节点4的度变为0。节点7可以将度减去1,这样节点7的度变为0。接下来,由度为0的节点4和节点7向周边节点中的一个节点发送第七信息。例如,节点4可以向节点6发送第七信息,节点7可以向节点5发送第七信息。接收到第七信息的各个节点,可以将度减去预设值,如减去1。例如,节点6可以将度减去1,这样节点6的度变为1,节点5可以将度减去预设值,这样节点5的度变为0。接下来,由度为0的节点5向周边节点中的一个节点发送第七信息。例如,节点5可以向节点3发送第七信息。这样,节点3的度可以变为0。因此,节点3可以向节点6发送第七信息。Among them, node 1 to node 8 may respectively send the seventh information to the surrounding nodes according to the transmission order corresponding to the degree. In one possible situation, nodes with smaller degrees in the network have higher transmission order. Therefore, in Figure 4C, node 1, node 2 and node 8 with degree 0 respectively send the seventh information to one of the surrounding nodes. One of the surrounding nodes may be the node that received the eighth information. For example, node 1 may send the seventh information to node 3, node 2 may send the seventh information to node 4, and node 8 may send the seventh information to node 7. Each node that receives the seventh information can subtract a preset value from the degree, such as minus 1. For example, node 3 can have its degree subtracted by 1 so that the degree of node 3 becomes 1. Node 4 can subtract 1 from its degree, so that the degree of node 4 becomes 0. Node 7 can subtract 1 from its degree, so that the degree of node 7 becomes 0. Next, the seventh information is sent from node 4 and node 7 with degree 0 to one of the surrounding nodes. For example, node 4 may send the seventh information to node 6, and node 7 may send the seventh information to node 5. Each node that receives the seventh information can subtract a preset value from the degree, such as minus 1. For example, node 6 can subtract 1 from its degree, so that the degree of node 6 becomes 1, and node 5 can subtract a preset value from its degree, so that the degree of node 5 becomes 0. Next, the seventh information is sent from node 5 with degree 0 to one of the surrounding nodes. For example, node 5 may send seventh information to node 3. In this way, the degree of node 3 can become 0. Therefore, node 3 can send the seventh information to node 6.
基于上述图4C所示的方式,各个节点可以向周边节点中的一个节点传输第七信息,那么度最高的节点,如节点6可以获取到网络中全局的链路信息。Based on the method shown in Figure 4C above, each node can transmit the seventh information to one of the surrounding nodes, and then the node with the highest degree, such as node 6, can obtain the global link information in the network.
S404:第三节点根据第二节点的第七信息构建网络拓扑信息。S404: The third node constructs network topology information based on the seventh information of the second node.
第三节点获取到的链路信息,构建网络拓扑信息。该网络拓扑信息所对应的网络包含第一节点、第二节点和第三节点。例如,第三节点为图4C中的节点6。通过图4B与图4C所示的过程,节点6可以获取到网络的链路信息,这样节点6可以构建网络拓扑信息。该网络拓扑信息对应的网络包含节点1、节点2、节点3、节点4、节点5、节点6、节点7以及节点8。The link information obtained by the third node constructs network topology information. The network corresponding to the network topology information includes a first node, a second node and a third node. For example, the third node is node 6 in Figure 4C. Through the processes shown in Figure 4B and Figure 4C, node 6 can obtain the link information of the network, so that node 6 can construct network topology information. The network corresponding to the network topology information includes node 1, node 2, node 3, node 4, node 5, node 6, node 7 and node 8.
基于图4A所示的技术方案,在网络拓扑的构建过程相较于基于泛洪机制构建网络拓扑的方式,传输的信息冗余较少,且信息交互的次数较少,因此可以减少网络拓扑的构建 时间。且,在更新网络拓扑时采用图4A所示的技术方案,也可以减少更新网络拓扑的时间,减少信息的冗余,减少信息的交互次数。Based on the technical solution shown in Figure 4A, in the construction process of the network topology, compared with the way of constructing the network topology based on the flooding mechanism, the information transmitted is less redundant, and the number of information interactions is less, so the network topology can be reduced. Build time. Moreover, using the technical solution shown in Figure 4A when updating the network topology can also reduce the time for updating the network topology, reduce information redundancy, and reduce the number of information interactions.
在一种可能的实现方式中,为了减少信息传输过程的干扰,各个节点可以通过发送波束发送第七信息和/或第八信息,各个节点也可以通过接收波束接收第七信息和/或第八信息。In a possible implementation, in order to reduce interference in the information transmission process, each node can send the seventh information and/or the eighth information through the sending beam, and each node can also receive the seventh information and/or the eighth information through the receiving beam. information.
例如,可以预定义或者预配置波束的空间分配关系,如发送波束和接收波束的空间分配关系。例如,发送波束共N个方向,接收波束共M个方向。可以理解的是,不同的节点之间波束的空间分配关系中,编号相同的发送波束对应的方向一致,接收波束对应的方向也一致。其中,N为大于或等于1的整数,M为大于或等于1的整数。N可以与M相等,也就是一个发送波束对应一个接收波束。可选的,N可以与M不相同。例如,一个发送波束可以对应多个接收波束,此时可以将发送波束看作是一个宽波束,接收波束看作是一个窄波束,也就是一个宽波束的方向对应多个窄波束的方向。又例如,多个发送波束可以对应一个接收波束,此时可以将发送波束看作是一个窄波束,接收波束看作是一个宽波束,也就是一个宽波束的方向对应多个窄波束的方向。For example, the spatial allocation relationship of beams may be predefined or preconfigured, such as the spatial allocation relationship of transmitting beams and receiving beams. For example, the transmitting beam has N directions in total, and the receiving beam has M directions in total. It can be understood that in the spatial allocation relationship of beams between different nodes, the transmitting beams with the same number correspond to the same direction, and the receiving beams also correspond to the same direction. Among them, N is an integer greater than or equal to 1, and M is an integer greater than or equal to 1. N can be equal to M, that is, one transmit beam corresponds to one receive beam. Optionally, N can be different from M. For example, one transmitting beam can correspond to multiple receiving beams. In this case, the transmitting beam can be regarded as a wide beam, and the receiving beam can be regarded as a narrow beam. That is, the direction of a wide beam corresponds to the direction of multiple narrow beams. For another example, multiple transmit beams can correspond to one receive beam. In this case, the transmit beam can be regarded as a narrow beam, and the receive beam can be regarded as a wide beam. That is, the direction of a wide beam corresponds to the direction of multiple narrow beams.
当N=M=1时,表示网络中各节点在网络拓扑构建的阶段均采用全向的波束收发第七信息和/或第八信息。When N=M=1, it means that each node in the network uses omnidirectional beams to send and receive the seventh information and/or the eighth information during the network topology construction stage.
参阅图5A,为发送波束的空间方向分配示意图。图5A中,以发送波束共4个方向为例进行说明。参阅图5B,为接收波束的空间方向分配示意图。图5B中,以接收波束共4个方向为例进行说明。从图5A中和图5B中可以看出,波束被平面空间分为4个方向,分别对应一个象限。在图5A和图5B中,如果一个节点要在R1方向进行接收,则只能接收到来自T1方向的发射波束。同理,若一个节点要在R2方向进行接收,则只能接收到T2方向的发射波束。可以看出,R1接收方向对应T1发送方向,R2接收方向对应T2发送方向。以此类推,R3接收方向对应T3接收方向,R4接收方向对应T4接收方向。Refer to Figure 5A, which is a schematic diagram of spatial direction allocation of transmission beams. In FIG. 5A , a total of four directions of transmitting beams are used as an example for explanation. Refer to Figure 5B, which is a schematic diagram of the spatial direction allocation of the receiving beam. In Figure 5B, a total of four directions of receiving beams are used as an example for explanation. It can be seen from Figure 5A and Figure 5B that the beam is divided into 4 directions by the plane space, each corresponding to a quadrant. In Figure 5A and Figure 5B, if a node wants to receive in the R1 direction, it can only receive the transmit beam from the T1 direction. In the same way, if a node wants to receive in the R2 direction, it can only receive the transmit beam in the T2 direction. It can be seen that the R1 receiving direction corresponds to the T1 transmitting direction, and the R2 receiving direction corresponds to the T2 transmitting direction. By analogy, the R3 receiving direction corresponds to the T3 receiving direction, and the R4 receiving direction corresponds to the T4 receiving direction.
在一种可能的实现方式中,在S401和/或S400A中,第一节点在发送第七信息和/或第八信息时,可以通过预设的发送波束向第二节点发送第七信息和/或第八信息。例如,在S400A中第一节点可以按照第一节点的度对应的传输顺序,在第一发送波束上向第二节点发送第一节点的第八信息。其中,第一发送波束可以是根据预定义的或者预配置的波束的空间分配关系确定的。第一发送波束的方向与第二节点的位置相匹配。可以理解的是,网络中在各个节点获取第七信息的过程中,可以确定周边节点的方向或者位置。因此,在发送第八信息时各个节点可以确定采用哪一个方向的发送波束发送第八信息。In a possible implementation, in S401 and/or S400A, when the first node sends the seventh information and/or the eighth information, it may send the seventh information and/or the eighth information to the second node through a preset sending beam. or eighth message. For example, in S400A, the first node may send the eighth information of the first node to the second node on the first transmission beam according to the transmission sequence corresponding to the degree of the first node. The first transmitting beam may be determined based on a predefined or preconfigured spatial allocation relationship of the beams. The direction of the first transmit beam matches the location of the second node. It can be understood that in the process of obtaining the seventh information by each node in the network, the direction or position of the surrounding nodes can be determined. Therefore, when sending the eighth information, each node can determine which direction of sending beam to use to send the eighth information.
举例来说,参阅图4B,节点3位于节点1的第四象限的方向,那么节点1可以在T1方向向节点3发送第八信息。节点3在接收来自节点1的第七信息时,可以在R1方向接收。For example, referring to Figure 4B, node 3 is located in the direction of the fourth quadrant of node 1, then node 1 can send the eighth information to node 3 in the T1 direction. When node 3 receives the seventh information from node 1, it may receive it in the R1 direction.
另一种可能的实现方式中,结合上述波束的空间分配关系,网络中的各个节点可以在某一个阶段在同一方向接收第八信息,且各个节点可以在同一个方向发送第八信息。例如,各个节点按照如图6所示的顺序接收第八信息和发送第八信息。在图6中,R1阶段,网络中的各个节点在R1方向进行接收,且网络中各个节点可以在T1方向进行传输。在R2阶段,网络中的各个节点在R2方向进行接收,且网络中各个节点可以在T2方向进行传输。以此类推,在请求阶段(Request,Ri)阶段,网络中的各个节点可以交互第八信息。其中,i从1取遍M。In another possible implementation, combined with the spatial allocation relationship of the above-mentioned beams, each node in the network can receive the eighth information in the same direction at a certain stage, and each node can send the eighth information in the same direction. For example, each node receives the eighth information and sends the eighth information in the order shown in FIG. 6 . In Figure 6, in the R1 phase, each node in the network receives in the R1 direction, and each node in the network can transmit in the T1 direction. In the R2 phase, each node in the network receives in the R2 direction, and each node in the network can transmit in the T2 direction. By analogy, in the request phase (Request, Ri) phase, each node in the network can exchange the eighth information. Among them, i is taken from 1 through M.
举例来说,假设在R1阶段,节点A在R1方向接收第八信息。此时,假设在R1方向上共有两个发送端,分别为节点B和节点C。节点B和节点C分别在T1方向上发送第八信息。又假设节点B的度为d1,节点C的度为d2,d1>d2。由于度越小,传输顺序越靠前,因此节点C的计时器先到期。可选的,在节点C的计时器到期后,节点C可以执行先听后说(listen before talk,LBT)操作,如果LBT成功则节点C可以节点A发送第八信息,如LBT未成功则节点C不向节点A发送传输请求。节点A接收到节点C的第八信息后,可以向T1方向发送保留信号。这样,在节点B的计时器到期后,执行LBT操作时,会因LBT失败不进行第八信息的发送,从而可以有效的避免干扰。For example, assume that in the R1 phase, node A receives the eighth information in the R1 direction. At this time, it is assumed that there are two sending ends in the R1 direction, namely node B and node C. Node B and node C respectively send the eighth information in the T1 direction. Also assume that the degree of node B is d1, the degree of node C is d2, d1>d2. Since the smaller the degree, the higher the transmission order, so the timer of node C expires first. Optionally, after the timer of node C expires, node C can perform a listen before talk (LBT) operation. If LBT is successful, node C can send the eighth message to node A. If LBT is unsuccessful, node C can Node C does not send a transmission request to node A. After receiving the eighth information from node C, node A can send a reservation signal in the T1 direction. In this way, after the timer of node B expires, when performing the LBT operation, the eighth information will not be sent due to the LBT failure, thereby effectively avoiding interference.
可选的,在R阶段各个节点发送第八信息时,可以采用码分多址(code division multiple access,CDMA)的方式,由多节点同时传输,此时接收节点不需要发送保留信号,且发送节点无需LBT。Optionally, when each node sends the eighth information in the R stage, the code division multiple access (CDMA) method can be used to transmit it by multiple nodes at the same time. At this time, the receiving node does not need to send a reserved signal, and sends Node does not require LBT.
在网络中各个节点进行第八信息的交互后,也就是R阶段完成后进入请求应答阶段(Answer,A阶段)。A阶段中网络中的各个节点作为收端,根据在R阶段接收到的第八信息,对第八信息中携带的度和自己的度进行对比。对比完成后,如果周边某个节点的度最低,则在A阶段向该节点发送第九信息。该第九信息用于指示该节点发送该节点的第七信息,或者第九信息可以用于指示该节点的度在网络中最小。After each node in the network interacts with the eighth information, that is, after the R phase is completed, it enters the request response phase (Answer, A phase). In phase A, each node in the network serves as the receiving end, and compares the degree carried in the eighth information with its own degree based on the eighth information received in phase R. After the comparison is completed, if the degree of a surrounding node is the lowest, the ninth information will be sent to the node in phase A. The ninth information is used to instruct the node to send the seventh information of the node, or the ninth information may be used to indicate that the degree of the node is the smallest in the network.
举例来说,节点A接收到节点B的第八信息和节点C的第八信息后,可以将节点B的度、节点C的度和节点A的度进行对比。如果节点B的度最低,则节点A可以向节点B发送第九信息。如果节点C的度最低,则节点A可以向节点C发送第九信息。如果节点A的度最低,则节点A不需要发送第九信息,而是可以接收周边节点的第九信息。For example, after receiving the eighth information of node B and the eighth information of node C, node A can compare the degree of node B, the degree of node C and the degree of node A. If node B has the lowest degree, node A may send ninth information to node B. If node C has the lowest degree, node A can send ninth information to node C. If node A has the lowest degree, node A does not need to send the ninth information, but can receive the ninth information from surrounding nodes.
可以理解的是,第九信息中可以携带节点的身份(identity,ID)信息,如节点的标识。举例来说,如果节点A向节点B发送第九信息,则该第九信息中可以携带节点B的身份信息。这样,即使在多个节点接收到该第九信息,也可以根据第九信息中携带的节点B的身份信息,确定被通知的节点。It can be understood that the ninth information may carry the identity (identity, ID) information of the node, such as the identifier of the node. For example, if node A sends ninth information to node B, the ninth information may carry node B's identity information. In this way, even if the ninth information is received at multiple nodes, the notified node can be determined based on the identity information of Node B carried in the ninth information.
通过上述R阶段和A阶段,网络中的各个节点可以实现第八信息的传输。可选的,本申请实施例还设计了数据传输阶段(Data,D阶段)。在D阶段,接收到第九信息的节点,可以向发送第九信息的节点发送响应,以指示接收到该第九信息。例如,节点B在接收到来自节点A的第九信息后,在D阶段,节点B可以向节点A发送响应,以向节点A指示接收到第九信息。Through the above-mentioned R phase and A phase, each node in the network can realize the transmission of the eighth information. Optionally, the embodiment of the present application also designs a data transmission stage (Data, D stage). In phase D, the node that receives the ninth information may send a response to the node that sent the ninth information to indicate receipt of the ninth information. For example, after receiving the ninth information from node A, node B may send a response to node A in phase D to indicate to node A that the ninth information is received.
在D阶段结束后,网络中的各个节点可以进行如S401、S402、S403和S404所示的第七信息的交互,以构建网络拓扑信息。After the end of phase D, each node in the network can interact with the seventh information as shown in S401, S402, S403 and S404 to construct network topology information.
本申请实施例提供的技术方案中,在构建网络拓扑信息后,第三节点可以向网络中其他节点传递该网络拓扑信息。例如,第三节点作为信源,通过信源经过接力传输,通过一条路径经多跳到达信宿。例如,第三节点为图4C中的节点6。节点6在构建网络拓扑信息后,可以将网络拓扑信息发送给与节点6具有通信链路的节点4、节点3、节点5和节点7。节点7可以将网络拓扑信息发送给与节点7具有通信链路的节点8,节点4可以将网络拓扑信息发送给与节点4具有通信链路的节点2,节点3可以将网络拓扑信息发送给与节点3具有通信链路的节点1。In the technical solution provided by the embodiments of this application, after constructing the network topology information, the third node can transfer the network topology information to other nodes in the network. For example, the third node serves as the information source and reaches the information sink via a path through multiple hops through relay transmission. For example, the third node is node 6 in Figure 4C. After constructing the network topology information, node 6 can send the network topology information to node 4, node 3, node 5 and node 7 that have communication links with node 6. Node 7 can send network topology information to node 8, which has a communication link with node 7. Node 4 can send network topology information to node 2, which has a communication link with node 4. Node 3 can send network topology information to node 7. Node 3 has a communication link to node 1.
下面结合附图介绍本申请实施例中用来实现上述方法的通信装置。因此,上文中的内 容均可以用于后续实施例中,重复的内容不再赘述。The communication device used to implement the above method in the embodiment of the present application will be introduced below with reference to the accompanying drawings. Therefore, the above content can be used in subsequent embodiments, and repeated content will not be described again.
图7为本申请实施例提供的通信装置700的示意性框图。该通信装置700可以对应实现上述各个方法实施例中由第一节点、第二节点或者第三节点实现的功能或者步骤。该通信装置可以包括处理单元710和收发单元720。可选的,还可以包括存储单元,该存储单元可以用于存储指令(代码或者程序)和/或数据。处理单元710和收发单元720可以与该存储单元耦合,例如,处理单元710可以读取存储单元中的指令(代码或者程序)和/或数据,以实现相应的方法。上述各个单元可以独立设置,也可以部分或者全部集成。Figure 7 is a schematic block diagram of a communication device 700 provided by an embodiment of the present application. The communication device 700 can correspondingly implement the functions or steps implemented by the first node, the second node or the third node in each of the above method embodiments. The communication device may include a processing unit 710 and a transceiver unit 720. Optionally, a storage unit may also be included, which may be used to store instructions (code or programs) and/or data. The processing unit 710 and the transceiver unit 720 can be coupled with the storage unit. For example, the processing unit 710 can read instructions (codes or programs) and/or data in the storage unit to implement corresponding methods. Each of the above units can be set up independently or partially or fully integrated.
在一些可能的实施方式中,通信装置700能够对应实现上述方法实施例中第一节点的行为和功能。例如通信装置700可以为第一节点,也可以为应用于第一节点中的部件(例如芯片或者电路)。收发单元720可以用于执行图3所示的实施例中由第一节点所执行的全部接收或发送操作。例如图3所示的实施例中的S301和/或用于支持本文所描述的技术的其它过程;其中,处理单元710用于执行如图3所示的实施例中由第一节点所执行的除了收发操作之外的全部操作,和/或用于支持本文所描述的技术的其它过程。In some possible implementations, the communication device 700 can correspondingly implement the behaviors and functions of the first node in the above method embodiment. For example, the communication device 700 may be a first node, or a component (such as a chip or a circuit) applied in the first node. The transceiver unit 720 may be configured to perform all receiving or transmitting operations performed by the first node in the embodiment shown in FIG. 3 . For example, S301 in the embodiment shown in Figure 3 and/or other processes used to support the technology described herein; wherein, the processing unit 710 is used to perform the steps performed by the first node in the embodiment shown in Figure 3 All operations except transceiver operations, and/or other processes used to support the techniques described herein.
处理单元710,用于获取第一节点的第一信息。收发单元720,用于根据第一节点的第一信息,发送第一节点的第二信息。其中,第一节点的第一信息是根据第一节点的第三信息和第一节点的第四信息确定的。第一节点的第三信息指示与第一节点连接的节点数量,或者第一信息指示第一节点感知到的节点数量。第一节点的第四信息指示向第一节点发送第二信息的节点数量。The processing unit 710 is used to obtain the first information of the first node. The transceiving unit 720 is configured to send the second information of the first node according to the first information of the first node. Wherein, the first information of the first node is determined based on the third information of the first node and the fourth information of the first node. The third information of the first node indicates the number of nodes connected to the first node, or the first information indicates the number of nodes perceived by the first node. The fourth information of the first node indicates the number of nodes sending the second information to the first node.
在一种可能的实现方式中,处理单元710还用于:将第三信息指示的节点数量减去第四信息指示的节点数量,得到第一节点的第一信息。In a possible implementation, the processing unit 710 is further configured to: subtract the number of nodes indicated by the fourth information from the number of nodes indicated by the third information, to obtain the first information of the first node.
在一种可能的实现方式中,收发单元720,用于根据第一节点的第一信息,发送第一节点的第二信息,具体用于:在第一信息小于或等于第一阈值时,发送第一节点的第二信息。In a possible implementation, the transceiving unit 720 is configured to send the second information of the first node according to the first information of the first node, specifically: when the first information is less than or equal to the first threshold, send The second information of the first node.
在一种可能的实现方式中,收发单元720,用于根据第一节点的第一信息,发送第一节点的第二信息,具体用于:根据第一节点的第一信息和第一节点的第五信息,发送第一节点的第二信息。其中,第一节点的第五信息指示载波侦听结果或者能量检测结果。In a possible implementation, the transceiver unit 720 is configured to send the second information of the first node according to the first information of the first node, and is specifically configured to: according to the first information of the first node and the first information of the first node. The fifth information is to send the second information of the first node. Wherein, the fifth information of the first node indicates the carrier sensing result or the energy detection result.
在一种可能的实现方式中,收发单元720根据第一节点的第一信息和第一节点的第五信息,发送第一节点的第二信息,具体用于:在载波侦听结果或者能量检测结果小于或等于第二阈值时,根据第一节点的第一信息发送第一节点的第二信息。In a possible implementation, the transceiver unit 720 sends the second information of the first node according to the first information of the first node and the fifth information of the first node, specifically for: performing carrier sensing results or energy detection. When the result is less than or equal to the second threshold, the second information of the first node is sent according to the first information of the first node.
在一种可能的实现方式中,收发单元720,用于根据第一节点的第一信息,发送第一节点的第二信息,具体用于:根据第一节点的第一信息,向第二节点发送第一节点的第二信息。接收来自第二节点的第六信息,第六信息指示第一节点的第二信息是否传输成功。In a possible implementation, the transceiving unit 720 is configured to send the second information of the first node according to the first information of the first node, and is specifically configured to: send the second information of the first node to the second node according to the first information of the first node. Send the second information of the first node. Sixth information is received from the second node, and the sixth information indicates whether the second information of the first node is successfully transmitted.
在一些可能的实施方式中,通信装置700能够对应实现上述方法实施例中第一节点的行为和功能。例如通信装置700可以为第一节点,也可以为应用于第一节点中的部件(例如芯片或者电路)。收发单元720可以用于执行图4A所示的实施例中由第一节点所执行的全部接收或发送操作。例如图4A所示的实施例中的S400A、S401,和/或用于支持本文所描述的技术的其它过程;其中,处理单元710用于执行如图4A所示的实施例中由第一节点所执行的除了收发操作之外的全部操作,和/或用于支持本文所描述的技术的其它过程。In some possible implementations, the communication device 700 can correspondingly implement the behaviors and functions of the first node in the above method embodiment. For example, the communication device 700 may be a first node, or a component (such as a chip or a circuit) applied in the first node. The transceiver unit 720 may be used to perform all receiving or transmitting operations performed by the first node in the embodiment shown in FIG. 4A. For example, S400A, S401 in the embodiment shown in Figure 4A, and/or other processes used to support the technology described herein; wherein, the processing unit 710 is used to execute the first node in the embodiment shown in Figure 4A All operations performed except transmit and receive operations, and/or other processes in support of the techniques described herein.
例如,处理单元710,用于确定第一节点的度对应的传输顺序。收发单元720,用于按照第一节点的度对应的传输顺序,向第二节点发送第一节点的第七信息。第一节点的第 七信息包括第一节点连接的节点的信息,第一节点的度是根据第一节点连接的节点数量确定的。For example, the processing unit 710 is used to determine the transmission order corresponding to the degree of the first node. The transceiver unit 720 is configured to send the seventh information of the first node to the second node according to the transmission sequence corresponding to the degree of the first node. The seventh information of the first node includes information of nodes connected to the first node, and the degree of the first node is determined based on the number of nodes connected to the first node.
在一些可能的实施方式中,通信装置700能够对应实现上述方法实施例中第二节点的行为和功能。例如通信装置700可以为第二节点,也可以为应用于第二节点中的部件(例如芯片或者电路)。收发单元720可以用于执行图4A所示的实施例中由第二节点所执行的全部接收或发送操作。例如图4A所示的实施例中的S400A、S401和S403,和/或用于支持本文所描述的技术的其它过程;其中,处理单元710用于执行由第二节点所执行的除了收发操作之外的全部操作,例如图4A所示的实施例中的S400B和S402,和/或用于支持本文所描述的技术的其它过程。In some possible implementations, the communication device 700 can correspondingly implement the behaviors and functions of the second node in the above method embodiments. For example, the communication device 700 may be a second node, or may be a component (such as a chip or a circuit) used in the second node. The transceiver unit 720 may be used to perform all receiving or transmitting operations performed by the second node in the embodiment shown in FIG. 4A. For example, S400A, S401 and S403 in the embodiment shown in Figure 4A, and/or other processes used to support the technology described herein; wherein, the processing unit 710 is used to perform other than the sending and receiving operations performed by the second node. All operations except S400B and S402 in the embodiment shown in FIG. 4A, and/or other processes used to support the technology described herein.
例如,收发单元720,用于接收来自第一节点的第七信息。处理单元710,用于在接收到第一节点的第七信息后,将第二节点的度减去预设值。收发单元720,还用于在第二节点的度小于或等于第一阈值时,向第三节点发送第二节点的第七信息。第二节点的第七信息包括第二节点连接的节点的信息和第一节点的第七信息。第二节点的度是根据第二节点连接的节点数量确定的。For example, the transceiver unit 720 is configured to receive the seventh information from the first node. The processing unit 710 is configured to subtract a preset value from the degree of the second node after receiving the seventh information of the first node. The transceiver unit 720 is also configured to send the seventh information of the second node to the third node when the degree of the second node is less than or equal to the first threshold. The seventh information of the second node includes information of nodes connected to the second node and seventh information of the first node. The degree of the second node is determined based on the number of nodes connected to the second node.
在一些可能的实施方式中,通信装置700能够对应实现上述方法实施例中第三节点的行为和功能。例如通信装置700可以为第三节点,也可以为应用于第三节点中的部件(例如芯片或者电路)。收发单元720可以用于执行图4A所示的实施例中由第三节点所执行的全部接收或发送操作。例如图4A所示的实施例中的S403,和/或用于支持本文所描述的技术的其它过程;其中,处理单元710用于执行由第三节点所执行的除了收发操作之外的全部操作,例如图4A所示的实施例中的S404,和/或用于支持本文所描述的技术的其它过程。In some possible implementations, the communication device 700 can correspondingly implement the behaviors and functions of the third node in the above method embodiments. For example, the communication device 700 may be a third node, or may be a component (such as a chip or circuit) applied in the third node. The transceiver unit 720 may be used to perform all receiving or transmitting operations performed by the third node in the embodiment shown in FIG. 4A. For example, S403 in the embodiment shown in Figure 4A, and/or other processes used to support the technology described herein; wherein, the processing unit 710 is used to perform all operations performed by the third node except for the transceiver operation. , such as S404 in the embodiment shown in FIG. 4A, and/or other processes used to support the technology described herein.
例如,收发单元720,用于接收来自第二节点的第七信息。第三节点的度大于第二节点的度。第二节点的度是根据第二节点连接的节点数量确定的,第三节点的度是根据第三节点连接的节点数量确定的。处理单元710,用于在接收到来自第二节点的第七信息后,将第三节点的度减去预设值。可以理解的是,预设值可以是根据经验设置的,如可以设置为1、2等。处理单元710,还用于在度小于或等于第一阈值时,根据第二节点的第七信息构建网络拓扑信息,第一阈值可以是根据经验值设置的,如可以设置为0。其中,网络拓扑信息对应的网络包含第二节点和第三节点。For example, the transceiver unit 720 is configured to receive the seventh information from the second node. The degree of the third node is greater than the degree of the second node. The degree of the second node is determined based on the number of nodes connected to the second node, and the degree of the third node is determined based on the number of nodes connected to the third node. The processing unit 710 is configured to subtract a preset value from the degree of the third node after receiving the seventh information from the second node. It can be understood that the preset value can be set based on experience, for example, it can be set to 1, 2, etc. The processing unit 710 is also configured to construct network topology information based on the seventh information of the second node when the degree is less than or equal to a first threshold. The first threshold may be set based on an empirical value, for example, it may be set to 0. The network corresponding to the network topology information includes the second node and the third node.
有关处理单元710和收发单元720所执行的操作,可以参见前述方法实施例的相关描述。For operations performed by the processing unit 710 and the transceiver unit 720, please refer to the relevant descriptions of the foregoing method embodiments.
应理解,本申请实施例中的处理单元710可以由处理器或处理器相关电路组件实现,收发单元720可以由收发器或收发器相关电路组件或者通信接口实现。It should be understood that the processing unit 710 in the embodiment of the present application can be implemented by a processor or processor-related circuit components, and the transceiver unit 720 can be implemented by a transceiver or transceiver-related circuit components or a communication interface.
基于同一构思,如图8所示,本申请实施例提供一种通信装置800。该通信装置800包括处理器810。可选的,通信装置800还可以包括存储器820,用于存储处理器810执行的指令或存储处理器810运行指令所需要的输入数据或存储处理器810运行指令后产生的数据。处理器810可以通过存储器820存储的指令实现上述方法实施例所示的方法。Based on the same concept, as shown in Figure 8, an embodiment of the present application provides a communication device 800. The communication device 800 includes a processor 810 . Optionally, the communication device 800 may also include a memory 820 for storing instructions executed by the processor 810 or input data required for the processor 810 to run the instructions or data generated after the processor 810 executes the instructions. The processor 810 can implement the method shown in the above method embodiment through instructions stored in the memory 820 .
基于同一构思,如图9所示,本申请实施例提供一种通信装置900,该通信装置900可以是芯片或者芯片系统。可选的,在本申请实施例中芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。Based on the same concept, as shown in Figure 9, an embodiment of the present application provides a communication device 900. The communication device 900 may be a chip or a chip system. Optionally, in the embodiment of the present application, the chip system may be composed of chips, or may include chips and other discrete devices.
通信装置900可以包括至少一个处理器910,该处理器910与存储器耦合,可选的,存储器可以位于该装置之内,也可以位于该装置之外。例如,通信装置900还可以包括至 少一个存储器920。存储器920保存实施上述任一实施例中必要计算机程序、配置信息、计算机程序或指令和/或数据;处理器910可能执行存储器920中存储的计算机程序,完成上述任一实施例中的方法。The communication device 900 may include at least one processor 910 coupled with a memory. Optionally, the memory may be located within the device or outside the device. For example, communication device 900 may also include at least one memory 920. The memory 920 stores the computer programs, configuration information, computer programs or instructions and/or data necessary to implement any of the above embodiments; the processor 910 may execute the computer program stored in the memory 920 to complete the method in any of the above embodiments.
本申请实施例中的耦合是装置、单元或模块之间的间接耦合或通信连接,可以是电性,机械或其它的形式,用于装置、单元或模块之间的信息交互。处理器910可能和存储器920协同操作。本申请实施例中不限定上述收发器930、处理器910以及存储器920之间的具体连接介质。The coupling in the embodiment of this application is an indirect coupling or communication connection between devices, units or modules, which may be in electrical, mechanical or other forms, and is used for information interaction between devices, units or modules. Processor 910 may cooperate with memory 920. The specific connection medium between the above-mentioned transceiver 930, processor 910 and memory 920 is not limited in the embodiment of the present application.
通信装置900中还可以包括收发器930,通信装置900可以通过收发器930和其它设备进行信息交互。收发器930可以是电路、总线、收发器或者其它任意可以用于进行信息交互的装置,或称为信号收发单元。如图9所示,该收发器930包括发射机931、接收机932和天线933。此外,当该通信装置900为芯片类的装置或者电路时,该通信装置900中的收发器也可以是输入输出电路和/或通信接口,可以输入数据(或称,接收数据)和输出数据(或称,发送数据),处理器为集成的处理器或者微处理器或者集成电路,处理器可以根据输入数据确定输出数据。The communication device 900 may also include a transceiver 930, and the communication device 900 may interact with other devices through the transceiver 930. The transceiver 930 can be a circuit, a bus, a transceiver, or any other device that can be used for information exchange, or is also called a signal transceiver unit. As shown in FIG. 9 , the transceiver 930 includes a transmitter 931 , a receiver 932 and an antenna 933 . In addition, when the communication device 900 is a chip-like device or circuit, the transceiver in the communication device 900 can also be an input-output circuit and/or a communication interface, which can input data (or receive data) and output data ( Or, sending data), the processor is an integrated processor or microprocessor or integrated circuit, and the processor can determine the output data according to the input data.
在一种可能的实施方式中,该通信装置900可以应用于第一节点,具体通信装置900可以是第一节点,也可以是能够支持第一节点实现上述涉及的任一实施例中第一节点的功能的装置。存储器920保存实现上述任一实施例中的第一节点的功能的必要计算机程序、计算机程序或指令和/或数据。处理器910可执行存储器920存储的计算机程序,完成上述任一实施例中第一节点执行的方法。In a possible implementation, the communication device 900 can be applied to the first node. The specific communication device 900 can be the first node, or can be a first node that can support the first node to implement any of the above-mentioned embodiments. functional device. The memory 920 stores the necessary computer programs, computer programs or instructions and/or data to implement the functions of the first node in any of the above embodiments. The processor 910 can execute the computer program stored in the memory 920 to complete the method executed by the first node in any of the above embodiments.
在另一种可能的实施方式中,该通信装置900可以应用于第二节点,具体通信装置900可以是第二节点,也可以是能够支持第二节点,实现上述涉及的任一实施例中第二节点的功能的装置。存储器920保存实现上述任一实施例中的第二节点的功能的必要计算机程序、计算机程序或指令和/或数据。处理器910可执行存储器920存储的计算机程序,完成上述任一实施例中第二节点执行的方法。In another possible implementation, the communication device 900 can be applied to the second node. The specific communication device 900 can be the second node, or can support the second node to implement the second node in any of the above-mentioned embodiments. A two-node functional device. The memory 920 stores necessary computer programs, computer programs or instructions and/or data to implement the functions of the second node in any of the above embodiments. The processor 910 can execute the computer program stored in the memory 920 to complete the method executed by the second node in any of the above embodiments.
在另一种可能的实施方式中,该通信装置900可以应用于第三节点,具体通信装置900可以是第三节点,也可以是能够支持第三节点,实现上述涉及的任一实施例中第三节点的功能的装置。存储器920保存实现上述任一实施例中的第三节点的功能的必要计算机程序、计算机程序或指令和/或数据。处理器910可执行存储器920存储的计算机程序,完成上述任一实施例中第三节点执行的方法。In another possible implementation, the communication device 900 can be applied to a third node. The specific communication device 900 can be the third node, or can support the third node, to implement the third node in any of the above-mentioned embodiments. A three-node functional device. The memory 920 stores necessary computer programs, computer programs or instructions and/or data to implement the functions of the third node in any of the above embodiments. The processor 910 can execute the computer program stored in the memory 920 to complete the method executed by the third node in any of the above embodiments.
由于本实施例提供的通信装置900可应用于第一节点,完成上述第一节点执行的方法,或者应用于第二节点,完成上述第二节点执行的方法,或者应用于第三节点,完成上述第三节点执行的方法。因此其所能获得的技术效果可参考上述方法实施例,在此不再赘述。Since the communication device 900 provided in this embodiment can be applied to the first node to complete the method executed by the first node, or applied to the second node to complete the method executed by the second node, or applied to the third node to complete the above method The method executed by the third node. Therefore, the technical effects that can be obtained can be referred to the above method embodiments, and will not be described again here.
在本申请实施例中,处理器可以是通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实施或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。In the embodiment of the present application, the processor may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or Execute each method, step and logical block diagram disclosed in the embodiment of this application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in conjunction with the embodiments of the present application can be directly implemented by a hardware processor for execution, or can be executed by a combination of hardware and software modules in the processor.
在本申请实施例中,存储器可以是非易失性存储器,比如硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD)等,还可以是易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM)。存储器还可以是能够用于携带或存储具 有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。本申请实施例中的存储器还可以是电路或者其它任意能够实施存储功能的装置,用于存储计算机程序、计算机程序或指令和/或数据。In the embodiment of the present application, the memory may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or it may be a volatile memory (volatile memory), such as Random-access memory (RAM). Memory may also be, but is not limited to, any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory in the embodiment of the present application can also be a circuit or any other device capable of performing a storage function, used to store computer programs, computer programs or instructions and/or data.
基于以上实施例,参见图10,本申请实施例还提供另一种通信装置1000,包括:输入输出接口1010和逻辑电路1020;输入输出接口1010,用于接收代码指令并传输至逻辑电路1020;逻辑电路1020,用于运行代码指令以执行上述任一实施例中第一节点、第二节点或者第三节点执行的方法。Based on the above embodiments, referring to Figure 10, the embodiment of the present application also provides another communication device 1000, including: an input and output interface 1010 and a logic circuit 1020; the input and output interface 1010 is used to receive code instructions and transmit them to the logic circuit 1020; Logic circuit 1020 is used to run code instructions to execute the method executed by the first node, the second node, or the third node in any of the above embodiments.
以下,对该通信装置应用于第一节点、第二节点或者第三节点所执行的操作进行详细说明。Hereinafter, operations performed by the communication device when applied to the first node, the second node, or the third node will be described in detail.
一种可选的实施方式中,该通信装置1000可应用于第一节点,执行上述第一节点所执行的方法,具体的例如前述图3所示的实施例中第一节点所执行的方法。In an optional implementation, the communication device 1000 can be applied to a first node to execute the method executed by the first node, specifically, for example, the method executed by the first node in the embodiment shown in FIG. 3 .
逻辑电路1020,用于获取第一节点的第一信息。输入输出接口1010,用于根据第一节点的第一信息,输出第一节点的第二信息。其中,第一节点的第一信息是根据第一节点的第三信息和第一节点的第四信息确定的。第一节点的第三信息指示与第一节点连接的节点数量,或者第一信息指示第一节点感知到的节点数量。第一节点的第四信息指示向第一节点发送第二信息的节点数量。Logic circuit 1020, used to obtain the first information of the first node. The input and output interface 1010 is used to output the second information of the first node according to the first information of the first node. Wherein, the first information of the first node is determined based on the third information of the first node and the fourth information of the first node. The third information of the first node indicates the number of nodes connected to the first node, or the first information indicates the number of nodes perceived by the first node. The fourth information of the first node indicates the number of nodes sending the second information to the first node.
一种可选的实施方式中,该通信装置1000可应用于第一节点,执行上述第一节点所执行的方法,具体的例如前述图4A所示的实施例中第一节点所执行的方法。In an optional implementation, the communication device 1000 can be applied to a first node to perform the method performed by the first node, specifically, for example, the method performed by the first node in the embodiment shown in FIG. 4A.
例如,逻辑电路1020,用于确定第一节点的度对应的传输顺序。输入输出接口1010,用于按照第一节点的度对应的传输顺序,向第二节点输出第一节点的第七信息。第一节点的第七信息包括第一节点连接的节点的信息,第一节点的度是根据第一节点连接的节点数量确定的。For example, the logic circuit 1020 is used to determine the transmission sequence corresponding to the degree of the first node. The input and output interface 1010 is configured to output the seventh information of the first node to the second node according to the transmission sequence corresponding to the degree of the first node. The seventh information of the first node includes information of nodes connected to the first node, and the degree of the first node is determined based on the number of nodes connected to the first node.
另一种可选的实施方式中,该通信装置1000可应用于第二节点,执行上述第二节点所执行的方法,具体的例如前述图4A所示的方法实施例中第二节点所执行的方法。In another optional implementation, the communication device 1000 can be applied to a second node to perform the method performed by the second node. Specifically, for example, the method performed by the second node in the method embodiment shown in FIG. 4A. method.
例如,输入输出接口1010,用于接收来自第一节点的第七信息。逻辑电路1020,用于在接收到第一节点的第七信息后,将第二节点的度减去预设值。输入输出接口1010,还用于在第二节点的度小于或等于第一阈值时,向第三节点发送第二节点的第七信息。第二节点的第七信息包括第二节点连接的节点的信息和第一节点的第七信息。第二节点的度是根据第二节点连接的节点数量确定的。For example, the input and output interface 1010 is used to receive the seventh information from the first node. The logic circuit 1020 is configured to subtract a preset value from the degree of the second node after receiving the seventh information of the first node. The input and output interface 1010 is also used to send the seventh information of the second node to the third node when the degree of the second node is less than or equal to the first threshold. The seventh information of the second node includes information of nodes connected to the second node and seventh information of the first node. The degree of the second node is determined based on the number of nodes connected to the second node.
另一种可选的实施方式中,该通信装置1000可应用于第三节点,执行上述第三节点所执行的方法,具体的例如前述图4A所示的方法实施例中第三节点所执行的方法。In another optional implementation, the communication device 1000 can be applied to a third node to perform the method performed by the third node. Specifically, for example, the method performed by the third node in the method embodiment shown in FIG. 4A. method.
输入输出接口1010,用于接收来自第二节点的第七信息。第三节点的度大于第二节点的度。第二节点的度是根据第二节点连接的节点数量确定的,第三节点的度是根据第三节点连接的节点数量确定的。逻辑电路1020,用于在接收到来自第二节点的第七信息后,将第三节点的度减去预设值。可以理解的是,预设值可以是根据经验设置的,如可以设置为1、2等。逻辑电路1020,还用于在度小于或等于第一阈值时,根据第二节点的第七信息构建网络拓扑信息,第一阈值可以是根据经验值设置的,如可以设置为0。其中,网络拓扑信息对应的网络包含第二节点和第三节点。The input and output interface 1010 is used for receiving the seventh information from the second node. The degree of the third node is greater than the degree of the second node. The degree of the second node is determined based on the number of nodes connected to the second node, and the degree of the third node is determined based on the number of nodes connected to the third node. The logic circuit 1020 is configured to subtract a preset value from the degree of the third node after receiving the seventh information from the second node. It can be understood that the preset value can be set based on experience, for example, it can be set to 1, 2, etc. The logic circuit 1020 is also configured to construct network topology information based on the seventh information of the second node when the degree is less than or equal to a first threshold. The first threshold may be set based on an empirical value, for example, it may be set to 0. The network corresponding to the network topology information includes the second node and the third node.
由于本实施例提供的通信装置1000可应用于第一节点,完成上述第一节点执行的方法,或者应用于第二节点,完成上述第二节点执行的方法,或者应用于第三节点,完成上 述第三节点执行的方法。因此其所能获得的技术效果可参考上述方法实施例,在此不再赘述。Since the communication device 1000 provided in this embodiment can be applied to the first node to complete the method executed by the first node, or applied to the second node to complete the method executed by the second node, or applied to the third node to complete the above method The method executed by the third node. Therefore, the technical effects that can be obtained can be referred to the above method embodiments, and will not be described again here.
基于以上实施例,本申请实施例还提供一种通信系统。该通信系统包括至少一个应用于第一节点的通信装置、至少一个应用于第二节点的通信装置和至少一个应用于第三节点的通信装置。所能获得的技术效果可参考上述方法实施例,在此不再赘述。Based on the above embodiments, embodiments of the present application also provide a communication system. The communication system includes at least one communication device applied to a first node, at least one communication device applied to a second node, and at least one communication device applied to a third node. The technical effects that can be obtained may refer to the above method embodiments and will not be described again here.
基于以上实施例,本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序或指令,当指令被执行时,使上述任一实施例中第一节点执行的方法被实施或者第二节点执行的方法被实施或者第三节点执行的方法被实施。该计算机可读存储介质可以包括:U盘、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。Based on the above embodiments, embodiments of the present application also provide a computer-readable storage medium that stores computer programs or instructions. When the instructions are executed, the first node in any of the above embodiments is executed. The method is implemented or the method executed by the second node is implemented or the method executed by the third node is implemented. The computer-readable storage medium may include: U disk, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other various media that can store program codes.
为了实现上述图7~图7的通信装置的功能,本申请实施例还提供一种芯片,包括处理器,用于支持该通信装置实现上述方法实施例中第一节点、第二节点或者第三节点所涉及的功能。在一种可能的设计中,该芯片与存储器连接或者该芯片包括存储器,该存储器用于保存该通信装置必要的计算机程序或指令和数据。In order to realize the functions of the communication device in FIGS. 7 to 7 above, embodiments of the present application also provide a chip including a processor to support the communication device to implement the first node, the second node or the third node in the above method embodiment. The functions involved in the node. In a possible design, the chip is connected to a memory or the chip includes a memory, which is used to store computer programs or instructions and data necessary for the communication device.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will understand that embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment that combines software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序或指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序或指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by a computer program or instructions. These computer programs or instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a process or processes of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序或指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer programs or instructions may also be stored in a computer-readable memory that causes a computer or other programmable data processing apparatus to operate in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture that includes the instruction means, The instruction means implements the functions specified in a process or processes of the flowchart and/or a block or blocks of the block diagram.
这些计算机程序或指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer programs or instructions may also be loaded onto a computer or other programmable data processing device, causing a series of operating steps to be performed on the computer or other programmable device to produce computer-implemented processing, thereby executing on the computer or other programmable device. The instructions provide steps for implementing the functions specified in a process or processes in the flow diagram and/or in a block or blocks in the block diagram.
显然,本领域的技术人员可以对本申请实施例进行各种改动和变型而不脱离本申请实施例的范围。这样,倘若本申请实施例的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the scope of the embodiments of the present application. In this way, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of this application and equivalent technologies, then this application is also intended to include these modifications and variations.

Claims (19)

  1. 一种网络拓扑构建方法,其特征在于,包括:A network topology construction method, characterized by including:
    第一节点根据所述第一节点的第一信息,发送所述第一节点的第二信息;The first node sends the second information of the first node according to the first information of the first node;
    其中,所述第一节点的第一信息是根据所述第一节点的第三信息和所述第一节点的第四信息确定的;Wherein, the first information of the first node is determined based on the third information of the first node and the fourth information of the first node;
    所述第一节点的第三信息指示与所述第一节点连接的节点数量,或者所述第一信息指示所述第一节点感知到的节点数量;The third information of the first node indicates the number of nodes connected to the first node, or the first information indicates the number of nodes perceived by the first node;
    所述第一节点的第四信息指示向所述第一节点发送第二信息的节点数量。The fourth information of the first node indicates the number of nodes sending the second information to the first node.
  2. 根据权利要求1所述的方法,其特征在于,所述第二信息包括所述第一节点与所述第一节点有连接的节点之间的通信链路的信道状态信息,所述第一节点与所述第一节点有连接的节点之间的通信链路的长时信道状态信息、所述第一节点与所述第一节点有连接的节点之间的通信链路的链路质量指示信息和所述第一节点与所述第一节点有连接的节点之间的通信链路的衰落系数中的一种或多种。The method of claim 1, wherein the second information includes channel state information of a communication link between the first node and a node connected to the first node, and the first node Long-term channel state information of the communication link between the nodes connected to the first node, and link quality indication information of the communication link between the first node and the node connected to the first node and one or more fading coefficients of a communication link between the first node and a node connected to the first node.
  3. 根据权利要求1所述的方法,其特征在于,所述第二信息包括传输请求信息。The method of claim 1, wherein the second information includes transmission request information.
  4. 根据权利要求1~3任一所述的方法,其特征在于,所述第一节点将所述第三信息指示的节点数量减去所述第四信息指示的节点数量,得到所述第一节点的第一信息。The method according to any one of claims 1 to 3, characterized in that the first node subtracts the number of nodes indicated by the fourth information from the number of nodes indicated by the third information to obtain the first node first information.
  5. 根据权利要求1~4任一所述的方法,其特征在于,所述第一节点根据所述第一节点的第一信息,发送所述第一节点的第二信息,包括:The method according to any one of claims 1 to 4, characterized in that the first node sends the second information of the first node according to the first information of the first node, including:
    所述第一节点在所述第一信息小于或等于第一阈值时,发送所述第一节点的第二信息。The first node sends the second information of the first node when the first information is less than or equal to a first threshold.
  6. 根据权利要求1~5任一所述的方法,其特征在于,所述第一节点根据所述第一节点的第一信息,发送所述第一节点的第二信息,包括:The method according to any one of claims 1 to 5, characterized in that the first node sends the second information of the first node according to the first information of the first node, including:
    所述第一节点在载波侦听结果或者能量检测结果小于或等于第二阈值时,根据所述第一节点的第一信息发送所述第一节点的第二信息。When the carrier sensing result or the energy detection result is less than or equal to the second threshold, the first node sends the second information of the first node according to the first information of the first node.
  7. 根据权利要求1~6任一所述的方法,其特征在于,所述第一节点根据所述第一节点的第一信息,发送所述第一节点的第二信息,包括:The method according to any one of claims 1 to 6, characterized in that the first node sends the second information of the first node according to the first information of the first node, including:
    所述第一节点根据所述第一节点的第一信息,向第二节点发送所述第一节点的第二信息;The first node sends the second information of the first node to the second node according to the first information of the first node;
    所述第一节点接收来自所述第二节点的第六信息,所述第五信息指示所述第一节点的第二信息是否传输成功。The first node receives sixth information from the second node, and the fifth information indicates whether the second information of the first node is successfully transmitted.
  8. 根据权利要求1~7任一所述的方法,其特征在于,所述第一节点的第二信息还包括所述第一节点接收到的第二信息。The method according to any one of claims 1 to 7, characterized in that the second information of the first node further includes the second information received by the first node.
  9. 一种通信装置,其特征在于,包括:处理单元和收发单元A communication device, characterized in that it includes: a processing unit and a transceiver unit
    处理单元,用于获取第一节点的第一信息;A processing unit, used to obtain the first information of the first node;
    所述收发单元,用于根据所述第一节点的第一信息,发送所述第一节点的第二信息;The transceiver unit is configured to send second information of the first node according to the first information of the first node;
    其中,所述第一节点的第一信息是根据所述第一节点的第三信息和所述第一节点的第四信息确定的;Wherein, the first information of the first node is determined based on the third information of the first node and the fourth information of the first node;
    所述第一节点的第三信息指示与所述第一节点连接的节点数量,或者所述第一信息指示所述第一节点感知到的节点数量;The third information of the first node indicates the number of nodes connected to the first node, or the first information indicates the number of nodes perceived by the first node;
    所述第一节点的第四信息指示向所述第一节点发送第二信息的节点数量。The fourth information of the first node indicates the number of nodes sending the second information to the first node.
  10. 根据权利要求9所述的装置,其特征在于,所述第二信息包括所述第一节点与所述第一节点有连接的节点之间的通信链路的信道状态信息,所述第一节点与所述第一节点有连接的节点之间的通信链路的长时信道状态信息、所述第一节点与所述第一节点有连接的节点之间的通信链路的链路质量指示信息和所述第一节点与所述第一节点有连接的节点之间的通信链路的衰落系数中的一种或多种。The device according to claim 9, wherein the second information includes channel state information of a communication link between the first node and a node connected to the first node, and the first node Long-term channel state information of the communication link between the nodes connected to the first node, and link quality indication information of the communication link between the first node and the node connected to the first node and one or more fading coefficients of a communication link between the first node and a node connected to the first node.
  11. 根据权利要求9所述的装置,其特征在于,所述第二信息包括传输请求信息。The device according to claim 9, wherein the second information includes transmission request information.
  12. 根据权利要求9~11任一所述的装置,其特征在于,所述处理单元还用于:The device according to any one of claims 9 to 11, characterized in that the processing unit is also used to:
    将所述第三信息指示的节点数量减去所述第四信息指示的节点数量,得到所述第一节点的第一信息。The first information of the first node is obtained by subtracting the number of nodes indicated by the fourth information from the number of nodes indicated by the third information.
  13. 根据权利要求9~12任一所述的装置,其特征在于,所述收发单元,用于根据所述第一节点的第一信息,发送所述第一节点的第二信息,具体用于:The device according to any one of claims 9 to 12, characterized in that the transceiver unit is used to send the second information of the first node according to the first information of the first node, specifically for:
    在所述第一信息小于或等于第一阈值时,发送所述第一节点的第二信息。When the first information is less than or equal to the first threshold, the second information of the first node is sent.
  14. 根据权利要求9~13任一所述的装置,其特征在于,所述收发单元,用于根据所述第一节点的第一信息,发送所述第一节点的第二信息,具体用于:The device according to any one of claims 9 to 13, characterized in that the transceiver unit is used to send the second information of the first node according to the first information of the first node, specifically for:
    在载波侦听结果或者能量检测结果小于或等于第二阈值时,根据所述第一节点的第一信息发送所述第一节点的第二信息。When the carrier sensing result or the energy detection result is less than or equal to the second threshold, the second information of the first node is sent according to the first information of the first node.
  15. 根据权利要求9~14任一所述的装置,其特征在于,所述收发单元,用于根据所述第一节点的第一信息,发送所述第一节点的第二信息,具体用于:The device according to any one of claims 9 to 14, characterized in that the transceiver unit is used to send the second information of the first node according to the first information of the first node, specifically for:
    根据所述第一节点的第一信息,向第二节点发送所述第一节点的第二信息;Send the second information of the first node to the second node according to the first information of the first node;
    接收来自所述第二节点的第六信息,所述第六信息指示所述第一节点的第二信息是否传输成功。Sixth information is received from the second node, and the sixth information indicates whether the second information of the first node is successfully transmitted.
  16. 根据权利要求9~15任一所述的装置,其特征在于,所述第一节点的第二信息还包括所述第一节点接收到的第二信息。The device according to any one of claims 9 to 15, characterized in that the second information of the first node further includes the second information received by the first node.
  17. 一种通信装置,其特征在于,包括:处理器和存储器;A communication device, characterized by including: a processor and a memory;
    所述存储器,用于存储计算机程序或指令;The memory is used to store computer programs or instructions;
    所述处理器,用于执行存储器中的计算机程序或指令,使所述装置执行如权利要求1~8中任一项所述的方法。The processor is configured to execute computer programs or instructions in the memory, so that the device executes the method according to any one of claims 1 to 8.
  18. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令在被电子装置调用时,使所述电子装置执行如权利要求1~8中任一项所述的方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer-executable instructions, and when called by an electronic device, the computer-executable instructions cause the electronic device to execute claims 1 to The method described in any one of 8.
  19. 一种计算机程序产品,其特征在于,包括计算机执行指令,当所述计算机执行指令在计算机上运行时,使得所述计算机执行如权利要求1~8中任一项所述的方法。A computer program product, characterized by comprising computer execution instructions, which when the computer execution instructions are run on a computer, cause the computer to execute the method according to any one of claims 1 to 8.
PCT/CN2022/103023 2022-06-30 2022-06-30 Network topology construction method and apparatus WO2024000482A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/103023 WO2024000482A1 (en) 2022-06-30 2022-06-30 Network topology construction method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/103023 WO2024000482A1 (en) 2022-06-30 2022-06-30 Network topology construction method and apparatus

Publications (1)

Publication Number Publication Date
WO2024000482A1 true WO2024000482A1 (en) 2024-01-04

Family

ID=89383768

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/103023 WO2024000482A1 (en) 2022-06-30 2022-06-30 Network topology construction method and apparatus

Country Status (1)

Country Link
WO (1) WO2024000482A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984715A (en) * 2012-12-11 2013-03-20 武汉邮电科学研究院 Networking method for wireless sensor network
CN105847159A (en) * 2016-03-31 2016-08-10 乐视控股(北京)有限公司 CDN topological structure generating method and system
US20200162335A1 (en) * 2018-04-04 2020-05-21 Arista Networks, Inc. Computation of network flooding topologies
US20220173973A1 (en) * 2020-11-30 2022-06-02 Google Llc Connecting processors using twisted torus configurations

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984715A (en) * 2012-12-11 2013-03-20 武汉邮电科学研究院 Networking method for wireless sensor network
CN105847159A (en) * 2016-03-31 2016-08-10 乐视控股(北京)有限公司 CDN topological structure generating method and system
US20200162335A1 (en) * 2018-04-04 2020-05-21 Arista Networks, Inc. Computation of network flooding topologies
US20220173973A1 (en) * 2020-11-30 2022-06-02 Google Llc Connecting processors using twisted torus configurations

Similar Documents

Publication Publication Date Title
US7522563B2 (en) Network protocol
Demirkol et al. MAC protocols for wireless sensor networks: a survey
US7911978B1 (en) Adaptive topology discovery in communication networks
US8331282B2 (en) Apparatus and method for adaptive channel hopping in mesh networks
CN107040878B (en) Non-layered communication method of multi-chain wireless sensor network
KR100902873B1 (en) Wireless Sensor Network with linear structure being capable of bidirectional communication and method thereof
US8837354B2 (en) Apparatus and method for supporting wireless actuators and other devices in process control systems
US20080159358A1 (en) Unknown Destination Traffic Repetition
CN108353464B (en) Mesh network connectivity
JP2018535565A (en) Random access repeater, relay system and relay method thereof
US20220232449A1 (en) Method of Waking up a Mesh Node in a Wireless Mesh Network as Well as a Related Mesh Node and a Computer Program Product
CN110582060B (en) Communication method, communication device, node equipment and storage medium thereof
Saravanan An Efficient Multi Channel Query Scheduling In Wireless Sensor Networks
WO2024000482A1 (en) Network topology construction method and apparatus
Trelsmo et al. Evaluating IPv6 connectivity for IEEE 802.15. 4 and Bluetooth low energy
US20220337358A1 (en) Overloading broadcast dwell intervals in unsynchronized channel hopping mesh networks
Poonam et al. A step towards the efficiency of collisions in the wireless sensor networks
Montero et al. Link scheduling scheme with shared links and virtual tokens for industrial wireless sensor networks
KR20210085646A (en) A method for multicast uplink data transmission in LPWA network
CN113784413B (en) Control frame transmission method and system in blocking relay transmission protocol
KR101761369B1 (en) System of duty-cycled wireless sensor network, node of duty-cycled wireless sensor network and method for transmission scheduling setting in duty-cycled wireless sensor network
Tao et al. A distributed slot assignment algorithm with minimum jitter and delay guarantee for real time applications for wireless sensor networks
JP2023500171A (en) Wireless control system based on hybrid network
KR20170058192A (en) A slot scheduling and broadcasting method for a reliable command transmission in wireless sensor networks
KR20240049379A (en) Communication methods and devices

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

Country of ref document: EP

Kind code of ref document: A1