Spacecraft tte data monitoring device
By utilizing the parallel processing technology of the spacecraft TTE data monitoring device, the problem of low data processing efficiency in the overall testing of the spacecraft TTE network was solved, achieving efficient data acquisition, analysis, and storage, and ensuring data integrity and traceability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING DONGFANG MEASUREMENT & TEST INST
- Filing Date
- 2025-06-24
- Publication Date
- 2026-07-31
AI Technical Summary
In existing technologies, during the testing of spacecraft TTE networks, data processing efficiency is low, processing capacity is insufficient, and data processing links are severely blocked, making it impossible to effectively monitor and process TTE network data in a timely manner.
The spacecraft TTE data monitoring device is used to achieve parallel processing of TTE network data through the concurrent execution of multiple network adapters and processor cores, including data capture, unpacking, encapsulation, forwarding and storage, and data caching and processing are performed using an in-memory database.
It improved data processing efficiency, reduced link congestion, and enabled efficient collection, analysis, forwarding, and storage of TTE network data, ensuring data integrity and traceability.
Smart Images

Figure CN120812079B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of network data transmission, and more particularly to a spacecraft TTE data monitoring device. Background Technology
[0002] Multiple subsystems on a spacecraft transmit data in the TTE network. When the spacecraft is tested on the ground, it is necessary to test the data receiving and sending functions between the subsystems, monitor and store various types of data during the test, and verify and analyze key data streams.
[0003] During the overall TTE (Transmission and Equipment) testing phase of a spacecraft, different subsystems undergo tests on interactive data, equipment status, and fault handling. However, the actual data transmission during testing relies heavily on the subsystems' own data reception and transmission. These subsystems lack complete data recording, parsing, and traceability capabilities, failing to meet the testing requirements of a multi-subsystem environment. Furthermore, existing bus testing methods use single-point access for data collection, making it impossible to monitor overall TTE network data. Given the large volume of TTE network data, single-point acquisition under high-traffic conditions involves sequential execution of data acquisition, parsing, forwarding, and database querying. Each stage suffers from low processing efficiency, insufficient processing capacity, and severe data processing link congestion, hindering effective monitoring and timely processing of TTE network data. Summary of the Invention
[0004] To address the technical problems existing in the prior art, the present invention aims to provide a spacecraft TTE data monitoring device that can improve processing efficiency, enhance processing capabilities, and effectively prevent data processing link blockage.
[0005] To achieve the above-mentioned objective, the present invention provides a spacecraft TTE data monitoring device, comprising:
[0006] Network adapters 1 through n are used to start data capture processes 1 through n respectively; where n > 1;
[0007] An application server is used to allocate and bind the first to nth processor cores one-to-one to the first to nth data capture processes;
[0008] And, for concurrently executing the first data acquisition process to the nth data acquisition process, to capture the first group of spacecraft subsystem data to the nth group of spacecraft subsystem data;
[0009] The data from the first group of spacecraft subsystems to the nth group of spacecraft subsystems are captured by the first network adapter to the nth network adapter from the first spacecraft TTE switch to the nth spacecraft switch, respectively; each of the first group of spacecraft subsystem data to the nth group of spacecraft subsystem data contains corresponding port information;
[0010] And, for processing the first group of spacecraft subsystem data to n groups of spacecraft subsystem data based on the port information;
[0011] The process includes performing at least one of the operations of unpacking, repackaging, and forwarding;
[0012] An in-memory database is used to store data from the first group of spacecraft subsystems to the nth group of spacecraft subsystems.
[0013] According to one technical solution of the present invention, a spacecraft TTE data monitoring device further includes:
[0014] Network adapters n+1 to n+m are used to start data capture processes n+1 to n+m respectively; where 1≤m≤n;
[0015] The first spacecraft TTE simulation board to the mth spacecraft TTE simulation board are used to receive and respond to the n-m+1th group of spacecraft subsystem data to the nth group of spacecraft subsystem data, respectively.
[0016] And, used to capture the first group of spacecraft TTE service data to the m group of spacecraft TTE service data from the n-m+1 spacecraft TTE switch to the nth spacecraft TTE switch respectively;
[0017] The application server is also used to allocate and bind the (n+1)th processor core to the (n+m)th processor core to the (n+1)th data capture process to the (n+m)th data capture process one-to-one;
[0018] In addition, it is also used to concurrently execute the (n+1)th data acquisition process to the (n+m)th data acquisition process to capture the first group of spacecraft TTE service data to the mth group of spacecraft TTE service data;
[0019] The first group of spacecraft TTE service data to the mth group of spacecraft TTE service data all contain corresponding port information;
[0020] Furthermore, it is also used to process the first group of spacecraft TTE service data to the mth group of spacecraft TTE service data based on the port information;
[0021] The process includes performing at least one of the operations of unpacking, repackaging, and forwarding;
[0022] The memory database is used to store the TTE service data of the first group of spacecraft to the m group of spacecraft.
[0023] According to one technical solution of the present invention, the application server is further configured to initiate p data filtering processes; wherein, p ≥ 1;
[0024] Furthermore, it is also used to allocate and bind p processor cores one-to-one to the p data filtering processes; and the p processor cores are not the same processor core as the first processor core to the (n+m)th processor core;
[0025] In addition, it is also used to concurrently execute the p data filtering processes, filter spacecraft TTE data according to preset filtering conditions, and unpack the spacecraft TTE data that meets the filtering conditions;
[0026] The spacecraft TTE data includes spacecraft subsystem data and spacecraft TTE service data.
[0027] The filtering condition is that the port information in the spacecraft TTE data matches the preset forwarding port information.
[0028] According to one technical solution of the present invention, the application server is further configured to start q data packet processes; wherein, q≥1;
[0029] Furthermore, it is also used to allocate and bind q processor cores one-to-one to the q data packet processes; and the q processor cores are not the same processor core as the 1st processor core to the (n+m)th processor core;
[0030] In addition, it is also used to concurrently execute the q data packetization processes, extract spacecraft TTE data, and encapsulate the extracted spacecraft TTE data according to the corresponding forwarding protocol;
[0031] The spacecraft TTE data includes spacecraft subsystem data and spacecraft TTE service data.
[0032] The extraction includes removing the frame header and frame tail of the spacecraft's TTE data.
[0033] According to one technical solution of the present invention, the application server is further configured to start k data forwarding processes; wherein, k≥1;
[0034] Furthermore, it is also used to allocate and bind k processor cores one-to-one to the k data forwarding processes; and the k processor cores are not the same processor core as the first processor core to the (n+m)th processor core;
[0035] In addition, it is also used to concurrently execute the k data forwarding processes, filter the packetized spacecraft TTE data according to preset filtering conditions, and forward the filtered spacecraft TTE data to the external data network.
[0036] The spacecraft TTE data includes spacecraft subsystem data and spacecraft TTE service data.
[0037] According to one technical solution of the present invention, the spacecraft TTE data monitoring device further includes a data switch, a database server, and an application server;
[0038] The in-memory database is configured in the application server;
[0039] The application server is used to start i data selection processes and i data compression processes; where i ≥ 1;
[0040] In addition, it is also used to allocate and bind the processor cores of the 2i application servers to the i data allocation processes and i data compression processes one-to-one;
[0041] In addition, it is also used to concurrently execute the i data allocation processes, allocate spacecraft TTE data to the corresponding data compression processes according to the preset first allocation conditions; and then concurrently execute the i data compression processes to compress the spacecraft TTE data;
[0042] The spacecraft TTE data includes spacecraft subsystem data and spacecraft TTE service data.
[0043] The data switch is used to receive compressed spacecraft TTE data and forward it.
[0044] The database server is used to receive and store the compressed spacecraft TTE data.
[0045] According to one technical solution of the present invention, the database server is further configured to initiate j data allocation processes and j data decompression processes; wherein, j≥1;
[0046] In addition, it is also used to allocate and bind the processor cores of 2j database servers one-to-one to the j data allocation processes and j data decompression processes;
[0047] In addition, it is also used to concurrently execute j data allocation processes, allocate the compressed spacecraft TTE data to the corresponding data decompression process according to the preset second allocation conditions; and then concurrently execute the j data decompression processes to decompress the compressed spacecraft TTE data.
[0048] According to one technical solution of the present invention, the data of the first group of spacecraft subsystems to the nth group of spacecraft subsystems are all mirror data;
[0049] The port information of the first group of spacecraft subsystem data to the nth group of spacecraft subsystem data includes the source data port information and mirror data port information of the corresponding switch;
[0050] The spacecraft TTE service data from group 1 to group m are all mirror data;
[0051] The port information of the first group of spacecraft TTE service data to the mth group of spacecraft TTE service data includes the source data port information and the mirror data port information of the corresponding spacecraft TTE simulation board.
[0052] According to one technical solution of the present invention, the in-memory database is a Redis database.
[0053] According to one technical solution of the present invention, the spacecraft subsystem data includes image data, voice data, telemetry data, synchronization data, and spacecraft management data.
[0054] According to one technical solution of the present invention, the spacecraft subsystem data includes image data, voice data, telemetry data, synchronization data, and spacecraft management data.
[0055] This invention provides a spacecraft TTE data monitoring device, which has the following advantages compared with the prior art:
[0056] The present invention provides a TTE network data monitoring system for the entire spacecraft, which mainly completes the collection, analysis, forwarding and storage of core interactive data in the TTE network, ensuring efficient data parsing, data forwarding and data storage under large data volumes.
[0057] This solves the problem that the existing spacecraft TTE network testing process can only transmit and receive data through the TTE single device itself, which cannot simultaneously monitor all data of the entire TTE network system, and cannot guarantee data integrity and overall status traceability.
[0058] Furthermore, during the overall testing process, multiple TTE devices are monitored simultaneously, enabling timely data processing, reducing link congestion, and real-time data unpacking, parsing, displaying, storing, and querying. Attached Figure Description
[0059] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the accompanying drawings used in the embodiments will be briefly described below. Obviously, the drawings described below are merely some embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any creative effort.
[0060] Figure 1 This schematic diagram illustrates the structure of a spacecraft TTE data monitoring device according to one embodiment of the present invention.
[0061] Figure 2 The flowchart illustrates the process of an application server capturing spacecraft TTE data in a spacecraft TTE data monitoring device according to an embodiment of the present invention.
[0062] Figure 3 This schematic diagram illustrates a flowchart of an application server unpacking spacecraft TTE data in a spacecraft TTE data monitoring device according to an embodiment of the present invention.
[0063] Figure 4 This schematic diagram illustrates a flowchart of an application server encapsulating spacecraft TTE data in a spacecraft TTE data monitoring device according to an embodiment of the present invention.
[0064] Figure 5 The flowchart illustrates the process of an application server forwarding spacecraft TTE data in a spacecraft TTE data monitoring device according to an embodiment of the present invention.
[0065] Figure 6 A flowchart illustrating the compression of spacecraft TTE data by a memory database in a spacecraft TTE data monitoring device according to an embodiment of the present invention.
[0066] Figure 7 The flowchart illustrates the process of decompressing spacecraft TTE data using a hard disk database in a spacecraft TTE data monitoring device according to an embodiment of the present invention. Detailed Implementation
[0067] The description of the embodiments in this specification should be taken in conjunction with the accompanying drawings, which should form part of the complete specification. In the drawings, the shape or thickness of the embodiments may be exaggerated and may be indicated in a simplified or convenient manner. Furthermore, parts of the various structures in the drawings will be described separately; it is worth noting that elements not shown in the figures or not described in words are in a form known to those skilled in the art.
[0068] The descriptions of the embodiments herein, including any references to directions and orientations, are for ease of description only and should not be construed as limiting the scope of the invention. The following description of preferred embodiments involves combinations of features, which may exist independently or in combination; the invention is not particularly limited to the preferred embodiments. The scope of the invention is defined by the claims.
[0069] like Figures 1-7 As shown, a spacecraft TTE data monitoring device of the present invention includes:
[0070] Network adapters 1 through n are used to start data capture processes 1 through n respectively; where n > 1;
[0071] Application server 1 is used to allocate and bind processor cores 1 to n to data capture processes 1 to n one-to-one;
[0072] And, used to concurrently execute the first data acquisition process to the nth data acquisition process, to capture the first set of spacecraft subsystem data to the nth set of spacecraft subsystem data;
[0073] The data from the first group of spacecraft subsystems to the nth group of spacecraft subsystems are captured by the first network adapter to the nth network adapter from the first spacecraft TTE switch to the nth spacecraft switch, respectively; each of the first group of spacecraft subsystem data to the nth group of spacecraft subsystem data contains corresponding port information;
[0074] And, used to process the data of the first group of spacecraft subsystems to the nth group of spacecraft subsystems based on port information;
[0075] The process includes performing at least one of the following operations: unpacking, repackaging, and forwarding;
[0076] In-memory database 2 is used to store data from the first group of spacecraft subsystems to the nth group of spacecraft subsystems.
[0077] In this embodiment, 6 network adapters are used, i.e., n=6.
[0078] like Figure 1 As shown, the TTE network system under test consists of 6 TTE switches and multiple TTE devices (spacecraft TTE subsystems). Different subsystems in the TTE network are grouped according to their access to the TTE switches, resulting in 6 groups. The transmit and receive data from the monitored device ports on each switch are mirrored to a high-speed port on the TTE switch. Simultaneously, each piece of data from the spacecraft subsystem is tagged with a mirror frame identifier containing a timestamp and switch port information. Since all services in the TTE network are pre-planned using a service planning table, the timing relationship of the spacecraft subsystem data output from the mirror port of the TTE switch remains consistent with the planned timing.
[0079] This implementation grouped the data in the TTE network according to the switches, and used six Ethernet network adapters to capture mirrored data (spacecraft subsystem data) with tail mirror identifiers from the six mirror ports on the TTE switches. The capture method was based on the Network Driver Interface Specification (NDIS) to directly capture data from the Media Access Controller (MAC) layer. This completed the acquisition of all spacecraft TTE data and monitored the real-time interactive data.
[0080] Furthermore, a high-throughput data caching system is employed using in-memory database 2. Leveraging the multi-core capabilities of application server 1, multiple processing processes are deployed to perform parallel processing of the data in in-memory database 2, thereby improving the speed of data unpacking, encapsulation, and forwarding.
[0081] The specific process is as follows: Figure 2 As shown, application server 1 has a multi-core CPU as its processor.
[0082] The spacecraft TTE data monitoring device in this embodiment allocates the processor cores of application server 1 and captures data from the MAC layer based on NDIS. Each of the first to sixth network adapters creates a corresponding first to sixth capture process, and allocates the first to sixth processor cores to the data capture processes of the first to sixth network adapters. The data capture processes of network adapters 1 to 6 capture network data packets in real time and form local temporary storage files.
[0083] The image data packets captured by network adapters 1 through 6 are placed into memory database 2, awaiting further processing.
[0084] The spacecraft TTE data monitoring system also includes:
[0085] Network adapters n+1 to n+m are used to start data capture processes n+1 to n+m respectively; where 1≤m≤n;
[0086] The first spacecraft TTE simulation board to the mth spacecraft TTE simulation board are used to receive and respond to the n-m+1th group of spacecraft subsystem data to the nth group of spacecraft subsystem data, respectively.
[0087] And, used to capture the first group of spacecraft TTE service data to the m group of spacecraft TTE service data from the n-m+1 spacecraft TTE switch to the nth spacecraft TTE switch respectively;
[0088] Application server 1 is also used to allocate and bind the (n+1)th processor core to the (n+m)th processor core to the (n+1)th data capture process to the (n+m)th data capture process one-to-one;
[0089] In addition, it is also used to concurrently execute the (n+1)th data acquisition process to the (n+m)th data acquisition process, and to capture the first group of spacecraft TTE service data to the mth group of spacecraft TTE service data;
[0090] The first group of spacecraft TTE service data to the mth group of spacecraft TTE service data all contain corresponding port information;
[0091] In addition, it is also used to process the TTE service data of the first group of spacecraft to the m group of spacecraft based on port information;
[0092] The process includes performing at least one of the following operations: unpacking, repackaging, and forwarding;
[0093] In-memory database 2 is used to store the TTE service data of spacecraft from group 1 to group m.
[0094] In this embodiment, a seventh network adapter is also included, i.e., m=1.
[0095] like Figure 1 As shown, the first spacecraft TTE emulation board is connected to the TTE port of the last spacecraft switch. If m > 1, the connections can be made in reverse order until all spacecraft TTE switches are connected to a single spacecraft TTE emulation board. However, usually only one spacecraft TTE emulation board needs to be connected.
[0096] The spacecraft TTE simulation board can function as an independent subsystem through a single TTE port. It can interact with the spacecraft as a command relay subsystem, including receiving telemetry data from the spacecraft, forwarding telemetry data sent by the spacecraft, responding to data from the spacecraft subsystem, or sending data to other ground subsystems. Simultaneously, it can send command relays to the spacecraft as required, control the spacecraft's operation, and receive core spacecraft TTE service data within the TTE network. This core spacecraft TTE service data can include spacecraft platform status data (such as integrated telemetry parameters, display parameters, etc.) and payload operational data (such as image data, voice data, commands, and injected data).
[0097] In this implementation, one TTE communication port is used to send and receive TTE service data with the spacecraft. At the same time, key traffic in the TTE service interaction data stream on the TTE switch is filtered and collected for monitoring, and data with a set port number is filtered and forwarded.
[0098] Furthermore, by collecting data from 7 ports and placing the data into memory database 2, the application server 1's processor uses multi-core allocation to process the data in the memory database in parallel, completing the unpacking, depacking, forwarding, displaying, and storing of the data.
[0099] This implementation method, based on capturing mirrored data (spacecraft subsystem data) from six switch mirror ports using six network adapters, further collects spacecraft TTE service data through a spacecraft TTE simulation board. The overall data of the spacecraft TTE network is grouped and collected to complete the acquisition of all spacecraft TTE data. This enables the acquisition and monitoring of data across the entire spacecraft interactive link.
[0100] The specific process is as follows: Figure 2 As shown, while the TTE monitoring device interacts with the spacecraft via the spacecraft TTE emulation card, the 7th network adapter captures data from the MAC layer based on NDIS through the high-speed mirror output port integrated into the spacecraft TTE emulation card (the spacecraft TTE emulation card has four interfaces, of which interfaces 1, 2, and 3 are triple-redundant service interfaces, and interface 4 is a data mirror output port). Each 7th network adapter creates a corresponding 7th capture process and allocates processor core 7 to it. The 7th capture process captures network packets in real time and forwards the data frames in real time based on the port information in the data frames, while simultaneously creating a local temporary storage file for all data. The mirrored data packets captured by the 7th network adapter are placed in the memory database 2, awaiting further processing.
[0101] Application server 1 is also used to start p data filtering processes; where p ≥ 1;
[0102] Furthermore, it is also used to allocate and bind p processor cores one-to-one to p data filtering processes; and the p processor cores are not the same processor core as the 1st processor core to the (n+m)th processor core;
[0103] In addition, it is also used to concurrently execute p data filtering processes, filter spacecraft TTE data according to preset filtering conditions, and unpack spacecraft TTE data that meet the filtering conditions;
[0104] Spacecraft TTE data includes spacecraft subsystem data and spacecraft TTE service data;
[0105] The filtering criteria are met if the port information in the spacecraft's TTE data matches the preset forwarding port information.
[0106] In this embodiment, such as Figure 3As shown, multiple spacecraft TTE data filtering processes are initiated according to the data volume. The spacecraft TTE data is filtered, and the spacecraft TTE data that meets the requirements is unpacked. The unpacked spacecraft TTE data is then sent back to the memory database 2 for further processing.
[0107] The preset filtering conditions may include: whether the data source identifier matches the preset spacecraft number, whether the data acquisition timestamp is within the specified valid time window, whether the data integrity check code passes the CRC check, and whether the data type identifier belongs to the preset valid data category (such as telemetry parameter type, command response type, status monitoring type), etc.
[0108] Application server 1 is also used to start q data packet processes; where q ≥ 1;
[0109] Furthermore, it is also used to allocate and bind q processor cores one-to-one to q data packet processes; and the q processor cores are not the same processor core as the 1st to the (n+m)th processor cores.
[0110] In addition, it is also used to concurrently execute q data packet processes to extract spacecraft TTE data and to packetize the extracted spacecraft TTE data according to the corresponding forwarding protocol;
[0111] Spacecraft TTE data includes spacecraft subsystem data and spacecraft TTE service data;
[0112] Extraction includes removing the frame header and frame tail of the spacecraft's TTE data.
[0113] In this embodiment, such as Figure 4 As shown, application server 1 can also start multiple data packet processes to extract spacecraft TTE data, process the qualified spacecraft TTE data into data packets according to the standard protocol to be forwarded, and send the packetized spacecraft TTE data back to memory database 2 for further operation.
[0114] Application server 1 is also used to start k data forwarding processes; where k ≥ 1;
[0115] Furthermore, it is also used to allocate and bind k processor cores one-to-one to k data forwarding processes; and the k processor cores are not the same processor core as the 1st processor core to the (n+m)th processor core;
[0116] In addition, it is also used to concurrently execute k data forwarding processes, filter the packetized spacecraft TTE data according to preset filtering conditions, and forward the filtered spacecraft TTE data to the external data network.
[0117] Spacecraft TTE data includes spacecraft subsystem data and spacecraft TTE operational data.
[0118] In this embodiment, the TTE data of the spacecraft after being packaged is implemented.
[0119] like Figure 5 As shown, application server 1 initiates multiple data forwarding processes, filters the packetized spacecraft TTE data, and forwards the spacecraft TTE data that meets the filtering criteria, such as... Figure 1 As mentioned above, forwarding is achieved through 6 network ports.
[0120] The preset filtering conditions can be the same as or similar to the screening conditions mentioned above.
[0121] The spacecraft TTE data monitoring device also includes a data switch 3, a database server 4, and an application server 5;
[0122] In-memory database 2 is configured in application server 5;
[0123] Application server 5 is used to start i data selection processes and i data compression processes; where i ≥ 1;
[0124] In addition, it is also used to allocate and bind the processor cores of 2i application servers 5 one-to-one to i data allocation processes and i data compression processes;
[0125] In addition, it is also used to concurrently execute i data allocation processes, allocate spacecraft TTE data to the corresponding data compression process according to the preset first allocation condition; and then concurrently execute i data compression processes to compress spacecraft TTE data;
[0126] Spacecraft TTE data includes spacecraft subsystem data and spacecraft TTE service data;
[0127] Data switch 3 is used to receive compressed spacecraft TTE data and forward it;
[0128] Database server 4 is used to receive and store compressed spacecraft TTE data.
[0129] In this embodiment, such as Figure 6 As shown, application server 1 starts multiple data allocation and data compression processes, adds the processed compressed data to the data sending queue, and the data queue sends the data to database server 4 through data exchange 3.
[0130] This implementation uses two servers to achieve TTE network data monitoring. Application server 1 is used for data acquisition and analysis, while database server 4 is used for data storage after analysis and processing, and provides complete database query functions. The data processed by application server 1 is sent to database server 4 through fiber optic switch (data switch 3).
[0131] Database server 4 is also used to start j data allocation processes and j data decompression processes; where j ≥ 1;
[0132] In addition, it is also used to allocate and bind the processor cores of 2j database servers 4 one-to-one to j data allocation processes and j data decompression processes;
[0133] In addition, it is also used to concurrently execute j data allocation processes, allocate the compressed spacecraft TTE data to the corresponding data decompression process according to the preset second allocation condition; and then concurrently execute j data decompression processes to decompress the compressed spacecraft TTE data.
[0134] In this embodiment, the database processing process extracts and decompresses the sent data from the queue, processes it, and then stores it in the hard disk database of the database server 4.
[0135] In this embodiment, the database server 4 opens multiple processing processes to decompress the compressed data and insert it into the database, thereby achieving high-speed insertion of large-throughput data.
[0136] The data from the first group of spacecraft subsystems to the nth group of spacecraft subsystems are all mirror data;
[0137] The port information for spacecraft subsystem data from group 1 to group n includes the source data port information and mirror data port information of the corresponding switches;
[0138] The spacecraft TTE service data from group 1 to group m are all mirror data;
[0139] The port information for spacecraft TTE service data from group 1 to group m includes the source data port information and mirror data port information of the corresponding spacecraft TTE simulation board.
[0140] In-memory database 2 is a Redis database.
[0141] In this implementation, Redis is used as an in-memory database for high-throughput data caching. Leveraging the multi-core nature of the server, multiple processing processes can be deployed to process the data in Redis in parallel, improving the speed of data unpacking, encapsulation, and forwarding. Multiple processes extract and compress the data in Redis, forming a data queue, which is then sent to the database server in real time. The data storage server then deploys multiple processing processes to decompress the compressed data and insert it into the database, achieving high-speed insertion of large-throughput data.
[0142] Spacecraft subsystem data includes image data, voice data, telemetry data, synchronization data, and spacecraft management data.
[0143] The spacecraft TTE data monitoring device of the present invention includes: a network adapter for initiating an nth data acquisition process; an application server for allocating and binding n processor cores one-to-one to the n data acquisition processes; and for concurrently executing the n data acquisition processes to acquire n sets of spacecraft subsystem data; the first set of spacecraft subsystem data to the nth set of spacecraft subsystem data are acquired by the first network adapter to the nth network adapter from the first spacecraft TTE switch to the nth spacecraft switch, respectively; each set of the first set of spacecraft subsystem data to the nth set of spacecraft subsystem data has corresponding port information; and for processing the first set of spacecraft subsystem data to the nth set of spacecraft subsystem data based on the port information; and a memory database for storing the first set of spacecraft subsystem data to the nth set of spacecraft subsystem data.
[0144] To achieve high-speed, complete, and real-time parsing, forwarding, and storage of TTE interactive data, this invention proposes a method for TTE network monitoring. The implementation method implements a software architecture for concurrent large-volume data capture, data analysis, data forwarding, and data storage, and develops a TTE bus monitoring device to monitor 6 gigabit mirrored data channels and 1 channel of critical TTE telemetry data, which can effectively complete the testing task.
[0145] Furthermore, it should be noted that the present invention can be provided as a method, apparatus, or computer program product. Therefore, embodiments of the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Moreover, embodiments of the present invention can take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code.
[0146] Embodiments of the present invention are described with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0147] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The functions specified in one or more boxes. These computer program instructions may also be loaded onto a computer or other programmable data processing terminal equipment to cause a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0148] It should also be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.
[0149] Finally, it should be noted that the above description represents a preferred embodiment of the present invention. It should be pointed out that although preferred embodiments have been described, those skilled in the art, once they understand the basic inventive concept of the present invention, can make various improvements and modifications without departing from the principles described herein. These improvements and modifications should also be considered within the scope of protection of the present invention. Therefore, the appended claims are intended to be interpreted as including both the preferred embodiments and all changes and modifications falling within the scope of the embodiments of the present invention.
Claims
1. A spacecraft TTE data monitoring apparatus, characterized by, include: Network adapter, for starting the first data capture process n Network adapter, for starting the first data capture process n Data capture process; wherein n 1; Application server (1), used to connect the first processor core to the second processor core. n Processor cores are assigned and bound one-to-one to the first data capture process ~ n Data capture process; And, for concurrent execution of the first data capture process ~ the second n The data acquisition process captured the first set of spacecraft subsystem data. n Data from spacecraft subsystems; The first group of spacecraft subsystem data ~ n Data from the spacecraft subsystems, from the first network adapter to the second... n Network adapters are respectively from the TTE switch of spacecraft 1 to the n Spacecraft switch captures; the first group of spacecraft subsystem data ~ n Each of the spacecraft subsystems contains corresponding port information; And, for processing data from the first group of spacecraft subsystems based on the port information. n Process data from spacecraft subsystems; The process includes performing at least one of the operations of unpacking, repackaging, and forwarding; In-memory database (2) is used to store the data of the first group of spacecraft subsystems. n Data from spacecraft subsystems; No. n +1 Network Adapter ~ No. n + m Network adapters are used to start the respective networks. n +1 Data capture process ~ number n + m Data capture process; where 1≤ m ≤ n ; The application server (1) is also used to start p Several data filtering processes; among them p ≥1; And, it is also used to... p Each processor core is assigned and bound to the specified processor core one-to-one. p A data filtering process; and the p The processor core and the first processor core ~ the n + m The processor cores are not the same; And, it is also used for concurrent execution of the above. p A data filtering process filters spacecraft TTE data according to preset filtering conditions, and unpacks the spacecraft TTE data that meets the filtering conditions. The spacecraft TTE data includes spacecraft subsystem data and spacecraft TTE service data. The filtering condition is that the port information in the spacecraft TTE data matches the preset forwarding port information.
2. The spacecraft TTE data monitoring device according to claim 1, characterized in that, Also includes: The first spacecraft TTE simulation board ~ m Spacecraft TTE simulation board, used to receive and respond to the first n - m +1 set of spacecraft subsystem data ~ No. n Data from spacecraft subsystems; And, used respectively from the first n - m +1 Spacecraft TTE Switch ~ No. n The spacecraft TTE switch captured the first set of spacecraft TTE service data. m Group spacecraft TTE service data; The application server (1) is also used to transfer the first n +1 processor core ~ number n + m Processor cores are assigned and bound one-to-one to the first n +1 Data capture process ~ number n + m Data capture process; And, it is also used for concurrent execution of the first... n +1 Data capture process ~ number n + m The data acquisition process captures the first group of spacecraft TTE service data. m Group spacecraft TTE service data; The first group of spacecraft TTE service data ~ m Each spacecraft's TTE service data contains corresponding port information; Furthermore, it is also used to process the TTE service data of the first group of spacecraft based on the port information. m Processing TTE service data from spacecraft; The process includes performing at least one of the operations of unpacking, repackaging, and forwarding; The memory database (2) is used to store the first group of spacecraft TTE service data. m Group spacecraft TTE service data.
3. The spacecraft TTE data monitoring device according to claim 2, characterized in that, The application server (1) is also used to start q A data packet encapsulation process; among which... q ≥1; And, it is also used to... q Each processor core is assigned and bound to the specified processor core one-to-one. q A data packet process; and the q The processor core and the first processor core ~ the n + m The processor cores are not the same; And, it is also used for concurrent execution of the above. q Each data packetization process extracts the spacecraft TTE data and encapsulates the extracted spacecraft TTE data according to the corresponding forwarding protocol. The spacecraft TTE data includes spacecraft subsystem data and spacecraft TTE service data. The extraction includes removing the frame header and frame tail of the spacecraft's TTE data.
4. The spacecraft TTE data monitoring device according to claim 3, characterized in that, The application server (1) is also used to start k One data forwarding process; among them k ≥1; And, it is also used to... k Each processor core is assigned and bound to the specified processor core one-to-one. k One data forwarding process; and the k The processor core and the first processor core ~ the n + m The processor cores are not the same; And, it is also used for concurrent execution of the above. k Each data forwarding process filters the packetized spacecraft TTE data according to preset filtering conditions and forwards the filtered spacecraft TTE data to an external data network. The spacecraft TTE data includes spacecraft subsystem data and spacecraft TTE service data.
5. The spacecraft TTE data monitoring device according to claim 2, characterized in that, It also includes a data switch (3) and a database server (4); The in-memory database (2) is configured in the application server (1); The application server (1) is used to start i Data selection process and i Several data compression processes; among them, i ≥1; And, it is also used to transfer 2 i Each application server (1) has its processor cores assigned and bound one-to-one to the aforementioned... i Data allocation process and i One data compression process; And, it is also used for concurrent execution of the above. i Each data allocation process allocates spacecraft TTE data to the corresponding data compression process according to a preset first allocation condition; then, the process executes concurrently... i A data compression process is performed to compress the spacecraft's TTE data; The spacecraft TTE data includes spacecraft subsystem data and spacecraft TTE service data. The data switch (3) is used to receive compressed spacecraft TTE data and forward it; The database server (4) is used to receive and store the compressed spacecraft TTE data.
6. The spacecraft TTE data monitoring device according to claim 5, characterized in that, The database server (4) is also used to start... j Data allocation process and j Several data decompression processes; among them... j ≥1; And, it is also used to transfer 2 j Each database server (4) has its processor cores assigned and bound one-to-one to the aforementioned... j Data allocation process and j One data decompression process; And, it is also used for concurrent execution. j Each data allocation process allocates the compressed spacecraft TTE data to the corresponding data decompression process according to a preset second allocation condition; then, the data allocation process executes concurrently. j A data decompression process decompresses the compressed spacecraft TTE data.
7. The spacecraft TTE data monitoring device according to any one of claims 1 to 6, characterized in that, Group 1 Spacecraft Subsystem Data ~ n All data from the spacecraft subsystems are mirror data. The first group of spacecraft subsystem data ~ n The port information for the spacecraft subsystem data includes the source data port information and mirror data port information of the corresponding switches; Group 1 Spacecraft TTE Service Data ~ m All spacecraft TTE service data are mirrored data. The first group of spacecraft TTE service data ~ m The port information for the spacecraft TTE service data includes the source data port information and the mirror data port information of the corresponding spacecraft TTE simulation board.
8. The spacecraft TTE data monitoring device according to claim 7, characterized in that, The in-memory database (2) is a Redis database.
9. The spacecraft TTE data monitoring device according to any one of claims 1 to 6, 8, characterized in that, Spacecraft subsystem data includes image data, voice data, telemetry data, synchronization data, and spacecraft management data.