CN111756641A - Adjusting method of sending equipment and communication device - Google Patents

Adjusting method of sending equipment and communication device Download PDF

Info

Publication number
CN111756641A
CN111756641A CN201910242666.0A CN201910242666A CN111756641A CN 111756641 A CN111756641 A CN 111756641A CN 201910242666 A CN201910242666 A CN 201910242666A CN 111756641 A CN111756641 A CN 111756641A
Authority
CN
China
Prior art keywords
information
sending
packet
message
adjustment
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
CN201910242666.0A
Other languages
Chinese (zh)
Other versions
CN111756641B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910242666.0A priority Critical patent/CN111756641B/en
Priority to PCT/CN2020/078319 priority patent/WO2020192397A1/en
Publication of CN111756641A publication Critical patent/CN111756641A/en
Application granted granted Critical
Publication of CN111756641B publication Critical patent/CN111756641B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/11Identifying congestion
    • 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/12Avoiding congestion; Recovering from congestion
    • 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/26Flow control; Congestion control using explicit feedback to the source, e.g. choke packets
    • 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/28Flow control; Congestion control in relation to timing considerations
    • 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/28Flow control; Congestion control in relation to timing considerations
    • H04L47/283Flow control; Congestion control in relation to timing considerations in response to processing delays, e.g. caused by jitter or round trip time [RTT]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides an adjusting method of sending equipment, which is applied to detecting equipment and comprises the following steps: receiving at least one first message from a sending device, obtaining network state information corresponding to the at least one first message according to the at least one first message, determining adjustment information of the sending device according to the network state information corresponding to the at least one first message, and sending a second message to the sending device, wherein the second message carries the adjustment information of the sending device. The detection equipment can directly adjust the sending equipment according to the received message, the adjustment speed is high, and the generation of network congestion can be reduced.

Description

Adjusting method of sending equipment and communication device
Technical Field
The embodiment of the application relates to the technical field of communication, and in particular relates to an adjusting method of a sending device and a communication device.
Background
With the development of technology and increasing demand, traffic in networks (e.g., traffic in data center networks) has recently shown a tendency to grow explosively.
At present, the service quality problem of the network is mainly caused by network congestion, and the network congestion refers to a phenomenon that the rate is reduced and extra delay is introduced due to insufficient network resources. How to reduce the generation of network congestion is one of the problems that needs to be solved urgently.
Disclosure of Invention
The embodiment of the application provides an adjusting method of sending equipment and a communication device, which can reduce the generation of network congestion.
In a first aspect, a method for adjusting a sending device, applied to a detection device, includes: receiving at least one first message from a sending device; obtaining network state information corresponding to the at least one first message according to the at least one first message; determining adjustment information of the sending equipment according to the network state information corresponding to the at least one first message respectively; and sending a second message to the sending equipment, wherein the second message carries the adjustment information of the sending equipment.
In one possible design, the adjustment information of the sending device is at least one of the following information: transmitting parameter adjustment information, transmitting model adjustment information, and transmitting policy adjustment information.
In one possible design, the transmission parameter adjustment information is adjustment information of at least one of the following transmission parameters: the adjustment period of the sending rate, the initial sending rate of the new service flow and the adjustment proportion of the sending rate.
In one possible design, the transmission model adjustment information is adjustment information between the following transmission models: an exponential rate recovery model and a linear rate recovery model.
In one possible design, the transmission policy adjustment information is adjustment information between the following transmission policies: an active packetization strategy and a passive packetization strategy.
In a possible design, the second packet is a CNP packet, or the second packet is an LLDP packet.
In a possible design, the first packet carries first information, where the first information is used to indicate network state information corresponding to the first packet, and the first information is added to the first packet by an intermediate device between a sending device and a detecting device.
In one possible design, the first information is ECN marks.
In a possible design, the first packet carries second information, where the second information is information of the sending device when the sending device sends the first packet, and before obtaining the network state information corresponding to each of the at least one first packet, the method further includes: acquiring third information, wherein the third information is information of the detection equipment when the detection equipment receives the first message; and determining network state information corresponding to the first message according to the second information and the third information.
In a possible design, the second information is time information of the sending device when the sending device sends the first packet, and the third information is time information of the detecting device when the detecting device receives the first packet.
In a second aspect, a method for adjusting a sending device is provided, and applied to the sending device, the method includes: sending at least one first message to the detection equipment; receiving a second message from the detection device, wherein the second message carries the adjustment information of the sending device; and adjusting according to the adjustment information of the sending equipment.
In one possible design, the adjustment information of the sending device is at least one of the following information: transmitting parameter adjustment information, transmitting model adjustment information, and transmitting policy adjustment information.
In one possible design, the transmission parameter adjustment information is adjustment information of at least one of the following transmission parameters: the adjustment period of the sending rate, the initial sending rate of the new service flow and the adjustment proportion of the sending rate.
In one possible design, the transmission model adjustment information is adjustment information between the following transmission models: an exponential rate recovery model and a linear rate recovery model.
In one possible design, the transmission policy adjustment information is adjustment information between the following transmission policies: an active packetization strategy and a passive packetization strategy.
In a possible design, the second packet is a CNP packet, or the second packet is an LLDP packet.
In a third aspect, a communication device is provided, which includes means for performing the steps of the method in any one of the possible implementations of the first to second aspects and the first to second aspects.
In one possible design, the communication device is a communication chip that may include an input circuit or interface for sending information or data and an output circuit or interface for receiving information or data.
In one possible design, the communication device is a communication device (e.g., a base station, a router, a switch, etc.) that may include a transmitter for transmitting information or data and a receiver for receiving information or data.
In a fourth aspect, a communication device is provided that includes a transceiver, a processor, and a memory. The processor is configured to control the transceiver to transceive signals, the memory is configured to store a computer program, and the processor is configured to retrieve and execute the computer program from the memory, so that the communication device performs the method of any possible implementation manner of the aspect to the second aspect and the first aspect to the second aspect.
Optionally, the number of the processors is one or more, and the number of the memories is one or more.
Alternatively, the memory may be integral to the processor or provided separately from the processor.
In a fifth aspect, a processor is provided that includes an input circuit, an output circuit, and a processing circuit. The processing circuit is configured to receive a signal through the input circuit and transmit a signal through the output circuit, so that the processor performs the method of any one of the possible implementations of the first to second aspects and the first to second aspects.
In one possible design, the processor may be a chip, the input circuit may be an input pin, the output circuit may be an output pin, and the processing circuit may be a transistor, a gate circuit, a flip-flop, various logic circuits, and the like. The input signal received by the input circuit may be received and input by, for example and without limitation, a receiver, the signal output by the output circuit may be output to and transmitted by a transmitter, for example and without limitation, and the input circuit and the output circuit may be the same circuit that functions as the input circuit and the output circuit, respectively, at different times. The embodiment of the present application does not limit the specific implementation manner of the processor and various circuits.
In a sixth aspect, a processing apparatus is provided that includes a memory and a processor. The processor is configured to read the instructions stored in the memory, and may receive a signal through the receiver and transmit a signal through the transmitter to perform the method of any one of the possible implementations of the first aspect to the second aspect and the first aspect to the second aspect.
Optionally, the number of the processors is one or more, and the number of the memories is one or more.
Alternatively, the memory may be integral to the processor or provided separately from the processor.
In a specific implementation process, the memory may be a non-transient memory, such as a Read Only Memory (ROM), which may be integrated on the same chip as the processor, or may be separately disposed on different chips.
In a seventh aspect, a chip is provided, which includes a processor and a memory, where the memory is used to store a computer program, the processor is used to call and run the computer program from the memory, and the computer program is used to implement the method in any one of the possible implementation manners of the first aspect to the second aspect and the first aspect to the second aspect.
In an eighth aspect, there is provided a computer program product comprising: a computer program (which may also be referred to as code, or instructions), which when executed, causes a computer to perform the method of any of the possible implementations of the first to second aspects and the first to second aspects described above.
In a ninth aspect, a computer-readable medium is provided, which stores a computer program (which may also be referred to as code or instructions) that, when executed on a computer, causes the computer to perform the method of any one of the possible implementations of the first to second aspects and the first to second aspects.
Drawings
Fig. 1 is a schematic diagram of a network system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of an adjusting method of a sending device according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of another adjustment method for a sending device according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another adjustment method for a sending device according to an embodiment of the present application;
fig. 5 is a schematic flowchart of a method for adjusting a sending device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a communication device according to an embodiment of the present application.
Detailed Description
As shown in fig. 1, a schematic diagram of a network system provided in this embodiment of the present application includes 6 switching devices in total, where the switching device 111 is connected to two terminal devices, that is, a terminal device 111a and a terminal device 111b, of a switching device 101, a switching device 102, a switching device 111, a switching device 112, a switching device 113, and a switching device 114; the switching device 112 is connected with two terminal devices, namely a terminal device 112a and a terminal device 112 b; the switching device 113 is connected with two terminal devices, namely a terminal device 113a and a terminal device 113 b; to the switching device 114, two terminal devices, a terminal device 114a and a terminal device 114b, are connected. The terminal devices under the same switching device can communicate, and the terminal devices under different switching devices can communicate. The network system shown in fig. 1 is only a simple example, and an actual network system may be more complicated or simpler.
Suppose that a terminal device 111a sends a service to a terminal device 114b through a switching device, there are two possible service paths, where the first service path is 111 a-111-; the second traffic path is 111 a-111-.
Fig. 2 is a schematic flow chart of an adjusting method of a sending device according to an embodiment of the present application.
S201, the sending device sends at least one first message to the detecting device.
S202, the detection device receives the at least one first message, obtains the network state information corresponding to the at least one first message according to the at least one first message, determines the adjustment information of the sending device according to the network state information corresponding to the at least one first message, and sends a second message to the sending device, wherein the second message carries the adjustment information of the sending device.
S203, the sending equipment receives the second message and adjusts according to the adjusting information of the sending equipment.
In one possible implementation, the adjustment information of the sending device is at least one of the following information: transmitting parameter adjustment information, transmitting model adjustment information, and transmitting policy adjustment information. Wherein the transmission parameter adjustment information is adjustment information of at least one of the following transmission parameters: the adjustment period of the sending rate, the initial sending rate of the new service flow and the adjustment proportion of the sending rate; the transmission model adjustment information is adjustment information between the following transmission models: an exponential rate recovery model and a linear rate recovery model; the transmission strategy adjustment information is adjustment information between the following transmission strategies: an active packetization strategy and a passive packetization strategy.
The detection device in the embodiment of the present application may be a destination device that receives a packet, or may be an intermediate forwarding device.
In the embodiment of the present application, each first packet corresponds to one piece of network state information, and three specific implementation manners are provided below.
In a first mode
When an intermediate device between a sending device and a detecting device forwards a first message, adding first information in the first message, where the first information is used to indicate network state information corresponding to the first message, for example, when the length of a forwarding queue of the intermediate device exceeds a set threshold or meets other specific conditions, adding an Explicit Congestion Notification (ECN) flag or other network state information (e.g., cache queue state information) in the first message. And the detection equipment obtains the network state information corresponding to the first message according to the first information in the first message.
Mode two
When sending a first message, a sending device adds second information to the first message, the second information being information of the sending device when the sending device sends the first message, and a detecting device can obtain third information, the third information being information of the detecting device when the detecting device receives the first message. The detection device may determine, according to the second information and the third information, network state information corresponding to the first packet.
For example, the sending device adds, to a first packet, time information of the sending device when the sending device sends the first packet, which is hereinafter referred to as first time, and the detecting device obtains, when the detecting device receives the first packet, time information of the detecting device, which is hereinafter referred to as second time. If the time between the sending device and the detection device is synchronous, the time delay of the first message transmission can be obtained according to the time difference between the second time and the first time, and the network state information of the first message can be obtained according to the time delay; if the sending device and the detecting device are not time-synchronized, the time delay change of the first message transmission can be obtained according to the time difference change between different first messages, and then the network state information is obtained, for example, the network state becomes worse when the time difference becomes larger, and the network state becomes better when the time difference becomes smaller.
Mode III
When the sending device sends the first message, fourth information is added to the first message, and the detection device can determine network state information corresponding to the first message according to the received fourth information of different first messages.
For example, the fourth information is sequence information of the first packet, and the detection device may obtain, according to the received fourth information of different first packets, a packet loss condition or a disorder condition of the first packet, so as to obtain network state information corresponding to the first packet.
In this embodiment, the detection device may determine the adjustment information of the sending device according to the network state information corresponding to the at least one first packet, and two specific implementation manners are provided below.
In a first mode
The network state information of the plurality of first messages may be counted according to a time period, may be counted according to a preset number of received first messages, and of course, other counting manners may also be adopted.
According to the statistical result, the change of the network state can be determined, and whether the sending device is adjusted or not and how to adjust the sending device can be further determined.
Mode two
And substituting the network state information of at least one first message into a specific algorithm for calculation, and determining whether to adjust the sending equipment or not and how to adjust the sending equipment according to the calculation result.
In this embodiment of the present application, the existing Packet may be extended to carry the adjustment information of the sending device, for example, the adjustment information of the sending device may be carried by using a Congestion Notification Packet (CNP) Packet, a Link Level Discovery Protocol (LLDP) Packet, an Acknowledgement (ACK) Packet, and the like.
In the embodiment of the application, the detection device may adjust the sending device in units of flows, receive a flow message from the network, determine whether the flow has ended, if not, process the network status information corresponding to the message, the processing process may be to count the network status information of a plurality of messages, or to calculate by substituting the network status information into an agreed algorithm, the processing result may be whether to adjust the sending device or how to adjust the sending device, and then determine whether a condition for sending a notification message is satisfied, if so, encapsulate the processing result into the notification message, and send the notification message to the sending device.
In this embodiment, the sending device may perform adjustment in units of flows, receive the notification message from the detecting device, extract adjustment information from the notification message, determine whether the corresponding flow ends, and perform adjustment according to the adjustment information if the corresponding flow does not end, for example, adjust a sending parameter, adjust a sending mode, and adjust a sending policy.
The embodiment of the present application may perform adjustment in units of flows, where there is only one traffic path of one flow in a normal case, and there may be multiple traffic paths of one flow in a load sharing case, for example, there may be two traffic paths of one flow between the terminal device 111a and the terminal device 114b in fig. 1.
In a possible design, the adjustment may not be performed in units of flows, for example, all flows between the sending device and the detecting device may be adjusted simultaneously, or a flow that may be newly added in the future between the sending device and the detecting device may be adjusted (for example, an initial sending rate of a new traffic flow is adjusted).
Fig. 3 is a schematic flow chart of another adjustment method for a sending device according to an embodiment of the present application.
S301, the sending device sends a Remote direct memory access (Remote direct memory access Over converted Ethernet Version 2, RoCEv2) Data packet stream carried by the aggregate Ethernet to the detecting device, and sends a control algorithm, which is a Data Center Quantized Congestion Notification (DCQCN) algorithm, including ten or more parameters, such as an initial rate, a slow-down period, and a fast-up period.
S302, the message is forwarded by the intermediate equipment between the sending equipment and the detecting equipment, and when the queue backlog length exceeds a set threshold or meets other specific conditions, the intermediate equipment can add an ECN mark or other state information in the forwarded message;
s303, after receiving the message with the ECN mark, the detection device counts or further processes the ECN mark (or other state information), and after a specified time period or after cumulatively receiving a specified number of messages, according to the processing result, determines whether to inform the source device to adjust the DCQCN parameter and how to adjust, if so, generates a CNP message, carries a field requiring the adjustment parameter in the CNP message, and sends the CNP message to the sending device;
s304, the sending equipment receives a CNP message carrying a parameter adjusting field from the detection equipment, and adjusts DCQCN parameters (such as increasing the speed raising period) according to the adjustment parameter information in the message;
after the parameters are adjusted, the sending device sends the messages according to the adjusted DCQCN parameters, so that the network performance is optimized, such as time delay is reduced or throughput is improved.
Fig. 4 is a schematic flow chart of another adjustment method for a sending device according to an embodiment of the present application.
S401, sending a data message stream to a detection device by a sending device, wherein the message carries timestamp information when the message is sent, and a default sending strategy is an active packet sending strategy (without applying for a sending limit to a destination end before the message is sent);
s402, detecting that the device receives the data message, reading and processing the timestamp in the message, after receiving the message with the specified number after the specified time or accumulation, determining whether to inform the sending device to switch the sending strategy according to the processing result of the timestamp such as statistics or calculation, if the switching is needed, generating the informing message (the message format can refer to CNP, or other defined formats), and sending the informing message to the sending device;
s403, the sending device receives the notification message from the detection device, and switches the sending strategy into a passive sending strategy (requiring to apply for sending quota to the destination end before sending the message) according to the strategy switching information carried in the message;
and after the sending strategy is switched, the sending equipment sends the message by using the passive sending strategy.
Fig. 5 is a schematic flow chart of a further method for adjusting a sending device according to an embodiment of the present application.
S501, sending a plurality of RoCEv2 data message flows to detection equipment by sending equipment, wherein a sending control algorithm is a DCQCN algorithm;
s502, the detection device receives the data message, counts or further processes the number of the data message streams, and after a specified time period or after cumulatively receiving a specified number of messages, determines whether to notify the source device to adjust the DCQCN parameters, especially the parameters acting on the new data message stream, and how to adjust according to the processing result, if the adjustment is needed, generates a CNP message (or notification message with other format), carries the field requiring the adjustment of the parameters in the CNP message, and sends the CNP message to the sending device;
s503, the sending device receives the message carrying the parameter adjusting field from the detecting device, and adjusts the DCQCN parameters (for example, reduces the initial sending rate of the new data message flow) according to the adjusting parameter information carried in the message;
after the parameters are adjusted, the sending equipment sends the messages according to the adjusted DCQCN parameters, so that the burst flow in the network is reduced, and the network congestion is avoided.
In the embodiment of the application, the detection device adjusts the sending device according to the network state information of the first message. The detection equipment can process according to the original network state information of each first message, and the processing precision is high. Compared with the method for transmitting the network state information to the sending equipment, the method can finish the processing of the network state information earlier, reduce the data volume needing to be transmitted and has small influence on the network load. The detection device adjusts the sending device through the second message, the second message may not be a high-frequency message, and is suitable for more application scenarios.
The embodiment of the application is applicable to various devices with message editing and transceiving capabilities, and is not limited to network terminal devices and hardware devices. The embodiment of the application is suitable for various network state information acquisition methods, is not limited to marking methods similar to ECN, is not limited to sending messages carrying timestamps by sending equipment, and can also be used for adding real-time network state data to intermediate equipment. The embodiment of the application is suitable for processing various network state information, and is not limited to quantity statistics, proportion statistics or algorithm processing and the like. The method and the device for carrying the feedback information are applicable to various carrying methods of the feedback information, and can construct a new type of notification message packaging format or utilize the existing message to carry the feedback information and the like.
According to the foregoing method, fig. 6 is a schematic structural diagram of a communication apparatus 6 provided in an embodiment of the present application, and as shown in fig. 6, the communication apparatus may be one of a transmitting device, an intermediate device, and a detecting device, or may be a chip or a circuit, for example, a chip or a circuit that may be disposed in one of the transmitting device, the intermediate device, and the detecting device.
The communication apparatus 6 may comprise a processing unit 601 and a storage unit 602, the storage unit 602 being configured to store instructions, the processing unit 601 being configured to execute the instructions stored by the storage unit 602, so as to enable the communication apparatus 6 to implement the steps performed by one of the sending device, the intermediate device and the detecting device in the method as described above.
Further, the communication device 6 may also include an input 603 and an output 604. Further, the processing unit 601, the memory unit 602, the input port 603 and the output port 604 may communicate with each other via internal connection paths, passing control and/or data signals. The storage unit 602 is used for storing a computer program, and the processing unit 601 may be used for calling and running the computer program from the storage unit 602 to control the input port 603 to receive a signal and the output port 604 to send a signal, so as to complete the steps executed by one of the sending device, the intermediate device and the detecting device in the above method. The storage unit 602 may be integrated into the processing unit 601, or may be provided separately from the processing unit 601.
Alternatively, if the communication device 6 is a communication device, the input port 603 is a receiver and the output port 604 is a transmitter. Wherein the receiver and the transmitter may be the same or different physical entities. When the same physical entity, may be collectively referred to as a transceiver.
Alternatively, if the communication device 6 is a chip or a circuit, the input port 603 is an input interface, and the output port 604 is an output interface.
As an implementation manner, the functions of the input port 603 and the output port 604 can be realized by a transceiver circuit or a dedicated chip for transceiving. The processing unit 601 may be considered to be implemented by a dedicated processing chip, a processing circuit, a processing unit or a general-purpose chip.
As another implementation manner, a receiving apparatus provided in the embodiment of the present application may be implemented by using a general-purpose computer. Program codes that will realize the functions of the processing unit 601, the input port 603, and the output port 604 are stored in the storage unit 602, and a general-purpose processing unit realizes the functions of the processing unit 601, the input port 603, and the output port 604 by executing the codes in the storage unit 602.
In one implementation, the communication device 6 is a detection device, and the input port 603 is configured to receive at least one first message from a sending device; a processing unit 601, configured to obtain network state information corresponding to the at least one first packet according to the at least one first packet, and determine adjustment information of the sending device according to the network state information corresponding to the at least one first packet; an output port 604, configured to send a second packet to the sending device, where the second packet carries adjustment information of the sending device.
Optionally, the adjustment information of the sending device is at least one of the following information: transmitting parameter adjustment information, transmitting model adjustment information, and transmitting policy adjustment information.
Optionally, the sending parameter adjustment information is adjustment information of at least one of the following sending parameters: the adjustment period of the sending rate, the initial sending rate of the new service flow and the adjustment proportion of the sending rate.
Optionally, the sending model adjustment information is adjustment information between the following sending models: an exponential rate recovery model and a linear rate recovery model.
Optionally, the sending policy adjustment information is adjustment information between the following sending policies: an active packetization strategy and a passive packetization strategy.
Optionally, the second packet is a CNP packet, or the second packet is an LLDP packet.
Optionally, the first packet carries first information, where the first information is used to indicate network state information corresponding to the first packet, and the first information is added to the first packet by an intermediate device between the sending device and the detecting device.
Optionally, the first information is an ECN mark.
Optionally, the first packet carries second information, where the second information is information of the sending device when the sending device sends the first packet, the processing unit 601 is further configured to obtain third information, where the third information is information of the detecting device when the detecting device receives the first packet, and determine, according to the second information and the third information, network state information corresponding to the first packet.
Optionally, the second information is time information of the sending device when the sending device sends the first packet, and the third information is time information of the detecting device when the detecting device receives the first packet.
In one implementation, the communication device 6 is a sending device, and the output port 604 is configured to send at least one first packet to the detecting device; an input port 603, configured to receive a second message from the detection device, where the second message carries adjustment information of the sending device; a processing unit 601, configured to perform adjustment according to the adjustment information of the sending apparatus.
Optionally, the adjustment information of the sending device is at least one of the following information: transmitting parameter adjustment information, transmitting model adjustment information, and transmitting policy adjustment information.
Optionally, the sending parameter adjustment information is adjustment information of at least one of the following sending parameters: the adjustment period of the sending rate, the initial sending rate of the new service flow and the adjustment proportion of the sending rate.
Optionally, the sending model adjustment information is adjustment information between the following sending models: an exponential rate recovery model and a linear rate recovery model.
Optionally, the sending policy adjustment information is adjustment information between the following sending policies: an active packetization strategy and a passive packetization strategy.
Optionally, the second packet is a CNP packet, or the second packet is an LLDP packet.
The functions and actions of the modules or units in the communication apparatus 6 listed above are only exemplary descriptions, and the modules or units in the communication apparatus 6 may be used to execute each action or processing procedure executed by a communication device (e.g., one of a sending device, an intermediate device, and a detecting device) in the above method, and here, detailed descriptions thereof are omitted to avoid redundancy.
For the concepts, explanations, details and other steps related to the technical solutions provided in the embodiments of the present application related to the communication device 6, reference is made to the descriptions of the foregoing methods or other embodiments, which are not described herein again.
It should be understood that the processor in the embodiments of the present application may be a Central Processing Unit (CPU), and the processor may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will also be appreciated that the memory in the embodiments of the subject application can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The non-volatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of example, but not limitation, many forms of Random Access Memory (RAM) are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (enhanced SDRAM, ESDRAM), synchronous link SDRAM (SLDRAM), and direct bus DRAM (DRDRAM).
The above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions or computer programs. The procedures or functions according to the embodiments of the present application are wholly or partially generated when the computer instructions or the computer program are loaded or executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more collections of available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. The semiconductor medium may be a solid state disk.
It should be understood that the term "and/or" herein is merely one type of association relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application. 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. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, 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 through some interfaces, devices or units, 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 computer readable storage medium. 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 U disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (32)

1. A method for adjusting a sending device is applied to a detection device, and is characterized by comprising the following steps:
receiving at least one first message from a sending device;
obtaining network state information corresponding to the at least one first message according to the at least one first message;
determining adjustment information of the sending equipment according to the network state information corresponding to the at least one first message respectively;
and sending a second message to the sending equipment, wherein the second message carries the adjustment information of the sending equipment.
2. The method of claim 1, wherein the adjustment information of the sending device is at least one of the following information: transmitting parameter adjustment information, transmitting model adjustment information, and transmitting policy adjustment information.
3. The method of claim 2, wherein the transmission parameter adjustment information is adjustment information of at least one of the following transmission parameters: the adjustment period of the sending rate, the initial sending rate of the new service flow and the adjustment proportion of the sending rate.
4. The method of claim 2, wherein the transmission model adjustment information is adjustment information between the following transmission models: an exponential rate recovery model and a linear rate recovery model.
5. The method of claim 2, wherein the transmission policy adjustment information is adjustment information between the following transmission policies: an active packetization strategy and a passive packetization strategy.
6. The method of claim 1, wherein the second packet is a Congestion Notification Packet (CNP) packet or the second packet is a Link Layer Discovery Protocol (LLDP) packet.
7. The method according to claim 1, wherein the first packet carries first information, the first information is used to indicate network status information corresponding to the first packet, and the first information is added to the first packet by an intermediate device between a sending device and a detecting device.
8. The method of claim 7, wherein the first information is Explicit Congestion Notification (ECN) marking.
9. The method according to claim 1, wherein the first packet carries second information, the second information is information of the sending device when the sending device sends the first packet, and before obtaining the network state information corresponding to each of the at least one first packet, the method further comprises:
acquiring third information, wherein the third information is information of the detection equipment when the detection equipment receives the first message;
and determining network state information corresponding to the first message according to the second information and the third information.
10. The method according to claim 9, wherein the second information is time information of the sending device when the sending device sends the first packet, and the third information is time information of the detecting device when the detecting device receives the first packet.
11. A method for adjusting a transmitting device is applied to the transmitting device, and is characterized by comprising the following steps:
sending at least one first message to the detection equipment;
receiving a second message from the detection device, wherein the second message carries the adjustment information of the sending device;
and adjusting according to the adjustment information of the sending equipment.
12. The method of claim 11, wherein the adjustment information of the sending device is at least one of the following information: transmitting parameter adjustment information, transmitting model adjustment information, and transmitting policy adjustment information.
13. The method of claim 12, wherein the transmission parameter adjustment information is adjustment information of at least one of the following transmission parameters: the adjustment period of the sending rate, the initial sending rate of the new service flow and the adjustment proportion of the sending rate.
14. The method of claim 12, wherein the transmission model adjustment information is adjustment information between the following transmission models: an exponential rate recovery model and a linear rate recovery model.
15. The method of claim 12, wherein the transmission policy adjustment information is adjustment information between the following transmission policies: an active packetization strategy and a passive packetization strategy.
16. The method of claim 11, wherein the second packet is a Congestion Notification Packet (CNP) packet or the second packet is a Link Layer Discovery Protocol (LLDP) packet.
17. A communications apparatus, comprising:
a receiver for receiving at least one first message from a transmitting device;
the processor is used for obtaining the network state information corresponding to the at least one first message according to the at least one first message, and determining the adjustment information of the sending equipment according to the network state information corresponding to the at least one first message;
and the transmitter is used for transmitting a second message to the transmitting equipment, wherein the second message carries the adjustment information of the transmitting equipment.
18. The apparatus according to claim 17, wherein the adjustment information of the transmitting device is at least one of the following information: transmitting parameter adjustment information, transmitting model adjustment information, and transmitting policy adjustment information.
19. The communications apparatus as claimed in claim 18, wherein the transmission parameter adjustment information is adjustment information of at least one of the following transmission parameters: the adjustment period of the sending rate, the initial sending rate of the new service flow and the adjustment proportion of the sending rate.
20. The communication apparatus according to claim 18, wherein the transmission model adjustment information is adjustment information between the following transmission models: an exponential rate recovery model and a linear rate recovery model.
21. The communications apparatus as claimed in claim 18, wherein the transmission policy adjustment information is adjustment information between the following transmission policies: an active packetization strategy and a passive packetization strategy.
22. The apparatus according to claim 17, wherein the second packet is a Congestion Notification Packet (CNP) packet or a Link Layer Discovery Protocol (LLDP) packet.
23. The apparatus according to claim 17, wherein the first packet carries first information, the first information is used to indicate network status information corresponding to the first packet, and the first information is added to the first packet by an intermediate device between a sending device and a detecting device.
24. The communications apparatus of claim 23, wherein the first information is Explicit Congestion Notification (ECN) marking.
25. The communications apparatus according to claim 17, wherein the first packet carries second information, the second information is information of the sending device when the sending device sends the first packet, the processor is further configured to obtain third information, the third information is information of the detecting device when the detecting device receives the first packet, and network status information corresponding to the first packet is determined according to the second information and the third information.
26. The apparatus according to claim 25, wherein the second information is time information of the sending device when the sending device sends the first packet, and the third information is time information of the detecting device when the detecting device receives the first packet.
27. A communications apparatus, comprising:
the transmitter is used for transmitting at least one first message to the detection equipment;
the receiver is used for receiving a second message from the detection device, wherein the second message carries the adjustment information of the sending device;
and the processor is used for adjusting according to the adjusting information of the sending equipment.
28. The apparatus according to claim 27, wherein the adjustment information of the transmitting device is at least one of the following information: transmitting parameter adjustment information, transmitting model adjustment information, and transmitting policy adjustment information.
29. The communications apparatus as claimed in claim 28, wherein the transmission parameter adjustment information is adjustment information of at least one of the following transmission parameters: the adjustment period of the sending rate, the initial sending rate of the new service flow and the adjustment proportion of the sending rate.
30. The communications apparatus as claimed in claim 28, wherein the transmission model adjustment information is adjustment information between the following transmission models: an exponential rate recovery model and a linear rate recovery model.
31. The communications apparatus as claimed in claim 28, wherein the transmission policy adjustment information is adjustment information between the following transmission policies: an active packetization strategy and a passive packetization strategy.
32. The communications apparatus as claimed in claim 27, wherein the second packet is a Congestion Notification Packet (CNP) packet or a Link Layer Discovery Protocol (LLDP) packet.
CN201910242666.0A 2019-03-28 2019-03-28 Adjustment method of transmitting equipment and communication device Active CN111756641B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910242666.0A CN111756641B (en) 2019-03-28 2019-03-28 Adjustment method of transmitting equipment and communication device
PCT/CN2020/078319 WO2020192397A1 (en) 2019-03-28 2020-03-07 Adjustment method for transmitting apparatus and communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910242666.0A CN111756641B (en) 2019-03-28 2019-03-28 Adjustment method of transmitting equipment and communication device

Publications (2)

Publication Number Publication Date
CN111756641A true CN111756641A (en) 2020-10-09
CN111756641B CN111756641B (en) 2024-07-09

Family

ID=72610195

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910242666.0A Active CN111756641B (en) 2019-03-28 2019-03-28 Adjustment method of transmitting equipment and communication device

Country Status (2)

Country Link
CN (1) CN111756641B (en)
WO (1) WO2020192397A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115174708A (en) * 2022-07-14 2022-10-11 北京物芯科技有限责任公司 Message receiving method, message determining method, message receiving device, message determining exchange chip, message receiving equipment and message determining system
CN115460156A (en) * 2022-09-21 2022-12-09 长沙理工大学 Data center lossless network congestion control method, device, equipment and medium
CN115733710A (en) * 2022-11-18 2023-03-03 苏州挚途科技有限公司 Message sending method, target node, non-target node and message transmission system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114785843B (en) * 2022-03-22 2024-05-31 成都爱瑞无线科技有限公司 Data communication method, device, communication system and storage medium
CN117376144A (en) * 2022-06-29 2024-01-09 华为技术有限公司 Data transmission method and gateway equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103813392A (en) * 2012-11-15 2014-05-21 华为技术有限公司 Bandwidth adjusting method, device and system
CN108418767A (en) * 2018-02-09 2018-08-17 华为技术有限公司 Data transmission method, equipment and computer storage media
WO2018201874A1 (en) * 2017-05-05 2018-11-08 电信科学技术研究院有限公司 Method and network site device for adjusting terminal capability and terminal
CN109417514A (en) * 2018-03-06 2019-03-01 华为技术有限公司 A kind of method, apparatus and storage equipment of message transmission

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651519A (en) * 2009-09-15 2010-02-17 中国人民解放军国防科学技术大学 Method, device and system of self-adaptive dynamic forward error correction coding
US9736702B2 (en) * 2012-01-12 2017-08-15 Futurewei Technologies, Inc. System and method for quality of service control
CN104041109B (en) * 2012-12-18 2017-11-17 华为技术有限公司 Control method, terminating gateway, terminal device and the system of flow
CN108199925B (en) * 2018-01-30 2021-06-04 网宿科技股份有限公司 Data sending method, receiving method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103813392A (en) * 2012-11-15 2014-05-21 华为技术有限公司 Bandwidth adjusting method, device and system
WO2018201874A1 (en) * 2017-05-05 2018-11-08 电信科学技术研究院有限公司 Method and network site device for adjusting terminal capability and terminal
CN108418767A (en) * 2018-02-09 2018-08-17 华为技术有限公司 Data transmission method, equipment and computer storage media
CN109417514A (en) * 2018-03-06 2019-03-01 华为技术有限公司 A kind of method, apparatus and storage equipment of message transmission

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115174708A (en) * 2022-07-14 2022-10-11 北京物芯科技有限责任公司 Message receiving method, message determining method, message receiving device, message determining exchange chip, message receiving equipment and message determining system
CN115460156A (en) * 2022-09-21 2022-12-09 长沙理工大学 Data center lossless network congestion control method, device, equipment and medium
CN115460156B (en) * 2022-09-21 2024-02-02 长沙理工大学 Method, device, equipment and medium for controlling lossless network congestion of data center
CN115733710A (en) * 2022-11-18 2023-03-03 苏州挚途科技有限公司 Message sending method, target node, non-target node and message transmission system
CN115733710B (en) * 2022-11-18 2024-04-26 苏州挚途科技有限公司 Message sending method, target node, non-target node and message transmission system

Also Published As

Publication number Publication date
CN111756641B (en) 2024-07-09
WO2020192397A1 (en) 2020-10-01

Similar Documents

Publication Publication Date Title
CN111756641B (en) Adjustment method of transmitting equipment and communication device
US11233746B2 (en) Congestion control method and network device
KR101107945B1 (en) Reducing packet loss for a packet data service during congestion in a transport network
CN109818874B (en) Data transmission method, device and computer storage medium
KR20210036957A (en) Network switching methods, electronic devices and systems on a chip
CN110445722B (en) Congestion control method, device, equipment and storage medium
US9510354B2 (en) Method and a device for low intrusive fast estimation of the bandwidth available between two IP nodes
WO2022062931A1 (en) Network anomaly determination method and apparatus
CN106537867A (en) Data transmission method, apparatus and system
TWI531186B (en) Multiple-interface network device and selection method for transmitting network packets
CN105659541A (en) Systems and methods for proactive congestion detection in radio access networks
CN111065120A (en) Method, device and medium for enhancing cellular network uplink ECN mechanism
US20230300051A1 (en) In-band Edge-to-Edge Round-Trip Time Measurement
JP6468193B2 (en) Communication device, network available bandwidth estimation method in communication device, and network available bandwidth estimation program
JP2010278565A (en) Communication system, communication method, and control device
CN111404840B (en) Message processing method and device
CN112187556A (en) Congestion measurement method and network node
CN114513440A (en) Message transmission method, sending end and network equipment
JP6355116B2 (en) Method, apparatus, and system for packet loss detection
WO2016101163A1 (en) Data transmission method in one machine to machine system and common services entity
US11388090B2 (en) Bandwidth measurement method and measurement device
CN113542215A (en) Method for improving streaming media transmission performance and related device
US10652159B2 (en) Mobile packet data rate control based on radio load and other measures
CN115175242A (en) Communication method, network equipment and computer readable storage medium
CN108964933B (en) Method, device and system for transmitting message

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