CN115276916A - Discarded data determining method and device, electronic equipment and storage medium - Google Patents

Discarded data determining method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115276916A
CN115276916A CN202210866226.4A CN202210866226A CN115276916A CN 115276916 A CN115276916 A CN 115276916A CN 202210866226 A CN202210866226 A CN 202210866226A CN 115276916 A CN115276916 A CN 115276916A
Authority
CN
China
Prior art keywords
data
sending
determining
time
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.)
Pending
Application number
CN202210866226.4A
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.)
Shanghai Baijiayun Technology Co Ltd
Original Assignee
Shanghai Baijiayun 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 Shanghai Baijiayun Technology Co Ltd filed Critical Shanghai Baijiayun Technology Co Ltd
Priority to CN202210866226.4A priority Critical patent/CN115276916A/en
Publication of CN115276916A publication Critical patent/CN115276916A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/32Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames

Landscapes

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

Abstract

The application provides a determination method, a determination device, electronic equipment and a storage medium of discarded data, wherein the determination method comprises the following steps: determining retransmission parameters corresponding to the sending level marks of the service data in a mapping relation between the sending level marks and the retransmission parameters; aiming at each data packet of the service data sent out from the sending queue, obtaining the sending time of the data packet sent out from the sending queue and the receiving response information of the data packet fed back by the receiving end after receiving the data packet; and for each data packet which does not receive the receiving response information, if the cumulative time from the sending time of the data packet to the receiving response information of the data packet which is not received is greater than the discarding time in the corresponding retransmission parameter, deleting the data packet from the sending queue. By adopting the technical scheme provided by the application, whether the data is discarded or not can be determined by sending the retransmission parameters corresponding to the level marks, so that the invalid retransmission rate is reduced, and the reachable rate of the data is improved.

Description

Determination method and device for discarded data, electronic equipment and storage medium
Technical Field
The present application relates to the field of data transmission technologies, and in particular, to a method and an apparatus for determining discarded data, an electronic device, and a storage medium.
Background
The sending end transmits the data packet to the receiving end, when the receiving end receives the data packet, an acknowledgement response for receiving the data packet is returned to the sending end, the sending end determines whether the data packet is normally received or not according to the acknowledgement response, and if the sending end does not receive the acknowledgement response, retransmission processing is needed to be carried out so as to resend the data packet to the receiving end.
At present, in the process of transmitting service data, when the network condition is poor, packet loss may occur, and because it is not determined whether the lost data packet needs to be retransmitted, invalid retransmission and other conditions may occur, for example, retransmission of some unimportant data packets occupies the network bandwidth, and transmission of important data packets cannot be guaranteed; therefore, how to determine whether to discard data to reduce the invalid retransmission rate and increase the achievable rate of data becomes an urgent problem to be solved.
Disclosure of Invention
In view of the above, an object of the present application is to provide a method, an apparatus, an electronic device, and a storage medium for determining discarded data, where a corresponding retransmission parameter can be determined by a sending level flag of service data, and for each data packet in the service data, when an accumulated time from a sending time of the data packet to a time when receiving response information of the data packet is not received is longer than a discarding time in the corresponding retransmission parameter, the data packet is discarded, and whether to discard the data is determined by the sending level flag of the corresponding retransmission parameter, so that an invalid retransmission rate is reduced, and a reachable rate of the data is improved.
The application mainly comprises the following aspects:
in a first aspect, an embodiment of the present application provides a method for determining discarded data, where the method for determining discarded data includes:
acquiring service data to be sent to a receiving end, and determining whether the service data has a sending level mark;
if yes, determining a retransmission parameter corresponding to the sending level mark of the service data in a mapping relation between the sending level mark and the retransmission parameter;
putting N data packets subjected to fragmentation processing on the service data into a sending queue and sending the N data packets to a receiving end, and acquiring sending time of the data packets sent out from the sending queue and receiving response information of the data packets fed back by the receiving end after the data packets are received by the receiving end aiming at each data packet sent out from the sending queue;
determining the data packets which do not receive the receiving response information according to the data packets which obtain the receiving response information, and determining whether the cumulative time from the sending time of the data packets to the receiving response information of the data packets which are not received is less than the discarding time in the corresponding retransmission parameters or not for each data packet which does not receive the receiving response information;
if not, the data packet is deleted from the sending queue to be discarded.
Further, the determining method further includes:
if the cumulative time from the sending time of the data packet to the time when the receiving response information of the data packet is not received is less than the discarding time in the corresponding retransmission parameter, determining whether the cumulative time reaches the overtime time in the corresponding retransmission parameter;
if so, retransmitting the data packet to a receiving end;
if not, the receiving response information of the data packet is continuously received.
Further, determining whether the service data has a transmission level flag by:
responding to an instruction for acquiring the service data sending level mark, and determining a sending account number to which the service data belongs;
determining whether a sending level mark of the sending account is empty according to the sending account to which the service data belongs;
if the sending level mark of the sending account is empty, determining that the service data does not have the sending level mark;
and if the sending level mark of the sending account is not null, determining that the service data has the sending level mark.
Further, the receiving response information of the data packet fed back by the receiving end after receiving the data packet is obtained through the following steps:
counting the packet loss rate according to the number of the received response messages of the last sent data packets and the total number of the last sent data packets;
determining the redundancy corresponding to the packet loss range to which the packet loss rate belongs under the transmission level mark of the service data according to the mapping relation among the transmission level mark, the packet loss rate and the redundancy;
performing FEC coding on N data packets of the sent service data according to the redundancy to obtain redundant data packets; the redundant data packet is used for a receiving end to recover a data packet which is not received according to the received data packet;
and adding the redundant data packets and the N data packets into a sending queue to send to a receiving end, and acquiring receiving response information of the data packets fed back by the receiving end if the receiving end receives the data packets or recovers the data packets based on the received redundant data packets aiming at each sent data packet.
Further, the sending level mark comprises a first real-time property, a second real-time property and a third real-time property; determining retransmission parameters corresponding to the sending level marks of the service data by the following steps:
if the sending level mark is first real-time, determining the discarding time in the retransmission parameter corresponding to the sending level mark of the service data as a first preset retransmission threshold, and determining the overtime time in the retransmission parameter as a first preset overtime threshold;
if the level mark is of a second real-time property, determining the discarding time in the retransmission parameter corresponding to the sending level mark of the service data as a second preset retransmission threshold, and determining the overtime time in the retransmission parameter as a second preset overtime threshold; wherein the second preset retransmission threshold is smaller than the first preset retransmission threshold; the second preset timeout threshold is smaller than the first preset timeout threshold;
if the level mark is third real-time, determining the discarding time in the retransmission parameter corresponding to the sending level mark of the service data as a third preset retransmission threshold, and determining the timeout time in the retransmission parameter as a third preset timeout threshold; wherein the third preset retransmission threshold is smaller than the second preset retransmission threshold; the third preset timeout threshold is smaller than the second preset timeout threshold.
Further, the packet loss range includes a first packet loss range, a second packet loss range, and a third packet loss range; determining the redundancy corresponding to the packet loss range to which the packet loss rate belongs under the sending level mark of the service data by the following steps:
when the sending level of the service data is marked as first instantaneity, if the packet loss range where the packet loss rate is located is a first packet loss range, determining the corresponding redundancy as first redundancy; if the packet loss range in which the packet loss rate is located is a second packet loss range, determining the corresponding redundancy as a second redundancy; if the packet loss range in which the packet loss rate is located is a third packet loss range, determining the corresponding redundancy as a third redundancy; wherein the third redundancy is greater than the second redundancy; the second redundancy is greater than the first redundancy;
when the sending level of the service data is marked as second instantaneity, if the packet loss range where the packet loss rate is located is the first packet loss range, determining the corresponding redundancy as fourth redundancy; if the packet loss range in which the packet loss rate is located is the second packet loss range, determining the corresponding redundancy as a fifth redundancy; if the packet loss range in which the packet loss rate is located is the third packet loss range, determining the corresponding redundancy as a sixth redundancy; wherein the sixth redundancy is greater than the fifth redundancy; the fifth redundancy is greater than the fourth redundancy; the fourth redundancy is less than the first redundancy;
and when the sending level of the service data is marked as third instantaneity, determining the redundancy of the service data at the packet loss rate according to the packet loss rate of the service data counted in real time and in a preset mapping relation between the packet loss rate and the redundancy.
Further, after determining whether the service data has the sending level flag, the determining method further includes:
if the service data does not have the sending level mark, acquiring a target sending level mark in the static configuration of the configuration file;
and according to the retransmission parameter corresponding to the target sending level mark, for each data packet sent out in the service data, if the cumulative time from the sending time of the data packet to the time when the receiving response information of the data packet is not received is longer than the discarding time in the retransmission parameter, deleting the data packet from the sending queue to discard the data packet.
In a second aspect, an embodiment of the present application further provides a device for determining discarded data, where the device for determining discarded data includes:
the judging module is used for acquiring the service data needing to be sent to a receiving end and determining whether the service data has a sending level mark;
the first determining module is used for determining a retransmission parameter corresponding to the sending level mark of the service data in a mapping relation between the sending level mark and the retransmission parameter when the service data is determined to have the sending level mark;
the acquisition module is used for putting N data packets subjected to fragmentation processing on the service data into a sending queue and sending the N data packets to a receiving end, and acquiring sending time of the data packets sent out from the sending queue and receiving response information of the data packets fed back by the receiving end after the data packets are received for each data packet sent out from the sending queue;
the detection module is used for determining that the data packet of the receiving response information is not received according to the data packet of the receiving response information, and determining whether the cumulative time from the sending time of the data packet to the receiving response information of the data packet is less than the discarding time in the corresponding retransmission parameter or not for each data packet of which the receiving response information is not received;
and the processing module is used for deleting the data packet from the sending queue to discard the data packet when the cumulative time from the sending time of the data packet to the time when the receiving response information of the data packet is not received is not less than the discarding time in the corresponding retransmission parameter.
In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a memory and a bus, the memory storing machine readable instructions executable by the processor, the processor and the memory communicating over the bus when the electronic device is operating, the machine readable instructions when executed by the processor performing the steps of the method of determining discarded data as described above.
In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the determination method for discarded data as described above.
An embodiment of the application provides a method, an apparatus, an electronic device and a storage medium for determining discarded data, wherein the determining method includes: acquiring service data to be sent to a receiving end, and determining whether the service data has a sending level mark; if yes, determining a retransmission parameter corresponding to the sending level mark of the service data in a mapping relation between the sending level mark and the retransmission parameter; putting N data packets subjected to fragmentation processing on the service data into a sending queue and sending the N data packets to a receiving end, and acquiring sending time of the data packets sent out from the sending queue and receiving response information of the data packets fed back by the receiving end after the data packets are received by the receiving end aiming at each data packet sent out from the sending queue; determining that the data packet of the receiving response information is not received according to the data packet of the receiving response information, and determining whether the cumulative time from the sending time of the data packet to the receiving response information of the data packet is less than the discarding time in the corresponding retransmission parameter or not for each data packet of which the receiving response information is not received; if not, deleting the data packet from the sending queue to discard the data packet.
Therefore, by adopting the technical scheme provided by the application, the corresponding retransmission parameters can be determined through the sending level marks of the service data, for each data packet in the service data, when the accumulated time from the sending time of the data packet to the time when the receiving response information of the data packet is not received is longer than the discarding time in the corresponding retransmission parameters, the data packet is discarded, and whether the data is discarded or not is determined through the retransmission parameters corresponding to the sending level marks, so that the invalid retransmission rate is reduced, and the data accessibility is improved.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
To more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a flowchart illustrating a method for determining discarded data according to an embodiment of the present application;
FIG. 2 is a flow chart illustrating another discarded data determination method provided by an embodiment of the present application;
fig. 3 is a block diagram of a determination apparatus for discarding data according to an embodiment of the present application;
fig. 4 shows a second structure of a determination apparatus for discarding data according to an embodiment of the present application;
fig. 5 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
To make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for illustrative and descriptive purposes only and are not used to limit the scope of protection of the present application. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and that steps without logical context may be reversed in order or performed concurrently. In addition, one skilled in the art, under the guidance of the present disclosure, may add one or more other operations to the flowchart, or may remove one or more operations from the flowchart.
In addition, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be obtained by a person skilled in the art without making any inventive step based on the embodiments of the present application, fall within the scope of protection of the present application.
To enable one of ordinary skill in the art to utilize the present disclosure, in connection with a particular application scenario "determination of discarded data," the following embodiments are presented to enable one of ordinary skill in the art to apply the general principles defined herein to other embodiments and application scenarios without departing from the spirit and scope of the present disclosure.
The following method, apparatus, electronic device, or computer-readable storage medium in the embodiments of the present application may be applied to any scenario where determination of discarded data is required, and the embodiments of the present application are not limited to a specific application scenario, and any scheme that uses the method, apparatus, electronic device, and storage medium for determining discarded data provided in the embodiments of the present application is within the protection scope of the present application.
It should be noted that, the sending end transmits the data packet to the receiving end, when the receiving end receives the data packet, an acknowledgement response for receiving the data packet is returned to the sending end, the sending end determines whether the data packet is normally received according to the acknowledgement response, and if the sending end does not receive the acknowledgement response, retransmission processing is required to resend the data packet to the receiving end.
At present, in the process of transmitting service data, when the network condition is poor, packet loss may occur, and because it is not determined whether the lost data packet needs to be retransmitted, invalid retransmission and other conditions may occur, for example, retransmission of some unimportant data packets occupies the network bandwidth, and transmission of important data packets cannot be guaranteed; therefore, how to determine whether to discard data to reduce the invalid retransmission rate and improve the achievable rate of data becomes an urgent problem to be solved.
Based on this, the present application provides a determination method, an apparatus, an electronic device, and a storage medium for discarded data, where the determination method includes: acquiring service data to be sent to a receiving end, and determining whether the service data has a sending level mark; if yes, determining a retransmission parameter corresponding to the sending level mark of the service data in a mapping relation between the sending level mark and the retransmission parameter; putting N data packets subjected to fragmentation processing on the service data into a sending queue and sending the N data packets to a receiving end, and acquiring sending time of the data packets sent out from the sending queue and receiving response information of the data packets fed back by the receiving end after the data packets are received by the receiving end aiming at each data packet sent out from the sending queue; determining that the data packet of the receiving response information is not received according to the data packet of the receiving response information, and determining whether the cumulative time from the sending time of the data packet to the receiving response information of the data packet is less than the discarding time in the corresponding retransmission parameter or not for each data packet of which the receiving response information is not received; if not, the data packet is deleted from the sending queue to be discarded.
Therefore, by adopting the technical scheme provided by the application, the corresponding retransmission parameters can be determined through the sending level marks of the service data, for each data packet in the service data, when the cumulative time from the sending time of the data packet to the time when the receiving response information of the data packet is not received is longer than the discarding time in the corresponding retransmission parameters, the data packet is discarded, and whether the data is discarded or not is determined through the retransmission parameters corresponding to the sending level marks, so that the invalid retransmission rate is reduced, and the data reaching rate is improved.
For the purpose of facilitating an understanding of the present application, the technical solutions provided in the present application will be described in detail below with reference to specific embodiments.
Referring to fig. 1, fig. 1 is a flowchart of a determination method for discarded data according to an embodiment of the present application, as shown in fig. 1, the determination method includes:
s101, acquiring service data needing to be sent to a receiving end, and determining whether the service data has a sending level mark;
in this step, it is determined whether the service data has a transmission level flag by:
s1011, responding to the instruction of obtaining the service data sending level mark, and determining a sending account number to which the service data belongs;
s1012, determining whether a sending level mark of the sending account is empty according to the sending account to which the service data belongs;
s1013, if the sending level mark of the sending account is empty, determining that the service data does not have the sending level mark;
and S1014, if the sending level mark of the sending account is not null, determining that the service data has the sending level mark.
In the step, whether a sending level mark of the sending account has a value is determined by determining the sending account to which the service data belongs, if not, the sending level mark of the sending account is empty, so that the service data does not have the sending level mark; if yes, the sending level mark of the sending account is not null, so that the service data has the sending level mark; for example, a service person may fill 1 in a sending level mark of the sending account on a configuration page according to a service requirement, and then send level marks corresponding to all service data sent under the sending account are marked as 1.
S102, if yes, determining a retransmission parameter corresponding to the sending level mark of the service data in a mapping relation between the sending level mark and the retransmission parameter;
in the step, the sending level mark comprises a first real-time property, a second real-time property and a third real-time property; different sending level marks can be represented by numbers, illustratively, 1 represents first instantaneity, 2 represents second instantaneity, and 3 represents third instantaneity, wherein the larger the number in the example represents the higher the requirement on instantaneity, the priority sending is needed; here, the mapping relationship between the transmission level flag and the retransmission parameter may be set in advance by historical experimental data and historical experience.
It should be noted that, the retransmission parameter corresponding to the transmission level flag of the service data is determined through the following steps:
s1021, if the sending level mark is first instantaneity, determining the discarding time in a retransmission parameter corresponding to the sending level mark of the service data as a first preset retransmission threshold, and determining the overtime time in the retransmission parameter as a first preset overtime threshold;
illustratively, when the transmission level flag is first real-Time (e.g., flag = 1), it indicates that the traffic data is important data with low real-Time requirement, the discard Time (i.e., sliding window) in the retransmission parameter is determined as a first preset retransmission threshold (e.g., 10 seconds), and the timeout Time (i.e., round-Trip Time, RTT) in the retransmission parameter is determined as a first preset timeout threshold (e.g., 100 milliseconds).
S1022, if the level flag indicates the second real-time property, determining a discard time in the retransmission parameter corresponding to the transmission level flag of the service data as a second preset retransmission threshold, and determining an timeout time in the retransmission parameter as a second preset timeout threshold;
in this step, the second predetermined retransmission threshold is smaller than the first predetermined retransmission threshold; the second preset timeout threshold is less than the first preset timeout threshold.
Illustratively, when the transmission level flag is a second real-time (e.g., flag = 2), indicating that the service data is general data with high real-time requirement, the discard time (sliding window) in the retransmission parameter is determined as a second preset retransmission threshold (e.g., 5 seconds), and the timeout time (RTT) in the retransmission parameter is determined as a second preset timeout threshold (e.g., 60 milliseconds).
S1023, if the level mark is a third real-time property, determining the discarding time in the retransmission parameter corresponding to the sending level mark of the service data as a third preset retransmission threshold, and determining the overtime time in the retransmission parameter as a third preset overtime threshold;
in this step, the third preset retransmission threshold is smaller than the second preset retransmission threshold; the third preset timeout threshold is less than the second preset timeout threshold.
Illustratively, the transmission level flag is a third real-time flag (e.g., flag = 3), which indicates that the traffic data is real-time data with high real-time requirement, the discard time (sliding window) in the retransmission parameter is determined as a third preset retransmission threshold (e.g., 2 seconds), and the time-out time (RTT) in the retransmission parameter is determined as a third preset time-out threshold (e.g., 30 milliseconds).
S103, putting N data packets subjected to fragmentation processing on the service data into a sending queue and sending the N data packets to a receiving end, and acquiring sending time of the data packets sent out from the sending queue and receiving response information of the data packets fed back by the receiving end after the data packets are received for each data packet sent out from the sending queue;
in this step, the receiving response information of the data packet fed back by the receiving end after receiving the data packet is obtained through the following steps:
s1031, counting the packet loss rate according to the number of the received response messages of the last data packet and the total number of the last data packets;
determining the difference between the total number of the sent data packets and the number of the received response messages of the sent data packets as the number of the data packets which do not receive the received response messages; and determining the quotient of the number of the data packets which do not receive the receiving response information and the total number of the transmitted data packets as the packet loss rate.
S1032, determining the redundancy corresponding to the packet loss range to which the packet loss rate belongs under the transmission level mark of the service data according to the mapping relation among the transmission level mark, the packet loss rate and the redundancy;
in this step, the packet loss range includes a first packet loss range, a second packet loss range, and a third packet loss range; illustratively, the first packet loss range is 10% to 30%; the second packet loss range is 30% -50%; the third packet loss range is 50% -80%.
It should be noted that, the redundancy corresponding to the packet loss range to which the packet loss rate belongs under the transmission level flag of the service data is determined through the following steps:
1) When the sending level of the service data is marked as first instantaneity, if the packet loss range where the packet loss rate is located is a first packet loss range, determining the corresponding redundancy rate as a first redundancy rate; if the packet loss range in which the packet loss rate is located is a second packet loss range, determining the corresponding redundancy as a second redundancy; if the packet loss range in which the packet loss rate is located is a third packet loss range, determining the corresponding redundancy as a third redundancy;
in this step, the third redundancy is greater than the second redundancy; the second redundancy is greater than the first redundancy.
For example, when the transmission level of the service data is marked as the first real-time (e.g. flag = 1), if the packet loss rate is in the first packet loss range (e.g. 10% to 30%), the corresponding first redundancy may use 30% of redundant FEC data; if the packet loss rate is within a second packet loss range (e.g., 30% to 50%), the corresponding second redundancy rate may adopt 50% of redundant FEC data; if the packet loss rate is in the third packet loss range (e.g., 50% to 80%), the corresponding third redundancy may use 100% of redundant FEC data.
2) When the sending level of the service data is marked as second instantaneity, if the packet loss range where the packet loss rate is located is the first packet loss range, determining the corresponding redundancy as fourth redundancy; if the packet loss range in which the packet loss rate is located is the second packet loss range, determining the corresponding redundancy as a fifth redundancy; if the packet loss range in which the packet loss rate is located is the third packet loss range, determining the corresponding redundancy as a sixth redundancy;
in this step, the sixth redundancy is greater than the fifth redundancy; the fifth redundancy is greater than the fourth redundancy; the fourth redundancy is less than the first redundancy.
For example, when the transmission level of the service data is marked as the second real-time (e.g. flag = 2), if the packet loss rate is within the first packet loss range (e.g. 10% to 30%), the corresponding fourth redundancy may use 20% of redundant FEC data; if the packet loss rate is within the second packet loss range (for example, 30% to 50%), the corresponding fifth redundancy may adopt 30% of redundant FEC data; if the packet loss rate is within the third packet loss range (e.g., 50% to 80%), 50% of redundant FEC data may be used for the corresponding sixth redundancy.
3) And when the sending level of the service data is marked as third instantaneity, determining the redundancy of the service data at the packet loss rate according to the packet loss rate of the service data counted in real time and in a preset mapping relation between the packet loss rate and the redundancy.
Illustratively, the mapping relationship between the packet loss rate and the redundancy can be preset through historical experimental data and historical experience; when the sending level of the service data is marked as third real-time (for example, flag = 3), the redundancy is automatically adjusted according to the packet loss rate, if the discarding time (sliding window) in the retransmission parameter is 2 seconds, and if the receiving response information of a certain data packet is not received after 2 seconds, the data packet is directly discarded.
S1033, FEC coding is carried out on the N data packets of the sent service data according to the redundancy rate, and a redundant data packet is obtained;
in this step, the redundant data packet is used for the receiving end to recover the unreceived data packet according to the received data packet.
S1034, adding the redundant data packets and the N data packets into a sending queue to send to a receiving end, and if the receiving end receives the data packets or recovers the data packets based on the received redundant data packets for each sent data packet, acquiring receiving response information of the data packets fed back by the receiving end.
In the step, a data packet of a redundant data packet and service data is added into a sending queue to be sent to a receiving end, if the receiving end can recover an unreceived data packet according to the received data packet and the redundant data packet, the information of the data packet or receiving response information is fed back to the sending end without retransmitting the data packet, if the receiving end does not recover the unreceived data packet, the information of the data packet or any information is fed back to the sending end without retransmitting the data packet, and when the sending end detects that the accumulated time of the data packet sent out reaches the retransmission time in the corresponding retransmission parameters, the data packet is automatically retransmitted.
S104, determining that the data packet receiving the response information is not received according to the data packet receiving the response information, and determining whether the cumulative time from the sending time of the data packet to the receiving of the response information of the data packet is less than the discarding time in the corresponding retransmission parameter or not for each data packet receiving no response information;
it should be noted that, please refer to fig. 2 for the step that the accumulated time is less than the discard time in the corresponding retransmission parameter, fig. 2 is a flowchart of another method for determining the discard data according to the embodiment of the present application, and as shown in fig. 2, the determining method further includes:
s201, if the cumulative time from the sending time of the data packet to the time when the receiving response information of the data packet is not received is less than the discarding time in the corresponding retransmission parameter, determining whether the cumulative time reaches the overtime time in the corresponding retransmission parameter;
s202, if so, retransmitting the data packet to a receiving end;
and S203, if the data packet does not reach the receiving state, continuing to receive the receiving response information of the data packet.
In this step, when the cumulative time from the transmission time of the data packet to the non-reception of the reception response information of the data packet is less than the discarding time in the corresponding retransmission parameter, if the reception response information is not received, the data packet is retransmitted within the timeout time in the corresponding retransmission parameter until the reception response information of the data packet is received or the cumulative time is greater than or equal to the discarding time in the corresponding retransmission parameter.
And S105, if the data packet is not smaller than the preset value, deleting the data packet from the sending queue to discard the data packet.
The step is summarized, and if the accumulated time is greater than or equal to the discarding time in the corresponding retransmission parameter, the data packet is deleted from the sending queue to be discarded.
It should be noted that, after determining whether the service data has the sending level flag in step S101, the determining method further includes:
1) If the service data does not have the sending level mark, acquiring a target sending level mark in the static configuration of the configuration file;
2) And according to the retransmission parameter corresponding to the target sending level mark, for each data packet sent out in the service data, if the cumulative time from the sending time of the data packet to the time when the receiving response information of the data packet is not received is longer than the discarding time in the retransmission parameter, deleting the data packet from the sending queue to discard the data packet.
In this step, for example, protocols such as Quic, webtransport, kcp, and the like based on UDP do not provide a hierarchical packet loss policy to meet different service requirement scenarios, a target sending level flag needs to be determined according to static configuration in a configuration file, the target sending level flag has corresponding retransmission parameters (a sliding window and RTT), and cannot be dynamically adjusted according to the importance degree of a message, and all service data use the same set of retransmission parameters in different network environments, so that an invalid retransmission phenomenon (for example, an authentication code which does not need to be retransmitted for more than 30 seconds) occurs when a network environment is poor, and the invalid retransmission phenomenon occupies a network bandwidth, resulting in failure in sending important data (for example, information with high real-time performance); in the mode with only one retransmission parameter, one Session (Session) corresponds to one set of retransmission parameters for development, the middle is not adjustable, and if different retransmission parameters are adopted according to different data, multiple sessions need to be established, but the mode causes a complex application layer and increases development time and development difficulty; the embodiment dynamically adjusts the sending and retransmitting strategy (retransmitting parameter) of each message according to the message type (sending level mark) of the service data, improves the sending and receiving quality of the data, and can ensure that the data of important signaling is sent/received preferentially and the non-important data is discarded under the condition that the user access network is poor.
The method for determining discarded data provided by the embodiment of the application comprises the following steps: acquiring service data to be sent to a receiving end, and determining whether the service data has a sending level mark; if yes, determining a retransmission parameter corresponding to the sending level mark of the service data in a mapping relation between the sending level mark and the retransmission parameter; putting N data packets subjected to fragmentation processing on the service data into a sending queue and sending the N data packets to a receiving end, and acquiring sending time of the data packets sent out from the sending queue and receiving response information of the data packets fed back by the receiving end after the data packets are received by the receiving end aiming at each data packet sent out from the sending queue; determining that the data packet of the receiving response information is not received according to the data packet of the receiving response information, and determining whether the cumulative time from the sending time of the data packet to the receiving response information of the data packet is less than the discarding time in the corresponding retransmission parameter or not for each data packet of which the receiving response information is not received; if not, the data packet is deleted from the sending queue to be discarded.
Therefore, by adopting the technical scheme provided by the application, the corresponding retransmission parameters can be determined through the sending level marks of the service data, for each data packet in the service data, when the cumulative time from the sending time of the data packet to the time when the receiving response information of the data packet is not received is longer than the discarding time in the corresponding retransmission parameters, the data packet is discarded, and whether the data is discarded or not is determined through the retransmission parameters corresponding to the sending level marks, so that the invalid retransmission rate is reduced, and the data reaching rate is improved.
Based on the same application concept, an apparatus for determining discarded data corresponding to the method for determining discarded data provided by the foregoing embodiment is also provided in the embodiments of the present application, and since the principle of solving the problem of the apparatus in the embodiments of the present application is similar to that of the method for determining discarded data provided by the foregoing embodiment of the present application, the method may be referred to for implementation of the apparatus, and repeated details are omitted.
Referring to fig. 3 and 4, fig. 3 is a first structural diagram of a determining apparatus for determining discarded data according to an embodiment of the present disclosure, and fig. 4 is a second structural diagram of the determining apparatus for determining discarded data according to the embodiment of the present disclosure. As shown in fig. 3, the determining means 310 includes:
the determining module 311 is configured to obtain service data that needs to be sent to a receiving end, and determine whether the service data has a sending level flag;
a first determining module 312, configured to determine, when it is determined that the service data has a sending level flag, a retransmission parameter corresponding to the sending level flag of the service data in a mapping relationship between the sending level flag and the retransmission parameter;
an obtaining module 313, configured to put N data packets after the service data is fragmented into a sending queue and send the N data packets to a receiving end, and obtain, for each data packet sent out from the sending queue, sending time of the data packet sent out from the sending queue and receiving response information of the data packet fed back by the receiving end after receiving the data packet;
the detection module 314 is configured to determine, according to the data packet that acquires the reception response information, that the data packet that does not receive the reception response information is received, and determine, for each data packet that does not receive the reception response information, whether the cumulative time from the sending time of the data packet to the time when the reception response information of the data packet is not received is less than the discard time in the corresponding retransmission parameter;
the processing module 315 is configured to delete the data packet from the sending queue to discard the data packet when the cumulative time from the sending time of the data packet to the time when the reception response information of the data packet is not received is not less than the discard time in the corresponding retransmission parameter.
Optionally, as shown in fig. 4, the determining apparatus 310 further includes a retransmission module 316, where the retransmission module 316 is configured to:
when the cumulative time from the sending time of the data packet to the time when the receiving response information of the data packet is not received is less than the discarding time in the corresponding retransmission parameter, determining whether the cumulative time reaches the overtime time in the corresponding retransmission parameter;
if so, retransmitting the data packet to a receiving end;
if not, the receiving response information of the data packet is continuously received.
Optionally, when the determining module 311 is configured to determine whether the service data has the sending level flag, the determining module 311 is specifically configured to:
responding to an instruction for acquiring the service data sending level mark, and determining a sending account number to which the service data belongs;
determining whether a sending level mark of the sending account is empty according to the sending account to which the service data belongs;
if the sending level mark of the sending account is empty, determining that the service data does not have the sending level mark;
and if the sending level mark of the sending account is not null, determining that the service data has the sending level mark.
Optionally, when the obtaining module 313 is configured to obtain the receiving response information of the data packet fed back by the receiving end after receiving the data packet, the obtaining module 313 is specifically configured to:
counting the packet loss rate according to the number of the received response messages of the last sent data packets and the total number of the last sent data packets;
determining redundancy corresponding to a packet loss range to which the packet loss rate belongs under the transmission level mark of the service data according to the transmission level mark, the packet loss rate and the mapping relation of the redundancy;
performing FEC coding on N data packets of the sent service data according to the redundancy to obtain redundant data packets; the redundant data packet is used for a receiving end to recover a data packet which is not received according to the received data packet;
and adding the redundant data packets and the N data packets into a sending queue to send to a receiving end, and acquiring receiving response information of the data packets fed back by the receiving end if the receiving end receives the data packets or recovers the data packets based on the received redundant data packets aiming at each sent data packet.
Optionally, the sending level flag includes a first real-time property, a second real-time property, and a third real-time property; when the first determining module 312 is configured to determine the retransmission parameter corresponding to the transmission level flag of the service data, the first determining module 312 is specifically configured to:
if the sending level mark is first real-time, determining the discarding time in the retransmission parameter corresponding to the sending level mark of the service data as a first preset retransmission threshold, and determining the overtime time in the retransmission parameter as a first preset overtime threshold;
if the level mark is of the second real-time property, determining the discarding time in the retransmission parameter corresponding to the sending level mark of the service data as a second preset retransmission threshold, and determining the overtime time in the retransmission parameter as a second preset overtime threshold; wherein the second preset retransmission threshold is smaller than the first preset retransmission threshold; the second preset timeout threshold is smaller than the first preset timeout threshold;
if the level mark is third real-time, determining the discarding time in the retransmission parameter corresponding to the sending level mark of the service data as a third preset retransmission threshold, and determining the timeout time in the retransmission parameter as a third preset timeout threshold; wherein the third preset retransmission threshold is smaller than the second preset retransmission threshold; the third preset timeout threshold is smaller than the second preset timeout threshold.
Optionally, the packet loss range includes a first packet loss range, a second packet loss range, and a third packet loss range; when the obtaining module 313 is configured to determine the redundancy corresponding to the packet loss range to which the packet loss ratio belongs under the sending level flag of the service data, the obtaining module 313 is specifically configured to:
when the sending level of the service data is marked as first instantaneity, if the packet loss range where the packet loss rate is located is a first packet loss range, determining the corresponding redundancy as first redundancy; if the packet loss range in which the packet loss rate is located is a second packet loss range, determining the corresponding redundancy as a second redundancy; if the packet loss range in which the packet loss rate is located is a third packet loss range, determining the corresponding redundancy as a third redundancy; wherein the third redundancy is greater than the second redundancy; the second redundancy is greater than the first redundancy;
when the sending level of the service data is marked as second instantaneity, if the packet loss range where the packet loss rate is located is the first packet loss range, determining the corresponding redundancy as fourth redundancy; if the packet loss range in which the packet loss rate is located is the second packet loss range, determining the corresponding redundancy as a fifth redundancy; if the packet loss range in which the packet loss rate is located is the third packet loss range, determining the corresponding redundancy as a sixth redundancy; wherein the sixth redundancy is greater than the fifth redundancy; the fifth redundancy is greater than the fourth redundancy; the fourth redundancy is less than the first redundancy;
and when the sending level of the service data is marked as third instantaneity, determining the redundancy of the service data at the packet loss rate according to the packet loss rate of the service data counted in real time and in a preset mapping relation between the packet loss rate and the redundancy.
Optionally, the determining apparatus 310 further includes a second determining module 317, where the second determining module 317 is configured to:
when the service data does not have the sending level mark, acquiring a target sending level mark in the static configuration of the configuration file;
and according to the retransmission parameter corresponding to the target sending level mark, for each sent data packet in the service data, if the cumulative time from the sending time of the data packet to the time when the receiving response information of the data packet is not received is longer than the discarding time in the retransmission parameter, deleting the data packet from the sending queue to discard the data packet.
An embodiment of the present application provides a device for determining discarded data, where the device for determining discarded data includes: the judging module is used for acquiring the service data needing to be sent to a receiving end and determining whether the service data has a sending level mark; the first determining module is used for determining a retransmission parameter corresponding to the sending level mark of the service data in a mapping relation between the sending level mark and the retransmission parameter when the service data is determined to have the sending level mark; the acquisition module is used for putting N data packets subjected to fragmentation processing on the service data into a sending queue to be sent to a receiving end, and acquiring sending time of the data packets sent out from the sending queue and receiving response information of the data packets fed back by the receiving end after the data packets are received aiming at each data packet sent out from the sending queue; the detection module is used for determining the data packets which do not receive the receiving response information according to the data packets which obtain the receiving response information, and determining whether the cumulative time from the sending time of the data packets to the receiving response information of the data packets which are not received is less than the discarding time in the corresponding retransmission parameters or not for each data packet which does not receive the receiving response information; and the processing module is used for deleting the data packet from the sending queue to discard the data packet when the cumulative time from the sending time of the data packet to the time when the receiving response information of the data packet is not received is not less than the discarding time in the corresponding retransmission parameter.
Therefore, by adopting the technical scheme provided by the application, the corresponding retransmission parameters can be determined through the sending level marks of the service data, for each data packet in the service data, when the cumulative time from the sending time of the data packet to the time when the receiving response information of the data packet is not received is longer than the discarding time in the corresponding retransmission parameters, the data packet is discarded, and whether the data is discarded or not is determined through the retransmission parameters corresponding to the sending level marks, so that the invalid retransmission rate is reduced, and the data reaching rate is improved.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 5, the electronic device 500 includes a processor 510, a memory 520, and a bus 530.
The memory 520 stores machine-readable instructions executable by the processor 510, when the electronic device 500 runs, the processor 510 communicates with the memory 520 through the bus 530, and when the machine-readable instructions are executed by the processor 510, the steps of the method for determining discarded data in the method embodiments shown in fig. 1 and fig. 2 may be performed.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the step of the method for determining discarded data in the method embodiments shown in fig. 1 and fig. 2 may be executed.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present application and are intended to be covered by the appended claims. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for determining discarded data, the method comprising:
acquiring service data to be sent to a receiving end, and determining whether the service data has a sending level mark;
if yes, determining a retransmission parameter corresponding to the sending level mark of the service data in a mapping relation between the sending level mark and the retransmission parameter;
putting N data packets subjected to fragmentation processing on the service data into a sending queue and sending the N data packets to a receiving end, and acquiring sending time of the data packets sent out from the sending queue and receiving response information of the data packets fed back by the receiving end after the data packets are received by the receiving end aiming at each data packet sent out from the sending queue;
determining that the data packet of the receiving response information is not received according to the data packet of the receiving response information, and determining whether the cumulative time from the sending time of the data packet to the receiving response information of the data packet is less than the discarding time in the corresponding retransmission parameter or not for each data packet of which the receiving response information is not received;
if not, deleting the data packet from the sending queue to discard the data packet.
2. The method of determining according to claim 1, further comprising:
if the cumulative time from the sending time of the data packet to the time when the receiving response information of the data packet is not received is less than the discarding time in the corresponding retransmission parameter, determining whether the cumulative time reaches the overtime time in the corresponding retransmission parameter;
if so, retransmitting the data packet to a receiving end;
if not, the receiving response information of the data packet is continuously received.
3. The method of claim 1, wherein determining whether the traffic data has a transmission level flag is performed by:
responding to an instruction for acquiring the service data sending level mark, and determining a sending account number to which the service data belongs;
determining whether a sending level mark of the sending account is empty according to the sending account to which the service data belongs;
if the sending level mark of the sending account is empty, determining that the service data does not have the sending level mark;
and if the sending level mark of the sending account is not null, determining that the service data has the sending level mark.
4. The method according to claim 1, wherein the receiving response information of the data packet fed back by the receiving end after receiving the data packet is obtained by:
counting the packet loss rate according to the number of the received response messages of the last sent data packets and the total number of the last sent data packets;
determining the redundancy corresponding to the packet loss range to which the packet loss rate belongs under the transmission level mark of the service data according to the mapping relation among the transmission level mark, the packet loss rate and the redundancy;
FEC encoding is carried out on N data packets of the sent service data according to the redundancy rate to obtain redundant data packets; the redundant data packet is used for a receiving end to recover a data packet which is not received according to the received data packet;
and adding the redundant data packets and the N data packets into a sending queue to send to a receiving end, and if the receiving end receives the data packets or recovers the data packets based on the received redundant data packets aiming at each sent data packet, acquiring receiving response information of the data packets fed back by the receiving end.
5. The method of claim 1, wherein the transmission level flag includes a first instantaneity, a second instantaneity, and a third instantaneity; determining retransmission parameters corresponding to the sending level marks of the service data by the following steps:
if the sending level mark is first real-time, determining the discarding time in the retransmission parameter corresponding to the sending level mark of the service data as a first preset retransmission threshold, and determining the overtime time in the retransmission parameter as a first preset overtime threshold;
if the level mark is of a second real-time property, determining the discarding time in the retransmission parameter corresponding to the sending level mark of the service data as a second preset retransmission threshold, and determining the overtime time in the retransmission parameter as a second preset overtime threshold; wherein the second preset retransmission threshold is smaller than the first preset retransmission threshold; the second preset timeout threshold is smaller than the first preset timeout threshold;
if the level mark is third real-time, determining the discarding time in the retransmission parameter corresponding to the sending level mark of the service data as a third preset retransmission threshold, and determining the timeout time in the retransmission parameter as a third preset timeout threshold; wherein the third predetermined retransmission threshold is smaller than the second predetermined retransmission threshold; the third preset timeout threshold is smaller than the second preset timeout threshold.
6. The method according to claim 4, wherein the packet loss range includes a first packet loss range, a second packet loss range, and a third packet loss range; determining redundancy corresponding to a packet loss range to which the packet loss rate belongs under the sending level flag of the service data through the following steps:
when the sending level of the service data is marked as first instantaneity, if the packet loss range where the packet loss rate is located is a first packet loss range, determining the corresponding redundancy as first redundancy; if the packet loss range in which the packet loss rate is located is a second packet loss range, determining the corresponding redundancy as a second redundancy; if the packet loss range in which the packet loss rate is located is a third packet loss range, determining the corresponding redundancy as a third redundancy; wherein the third redundancy is greater than the second redundancy; the second redundancy is greater than the first redundancy;
when the sending level of the service data is marked as second instantaneity, if the packet loss range where the packet loss rate is located is the first packet loss range, determining the corresponding redundancy as fourth redundancy; if the packet loss range where the packet loss rate is located is the second packet loss range, determining the corresponding redundancy as a fifth redundancy; if the packet loss range in which the packet loss rate is located is the third packet loss range, determining the corresponding redundancy as a sixth redundancy; wherein the sixth redundancy is greater than the fifth redundancy; the fifth redundancy is greater than the fourth redundancy; the fourth redundancy is less than the first redundancy;
and when the sending level of the service data is marked as third instantaneity, determining the redundancy of the service data at the packet loss rate according to the packet loss rate of the service data counted in real time and in a preset mapping relation between the packet loss rate and the redundancy.
7. The method of claim 1, wherein after determining whether the traffic data has a transmission level flag, the method further comprises:
if the service data does not have the sending level mark, acquiring a target sending level mark in the static configuration of the configuration file;
and according to the retransmission parameter corresponding to the target sending level mark, for each sent data packet in the service data, if the cumulative time from the sending time of the data packet to the time when the receiving response information of the data packet is not received is longer than the discarding time in the retransmission parameter, deleting the data packet from the sending queue to discard the data packet.
8. A determination apparatus for discarding data, the determination apparatus comprising:
the judging module is used for acquiring the service data needing to be sent to a receiving end and determining whether the service data has a sending level mark;
the first determining module is used for determining a retransmission parameter corresponding to the sending level mark of the service data in a mapping relation between the sending level mark and the retransmission parameter when the service data is determined to have the sending level mark;
the acquisition module is used for putting N data packets subjected to fragmentation processing on the service data into a sending queue and sending the N data packets to a receiving end, and acquiring sending time of the data packets sent out from the sending queue and receiving response information of the data packets fed back by the receiving end after the data packets are received for each data packet sent out from the sending queue;
the detection module is used for determining that the data packet of the receiving response information is not received according to the data packet of the receiving response information, and determining whether the cumulative time from the sending time of the data packet to the receiving response information of the data packet is less than the discarding time in the corresponding retransmission parameter or not for each data packet of which the receiving response information is not received;
and the processing module is used for deleting the data packet from the sending queue to discard the data packet when the cumulative time from the sending time of the data packet to the time when the receiving response information of the data packet is not received is not less than the discarding time in the corresponding retransmission parameter.
9. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when the electronic device is operating, the machine-readable instructions being executable by the processor to perform the steps of the method of determining to discard data according to any of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of determining discarded data according to any one of claims 1 to 7.
CN202210866226.4A 2022-07-22 2022-07-22 Discarded data determining method and device, electronic equipment and storage medium Pending CN115276916A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210866226.4A CN115276916A (en) 2022-07-22 2022-07-22 Discarded data determining method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210866226.4A CN115276916A (en) 2022-07-22 2022-07-22 Discarded data determining method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115276916A true CN115276916A (en) 2022-11-01

Family

ID=83767394

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210866226.4A Pending CN115276916A (en) 2022-07-22 2022-07-22 Discarded data determining method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115276916A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1619998A (en) * 2003-11-21 2005-05-25 北京三星通信技术研究有限公司 Method of block discard in automatic repeat inquiry system
CN108419275A (en) * 2017-02-10 2018-08-17 华为技术有限公司 A kind of data transmission method, communication equipment, terminal and base station
WO2020125647A1 (en) * 2018-12-17 2020-06-25 杭州海康威视数字技术股份有限公司 Data retransmission method, device, and system
CN113676605A (en) * 2020-05-15 2021-11-19 腾讯科技(深圳)有限公司 Data transmission method, device, equipment and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1619998A (en) * 2003-11-21 2005-05-25 北京三星通信技术研究有限公司 Method of block discard in automatic repeat inquiry system
CN108419275A (en) * 2017-02-10 2018-08-17 华为技术有限公司 A kind of data transmission method, communication equipment, terminal and base station
WO2020125647A1 (en) * 2018-12-17 2020-06-25 杭州海康威视数字技术股份有限公司 Data retransmission method, device, and system
CN113676605A (en) * 2020-05-15 2021-11-19 腾讯科技(深圳)有限公司 Data transmission method, device, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
US8169914B2 (en) Method and node for transmitting data over a communication network using negative acknowledgment
KR101095830B1 (en) Status report method in a wireless communication system
CN109714130B (en) Fountain code-based file transmission method
JP5935940B2 (en) COMMUNICATION METHOD, COMMUNICATION DEVICE, AND COMMUNICATION PROGRAM
KR20130082070A (en) Communication apparatus and communication method
CA2466231A1 (en) Time-aware best-effort hole-filling retry method and system for network communications
KR101607773B1 (en) Data transmitter apparatus and method for data communication using the same
JP5364889B2 (en) Status report triggers in wireless communication systems
US7764616B2 (en) Transmitter device for controlling data transmission
WO2014125680A1 (en) Packet communication method and device
JP2006211632A (en) Detection method of crc inspection error out of range
CN110557677A (en) Video transmission method and device
CN104980257B (en) Internet of things communication method and device
CN102694631B (en) Method and device for controlling data transmission
WO2022017529A1 (en) Data transmission method and system, electronic device, and storage medium
CN113765626B (en) Data transmission method and device of mobile communication system
US8422370B2 (en) Reducing retransmission of out of order packets
CN110636009A (en) Data transmission method and device
CN110233856B (en) Message processing method and device and computer readable storage medium
CN113259989A (en) Data retransmission method and device and electronic equipment
KR101611663B1 (en) Data communications using connectionless-oriented protocol
CN115276916A (en) Discarded data determining method and device, electronic equipment and storage medium
CN110958084B (en) Method and communication equipment for transmitting acknowledgement message
WO2014183585A1 (en) Aggressive transmission control protocol (tcp) retransmission
CN115348336A (en) Universal transmission architecture for heterogeneous data streams

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