Satellite communication system, data processing method, equipment, medium and product
By introducing FreeRTOS queues and semaphore mechanisms into the satellite communication system, inter-layer decoupling is achieved, data transmission and task processing are optimized, the problems of high coupling and poor scalability in the existing system are solved, and the stability and adaptability of the system are improved.
Patent Information
- Application Number
- CN202511566535.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-30
- Publication Date
- 2025-11-28
- Estimated Expiration
- 2045-10-30
AI Technical Summary
Existing satellite communication systems have high coupling between their functional layers and close interdependence, making it difficult to quickly adapt to changes in business needs. Furthermore, their low efficiency in multitasking results in poor system scalability and instability.
Employing a FreeRTOS-based queue and semaphore mechanism, data transmission is achieved through inter-layer queues between the physical layer, MAC layer, transport layer, and application layer, reducing direct inter-layer dependencies and achieving decoupling. Furthermore, task request queues, transmit buffer queues, data transmission queues, and feedback queues are introduced to optimize channel resource allocation and data processing.
It reduces interlayer coupling, improves the scalability and stability of satellite communication systems, simplifies system maintenance and upgrades, and enhances multitasking capabilities and data transmission reliability.
Smart Images

Figure CN121037477A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of satellite communication technology, and in particular to a satellite communication system, data processing method, device, medium and product. Background Technology
[0002] As satellite communication systems continue to evolve, their functions have become increasingly complex and diverse, now widely covering many fields such as data transmission, command and control, and remote sensing monitoring.
[0003] In existing satellite communication systems, the coupling between functional layers is high, and their interdependencies are close. Taking changes in the physical layer signal processing method as an example, such changes may directly affect the channel allocation strategy of the Media Access Control (MAC) layer, and thus affect the data transmission control of the transport layer. Furthermore, due to the complexity of inter-layer interactions, the addition of new functions often requires large-scale modifications to multiple layers, which not only greatly limits the scalability of satellite communication systems, but also makes it difficult for satellite communication systems to quickly adapt to constantly changing service requirements.
[0004] Therefore, there is an urgent need for a satellite communication system, data processing method, equipment, medium, and product to solve the above problems. Summary of the Invention
[0005] To address the problems existing in the prior art, the present invention provides a satellite communication system, data processing method, device, medium, and product.
[0006] This invention provides a satellite communication system, comprising a physical layer, a MAC layer, a transport layer, and an application layer, wherein: The physical layer includes a receive queue and a transmit queue, used to temporarily store the received raw signal data in the receive queue through the radio frequency receiving module, and to transmit the target signal data temporarily stored in the transmit queue to the MAC layer, wherein the target signal data is the raw signal data after signal processing; the receive queue receives the raw signal data in a first-in-first-out manner. The MAC layer is used to send first signal verification data to the transport layer, wherein the first signal verification data is the target signal data after data verification processing by the MAC layer; The transmission layer includes a receive buffer queue, which is used to perform data reassembly and data verification on the first signal verification data to obtain the second signal verification data, and temporarily store the second signal verification data in the receive buffer queue. The application layer includes a data receiving queue, which is used to store the second signal verification data in the data receiving queue after obtaining the second signal verification data from the receiving buffer queue of the transmission layer, so that the corresponding application can call it; The physical layer, the MAC layer, the transport layer, and the application layer transmit data based on inter-layer queues.
[0007] According to a satellite communication system provided by the present invention, the application layer further includes a task request queue, which is used to store received data request tasks in the task request queue, and determine a target data request task based on the preset scheduling conditions corresponding to each data request task in the task request queue, and generate a task execution instruction corresponding to the target data request task, wherein the preset scheduling conditions are constructed based on task priority and system resources; The transport layer further includes a send buffer queue, which is used to divide and encapsulate the target task data corresponding to the send buffer queue according to the target data request task to obtain a target data packet, and send the target data packet to the MAC layer. The send buffer queue is used to cache the task data sent by the application layer. The MAC layer includes a data transmission queue and a channel request queue. It is used to send the target data packet stored in the data transmission queue to the physical layer based on the physical channel occupancy request sent by the satellite equipment, and after determining the physical channel corresponding to the received target data packet based on the physical channel occupancy request, and based on channel quality and data priority information. The physical layer is also used to write the received target data packet into the transmission queue, and to transmit the target data packet in the transmission queue through the radio frequency transmission module.
[0008] According to a satellite communication system provided by the present invention, the MAC layer further includes a feedback queue, and the MAC layer is further used to store feedback information sent by the physical layer or satellite equipment into the feedback queue, so that the MAC layer can adjust the channel allocation strategy and data transmission mode according to the feedback information.
[0009] According to a satellite communication system provided by the present invention, the transmission layer further includes a retransmission queue. The transmission layer is also used to store the first signal verification data in the retransmission queue during the data reassembly and data verification processes of the first signal verification data, if it is determined that the first signal verification data has failed the data verification process, so as to retransmit the first signal verification data.
[0010] According to a satellite communication system provided by the present invention, the inter-layer queue includes multiple inter-layer uplink queues and multiple inter-layer downlink queues, wherein: The plurality of inter-layer uplink queues are sequentially arranged between the physical layer and the MAC layer, between the MAC layer and the transport layer, and between the transport layer and the application layer, for transmitting the processed data of each layer to the next layer in the order of the physical layer, the MAC layer, the transport layer and the application layer; The multiple inter-layer downlink queues are sequentially arranged between the application layer and the transport layer, between the transport layer and the MAC layer, and between the MAC layer and the physical layer, for transmitting the processed data from each layer to the next layer in the order of application layer, transport layer, MAC layer to physical layer; The multiple inter-layer uplink queues and the multiple inter-layer downlink queues are each configured with a corresponding preset queue depth.
[0011] According to a satellite communication system provided by the present invention, the inter-layer queues between the physical layer, the MAC layer, the transport layer and the application layer perform synchronization operations based on the semaphore mechanism of FreeRTOS.
[0012] The present invention also provides a data processing method based on the above-mentioned satellite communication system, comprising: The received raw signal data is temporarily stored in the physical layer's receive queue via the radio frequency receiving module, and the target signal data temporarily stored in the physical layer's transmit queue is sent to the MAC layer. The target signal data is the raw signal data after signal processing. The receive queue receives the raw signal data in a first-in-first-out manner. The first signal verification data is sent to the transport layer, wherein the first signal verification data is the target signal data after data verification processing by the MAC layer; The first signal verification data is reassembled and verified to obtain the second signal verification data, which is then temporarily stored in the receive buffer queue of the transmission layer. After obtaining the second signal verification data from the receive buffer queue of the transport layer, the second signal verification data is stored in the data receive queue of the application layer for the corresponding application to call; The physical layer, the MAC layer, the transport layer, and the application layer transmit data based on inter-layer queues.
[0013] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement any of the data processing methods described above.
[0014] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the data processing method as described above.
[0015] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements any of the data processing methods described above.
[0016] The satellite communication system, data processing method, device, medium, and product provided by this invention process the raw and target signal data through the physical layer's receive and transmit queues. Then, the MAC layer verifies the target signal data before sending it to the transport layer. The transport layer reassembles and verifies the data and temporarily stores it. Finally, the application layer retrieves the data from the transport layer and stores it for later use. Since the data transmission between layers in the satellite communication system is based on inter-layer queues, the combination of queue and semaphore mechanisms reduces direct dependencies between layers and lowers the inter-layer coupling, thereby reducing the difficulty of maintaining and upgrading the satellite communication system and improving its scalability. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0018] Figure 1 This is a schematic diagram of the structure of the satellite communication system provided by the present invention; Figure 2 A schematic diagram illustrating the workflow of the feedback queue based on the MAC layer provided by this invention; Figure 3 A schematic diagram of inter-layer queue interaction provided by the present invention; Figure 4 A flowchart illustrating the data processing method provided by the present invention; Figure 5 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0020] In existing satellite communication systems, the functional layers are highly coupled and heavily interdependent. Furthermore, due to the complex interactions between layers, adding new functions often requires large-scale modifications to multiple layers, severely limiting the system's scalability and making it difficult to quickly adapt to constantly changing service requirements. In addition, in terms of multitasking, existing satellite communication systems lack efficient task scheduling and data buffering mechanisms. Tasks and data generated at different layers cannot be processed in an orderly manner, easily leading to task backlog and data loss, seriously affecting the stability and reliability of the satellite communication system.
[0021] To address the problems existing in the prior art, this invention provides a queue-based satellite communication system. By introducing a small real-time operating system kernel (FreeRTOS) queue and semaphore mechanism, it solves the problems of high inter-layer coupling, poor scalability, and low multi-task processing efficiency in existing satellite communication systems, thereby achieving decoupling between functional layers and improving the system's stability, scalability, and multi-task processing capabilities.
[0022] Figure 1 This is a schematic diagram of the satellite communication system provided by the present invention, such as... Figure 1 As shown, the present invention provides a satellite communication system, including a physical layer 101, a MAC layer 102, a transport layer 103, and an application layer 104, wherein: The physical layer 101 includes a receive queue and a transmit queue, used to temporarily store the received raw signal data in the receive queue through the radio frequency receiving module, and to transmit the target signal data temporarily stored in the transmit queue to the MAC layer 102, wherein the target signal data is the raw signal data after signal processing; the receive queue receives the raw signal data in a first-in-first-out manner. The MAC layer 102 is used to send the first signal verification data to the transport layer 103, wherein the first signal verification data is the target signal data after data verification processing by the MAC layer 102. The transmission layer 103 includes a receive buffer queue, which is used to perform data reassembly and data verification on the first signal verification data to obtain the second signal verification data, and temporarily store the second signal verification data in the receive buffer queue. The application layer 104 includes a data receiving queue, which is used to store the second signal verification data in the data receiving queue after obtaining the second signal verification data from the receiving buffer queue of the transmission layer, so that it can be called by the corresponding application. The physical layer 101, the MAC layer 102, the transport layer 103, and the application layer 104 transmit data based on inter-layer queues.
[0023] In this invention, a satellite communication system is built based on a ZYNQ chip or MPSoC hardware platform, and the FreeRTOS real-time operating system is used for task management and scheduling. The system software is divided into a physical layer, a MAC layer, a transport layer, and an application layer. Data interaction and synchronization between the layers are achieved through queues and semaphores. At the same time, the satellite communication system is equipped with multiple functional modules, such as a data acquisition module and a signal processing module, which are responsible for different service functions.
[0024] Specifically, Physical Layer 101, as the lowest layer of the satellite communication system, directly interacts with hardware (such as the RF front-end) and is responsible for receiving and transmitting raw signal data. Physical Layer 101 comprises two key components: a receive queue and a transmit queue. The receive queue employs a First-In-First-Out (FIFO) approach to ensure that raw signal data is temporarily stored in the order it is received. When the RF receiving module receives raw signal data, this data is immediately placed into the receive queue, awaiting demodulation, decoding, and other processing by the signal processing module. The processed target signal data, i.e., the raw signal data after a series of signal processing operations, is placed into the transmit queue. The RF transmitting module reads this data from the transmit queue and sends it to MAC Layer 102. Through the design of the receive and transmit queues, Physical Layer 101 achieves asynchronous data processing, improving processing efficiency while ensuring the sequential nature of data processing.
[0025] Furthermore, MAC layer 102 is responsible for channel management and data verification. It receives target signal data from physical layer 101, performs data verification processing, and generates first signal verification data. This data is then sent to transport layer 103 to provide reliable assurance for subsequent data transmission. In this invention, MAC layer 102 uses mechanisms such as channel request queues, data transmission queues, and feedback queues to rationally allocate and schedule channel resources, ensuring efficient and accurate data transmission. Simultaneously, MAC layer 102 also schedules data in the transmission queue based on channel quality and data priority to optimize data transmission performance.
[0026] Furthermore, the transport layer 103 is responsible for reliable data transmission and includes a receive buffer queue for temporarily storing the first signal verification data received from the MAC layer 102. In this invention, the transport layer 103 reassembles and re-verifies this data (i.e., the first signal verification data) to generate second signal verification data, which is then placed in the receive buffer queue. Moreover, even in the event of poor network conditions or errors during data transmission, the transport layer 103 can ensure the integrity and accuracy of the data through a retransmission mechanism.
[0027] In this invention, the transport layer 103 also caches the data sent by the application layer 104 through a send buffer queue, and performs operations such as segmentation and encapsulation on the data according to network conditions and data transmission protocols; at the same time, the transport layer 103 also reassembles and verifies the received data. If the verification fails, the data is put into the retransmission queue to wait for retransmission.
[0028] Furthermore, the application layer 104 is responsible for interacting with the user client or other applications. It includes a data receiving queue for retrieving second signal verification data from the receive buffer queue of the transport layer 103 and storing it for use by the corresponding application. In this invention, the application layer 104 also receives task requests from the user client or other applications, such as data acquisition tasks and instruction sending tasks, through a task request queue. The application layer task scheduler schedules tasks for execution based on task priority and system resource availability; simultaneously, the application layer 104 also retrieves processed data from the data receiving queue for use by the application.
[0029] In this invention, the satellite communication system transmits data through inter-layer queues. Each layer has a clearly defined responsibility, is independent yet cooperative, and together they form an efficient and stable communication system. This layered and decoupled structure makes the satellite communication system easy to maintain and upgrade, while also improving the system's scalability and adaptability.
[0030] The satellite communication system provided by this invention processes raw and target signal data through the physical layer's receive and transmit queues. Then, the MAC layer verifies the target signal data before sending it to the transport layer. The transport layer reassembles and verifies the data and temporarily stores it. Finally, the application layer retrieves the data from the transport layer and stores it for later use. Since the data transmission between layers in the satellite communication system is based on inter-layer queues, the combination of queue and semaphore mechanisms reduces direct dependencies between layers and lowers the inter-layer coupling, thereby reducing the difficulty of maintaining and upgrading the satellite communication system and improving its scalability.
[0031] Based on the above embodiments, the application layer further includes a task request queue, which is used to store the received data request tasks in the task request queue, and determine the target data request task based on the preset scheduling conditions corresponding to each data request task in the task request queue, and generate the task execution instruction corresponding to the target data request task, wherein the preset scheduling conditions are constructed based on task priority and system resources; The transport layer further includes a send buffer queue, which is used to divide and encapsulate the target task data corresponding to the send buffer queue according to the target data request task to obtain a target data packet, and send the target data packet to the MAC layer. The send buffer queue is used to cache the task data sent by the application layer. The MAC layer includes a data transmission queue and a channel request queue. It is used to send the target data packet stored in the data transmission queue to the physical layer based on the physical channel occupancy request sent by the satellite equipment, and after determining the physical channel corresponding to the received target data packet based on the physical channel occupancy request, and based on channel quality and data priority information. The physical layer is also used to write the received target data packet into the transmission queue, and to transmit the target data packet in the transmission queue through the radio frequency transmission module.
[0032] In this invention, the task request queue in the application layer is used to store received data request tasks. These tasks may come from the user client or other applications, such as data acquisition tasks and command sending tasks. The application layer determines the target data request task based on the preset scheduling conditions corresponding to each data request task in the task request queue.
[0033] In this invention, the preset scheduling conditions are constructed based on task priority and system resources. For example, high-priority tasks may be executed first, or multiple tasks may be executed simultaneously when system resources are sufficient. After determining the target data request task, the application layer generates the corresponding task execution instructions.
[0034] The transmit buffer queue in the transport layer is used to buffer task data sent by the application layer. This task data may be files, instructions, or other types of data to be sent. When the application layer determines the target data request task, the transport layer retrieves the corresponding target task data from the transmit buffer queue according to the task, and performs segmentation and encapsulation to obtain the target data packet. In this invention, the segmentation and encapsulation process includes dividing the data into small blocks suitable for transmission, adding necessary header information (such as source address, destination address, data length, etc.), and performing encryption or compression operations. The encapsulated target data packet is sent to the MAC layer for further processing.
[0035] In the MAC layer, the channel request queue stores physical channel occupancy requests sent by satellite equipment. These requests originate from different data sources or applications, seeking the right to use a physical channel for data transmission. In this invention, the MAC layer determines the physical channel corresponding to the received target data packet based on the requests in the channel request queue and the current state of the physical channel (e.g., whether it is idle, channel quality, etc.). Then, based on channel quality and data priority information, the MAC layer retrieves the stored target data packet from the data transmission queue and sends it to the physical layer. During this process, the MAC layer may employ a pre-defined scheduling algorithm to optimize channel utilization efficiency, for example, prioritizing the transmission of high-priority data or selecting a channel with better quality for transmission.
[0036] Furthermore, after receiving the target data packet from the MAC layer, the physical layer writes it into the transmission queue. Then, the target data packet in the transmission queue is transmitted through the radio frequency (RF) transmission module. The RF transmission module converts the digital signal into an RF signal and radiates it into space through an antenna to achieve wireless data transmission. In this invention, the complete process, from the application layer initiating a data request task, to the transport layer encapsulating and packaging the data, to the MAC layer allocating channels and transmitting the data, and finally the physical layer completing the actual data transmission, is based on inter-layer queues for data transmission in satellite communication systems.
[0037] Based on the above embodiments, the MAC layer further includes a feedback queue, and the MAC layer is also used to store the feedback information sent by the physical layer or satellite equipment into the feedback queue, so that the MAC layer can adjust the channel allocation strategy and data transmission mode according to the feedback information.
[0038] Figure 2 This is a schematic diagram of the workflow of the feedback queue based on the MAC layer provided by the present invention, which can be referred to. Figure 2 As shown, in this invention, the physical layer or satellite equipment of the satellite communication system sends feedback information, including channel status, signal quality, and transmission success rate. The MAC layer is responsible for receiving this feedback information and storing it in a dedicated feedback queue. The feedback queue is a buffer for temporarily storing feedback information, ensuring that the feedback information is not lost and can be processed in a certain order. By storing the feedback information in the feedback queue, the MAC layer can access this information at any time when needed for subsequent analysis and processing.
[0039] In this invention, the MAC layer periodically checks the information in the feedback queue and analyzes changes in the channel state. Based on the analysis results, the MAC layer can adjust the channel allocation strategy, for example, selecting a channel with better signal quality for data transmission, or adjusting the channel allocation between different users to optimize overall transmission efficiency. Simultaneously, the MAC layer can also adjust the data transmission method based on feedback information, for example, changing the modulation scheme, coding rate, or transmission power to adapt to the current channel conditions.
[0040] In this invention, after the MAC layer makes adjustments to the channel allocation strategy and data transmission method based on feedback information, these adjustments are implemented in the actual communication process. Through this dynamic adjustment mechanism, the MAC layer can ensure that the satellite communication system maintains efficient and stable transmission performance under different channel conditions, thereby optimizing the overall performance of the communication system.
[0041] Based on the above embodiments, the transport layer further includes a retransmission queue. The transport layer is also used to store the first signal verification data in the retransmission queue during the data reassembly and data verification processes of the first signal verification data, if it is determined that the first signal verification data has failed the data verification process, so as to retransmit the first signal verification data.
[0042] In this invention, the transport layer is responsible for reliable data transmission in the satellite communication system, ensuring that data is accurately transmitted from the sender to the receiver, even in poor network conditions or when errors occur during data transmission. In this invention, the first signal verification data is data processed by the MAC layer and sent to the transport layer. This data has already undergone certain verification processing before transmission, but the transport layer needs to perform further data reassembly and verification processing to ensure data integrity and accuracy.
[0043] Data reassembly processing refers to reassembling received data fragments into complete data packets in the correct order; data verification processing, on the other hand, uses specific algorithms to check the integrity of the data, ensuring that no errors or loss occurred during transmission. In this invention, if the first signal verification data fails verification during data verification processing (i.e., the data contains errors or is lost), the transport layer stores this data in the retransmission queue. The retransmission queue is a buffer specifically used to store data that needs to be retransmitted. When data verification fails, placing this data in the retransmission queue ensures that it is not lost and can be retransmitted at an appropriate time.
[0044] In this invention, when data is placed in the retransmission queue, the transport layer is responsible for retransmitting this data at the appropriate time. Retransmission processing may involve retransmitting the entire data packet or only the erroneous portion, depending on the design and implementation of the satellite communication system. Through retransmission processing, the transport layer ensures reliable data transmission even under poor network conditions or when errors occur during data transmission, thereby improving the stability and reliability of the satellite communication system.
[0045] Based on the above embodiments, the inter-layer queue includes multiple inter-layer uplink queues and multiple inter-layer downlink queues, wherein: The plurality of inter-layer uplink queues are sequentially arranged between the physical layer and the MAC layer, between the MAC layer and the transport layer, and between the transport layer and the application layer, for transmitting the processed data of each layer to the next layer in the order of the physical layer, the MAC layer, the transport layer and the application layer; The multiple inter-layer downlink queues are sequentially arranged between the application layer and the transport layer, between the transport layer and the MAC layer, and between the MAC layer and the physical layer, for transmitting the processed data from each layer to the next layer in the order of application layer, transport layer, MAC layer to physical layer; The multiple inter-layer uplink queues and the multiple inter-layer downlink queues are each configured with a corresponding preset queue depth.
[0046] Figure 3 A schematic diagram of inter-layer queue interaction provided by the present invention can be referred to. Figure 3 As shown, inter-layer uplink queues are used to enable data transmission from lower layers to higher layers. These queues are sequentially positioned between the physical layer and the MAC layer, between the MAC layer and the transport layer, and between the transport layer and the application layer. Signal data processed by the physical layer is passed to the MAC layer via the uplink queue; data packets processed by the MAC layer are passed to the transport layer via the uplink queue; and data processed by the transport layer is then passed to the application layer. These uplink queues are implemented as message queues to ensure the orderliness and reliability of data transmission between layers.
[0047] In this invention, to avoid data loss and queue overflow, an appropriate queue depth is set. When the queue is full, a certain processing strategy is adopted, such as discarding low-priority data or waiting for the queue to have free space.
[0048] Inter-layer downlink queues are used by upper layers to send control commands and configuration information to lower layers. These queues are sequentially set between the application layer and the transport layer, between the transport layer and the MAC layer, and between the MAC layer and the physical layer. The application layer sends data transmission configuration commands to the transport layer through the downlink queues. The transport layer adjusts its transmission strategy according to these commands. The transport layer also sends data transmission requests to the MAC layer through the downlink queues, guiding the MAC layer to perform data transmission. The inter-layer downlink queues also use message queues and employ semaphore mechanisms to achieve inter-layer synchronization, ensuring that the lower layer can process commands promptly upon receipt.
[0049] Based on the above embodiments, the inter-layer queues between the physical layer, the MAC layer, the transport layer and the application layer are synchronization operations performed based on the FreeRTOS semaphore mechanism.
[0050] In satellite communication systems, data needs to be transmitted between different layers. Inter-layer queues (including uplink and downlink queues) are used to temporarily store this data, ensuring the orderliness and reliability of data transmission between layers. FreeRTOS is a real-time operating system kernel that provides various synchronization mechanisms, among which semaphores can be used to control access to shared resources or for event notification.
[0051] In this invention, the semaphore mechanism of FreeRTOS is used to synchronize inter-layer queue operations. When a lower layer writes data to an inter-layer uplink queue, it notifies the upper layer of the arrival of new data by sending a semaphore. Before reading data from the uplink queue, the upper layer acquires the semaphore to ensure data integrity and consistency. For inter-layer downlink queues, the upper layer sends a semaphore to notify the lower layer after writing an instruction. The lower layer acquires the semaphore before processing the instruction to avoid data conflicts and erroneous operations.
[0052] This invention sets up inter-layer queues (including uplink queues and downlink queues) in a multi-layer satellite communication system, which not only ensures the orderliness and reliability of data transmission between layers, but also realizes inter-layer synchronization through semaphore mechanisms, thereby ensuring the stability and efficiency of the entire communication system. The preset queue depth and management strategy further enhance the robustness and adaptability of the system.
[0053] Figure 4 A flowchart illustrating the data processing method provided by this invention is shown below. Figure 4 As shown, the present invention provides a data processing method for a satellite communication system based on the above embodiments, comprising: Step 401: The received raw signal data is temporarily stored in the physical layer's receive queue via the radio frequency receiving module, and the target signal data temporarily stored in the physical layer's transmit queue is sent to the MAC layer. The target signal data is the raw signal data after signal processing. The receive queue receives the raw signal data in a first-in-first-out manner. Step 402: Send the first signal verification data to the transport layer, wherein the first signal verification data is the target signal data after data verification processing by the MAC layer; Step 403: Perform data reassembly and data verification processing on the first signal verification data to obtain the second signal verification data, and temporarily store the second signal verification data in the receive buffer queue of the transmission layer. Step 404: After obtaining the second signal verification data from the receive buffer queue of the transport layer, store the second signal verification data in the data receive queue of the application layer for the corresponding application to call. The physical layer, the MAC layer, the transport layer, and the application layer transmit data based on inter-layer queues.
[0054] In this invention, the ZYNQ chip or MPSoC hardware platform is initialized, including configuring processor parameters and initializing peripheral interfaces; the FreeRTOS operating system is then started, creating tasks and queues for each layer, including the physical layer's receive queue and transmit queue, and the MAC layer's channel request queue, data transmission queue, and feedback queue. Simultaneously, semaphores are initialized for synchronization of inter-layer queue operations.
[0055] The satellite receives raw signal data from other satellites or ground stations via its radio frequency receiving module. This received raw signal data is then temporarily stored in the physical layer's receive queue, which operates on a first-in, first-out (FIFO) basis to ensure data is processed in the order it is received. Simultaneously, the physical layer processes previously received signal data, performing demodulation, decoding, and other signal processing before placing the target signal data (i.e., the processed raw signal data) into the physical layer's transmit queue.
[0056] Furthermore, the physical layer sends the target signal data in the transmission queue to the MAC layer for further processing. Upon receiving the target signal data from the physical layer, the MAC layer performs data verification to ensure data integrity and accuracy. The verified data becomes the first signal verification data, which is then sent to the transport layer for further processing.
[0057] Furthermore, after receiving the first signal verification data, the transport layer performs data reassembly and verification. Data reassembly reassembles the segmented data into a complete data packet, while data verification reconfirms the integrity of the data. The reassembled and verified data becomes the second signal verification data, which is then temporarily stored in the transport layer's receive buffer queue.
[0058] In this invention, the application layer retrieves the second signal verification data from the receive buffer queue of the transport layer and stores it in the application layer's data receive queue. The second signal verification data stored in the data receive queue can be called and used by the corresponding application to complete the entire data reception and processing flow.
[0059] In this invention, data transmission between the physical layer, MAC layer, transport layer and application layer is based on inter-layer queues. These inter-layer queues ensure the orderliness and reliability of data transmission between layers, and the operation of the inter-layer queues is ensured by synchronization mechanisms such as semaphores to ensure the integrity and consistency of the data.
[0060] This invention uses queues and semaphores to enable data interaction between functional layers only through queues, reducing direct dependencies and inter-layer coupling. When a layer is upgraded or modified, the impact on other layers is minimal, greatly reducing the difficulty of system maintenance and upgrades.
[0061] Furthermore, the layered and decoupled structure of the satellite communication system makes adding new functions easier. New functions can be integrated simply by adding functional modules within the corresponding layer and adjusting the queue operations and semaphore control of that layer, without requiring large-scale modifications to the entire satellite communication system, thus improving system scalability. Simultaneously, the queue design within each layer enables buffering and asynchronous processing of data and tasks. Combined with FreeRTOS's task scheduling mechanism, this allows the satellite communication system to efficiently handle multiple concurrent tasks, reducing task backlog and data loss, thereby improving system stability and reliability.
[0062] In another embodiment, taking the application layer initiating a data acquisition task as an example, the application layer initiates a data acquisition task and places the task request into the application layer's task request queue for temporary storage. Further, the application layer task scheduler retrieves tasks from the task request queue and executes them based on task priority and system resource availability. The task scheduler ensures that high-priority tasks are processed first, while also making reasonable use of system resources.
[0063] During application layer task execution, the application layer sends data acquisition commands to the transport layer. These commands are transmitted to the transport layer through an inter-layer downlink queue, which is used by upper layers to send control commands and configuration information to lower layers. After receiving the data acquisition commands from the application layer, the transport layer retrieves the previously prepared acquisition data from the send buffer queue, which is used to temporarily store data to be sent.
[0064] Furthermore, the transport layer segments and encapsulates the extracted data for subsequent transmission. In this invention, segmentation is to accommodate network transmission limitations, while encapsulation is to add necessary control information and checksums. The processed data packets are passed to the MAC layer via an inter-layer downlink queue. Then, the MAC layer retrieves the data packets passed down from the transport layer from the data packet queue, which is used to temporarily store data packets to be processed.
[0065] Furthermore, the MAC layer places the acquired data packets into a data transmission queue, preparing them for data transmission. The data transmission queue is used to temporarily store data packets to be sent. Simultaneously, the MAC layer writes data packets to the physical layer's send queue for subsequent processing.
[0066] Furthermore, the physical layer reads the data packets written by the MAC layer from the transmission queue, which is used to temporarily store data packets to be sent. Finally, the physical layer sends out the read data packets through the radio frequency (RF) transmission module, which is responsible for converting digital signals into RF signals and transmitting them through an antenna. This invention ensures the orderliness and reliability of data transmission between layers through inter-layer queues and synchronization mechanisms.
[0067] The data processing method provided by this invention processes the raw and target signal data through the physical layer's receive and transmit queues. Then, the MAC layer verifies the target signal data before sending it to the transport layer. The transport layer reassembles and verifies the data and temporarily stores it. Finally, the application layer retrieves the data from the transport layer and stores it for later use. Since data transmission between layers in a satellite communication system is based on inter-layer queues, the combination of queue and semaphore mechanisms reduces direct dependencies between layers and lowers inter-layer coupling, thereby reducing the difficulty of maintaining and upgrading the satellite communication system and improving scalability.
[0068] Figure 5 This is a schematic diagram of the structure of the electronic device provided by the present invention, such as... Figure 5As shown, the electronic device may include: a processor 501, a communications interface 502, a memory 503, and a communication bus 504, wherein the processor 501, the communications interface 502, and the memory 503 communicate with each other through the communication bus 504. The processor 501 can call logic instructions in the memory 503 to execute a data processing method, which includes: temporarily storing received raw signal data in the physical layer's receive queue via a radio frequency receiving module, and sending target signal data temporarily stored in the physical layer's transmit queue to the MAC layer, wherein the target signal data is the raw signal data after signal processing; the receive queue receives the raw signal data in a first-in-first-out manner; sending first signal verification data to the transport layer, wherein the first signal verification data is the target signal data after data verification processing by the MAC layer; performing data reassembly processing and data verification processing on the first signal verification data to obtain second signal verification data, and temporarily storing the second signal verification data in the transport layer's receive buffer queue; after obtaining the second signal verification data from the transport layer's receive buffer queue, storing the second signal verification data in the application layer's data receive queue for use by the corresponding application application; wherein data transmission between the physical layer, the MAC layer, the transport layer, and the application layer is based on inter-layer queues.
[0069] Furthermore, the logical instructions in the aforementioned memory 503 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0070] On the other hand, the present invention also provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, wherein when the program instructions are executed by a computer, the computer is able to execute the data processing method provided by the above methods, the method comprising: temporarily storing received raw signal data in a physical layer receive queue through a radio frequency receiving module, and transmitting target signal data temporarily stored in the physical layer transmit queue to a MAC layer, wherein the target signal data is raw signal data after signal processing; the receive queue receives the raw signal data in a first-in-first-out manner; and the first Signal verification data is sent to the transport layer, wherein the first signal verification data is the target signal data after data verification processing by the MAC layer; the first signal verification data is subjected to data reassembly processing and data verification processing to obtain second signal verification data, and the second signal verification data is temporarily stored in the receive buffer queue of the transport layer; after obtaining the second signal verification data from the receive buffer queue of the transport layer, the second signal verification data is stored in the data receive queue of the application layer for use by the corresponding application; wherein data transmission between the physical layer, the MAC layer, the transport layer and the application layer is based on inter-layer queues.
[0071] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program is implemented to perform the data processing method provided in the above embodiments. The method includes: temporarily storing received raw signal data in a physical layer receive queue via a radio frequency receiving module, and transmitting target signal data temporarily stored in the physical layer transmit queue to a MAC layer, wherein the target signal data is raw signal data after signal processing; the receive queue receives the raw signal data in a first-in-first-out manner; transmitting first signal verification data to a transport layer, wherein the first signal verification data is the target signal data after data verification processing by the MAC layer; performing data reassembly processing and data verification processing on the first signal verification data to obtain second signal verification data, and temporarily storing the second signal verification data in the receive buffer queue of the transport layer; after obtaining the second signal verification data from the receive buffer queue of the transport layer, storing the second signal verification data in the data receive queue of the application layer for use by the corresponding application application; wherein data transmission between the physical layer, the MAC layer, the transport layer, and the application layer is based on inter-layer queues.
[0072] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0073] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0074] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A satellite communication system, characterized in that, It includes the physical layer, MAC layer, transport layer, and application layer, among which: The physical layer includes a receive queue and a transmit queue, used to temporarily store the received raw signal data in the receive queue through the radio frequency receiving module, and to transmit the target signal data temporarily stored in the transmit queue to the MAC layer, wherein the target signal data is the raw signal data after signal processing; the receive queue receives the raw signal data in a first-in-first-out manner. The MAC layer is used to send first signal verification data to the transport layer, wherein the first signal verification data is the target signal data after data verification processing by the MAC layer; The transmission layer includes a receive buffer queue, which is used to perform data reassembly and data verification on the first signal verification data to obtain the second signal verification data, and temporarily store the second signal verification data in the receive buffer queue. The application layer includes a data receiving queue, which is used to store the second signal verification data in the data receiving queue after obtaining the second signal verification data from the receiving buffer queue of the transmission layer, so that the corresponding application can call it; The physical layer, the MAC layer, the transport layer, and the application layer transmit data based on inter-layer queues.
2. The satellite communication system according to claim 1, characterized in that, The application layer also includes a task request queue, which is used to store received data request tasks in the task request queue, and determine the target data request task based on the preset scheduling conditions corresponding to each data request task in the task request queue, and generate the task execution instruction corresponding to the target data request task. The preset scheduling conditions are constructed based on task priority and system resources. The transport layer further includes a send buffer queue, which is used to divide and encapsulate the target task data corresponding to the send buffer queue according to the target data request task to obtain a target data packet, and send the target data packet to the MAC layer. The send buffer queue is used to cache the task data sent by the application layer. The MAC layer includes a data transmission queue and a channel request queue. It is used to send the target data packet stored in the data transmission queue to the physical layer based on the physical channel occupancy request sent by the satellite equipment, and after determining the physical channel corresponding to the received target data packet based on the physical channel occupancy request, and based on channel quality and data priority information. The physical layer is also used to write the received target data packet into the transmission queue, and to transmit the target data packet in the transmission queue through the radio frequency transmission module.
3. The satellite communication system according to claim 2, characterized in that, The MAC layer also includes a feedback queue, which is used to store feedback information sent by the physical layer or satellite equipment into the feedback queue, so that the MAC layer can adjust the channel allocation strategy and data transmission method according to the feedback information.
4. The satellite communication system according to claim 2, characterized in that, The transport layer further includes a retransmission queue. The transport layer is also used to store the first signal verification data in the retransmission queue during the data reassembly and data verification processes of the first signal verification data, if it is determined that the first signal verification data has failed the data verification process, so as to retransmit the first signal verification data.
5. The satellite communication system according to claim 2, characterized in that, The inter-layer queue includes multiple inter-layer uplink queues and multiple inter-layer downlink queues, wherein: The plurality of inter-layer uplink queues are sequentially arranged between the physical layer and the MAC layer, between the MAC layer and the transport layer, and between the transport layer and the application layer, for transmitting the processed data of each layer to the next layer in the order of the physical layer, the MAC layer, the transport layer and the application layer; The multiple inter-layer downlink queues are sequentially arranged between the application layer and the transport layer, between the transport layer and the MAC layer, and between the MAC layer and the physical layer, for transmitting the processed data from each layer to the next layer in the order of application layer, transport layer, MAC layer to physical layer; The multiple inter-layer uplink queues and the multiple inter-layer downlink queues are each configured with a corresponding preset queue depth.
6. The satellite communication system according to claim 1 or 5, characterized in that, The inter-layer queues between the physical layer, the MAC layer, the transport layer, and the application layer are synchronization operations performed based on the FreeRTOS semaphore mechanism.
7. A data processing method based on the satellite communication system according to any one of claims 1 to 6, characterized in that, include: The received raw signal data is temporarily stored in the physical layer's receive queue via the radio frequency receiving module, and the target signal data temporarily stored in the physical layer's transmit queue is sent to the MAC layer. The target signal data is the raw signal data after signal processing. The receive queue receives the raw signal data in a first-in-first-out manner. The first signal verification data is sent to the transport layer, wherein the first signal verification data is the target signal data after data verification processing by the MAC layer; The first signal verification data is reassembled and verified to obtain the second signal verification data, which is then temporarily stored in the receive buffer queue of the transmission layer. After obtaining the second signal verification data from the receive buffer queue of the transport layer, the second signal verification data is stored in the data receive queue of the application layer for the corresponding application to call; The physical layer, the MAC layer, the transport layer, and the application layer transmit data based on inter-layer queues.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the data processing method as described in claim 7.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the data processing method as described in claim 7.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the data processing method as described in claim 7.
Citation Information
Patent Citations
Satellite mobile terminal wireless communication protocol stack software implementation method
CN116032348A
Satellite data processing method and system based on configurable protocol analyzer
CN116506526A
High-performance satellite platform based on real-time operating system and wireless bus and working method thereof
CN120223158A
Systems for mitigating service interrupts in satellite systems
US20200204250A1