A table-based telemetry source packet subscription distribution method
By using a table-based telemetry source packet subscription and distribution method, the header information of the telemetry source packets is dynamically modified, which solves the problem that spacecraft CPU software cannot flexibly subscribe to and distribute multiple types of telemetry data, and realizes flexible on-orbit data processing and transmission.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING INST OF SPACECRAFT SYST ENG
- Filing Date
- 2023-02-10
- Publication Date
- 2026-05-19
AI Technical Summary
Existing spacecraft CPU software designs cannot achieve dynamic subscription and distribution of multiple types of telemetry data, resulting in inflexible software updates and increased on-orbit maintenance workload.
A table-based telemetry source packet subscription and distribution method is adopted. By configuring the subscription information table and remote control commands, the packet header information of the telemetry source packet is dynamically modified to realize the subscription and distribution of telemetry source packets. It supports the matching and distribution of various types of telemetry source packets.
It enables the data transmission needs of other subsystems to be met without on-orbit software maintenance, thereby improving the flexibility of the onboard CPU software and the telemetry data processing capabilities.
Smart Images

Figure CN116319863B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a table-based telemetry source packet subscription and distribution method, belonging to the field of spacecraft integrated electronic technology. Background Technology
[0002] As spacecraft functions become increasingly complex, subsystems beyond integrated electronic or data management subsystems have ever-changing data requirements, often necessitating the acquisition of data from other subsystems to complete specific functions. Meanwhile, current spacecraft CPU software faces the following challenges:
[0003] Once the onboard CPU software is designed, the data processing or forwarding method is fixed and it does not have the function of dynamically subscribing to and distributing multiple types of data. If it is necessary to meet the new data transmission requirements of other subsystems, the CPU software can only be updated during on-orbit maintenance. This method increases the software development and testing work and is very inflexible. Summary of the Invention
[0004] In view of this, the present invention provides a table-based telemetry source packet subscription and distribution method to overcome the shortcomings of existing software design, solve the problem of flexible control of onboard software over the subscription and distribution of multiple types of telemetry data, and avoid subsequent inefficient on-orbit maintenance.
[0005] Communication between individual units or modules within a spacecraft is largely based on telemetry source packets. Furthermore, the information in the telemetry source packet header can serve as a basis for source packet classification. The storage and dynamic modification (including quantity changes) of this information can be performed using a linked list. Based on these characteristics, this invention designs a subscription information table that can match multiple types of telemetry source packets. Through interface calls, the subscription information of telemetry source packets is modified. By matching table entries and adjusting the source packet header information, the distribution of telemetry source packets is completed. This method includes the following steps, the process of which is shown in the appendix. Figure 1 :
[0006] Step 1: Initialize the onboard CPU software component and configure the subscription information table; the subscription information table consists of multiple subscription information entries. During the operation of the onboard CPU software component, the subscription information table is operated through remote control commands to realize the subscription control of different subscribers to different telemetry source packets.
[0007] Step 2: The onboard CPU software component receives the telemetry source packet and extracts the telemetry source packet header information;
[0008] Step 3: The onboard CPU software component matches the extracted telemetry source packet header information with the subscription information in the subscription information table one by one. If a match is successful, the current telemetry source packet is forwarded.
[0009] Furthermore, each subscription message includes six fields: Match Type, Source APID, Service Type, Service Subtype, SID, and Subscriber APID. Among them, Match Type indicates the key information matching depth and is used to define the matching fields required by this subscription message; Source APID indicates the sender of the telemetry source packet required by this subscription message; Service Type indicates the service type of the current source packet following the PUS standard; Service Subtype indicates the service subtype of the current source packet following the PUS standard; SID indicates a specific data structure identifier in the current source packet; and Subscriber APID indicates the receiver of the telemetry source packet required by this subscription message.
[0010] Furthermore, the extracted packet header information includes the source APID, destination APID, service type, service subtype, and SID field.
[0011] Step 3 further includes the following steps: the onboard CPU software component matches the extracted telemetry source packet header information with the subscription information in the subscription information table one by one according to the matching type requirements. If the match is successful, the current telemetry source packet is copied to obtain a source packet copy. The destination APID of the telemetry source packet copy is changed to the subscriber APID in the subscription information that is successfully matched with it. Then, the source packet copy is sent to the subscriber APID.
[0012] When the matching type is 1H, the matching field indicates that the source APID information is included.
[0013] When the matching type is 2H, the matching field represents two pieces of information: source APID and service type.
[0014] When the matching type is 3H, the matching fields represent three pieces of information: source APID, service type, and service subtype.
[0015] When the matching type is 4H, the matching fields represent four pieces of information: source APID, service type, service subtype, and SID.
[0016] The matching type can be modified via commands according to actual needs.
[0017] Operations on the subscription information table include: viewing the subscription information table; modifying the content of the table entries; and adding or deleting one or more subscription information entries to the subscription information table.
[0018] Beneficial effects:
[0019] 1. This invention modifies the subscription information table via remote control commands, enabling the onboard CPU software component to meet the new data transmission requirements of other subsystems without requiring on-orbit software maintenance;
[0020] 2. This invention satisfies different matching requirements by modifying the matching type.
[0021] 3. This invention improves the flexibility of telemetry data processing in the onboard CPU software by adding or deleting subscription information to complete the subscription processing of different telemetry source packages. Attached Figure Description
[0022] Figure 1 A schematic diagram of the method described in this invention;
[0023] Figure 2 A sample of the subscription information table format;
[0024] Figure 3 Flowchart of the method described in this invention; Detailed Implementation
[0025] The present invention will now be described in detail with reference to the accompanying drawings and embodiments. Specific implementation methods are as follows.
[0026] A table-based method for subscribing to and distributing telemetry source packets is disclosed. This invention is used to control and manage the subscription and distribution of telemetry source packets within onboard computer software. It includes the following steps:
[0027] Step 1: Initialize the software components and configure the subscription information table. The table entries in this embodiment are defined as shown in the table below.
[0028] Table 1 Initial Structure of Subscription Information Table
[0029] Matching type Source APID Service Types Service subtypes SID Subscriber APID 3H 501H 3H 19H 0 422H (Integrated Electrical Subsystem)
[0030] The matching type of the subscription information table is configured as 3H, indicating that the telemetry source packet needs to match three pieces of information in the subscription information table: source APID, service type, and service subtype. The subscription APID corresponding to this entry indicates that the subscriber 422H (i.e., the integrated power subsystem) has subscribed to a telemetry source packet with a packet header (source APID, service type, service subtype) of (501H, 3H, 19H). In the table, 501H is the APID of the intelligent information processing module of the integrated power subsystem.
[0031] Step 2: During the spacecraft's operation in orbit, the ground needs to complete new tasks as required. The "table query" command is used to obtain the content of the currently subscribed information table.
[0032] Step 3: On the ground, add two table entries using the "Add Table" command to meet the specific telemetry data requirements of the attitude and orbit control subsystem and the payload subsystem. The subscription information table update is shown in the table below.
[0033] Table 2 Subscription Information Table Update Structure
[0034] Matching type Source APID Service Types Service subtypes SID Subscriber APID 3H 501H 3H 19H 0 422H (Integrated Electrical Subsystem) 4H 6E1H 3H 19H 1 502H (Attitude and Orbit Control Subsystem) 2H 501H 4H 0 0 6E1H (Load Subsystem)
[0035] The second subscription information in Table 2 indicates that, in order to complete a specific type of task, the attitude and orbit control subsystem has added a requirement for telemetry data of a specified matching type from the payload subsystem (6E1H), and the table entry matching type is 4H, which means that four pieces of information need to be matched: source APID, service type, service subtype, and SID. The third subscription information in Table 2 indicates that the payload subsystem (6E1H) has added a requirement for some telemetry data from the intelligent information processing module (501H) of the integrated electrical subsystem, and the table entry matching type is 2, which means that two pieces of information need to be matched: source APID and service type.
[0036] For the matching type, you can also define to match only the source APID, or match the source APID, service type and service subtype, etc., depending on the actual situation.
[0037] In addition, the "Table Modify" command can be used to modify one or more subscription records in Table 2, and the "Table Delete" command can be used to delete any one or more subscription records in Table 2.
[0038] Step 4: When the onboard software receives multiple telemetry packets from the bus, it extracts the source APID, service type, service subtype, and SID information, and combines them with the matching type of the table entries to complete the table entry classification and matching.
[0039] Step 5: For a successfully matched telemetry source packet, extract the subscription APID of table entries 2 and 3, copy the telemetry source packet, replace the destination APID in the telemetry source packet, and then send out the copy of the telemetry source packet through the bus.
[0040] This invention does not process telemetry source packets that fail to match.
[0041] In summary, the above is merely one embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A table-based telemetry source packet subscription and distribution method, characterized in that: A subscription information table capable of matching various types of telemetry source packets was designed. Through API calls, the subscription information of telemetry source packets is modified. By matching table entries and adjusting the header information of the telemetry source packets, the distribution of telemetry source packets is completed. Specifically, the following steps are included: Step 1: Initialize the onboard CPU software component and configure the subscription information table; the subscription information table consists of multiple subscription information entries. During the operation of the onboard CPU software component, the subscription information table is operated through remote control commands to realize the subscription control of different subscribers to different telemetry source packets. Step 2: The onboard CPU software component receives the telemetry source packet and extracts the telemetry source packet header information; Step 3: The onboard CPU software component matches the extracted telemetry source packet header information with the subscription information in the subscription information table one by one. If a match is successful, the current telemetry source packet is forwarded. Each subscription information includes 6 fields: Matching Type, Source APID, Service Type, Service Subtype, SID, and Subscriber APID. Among them, Matching Type indicates the key information matching depth and is used to define the matching fields required by this subscription information. Source APID indicates the sender of the telemetry source packet required by this subscription information. Service Type indicates the service type of the PUS standard followed by the current source packet. Service Subtype indicates the service subtype of the PUS standard followed by the current source packet. SID indicates the data structure identifier in the current source packet. Subscriber APID indicates the receiver of the telemetry source packet required by this subscription information.
2. The table-based telemetry source packet subscription and distribution method according to claim 1, characterized in that: The extracted packet header information includes the source APID, destination APID, service type, service subtype, and SID field.
3. The table-based telemetry source packet subscription and distribution method according to claim 2, characterized in that: Step 3 further includes the following steps: the onboard CPU software component matches the extracted telemetry source packet header information with the subscription information in the subscription information table one by one according to the matching type requirements. If the match is successful, the current telemetry source packet is copied to obtain a source packet copy. The destination APID of the telemetry source packet copy is changed to the subscriber APID in the subscription information that is successfully matched with it. Then, the source packet copy is sent to the subscriber APID.
4. The table-based telemetry source packet subscription and distribution method according to claim 3, characterized in that: When the matching type is 1H, the matching field indicates that the source APID information is included; when the matching type is 2H, the matching field indicates that the source APID and service type are both included; when the matching type is 3H, the matching field indicates that the source APID, service type and service subtype are both included. When the matching type is 4H, the matching fields represent four pieces of information: source APID, service type, service subtype, and SID. The matching type can be modified via commands according to actual needs.
5. The table-based telemetry source packet subscription and distribution method according to claim 1, characterized in that: Operations on the subscription information table include: viewing the subscription information table; modifying the content of the table entries; and adding or deleting one or more subscription information entries to the subscription information table.