CN115549824A - Accurate routing selection method and system applied to HPLC (high performance liquid chromatography) and RF (radio frequency) dual modes - Google Patents
Accurate routing selection method and system applied to HPLC (high performance liquid chromatography) and RF (radio frequency) dual modes Download PDFInfo
- Publication number
- CN115549824A CN115549824A CN202211507478.4A CN202211507478A CN115549824A CN 115549824 A CN115549824 A CN 115549824A CN 202211507478 A CN202211507478 A CN 202211507478A CN 115549824 A CN115549824 A CN 115549824A
- Authority
- CN
- China
- Prior art keywords
- value
- snr
- score
- wireless
- signal
- 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
- 230000009977 dual effect Effects 0.000 title claims abstract description 16
- 238000004128 high performance liquid chromatography Methods 0.000 title claims abstract 17
- 238000010187 selection method Methods 0.000 title description 5
- 230000006854 communication Effects 0.000 claims abstract description 83
- 238000004891 communication Methods 0.000 claims abstract description 83
- 238000000034 method Methods 0.000 claims abstract description 21
- 230000008859 change Effects 0.000 claims abstract description 10
- 238000011156 evaluation Methods 0.000 claims description 53
- 238000012545 processing Methods 0.000 claims description 27
- 238000013441 quality evaluation Methods 0.000 claims description 27
- 238000001303 quality assessment method Methods 0.000 claims description 18
- 229940102240 option 2 Drugs 0.000 claims description 12
- 238000004364 calculation method Methods 0.000 claims description 9
- 238000010606 normalization Methods 0.000 claims description 8
- 230000003247 decreasing effect Effects 0.000 claims description 3
- 238000012163 sequencing technique Methods 0.000 claims 1
- 238000004458 analytical method Methods 0.000 abstract description 2
- 230000005540 biological transmission Effects 0.000 description 4
- 230000007423 decrease Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000007547 defect Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000013139 quantization Methods 0.000 description 2
- 101100161473 Arabidopsis thaliana ABCB25 gene Proteins 0.000 description 1
- 101100243025 Arabidopsis thaliana PCO2 gene Proteins 0.000 description 1
- 101100243026 Arabidopsis thaliana PCO3 gene Proteins 0.000 description 1
- 101100395869 Escherichia coli sta3 gene Proteins 0.000 description 1
- 101100096893 Mus musculus Sult2a1 gene Proteins 0.000 description 1
- 101150081243 STA1 gene Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007175 bidirectional communication Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012886 linear function Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/309—Measuring or estimating channel quality parameters
- H04B17/318—Received signal strength
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/309—Measuring or estimating channel quality parameters
- H04B17/336—Signal-to-interference ratio [SIR] or carrier-to-interference ratio [CIR]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B3/00—Line transmission systems
- H04B3/54—Systems for transmission via power distribution lines
-
- 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/302—Route determination based on requested QoS
-
- 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/12—Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Power Engineering (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a method and a system for accurately selecting a route applied to an HPLC and RF dual mode. The method comprehensively considers the characteristics of two communication channel modes of wired HPLC and wireless RF, normalizes the wired and wireless performance indexes, adopts a multi-index multi-factor comprehensive analysis algorithm, and selects a proper routing agent node more accurately, thereby improving the success rate of adding the slave node into the network, improving the communication performance, and reducing the times of agent change so as to ensure that the system is more stable and reliable.
Description
Technical Field
The invention relates to the technical field of communication networks, in particular to a method and a system for accurately selecting a route applied to an HPLC and RF dual mode.
Background
High-speed Power line communication (HPLC) is a technology for data communication based on a Power line wired transmission medium, and has been widely used in the fields of automatic meter reading, lighting control, and the like due to its advantages of low construction cost, no need of rewiring, and the like. However, the single-mode-based HPLC communication often faces isolated island points of signals in the field of power systems, and when large power interference occurs, communication transmission performance is easily reduced or even interrupted, and the single-hop communication distance is short. The micro-power wireless communication (RF) technology is a wireless communication mode with low power consumption and flexible networking. The RF is introduced into the single-mode HPLC technology, so that the interference and noise in the power environment can be avoided, the defects of the single-mode HPLC can be effectively overcome, and the reliability of communication transmission can be improved. However, wireless signals can have certain blind areas, so that the dual-mode second-generation HPLC based on wired and wireless advantage complementation is generated, the advantages of two communication modes are fully exerted, the defects of the two communication modes are overcome, the low-power consumption and low cost are overcome, and a flexible, high-speed, stable and reliable dual-channel communication network is provided for power internet of things transmission.
The existing HPLC dual-mode schemes mainly comprise two schemes, one scheme is a scheme supporting a wired HPLC and a wireless RF dual-protocol stack, the dual stacks are respectively networked, RF is mainly used for reading data, and HPLC is used as an auxiliary; the other scheme is a wired HPLC and wireless RF dual-channel scheme only supporting an HPLC protocol, the HPLC protocol is used during data reading, the wired HPLC channel is used as the main channel, and the RF is used as the auxiliary channel. Currently widely adopted is a second scheme, a dual mode hybrid communication network of which is shown in fig. 2. The multi-level association tree network is formed by connecting all STA (Station) nodes with a CCO (Central Coordinator) as a center and a PCO (Proxy Coordinator) as a relay agent node. In the process of self-networking, each node selects a proper routing agent node to apply for joining the network according to the wired or wireless communication condition with the surrounding neighbor nodes. As can be seen from the figure, STA1, PCO2, PCO3, STA4, STA6 all join the network in the RF path, and the other nodes join the network in the HPLC path.
After the nodes are accessed to the network, the nodes can periodically send beacons and discovery list messages through HPLC and RF, and after the nodes which are not accessed to the network or accessed to the network receive the two messages for processing, the communication performance index of wired or wireless signals can be calculated. The quality of an HPLC link is generally evaluated by using a Signal-to-noise ratio (SNR) value, the RF is measured by using a Received Signal Strength Indicator (RSSI), and according to the performance parameters, which communication channel mode is used by a node and which node is used as a proxy node of the node are determined, namely, a wired or wireless upper and lower level routing relationship is established. However, the route establishment method evaluates the wired HPLC and the wireless RF respectively, and does not consider the two modes comprehensively, which easily causes the selected route to be not accurate enough, the success rate of communication after network access is not high, and the system stability is poor due to the fact that proxy change easily occurs.
Disclosure of Invention
In order to solve the technical problem, the invention provides a route precise selection method applied to a dual mode of HPLC and RF. In the system and the method, the characteristics of two communication channel modes of wired HPLC and wireless RF are comprehensively considered, wired and wireless performance indexes are normalized, a multi-index multi-factor comprehensive analysis algorithm is adopted, and a proper routing agent node is selected more accurately, so that the success rate of adding the routing agent node into a network is improved, the communication performance is improved, and the agent change times are reduced, so that the system is more stable and reliable.
In order to achieve the purpose, the technical scheme of the invention is as follows:
the accurate routing selection method applied to the HPLC and RF dual modes comprises the following steps:
001, assigning 0 to a channel quality evaluation score of the current slave node, judging whether the current slave node is accessed to the network, if so, entering step 101, and if not, entering step 201;
step 101, receiving a data message on an HPLC link or a wireless RF channel from a node, wherein the data message comprises a beacon frame and a discovery list message;
step 102, processing the data message on the receiving HPLC link to obtain a receiving gain Rgain and a wired signal-to-noise ratio SNR value after processing, and entering step 103;
or processing the data message on the received wireless RF channel to obtain the received signal strength indication RSSI and the wireless signal-to-noise ratio SNR value, and entering step 104;
103, judging whether the receiving gain Rgain is less than or equal to a receiving gain Rgain threshold value or not, and whether the signal-to-noise ratio (SNR) value of the wired signal is greater than or equal to an SNR threshold value or not, if so, entering a step 106, and if not, entering a step 105;
step 104, judging whether the RSSI value is greater than or equal to the RSSI threshold value and whether the signal-to-noise ratio (SNR) value of the wireless signal is greater than or equal to the SNR threshold value, if so, entering step 106, otherwise, entering step 105;
step 105, the channel quality evaluation score is directly equal to the signal-to-noise ratio (SNR) value of the wired signal or the signal-to-noise ratio (SNR) value of the wireless signal, and the step 301 is entered;
106, the slave node obtains a bandwidth BW evaluation score according to the current wireless modulation mode Option and the type of the wired or wireless message;
step 107, dividing the SNR value of the wired signal and the SNR value of the wireless signal into grades, wherein each grade corresponds to an SNR evaluation score, so as to obtain the SNR evaluation score;
step 108, normalization processing, namely converting the wired Rgain and the wireless RSSI index into a received signal energy indication RSEI, so as to obtain an RSEI evaluation score;
step 109, according to the situation of receiving the neighbor node information, calculating a channel quality evaluation score by integrating the neighbor node level, whether the neighbor node is a proxy node, BW score, SNR score and RSEI score, and entering step 301;
step 201, receiving a data message on an HPLC link or a wireless RF channel from a node, where the data message includes a beacon frame and a discovery list message;
step 202, according to the received data message, obtaining the communication success rate and the wired or wireless SNR value between the data message and the neighbor node;
step 203, grading the communication success Rate and the SNR value respectively to obtain a communication Rate evaluation score and an SNR evaluation score;
step 204, integrating factors such as the level of a neighbor node, whether the neighbor node is a self proxy node, whether the neighbor node is a proxy node, whether the neighbor node is an RF message, communication success Rate score and SNR score, and calculating channel quality evaluation score;
step 301, sorting the channel quality assessment scores from large to small, and selecting the neighbor node with the largest channel quality assessment score as its own routing agent node.
Preferably, the receive gain Rgain is an adjusted receive gain value output by an automatic gain control circuit in the chip when adjusting the amplitude of the output signal, and the SNR value of the wired signal is a signal-to-noise ratio on the available carrier obtained by calculating the ratio of the signal to the noise power on the carrier in the frequency domain through the preamble sequence;
the RSSI is a received signal strength indication value calculated based on each packet, and is used for representing the received signal power of the front end of the receiver, and the calculation formula is as follows:
wherein,Pfor the received signal power, the power in mw,represents the value 1, in mw,RSSIunit of (d) is dBm; the SNR index of the wireless signal is based on that each packet calculates a SNR and represents the ratio of the received signal power and the noise power.
Preferably, the receive gain Rgain threshold is set to a value between 60 and 80 dB; the SNR threshold value is set to a value between 0 and 5 dB; the RSSI threshold value is set to a value between-80 dBm and-60 dBm.
Preferably, the slave node obtains the bandwidth BW estimation score according to the current wireless modulation mode Option and the wired or wireless packet type, and specifically includes the following steps:
the wireless modulation mode Option comprises an Option1 mode, an Option2 mode and an Option3 mode, and the bandwidths corresponding to the Option1 mode, the Option2 mode and the Option3 mode are sequentially decreased;
determining the type of wired or wireless messages currently received from the node, if the type of wired messages is the type of wired messages, the Option1 mode corresponds to a bandwidth BW assessment score A1, the Option2 mode corresponds to a bandwidth BW assessment score A2, and the Option3 mode corresponds to a bandwidth BW assessment score A3; if the type of the wireless message is the Option1 mode, the evaluation value B1 of the bandwidth BW is corresponding to the Option2 mode, the evaluation value B2 of the bandwidth BW is corresponding to the Option2 mode, and the evaluation value B3 of the bandwidth BW is corresponding to the Option3 mode, wherein A3 is more than A2 is more than A1 is more than B2 is more than B3, 30 is more than or equal to A1 and more than 25, 40 is more than or equal to A2 and more than or equal to 30, 50 is more than or equal to A3 and more than or equal to 35, 20 is more than or equal to B1 and more than or equal to 10, 15 is more than or equal to B2 and more than or equal to 5, and 10 is more than or equal to B3 and more than or equal to 0.
Preferably, the step of classifying the SNR value of the wired signal and the SNR value of the wireless signal into grades, and the SNR evaluation score corresponding to each grade specifically includes the following steps:
dividing SNR values into 6 intervals in advance, sequentially increasing the range of the SNR values in the 6 intervals, and sequentially corresponding the SNR score values to be 1, 2, 3, 4, 5 and 6 in the 6 intervals to generate an SNR value score table;
and extracting a signal-to-noise ratio (SNR) value of the wired signal or a signal-to-noise ratio (SNR) value of the wireless signal, and searching an SNR evaluation score corresponding to the SNR value of the wired signal or the SNR value of the wireless signal in an SNR value evaluation table.
Preferably, in the step 109, the channel quality assessment score is calculatedThe calculation formula of (c) is:
wherein,scoring an assessment score for bandwidth; sThe score is an evaluation score of the SNR;judging whether the neighbor node is a proxy node, if so, setting the value as 1, otherwise, setting the value as 0;is the hierarchy of neighboring nodes.
Preferably, the communication success rate is obtained by comprehensive calculation according to the number of received beacon frames and the discovery list message, and can embody a quantization standard for communication performance with other nodes.
Preferably, the step of grading the communication success Rate value to obtain the communication Rate evaluation score includes the following steps:
dividing a communication success Rate value into 3 intervals in advance, sequentially increasing the range of the Rate value in the 3 intervals, and sequentially corresponding the 3 intervals to Rate score values of C1, C2 and C3, wherein C3 is more than C2 and more than C1, 20 is more than or equal to C1 and more than or equal to 15, 40 is more than or equal to C2 and more than or equal to 30, 60 is more than or equal to C3 and more than or equal to 45 to generate a communication Rate evaluation table;
and extracting a communication success Rate value, and searching a communication Rate evaluation value corresponding to the communication success Rate value in a communication Rate evaluation table.
Preferably, in the step 204, the channel quality assessment score is calculatedThe calculation formula of (c) is:
wherein S isThe score is an evaluation score of SNR;the score is an evaluation score of the communication success rate;judging whether the neighbor node is the own proxy node or not, if so, setting the value as 1, otherwise, setting the value as 0;judging whether the neighbor node is a proxy node, if so, setting the value as 1, otherwise, setting the value as 0;judging whether the received message is a wireless message, if so, setting the value to be 1, otherwise, setting the value to be 0;is the hierarchy of neighboring nodes.
Based on the above, the invention also discloses a precise routing selection system applied to both HPLC and RF modes, comprising a data receiving module, a data processing module, a channel quality evaluation module and a routing selection module, wherein,
the data receiving module is used for receiving a data message on an HPLC link or a wireless RF channel through a physical layer, wherein the data message comprises a beacon frame and a discovery list message, and the received data message is sent to the data processing module for processing;
the data processing module is used for analyzing and processing the received data message and obtaining the performance indexes of wired and wireless signals according to the message received on the wired medium and the wireless channel;
the channel quality evaluation module is used for comprehensively considering the hierarchy of the neighbor node, whether the neighbor node belongs to a proxy node PCO, whether the message is an RF message, a bandwidth BW score value, a signal-to-noise ratio (SNR) score value, a Received Signal Energy Indication (RSEI) and a communication success Rate score value factor, and evaluating the channel quality so as to select an optimal communication channel mode and a routing proxy node;
and the routing selection module is used for selecting the neighbor node with the maximum channel quality evaluation score as the routing proxy node of the routing selection module according to the result obtained by the channel quality evaluation module and trying to initiate a request for applying for network joining or proxy change to the proxy node.
Based on the technical scheme, the invention has the beneficial effects that:
1) The invention innovatively applies the indexes such as receiving gain, SNR, received signal strength indication, bandwidth and the like to the channel quality evaluation algorithm, thereby improving the accuracy of channel quality evaluation;
2) According to the communication characteristics of the wired HPLC and the wireless RF modes, the performance indexes of respective signals are comprehensively measured, the wired indexes and the wireless indexes are normalized into a unified index, the influence of redundant variables is reduced as much as possible, and the characteristic that two communication media of the wired mode and the wireless mode coexist is fully exerted;
3) The accurate routing selection method applied to the dual-mode can select a proper route more accurately, thereby improving the success rate of adding the route into a network, improving the communication performance, reducing the times of proxy change and enabling the system to be more stable and reliable.
Drawings
FIG. 1 is a flow diagram of a method for precise routing for dual modes of HPLC and RF in one embodiment;
FIG. 2 is a schematic diagram of a basic network topology for both HPLC and RF modes;
fig. 3 is a schematic structural diagram of a precise routing method applied to dual modes of HPLC and RF in one embodiment.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
As shown in fig. 1 and 2, the present embodiment provides a method for accurately selecting a route applied to dual modes of HPLC and RF, the method including the following steps:
and 001, assigning 0 to the channel quality evaluation score of the current slave node, judging whether the current slave node is connected to the network, if so, entering the step 101, otherwise, entering the step 201.
In this embodiment, steps 101 to 109 are applied to the route accurate selection phase of the slave node before network entry, and steps 201 to 204 are applied to the route accurate selection phase of the slave node when the proxy is changed.
Step 101, receiving a data message on an HPLC link or a wireless RF channel from a node, wherein the data message comprises a beacon frame and a discovery list message;
in this embodiment, the beacon frame is a management message for a specific purpose, where all the nodes that have accessed the network in the network carry network management and maintenance information. The discovery list is a management message which is periodically broadcast and sent by all nodes in the communication network and carries neighbor site list information. The two messages are mainly used for sensing surrounding neighbor nodes and acquiring performance indexes such as bidirectional communication rate, signal strength, signal to noise ratio and the like of the neighbor nodes so that a station can select a more appropriate relay agent or a backup routing node.
Step 102, processing the data message on the receiving HPLC link to obtain a receiving gain Rgain and a wired signal-to-noise ratio SNR value after processing, and entering step 103;
or processing the data message on the received wireless RF channel to obtain the received signal strength indication RSSI and the wireless signal SNR value, and then entering step 104.
In this embodiment, the performance indicators of the wired and wireless signals are described as follows:
the cable signal performance index mainly comprises a signal-to-noise ratio (SNR) value and a receiving gain (Receive gain) value. The wireless signal performance indicators include signal-to-noise ratio (SNR) values and Received Signal Strength Indication (RSSI) values. The receiving gain Rgain is a performance index for measuring the size of the coverage area of the HPLC signal, and the smaller the value is, the larger the coverage area is, the more concentrated the coverage signal is, the stronger the receiving performance is. The signal-to-noise ratio, SNR, is the ratio of signal power to noise power characterizing a received wired or wireless signal. The RSSI is used for representing the received signal power of the front end of the wireless receiver, and the larger the value, the better the signal of the wireless network.
The receive gain Rgain is an adjusted receive gain value output by the automatic gain control circuit in the chip when adjusting the amplitude of the output signal.
The wired signal-to-noise ratio SNR value is the signal-to-noise ratio on the available carrier wave obtained by calculating the ratio of the signal to the noise power on the carrier wave on the frequency domain through the leader sequence.
The RSSI is a received signal strength indicator value calculated based on each packet, and is used for representing the received signal power of the front end of the receiver, and the calculation formula is as follows:
The SNR index of the wireless signal is used for calculating a SNR based on each packet and representing the ratio of the received signal power to the noise power.
Step 103, judging whether the receiving gain Rgain is less than or equal to the receiving gain Rgain threshold value and whether the wired signal-to-noise ratio SNR value is greater than or equal to the SNR threshold value, if so, entering step 106, and if not, entering step 105.
In the present embodiment, the reception gain threshold is the maximum value of the reception gain, and is set to 80dB in the present embodiment. The SNR threshold is the minimum value of SNR and is set to 0dB in this embodiment.
Step 104, judging whether the RSSI value is greater than or equal to the RSSI threshold value and whether the signal-to-noise ratio (SNR) value of the wireless signal is greater than or equal to the SNR threshold value, if so, entering step 106, otherwise, entering step 105;
in this embodiment, the RSSI threshold is the minimum value of RSSI, and is set to-80 dBm in this embodiment. The SNR threshold is the minimum value of SNR, and is set to 0dB in this embodiment.
Step 105, the channel quality evaluation score is directly equal to the signal-to-noise ratio (SNR) value of the wired signal or the signal-to-noise ratio (SNR) value of the wireless signal, and the step 301 is entered;
in this embodiment, when the performance index condition is not satisfied, the channel quality estimation score is equal to the SNR value, mainly because the SNR can accurately reflect the strength of the received signal, and the SNR can satisfy the single variable principle as the performance index adopted for both wired and wireless.
The formula for the channel quality assessment score weight at this stage is:
and 106, obtaining a bandwidth BW evaluation score by the slave node according to the current wireless modulation mode Option and the type of the wired or wireless message.
In this embodiment, the wireless debug mode Option is three modes of a wireless OFDM symbol specified in the HPLC dual-mode protocol, where Option1 corresponds to a 1M bandwidth, option2 corresponds to a 500K bandwidth, and Option3 corresponds to a 200K bandwidth. The HPLC wired frequency range is 0.7-12 MHz, including four different frequency bands. The difference of the cable bandwidth is not large, the interference is large when the bandwidth is high, and the difference of the cable speed on each frequency band is not large, so that the condition of each frequency band of the cable does not influence the bandwidth evaluation score. The difference of the wireless three kinds of Option bandwidth ranges is large, the larger the communication bandwidth is, the larger the information quantity carried by the wireless three kinds of Option bandwidth ranges is, and the faster the communication speed is in a certain bandwidth range of RF, so that the Option can be used as an important factor of bandwidth evaluation scores, and the influence of the bandwidth on the signal performance can be reflected to a certain degree.
As shown in table 1, when the node receives the message of the neighbor node as a wired message and is in Option1 wirelessly, the bandwidth score is 30. When the node receives the message of the neighbor node as a wireless message and the node is in Option2 wirelessly, the bandwidth score is 15. When the received message is a wired message, the smaller the wireless bandwidth is, which indicates that the probability of selecting the wired HPLC communication mode should be increased, and therefore the bandwidth score increases as the wireless bandwidth decreases. When the received message is a wireless message, the smaller the wireless bandwidth is, the smaller the communication rate is, and the wireless signal with the smaller bandwidth should be decreased, so that the bandwidth score decreases with the decrease of the wireless bandwidth. From the longitudinal comparison, when the wireless is in the Option1 modulation mode, the difference between the wired and wireless rates is not too large relative to the Option3, so the difference of the bandwidth scores of the wired and wireless messages is small.
TABLE 1 Bandwidth rating Table
Step 107, dividing the SNR value of the wired signal and the SNR value of the wireless signal into grades, wherein each grade corresponds to an SNR evaluation score, thereby obtaining the SNR evaluation score;
in this embodiment, the SNR values are classified into classes, and each class corresponds to one SNR evaluation score, so as to obtain an SNR score, which is an important parameter for channel quality evaluation. SNR value rankings are shown in table 2;
TABLE 2 SNR value scoring Table
Step 108, normalization processing, namely converting the wired Rgain and wireless RSSI indexes into a Received Signal Energy Indicator (RSEI), thereby obtaining an RSEI evaluation score;
in this embodiment, a linear function normalization is employed to linearly change the original data, so that the result is mapped to the range of [0,1 ]. The invention expands the result by 6 times in an equal ratio, and maps the numerical value in a range of [0,6 ].
Wherein,as a result of the normalization of the raw data,as a result of the original data, it is,is the minimum value of the data and,is the maximum value of the data.
The data range of the reception gain Rgain in this embodiment is generally [ -10,80], and specifically, when the value is smaller than-10, the normalized result RESI is the maximum value. Because the larger the receiving gain value is, the smaller the receiving performance is, the maximum value of the receiving gain of the invention is-10, the minimum value is 80, and the normalization formula is:
the data range of the RSSI in this embodiment is typically [ -80,0], and specifically, when the value is 0, the normalization result is the maximum value. The larger the value of the received signal strength indication, the better the signal of the wireless network. Therefore, the RSSI minimum value of the invention is-80, the maximum value is 0, and the normalization formula is as follows:
step 109, according to the situation of receiving the neighbor node information, integrating the neighbor node hierarchy, whether the neighbor node is a proxy node, BW score, SNR score, and RSEI score factors, calculating a channel quality evaluation score, and entering step 301;
in this embodiment, the neighboring node level is used as a factor that affects the channel quality assessment score, because the higher the node level is, the more times the communication packet needs to be forwarded, which easily causes communication performance to decrease, and communication delay to increase, so that a routing node with a lower level is selected as much as possible during routing. Whether the proxy node is used as a factor influencing the channel quality assessment score is to consider that the proxy node needs to be arranged in each beacon period when the HPLC beacon time slot is arranged, and because the length of the beacon period is limited, the number of the proxy nodes cannot be too large, so that the node which is already the proxy node is selected as much as possible when the routing is carried out.
The formula of the channel quality assessment score weight of the slave node before network access is as follows:
wherein,scoring an assessment score for bandwidth; s. theThe score is an evaluation score of the SNR;judging whether the neighbor node is a proxy node, if so, setting the value as 1, otherwise, setting the value as 0;is the hierarchy of neighboring nodes.
Step 201, receiving a data message on an HPLC link or a wireless RF channel from a node, where the data message includes a beacon frame and a discovery list message;
step 202, according to the received data message, obtaining the communication success rate and the wired or wireless SNR value between the data message and the neighbor node;
in this embodiment, the communication success rate is obtained by performing comprehensive calculation according to the number of received beacon frames and the discovery list message after the node operates in the network for a period of time, and is a quantization standard capable of embodying the performance of communicating with other nodes.
And step 203, grading the communication success Rate and the SNR value respectively to obtain a communication Rate evaluation value and an SNR evaluation value.
In this embodiment, the SNR values are classified into classes, each class corresponds to one SNR evaluation score, so as to obtain SNR scores, and the SNR value classes are classified as shown in table 2 below;
the communication success Rate value is divided into grades, each grade corresponds to a communication success Rate evaluation score, and therefore a communication success Rate score is obtained, and the communication success Rate score is used for evaluating the communication success Rate performance between the node and the neighbor node after the node is accessed to the network. The communication success rate rankings are shown in table 3;
table 3 communication rate evaluation table
And 204, calculating channel quality evaluation scores by integrating factors such as the levels of neighbor nodes, whether the neighbor nodes are self proxy nodes, whether the neighbor nodes are RF messages, communication success Rate scores, SNR scores and the like.
In this embodiment, whether the own proxy node is used as a factor affecting the channel quality assessment score is to reduce the probability of changing the proxy node and enhance the stability of the system. Whether it is an RF packet is the factor that affects the channel quality assessment score is because the wired rate is higher than the wireless rate, and therefore the wired HPLC channel is preferred as the best mode of routing.
The formula of the channel quality assessment score weight of the slave node during the proxy change is as follows:
wherein S isThe score isSNRThe evaluation score of (a);the score is an evaluation score of the communication success rate;judging whether the neighbor node is the own proxy node or not, if so, setting the value as 1, otherwise, setting the value as 0;judging whether the neighbor node is a proxy node, if so, setting the value as 1, otherwise, setting the value as 0;judging whether the received message is a wireless message, if so, setting the value as 1, otherwise, setting the value as 0;is the hierarchy of neighboring nodes.
Step 301, sorting the channel quality assessment scores from large to small, and selecting the neighbor node with the largest channel quality assessment score as its own routing agent node.
Step 302, an attempt is made to initiate a request to a routing agent node to apply for joining a network or change an agent.
As shown in fig. 3, in one embodiment, a routing refinement system 100 for dual-mode HPLC and RF applications is provided, comprising a data receiving module 110, a data processing module 120, a channel quality assessment module 130, and a routing module 140, wherein,
the data receiving module 110 is configured to receive a data packet on an HPLC link or a wireless RF channel through a physical layer, where the data packet includes a beacon frame and a discovery list packet, and send the received data packet to a data processing module for processing;
the data processing module 120 is configured to analyze and process the received data packet, and obtain performance indexes of wired and wireless signals according to the packet received on the wired medium and the wireless channel;
the channel quality assessment module 130 is configured to comprehensively consider the hierarchy of the neighbor node, whether the neighbor node belongs to a proxy node PCO, whether a packet is an RF packet, a bandwidth BW score, a signal-to-noise ratio SNR score, a received signal energy indication RSEI, and a communication success Rate score, and assess the channel quality, so as to select an optimal communication channel mode and a routing proxy node;
the routing selection module 140 is configured to select, according to the result obtained by the channel quality evaluation module, a neighbor node with the largest channel quality evaluation score as a routing proxy node of the neighbor node, and attempt to initiate a request for applying to join a network or change a proxy to the proxy node.
The above description is only a preferred embodiment of the disclosed method and system for selecting a route accurately for both HPLC and RF modes, and is not intended to limit the scope of the embodiments of the present disclosure. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the embodiments of the present disclosure should be included in the protection scope of the embodiments of the present disclosure.
Claims (10)
1. The method for accurately selecting the route applied to the HPLC and RF dual modes is characterized by comprising the following steps of:
001, assigning 0 to the channel quality evaluation score of the current slave node, judging whether the current slave node is connected to the network, if so, entering the step 101, otherwise, entering the step 201;
step 101, receiving a data message on an HPLC link or a wireless RF channel from a node, wherein the data message comprises a beacon frame and a discovery list message;
step 102, processing the data message on the receiving HPLC link to obtain a receiving gain Rgain and a wired signal-to-noise ratio SNR value after processing, and entering step 103;
or processing the data message on the received wireless RF channel to obtain the received signal strength indication RSSI and the wireless signal-to-noise ratio SNR value, and entering step 104;
step 103, judging whether the receiving gain Rgain is less than or equal to a receiving gain Rgain threshold value or not, and whether the signal-to-noise ratio (SNR) value of the wired signal is greater than or equal to an SNR threshold value or not, if so, entering step 106, and if not, entering step 105;
step 104, judging whether the RSSI value is greater than or equal to the RSSI threshold value and whether the signal-to-noise ratio (SNR) value of the wireless signal is greater than or equal to the SNR threshold value, if so, entering step 106, otherwise, entering step 105;
step 105, the channel quality evaluation score is directly equal to the signal-to-noise ratio (SNR) value of the wired signal or the signal-to-noise ratio (SNR) value of the wireless signal, and the step 301 is entered;
106, the slave node obtains a bandwidth BW evaluation score according to the current wireless modulation mode Option and the type of the wired or wireless message;
step 107, dividing the SNR value of the wired signal and the SNR value of the wireless signal into grades, wherein each grade corresponds to an SNR evaluation score, so as to obtain the SNR evaluation score;
step 108, normalization processing, namely converting the wired Rgain and the wireless RSSI index into a received signal energy indication RSEI, so as to obtain an RSEI evaluation score;
step 109, according to the situation of receiving the neighbor node information, calculating a channel quality evaluation score by integrating the neighbor node level, whether the neighbor node is a proxy node, BW score, SNR score and RSEI score, and entering step 301;
step 201, receiving a data message on an HPLC link or a wireless RF channel from a node, where the data message includes a beacon frame and a discovery list message;
step 202, according to the received data message, obtaining the communication success rate and the wired or wireless SNR value between the data message and the neighbor node;
step 203, grading the communication success Rate and the SNR value respectively to obtain a communication Rate evaluation score and an SNR evaluation score;
step 204, integrating factors such as the level of a neighbor node, whether the neighbor node is a self proxy node, whether the neighbor node is a proxy node, whether the neighbor node is an RF message, communication success Rate score and SNR score, and calculating channel quality evaluation score;
and 301, sequencing the channel quality evaluation scores from large to small, and selecting the neighbor node with the largest channel quality evaluation score as the routing proxy node of the neighbor node.
2. The method for accurately selecting a route for both HPLC and RF applications as claimed in claim 1, wherein said receive gain Rgain is an adjusted receive gain value outputted by an on-chip automatic gain control circuit when adjusting the amplitude of the output signal, and said wire signal-to-noise ratio SNR value is a signal-to-noise ratio on the available carrier obtained by calculating the ratio of signal-to-noise power on the carrier in the frequency domain through a preamble sequence;
the RSSI is a received signal strength indicator value calculated based on each packet, and is used for representing the received signal power of the front end of the receiver, and the calculation formula is as follows:
3. The method for fine routing with dual modes of HPLC and RF as defined in claim 1 wherein said receive gain Rgain threshold is set to a value between 60-80 dB; the SNR threshold value is set to a value between 0 and 5 dB; the RSSI threshold is set to a value between-80 and-60 dBm.
4. The method for accurately selecting the routing applied to both HPLC and RF modes according to claim 1, wherein the slave node obtains the bandwidth BW estimation score according to the current wireless modulation mode Option and the wired or wireless packet type, specifically comprising the steps of:
the wireless modulation mode Option comprises an Option1 mode, an Option2 mode and an Option3 mode, and the bandwidths corresponding to the Option1 mode, the Option2 mode and the Option3 mode are sequentially decreased;
determining the type of wired or wireless messages currently received from the node, if the type of wired messages is the type of wired messages, the Option1 mode corresponds to a bandwidth BW assessment score A1, the Option2 mode corresponds to a bandwidth BW assessment score A2, and the Option3 mode corresponds to a bandwidth BW assessment score A3; if the type of the wireless message is the Option1 mode, the evaluation value B1 of the bandwidth BW is corresponding to the Option2 mode, the evaluation value B2 of the bandwidth BW is corresponding to the Option2 mode, and the evaluation value B3 of the bandwidth BW is corresponding to the Option3 mode, wherein A3 is more than A2 is more than A1 is more than B2 is more than B3, 30 is more than or equal to A1 and more than 25, 40 is more than or equal to A2 and more than or equal to 30, 50 is more than or equal to A3 and more than or equal to 35, 20 is more than or equal to B1 and more than or equal to 10, 15 is more than or equal to B2 and more than or equal to 5, and 10 is more than or equal to B3 and more than or equal to 0.
5. The method for accurately selecting a route for both HPLC and RF applications as claimed in claim 1, wherein said classifying the SNR values of the wired signal and the wireless signal into classes, each class corresponding to an SNR evaluation score, comprises the steps of:
dividing SNR values into 6 intervals in advance, sequentially increasing the range of the SNR values in the 6 intervals, and sequentially corresponding the SNR score values to be 1, 2, 3, 4, 5 and 6 in the 6 intervals to generate an SNR value score table;
and extracting a wired signal-to-noise ratio (SNR) value or a wireless signal SNR value, and searching an SNR evaluation score corresponding to the wired signal SNR value or the wireless signal SNR value in an SNR value evaluation table.
6. The method for accurate routing for dual modes of HPLC and RF as claimed in claim 1, wherein said channel quality assessment score in step 109 is determined by said step of selecting a channel quality assessment scoreThe calculation formula of (c) is:
7. The method of claim 1, wherein the communication success rate is computed based on the number of received beacon frames and the discovery list packet, and is a quantitative criterion for communication performance with other nodes.
8. The method for accurately selecting a route according to claim 7 applied to both HPLC and RF modes, wherein the step of ranking the communication success Rate values to obtain communication Rate evaluation scores comprises the steps of:
dividing a communication success Rate value into 3 intervals in advance, sequentially increasing the range of the Rate value in the 3 intervals, and sequentially corresponding the 3 intervals to Rate score values of C1, C2 and C3, wherein C3 is more than C2 and more than C1, 20 is more than or equal to C1 and more than or equal to 15, 40 is more than or equal to C2 and more than or equal to 30, 60 is more than or equal to C3 and more than or equal to 45 to generate a communication Rate evaluation table;
and extracting a communication success Rate value, and searching a communication Rate evaluation score corresponding to the communication success Rate value in a communication Rate evaluation table.
9. The method for fine routing with dual modes of HPLC and RF as claimed in claim 1, wherein said step 204 comprises said channel quality assessment scoreThe calculation formula of (2) is as follows:
wherein S isThe score is an evaluation score of the SNR;the score is an evaluation score of the communication success rate;judging whether the neighbor node is the own proxy node or not, if soThe time value of the agent node is 1, otherwise, the time value is 0;judging whether the neighbor node is a proxy node, if so, setting the value as 1, otherwise, setting the value as 0;judging whether the received message is a wireless message, if so, setting the value to be 1, otherwise, setting the value to be 0;is the hierarchy of neighboring nodes.
10. The routing precision selection system applied to the HPLC and RF dual modes is characterized by comprising a data receiving module, a data processing module, a channel quality evaluation module and a routing module, wherein,
the data receiving module is used for receiving a data message on an HPLC link or a wireless RF channel through a physical layer, wherein the data message comprises a beacon frame and a discovery list message, and the received data message is sent to the data processing module for processing;
the data processing module is used for analyzing and processing the received data message and obtaining the performance indexes of wired and wireless signals according to the message received on the wired medium and the wireless channel;
the channel quality evaluation module is used for comprehensively considering the hierarchy of the neighbor node, whether the neighbor node belongs to a proxy node PCO, whether the message is an RF message, a bandwidth BW score value, a signal-to-noise ratio (SNR) score value, a Received Signal Energy Indication (RSEI) and a communication success Rate score value factor, and evaluating the channel quality so as to select an optimal communication channel mode and a routing proxy node;
and the routing selection module is used for selecting the neighbor node with the maximum channel quality evaluation score as the routing proxy node of the routing selection module according to the result obtained by the channel quality evaluation module and trying to initiate a request for applying for network joining or proxy change to the proxy node.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211507478.4A CN115549824B (en) | 2022-11-29 | 2022-11-29 | Accurate routing selection method and system applied to HPLC and RF dual modes |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211507478.4A CN115549824B (en) | 2022-11-29 | 2022-11-29 | Accurate routing selection method and system applied to HPLC and RF dual modes |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115549824A true CN115549824A (en) | 2022-12-30 |
CN115549824B CN115549824B (en) | 2023-04-07 |
Family
ID=84722229
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211507478.4A Active CN115549824B (en) | 2022-11-29 | 2022-11-29 | Accurate routing selection method and system applied to HPLC and RF dual modes |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115549824B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116054977A (en) * | 2023-01-29 | 2023-05-02 | 浙江万胜智能科技股份有限公司 | Wireless communication quality evaluation analysis method and system based on dual-mode module |
CN116506075A (en) * | 2023-06-26 | 2023-07-28 | 北京思凌科半导体技术有限公司 | Data transmission method, data reception method, data transmission system, and storage medium |
CN116743541A (en) * | 2023-08-09 | 2023-09-12 | 北京智芯微电子科技有限公司 | Hybrid networking method and system for multimode communication and communication equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2798948A1 (en) * | 2010-05-21 | 2011-11-24 | Telecommunications Research Laboratories | System and method for providing a wireless/power-line diversity communications channel |
WO2016022579A2 (en) * | 2014-08-05 | 2016-02-11 | Massachusetts Institute Of Technology | Design of a free-space optical communication module for small satellites |
CN108924045A (en) * | 2018-09-27 | 2018-11-30 | 深圳友讯达科技股份有限公司 | Dual-mode communications network channel balancing method and system |
CN114615706A (en) * | 2022-03-18 | 2022-06-10 | 重庆邮电大学 | Method for increasing communication capacity of micropower wireless network in smart power grid |
-
2022
- 2022-11-29 CN CN202211507478.4A patent/CN115549824B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2798948A1 (en) * | 2010-05-21 | 2011-11-24 | Telecommunications Research Laboratories | System and method for providing a wireless/power-line diversity communications channel |
WO2016022579A2 (en) * | 2014-08-05 | 2016-02-11 | Massachusetts Institute Of Technology | Design of a free-space optical communication module for small satellites |
CN108924045A (en) * | 2018-09-27 | 2018-11-30 | 深圳友讯达科技股份有限公司 | Dual-mode communications network channel balancing method and system |
CN114615706A (en) * | 2022-03-18 | 2022-06-10 | 重庆邮电大学 | Method for increasing communication capacity of micropower wireless network in smart power grid |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116054977A (en) * | 2023-01-29 | 2023-05-02 | 浙江万胜智能科技股份有限公司 | Wireless communication quality evaluation analysis method and system based on dual-mode module |
CN116054977B (en) * | 2023-01-29 | 2024-05-07 | 浙江万胜智能科技股份有限公司 | Wireless communication quality evaluation analysis method and system based on dual-mode module |
CN116506075A (en) * | 2023-06-26 | 2023-07-28 | 北京思凌科半导体技术有限公司 | Data transmission method, data reception method, data transmission system, and storage medium |
CN116506075B (en) * | 2023-06-26 | 2023-12-19 | 北京思凌科半导体技术有限公司 | Data transmission method, data reception method, data transmission system, and storage medium |
CN116743541A (en) * | 2023-08-09 | 2023-09-12 | 北京智芯微电子科技有限公司 | Hybrid networking method and system for multimode communication and communication equipment |
CN116743541B (en) * | 2023-08-09 | 2023-10-10 | 北京智芯微电子科技有限公司 | Hybrid networking method and system for multimode communication and communication equipment |
Also Published As
Publication number | Publication date |
---|---|
CN115549824B (en) | 2023-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115549824B (en) | Accurate routing selection method and system applied to HPLC and RF dual modes | |
JP5059942B2 (en) | Method and apparatus related to interference management when sharing downlink bandwidth between wide area network usage and peer to peer signaling | |
US7263333B2 (en) | Wireless ultra wideband network having frequency bin transmission level setting and related methods | |
US7912463B2 (en) | Method of using SNR to reduce factory test time | |
CA2494802C (en) | Wireless ultra wideband network having interference mitigation and related methods | |
US10440739B2 (en) | Message transmitting or receiving methods and devices, base station, and terminal | |
CA2495154C (en) | Wireless ultra wideband network having frequency bin transmission level setting and related methods | |
US7720499B2 (en) | Regulation of transmission power control in mitigate self interference by optimizing link transmission parameters in a wireless network | |
US20070014254A1 (en) | Method and apparatus for measuring uplink data throughput in WiBro repeater | |
CN101977097A (en) | Method for combined adjustment of adaptive rate and power of remote WiFi link | |
US5257408A (en) | Method for seeking a communication system | |
CN111885668B (en) | Hybrid route establishing method of dual-mode Mesh network | |
CN116708274B (en) | Routing planning method and system for multimode heterogeneous network and communication equipment | |
US7653020B2 (en) | Wireless ultra wideband network having interference mitigation and related methods | |
CN101500297A (en) | Method, apparatus and system for evaluating pilot signal strength between different systems, selecting base station | |
CN103796283B (en) | Select method, equipment and the system of serving cell | |
CN110881221A (en) | Distributed frequency selection method for wireless ad hoc network | |
CN102739289A (en) | Transmission power control method | |
EP1696682B1 (en) | Method of using the signal-to-noise ratio (SNR) to reduce factory test time | |
CN115665812A (en) | Roaming control method based on Mesh network | |
CN103118396B (en) | A kind of method and base station managing small-cell network | |
CN116743541B (en) | Hybrid networking method and system for multimode communication and communication equipment | |
CN111010214A (en) | Power line broadband carrier communication networking method | |
Strzoda et al. | Measurements and analysis of large scale lora network efficiency | |
CN102740432B (en) | Dynamic transmission power control method |
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 |