CN104104597A - Data transmission method, device and system - Google Patents

Data transmission method, device and system Download PDF

Info

Publication number
CN104104597A
CN104104597A CN201410385142.4A CN201410385142A CN104104597A CN 104104597 A CN104104597 A CN 104104597A CN 201410385142 A CN201410385142 A CN 201410385142A CN 104104597 A CN104104597 A CN 104104597A
Authority
CN
China
Prior art keywords
packet
packet loss
data transmission
sequence identification
transmit leg
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410385142.4A
Other languages
Chinese (zh)
Other versions
CN104104597B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410385142.4A priority Critical patent/CN104104597B/en
Publication of CN104104597A publication Critical patent/CN104104597A/en
Application granted granted Critical
Publication of CN104104597B publication Critical patent/CN104104597B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a data transmission method, comprising that: a sender sends a data packet to a receiver, wherein the data packet carries a sequence identifier; the sender receives a packet loss rate from the receiver, wherein the packet loss rate is obtained by the receiver through computing the recorded sequence identifier carried by the data packet; the sender inquires a transmission strategy corresponding to the packet loss rate from corresponding relation between the preset packet loss rate and the data transmission strategy, and transmits data according to the data transmission strategy. According to the data transmission method, actual packet loss in data transmission in the case of complex and variable network conditions can be reduced by adjusting the data transmission strategy in real time.

Description

A kind of data transmission method, Apparatus and system
Technical field
The present invention relates to communication technical field, be specifically related to a kind of data transmission method, Apparatus and system.
Background technology
At present, in order to meet the transmission requirement of real-time property, conventionally by UDP (User Data Protocol) protocol transmission data, but, in data transmission procedure, may be subject to the impact of network medium and link congestion degree, the situation of part loss of transmitted data often occurs, and that is to say that packet loss is normality in data transmission procedure.
So, in data transmission procedure, how to tackle complicated network condition, reduce packet drop and the impact of business is more and more caused to people's attention.
Summary of the invention
For the problems referred to above, the invention provides a kind of data transmission method, Apparatus and system, can reduce the actual packet loss of the transfer of data in network condition situation complicated and changeable, and then reduce the impact of packet drop on business.
The invention provides a kind of data transmission method, described method comprises:
Transmit leg sends packet to recipient, and described packet carries sequence identification;
Described transmit leg receives the packet loss from described recipient, and described packet loss is that the sequence identification that described recipient carries according to the packet of record calculates;
Described transmit leg, in the corresponding relation of default packet loss and data transmission policies, is inquired about the transmission policy corresponding with described packet loss, and carries out transfer of data according to described data transmission policies.
Preferably, described transmit leg, in the corresponding relation of default packet loss and data transmission policies, is inquired about the transmission policy corresponding with described packet loss, and carries out transfer of data according to described data transmission policies, comprising:
Described transmit leg judges whether described packet loss is greater than the first predetermined threshold value;
In the time that described packet loss is greater than described the first predetermined threshold value, described transmit leg adjustment sends the path of packet, and sends packet according to the path after adjusting.
The present invention also provides a kind of data transmission method, and described method comprises:
Recipient receives the packet from transmit leg, and described packet carries sequence identification;
Described recipient records the sequence identification that described packet carries, and the sequence identification carrying according to the packet of record calculates packet loss;
Described packet loss is sent to described transmit leg by described recipient, so that described transmit leg is in the corresponding relation of default packet loss and data transmission policies, inquire about the transmission policy corresponding with described packet loss, and carry out transfer of data according to described data transmission policies.
Preferably, described recipient records the sequence identification that described packet carries, and the sequence identification calculating packet loss carrying according to the packet of record, comprising:
Described recipient records the sequence identification carrying from the packet of described transmit leg successively;
In the time that the number of the sequence identification recording reaches the second predetermined threshold value, calculate packet loss according to described sequence identification.
Preferably, described recipient also comprises before described packet loss is sent to described transmit leg:
Described recipient judges whether described packet loss is greater than the 3rd predetermined threshold value;
In the time that described packet loss is greater than the 3rd predetermined threshold value, the described recipient of continuation execution is sent to described packet loss the step of described transmit leg.
The present invention also provides a kind of data transmission device, and described device comprises:
Sending module, for sending packet to recipient, described packet carries sequence identification;
Receiver module, for receiving the packet loss from described recipient, described packet loss is that the sequence identification that described recipient carries according to the packet of record calculates;
Enquiry module, for the corresponding relation of the packet loss default and data transmission policies, inquires about the transmission policy corresponding with described packet loss, and carries out transfer of data according to described data transmission policies.
Preferably, described enquiry module comprises:
Judge submodule, for judging whether described packet loss is greater than the first predetermined threshold value;
Adjust submodule, in the time that described packet loss is greater than described the first predetermined threshold value, adjust the path that sends packet, and send packet according to the path after adjusting.
The present invention also provides a kind of data transmission device, and described device comprises:
Receiver module, for receiving the packet from transmit leg, described packet carries sequence identification;
Computing module, the sequence identification carrying for recording described packet, and the sequence identification carrying according to the packet of record calculates packet loss;
Sending module, for described packet loss is sent to described transmit leg, so that described transmit leg, in the corresponding relation of default packet loss and data transmission policies, is inquired about the transmission policy corresponding with described packet loss, and carry out transfer of data according to described data transmission policies.
Preferably, described computing module comprises:
Record sub module, for recording successively the sequence identification carrying from the packet of described transmit leg;
Calculating sub module, while reaching the second predetermined threshold value, calculates packet loss according to described sequence identification for the number when the sequence identification recording.
Preferably, described device also comprises:
Judge module, for judging whether described packet loss is greater than the 3rd predetermined threshold value;
Trigger module, in the time that described packet loss is greater than the 3rd predetermined threshold value, triggers described sending module.
The present invention also provides a kind of data transmission system, and described system comprises transmit leg and recipient,
Described transmit leg sends packet to described recipient, and described packet carries sequence identification;
Described recipient records the sequence identification that described packet carries, and the sequence identification carrying according to the packet of record calculates packet loss;
Described packet loss is sent to described transmit leg by described recipient;
Described transmit leg, in the corresponding relation of default packet loss and data transmission policies, is inquired about the transmission policy corresponding with described packet loss, and carries out transfer of data according to described data transmission policies.
Sending direction recipient of the present invention sends the packet that carries sequence identification, the packet loss of the sequence identification calculated data transmission that recipient carries according to the packet receiving, and the packet loss obtaining is fed back to transmit leg, so that adjusting data transmission policies according to the packet loss of feedback, transmit leg carries out follow-up transfer of data.Compared with prior art, the present invention can, by adjusting in real time data transmission policies, reduce the actual packet loss of the transfer of data in network condition situation complicated and changeable.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present application, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiment of the application, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is data transmission method flow chart provided by the invention;
Fig. 2 is data transmission method flow chart provided by the invention;
Fig. 3 is data transmission method interaction figure provided by the invention;
Fig. 4 is the schematic diagram that is related between strange land provided by the invention voice transfer server, voice server;
Fig. 5 is data transmission device structural representation provided by the invention;
Fig. 6 is data transmission device structural representation provided by the invention;
Fig. 7 is data transmission system structural representation provided by the invention;
Fig. 8 is the block diagram of the part-structure of server provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiment.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtaining under creative work prerequisite, all belong to the scope of the application's protection.
Embodiment mono-
With reference to figure 1, Fig. 1 is the data transmission method flow chart that the present embodiment provides, and specifically can comprise:
S101: transmit leg sends packet to recipient, and described packet carries sequence identification.
In the present embodiment, transmit leg sends data with data packet form to recipient, and packet is the data that add that specific packet header is encapsulated.Wherein, packet carries sequence identification, for representing the sending order of described packet, concrete, and sequence identification can be for sending sequence number.
S102: described transmit leg receives the packet loss from described recipient, described packet loss is that the sequence identification that described recipient carries according to the packet of record calculates.
In the present embodiment, recipient receives after the packet from transmit leg, obtains the sequence identification of described packet, and records described sequence identification.In the time that the number of sequence identification of record reaches default threshold value, described recipient can calculate packet loss according to the sequence identification of record, and described packet loss is fed back to described transmit leg.Concrete, packet loss is the ratio of the number of the actual packet receiving of recipient and the number of the packet that transmit leg sends.
In practical application, can use sliding window (being called for short sliding window) to carry out the record of sequence identification.Wherein, array and an abstract array range of the sequence identification of the packet that sliding window is received by an actual storage form, and that is to say that the sequence identification that sliding window can be stored fixes.Described recipient is left the sequence identification of the packet receiving in the array within the scope of sliding window in, in the time that the sequence identification of record exceeds sliding window scope, calculates the packet drop within the scope of sliding window, i.e. packet loss, and mobile sliding window.
S103: described transmit leg, in the corresponding relation of default packet loss and data transmission policies, is inquired about the data transmission policies corresponding with described packet loss, and carry out transfer of data according to described data transmission policies.
In practical application, transmit leg arranges respectively different data transmission policies for the packet loss of different range in advance, and stores the packet loss of different range and the corresponding relation of data transmission policies.In the time that described transmit leg receives the packet loss from recipient, in the corresponding relation of pre-stored packet loss and data transmission policies, inquire about the data transmission policies corresponding with described packet loss, and in follow-up transfer of data, described transmit leg carries out the transmission of data according to the data transmission policies inquiring.
Concrete, transmit leg can arrange data transmission policies in the following manner: in the time of packet loss <2%, described transmit leg can keep former data transmission policies to carry out the transmission of data; In the time that packet loss is between 2% and 5%, described transmit leg can be by two parts of identical Packet Generations, and interval 5ms between two piece of data bags; In the time that packet loss is between 5% and 10%, described transmit leg can be by three parts of identical Packet Generations, and interval 5ms between each packet; In the time of packet loss >=10%, described transmit leg can be adjusted the path that sends packet.
In the present embodiment, sending direction recipient sends the packet that carries sequence identification, the packet loss of the sequence identification calculated data transmission that recipient carries according to the packet receiving, and the packet loss obtaining is fed back to transmit leg, so that adjusting data transmission policies according to the packet loss of feedback, transmit leg carries out follow-up transfer of data.Compared with prior art, the present embodiment can, by adjusting in real time data transmission policies, reduce the actual packet loss of the transfer of data in network condition situation complicated and changeable.
Embodiment bis-
With reference to figure 2, the data transmission method flow chart that Fig. 2 provides for the present embodiment, described method comprises:
S201: recipient receives the packet from transmit leg, and described packet carries sequence identification.
In the present embodiment, recipient receives the packet from transmit leg, and wherein, described packet carries sequence identification, for representing the sending order of described packet.
S202: described recipient records the sequence identification that described packet carries, and the sequence identification carrying according to the packet of record calculates packet loss.
In practical application, described recipient, in the time receiving from the packet of transmit leg, records the sequence identification carrying from the packet of described transmit leg successively.In the time that the number of the sequence identification of recipient record reaches default threshold value, described recipient can calculate packet loss according to described sequence identification.Concrete, packet loss is the ratio of the number of the actual packet receiving of recipient and the number of the packet that transmit leg sends.
In addition, when recipient calculates after packet loss, can first judge whether described packet loss is greater than default threshold value, in the time that described packet loss is greater than described threshold value, described recipient can be sent to transmit leg by described packet loss.In the time that described packet loss is not more than described threshold value, illustrate that the data packet drop of sending direction recipient transmission is good, do not need to change data transmission policies.The present embodiment is before being sent to transmit leg by packet loss, and first recipient judges the relation of described packet loss and predetermined threshold value, and the efficiency of transfer of data can be provided to a certain extent.
S203: described packet loss is sent to described transmit leg by described recipient, so that described transmit leg is in the corresponding relation of default packet loss and data transmission policies, inquire about the data transmission policies corresponding with described packet loss, and carry out transfer of data according to described data transmission policies.
In the present embodiment, recipient can feed back to transmit leg by the packet loss obtaining, when described transmit leg receives after the packet loss from described recipient, can be in the corresponding relation of default packet loss and data transmission policies, the data transmission policies that inquiry is mated with described packet loss.In follow-up data transmission procedure, described transmit leg can carry out according to the data transmission policies inquiring the transmission of data, to reduce the generation of packet drop.
In the present embodiment, sending direction recipient sends the packet that carries sequence identification, the packet loss of the sequence identification calculated data transmission that recipient carries according to the packet receiving, and the packet loss obtaining is fed back to transmit leg, so that adjusting data transmission policies according to the packet loss of feedback, transmit leg carries out follow-up transfer of data.Compared with prior art, the present embodiment can, by adjusting in real time data transmission policies, reduce the actual packet loss of the transfer of data in network condition situation complicated and changeable.
Embodiment tri-
Due to public network unstable networks, packet drop is more, so the present embodiment sends packets of audio data as example by public network to the voice transfer server in strange land taking voice transfer server, and a kind of data transmission method is provided.With reference to figure 3, the data transmission method interaction figure that Fig. 3 provides for the present embodiment, described method comprises:
S301: the first voice transfer server sends band sequenced packet to the second voice transfer server.
In the present embodiment, the first voice transfer server is from the second voice transfer server in different cities, and wherein, the first voice transfer server sends band sequenced packet by public network to the second voice transfer server.Described sequence number is for identifying the sending order of described packet.
S302: the sequence number of the packet that described the second voice transfer server record receives, and calculate the packet loss of a period of time according to the sequence number of record.
In the present embodiment, the modes such as the second voice transfer server by utilizing array record the sequence number of the packet receiving, and in the time that the number of sequence number of record reaches default number, calculate the transfer of data packet loss of this period of time according to the sequence number of record.
In addition, in the time that described the second voice transfer server obtains packet loss, can first judge whether described packet loss exceeds default threshold value, if exceeded, described packet loss be fed back to described the first voice transfer server.
S303: described packet loss is fed back to described the first voice transfer server by described the second voice transfer server.
S304: described the first voice transfer server, in the corresponding relation of default packet loss and data transmission policies, is inquired about the data transmission policies corresponding with described packet loss.
In the first voice transfer server, can set in advance following 4 kinds of data transmission policies:
A. packet loss <2%, keeps former data transmission policies;
B.2%≤packet loss <5%, two parts of identical Packet Generations, and interval 5ms between two packets;
C.5%≤packet loss <10%, three parts of identical Packet Generations, and interval 5ms between each packet;
D. packet loss >=10%, adjusts the path that sends packet.
Concrete, the mode of adjusting the path that sends packet exists following 4 kinds.
First,, in the time of packet loss >=10%, described the first voice transfer server can be selected with described the second voice transfer server with other voice transfer servers in city as data receiver.If it is all higher with the load of other voice transfer servers in city that described the first voice transfer server is known with described the second voice transfer server, also know when the operator of the first voice transfer server and target voice server is identical simultaneously, described the first voice transfer server can be directly by Packet Generation to target voice server.As Fig. 4, in fact the second voice transfer server receives after the packet from described the first voice transfer server, is to be also forwarded to coupled target voice server.
In addition, once it is all higher with the load of other voice transfer servers in city that described the first voice transfer server is known with described the second voice transfer server, and when the operator of described the first voice transfer server and target voice server is not identical, states the first voice transfer server and can select by company across city Intranet special line Packet Generation to target voice server.Wherein, use company is higher across city Intranet special line transmission data cost, and general data transmission can not used company across city Intranet special line.
S305: described the first voice transfer server carries out the transmission of data according to the data transmission policies inquiring.
In the present embodiment, when described the first voice transfer server is according to after the packet loss specified data transmission policy receiving, in follow-up transfer of data, described the first voice transfer server carries out the transmission of data according to described data transmission policies.
In the present embodiment, the first voice transfer server sends band sequenced packet to the second voice transfer server, after the packet loss receiving from the second voice transfer server, determines subsequent data transmission strategy according to packet loss.The present embodiment can, in data transmission procedure, especially, requiring in the packets of audio data transmitting procedure that real-time is higher, reduce the generation of packet drop, increases the packet that effectively arrives the second voice transfer server.
Embodiment tetra-
With reference to figure 5, a kind of data transmission device structural representation that Fig. 5 provides for this enforcement, described device can comprise:
Sending module 501, for sending packet to recipient, described packet carries sequence identification.
Receiver module 502, for receiving the packet loss from described recipient, described packet loss is that the sequence identification that described recipient carries according to the packet of record calculates.
Enquiry module 503, for the corresponding relation of the packet loss default and data transmission policies, inquires about the transmission policy corresponding with described packet loss, and carries out transfer of data according to described data transmission policies.
Wherein, described enquiry module can comprise:
Judge submodule, for judging whether described packet loss is greater than the first predetermined threshold value.
Adjust submodule, in the time that described packet loss is greater than described the first predetermined threshold value, adjust the path that sends packet, and send packet according to the path after adjusting.
With reference to figure 6, a kind of data transmission device structural representation that Fig. 6 provides for the present embodiment, described device can comprise:
Receiver module 601, for receiving the packet from transmit leg, described packet carries sequence identification.
Computing module 602, the sequence identification carrying for recording described packet, and the sequence identification carrying according to the packet of record calculates packet loss.
Sending module 603, for described packet loss is sent to described transmit leg, so that described transmit leg, in the corresponding relation of default packet loss and data transmission policies, is inquired about the transmission policy corresponding with described packet loss, and carry out transfer of data according to described data transmission policies.
Wherein, described computing module can comprise:
Record sub module, for recording successively the sequence identification carrying from the packet of described transmit leg.
Calculating sub module, while reaching the second predetermined threshold value, calculates packet loss according to described sequence identification for the number when the sequence identification recording.
In addition, described device can also comprise:
Judge module, for judging whether described packet loss is greater than the 3rd predetermined threshold value.
Trigger module, in the time that described packet loss is greater than the 3rd predetermined threshold value, triggers described sending module.
With reference to figure 7, the data transmission system structural representation that Fig. 7 provides for the present embodiment, described system can comprise transmit leg 701 and recipient 702,
Described transmit leg 701 sends packet to described recipient 702, and described packet carries sequence identification;
Described recipient 702 records the sequence identification that described packet carries, and the sequence identification carrying according to the packet of record calculates packet loss;
Described packet loss is sent to described transmit leg 701 by described recipient 702;
Described transmit leg 701, in the corresponding relation of default packet loss and data transmission policies, is inquired about the transmission policy corresponding with described packet loss, and carries out transfer of data according to described data transmission policies.
In the present embodiment, sending direction recipient sends the packet that carries sequence identification, the packet loss of the sequence identification calculated data transmission that recipient carries according to the packet receiving, and the packet loss obtaining is fed back to transmit leg, so that adjusting data transmission policies according to the packet loss of feedback, transmit leg carries out follow-up transfer of data.Compared with prior art, the present embodiment can, by adjusting in real time data transmission policies, reduce the actual packet loss of the transfer of data in network condition situation complicated and changeable.
Accordingly, the embodiment of the present invention also provides a kind of server, shown in Figure 8, can comprise:
Processor 801, memory 802, input unit 803 and output device 804.The quantity of the processor 801 in browser server can be one or more, in Fig. 8 taking a processor as example.In some embodiments of the invention, processor 801, memory 802, input unit 803 and output device 804 can be connected by bus or alternate manner, wherein, in Fig. 8 to be connected to example by bus.
Memory 802 can be used for storing software program and module, and processor 801 is stored in software program and the module of memory 802 by operation, thereby carries out various function application and the data processing of browser server.Memory 802 can mainly comprise storage program district and storage data field, wherein, and the application program that storage program district can storage operation system, at least one function is required etc.In addition, memory 802 can comprise high-speed random access memory, can also comprise nonvolatile memory, for example at least one disk memory, flush memory device or other volatile solid-state parts.Input unit 803 can be used for receiving numeral or the character information of input, and generation is inputted with the key signals that user arranges and function control is relevant of browser server.
Specifically in the present embodiment, processor 801 can be according to following instruction, the executable file corresponding process of one or more application program is loaded in memory 802, and moves by processor 801 application program being stored in memory 802, thereby realize various functions:
Send packet to recipient, described packet carries sequence identification;
Receive the packet loss from described recipient, described packet loss is that the sequence identification that described recipient carries according to the packet of record calculates;
In the corresponding relation of default packet loss and data transmission policies, inquire about the transmission policy corresponding with described packet loss, and carry out transfer of data according to described data transmission policies.
Or described processor 801 also can be achieved as follows function:
Receive the packet from transmit leg, described packet carries sequence identification;
Record the sequence identification that described packet carries, and the sequence identification carrying according to the packet of record calculates packet loss;
Described packet loss is sent to described transmit leg, so that described transmit leg, in the corresponding relation of default packet loss and data transmission policies, is inquired about the transmission policy corresponding with described packet loss, and carries out transfer of data according to described data transmission policies.
For device embodiment, because it corresponds essentially to embodiment of the method, so relevant part is referring to the part explanation of embodiment of the method.Device embodiment described above is only schematic, the wherein said unit as separating component explanation can or can not be also physically to separate, the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in multiple network element.Can select according to the actual needs some or all of module wherein to realize the object of the present embodiment scheme.Those of ordinary skill in the art, in the situation that not paying creative work, are appreciated that and implement. 
It should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
A kind of data transmission method, the Apparatus and system that above the embodiment of the present invention are provided are described in detail, applied specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.

Claims (11)

1. a data transmission method, is characterized in that, described method comprises:
Transmit leg sends packet to recipient, and described packet carries sequence identification;
Described transmit leg receives the packet loss from described recipient, and described packet loss is that the sequence identification that described recipient carries according to the packet of record calculates;
Described transmit leg, in the corresponding relation of default packet loss and data transmission policies, is inquired about the transmission policy corresponding with described packet loss, and carries out transfer of data according to described data transmission policies.
2. method according to claim 1, it is characterized in that, described transmit leg, in the corresponding relation of default packet loss and data transmission policies, is inquired about the transmission policy corresponding with described packet loss, and carry out transfer of data according to described data transmission policies, comprising:
Described transmit leg judges whether described packet loss is greater than the first predetermined threshold value;
In the time that described packet loss is greater than described the first predetermined threshold value, described transmit leg adjustment sends the path of packet, and sends packet according to the path after adjusting.
3. a data transmission method, is characterized in that, described method comprises:
Recipient receives the packet from transmit leg, and described packet carries sequence identification;
Described recipient records the sequence identification that described packet carries, and the sequence identification carrying according to the packet of record calculates packet loss;
Described packet loss is sent to described transmit leg by described recipient, so that described transmit leg is in the corresponding relation of default packet loss and data transmission policies, inquire about the transmission policy corresponding with described packet loss, and carry out transfer of data according to described data transmission policies.
4. method according to claim 3, is characterized in that, described recipient records the sequence identification that described packet carries, and the sequence identification calculating packet loss carrying according to the packet of record, comprising:
Described recipient records the sequence identification carrying from the packet of described transmit leg successively;
In the time that the number of the sequence identification recording reaches the second predetermined threshold value, calculate packet loss according to described sequence identification.
5. method according to claim 3, is characterized in that, described recipient also comprises before described packet loss is sent to described transmit leg:
Described recipient judges whether described packet loss is greater than the 3rd predetermined threshold value;
In the time that described packet loss is greater than the 3rd predetermined threshold value, the described recipient of continuation execution is sent to described packet loss the step of described transmit leg.
6. a data transmission device, is characterized in that, described device comprises:
Sending module, for sending packet to recipient, described packet carries sequence identification;
Receiver module, for receiving the packet loss from described recipient, described packet loss is that the sequence identification that described recipient carries according to the packet of record calculates;
Enquiry module, for the corresponding relation of the packet loss default and data transmission policies, inquires about the transmission policy corresponding with described packet loss, and carries out transfer of data according to described data transmission policies.
7. device according to claim 6, is characterized in that, described enquiry module comprises:
Judge submodule, for judging whether described packet loss is greater than the first predetermined threshold value;
Adjust submodule, in the time that described packet loss is greater than described the first predetermined threshold value, adjust the path that sends packet, and send packet according to the path after adjusting.
8. a data transmission device, is characterized in that, described device comprises:
Receiver module, for receiving the packet from transmit leg, described packet carries sequence identification;
Computing module, the sequence identification carrying for recording described packet, and the sequence identification carrying according to the packet of record calculates packet loss;
Sending module, for described packet loss is sent to described transmit leg, so that described transmit leg, in the corresponding relation of default packet loss and data transmission policies, is inquired about the transmission policy corresponding with described packet loss, and carry out transfer of data according to described data transmission policies.
9. device according to claim 8, is characterized in that, described computing module comprises:
Record sub module, for recording successively the sequence identification carrying from the packet of described transmit leg;
Calculating sub module, while reaching the second predetermined threshold value, calculates packet loss according to described sequence identification for the number when the sequence identification recording.
10. device according to claim 8, is characterized in that, described device also comprises:
Judge module, for judging whether described packet loss is greater than the 3rd predetermined threshold value;
Trigger module, in the time that described packet loss is greater than the 3rd predetermined threshold value, triggers described sending module.
11. 1 kinds of data transmission systems, is characterized in that, described system comprises transmit leg and recipient,
Described transmit leg sends packet to described recipient, and described packet carries sequence identification;
Described recipient records the sequence identification that described packet carries, and the sequence identification carrying according to the packet of record calculates packet loss;
Described packet loss is sent to described transmit leg by described recipient;
Described transmit leg, in the corresponding relation of default packet loss and data transmission policies, is inquired about the transmission policy corresponding with described packet loss, and carries out transfer of data according to described data transmission policies.
CN201410385142.4A 2014-08-06 2014-08-06 A kind of data transmission method, Apparatus and system Active CN104104597B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410385142.4A CN104104597B (en) 2014-08-06 2014-08-06 A kind of data transmission method, Apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410385142.4A CN104104597B (en) 2014-08-06 2014-08-06 A kind of data transmission method, Apparatus and system

Publications (2)

Publication Number Publication Date
CN104104597A true CN104104597A (en) 2014-10-15
CN104104597B CN104104597B (en) 2015-08-12

Family

ID=51672409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410385142.4A Active CN104104597B (en) 2014-08-06 2014-08-06 A kind of data transmission method, Apparatus and system

Country Status (1)

Country Link
CN (1) CN104104597B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483220A (en) * 2016-06-08 2017-12-15 杭州海康威视数字技术股份有限公司 A kind of method for controlling quality of service, apparatus and system
CN107846359A (en) * 2016-09-20 2018-03-27 深圳市盛路物联通讯技术有限公司 A kind of data automatic routing method and repeater based on repeater
CN109348513A (en) * 2018-11-15 2019-02-15 Oppo广东移动通信有限公司 A kind of data pack transmission method, terminal and computer storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101986648A (en) * 2010-11-24 2011-03-16 北京星网锐捷网络技术有限公司 Negotiation method, device and network device of TCP option
CN102065372A (en) * 2009-11-16 2011-05-18 中国移动通信集团公司 Method for transmitting data in broadcast mode and related device
CN103684708A (en) * 2012-09-03 2014-03-26 中兴通讯股份有限公司 CES (Circuit Emulation Service) data transmission method, CES data transmission device, CES data receiving method and CES data receiving device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065372A (en) * 2009-11-16 2011-05-18 中国移动通信集团公司 Method for transmitting data in broadcast mode and related device
CN101986648A (en) * 2010-11-24 2011-03-16 北京星网锐捷网络技术有限公司 Negotiation method, device and network device of TCP option
CN103684708A (en) * 2012-09-03 2014-03-26 中兴通讯股份有限公司 CES (Circuit Emulation Service) data transmission method, CES data transmission device, CES data receiving method and CES data receiving device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483220A (en) * 2016-06-08 2017-12-15 杭州海康威视数字技术股份有限公司 A kind of method for controlling quality of service, apparatus and system
CN107483220B (en) * 2016-06-08 2021-09-10 杭州海康威视数字技术股份有限公司 Service quality control method, device and system
CN107846359A (en) * 2016-09-20 2018-03-27 深圳市盛路物联通讯技术有限公司 A kind of data automatic routing method and repeater based on repeater
WO2018053896A1 (en) * 2016-09-20 2018-03-29 深圳市盈广现代网络设备有限公司 Repeater-based automatic data routing method, and repeater
CN109348513A (en) * 2018-11-15 2019-02-15 Oppo广东移动通信有限公司 A kind of data pack transmission method, terminal and computer storage medium
CN109348513B (en) * 2018-11-15 2023-08-11 Oppo广东移动通信有限公司 Data packet transmission method, terminal and computer storage medium

Also Published As

Publication number Publication date
CN104104597B (en) 2015-08-12

Similar Documents

Publication Publication Date Title
CN105376357B (en) A kind of antenna installation method and device of mobile device
CN102638407B (en) Message forwarding method, device and network equipment
CN103905447A (en) Service link selection control method and device
CN104660565A (en) Hostile attack detection method and device
CN102208945B (en) Method for obtaining network address and FCoE target and communication system
CN103929368A (en) Load balance method and device for multiple service units
CN103259696A (en) Network bandwidth detecting method and device and network devices
US20170302762A1 (en) Sdn, sdn configuration method, sdn-based data transmission method, and network controller
CN109522462B (en) Cloud query method, device, equipment and storage medium based on block chain
CN105099944A (en) Data caching method and forwarding device
CN106713495A (en) Uploading method and apparatus, access method and apparatus, and access system of IP geographic position
CN104104597B (en) A kind of data transmission method, Apparatus and system
CN103731376A (en) Method and system for selecting chain aggregation root ports on stacked equipment
CN111756641A (en) Adjusting method of sending equipment and communication device
US9722914B2 (en) Heterogeneous network system, network apparatus, and rendezvous path selection method thereof
CN114679350A (en) SD-WAN-based link selection method, device and storage medium
CN102571581B (en) The method of heavy-route, system and base station controller, equipment of the core network in MOCN network
CN104092627A (en) Bandwidth adjusting method and device
CN105681230A (en) Data processing method and equipment for use in service chain
CN104104601A (en) Data transmission method, device and system
CN101599910A (en) The method and apparatus that message sends
CN105847275A (en) Data transmission channel creating method, system and server
CN106105282A (en) Link buffer zone state is utilized to carry out the system and method for traffic engineering
CN105099802A (en) Traffic identification method, terminal, and network element equipment
CN102265567A (en) subscription service processing method, gateway and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant