CN107276850B - Method and system for testing and transmitting unified interface of electricity consumption information acquisition system - Google Patents

Method and system for testing and transmitting unified interface of electricity consumption information acquisition system Download PDF

Info

Publication number
CN107276850B
CN107276850B CN201710494852.4A CN201710494852A CN107276850B CN 107276850 B CN107276850 B CN 107276850B CN 201710494852 A CN201710494852 A CN 201710494852A CN 107276850 B CN107276850 B CN 107276850B
Authority
CN
China
Prior art keywords
data transmission
data
transmission request
threshold
value
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.)
Active
Application number
CN201710494852.4A
Other languages
Chinese (zh)
Other versions
CN107276850A (en
Inventor
祝恩国
窦健
叶方彬
赵兵
徐英辉
韩霄汉
王朝亮
刘宣
王伟峰
孙永明
刘水
邹和平
林繁涛
陈凯平
史玉良
俞亮
陶晓峰
赵羚
查生
范志夫
裘华东
李熊
沈曙明
严华江
郑培昊
刘颖
刘强
马胜国
苏明杰
麻吕斌
李帮准
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dareway Software Co ltd
State Grid Corp of China SGCC
State Grid Zhejiang Electric Power Co Ltd
China Electric Power Research Institute Co Ltd CEPRI
Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd
Electric Power Research Institute of State Grid Jiangxi Electric Power Co Ltd
Nari Technology Co Ltd
China Gridcom Co Ltd
Original Assignee
Dareway Software Co ltd
State Grid Corp of China SGCC
State Grid Zhejiang Electric Power Co Ltd
China Electric Power Research Institute Co Ltd CEPRI
Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd
Electric Power Research Institute of State Grid Jiangxi Electric Power Co Ltd
Nari Technology Co Ltd
China Gridcom Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dareway Software Co ltd, State Grid Corp of China SGCC, State Grid Zhejiang Electric Power Co Ltd, China Electric Power Research Institute Co Ltd CEPRI, Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd, Electric Power Research Institute of State Grid Jiangxi Electric Power Co Ltd, Nari Technology Co Ltd, China Gridcom Co Ltd filed Critical Dareway Software Co ltd
Priority to CN201710494852.4A priority Critical patent/CN107276850B/en
Publication of CN107276850A publication Critical patent/CN107276850A/en
Application granted granted Critical
Publication of CN107276850B publication Critical patent/CN107276850B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/26Flow control; Congestion control using explicit feedback to the source, e.g. choke packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for testing and concurrently transmitting a unified interface of a power utilization information acquisition system, which comprises the following steps: taking the sum of the data transmission request quantity to be sent and the transmission data quantity of the previous period as the data transmission request quantity of the current period; calculating a load estimation value according to the data request quantity to be transmitted and the maximum transmission quantity of the transmission path; respectively calculating available bandwidth and congestion degree according to feedback information of a data request of the transmission data volume of the current period; the data transmission request quantity to be sent in the next period is adaptively and dynamically adjusted according to the available bandwidth, the congestion degree and the load estimation value and an adjustment strategy; and optimally adjusting the segmentation threshold of the load factor based on dynamic programming. The invention has the beneficial effects that: and the testing end respectively executes different strategies according to the network parameters fed back by transmission on the adjustment of the data transmission request quantity, and dynamically adjusts the key segmentation threshold of the data transmission request quantity based on an optimal control algorithm, thereby ensuring the high efficiency of parallel processing of the test data.

Description

Method and system for testing and transmitting unified interface of electricity consumption information acquisition system
Technical Field
The invention relates to the field of power consumption information acquisition, in particular to a method and a system for testing and transmitting a unified interface of a power consumption information acquisition system.
Background
The popularization and application of the intelligent electric energy meter and the rapid promotion of the construction of the electricity information acquisition system are realized, the marketing measurement intensification and lean management level are greatly improved, the electricity information acquisition system comprehensively enters a deepened application stage, and by 2016 (8 months), the system accumulation provides business and data support for a plurality of application systems such as marketing, security, operation and inspection, operation and supervision, distribution strategy and information, 16 national network system pushing business application systems and tens of provincial companies self-constructed business application systems, and in order to realize the application of guaranteeing efficient data interaction, the electricity information acquisition system is dedicated to constructing an efficient automatic test system.
The traditional data transmission improvement is that a fixed mode is often adopted to send a data request, however, various interferences may exist in a transmission channel, such as high-frequency electromagnetic interference, transmission line breakage, communication congestion and the like, so that errors and losses of data transmitted by an interface occur; since the service provided by the computer communication network at the lowest layer is unreliable packet transmission, when errors occur in the transmission process and network hardware fails or network load is too heavy, data packets may be lost, delayed, repeated and out of order, which affects the efficiency and reliability of data transmission and processing; and the webservice interface platform as a data transmission end puts higher requirements on the balance of network loads. When the conventional data transmission method faces the above problems, the data transmission performance thereof is greatly reduced.
Therefore, it is necessary to research a data transmission method adaptive to the change of the network transmission environment based on the feedback information.
Disclosure of Invention
The invention provides a concurrent transmission method and a concurrent transmission system for a unified interface test of a power consumption information acquisition system, which solve the problem of low data transmission performance.
In order to solve the above problem, according to an aspect of the present invention, there is provided a power consumption information acquisition system unified interface test concurrent transmission method, including:
taking the sum of the data transmission request quantity to be sent and the transmission data quantity of the previous period as the data transmission request quantity of the current period;
calculating a load estimation value according to the data request quantity to be transmitted and the maximum transmission quantity of the transmission path;
respectively calculating available bandwidth and congestion degree according to feedback information of a data request of the transmission data volume of the current period, wherein the feedback information comprises: data request response rate and data transmission request information;
the data transmission request quantity to be sent in the next period is adaptively and dynamically adjusted according to the available bandwidth, the congestion degree and the load estimation value and an adjustment strategy;
and optimally adjusting the segmentation threshold of the load factor based on dynamic programming.
Preferably, the load estimation value is calculated by:
Figure BDA0001332349580000021
wherein rho is a load estimation value; λ is per time interval tρThe data volume received by the test terminal;
Figure BDA0001332349580000022
the average request queue number of the tester in unit time, namely the average data transmission request number; k is a radical ofqRelease rate for queue backlog; xi is the utilization rate of the transmission path, and C is the bottleneck bandwidth of the transmission channel.
Preferably, the available bandwidth is calculated by:
Figure BDA0001332349580000023
wherein, BnIs at tnThe estimated available bandwidth when the nth data request is transmitted; t is tn-1The moment when the data transmission of the (n-1) th data transmission request is finished; l isnThe amount of data transmitted for the nth data transmission request; RTT is tnEstimating the end-to-end time delay of the data transmission request at the moment, and determining the end-to-end round-trip time of the nth data transmission request; pinIs a scale factor.
Preferably, the calculation method of the scale factor is as follows:
Figure BDA0001332349580000031
wherein D istra(n-1)The number of the (n-1) th data transmission requests is shown, and P is the size of the data transmission request.
Preferably, the congestion degree is calculated by:
Figure BDA0001332349580000032
wherein g is a weighting factor, and the value range of g is (0, 1); f is the last time interval tρThe returned data transmission request completion ratio, alpha is the last time interval tρMaximum number of retransmissions for an intra-sent data transmission request, M being the last time interval tρThe data transmission request quantity of the internal testing party for completing transmission, T is the last time interval TρAnd the data transmission request quantity sent by the internal test end.
Preferably, the method for calculating the data transmission request completion ratio F includes:
Figure BDA0001332349580000033
preferably, the dynamically and adaptively adjusting the amount of the data transmission request to be sent in the next period according to the adjustment policy based on the available bandwidth, the congestion degree, and the load estimation value includes:
if the load estimation value is smaller than the threshold value of the load factor, the test end adopts a 'quick start' strategy to quickly increase the data transmission request quantity; the calculation method for rapidly increasing the data transmission request amount comprises the following steps:
Figure BDA0001332349580000034
wherein D istraAlpha is the increment factor of the data transmission request quantity, RTTminMinimum observed RTT value for the test end;
if the load estimation value is greater than the load factor threshold and less than or equal to the asynchronous feedback threshold, the test end increases the data transmission request quantity by adopting a 'smooth increase' strategy; the calculation method for increasing the data transmission request amount comprises the following steps:
Figure BDA0001332349580000041
if the load estimation value is greater than the asynchronous feedback threshold value and less than or equal to 1, the test end adopts a linear increase strategy to increase the data transmission request quantity; the calculation method for increasing the data transmission request amount comprises the following steps:
Dtra←Dtra+1;
if the load estimation value is larger than 1, the test end adopts a 'regression sending' strategy to reduce the data transmission request quantity and balance and converge on fair speed and transmission path utilization rate; the calculation method for reducing the data transmission request amount comprises the following steps:
Dtra←Dtra·γ,
where γ is a data transmission request amount reduction ratio.
Preferably, the method for optimally adjusting the segment threshold of the load factor based on dynamic programming includes:
step (1): carrying out initialization setting on adjustment parameters, wherein the adjustment parameters comprise: iteration number k, return upper limit n and load factor threshold range
Figure BDA0001332349580000042
Step (2): the method comprises the following steps of adjusting the request quantity of data transmission in real time according to a dynamic mechanism of an adjustment strategy, and performing traversal assignment on data within a load factor threshold range, wherein the method for performing traversal assignment on the data within the load factor threshold range comprises the following steps:
Figure BDA0001332349580000043
wherein the threshold is traversed
Figure BDA0001332349580000044
Record the history
Figure BDA0001332349580000045
The data transmission request sent in the time period is
Figure BDA0001332349580000046
The test terminal completes the receiving of the data transmission request
Figure BDA0001332349580000047
Time of
Figure BDA0001332349580000048
And receive data volume
Figure BDA0001332349580000049
And (3): calculating the history threshold
Figure BDA00013323495800000410
The test end data receiving rate and the receiving rate mean value, wherein the receiving rate has a calculation formula as follows:
Figure BDA00013323495800000411
the calculation formula of the mean receiving rate is as follows:
Figure BDA0001332349580000051
wherein V is the receiving rate of data transmission of the test end, R is the receiving data volume of the test end, t is the time for the test end to complete the data transmission request, and VkIs the mean value of the receiving rate; when the load factor threshold is taken
Figure BDA0001332349580000052
When the temperature of the water is higher than the set temperature,
Figure BDA0001332349580000053
in the data transmission process, the load factor of the test end is
Figure BDA0001332349580000054
Time to complete receiving the data transmission request;
Figure BDA0001332349580000055
the amount of received data in the process;
Figure BDA0001332349580000056
for load factor threshold
Figure BDA0001332349580000057
The test-end data reception rate of time.
And (4): comparing the difference value of the mean receiving rate of the two times with the receiving rate increase threshold value of the data at the test end,
if (V)k-Vk-1) > 0, then
Figure BDA0001332349580000058
Corresponding threshold value of
Figure BDA0001332349580000059
Reduced to the set ρkIn, the set ρkAssigning the internal maximum value to rhomaxThe minimum value is assigned to rhominK is k +1, n is set to 0, and the step (2) is returned;
if 0 < (V)k-Vk-1) Selecting the maximum of the iteration
Figure BDA00013323495800000510
Is marked as VmaxThe threshold value corresponding thereto
Figure BDA00013323495800000511
Is assigned to rholK is k +1, by a threshold plThe dynamic transmission of the data is carried out,
Figure BDA00013323495800000512
n is set to 0, if Vk≥VmaxRe-entering the step; if Vk<VmaxEntering the step (2);
if (V)k-Vk-1) If n is less than 0 and less than or equal to 3, k is k-1, and the set rho of the k iteration iskAssigning the internal maximum value to rhomaxThe minimum value is assigned to rhominN is n +1, and returns to step (2);
if (V)k-Vk-1) Less than 0 and n > 3, returning to the step (1), and optimizing the threshold value rholAnd optimizing in real time according to the network transmission state until the data transmission is finished.
According to another aspect of the present invention, there is provided a unified interface test and concurrent transmission system for a power consumption information acquisition system, the system including: a waiting data request quantity calculating unit, a load estimation value calculating unit, an available bandwidth and congestion degree calculating unit, a data transmission request quantity adjusting unit of the next period and a segmentation threshold adjusting unit of a load factor,
the data request quantity to be transmitted calculating unit is used for taking the sum of the data transmission request quantity to be transmitted and the transmission data quantity of the previous period as the data request quantity to be transmitted of the current period;
the load estimation value calculation unit is used for calculating a load estimation value according to the data request quantity to be transmitted and the maximum transmission quantity of the transmission path;
the available bandwidth and congestion degree calculating unit is configured to calculate an available bandwidth and a congestion degree according to feedback information of a data request of a transmission data amount of a current period, respectively, where the feedback information includes: data request response rate and data transmission request information;
the data transmission request quantity adjusting unit of the next period is used for adaptively and dynamically adjusting the data transmission request quantity to be sent of the next period according to the available bandwidth, the congestion degree and the load estimation value and an adjusting strategy;
and the load factor segmentation threshold adjusting unit is used for optimally adjusting the segmentation threshold of the load factor based on dynamic programming.
Preferably, wherein the load estimation value is calculated by:
Figure BDA0001332349580000061
wherein rho is a load estimation value; λ is per time interval tρThe data volume received by the test terminal;
Figure BDA0001332349580000062
the average request queue number of the tester in unit time, namely the average data transmission request number; k is a radical ofqRelease rate for queue backlog; xi is the utilization rate of the transmission path, and C is the bottleneck bandwidth of the transmission channel.
Preferably, wherein the available bandwidth is calculated by:
Figure BDA0001332349580000063
wherein, BnIs at tnThe estimated available bandwidth when the nth data request is transmitted; t is tn-1The moment when the data transmission of the (n-1) th data transmission request is finished; l isnThe amount of data transmitted for the nth data transmission request; RTT is tnEstimating the end-to-end time delay of the data transmission request at the moment, and determining the end-to-end round-trip time of the nth data transmission request; pinIs a scale factor.
Preferably, wherein the scale factor is calculated by:
Figure BDA0001332349580000064
wherein D istra(n-1)The number of the (n-1) th data transmission requests is shown, and P is the size of the data transmission request.
Preferably, the congestion degree is calculated by:
Figure BDA0001332349580000065
wherein g is a weighting factor, and the value range of g is (0, 1); f is the last time interval tρThe returned data transmission request completion ratio, alpha is the last time interval tρMaximum number of retransmissions for an intra-sent data transmission request, M being the last time interval tρThe data transmission request quantity of the internal testing party for completing transmission, T is the last time interval TρAnd the data transmission request quantity sent by the internal test end.
Preferably, the data transmission request completion ratio F is calculated by:
Figure BDA0001332349580000071
preferably, the data transmission request amount adjusting unit of the next cycle is specifically configured to:
if the load estimation value is smaller than the threshold value of the load factor, the test end adopts a 'quick start' strategy to quickly increase the data transmission request quantity; wherein, the fast increase data transmission request amount is calculated by the following method:
Figure BDA0001332349580000072
wherein D istraAlpha is the increment factor of the data transmission request quantity, RTTminMinimum observed RTT value for the test end;
if the load estimation value is greater than the load factor threshold and less than or equal to the asynchronous feedback threshold, the test end increases the data transmission request quantity by adopting a 'smooth increase' strategy; wherein, the increase of the data transmission request amount is calculated by the following method:
Figure BDA0001332349580000073
if the load estimation value is greater than the asynchronous feedback threshold value and less than or equal to 1, the test end adopts a linear increase strategy to increase the data transmission request quantity; wherein the increase data transmission request amount is calculated by:
Dtra←Dtra+1;
if the load estimation value is larger than 1, the test end adopts a 'regression sending' strategy to reduce the data transmission request quantity and balance and converge on fair speed and transmission path utilization rate; wherein the reduction in data transmission request size is calculated in the following manner:
Dtra←Dtra·γ,
where γ is a data transmission request amount reduction ratio.
Preferably, the segment threshold adjusting unit of the load factor is specifically configured to:
step (1): carrying out initialization setting on adjustment parameters, wherein the adjustment parameters comprise: iteration number k, return upper limit n and load factor threshold range
Figure BDA0001332349580000081
Step (2): the method comprises the following steps of adjusting the request quantity of data transmission in real time according to a dynamic mechanism of an adjustment strategy, and performing traversal assignment on data within a load factor threshold range, wherein the method for performing traversal assignment on the data within the load factor threshold range comprises the following steps:
Figure BDA0001332349580000082
wherein the threshold is traversed
Figure BDA0001332349580000083
Record the history
Figure BDA0001332349580000084
The data transmission request sent in the time period is
Figure BDA0001332349580000085
The test terminal completes the receiving of the data transmission request
Figure BDA0001332349580000086
Time of
Figure BDA0001332349580000087
And receive data volume
Figure BDA0001332349580000088
And (3): calculating the history threshold
Figure BDA0001332349580000089
The test end data receiving rate and the receiving rate mean value, wherein the receiving rate has a calculation formula as follows:
Figure BDA00013323495800000810
the calculation formula of the mean receiving rate is as follows:
Figure BDA00013323495800000811
wherein V is the receiving rate of data transmission of the test end, R is the receiving data volume of the test end, t is the time for the test end to complete the data transmission request, and VkIs the mean value of the receiving rate; when the load factor threshold is taken
Figure BDA00013323495800000812
When the temperature of the water is higher than the set temperature,
Figure BDA00013323495800000813
in the data transmission process, the load factor of the test end is
Figure BDA00013323495800000814
Time to complete receiving the data transmission request;
Figure BDA00013323495800000815
the amount of received data in the process;
Figure BDA00013323495800000816
for load factor threshold
Figure BDA00013323495800000817
The test-end data reception rate of time.
And (4): comparing the difference value of the mean receiving rate of the two times with the receiving rate increase threshold value of the data at the test end,
if (V)k-Vk-1) > 0, then
Figure BDA00013323495800000818
Corresponding threshold value of
Figure BDA00013323495800000819
Reduced to the set ρkIn, the set ρkAssigning the internal maximum value to rhomaxThe minimum value is assigned to rhominK is k +1, n is set to 0, and the step (2) is returned;
if 0 < (V)k-Vk-1) Selecting the maximum of the iteration
Figure BDA0001332349580000091
Is marked as VmaxThe threshold value corresponding thereto
Figure BDA0001332349580000092
Is assigned to rholK is k +1, by a threshold plThe dynamic transmission of the data is carried out,n is set to 0, if Vk≥VmaxRe-entering the step; if Vk<VmaxEntering the step (2);
if (V)k-Vk-1) If n is less than 0 and less than or equal to 3, k is k-1, and the set rho of the k iteration iskAssigning the internal maximum value to rhomaxThe minimum value is assigned to rhominN is n +1, and returns to step (2);
if (V)k-Vk-1) Less than 0 and n > 3, returning to the step (1), and optimizing the threshold value rholAnd optimizing in real time according to the network transmission state until the data transmission is finished.
The invention has the beneficial effects that:
the technical scheme of the invention provides adjustment of a data transmission request based on a self-adaptive dynamic feedback transmission mechanism, a load estimation value, available bandwidth and congestion degree of a transmission path are predicted periodically, different strategies are respectively executed at a test end on the adjustment of the data transmission request amount according to network parameters fed back by transmission, the dynamic adjustment of a key segmentation threshold of the data transmission request amount is realized based on an optimal control algorithm, the time-varying property of a transmission network and the time delay influence of feedback data are reduced, the number of the data transmission requests subjected to the self-adaptive dynamic adjustment is realized, the network throughput is improved, the load balance of data transmission based on a web service interface is realized, and the high efficiency of parallel processing of test data is ensured.
Drawings
A more complete understanding of exemplary embodiments of the present invention may be had by reference to the following drawings in which:
fig. 1 is a flowchart of a method 100 for testing concurrent transmission of a unified interface of a power consumption information acquisition system according to an embodiment of the present invention; and
fig. 2 is a schematic structural diagram of a power consumption information acquisition system unified interface test concurrent transmission system 200 according to an embodiment of the present invention.
Detailed Description
The exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, however, the present invention may be embodied in many different forms and is not limited to the embodiments described herein, which are provided for complete and complete disclosure of the present invention and to fully convey the scope of the present invention to those skilled in the art. The terminology used in the exemplary embodiments illustrated in the accompanying drawings is not intended to be limiting of the invention. In the drawings, the same units/elements are denoted by the same reference numerals.
Unless otherwise defined, terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Further, it will be understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense.
Fig. 1 is a flowchart of a method 100 for testing and concurrently transmitting a unified interface of a power consumption information acquisition system according to an embodiment of the present invention. As shown in fig. 1, the method 100 is used for testing and concurrently transmitting a unified interface of an electricity consumption information acquisition system, and the method mainly uses a transmission path load estimation value to improve efficiency and fairness of data transmission, uses the idea of a standard TCP protocol for reference, but uses completely different strategies, predicts a load factor of a transmission path according to periodicity, and maps the load factor to 3 different utility areas, that is, low load, high load, and overload. In a low-load area, a test end adopts a 'quick start' strategy to adjust the data transmission request quantity so as to converge to a high bandwidth utilization rate as fast as possible and avoid unnecessary data packet loss; in the high load area, factor U is introducedthDivide it into two non-overlapping sub-regions, i.e. synchronous increments (ρ)l<ρ≤Uth) And asynchronous increase (U)thLess than rho less than or equal to 1), respectively adopting 'gentle increase' and 'linear increase' to adjust data transmission request quantity, accelerating data transmission flow to converge on fairness, and dividing boundary value UthDetermined by the available bandwidth and congestion level of the network; in the overload area, the data transmission request amount is reduced by adopting the 'regression sending' operation, the subsequent load estimation feedback is ignored, and the congestion window is more reasonably reduced, namely the window reduction ratio of the high-bandwidth flow is large, otherwise, the congestion window is smaller.
Preferably, the electrical information acquisition system unified interface test concurrent transmission method 100 starts at step 101, and in step 101, a sum of a data transmission request amount to be sent and a transmission data amount of a previous cycle is used as a data request amount to be transmitted of a current cycle.
Preferably, a load estimation value is calculated in step 102 according to the pending data request amount and the maximum transmission amount of the transmission path. Preferably, the load estimation value is calculated by:
Figure BDA0001332349580000101
wherein rho is a load estimation value; λ is per time interval tρThe data volume received by the test terminal;
Figure BDA0001332349580000102
the average request queue number of the tester in unit time, namely the average data transmission request number; k is a radical ofqRelease rate for queue backlog; xi is the utilization rate of the transmission path, and C is the bottleneck bandwidth of the transmission channel.
Preferably, the available bandwidth and the congestion degree are respectively calculated in step 103 according to feedback information of a data request of the transmission data amount of the current cycle, wherein the feedback information includes: data request response rate and data transmission request information. Preferably, the available bandwidth is calculated by:
Figure BDA0001332349580000111
wherein, BnIs at tnThe estimated available bandwidth when the nth data request is transmitted; t is tn-1The moment when the data transmission of the (n-1) th data transmission request is finished; l isnThe amount of data transmitted for the nth data transmission request; RTT is tnEstimating the end-to-end time delay of the data transmission request at the moment, and determining the end-to-end round-trip time of the nth data transmission request; pinIs a scale factor.
Preferably, the calculation method of the scale factor is as follows:
Figure BDA0001332349580000112
wherein D istra(n-1)Represents the n-1 th data transmission request quantity, and P is the size of the data transmission request。
Preferably, the congestion degree is calculated by:
Figure BDA0001332349580000113
wherein g is a weighting factor, and the value range of g is (0, 1); f is the last time interval tρThe returned data transmission request completion ratio, alpha is the last time interval tρMaximum number of retransmissions for an intra-sent data transmission request, M being the last time interval tρThe data transmission request quantity of the internal testing party for completing transmission, T is the last time interval TρAnd the data transmission request quantity sent by the internal test end.
Preferably, the method for calculating the data transmission request completion ratio F includes:
Figure BDA0001332349580000114
wherein at a time interval tρThe more data transmission requests are backlogged, the more retransmission times, which will cause clUntil the upper limit 1 is reached. Using estimated clThe value of the load factor gamma can be adjusted adaptively by the following method:
γ=γmax-clmaxmin),
wherein, γmaxIs the maximum value of gamma, noted as 0.875, gammaminThe minimum value of gamma is 0.375, most of the network is overloaded, which indicates that network congestion is about to occur, in order to avoid congestion, the data transmission request amount should be reduced more, if the data request retransmission is increased, the data transmission is performed based on the web service interface mode on the basis of the tested party, and the data must be retransmitted after the data transmission is interrupted, so the data transmission request amount should be reduced to ensure the data transmission effectiveness and avoid invalid transmission.
Preferably, in step 104, the amount of data transmission requests to be sent in the next period is adaptively and dynamically adjusted according to the adjustment strategy according to the available bandwidth, the congestion degree and the load estimation value. The load estimation value is classified into four stages of 'quick start', 'smooth increase', 'linear increase' and 'regression transmission'; the available bandwidth is adjusted by the 'gently increasing' data transmission request quantity; the degree of congestion determines a fragmentation threshold that can adaptively adjust the load factor.
In the implementation mode of the invention, a dynamic mechanism of 'quick start', 'slow increase', 'linear increase' and 'regression sending' is adopted to adjust the data transmission request quantity sending request in real time, thereby realizing the maximum efficiency transmission of data on the basis of ensuring the reliability and anti-interference performance of data transmission. The rapid start is mainly to increase the data transmission request in an exponential order, so that the size of the data transmission request can be increased to be close to the maximum rapidly; the 'smooth increase' reduces the generation of burst data volume, lightens the pressure of a data transmission buffer queue, maintains stable data transmission sending requests as much as possible and avoids the increase of the loss probability of the data transmission requests; "linear increase" is mainly sending the data transmission request size plus 1, so that the data transmission request size increases in the lowest linear manner until the data transmission request maximum is reached, or the acknowledgement time is maximized; the 'regression sending' means that when the network state becomes poor or the data transmission request is full, the packet loss of the data transmission is increased, the time for receiving the confirmation of the sent data packet is prolonged, the data transmission request amount is reduced proportionally, and the sending is restarted.
Preferably, the dynamically and adaptively adjusting the amount of the data transmission request to be sent in the next period according to the adjustment policy based on the available bandwidth, the congestion degree, and the load estimation value includes:
if the load estimation value is smaller than the threshold value of the load factor, the test end adopts a 'quick start' strategy to quickly increase the data transmission request quantity; the calculation method for rapidly increasing the data transmission request amount comprises the following steps:
Figure BDA0001332349580000121
wherein,Dtraalpha is the increment factor of the data transmission request quantity, RTTminMinimum observed RTT value for the test end;
if the load estimation value is greater than the load factor threshold and less than or equal to the asynchronous feedback threshold, the test end increases the data transmission request quantity by adopting a 'smooth increase' strategy; the calculation method for increasing the data transmission request amount comprises the following steps:
Figure BDA0001332349580000131
if the load estimation value is greater than the asynchronous feedback threshold value and less than or equal to 1, the test end adopts a linear increase strategy to increase the data transmission request quantity; the calculation method for increasing the data transmission request amount comprises the following steps:
Dtra←Dtra+1;
if the load estimation value is larger than 1, the test end adopts a 'regression sending' strategy to reduce the data transmission request quantity and balance and converge on fair speed and transmission path utilization rate; the calculation method for reducing the data transmission request amount comprises the following steps:
Dtra←Dtra·γ,
where γ is a data transmission request amount reduction ratio.
Preferably, the segment threshold of the load factor is optimally adjusted based on dynamic programming in step 105. The method comprises the steps of determining the adjustment of a data transmission request quantity change stage based on a state value of set load estimation, optimizing a segmentation threshold in real time according to dynamic programming optimal control, dynamically adjusting the data transmission request change quantity by utilizing available bandwidth estimation and congestion degree estimation, effectively enhancing network data transmission performance based on feedback information, reducing interface network load, improving interface throughput capacity and ensuring the overall processing capacity of the system.
Preferably, the method for optimally adjusting the segment threshold of the load factor based on dynamic programming includes:
step (1): performing initial setting on adjustment parameters, wherein the adjustment parameters comprise: iteration number k, return upper limit n and load factor threshold range
Figure BDA0001332349580000132
First, the number of iterations k is set to 0, the upper limit n is set to 0, and then ρ is calculatedlCarry out an initialization threshold range, rhominIs rholMinimum value of, ρmaxIs rholIs initially 1, is taken
Figure BDA0001332349580000133
Step (2): the method comprises the following steps of adjusting the request quantity of data transmission in real time according to a dynamic mechanism of an adjustment strategy, and performing traversal assignment on data within a load factor threshold range, wherein the method for performing traversal assignment on the data within the load factor threshold range comprises the following steps:
Figure BDA0001332349580000141
wherein the threshold is traversed
Figure BDA0001332349580000142
Record the history
Figure BDA0001332349580000143
The data transmission request sent in the time period is
Figure BDA0001332349580000144
The test terminal completes the receiving of the data transmission request
Figure BDA0001332349580000145
Time of
Figure BDA0001332349580000146
And receive data volume
Figure BDA0001332349580000147
Each time
Figure BDA0001332349580000148
The assignment values of (1) are subjected to a complete data transmission process of 'quick start', 'smooth increase', 'linear increase', 'regression transmission', wherein rho is subjected to each time
Figure BDA0001332349580000149
A change to 1.
And (3): calculating the history threshold
Figure BDA00013323495800001410
The test end data receiving rate and the receiving rate mean value, wherein the receiving rate has a calculation formula as follows:
Figure BDA00013323495800001411
the calculation formula of the mean receiving rate is as follows:
Figure BDA00013323495800001412
wherein V is the receiving rate of data transmission of the test end, R is the receiving data volume of the test end, t is the time for the test end to complete the data transmission request, and VkIs the mean value of the receiving rate; when the load factor threshold is taken
Figure BDA00013323495800001413
When the temperature of the water is higher than the set temperature,
Figure BDA00013323495800001414
in the data transmission process, the load factor of the test end is
Figure BDA00013323495800001415
Time to complete receiving the data transmission request;
Figure BDA00013323495800001416
the amount of received data in the process;
Figure BDA00013323495800001417
for load factor threshold
Figure BDA00013323495800001418
The test-end data reception rate of time.
And (4): comparing the difference value of the mean receiving rate of the two times with the receiving rate increase threshold value of the data at the test end,
if (V)k-Vk-1) > 0, then
Figure BDA00013323495800001419
Corresponding threshold value of
Figure BDA00013323495800001420
Reduced to the set ρkIn, the set ρkAssigning the internal maximum value to rhomaxThe minimum value is assigned to rhominK is k +1, n is set to 0, and the procedure returns to step (2).
If 0 < (V)k-Vk-1) Selecting the maximum of the iteration
Figure BDA00013323495800001421
Is marked as VmaxThe threshold value corresponding thereto
Figure BDA00013323495800001422
Is assigned to rholK is k +1, by a threshold plThe dynamic transmission of the data is carried out,
Figure BDA0001332349580000151
n is set to 0, if Vk≥VmaxRe-entering the step; if Vk<VmaxProceed to step (2). Wherein, if 0 < (V)k-Vk-1) <, the value [ rho ] of this time rho is explainedminmax]Has resulted in a small increase in the data reception rate than the last time, so that [ rho ] at this timeminmax]Having been small and quite close to the optimum value, we now choose the one that obtains the maximum transmission rate this time
Figure BDA0001332349580000152
Value assignment to rholAs best quality and at the next transmission in plIs the transmission threshold. If Vk≥VmaxAt this time, the next data transmission request is sent, if this V isk≥VmaxThe optimal threshold value rho which is selected last time and is stable in the current network transmission state is explainedlReasonably, the data receiving rate is larger than or equal to the maximum value, so the step (5) is returned to, and the optimal threshold value rho of the data transmission request is sent next timelAnd is not changed. If Vk<VmaxAt this time, ρlIf not, re-screening is required, so returning to step (2) to continue based on the last threshold range [ rho ]minmax]What may cause this to happen is a small fluctuation in network transmission or the last chosen ρlIt is not reasonable.
If (V)k-Vk-1) If n is less than 0 and less than or equal to 3, k is k-1, and the set rho of the k iteration iskAssigning the internal maximum value to rhomaxThe minimum value is assigned to rhominAnd n is n +1, and returns to the step (2). If (V)k-Vk-1) N is less than 0 and less than or equal to 3, which indicates that the data transmission rate is lower than the last time at this time, and the situation may be temporary small fluctuation of the network transmission state, so k is reduced by one, and the last time [ rho ] is adoptedminmax]The threshold space performs optimal threshold screening, and n + 1.
If (V)k-Vk-1) Less than 0 and n > 3, returning to the step (1), and optimizing the threshold value rholAnd optimizing in real time according to the network transmission state until the data transmission is finished. If (V)k-Vk-1) < 0 and n > 3, indicating [ rhominmax]After three revisits, the data transmission rate is still lower than the last data transmission rate at the moment, which shows that the network transmission state is greatly changed at the moment, so that the step (1) is returned to carry out the re-optimal threshold screening. Adjusting the optimal threshold value rho of the overall optimal threshold value in real time according to the network transmission statelWaves generated in step (4) and based on a small range of network transmission conditionsAnd performing small-range adjustment. And (4) if the network transmission state is unstable and has large fluctuation, returning to the step (1) to initialize and carry out threshold value screening again. Optimum threshold value ρlAnd optimizing in real time according to the network transmission state until the data transmission is finished.
When the test end receives the feedback information of the data and dynamically adjusts the data transmission request quantity, the decisive factor of the transmission strategy is the threshold rho value due to the time variation of the transmission path information and the time delay of the feedback datalThe value of (1) is that the data transmission request quantity in the 'quick start' stage is rapidly increased, the data transmission rate is improved in a short time, and the value is in the threshold value rholThen, the data transmission request amount is maintained at a higher level and changes relatively slowly, the ratio is over 75% in the whole data transmission process, and the threshold rho is subjected to an optimal threshold control strategy based on dynamic programminglAnd carrying out dynamic optimization adjustment.
Fig. 2 is a schematic structural diagram of a power consumption information acquisition system unified interface test concurrent transmission system 200 according to an embodiment of the present invention. As shown in fig. 2, the system 200 for testing and transmitting power consumption information collecting system unified interface includes: a pending data request amount calculation unit 201, a load estimation value calculation unit 202, an available bandwidth and congestion degree calculation unit 203, a data transmission request amount adjustment unit 204 of the next cycle, and a segment threshold adjustment unit 205 of the load factor.
Preferably, the to-be-transmitted data request amount calculating unit 201 is configured to use the sum of the to-be-transmitted data transmission request amount and the transmission data amount of the previous cycle as the to-be-transmitted data request amount of the current cycle.
Preferably, the load estimation value calculating unit 202 is configured to calculate the load estimation value according to the pending data request amount and the maximum transmission amount of the transmission path. Preferably, wherein the load estimation value is calculated by:
Figure BDA0001332349580000161
wherein rho is a load estimation value; λ is per time intervaltρThe data volume received by the test terminal;
Figure BDA0001332349580000162
the average request queue number of the tester in unit time, namely the average data transmission request number; k is a radical ofqRelease rate for queue backlog; xi is the utilization rate of the transmission path, and C is the bottleneck bandwidth of the transmission channel.
Preferably, the available bandwidth and congestion degree calculating unit 203 is configured to calculate the available bandwidth and congestion degree according to feedback information of a data request of a transmission data amount of a current period, where the feedback information includes: data request response rate and data transmission request information. Preferably, wherein the available bandwidth is calculated by:
Figure BDA0001332349580000163
wherein, BnIs at tnThe estimated available bandwidth when the nth data request is transmitted; t is tn-1The moment when the data transmission of the (n-1) th data transmission request is finished; l isnThe amount of data transmitted for the nth data transmission request; RTT is tnEstimating the end-to-end time delay of the data transmission request at the moment, and determining the end-to-end round-trip time of the nth data transmission request; pinIs a scale factor.
Preferably, wherein the scale factor is calculated by:
Figure BDA0001332349580000171
wherein D istra(n-1)The number of the (n-1) th data transmission requests is shown, and P is the size of the data transmission request.
Preferably, the congestion degree is calculated by:
Figure BDA0001332349580000172
wherein g is a weighting factor, and the value range of g is (0, 1); f is the last time interval tρThe returned data transmission request completion ratio, alpha is the last time interval tρMaximum number of retransmissions for an intra-sent data transmission request, M being the last time interval tρThe data transmission request quantity of the internal testing party for completing transmission, T is the last time interval TρAnd the data transmission request quantity sent by the internal test end.
Preferably, the data transmission request completion ratio F is calculated by:
Figure BDA0001332349580000173
preferably, the data transmission request amount adjusting unit 204 of the next period is configured to adaptively and dynamically adjust the data transmission request amount to be sent of the next period according to an adjustment policy based on the available bandwidth, the congestion degree, and the load estimation value. Preferably, the data transmission request amount adjusting unit 204 of the next cycle is specifically configured to:
if the load estimation value is smaller than the threshold value of the load factor, the test end adopts a 'quick start' strategy to quickly increase the data transmission request quantity; wherein, the fast increase data transmission request amount is calculated by the following method:
Figure BDA0001332349580000174
wherein D istraAlpha is the increment factor of the data transmission request quantity, RTTminMinimum observed RTT value for the test end;
if the load estimation value is greater than the load factor threshold and less than or equal to the asynchronous feedback threshold, the test end increases the data transmission request quantity by adopting a 'smooth increase' strategy; wherein, the increase of the data transmission request amount is calculated by the following method:
Figure BDA0001332349580000181
if the load estimation value is greater than the asynchronous feedback threshold value and less than or equal to 1, the test end adopts a linear increase strategy to increase the data transmission request quantity; wherein the increase data transmission request amount is calculated by:
Dtra←Dtra+1;
if the load estimation value is larger than 1, the test end adopts a 'regression sending' strategy to reduce the data transmission request quantity and balance and converge on fair speed and transmission path utilization rate; wherein the reduction in data transmission request size is calculated in the following manner:
Dtra←Dtra·γ,
where γ is a data transmission request amount reduction ratio.
Preferably, the load factor segmentation threshold adjusting unit 205 is configured to perform optimal adjustment on the load factor segmentation threshold based on dynamic programming. Preferably, the segmentation threshold adjusting unit 205 of the load factor is specifically configured to:
step (1): carrying out initialization setting on adjustment parameters, wherein the adjustment parameters comprise: iteration number k, return upper limit n and load factor threshold range
Figure BDA0001332349580000182
Step (2): the method comprises the following steps of adjusting the request quantity of data transmission in real time according to a dynamic mechanism of an adjustment strategy, and performing traversal assignment on data within a load factor threshold range, wherein the method for performing traversal assignment on the data within the load factor threshold range comprises the following steps:
Figure BDA0001332349580000183
wherein the threshold is traversed
Figure BDA0001332349580000184
Record the history
Figure BDA0001332349580000185
The data transmission request sent in the time period is
Figure BDA0001332349580000186
The test terminal completes the receiving of the data transmission request
Figure BDA0001332349580000187
Time of
Figure BDA0001332349580000188
And receive data volume
Figure BDA0001332349580000189
And (3): calculating the history threshold
Figure BDA00013323495800001810
The test end data receiving rate and the receiving rate mean value, wherein the receiving rate has a calculation formula as follows:
Figure BDA0001332349580000191
the calculation formula of the mean receiving rate is as follows:
Figure BDA0001332349580000192
wherein V is the receiving rate of data transmission of the test end, R is the receiving data volume of the test end, t is the time for the test end to complete the data transmission request, and VkIs the mean value of the receiving rate; when the load factor threshold is taken
Figure BDA0001332349580000193
When the temperature of the water is higher than the set temperature,
Figure BDA0001332349580000194
in the data transmission process, the load factor of the test end is
Figure BDA0001332349580000195
Time to complete receiving the data transmission request;
Figure BDA0001332349580000196
the amount of received data in the process;
Figure BDA0001332349580000197
for load factor threshold
Figure BDA0001332349580000198
The test-end data reception rate of time.
And (4): comparing the difference value of the mean receiving rate of the two times with the receiving rate increase threshold value of the data at the test end,
if (V)k-Vk-1) > 0, then
Figure BDA0001332349580000199
Corresponding threshold value of
Figure BDA00013323495800001910
Reduced to the set ρkIn, the set ρkAssigning the internal maximum value to rhomaxThe minimum value is assigned to rhominK is k +1, n is set to 0, and the step (2) is returned;
if 0 < (V)k-Vk-1) Selecting the maximum of the iteration
Figure BDA00013323495800001911
Is marked as VmaxThe threshold value corresponding thereto
Figure BDA00013323495800001912
Is assigned to rholK is k +1, by a threshold plThe dynamic transmission of the data is carried out,
Figure BDA00013323495800001913
n is set to 0, if Vk≥VmaxRe-entering the step; if Vk<VmaxEntering the step (2);
if (V)k-Vk-1) If n is less than 0 and less than or equal to 3, k is k-1, and the set rho of the k iteration iskAssigning the internal maximum value to rhomaxThe minimum value is assigned to rhominN is n +1, and returns to step (2);
if (V)k-Vk-1) Less than 0 and n > 3, returning to the step (1), and optimizing the threshold value rholAnd optimizing in real time according to the network transmission state until the data transmission is finished.
The unified interface test and concurrent transmission system 200 of the electrical information acquisition system according to the embodiment of the present invention corresponds to the unified interface test and concurrent transmission method 100 of the electrical information acquisition system according to another embodiment of the present invention, and is not described herein again.
The invention has been described with reference to a few embodiments. However, other embodiments of the invention than the one disclosed above are equally possible within the scope of the invention, as would be apparent to a person skilled in the art from the appended patent claims.
Generally, all terms used in the claims are to be interpreted according to their ordinary meaning in the technical field, unless explicitly defined otherwise herein. All references to "a/an/the [ device, component, etc ]" are to be interpreted openly as referring to at least one instance of said device, component, etc., unless explicitly stated otherwise. The steps of any method disclosed herein do not have to be performed in the exact order disclosed, unless explicitly stated.

Claims (16)

1. A method for testing and transmitting concurrency of a unified interface of a power utilization information acquisition system is characterized by comprising the following steps:
taking the sum of the data transmission request quantity to be sent and the transmission data quantity of the previous period as the data transmission request quantity of the current period;
calculating a load estimation value according to the data request quantity to be transmitted and the maximum transmission quantity of the transmission path;
respectively calculating available bandwidth and congestion degree according to feedback information of a data request of the transmission data volume of the current period, wherein the feedback information comprises: data request response rate and data transmission request information;
the data transmission request quantity to be sent in the next period is adaptively and dynamically adjusted according to the available bandwidth, the congestion degree and the load estimation value and an adjustment strategy;
and optimally adjusting the segmentation threshold of the load factor based on dynamic programming.
2. The method of claim 1, wherein the load estimation value is calculated by:
Figure FDA0002579167740000011
wherein rho is a load estimation value; λ is per time interval tρThe data volume received by the test terminal;
Figure FDA0002579167740000012
the average request queue number of the tester in unit time, namely the average data transmission request number; k is a radical ofqRelease rate for queue backlog; xi is the utilization rate of the transmission path, and C is the bottleneck bandwidth of the transmission channel.
3. The method of claim 1, wherein the available bandwidth is calculated by:
Figure FDA0002579167740000013
wherein, BnIs at tnThe estimated available bandwidth when the nth data request is transmitted; t is tn-1The moment when the data transmission of the (n-1) th data transmission request is finished; l isnThe amount of data transmitted for the nth data transmission request; RTT is tnEstimating the end-to-end time delay of the data transmission request at the moment, and determining the end-to-end round-trip time of the nth data transmission request; pinIs a scale factor.
4. The method of claim 3, wherein the scaling factor is calculated by:
Figure FDA0002579167740000021
wherein D istra(n-1)The number of the (n-1) th data transmission requests is shown, and P is the size of the data transmission request.
5. The method of claim 1, wherein the congestion degree is calculated by:
Figure FDA0002579167740000022
wherein g is a weighting factor, and the value range of g is (0, 1); f is the last time interval tρThe returned data transmission request completion ratio, alpha is the last time interval tρAnd the maximum retransmission times of the internal sending data transmission request.
6. Method according to claim 5, characterized in that said last time interval tρThe method for calculating the returned data transmission request completion ratio F comprises the following steps:
Figure FDA0002579167740000023
where M is the last time interval tρThe data transmission request quantity of the internal testing party for completing transmission, T is the last time interval TρAnd the data transmission request quantity sent by the internal test end.
7. The method of claim 1, wherein the adaptively and dynamically adjusting the amount of data transmission requests to be sent in the next period according to the adjustment strategy based on the available bandwidth, the congestion degree and the load estimation value comprises:
if the load estimation value is smaller than the threshold value of the load factor, the test end adopts a 'quick start' strategy to quickly increase the data transmission request quantity; the calculation method for rapidly increasing the data transmission request amount comprises the following steps:
Figure FDA0002579167740000024
wherein D istraAlpha is the increment factor of the data transmission request quantity, RTTminMinimum observed RTT value for the test end;
if the load estimation value is greater than the load factor threshold and less than or equal to the asynchronous feedback threshold, the test end increases the data transmission request quantity by adopting a 'smooth increase' strategy; the calculation method for increasing the data transmission request amount comprises the following steps:
Figure FDA0002579167740000031
if the load estimation value is greater than the asynchronous feedback threshold value and less than or equal to 1, the test end adopts a linear increase strategy to increase the data transmission request quantity; the calculation method for increasing the data transmission request amount comprises the following steps:
Dtra←Dtra+1;
if the load estimation value is larger than 1, the test end adopts a 'regression sending' strategy to reduce the data transmission request quantity and balance and converge on fair speed and transmission path utilization rate; the calculation method for reducing the data transmission request amount comprises the following steps:
Dtra←Dtra·γ,
where γ is a data transmission request amount reduction ratio.
8. The method of claim 1, wherein the method for optimally adjusting the segment threshold of the load factor based on dynamic programming comprises:
step (1): carrying out initialization setting on adjustment parameters, wherein the adjustment parameters comprise: iteration number k, return upper limit n and load factor threshold rangeEnclose
Figure FDA0002579167740000032
Step (2): the method comprises the following steps of adjusting the request quantity of data transmission in real time according to a dynamic mechanism of an adjustment strategy, and performing traversal assignment on data within a load factor threshold range, wherein the method for performing traversal assignment on the data within the load factor threshold range comprises the following steps:
Figure FDA0002579167740000033
wherein the threshold is traversed
Figure FDA0002579167740000034
Record the history
Figure FDA0002579167740000035
The data transmission request sent in the time period is
Figure FDA0002579167740000036
The test terminal completes the receiving of the data transmission request
Figure FDA0002579167740000037
Time of
Figure FDA0002579167740000038
And receive data volume
Figure FDA0002579167740000041
And (3): calculating the history threshold
Figure FDA0002579167740000042
The test end data receiving rate and the receiving rate mean value, wherein the receiving rate has a calculation formula as follows:
Figure FDA0002579167740000043
the calculation formula of the mean receiving rate is as follows:
Figure FDA0002579167740000044
wherein V is the receiving rate of data transmission of the test end, R is the receiving data volume of the test end, t is the time for the test end to complete the data transmission request, and VkIs the mean value of the receiving rate; when the load factor threshold is taken
Figure FDA0002579167740000045
When the temperature of the water is higher than the set temperature,
Figure FDA0002579167740000046
in the data transmission process, the load factor of the test end is
Figure FDA0002579167740000047
Time to complete receiving the data transmission request;
Figure FDA0002579167740000048
the amount of received data in the process;
Figure FDA0002579167740000049
for load factor threshold
Figure FDA00025791677400000410
The data receiving rate of the time-dependent test end;
and (4): comparing the difference value of the mean receiving rate of the two times with the receiving rate increase threshold value of the data at the test end,
if (V)k-Vk-1) > 0, then
Figure FDA00025791677400000411
Corresponding threshold value of
Figure FDA00025791677400000412
Reduced to the set ρkIn, the set ρkAssigning the internal maximum value to rhomaxThe minimum value is assigned to rhominK is k +1, n is set to 0, and the step (2) is returned;
if 0 < (V)k-Vk-1) Selecting the maximum of the iteration
Figure FDA00025791677400000415
Is marked as VmaxThe threshold value corresponding thereto
Figure FDA00025791677400000413
Is assigned to rholK is k +1, by a threshold plThe dynamic transmission of the data is carried out,
Figure FDA00025791677400000414
n is set to 0, if Vk≥VmaxRe-entering the step; if Vk<VmaxEntering the step (2);
if (V)k-Vk-1) If n is less than 0 and less than or equal to 3, k is k-1, and the set rho of the k iteration iskAssigning the internal maximum value to rhomaxThe minimum value is assigned to rhominN is n +1, and returns to step (2);
if (V)k-Vk-1) Less than 0 and n > 3, returning to the step (1), and optimizing the threshold value rholOptimizing in real time according to the network transmission state until the data transmission is finished; wherein a threshold is increased for the test side data reception rate.
9. The utility model provides a unified interface test of power consumption information acquisition system and transmission system that sends out which characterized in that, the system includes: a waiting data request quantity calculating unit, a load estimation value calculating unit, an available bandwidth and congestion degree calculating unit, a data transmission request quantity adjusting unit of the next period and a segmentation threshold adjusting unit of a load factor,
the data request quantity to be transmitted calculating unit is used for taking the sum of the data transmission request quantity to be transmitted and the transmission data quantity of the previous period as the data request quantity to be transmitted of the current period;
the load estimation value calculation unit is used for calculating a load estimation value according to the data request quantity to be transmitted and the maximum transmission quantity of the transmission path;
the available bandwidth and congestion degree calculating unit is configured to calculate an available bandwidth and a congestion degree according to feedback information of a data request of a transmission data amount of a current period, respectively, where the feedback information includes: data request response rate and data transmission request information;
the data transmission request quantity adjusting unit of the next period is used for adaptively and dynamically adjusting the data transmission request quantity to be sent of the next period according to the available bandwidth, the congestion degree and the load estimation value and an adjusting strategy;
and the load factor segmentation threshold adjusting unit is used for optimally adjusting the segmentation threshold of the load factor based on dynamic programming.
10. The system of claim 9, wherein the load estimate is calculated by:
Figure FDA0002579167740000051
wherein rho is a load estimation value; λ is per time interval tρThe data volume received by the test terminal;
Figure FDA0002579167740000052
the average request queue number of the tester in unit time, namely the average data transmission request number; k is a radical ofqRelease rate for queue backlog; xi is the utilization rate of the transmission path, and C is the bottleneck bandwidth of the transmission channel.
11. The system of claim 9, wherein the available bandwidth is calculated by:
Figure FDA0002579167740000053
wherein, BnIs at tnThe estimated available bandwidth when the nth data request is transmitted; t is tn-1The moment when the data transmission of the (n-1) th data transmission request is finished; l isnThe amount of data transmitted for the nth data transmission request; RTT is tnEstimating the end-to-end time delay of the data transmission request at the moment, and determining the end-to-end round-trip time of the nth data transmission request; pinIs a scale factor.
12. The system of claim 11, wherein the scaling factor is calculated by:
Figure FDA0002579167740000061
wherein D istra(n-1)The number of the (n-1) th data transmission requests is shown, and P is the size of the data transmission request.
13. The system of claim 9, wherein the congestion degree is calculated by:
Figure FDA0002579167740000062
wherein g is a weighting factor, and the value range of g is (0, 1); f is the last time interval tρThe returned data transmission request completion ratio, alpha is the last time interval tρAnd the maximum retransmission times of the internal sending data transmission request.
14. The system of claim 13, wherein the last time interval tρThe returned data transmission request completion ratio F is calculated by:
Figure FDA0002579167740000063
where M is the last time interval tρThe data transmission request quantity of the internal testing party for completing transmission, T is the last time interval TρAnd the data transmission request quantity sent by the internal test end.
15. The system of claim 9, wherein the data transmission request amount adjustment unit of the next cycle is specifically configured to:
if the load estimation value is smaller than the threshold value of the load factor, the test end adopts a 'quick start' strategy to quickly increase the data transmission request quantity; wherein, the fast increase data transmission request amount is calculated by the following method:
Figure FDA0002579167740000071
wherein D istraAlpha is the increment factor of the data transmission request quantity, RTTminMinimum observed RTT value for the test end;
if the load estimation value is greater than the load factor threshold and less than or equal to the asynchronous feedback threshold, the test end increases the data transmission request quantity by adopting a 'smooth increase' strategy; wherein, the increase of the data transmission request amount is calculated by the following method:
Figure FDA0002579167740000072
if the load estimation value is greater than the asynchronous feedback threshold value and less than or equal to 1, the test end adopts a linear increase strategy to increase the data transmission request quantity; wherein the increase data transmission request amount is calculated by:
Dtra←Dtra+1;
if the load estimation value is larger than 1, the test end adopts a 'regression sending' strategy to reduce the data transmission request quantity and balance and converge on fair speed and transmission path utilization rate; wherein the reduction in data transmission request size is calculated in the following manner:
Dtra←Dtra·γ,
where γ is a data transmission request amount reduction ratio.
16. The system according to claim 9, wherein the segment threshold adjustment unit of the load factor is specifically configured to:
step (1): carrying out initialization setting on adjustment parameters, wherein the adjustment parameters comprise: iteration number k, return upper limit n and load factor threshold range
Figure FDA0002579167740000073
Step (2): the method comprises the following steps of adjusting the request quantity of data transmission in real time according to a dynamic mechanism of an adjustment strategy, and performing traversal assignment on data within a load factor threshold range, wherein the method for performing traversal assignment on the data within the load factor threshold range comprises the following steps:
Figure FDA0002579167740000081
wherein the threshold is traversed
Figure FDA0002579167740000082
Record the history
Figure FDA0002579167740000083
The data transmission request sent in the time period is
Figure FDA0002579167740000084
The test terminal completes the receiving of the data transmission request
Figure FDA0002579167740000085
Time of
Figure FDA0002579167740000086
And receive data volume
Figure FDA0002579167740000087
And (3): calculating the history threshold
Figure FDA0002579167740000088
The test end data receiving rate and the receiving rate mean value, wherein the receiving rate has a calculation formula as follows:
Figure FDA0002579167740000089
the calculation formula of the mean receiving rate is as follows:
Figure FDA00025791677400000810
wherein V is the receiving rate of data transmission of the test end, R is the receiving data volume of the test end, t is the time for the test end to complete the data transmission request, and VkIs the mean value of the receiving rate; when the load factor threshold is taken
Figure FDA00025791677400000811
When the temperature of the water is higher than the set temperature,
Figure FDA00025791677400000812
in the data transmission process, the load factor of the test end is
Figure FDA00025791677400000813
Time to complete receiving the data transmission request;
Figure FDA00025791677400000814
the amount of received data in the process;
Figure FDA00025791677400000815
for load factor threshold
Figure FDA00025791677400000816
The data receiving rate of the time-dependent test end;
and (4): comparing the difference value of the mean receiving rate of the two times with the receiving rate increase threshold value of the data at the test end,
if (V)k-Vk-1) > 0, then
Figure FDA00025791677400000817
Corresponding threshold value of
Figure FDA00025791677400000818
Reduced to the set ρkIn, the set ρkAssigning the internal maximum value to rhomaxThe minimum value is assigned to rhominK is k +1, n is set to 0, and the step (2) is returned;
if 0 < (V)k-Vk-1) Selecting the maximum of the iteration
Figure FDA00025791677400000819
Is marked as VmaxThe threshold value corresponding thereto
Figure FDA00025791677400000820
Is assigned to rholK is k +1, by a threshold plThe dynamic transmission of the data is carried out,
Figure FDA00025791677400000821
n is set to 0, if Vk≥VmaxRe-entering the step; if Vk<VmaxEntering the step (2);
if (V)k-Vk-1) If n is less than 0 and less than or equal to 3, k is k-1, and the set rho of the k iteration iskAssigning the internal maximum value to rhomaxThe minimum value is assigned to rhominN is n +1, and returns to step (2);
if (V)k-Vk-1) < 0 and n > 3, return to step (a)1) Optimum threshold value rholOptimizing in real time according to the network transmission state until the data transmission is finished; wherein a threshold is increased for the test side data reception rate.
CN201710494852.4A 2017-06-26 2017-06-26 Method and system for testing and transmitting unified interface of electricity consumption information acquisition system Active CN107276850B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710494852.4A CN107276850B (en) 2017-06-26 2017-06-26 Method and system for testing and transmitting unified interface of electricity consumption information acquisition system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710494852.4A CN107276850B (en) 2017-06-26 2017-06-26 Method and system for testing and transmitting unified interface of electricity consumption information acquisition system

Publications (2)

Publication Number Publication Date
CN107276850A CN107276850A (en) 2017-10-20
CN107276850B true CN107276850B (en) 2020-11-03

Family

ID=60068888

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710494852.4A Active CN107276850B (en) 2017-06-26 2017-06-26 Method and system for testing and transmitting unified interface of electricity consumption information acquisition system

Country Status (1)

Country Link
CN (1) CN107276850B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290428B (en) * 2019-06-26 2021-08-20 腾讯科技(深圳)有限公司 Congestion control method, device, terminal and storage medium
CN110311756B (en) * 2019-07-08 2022-06-07 山东省地质矿产勘查开发局八〇一水文地质工程地质大队 Underground substance detection monitoring system and detection monitoring method
CN110661727B (en) * 2019-08-14 2022-09-30 平安普惠企业管理有限公司 Data transmission optimization method and device, computer equipment and storage medium
CN111935025B (en) * 2020-07-08 2023-10-17 腾讯科技(深圳)有限公司 Control method, device, equipment and medium for TCP transmission performance
CN116192759B (en) * 2022-12-13 2024-08-30 网易(杭州)网络有限公司 Data transmission amount adjusting method and device, electronic equipment and storage medium
CN117952506B (en) * 2024-03-18 2024-06-18 青岛山科人工智能有限公司 Topology structure updating method, medium and system of modularized conveying line system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1953351A (en) * 2005-10-21 2007-04-25 国际商业机器公司 Method and apparatus for adaptive bandwidth control with a bandwidth guarantee
CN101056259A (en) * 2007-05-21 2007-10-17 中南大学 A collaborative congestion control method for high-speed network
CN101075960A (en) * 2007-06-22 2007-11-21 清华大学 Method for controlling fluid based on router virtual display load feedback in high-speed network
CN101964755A (en) * 2010-11-03 2011-02-02 中南大学 Explicit congestion control method based on bandwidth estimation in high-bandwidth delay network
CN102104912A (en) * 2011-03-24 2011-06-22 黄东 Heterogeneous service-based congestion control method for wireless mesh network
CN104092625A (en) * 2014-05-28 2014-10-08 中南大学 Adaptive request batch scheduling method used in DCN
CN104202257A (en) * 2014-09-12 2014-12-10 大连大学 Satellite network congestion control method based on bandwidth estimation

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1249972A1 (en) * 2001-04-09 2002-10-16 Telefonaktiebolaget L M Ericsson (Publ) Method of controlling a queue buffer
CN101388833A (en) * 2008-07-18 2009-03-18 广东工业大学 Network controlling method based on adaptive threshold mechanism
US8130776B1 (en) * 2009-08-28 2012-03-06 Massachusetts Institute Of Technology Method and apparatus providing network coding based flow control
US9148623B2 (en) * 2013-06-11 2015-09-29 Qualcomm Incorporated Apparatus and methods for modem assisted video telephony

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1953351A (en) * 2005-10-21 2007-04-25 国际商业机器公司 Method and apparatus for adaptive bandwidth control with a bandwidth guarantee
CN101056259A (en) * 2007-05-21 2007-10-17 中南大学 A collaborative congestion control method for high-speed network
CN101075960A (en) * 2007-06-22 2007-11-21 清华大学 Method for controlling fluid based on router virtual display load feedback in high-speed network
CN101964755A (en) * 2010-11-03 2011-02-02 中南大学 Explicit congestion control method based on bandwidth estimation in high-bandwidth delay network
CN102104912A (en) * 2011-03-24 2011-06-22 黄东 Heterogeneous service-based congestion control method for wireless mesh network
CN104092625A (en) * 2014-05-28 2014-10-08 中南大学 Adaptive request batch scheduling method used in DCN
CN104202257A (en) * 2014-09-12 2014-12-10 大连大学 Satellite network congestion control method based on bandwidth estimation

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
One more bit is enough;Yong Xia;《ACM SIGCOMM Computer Communication Review》;20050826;第2005卷(第4期);37-48 *
具有显式反馈的拥塞控制系统研究进展;张慧翔;《计算机科学》;20071225;第34卷(第12期);18-36 *

Also Published As

Publication number Publication date
CN107276850A (en) 2017-10-20

Similar Documents

Publication Publication Date Title
CN107276850B (en) Method and system for testing and transmitting unified interface of electricity consumption information acquisition system
CN114145001B (en) Rate optimized congestion management
EP2754274B1 (en) A method for avoiding network congestion and an apparatus thereof
US9178789B2 (en) System and method for transmission control protocol slow-start
CN104994036B (en) A kind of dynamic data dispatching method in multi-path transmission protocol
CN105049369A (en) Video transmission congestion control method based on MPTCP in heterogeneous wireless network
RU2008101646A (en) BACKGROUND JOINT USE OF NETWORK BANDWAY AFTER GATEWAY DEVICES
CN103905328A (en) Data transmission control system and method and related equipment
CN102594434B (en) Method for improving satellite network-oriented transmission control mechanism
US20220248259A1 (en) Data processing method and apparatus
CN117938755B (en) Data flow control method, network switching subsystem and intelligent computing platform
Wang et al. OSIA: Out-of-order Scheduling for In-order Arriving in concurrent multi-path transfer
CN110380978A (en) Dispatching method, device, computer equipment and the storage medium of multi-path transmission
CN102143551B (en) Wireless competition access control backoff method based on network load forecast
Lu et al. FAMD: A Flow-Aware Marking and Delay-based TCP algorithm for datacenter networks
CN109787861B (en) Network data delay control method
Yildirim et al. Balancing tcp buffer vs parallel streams in application level throughput optimization
CN109150743B (en) Network congestion control strategy switching method and system
US8767746B1 (en) Wireless scheduler bandwidth estimation for quick start
WO2021013260A1 (en) Network transmission control method and apparatus
US20140237136A1 (en) Communication system, communication controller, communication control method, and medium
Zhuang et al. PTCP: A priority-driven congestion control algorithm to tame TCP incast in data centers
Lu et al. On parallel UDP-based transport control over dedicated connections
Heo et al. Reducing the flow completion time for multipath TCP
US10516770B2 (en) Transmitting entity and method performed thereby for transmitting one or more data packets to a receiving entity

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