CN117278472A - Link flow control method, device, electronic equipment and readable storage medium - Google Patents

Link flow control method, device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN117278472A
CN117278472A CN202311560309.1A CN202311560309A CN117278472A CN 117278472 A CN117278472 A CN 117278472A CN 202311560309 A CN202311560309 A CN 202311560309A CN 117278472 A CN117278472 A CN 117278472A
Authority
CN
China
Prior art keywords
data
queue
gateway
flow control
link flow
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311560309.1A
Other languages
Chinese (zh)
Inventor
余小龙
汪钰茗
兰洋
刘波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuxi Xinglian Xintong Technology Co ltd
Xinjiang Starlink Core Technology Co ltd
Chengdu Xinglian Xintong Technology Co ltd
Original Assignee
Wuxi Xinglian Xintong Technology Co ltd
Xinjiang Starlink Core Technology Co ltd
Chengdu Xinglian Xintong Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuxi Xinglian Xintong Technology Co ltd, Xinjiang Starlink Core Technology Co ltd, Chengdu Xinglian Xintong Technology Co ltd filed Critical Wuxi Xinglian Xintong Technology Co ltd
Priority to CN202311560309.1A priority Critical patent/CN117278472A/en
Publication of CN117278472A publication Critical patent/CN117278472A/en
Pending legal-status Critical Current

Links

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/185Space-based or airborne stations; Stations for satellite systems
    • H04B7/1851Systems using a satellite or space-based relay
    • H04B7/18513Transmission in a satellite or space-based system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Astronomy & Astrophysics (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the technical field of satellite communication, and provides a link flow control method, a device, electronic equipment and a readable storage medium, wherein the method applied to modulation equipment comprises the following steps: acquiring total data quantity and used data quantity of a local cache queue, wherein the total data quantity is determined according to a first preset cache time and current channel parameters and represents the maximum data quantity which can be accommodated by the local cache queue and can be sent in the first preset cache time; calculating the residual data quantity which can be contained in the local cache queue according to the total data quantity and the used data quantity; and transmitting the residual data quantity to the data gateway so that the data gateway transmits data to the modulation equipment according to the residual data quantity to realize the link flow control between the modulation equipment and the data gateway. The embodiment can reasonably control the link flow between the data gateway and the modulation equipment.

Description

Link flow control method, device, electronic equipment and readable storage medium
Technical Field
The present invention relates to the field of satellite communications technologies, and in particular, to a link flow control method, a device, an electronic apparatus, and a readable storage medium.
Background
In a satellite bidirectional interactive communication system, data arrives at a data gateway through a switch, and the data gateway transmits the received data to a modulation device through a TCP socket, and then the modulation device finally transmits the data to an RCST (Return Channel Satellite Terminal, back channel satellite terminal) through a communication satellite.
In systems employing TDM (Time Division Multiplexing ) technology in the forward direction and TDMA (Time Division Multiple Access ) technology in the reverse direction, reverse communication relies on the network control center to allocate reverse channel resources in real time. Real-time reverse channel resources allocated by the network control center are transmitted to the RCST through the forward TDM channel. If the signaling for allocating real-time reverse channel resources is blocked and delayed in the forward TDM channel, the reverse channel resources acquired by the RCST are not available any more due to the expiration of time, and thus the reverse traffic of the RCST is not available or even dropped.
Disclosure of Invention
The invention aims to provide a link flow control method, a device, electronic equipment and a readable storage medium, which can reasonably control the link flow between a data gateway and modulation equipment so as to avoid the problem of user disconnection caused by the fact that the data flow is higher than the channel capacity.
Embodiments of the invention may be implemented as follows:
in a first aspect, the present invention provides a link traffic control method applied to a modulation device, where the modulation device is communicatively connected to a data gateway, and the modulation device includes a local buffer queue, and the method includes:
acquiring total data quantity and used data quantity of the local cache queue, wherein the total data quantity is determined according to a first preset cache time and current channel parameters and represents the maximum data quantity which can be accommodated by the local cache queue and can be sent in the first preset cache time;
calculating the residual data quantity which can be contained in the local cache queue according to the total data quantity and the used data quantity;
and sending the residual data quantity to the data gateway so that the data gateway sends data to the modulation equipment according to the residual data quantity to realize link flow control between the modulation equipment and the data gateway.
In an alternative embodiment, the current channel parameter includes a symbol rate of a current channel, a physical frame symbol length, and a physical frame information length, where the symbol rate of the current channel is a number of symbols transmitted per second in a current channel configuration, the physical frame symbol length is a number of symbols included in a frame of physical frame, the physical frame information length is a number of bytes included in a frame of physical frame, and before the step of obtaining the total data amount and the used data amount of the local buffer queue, the method includes:
Calculating the sending time of a physical frame according to the symbol rate of the current channel and the symbol length of the physical frame;
and calculating the total data amount according to the sending time, the first preset buffer time and the physical frame information length.
In an alternative embodiment, the method further comprises:
obtaining the maximum frame number of the physical frames taken out of the local cache queue each time;
and taking out the physical frames from the local cache queue according to the maximum frame number and sending the physical frames.
In an alternative embodiment, before the step of obtaining the maximum frame number of the physical frames from the local buffer queue, the method includes:
acquiring a second preset buffer time and a sending time for sending a physical frame;
and calculating the maximum frame number according to the second preset buffer time and the sending time.
In a second aspect, the present invention provides a link traffic control method applied to a data gateway, where the data gateway is communicatively connected to a modulation device, and the modulation device includes a local buffer queue, and the method includes:
receiving a residual data amount sent by the modulation equipment, wherein the residual data amount is the data amount which can be contained in a local cache queue of the modulation equipment according to the total data amount and the used data amount, and the total data amount is determined according to a first preset cache time and a current channel parameter and represents the maximum data amount which can be contained in the local cache queue of the modulation equipment and can be sent in the first preset cache time;
And sending data to the modulation equipment according to the residual data quantity so as to realize the link flow control between the modulation equipment and the data gateway.
In an alternative embodiment, the data gateway includes a local buffer queue, and the step of sending data to the modulation device according to the remaining data amount to implement link flow control between the modulation device and the data gateway includes:
if the used data volume of the local cache queue of the data gateway is larger than or equal to the residual data volume, taking out the data with the size equal to the residual data volume from the local cache queue of the data gateway, and sending the taken-out data to the modulation equipment so as to realize the link flow control between the modulation equipment and the data gateway;
and if the used data quantity of the local cache queue of the data gateway is smaller than the residual data quantity, all data in the local cache queue of the data gateway is sent to the modulation equipment so as to realize the link flow control between the modulation equipment and the data gateway.
In an alternative embodiment, the data gateway includes a signaling queue and a service data queue, and the data gateway is communicatively connected to both the switch and the network control center, and the method further includes:
Acquiring a signaling queue and a service data queue, wherein the signaling queue is used for temporarily storing signaling data from the network control center, and the service data queue is used for temporarily storing service data forwarded by the switch;
if the local cache queue of the data gateway is not full and signaling data exists in the signaling queue, transferring the signaling data in the signaling queue group to the local cache queue of the data gateway so as to update the local cache queue of the data gateway;
and if the updated local cache queue of the data gateway is not full and the service data exists in the service data queue, transferring the service data in the service data queue to the local cache queue of the data gateway.
In a third aspect, the present invention provides a link flow control apparatus for use with a modulation device, the modulation device being communicatively coupled to a data gateway, the modulation device including a local buffer queue, the apparatus comprising:
the acquisition module is used for acquiring the total data quantity and the used data quantity of the local cache queue, wherein the total data quantity is determined according to a first preset cache time and current channel parameters and represents the maximum data quantity which can be accommodated by the local cache queue and can be transmitted in the first preset cache time;
The calculation module is used for calculating the residual data quantity which can be accommodated by the local cache queue according to the total data quantity and the used data quantity;
and the first sending module is used for sending the residual data quantity to the data gateway so that the data gateway sends data to the modulation equipment according to the residual data quantity to realize the link flow control between the modulation equipment and the data gateway.
In a fourth aspect, the present invention provides a link flow control apparatus for use in a data gateway, the data gateway being communicatively coupled to a modulation device, the modulation device including a local buffer queue, the apparatus comprising:
the receiving module is used for receiving the residual data quantity sent by the modulation equipment, wherein the residual data quantity is the data quantity which can be contained in a local buffer queue of the modulation equipment according to the total data quantity and the calculated used data quantity, and the total data quantity is determined according to a first preset buffer time and the current channel parameter and represents the maximum data quantity which can be contained in the local buffer queue of the modulation equipment and can be sent in the first preset buffer time;
and the second sending module is used for sending data to the modulation equipment according to the residual data quantity so as to realize the link flow control between the modulation equipment and the data gateway.
In a fifth aspect, the present invention provides an electronic device, including a processor and a memory, where the memory is configured to store a program, and the processor is configured to implement the link flow control method according to any one of the foregoing embodiments, or implement the link flow control method according to any one of the foregoing embodiments, when the program is executed.
In a sixth aspect, the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the link flow control method according to any one of the foregoing embodiments, or implements the link flow control method according to any one of the foregoing embodiments.
According to the embodiment of the invention, the total data volume of the local cache queue of the modulation device is determined according to the first preset cache time and the current channel parameter, the total data volume represents the maximum data volume which can be accommodated by the local cache queue and can be transmitted in the first preset cache time, the residual data volume which can be accommodated by the local cache queue is calculated according to the total data volume and the used data volume of the local cache queue, the residual data volume is transmitted to the data gateway, so that the data gateway transmits data to the modulation device according to the residual data volume, the link flow control between the modulation device and the data gateway is realized, the maximum data volume which can be transmitted by the modulation device at present can be accurately determined through the first preset cache time and the current channel parameter, the residual data volume which can be accommodated by the local cache queue is calculated based on the total data volume and the used data volume is transmitted to the data gateway, and the data gateway transmits data to the modulation device according to the residual data volume, and finally the link flow control between the modulation device and the data gateway is realized, and the problem that the RCST (reverse traffic channel) is not available due to the fact that the RCST (reverse TDM) is blocked in a forward channel is delayed to be acquired, and the RCST (reverse traffic resource is not usable any more is avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is an exemplary diagram of an application scenario provided in an embodiment of the present invention.
Fig. 2 is a block diagram of an electronic device according to an embodiment of the present invention.
Fig. 3 is a flowchart illustrating a link flow control method applied to a modulation device according to an embodiment of the present invention.
Fig. 4 is a flowchart illustrating a link flow control method applied to a data gateway according to an embodiment of the present invention.
Fig. 5 is a block diagram illustrating a first link flow control device applied to a modulation apparatus according to an embodiment of the present invention.
Fig. 6 is a block diagram illustrating a second link flow control device applied to a data gateway according to an embodiment of the present invention.
Icon: 10-modulating means; 20-a data gateway; 30-a switch; 40-communication satellite; 50-back channel satellite terminals; 60-an electronic device; 61-a processor; 62-memory; 63-bus; 70-a network control center; 100-a first link flow control device; 110-an acquisition module; 120-a computing module; 130-a first transmitting module; 200-a second link flow control device; 210-a receiving module; 220-a second transmission module; 230-update module.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
In the description of the present invention, it should be noted that, if the terms "upper", "lower", "inner", "outer", and the like indicate an azimuth or a positional relationship based on the azimuth or the positional relationship shown in the drawings, or the azimuth or the positional relationship in which the inventive product is conventionally put in use, it is merely for convenience of describing the present invention and simplifying the description, and it is not indicated or implied that the apparatus or element referred to must have a specific azimuth, be configured and operated in a specific azimuth, and thus it should not be construed as limiting the present invention.
Furthermore, the terms "first," "second," and the like, if any, are used merely for distinguishing between descriptions and not for indicating or implying a relative importance.
It should be noted that the features of the embodiments of the present invention may be combined with each other without conflict.
Referring to fig. 1, fig. 1 is an exemplary diagram of an application scenario provided by an embodiment of the present invention, and an arrow in fig. 1 shows a flow direction of forward data: the signaling data from the network control center 70 arrives at the data gateway 20, the service data from the network arrives at the data gateway 20 through the switch 30, the data gateway 20 transmits the received signaling data and service data to the modulation device 10 through the TCP socket, and then the modulation device 10 transmits the signaling data and service data through the communication satellite 40, and finally arrives at the back channel satellite terminal 50, which is also called RCST, and english is called Return Channel Satellite Terminal. Due to the limited channel capacity, data may be buffered by the TCP queue when the data flow is higher than the channel capacity. In the forward channel, each data pass requires a certain time, and after the previous data transmission is completed, the data in the buffer is sequentially transmitted. If the buffer continues to increase, the newly arrived traffic data and signaling data will be sent with a delay. For systems employing TDM technology in the forward direction and TDMA technology in the reverse direction, reverse communication relies on the network control center 70 to allocate reverse channel resources in real time. The real-time reverse channel resources allocated by the network control center 70 are transmitted to the RCST through the forward TDM channel. If the signaling for allocating real-time reverse channel resources is blocked and delayed in the forward TDM channel, the reverse channel resources acquired by the RCST are no longer available due to the expiration of time, thereby causing the reverse traffic of the RCST to be unavailable or even dropped.
The modulation device 10 is a device for converting a digital signal into an analog signal or converting an analog signal into a digital signal. Modulation (Modulation) refers to changing certain characteristics of a signal during transmission of the signal to meet the requirements of the transmission medium or communication system.
The data gateway 20, also called Feeder in the satellite device, is used for forward data aggregation, and performs service scheduling and link layer encapsulation of multiple data streams.
The switch 30 is used to connect and manage a plurality of computer devices in a local area network that provides efficient, secure and reliable data communications by learning and forwarding data packets.
The communication satellite 40 serves as an artificial earth satellite (or other planet) for a radio communication relay station. The communication satellite 40 forwards radio signals to enable communication between satellite communication earth stations (including cell phone terminals) or between earth stations and spacecraft or with artificial communication satellites on other satellites and earth and satellites and landings, etc.
The back channel satellite terminal 50 is a device for receiving and transmitting data signals, typically for use as a ground station in a satellite communication system, having the function of receiving forward signals and transmitting back signals to the satellite for two-way communication.
The network control center 70, also called NCC, is also known as Network Control Center, and is responsible for managing satellite communication system forward and reverse signaling, RCST session, satellite channel resource management, etc.
In order to avoid that signaling for allocating real-time reverse channel resources is blocked and delayed in a forward TDM channel, so that reverse channel resources acquired by RCST are not available due to time expiration, and thus reverse traffic of RCST is not available or even is dropped, embodiments of the present invention provide a link traffic control method, apparatus, electronic device, and readable storage medium, which can reasonably control link traffic between a data gateway and a modulation device, so as to avoid that signaling for allocating real-time reverse channel resources is blocked and delayed in a forward TDM channel, so that reverse channel resources acquired by RCST are not available due to time expiration, and thus reverse traffic of RCST is not available or even is dropped, as will be described in detail below.
Referring to fig. 2, fig. 2 is a block diagram of an electronic device provided in the embodiment of the present invention, and in fig. 2, the electronic device 60 may be the modulation device 10 in fig. 1 or the data gateway 20 in fig. 1.
The electronic device 60 comprises a processor 61, a memory 62, a bus 63. The processor 61 and the memory 62 are connected by a bus 63.
The processor 61 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in the processor 61 or by instructions in the form of software. The processor 61 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but may also be a Digital Signal Processor (DSP), application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
The memory 62 is used for storing a program, for example, the first link flow control device for the modulation device 10 or the second link flow control device for the data gateway in this embodiment, and the first link flow control device for the modulation device 10 or the second link flow control device for the data gateway each include at least one software functional module that may be stored in the memory 62 in the form of software or firmware (firmware), and the processor 61 executes the program after receiving the execution instruction to implement the link flow control method for the modulation device 10 or the link flow control method for the data gateway in this embodiment of the invention.
The memory 62 may include high-speed random access memory (RAM: random Access Memory) and may also include non-volatile memory (nonvolatile memory). Alternatively, the memory 62 may be a storage device built in the processor 61, or may be a storage device independent of the processor 61.
Bus 63 may be an ISA bus, a PCI bus, an EISA bus, or the like. Fig. 2 is represented by only one double-headed arrow, but does not represent only one bus or one type of bus.
Referring to fig. 3, fig. 3 is a flowchart illustrating a link flow control method applied to a modulation device according to an embodiment of the present invention, where the method includes the following steps:
step S101, obtaining total data quantity and used data quantity of a local cache queue, wherein the total data quantity is determined according to a first preset cache time and current channel parameters and represents the maximum data quantity which can be accommodated by the local cache queue and can be sent in the first preset cache time.
In this embodiment, the modulation device 10 is provided with a local buffer queue, where the local buffer queue is used to buffer data to be transmitted, and the maximum data amount that can be accommodated in the local buffer queue and can be transmitted in a first preset buffer time is determined according to a first preset buffer time and a current channel parameter, where the first preset buffer time may be set according to the performance or actual needs of the modulation device 10, for example, the first preset buffer time is set to 20ms. The amount of data used in the local cache queue is the amount of data already stored in the local cache queue. The current channel parameters include, but are not limited to, the symbol rate of the current channel, parameters of the physical frame including, but not limited to, the physical frame symbol length, the physical frame information length, and the like.
Step S102, calculating the residual data quantity which can be contained in the local cache queue according to the total data quantity and the used data quantity.
In this embodiment, the difference between the total data amount and the used data amount may be directly used as the remaining data amount, or the data amount after the difference is floated up or down may be used as the remaining data amount. For example, considering the duration of data transmission between the modulation device 10 and the data gateway 20, floating the data in a predetermined proportion based on the difference between the two, after all, a certain time is required for sending the remaining data to the data gateway 20, and during this time, the data in the local buffer queue is also continuously sent out.
And step S103, the residual data quantity is sent to the data gateway, so that the data gateway sends data to the modulation equipment according to the residual data quantity, and the link flow control between the modulation equipment and the data gateway is realized.
It should be noted that, the modulation device 10 may calculate the remaining data amount according to a preset period, and send the calculated remaining data amount to the data gateway 20, so as to implement real-time control of the link traffic between the modulation device 10 and the data gateway 20.
The method can accurately determine the maximum data volume which can be transmitted by the modulation equipment at present through the first preset buffer time and the current channel parameter, calculates the residual data volume which can be contained in the local buffer queue based on the total data volume and the used data volume, and transmits the residual data volume to the data gateway, wherein the data gateway transmits data to the modulation equipment according to the residual data volume, so that the link flow control between the modulation equipment and the data gateway is finally realized, and the problem that the reverse channel resource acquired by RCST is not available due to time expiration caused by blocking delay of signaling for distributing real-time reverse channel resource in a forward TDM channel, thereby causing the reverse service of RCST to be unavailable or even drop is avoided.
In an alternative embodiment, before the total data size is acquired, the present embodiment further provides an implementation manner of calculating the total data size:
firstly, calculating the sending time of a frame of physical frame according to the symbol rate of the current channel and the symbol length of the physical frame;
and then, calculating the total data quantity according to the sending time, the first preset buffer time and the physical frame information length.
In this embodiment, the symbol rate of the current channel is used to represent the amount of data that can be transmitted by the channel in a specific time in the current communication system, where the amount of data is the number of symbols transmitted per second, that is, the symbol rate of the current channel is the number of symbols transmitted per second in the current channel configuration, the symbol length of the physical frame is the number of symbols included in one frame of physical frame, the information length of the physical frame is the number of bytes included in one frame of physical frame, and the transmission time=1/(the symbol rate of the current channel/the symbol length of the physical frame).
For example, the symbol rate of the channel is 10Msps, the physical frame symbol length is 3800 symbols, and the physical frame information length is 1600 bytes. Transmission time of one frame physical frame=1/(10 Msps/3800) =0.00038 s=0.38 ms.
In this embodiment, one implementation way of calculating the total data size is:
Total data amount = first preset buffer time/transmission time of one frame physical frame x physical frame information length.
It should be noted that the modulation device 10 may periodically calculate the total data amount, calculate the remaining data amount according to the obtained total data amount, and send the remaining data amount to the data gateway 20. In order to reduce the process of calculating the total data amount, the total data amount can be recalculated when the current channel parameter is changed significantly, the residual data amount is calculated by using the newly calculated total data amount, and the current total data amount is kept unchanged when the current channel parameter is not changed significantly.
In an alternative embodiment, in order to send data more efficiently, this embodiment further provides a sending manner of sending data in the local cache queue:
firstly, obtaining the maximum frame number of physical frames taken out of a local cache queue each time;
and secondly, taking out the physical frames from the local buffer queue according to the maximum frame number and sending the physical frames.
In this embodiment, if the data amount in the local buffer queue is greater than or equal to the data amount of the maximum frame number, the data amount of the physical frame of the maximum frame number is taken out from the local buffer queue and sent, otherwise, all the physical frames in the local buffer queue are taken out and sent.
It should be noted that, the physical frame fetched from the local buffer queue is sent out through the physical layer.
In an alternative embodiment, before the step of obtaining the maximum frame number of each physical frame taken out of the local buffer queue, the present embodiment further provides a calculation method of the maximum frame number:
firstly, acquiring a second preset buffer time and a sending time for sending a physical frame;
and secondly, calculating the maximum frame number according to the second preset buffer time and the sending time.
In this embodiment, the second preset buffering time is the longest time for the driver of the modulation device 10 to normally send the maximum data amount buffered by the driver itself, and may be set according to the own performance of the modulation device 10 and the size of the buffer of the driver itself.
In this embodiment, the transmission time of transmitting a physical frame is already described in the above calculation of the total data amount, and will not be described here again.
In the present embodiment, the maximum frame number=upper (second preset buffer time/transmission time of one frame physical frame), where UPPER () is a function rounded up.
It should be noted that, the calculation formulas in this embodiment are all calculated for the forward TDM channel parameters.
In this embodiment, in order to cooperate with the modulation device 10, the present embodiment further provides a corresponding processing manner of the data gateway 20, please refer to fig. 4, fig. 4 is a flowchart illustrating a link flow control method applied to the data gateway according to an embodiment of the present invention, the method includes the following steps:
in step S201, the remaining data amount sent by the modulation device is received, where the remaining data amount is a data amount that can be received by a local buffer queue of the modulation device according to the total data amount and the used data amount, and the total data amount is determined according to the first preset buffer time and the current channel parameter, and characterizes a maximum data amount that can be received by the local buffer queue of the modulation device and can be sent in the first preset buffer time.
And step S202, data is sent to the modulation equipment according to the residual data quantity so as to realize link flow control between the modulation equipment and the data gateway.
In an alternative embodiment, a method for transmitting data to a modulation device according to the remaining data amount to realize link flow control between the modulation device and a data gateway is as follows:
if the used data amount of the local cache queue of the data gateway is larger than or equal to the residual data amount, taking out the data with the size equal to the residual data amount from the local cache queue of the data gateway, and sending the taken-out data to the modulation equipment so as to realize link flow control between the modulation equipment and the data gateway;
And if the used data quantity of the local cache queue of the data gateway is smaller than the residual data quantity, all data in the local cache queue of the data gateway is sent to the modulation equipment so as to realize the link flow control between the modulation equipment and the data gateway.
In this embodiment, since the data gateway 20 takes out data from the local buffer queue of the data gateway according to the remaining data amount sent by the modulation device 10 and sends the data, the accumulation of data in the local buffer queue of the modulation device 10 is not caused, and thus the signaling delay time is not excessively long.
It should be noted that, the total data amount of the local buffer queues of the data gateway 20 may be calculated in the same manner as the total data amount of the local buffer queues of the modulation device 10, that is, the total data amount calculated by the two may be the same.
In an optional implementation manner, in a scenario where signaling data and service data are mixed and sent in the same channel, in order to avoid that the amount of service data is too large, the processing of the signaling data is excessively delayed, and thus RCST reverse service is unavailable or even drops, the embodiment further provides a processing manner in the scenario:
acquiring a signaling queue and a service data queue, wherein the signaling queue is used for temporarily storing signaling data from a network control center, and the service data queue is used for temporarily storing service data forwarded by a switch;
If the local cache queue of the data gateway is not full and the signaling data exists in the signaling queue, transferring the signaling data in the signaling queue group to the local cache queue of the data gateway so as to update the local cache queue of the data gateway;
and if the local cache queue of the updated data gateway is not full and the service data exists in the service data queue, transferring the service data in the service data queue to the local cache queue of the data gateway.
In this embodiment, the data gateway 20 has a local buffer queue, a signaling queue and a service data queue, the signaling queue temporarily stores signaling data from the network control center 70, the service data queue temporarily stores service data from the network forwarded by the switch 30, the data gateway 20 manages the service data forwarded by the switch 30 and the signaling data from the network control center 70 with different queues, so that the signaling data is conveniently and preferentially transferred to the local buffer queue of the data gateway 20, and further the signaling data can be preferentially sent out from the local buffer queue, thereby ensuring that the signaling data can be processed in time and as soon as possible, and avoiding the problems of unavailable service or disconnection caused by too long signaling data delay.
In order to perform the respective steps of the above-described embodiments and various possible implementations, an implementation of the first link flow control apparatus 100 applied to a modulation device is given below. Referring to fig. 5, fig. 5 is a block diagram of a first link flow control device 100 according to an embodiment of the invention. It should be noted that, the basic principle and the technical effects of the first link flow control device 100 provided in this embodiment are the same as those of the foregoing embodiments, and for brevity, this embodiment is not mentioned in the section of this embodiment.
The first link flow control device 100 includes an acquisition module 110, a calculation module 120, and a first transmission module 130.
The obtaining module 110 is configured to obtain a total data amount and a used data amount of the local buffer queue, where the total data amount is determined according to a first preset buffer time and a current channel parameter, and represents a maximum data amount that can be accommodated by the local buffer queue and can be sent in the first preset buffer time.
The calculating module 120 is configured to calculate, according to the total data amount and the used data amount, a remaining data amount that can be accommodated by the local cache queue.
And the first sending module 130 is configured to send the remaining data amount to the data gateway, so that the data gateway sends data to the modulation device according to the remaining data amount, so as to implement link flow control between the modulation device and the data gateway.
In an alternative embodiment, the current channel parameter includes a symbol rate of the current channel, a physical frame symbol length, and a physical frame information length, where the symbol rate of the current channel is a number of symbols transmitted per second under the current channel configuration, the physical frame symbol length is a number of symbols included in a frame of physical frame, and the physical frame information length is a number of bytes included in a frame of physical frame, and the computing module 120 is further configured to: calculating the sending time of sending a frame of physical frame according to the symbol rate of the current channel and the symbol length of the physical frame; and calculating the total data quantity according to the sending time, the first preset buffer time and the physical frame information length.
In an alternative embodiment, the first sending module 130 is further configured to: obtaining the maximum frame number of the physical frames taken out of the local buffer queue each time; and taking out the physical frames from the local cache queue according to the maximum frame number and sending the physical frames.
In an alternative embodiment, the computing module 120 is further configured to: acquiring a second preset buffer time and a sending time for sending a physical frame; and calculating the maximum frame number according to the second preset buffer time and the sending time.
In order to perform the above-described embodiments and corresponding steps in each of the possible implementations, an implementation of the second link flow control device 200 applied to a data gateway is given below. Referring to fig. 6, fig. 6 is a block diagram of a second link flow control device 200 according to an embodiment of the invention. It should be noted that, the basic principle and the technical effects of the second link flow control device 200 provided in this embodiment are the same as those of the above embodiment, and for brevity, this embodiment is not mentioned in the section.
The second link flow control device 200 includes a receiving module 210, a second transmitting module 220, and an updating module 230.
The receiving module 210 is configured to receive a remaining data amount sent by the modulation device, where the remaining data amount is a data amount that can be received by a local buffer queue of the modulation device according to a total data amount and a used data amount, and the total data amount is determined according to a first preset buffer time and a current channel parameter and characterizes a maximum data amount that can be received by the local buffer queue of the modulation device and can be sent in the first preset buffer time.
And a second transmitting module 220, configured to transmit data to the modulating device according to the remaining data amount, so as to implement link flow control between the modulating device and the data gateway.
In an alternative embodiment, the data gateway includes a local cache queue, and the second sending module 220 is specifically configured to: if the used data amount of the local cache queue of the data gateway is larger than or equal to the residual data amount, taking out the data with the size equal to the residual data amount from the local cache queue of the data gateway, and sending the taken-out data to the modulation equipment so as to realize link flow control between the modulation equipment and the data gateway; and if the used data quantity of the local cache queue of the data gateway is smaller than the residual data quantity, all data in the local cache queue of the data gateway is sent to the modulation equipment so as to realize the link flow control between the modulation equipment and the data gateway.
In an alternative embodiment, the data gateway includes a signaling queue and a service data queue, and the data gateway is communicatively connected to both the switch and the network control center, and the update module 230 is configured to: acquiring a signaling queue and a service data queue, wherein the signaling queue is used for temporarily storing signaling data from a network control center, and the service data queue is used for temporarily storing service data forwarded by a switch; if the local cache queue of the data gateway is not full and the signaling data exists in the signaling queue, transferring the signaling data in the signaling queue group to the local cache queue of the data gateway so as to update the local cache queue of the data gateway; and if the local cache queue of the updated data gateway is not full and the service data exists in the service data queue, transferring the service data in the service data queue to the local cache queue of the data gateway.
Embodiments of the present invention provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the link flow control method applied to the modulation device 10 in the foregoing embodiment, or implements the link flow control method applied to the data gateway 20 in the foregoing embodiment.
In summary, embodiments of the present invention provide a method, an apparatus, an electronic device, and a readable storage medium for controlling a link flow, where the method is applied to a modulation device, the modulation device is communicatively connected to a data gateway, the modulation device includes a local buffer queue, and the method applied to the modulation device includes: acquiring total data quantity and used data quantity of a local cache queue, wherein the total data quantity is determined according to a first preset cache time and current channel parameters and represents the maximum data quantity which can be accommodated by the local cache queue and can be sent in the first preset cache time; calculating the residual data quantity which can be contained in the local cache queue according to the total data quantity and the used data quantity; and transmitting the residual data quantity to the data gateway so that the data gateway transmits data to the modulation equipment according to the residual data quantity to realize the link flow control between the modulation equipment and the data gateway. Compared with the prior art, the embodiment of the invention has at least the following advantages: (1) The maximum data volume which can be transmitted by the modulation equipment at present can be accurately determined through the first preset buffer time and the current channel parameter, then the residual data volume which can be contained in the local buffer queue is calculated based on the total data volume and the used data volume, the residual data volume is transmitted to the data gateway, the data gateway transmits data to the modulation equipment according to the residual data volume, and finally the link flow control between the modulation equipment and the data gateway is realized, so that the problem that reverse service is unavailable even a user drops due to the fact that the link flow is higher than the channel capacity and data backlog is generated is avoided; (2) The signaling data is preferentially processed, so that the signaling delay is effectively controlled within the set time (the set time is the sum of the first preset buffer time and the second preset buffer time of the modulation device 10), and further, the problem that the reverse channel is not available due to the congestion of the forward channel and the user is dropped is avoided.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any changes or substitutions easily contemplated by those skilled in the art within the scope of the present invention should be included in the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (11)

1. A method of link traffic control, applied to a modulation device, the modulation device communicatively coupled to a data gateway, the modulation device including a local buffer queue, the method comprising:
acquiring total data quantity and used data quantity of the local cache queue, wherein the total data quantity is determined according to a first preset cache time and current channel parameters and represents the maximum data quantity which can be accommodated by the local cache queue and can be sent in the first preset cache time;
calculating the residual data quantity which can be contained in the local cache queue according to the total data quantity and the used data quantity;
and sending the residual data quantity to the data gateway so that the data gateway sends data to the modulation equipment according to the residual data quantity to realize link flow control between the modulation equipment and the data gateway.
2. The link flow control method according to claim 1, wherein the current channel parameters include a symbol rate of a current channel, a physical frame symbol length, and a physical frame information length, the symbol rate of the current channel being a number of symbols transmitted per second in a current channel configuration, the physical frame symbol length being a number of symbols included in one frame of physical frame, the physical frame information length being a number of bytes included in one frame of physical frame, the step of acquiring the total data amount and the used data amount of the local buffer queue including, before:
calculating the sending time of a physical frame according to the symbol rate of the current channel and the symbol length of the physical frame;
and calculating the total data amount according to the sending time, the first preset buffer time and the physical frame information length.
3. The link flow control method of claim 1, wherein the method further comprises:
obtaining the maximum frame number of the physical frames taken out of the local cache queue each time;
and taking out the physical frames from the local cache queue according to the maximum frame number and sending the physical frames.
4. The link flow control method of claim 3 wherein said step of obtaining a maximum number of frames per physical frame taken from said local buffer queue comprises:
Acquiring a second preset buffer time and a sending time for sending a physical frame;
and calculating the maximum frame number according to the second preset buffer time and the sending time.
5. A method of link traffic control, applied to a data gateway, the data gateway communicatively coupled to a modulation device, the modulation device including a local buffer queue, the method comprising:
receiving a residual data amount sent by the modulation equipment, wherein the residual data amount is the data amount which can be contained in a local cache queue of the modulation equipment according to the total data amount and the used data amount, and the total data amount is determined according to a first preset cache time and a current channel parameter and represents the maximum data amount which can be contained in the local cache queue of the modulation equipment and can be sent in the first preset cache time;
and sending data to the modulation equipment according to the residual data quantity so as to realize the link flow control between the modulation equipment and the data gateway.
6. The link flow control method of claim 5, wherein the data gateway includes a local buffer queue, and wherein the step of transmitting data to the modulation device based on the remaining data amount to achieve link flow control between the modulation device and the data gateway comprises:
If the used data volume of the local cache queue of the data gateway is larger than or equal to the residual data volume, taking out the data with the size equal to the residual data volume from the local cache queue of the data gateway, and sending the taken-out data to the modulation equipment so as to realize the link flow control between the modulation equipment and the data gateway;
and if the used data quantity of the local cache queue of the data gateway is smaller than the residual data quantity, all data in the local cache queue of the data gateway is sent to the modulation equipment so as to realize the link flow control between the modulation equipment and the data gateway.
7. The link flow control method of claim 6 wherein the data gateway includes a signaling queue and a traffic data queue, the data gateway being communicatively coupled to both the switch and the network control center, the method further comprising:
acquiring a signaling queue and a service data queue, wherein the signaling queue is used for temporarily storing signaling data from the network control center, and the service data queue is used for temporarily storing service data forwarded by the switch;
if the local cache queue of the data gateway is not full and signaling data exists in the signaling queue, transferring the signaling data in the signaling queue group to the local cache queue of the data gateway so as to update the local cache queue of the data gateway;
And if the updated local cache queue of the data gateway is not full and the service data exists in the service data queue, transferring the service data in the service data queue to the local cache queue of the data gateway.
8. A link flow control apparatus for use with a modulation device, the modulation device communicatively coupled to a data gateway, the modulation device including a local buffer queue, the apparatus comprising:
the acquisition module is used for acquiring the total data quantity and the used data quantity of the local cache queue, wherein the total data quantity is determined according to a first preset cache time and current channel parameters and represents the maximum data quantity which can be accommodated by the local cache queue and can be transmitted in the first preset cache time;
the calculation module is used for calculating the residual data quantity which can be accommodated by the local cache queue according to the total data quantity and the used data quantity;
and the first sending module is used for sending the residual data quantity to the data gateway so that the data gateway sends data to the modulation equipment according to the residual data quantity to realize the link flow control between the modulation equipment and the data gateway.
9. A link flow control apparatus for use with a data gateway, the data gateway communicatively coupled to a modulation device, the modulation device including a local buffer queue, the apparatus comprising:
the receiving module is used for receiving the residual data quantity sent by the modulation equipment, wherein the residual data quantity is the data quantity which can be contained in a local buffer queue of the modulation equipment according to the total data quantity and the calculated used data quantity, and the total data quantity is determined according to a first preset buffer time and the current channel parameter and represents the maximum data quantity which can be contained in the local buffer queue of the modulation equipment and can be sent in the first preset buffer time;
and the second sending module is used for sending data to the modulation equipment according to the residual data quantity so as to realize the link flow control between the modulation equipment and the data gateway.
10. An electronic device comprising a processor and a memory, the memory for storing a program, the processor for implementing the link flow control method of any one of claims 1-4 or implementing the link flow control method of any one of claims 5-7 when the program is executed.
11. A computer readable storage medium, characterized in that a computer program is stored thereon, which, when being executed by a processor, implements the link flow control method of any of claims 1-4 or implements the link flow control method of any of claims 5-7.
CN202311560309.1A 2023-11-22 2023-11-22 Link flow control method, device, electronic equipment and readable storage medium Pending CN117278472A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311560309.1A CN117278472A (en) 2023-11-22 2023-11-22 Link flow control method, device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311560309.1A CN117278472A (en) 2023-11-22 2023-11-22 Link flow control method, device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN117278472A true CN117278472A (en) 2023-12-22

Family

ID=89218187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311560309.1A Pending CN117278472A (en) 2023-11-22 2023-11-22 Link flow control method, device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN117278472A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951389A (en) * 2010-10-22 2011-01-19 华为技术有限公司 Method and device for controlling information channel flow
CN113518382A (en) * 2020-04-10 2021-10-19 华为技术有限公司 Flow control method and device
CN114745273A (en) * 2022-06-10 2022-07-12 成都星联芯通科技有限公司 TCP acceleration proxy method, device, satellite ground station and readable storage medium
CN115835285A (en) * 2022-10-31 2023-03-21 航天科工空间工程网络技术发展(杭州)有限公司 Network flow control method, storage medium and gateway of satellite communication system
CN115913329A (en) * 2022-11-04 2023-04-04 中电防务科技有限公司 Wireless resource allocation method for satellite mobile communication system
CN116156019A (en) * 2023-02-15 2023-05-23 航天科工空间工程网络技术发展(杭州)有限公司 TCP flow control method, system, equipment and medium for satellite network
CN116192771A (en) * 2023-02-09 2023-05-30 航天科工空间工程网络技术发展(杭州)有限公司 Priority queue management method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951389A (en) * 2010-10-22 2011-01-19 华为技术有限公司 Method and device for controlling information channel flow
CN113518382A (en) * 2020-04-10 2021-10-19 华为技术有限公司 Flow control method and device
CN114745273A (en) * 2022-06-10 2022-07-12 成都星联芯通科技有限公司 TCP acceleration proxy method, device, satellite ground station and readable storage medium
CN115835285A (en) * 2022-10-31 2023-03-21 航天科工空间工程网络技术发展(杭州)有限公司 Network flow control method, storage medium and gateway of satellite communication system
CN115913329A (en) * 2022-11-04 2023-04-04 中电防务科技有限公司 Wireless resource allocation method for satellite mobile communication system
CN116192771A (en) * 2023-02-09 2023-05-30 航天科工空间工程网络技术发展(杭州)有限公司 Priority queue management method and system
CN116156019A (en) * 2023-02-15 2023-05-23 航天科工空间工程网络技术发展(杭州)有限公司 TCP flow control method, system, equipment and medium for satellite network

Similar Documents

Publication Publication Date Title
CN100411327C (en) Appts. and method for delivery of packets in multi-hop wireless networks
CN103118134B (en) A kind of large Data dissemination method for guaranteeing quality of oriented mission level and device
EP3780416A1 (en) Satellite beam hopping
CN108632910A (en) A kind of QoS processing methods and equipment
CN109863782B (en) 5G congestion control
EP3726787B1 (en) Data stream sending method, device and system
US11751092B2 (en) Flexible mapping of logical end-points
US20050063308A1 (en) Method of transmitter oriented link flow control
CN117278472A (en) Link flow control method, device, electronic equipment and readable storage medium
CN111194056B (en) Encapsulation of data packets
CN113395100A (en) Cross-layer design for closed loop feedback in wireless networks
CN110750486A (en) RDMA data stream control method, system, electronic device and readable storage medium
ES2276479T3 (en) FUNCTION OF OPTIMIZATION OF RESOURCES IN A SYSTEM OF DATA TRANSMISSION TELECOMMUNICATIONS.
CN108365886B (en) Time division multiplexing inter-satellite network data storing and forwarding method
CN114095971B (en) Method, system, device, equipment and storage medium for processing communication data packet
US20060072577A1 (en) Method for communication over a lossy interface
CN111869134A (en) Network agnostic dynamic SATCOM system and associated network features
CN101473686B (en) Method for reducing the delay time by a paging procedure in network-initiated data transmission in GPRS-mobile communication networks
CN101277148B (en) Method for distributing upstream band width, equipment, base station controller as well as radio transmission system
CN103731886A (en) Bandwidth allocation system, method and device
CN114040510A (en) Data transmission method and related device
US6693877B1 (en) Data discard avoidance method
CN111480351A (en) Handling delay tolerant communications
CN113206799B (en) Message forwarding method and device
CN110035560B (en) Context interaction method, device and memory device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20231222