A flexible and efficient method for dynamic framing of multiple types of data
Through the use of the dual-mode dynamic framing device, the problems of low bandwidth utilization and poor adaptability in the traditional framing method are solved, and flexible and efficient dynamic framing of multiple types of data are realized, which improves bandwidth utilization and transmission reliability. Data transmission requirements for various platforms.
Patent Information
- Application Number
- CN202111276074.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-29
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2041-10-29
AI Technical Summary
The traditional framing method has low bandwidth utilization and poor adaptability in the field of aerospace measurement and control, which leads to the need to redistribute bandwidth when the data type or rate changes, which increases the design and joint test workload and affects the stability of the equipment.
Using a dual-mode dynamic framing device, including an external interface module, a frame synchronization word search module, a frame length information extraction module, a packet module, a counting unit module, a selector module and a FIFO buffer module, dynamically allocate bandwidth and flexible framing Method, realize dynamic frame formation of multiple types of data, adapting to different data types and rates.
It improves bandwidth utilization, reduces the design and joint test workload, improves transmission reliability, and can quickly and efficiently complete data framing and extraction classification, which is suitable for data transmission needs of multiple platforms.
Smart Images

Figure CN114096009B_ABST
Abstract
Description
Technical Field
[0001] The invention discloses a flexible and efficient method for dynamically framing multiple types of data, and relates to the fields of aerospace measurement and control, wireless data transmission, etc. Background Art
[0002] In the field of aerospace measurement and control, it is usually necessary to transmit various types of data such as payload data, link data, image data and equipment status to the ground. All of these data are sent to the ground through downlink telemetry links.
[0003] The traditional framing method allocates a fixed bandwidth to each port according to the data transmission rate of each port (the transmission rate of each port cannot be greater than the maximum bandwidth allocated), and various types of data can only be transmitted in a fixed channel. This framing method has low bandwidth utilization and poor adaptability. When the data type or data rate changes, the bandwidth needs to be reallocated, and the design needs to be changed if necessary, which causes a lot of extra workload and is not conducive to the stability of the equipment's technical status. Summary of the invention
[0004] The purpose of the present invention is to avoid the shortcomings of the above-mentioned background technology and provide a flexible and efficient method for dynamic framing of multiple types of data. The method is flexible, convenient, and highly adaptable, and can greatly improve the utilization of bandwidth, reduce the workload of design and joint testing, and improve the reliability of transmission.
[0005] The object of the present invention is achieved in that:
[0006] A flexible and efficient method for dynamic framing of multiple types of data, which uses a dual-mode dynamic framing device to realize dynamic framing of multiple types of data, wherein the dual-mode dynamic framing device comprises an external interface module, a frame synchronization word search module, a frame length information extraction module, a packet module, a counting unit module, a selector module, and a FIFO buffer module. After the external data is received by the external interface module, the frame data is successively sent to the selector module after passing through the frame synchronization word search module, the frame length information extraction module, and the packet module, and the stream data is sent to the selector module after passing through the counting unit module and the packet module. The selector module selects the corresponding data and sends it to the FIFO buffer module. The method comprises the following steps:
[0007] (1) For the stream mode, design the physical port ID of each port according to the current number of external interfaces; for the frame mode, design the corresponding data identification ID for each type of data according to the data type;
[0008] (2) Setting parameters of each module through ground remote control function;
[0009] (3) In frame mode, the synchronization word search unit searches for the synchronization word of the data sent, and after the synchronization word is found, it is sent to the frame length information extraction module to extract the frame length information, and then sent to the packetization module for packetization; in stream mode, the data sent is received and counted according to a preset count value, and after reaching the preset count value, it is sent to the packetization module for packetization;
[0010] (4) According to the current working mode, stream data or frame data is selected and sent to the FIFO buffer module for buffering. After the FIFO buffer of each port stores at least one packet of data, it is marked as readable;
[0011] (5) Patrol each port in turn, and immediately read the currently encapsulated data from the FIFO buffer after detecting the readable mark, and clear the readable mark after completing the data acquisition; each port has the same priority;
[0012] (6) When framing, fill the read port data into the downlink telemetry frame in chronological order, and the starting position of the filled data is the end position of the previous data. If there is no data on the current port, it will automatically switch to the next port to continue patrolling. If there is no data on all ports, fill the current field with an idle sequence of "0" and "1". At the same time, continue to patrol each port. If new data is detected, stop filling the idle sequence immediately;
[0013] (7) When framing, the frame number is filled in after the telemetry frame synchronization word. This is used to determine whether there is frame loss based on whether the sequence number is continuous during ground reception.
[0014] Furthermore, the telemetry frame synchronization word is set to 32 bits, and the data frame length is set to 896 bytes to be compatible with LDPC coding, which is automatically expanded to 1024 bytes after coding.
[0015] Compared with the background technology, the present invention has the following advantages:
[0016] 1. The framing method of the present invention can maximize the use of current bandwidth resources, dynamically allocate bandwidth to each port according to the amount of data, and reduce unnecessary data transmission redundancy.
[0017] 2. The data framing method of the present invention is not limited by ports, and data framing can be quickly completed without paying attention to the type or specific format of data transmission. The ground can also extract and classify data quickly and efficiently.
[0018] 3. The method of the present invention is flexible, convenient and highly adaptable, and can greatly improve the utilization rate of bandwidth, reduce the workload of design and joint testing, and improve the reliability of transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a schematic diagram of the principle of the present invention.
[0020] Figure 2 yes Figure 1 Schematic diagram of the principle of the dual-mode dynamic framing device.
[0021] Figure 3 It is a schematic diagram of the telemetry frame structure. DETAILED DESCRIPTION
[0022] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments.
[0023] A flexible and efficient method for dynamic framing of multiple types of data, the main working process includes first caching the data of each branch separately, the cache size can be flexibly set according to the size of the data volume and the continuity of the data, after the cache volume reaches the set data volume, the data is packaged according to a certain format, the header, the tail and the data type identification are encapsulated, the branch identification of the prepared data is in a readable state, and the framing module patrols each port in sequence, each port has the same priority, and the high-priority port continuously sends data to avoid the low-priority data from being unable to be transmitted. Extract the prepared data and reframe all data according to the downlink telemetry frame format, fill in the starting position of the data as the end position of the last data, if there is no data in the current port, automatically transfer to the next port to continue patrolling, if all ports have no data, fill in the current field with a "0" "1" changing idle sequence, while filling in the idle sequence, the system continues to patrol each port, if new data is detected, immediately stop filling in the idle sequence. After framing, scrambling and LDPC coding design can be performed according to user needs, the present invention can select the transmission mode as stream mode or frame mode according to actual conditions, and the flexibility and applicability are further improved.
[0024] This framing method can maximize the use of current bandwidth resources, dynamically allocate bandwidth to each port according to the amount of data, and reduce unnecessary data transmission redundancy. In this framing method, a port can transmit only one type of data, or two or more types of data. Data transmission is not limited by the number of ports, and data framing can be completed quickly without paying attention to the type or specific format of data transmission. The ground can also extract and classify data quickly and efficiently.
[0025] Specifically, the method adopts a dual-mode dynamic framing device, which includes the following modules:
[0026] External interface module;
[0027] Frame synchronization word search module;
[0028] Frame length information extraction module;
[0029] Packet module;
[0030] Counting unit module;
[0031] Selector module;
[0032] FIFO buffer module.
[0033] Reference for the workflow of the dual-mode dynamic framing device Figure 2 After the external data is received by the external interface module, the frame data passes through the synchronization word search module, the frame length information extraction module, and the packet module, and then is sent to the selector module. The stream data passes through the counting unit module and the packet module and then is sent to the selector module. The selector module selects the corresponding data and sends it to the FIFO buffer module.
[0034] The framing method comprises the following steps:
[0035] In the flow mode, the physical port ID of each port is designed according to the current number of external interfaces. If it is a frame mode, the corresponding data identification ID needs to be designed for each type of data according to the data type.
[0036] Set parameters of each module through ground remote control function;
[0037] In frame mode, the synchronous word search unit first searches for the synchronous word of the data sent, and after the synchronous word is found, it is sent to the frame length information extraction unit to extract the frame length information, and then sent to the packet unit for packetization. In stream mode, the sent data is received and counted according to the preset count value, and when the preset count value is reached, it is sent to the packet unit for packetization;
[0038] According to the current working mode, the stream data or frame data is selected to be sent to the FIFO buffer for caching;
[0039] After each port's FIFO stores at least one packet of data, it is marked as readable. The data inspection module inspects each port in turn. After detecting the readable mark, it immediately reads the currently encapsulated data from the FIFO buffer and clears the readable mark after the data is retrieved. Each port has the same priority to avoid the high-priority port continuously sending data and causing the low-priority data to be unable to be transmitted;
[0040] When framing, the port data read is filled into the downlink telemetry frame in chronological order. The starting position of the filled data is the end position of the previous data. If there is no data on the current port, it will automatically switch to the next port to continue patrolling. If there is no data on all ports, an idle sequence of "0" and "1" will be filled in the current field. The patrol module will continue to patrol each port at the same time. If new data is detected, the idle sequence will be stopped immediately.
[0041] When assembling frames, fill in the frame number after the telemetry frame synchronization word. When receiving on the ground, determine whether there is frame loss based on whether the sequence number is continuous.
[0042] The above steps can complete the dynamic framing of various types of data.
[0043] In this method, the telemetry frame synchronization word is generally set to 32 bits. To be compatible with LDPC coding, the data frame length is designed to be 896 bytes, which is automatically expanded to 1024 bytes after coding.
[0044] Here is a more specific example:
[0045] A flexible and efficient method for dynamic framing of multiple types of data. Figure 1 This is the overall implementation principle diagram of this method. Figure 1 The transmission includes multiple data ports, and the number of ports is represented by n. As long as the total amount of transmitted data does not exceed the effective downlink bandwidth, this method has no limit on the number of ports. The ports can be in the form of network ports or serial ports.
[0046] Figure 2 It is the implementation block diagram of the dual-mode dynamic framing device. The frame mode processing process is completed through the external interface module, the synchronization word search module, the frame length information extraction module, and the packet module. The stream mode processing process is completed through the counting unit module and the packet module. The two-way data is selected by the selector module and sent to the FIFO buffer module.
[0047] The specific steps of this method are:
[0048] ① Initialization
[0049] Design the physical port ID of each port according to the current number of external interfaces. If it is a frame mode, a different data identification ID needs to be designed for each type of data according to the data type.
[0050] ②Parameter setting
[0051] The stream mode determines the size of the cached packet according to the data rate and its continuity to set the counting unit module. The frame mode needs to know the synchronization word content and the location of the packet length information in advance to set the synchronization word search module and the frame length information extraction module. Finally, the selector module is set according to whether the stream mode or frame mode is currently used. The above parameters can be set through the ground remote control function;
[0052] ③Data reception and cache processing
[0053] Data reception and cache processing are implemented as follows Figure 2 shown.
[0054] In the frame mode, the synchronization word search module first searches for the synchronization word of the data sent, and after searching for the synchronization word, it is sent to the frame length information extraction module to extract the frame length information, and then sent to the packetization module for packetization;
[0055] The stream mode receives and counts the data according to the preset count value, and sends it to the packet module for packetization after reaching the preset count value;
[0056] The selector module selects one of the paths to be sent to the FIFO buffer module for caching according to whether the current working mode is stream mode or frame mode. Regardless of stream mode or frame mode, the data stored in the FIFO buffer module has the following structure:
[0057]
[0058] Encapsulated package structure
[0059] ④Port inspection
[0060] After the FIFO of each port stores at least one packet of data, it is marked as readable. The data inspection module inspects each port in turn, and immediately reads the currently encapsulated data from the FIFO buffer module after detecting the readable mark;
[0061] ⑤Frame
[0062] When framing, the read port data is filled into the downlink telemetry frame in chronological order. The starting position of the filled data is the end position of the previous data. If there is no data on the current port, it will automatically switch to the next port to continue patrolling. If there is no data on all ports, an idle sequence of "0" and "1" changing will be filled in the current field. The patrol module will continue to patrol each port at the same time.
[0063] When assembling frames, fill in the frame number after the telemetry frame synchronization word. When receiving on the ground, it can be determined whether there is frame loss based on whether the sequence number is continuous.
[0064] The telemetry frame synchronization word is generally set to 32 bits. To be compatible with LDPC coding, the data frame length is designed to be 896 bytes, which is automatically expanded to 1024 bytes after coding.
[0065] Complete the telemetry data framing, the completed telemetry frame structure is as follows Figure 3 shown.
[0066] In summary, the present invention can quickly frame payloads, images and other data of different data formats and rates, and has the advantages of low latency, high effective bandwidth utilization, strong compatibility, etc. It is particularly suitable for various platforms such as satellites, airborne, and submarines with various types of data transmission needs.
[0067] It should be noted that, in addition to the above embodiments, the present invention may also have other implementations. Any technical solution using equivalent replacement or equivalent transformation forms falls within the protection scope required by the present invention.
Claims
1. A flexible and efficient method for dynamically framing multiple types of data, characterized in that: A dual-mode dynamic framing device is used to realize dynamic framing of multiple types of data. The dual-mode dynamic framing device includes an external interface module, a frame synchronization word search module, a frame length information extraction module, a packet module, a counting unit module, a selector module, and a FIFO buffer module. After the external data is received by the external interface module, the frame data is successively sent to the selector module after passing through the frame synchronization word search module, the frame length information extraction module, and the packet module. The stream data is sent to the selector module after passing through the counting unit module and the packet module. The selector module selects the corresponding data and sends it to the FIFO buffer module. The method includes the following steps: (1) For the stream mode, design the physical port ID of each port according to the current number of external interfaces; for the frame mode, design the corresponding data identification ID for each type of data according to the data type; (2) Set parameters of each module through ground remote control function; (3) In frame mode, the synchronization word search unit searches for the synchronization word of the data sent. After the synchronization word is found, it is sent to the frame length information extraction module to extract the frame length information, and then sent to the packetization module for packetization; in stream mode, the data sent is received and counted according to the pre-set count value, and when the set count value is reached, it is sent to the packetization module for packetization; (4) According to the current working mode, stream data or frame data is selected and sent to the FIFO buffer module for caching. After the FIFO buffer of each port stores at least one packet of data, it is marked as readable; (5) Patrol each port in turn, and immediately read the currently encapsulated data from the FIFO buffer after detecting the readable mark, and clear the readable mark after completing the data acquisition; each port has the same priority; (6) When framing, fill the read port data into the downlink telemetry frame in chronological order. The starting position of the filled data is the end position of the previous data. If there is no data on the current port, it will automatically switch to the next port to continue patrolling. If there is no data on all ports, fill the current field with an idle sequence of "0" and "1". At the same time, continue to patrol each port. If new data is detected, stop filling the idle sequence immediately; (7) When framing, the frame number is entered after the telemetry frame synchronization word. This is used to determine whether there is frame loss based on whether the sequence number is continuous when receiving on the ground.
2. A flexible and efficient method for dynamically framing multiple types of data according to claim 1, characterized in that: The telemetry frame synchronization word is set to 32 bits. To be compatible with LDPC coding, the data frame length is set to 896 bytes, which is automatically expanded to 1024 bytes after coding.
