The content of the invention
, more can be anti-the embodiments of the invention provide the communication success rate computational methods and device of a kind of power wire broadband carrier
The link communication quality reflected between website, can more accurately reflect the dynamic change of link communication quality, and be avoided that excessive fluctuation.
A kind of communication success rate computational methods of power wire broadband carrier provided in an embodiment of the present invention, including:
S1:The message amount and the second website sent in downlink communication by the first website in the predetermined route cycle connects
The message amount received, calculates downlink communication success rate, is sent in uplink communication by the second website in the route cycle
Message amount and the message amount that receives of the first website, calculate uplink communication success rate;
S2:The uplink communication success rate and the downlink communication success rate are subjected to product calculation and obtain the route week
Communication success rate between interim first website and the second website, calculates the first website in the route cycle described in nearest predetermined number
And the second communication success rate weighted average between website.
Preferably, the step S2 is specifically included:
The uplink communication success rate and the downlink communication success rate are subjected to product calculation and obtain the route cycle
In communication success rate between the first website and the second website, and calculate the first website in the route cycle described in nearest predetermined number
And the second communication success rate between website, by predetermined number weighted value, calculate the route cycle described in nearest predetermined number
Communicate success rate weighted average.
Preferably, also include before the step S1:
S0:The information frame of message amount in the predetermined route cycle is constructed by the first website, is constructed by the second website
The information frame of message amount in the predetermined route cycle, by the first website and the second site switch information frame, is obtained descending
The message amount A sent in communication by the first website in the predetermined route cyclexiThe message amount received with the second website
Kxi, and obtain the message amount A sent in uplink communication by the second website in the route cyclesiConnect with the first website
The message amount K receivedsi, the predetermined route cycle be i-th route the cycle, i=1,2 ..., N, N is positive integer.
Preferably, the step S1 is specifically included:
The message amount A sent in downlink communication by the first website in i-th of route cyclexiReceived with the second website
The message amount K arrivedxi, downlink communication success rate P is calculated by the first formulaxi, pass through i-th of route week in uplink communication
The message amount A that interim second website is sentsiThe message amount K received with the first websitesi, calculated by the second formula
Row communication success rate Psi, wherein first formula is:
Pxi=Kxi/Axi,
Second formula is:
Psi=Ksi/Asi,
Wherein, PxiFor downlink communication success rate, AxiThe message amount sent for the first website, KxiReceived for the second website
The message amount arrived, PsiFor uplink communication success rate, AsiThe message amount sent for the second website, KsiReceived for the first website
The message amount arrived, i=1,2 ..., N, N is positive integer.
Preferably, the step S2 is specifically included:
By the uplink communication success rate PsiWith the downlink communication success rate PxiCarry out product calculation and obtain i-th of tunnel
By the communication success rate P in the cycle between the first website and the second websitei, calculated i-th by the 3rd formula and n weighted value
Communication success rate weighted average PJ in the nearest n route cycle in route cycle between the first website and the second websitei, it is described
3rd formula is:
PJiFor communication success rate weighted average, Pi、Pi-1......Pi-n+1For i-th of route cycle nearest n route
Communication success rate in cycle between the first website and the second website, W0、W1......Wn-1For n weighted value, wherein W0>W1
>...>Wn。
A kind of communication success rate computing device of the power wire broadband carrier provided in the embodiment of the present invention, including:
First computing unit, for the message number sent in downlink communication by the first website in the predetermined route cycle
The message amount that amount and the second website are received, calculates downlink communication success rate, passes through the route cycle in uplink communication
In the second website message amount and the message amount that receives of the first website that send, calculate uplink communication success rate;
Second computing unit, product calculation acquisition is carried out by the uplink communication success rate and the downlink communication success rate
Communication success rate in the route cycle between the first website and the second website, calculates and route the cycle described in nearest predetermined number
In communication success rate weighted average between the first website and the second website.
Preferably, second computing unit is specifically included:
Product calculation subelement, specifically for the uplink communication success rate and the downlink communication success rate are multiplied
Product computing;
First obtains subelement, specifically for obtaining the communication in the route cycle between the first website and the second website
Success rate;
First computation subunit, specifically for calculating the first website and second station in the route cycle described in nearest predetermined number
Communication success rate between point;
Second computation subunit, specifically for by predetermined number weighted value, calculating and week being route described in nearest predetermined number
Communication success rate weighted average between interim first website and the second website.
Preferably, in addition to:
Acquiring unit, the information frame for constructing message amount in predetermined route cycle by the first website, by the
Two websites construct the information frame of message amount in the predetermined route cycle, by the first website and the second site switch information frame,
Obtain the message amount A sent in downlink communication by the first website in the predetermined route cyclexiReceived with the second website
Message amount Kxi, and obtain the message amount A sent in uplink communication by the second website in the route cyclesiWith
The message amount K that first website is receivedsi, the predetermined route cycle is i-th of route cycle, i=1,2 ..., N, and N is
Positive integer.
Preferably, first computing unit is specifically included:
3rd computation subunit, specifically for what is sent in downlink communication by the first website in i-th of route cycle
Message amount AxiThe message amount K received with the second websitexi, downlink communication success rate P is calculated by the first formulaxi;
4th computation subunit, specifically for what is sent in uplink communication by the second website in i-th of route cycle
Message amount AsiThe message amount K received with the first websitesi, uplink communication success rate P is calculated by the second formulasi;
Wherein described first formula is:
Pxi=Kxi/Axi,
Second formula is:
Psi=Ksi/Asi,
Wherein, PxiFor downlink communication success rate, AxiThe message amount sent for the first website, KxiReceived for the second website
The message amount arrived, PsiFor uplink communication success rate, AsiThe message amount sent for the second website, KsiReceived for the first website
The message amount arrived, i=1,2 ..., N, N is positive integer.
Preferably, the product calculation subelement, specifically for by the uplink communication success rate PsiWith it is described descending logical
Believe success rate PxiCarry out product calculation;
Described first obtains subelement, specifically for obtaining in i-th of route cycle between the first website and the second website
Communication success rate Pi;
First computation subunit, specifically for calculating the first website in i-th of route nearest n route cycle in cycle
And the second communication success rate between website;
Second computation subunit, specifically for calculating i-th of route cycle most by n weighted value and the 3rd formula
Communication success rate weighted average PJ in the nearly n route cycle between the first website and the second websitei, the 3rd formula
For:
PJiFor communication success rate weighted average, Pi、Pi-1......Pi-n+1For i-th of route cycle nearest n route
Communication success rate in cycle between the first website and the second website, W0、W1......Wn-1For n weighted value, wherein W0>W1
>...>Wn。
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:
The communication success rate computational methods and device of a kind of power wire broadband carrier provided in the embodiment of the present invention, its
In, a kind of communication success rate computational methods of power wire broadband carrier include:S1:Pass through predetermined route week in downlink communication
The message amount that the message amount and the second website that interim first website is sent are received, calculates downlink communication success rate, upper
The message amount that the message amount and the first website sent in row communication by the second website in the route cycle is received, meter
Calculate uplink communication success rate;S2:The uplink communication success rate and the downlink communication success rate are subjected to product calculation acquisition
Communication success rate in the route cycle between the first website and the second website, calculates and route the cycle described in nearest predetermined number
In communication success rate weighted average between the first website and the second website.In the present embodiment, by by uplink and downlink communication into
The product of power is as the communication success rate between two websites in a route cycle, finally to nearest multiple route cycles
Communication success rate does weighted mean operation, as the evaluation index of link communication quality between the first website and the second website, more
The link communication quality that can reflect between website, can more accurately reflect the dynamic change of link communication quality, and be avoided that excessive
Fluctuation.
Embodiment
, more can be anti-the embodiments of the invention provide the communication success rate computational methods and device of a kind of power wire broadband carrier
The link communication quality reflected between website, can more accurately reflect the dynamic change of link communication quality, and be avoided that excessive fluctuation.
To enable goal of the invention, feature, the advantage of the present invention more obvious and understandable, below in conjunction with the present invention
Accompanying drawing in embodiment, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that disclosed below
Embodiment be only a part of embodiment of the invention, and not all embodiment.Based on the embodiment in the present invention, this area
All other embodiment that those of ordinary skill is obtained under the premise of creative work is not made, belongs to protection of the present invention
Scope.
Referring to Fig. 2, a kind of communication success rate computational methods of the power wire broadband carrier provided in the embodiment of the present invention
One embodiment include:
101st, the message amount sent in downlink communication by the first website in the predetermined route cycle and the second website
The message amount received, calculates downlink communication success rate, is sent out in uplink communication by the second website in the route cycle
The message amount that the message amount and the first website sent are received, calculates uplink communication success rate;
Communication success rate is the ratio for the message frame number that the message frame number that receiving terminal has correctly received is sent with transmitting terminal, on
Row communication is to transmit data from meter to concentrator, and downlink communication is to transmit data from concentrator to meter, and website is power line
Possess the equipment for sending and receiving message in bandwidth carrier communication, concentrator, the communication module on meter can be mounted in.
Such as Fig. 5, during downlink communication, according to the message amounts sent of the first website STA1 in a route cycle and
The message amount that second website STA2 is received, calculates downlink communication success rate;During uplink communication, according to a route
The second website STA2 is sent in cycle message amount and the message amounts that receive of the first website STA1, calculate uplink communication into
Power.
102nd, the uplink communication success rate and the downlink communication success rate are subjected to product calculation and obtain the route
Communication success rate in cycle between the first website and the second website, calculates first stop in the route cycle described in nearest predetermined number
Communication success rate weighted average between point and the second website.
It regard the product of uplink and downlink communication success rate as the communication success rate between two websites in a route cycle again.
Finally the communication success rate to nearest multiple route cycles does weighted mean operation, and in this, as link between STA1 and STA2
The evaluation index of communication quality.
In the present embodiment, by during downlink communication, according to the message amount of STA1 transmissions in a route cycle
The message amount received with STA2, calculates downlink communication success rate;During uplink communication, according in a route cycle
Message amount and the message amounts that receive of STA1 that STA2 is sent, calculate uplink communication success rate, then by uplink and downlink communication into
The product of power is as the communication success rate between two websites in a route cycle, finally to nearest multiple route cycles
Communication success rate does weighted mean operation, and in this, as the evaluation index of link communication quality between STA1 and STA2, correctly
Reflect website between link communication quality, can concentrated expression two-way communication quality, can correctly reflect link communication quality
Dynamic change.
The above is that the communication success rate computational methods to a kind of power wire broadband carrier are described in detail, below will be right
A kind of process of the communication success rate computational methods of power wire broadband carrier is described in detail, and is provided in the embodiment of the present invention
Another embodiment of communication success rate computational methods of power wire broadband carrier a kind of include:
201st, the information frame of message amount in the predetermined route cycle is constructed by the first website, is constructed by the second website
The information frame of message amount in the predetermined route cycle, by the first website and the second site switch information frame, is obtained descending
The message amount A sent in communication by the first website in the predetermined route cyclexiThe message amount received with the second website
Kxi, and obtain the message amount A sent in uplink communication by the second website in the route cyclesiConnect with the first website
The message amount K receivedsi, the predetermined route cycle be i-th route the cycle, i=1,2 ..., N, N is positive integer.
Communication success rate is the ratio for the message frame number that the message frame number that receiving terminal has correctly received is sent with transmitting terminal, on
Row communication is to transmit data from meter to concentrator, and downlink communication is to transmit data from concentrator to meter, and website is power line
Possess the equipment for sending and receiving message in bandwidth carrier communication, concentrator, the communication module on meter can be mounted in.
Such as Fig. 6, in the i+1 cycle, STA1 constructions reflect the information frame of the i-th cycle message amount, as shown in table 1:
Table 1
STA1 sends message amount Axi |
STA1 receives message amount Ksi |
In the i+1 cycle, STA2 constructions reflect the information frame of the i-th cycle message amount, as shown in table 2:
Table 2
STA2 sends message amount Asi |
STA2 receives message amount Kxi |
STA1 and STA2 exchanges information frame, and both of which obtains in i-th of route cycle (i=1,2 ..., N), uplink communication
In the second website send message amount AsiMessage amount K is received with the first websitesi, the first website sends message in downlink communication
Quantity AxiThe message amount K received with the second websitexi。
202nd, the message amount A sent in downlink communication by the first website in i-th of route cyclexiWith the second website
The message amount K receivedxi, downlink communication success rate P is calculated by the first formulaxi, pass through i-th of tunnel in uplink communication
The message amount A that the second website is sent in the cyclesiThe message amount K received with the first websitesi, pass through the second formula meter
Calculate uplink communication success rate Psi, wherein first formula is:
Pxi=Kxi/Axi,
Second formula is:
Psi=Ksi/Asi,
Wherein, PxiFor downlink communication success rate, AxiThe message amount sent for the first website, KxiReceived for the second website
The message amount arrived, PsiFor uplink communication success rate, AsiThe message amount sent for the second website, KsiReceived for the first website
The message amount arrived, i=1,2 ..., N, N is positive integer.
Respectively by the second formula and the first formula S TA1 and STA2 calculate uplink communication in i-th of route cycle into
Power PsiWith downlink communication success rate Pxi, first formula and the second formula are respectively:
Pxi=Kxi/Axi,
Pxi=Kxi/Axi,
203rd, by the uplink communication success rate PsiWith the downlink communication success rate PxiCarry out product calculation and obtain i-th
Communication success rate P in the individual route cycle between the first website and the second websitei, calculated by the 3rd formula and n weighted value
Communication success rate weighted average in i-th of route nearest n route cycle in cycle between the first website and the second website
PJi, the 3rd formula is:
PJiFor communication success rate weighted average, Pi、Pi-1......Pi-n+1For i-th of route cycle nearest n route
Communication success rate in cycle between the first website and the second website, W0、W1......Wn-1For n weighted value, wherein W0>W1
>...>Wn。
Such as Fig. 6, by the uplink communication success rate PsiWith the downlink communication success rate PxiCarry out product calculation and calculate the
The communication success rate between the first website and the second website in i route cycle:
Pi=Psi×Pxi
Because there is interactivity in the communication between two websites, a website both can as the transmitting terminal in uplink communication,
The receiving terminal in downlink communication can be used as.If only asking for the communication success rate that the website single is received or single is sent, knot
Fruit has one-sidedness, it is impossible to the communication efficiency between reliable reflection website, influences Route Selection.
Record the communication success rate P in nearest n route cyclei、Pi-1......Pi-n+1。
Select n weighted value W0、W1......Wn-1, wherein W0>W1>...>Wn。
Calculate the communication success rate weighted average PJ in nearest n route cyclei, i.e. the 3rd formula is:
PJiFor communication success rate weighted average, Pi、Pi-1......Pi-n+1For i-th of route cycle nearest n route
Communication success rate in cycle between the first website and the second website, W0、W1......Wn-1For n weighted value, wherein W0>W1
>...>Wn。
By PJiAs the index for weighing link communication quality, for Route Selection.PJiValue is bigger, then illustrates two websites
Communication quality between STA1 and STA2 is better.
In the communication success rate between calculating two websites, weighted average can also be replaced with mean value method.Descending logical
During letter, the message amount received according to the message amounts sent of STA1 in a route cycle and STA2 is calculated descending
Communicate success rate;During uplink communication, received according to the message amounts sent of STA2 in a route cycle and STA1
Message amount, calculate uplink communication success rate.It regard the product of uplink and downlink communication success rate as in a route cycle two again
Communication success rate between individual website.Finally only do average value computing to the communication success rate in nearest multiple route cycles, and with
This as link communication quality between STA1 and STA2 evaluation index.
It is single uplink and downlink success rate by the communication success rate between two websites in a route cycle in the present embodiment
Product this concept, fully taken into account the interactivity of data transfer, it is more accurate compared to original computational methods, be also beneficial to
The selection in path, is weighted averagely the communication success rate two websites in multiple cycles, overcomes data fluctuations in the monocycle
Big shortcoming, weight is defined according to link condition.Its result can fully reflect the situation of nearest channel, improve link matter
Amount, compared to the method using signal intensity as evaluation index, the link communication quality that evaluation can more reflect between website,
Result of calculation can more accurately reflect the dynamic change of link communication quality, and be avoided that excessive fluctuation.
Referring to Fig. 3, a kind of communication success rate computing device of the power wire broadband carrier provided in the embodiment of the present invention
One embodiment, including:
First computing unit 301, for the report sent in downlink communication by the first website in the predetermined route cycle
The message amount that literary quantity and the second website are received, calculates downlink communication success rate, passes through the route in uplink communication
The message amount that the message amount and the first website that the second website is sent in cycle are received, calculates uplink communication success rate;
Second computing unit 302, product calculation is carried out by the uplink communication success rate and the downlink communication success rate
The communication success rate between the first website and the second website in the route cycle is obtained, calculates and is route described in nearest predetermined number
Communication success rate weighted average in cycle between the first website and the second website.
The above is that the communication success rate computing device each unit to a kind of power wire broadband carrier is described in detail, under
A kind of each extra cell of communication success rate computing device to power wire broadband carrier is described in detail in face, refers to figure
4, a kind of another embodiment bag of the communication success rate computing device of the power wire broadband carrier provided in the embodiment of the present invention
Include:
Acquiring unit 401, the information frame for constructing message amount in the predetermined route cycle by the first website, passes through
Second website constructs the information frame of message amount in the predetermined route cycle, passes through the first website and the second site switch information
Frame, obtains the message amount A sent in downlink communication by the first website in the predetermined route cyclexiReceived with the second website
The message amount K arrivedxi, and obtain the message amount A sent in uplink communication by the second website in the route cyclesi
The message amount K received with the first websitesi, the predetermined route cycle is i-th of route cycle, i=1,2 ..., N, N
For positive integer.
First computing unit 402, for the report sent in downlink communication by the first website in the predetermined route cycle
The message amount that literary quantity and the second website are received, calculates downlink communication success rate, passes through the route in uplink communication
The message amount that the message amount and the first website that the second website is sent in cycle are received, calculates uplink communication success rate;
First computing unit 402 is specifically included:
3rd computation subunit 4021, specifically for being sent out in downlink communication by the first website in i-th of route cycle
The message amount A sentxiThe message amount K received with the second websitexi, downlink communication success rate P is calculated by the first formulaxi;
4th computation subunit 4022, specifically for being sent out in uplink communication by the second website in i-th of route cycle
The message amount A sentsiThe message amount K received with the first websitesi, uplink communication success rate P is calculated by the second formulasi;
Wherein described first formula is:
Pxi=Kxi/Axi,
Second formula is:
Psi=Ksi/Asi,
Wherein, PxiFor downlink communication success rate, AxiThe message amount sent for the first website, KxiReceived for the second website
The message amount arrived, PsiFor uplink communication success rate, AsiThe message amount sent for the second website, KsiReceived for the first website
The message amount arrived, i=1,2 ..., N, N is positive integer.
Second computing unit 403, product calculation is carried out by the uplink communication success rate and the downlink communication success rate
The communication success rate between the first website and the second website in the route cycle is obtained, calculates and is route described in nearest predetermined number
Communication success rate weighted average in cycle between the first website and the second website.
Second computing unit 403 is specifically included:
The product calculation subelement 4031, specifically for by the uplink communication success rate PsiWith the downlink communication into
Power PxiCarry out product calculation;
Described first obtains subelement 4032, specifically for obtaining the first website and the second website in i-th of route cycle
Between communication success rate Pi;
First computation subunit 4033, specifically for calculating first in i-th of route nearest n route cycle in cycle
Communication success rate between website and the second website;
Second computation subunit 4034, specifically for calculating i-th of route week by n weighted value and the 3rd formula
Communication success rate weighted average PJ in phase in the nearest n route cycle between the first website and the second websitei, the described 3rd is public
Formula is:
PJiFor communication success rate weighted average, Pi、Pi-1......Pi-n+1For i-th of route cycle nearest n route
Communication success rate in cycle between the first website and the second website, W0、W1......Wn-1For n weighted value, wherein W0>W1
>...>Wn。
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the unit
Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, such as multiple units or component
Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or
The coupling each other discussed or direct-coupling or communication connection can be the indirect couplings of device or unit by some interfaces
Close or communicate to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used
When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially
The part contributed in other words to prior art or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
Described above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before
Embodiment is stated the present invention is described in detail, it will be understood by those within the art that:It still can be to preceding
State the technical scheme described in each embodiment to modify, or equivalent substitution is carried out to which part technical characteristic;And these
Modification is replaced, and the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme.