CN116131901A - A satellite data channel control system and method - Google Patents
A satellite data channel control system and method Download PDFInfo
- Publication number
- CN116131901A CN116131901A CN202211444889.3A CN202211444889A CN116131901A CN 116131901 A CN116131901 A CN 116131901A CN 202211444889 A CN202211444889 A CN 202211444889A CN 116131901 A CN116131901 A CN 116131901A
- Authority
- CN
- China
- Prior art keywords
- frame
- control
- data
- queue
- unit
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000005540 biological transmission Effects 0.000 claims abstract description 90
- 238000006243 chemical reaction Methods 0.000 claims abstract description 25
- 238000012545 processing Methods 0.000 claims description 53
- 230000008569 process Effects 0.000 claims description 13
- 238000004364 calculation method Methods 0.000 claims description 12
- 230000011664 signaling Effects 0.000 claims description 8
- 230000006870 function Effects 0.000 claims description 6
- 239000000284 extract Substances 0.000 claims description 3
- 238000007726 management method Methods 0.000 claims 4
- 238000013500 data storage Methods 0.000 claims 1
- 238000004891 communication Methods 0.000 description 8
- 230000004044 response Effects 0.000 description 4
- 238000003780 insertion Methods 0.000 description 3
- 230000037431 insertion Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 241001522296 Erithacus rubecula Species 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 238000011217 control strategy Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000009365 direct transmission Effects 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000009432 framing Methods 0.000 description 1
- 238000003032 molecular docking Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/14—Relay systems
- H04B7/15—Active relay systems
- H04B7/185—Space-based or airborne stations; Stations for satellite systems
- H04B7/1851—Systems using a satellite or space-based relay
- H04B7/18513—Transmission in a satellite or space-based system
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/14—Relay systems
- H04B7/15—Active relay systems
- H04B7/185—Space-based or airborne stations; Stations for satellite systems
- H04B7/1851—Systems using a satellite or space-based relay
- H04B7/18515—Transmission equipment in satellites or space-based relays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/14—Relay systems
- H04B7/15—Active relay systems
- H04B7/185—Space-based or airborne stations; Stations for satellite systems
- H04B7/18578—Satellite systems for providing broadband data service to individual earth stations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
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)
- Computer Security & Cryptography (AREA)
- Radio Relay Systems (AREA)
- Communication Control (AREA)
Abstract
本发明公开了一种卫星数据通道控制系统及方法,包括:一数据协议转换设备,其中,所述数据协议转换设备具体包括:控制接口模块,用于生成控制帧,并通过数据通道发往宽带卫星收发信机中的数据接口单元;数据流控制模块,用于对控制帧和数据帧在网络底层进行合路传输的控制;控制帧接收队列,用于接收并存储来自宽带卫星收发信机方向的控制帧,控制帧发送队列,用于存储发往宽带卫星收发信机和数据流控制模块的控制帧。本发明提高了对卫星收发信机数据通道动态控制的速度,使其能适应卫星链路快速变化的情况,提升整体数据传输效率和可靠性。
The invention discloses a satellite data channel control system and method, including: a data protocol conversion device, wherein the data protocol conversion device specifically includes: a control interface module, used to generate a control frame, and send it to the broadband through the data channel The data interface unit in the satellite transceiver; the data flow control module is used to control the combined transmission of the control frame and the data frame at the bottom layer of the network; the control frame receiving queue is used to receive and store the directions from the broadband satellite transceiver The control frame and the control frame sending queue are used to store the control frames sent to the broadband satellite transceiver and the data flow control module. The invention improves the speed of dynamic control of the data channel of the satellite transceiver so that it can adapt to the rapidly changing situation of the satellite link and improve the overall data transmission efficiency and reliability.
Description
技术领域technical field
本发明涉及卫星通信技术领域,尤其涉及一种卫星数据通道控制系统及方法。The invention relates to the technical field of satellite communication, in particular to a satellite data channel control system and method.
背景技术Background technique
卫星地面站系统中,卫星收发设备和地面网络之间进行数据面信息传输的通路,一般为卫星收发信机和地面网络之间的数据通道,这个数据通道中的设备主要包括卫星收发信机、数据面协议转换设备以及地面段网络设备等,数据通道实现将卫星信号转换为地面网络数据,继而传输到地面网元设备;同时将来自地面网络侧的数据传输到卫星收发信机,转换为卫星空中接口数据帧然后发送给卫星。In the satellite ground station system, the path for data plane information transmission between the satellite transceiver equipment and the ground network is generally the data channel between the satellite transceiver and the ground network. The equipment in this data channel mainly includes satellite transceivers, Data plane protocol conversion equipment and ground segment network equipment, etc., the data channel realizes the conversion of satellite signals into ground network data, and then transmits them to the ground network element equipment; at the same time, the data from the ground network side is transmitted to the satellite transceiver and converted into satellite data. The air interface data frame is then sent to the satellite.
在高轨卫星通信系统中,由于卫星位置相对静止,卫星通信链路可长时间保持固定的状态,数据通道参数无需频繁调整,而且由于每颗卫星资源需要分配给大量的地面站,每个地面站的传输带宽相对不高,因此对数据通道的控制响应速度要求不高,在此类系统中,对数据通道的控制方法一般通过上层网络协议接口交互的方式来实现,该技术需要在卫星收发信机和相关网络控制设备上配置专门的控制实体和控制接口,控制实体间通过TCP/UDP/IP等通用网络传输协议建立连接,进行控制信息的交互,控制信息的反馈经由“底层-上层-上层“的传输路径,控制信令的下达经由“上层到上层再到底层”的传输路径,每次控制闭环需进行多次在设备上层间以及设备内部上下层间交互的子过程,信息传输的环节较多,闭环时间较长。In the high-orbit satellite communication system, since the position of the satellite is relatively static, the satellite communication link can remain fixed for a long time, and the data channel parameters do not need to be adjusted frequently, and because each satellite resource needs to be allocated to a large number of ground stations, each ground The transmission bandwidth of the station is relatively low, so the control response speed of the data channel is not high. In this type of system, the control method of the data channel is generally realized through the interaction of the upper layer network protocol interface. Communication machines and related network control equipment are equipped with special control entities and control interfaces. Connections between control entities are established through general network transmission protocols such as TCP/UDP/IP to exchange control information. The feedback of control information is via the "bottom-upper-layer- The transmission path of the upper layer, the control signaling is issued through the transmission path of "upper layer to upper layer and then to the bottom layer", each control closed loop needs to carry out multiple sub-processes of interaction between the upper layer of the device and between the upper and lower layers inside the device, information transmission There are many links, and the closed-loop time is longer.
然而在低轨卫星通信系统中,由于卫星轨道位置低,其相对于地面站作高速运动,星地通信链路始终处于快速变化状态中,而且由于可用带宽资源更高,数据通路需承载更高传输速率和更复杂的业务,整个系统将对数据通道控制响应的实时性提出更高要求。However, in the low-orbit satellite communication system, due to the low orbit position of the satellite, it moves at a high speed relative to the ground station, and the satellite-ground communication link is always in a state of rapid change. Transmission rate and more complex services, the whole system will put forward higher requirements on the real-time performance of the data channel control response.
目前针对卫星收发信机和地面网络间数据通道的控制多采用上层网络对接的方法,该方法响应时延大,在低轨卫星应用场景下,会造成数据通道未能及时根据卫星链路变化情况做出调整,从而造成传输效率的下降,该方法也未考虑将实时要求高的控制信息直接在网络底层通过数据面传输通道传输。此外,该方法还需配置专用的物理接口,在卫星多通道应用场景中将增加硬件接口复杂度。At present, the control of the data channel between the satellite transceiver and the ground network mostly adopts the method of upper-layer network docking. This method has a large response delay. In the application scenario of low-orbit satellites, the data channel will not be able to respond to changes in the satellite link in time. Adjustments are made, resulting in a decline in transmission efficiency. This method also does not consider the direct transmission of control information with high real-time requirements at the bottom layer of the network through the data plane transmission channel. In addition, this method also needs to configure a dedicated physical interface, which will increase the complexity of the hardware interface in the satellite multi-channel application scenario.
发明内容Contents of the invention
本发明提供一种数据通道控制方法及系统,主要针对宽带卫星收发信机和地面网络间数据通道的控制,以解决在高速卫星数据传输的场景中对数据通路的响应速度的控制问题,使其能够快速适配卫星链路的变化情况。The present invention provides a data channel control method and system, mainly aimed at the control of the data channel between the broadband satellite transceiver and the ground network, so as to solve the problem of controlling the response speed of the data channel in the scene of high-speed satellite data transmission, making it Ability to quickly adapt to changes in satellite links.
为了解决上述技术问题,第一方面,本发明实施例提供了一种卫星数据通道控制系统,所述系统包括:In order to solve the above technical problems, in the first aspect, the embodiment of the present invention provides a satellite data channel control system, the system includes:
一数据协议转换设备,其中,A data protocol conversion device, wherein,
所述数据协议转换设备具体包括:The data protocol conversion equipment specifically includes:
控制接口模块,用于生成控制帧,并通过数据通道发往宽带卫星收发信机中的数据接口单元;The control interface module is used to generate the control frame and send it to the data interface unit in the broadband satellite transceiver through the data channel;
数据流控制模块,用于对控制帧和数据帧在网络底层进行合路传输的控制;The data flow control module is used to control the combined transmission of control frames and data frames at the bottom layer of the network;
控制帧接收队列,用于接收并存储来自宽带卫星收发信机方向的控制帧,The control frame receiving queue is used to receive and store control frames from the direction of the broadband satellite transceiver,
控制帧发送队列,用于存储发往宽带卫星收发信机和数据流控制模块的控制帧。The control frame sending queue is used to store the control frames sent to the broadband satellite transceiver and the data flow control module.
具体的,所述接口控制模块根据下行控制帧接收信息或上位机的用户信令来生成新的上行控制帧,上行控制帧主要包括数据通道的控制参数,所述控制参数包括发送周期、队列容量、网络接口速率,用以调整数据通道的工作状态。Specifically, the interface control module generates a new uplink control frame according to the downlink control frame reception information or the user signaling of the upper computer, the uplink control frame mainly includes the control parameters of the data channel, and the control parameters include the sending cycle and the queue capacity , The speed of the network interface is used to adjust the working status of the data channel.
进一步的,所述数据流控制模块还用于:Further, the data flow control module is also used for:
在上行传输通道中,根据数据业务数据帧的当前传输状态,检查当前控制帧发送窗口,计算控制帧传输的时刻和数据业务帧的数据量,并将控制帧写入卫星侧发送队列;并在下行数据通道中从卫星侧接收读取传输帧,读取帧类型信息和控制帧独特字信息,如果为控制帧类型,则将对应的帧写入控制帧接收队列。In the uplink transmission channel, according to the current transmission status of the data service data frame, check the current control frame sending window, calculate the time of control frame transmission and the data volume of the data service frame, and write the control frame into the satellite side sending queue; and In the downlink data channel, the transmission frame is received and read from the satellite side, and the frame type information and the unique word information of the control frame are read. If it is a control frame type, the corresponding frame is written into the control frame receiving queue.
进一步优选的,所述数据流控制模块按固定时间周期来控制帧插入业务数据流,以实现对控制帧和数据业务数据帧在网络底层的合路传输,具体包括:Further preferably, the data flow control module controls frame insertion into the service data flow according to a fixed time period, so as to realize combined transmission of control frames and data service data frames at the bottom layer of the network, specifically including:
用以调用系统函数,获取当前系统时钟计数值SCCcur的第一单元;The first unit used to call the system function to obtain the current system clock count value SCC cur ;
用以将计数值的差值和预设的处理周期值比较,进行以下操作的第二单元:The second unit for comparing the difference between the count value and the preset processing cycle value to perform the following operations:
当SCCcur-SCCprev≥SCCperiod时,将SCCcur作为下一处理周期的起始时刻,进入第三单元;When SCC cur -SCC prev ≥ SCC period , use SCC cur as the starting moment of the next processing cycle, and enter the third unit;
当SCCcur-SCCprew<SCCperiod时,不进行操作,结束;When SCC cur -SCC prew <SCC period , do not operate and end;
其中,SCCcur为当前系统时钟计数值,由第一单元中获取;SCCprev为上一处理周期的起始时刻,由上一周期的第十四单元中更新;SCCperiod为处理周期时间对应的计数值;Among them, SCC cur is the count value of the current system clock, which is obtained from the first unit; SCC prev is the starting moment of the previous processing cycle, which is updated from the fourteenth unit of the previous cycle; SCC period is the time corresponding to the processing cycle count value;
用以统计当前数据面协议处理模块中等待发送的数据业务数据帧的数据量的第三单元;A third unit for counting the data volume of data service data frames waiting to be sent in the current data plane protocol processing module;
用以计算应用于本次处理周期的业务数据帧发送窗口值的第四单元,所述第四单元计算方法如下:The fourth unit used to calculate the sending window value of the service data frame applied to this processing cycle, the calculation method of the fourth unit is as follows:
其中:in:
Wdata为当前周期业务数据的发送窗口值,单位为字节;W data is the sending window value of the current cycle business data, in bytes;
Rsat_link为当前卫星链路的传输速率,单位为字节/秒;R sat_link is the transmission rate of the current satellite link, in bytes/second;
Reth_link为当前地面网络接口的传输速率,单位为字节/秒;R eth_link is the transmission rate of the current ground network interface, in bytes/second;
Tproc为数据处理周期值,单位为秒;T proc is the data processing cycle value in seconds;
Sdata为当前待处理业务数据总数据量,单位为字节,该参数从第三单元中获取到;S data is the total data volume of the current business data to be processed, the unit is byte, and this parameter is obtained from the third unit;
Wadj为调整窗口值,单位为字节,其数值大小取决于上一周期业务数据面和控制面的帧发送情况,在上一周期的第十三单元中进行设置;W adj is the adjustment window value, the unit is byte, and its numerical value depends on the frame transmission situation of the business data plane and the control plane in the previous cycle, and is set in the thirteenth unit of the previous cycle;
用以根据业务数据帧发送窗口值将业务数据帧批量写入卫星侧发送队列的第五单元;The fifth unit for writing business data frames in batches into the sending queue on the satellite side according to the sending window value of the business data frames;
用以统计发送控制帧总长度,即卫星侧发送队列中当前的数据量的第六单元,单位为字节,将队列中控制帧长度记为CFLi,下标i表示控制帧在队列中的序号,则控制帧总长度记为i=1表示队列的首帧,i=n为队列最后一帧;It is used to count the total length of the sent control frame, that is, the sixth unit of the current data volume in the sending queue on the satellite side. The unit is byte. The length of the control frame in the queue is recorded as CFL i , and the subscript i indicates the number of control frames in the queue. sequence number, the total length of the control frame is recorded as i=1 means the first frame of the queue, i=n is the last frame of the queue;
用以计算控制帧的发送窗口值的第七单元,第七单元的计算方法如下所示:The seventh unit used to calculate the sending window value of the control frame, the calculation method of the seventh unit is as follows:
其中:in:
Wctrl为控制帧的发送窗口值,单位为字节;W ctrl is the sending window value of the control frame, the unit is byte;
用以当n>0且时,则为队列中所有控制帧执行出列操作,申请帧缓存空间,生成帧指针并写入卫星侧发送队列;for when n>0 and , execute the dequeue operation for all control frames in the queue, apply for frame buffer space, generate frame pointers and write them into the send queue on the satellite side;
当n>0且时,先将满足且的前k个控制帧执行出列操作的第八单元;when n>0 and , first satisfy and The eighth unit that executes the dequeue operation in the first k control frames;
用以判断当前控制帧队列中的队首帧是否等待超时,如未超时则本次周期发送操作结束,转到第十二单元执行;如超时则转到第十单元执行的第九单元;It is used to judge whether the first frame in the current control frame queue waits for a timeout. If it does not time out, the sending operation of this cycle ends, and it goes to the twelfth unit for execution; if it times out, it goes to the ninth unit for execution in the tenth unit;
用以如果额外发送的超时控制帧长度Sextra未超过控制发送窗口一半,则转到第十二单元执行,否则转到第十一单元执行的第十单元;If the length of the timeout control frame S extra sent additionally does not exceed half of the control sending window, then go to the twelfth unit for execution, otherwise go to the tenth unit for execution by the eleventh unit;
用以将当前队首控制帧出列,并将帧长累加到Sextra,返回第九单元执行的第十一单元;It is used to dequeue the current leader control frame, add the frame length to S extra , and return to the eleventh unit executed by the ninth unit;
用以执行队列更新,将队列中所有未发送的超时控制帧作丢弃处理,将所有剩余未超时的控制帧的等待时间Twait增加Tproc的第十二单元;In order to perform queue update, all unsent overtime control frames in the queue are discarded, and the waiting time T wait of all remaining untimed control frames is increased by the twelfth unit of T proc ;
用以将下一周期的调整窗口值Wadj更新为Sextra的第十三单元;A thirteenth unit for updating the adjustment window value W adj of the next period to S extra ;
用以将SCCprev更新为SCCcur的第十四单元。The fourteenth unit used to update SCC prev to SCC cur .
第二方面,为了解决本发明实施例的技术问题,本发明实施例还提供了一种卫星数据通道通道控制方法,所述方法包括:In the second aspect, in order to solve the technical problems of the embodiments of the present invention, the embodiments of the present invention also provide a satellite data channel channel control method, the method comprising:
S201、控制接口模块根据下行控制帧接收信息或上位机的用户信令生成新的上行控制帧,所述上行控制帧包括数据通道的控制参数,所述控制参数包括发送周期、队列容量、网络接口速率以调整数据通道的工作状态;S201. The control interface module generates a new uplink control frame according to the received information of the downlink control frame or the user signaling of the upper computer, the uplink control frame includes control parameters of the data channel, and the control parameters include sending cycle, queue capacity, network interface rate to adjust the working status of the data channel;
S202、控制接口模块访问控制帧发送队列,如所述控制帧发送队列已满,则将队列头的控制帧丢弃,将队列头指针回退一个位置,然后将新的控制帧写入队列尾部;S202. The control interface module accesses the control frame transmission queue, and if the control frame transmission queue is full, discards the control frame at the head of the queue, rolls back the queue head pointer by one position, and then writes a new control frame to the tail of the queue;
S203、数据流控制模块根据数据业务的当前传输状态,检查当前控制帧发送窗口,计算控制帧出队列的时刻和传输的数据业务量;S203. The data flow control module checks the current control frame sending window according to the current transmission status of the data service, and calculates the time when the control frame leaves the queue and the transmitted data traffic volume;
S204、数据流控制模块按以太网帧格式对上行控制帧进行封装,向帧缓存管理模块申请内存空间并存储,并生成帧地址指针,执行卫星侧发送队列的入队列操作;S204. The data flow control module encapsulates the uplink control frame according to the Ethernet frame format, applies for a memory space from the frame buffer management module and stores it, and generates a frame address pointer, and executes the enqueue operation of the sending queue on the satellite side;
S205、卫星侧发送队列根据帧地址指针,提取帧缓存管理模块对应的控制帧以直接内存访问方式传输到多速率网卡,发送到卫星收发信机的数据接口单元。S205. The sending queue on the satellite side extracts the control frame corresponding to the frame buffer management module according to the frame address pointer, transmits it to the multi-rate network card in a direct memory access mode, and sends it to the data interface unit of the satellite transceiver.
进一步的,所述S203具体包括:Further, the S203 specifically includes:
S401、调用系统函数,获取当前系统时钟计数值SCCcur;S401. Call the system function to obtain the current system clock count value SCC cur ;
S402、将计数值的差值和预设的处理周期值比较,进行以下操作:S402. Comparing the difference between the count value and the preset processing cycle value, perform the following operations:
当SCCcur-SCCprev≥SCCperiod时,将SCCcur作为下一处理周期的起始时刻,进入S403;When SCC cur -SCC prev ≥ SCC period , use SCC cur as the starting moment of the next processing cycle, and enter S403;
当SCCcur-SCCprev<SCCperiod时,不进行操作,结束;When SCC cur -SCC prev <SCC period , do not operate and end;
其中,SCCcur为当前系统时钟计数值,由S401中获取;SCCprev为上一处理周期的起始时刻,由上一周期的S414中更新;SCCperiod为处理周期时间对应的计数值;Wherein, SCC cur is the count value of the current system clock, obtained in S401; SCC prev is the starting moment of the previous processing cycle, updated in S414 of the previous cycle; SCC period is the count value corresponding to the processing cycle time;
S403、统计当前数据面协议处理模块中等待发送的业务数据的数据帧量;S403. Count the number of data frames of service data waiting to be sent in the current data plane protocol processing module;
S404、计算应用于本次处理周期的业务数据帧发送窗口值,计算方法如下:S404. Calculate the sending window value of the service data frame applied to this processing cycle, and the calculation method is as follows:
其中:in:
Wdata为当前周期业务数据的发送窗口值,单位为字节;W data is the sending window value of the current cycle business data, in bytes;
Rsat_link为当前卫星链路的传输速率,单位为字节/秒;R sat_link is the transmission rate of the current satellite link, in bytes/second;
Reth_link为当前地面网络接口的传输速率,单位为字节/秒,如采用千兆以太网接口,该参数为125M字节/秒;R eth_link is the transmission rate of the current ground network interface, the unit is byte/s, if Gigabit Ethernet interface is used, this parameter is 125M bytes/s;
Tproc为数据处理周期值,单位为秒;T proc is the data processing cycle value in seconds;
Sdata为当前待处理业务数据总数据帧量,单位为字节,该参数从S403中获取到;S data is the total data frame size of the current pending business data, in bytes, and this parameter is obtained from S403;
Wadj为调整窗口值,单位为字节,其数值大小取决于上一周期业务数据面和控制面的帧发送情况,在上一周期的S413中进行设置;W adj is the adjustment window value, the unit is byte, and its numerical value depends on the frame transmission situation of the business data plane and the control plane in the previous cycle, and is set in S413 of the previous cycle;
S405、根据业务数据帧发送窗口值将业务数据帧批量写入卫星侧发送队列;S405. Write the service data frames into the sending queue on the satellite side in batches according to the service data frame sending window value;
S406、统计发送控制帧总长度,即发送队列中当前的数据量,单位为字节,将队列中控制帧长度记为CFLi,下标i表示控制帧在队列中的序号,则控制帧总长度记为i=1表示队列的首帧,i=n为队列最后一帧;S406, counting the total length of the control frame sent, that is, the current amount of data in the sending queue, the unit is byte, the length of the control frame in the queue is recorded as CFL i , and the subscript i represents the serial number of the control frame in the queue, then the total number of control frames The length is recorded as i=1 means the first frame of the queue, i=n is the last frame of the queue;
S407、计算控制帧的发送窗口值,计算方法如下所示:S407. Calculate the sending window value of the control frame, the calculation method is as follows:
其中:in:
Wctrl为控制帧的发送窗口值,单位为字节;W ctrl is the sending window value of the control frame, the unit is byte;
S408、当n>0且时,则为队列中所有控制帧执行出列操作,申请帧缓存空间,生成帧指针并写入卫星侧发送队列;S408, when n>0 and , execute the dequeue operation for all control frames in the queue, apply for frame buffer space, generate frame pointers and write them into the send queue on the satellite side;
当n>0且时,先将满足且的前k个控制帧执行出列操作,when n>0 and , first satisfy and The first k control frames of the dequeue operation are performed,
S409、判断当前控制帧队列中的队首帧是否等待超时,如未超时则本次周期发送操作结束,转到S412;如超时则转到S410,S409, judging whether the first frame of the team in the current control frame queue waits for timeout, if not overtime, then this cycle sending operation ends, and forwards to S412; if overtime, then forwards to S410,
S410、如果额外发送的超时控制帧长度Sextra未超过控制发送窗口一半,则转到S412,否则转到S411;S410. If the length S extra of the timeout control frame sent additionally does not exceed half of the control sending window, then go to S412, otherwise go to S411;
S411、将当前队首控制帧出列,并将帧长累加到Sextra,返回S409;S411. Dequeue the current leader control frame, add the frame length to S extra , and return to S409;
S412、执行队列更新,将队列中所有未发送的超时控制帧作丢弃处理,将所有剩余未超时的控制帧的等待时间Twait增加Tproc;S412. Perform queue update, discard all unsent overtime control frames in the queue, and increase the waiting time T wait of all remaining untimed control frames by T proc ;
S413、然后将下一周期的调整窗口值Wadj更新为Sextra;S413, and then update the adjustment window value W adj of the next period to S extra ;
S414、将SCCprev更新为SCCcur。S414. Update SCC prev to SCC cur .
进一步的,所述方法还包括:Further, the method also includes:
S301、卫星收发信机的数据接口单元将当前卫星链路工作状态参数写入控制帧的信息字段,所述工作状态参数包括调制编码方式、信号带宽、信道数量,并填充帧首部信息生成下行控制帧发送给数据协议转换设备;S301, the data interface unit of the satellite transceiver writes the current satellite link working state parameters into the information field of the control frame, the working state parameters include modulation and coding mode, signal bandwidth, channel number, and fill the frame header information to generate downlink control The frame is sent to the data protocol conversion device;
S302、数据协议转换设备通过多速率网卡接收控制帧,并储存到帧管理模块中;S302. The data protocol conversion device receives the control frame through the multi-rate network card, and stores it in the frame management module;
S303、帧管理模块检验控制帧的以太网帧首部地址、类型和长度信息,生成帧描述符并将地址指针写入卫星侧接收队列;S303. The frame management module checks the Ethernet frame header address, type and length information of the control frame, generates a frame descriptor and writes the address pointer into the receiving queue at the satellite side;
S304、数据流控制模块从卫星侧接收队列读取数据帧,读取帧类型信息和控制帧独特字信息,如果为控制帧类型,则将该帧写入控制帧接收队列;S304. The data flow control module reads the data frame from the receiving queue on the satellite side, reads the frame type information and the unique word information of the control frame, and if it is a control frame type, writes the frame into the control frame receiving queue;
S305、控制接口模块通过轮询方式从控制帧接收队列得到控制帧,读取帧的地址、类型、独特字和长度等字段信息,与预设的参数表比对判断接收控制帧的正确性,读取信息字段中卫星链路参数,保存到本地参数列表。S305. The control interface module obtains the control frame from the control frame receiving queue by polling, reads field information such as the address, type, unique word and length of the frame, compares it with the preset parameter table to determine the correctness of the received control frame, Read the satellite link parameters in the information field and save them to the local parameter list.
通过本发明所构思的以上技术方案,与现有技术相比,本发明实施例具有以下的优点:提高对卫星收发信机数据通道动态控制的速度,使其能适应卫星链路快速变化的情况,从而提升整体数据传输效率和可靠性。同时,由于控制信息直接在数据通道中传输,无需额外增加专用的高速控制接口,进一步降低硬件接口复杂度。Through the above technical scheme conceived by the present invention, compared with the prior art, the embodiment of the present invention has the following advantages: improve the speed of dynamic control of the data channel of the satellite transceiver, so that it can adapt to the rapidly changing situation of the satellite link , so as to improve the overall data transmission efficiency and reliability. At the same time, since the control information is directly transmitted in the data channel, there is no need to add a dedicated high-speed control interface, which further reduces the complexity of the hardware interface.
附图说明Description of drawings
下面将结合附图说明对本发明的具体实施方式进行举例说明。The specific implementation manners of the present invention will be illustrated below with reference to the accompanying drawings.
图1为本发明实施例一种卫星数据通道控制系统示意图;Fig. 1 is a schematic diagram of a satellite data channel control system according to an embodiment of the present invention;
图2为本发明实施例一种卫星数据通道控制方法流程示意图;2 is a schematic flow chart of a satellite data channel control method according to an embodiment of the present invention;
图3为本发明实施例另一种卫星数据通道控制方法流程图;3 is a flow chart of another satellite data channel control method according to an embodiment of the present invention;
图4为本发明实施例另一种卫星数据通道控制方法流程图。FIG. 4 is a flowchart of another satellite data channel control method according to an embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,而并非要限制本发明的范围。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the scope of the present invention.
本发明实施例提出的一种针对宽带卫星收发信机和地面网络之间的数据通路的控制方法,通过将卫星收发信机和上层网络设备之间的控制帧插入到数据加速通道,并与业务数据进行合路传输,实现对数据通路上各个设备工作参数的快速调整,使得上层网络设备能根据卫星链路的变化情况快速做出响应。A control method for the data path between the broadband satellite transceiver and the ground network proposed by the embodiment of the present invention inserts the control frame between the satellite transceiver and the upper-layer network equipment into the data acceleration channel, and communicates with the business The data is combined and transmitted to realize the rapid adjustment of the working parameters of each device on the data path, so that the upper-layer network devices can respond quickly according to the changes in the satellite link.
为了实现本发明的发明目的,本发明实施例提供一种卫星数据通道控制系统,所述系统包括:In order to achieve the purpose of the present invention, the embodiment of the present invention provides a satellite data channel control system, the system includes:
一数据协议转换设备,其中,A data protocol conversion device, wherein,
所述数据协议转换设备具体包括:The data protocol conversion equipment specifically includes:
控制接口模块,用于生成控制帧,并通过数据通道发往宽带卫星收发信机中的数据接口单元;The control interface module is used to generate the control frame and send it to the data interface unit in the broadband satellite transceiver through the data channel;
数据流控制模块,用于对控制帧和数据帧在网络底层进行合路传输的控制;The data flow control module is used to control the combined transmission of control frames and data frames at the bottom layer of the network;
控制帧接收队列,用于接收并存储来自宽带卫星收发信机方向的控制帧,The control frame receiving queue is used to receive and store control frames from the direction of the broadband satellite transceiver,
控制帧发送队列,用于存储发往宽带卫星收发信机和数据流控制模块的控制帧。The control frame sending queue is used to store the control frames sent to the broadband satellite transceiver and the data flow control module.
具体的,所述接口控制模块根据下行控制帧接收信息或上位机的用户信令来生成新的上行控制帧,上行控制帧主要包括数据通道的控制参数,所述控制参数包括发送周期、队列容量、网络接口速率,用以调整数据通道的工作状态。Specifically, the interface control module generates a new uplink control frame according to the downlink control frame reception information or the user signaling of the upper computer, the uplink control frame mainly includes the control parameters of the data channel, and the control parameters include the sending cycle and the queue capacity , The speed of the network interface is used to adjust the working status of the data channel.
进一步的,所述数据流控制模块还用于:Further, the data flow control module is also used for:
在上行传输通道中,根据数据业务数据帧的当前传输状态,检查当前控制帧发送窗口,计算控制帧传输的时刻和数据业务帧的数据量,并将控制帧写入卫星侧发送队列;并在下行数据通道中从卫星侧接收读取传输帧,读取帧类型信息和控制帧独特字信息,如果为控制帧类型,则将对应的帧写入控制帧接收队列。In the uplink transmission channel, according to the current transmission status of the data service data frame, check the current control frame sending window, calculate the time of control frame transmission and the data volume of the data service frame, and write the control frame into the satellite side sending queue; and In the downlink data channel, the transmission frame is received and read from the satellite side, and the frame type information and the unique word information of the control frame are read. If it is a control frame type, the corresponding frame is written into the control frame receiving queue.
进一步优选的,所述数据流控制模块按固定时间周期来控制帧插入业务数据流,以实现对控制帧和数据业务数据帧在网络底层的合路传输,具体包括:Further preferably, the data flow control module controls frame insertion into the service data flow according to a fixed time period, so as to realize combined transmission of control frames and data service data frames at the bottom layer of the network, specifically including:
用以调用系统函数,获取当前系统时钟计数值SCCcur的第一单元;The first unit used to call the system function to obtain the current system clock count value SCC cur ;
用以将计数值的差值和预设的处理周期值比较,进行以下操作的第二单元:The second unit for comparing the difference between the count value and the preset processing cycle value to perform the following operations:
当SCCcur-SCCprev≥SCCperiod时,将SCCcur作为下一处理周期的起始时刻,进入第三单元执行;When SCC cur -SCC prev ≥ SCC period , use SCC cur as the starting moment of the next processing cycle, and enter the third unit for execution;
当SCCcur-SCCprev<SCCperiod时,不进行操作,结束;When SCC cur -SCC prev <SCC period , do not operate and end;
其中,SCCcur为当前系统时钟计数值,由第一单元中获取;SCCprev为上一处理周期的起始时刻,由上一周期的第十四单元中更新;SCCperiod为处理周期时间对应的计数值;Among them, SCC cur is the count value of the current system clock, which is obtained from the first unit; SCC prev is the starting moment of the previous processing cycle, which is updated from the fourteenth unit of the previous cycle; SCC period is the time corresponding to the processing cycle count value;
用以统计当前数据面协议处理模块中等待发送的数据业务数据帧的数据量的第三单元;A third unit for counting the data volume of data service data frames waiting to be sent in the current data plane protocol processing module;
用以计算应用于本次处理周期的业务数据帧发送窗口值的第四单元,所述第四单元计算方法如下:The fourth unit used to calculate the sending window value of the service data frame applied to this processing cycle, the calculation method of the fourth unit is as follows:
其中:in:
Wdata为当前周期业务数据的发送窗口值,单位为字节;W data is the sending window value of the current cycle business data, in bytes;
Rsat_link为当前卫星链路的传输速率,单位为字节/秒;R sat_link is the transmission rate of the current satellite link, in bytes/second;
Reth_link为当前地面网络接口的传输速率,单位为字节/秒;R eth_link is the transmission rate of the current ground network interface, in bytes/second;
Tproc为数据处理周期值,单位为秒;T proc is the data processing cycle value in seconds;
Sdata为当前待处理业务数据总数据量,单位为字节,该参数从第三单元中获取到;S data is the total data volume of the current business data to be processed, the unit is byte, and this parameter is obtained from the third unit;
Wadj为调整窗口值,单位为字节,其数值大小取决于上一周期业务数据面和控制面的帧发送情况,在上一周期的第十三单元中进行设置;W adj is the adjustment window value, the unit is byte, and its numerical value depends on the frame transmission situation of the business data plane and the control plane in the previous cycle, and is set in the thirteenth unit of the previous cycle;
用以根据业务数据帧发送窗口值将业务数据帧批量写入卫星侧发送队列的第五单元;The fifth unit for writing business data frames in batches into the sending queue on the satellite side according to the sending window value of the business data frames;
用以统计发送控制帧总长度,即卫星侧发送队列中当前的数据量的第六单元,单位为字节,将队列中控制帧长度记为CFLi,下标i表示控制帧在队列中的序号,则控制帧总长度记为i=1表示队列的首帧,i=n为队列最后一帧;It is used to count the total length of the sent control frame, that is, the sixth unit of the current data volume in the sending queue on the satellite side. The unit is byte. The length of the control frame in the queue is recorded as CFL i , and the subscript i indicates the number of control frames in the queue. sequence number, the total length of the control frame is recorded as i=1 means the first frame of the queue, i=n is the last frame of the queue;
用以计算控制帧的发送窗口值的第七单元,第七单元的计算方法如下所示:The seventh unit used to calculate the sending window value of the control frame, the calculation method of the seventh unit is as follows:
其中:in:
WctrI为控制帧的发送窗口值,单位为字节;W ctrI is the sending window value of the control frame, in bytes;
用以当n>0且时,则为队列中所有控制帧执行出列操作,申请帧缓存空间,生成帧指针并写入卫星侧发送队列;for when n>0 and , execute the dequeue operation for all control frames in the queue, apply for frame buffer space, generate frame pointers and write them into the send queue on the satellite side;
当n>0且时,先将满足且的前k个控制帧执行出列操作的第八单元;when n>0 and , first satisfy and The eighth unit that executes the dequeue operation in the first k control frames;
用以判断当前控制帧队列中的队首帧是否等待超时,如未超时则本次周期发送操作结束,转到第十二单元执行;如超时则转到第十单元执行的第九单元;It is used to judge whether the first frame in the current control frame queue waits for a timeout. If it does not time out, the sending operation of this cycle ends, and it goes to the twelfth unit for execution; if it times out, it goes to the ninth unit for execution in the tenth unit;
用以如果额外发送的超时控制帧长度Sextra未超过控制发送窗口一半,则转到第十二单元执行,否则转到第十一单元执行的第十单元;If the length of the timeout control frame S extra sent additionally does not exceed half of the control sending window, then go to the twelfth unit for execution, otherwise go to the tenth unit for execution by the eleventh unit;
用以将当前队首控制帧出列,并将帧长累加到Sextra,返回第九单元执行的第十一单元;It is used to dequeue the current leader control frame, add the frame length to S extra , and return to the eleventh unit executed by the ninth unit;
用以执行队列更新,将队列中所有未发送的超时控制帧作丢弃处理,将所有剩余未超时的控制帧的等待时间Twait增加Tproc的第十二单元;In order to perform queue update, all unsent overtime control frames in the queue are discarded, and the waiting time T wait of all remaining untimed control frames is increased by the twelfth unit of T proc ;
用以将下一周期的调整窗口值Wadj更新为Sextra的第十三单元;A thirteenth unit for updating the adjustment window value W adj of the next period to S extra ;
用以将SCCprev更新为SCCcur的第十四单元。The fourteenth unit used to update SCC prev to SCC cur .
这里,为了便于理解本发明实施例中的卫星数据通道传输的控制方法,如图1所示,这里将整个卫星数据通道中的相关业务模块介绍如下:Here, in order to facilitate the understanding of the control method of satellite data channel transmission in the embodiment of the present invention, as shown in Figure 1, the relevant business modules in the entire satellite data channel are introduced as follows:
宽带卫星收发信机101,作为与空间段卫星交互的通信设备,一方面接收来自地面网络设备的数据帧,进行拆帧、组基带帧、编码、调制等数字处理过程后转换为卫星发送数据帧,发往空间段卫星;另一方面接收来自空间段卫星的数据帧,进行解调、译码、解基带帧、组帧等数字处理过程转换为网络数据帧,发往地面网络设备;
所述宽带卫星收发信机101包括:The
数字基带处理单元102,完成卫星上行和下行信号的数字基带处理过程,包括调制和解调、编译码、时钟和载波同步等过程;The digital
数据接口单元103,完成网络设备数据帧和卫星基带数据帧之间的转换过程;The
数据协议转换设备201,是数据通道的中间转换装置,是宽带卫星收发信机在地面网络侧的前置网络装置,用于完成地面网络和卫星网络之间的数据面协议转换,同时对数据通道进行控制;The data
所述数据协议转换设备201具体包括:The data
控制接口模块203,用于解析宽带卫星收发信机101反馈的信息,生成控制帧并通过数据通道发往宽带卫星收发信机101中的数据接口单元103,并对各自网络底层参数进行控制和调整,以适配链路的变化,同时维护和上位机之间的控制接口:一方面将数据通路的信息反馈到上位机进行用户界面呈现;另一方面接收数据通路的控制策略参数,更新本地控制参数集;The
数据流控制模块206,实现控制面和数据面两种数据流在网络底层合路传输,通过多队列轮询调度的方法来实现双流的合路过程;The data
控制帧接收队列204,接收并存储来自宽带卫星收发信机101方向的控制帧,数据流控制模块206控制其写入操作和部分参数调整,控制接口模块203控制其读出操作;The control
控制帧发送队列205,存储发往宽带卫星收发信机101和数据流控制模块206的控制帧,数据流控制模块206控制其读出操作和部分参数调整,控制接口模块203控制其写入操作;The control
数据面协议处理模块207,在上行方向上,将业务数据流从地面网络格式转换为卫星网络格式,下行方向则进行相反的转换;The data plane
帧缓存管理模块202,用于对以太网数据帧的物理存储区进行管理,给帧管理模块213、数据流控制模块206和数据面协议处理模块207提供以太网数据帧实体的地址空间;The frame
卫星侧接收队列208,完成来自宽带卫星收发信机101的以太网数据帧的排队存储,提供应用层访问接口;The receiving
卫星侧发送队列209,完成将来自应用层、宽带发往卫星收发信机101的以太网数据帧的排队存储,提供应用层访问接口;The sending
地面网络侧接收队列210,完成将来自地面网络设备的以太网数据帧的排队存储;The receiving
地面网络侧发送队列211,完成将来自应用层,发往地面网络设备的以太网数据帧的排队存储;The sending
多速率网卡212,完成以太网接口的物理层和数据链路层的处理过程;The
帧管理模块213,在接收通道上完成以太网数据帧的帧描述符生成、帧数据缓存、帧首部解析、帧分类和卫星侧接收队列的入队列;在发送通道上完成卫星侧发送队列的出队列、帧校验和发送到多速率网卡;The
上位机301,运行宽带卫星收发信机101的用户侧控制程序,用于接收用户指令生成卫星收发信机控制信息以及处理相应反馈信息;The
地面网络交换机401,位于卫星通信系统地面站中,用于将地面网络设备和卫星设备进行连接,是地面网络和卫星网络的接入点。The
区别于传统卫星地面站数据通道的控制方法,本发明实施例通过在网络数据加速通道底层将控制帧和业务数据进行合路传送的方法,通过动态调整控制面信息插入的时刻和插入的数据量,使得控制面信息插入操作对于数据面传输是“无感的”。同时,在高速业务数据出现瞬间高速的情况下,进行适当的避让,使得控制面信息得以正常的传输。Different from the control method of the traditional satellite ground station data channel, the embodiment of the present invention uses the method of combined transmission of the control frame and business data at the bottom layer of the network data acceleration channel, and dynamically adjusts the time and the amount of inserted data of the control plane information , so that the control plane information insertion operation is "insensitive" to the data plane transmission. At the same time, when the high-speed business data appears instantaneously high-speed, appropriate avoidance is performed so that the control plane information can be transmitted normally.
本发明实施例给出的工作流程包括上行通道方向,所述上行通道方向即从数据协议转换设备发往卫星收发信机,和下行通道方向,所述下行通道方向即从卫星收发信机发往数据协议转换设备。The working process given by the embodiment of the present invention includes the direction of the uplink channel, which is sent from the data protocol conversion device to the satellite transceiver, and the direction of the downlink channel, which is sent from the satellite transceiver to the satellite transceiver. Data protocol conversion equipment.
其中,上行通道方向的工作流程如图2所示:Among them, the workflow in the direction of the uplink channel is shown in Figure 2:
S201、控制接口模块根据下行控制帧接收信息或上位机的用户信令来生成新的上行控制帧,上行控制帧主要包括数据通道的控制参数,所述控制参数包括发送周期、队列容量、网络接口速率等,用以调整数据通道各子模块的工作状态;S201. The control interface module generates a new uplink control frame according to the received information of the downlink control frame or the user signaling of the upper computer. The uplink control frame mainly includes control parameters of the data channel, and the control parameters include sending cycle, queue capacity, network interface rate, etc., to adjust the working status of each sub-module of the data channel;
一方面,根据下行控制帧中卫星信道带宽、调制编码方式等卫星链路参数变化情况来生成新的控制参数,并生成上行控制帧;另一方面收到上位机的用户信令包,读取相应的控制参数来生成上行控制帧,控制帧的格式如下所示:On the one hand, new control parameters are generated according to the changes in satellite link parameters such as satellite channel bandwidth and modulation and coding mode in the downlink control frame, and the uplink control frame is generated; on the other hand, after receiving the user signaling packet from the host computer, read The corresponding control parameters are used to generate an uplink control frame. The format of the control frame is as follows:
其中,目标地址长度为6字节,填充内容可采用目的设备数据网口的MAC地址;Among them, the length of the target address is 6 bytes, and the filling content can be the MAC address of the data network port of the target device;
源地址长度为6字节,填充内容可采用源设备数据网口的MAC地址;The length of the source address is 6 bytes, and the filling content can be the MAC address of the data network port of the source device;
帧类型长度为2字节,填充内容为0x8A、0x01;The frame type length is 2 bytes, and the filling content is 0x8A, 0x01;
控制帧独特字:长度为4字节,填充内容为0xA3、0xB5、0xC5、0xAD;Control frame unique word: the length is 4 bytes, and the filling content is 0xA3, 0xB5, 0xC5, 0xAD;
帧长度:长度为2字节,单位为字节,标识控制信息帧的长度;Frame length: the length is 2 bytes, the unit is byte, and identifies the length of the control information frame;
控制信息:长度可变,范围为40-1024字节,上行通道中填充数据通道上各子模块的控制参数,下行通道中填充卫星链路参数以及数据通道各子模块的状态信息。Control information: the length is variable, ranging from 40 to 1024 bytes. The uplink channel is filled with the control parameters of each submodule on the data channel, and the downlink channel is filled with satellite link parameters and status information of each submodule of the data channel.
以上仅为控制帧的一种示例,其格式可以根据实际实施的需要进行调整。The above is only an example of the control frame, and its format can be adjusted according to actual implementation needs.
S202、控制接口模块访问控制帧发送队列,如控制帧发送队列已满,则将队列头的控制帧丢弃,将队列头指针回退一个位置,然后将新的控制帧写入队列尾部;S202, the control interface module accesses the control frame transmission queue, if the control frame transmission queue is full, discards the control frame at the head of the queue, rolls back the queue head pointer by one position, and then writes the new control frame into the tail of the queue;
S203、数据流控制模块根据数据面业务的当前传输状态,检查当前控制帧发送窗口,计算控制帧出队列的时刻和数据量;S203. The data flow control module checks the current control frame sending window according to the current transmission status of the data plane service, and calculates the time when the control frame is out of the queue and the amount of data;
S204、数据流控制模块按以太网帧格式对上行控制帧进行封装,向帧缓存管理模块申请内存空间并存储,并生成帧地址指针,执行卫星侧发送队列的入队列操作;S204. The data flow control module encapsulates the uplink control frame according to the Ethernet frame format, applies for a memory space from the frame buffer management module and stores it, and generates a frame address pointer, and executes the enqueue operation of the sending queue on the satellite side;
S205、卫星侧发送队列根据帧地址指针,提取帧缓存管理模块对应的控制帧以直接内存访问方式传输到多速率网卡,发送到卫星收发信机的数据接口单元。S205. The sending queue on the satellite side extracts the control frame corresponding to the frame buffer management module according to the frame address pointer, transmits it to the multi-rate network card in a direct memory access mode, and sends it to the data interface unit of the satellite transceiver.
对于下行通道方向的工作流程,如图3所示:For the workflow in the direction of the downlink channel, as shown in Figure 3:
S301、卫星收发信机的数据接口单元将当前卫星链路工作状态参数,如调制编码方式、信号带宽、信道数量等参数写入控制帧的信息字段,并填充地址、长度等帧首部信息生成下行控制帧发送给数据协议转换设备;S301, the data interface unit of the satellite transceiver writes the current satellite link working state parameters, such as modulation and coding mode, signal bandwidth, channel number and other parameters into the information field of the control frame, and fills the frame header information such as address and length to generate downlink The control frame is sent to the data protocol conversion device;
S302、数据协议转换设备通过多速率网卡接收控制帧,并储存到帧管理模块中;S302. The data protocol conversion device receives the control frame through the multi-rate network card, and stores it in the frame management module;
S303、帧管理模块检验控制帧的以太网帧首部地址、类型和长度信息,生成帧描述符并写入卫星侧接收队列;S303. The frame management module checks the Ethernet frame header address, type and length information of the control frame, generates a frame descriptor and writes it into the receiving queue at the satellite side;
S304、数据流控制模块从卫星侧接收队列中读取数据帧,读取帧类型信息和控制帧独特字信息,如果为控制帧类型,则将该帧写入控制帧接收队列;S304. The data flow control module reads the data frame from the receiving queue on the satellite side, reads the frame type information and the unique word information of the control frame, and if it is a control frame type, writes the frame into the control frame receiving queue;
S305、控制接口模块通过轮询方式从控制帧接收队列得到控制帧,读取帧的地址、类型、独特字和长度等字段信息,与预设的参数表比对判断接收控制帧的正确性,读取信息字段中卫星链路参数,保存到本地参数列表。S305. The control interface module obtains the control frame from the control frame receiving queue by polling, reads field information such as the address, type, unique word and length of the frame, compares it with the preset parameter table to determine the correctness of the received control frame, Read the satellite link parameters in the information field and save them to the local parameter list.
数据流控制模块用于对控制面和数据面两种数据流在网络底层合路传输过程进行控制,通过监测发往卫星侧方向的数据流的瞬时变化,对插入控制信息的数量进行动态的调整:按固定时间周期来处理控制帧插入业务数据流的过程,在每次处理周期中,先处理数据协议转换模块中的业务数据转发,然后再转发控制帧,其工作流程如图4所示:The data flow control module is used to control the combined transmission process of the two data streams of the control plane and the data plane at the bottom of the network, and dynamically adjust the amount of inserted control information by monitoring the instantaneous change of the data stream sent to the satellite side : Process the process of inserting the control frame into the service data flow according to a fixed time period. In each processing period, first process the service data forwarding in the data protocol conversion module, and then forward the control frame. The workflow is shown in Figure 4:
S401、调用系统函数,获取当前系统时钟计数值SCCcur;S401. Call the system function to obtain the current system clock count value SCC cur ;
S402、将计数值的差值和预设的处理周期值比较,进行以下操作:S402. Comparing the difference between the count value and the preset processing cycle value, perform the following operations:
当SCCcur-SCCprev≥SCCperiod时,将SCCcur作为下一处理周期的起始时刻,进入S403;When SCC cur -SCC prev ≥ SCC period , use SCC cur as the starting moment of the next processing cycle, and enter S403;
当SCCcur-SCCprev<SCCperiod时,不进行操作,结束;When SCC cur -SCC prev <SCC period , do not operate and end;
其中,SCCcur为当前系统时钟计数值,由S401中获取;SCCprev为上一处理周期的起始时刻,由上一周期的S414中更新;SCCperiod为处理周期时间对应的计数值;Wherein, SCC cur is the count value of the current system clock, obtained in S401; SCC prev is the starting moment of the previous processing cycle, updated in S414 of the previous cycle; SCC period is the count value corresponding to the processing cycle time;
S403、统计当前数据面协议处理模块中等待发送的业务数据帧数据量;S403. Count the data volume of service data frames waiting to be sent in the current data plane protocol processing module;
S404、计算应用于本次处理周期的业务数据帧发送窗口值,计算方法如下:S404. Calculate the sending window value of the service data frame applied to this processing cycle, and the calculation method is as follows:
其中:in:
Wdata为当前周期业务数据的发送窗口值,单位为字节;W data is the sending window value of the current cycle business data, in bytes;
Rsat_link为当前卫星链路的传输速率,单位为字节/秒;R sat_link is the transmission rate of the current satellite link, in bytes/second;
Reth_link为当前地面网络接口的传输速率,单位为字节/秒,如采用千兆以太网接口,该参数为125M字节/秒;R eth_link is the transmission rate of the current ground network interface, the unit is byte/s, if Gigabit Ethernet interface is used, this parameter is 125M bytes/s;
Tproc为数据处理周期值,单位为秒;T proc is the data processing cycle value in seconds;
Sdata为当前待处理业务数据总数据量,单位为字节,该参数从S403中获取到;S data is the total data volume of the current business data to be processed, the unit is byte, and this parameter is obtained from S403;
Wadj为调整窗口值,单位为字节,其数值大小取决于上一周期业务数据面和控制面的帧发送情况,在上一周期的S413中进行设置;W adj is the adjustment window value, the unit is byte, and its numerical value depends on the frame transmission situation of the business data plane and the control plane in the previous cycle, and is set in S413 of the previous cycle;
S405、根据业务数据帧发送窗口值将业务数据帧批量写入卫星侧发送队列;S405. Write the service data frames into the sending queue on the satellite side in batches according to the service data frame sending window value;
S406、统计发送控制帧总长度,即发送队列中当前的数据量,单位为字节,将队列中控制帧长度记为CFLi,下标i表示控制帧在队列中的序号,则控制帧总长度记为i=1表示队列的首帧,i=n为队列最后一帧;S406, counting the total length of the control frame sent, that is, the current amount of data in the sending queue, the unit is byte, the length of the control frame in the queue is recorded as CFL i , and the subscript i represents the serial number of the control frame in the queue, then the total number of control frames The length is recorded as i=1 means the first frame of the queue, i=n is the last frame of the queue;
S407、计算控制帧的发送窗口值,计算方法如下所示:S407. Calculate the sending window value of the control frame, the calculation method is as follows:
其中:in:
Wctrl为控制帧的发送窗口值,单位为字节;W ctrl is the sending window value of the control frame, the unit is byte;
S408、当n>0且时,则为队列中所有控制帧执行出列操作,申请帧缓存空间,生成帧指针并写入卫星侧发送队列;S408, when n>0 and , execute the dequeue operation for all control frames in the queue, apply for frame buffer space, generate frame pointers and write them into the send queue on the satellite side;
当n>0且时,先将满足且的前k个控制帧执行出列操作,when n>0 and , first satisfy and The first k control frames of the dequeue operation are performed,
S409、判断当前控制帧队列中的队首帧是否等待超时,如未超时则本次周期发送操作结束,转到S412;如超时则转到S410,S409, judging whether the first frame of the team in the current control frame queue waits for timeout, if not overtime, then this cycle sending operation ends, and forwards to S412; if overtime, then forwards to S410,
S410、如果额外发送的超时控制帧长度Sextra未超过控制发送窗口一半,则转到S412,否则转到S411;S410. If the length S extra of the timeout control frame sent additionally does not exceed half of the control sending window, then go to S412, otherwise go to S411;
S411、将当前队首控制帧出列,并将帧长累加到Sextra,返回S409;S411. Dequeue the current leader control frame, add the frame length to S extra , and return to S409;
S412、执行队列更新,将队列中所有未发送的超时控制帧作丢弃处理,将所有剩余未超时的控制帧的等待时间Twait增加Tproc;S412. Perform queue update, discard all unsent overtime control frames in the queue, and increase the waiting time T wait of all remaining untimed control frames by T proc ;
S413、然后将下一周期的调整窗口值Wadj更新为Sextra;S413, and then update the adjustment window value W adj of the next period to S extra ;
S414、将SCCprev更新为SCCcur。S414. Update SCC prev to SCC cur .
通过本发明所构思的以上技术方案,与现有技术相比,本发明实施例具有以下的优点:提高对卫星收发信机数据通道动态控制的速度,使其能适应卫星链路快速变化的情况,从而提升整体数据传输效率和可靠性。同时,由于控制信息直接在数据通道中传输,无需额外增加专用的高速控制接口,进一步降低硬件接口复杂度。Through the above technical scheme conceived by the present invention, compared with the prior art, the embodiment of the present invention has the following advantages: improve the speed of dynamic control of the data channel of the satellite transceiver, so that it can adapt to the rapidly changing situation of the satellite link , so as to improve the overall data transmission efficiency and reliability. At the same time, since the control information is directly transmitted in the data channel, there is no need to add a dedicated high-speed control interface, which further reduces the complexity of the hardware interface.
本实施方式只是对本专利的示例性说明,并不限定它的保护范围,本领域技术人员还可以对其局部进行改变,只要没有超出本专利的精神实质,都在本专利的保护范围内。This embodiment is only an exemplary description of this patent, and does not limit its protection scope. Those skilled in the art can also make partial changes to it, as long as it does not exceed the spirit and essence of this patent, all within the protection scope of this patent.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211444889.3A CN116131901A (en) | 2022-11-18 | 2022-11-18 | A satellite data channel control system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211444889.3A CN116131901A (en) | 2022-11-18 | 2022-11-18 | A satellite data channel control system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116131901A true CN116131901A (en) | 2023-05-16 |
Family
ID=86299778
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211444889.3A Pending CN116131901A (en) | 2022-11-18 | 2022-11-18 | A satellite data channel control system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116131901A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117614521A (en) * | 2024-01-24 | 2024-02-27 | 上海卫星互联网研究院有限公司 | Inter-satellite communication method, system and device of low-orbit satellite and electronic equipment |
CN118018629A (en) * | 2024-04-07 | 2024-05-10 | 广州天奕技术股份有限公司 | Millimeter wave data stream slicing processing method, device and equipment |
CN118295789A (en) * | 2024-06-05 | 2024-07-05 | 之江实验室 | A telemetry and remote control system, method, device, storage medium and electronic equipment |
CN119254309A (en) * | 2024-12-05 | 2025-01-03 | 鹏城实验室 | Link transmission method, device, equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1428971A (en) * | 2001-12-27 | 2003-07-09 | 北京润光泰力科技发展有限公司 | Method using multiplex channel to implement transmission of one line of network data |
US20040202328A1 (en) * | 1998-05-12 | 2004-10-14 | Sony Corporation | Data transmission controlling method and data transmission system |
CN101242414A (en) * | 2008-03-19 | 2008-08-13 | 哈尔滨工业大学 | Cross-layer protocol communication method based on satellite network MAC protocol |
CN113965254A (en) * | 2021-11-07 | 2022-01-21 | 中国电子科技集团公司第五十四研究所 | Fast and reliable satellite mobile communication data transmission frame structure and method |
-
2022
- 2022-11-18 CN CN202211444889.3A patent/CN116131901A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040202328A1 (en) * | 1998-05-12 | 2004-10-14 | Sony Corporation | Data transmission controlling method and data transmission system |
CN1428971A (en) * | 2001-12-27 | 2003-07-09 | 北京润光泰力科技发展有限公司 | Method using multiplex channel to implement transmission of one line of network data |
CN101242414A (en) * | 2008-03-19 | 2008-08-13 | 哈尔滨工业大学 | Cross-layer protocol communication method based on satellite network MAC protocol |
CN113965254A (en) * | 2021-11-07 | 2022-01-21 | 中国电子科技集团公司第五十四研究所 | Fast and reliable satellite mobile communication data transmission frame structure and method |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117614521A (en) * | 2024-01-24 | 2024-02-27 | 上海卫星互联网研究院有限公司 | Inter-satellite communication method, system and device of low-orbit satellite and electronic equipment |
CN117614521B (en) * | 2024-01-24 | 2024-05-10 | 上海卫星互联网研究院有限公司 | Inter-satellite communication method, system and device of low-orbit satellite and electronic equipment |
CN118018629A (en) * | 2024-04-07 | 2024-05-10 | 广州天奕技术股份有限公司 | Millimeter wave data stream slicing processing method, device and equipment |
CN118018629B (en) * | 2024-04-07 | 2024-05-31 | 广州天奕技术股份有限公司 | Millimeter wave data stream slicing processing method, device and equipment |
CN118295789A (en) * | 2024-06-05 | 2024-07-05 | 之江实验室 | A telemetry and remote control system, method, device, storage medium and electronic equipment |
CN119254309A (en) * | 2024-12-05 | 2025-01-03 | 鹏城实验室 | Link transmission method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN116131901A (en) | A satellite data channel control system and method | |
EP3737016A1 (en) | Data transmission method, apparatus and system | |
US6754222B1 (en) | Packet switching apparatus and method in data network | |
US8213427B1 (en) | Method for traffic scheduling in intelligent network interface circuitry | |
US11165705B2 (en) | Data transmission method, device, and computer storage medium | |
US7912078B2 (en) | Credit based flow control in an asymmetric channel environment | |
US7391776B2 (en) | Microengine to network processing engine interworking for network processors | |
US20170195227A1 (en) | Packet storing and forwarding method and circuit, and device | |
WO2016008399A1 (en) | Flow control | |
CN101631327B (en) | Method for sending and receiving microwave business data, device thereof and transceiver system | |
US7983297B2 (en) | Method and apparatus for the efficient use of available communications network bandwidth | |
CN114501654A (en) | Time slot allocation method for wireless time-sensitive network in wired and wireless integrated spacecraft | |
CN109428842A (en) | A kind of QoS information transfer approach and device | |
WO2022042351A1 (en) | Method for processing interface data, sender device and receiver device | |
CN109995608B (en) | Network rate calculation method and device | |
CN109951458B (en) | RapidIO/FC protocol conversion system and method applied to simulation ICP environment | |
CN114553792A (en) | Method, device and equipment for adjusting scheduling parameters and computer readable storage medium | |
US20240205309A1 (en) | Method and architecture for scalable open radio access network (o-ran) fronthaul traffic processing | |
CN117544604A (en) | Multi-unmanned aerial vehicle streaming media shunting and converging system and method | |
CN113840188B (en) | Device and method for transmitting Ethernet data by using DCC overhead | |
CN107302504B (en) | Multipath transmission scheduling method and system based on virtual sending queue | |
CN117014967A (en) | Mobile communication system, method and user plane node | |
CN106330413B (en) | Method and system for controlling packet loss of 2.4G wireless audio transmission | |
US20080137666A1 (en) | Cut-through information scheduler | |
US9078167B2 (en) | System and method for local flow control in a communications 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 |