Method, system, device and medium for synchronously isolating transmission rates on both sides of a network
By real-time update of the threshold of the receiving buffer length and dynamically adjusting the buffer length of the network gate receiving end, the problem of data loss and insufficient bandwidth utilization caused by the token bucket algorithm is solved, and the synchronization of transmission rates on both sides and the full utilization of bandwidth is achieved. .
Patent Information
- Application Number
- CN202411001744.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2044-07-25
AI Technical Summary
The existing token bucket algorithm based on the gate leads to data loss when the buffer queue is full, and the intranet cannot make full use of the external network bandwidth, especially when the intranet environment becomes better.
By updating the low, medium and high water level thresholds of the receiving buffer length in real time, dynamically adjust the receiving buffer length according to the changing trend of the buffer queue length to avoid buffer queue filling and fixed rate limiting.
It effectively avoids data loss, dynamically adjusts the length of the receiving buffer to synchronize the transmission rate on both sides, makes full use of the external network bandwidth, and can be adjusted in time no matter how the network environment changes.
Smart Images

Figure CN118524064B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of synchronous transmission rate, and in particular to a method, system, device and medium for synchronously isolating the transmission rates of two sides of a network. Background Art
[0002] A security isolation network gate (referred to as a network gate) is an information security device that uses a solid-state switch read-write medium with multiple control functions to connect two independent host systems. Usually, the two networks connected by the network gate are divided into an internal network and an external network. Since the internal network and the external network are isolated, the network environment will be different. For example, when data is transmitted from the external network to the internal network, the external network transmission rate is much higher than the internal network receiving rate, which will cause data loss and transmission failure. Therefore, a speed limit is needed to ensure that the internal and external network rates are balanced.
[0003] The traditional speed limit method is to use the token bucket algorithm to limit the bandwidth. The principle of the token bucket algorithm is to set the rate to generate n tokens per second and put them into the bucket. When an m-byte data packet arrives, m tokens are taken out of the bucket. When the token is insufficient, wait for the token to be generated and then send it. The token bucket algorithm can effectively ensure the synchronization of the internal and external network speeds.
[0004] However, the existing implementation of the token bucket algorithm based on the network gate is to first receive the data sent through the network gate, then buffer it in the local queue, and then limit the speed according to the token bucket algorithm. However, when the buffered data exceeds the buffer queue length, the buffer queue of the network gate will be full, resulting in data loss. In addition, when the intranet network environment improves, due to the limitation of the external network bandwidth, the intranet still maintains the same rate as the external network, and the bandwidth cannot be fully utilized. Summary of the invention
[0005] In view of the above-mentioned deficiencies in the prior art, the present application provides a method, system, device and medium for synchronously isolating the transmission rates on both sides of a network to solve the problem in the prior art that when the buffered data exceeds the length of the buffer queue, the buffer queue of the network gate is full, resulting in data loss. In addition, when the intranet network environment improves, due to the limitation of the external network bandwidth, the intranet still maintains the same rate as the external network and cannot fully utilize the bandwidth.
[0006] In the first aspect, the present application provides a method for synchronously isolating the transmission rates of both sides of a network, the method comprising: obtaining an initial receive buffer length as a current receive buffer length; based on a preset proportional relationship and the current receive buffer length, updating the current low water level threshold, the current middle water level threshold and the current high water level threshold in real time; determining the change trend of the current buffer queue length corresponding to the receiving end of the network gate; when the change trend is an increase, based on the relationship between the current buffer queue length and the current low water level threshold, the current middle water level threshold and the current high water level threshold, determining the decreasing range of the current receive buffer length, and then updating the current receive buffer length; when the change trend is a decrease, based on the relationship between the current buffer queue length and the current low water level threshold, the current middle water level threshold, the current high water level threshold and the maintenance time, determining the increasing range of the current receive buffer length, and then updating the current receive buffer length; wherein the upper limit of the current receive buffer length is the preset kernel buffer length.
[0007] Further, based on the preset proportional relationship and the current receiving buffer length, the current low water level threshold, the current middle water level threshold and the current high water level threshold are updated in real time, specifically including: determining: the current low water level threshold = * Current receive buffer length; current water level threshold = * Current receive buffer length; Current high water mark threshold = * Current receive buffer length; where, ,and .
[0008] Furthermore, when the change trend is increasing, based on the relationship between the current buffer queue length and the current low water level threshold, the current middle water level threshold and the current high water level threshold, the decreasing range of the current receiving buffer length is determined, specifically including: when the current buffer queue length is less than the current low water level threshold, the decreasing range of the current receiving buffer length is 0, and the current receiving buffer length remains unchanged; when the current buffer queue length is greater than or equal to the current low water level threshold and less than the current middle water level threshold, the current buffer queue length increases by 1% for each increase. * Current receive buffer length, current receive buffer length decreases * Current receive buffer length; where, ; When the current buffer queue length is greater than or equal to the current middle water level threshold and less than the current high water level threshold, the current buffer queue length increases by * Current receive buffer length, current receive buffer length decreases *The current receive buffer length; when the current buffer queue length is greater than or equal to the current high water mark, the current buffer queue length increases by * Current receive buffer length, current receive buffer length decreases * Current receive buffer length; where, ,and .
[0009] Furthermore, when the changing trend is decreasing, based on the relationship between the current buffer queue length and the current low water level threshold, the current middle water level threshold, the current high water level threshold and the maintenance time, the rising range of the current receive buffer length is determined, specifically including: when the current buffer queue length is less than or equal to the current high water level threshold and greater than the current middle water level threshold, the rising range of the current receive buffer length is 0, and the current receive buffer length remains unchanged; when the current buffer queue length is less than or equal to the current middle water level threshold and greater than the current low water level threshold, the current receive buffer length is increased to * Current receive buffer length; when the current buffer queue length is less than or equal to the current low water level threshold and the first maintenance time exceeds the preset time threshold, determine that the current receive buffer length is restored to the initial receive buffer length; when the current buffer queue length is less than or equal to the current low water level threshold and the non-first maintenance time exceeds the preset time threshold, increase the current receive buffer length by every preset time threshold. *The current receive buffer length, until the current receive buffer length reaches the preset kernel buffer length; where, Greater than 1.
[0010] Furthermore, the method also includes: when the change in the current buffer queue length meets the preset update standard, the network gate receiving side notifies the network gate sending side through a message, and then updates the current receiving buffer length, the current low water level threshold, the current middle water level threshold and the current high water level threshold through the network gate sending side.
[0011] In the second aspect, the present application provides a system for synchronizing the transmission rates on both sides of an isolated network, the system comprising: an update module, used to obtain an initial receive buffer length as a current receive buffer length; based on a preset proportional relationship and the current receive buffer length, the current low water level threshold, the current middle water level threshold and the current high water level threshold are updated in real time; a determination module, used to determine the change trend of the current buffer queue length corresponding to the receiving end of the network gate; a decrease processing module, used to determine the decrease range of the current receive buffer length when the change trend is an increase, based on the relationship between the current buffer queue length and the current low water level threshold, the current middle water level threshold and the current high water level threshold, and then update the current receive buffer length; an increase processing module, used to determine the increase range of the current receive buffer length when the change trend is a decrease, based on the relationship between the current buffer queue length and the current low water level threshold, the current middle water level threshold, the current high water level threshold and the maintenance time, and then update the current receive buffer length; wherein the upper limit of the current receive buffer length is the preset kernel buffer length.
[0012] Furthermore, the drop processing module includes a drop processing unit, which is used for, when the current buffer queue length is less than the current low water level threshold, the drop range of the current receiving buffer length is 0, and the current receiving buffer length remains unchanged; when the current buffer queue length is greater than or equal to the current low water level threshold and less than the current medium water level threshold, the current buffer queue length increases by * Current receive buffer length, current receive buffer length decreases * Current receive buffer length; where, ; When the current buffer queue length is greater than or equal to the current middle water level threshold and less than the current high water level threshold, the current buffer queue length increases by * Current receive buffer length, current receive buffer length decreases *The current receive buffer length; when the current buffer queue length is greater than or equal to the current high water mark, the current buffer queue length increases by * Current receive buffer length, current receive buffer length decreases * Current receive buffer length; where, ,and .
[0013] Furthermore, the rising processing module includes an rising processing unit. When the current buffer queue length is less than or equal to the current high water level threshold and greater than the current middle water level threshold, the rising range of the current receiving buffer length is 0, and the current receiving buffer length remains unchanged; when the current buffer queue length is less than or equal to the current middle water level threshold and greater than the current low water level threshold, the current receiving buffer length is increased to * Current receive buffer length; when the current buffer queue length is less than or equal to the current low water level threshold and the first maintenance time exceeds the preset time threshold, determine that the current receive buffer length is restored to the initial receive buffer length; when the current buffer queue length is less than or equal to the current low water level threshold and the non-first maintenance time exceeds the preset time threshold, increase the current receive buffer length by every preset time threshold. *The current receive buffer length, until the current receive buffer length reaches the preset kernel buffer length; where, Greater than 1.
[0014] In a third aspect, the present application provides a device for synchronizing the transmission rates on both sides of an isolated network, the device comprising: a processor; and a memory on which executable code is stored, and when the executable code is executed, the processor executes a method for synchronizing the transmission rates on both sides of an isolated network such as any one of the above items.
[0015] In a fourth aspect, the present application provides a non-volatile computer storage medium having computer instructions stored thereon, which when executed implement a method of synchronizing the transmission rates of both sides of an isolated network as described above.
[0016] Those skilled in the art can understand that the present application has at least the following beneficial effects:
[0017] This application dynamically adjusts the current receive buffer length of the gateway sending end (external network) through the relationship between the current buffer queue length corresponding to the receiving end (internal network) and the current low water level threshold, the current medium water level threshold and the current high water level threshold, thereby synchronizing the rates on both sides and avoiding data loss. In addition, the dynamic adjustment of the current receive buffer length avoids the problem that due to the limitation of the external network bandwidth, the internal network still maintains the same rate as the external network (the receive buffer length is fixed) and the bandwidth cannot be fully utilized. That is, this application can dynamically adjust the current receive buffer length, and thus can perceive in time no matter how the network environment changes. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Some embodiments of the present disclosure are described below with reference to the accompanying drawings, in which:
[0019] Figure 1 This is a flow chart of a method for synchronizing the transmission rates on both sides of an isolated network provided in an embodiment of the present application.
[0020] Figure 2 It is a schematic diagram of the internal structure of a system for synchronizing the transmission rates on both sides of an isolated network provided in an embodiment of the present application.
[0021] Figure 3 It is a schematic diagram of the internal structure of a device for synchronizing the transmission rates on both sides of an isolated network provided in an embodiment of the present application. DETAILED DESCRIPTION
[0022] It should be understood by those skilled in the art that the embodiments described below are only preferred embodiments of the present disclosure, and do not mean that the present disclosure can only be implemented through the preferred embodiments. The preferred embodiments are only used to explain the technical principles of the present disclosure, and are not used to limit the protection scope of the present disclosure. Based on the preferred embodiments provided by the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work should still fall within the protection scope of the present disclosure.
[0023] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0024] The technical solution proposed in the embodiments of the present application is described in detail below with reference to the accompanying drawings.
[0025] The present application embodiment provides a method for synchronously isolating the transmission rates of two sides of a network, such as Figure 1 As shown, the method provided in the embodiment of the present application mainly includes the following steps:
[0026] Step 110, obtaining the initial receiving buffer length as the current receiving buffer length; based on the preset proportional relationship and the current receiving buffer length, updating the current low water level threshold, the current middle water level threshold and the current high water level threshold in real time.
[0027] It should be noted that the receive buffer length is byte length, each element size is m bytes, the queue length is n, and the receive buffer length is m*n bytes.
[0028] Among them, based on the preset proportional relationship and the current receiving buffer length, the current low water level threshold, the current middle water level threshold and the current high water level threshold are updated in real time, which can be specifically:
[0029] according to:
[0030] Current low water level threshold = * Current receive buffer length; current water level threshold = * Current receive buffer length; Current high water mark threshold = * The current receive buffer length.
[0031] in, ,and .
[0032] As an example, =0.2, =0.5, =0.8.
[0033] Step 120: Determine the change trend of the current buffer queue length corresponding to the network gate receiving end.
[0034] It should be noted that this step can be implemented by existing technology, and this application does not limit this.
[0035] Step 130: When the change trend is increasing, based on the relationship between the current buffer queue length and the current low water level threshold, the current middle water level threshold and the current high water level threshold, determine the decreasing range of the current receiving buffer length, and then update the current receiving buffer length.
[0036] As an example, this step may be specifically as follows:
[0037] When the current buffer queue length is less than the current low water level threshold, the current receive buffer length decreases to 0, and the current receive buffer length remains unchanged.
[0038] When the current buffer queue length is greater than or equal to the current low water level threshold and less than the current medium water level threshold, the current buffer queue length increases by * Current receive buffer length, current receive buffer length decreases *The current receive buffer length. Among them, ;For example, =0.1.
[0039] When the current buffer queue length is greater than or equal to the current middle water level threshold and less than the current high water level threshold, the current buffer queue length increases by * Current receive buffer length, current receive buffer length decreases * The current receive buffer length.
[0040] When the current buffer queue length is greater than or equal to the current high water mark, the current buffer queue length increases by * Current receive buffer length, current receive buffer length decreases * The current receive buffer length.
[0041] It is necessary to add that ,and .For example, =0.2, =0.5, =0.9.
[0042] Based on the above description, it can be understood by those skilled in the art that when the current buffer queue length is less than or equal to the current low water level threshold, it indicates that the network environment is good at this time, the upper limit of the receiving side rate is greater than the sending side, and there is no need to adjust the current receiving buffer length. When the current buffer queue length is greater than the current low water level threshold, it indicates that when the upper limit of the receiving side rate is less than the sending side, the present application can timely adjust the current receiving buffer length according to the specific gap, thereby synchronizing the rates on both sides and avoiding data loss.
[0043] Step 140: When the change trend is decreasing, based on the relationship between the current buffer queue length and the current low water level threshold, the current middle water level threshold, the current high water level threshold and the maintenance time, determine the rising range of the current receive buffer length, and then update the current receive buffer length.
[0044] It should be noted that the upper limit of the current receive buffer length is the preset kernel buffer length.
[0045] As an example, this step may be specifically as follows:
[0046] When the current buffer queue length is less than or equal to the current high water level threshold and greater than the current middle water level threshold, the current receive buffer length increases to 0, and the current receive buffer length remains unchanged.
[0047] When the current buffer queue length is less than or equal to the current middle water level threshold and greater than the current low water level threshold, the current receive buffer length is increased to * The current receive buffer length.
[0048] When the current buffer queue length is less than or equal to the current low water level threshold and the first maintenance time exceeds the preset time threshold, it is determined that the current receiving buffer length is restored to the initial receiving buffer length.
[0049] When the current buffer queue length is less than or equal to the current low water level threshold and the non-first maintenance time exceeds the preset time threshold, the current receive buffer length is increased by *The current receive buffer length, until the current receive buffer length reaches the preset kernel buffer length.
[0050] It is necessary to add that Greater than 1. For example, =1.5.
[0051] In addition, the monitoring end of the current buffer queue length change involved in the present application may be the receiving side of the network gate, and the executing entity for updating the current receiving buffer length, the current low water level threshold, the current medium water level threshold and the current high water level threshold may be the sending side of the network gate.
[0052] The specific data adjustment process can be:
[0053] When the change in the current buffer queue length meets the preset update standard, the receiving side of the network gate notifies the sending side of the network gate through a message, and then the sending side of the network gate updates the current receiving buffer length, the current low water level threshold, the current middle water level threshold and the current high water level threshold.
[0054] It should be noted that the preset update standard is the update condition in step 130 and step 140, which is not described in detail in this application. In addition, the update calculation process on the gatekeeper sending side is the update calculation process in step 130 and step 140, which is not described in detail in this application. The message notification content includes the message type (marking that this is a buffer adjustment message), the session id (in order to associate with the current receive buffer length), and the queue length (recording the current buffer queue length on the gatekeeper receiving side).
[0055] besides, Figure 2 A system for synchronizing the transmission rates of two sides of an isolated network is provided in an embodiment of the present application. Figure 2 As shown, the system provided in the embodiment of the present application mainly includes:
[0056] The updating module 210 is used to obtain the initial receiving buffer length as the current receiving buffer length; based on the preset proportional relationship and the current receiving buffer length, the current low water level threshold, the current middle water level threshold and the current high water level threshold are updated in real time.
[0057] The determination module 220 is used to determine the change trend of the current buffer queue length corresponding to the network gate receiving end.
[0058] The decreasing processing module 230 is used to determine the decreasing range of the current receiving buffer length based on the relationship between the current buffer queue length and the current low water level threshold, the current middle water level threshold and the current high water level threshold when the changing trend is increasing, and then update the current receiving buffer length.
[0059] The drop processing module 230 includes a drop processing unit for, when the current buffer queue length is less than the current low water level threshold, the drop range of the current receiving buffer length is 0, and the current receiving buffer length remains unchanged; when the current buffer queue length is greater than or equal to the current low water level threshold and less than the current medium water level threshold, the current buffer queue length increases by * Current receive buffer length, current receive buffer length decreases * Current receive buffer length; where, ; When the current buffer queue length is greater than or equal to the current middle water level threshold and less than the current high water level threshold, the current buffer queue length increases by * Current receive buffer length, current receive buffer length decreases *The current receive buffer length; when the current buffer queue length is greater than or equal to the current high water mark, the current buffer queue length increases by * Current receive buffer length, current receive buffer length decreases * Current receive buffer length; where, ,and .
[0060] The rising processing module 240 is used to determine the rising range of the current receiving buffer length based on the relationship between the current buffer queue length and the current low water level threshold, the current middle water level threshold, the current high water level threshold and the maintenance time when the change trend is decreasing, and then update the current receiving buffer length.
[0061] The upper limit of the current receive buffer length is the preset kernel buffer length.
[0062] The rising processing module 240 includes an rising processing unit. When the current buffer queue length is less than or equal to the current high water level threshold and greater than the current medium water level threshold, the rising range of the current receiving buffer length is 0, and the current receiving buffer length remains unchanged; when the current buffer queue length is less than or equal to the current medium water level threshold and greater than the current low water level threshold, the current receiving buffer length is increased to * Current receive buffer length; when the current buffer queue length is less than or equal to the current low water level threshold and the first maintenance time exceeds the preset time threshold, determine that the current receive buffer length is restored to the initial receive buffer length; when the current buffer queue length is less than or equal to the current low water level threshold and the non-first maintenance time exceeds the preset time threshold, increase the current receive buffer length by every preset time threshold. *The current receive buffer length, until the current receive buffer length reaches the preset kernel buffer length; where, Greater than 1.
[0063] The above is a method embodiment of the present application. Based on the same inventive concept, the present application embodiment also provides a device for isolating the transmission rates of both sides of a network synchronously. Figure 3 As shown, the device includes: a processor; and a memory, on which executable codes are stored. When the executable codes are executed, the processor executes a method for synchronizing the transmission rates of two sides of an isolated network as described in the above embodiment.
[0064] Specifically, the server side obtains the initial receive buffer length as the current receive buffer length; based on the preset proportional relationship and the current receive buffer length, the current low water level threshold, the current middle water level threshold and the current high water level threshold are updated in real time; the change trend of the current buffer queue length corresponding to the network gate receiving end is determined; when the change trend is increasing, based on the relationship between the current buffer queue length and the current low water level threshold, the current middle water level threshold and the current high water level threshold, the decreasing range of the current receive buffer length is determined, and then the current receive buffer length is updated; when the change trend is decreasing, based on the relationship between the current buffer queue length and the current low water level threshold, the current middle water level threshold, the current high water level threshold and the maintenance time, the increasing range of the current receive buffer length is determined, and then the current receive buffer length is updated; wherein, the upper limit of the current receive buffer length is the preset kernel buffer length.
[0065] In addition, an embodiment of the present application further provides a non-volatile computer storage medium on which executable instructions are stored. When the executable instructions are executed, a method for synchronizing the transmission rates of both sides of an isolated network as described above is implemented.
[0066] So far, the technical solutions of the present disclosure have been described in combination with the above multiple embodiments, but it is easy for those skilled in the art to understand that the protection scope of the present disclosure is not limited to these specific embodiments. Without departing from the technical principles of the present disclosure, those skilled in the art can split and combine the technical solutions in the above-mentioned various embodiments, and can also make equivalent changes or replacements to the relevant technical features. Any changes, equivalent replacements, improvements, etc. made within the technical concept and / or technical principle of the present disclosure will fall within the protection scope of the present disclosure.
Claims
1. A method for synchronously isolating the transmission rates of both sides of a network, It is characterized in that The method comprises: The initial receiving buffer length of the gatekeeper sending end is obtained as the current receiving buffer length; based on the preset proportional relationship and the current receiving buffer length, the current low water level threshold, the current middle water level threshold and the current high water level threshold are updated in real time; specifically, the following are included: Sure: Current low water level threshold = * Current receive buffer length; current water level threshold = * Current receive buffer length; Current high water mark threshold = * Current receive buffer length; where, ,and ; Determine the changing trend of the current buffer queue length corresponding to the receiving end of the network gate; When the change trend is increasing, based on the relationship between the current buffer queue length and the current low water level threshold, the current middle water level threshold and the current high water level threshold, the decreasing range of the current receive buffer length is determined, and then the current receive buffer length is updated; specifically, the following steps are performed: When the current buffer queue length is less than the current low water level threshold, the current receive buffer length decreases to 0, and the current receive buffer length remains unchanged; when the current buffer queue length is greater than or equal to the current low water level threshold and less than the current medium water level threshold, the current buffer queue length increases by * Current receive buffer length, current receive buffer length decreases * Current receive buffer length; where, ; When the current buffer queue length is greater than or equal to the current middle water level threshold and less than the current high water level threshold, the current buffer queue length increases by * Current receive buffer length, current receive buffer length decreases *The current receive buffer length; when the current buffer queue length is greater than or equal to the current high water mark, the current buffer queue length increases by * Current receive buffer length, current receive buffer length decreases * Current receive buffer length; where, ,and ; When the change trend is decreasing, based on the relationship between the current buffer queue length and the current low water level threshold, the current middle water level threshold, the current high water level threshold and the maintenance time, the rising range of the current receive buffer length is determined, and then the current receive buffer length is updated; wherein the upper limit of the current receive buffer length is the preset kernel buffer length; specifically including: When the current buffer queue length is less than or equal to the current high water level threshold and greater than the current middle water level threshold, the current receive buffer length increases to 0, and the current receive buffer length remains unchanged; when the current buffer queue length is less than or equal to the current middle water level threshold and greater than the current low water level threshold, the current receive buffer length increases to * Current receive buffer length; when the current buffer queue length is less than or equal to the current low water level threshold and the first maintenance time exceeds the preset time threshold, determine that the current receive buffer length is restored to the initial receive buffer length; when the current buffer queue length is less than or equal to the current low water level threshold and the non-first maintenance time exceeds the preset time threshold, increase the current receive buffer length by every preset time threshold. *The current receive buffer length, until the current receive buffer length reaches the preset kernel buffer length; where, Greater than 1.
2. The method for isolating the transmission rates of both sides of a synchronous network according to claim 1, It is characterized in that The method further comprises: When the change in the current buffer queue length meets the preset update standard, the network gate receiver notifies the network gate sender through a message, and then the network gate sender updates the current receive buffer length, current low water level threshold, current middle water level threshold and current high water level threshold.
3. A system for synchronously isolating the transmission rates of both sides of a network, It is characterized in that The system comprises: The update module is used to obtain the initial receiving buffer length of the network gate sender as the current receiving buffer length; based on the preset proportional relationship and the current receiving buffer length, the current low water level threshold, the current middle water level threshold and the current high water level threshold are updated in real time; specifically including: Sure: Current low water level threshold = * Current receive buffer length; current water level threshold = * Current receive buffer length; Current high water mark threshold = * Current receive buffer length; where, ,and ; A determination module, used to determine a change trend of a current buffer queue length corresponding to a gatekeeper receiving end; A drop processing module is used to determine the drop range of the current receiving buffer length based on the relationship between the current buffer queue length and the current low water level threshold, the current middle water level threshold and the current high water level threshold when the change trend is an increase, and then update the current receiving buffer length; The drop processing module includes a drop processing unit, which is used to reduce the current receiving buffer length to 0 when the current buffer queue length is less than the current low water level threshold, and the current receiving buffer length remains unchanged; when the current buffer queue length is greater than or equal to the current low water level threshold and less than the current medium water level threshold, the current buffer queue length increases by * Current receive buffer length, current receive buffer length decreases * Current receive buffer length; where, ; When the current buffer queue length is greater than or equal to the current middle water level threshold and less than the current high water level threshold, the current buffer queue length increases by * Current receive buffer length, current receive buffer length decreases *The current receive buffer length; when the current buffer queue length is greater than or equal to the current high water mark, the current buffer queue length increases by * Current receive buffer length, current receive buffer length decreases * Current receive buffer length; where, ,and ; An increasing processing module is used to determine the increasing range of the current receiving buffer length based on the relationship between the current buffer queue length and the current low water level threshold, the current middle water level threshold, the current high water level threshold and the maintenance time when the change trend is decreasing, and then update the current receiving buffer length; wherein the upper limit of the current receiving buffer length is the preset kernel buffer length; The rising processing module includes an rising processing unit. When the current buffer queue length is less than or equal to the current high water level threshold and greater than the current medium water level threshold, the rising range of the current receiving buffer length is 0, and the current receiving buffer length remains unchanged; when the current buffer queue length is less than or equal to the current medium water level threshold and greater than the current low water level threshold, the current receiving buffer length is increased to * Current receive buffer length; when the current buffer queue length is less than or equal to the current low water level threshold and the first maintenance time exceeds the preset time threshold, determine that the current receive buffer length is restored to the initial receive buffer length; when the current buffer queue length is less than or equal to the current low water level threshold and the non-first maintenance time exceeds the preset time threshold, increase the current receive buffer length by every preset time threshold. *The current receive buffer length, until the current receive buffer length reaches the preset kernel buffer length; where, Greater than 1.
4. A device that synchronizes the transmission rates of both sides of an isolated network. It is characterized in that The device comprises: processor; and a memory having executable codes stored thereon, which, when executed, causes the processor to execute a method for synchronizing the transmission rates of both sides of an isolated network as described in any one of claims 1-2.
5. A non-volatile computer storage medium, It is characterized in that Computer instructions are stored thereon, and when the computer instructions are executed, a method for synchronizing the transmission rates of both sides of an isolated network as described in any one of claims 1-2 is implemented.
