CN115119068A - Network congestion processing method and system - Google Patents

Network congestion processing method and system Download PDF

Info

Publication number
CN115119068A
CN115119068A CN202210708407.4A CN202210708407A CN115119068A CN 115119068 A CN115119068 A CN 115119068A CN 202210708407 A CN202210708407 A CN 202210708407A CN 115119068 A CN115119068 A CN 115119068A
Authority
CN
China
Prior art keywords
network
receiving end
sending
congestion
packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210708407.4A
Other languages
Chinese (zh)
Other versions
CN115119068B (en
Inventor
李昌贵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ava Electronic Technology Co Ltd
Original Assignee
Ava Electronic 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 Ava Electronic Technology Co Ltd filed Critical Ava Electronic Technology Co Ltd
Priority to CN202210708407.4A priority Critical patent/CN115119068B/en
Publication of CN115119068A publication Critical patent/CN115119068A/en
Application granted granted Critical
Publication of CN115119068B publication Critical patent/CN115119068B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load
    • H04N21/64738Monitoring network characteristics, e.g. bandwidth, congestion level
    • 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/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64784Data processing by the network
    • H04N21/64792Controlling the complexity of the content stream, e.g. by dropping packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

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

Abstract

The invention relates to a network congestion processing method and a system, which are used for sending a network detection packet to a receiving end and acquiring a response packet fed back by the receiving end. And determining the network state of the sending end according to the difference value between the first time stamp of the receiving end and the first time stamp of the sending end and the relative variation of the difference value, and determining the congestion processing state of the receiving end according to the number of the cache unprocessed data packets received by the receiving end and the packet processing speed of an application layer of the receiving end. And finally, determining a data sending strategy of the sending end according to the network state and the congestion processing state so as to adjust the video frame sending mode of the sending end. Based on the method, the video transmission jam time is effectively reduced through comprehensive judgment of the network state and the congestion processing state, the network congestion can be effectively reduced, and the normal transmission can be quickly recovered.

Description

Network congestion processing method and system
Technical Field
The present invention relates to the field of data transmission technologies, and in particular, to a method and a system for processing network congestion.
Background
The transmission of video data is usually based on a transmitting end and a receiving end to establish a channel for data transmission and reception. Therefore, the congestion judgment of the network physical link between the sending end and the receiving end plays an important reference role in the adjustment of data receiving and sending, and the self-adaptive network transmission adjustment is convenient to execute.
However, in the existing code rate dynamic adaptive method, the judgment of network congestion is rough, and the congestion degree cannot be distinguished more carefully only by means of the packet loss rate, and the practice of audio and video dynamic adaptive transmission finds that the situation that the congestion occurs when the transmission code rate of the video is increased by dozens of k under the condition of low or no packet loss rate is often caused, and then the original transmission code rate has to be reduced. Meanwhile, in the existing video transmission system, many systems adopt a retransmission confirmation mechanism to reduce the packet loss rate, only the judgment of network congestion is led to be insufficient, and particularly in a large-scale video conference system, whether a receiving end is congested or not needs to be judged. Under network congestion or receiver processing congestion, infinite acknowledgment retransmissions can cause or exacerbate congestion, causing video jams for longer.
In summary, it can be seen that the conventional video data transmission method has the above disadvantages.
Disclosure of Invention
Therefore, it is necessary to provide a network congestion processing method and system for overcoming the defects of the conventional video transmission method.
A network congestion processing method comprises the following steps:
sending a network detection packet to a receiving end; the network detection packet comprises a first timestamp of a sending end;
acquiring a response packet fed back by a receiving end; the response packet comprises a first time stamp of a receiving end, a first time stamp of the sending end, the number of the data packets which are not processed by the receiving end receiving cache and the packet processing speed of the application layer of the receiving end;
determining the network state of the sending end according to the difference value of the first time stamp of the receiving end and the first time stamp of the sending end and the relative variation of the difference value;
determining the congestion processing state of the receiving end according to the number of the cache unprocessed data packets received by the receiving end and the packet processing speed of the application layer of the receiving end;
determining a data sending strategy of a sending end according to the network state and the congestion processing state; the data transmission strategy is used for adjusting a video frame transmission mode of a transmitting end.
The network congestion processing method sends the network detection packet to the receiving end and obtains the response packet fed back by the receiving end. And determining the network state of the sending end according to the difference value between the first time stamp of the receiving end and the first time stamp of the sending end and the relative variation of the difference value, and determining the congestion processing state of the receiving end according to the number of the cache unprocessed data packets received by the receiving end and the packet processing speed of an application layer of the receiving end. And finally, determining a data sending strategy of the sending end according to the network state and the congestion processing state so as to adjust the video frame sending mode of the sending end. Based on the method, the video transmission jam time is effectively reduced through comprehensive judgment of the network state and the congestion processing state, the network congestion can be effectively reduced, and the normal transmission can be quickly recovered.
In one embodiment, the method further comprises the following steps:
informing the receiving end of the data sending strategy to indicate the receiving end to select a corresponding frame confirmation mechanism;
and obtaining the feedback of the frame confirmation mechanism selected by the receiving end.
In one embodiment, the process of determining the network status of the sending end according to the relative variation of the difference includes the following steps:
determining the relative variation according to the difference between the difference and the set optimal time delay;
and determining the network state mapped by the relative variation according to the network mapping relation established in advance.
In one embodiment, the process of determining the congestion handling status of the receiving end according to the number of packets received and buffered by the receiving end and the packet handling speed of the application layer of the receiving end includes the steps of:
and determining the number of the cache unprocessed data packets received by the receiving end and the congestion processing state of the speed mapping of the application layer processing packets of the receiving end according to the pre-established congestion mapping relation.
In one embodiment, the network status includes network good or network congestion; the congestion processing state comprises congestion processing smoothness or congestion processing congestion;
the data transmission strategy comprises the following steps:
when the network is good and the congestion processing is smooth, the data transmission strategy is normal transmission;
when the network is good and congestion is handled, the data transmission strategy is light frame loss transmission;
when the network is congested and the congestion is smooth to process, the data transmission strategy is mild intermittent frame loss transmission;
and or, when the network is congested and the congestion processing is congested, the data transmission strategy is heavy frame loss transmission.
A network congestion processing apparatus comprising:
the detection packet sending module is used for sending a network detection packet to a receiving end; the network detection packet comprises a first timestamp of a sending end;
the feedback acquisition module is used for acquiring a response packet fed back by the receiving end; the response packet comprises a first time stamp of a receiving end, a first time stamp of the sending end, the number of the data packets which are not processed by the receiving end receiving cache and the packet processing speed of the application layer of the receiving end;
the first state determining module is used for determining the network state of the sending end according to the difference value between the first time stamp of the receiving end and the first time stamp of the sending end and the relative variation of the difference value;
the second state determining module is used for determining the congestion processing state of the receiving end according to the number of the cache unprocessed data packets received by the receiving end and the packet processing speed of the application layer of the receiving end;
the strategy determining module is used for determining a data sending strategy of the sending end according to the network state and the congestion processing state; the data sending strategy is used for adjusting a video frame sending mode of a sending end.
The network congestion processing device sends the network detection packet to the receiving end and obtains the response packet fed back by the receiving end. And determining the network state of the sending end according to the difference value between the first time stamp of the receiving end and the first time stamp of the sending end and the relative variation of the difference value, and determining the congestion processing state of the receiving end according to the number of the cache unprocessed data packets received by the receiving end and the packet processing speed of an application layer of the receiving end. And finally, determining a data sending strategy of the sending end according to the network state and the congestion processing state so as to adjust the video frame sending mode of the sending end. Based on the method, the video transmission jam time is effectively reduced through comprehensive judgment of the network state and the congestion processing state, the network congestion can be effectively reduced, and the normal transmission can be quickly recovered.
A network congestion processing method comprises the following steps:
acquiring a network detection packet sent by a sending end; the network detection packet comprises a first timestamp of a sending end;
feeding back a response packet to the sending end to indicate the sending end to determine a data sending strategy according to the response packet; the response packet comprises a first time stamp of a receiving end, a first time stamp of the sending end, the number of the data packets which are not processed by the receiving end receiving cache and the packet processing speed of the application layer of the receiving end; the data transmission strategy is used for adjusting the video frame transmission mode of the transmitting end.
According to the network congestion processing method, after a network detection packet sent by a sending end is obtained, a response packet is fed back to the sending end so as to instruct the sending end to determine a data sending strategy according to the response packet; the response packet comprises a first time stamp of a receiving end, a first time stamp of the sending end, the number of the data packets which are not processed by the receiving end receiving cache and the packet processing speed of the application layer of the receiving end; the data transmission strategy is used for adjusting the video frame transmission mode of the transmitting end. Based on the method, the video transmission jam time is effectively reduced through comprehensive judgment of the network state and the congestion processing state, the network congestion can be effectively reduced, and the normal transmission can be quickly recovered.
In one embodiment, the method further comprises the following steps:
acquiring a notification that a sending end determines a data sending strategy;
and selecting a corresponding frame confirmation mechanism according to the data transmission strategy.
In one embodiment, the method further comprises the following steps:
when the notification cannot be acquired, a default frame confirmation mechanism is selected.
In one embodiment, the method further comprises the following steps:
and after the selection of the frame confirmation mechanism is finished, the confirmation result is notified to the sending end.
A network congestion processing apparatus comprising:
the detection packet acquisition module is used for acquiring a network detection packet sent by a sending end; the network detection packet comprises a first timestamp of a sending end;
the feedback sending module is used for feeding back the response packet to the sending end so as to indicate the sending end to determine a data sending strategy according to the response packet; the response packet comprises a first time stamp of a receiving end, a first time stamp of the sending end, the number of the data packets which are not processed by the receiving end receiving cache and the packet processing speed of the application layer of the receiving end; the data transmission strategy is used for adjusting the video frame transmission mode of the transmitting end.
After the network congestion processing device obtains the network detection packet sent by the sending end, the network congestion processing device feeds back a response packet to the sending end so as to instruct the sending end to determine a data sending strategy according to the response packet; the response packet comprises a first time stamp of a receiving end, a first time stamp of the sending end, the number of the data packets which are not processed by the receiving end receiving cache and the packet processing speed of the application layer of the receiving end; the data transmission strategy is used for adjusting the video frame transmission mode of the transmitting end. Based on the method, the video transmission jam time is effectively reduced through comprehensive judgment of the network state and the congestion processing state, the network congestion can be effectively reduced, and the normal transmission can be quickly recovered.
A computer storage medium having stored thereon computer instructions which, when executed by a processor, implement the network congestion handling method of any of the above embodiments.
After the network detection packet sent by the sending end is obtained, the computer storage medium feeds back a response packet to the sending end so as to instruct the sending end to determine a data sending strategy according to the response packet; the response packet comprises a first time stamp of a receiving end, a first time stamp of the sending end, the number of the data packets which are not processed by the receiving end receiving cache and the packet processing speed of the application layer of the receiving end; the data transmission strategy is used for adjusting the video frame transmission mode of the transmitting end. Based on the method, the video transmission jam time is effectively reduced through comprehensive judgment of the network state and the congestion processing state, the network congestion can be effectively reduced, and the normal transmission can be quickly recovered.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the network congestion handling method of any of the above embodiments when executing the program.
After the computer device acquires the network detection packet sent by the sending end, the computer device feeds back a response packet to the sending end so as to instruct the sending end to determine a data sending strategy according to the response packet; the response packet comprises a first time stamp of a receiving end, a first time stamp of the sending end, the number of the data packets which are not processed by the receiving end receiving cache and the packet processing speed of the application layer of the receiving end; the data transmission strategy is used for adjusting the video frame transmission mode of the transmitting end. Based on the method, the video transmission delay time is effectively reduced through comprehensive judgment of the network state and the congestion processing state, the network congestion can be effectively reduced, and the normal transmission can be quickly recovered.
Drawings
FIG. 1 is a flow diagram of a method for handling network congestion according to an embodiment;
fig. 2 is a flowchart of a network congestion processing method according to another embodiment;
fig. 3 is a flowchart of a network congestion processing method according to yet another embodiment;
FIG. 4 is a schematic diagram of an internal structure of a computer according to an embodiment.
Detailed Description
For better understanding of the objects, technical solutions and technical effects of the present invention, the present invention will be further explained with reference to the accompanying drawings and examples. It is to be noted that the following examples are provided only for illustrating the present invention and are not intended to limit the present invention.
The embodiment of the invention provides a network congestion processing method.
Fig. 1 is a flowchart of a network congestion processing method according to an embodiment, and as shown in fig. 1, the network congestion processing method according to an embodiment includes steps S100 to S104:
s100, sending a network detection packet to a receiving end; the network detection packet comprises a first timestamp of a sending end;
s101, acquiring a response packet fed back by a receiving end; the response packet comprises a first time stamp of a receiving end, a first time stamp of the sending end, the number of the data packets which are not processed by the receiving end receiving cache and the packet processing speed of the application layer of the receiving end;
s102, determining the network state of the sending end according to the difference value between the first time stamp of the receiving end and the first time stamp of the sending end and the relative variation of the difference value;
s103, determining the congestion processing state of the receiving end according to the number of the cache unprocessed data packets received by the receiving end and the packet processing speed of the application layer of the receiving end;
s104, determining a data transmission strategy of a transmitting end according to the network state and the congestion processing state; the data transmission strategy is used for adjusting a video frame transmission mode of a transmitting end.
The data channel consists of a sending end and a receiving end, and simultaneously, a control channel exists in parallel with the data channel. Based on the side of the sending end, the network congestion processing method of an embodiment is deployed. The data acquisition object at the sending end side comprises a sending end and a control channel, and the data sending object at the sending end side comprises a receiving end and a data channel. The data channel is used for data transmission between the sending end and the receiving end, and the control channel is used as a data acquisition object of the network congestion processing method in the embodiment of the invention.
Based on the data, the data channel is used for really receiving and sending data, and the control channel can be used for timely interacting the state and control information of the received and sent data; the network probe packet carrying the first timestamp T1 of the sending end can identify its uniqueness, so as to prevent the receiving end from misjudging multiple network probe packets arriving at a later time in case of network congestion.
Based on this, a network probe packet is sent to the receiver, and the network probe packet includes a sender first timestamp T1. The sender first timestamp T1 is used to indicate the current time of the sender when the network probe packet is sent.
When the receiving end receives the network detection packet, the receiving end opens the network detection packet to obtain a first time stamp T1 of the sending end. Based on this, an acknowledgement packet is replied to the sender. The response packet comprises a receiving end first time stamp T2, a sending end first time stamp T1, a receiving end receiving buffer unprocessed data packet number S1 and a receiving end application layer packet processing speed V1. The first timestamp T2 of the receiving end is used to indicate the time when the receiving end performs the feedback of the response packet. The receiving-side number of received buffered unprocessed packets S1 is used to characterize the total number of packets received from the transmitting side but unprocessed. The speed V1 of the receiving-end application layer processing packet is used to characterize the processing capability of the receiving end to the processing speed (unit packet/s) of the received data packet.
The response packet of the receiving end includes a first Time stamp T2 of the receiving end, which is a necessary choice for uniqueness of the receiving end, and the first Time stamp T1 of the transmitting end is also responded to the transmitting end in order for the transmitting end to accurately count RTT (Round-Trip Time, Round-Trip delay) in the transmitting direction, and the number S1 of unprocessed data packets buffered by the receiving end and the processing packet V1 of the application layer of the receiving end help the transmitting end to determine the processing status of the receiving end.
And determining the network state of the sender according to the difference between the first timestamp T1 of the receiver and the first timestamp T2 of the sender and the relative variation of the difference. Based on the above, the dynamic change of the transmission delay from the transmitting end to the receiving end is represented by the relative change.
In one embodiment, the transmit time slot difference SentTimeSlot from the transmit end to the receive end is calculated according to the difference value T2-T1, and the jitter value of the transmit time slot difference SentTimeSlot is converted into a relative variation.
In one embodiment, after receiving the response packet sent by the receiving end, the sender acquires a first timestamp T1 of the sender and a first timestamp T2 of the receiving end, and first sends a data packet carrying the first timestamp T2 of the receiving end and a local current timestamp T3 to the receiving end; calculating the sending time delay sentiTimeSlot in the sending direction as T2-T1 according to the difference value between the first time stamp T2 at the receiving end and the first time stamp T1 at the sending end; it is assumed that there is a very good RTT value, called SentTimeSlot _ good, which is equal to the minimum value of each transmission delay SentTimeSlot; namely: a sentTimeSlot _ good ═ sentTimeSlot _ good > sentTimeSlot ═ sentTimeSlot _ good; and when the SentTimeSlot _ good is not updated, the RTT jitter value SentTimeSlot _ jitter is determined as SentTimeSlot-SentTimeSlot _ good, the network condition in the sending direction is judged according to the SentTimeSlot _ jitter, and after the network condition is judged, the sending end follows the receiving end to cache the number of unprocessed data packets S1 and the receiving end application layer processing packet V1 to judge the congestion processing condition of the receiving end.
In one embodiment, fig. 2 is a flowchart of a network congestion processing method according to another embodiment, and as shown in fig. 2, the process of determining the network status of the sending end according to the relative variation of the difference in step S102 includes step S200 and step S201:
s200, determining the relative variation according to the difference and the difference of the set optimal time delay;
s201, determining the network state mapped by the relative variation according to the pre-established network mapping relation.
And determining the congestion processing state of the receiving end according to the number S1 of the data packets which are not processed by the receiving end and the speed V1 of the application layer processing packets of the receiving end, and representing the data packet processing capacity of the receiving end.
In one embodiment, the process of determining the congestion processing status of the receiving end according to the number of the packets that are not buffered in the receiving end and the packet processing speed of the application layer of the receiving end in step S103 includes step S300:
s300, according to the pre-established congestion mapping relation, determining the number of the data packets which are not processed by the receiving end and are received by the receiving end, S1, and the congestion processing state mapped by the speed V1 of the application layer of the receiving end for processing the packets.
And obtaining the characterization of the data channel according to the determined network state and the congestion processing state, wherein the characterization comprises transmission performance and processing performance. Based on the data transmission strategy, the data transmission strategy of the transmitting end is adjusted.
In one embodiment, the network status includes network good or network congestion; the congestion processing state comprises congestion processing smoothness or congestion processing congestion;
the data transmission strategy comprises the following steps:
when the network is good and the congestion processing is smooth, the data transmission strategy is normal transmission;
when the network is good and congestion is handled, the data transmission strategy is light frame loss transmission;
when the network is congested and the congestion is smooth to process, the data transmission strategy is mild intermittent frame loss transmission;
and or, when the network is congested and the congestion is processed, the data transmission strategy is to transmit the heavily-dropped frames.
In a data channel, queuing delay, transmission delay and system processing delay exist, the sum of the delays is reflected in a SentTimeSlot value, but the total SentTimeSlot value in different networks is different, for example, optical fiber transmission is faster than a coaxial cable, the SentTimeSlot delay of satellite-to-ground transmission may reach 300ms and the like, and the network condition cannot be accurately reflected by only depending on the SentTimeSlot value; therefore, within a certain limited time, the physical link through which data of both communication parties pass does not change greatly, but the degree of network bandwidth congestion changes to a major extent, so the relative change of the SentTimeSlot value has a reference value, and the network condition can be reflected very sensitively by the SentTimeSlot value. If the network is congested and data cannot be transmitted and received, for example, in a video conference system, a situation of multiple conferences or multiple terminals being concurrent may exist at the same time, and in addition to a network bottleneck, there may be reasons that the conference video is not smooth due to processing speed, a scheduling mechanism, and the like, which are necessarily expressed in processing speed and the remaining amount of a receiving buffer, and the network congestion may also be relieved by taking measures for responding to these variables by a sending end.
In one embodiment, the sending end sends the selected data sending policy to the receiving end, and the receiving end selects the corresponding frame confirmation mechanism according to the corresponding policy. For example, in a real-time video transmission system, appropriate acknowledgment retransmission can reduce the packet loss rate within a range allowed by a bandwidth, so as to ensure transmission quality, but when a network is congested, a corresponding acknowledgment retransmission mechanism is required, so that the phenomenon that the video blocking time is too long due to too long network congestion time caused by infinite retransmission is avoided.
Based on this, in one embodiment, after the data transmission policy is determined, the data transmission policy is notified to the receiving end through the heartbeat packet or the data packet. And when the receiving end does not receive the heartbeat packet or the data sending strategy corresponding to the data packet, indicating the receiving end to select a default frame confirmation mechanism. As a preferred embodiment, the default data transmission policy corresponding to the frame acknowledgement mechanism is: when the network is good and the congestion processing is smooth, the data transmission strategy is heavy frame loss transmission.
In one embodiment, after the receiving end selects the frame acknowledgement mechanism, the receiving end notifies the sending end by sending an acknowledgement packet to the sending end, so as to prevent the sending end from retransmitting data excessively.
In the network congestion processing method according to the above or another embodiment, the network probe packet is sent to the receiving end, and the response packet fed back by the receiving end is obtained. And determining the network state of the sending end according to the difference value between the first time stamp of the receiving end and the first time stamp of the sending end and the relative variation of the difference value, and determining the congestion processing state of the receiving end according to the number of the cache unprocessed data packets received by the receiving end and the packet processing speed of an application layer of the receiving end. And finally, determining a data sending strategy of the sending end according to the network state and the congestion processing state so as to adjust the video frame sending mode of the sending end. Based on the method, the video transmission jam time is effectively reduced through comprehensive judgment of the network state and the congestion processing state, the network congestion can be effectively reduced, and the normal transmission can be quickly recovered.
Based on the execution of the receiving end side, the embodiment of the invention also provides a network congestion processing method.
Fig. 3 is a flowchart of a network congestion processing method according to another embodiment, and as shown in fig. 3, the network congestion processing method according to the another embodiment includes steps S400 and S401:
s400, acquiring a network detection packet sent by a sending end; the network detection packet comprises a first timestamp of a sending end;
s401, feeding back a response packet to the sending end to indicate the sending end to determine a data sending strategy according to the response packet; the response packet comprises a first time stamp of a receiving end, a first time stamp of the sending end, the number of the data packets which are not processed by the receiving end receiving cache and the packet processing speed of the application layer of the receiving end; the data transmission strategy is used for adjusting the video frame transmission mode of the transmitting end.
In one embodiment, as shown in fig. 3, the network congestion processing method according to still another embodiment further includes step S402 and step S403:
s402, acquiring a notification that a sending end determines a data sending strategy;
s403, selecting a corresponding frame confirmation mechanism according to the data transmission strategy.
In one embodiment, as shown in fig. 3, the network congestion processing method according to another embodiment further includes step S404:
s404, when the notification cannot be obtained, selecting a default frame confirmation mechanism.
In one embodiment, as shown in fig. 3, a network congestion processing method according to yet another embodiment further includes step S405:
s405, after completing the selection of the frame confirmation mechanism, notifying the sender of the confirmation result.
In one embodiment, an embodiment of the present invention further provides a network congestion processing system, including a sending end and a receiving end;
wherein, the transmitting end is configured to execute the network congestion processing method of one embodiment or another embodiment; the receiving end is configured to perform a network congestion processing method of yet another embodiment.
An embodiment of the present invention further provides a network congestion processing apparatus, including:
the detection packet sending module is used for sending a network detection packet to a receiving end; the network detection packet comprises a first timestamp of a sending end;
the feedback acquisition module is used for acquiring a response packet fed back by the receiving end; the response packet comprises a first time stamp of a receiving end, a first time stamp of the sending end, the number of the data packets which are not processed by the receiving end receiving cache and the packet processing speed of the application layer of the receiving end;
the first state determining module is used for determining the network state of the sending end according to the difference value between the first time stamp of the receiving end and the first time stamp of the sending end and the relative variation of the difference value;
the second state determining module is used for determining the congestion processing state of the receiving end according to the number of the cache unprocessed data packets received by the receiving end and the packet processing speed of the application layer of the receiving end;
the strategy determining module is used for determining a data sending strategy of the sending end according to the network state and the congestion processing state; the data transmission strategy is used for adjusting a video frame transmission mode of a transmitting end.
The network congestion processing device sends the network detection packet to the receiving end and obtains the response packet fed back by the receiving end. And determining the network state of the sending end according to the difference value between the first time stamp of the receiving end and the first time stamp of the sending end and the relative variation of the difference value, and determining the congestion processing state of the receiving end according to the number of the cache unprocessed data packets received by the receiving end and the packet processing speed of an application layer of the receiving end. And finally, determining a data sending strategy of the sending end according to the network state and the congestion processing state so as to adjust the video frame sending mode of the sending end. Based on the method, the video transmission jam time is effectively reduced through comprehensive judgment of the network state and the congestion processing state, the network congestion can be effectively reduced, and the normal transmission can be quickly recovered.
An embodiment of the present invention further provides another network congestion processing apparatus, including:
the detection packet acquisition module is used for acquiring a network detection packet sent by a sending end; the network detection packet comprises a first timestamp of a sending end;
the feedback sending module is used for feeding back the response packet to the sending end so as to indicate the sending end to determine a data sending strategy according to the response packet; the response packet comprises a first time stamp of a receiving end, a first time stamp of the sending end, the number of the data packets which are not processed by the receiving end receiving cache and the packet processing speed of the application layer of the receiving end; the data transmission strategy is used for adjusting the video frame transmission mode of the transmitting end.
After the network congestion processing device obtains the network detection packet sent by the sending end, the network congestion processing device feeds back a response packet to the sending end so as to instruct the sending end to determine a data sending strategy according to the response packet; the response packet comprises a first time stamp of a receiving end, a first time stamp of the sending end, the number of the data packets which are not processed by the receiving end receiving cache and the packet processing speed of the application layer of the receiving end; the data transmission strategy is used for adjusting the video frame transmission mode of the transmitting end. Based on the method, the video transmission jam time is effectively reduced through comprehensive judgment of the network state and the congestion processing state, the network congestion can be effectively reduced, and the normal transmission can be quickly recovered.
The embodiment of the invention also provides a computer storage medium, on which computer instructions are stored, and the instructions are executed by a processor to implement the network congestion processing method of any one of the above embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, the computer program can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), scratch attribute information memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the methods of the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a RAM, a ROM, a magnetic or optical disk, or various other media that can store program code.
Corresponding to the computer storage medium, in one embodiment, a computer device is further provided, where the computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement any one of the network congestion handling methods in the embodiments.
The computer device may be a terminal, and its internal structure diagram may be as shown in fig. 4. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a network congestion handling method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
After the computer device obtains the network detection packet sent by the sending end, a response packet is fed back to the sending end to instruct the sending end to determine a data sending strategy according to the response packet; the response packet comprises a first time stamp of a receiving end, a first time stamp of the sending end, the number of the data packets which are not processed by the receiving end receiving cache and the packet processing speed of the application layer of the receiving end; the data transmission strategy is used for adjusting the video frame transmission mode of the transmitting end. Based on the method, the video transmission jam time is effectively reduced through comprehensive judgment of the network state and the congestion processing state, the network congestion can be effectively reduced, and the normal transmission can be quickly recovered.
Or after the network detection packet sent by the sending end is obtained, a response packet is fed back to the sending end to indicate the sending end to determine a data sending strategy according to the response packet; the response packet comprises a first time stamp of a receiving end, a first time stamp of the sending end, the number of the data packets which are not processed by the receiving end receiving cache and the packet processing speed of the application layer of the receiving end; the data transmission strategy is used for adjusting the video frame transmission mode of the transmitting end. Based on the method, the video transmission jam time is effectively reduced through comprehensive judgment of the network state and the congestion processing state, the network congestion can be effectively reduced, and the normal transmission can be quickly recovered.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only show some embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A network congestion processing method is characterized by comprising the following steps:
sending a network detection packet to a receiving end; wherein the network probe packet includes a sender-side first timestamp;
acquiring a response packet fed back by the receiving end; the response packet comprises a first time stamp of a receiving end, the first time stamp of the sending end, the number of the data packets which are not processed by the receiving end receiving cache and the packet processing speed of the application layer of the receiving end;
determining the network state of the sending end according to the difference value between the first time stamp of the receiving end and the first time stamp of the sending end and the relative variation of the difference value;
determining the congestion processing state of the receiving end according to the number of the data packets which are received and cached by the receiving end and the packet processing speed of the application layer of the receiving end;
determining a data sending strategy of the sending end according to the network state and the congestion processing state; the data transmission strategy is used for adjusting a video frame transmission mode of the transmitting end.
2. The method for processing network congestion according to claim 1, further comprising the steps of:
informing the receiving end of the data sending strategy to indicate the receiving end to select a corresponding frame confirmation mechanism;
and obtaining the feedback of the frame confirmation mechanism selected by the receiving end.
3. The method according to claim 1, wherein the process of determining the network status of the sender according to the relative variation of the difference value comprises:
determining the relative variation according to the difference between the difference and the set optimal time delay;
and determining the network state mapped by the relative variation according to a network mapping relation established in advance.
4. The method according to claim 1, wherein the process of determining the congestion handling status of the receiver according to the number of the packets that are not processed by the receiver and the packet processing speed of the application layer of the receiver comprises:
and determining the number of the data packets which are not processed by the receiving buffer of the receiving end and the congestion processing state of the speed mapping of the application layer processing packets of the receiving end according to the pre-established congestion mapping relation.
5. The method according to any one of claims 1 to 4, wherein the network status comprises network good or network congestion; the congestion processing state comprises congestion processing smoothness or congestion processing congestion;
the data transmission strategy comprises:
when the network is good and the congestion processing is smooth, the data transmission strategy is normal transmission;
when the network is good and congestion is handled, the data sending strategy is light frame loss sending;
when the network is congested and the congestion is smooth to process, the data transmission strategy is mild intermittent frame loss transmission;
and or, when the network is congested and the congestion is processed, the data transmission strategy is to transmit the heavily lost frame.
6. A network congestion processing method is characterized by comprising the following steps:
acquiring a network detection packet sent by a sending end; wherein the network probe packet includes a sender-side first timestamp;
feeding back a response packet to the sending end to indicate the sending end to determine a data sending strategy according to the response packet; the response packet comprises a first time stamp of a receiving end, the first time stamp of the sending end, the number of the data packets which are not processed by the receiving end receiving cache and the packet processing speed of the application layer of the receiving end; and the data transmission strategy is used for adjusting the video frame transmission mode of the transmitting end.
7. The method of claim 6, further comprising the steps of:
acquiring a notification that the sending end determines a data sending strategy;
and selecting a corresponding frame confirmation mechanism according to the data transmission strategy.
8. The method for handling network congestion according to claim 7, further comprising the steps of:
and when the notification cannot be acquired, selecting a default frame confirmation mechanism.
9. The method for handling network congestion according to claim 7, further comprising the steps of:
and after the selection of the frame confirmation mechanism is completed, the sending end is informed of the confirmation result.
10. A network congestion processing system is characterized by comprising a sending end and a receiving end;
wherein the transmitting end is configured to perform the network congestion processing method according to any one of claims 1 to 5; the receiving end is configured to perform the network congestion handling method according to any of claims 6 to 9.
CN202210708407.4A 2022-06-21 2022-06-21 Network congestion processing method and system Active CN115119068B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210708407.4A CN115119068B (en) 2022-06-21 2022-06-21 Network congestion processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210708407.4A CN115119068B (en) 2022-06-21 2022-06-21 Network congestion processing method and system

Publications (2)

Publication Number Publication Date
CN115119068A true CN115119068A (en) 2022-09-27
CN115119068B CN115119068B (en) 2023-07-18

Family

ID=83327994

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210708407.4A Active CN115119068B (en) 2022-06-21 2022-06-21 Network congestion processing method and system

Country Status (1)

Country Link
CN (1) CN115119068B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115499356A (en) * 2022-11-21 2022-12-20 深圳海智创科技有限公司 Data sending method, device, system, equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004007255A (en) * 2002-05-31 2004-01-08 Anritsu Corp Network band control apparatus
US20050265309A1 (en) * 2004-05-25 2005-12-01 Harshavardhan Parandekar Local area network services in a cable modem network
US8516121B1 (en) * 2008-06-30 2013-08-20 Symantec Corporation Method and apparatus for optimizing computer network usage to prevent congestion
WO2015147825A1 (en) * 2014-03-27 2015-10-01 Intel Corporation Systems and methods for reducing network signaling and congestion
CN105052112A (en) * 2013-03-13 2015-11-11 华为技术有限公司 System and method for compressing data associated with a buffer
CN105245368A (en) * 2015-10-09 2016-01-13 烽火通信科技股份有限公司 Method for controlling data synchronization of control entity and multiple transmission entities
CN108934044A (en) * 2017-05-27 2018-12-04 华为技术有限公司 Data pack transmission method and equipment
CN112866137A (en) * 2020-12-31 2021-05-28 中国科学院计算机网络信息中心 Data transmission control method based on congestion algorithm of different packet sending modes
CN113507420A (en) * 2021-08-05 2021-10-15 清华大学 Congestion control method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004007255A (en) * 2002-05-31 2004-01-08 Anritsu Corp Network band control apparatus
US20050265309A1 (en) * 2004-05-25 2005-12-01 Harshavardhan Parandekar Local area network services in a cable modem network
US8516121B1 (en) * 2008-06-30 2013-08-20 Symantec Corporation Method and apparatus for optimizing computer network usage to prevent congestion
CN105052112A (en) * 2013-03-13 2015-11-11 华为技术有限公司 System and method for compressing data associated with a buffer
WO2015147825A1 (en) * 2014-03-27 2015-10-01 Intel Corporation Systems and methods for reducing network signaling and congestion
CN105245368A (en) * 2015-10-09 2016-01-13 烽火通信科技股份有限公司 Method for controlling data synchronization of control entity and multiple transmission entities
CN108934044A (en) * 2017-05-27 2018-12-04 华为技术有限公司 Data pack transmission method and equipment
CN112866137A (en) * 2020-12-31 2021-05-28 中国科学院计算机网络信息中心 Data transmission control method based on congestion algorithm of different packet sending modes
CN113507420A (en) * 2021-08-05 2021-10-15 清华大学 Congestion control method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
KAO-SHING HWANG等: "Cooperative multiagent congestion control for high-speed networks", IEEE TRANSACTIONS ON SYSTEMS, MAN, AND CYBERNETICS, PART B (CYBERNETICS), pages 255 *
毛奇凰 等: "TCP拥塞控制算法研究", 洛阳工业高等专科学校学报, no. 03, pages 7 - 10 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115499356A (en) * 2022-11-21 2022-12-20 深圳海智创科技有限公司 Data sending method, device, system, equipment and storage medium

Also Published As

Publication number Publication date
CN115119068B (en) 2023-07-18

Similar Documents

Publication Publication Date Title
US10462707B2 (en) Data transmission method and apparatus
US7151747B2 (en) Controlling method of priority class setup of communication packet and system of the same
US6622172B1 (en) Dynamically delayed acknowledgement transmission system
US8542588B2 (en) Invoking different wireless link rate selection operations for different traffic classes
US7180896B1 (en) Method and system for packet retransmission
JP4101993B2 (en) Wired and wireless mixed network data distribution apparatus and wired and wireless mixed network data distribution method
US7707303B2 (en) Method and devices for controlling retransmissions in data streaming
KR20170135107A (en) Data Transmission Method and Computing Apparatus Provided with Data Transmission Function
JP2004266840A (en) Controlling admission of data stream onto network based on end-to-end measurement
CN110366202B (en) Air interface link congestion feedback method, device and equipment and storage medium
US20040105463A1 (en) Method for enhancing transmission quality of streaming media
US20020141353A1 (en) Method and device for improving a data throughput
CN106878192B (en) Data scheduling method of self-adaptive MPTCP
CN113014505B (en) Transmission control method for time delay differentiation in high dynamic topology satellite network
CN111314237A (en) Method, device and equipment for adjusting data packet transmission rate and readable storage medium
CN115119068B (en) Network congestion processing method and system
CN113438180B (en) Transmission control method, device and equipment for UDP (user Datagram protocol) data packet and readable storage medium
CN116489472A (en) Video stream transmission method and device, electronic equipment and storage medium
CN117156167A (en) Self-adaptive data transmission method and device of fusion transmission system
CN104580006B (en) A kind of mobile network's method of controlling transmission rate, apparatus and system
CN117676695A (en) TCP transmission method, device and system
CN113141239B (en) Data retransmission method, device, equipment and storage medium
US20040148422A1 (en) Communication control method, communication system, and communication apparatus that can improve throughput
CN114422425A (en) Multilink aggregated data transmission method, system, device and storage medium
JP6200870B2 (en) Data transfer control device, method and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant