CN116633850A - Standby route determining method, data transmission method and device of dual-mode communication system - Google Patents
Standby route determining method, data transmission method and device of dual-mode communication system Download PDFInfo
- Publication number
- CN116633850A CN116633850A CN202310886441.5A CN202310886441A CN116633850A CN 116633850 A CN116633850 A CN 116633850A CN 202310886441 A CN202310886441 A CN 202310886441A CN 116633850 A CN116633850 A CN 116633850A
- Authority
- CN
- China
- Prior art keywords
- node
- communication
- standby
- route
- relay
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
- 230000006854 communication Effects 0.000 title claims abstract description 324
- 238000004891 communication Methods 0.000 title claims abstract description 323
- 238000000034 method Methods 0.000 title claims abstract description 75
- 230000005540 biological transmission Effects 0.000 title claims abstract description 65
- 230000009977 dual effect Effects 0.000 claims abstract description 25
- 230000002159 abnormal effect Effects 0.000 claims abstract description 16
- 238000004128 high performance liquid chromatography Methods 0.000 claims description 40
- 230000006855 networking Effects 0.000 claims description 25
- 238000005516 engineering process Methods 0.000 claims description 14
- 230000004044 response Effects 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 12
- 238000012790 confirmation Methods 0.000 claims description 12
- 230000005856 abnormality Effects 0.000 claims description 7
- 101100243024 Arabidopsis thaliana PCO1 gene Proteins 0.000 description 28
- 101150081243 STA1 gene Proteins 0.000 description 18
- 101100161473 Arabidopsis thaliana ABCB25 gene Proteins 0.000 description 16
- 101100096893 Mus musculus Sult2a1 gene Proteins 0.000 description 16
- 101100243025 Arabidopsis thaliana PCO2 gene Proteins 0.000 description 13
- 101100243026 Arabidopsis thaliana PCO3 gene Proteins 0.000 description 13
- 238000010586 diagram Methods 0.000 description 10
- OVGWMUWIRHGGJP-WVDJAODQSA-N (z)-7-[(1s,3r,4r,5s)-3-[(e,3r)-3-hydroxyoct-1-enyl]-6-thiabicyclo[3.1.1]heptan-4-yl]hept-5-enoic acid Chemical compound OC(=O)CCC\C=C/C[C@@H]1[C@@H](/C=C/[C@H](O)CCCCC)C[C@@H]2S[C@H]1C2 OVGWMUWIRHGGJP-WVDJAODQSA-N 0.000 description 8
- 101000988961 Escherichia coli Heat-stable enterotoxin A2 Proteins 0.000 description 8
- 101000752249 Homo sapiens Rho guanine nucleotide exchange factor 3 Proteins 0.000 description 7
- 102100021689 Rho guanine nucleotide exchange factor 3 Human genes 0.000 description 7
- 238000001514 detection method Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000013459 approach Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000001172 regenerating effect Effects 0.000 description 3
- 101100172132 Mus musculus Eif3a gene Proteins 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000018109 developmental process Effects 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 101100243027 Arabidopsis thaliana PCO4 gene Proteins 0.000 description 1
- 101100243028 Arabidopsis thaliana PCO5 gene Proteins 0.000 description 1
- 238000012508 change request Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000008929 regeneration Effects 0.000 description 1
- 238000011069 regeneration method Methods 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/24—Multipath
- H04L45/247—Multipath using M:N active or standby paths
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
- H04W40/22—Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a standby route determining method, a data transmission method and a device of a dual-mode communication system. A backup route determination method of a dual mode communication system is applied to a relay node, the method comprising: receiving node description information from adjacent nodes; determining a communication mode between the relay node and the adjacent node based on an information transmission mode of the node description information; determining a standby node from the neighboring nodes based on the communication mode and the node description information; a communication path between the relay node and the backup node is determined as a backup route for the relay node. The invention determines the standby route in different modes according to different communication modes, and realizes the data transmission through the standby route when communication is abnormal so as to reduce the influence on the data transmission.
Description
Technical Field
The present invention relates to the field of network communications technologies, and in particular, to a method for determining a standby route of a dual-mode communication system, and a data transmission method, apparatus, device, and storage medium for the dual-mode communication system.
Background
With the development of power grid transformation, power line carrier communication technology (Highspeed Power Line Communication, HPLC) and wireless communication technology (Highspeed Radio Frequency, HRF) are widely applied to communication networks in the field of intelligent power utilization of power grids, and are used for power utilization information acquisition, power outage reporting, platform area identification, topology identification and other services. The HPLC mainly utilizes the existing power lines in the paved power grid to realize communication, and the HRF does not need lines for transmission relative to the HPLC. The dual-mode communication technology for organically integrating the two communication modes is applied to the intelligent ammeter, the defects are overcome by utilizing the advantages of the dual-mode communication technology, and the meter reading accuracy and efficiency of the electricity acquisition system are improved. In some cases, when an anomaly occurs in a primary route in a communication network, data transmission based on a backup route is required.
When the related technology determines the standby route, the influence of the standby route on data transmission in the network is not considered, so that the efficiency of data transmission is reduced, and the data in the communication network cannot be transmitted in time.
Disclosure of Invention
The embodiments of the present specification aim to solve at least one of the technical problems in the related art to some extent. Therefore, an object of the embodiments of the present specification is to provide a method for determining a standby route of a dual mode communication system, a method, an apparatus, a device and a storage medium for transmitting data of the dual mode communication system.
The embodiment of the specification provides a standby route determining method of a dual-mode communication system, which is applied to a relay node, and comprises the following steps:
receiving node description information from adjacent nodes;
determining a communication mode between the relay node and the adjacent node based on the information transmission mode of the node description information;
determining a standby node from the neighboring nodes based on the communication mode and the node description information; and
and determining a communication path between the relay node and the standby node as a standby route for the relay node.
The embodiment of the specification provides a networking method based on a dual-mode communication system, which is applied to a relay node, and comprises the following steps:
switching a communication route of the relay node from the main route to a standby route in response to determining that an abnormality occurs in the main route between the relay node and an initial node, wherein the standby route is determined by using the standby route determining method of the dual mode communication system; and
and transmitting the data to be transmitted to the standby node through the standby route.
The embodiment of the present specification provides a standby route determining apparatus of a dual mode communication system, the apparatus comprising:
The receiving module is used for receiving the node description information from the adjacent nodes;
the first determining module is used for determining a communication mode between the relay node and the adjacent node based on the information transmission mode of the node description information;
a second determining module configured to determine a standby node from the neighboring nodes based on the communication mode and the node description information; and
and a third determining module, configured to determine a communication path between the relay node and the standby node as a standby route for the relay node.
The embodiment of the present specification provides a data transmission apparatus of a dual mode communication system, the apparatus comprising:
a switching module, configured to switch a communication route of the relay node from a primary route to a standby route in response to determining that the primary route between the relay node and an initial node is abnormal, where the standby route is determined by a standby route determining device of the dual-mode communication system; and
and the transmission module is used for transmitting the data to be transmitted to the standby node through the standby route.
The present description embodiment provides an electronic device comprising a memory storing a computer program and a processor implementing the steps of the method according to any of the embodiments above when the computer program is executed by the processor.
The present description provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the method according to any of the above embodiments.
The present description provides a computer program product comprising instructions which, when executed by a processor of a computer device, enable the computer device to perform the steps of the method of any one of the embodiments described above.
In the above description embodiment, the node description information from the neighboring node is received; determining a communication mode between the relay node and the adjacent node based on an information transmission mode of the node description information; determining a standby node from the neighboring nodes based on the communication mode and the node description information; a communication path between the relay node and the backup node is determined as a backup route for the relay node. The invention determines the standby route in different modes according to different communication modes, and realizes the data transmission through the standby route when communication is abnormal so as to reduce the influence on the data transmission.
Drawings
Fig. 1 is a schematic diagram of a dual-mode communication system networking according to an embodiment of the present disclosure.
Fig. 2 is a flowchart of a standby route determining method of a dual-mode communication system according to an embodiment of the present disclosure.
Fig. 3 is a schematic diagram of a method for determining a standby route in a wired communication mode HPLC according to an embodiment of the present disclosure.
Fig. 4 is a schematic diagram of a method for determining a standby route in a wireless communication mode HRF according to an embodiment of the present disclosure.
Fig. 5 is a flowchart of a data transmission method of the dual-mode communication system according to the embodiment of the present disclosure.
Fig. 6 is a schematic flow chart of networking and determining a standby route in the HPLC communication mode according to the embodiment of the present disclosure.
Fig. 7 is a schematic flow chart of networking and determining a standby route in the HRF communication mode according to the embodiment of the present disclosure.
Fig. 8 is a schematic diagram of a standby route determining apparatus of a dual mode communication system according to an embodiment of the present disclosure.
Fig. 9 is a schematic diagram of a data transmission device of a dual-mode communication system according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present invention and should not be construed as limiting the invention.
With the development of large power grid transformation in recent years, the power line carrier communication technology (Highspeed Power Line Communication, HPLC) and the wireless communication technology (Highspeed Radio Frequency, HRF) are widely applied to local communication networks in the intelligent power utilization field of the power grid, and are used for the services of power utilization information acquisition, power failure reporting, platform area identification, topology identification and the like. The HPLC mainly utilizes the existing power lines in the paved power grid to realize communication, and the HRF does not need lines for transmission relative to the HPLC. The dual-mode communication technology for organically integrating the two communication modes is applied to the intelligent ammeter, the defects are overcome by utilizing the advantages of the dual-mode communication technology, and the meter reading accuracy and efficiency of the electricity acquisition system are improved.
At present, in the field of dual-mode communication, there are various dual-mode communication networking modes taking HPLC communication as a main part and HRF communication as a supplement, and a multi-stage associated tree network which takes a central coordinator (Central Coordinator, CCO) as a center and takes a path proxy coordinator (Proxy Coordinator, PCO) as a relay proxy is formed, and all stations (stations, STAs) are connected. The CCO node is also referred to as a master node, the PCO node is also referred to as a relay node, and the STA node is also referred to as a slave node.
In some cases, during data transmission, data of all nodes under the PCO cannot be transmitted upwards due to abnormal transmission channels between the PCO and nodes on the upper layer, such as a sharp decrease in communication quality or a failure of a power line, during a long period of time. In the related art, all nodes under the PCO can perform emergency communication by re-applying for network access. However, in the existing dual-mode communication process, a carrier sense multiple access CSMA (Carrier Sense Multiple Access, CSMA) mechanism is mostly adopted, so that congestion of a node on a new route may be caused by re-networking of the node, collision may occur in the transmission process of the node data (the collision generally refers to that the same node needs to transmit or receive more than two data at the same time, and thus all data cannot be normally transmitted or received), thereby affecting the data transmission rate, and in the process of re-networking of the node, coordination is required according to a beacon time slot, so that communication information cannot be timely transmitted.
In view of this, the present embodiments provide a standby route determination method of a dual mode communication system.
The determination of the backup route typically occurs after the primary networking, and thus networking is typically required prior to determining the backup route, and the networking process is described in detail below.
Before the relay node and the master node are networked, the relay node is used as a node to be networked, for example, the node is an STA node (slave node) before being networked, and the node is converted into the relay node after being connected with other lower nodes after being networked. When receiving broadcast information from a main node, the node to be network-connected sends a network-connected request message to the main node. After receiving the network access request message, the master node determines whether to send a network access confirmation message to the node to be accessed based on the signal strength (Received Signal Strength Indicator, RSSI) between the master node and the node to be accessed.
For example, in the case where communication is performed between the node to be network-connected and the master node by the wired communication mode HPLC, the network-connection confirmation message is sent by the master node when the signal strength between the node to be network-connected and the master node is equal to or greater than the first communication strength threshold R1, where the first communication strength threshold R1 is the lowest communication strength threshold corresponding to the communication performed by the wired communication mode HPLC. That is, when the signal strength RSSI between the master node and the node to be network-connected is greater than or equal to the first communication strength threshold R1, the master node sends a network-connection confirmation message to the node to be network-connected.
For example, in the case where the node to be network-connected and the master node communicate through the HRF, the network-connected acknowledgement message is sent by the master node when the signal strength between the node to be network-connected and the master node is equal to or greater than the second communication strength threshold R2, where the second communication strength threshold R2 is the lowest communication strength threshold corresponding to the communication through the HRF.
After receiving the network access confirmation message from the main node, the node to be accessed to the network performs communication networking with the main node, namely the node to be accessed to the network is directly connected with the CCO of the main node so as to realize network access.
After the node to be network-connected successfully connects to the network, other nodes to be network-connected can connect to the network through the node. For example, in the case that the signal strength between the node to be networked which has been successfully networked and other nodes to be networked satisfies the preset strength condition, the node to be networked which has been successfully networked is used as a relay node to perform communication networking with the other nodes to be networked. The preset strength condition is, for example, that the signal strength between the other nodes to be networked and the nodes to be networked successfully is greater than the signal strength between the other nodes to be networked and the nodes to be networked successfully.
Fig. 1 is a schematic diagram of a dual-mode communication system networking according to an embodiment of the present disclosure.
As shown in fig. 1, a CCO master node and a plurality of STA nodes to be networked are illustrated as an example.
And broadcasting a beacon containing the forwarding times by the CCO main node, regenerating and forwarding the beacon by the PCO node which is accessed to the network or the STA node which is accessed to the network, wherein the regeneration represents that the forwarding times are increased by 1 each time of forwarding until all the STA nodes which are not accessed to the network access to the network or the beacon reach the upper limit of forwarding. At this time, the CCO master node stores the current routing table as the master routing table.
The non-network-connected STA node may select HPLC and/or HRF communication channels to communicate, and send an association request message (may also be referred to as a network-connection request message) to the CCO step by step or directly through the parent node (an upper PCO node connected to the non-network-connected STA node) so as to apply for network connection. The CCO node approves the STA node to access the network and then returns an association request confirmation message (may also be referred to as an access confirmation message) to the STA node step by step, so as to complete the establishment of the primary route between the STA node and the CCO master node. After all STA nodes access the network, the main node establishes the current route as a main route table. The solid lines between nodes in fig. 1 represent communication between nodes by HPLC mode, and the dashed lines represent communication between nodes by HRF mode. It will be appreciated that one node may communicate with other nodes both in HPLC mode and in HRF mode.
Referring to fig. 1, a process of applying for network access by nodes such as STA1, PCO1, and lower layer STA3, PCO3 is exemplified. The CCO first broadcasts a central beacon (broadcast information) in the HPLC and HRF communication channels, the non-network STA1 and the non-network PCO1 (each PCO node is also an STA node before becoming a parent node, and is directly represented by its final identity PCO for convenience of description herein), receives the central beacon in the HPLC channel, the non-network STA2 and the non-network PCO2 receive the central beacon in the HRF channel, and the STA1, PCO1, STA2, and PCO2 send association request messages directly to the CCO nodes, respectively. And under the condition that the CCO node judges that the received message respectively exceeds a first communication intensity threshold value R1 in an HPLC mode or a second communication intensity threshold value R2 in an HRF mode, the CCO node sends an association confirmation message to each node STA1, PCO1, STA2 and PCO2 so that the STA1 and nodes (PCO 1, STA2 and PCO 2) on the left and right layers of the nodes are directly accessed to the CCO, wherein the networking level of the STA1, the PCO1, the STA2 and the PCO2 is 1.
The first tier nodes of the network-entered PCO1, STA1, etc. periodically broadcast forward discovery beacons on the HPLC and/or HRF communication channels according to the CCO scheduled time slots.
After receiving the discovery beacon, the STA3 that is not connected to the network evaluates that the signal strength corresponding to the beacon frame forwarded by the PCO1 is highest (for example, the signal strength between the node PCO1 to be connected to the network and other nodes STA3 to be connected to the network that have been successfully connected to the network described above satisfies the preset strength condition), and then STA3 selects PCO1 as a parent node, that is, PCO1 becomes the parent node of STA 3. The STA3 sends an association request message to the CCO via the PCO1, and the CCO replies an association confirmation message after receiving the association confirmation message so that the STA3 accesses the network, and at this time, the COO node updates the master routing table.
All non-network-connected STAs repeat the above process until all STAs have reached an upper limit on the number of times of network connection or beacon forwarding, and the CCO establishes a master routing table of all STAs and PCO to form a master routing topology as in fig. 1. The topology shown in fig. 1 includes three levels, the first level includes PCO1 to PCO2, STA1 to STA2, the second level includes PCO3 to PCO6, STA3 to STA6, and the third level includes STA7 to STA14. The subsequent standby routes determined by each PCO are also stored in the routing table and maintained by the CCO.
In this embodiment, the dual mode communication system includes a high speed power line carrier communication HPLC network and a wireless communication technology HRF network. The wired communication mode includes nodes communicating via a high-speed power line carrier communication HPLC network, and the wireless communication mode includes nodes communicating via a wireless communication technology HRF network.
Fig. 2 is a flowchart of a standby route determining method of a dual-mode communication system according to an embodiment of the present disclosure.
As shown in fig. 2, the standby route determining method 200 of the dual mode communication system provided in the embodiment of the present disclosure includes steps S210 to S240, for example, and the method is applied to a relay node.
S210, receiving node description information from adjacent nodes.
For example, the nodes adjacent to the relay node are neighboring nodes, and the relay node may receive node description information from each neighboring node. The node description information characterizes, for example, node attributes of neighboring nodes, the level at which the node is located, signal strength of the node, and so on.
S220, determining a communication mode between the relay node and the adjacent node based on the information transmission mode of the node description information.
The neighboring node can send node description information to the relay node in an HPLC mode or an HRF mode, namely, the information transmission mode comprises the HPLC mode or the HRF mode. The communication modes corresponding to different information transmission modes are different, and if the information transmission mode is an HPLC mode, the communication mode between the relay node and the adjacent node is a wired communication mode. If the information transmission mode is the HFR mode, the communication mode between the relay node and the neighboring node is a wireless communication mode.
And S230, determining a standby node from the adjacent nodes based on the communication mode and the node description information.
Illustratively, the manner in which the standby node is determined is different for different modes of communication. The standby node may be determined from a plurality of neighboring nodes based on the node description information in different manners according to the communication mode.
S240, determining a communication path between the relay node and the standby node as a standby route for the relay node.
After the backup node is determined, a communication path between the relay node and the backup node may be taken as a backup route for the relay node. And in the subsequent data transmission process, when the main route between the relay node and other nodes is abnormal, the relay node can communicate through the standby route.
It can be understood that the embodiment determines the standby node based on the communication mode and the node description information, so as to obtain the standby route for the relay node, and realize that the data transmission can be completed through the standby route in time when the main route of the relay node is abnormal. In addition, the standby route is determined by using different modes based on different communication modes, so that signal interference of the standby route to other nodes in the network is reduced, the probability of data congestion in the standby route is also reduced, and further, the transmission delay of data is reduced.
In an example, when the communication mode of the relay node and the neighboring node is a wired communication mode, the standby node is determined by the following manner, and the standby route is determined based on the standby node.
Taking an example in which the neighboring node includes a plurality of neighboring nodes, the plurality of neighboring nodes are nodes in the network that transmit node description information to the relay node through a wired communication mode. Accordingly, when the communication mode is a wired communication mode, at least one neighboring node is determined as at least one candidate node from among the plurality of neighboring nodes based on the node description information, and then a standby node is further determined from the at least one candidate node.
For example, for each neighboring node, the node description information of the neighboring node includes first network level information, first attribute information, and first signal strength. The first network level information characterizes a network level (network level such as the first level, the second level, the third level, etc. in fig. 1) to which the neighboring node belongs. The first attribute information characterizes a node type of the neighboring node as a master node type (CCO type), a relay node type (PCO type), or a slave node type (STA type). The first signal strength characterizes a communication signal strength, RSSI, between the neighboring node and the relay node.
After receiving the first network level information, the first attribute information, and the first signal strength of the neighboring nodes, the relay node determines at least one candidate node from the plurality of neighboring nodes based on the first network level information, the first attribute information, and the first signal strength. The determined node types of each candidate node and the relay node preferentially belong to the same network level, the node type of the candidate node is a slave node type, the first signal strength between the candidate node and the relay node is greater than or equal to a first communication strength threshold value R1, and the first communication strength threshold value R1 is the lowest communication strength threshold value corresponding to communication through a wired communication mode.
After the at least one candidate node is obtained, in one case, each of the at least one candidate node may be determined as a standby node. When a plurality of candidate nodes are determined, the standby node is also a plurality of standby routes determined based on the standby node.
In another case, a portion of the candidate nodes may be selected from the at least one candidate node as standby nodes. For example, for each candidate node of the at least one candidate node, a portion of the candidate nodes are determined as standby nodes from the at least one candidate node based on the number of other relay nodes for which the candidate node has been determined as standby nodes. The number of other relay nodes corresponding to each partial candidate node is smaller than or equal to the number of other relay nodes corresponding to each remaining partial candidate node. Taking part of candidate nodes as an example, for each candidate node in at least one candidate node, if the candidate node is already determined to be a standby node by other PCOs, determining the number of PCOs corresponding to the candidate node, and taking one candidate node with the least number of PCOs as the standby node.
It can be understood that, regarding to the standby route determination manner in the wired communication mode, the STA node which belongs to the same hierarchy as the relay node and has the RSSI equal to or greater than the minimum first signal strength threshold value R1 in the wired communication mode is preferentially selected as the standby node, and the communication path between the relay node and the standby node is used as the standby route. The signal intensity of the standby node is larger than or equal to the first signal intensity threshold value, so that normal communication of the standby node is ensured. And secondly, the standby node and the relay node belong to the same level, so that the influence of the standby route on the data transmission of other nodes is reduced as much as possible (for example, the upper node of the relay node is not determined as the standby node, and the effect that the data transmission of the node is influenced due to too busy of the node is caused if the node is used as the standby node in consideration of the fact that the lower node is connected with too many lower nodes under the upper node) and the congestion of communication paths of other levels is avoided as much as possible. In addition, the standby node selects the STA node, so that the data transmission between the STA node and the last level is considered in the wired communication mode, other low-level nodes are not connected under the STA node and the data of the low-level nodes is not required to be received, the data quantity of the STA node responsible for transmission is relatively less, the STA node is selected as the standby node, the influence on other busy nodes can be avoided, and the standby route can timely transmit the data when the main route is abnormal.
In another example, when there is no node belonging to the same network hierarchy as the relay node, of which the node type is the slave node type, and of which the first signal strength with the relay node is equal to or greater than the first communication strength threshold value, the first signal strength between each of the selected at least one candidate nodes and the relay node is equal to or greater than the first signal strength between other nodes of the neighboring nodes than the at least one candidate node and the relay node.
That is, when the STA node which belongs to the same hierarchy as the relay node and whose RSSI is equal to or greater than the minimum first signal strength threshold value R1 in the wired communication mode is not included in the neighboring nodes, a node (may be a PCO node) having the greatest first communication strength RSSI with the relay node may be determined as a candidate node from among the neighboring nodes, and the candidate node may be determined as a standby node. The determined candidate node is preferentially a PCO node belonging to the same hierarchy as the relay node, and if there is no PCO node satisfying the condition, an upper PCO node of the relay node may be determined as the candidate node.
In an example, when the communication mode of the relay node and the neighboring node is a wireless communication mode, the standby node is determined by the following manner, and the standby route is determined based on the standby node.
For example, when the communication mode is a wireless communication mode, the relay node receives node description information, including, for example, second network level information and second signal strength, from the neighboring node transmitted through the wireless communication mode. The second network level information characterizes a network level to which the neighboring node belongs, and the second signal strength characterizes a communication signal strength RSSI between the neighboring node and the relay node.
The relay node determines a standby node from the neighboring nodes based on the second network level information and the second signal strength. The determined network level of the standby node is higher than or equal to the network level of the relay node. The second signal strength between the standby node and the relay node is greater than or equal to the second signal strength between other nodes except the standby node in the adjacent nodes and the relay node.
For example, by determining a standby node, a neighboring node having the greatest second signal strength RSSI is determined as the standby node from among a plurality of neighboring nodes communicating with the relay node through the wireless communication mode, thereby improving the communication capability of the standby route. In addition, unlike the node which determines that the node is at the same level as the relay node as the standby node in the wired communication mode, the standby node which determines in the wireless communication mode may be at the same level as the relay node, or may be at the upper level (including the upper layer, the upper two layers, etc.) of the relay node, because considering that data transmission is generally performed by broadcasting or other wireless means in the wireless communication mode, the influence of the relay node transmitting data to the standby node at the same level or the standby node at the upper level on other nodes is similar, it is not necessary to determine the node at the same level as the standby node as in the wired communication mode, and the disadvantage of a longer path for data transmission through the standby route is reduced by using the node at the same level or the upper level instead of the lower level node as the standby node, thereby improving the data transmission effect.
In addition, unlike determining the STA node as the standby node in the wired communication mode, the standby node determined in the wireless communication mode may be any type of node (may be a CCO node, a PCO node, or an STA node), which considers that in the wireless communication mode, data transmission is generally performed by broadcasting or other wireless methods, resulting in that one node may affect other neighboring nodes when transmitting and receiving data, and thus, if the relay node selects a neighboring STA node as the standby node, the STA node may be affected when the neighboring PCO node transmits and receives data at the same time (e.g., may cause the STA node to fail to receive data of the relay node at the same time), and if the relay node selects a neighboring PCO node as the standby node, the neighboring PCO node may be affected when the neighboring STA node transmits and receives data at the same time (e.g., may cause the neighboring PCO node to fail to receive data of the relay node at the same time). Therefore, no matter what type of neighboring node is determined as a standby node of the relay node in the wireless communication mode, the difference in the effect of transmitting data is not so large, and thus there is no need to limit the node type of the standby node.
To facilitate an understanding of the embodiments of determining the alternate route in the wired communication mode and the wireless communication mode, further description is provided below in connection with fig. 3 and 4. Wherein, each node in fig. 3 and fig. 4 is not directly related to the node identified by the same identifier in fig. 1, that is, fig. 3 is not directly related to fig. 1, and fig. 4 is not directly related to fig. 1, and the same identifier is used only for convenience of description.
Each level PCO in the dual-mode communication system acquires the neighbor node information table and establishes a standby route with the nodes of the same level or upper level. The backup route is then recorded by the CCO as a backup routing table for maintenance.
For example, during a networking setup, each node has perceived neighboring nodes through a carrier (wired) or wireless beacon frame and formed a discovery list. After the primary route is established, each stage of PCO receives discovery list messages sent by neighboring nodes through HPLC communication channels and/or HRF communication channels, thereby obtaining more comprehensive neighboring node information including, but not limited to, neighboring node attribute, networking hierarchy, RSSI with each neighboring node, and signal-to-noise ratio (Signal to Noise Ratio, SNR) with each neighboring node, etc., and forming a more detailed discovery list. The relay node PCO determines corresponding neighboring nodes from the discovery list (e.g., the node description information above) to form the backup route. The formed standby route is mainly divided into two types, one is the standby route of the HPLC communication mode and the other is the standby route of the HRF communication mode.
Fig. 3 is a schematic diagram of a method for determining a standby route in a wired communication mode HPLC according to an embodiment of the present disclosure.
As shown in fig. 3, the relay node PCO1 periodically receives a high-speed carrier discovery list message (node description information) transmitted by a neighboring node. The relay node PCO1 forms a detailed discovery list, which includes, for example, attributes of neighboring nodes, a networking hierarchy, and RSSI and SNR information between the neighboring nodes, and the node attributes, for example, characterize the types of the nodes, as shown in table 1. In some cases, the RSSI and the SNR are mapped, for example, the larger the SNR is, the larger the RSSI is, and thus the present embodiment will be described by taking the RSSI as an example only.
TABLE 1
And the relay node PCO1 preferentially selects the STA node with the RSSI larger than or equal to the first signal strength threshold R1 corresponding to the carrier communication in the same network level as the standby node of the PCO according to the information in the discovery list.
When the relay node PCO1 can select more than one STA node as a standby node, one way may select all STA nodes satisfying the condition as standby nodes and establish a plurality of standby routes. The second approach may prioritize STA nodes that are selected as standby nodes by a minimum number of other PCO nodes as the only standby nodes.
As shown in fig. 3, STA1, PCO2, and PCO3 belong to the same hierarchy, for example. If the second approach is taken, STA2 has already served as a standby node for PCO4, PCO5, and it is assumed that STA1 is not currently serving as a standby node for any PCO, at which time relay node PCO1 selects STA1 from STA1 and STA2 as the next hop node (standby node) for the standby route. In another example, when the number of STA nodes that the relay node PCO can select as the standby route is 0, the neighboring peer PCO node with the greatest RSSI value and/or SNR value may be preferentially selected as the standby node, for example, the relay node PCO3 in fig. 3 selects PCO2 as the standby node. In another example, if there is still no PCO node at the same level, the PCO node at the upper level may be selected as a standby node.
Then, the backup routes established by the PCO nodes of each network level in the HPLC communication mode are stored as backup routing tables.
Fig. 4 is a schematic diagram of a method for determining a standby route in a wireless communication mode HRF according to an embodiment of the present disclosure.
As shown in fig. 4, the relay node PCO1 periodically receives the wireless discovery list message transmitted by the neighboring node. The relay node PCO1 forms a detailed discovery list (e.g., the node description information above) including, for example, information of a networking hierarchy, a received signal strength RSSI, a transmitted signal strength (e.g., characterizing a transmit power), and the like, as shown in table 2.
TABLE 2
And the relay node PCO preferentially selects the node with the largest RSSI value in the same network level or an upper network level as a standby node of the relay node PCO according to the information in the discovery list. The standby node selected need not be a STA node. As shown in fig. 4, the relay node PCO1 determines PCO2 as a node of the next hop of the standby route (standby node), for example, and the relay node PCO3 determines STA1 as a node of the next hop (standby node), for example.
Then, the backup routes established by the PCO nodes of each network level in the HRF communication mode are stored as backup routing tables.
As can be seen from the above, after the relay node determines the backup route, the information to be stored associated with the backup route is sent to the primary node to be stored, for example, as a backup route table, so that the primary node indicates that the backup route performs data transmission in the case of an anomaly of the primary route.
It will be appreciated that the determination of the alternate route is made after the first networking. After the determination of the backup route, when an abnormality occurs in the communication network during data transmission in operation, communication can be performed through the backup route in the case of the abnormality. With particular reference to fig. 5.
Fig. 5 is a flowchart of a data transmission method of the dual-mode communication system according to the embodiment of the present disclosure.
As shown in fig. 5, the data transmission method 500 of the dual mode communication system provided in the embodiment of the present disclosure includes steps S510 to S520, and the method is applied to a relay node, for example.
And S510, switching the communication route of the relay node from the main route to the standby route in response to determining that the main route between the relay node and the initial node is abnormal.
Wherein the backup route is determined using the method above. The initial node is a node connected with the relay node in the main route.
And S520, transmitting the data to be transmitted to the standby node through the standby route.
After the relay node switches the communication route from the primary route to the backup route, if it is determined that the backup route is communicated through the wireless communication mode, the relay node reduces its own signal strength value.
For example, when the standby route is communication in the wireless communication mode, the relay node uses the second communication intensity threshold R2 as a reference, and reduces the signal intensity value of the relay node so that the reduced signal intensity value is not lower than the second communication intensity threshold R2, and the second communication intensity threshold R2 is the lowest communication intensity threshold corresponding to communication in the wireless communication mode.
It can be understood that when the primary route abnormally switches the standby route, the signal strength value RSSI of the relay node is gradually reduced until the signal strength value is within the range of the second communication strength threshold R2 but not lower than R2, so that the interference of the relay node to other nodes is reduced under the condition that the relay node can normally communicate. In particular, the indirect reduction of the received signal strength value RSSI of the relay node, which e.g. represents the received signal strength of the relay node at the standby node, may be achieved by directly reducing the transmitted signal strength value of the relay node.
Illustratively, each level of relay node PCO nodes or upper nodes of the relay node PCO periodically detect whether the primary routing communication link for the relay node PCO is normal. When detecting that the communication link is abnormal, the method switches into the standby route to carry out data transmission with the CCO according to different communication modes, and the CCO updates the routing table until the communication of the main route is recovered to be normal.
Specifically, the method for detecting whether the primary routing communication link is normal includes: and the relay node PCO detects itself and the upper node of the relay node PCO. When communication anomalies are detected in any way, the standby route of the relay node PCO is enabled for communication and the main route anomalies are reported.
The detection of the relay node PCO itself refers to that the beacon frame forwarded by the CCO or the upper node of the relay node PCO is not received in a preset period of time, and at this time, the relay node PCO determines that an abnormal communication link occurs between the relay node PCO and the upper node. The preset period of time is, for example, 2 heartbeat detection cycles.
The detection of the upper node of the relay node PCO means that the heartbeat detection message sent by the relay node PCO is not received within a preset time period, and at this time, the upper node of the relay node PCO determines that an abnormality occurs in a communication link with the relay node PCO. The preset period of time is, for example, 2 heartbeat detection cycles.
Specifically, in conjunction with the above analysis of fig. 3, in the HPLC communication mode, when detecting that an abnormality occurs in a communication link between the relay node PCO1 and an upper node in the main route, the standby route in the HPLC communication mode is enabled, that is, the relay node PCO1 no longer directly transmits information to the upper node in the main route, but transmits information to the standby node STA1 in the standby route, so as to form a standby route communication link of the upper nodes of PCO1, STA 1. When detecting that the communication link between the relay node PCO3 and the upper node in the main route is abnormal, the standby route in the HPLC communication mode is started, namely the relay node PCO3 does not directly send information to the upper node in the main route any more, but sends information to the standby node PCO2, and the standby route communication link of the upper nodes of PCO3, PCO2 and PCO2 is formed.
Specifically, in conjunction with the above analysis of fig. 4, in the HRF communication mode, when an abnormality of a communication link between the relay node PCO1 and an upper node in the primary route is detected, a standby route in the HRF communication mode is enabled, that is, the relay node PCO1 does not send information to the upper node in the primary route directly, but sends information to the standby node PCO2, that is, the relay node PCO1 changes the terminal equipment identifier (Terminal Endpoint Identifier, TEI) of the upper node in the primary route to the TEI of PCO 2. Meanwhile, when the standby route is started, the transmission signal intensity of the PCO1 node of the relay node is gradually reduced, so that the standby node PCO2 discovers that the RSSI of the received signal intensity from PCO1 in the list is just at the second signal intensity threshold R2 in the HRF communication mode, and it can be understood that the HPLC communication mode does not involve signal interference caused by a wireless transmission mode, and therefore the transmission signal intensity can be free from being reduced. When detecting that the communication link between the relay node PCO3 and the upper node in the main route is abnormal, the standby route in the HRF communication mode is started, that is, the relay node PCO3 does not directly send information to the upper node in the main route any more, but sends information to the standby node STA1, that is, the relay node PCO3 changes the TEI of the upper node in the main route into the TEI of STA 1. Meanwhile, when the standby route is started, the transmission signal intensity of the PCO3 node is gradually reduced, so that the STA1 discovers that the RSSI of the received signal intensity from the PCO3 in the list is just at the second signal intensity threshold R2 in the HRF communication mode.
In addition, the CCO receives the proxy change request message of the relay node PCO through the standby route, and performs acknowledgement reply and modifies the routing table. And simultaneously monitoring a network beacon of the PCO main route, and switching the PCO communication route back to the main route when the main route can stably receive the beacon frame.
It may be convenient to understand by way of example that the present embodiment describes specific procedures of networking and determining a standby route in HPLC communication mode and HRF communication mode, respectively. HPLC communication mode with specific reference to fig. 6 and hrf communication mode with reference to fig. 7.
Fig. 6 is a schematic flow chart of networking and determining a standby route in the HPLC communication mode according to the embodiment of the present disclosure.
As shown in fig. 6, a method 600 provided by an embodiment of the present disclosure includes, for example, steps S610-S680.
S610, starting.
And S620, broadcasting a beacon containing the forwarding times by the CCO node, regenerating and forwarding the beacon by the PCO node or the STA node which is accessed to the network until all the STA nodes which are not accessed to the network access the network or the beacon reaches the forwarding upper limit, and storing the current routing table as a main routing table by the CCO node.
S630, the relay node PCO in each network level updates the discovery list of the relay node PCO according to the received high-speed carrier discovery list message.
And S640, the relay node PCO preferentially determines the STA nodes at the same level from the adjacent nodes with larger RSSI values as the next hop nodes of the standby route in the HPLC mode according to the discovery list.
S650, the relay node PCO or its upper node detects whether the primary routing link is normal. If yes, then execution S660; if not, S670 is performed.
S660, the relay node PCO maintains communication through the primary route.
S670, the relay node PCO switches the standby route to communicate.
S680, end.
The detailed description of the embodiment refers to the above, and will not be repeated here.
Fig. 7 is a schematic flow chart of networking and determining a standby route in the HRF communication mode according to the embodiment of the present disclosure.
As shown in fig. 7, a method 700 provided by an embodiment of the present disclosure includes, for example, steps S710-S780.
S710, starting.
And S720, broadcasting a beacon containing the forwarding times by the CCO node, regenerating and forwarding the beacon by the PCO node or the STA node which is accessed to the network until all the STA nodes which are not accessed to the network access the network or the beacon reaches the forwarding upper limit, and storing the current routing table as a main routing table by the CCO node.
S730, the relay node PCO in each network layer updates its own discovery list according to the received wireless discovery list message.
And S740, the relay node PCO selects the adjacent node with the largest RSSI in the same level or the upper level as the next hop node of the standby route in the HRF mode according to the discovery list.
S750, the relay node PCO or its upper node detects whether the primary routing link is normal. If yes, then execute S760; if not, S770 is performed.
S760, the relay node PCO maintains communication through the primary route.
S770, the relay node PCO switches the standby route for communication, and gradually decreases the transmission signal power until the RSSI at the standby node approaches the second signal strength threshold R2 in HRF mode.
S780, ending.
The detailed description of the embodiment refers to the above, and will not be repeated here.
The purpose of this embodiment is to solve the problem that the existing algorithm in the dual-module network is easy to cause congestion of other nodes, and a large number of nodes re-access the network to consume excessive communication resources. Aiming at the scene that a communication link between a PCO and an upper node in a networking is abnormal, the embodiment of the specification provides a PCO standby routing method of a dual-mode communication system based on HPLC and HRF. In this embodiment, the selection criteria of the standby route is mainly based on two criteria, the first is that the received signal strength RSSI value between the relay node and the standby node through which the standby route passes exceeds or is not lower than the lowest signal strength threshold in the corresponding communication mode. Secondly, the standby route should be selected to avoid congestion of nodes in the standby route, for example, for an HPLC communication mode, the relay node PCO preferentially selects STAs under the same level with higher received signal strength as the standby node; for the HRF communication mode, the relay node PCO is preferentially connected with the neighboring node of the same level or upper layer with the best received signal strength as a standby node, and adjusts the transmitted signal strength from the relay node PCO to the standby node, so that the received signal strength value RSSI of the relay node PCO at the standby node is near the second signal strength threshold R2 in the HRF mode. It should be clear that the process of selecting the standby route by the relay node PCO of each layer occurs after the primary networking, and the standby route selected by the relay node PCO is also stored in the routing table and maintained by the CCO.
It can be understood that, when the communication link between the PCO of a certain level and the upper node is abnormal, the method of the embodiment can still complete the transmission of the communication information in time through the standby route. Different standby route determination schemes are adopted according to different communication modes, for example, by preferentially selecting STAs at the same level in the HPLC communication mode, the probability of congestion in the standby route is reduced, and therefore the transmission delay of signals is reduced. And selecting the node with the best received signal strength in the HRF communication mode, and properly reducing the transmitted signal strength when the standby route is started, thereby reducing the interference to other surrounding nodes in the HRF communication mode. By considering the routes between each layer as backup routes, a smaller number of backup routes enables saving of communication resources for maintaining routes.
Fig. 8 is a schematic diagram of a standby route determining apparatus of a dual mode communication system according to an embodiment of the present disclosure.
The embodiment of the present disclosure provides a standby route determining apparatus 800 of a dual mode communication system, referring to fig. 8, the standby route determining apparatus 800 of the dual mode communication system includes: a receiving module 810, a first determining module 820, a second determining module 830 and a third determining module 840.
Illustratively, the receiving module 810 is configured to receive node description information from a neighboring node.
Illustratively, the first determining module 820 is configured to determine a communication mode between the relay node and the neighboring node based on an information transmission manner of the node description information.
Illustratively, the second determining module 830 is configured to determine a standby node from the neighboring nodes based on the communication mode and the node description information.
Illustratively, the third determining module 840 is configured to determine a communication path between the relay node and the backup node as a backup route for the relay node.
It will be appreciated that, for a specific description of the standby route determining apparatus 800 of the dual mode communication system, reference may be made to the description of the standby route determining method of the dual mode communication system hereinabove, and the description thereof will not be repeated here.
Illustratively, the communication mode includes a wired communication mode; the second determining module 830 includes: a first determination sub-module and a second determination sub-module. A first determination sub-module for determining at least one candidate node from the neighboring nodes based on the node description information in response to determining that the communication mode is a wired communication mode; a second determination submodule for determining a standby node from the at least one candidate node.
Illustratively, the node description information includes first network level information, first attribute information, and first signal strength; the first network level information characterizes a network level to which the adjacent node belongs, the first attribute information characterizes that the node type of the adjacent node is a master node type, a relay node type or a slave node type, and the first signal strength characterizes the communication signal strength between the adjacent node and the relay node; each candidate node in the at least one candidate node and the relay node belong to the same network hierarchy, the node type of each candidate node in the at least one candidate node is a slave node type, and the first signal strength between each candidate node in the at least one candidate node and the relay node is greater than or equal to a first communication strength threshold, wherein the first communication strength threshold is a communication strength threshold corresponding to communication through a wired communication mode.
Illustratively, the communication mode includes a wireless communication mode; the node description information comprises second network level information and second signal strength, wherein the second network level information represents a network level to which the adjacent node belongs, and the second signal strength represents communication signal strength between the adjacent node and the relay node; wherein the second determining module 830 includes: and a third determining sub-module configured to determine, in response to determining that the communication mode is the wireless communication mode, a standby node from the neighboring nodes based on the second network level information and the second signal strength, wherein the network level of the standby node is higher than or equal to the network level of the relay node, and the second signal strength between the standby node and the relay node is higher than or equal to the second signal strength between other nodes than the standby node in the neighboring nodes and the relay node.
Fig. 9 is a schematic diagram of a data transmission device of a dual-mode communication system according to an embodiment of the present disclosure.
Referring to fig. 9, a data transmission apparatus 900 of a dual mode communication system is provided in the embodiments of the present disclosure, the data transmission apparatus 900 of the dual mode communication system includes: a switching module 910 and a transmission module 920.
Illustratively, the switching module 910 is configured to switch the communication route of the relay node from the primary route to the backup route in response to determining that an anomaly occurs in the primary route between the relay node and the initial node.
Illustratively, the transmitting module 920 is configured to transmit the data to be transmitted to the standby node through the standby route.
It is to be understood that, for the specific description of the data transmission apparatus 900 of the dual mode communication system, reference may be made to the description of the data transmission method of the dual mode communication system hereinabove, and the description thereof will not be repeated here.
The present description embodiment provides an electronic device comprising a memory storing a computer program and a processor implementing the steps of the method of any of the embodiments described above when the processor executes the computer program.
The present description embodiment provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the method of any of the above embodiments.
An embodiment of the present specification provides a computer program product comprising instructions which, when executed by a processor of a computer device, enable the computer device to perform the steps of the method of any one of the embodiments described above.
It should be noted that the logic and/or steps represented in the flowcharts or otherwise described herein, for example, may be considered as a ordered listing of executable instructions for implementing logical functions, and may be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium may even be paper or other suitable medium upon which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It should be understood that portions of this specification may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present specification. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
In the description of the present specification, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings are merely for convenience in describing the present specification and simplifying the description, and do not indicate or imply that the device or element being referred to must have a specific orientation, be configured and operated in a specific orientation, and therefore should not be construed as limiting the present specification.
Furthermore, the terms "first," "second," and the like, as used in the embodiments of the present specification, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or as implicitly indicating the number of technical features indicated in the embodiments. Thus, the definition of a term "first," "second," or the like in an embodiment of this specification can expressly or implicitly indicate that at least one such feature is included in the embodiment. In the description of the present specification, the word "plurality" means at least two or more, for example, two, three, four, etc., unless explicitly defined otherwise in the embodiments.
In this specification, unless clearly indicated or limited otherwise in the examples, the terms "mounted," "connected," and "fixed" as used in the examples are to be construed broadly, and for example, the connection may be a fixed connection, a removable connection, or an integral unit, and it is to be appreciated that the connection may also be a mechanical connection, an electrical connection, or the like; of course, it may be directly connected, or indirectly connected through an intermediate medium, or may be in communication with each other, or in interaction with each other. The specific meaning of the terms in this specification can be understood by those skilled in the art according to specific embodiments.
In this specification, unless expressly stated or limited otherwise, a first feature "up" or "down" a second feature may be the first and second features in direct contact, or the first and second features in indirect contact via an intervening medium. Moreover, a first feature being "above," "over" and "on" a second feature may be a first feature being directly above or obliquely above the second feature, or simply indicating that the first feature is level higher than the second feature. The first feature being "under", "below" and "beneath" the second feature may be the first feature being directly under or obliquely below the second feature, or simply indicating that the first feature is less level than the second feature.
Although embodiments of the present disclosure have been shown and described above, it should be understood that the above embodiments are illustrative and not to be construed as limiting the present disclosure, and that variations, modifications, alternatives, and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the present disclosure.
Claims (20)
1. A method for determining a standby route of a dual mode communication system, the method being applied to a relay node, the method comprising:
receiving node description information from adjacent nodes;
determining a communication mode between the relay node and the adjacent node based on the information transmission mode of the node description information;
determining a standby node from the neighboring nodes based on the communication mode and the node description information; and
and determining a communication path between the relay node and the standby node as a standby route for the relay node.
2. The method of claim 1, wherein the communication mode comprises a wired communication mode; the determining a standby node from the neighboring nodes based on the communication mode and the node description information includes:
In response to determining that the communication mode is the wired communication mode, determining at least one candidate node from the neighboring nodes based on the node description information; and
the standby node is determined from the at least one candidate node.
3. The method according to claim 2, characterized in that:
the node description information comprises first network level information, first attribute information and first signal strength;
the first network level information characterizes a network level to which the adjacent node belongs, the first attribute information characterizes that the node type of the adjacent node is a master node type, a relay node type or a slave node type, and the first signal strength characterizes the communication signal strength between the adjacent node and the relay node;
each candidate node in the at least one candidate node and the relay node belong to the same network hierarchy, the node type of each candidate node in the at least one candidate node is the slave node type, the first signal strength between each candidate node in the at least one candidate node and the relay node is greater than or equal to a first communication strength threshold, and the first communication strength threshold is a communication strength threshold corresponding to communication in the wired communication mode.
4. A method according to claim 3, wherein the first signal strength between each of the at least one candidate node and the relay node is greater than or equal to the first signal strength between other ones of the neighboring nodes than the at least one candidate node and the relay node, in the case where there is no node in the neighboring node that belongs to the same network hierarchy as the relay node, that is of the slave node type and that is of the first signal strength with the relay node is greater than or equal to a first communication strength threshold.
5. The method according to any of claims 2-4, wherein said determining the standby node from the at least one candidate node comprises at least one of:
determining each candidate node of the at least one candidate node as a standby node;
and determining partial candidate nodes from the at least one candidate node as standby nodes based on the number of other relay nodes which have determined the candidate nodes as standby nodes, wherein the number of other relay nodes corresponding to each partial candidate node is smaller than or equal to the number of other relay nodes corresponding to each remaining partial candidate node.
6. The method according to claim 1, characterized in that:
the communication mode includes a wireless communication mode;
the node description information comprises second network level information and second signal strength, wherein the second network level information characterizes a network level to which the adjacent node belongs, and the second signal strength characterizes communication signal strength between the adjacent node and the relay node;
wherein said determining a standby node from said neighboring nodes based on said communication mode and said node description information comprises:
in response to determining that the communication mode is the wireless communication mode, determining the standby node from the neighboring nodes based on the second network level information and the second signal strength, wherein a network level of the standby node is greater than or equal to a network level of the relay node, the second signal strength between the standby node and the relay node being greater than or equal to the second signal strength between other nodes of the neighboring nodes than the standby node and the relay node.
7. A method according to claim 3, wherein prior to receiving node description information from a neighboring node, the method further comprises:
Before the relay node and a main node are networked, the relay node is used as a node to be networked to send a request message for networking to the main node in response to receiving broadcast information from the main node;
after the node to be network-connected receives the network-connection confirmation message from the master node, the node to be network-connected carries out communication networking with the master node; and
and under the condition that the signal strength between the node to be networked and other nodes to be networked which are successfully networked meets the preset strength condition, the node to be networked is used as the relay node to be in communication networking with the other nodes to be networked.
8. The method according to claim 7, wherein:
when the network node to be accessed and the master node communicate through a wired communication mode, the network access confirmation message is sent by the master node when the signal strength between the network node to be accessed and the master node is greater than or equal to the first communication strength threshold;
and under the condition that the node to be accessed to the network communicates with the main node through a wireless communication mode, the access confirmation message is sent by the main node under the condition that the signal intensity between the node to be accessed to the network and the main node is more than or equal to a second communication intensity threshold value, wherein the second communication intensity threshold value is a communication intensity threshold value corresponding to the communication through the wireless communication mode.
9. The method according to claim 1, wherein the method further comprises:
and sending the information to be stored associated with the standby route to a main node for storage, so that the main node indicates the standby route to transmit data under the condition that the main route is abnormal.
10. The method of claim 1, wherein the dual mode communication system comprises a high speed power line carrier communication HPLC network and a wireless communication technology HRF network, wherein the wired communication mode comprises nodes communicating over the high speed power line carrier communication HPLC network, and wherein the wireless communication mode comprises nodes communicating over the wireless communication technology HRF network.
11. A data transmission method of a dual mode communication system, the method being applied to a relay node, the method comprising:
switching a communication route of the relay node from the primary route to a standby route in response to determining that an abnormality occurs in the primary route between the relay node and an initial node, wherein the standby route is determined using the method of any one of claims 1-10; and
and transmitting the data to be transmitted to the standby node through the standby route.
12. The method of claim 11, wherein the method further comprises:
after switching the communication route of the relay node from the primary route to the backup route, reducing a signal strength value of the relay node in response to determining that the backup route communicates through a wireless communication mode.
13. The method of claim 12, wherein the reducing the signal strength value of the relay node comprises:
and reducing the signal intensity value of the relay node by taking the second communication intensity threshold value as a reference, so that the reduced signal intensity value is not lower than the second communication intensity threshold value, wherein the second communication intensity threshold value is a communication intensity threshold value corresponding to the communication in the wireless communication mode.
14. An apparatus for determining a standby route for a dual mode communication system, the apparatus comprising:
the receiving module is used for receiving the node description information from the adjacent nodes;
the first determining module is used for determining a communication mode between the relay node and the adjacent node based on the information transmission mode of the node description information;
a second determining module configured to determine a standby node from the neighboring nodes based on the communication mode and the node description information; and
And a third determining module, configured to determine a communication path between the relay node and the standby node as a standby route for the relay node.
15. The apparatus of claim 14, wherein the communication mode comprises a wired communication mode; the second determining module includes:
a first determination sub-module for determining at least one candidate node from the neighboring nodes based on the node description information in response to determining that the communication mode is the wired communication mode; and
a second determination submodule for determining the standby node from the at least one candidate node.
16. The apparatus according to claim 15, wherein:
the node description information comprises first network level information, first attribute information and first signal strength;
the first network level information characterizes a network level to which the adjacent node belongs, the first attribute information characterizes that the node type of the adjacent node is a master node type, a relay node type or a slave node type, and the first signal strength characterizes the communication signal strength between the adjacent node and the relay node;
Each candidate node in the at least one candidate node and the relay node belong to the same network hierarchy, the node type of each candidate node in the at least one candidate node is the slave node type, the first signal strength between each candidate node in the at least one candidate node and the relay node is greater than or equal to a first communication strength threshold, and the first communication strength threshold is a communication strength threshold corresponding to communication in the wired communication mode.
17. The apparatus according to claim 14, wherein:
the communication mode includes a wireless communication mode;
the node description information comprises second network level information and second signal strength, wherein the second network level information characterizes a network level to which the adjacent node belongs, and the second signal strength characterizes communication signal strength between the adjacent node and the relay node;
wherein the second determining module includes:
and a third determining sub-module configured to determine, in response to determining that the communication mode is the wireless communication mode, the standby node from the neighboring nodes based on the second network level information and the second signal strength, wherein a network level of the standby node is higher than or equal to a network level of the relay node, and the second signal strength between the standby node and the relay node is higher than or equal to the second signal strength between other nodes than the standby node in the neighboring nodes and the relay node.
18. A data transmission apparatus of a dual mode communication system, the apparatus comprising:
a switching module for switching a communication route of the relay node from a primary route to a standby route in response to determining that the primary route between the relay node and an initial node is abnormal, wherein the standby route is determined using the apparatus of claim 14; and
and the transmission module is used for transmitting the data to be transmitted to the standby node through the standby route.
19. An electronic device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1-13 when executing the computer program.
20. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, realizes the steps of the method of any of claims 1-13.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310886441.5A CN116633850B (en) | 2023-07-19 | 2023-07-19 | Standby route determining method, data transmission method and device of dual-mode communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310886441.5A CN116633850B (en) | 2023-07-19 | 2023-07-19 | Standby route determining method, data transmission method and device of dual-mode communication system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116633850A true CN116633850A (en) | 2023-08-22 |
CN116633850B CN116633850B (en) | 2023-09-22 |
Family
ID=87621538
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310886441.5A Active CN116633850B (en) | 2023-07-19 | 2023-07-19 | Standby route determining method, data transmission method and device of dual-mode communication system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116633850B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116846814A (en) * | 2023-09-01 | 2023-10-03 | 北京智芯微电子科技有限公司 | Networking method, networking device, computer equipment, chip and readable storage medium |
CN117255012A (en) * | 2023-09-22 | 2023-12-19 | 国伟控股(北京)有限公司 | HPLC (high Performance liquid chromatography) and HRF (high performance liquid chromatography) based dual-mode communication fault processing method and system |
CN117478588A (en) * | 2023-10-30 | 2024-01-30 | 中国南方电网有限责任公司 | High-availability redundant route switching method and system |
CN117938578A (en) * | 2024-03-22 | 2024-04-26 | 北京智芯微电子科技有限公司 | Signal transmission method, signal transmission device, communication equipment, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1725872A (en) * | 2004-07-19 | 2006-01-25 | 华为技术有限公司 | A method for communicating with a dual-mode terminal |
CN111200858A (en) * | 2020-01-02 | 2020-05-26 | 珠海中慧微电子有限公司 | Networking scheme of dual-mode hybrid network based on broadband carrier and narrowband wireless |
CN111970741A (en) * | 2018-01-09 | 2020-11-20 | Oppo广东移动通信有限公司 | Relay routing method and communication node |
CN113015222A (en) * | 2021-02-25 | 2021-06-22 | 国网重庆市电力公司营销服务中心 | Relay node and communication mode selection method, communication transmission method and system |
US20220295544A1 (en) * | 2019-08-27 | 2022-09-15 | QUALCOMM lncorporated | Non-transparent inband relay node in a single frequency network |
-
2023
- 2023-07-19 CN CN202310886441.5A patent/CN116633850B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1725872A (en) * | 2004-07-19 | 2006-01-25 | 华为技术有限公司 | A method for communicating with a dual-mode terminal |
CN111970741A (en) * | 2018-01-09 | 2020-11-20 | Oppo广东移动通信有限公司 | Relay routing method and communication node |
US20220295544A1 (en) * | 2019-08-27 | 2022-09-15 | QUALCOMM lncorporated | Non-transparent inband relay node in a single frequency network |
CN111200858A (en) * | 2020-01-02 | 2020-05-26 | 珠海中慧微电子有限公司 | Networking scheme of dual-mode hybrid network based on broadband carrier and narrowband wireless |
CN113015222A (en) * | 2021-02-25 | 2021-06-22 | 国网重庆市电力公司营销服务中心 | Relay node and communication mode selection method, communication transmission method and system |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116846814A (en) * | 2023-09-01 | 2023-10-03 | 北京智芯微电子科技有限公司 | Networking method, networking device, computer equipment, chip and readable storage medium |
CN116846814B (en) * | 2023-09-01 | 2024-01-23 | 北京智芯微电子科技有限公司 | Networking method, networking device, computer equipment, chip and readable storage medium |
CN117255012A (en) * | 2023-09-22 | 2023-12-19 | 国伟控股(北京)有限公司 | HPLC (high Performance liquid chromatography) and HRF (high performance liquid chromatography) based dual-mode communication fault processing method and system |
CN117478588A (en) * | 2023-10-30 | 2024-01-30 | 中国南方电网有限责任公司 | High-availability redundant route switching method and system |
CN117938578A (en) * | 2024-03-22 | 2024-04-26 | 北京智芯微电子科技有限公司 | Signal transmission method, signal transmission device, communication equipment, electronic equipment and storage medium |
CN117938578B (en) * | 2024-03-22 | 2024-06-14 | 北京智芯微电子科技有限公司 | Signal transmission method, signal transmission device, communication equipment, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN116633850B (en) | 2023-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN116633850B (en) | Standby route determining method, data transmission method and device of dual-mode communication system | |
CN115225564B (en) | PLC and wireless heterogeneous network networking method | |
CN109818780B (en) | Low-voltage broadband power line carrier communication unit and networking method | |
KR101539069B1 (en) | Method and system for autonomous channel coordination for a wireless distribution system | |
KR100960705B1 (en) | System and method for channel selection management in wireless communication network | |
CN106664654B (en) | Method and apparatus for operating based on power saving mode in WLAN | |
EP2163116B1 (en) | Channel change decision mechanism and method for a wireless network | |
KR101430781B1 (en) | Frequency scan for communication network formation | |
JP5960837B2 (en) | Method and apparatus for changing peer discovery transmission frequency based on congestion in a peer-to-peer network | |
US11543442B2 (en) | Managing outage detections and reporting | |
JP2016502326A (en) | Method and apparatus for controlling operation state of base station in wireless communication system | |
EP2858455B1 (en) | Operating method of wireless access point device and wireless access point device | |
US20140204814A1 (en) | Power saving in wireless network entities | |
CN108540247B (en) | Spectrum sensing and information transmission method with energy collection in cognitive wireless network | |
US20160337873A1 (en) | Anchor assisted communication channel hopping | |
CN113644936B (en) | Three-phase parallel communication method of broadband carrier communication network | |
JP4311262B2 (en) | COMMUNICATION SYSTEM AND COMMUNICATION METHOD, COMMUNICATION DEVICE, COMMUNICATION CONTROL METHOD, AND COMPUTER PROGRAM | |
CN116887324B (en) | Detection method and device of HPLC (high performance liquid chromatography) and RF (radio frequency) dual-mode network, communication equipment and power system | |
CN110099409B (en) | Method and system for controlling client access by Mesh networking AP | |
CN114257987A (en) | A method, system and related components for wireless reconnection of rolling stock | |
CN116743541A (en) | Hybrid networking method and system for multimode communication and communication equipment | |
CN109413680B (en) | Self-healing method based on cognition and access point cooperation in ultra-dense network | |
WO2021049305A1 (en) | Wireless communication device and method | |
CN114884542A (en) | Communication mode selection method, base station, terminal, and storage medium | |
US12101181B2 (en) | Autonomous feedback for efficient allocation of wireless subcarriers |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |