CN111698510A - Data processing method and device and electronic equipment - Google Patents

Data processing method and device and electronic equipment Download PDF

Info

Publication number
CN111698510A
CN111698510A CN202010444202.0A CN202010444202A CN111698510A CN 111698510 A CN111698510 A CN 111698510A CN 202010444202 A CN202010444202 A CN 202010444202A CN 111698510 A CN111698510 A CN 111698510A
Authority
CN
China
Prior art keywords
data packet
data
overtime
timeout
determining
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.)
Pending
Application number
CN202010444202.0A
Other languages
Chinese (zh)
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.)
Beijing Dami Technology Co Ltd
Original Assignee
Beijing Dami Technology 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 Beijing Dami Technology Co Ltd filed Critical Beijing Dami Technology Co Ltd
Priority to CN202010444202.0A priority Critical patent/CN111698510A/en
Publication of CN111698510A publication Critical patent/CN111698510A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/184Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being bits, e.g. of the compressed video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/637Control signals issued by the client directed to the server or network components
    • H04N21/6375Control signals issued by the client directed to the server or network components for requesting retransmission, e.g. of data packets lost or corrupted during transmission from server

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Communication Control (AREA)

Abstract

The invention provides a data processing method, a data processing device and electronic equipment, wherein the data processing method comprises the following steps: determining at least one data packet in a transmission queue; transmitting the at least one data packet; determining the data packet which does not receive the confirmation information within the overtime duration as an overtime data packet; and retransmitting the overtime data packet after the overtime duration is ended. In this way, the reliability of data transmission can be improved.

Description

Data processing method and device and electronic equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a data processing method and apparatus, and an electronic device.
Background
With the development of internet application, teleconferencing and online teaching are more and more widely used in daily life of people, and audio and video are required to be played in the using process of teleconferencing and online teaching, so that audio and video data transmission is involved.
In the prior art, in the data Transmission process, a connection is established through a Transmission Control Protocol (TCP) to transmit data, but the TCP has a high requirement on a link and a high cost; therefore, in a large-scale data transmission scenario, for example, in audio and video data transmission, a User Datagram Protocol (UDP) is usually adopted, and a UDP manner is adopted to save network cost, but since the UDP implements data transmission based on a packet sending manner, transmission is unreliable, and data loss and other problems exist, so that User experience is reduced.
Disclosure of Invention
The invention provides a data processing method, a data processing device and electronic equipment, which can improve the reliability of data transmission.
According to a first aspect of the embodiments of the present invention, there is provided a data processing method, including: determining at least one data packet in a transmission queue; transmitting the at least one data packet; determining the data packet which does not receive the confirmation information within the overtime duration as an overtime data packet; and after the timeout duration is over, the timeout data packet is retransmitted.
In one embodiment, the method further comprises: and determining and updating the timeout duration according to the network delay.
In one embodiment, the method further comprises: the method further comprises the following steps: determining the at least one data packet in a queue to be sent; moving the at least one data packet to the transmit queue.
In one embodiment, the data packet header includes a timestamp and a sequence number, wherein the timestamp is the generation time of the data packet, and the sequence number is the sequencing sequence number when the data packet is generated.
In one embodiment, the method further comprises: determining the data packets receiving the determination information in the timeout duration as non-timeout data packets, and determining the maximum number of the data packets to be sent next time according to the confirmation information of the non-timeout data packets, wherein the confirmation information includes the maximum number of the data packets which can be received in a receiving queue of a receiving end.
In one embodiment, the method further comprises: responding to the acknowledgement information of the non-overtime data packet received in the overtime time length, not receiving the acknowledgement information of the data packet sent before the non-overtime data packet, and resending the data packet sent before the non-overtime data packet in the overtime time length.
In one embodiment, the method further comprises: the data packet includes redundant information, wherein the redundant information is used for a receiving end to recover a lost data packet.
According to a second aspect of the embodiments of the present invention, there is provided an apparatus for data processing, including: a determining unit, configured to determine at least one data packet in a transmission queue; a transmitting unit, configured to transmit the at least one data packet; the determining unit is further configured to determine the data packet for which the acknowledgment information is not received within the timeout duration as an timeout data packet; the sending unit is further configured to resend the timeout data packet after the timeout duration ends.
According to a third aspect of embodiments of the present invention, there is provided an electronic device comprising a memory and a processor, the memory being configured to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method according to the first aspect or any possibility of the first aspect.
According to a fourth aspect of embodiments of the present invention, there is provided a computer-readable storage medium on which computer program instructions are stored, wherein the computer program instructions, when executed by a processor, implement the method according to the first aspect or any possibility of the first aspect.
The beneficial effects of the embodiment of the invention comprise: firstly, determining at least one data packet in a transmission queue, then transmitting the at least one data packet, and determining the data packet which does not receive the confirmation information within the overtime duration as an overtime data packet; and retransmitting the overtime data packet after the overtime duration is ended. By the method, when the confirmation information of the overtime data packet is not received within the overtime duration, the receiving end probably does not receive the overtime data packet, and the sending end resends the overtime data packet, so that the reliability of data transmission can be improved, the data loss is reduced, and the user experience is improved.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent from the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
FIG. 1 is a flow chart of a method for processing data according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a data structure of a sending end according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a data structure of a sending end according to an embodiment of the present invention;
FIG. 4 is a flow chart of a method for processing data according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a receiving end data structure according to an embodiment of the present invention;
FIG. 6 is a flow chart of a method for processing data according to an embodiment of the present invention;
FIG. 7 is a diagram of an apparatus for data processing according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The present disclosure is described below based on examples, but the present disclosure is not limited to only these examples. In the following detailed description of the present disclosure, certain specific details are set forth. It will be apparent to those skilled in the art that the present disclosure may be practiced without these specific details. Well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the present disclosure.
Further, those of ordinary skill in the art will appreciate that the drawings provided herein are for illustrative purposes and are not necessarily drawn to scale.
Unless the context clearly requires otherwise, throughout this specification, the words "comprise", "comprising", and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is, what is meant is "including, but not limited to".
In the description of the present disclosure, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present disclosure, "a plurality" means two or more unless otherwise specified.
According to one or more embodiments, a method of data processing is provided, determining at least one data packet in a transmission queue; transmitting the at least one data packet; determining the data packet which does not receive the confirmation information within the overtime duration as an overtime data packet; and retransmitting the overtime data packet after the overtime duration is ended. In one or more embodiments, a method flow for data processing is shown in FIG. 1, but the example of FIG. 1 is not to be construed as a specific limitation on the embodiments.
Step S100, determining at least one data packet in the transmission queue.
According to one or more embodiments, a sending end confirms at least one data packet in a sending queue, the data structure diagram of the sending end is shown in fig. 2, and the sending end confirms a data packet 6, a data packet 7 and a data packet 8 in the sending queue.
According to one or more embodiments, the data packet header includes a timestamp and a sequence number, specifically, the timestamp is the generation time of the data packet, the sequence number is a sorting sequence number when the data packet is generated, and after a receiving end can receive the data packet, the data packet can be sorted according to the timestamp and/or the sequence number.
And step S101, transmitting the at least one data packet.
According to one or more embodiments, the data packet 6, the data packet 7, and the data packet 8 are sent to a receiving end in a UDP manner.
And step S102, determining the data packet which does not receive the confirmation information within the overtime length as an overtime data packet.
According to one or more embodiments, after receiving a data packet sent by a sending end, a receiving end feeds back acknowledgement information to the sending end, and if the receiving end does not receive the acknowledgement information within a preset timeout duration, it indicates that the receiving end may not receive the timeout data packet.
According to one or more embodiments, as shown in fig. 2, the data packet 6, the data packet 7, and the data packet 8 are sent by the sending end, where the data packet 7 and the data packet 8 receive the acknowledgement information within the timeout period, but the data packet 6 is determined to be an overtime data packet for receiving the acknowledgement information of the data packet 6 within the timeout period.
And step S103, retransmitting the overtime data packet after the overtime duration is ended.
In accordance with one or more embodiments, the data packet 6 is retransmitted, as shown in particular in fig. 3.
According to one or more embodiments, before step S100, the method further comprises: and determining and updating the timeout duration according to the network delay, wherein the timeout duration is more than the round-trip time of one data packet.
According to one or more embodiments, before step S100, the method further comprises: determining the at least one data packet in a queue to be sent; moving the at least one data packet to the transmit queue.
According to one or more embodiments, as shown in fig. 2, the queue to be sent includes a data packet 9, a data packet 10, a data packet 11, a data packet 12, a data packet 13, a data packet 14, and a data packet 15, the data packet 9, the data packet 10, and the data packet 11 in the queue to be sent are determined, and the data packet 9, the data packet 10, and the data packet 11 are sent to the queue to be sent.
In accordance with one or more embodiments, the method further comprises: determining the data packets receiving the determination information in the timeout duration as non-timeout data packets, and determining the maximum number of the data packets to be sent next time according to the confirmation information of the non-timeout data packets, wherein the confirmation information includes the maximum number of the data packets which can be received in a receiving queue of a receiving end.
According to one or more embodiments, the acknowledgement information includes the maximum number of data packets that can be received in the receiving queue of the receiving end, and the transmitting end can transmit the data packets with the maximum data volume at one time according to the maximum number of data packets that can be received by the receiving end, thereby improving the transmission efficiency of the data packets.
In accordance with one or more embodiments, the method further comprises: responding to the acknowledgement information of the non-overtime data packet received in the overtime time length, not receiving the acknowledgement information of the data packet sent before the non-overtime data packet, and resending the data packet sent before the non-overtime data packet in the overtime time length.
According to one or more embodiments, assuming that the data packet 6, the data packet 7, and the data packet 8 are sent at one time as shown in fig. 2, the sending end receives the acknowledgement information of the data packet 7 and the data packet 8 within the timeout period, does not receive the acknowledgement information of the data packet 6, and directly resends the data packet 6 without waiting for the end of the timeout period.
According to one or more embodiments, the data packet includes redundant information, wherein the redundant information is used for a receiving end to recover a lost data packet.
According to one or more embodiments, the data packet 6, the data packet 7, and the data packet 8 are sent at one time, the sending end receives the acknowledgement information of the data packet 7 and the data packet 8 within the timeout duration, and does not receive the acknowledgement information of the data packet 6, the sending end resends the data packet 6, assuming that the data packet 6 is resent 5 times, but the acknowledgement information of the data packet 6 is received all the time, that is, the receiving end does not receive the data packet 6 within a certain time, and the data packet 6 can be recovered through the redundant information in the data packet 7 and the data packet 8, which is merely an exemplary description, and the specific data packet recovery is determined according to an actual situation.
According to one or more embodiments, a method flow of data processing is shown in fig. 4, but the example of fig. 4 is not to be construed as a specific limitation on the embodiments, and fig. 4 is a method flow of receiving-end data processing.
Step S400, receiving at least one data packet.
In accordance with one or more embodiments, as shown in fig. 5, a receiving end receives a data packet 9, a data packet 11, a data packet 12, a data packet 13, and a data packet 14.
Step S401, generating at least one piece of confirmation information according to the at least one data packet.
In accordance with one or more embodiments, acknowledgement information for data packet 9, data packet 11, data packet 12, data packet 13, and data packet 14, respectively, is generated.
Step S402, sending the at least one piece of confirmation information.
In accordance with one or more embodiments, acknowledgement information for data packet 9, data packet 11, data packet 12, data packet 13, and data packet 14 are transmitted, respectively.
Step S403, sorting the at least one data packet in the queue to be received.
According to one or more embodiments, the received data packets 9, 11, 12, 13 and 14 are sorted in the queue to be received, and redundant data packets are discarded.
Step S404, moving at least one data packet sequenced at the top end in the queue to be received to a receiving queue.
According to one or more embodiments, the receiving queue receives the vacant sliding window data, that is, the maximum number of receivable data packets, specifically, as shown in fig. 5, which is three vacant sliding windows in the receiving queue, that is, the maximum number of receivable data packets is 3, the information is sent to the sending end through the acknowledgement information, and the sending end can send 3 data packets to the receiving end at a time, where the maximum data may be adjusted according to a specific use condition, and the embodiment of the present invention does not limit the maximum number of receivable data packets.
According to one or more embodiments, after step S402, the method further comprises: receiving at least one data packet, wherein the data packet is a data packet retransmitted by a transmitting end.
In accordance with one or more embodiments, the receiving end device includes, but is not limited to: personal Computers (PCs), tablet computers, handheld devices (e.g., smart phones, palm top computers), in-vehicle devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and the like. The receiving end devices may be called different names in different networks, for example: user equipment, access terminal, subscriber unit, subscriber station, mobile station, remote terminal, mobile device, user terminal, wireless communication device, user agent or user equipment, cellular telephone, cordless telephone, Personal Digital Assistant (PDA), terminal equipment in a 5G network or future evolution network, etc., without limitation to the type of receiving end equipment used herein.
In one or more embodiments, the interaction flow between the sending end and the receiving end is shown in fig. 6, and for convenience of drawing, fig. 6 only shows the interaction flow between one sending end and one receiving end, but the example in fig. 6 is not to be construed as a specific limitation to the embodiments. In one or more embodiments, a system may include multiple senders, multiple receivers.
Step S600, the transmitting end determines to transmit at least one data packet in the queue.
In one or more embodiments, the sender acknowledges packet 6, packet 7, and data 8 in the send queue.
Step S601, the sending end sends the at least one data packet.
In one or more embodiments, the sender sends the data packet 6, the data packet 7, and the data 8.
Step S602, the receiving end receives the at least one data packet.
In one or more embodiments, it is assumed that the receiving end receives data packet 7 and data packet 8.
Step S603, the receiving end generates at least one first acknowledgement message according to the at least one data packet.
In one or more embodiments, the receiving end generates two first acknowledgement messages according to the data packet 7 and the data packet 8, respectively.
Step S604, the receiving end sends the at least one first acknowledgement information.
In one or more embodiments, the receiving end sends two first acknowledgements corresponding to the data packets 7 and 8.
Step S605, the sending end receives the at least one first acknowledgement information.
Step S606, the sending end determines the data packet that does not receive the first acknowledgement information within the timeout duration as a timeout data packet.
Step S607, the sending end retransmits the timeout data packet after the timeout duration is over.
In one or more embodiments, the sending end does not receive the acknowledgement information of the data packet 6 within the timeout period, only receives the first acknowledgement information corresponding to the data packets 7 and 8, and retransmits the data packet 6 after receiving the timeout period.
Step S608, the receiving end receives the timeout data packet.
In one or more embodiments, the receiving end receives a data packet 6.
Step S609, the receiving end generates second confirmation information according to the timeout data packet.
In one or more embodiments, the receiving end generates acknowledgement information from the data packet 6.
Step S610, the receiving end sends the second acknowledgement information corresponding to the timeout data packet.
In one or more embodiments, the receiving end sends the second acknowledgement information corresponding to the data packet 6.
Step S611, the sending end receives the second acknowledgement information.
In one or more embodiments, the receiving end receives the second acknowledgement information corresponding to the data packet 6.
Fig. 7 is a schematic diagram of a data processing apparatus provided in an embodiment of the present invention, that is, a sending end, including: a determining unit 71 and a sending unit 72, wherein the determining unit 71 is configured to determine at least one data packet in a sending queue; a transmitting unit 72, configured to transmit the at least one data packet; the determining unit 71 is further configured to determine the data packet for which no acknowledgement information is received within the timeout duration as an overtime data packet; the sending unit 72 is further configured to resend the timeout data packet after the timeout duration is ended.
In one or more embodiments, the apparatus further comprises: and the updating unit is used for determining and updating the timeout duration according to the network delay.
In one or more embodiments, the determining unit is further configured to: determining the at least one data packet in a queue to be sent; the sending unit is further configured to: moving the at least one data packet to the transmit queue.
In one or more embodiments, the packet header includes a timestamp and a sequence number, where the timestamp is a generation time of the packet, and the sequence number is a sequence number of the packet when the packet is generated.
In one or more embodiments, the validation unit is further configured to: determining the data packets receiving the determination information in the timeout duration as non-timeout data packets, and determining the maximum number of the data packets to be sent next time according to the confirmation information of the non-timeout data packets, wherein the confirmation information includes the maximum number of the data packets which can be received in a receiving queue of a receiving end.
In one or more embodiments, the validation unit is further configured to: responding to the acknowledgement information of the non-overtime data packet received in the overtime time length, not receiving the acknowledgement information of the data packet sent before the non-overtime data packet, and resending the data packet sent before the non-overtime data packet in the overtime time length.
In one or more embodiments, the data packet includes redundancy information, wherein the redundancy information is used by a receiving end to recover a lost data packet.
In one or more embodiments, the data packet is encoded according to a Forward Error Correction (FEC) mechanism to generate a supervisory code, and the supervisory code is transmitted as redundant information to the receiving end simultaneously with the data in the data packet.
In one or more embodiments, the redundancy information corresponding to each data packet may also be stored in a data packet before or after the data packet for transmission, which is not limited in the embodiments of the present invention.
Fig. 8 is a schematic diagram of an electronic device of an embodiment of the invention. The electronic device shown in fig. 8 is a general data transmission device comprising a general computer hardware structure, which comprises at least a processor 81 and a memory 82. The processor 81 and the memory 82 are connected by a bus 83. The memory 82 is adapted to store instructions or programs executable by the processor 81. Processor 81 may be a stand-alone microprocessor or a collection of one or more microprocessors. Thus, the processor 81 implements the processing of data and the control of other devices by executing instructions stored by the memory 82 to perform the method flows of embodiments of the present invention as described above. The bus 83 connects the above components together, and also connects the above components to a display controller 84 and a display device and an input/output (I/O) device 85. Input/output (I/O) devices 85 may be a mouse, keyboard, modem, network interface, touch input device, motion sensing input device, printer, and other devices known in the art. Typically, the input/output devices 85 are coupled to the system through an input/output (I/O) controller 86.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, various aspects of embodiments of the invention may take the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a "circuit," module "or" system. Furthermore, various aspects of embodiments of the invention may take the form of: a computer program product embodied in one or more computer readable media having computer readable program code embodied thereon.
Any combination of one or more computer-readable media may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of embodiments of the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to: electromagnetic, optical, or any suitable combination thereof. The computer readable signal medium may be any of the following computer readable media: is not a computer readable storage medium and may communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of embodiments of the present invention may be written in any combination of one or more programming languages, including: object oriented programming languages such as Java, Smalltalk, C + +, and the like; and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package; executing in part on a user computer and in part on a remote computer; or entirely on a remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention described above describe various aspects of embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method of data processing, comprising:
determining at least one data packet in a transmission queue;
transmitting the at least one data packet;
determining the data packet which does not receive the confirmation information within the overtime duration as an overtime data packet;
and retransmitting the overtime data packet after the overtime duration is ended.
2. The method of claim 1, wherein the method further comprises:
and determining and updating the timeout duration according to the network delay.
3. The method of claim 1, wherein the method further comprises:
determining the at least one data packet in a queue to be sent;
moving the at least one data packet to the transmit queue.
4. The method of claim 1, wherein the packet header comprises a timestamp and a sequence number, wherein the timestamp is a generation time of the packet and the sequence number is an ordered sequence number when the packet was generated.
5. The method of claim 1, further comprising:
determining the data packets receiving the determination information in the timeout duration as non-timeout data packets, and determining the maximum number of the data packets to be sent next time according to the confirmation information of the non-timeout data packets, wherein the confirmation information includes the maximum number of the data packets which can be received in a receiving queue of a receiving end.
6. The method of claim 5, further comprising:
responding to the acknowledgement information of the non-overtime data packet received in the overtime time length, not receiving the acknowledgement information of the data packet sent before the non-overtime data packet, and resending the data packet sent before the non-overtime data packet in the overtime time length.
7. The method of claim 1, wherein the data packet comprises redundant information, wherein the redundant information is used for a receiving end to recover a lost data packet.
8. An apparatus for data processing, comprising:
a determining unit, configured to determine at least one data packet in a transmission queue;
a transmitting unit, configured to transmit the at least one data packet;
the determining unit is further configured to determine the data packet for which the acknowledgment information is not received within the timeout duration as an timeout data packet;
the sending unit is further configured to resend the timeout data packet after the timeout duration ends.
9. An electronic device comprising a memory and a processor, wherein the memory is configured to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method of any of claims 1-7.
10. A computer-readable storage medium on which computer program instructions are stored, which computer program instructions, when executed by a processor, implement the method of any one of claims 1-7.
CN202010444202.0A 2020-05-22 2020-05-22 Data processing method and device and electronic equipment Pending CN111698510A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010444202.0A CN111698510A (en) 2020-05-22 2020-05-22 Data processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010444202.0A CN111698510A (en) 2020-05-22 2020-05-22 Data processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN111698510A true CN111698510A (en) 2020-09-22

Family

ID=72477423

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010444202.0A Pending CN111698510A (en) 2020-05-22 2020-05-22 Data processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111698510A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130021982A1 (en) * 2010-04-06 2013-01-24 Samsung Electronics Co. Ltd. Method and apparatus for packet retransmission in a mobile communication system
CN108234087A (en) * 2016-12-22 2018-06-29 华为技术有限公司 Data transmission method and transmitting terminal
CN108337242A (en) * 2018-01-03 2018-07-27 西安万像电子科技有限公司 Method, storage medium and the processor of transmission data
CN108494782A (en) * 2018-03-28 2018-09-04 深圳市网心科技有限公司 Data transmission method based on UDP (user Datagram protocol), terminal equipment and storage medium
CN110677221A (en) * 2018-07-02 2020-01-10 华为技术有限公司 Retransmission control method, communication interface and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130021982A1 (en) * 2010-04-06 2013-01-24 Samsung Electronics Co. Ltd. Method and apparatus for packet retransmission in a mobile communication system
CN108234087A (en) * 2016-12-22 2018-06-29 华为技术有限公司 Data transmission method and transmitting terminal
CN108337242A (en) * 2018-01-03 2018-07-27 西安万像电子科技有限公司 Method, storage medium and the processor of transmission data
CN108494782A (en) * 2018-03-28 2018-09-04 深圳市网心科技有限公司 Data transmission method based on UDP (user Datagram protocol), terminal equipment and storage medium
CN110677221A (en) * 2018-07-02 2020-01-10 华为技术有限公司 Retransmission control method, communication interface and electronic equipment

Similar Documents

Publication Publication Date Title
CN104518853B (en) Method, receiving terminal and the system that a kind of data retransmit
EP2810180B1 (en) Multi-path data transfer using network coding
US8976814B2 (en) Method of transporting data from sending node to destination node
CN111629210A (en) Data processing method and device and electronic equipment
WO2023093879A1 (en) Data transmission method and apparatus, device, and storage medium
CN111770428B (en) Monitoring method of wireless equipment
CN109257138B (en) Data transmission control method and related equipment
CN104780028A (en) Method and equipment for retransmitting TCP (transmission control protocol) data messages
CN102273118A (en) Data retransmission method, apparatus and system
CN102694631B (en) Method and device for controlling data transmission
EP3241115B1 (en) Method and system for on-demand file repair
CN111082896A (en) Data transmission method and transmitting and receiving device
CN105490773B (en) The method and apparatus of transmitting multimedia data
CN110233856B (en) Message processing method and device and computer readable storage medium
CN101601219A (en) The method and apparatus that is used for improved re-transmission
JP2017092692A (en) Data transmission control system and method, and data transmission control program
WO2014194493A1 (en) Method, device and system for reducing confirmation packets at transmission control layer
WO2023078222A1 (en) Data transmission method and apparatus, device, and storage medium
CN111698510A (en) Data processing method and device and electronic equipment
CN113242318B (en) Data transmission method and electronic equipment
CN108667563A (en) A kind of forward error correction packet number acquisition methods and device
JP2009081567A (en) Retransmission control system, retransmission control method, transmitter and receiver
CN111130705A (en) Method and equipment for sending data packet
CN114339883A (en) Data transmission method and device, electronic equipment and storage medium
JP2013026820A (en) Communication apparatus, communication method and communication system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200922