Disclosure of Invention
The technical problem to be solved by the invention is as follows: aiming at the technical problems in the prior art, the invention provides a power distribution network platform area dual-mode hybrid data transmission control method and device with simple implementation method, high control efficiency and reliability and strong flexibility.
In order to solve the technical problems, the technical scheme provided by the invention is as follows:
a power distribution network area dual-mode hybrid data transmission control method comprises the following steps:
s01, acquiring communication parameter information of each link between terminals in a distribution network area, wherein each link between the terminals in the distribution network area is provided with a power line carrier and micropower wireless dual mode;
s02, calculating communication service quality factors of all links between distribution network station area terminals according to the acquired communication parameter information of all links;
s03, selecting all available data transmission links used in the current period according to the communication service quality factors of all links;
s04, selecting an optimal communication path from the selected available data transmission link;
and S05, controlling the terminals in the distribution network area to perform data transmission according to the optimal communication path.
Further, the communication parameter information includes a communication parameter of a power line carrier link and a communication parameter of a micropower wireless link, the communication parameter of the power line carrier link includes a signal-to-noise ratio and/or a packet loss rate, and the communication parameter of the micropower wireless link includes any one or more of a transmission power, a packet loss rate, and a time delay.
Further, the communication parameter information includes a communication parameter of the power line carrier link and a communication parameter of the micropower wireless link, and in step S02, the communication parameter information specifically includes a formula
Calculating transmission reliability factor p of power line carrier link
i,j According to the formula->
Calculating a transmission reliability factor q for a micropower wireless link
i,j (ii) a According to the formula>
Calculating a transmission reliability factor r for a hybrid redundant link
i,j The hybrid redundant link is a simultaneous use of a power line carrier link and a micro-power wireless link, wherein &>
Normalized signal-to-noise ratio for a power line carrier link>
Is the normalized packet loss rate of the power line carrier link, gamma is a preset coefficient value,i. i are respectively the start and stop nodes of the link, </R>
Normalizing transmit power for a micropower wireless link>
And normalizing the packet loss rate for the micropower wireless link.
Further, in step S03, the selection of the available data transmission link is performed according to a principle that the power line carrier communication, the micro-power wireless link, and the dual-mode link are sequentially selected according to the priority order, so as to obtain an available link set uselinkSet.
Further, in step S03, the data transmission available link used in the current period is selected according to the following formula:
wherein Com (R) i,j ) Represents R i,j The transmission mode used by the link, i and i are respectively a start-stop node of the link, the PLC is a power line carrier link, the PLC is a micro-power wireless link, dualMode represents a hybrid redundant link, namely the power line carrier link and the micro-power wireless link are used simultaneously, alpha represents a communication reliability threshold of the power line carrier link, and beta represents a reliability threshold of the wireless micro-power link.
Further, in step S03, the optimal communication path is selected according to the criterion of maximum reliability of the average routing link, and in the available link set uselinkSet, the average routing link reliability C is taken as the maximum optimization target, and the selected path meets the preset upper delay threshold H t And an upper threshold H of packet loss rate l Under the condition, the shortest path method is adopted to search and acquire the optimal data transmission path P with the source node S and the target node D opt And obtaining the optimal communication path.
Further according to the formula
Calculating the reliability function C of the average routing link, wherein P is the selected link set, k is the number identification of the power line carrier links, n is the number identification of the micropower wireless links, m is the number identification of the mixed links, and W is the reliability function C of the average routing link, wherein P is the selected link set, k is the identification of the number of the power line carrier links, n is the identification of the number of the micropower wireless links, m is the identification of the number of the mixed links, and
i,j for the link reliability of the path, i and i are respectively the start-stop nodes of the link, and the calculation formula is:
wherein Com (R) i,j ) Represents R i,j The transmission mode used by the link is that the PLC is a power line carrier link, the PLC is a micro-power wireless link, dualMode represents a hybrid redundant link, p i,j Representing the transmission reliability factor, q, of the power line carrier link i,j Representing the transmission reliability factor, r, of a micropower wireless link i,j Representing the transmission reliability factor of the hybrid redundant link.
A distribution network platform area dual-mode hybrid data transmission control device comprises:
the system comprises a communication parameter acquisition module, a power distribution network area and a micro-power wireless dual-mode module, wherein the communication parameter acquisition module is used for acquiring communication parameter information of each link between terminals in the power distribution network area;
the quality factor calculation module is used for calculating the communication service quality factors of all links between the distribution network station area terminals according to the acquired communication parameter information of all links;
the available path selection module is used for selecting all available data transmission links used in the current period according to the communication service quality factors of all the links;
the optimal path determining module is used for selecting an optimal communication path from the selected available data transmission link;
and the data transmission control module is used for controlling data transmission between terminals in the distribution network area according to the optimal communication path.
A computer apparatus comprising a processor and a memory, the memory being adapted to store a computer program, the processor being adapted to execute the computer program to perform the method as described above.
A computer-readable storage medium storing a computer program which, when executed, implements the method as described above.
Compared with the prior art, the invention has the advantages that:
1. according to the method, the reliability of the link is evaluated by obtaining the communication parameter information of the link between the dual-mode terminals of the distribution network area, calculating the communication service quality factor of the link between the dual-mode terminals of the distribution network area, then selecting the available data transmission link for the metering service of the distribution network area according to the communication service quality factor, and finally selecting the optimal communication path from the available data transmission links to perform power metering service data transmission according to the optimal communication path, so that the defects of power line carrier and micropower wireless communication can be effectively overcome, the communication quality of data transmission in the distribution network area is improved, and the reliability of data transmission is ensured.
2. The method further selects the data transmission available link of the distribution network region metering service according to the communication reliability principle, and selects the optimal link according to the maximum reliability criterion of the average routing link, so that the link with high communication reliability can be quickly screened out, the maximum reliability of the average routing link is ensured, and the communication reliability and the communication quality of the data transmission in the distribution network region can be greatly improved.
Detailed Description
The invention is further described below with reference to the drawings and specific preferred embodiments of the description, without thereby limiting the scope of protection of the invention.
As shown in fig. 1, the method for controlling dual-mode hybrid data transmission in a distribution network area of the present embodiment includes the steps of:
s01, acquiring communication parameter information of each link between terminals in a distribution network area, wherein each link between the terminals in the distribution network area adopts a power line carrier and micropower wireless dual-mode communication mode;
s02, calculating communication service quality factors of all links between distribution network station area terminals according to the acquired communication parameter information of all links;
s03, selecting all available data transmission links used in the current period according to the communication service quality factors of all links;
s04, selecting an optimal communication path from the selected available data transmission link;
and S05, controlling the terminals in the distribution network area to perform data transmission according to the optimal communication path.
In the embodiment, the reliability of the link is evaluated by obtaining the communication parameter information of the link between the dual-mode terminals of the distribution network area, calculating the communication service quality factor of the link between the dual-mode terminals of the distribution network area, then selecting the available data transmission link for the metering service of the distribution network area according to the communication service quality factor, and finally selecting the optimal communication path from the available data transmission links to perform data transmission of the power metering service according to the optimal communication path, so that the defects of power line carrier and micropower wireless communication can be effectively overcome, the communication quality of data transmission in the distribution network area is improved, and the reliability of data transmission is ensured.
In this embodiment, the communication parameter information specifically includes a communication parameter of the power line carrier link and a communication parameter of the micropower wireless link, the communication parameter of the power line carrier link includes a signal-to-noise ratio, a packet loss ratio, and the like, and the communication parameter of the micropower wireless link includes a transmission power, a packet loss ratio, a time delay, and the like, so as to evaluate the communication quality of the link by comprehensively considering various evaluation factors.
In step S02 of this embodiment, the transmission reliability factor of the link is calculated according to the following formula:
wherein p is
i,j To calculate the transmission reliability factor, q, of a power line carrier link
i,j Transmission reliability factor, r, for a micropower wireless link
i,j Is the transmission reliability factor of the hybrid redundant link, i.e. the hybrid redundant link simultaneously uses the power line carrier link and the micro-power wireless link,
normalized signal-to-noise ratio for a power line carrier link>
Is the normalized packet loss ratio of the power line carrier link, gamma is a preset coefficient value, i and i are respectively the start-stop node and the branch node of the link, and>
normalizing transmit power for a micropower wireless link>
And normalizing the packet loss rate for the micropower wireless link.
Assuming that the total number of identified dual-mode communication network nodes is N, a dual-mode communication link between a dual-mode terminal communication node i and a node j comprises a power line carrier link and a micro-power wireless link. Let the current period be T k Where k is the cycle number, T k Can specifically take the value range10-20 minutes; in the current period T k Within, for each dual mode communication link R consisting of a node i and a node j i,j (i is more than or equal to 1, j is less than or equal to N, i is not equal to j), and calculating the transmission reliability factor of each link according to the following steps:
statistically obtaining R
i,j Mean signal-to-noise ratio of power line carrier link
And the average value of the packet loss rate->
And statistically acquiring the mean value of the transmitting power of the micro-power wireless link>
Packet loss ratio mean value->
Time-delayed mean value->
Signal-to-noise ratio threshold value of power line carrier link of assumed dual-mode communication network>
Packet loss rate threshold>
And a transmit power threshold of a micro-power wireless link>
Packet loss rate threshold>
According to the formula
Calculating to obtain the normalized signal-to-noise ratio of the power line carrier link>
According to the formula
Calculating to obtain the normalized packet loss ratio of the power line carrier link>
According to the formula>
Calculating to obtain the normalized transmitting power in the micropower wireless link>
According to the formula>
The normalized packet loss ratio of the micropower wireless link is obtained through calculation>
For each pair of adjacent nodes i and j constituting a communication link R
i,j According to the formula
Calculating a transmission reliability factor p for a power line carrier link
i,j According to the formula
Calculating a transmission reliability factor q for a micropower wireless link
i,j And according to a formula
Calculating a transmission reliability factor r for a hybrid redundant link
i,j Therefore, the transmission reliability factors corresponding to the power line carrier link, the micro-power wireless link and the hybrid redundant link can be obtained.
In this embodiment, in step S03, selection of the available data transmission link is performed according to a principle that power line carrier communication, a micro-power wireless link, and a dual-mode link (a hybrid redundant link) are sequentially selected according to a priority order, so as to obtain an available link set uselinekset. The available link set uselinekset is obtained according to the principles of preferred power line carrier communication, secondary selection of the micropower wireless link and final selection of the dual-mode link.
The present embodiment may specifically select the available data transmission link used in the current period according to the following formula:
wherein Com (R) i,j ) Represents R i,j The transmission mode used by the link, i and i are respectively the starting node and the ending node of the link, R i,j For the current period T k The PLC is a power line carrier link, the PLC is a micro-power wireless link, the DualMode represents a hybrid redundant link, namely the power line carrier link and the micro-power wireless link are used simultaneously, alpha represents a communication reliability threshold of the power line carrier link, and beta represents a reliability threshold of the wireless micro-power link. The value range of the communication reliability threshold alpha of the power line carrier link is 0.5-1, and the value range of the reliability threshold beta of the wireless micro-power link is 0.5-1.
In step S03 of this embodiment, an optimal communication path is selected according to the criterion of the maximum reliability of the average routing link, and in the available link set uselinkSet, the maximum reliability C of the average routing link is the optimization target, and the selected path meets the preset upper delay threshold H t And an upper threshold H of packet loss rate l Under the condition, the shortest path method is adopted to search and acquire the optimal data transmission path P with the source node S and the target node D opt And obtaining the optimal communication path.
Setting the upper limit of delay and the upper limit of packet loss rate of the communication service quality of the service metering type service to be transmitted as H t And H l The data transmission source node and the target node are respectively S and D, and in an available chainIn the route set uselinkSet, a plurality of links are selected between a source node S and a target node D to form a data transmission path, the number of included power line carrier links is identified as k, the number of micropower wireless links is identified as n, the number of mixed links is identified as m, and an average routing link reliability function C in this embodiment is specifically calculated according to the following formula:
where P is the selected link set, W i,j For the link reliability of a path, the calculation formula is:
calculating an average routing link reliability function C according to a formula (5) and calculating link reliability W of a constructed path according to a formula (6) according to the number of current power line carrier links and the number of micro-power wireless links i,j In the available link set uselinkSet, the upper delay limit H is met on the selected path with the average routing link reliability Cmax as the optimization target t And upper limit of packet loss rate H l Under the condition, the shortest path method is adopted to search and acquire the optimal data transmission path P with the source node S and the target node D opt 。
According to the method, the available data transmission link of the metering service of the distribution network region is selected according to the communication reliability principle, the optimal link is selected according to the maximum reliability criterion of the average routing link, the link with high communication reliability can be rapidly screened out, the maximum reliability of the average routing link is ensured, and the communication reliability and the communication quality of data transmission of the distribution network region can be greatly improved.
In the following, the detailed steps for implementing the dual-mode hybrid data transmission control of the distribution network area by using the method of the present invention in the specific application embodiment are as follows:
s1, obtaining link communication parameter information between dual-mode terminals of distribution network platform area
Identifying that the total number of the dual-mode communication network nodes is N =4, wherein dual-mode communication links between a dual-mode terminal communication node i and a node j comprise a power line carrier link and a micro-power wireless link; let the current period be T
k Where k is the cycle number, T
k Is 10 minutes; in the current period T
k Within, for each dual mode communication link R consisting of a node i and a node j
i,j (i ≠ j), statistically acquiring R
i,j Mean signal-to-noise ratio of power line carrier link
And the average value of the packet loss rate->
Statistic acquisition of mean value of transmission power of micropower wireless link>
Packet loss ratio mean value->
The statistical results are shown in table 1.
Table 1 link statistics
Setting signal-to-noise ratio threshold of power line carrier link of dual-mode communication network
Packet loss rate threshold
Setting a transmit power threshold for a micropower wireless link>
Packet loss rate threshold
According to the formula>
Calculating normalized signal-to-noise ratio (SNR) of power line carrier link>
According to the formula
Calculating normalized packet loss ratio of power line carrier link>
According to the formula>
Calculating micropower wireless link normalized transmit power->
According to the formula>
Calculating the normalized packet loss ratio of the micropower wireless link>
The calculation results are shown in table 2.
Table 2 link statistics normalization
S2, calculating a link communication service quality factor between dual-mode terminals of a distribution network area
In a dual-mode communication network, for each pair of adjacent nodes i and j a communication link R is formed
i,j According to the formula
Calculating transmission reliability factor p of power line carrier link
i,j (ii) a According to the formula
Calculating a transmission reliability factor q for a micropower wireless link
i,j (ii) a According to the formula
Calculating the transmission reliability factor r of the hybrid redundant link (including the power line carrier link and the micro-power wireless link)
i,j Wherein the value of gamma is 0.5. The calculation results are shown in table 3.
TABLE 3 Link reliability factor calculation results
|
p i,j |
q i,j |
r i,j |
R 1,2 |
0.3
|
0.75
|
0.68
|
R 1,3 |
0.2
|
0.9
|
0.75
|
R 2,3 |
0.9
|
0.3
|
0.54
|
R 2,4 |
0.2
|
0.05
|
0.75
|
R 3,4 |
0.8
|
0.3
|
0.59 |
S3, all available data transmission links used in the current period are selected according to the communication reliability principle
In a dual-mode communication network, setting a communication reliability threshold value of a power line carrier link to be alpha =0.7, and setting a reliability threshold value of a wireless micro-power link to be beta =0.7; in the current period T
k For each communication link R formed by node i and node j
i,j Selecting available link according to the principle of preferred power line carrier communication, secondary selection of micropower wireless link and final selection of dual-mode link, specifically according to formula
Selecting the communication link used in the current period, wherein Com (R)
i,j ) The transmission mode used by the link is represented, the PLC is a power line carrier link, the MR is a micro-power wireless link, and the DualMode represents a hybrid redundant link, namely the power line carrier link and the micro-power wireless link are used at the same time; all available links constitute a link set uselinkSet. The results of the available link selection are shown in fig. 3, where the dashed line indicates that a wireless micro-power link is selected, the solid line indicates that a power line carrier communication link is selected, and the presence of both the dashed line and the solid line indicates that a dual mode link is selected.
S4, selecting an optimal communication path according to the maximum reliability criterion of the average routing link
Setting the upper limit of delay and the upper limit of packet loss rate of communication service quality of service metering type service to be transmitted as H
t =10 and H
t =10, and let the data transmission source node and destination node be S and D, S and D be node 1 and
node 4, respectively; in an available link set uselinkSet, a plurality of links are selected between a source node S and a target node D to form a data transmission path, the number of the included power line carrier links is marked as k, the number of the micropower wireless links is marked as n, and the number of the mixed links is marked as m; according to the formula
Calculating an average routing link reliability function C, wherein P is the selected link set according to the formula
Calculating link reliability W of a constituent path
i,j The resulting link reliability calculation results are shown in table 4.
Table 4 link reliability calculation results
R 1,2 |
R 1,3 |
R 2,3 |
R 2,4 |
R 3,4 |
0.75
|
0.9
|
0.9
|
0.75
|
0.8 |
In the available link set uselinkSet, the average routing link reliability C is maximum as an optimization target, and the upper delay limit H is met on the selected path t And an upper limit of packet loss rate H l Under the condition, the shortest path method is adopted to search and acquire the optimal data transmission path P with the source node S and the target node D opt (i.e., optimal communication path); the best transmission path obtained by the search is shown in fig. 4, in which the bold part represents the best data transmission path.
S5, carrying out power metering service data transmission according to the optimal communication path
For a given power metering service, the optimal data transmission path P is searched in step S4 opt And transmitting, wherein the receiving node for selecting the hybrid redundant link needs to perform redundancy removal processing.
Best transmission path as shown in fig. 4, for a given electricity metering service, the best data transmission path P searched in step S4 is used opt The transmission is carried out, and the transmission path is as follows: 1 → 3 → 4, wherein 1 → 3 selects the micro-power wireless link, and 3 → 4 selects the power line carrier link.
The dual-mode hybrid data transmission control device for the distribution network area comprises:
the communication parameter acquisition module is used for acquiring communication parameter information of each link between terminals in a distribution network area, and each link between the terminals in the distribution network area adopts a power line carrier and micropower wireless dual-mode communication mode;
the quality factor calculation module is used for calculating the communication service quality factors of all links between the distribution network station area terminals according to the acquired communication parameter information of all links;
the available path selection module is used for selecting all available data transmission links used in the current period according to the communication service quality factors of all the links;
the optimal path determining module is used for selecting an optimal communication path from the selected available data transmission links;
and the data transmission control module is used for controlling data transmission between terminals in the distribution network area according to the optimal communication path.
In this embodiment, the distribution network area dual-mode hybrid data transmission control device and the distribution network area dual-mode hybrid data transmission control method are in one-to-one correspondence, and are not described herein again.
The embodiment further provides a computer device, comprising a processor and a memory, wherein the memory is used for storing a computer program, and the processor is used for executing the computer program to execute the method.
The present embodiment also provides a computer-readable storage medium storing a computer program, which when executed implements the method as described above.
The foregoing is considered as illustrative of the preferred embodiments of the invention and is not to be construed as limiting the invention in any way. Although the present invention has been described with reference to the preferred embodiments, it is not intended to be limited thereto. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical spirit of the present invention should fall within the protection scope of the technical scheme of the present invention, unless the technical spirit of the present invention departs from the content of the technical scheme of the present invention.