CN110311750A - A kind of data transmission method, system and server - Google Patents
A kind of data transmission method, system and server Download PDFInfo
- Publication number
- CN110311750A CN110311750A CN201910335705.1A CN201910335705A CN110311750A CN 110311750 A CN110311750 A CN 110311750A CN 201910335705 A CN201910335705 A CN 201910335705A CN 110311750 A CN110311750 A CN 110311750A
- Authority
- CN
- China
- Prior art keywords
- data packet
- status information
- receiving end
- information
- packet
- 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
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 58
- 238000000034 method Methods 0.000 title claims abstract description 39
- 230000015654 memory Effects 0.000 claims description 18
- 239000012634 fragment Substances 0.000 claims description 12
- 238000011084 recovery Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 8
- 235000013399 edible fruits Nutrition 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 6
- 102000006479 Heterogeneous-Nuclear Ribonucleoproteins Human genes 0.000 description 4
- 108010019372 Heterogeneous-Nuclear Ribonucleoproteins Proteins 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000000151 deposition Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0078—Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/80—Responding to QoS
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of data transmission method, system and servers, wherein the data transmission method applied to transmitting terminal includes: the packet information that transmitting terminal sends the first data packet and first data packet to receiving end;The transmitting terminal obtains the status information of the receiving end;According to the packet information of the status information of the receiving end and the second data packet, judge whether the first data packet loses;First data packet and second data packet are the data packet of successive adjacent transmission;If judging result is to lose, first data packet is restored according to the status information of the receiving end.Technical solution provided by the invention can be restored to lose data in time, improve video fluency and stability.
Description
Technical field
The present invention relates to Internet technical field, in particular to a kind of data transmission method, system and server.
Background technique
With the high speed development of internet, the real-time videos skill such as video conference, cloud video-game, robot and vehicle remote control
Art is also being continuously improved.
In current RTP Transport System for Real-time, transmitting terminal can use transport protocol and estimate average in network path
It is supplied to codec according to transmission rate, and by the discreet value, codec determines coding parameter according to the discreet value, for example,
Frame per second etc., and compressed video data is generated according to determining coding parameter so that the mean bit rate of the compressed video data generated with
The network capacity estimated is close, and the compressed video data of production is sent to receiving end using transport protocol.
Summary of the invention
The application's is designed to provide a kind of data transmission method, system and server, can restore to lose number in time
According to raising video fluency and stability.
To achieve the above object, on the one hand the application provides a kind of data transmission method, and the method is executed by transmitting terminal,
Include:
The packet information of the first data packet and first data packet is sent to receiving end;
Obtain the status information of the receiving end;
According to the packet information of the status information of the receiving end and the second data packet, judge whether the first data packet loses
It loses;First data packet and second data packet are the data packet of successive adjacent transmission;
If judging result is to lose, first data packet is restored according to the status information of the receiving end.
To achieve the above object, on the other hand the application provides a kind of data transmission method, comprising:
Receiving end receives the data packet that transmitting terminal is sent, and obtains the corresponding packet information of the received data packet;
The receiving end updates the status information of the receiving end according to the packet information;
The receiving end is by the status information feedback of the receiving end to the receiving end.
To achieve the above object, on the other hand the application provides a kind of data transmission system, comprising: transmitting terminal and reception
End;Wherein,
The transmitting terminal, for sending the data packet letter of the first data packet and first data packet to the receiving end
Breath, obtains the status information of the receiving end, according to the packet information of the status information of the receiving end and the second data packet,
Judge whether the first data packet loses, if judging result is to lose, restores described first according to the status information of the receiving end
Data packet;The packet information include: the number of frames of the affiliated frame of data packet, fragment index information, source status information and
Target status information;First data packet and second data packet are the data packet of successive adjacent transmission;
The receiving end, the first data packet sent for receiving transmitting terminal obtain the data packet of first data packet
Information, updates the status information of the receiving end according to the packet information of first data packet, and by the receiving end
Status information feedback to the receiving end.
To achieve the above object, on the other hand the application also provides a kind of server, and the server is to send server,
Include:
Data transmission unit, state information acquisition unit, judging unit and data recovery unit;Wherein,
The data transmission unit, for sending the data packet of the first data packet and first data packet to receiving end
Information;The packet information includes: the number of frames of the affiliated frame of data packet, fragment index information, source status information and mesh
Mark status information;
The state information acquisition unit, for obtaining the status information of the receiving end;
The judging unit, for sentencing according to the status information of the receiving end and the packet information of the second data packet
Whether disconnected first data packet loses;First data packet and second data packet are the data packet of successive adjacent transmission;
The data recovery unit, for when the judging result of the judging unit be lose when, according to the receiving end
Status information restore first data packet.
To achieve the above object, on the other hand the application also provides a kind of server, and the server is to receive server,
It include: receiving unit, state updating unit and feedback unit;Wherein,
The receiving unit, the data packet sent for receiving transmitting terminal obtain the corresponding number of the received data packet
According to package informatin;The packet information include: the number of frames of the affiliated frame of data packet, fragment index information, source status information with
And target status information;
The state updating unit, the packet information for being obtained according to the receiving unit update the reception service
The status information of device;
The feedback unit, for by the status information feedback for receiving server to the receiving end.
To achieve the above object, on the other hand the application also provides a kind of server, the server include memory and
Processor, the memory is for storing computer program, when the computer program is executed by the processor, realizes above-mentioned
Method.
Therefore technical solution provided by the present application, it can by each data packet that video sending end is sent to receiving end
To be correspondingly arranged active status information and target status information.For two data packets of adjacent transmission, the mesh of last data packet
Marking status information can be identical with the source status information of latter data packet.It, can basis after receiving end receives last data packet
The corresponding target status information of received last data packet updates the status information of the receiving end, in this way, according to latter data
Before the source status information of packet and the status information of receiving end may determine that whether the newest received data packet in receiving end is described
One data packet.Therefore, using technical solution provided by the present application, it can be quickly determined that and be connect according to the status information of receiving end
Whether receiving end receives the data packet of the newest transmission of transmitting terminal.It, can also be according to the status information side of receiving end if not receiving
Just the data packet for needing to retransmit is determined, so as to quickly restore the data packet lost in time.Therefore, using the number
The fluency and stability of video can be improved according to the video transmission technologies of transmission method.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of flow chart of data transmission method in the embodiment of the present invention;
Fig. 2 is the flow chart of another data transmission method in the embodiment of the present invention;
Fig. 3 is the structural schematic diagram of data transmission system in the embodiment of the present invention;
Fig. 4 is a kind of module diagram that server is sent in the embodiment of the present invention;
Fig. 5 is a kind of module diagram of judging unit in the embodiment of server of the present invention;
Fig. 6 is a kind of module diagram that server is received in the embodiment of the present invention;
Fig. 7 is the structural schematic diagram of server in the embodiment of the present invention;
Fig. 8 is the structural schematic diagram of terminal in the embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
In the prior art, transmitting terminal estimates the average data transfer rate in network path using transport protocol, and should
Discreet value is supplied to codec, so that the mean bit rate for the compressed video data that codec is generated according to the discreet value and pre-
The network capacity estimated is close.However, being estimated since the network condition for being used for transmission compressed video data is all fluctuating all the time
Network capacity has hysteresis quality, therefore, when network condition is poor or suspension reconnection, video requency frame data during real-time video
Situations such as may losing, picture Caton occurs, loses so as to cause real-time video.Therefore, it needs at present a kind of extensive in time
The method of transmitting video data for the video data lost again, to guarantee the fluency and stability of video pictures.
The application provides a kind of data transmission method, and this method can be applied in real time video data transmission service.This
The data transmission method that application provides can be applied to video data transmitting terminal.Referring to Fig. 1, data transmission provided by the present application
Method may comprise steps of.
S11: the packet information of the first data packet and first data packet is sent to receiving end.
Transmitting terminal can send the packet information of the first data packet and first data packet to receiving end.Described
One data packet can be any data packet.
The data of one video frame can be divided into multiple data slots.The multiple data slot can pass through segment
Index information forms a video requency frame data.
It in one embodiment, may include one or more data slots in a data packet.
In one embodiment, the packet information may include: the number of frames of the affiliated frame of data packet, segment rope
Fuse breath, source status information and target status information.
The target status information can be used for characterizing the state after the received data packet of receiving end.Specifically, termination is received
After receiving a data packet, receiving-end state information can be associated with the target status information of the data packet.For example, the mesh of a data packet
Marking status information is " 002 ", and after receiving end receives the data packet, the status information of the receiving end can be " 002 ".
In one embodiment, for two data packets of adjacent transmission, the target status information of last data packet with
The source status information of latter data packet can be identical.
In one embodiment, the source status information and the target status information can be the number of arranged in sequence
Value.For example, it is " 002 ", second data packet that the source status information of first data packet, which can be " 001 ", target status information,
Source status information can be " 002 ", target status information be " 003 ", and so on.
In another embodiment, the source status information in the packet information can dissipating for the packet data
Train value.Target status information in the packet information can be the hashed value of next packet data.
S12: the status information of the receiving end is obtained.
After the transmitting terminal sends first data packet, the status information of the available receiving end.
The transmitting terminal can obtain the status information of the receiving end by Data Transport Protocol.
The target status information for the data packet that the status information of the receiving end can be most recently received with the receiving end
It is associated.Specifically, the target-like for the data packet that the status information of the receiving end can be most recently received with the receiving end
State information is identical.Alternatively, the target for the data packet that the status information of the receiving end can be most recently received with the receiving end
Status information can have corresponding relationship.It is most recently received for example, the status information of the receiving end can be the receiving end
2 times of target status information value of data packet.
S13: according to the packet information of the status information of the receiving end and the second data packet, judge that the first data packet is
No loss.
According to the packet information of the status information of the receiving end and the second data packet, it can be determined that the first data packet is
No loss.Wherein, first data packet can be the data packet with second data packet successively adjacent transmission.
In one embodiment, the data packet of the status information according to the receiving end and the second data packet is believed
Breath, judges whether the first data packet loses, can specifically include: determining that reference state is believed according to the status information of the receiving end
Breath, the i.e. target status information of receiving end received data packet recently;Compare the reference state information and second data
Whether the source status information of packet is consistent;If consistent, determine that the first data packet is not lost;Alternatively, if comparison result be it is inconsistent,
Determine the first data-bag lost.
Due to believing for adjacent two data packet, the target status information of last data packet and the source state of latter data packet
Breath be it is identical, therefore, by judge receiving end recently the target status information of received data packet and with the first data packet phase
Whether the source status information of the second adjacent data packet is consistent, and judge that receiving end is most recently received data packet with can be convenient is
No is the first data packet, if it is not, then the first data-bag lost.
In one embodiment, the status information according to the receiving end determines reference state information, specific to wrap
It includes: the status information of the receiving end is calculated according to the first default computation rule, using the calculated result as reference
Status information.
The first default computation rule can be configured according to actual needs.The first default computation rule can be with
It is determined according to the corresponding relationship of receiving-end state information and date packet target status information.For example, the state of the receiving end
Information can be 2 times of the target status information value for the data packet that the receiving end is most recently received, then can be by receiving end
The result that is obtained divided by 2 of status information as reference state information.
S14: if judging result is to lose, first data packet is restored according to the status information of the receiving end.
When judging result is the first data-bag lost, described first can be restored according to the status information of the receiving end
Data packet.
It can specifically include: according to the reference state information, determining the dbjective state letter of the first data packet to be restored
Breath;According to the target status information of first data packet to be restored, first data packet is obtained;By the of the acquisition
One data packet is sent to the receiving end.Acquisition first data packet may include: to delay from client's end memory
First data packet is obtained in the data packet deposited.
The embodiment of the present application also provides a kind of data transmission method, which can be applied to video data and connect
Receiving end.Referring to Fig. 2, the data transmission method may comprise steps of.
S21: receiving end receives the data packet that transmitting terminal is sent, and obtains the corresponding data packet letter of the received data packet
Breath.
Receiving end can receive the data packet that transmitting terminal is sent.
The receiving end can also obtain the corresponding packet information of the received data packet using Data Transport Protocol.
The packet information may include: the number of frames of the affiliated frame of data packet, fragment index information, source status information
And target status information.
S22: the receiving end updates the status information of the receiving end according to the packet information.
It, can be according to the corresponding packet information update of the data packet after the receiving end receives the data packet
The status information of receiving end.
Specifically, the state letter of the receiving end can be updated according to the target status information in the packet information
Breath.
In one embodiment, the receiving end updates the status information of the receiving end according to the packet information
It may include: using the target status information in the packet information as the status information of the receiving end.
In another embodiment, the receiving end updates the status information of the receiving end according to the packet information
It may include: that the receiving end counts the target status information in the packet information according to the second default computation rule
It calculates, using the calculated result as the status information of the receiving end.The second default computation rule can be with described first
The phase inverse operation each other of default computation rule.Dbjective state by the described second default computation rule, in the packet information
Information and the status information of the receiving end can have corresponding relationship.
By being calculated using the described second default computation rule the target status information in packet information, determine
The status information of receiving end, it is ensured that when the leakage of the status information of receiving end, can not directly obtain in packet information
Target status information, so as to improve transmission data safety.
S23: the receiving end is by the status information feedback of the receiving end to the receiving end.
The receiving end can give the status information feedback of the receiving end to the receiving end, so that the receiving end root
The case where receiving end whether there is the data packet for not receiving transmitting terminal transmission is judged according to the status information, to judge whether to deposit
In loss of data.If loss of data, it is corresponding that the status information of the receiving end feedback is determined for the data packet lost
Packet information, to retransmit the data packet lost, to realize the data packet for restoring to lose in time.
The embodiment of the present application also provides a kind of data transmission system.Referring to Fig. 3, the data system include transmitting terminal and
Receiving end.
The transmitting terminal can be used for sending the data of the first data packet and first data packet to the receiving end
Package informatin obtains the status information of the receiving end, according to the data packet of the status information of the receiving end and the second data packet
Information, judges whether the first data packet loses, if judging result is to lose, according to the recovery of the status information of the receiving end
First data packet.
The packet information may include: the number of frames of the affiliated frame of data packet, fragment index information, source status information
And target status information.
First data packet and second data packet can be the data packet of successive adjacent transmission.First data
Wrapping corresponding target status information source status information corresponding with second data packet can be identical.
The receiving end can be used for receiving the first data packet that transmitting terminal is sent, and obtain the number of first data packet
According to package informatin, the status information of the receiving end is updated according to the packet information of first data packet, and is connect described
The status information feedback of receiving end is to the receiving end.
The embodiment of the present application also provides a kind of server, and the server can be transmission server.Referring to Fig. 4, institute
Stating and sending server may include: data transmission unit, state information acquisition unit, judging unit and data recovery unit.Its
In,
The data transmission unit can be used for sending the number of the first data packet and first data packet to receiving end
According to package informatin.The packet information may include: the number of frames of the affiliated frame of data packet, fragment index information, source state letter
Breath and target status information.
The state information acquisition unit, can be used for obtaining the status information of the receiving end.
The judging unit can be used for being believed according to the status information of the receiving end and the data packet of the second data packet
Breath, judges whether the first data packet loses.First data packet and second data packet can be successive adjacent transmission
Data packet.The corresponding target status information of first data packet source status information corresponding with second data packet can phase
Together.
The data recovery unit can be used for being connect when the judging result of the judging unit is loses according to described
The status information of receiving end restores first data packet.
Specifically, the data recovery unit can determine the first data to be restored according to the reference state information
The target status information of packet;According to the target status information of first data packet to be restored, out of described transmission server
It deposits and obtains first data packet in the data packet of caching, so that the data transmission unit is by the first data of the acquisition
Packet is sent to the receiving end.
Refering to Fig. 5, in one embodiment, the judging unit may include: that reference state determines subelement, compares
Subelement and judging result subelement.Wherein,
The reference state determines subelement, can be used for determining that reference state is believed according to the status information of the receiving end
Breath.The target status information of received data packet is associated recently with the receiving end for the reference state information.
The comparing subunit, the source state that can be used for reference state information described in comparison and second data packet are believed
It whether consistent ceases.
The judging result subelement can be used for determining the when the comparison result of the comparing subunit is consistent
One data packet is not lost;Alternatively, can be used for determining the first data when the comparison result of the comparing subunit is inconsistent
Packet loss.
The embodiment of the present application also provides a kind of server, and the server can be reception server.Referring to Fig. 6, institute
Stating and receiving server may include: receiving unit, state updating unit and feedback unit.Wherein, the receiving unit, Ke Yiyong
In the data packet that reception transmitting terminal is sent, the corresponding packet information of the received data packet is obtained.The packet information
It may include: number of frames, fragment index information, source status information and the target status information of the affiliated frame of data packet.For
Two data packets of adjacent transmission, the target status information of last data packet and the source status information of latter data packet can phases
Together.
The state updating unit can be used for updating the reception according to the packet information that the receiving unit obtains
The status information of server.Specifically, the state updating unit can be by the target status information in the packet information
Status information as the receiving end;Alternatively, the state updating unit can be by the target-like in the packet information
State information is calculated according to the second default computation rule, using the calculated result as the status information of the receiving end.
The feedback unit can be used for the status information feedback for receiving server to the receiving end.
Refering to Fig. 7, the application also provides a kind of server, and the server includes memory and processor, the storage
Above method embodiment may be implemented when the computer program is executed by the processor for storing computer program in device
In data transmission method.
Referring to Fig. 8, in this application, the technical solution in above-described embodiment can be applied to calculating as shown in Figure 8
In machine terminal 10.Terminal 10 may include one or more (one is only shown in figure) (processors 102 of processor 102
Can include but is not limited to the processing unit of Micro-processor MCV or programmable logic device FPGA etc.), depositing for storing data
Reservoir 104 and transmission module 106 for communication function.It will appreciated by the skilled person that knot shown in Fig. 8
Structure is only to illustrate, and does not cause to limit to the structure of above-mentioned electronic device.For example, terminal 10, which may also include, compares Fig. 8
Shown in more perhaps less component or with the configuration different from shown in Fig. 8.
Memory 104 can be used for storing the software program and module of application software, and processor 102 is stored in by operation
Software program and module in memory 104, thereby executing various function application and data processing.Memory 104 can wrap
Include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory or
Other non-volatile solid state memories.In some instances, memory 104 can further comprise long-range relative to processor 102
The memory of setting, these remote memories can pass through network connection to terminal 10.The example of above-mentioned network includes
But be not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Specifically, in this application, the dispositions method of above-mentioned server can be used as computer program be stored in it is above-mentioned
Memory 104 in, the memory 104 can be coupled with processor 102, then when processor 102 executes the memory
When computer program in 104, each step in the dispositions method of above-mentioned server can be realized.
Transmitting device 106 is used to that data to be received or sent via a network.Above-mentioned network specific example may include
The wireless network that the communication providers of terminal 10 provide.In an example, transmitting device 106 includes that a network is suitable
Orchestration (Network Interface Controller, NIC), can be connected by base station with other network equipments so as to
Internet is communicated.In an example, transmitting device 106 can be radio frequency (Radio Frequency, RF) module,
For wirelessly being communicated with internet.
Therefore technical solution provided by the present application, it can by each data packet that video sending end is sent to receiving end
To be correspondingly arranged active status information and target status information.For two data packets of adjacent transmission, the mesh of last data packet
Marking status information can be identical with the source status information of latter data packet.It, can basis after receiving end receives last data packet
The corresponding target status information of received data packet updates the status information of the receiving end, in this way, according to latter data packet
Source status information and the status information of receiving end may determine that whether the newest received data packet in receiving end is the previous number
According to packet.Therefore, using technical solution provided by the present application, it can be quickly determined that and be connect according to the status information of receiving end
Whether receiving end receives the data packet of the newest transmission of transmitting terminal.It, can also be according to the status information side of receiving end if not receiving
Just the data packet for needing to retransmit is determined, so as to quickly restore the data packet lost in time.Therefore, using the number
The fluency and stability of video can be improved according to the video transmission technologies of transmission method.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It realizes by means of software and necessary general hardware platform, naturally it is also possible to be realized by hardware.Based on such
Understand, substantially the part that contributes to existing technology can embody above-mentioned technical proposal in the form of software products in other words
Out, which may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, packet
Some instructions are included to use so that a computer equipment (can be personal computer, server or the network equipment etc.) executes
Method described in certain parts of each embodiment or embodiment.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (15)
1. a kind of data transmission method, which is characterized in that the method is executed by transmitting terminal, comprising:
The packet information of the first data packet and first data packet is sent to receiving end;
Obtain the status information of the receiving end;
According to the packet information of the status information of the receiving end and the second data packet, judge whether the first data packet loses;
First data packet and second data packet are the data packet of successive adjacent transmission;
If judging result is to lose, first data packet is restored according to the status information of the receiving end.
2. the method according to claim 1, wherein the packet information includes: the frame of the affiliated frame of data packet
Sequence number, fragment index information, source status information and target status information.
3. according to the method described in claim 2, it is characterized in that, two data packets for adjacent transmission, last data packet
Target status information it is identical as the source status information of latter data packet.
4. according to the method described in claim 3, it is characterized in that, the status information according to the receiving end and the second number
According to the packet information of packet, judge whether the first data packet loses, comprising:
Reference state information is determined according to the status information of the receiving end;
It is whether consistent with the source status information of second data packet to compare the reference state information;
If consistent, determine that the first data packet is not lost;Alternatively, if comparison result be it is inconsistent, determine the first data-bag lost.
5. according to the method described in claim 4, it is characterized in that, described determined according to the status information of the receiving end refers to
Status information, comprising: the status information of the receiving end is calculated according to the first default computation rule, the calculating is tied
Fruit is as reference state information.
6. according to the method described in claim 4, it is characterized in that, described according to the recovery of the status information of the receiving end
First data packet, comprising:
According to the reference state information, the target status information of the first data packet to be restored is determined;
According to the target status information of first data packet to be restored, first data packet is obtained;
First data packet of the acquisition is sent to the receiving end.
7. a kind of data transmission method characterized by comprising
Receiving end receives the data packet that transmitting terminal is sent, and obtains the corresponding packet information of the received data packet;
The receiving end updates the status information of the receiving end according to the packet information;
The receiving end is by the status information feedback of the receiving end to the receiving end.
8. the method according to the description of claim 7 is characterized in that described obtain the corresponding data packet of the received data packet
Information, comprising: obtain the corresponding packet information of the received data packet using Data Transport Protocol.
9. the method according to the description of claim 7 is characterized in that the packet information includes: the frame of the affiliated frame of data packet
Sequence number, fragment index information, source status information and target status information.
10. according to the method described in claim 9, it is characterized in that, the receiving end updates institute according to the packet information
The status information for stating receiving end includes: that the receiving end presets the target status information in the packet information according to second
Computation rule is calculated, using the calculated result as the status information of the receiving end.
11. a kind of data transmission system characterized by comprising transmitting terminal and receiving end;Wherein,
The transmitting terminal, for sending the packet information of the first data packet and first data packet to the receiving end,
The status information for obtaining the receiving end is sentenced according to the packet information of the status information of the receiving end and the second data packet
Whether disconnected first data packet loses, if judging result is to lose, restores first number according to the status information of the receiving end
According to packet;The packet information includes: the number of frames of the affiliated frame of data packet, fragment index information, source status information and mesh
Mark status information;First data packet and second data packet are the data packet of successive adjacent transmission;
The receiving end, the first data packet sent for receiving transmitting terminal obtain the packet information of first data packet,
Update the status information of the receiving end according to the packet information of first data packet, and by the state of the receiving end
Information feeds back to the receiving end.
12. a kind of server, which is characterized in that the server is to send server, comprising: data transmission unit, state letter
Cease acquiring unit, judging unit and data recovery unit;Wherein,
The data transmission unit, for sending the data packet letter of the first data packet and first data packet to receiving end
Breath;The packet information includes: the number of frames of the affiliated frame of data packet, fragment index information, source status information and target
Status information;
The state information acquisition unit, for obtaining the status information of the receiving end;
The judging unit judges for the packet information according to the status information of the receiving end and the second data packet
Whether one data packet loses;First data packet and second data packet are the data packet of successive adjacent transmission;
The data recovery unit, for when the judging result of the judging unit be lose when, according to the shape of the receiving end
First data packet described in state Information recovering.
13. server according to claim 12, which is characterized in that the judging unit includes: that reference state determines son
Unit, comparing subunit and judging result subelement;Wherein,
The reference state determines subelement, for determining reference state information according to the status information of the receiving end;
The comparing subunit, for the reference state information and second data packet source status information whether one
It causes;
The judging result subelement, for determining the first data packet when the comparison result of the comparing subunit is consistent
It does not lose;Alternatively, determining the first data-bag lost when the comparison result of the comparing subunit is inconsistent.
14. a kind of server, which is characterized in that the server is to receive server, comprising: receiving unit, state update single
Member and feedback unit;Wherein,
The receiving unit, the data packet sent for receiving transmitting terminal obtain the corresponding data packet of the received data packet
Information;The packet information includes: the number of frames of the affiliated frame of data packet, fragment index information, source status information and mesh
Mark status information;
The state updating unit, the packet information for being obtained according to the receiving unit update the reception server
Status information;
The feedback unit, for by the status information feedback for receiving server to the receiving end.
15. a kind of server, which is characterized in that the server includes memory and processor, and the memory is for storing
Computer program when the computer program is executed by the processor, is realized such as any claim in claims 1 to 10
The method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910335705.1A CN110311750B (en) | 2019-04-24 | 2019-04-24 | Data transmission method, system and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910335705.1A CN110311750B (en) | 2019-04-24 | 2019-04-24 | Data transmission method, system and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110311750A true CN110311750A (en) | 2019-10-08 |
CN110311750B CN110311750B (en) | 2022-02-22 |
Family
ID=68074506
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910335705.1A Expired - Fee Related CN110311750B (en) | 2019-04-24 | 2019-04-24 | Data transmission method, system and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110311750B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8542593B1 (en) * | 2010-03-19 | 2013-09-24 | Vucast Media, Inc. | System and methods for error tolerant content delivery over multicast channels |
CN104135488A (en) * | 2014-08-13 | 2014-11-05 | 上海申腾信息技术有限公司 | Remote medical system related data transmission system and method and applications thereof |
CN104168284A (en) * | 2014-08-25 | 2014-11-26 | 联想(北京)有限公司 | Data transmission method and first electronic equipment |
CN106982108A (en) * | 2016-01-18 | 2017-07-25 | 华为技术有限公司 | The method and relevant device of a kind of data transfer |
CN109714392A (en) * | 2018-11-26 | 2019-05-03 | 聚好看科技股份有限公司 | Across the computer room method of data synchronization of one kind and device |
CN110312150A (en) * | 2019-04-24 | 2019-10-08 | 网宿科技股份有限公司 | A kind of video frame transmission method, system and server |
-
2019
- 2019-04-24 CN CN201910335705.1A patent/CN110311750B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8542593B1 (en) * | 2010-03-19 | 2013-09-24 | Vucast Media, Inc. | System and methods for error tolerant content delivery over multicast channels |
CN104135488A (en) * | 2014-08-13 | 2014-11-05 | 上海申腾信息技术有限公司 | Remote medical system related data transmission system and method and applications thereof |
CN104168284A (en) * | 2014-08-25 | 2014-11-26 | 联想(北京)有限公司 | Data transmission method and first electronic equipment |
CN106982108A (en) * | 2016-01-18 | 2017-07-25 | 华为技术有限公司 | The method and relevant device of a kind of data transfer |
CN109714392A (en) * | 2018-11-26 | 2019-05-03 | 聚好看科技股份有限公司 | Across the computer room method of data synchronization of one kind and device |
CN110312150A (en) * | 2019-04-24 | 2019-10-08 | 网宿科技股份有限公司 | A kind of video frame transmission method, system and server |
Non-Patent Citations (2)
Title |
---|
ALLEN: "《6-TCP 协议(序号和确认号)》", 《CSDN》 * |
我家小狗迷路了: "《[计算机网络] TCP报文段中的序号和确认号》", 《CSDN》 * |
Also Published As
Publication number | Publication date |
---|---|
CN110311750B (en) | 2022-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11876711B2 (en) | Packet transmission system and method | |
JP4805081B2 (en) | Wireless relay device, wireless relay method, and wireless relay program | |
US10425339B2 (en) | Multi-homed load-balanced rate-based tunnels | |
CN113271316B (en) | Multimedia data transmission control method and device, storage medium and electronic equipment | |
CN107864228A (en) | Connection method for building up and system in a kind of content distributing network | |
CN109906631B (en) | Adaptive transmission method and device | |
US20220294727A1 (en) | Systems and methods for managing data packet communications | |
CN106612284A (en) | Streaming data transport method and streaming data transport device | |
CN112436924B (en) | Data transmission method and electronic equipment | |
CN108965775A (en) | Method of adjustment, device and the storage medium of data packetloss processing strategie | |
CN105745864A (en) | Method and apparatus for managing specific resource in wireless communication system | |
US10536503B2 (en) | Processing of a request for data delivery from a server to a client via a telecommunication network | |
EP3791548B1 (en) | Multi-path user datagram protocol | |
EP4022857A1 (en) | Managing transmission control protocol (tcp) traffic | |
WO2022017529A1 (en) | Data transmission method and system, electronic device, and storage medium | |
CN110312150A (en) | A kind of video frame transmission method, system and server | |
CN115002023A (en) | Link aggregation method, link aggregation device, electronic equipment and storage medium | |
CN110808917B (en) | Multilink aggregation data retransmission method and transmitting equipment | |
JP2017055336A (en) | Data communication control method for performing communication with high reliability on lfn transmission path having load fluctuation and packet transmission loss | |
CN112118594A (en) | Data uploading method, data downloading method, electronic equipment and storage medium | |
CN116455532A (en) | Reliable data transmission method, device, equipment and electronic medium | |
CN110311750A (en) | A kind of data transmission method, system and server | |
Ahlgren et al. | ICN congestion control for wireless links | |
Yavas et al. | Strict prioritization of new requests over retransmissions for enhancing scalability of SIP servers | |
CN115865903B (en) | File transmission control system and method based on double channels |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20220222 |
|
CF01 | Termination of patent right due to non-payment of annual fee |