CN109981214B - Transmission control method and device - Google Patents

Transmission control method and device Download PDF

Info

Publication number
CN109981214B
CN109981214B CN201711458777.2A CN201711458777A CN109981214B CN 109981214 B CN109981214 B CN 109981214B CN 201711458777 A CN201711458777 A CN 201711458777A CN 109981214 B CN109981214 B CN 109981214B
Authority
CN
China
Prior art keywords
transmission quality
quality parameter
transmission
packet loss
loss rate
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
CN201711458777.2A
Other languages
Chinese (zh)
Other versions
CN109981214A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201711458777.2A priority Critical patent/CN109981214B/en
Publication of CN109981214A publication Critical patent/CN109981214A/en
Application granted granted Critical
Publication of CN109981214B publication Critical patent/CN109981214B/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
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/20Arrangements for detecting or preventing errors in the information received using signal quality detector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/22Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability

Landscapes

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

Abstract

The application discloses a transmission control method, a data transmission method and related equipment. The method comprises the following steps: acquiring a current transmission quality parameter value obtained by performing short-time test between first terminal equipment and second terminal equipment; inquiring a plurality of historical transmission quality parameter values corresponding to a transmission quality model between the first terminal equipment and the second terminal equipment; correcting the plurality of historical transmission quality parameter values according to the current transmission quality parameter value; determining a redundancy transmission strategy according to the plurality of corrected historical transmission quality parameter values; and sending the redundant transmission strategy to the first terminal equipment and the second terminal equipment, so that the redundant transmission strategy can be adjusted in real time according to the network transmission characteristics, and the reliability of data transmission is improved.

Description

Transmission control method and device
Technical Field
The present invention relates to the field of communications, and in particular, to a transmission control method and apparatus.
Background
The media transmission network characteristics refer to unique statistical characteristics of media, which are shown on traffic by a specific application, and the characteristics include influence of burstiness, concurrency, duration distribution, time delay characteristics, packet loss characteristics and the like of a large number of data streams on service experience. With the rapid development of internet technology, various services and applications running on the network are becoming more and more complex, and the guarantee of network transmission quality becomes more and more difficult due to the network characteristics and the complexity and dynamics of media services. Therefore, it is urgently needed to introduce a new technical means to finely manage the network and the service so as to adapt to the continuous change of the internet media transmission quality.
Disclosure of Invention
The technical problem to be solved in the embodiments of the present invention is to provide a transmission control method and apparatus, which achieve the purpose of adapting corresponding redundant transmission strategies according to different transmission modules to improve network transmission quality.
In a first aspect, the present application provides a transmission control method, including: the transmission control device obtains a current transmission quality parameter value obtained by performing short-time test between first terminal equipment and second terminal equipment; for example: the first terminal equipment and the second terminal equipment are tested within 1 second to obtain the packet loss rate and the time delay; the transmission control device acquires a transmission quality model between first terminal equipment and second terminal equipment and establishes a plurality of historical transmission quality parameter values corresponding to the transmission quality model; the transmission quality device corrects a plurality of historical transmission quality parameter values according to the current transmission quality parameter value; the transmission control device determines a redundant transmission strategy between the first terminal equipment and the second terminal equipment according to the plurality of corrected historical transmission quality parameter values; and the transmission control device sends the redundant transmission strategy to the first terminal equipment and the second terminal equipment.
In one possible design, obtaining a current transmission quality parameter value obtained by performing a short-time test between the first terminal device and the second terminal device includes: the transmission control device sends a short-time test instruction to the first terminal equipment and the second terminal equipment; the short-time test instruction carries test duration; and the transmission control device receives the current transmission quality parameter value obtained by the test of the first terminal equipment and/or the second terminal equipment in the test duration.
In one possible design, modifying the plurality of historical transmission quality parameter values based on the current transmission quality parameter value includes:
determining an average of a plurality of historical transmission quality parameter values, and determining a standard deviation of the plurality of historical transmission quality parameter values; correcting the mean and standard deviation of the plurality of historical transmission quality parameter values according to the following formula:
Figure BDA0001529805400000011
wherein mLost 'is the corrected average value, sLost' is the corrected standard deviation, mLost is the average value of a plurality of historical transmission quality parameter values, Lost is the current transmission quality parameter value, and N is the number of the plurality of historical transmission quality parameter values.
In a possible design, before obtaining a current transmission quality parameter value obtained by performing a short-time test between a first terminal device and a second terminal device, the method further includes:
sending a long-term test instruction to the first terminal equipment and/or the first terminal equipment; receiving a plurality of transmission quality parameter values obtained by long-term instruction testing from the first terminal equipment and/or the second terminal equipment; a transmission quality model between the first terminal device and the second terminal device is determined based on the plurality of transmission quality parameter values.
In one possible design, the transmission quality parameter value includes packet loss rate and time delay, and the transmission quality model includes any one of an internet sufficient competition type, a shared bandwidth threshold type, a period degradation type and an equipment self-contained buffer type;
wherein, the internet fully competes for the following: the time delay floats in a specified range with the first time delay as a reference, and the packet loss rate floats in the specified range with the first packet loss rate as the reference; or
The shared bandwidth threshold type satisfies: when the network flow is smaller than the first threshold flow, the time delay floats in a specified range with the first time delay as a reference, and the packet loss rate floats in a specified range with the first packet loss rate as a reference; when the network flow is not less than the first flow threshold and less than the second flow threshold, the time delay and the packet loss rate are increased along with the increase of the network flow; when the network flow is not less than the second flow threshold, the time delay floats in a specified range with the second time delay as a reference, and the packet loss rate floats in a specified range with the second packet loss rate as a reference; the second time delay is greater than the first time delay, and the second packet loss rate is greater than the first packet loss rate; or
The cycle deterioration type satisfies: the time delay and the packet loss rate are alternately changed in a stable period and a degradation period; or
The equipment meets the following requirements in a buffer mode: when the network flow is not larger than the flow threshold, the packet loss rate floats in a specified range with the first packet loss rate as a reference, and the time delay is increased along with the increase of the network flow; when the network flow is larger than the flow threshold, the time delay floats in a specified range with the first time delay as a reference, and the packet loss rate is increased along with the increase of the network flow.
In one possible design, where the transmission quality model is of the internet full contention type, the redundant transmission strategy includes: the number of paths between the first terminal equipment and the second terminal equipment is more than or equal to 2, the redundancy coefficient of 1 path is 1, and the redundancy coefficients of the rest paths are 1+ mLost '+ i multiplied by sLost', i is more than or equal to 2; or
In the case where the transmission quality model is of the shared bandwidth threshold type, the redundant transmission strategy includes: the number of paths between the first terminal equipment and the second terminal equipment is more than or equal to 1, and when the bandwidth utilization rate between the first terminal equipment and the second terminal equipment is more than a preset threshold value, the redundancy coefficient of each path is 1+ mLost '+ i multiplied by sLost', i is more than or equal to 2; when the bandwidth utilization rate between the first terminal equipment and the second terminal equipment is not greater than a preset threshold value, the redundancy coefficient of each path is 1+ mLost'; or
In the case where the transmission quality model is of a periodic degradation type, the redundant transmission strategy includes: the number of paths between the first terminal equipment and the second terminal equipment is more than or equal to 2, and when the time delay and the packet loss rate are in a stable period, the redundancy coefficient of each path is 1+ mLost '+0.25 xixsLost', i is more than or equal to 2; when the time delay and the packet loss rate are in the degradation period, the redundancy coefficient of each path is 1+ mLost '+ i multiplied by sLost', i is more than or equal to 2; or
In the case where the transmission quality model is of the device-owned buffer type, the redundant transmission measurement includes: the number of paths between the first terminal equipment and the second terminal equipment is more than or equal to 1, and when the time delay is less than a time delay threshold value, less than the upper limit of self-buffering time delay and the packet loss rate is less than a packet loss rate threshold value, the redundancy coefficient of each path is 1+ mLost '+ i multiplied by sLost', i is more than or equal to 2; otherwise, the redundancy coefficient of each path is 1.
In a possible design, before obtaining a current transmission quality parameter value obtained by performing a short-time test between a first terminal device and a second terminal device, the method further includes:
receiving a trigger instruction sent by first terminal equipment or second terminal equipment; the triggering instruction is used for triggering and adjusting the current redundant transmission measurement.
In a second aspect, the present application provides a transmission control method, including:
measuring a transmission quality parameter value between the current time and opposite terminal equipment; sending a trigger instruction to the transmission control device under the condition that the transmission quality parameter value is greater than the transmission quality parameter threshold value; the triggering instruction is used for triggering the transmission control device to modulate the current redundancy transmission strategy; receiving a redundant transmission strategy sent by the transmission control device; and transmitting the data packet according to the redundancy transmission strategy.
In one possible design, the transmission quality parameter value includes a packet loss rate, and the transmission quality parameter threshold is
Figure BDA0001529805400000021
In another aspect, a terminal device is provided, where the terminal device has a function of implementing the behavior of the terminal device in the method. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above-described functions.
In a possible implementation manner, the terminal device includes:
in another possible implementation manner, the terminal device includes: a receiver, a transmitter, a memory, and a processor; wherein the memory stores a set of program codes therein, and the processor is configured to call the program codes stored in the memory to perform the following operations:
based on the same inventive concept, as the principle and the beneficial effects of the apparatus for solving the problems can refer to the method implementation modes of the possible terminal devices and the beneficial effects brought by the method implementation modes, the method implementation can refer to the method implementation, and repeated parts are not described again.
In another aspect, a terminal device is provided, where the terminal device has a function of implementing the behavior of the terminal device in the method. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above-described functions.
In a possible implementation manner, the terminal device includes:
in another possible implementation manner, the terminal device includes: a receiver, a transmitter, a memory, and a processor; wherein the memory stores a set of program codes therein, and the processor is configured to call the program codes stored in the memory to perform the following operations:
based on the same inventive concept, as the principle and the beneficial effects of the apparatus for solving the problems can refer to the method implementation modes of the possible terminal devices and the beneficial effects brought by the method implementation modes, the method implementation can refer to the method implementation, and repeated parts are not described again.
Yet another aspect of the present application provides a computer-readable storage medium having stored therein instructions, which when executed on a computer, cause the computer to perform the method of the above-described aspects.
Yet another aspect of the present application provides a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of the above-described aspects.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the background art of the present invention, the drawings required to be used in the embodiments or the background art of the present invention will be described below.
Fig. 1a is a network architecture diagram of a communication system according to an embodiment of the present invention;
FIG. 1b is a diagram illustrating a transmission path between two users according to an embodiment of the present invention;
fig. 2a is a schematic flowchart of a transmission control method according to an embodiment of the present invention;
fig. 2b is a schematic diagram of transmission characteristics of an internet full contention type provided by an embodiment of the present invention;
FIG. 2c is a diagram illustrating transmission characteristics of a threshold type for shared bandwidth according to an embodiment of the present invention;
FIG. 2d is a schematic diagram of a transmission characteristic of a periodic degradation type according to an embodiment of the present invention;
FIG. 2e is a schematic diagram of the transmission characteristics of the apparatus with buffer according to the embodiment of the present invention;
fig. 3 is a schematic flowchart of a data transmission method according to an embodiment of the present invention;
fig. 4a is an interaction diagram of a transmission control method according to an embodiment of the present invention;
FIG. 4b is a diagram illustrating the transmission characteristics of the prior art before improvement;
FIG. 4c is a schematic diagram of an improved threshold-type transmission characteristic of the shared bandwidth provided by an embodiment of the present invention;
fig. 5 is an interaction diagram for determining a transmission quality model according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a transmission control apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention;
fig. 8 is a schematic hardware structure diagram of an apparatus according to an embodiment of the present invention.
Detailed Description
The embodiments of the present invention will be described below with reference to the drawings.
Fig. 1a is a schematic diagram of an architecture of a communication system according to an embodiment of the present invention, where the communication system includes a transmission control apparatus and a plurality of terminal devices. The transmission control device includes a transmission control server and a quality analysis server, where the transmission control server and the quality analysis server may be two independent entities, and are deployed separately or simultaneously in the same entity, and this embodiment is not limited. The quality analysis server is mainly used for detecting the transmission quality of the media in the whole network, analyzing detection data, establishing a transmission quality model, operating a database and the like. The transmission control server is mainly used for correcting the detection data, generating a redundant transmission strategy and the like. The terminal equipment is provided with a detection agent, and the detection agent is used for executing a detection process, collecting and reporting detection data.
Referring to fig. 1b, a schematic diagram of a transmission path between two users, where one user is a shenzhen enterprise, the other user is not shanghai, the shenzhen enterprise includes 1 or more terminal devices, the shanghai enterprise includes 1 or more terminal devices, and the transmission control device selects any one terminal device in the shenzhen enterprise and any one terminal device in the shanghai enterprise to perform a long-term test, so as to determine a transmission quality model between the shenzhen enterprise and the shanghai enterprise.
The Communication System may be a Global System for Mobile communications (GSM), a Code Division Multiple Access (CDMA) System, a Wideband Code Division Multiple Access (WCDMA) System, a Worldwide Interoperability for Microwave Access (WiMAX) System, a Long Term Evolution (LTE) System, a 5G Communication System (e.g., a new radio, NR) System, a Communication System in which Multiple Communication technologies are integrated (e.g., a Communication System in which LTE technology and NR technology are integrated), or a subsequent evolution Communication System.
The terminal device in the present application is a device with a wireless communication function, and may be a handheld device with a wireless communication function, an in-vehicle device, a wearable device, a computing device or other processing device connected to a wireless modem, and the like. The terminal devices in different networks may be called different names, for example: user equipment, access terminal, subscriber unit, subscriber station, mobile station, remote terminal, mobile device, user terminal, Wireless communication device, user agent or user equipment, cellular telephone, cordless telephone, Session Initiation Protocol (SIP) telephone, Wireless Local Loop (WLL) station, Personal Digital Assistant (PDA), terminal equipment in a 5G network or future evolution network, and the like.
Referring to fig. 2a, fig. 2a is a schematic flow chart of a transmission control method according to an embodiment of the present invention, the method includes, but is not limited to, the following steps:
s201, obtaining a current transmission quality parameter value obtained by performing short-time test between the first terminal device and the second terminal device.
Specifically, the short-time test means that a current transmission quality parameter between the first terminal device and the second terminal device is tested within a specified short-time test time, for example: the length of the short-time test time is 1s, and the current transmission quality parameters comprise packet loss rate and/or time delay. The method for testing the packet loss rate between the first terminal device and the second terminal device may be: the first terminal device sends a specified number of data packets within a short-time testing time, the second terminal device counts the number of received data packets within the short-time testing time, and the second terminal device obtains a packet loss rate according to the number of actually received data packets and the number of data packets expected to be received, for example: the first terminal device sends 100 data packets to the second terminal device within 1s, the second terminal device receives 90 data packets within 1s, and the second terminal device determines that the packet loss rate is 10%. It should be noted that, the second terminal device may also send a data packet of specified data to the first terminal device within a short time test time, and the first terminal device determines the packet loss rate. The method for testing the time delay between the first terminal device and the second terminal device may be: the first terminal device sends a data packet to the second terminal device, the data packet carries sending time, when the second terminal device receives the data packet, the time delay of the data packet is determined according to the receiving time and the sending time of the data packet, wherein the second terminal device can count the time delays of a plurality of data packets and obtain the time delay between the first terminal device and the second terminal device by averaging the time delays. It should be noted that, the second terminal device may also send the data packet to the first terminal device, and the first terminal device counts the time delay.
In a possible implementation manner, before obtaining a current transmission quality parameter value obtained by performing a short-time test between a first terminal device and a second terminal device, the method further includes:
the transmission control device receives a trigger instruction sent by the first terminal equipment or the second terminal equipment, and the trigger instruction is used for triggering the transmission control device to adjust the current redundant transmission strategy.
S202, inquiring a plurality of historical transmission quality parameter values corresponding to the transmission quality model between the first terminal device and the second terminal device.
Specifically, the transmission quality model represents a change rule of a transmission quality parameter value of the first terminal device and the second terminal device in a long-term test time, that is, the transmission quality model is determined according to a plurality of historical transmission quality parameter values; for example: the transmission quality model represents that the first terminal device and the second terminal device test transmission quality parameter values every 1S in 24 hours before S201, and the transmission quality model between the first terminal device and the second terminal device is determined based on the plurality of measured transmission quality parameter values. The transmission control apparatus inquires a transmission quality model pre-established between the first terminal device and the second terminal device, and acquires a plurality of historical transmission quality parameter values corresponding to the transmission quality model.
In a possible implementation, the transmission quality model is of an internet full competition type, and is characterized in that: in the long-term test interval, the time delay floats within a specified range with reference to the first time delay, for example: the first time delay is 20ms, the specified range is +/-10%, or the specified range is-10% to + 5%; the packet loss rate fluctuates in a specified range with the first packet loss rate as a reference, for example: the first packet loss rate is 2%, with a specified range of +/-10% or a specified range of-5% to + 10%. The network traffic is unrelated to the packet loss rate and the time delay, and the network traffic represents the bandwidth occupied by the data packet transmitted between the first terminal device and the second terminal device.
For example: referring to fig. 2b, the delay fluctuates within +/-10% of the 20ms reference, the packet loss rate fluctuates within +/-10% of the 2% reference, and the network traffic has no correlation with the delay and the packet loss rate.
In a possible embodiment, the transmission quality model is of the shared bandwidth threshold type, which is characterized by: when the network flow is smaller than a first flow threshold, the time delay floats in a specified range with the first time delay as a reference, and the packet loss rate floats in a specified range with the first packet loss rate as a reference; when the network flow is not less than the first flow threshold and less than the second flow threshold, the time delay and the packet loss rate are increased along with the increase of the network flow; when the network flow is not less than the second flow threshold, the time delay floats in a specified range with the second time delay as a reference, the packet loss rate floats in a specified range with the second packet loss rate as a reference, the second time delay is greater than the first time delay, and the second packet loss rate is greater than the first packet loss rate. The network traffic represents the bandwidth occupied by data packets transmitted between the first terminal device and the second terminal device.
For example: referring to FIG. 2c, when the network traffic is less than 10M, the delay floats within +/-10% of the 20ms reference; when the network flow is greater than or equal to 10M and less than 20M, the time delay and the packet loss rate are increased along with the increase of the network flow; when the network traffic is greater than or equal to 20M, the delay fluctuates within +/-10% on a 40ms basis and the packet loss fluctuates within +/-10% on an 8% basis.
In a possible embodiment, the transmission quality model is of the periodic degradation type, and is characterized in that: the delay and the packet loss rate are periodically changed alternately in a stable period and a degraded period.
For example: referring to fig. 2d, the periodic synchronization of the delay and the packet loss rate is degraded, there are 1 rising interval at intervals of the delay and the packet loss rate, the rising interval is a degradation period, and the stationary interval is a stabilization period.
In a possible embodiment, the transmission quality model is of a self-buffering type, and is characterized in that: when the network flow is not larger than the flow threshold, the packet loss rate floats in a specified range with the first packet loss rate as a reference, and the time delay is increased along with the increase of the network flow; when the network traffic exceeds the traffic threshold, the time delay floats within a specified range with the first time delay as a reference, and the packet loss rate increases with the increase of the network traffic.
For example: referring to fig. 2e, when the network traffic is not greater than 10M, the packet loss rate fluctuates within +/-10% of the 2% reference, and the delay increases with the increase of the network traffic; however, when the network traffic is greater than 10M, the packet loss rate increases with the increase of the network traffic, and the delay fluctuates within +/-10% of the 45ms reference.
S203, correcting a plurality of historical transmission quality parameter values according to the current transmission quality parameter value.
Specifically, the number of established transmission quality models is historical transmission quality parameter values measured previously, which cannot accurately reflect the current transmission quality situation, and the transmission control device corrects the plurality of historical transmission quality parameter values according to the current transmission quality value obtained by the short-time test.
In one possible embodiment, modifying the plurality of historical transmission quality parameter values in dependence on the current transmission quality parameter value comprises:
determining an average of a plurality of historical transmission quality parameter values and determining a standard deviation of a plurality of historical transmission quality values; correcting the mean and standard deviation of the plurality of historical transmission quality parameter values according to the following formula:
Figure BDA0001529805400000061
wherein mLost 'is a corrected average value, sLost' is a corrected standard deviation, mLost is an average value of the plurality of historical transmission quality parameter values, Lost is the current transmission quality parameter value, and N is the number of the plurality of historical transmission quality parameter values.
Specifically, the transmission control device may calculate the average value of the plurality of historical transmission quality parameter values by an arithmetic average method, a geometric average method, or a weighted average method, or may calculate the average value by another method, for example: the average of the plurality of historical transmission quality parameter values is:
Figure BDA0001529805400000062
the method by which the transmission control apparatus calculates the standard deviation of the plurality of historical transmission quality parameter values may be:
Figure BDA0001529805400000063
n denotes the number of a plurality of transmission quality values, j denotes the sequence number, LostjRepresents the jth historical transmission quality parameter value and mLost represents the average of a plurality of historical transmission quality parameters.
The corrected average value is:
Figure BDA0001529805400000064
the corrected standard deviation is:
Figure BDA0001529805400000065
s204, determining the redundant transmission strategies of the first terminal equipment and the second terminal equipment according to the corrected plurality of historical transmission quality parameter values.
Specifically, the redundancy transmission strategy is used for improving the reliability of a data packet between the first terminal device and the second terminal device, and the redundancy transmission strategy comprises a path number and a redundancy coefficient, wherein the redundancy coefficient represents a proportional relation between the sum of the useful information and the data quantity of the redundancy information and the useful information.
In one possible implementation, in the case where the transmission quality model is of the internet sufficient competition type, the redundancy policy includes: the number of paths is greater than or equal to 2, wherein the redundancy coefficient of 1 path is CFEC-1, and the redundancy coefficients of the other paths are CFEC-1 + mLost '+ i × sLost', i ≧ 2.
For example: in the case where the transmission quality model is of the internet sufficient competition type, the redundant transmission strategy includes: the number of paths is equal to 2, that is, the first terminal device and the second terminal device adopt 2 transmission paths, the diversity mode is adopted for transmission on the 2 transmission paths, the redundancy coefficient CFEC on 1 path is 1, and the redundancy coefficient CFEC on the other path is 1+ mLost '+2 × sLost'.
In a possible implementation, in the case where the transmission quality model is of the shared bandwidth threshold type, the redundant transmission strategy comprises: the number of the paths is more than or equal to 2, and when the bandwidth utilization rate obtained by the short-time test of the first terminal equipment and the second terminal equipment is more than a preset threshold value, the redundancy coefficient of each path is 1+ mLost '+ i multiplied by sLost', i is more than or equal to 2; and when the bandwidth utilization rate between the first terminal equipment and the second terminal equipment obtained by the short-time test is not greater than a preset threshold value, the redundancy coefficient of each path is 1+ mLost'.
For example: the redundant transmission strategy comprises the following steps: the number of paths is equal to 1, and when the bandwidth utilization rate obtained by the short-time test is less than 80%, the redundancy coefficient CFEC of the path is 1+ mLost '+2 × sLost'. When the bandwidth utilization rate obtained by the short-time test is not less than 80%, the redundancy coefficient CFEC of the path is 1+ mLost'.
In one possible implementation, in the case where the transmission quality model is of the periodic degradation type, the redundant transmission strategy comprises: the path number is 2, and when the first terminal device and the second terminal device are determined to be in a stable period according to the time delay and the packet loss rate obtained by short-time measurement, the redundancy coefficient CFEC is 1+ mLost '+0.25 xi xsLost', and i is not less than 2; when the time delay and the packet loss rate are in the degradation period, the redundancy coefficient of each path is 1+ mLost '+ i × sLost', i is more than or equal to 2.
For example: the number of paths is equal to 2, the redundancy coefficient of 1 path is 1, when the network is in the stable period, the redundancy coefficient CFEC of the other path is 1+ mLost '+0.25 × 2 × sLost', and when the network is in the degraded period, the redundancy coefficient CFEC of the other path is 1+ mLost '+2 × sLost'.
In one possible embodiment, in the case where the transmission quality model is of the device-self-buffering type, the redundant transmission measurements comprise: when the time delay is less than the time delay threshold, less than the self-contained buffering time delay upper limit and the packet loss rate is less than the packet loss rate threshold, the redundancy coefficient of each path is 1+ mLost '+ i × sLost'; otherwise, the redundancy coefficient of each path is 1.
For example: the number of the paths is equal to 1, when the time delay obtained by the short-time test is less than 40ms and less than the upper limit t ' of the self-buffering time delay, and the packet loss rate obtained by the short-time test is less than 2%, and the redundancy coefficient CFEC of the path is 1+ mLost ' +2 × sLost '; otherwise, the redundancy coefficient of the path is 1.
S205, sending the redundant transmission strategy to the first terminal equipment and the second terminal equipment.
Specifically, the transmission control device sends the determined redundant transmission strategy to the first terminal device and the second terminal device, and the first terminal device and the second terminal device perform data transmission according to the received redundant transmission strategy.
By implementing the embodiment of the invention, the adjustment of the redundancy transmission strategy according to the network transmission characteristics in real time is realized, and the reliability of data transmission is improved.
Referring to fig. 3, a flow chart of a transmission control method according to an embodiment of the present invention is schematically shown, where in the embodiment of the present invention, the method includes, but is not limited to, the following steps:
s301, measuring the transmission quality parameter value between the opposite terminal devices in the current time.
Specifically, the terminal device measures a transmission quality parameter value between the peer devices in the current time, where the transmission quality parameter value includes but is not limited to: delay and/or packet loss rate. The terminal device may periodically measure the transmission quality parameter value, for example, the terminal device measures the packet loss rate and the time delay with 1S as a period, and the method for measuring the packet loss rate and the time delay and the description with reference to S202 are omitted here for details.
And S302, sending a trigger instruction to the transmission control device under the condition that the transmission quality parameter value is larger than the transmission quality parameter threshold value.
Specifically, the terminal device prestores or preconfigures a transmission quality parameter threshold, and when the terminal device determines that a transmission quality parameter value measured at the current time is greater than the transmission quality parameter threshold, the terminal device sends a trigger instruction to the transmission control device, where the trigger instruction is used to instruct the transmission control device to adjust the current redundant transmission policy.
In a possible implementation manner, the transmission quality parameter value includes a packet loss rate, and the transmission quality parameter threshold is
Figure BDA0001529805400000081
mLost represents the average value of a plurality of historical mass transfer parameter values measured before the current time, and sLost represents the standard deviation, mu and of a plurality of historical transmission quality parameter values measured before the current time
Figure BDA0001529805400000082
Greater than 0.
For example: the length of the current time is 1s, the packet loss rate measured by the terminal device in 1s is Lost, the terminal device obtains 10 historical transmission quality parameter values obtained by testing the duration of the previous 10s of the current time every 1s, wherein the obtained 10 historical transmission quality parameter values are as follows: lost1、Lost2、…、Lost10Then, then
Figure BDA0001529805400000083
S303, receiving the redundant transmission policy from the transmission control apparatus.
Specifically, the terminal device receives the redundant transmission policy sent from the transmission control device, and updates the local redundant transmission policy. The redundancy transmission strategy comprises the number of paths and a redundancy coefficient on each path.
And S304, transmitting the data packet according to the redundancy transmission strategy.
By implementing the embodiment of the invention, the transmission control device is instructed to adjust the current redundant transmission strategy under the condition that the transmission quality parameter value measured by the terminal equipment in the current time is greater than the transmission quality parameter threshold value, and the terminal equipment transmits the data packet according to the adjusted redundant transmission strategy, so that the reliability of the data packet transmission of the terminal equipment can be improved.
Referring to fig. 4a, fig. 4a is an interactive schematic diagram of a transmission control method according to an embodiment of the present invention, where the method includes, but is not limited to, the following steps:
s401, the transmission control server sends a short-time test instruction to the second terminal device, and the second terminal device receives the short-time test instruction sent by the transmission control server.
Specifically, the short-time test instruction is used to instruct the terminal device to perform a quality test within a specified time interval, for example: and performing quality test within 1s, and measuring transmission quality parameters between the first terminal equipment and the second terminal equipment, wherein the transmission quality parameters comprise one or more of time delay, packet loss rate and network flow.
S402, the transmission control server sends a short-time test instruction to the first terminal device, and the first terminal device receives the short-time test instruction sent by the transmission control server.
Specifically, the time interval indicated by the short-time test instruction is the same as the time interval indicated by the short-time test instruction in S401, and the short-time test instruction is used to instruct the first terminal device to perform a quality test in a specified time interval, for example: and performing quality test within 1s, and measuring transmission quality parameter values between the first terminal equipment and the second terminal equipment, wherein the transmission quality parameter values comprise one or more of time delay, packet loss rate and network flow.
And S403, performing short-time test between the first terminal equipment and the second terminal equipment.
Specifically, the first terminal device sends a plurality of data packets to the second terminal device within a specified time interval, the second terminal device counts packet loss rate and time delay, and/or the second terminal device sends a plurality of data packets to the first terminal device within a specified time interval, and the first terminal device counts time delay and packet loss rate.
S404, the second terminal device sends the test result to the transmission control server, and the transmission control server receives the test result from the second terminal device.
Specifically, the test result includes the time delay and the packet loss rate counted by the second terminal device.
S405, the first terminal device sends the test result to the transmission control server, and the transmission control server receives the test result from the first terminal device.
Specifically, the test result includes the time delay and the packet loss rate counted by the first terminal device.
S406, the quality analysis server sends a search instruction to the transmission control server, and the transmission control server receives the search instruction from the quality analysis server.
Specifically, the retrieval instruction is used for retrieving a transmission quality model corresponding to a transmission path between the first terminal device and the second terminal device, the network address (for example, an IP address) of the first terminal device and the network address (for example, an IP address) of the second terminal device can be carried in the retrieval instruction, and the transmission quality model includes an internet sufficient competition type, a shared bandwidth threshold type, a cycle degradation type or a device self-contained buffer type.
S407, the transmission control server sends the retrieval result to the quality analysis server, and the quality analysis server receives the retrieval result from the transmission control server.
Specifically, the transmission control server obtains a network address of the first terminal device and a network address of the second terminal device according to the received retrieval instruction, determines a first network address interval in which the network address of the first terminal device is located, determines a second network address interval in which the network address of the second terminal device is located, and obtains a transmission quality model associated with the first network address interval and the second network address interval, where the first network address interval and the second network address interval include at least one network address. In addition, the transmission control server obtains a plurality of historical transmission quality parameter values corresponding to the determined transmission quality model, for example: the plurality of historical transmission quality parameter values may be randomly selected or selected within a specified time interval, which is not limited in this embodiment. The retrieval result comprises an identification of the determined transmission quality model and a plurality of historical transmission quality parameter values corresponding to the transmission quality model.
S408, the quality analysis server determines a transmission quality model and a plurality of historical packet loss rates.
Specifically, the quality analysis server determines a transmission quality model between the first terminal device and the second terminal device and a plurality of historical packet loss rates according to the received search result, and the quality analysis server determines an average value and a standard deviation of the plurality of historical packet loss rates.
S409, the quality analysis server sends the average value and the standard deviation of the historical packet loss rates to the transmission control server, and the transmission control server receives the average value and the standard deviation from the quality analysis server.
S410, the transmission control server corrects the average value and the standard deviation of a plurality of historical packet loss rates.
Specifically, the transmission control server corrects the average value and the standard deviation of the plurality of historical packet loss rates according to the packet loss rate of the short-time test acquired in S401 or S402. For example: the method for the transmission control apparatus to calculate the standard deviation of the plurality of historical packet loss rates may be:
Figure BDA0001529805400000091
n represents the number of a plurality of historical packet loss rates, j represents a sequence number, LostjIndicating the jth historical packet loss rate, and mLost indicating the average value of a plurality of packet loss rates.
The corrected average value is:
Figure BDA0001529805400000092
the corrected standard deviation is:
Figure BDA0001529805400000093
s411, the transmission control server sends the correction value to the quality analysis server, and the quality analysis server receives the correction value from the transmission control server.
Specifically, the quality analysis server writes the corrected average value and standard deviation into a database for storage.
S412, the transmission control server determines a redundant transmission strategy.
Specifically, the redundancy transmission strategy is used for improving the reliability of a data packet between the first terminal device and the second terminal device, and the redundancy transmission strategy comprises a path number and a redundancy coefficient, wherein the redundancy coefficient represents a proportional relation between the sum of the useful information and the data quantity of the redundancy information and the useful information.
For example: referring to fig. 4b, it is determined that the transmission quality model of the transmission path between the first terminal device and the second terminal device is of a shared bandwidth threshold type, the upper limit of the bandwidth is 15Mbps, the bandwidth usage rate of the current network is less than 80%, the average value of the plurality of historical packet loss rates is 2.4%, the standard deviation of the plurality of historical packet loss rates is 0.33%, and the redundancy transmission policy is: the number of paths is equal to 1, and the redundancy factor CFEC is 1+ (mLost +2 × sLost) — 1+ (2.4% +2 × 0.33%) -1.036.
S413, the transmission control server sends the redundant transmission policy to the second terminal device, and the second terminal device receives the redundant transmission policy from the transmission control server.
S414, the transmission control server sends the redundant transmission policy to the first terminal device, and the first terminal device receives the redundant transmission policy sent by the transmission control server.
S415, the first terminal device executes a redundancy transmission policy.
And S416, the second terminal equipment executes the redundancy transmission strategy.
Referring to fig. 4c, a schematic diagram of transmission quality after the first terminal device and the second terminal device execute the redundant transmission policy, it can be seen from the diagram that the packet loss rate between the first terminal device and the second terminal device is changed from 2% to 5.2% to 0.06% to 0.08%, which is obviously reduced; the time delay is changed from 29ms-47ms to 30ms-42ms, and the time delay is basically kept unchanged, so that the transmission reliability between the first terminal equipment and the second terminal equipment is obviously improved.
The first terminal equipment and the second terminal equipment report the packet loss rate and the time delay to the transmission control server every second, and when the packet loss rate and the time delay are met
And Lost > mLost +2 sLost, wherein the first terminal device or the second terminal device sends a trigger instruction to the transmission control server, the trigger instruction is used for indicating the transmission control server to adjust the current redundant transmission strategy, namely, S401 to S416 are executed again, Lost is the packet loss rate obtained by the current 1S test, mLost is the average value of 10 packet loss rates obtained in the last 10S of the current 1S, and sLost is the standard deviation of 10 packet loss rates obtained in the last 10S of the current 1S.
In the method described in fig. 4a, the adjustment of the redundancy transmission policy according to the network transmission characteristics in real time is implemented, and the reliability of data transmission is improved.
Referring to fig. 5, a schematic flowchart of a method for determining a transmission quality model according to an embodiment of the present invention is shown, where the method includes:
s501, the transmission control server sends a long-term test instruction to the second terminal device, and the second terminal device receives the long-term test instruction from the transmission control server.
Specifically, the long-term test instruction is used to instruct the second terminal device to perform a long-term test within a specified time interval, for example: and testing the channel quality parameters within 24 hours in a period of 1s to obtain a plurality of transmission quality parameter values, wherein the transmission quality parameter values comprise one or more of time delay, packet loss rate and network flow.
S502, the transmission control server sends a long-term test instruction to the first terminal device, and the first terminal device receives the long-term test instruction from the transmission control server.
Specifically, the time interval indicated by the long-term test instruction is the same as the time interval indicated in S501, and the long-term test instruction is used to instruct the second terminal device to execute the long-term test, for example: the test is carried out in a period of 1s within 24 hours, and a plurality of transmission quality parameter values are obtained.
S503, the first terminal equipment and the second terminal equipment execute long-time test.
Specifically, the first terminal device sends a plurality of data packets to the second terminal device within a specified time interval, the second terminal device counts packet loss rate and time delay, and/or the second terminal device sends a plurality of data packets to the first terminal device within a specified time interval, and the first terminal device counts time delay and packet loss rate.
S504, the second terminal device sends the test result to the transmission control server, and the transmission control server receives the test result from the second terminal device.
Specifically, the test result includes a plurality of transmission quality parameter values obtained by the second terminal device through testing in a specified time interval.
And S505, the first terminal device sends the test result to the transmission control server, and the transmission control server receives the test result from the first terminal device.
Specifically, the test result includes a plurality of transmission quality parameter values obtained by the first terminal device through testing in a specified time interval.
S506, the transmission control server determines a transmission quality model.
Specifically, the transmission control server analyzes the variation trend of the plurality of transmission quality parameter values to obtain a transmission quality model between the first terminal device and the second terminal device. It should be noted that the transmission control server may further determine a first network address interval where the first terminal device is located, determine a second network address interval corresponding to the second terminal device, establish a mapping relationship among the first network address interval, the second network address interval, and the transmission quality model, and store the mapping relationship in the database. The transmission quality model comprises an internet sufficient competition type, a shared bandwidth threshold type, a periodic degradation type and a device self-contained buffer type.
The method of embodiments of the present invention is set forth above in detail and the apparatus of embodiments of the present invention is provided below.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a transmission control apparatus according to an embodiment of the present invention, which is hereinafter referred to as an apparatus 6 for short, where the transmission control apparatus 6 may be a server, and the apparatus 6 may include an obtaining unit 601, an inquiring unit 602, a correcting unit 603, a determining unit 604, and a sending unit 605, where details of each unit are described below.
An obtaining unit 601, configured to obtain a current transmission quality parameter value obtained by performing a short-time test between a first terminal device and a second terminal device.
The querying unit 602 is configured to query a plurality of historical transmission quality parameter values corresponding to the transmission quality model between the first terminal device and the second terminal device.
A correcting unit 603, configured to correct the plurality of historical transmission quality parameter values according to the current transmission quality parameter value.
A determining unit 604, configured to determine a redundant transmission policy according to the plurality of corrected historical transmission quality parameter values.
A sending unit 605, configured to send the redundant transmission policy to the first terminal device and the second terminal device.
Optionally, the obtaining unit 601 is specifically configured to:
sending a short-time test instruction to the first terminal device and the second terminal device;
and receiving the current transmission quality parameter value obtained by the first terminal equipment and/or the second terminal equipment through testing in a specified time length.
Optionally, the correcting unit 603 is specifically configured to:
determining an average of a plurality of historical transmission quality parameter values, and determining a standard deviation of the plurality of historical transmission quality parameter values;
correcting the mean and standard deviation of the plurality of historical transmission quality parameter values according to the following formula:
Figure BDA0001529805400000111
wherein mLost 'is the average of the plurality of corrected historical transmission quality parameter values, sLost' is the standard deviation of the plurality of corrected historical transmission quality parameter values, mLost is the average of the plurality of historical transmission quality parameter values, and LostnewAnd for the current transmission quality parameter value, N is the number of the plurality of historical transmission quality parameter values, j is the serial number of the historical transmission quality parameter value, and N is an integer greater than 1.
Optionally, the determining unit 604 is further configured to send a long-term test instruction to the first terminal device and the second terminal device;
receiving a plurality of transmission quality parameter values obtained by long-time testing in a specified time from the first terminal equipment and/or the second terminal equipment;
determining a transmission quality model between the first terminal device and the second terminal device based on a plurality of transmission quality parameter values.
Optionally, the transmission quality parameter value includes one or more of a packet loss rate, a time delay, and a network traffic;
the transmission quality model comprises any one of an internet sufficient competition type, a shared bandwidth threshold type, a period degradation type and an equipment self-contained buffer type;
wherein, the internet fully competes the type and satisfies: the time delay floats in a specified range with the first time delay as a reference, and the packet loss rate floats in the specified range with the first packet loss rate as the reference; or
The shared bandwidth threshold type satisfies: when the network flow is smaller than a first flow threshold, the time delay floats in a specified range with the first time delay as a reference, and the packet loss rate floats in a specified range with the first packet loss rate as a reference; when the network traffic is not less than the first traffic threshold and less than the second traffic threshold, the time delay and the packet loss rate increase with the increase of the network traffic; when the network flow is not less than a second flow threshold, the time delay floats in a specified range with a second time delay as a reference, the packet loss rate floats in a specified range with a second packet loss rate as a reference, the second time delay is greater than the first time delay, and the second packet loss rate is greater than the first packet loss rate; or
The cycle deterioration type satisfies: the time delay and the packet loss rate are alternately changed in a stable period and a degradation period; or
The equipment meets the following requirements in a self-contained buffer mode: when the network flow is not less than the flow threshold, the packet loss rate floats in a specified range with the first packet loss rate as a reference, and the time delay is increased along with the increase of the network flow; when the network flow is larger than the flow threshold, the time delay floats in a specified range with the first time delay as a reference, and the packet loss rate is increased along with the increase of the network flow.
Optionally, the method may be characterized in that,
in the case that the transmission quality model is of the internet sufficient contention type, the redundancy transmission strategy includes: the number of paths is more than or equal to 2, the redundancy coefficient of 1 path is 1, and the redundancy coefficients of the other paths are 1+ mLost '+ i multiplied by sLost', i is more than or equal to 2; or
In the case where the transmission quality model is of the shared bandwidth threshold type, the redundant transmission policy comprises: the number of the paths is more than or equal to 1, and when the current network flow utilization rate is more than a preset threshold value, the redundancy coefficient of each path is 1+ mLost '+ i multiplied by sLost', i is more than or equal to 2; when the current network traffic utilization rate is not greater than a preset threshold value, the redundancy coefficient of each path is 1+ mLost'; or
In the case where the transmission quality model is of the cyclic degradation type, the redundancy transmission strategy includes: the number of the paths is more than or equal to 1, the redundancy coefficient of 1 path is 1, and when the current network is in a stable period, the redundancy coefficients of the other paths are 1+ mLost '+0.25 xIxsLost', i is more than or equal to 2; when the current network is in a degradation period, the redundancy coefficients of other paths are 1+ mLost '+ i multiplied by sLost', i is more than or equal to 2; or
In the case that the transmission quality model is of a self-buffering type of the device, the redundancy transmission strategy includes: the number of paths is greater than or equal to 1; when the current time delay is smaller than a time delay threshold value, smaller than the self-contained buffer time delay upper limit and the current packet loss rate is smaller than a packet loss rate threshold value, the redundancy coefficient of each path is 1+ mLost '+ i multiplied by sLost', i is more than or equal to 2; otherwise, the redundancy coefficient of each path is 1.
Optionally, the method further includes:
a receiving unit, configured to receive a trigger instruction sent by the first terminal device or the second terminal device; the triggering instruction is used for triggering and adjusting the current redundancy transmission strategy.
The embodiment of the present invention and the method embodiments of fig. 2a, 3 and 4a are based on the same concept, and the technical effects brought by the embodiment are also the same, and the specific process can refer to the description of the method embodiments of fig. 2a, 3 and 4, and will not be described again here.
The device 6 may be a server, or may be a field-programmable gate array (FPGA), an application-specific integrated chip (asic), a system on chip (SoC), a Central Processing Unit (CPU), a Network Processor (NP), a digital signal processing circuit, a Micro Controller Unit (MCU), or a Programmable Logic Device (PLD) or other integrated chips.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention, which is hereinafter referred to as a device 7 for short, where the device 7 may include a testing unit 701, a sending unit 702, a receiving unit 703 and an executing unit 704, where details of each unit are described below.
A testing unit 701, configured to test a transmission quality parameter value between the peer device and the peer device in the current time.
A sending unit 702, configured to send a trigger instruction to the transmission control apparatus when the value of the mass transfer parameter is greater than the threshold of the transmission quality parameter.
A receiving unit 703 is configured to receive the redundant transmission policy sent from the transmission control apparatus.
An executing unit 704, configured to transmit the data packet according to the redundancy transmission policy.
Optionally, the transmission quality parameter value includes one or more of a packet loss rate, a time delay, and a network traffic, and the transmission quality parameter threshold is
Figure BDA0001529805400000131
mLostjRepresents the average value of a plurality of historical mass transfer parameter values measured before the current time, sLostjA standard deviation, mu and
Figure BDA0001529805400000132
greater than 0.
The embodiment of the present invention and the method embodiments of fig. 2a, 3 and 4a are based on the same concept, and the technical effects brought by the embodiment are also the same, and the specific process can refer to the description of the method embodiments of fig. 2a, 3 and 4a, and will not be described again here.
The device 7 may be a terminal device, or may also be a field-programmable gate array (FPGA), an application-specific integrated chip (asic), a system on chip (SoC), a Central Processing Unit (CPU), a Network Processor (NP), a digital signal processing circuit, a Micro Controller Unit (MCU), or a programmable controller (PLD) or other integrated chips.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an apparatus according to an embodiment of the present invention, which is hereinafter referred to as an apparatus 8 for short, where the apparatus 8 includes a processor 801, a memory 802, a receiver 803, and a transmitter 804, and the processor 801, the memory 802, the receiver 803, and the transmitter 804 are connected to each other through a bus.
The Memory 802 includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), or a portable Read-Only Memory (CD-ROM), and the Memory 802 is used for related instructions and data. The transceiver 803 is used for receiving and transmitting data.
The processor 801 may be one or more Central Processing Units (CPUs), and in the case that the processor 801 is one CPU, the CPU may be a single-core CPU or a multi-core CPU.
In one possible embodiment, the processor 801 in the apparatus 8 is configured to read the program code stored in the memory 802, and perform the following operations:
acquiring a current transmission quality parameter value obtained by performing short-time test between first terminal equipment and second terminal equipment;
inquiring a plurality of historical transmission quality parameter values corresponding to a transmission quality model between the first terminal device and the second terminal device;
correcting the plurality of historical transmission quality parameter values according to the current transmission quality parameter value;
determining a redundancy transmission strategy according to the plurality of corrected historical transmission quality parameter values;
and sending the redundant transmission strategy to the first terminal equipment and the second terminal equipment.
Optionally, the obtaining, by the processor 801, the current transmission quality parameter value obtained by performing the short-time test between the first terminal device and the second terminal device includes:
instructing the transmitter 804 to transmit a short-time test instruction to the first terminal device and the second terminal device;
receiving, by the receiver 803, the current transmission quality parameter value obtained by the first terminal device and/or the second terminal device through a test within a specified time duration.
Optionally, the processor 801 executing the correcting the plurality of historical transmission quality parameter values according to the current transmission quality parameter value includes:
determining an average of the plurality of historical transmission quality parameter values and determining a standard deviation of the plurality of historical transmission quality parameter values;
correcting the mean and standard deviation of the plurality of historical transmission quality parameter values according to the following formula:
Figure BDA0001529805400000141
wherein mLost 'is the average of the plurality of corrected historical transmission quality parameter values, sLost' is the standard deviation of the plurality of corrected historical transmission quality parameter values, mLost is the average of the plurality of historical transmission quality parameter values, and LostnewAnd for the current transmission quality parameter value, N is the number of the plurality of historical transmission quality parameter values, j is the serial number of the historical transmission quality parameter value, and N is an integer greater than 1.
Optionally, the processor 801 is further configured to:
indicating a transmitter 804 to transmit a long-term test instruction to the first terminal device and the second terminal device;
instructing the receiver 803 to receive a plurality of transmission quality parameter values obtained by performing a long-term test within a specified time from the first terminal device and/or the second terminal device;
determining a transmission quality model between the first terminal device and the second terminal device according to the plurality of transmission quality parameter values.
Optionally, the transmission quality parameter value includes one or more of a packet loss rate, a time delay, and a network traffic; the transmission quality model includes: any one of an internet sufficient competition type, a shared bandwidth threshold type, a period degradation type and an equipment self-contained buffer type;
wherein, the internet fully competes for the following: the time delay floats in a specified range with the first time delay as a reference, and the packet loss rate floats in the specified range with the first packet loss rate as the reference; or
The shared bandwidth threshold type satisfies: when the network flow is smaller than a first flow threshold, the time delay floats in a specified range with the first time delay as a reference, and the packet loss rate floats in a specified range with the first packet loss rate as a reference; when the network traffic is not less than the first traffic threshold and less than the second traffic threshold, the time delay and the packet loss rate increase with the increase of the network traffic; when the network flow is not less than the second flow threshold, the time delay floats in a specified range with the second time delay as a reference, and the packet loss rate floats in a specified range with the second packet loss rate as a reference; the second time delay is greater than the first time delay, and the second packet loss rate is greater than the first packet loss rate; or
The cycle deterioration type satisfies: the time delay and the packet loss rate are alternately changed in a stable period and a degradation period; or
The equipment meets the following requirements in a self-contained buffer mode: when the network flow is not larger than the flow threshold, the packet loss rate floats in a specified range with the first packet loss rate as a reference, and the time delay is increased along with the increase of the network flow; when the network flow is larger than the flow threshold, the time delay floats in a specified range with the first time delay as a reference, and the packet loss rate is increased along with the increase of the network flow.
Optionally, in a case that the transmission quality model is of an internet sufficient contention type, the redundancy transmission policy includes: the number of paths is more than or equal to 2, the redundancy coefficient of 1 path is 1, and the redundancy coefficients of the other paths are 1+ mLost '+ i multiplied by sLost', i is more than or equal to 2; or
In the case where the transmission quality model is of a shared bandwidth threshold type, the redundant transmission policy comprises: the number of the paths is more than or equal to 1, and when the current network flow utilization rate is more than a preset threshold value, the redundancy coefficient of each path is 1+ mLost '+ i multiplied by sLost', i is more than or equal to 2; when the current network traffic utilization rate is not greater than a preset threshold value, the redundancy coefficient of each path is 1+ mLost'; or
In the case where the transmission quality model is of a periodic degradation type, the redundant transmission strategy includes: the number of the paths is more than or equal to 2, the redundancy coefficient of 1 path is 1, and when the current network is in a stable period, the redundancy coefficients of the other paths are 1+ mLost '+0.25 xIxsLost', i is more than or equal to 2; when the current network is in a degradation period, the redundancy coefficients of other paths are 1+ mLost '+ i multiplied by sLost', i is more than or equal to 2; or
In the case that the transmission quality model is of a device-owned buffer type, the redundancy transmission strategy includes: the number of paths is greater than or equal to 1; when the current time delay is smaller than a time delay threshold value, smaller than the self-contained buffer time delay upper limit and the current packet loss rate is smaller than a packet loss rate threshold value, the redundancy coefficient of each path is 1+ mLost '+ i multiplied by sLost', i is more than or equal to 2; otherwise, the redundancy coefficient of each path is 1.
Optionally, the receiver 803 is further configured to receive a trigger instruction sent by the first terminal device or the second terminal device; the triggering instruction is used for triggering and adjusting the current redundancy transmission strategy.
In another possible embodiment, the processor 801 in the apparatus 8 is configured to read the program code stored in the memory 802, and perform the following operations:
testing the transmission quality parameter value between the current time and the opposite terminal equipment;
instructing the transmitter 804 to transmit a trigger instruction to the transmission control apparatus in case the transmission quality parameter value is greater than the transmission quality parameter threshold value;
receiving, by the receiver 803, the redundant transmission policy sent from the transmission control apparatus;
and transmitting the data packet according to the redundancy transmission strategy.
Optionally, the transmission quality parameter value includes one or more of a packet loss rate, a time delay, and a network traffic, and the transmission quality parameter threshold is
Figure BDA0001529805400000151
Represents the average value of a plurality of historical mass transfer parameter values measured before the current time, sLostjA standard deviation, mu and
Figure BDA0001529805400000152
greater than 0.
The embodiment of the present invention and the method embodiments of fig. 2a, 3 and 4a are based on the same concept, and the technical effects brought by the embodiment are also the same, and the specific process can refer to the description of the method embodiments of fig. 2a, 3 and 4a, and will not be described again here.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in or transmitted over a computer-readable storage medium. The computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
One of ordinary skill in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a computer-readable storage medium, and when executed, may include the processes of the above method embodiments. And the aforementioned storage medium includes: various media capable of storing program codes, such as ROM or RAM, magnetic or optical disks, etc.

Claims (18)

1. A transmission control method, characterized in that,
acquiring a current transmission quality parameter value obtained by performing short-time test between first terminal equipment and second terminal equipment;
inquiring a plurality of historical transmission quality parameter values corresponding to a transmission quality model between the first terminal device and the second terminal device;
correcting the plurality of historical transmission quality parameter values according to the current transmission quality parameter value;
determining a redundancy transmission strategy according to the plurality of corrected historical transmission quality parameter values;
and sending the redundant transmission strategy to the first terminal equipment and the second terminal equipment.
2. The method of claim 1, wherein the obtaining of the current transmission quality parameter value obtained by performing the short-time test between the first terminal device and the second terminal device comprises:
sending a short-time test instruction to the first terminal device and the second terminal device;
and receiving the current transmission quality parameter value obtained by the first terminal equipment and/or the second terminal equipment through testing in a specified time length.
3. The method according to claim 1 or 2, wherein said modifying said plurality of historical transmission quality parameter values in dependence on said current transmission quality parameter value comprises:
determining an average of the plurality of historical transmission quality parameter values and determining a standard deviation of the plurality of historical transmission quality parameter values;
correcting the mean and standard deviation of the plurality of historical transmission quality parameter values according to the following formula:
Figure FDA0003214247750000011
wherein mLost 'is an average value of the plurality of corrected historical transmission quality parameter values, sLost' is a standard deviation of the plurality of corrected historical transmission quality parameter values, and mLost is an average value of the plurality of historical transmission quality parameter valuesValue, LostnewAnd for the current transmission quality parameter value, N is the number of the plurality of historical transmission quality parameter values, j is the serial number of the historical transmission quality parameter value, and N is an integer greater than 1.
4. The method of claim 3, wherein before obtaining the current transmission quality parameter value obtained by performing the short-time test between the first terminal device and the second terminal device, the method further comprises:
sending a long-term test instruction to the first terminal device and the second terminal device;
receiving a plurality of transmission quality parameter values obtained by long-time testing in a specified time from the first terminal equipment and/or the second terminal equipment;
determining a transmission quality model between the first terminal device and the second terminal device according to the plurality of transmission quality parameter values.
5. The method of claim 4, wherein the transmission quality parameter values include one or more of packet loss rate, time delay, and network traffic; the transmission quality model includes: any one of an internet sufficient competition type, a shared bandwidth threshold type, a period degradation type and an equipment self-contained buffer type;
wherein, the internet fully competes for the following: the time delay floats in a specified range with the first time delay as a reference, and the packet loss rate floats in the specified range with the first packet loss rate as the reference; or
The shared bandwidth threshold type satisfies: when the network flow is smaller than a first flow threshold, the time delay floats in a specified range with the first time delay as a reference, and the packet loss rate floats in a specified range with the first packet loss rate as a reference; when the network traffic is not less than the first traffic threshold and less than the second traffic threshold, the time delay and the packet loss rate increase with the increase of the network traffic; when the network flow is not less than the second flow threshold, the time delay floats in a specified range with the second time delay as a reference, and the packet loss rate floats in a specified range with the second packet loss rate as a reference; the second time delay is greater than the first time delay, and the second packet loss rate is greater than the first packet loss rate; or
The cycle deterioration type satisfies: the time delay and the packet loss rate are alternately changed in a stable period and a degradation period; or
The equipment meets the following requirements in a self-contained buffer mode: when the network flow is not larger than the flow threshold, the packet loss rate floats in a specified range with the first packet loss rate as a reference, and the time delay is increased along with the increase of the network flow; when the network flow is larger than the flow threshold, the time delay floats in a specified range with the first time delay as a reference, and the packet loss rate is increased along with the increase of the network flow.
6. The method of claim 5,
in the case that the transmission quality model is of an internet sufficient contention type, the redundancy transmission strategy includes: the number of paths is more than or equal to 2, the redundancy coefficient of 1 path is 1, and the redundancy coefficients of the other paths are 1+ mLost '+ i multiplied by sLost', i is more than or equal to 2; or
In the case where the transmission quality model is of a shared bandwidth threshold type, the redundant transmission policy comprises: the number of the paths is more than or equal to 1, and when the current network flow utilization rate is more than a preset threshold value, the redundancy coefficient of each path is 1+ mLost '+ i multiplied by sLost', i is more than or equal to 2; when the current network traffic utilization rate is not greater than a preset threshold value, the redundancy coefficient of each path is 1+ mLost'; or
In the case where the transmission quality model is of a periodic degradation type, the redundant transmission strategy includes: the number of the paths is more than or equal to 2, the redundancy coefficient of 1 path is 1, and when the current network is in a stable period, the redundancy coefficients of the other paths are 1+ mLost '+0.25 xIxsLost', i is more than or equal to 2; when the current network is in a degradation period, the redundancy coefficients of other paths are 1+ mLost '+ i multiplied by sLost', i is more than or equal to 2; or
In the case that the transmission quality model is of a device-owned buffer type, the redundancy transmission strategy includes: the number of paths is greater than or equal to 1; when the current time delay is smaller than a time delay threshold value, smaller than the self-contained buffer time delay upper limit and the current packet loss rate is smaller than a packet loss rate threshold value, the redundancy coefficient of each path is 1+ mLost '+ i multiplied by sLost', i is more than or equal to 2; otherwise, the redundancy coefficient of each path is 1.
7. The method according to any of claims 1 to 6, wherein before obtaining the current transmission quality parameter value obtained by performing the short-time test between the first terminal device and the second terminal device, the method further comprises:
receiving a trigger instruction sent by the first terminal equipment or the second terminal equipment; the triggering instruction is used for triggering and adjusting the current redundancy transmission strategy.
8. A method of data transmission, comprising:
testing the transmission quality parameter value between the current time and the opposite terminal equipment;
sending a trigger instruction to a transmission control device under the condition that the transmission quality parameter value is greater than a transmission quality parameter threshold value;
receiving a redundant transmission strategy sent by the transmission control device; wherein the redundant transmission policy is a redundant transmission policy transmitted by the transmission control apparatus by the method according to any one of claims 1 to 7;
and transmitting the data packet according to the redundancy transmission strategy.
9. The method of claim 8, wherein the transmission quality parameter values include one or more of packet loss rate, delay, and network traffic, and wherein the transmission quality parameter threshold is
Figure FDA0003214247750000031
mLostjRepresents the average value of a plurality of historical mass transfer parameter values measured before the current time, sLostjA standard deviation, mu and
Figure FDA0003214247750000032
greater than 0.
10. A transmission control apparatus, comprising:
the device comprises an acquisition unit, a transmission unit and a processing unit, wherein the acquisition unit is used for acquiring a current transmission quality parameter value obtained by performing short-time test between first terminal equipment and second terminal equipment;
the query unit is used for querying a plurality of historical transmission quality parameter values corresponding to the transmission quality model between the first terminal equipment and the second terminal equipment;
a correcting unit, configured to correct the plurality of historical transmission quality parameter values according to the current transmission quality parameter value;
a determining unit, configured to determine a redundant transmission policy according to the corrected plurality of historical transmission quality parameter values;
a sending unit, configured to send the redundant transmission policy to the first terminal device and the second terminal device.
11. The apparatus according to claim 10, wherein the obtaining unit is specifically configured to:
sending a short-time test instruction to the first terminal device and the second terminal device;
and receiving the current transmission quality parameter value obtained by the first terminal equipment and/or the second terminal equipment through testing in a specified time length.
12. The apparatus according to claim 10 or 11, wherein the modification unit is specifically configured to:
determining an average of a plurality of historical transmission quality parameter values, and determining a standard deviation of the plurality of historical transmission quality parameter values;
correcting the mean and standard deviation of the plurality of historical transmission quality parameter values according to the following formula:
Figure FDA0003214247750000033
wherein mLost' is modified DowThe average value of multiple historical transmission quality parameter values, sLost' is the standard deviation of multiple corrected historical transmission quality parameter values, mLost is the average value of multiple historical transmission quality parameter values, and LostnewAnd for the current transmission quality parameter value, N is the number of the plurality of historical transmission quality parameter values, j is the serial number of the historical transmission quality parameter value, and N is an integer greater than 1.
13. The apparatus of claim 12,
the determining unit is further configured to send a long-term test instruction to the first terminal device and the second terminal device; receiving a plurality of transmission quality parameter values obtained by long-time testing in a specified time from the first terminal equipment and/or the second terminal equipment; determining a transmission quality model between the first terminal device and the second terminal device based on a plurality of transmission quality parameter values.
14. The apparatus of claim 13, wherein the transmission quality parameter values comprise one or more of packet loss rate, latency, and network traffic;
the transmission quality model comprises any one of an internet sufficient competition type, a shared bandwidth threshold type, a period degradation type and an equipment self-contained buffer type;
wherein, the internet fully competes for the following: the time delay floats in a specified range with the first time delay as a reference, and the packet loss rate floats in the specified range with the first packet loss rate as the reference; or
The shared bandwidth threshold type satisfies: when the network flow is smaller than a first flow threshold, the time delay floats in a specified range with the first time delay as a reference, and the packet loss rate floats in a specified range with the first packet loss rate as a reference; when the network traffic is not less than the first traffic threshold and less than the second traffic threshold, the time delay and the packet loss rate increase with the increase of the network traffic; when the network flow is not less than a second flow threshold, the time delay floats in a specified range with a second time delay as a reference, the packet loss rate floats in a specified range with a second packet loss rate as a reference, the second time delay is greater than the first time delay, and the second packet loss rate is greater than the first packet loss rate; or
The cycle deterioration type satisfies: the time delay and the packet loss rate are alternately changed in a stable period and a degradation period; or
The equipment meets the following requirements in a self-contained buffer mode: when the network flow is not less than the flow threshold, the packet loss rate floats in a specified range with the first packet loss rate as a reference, and the time delay is increased along with the increase of the network flow; when the network flow is larger than the flow threshold, the time delay floats in a specified range with the first time delay as a reference, and the packet loss rate is increased along with the increase of the network flow.
15. The apparatus of claim 14,
in the case that the transmission quality model is of the internet sufficient contention type, the redundancy transmission strategy includes: the number of paths is more than or equal to 2, the redundancy coefficient of 1 path is 1, and the redundancy coefficients of the other paths are 1+ mLost '+ i multiplied by sLost', i is more than or equal to 2; or
In the case where the transmission quality model is of the shared bandwidth threshold type, the redundant transmission policy comprises: the number of the paths is more than or equal to 1, and when the current network flow utilization rate is more than a preset threshold value, the redundancy coefficient of each path is 1+ mLost '+ i multiplied by sLost', i is more than or equal to 2; when the current network traffic utilization rate is not greater than a preset threshold value, the redundancy coefficient of each path is 1+ mLost'; or
In the case where the transmission quality model is of the cyclic degradation type, the redundancy transmission strategy includes: the number of the paths is more than or equal to 1, the redundancy coefficient of 1 path is 1, and when the current network is in a stable period, the redundancy coefficients of the other paths are 1+ mLost '+0.25 xIxsLost', i is more than or equal to 2; when the current network is in a degradation period, the redundancy coefficients of other paths are 1+ mLost '+ i multiplied by sLost', i is more than or equal to 2; or
In the case that the transmission quality model is of a self-buffering type of the device, the redundancy transmission strategy includes: the number of paths is greater than or equal to 1; when the current time delay is smaller than a time delay threshold value, smaller than the self-contained buffer time delay upper limit and the current packet loss rate is smaller than a packet loss rate threshold value, the redundancy coefficient of each path is 1+ mLost '+ i multiplied by sLost', i is more than or equal to 2; otherwise, the redundancy coefficient of each path is 1.
16. The apparatus of any one of claims 10-15, further comprising:
a receiving unit, configured to receive a trigger instruction sent by the first terminal device or the second terminal device; the triggering instruction is used for triggering and adjusting the current redundancy transmission strategy.
17. A data transmission apparatus, comprising:
the testing unit is used for testing the transmission quality parameter value between the testing unit and the opposite terminal equipment in the current time;
the sending unit is used for sending a trigger instruction to the transmission control device under the condition that the mass transfer parameter value is larger than the transmission quality parameter threshold value;
a receiving unit configured to receive a redundant transmission policy transmitted from a transmission control apparatus; wherein the redundant transmission policy is that the transmission control device is a device according to any of claims 10-16;
and the execution unit is used for transmitting the data packet according to the redundancy transmission strategy.
18. The apparatus of claim 17, wherein the transmission quality parameter values comprise one or more of packet loss rate, latency, and network traffic, and wherein the transmission quality parameter threshold is
Figure FDA0003214247750000041
mLostjRepresents the average value of a plurality of historical mass transfer parameter values measured before the current time, sLostjA standard deviation, mu and
Figure FDA0003214247750000051
greater than 0.
CN201711458777.2A 2017-12-28 2017-12-28 Transmission control method and device Active CN109981214B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711458777.2A CN109981214B (en) 2017-12-28 2017-12-28 Transmission control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711458777.2A CN109981214B (en) 2017-12-28 2017-12-28 Transmission control method and device

Publications (2)

Publication Number Publication Date
CN109981214A CN109981214A (en) 2019-07-05
CN109981214B true CN109981214B (en) 2021-12-14

Family

ID=67074583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711458777.2A Active CN109981214B (en) 2017-12-28 2017-12-28 Transmission control method and device

Country Status (1)

Country Link
CN (1) CN109981214B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113114520A (en) * 2020-01-10 2021-07-13 华为技术有限公司 Data transmission method and terminal
CN111935781B (en) * 2020-06-28 2023-04-25 中国科学院深圳先进技术研究院 Control method, network system and related device of data sharing network
CN111669340B (en) * 2020-07-03 2021-06-22 全时云商务服务股份有限公司 Transmission bandwidth control method, device, network equipment and readable storage medium
CN112702276B (en) * 2021-03-24 2021-06-18 腾讯科技(深圳)有限公司 Transmission control method and device, electronic equipment and computer storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491645A (en) * 2013-09-11 2014-01-01 大唐移动通信设备有限公司 Method and device for managing communication links

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491645A (en) * 2013-09-11 2014-01-01 大唐移动通信设备有限公司 Method and device for managing communication links

Also Published As

Publication number Publication date
CN109981214A (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN109981214B (en) Transmission control method and device
US11943644B2 (en) Method and system for performance estimation of a communication link
EP2875680B1 (en) Method and apparatus for selecting a wireless access point
US8976656B2 (en) Available bandwidth measurement system, transmission device, available bandwidth measurement method and recording medium
CN110875915B (en) Data transmission method and device
CN107171831B (en) Network deployment method and device
US10142252B2 (en) Server intelligence for network speed testing control
CA3161839A1 (en) System and method for estimation of quality of experience (qoe) for video streaming
EP3644663A1 (en) Positioning method and apparatus
US9794155B2 (en) System and method for coordinating client-side inference of mobile network loading and capacity
US20220201531A1 (en) Measurement reporting method and apparatus
CN106658644B (en) Communication network routing method and device
US11729710B2 (en) Greedy user equipment data transport network selection
EP3720071A2 (en) Benchmarking of delay estimates in a 5g network for quality of service flow setup and monitoring
CN116055023A (en) Data transmission method and device
US9380477B2 (en) Terminal, and system and method for monitoring wireless network
EP3593493B1 (en) Prediction of a performance indicator
US11303552B2 (en) Receiver, communication system, available bandwidth estimation method, and storage medium in which program is stored
CN111628902B (en) Rate testing method and apparatus, electronic device, and computer-readable storage medium
CN111294099A (en) Method and related device for reporting channel state information
CN110290552B (en) Method and device for measuring cache depth, storage medium and electronic device
US20100246422A1 (en) Network device and method of measuring upstream bandwidth employed thereby
CN106973400B (en) A kind of processing method and UE of measurement result
CN113453145B (en) Method for predicting air interface state and wireless coverage equipment
CN107347196B (en) Method and device for determining cell congestion

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