Method and device for analyzing and verifying injected data of spacecraft
By using pre-constructed configuration information data dictionary analysis and verification of spacecraft injection data, the problem of differences in the analysis and verification of injection data of different models of spacecraft is solved, and the standardized analysis and verification of injected data is realized, which improves the universality of the system.
Patent Information
- Application Number
- CN202411344348.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2044-09-25
AI Technical Summary
The prior art is difficult to effectively analyze and verify the injection data of different models of spacecraft, especially when there are differences between different remote control systems and injection formats, resulting in less universal system.
By obtaining the data source code of the injected data, analyzing the data source code using the pre-constructed configuration information data dictionary of the injected data, obtaining the analysis results, and verifying the injected data based on the preset input parameters and analysis results, realizing standardized analysis and verification.
Effectively block the differences in injection formats of different spacecraft, realize standardized analysis and verification of remote control injection data, and adapt to dual remote control system and multi-model injection format analysis and verification.
Smart Images

Figure CN119597345A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of spacecraft control technology, and in particular to a method and device for analyzing and verifying spacecraft injection data. Background Art
[0002] The spacecraft's subsystem switch control, state switching, attitude and orbit control, time calibration, onboard software and flight program maintenance operations all require the injection of remote control commands through the uplink of the ground measurement and control system. Since remote control commands can directly change the operating state of the spacecraft, their reliability and safety requirements are extremely high.
[0003] The instructions of spacecraft mainly include direct instructions, indirect instructions and injection data. Direct instructions and indirect instructions belong to static source code. The instruction name can intuitively reflect its function, and the correctness of the instruction source code can be ensured through a one-time verification. Therefore, this type of instruction is usually generated, verified and countersigned before the spacecraft is launched. Injection data is more complex and flexible. It usually contains one or more injection parameters. Ground flight control personnel fill in the corresponding parameter values according to mission requirements to generate injection data. Since the injection data source code is a dynamic source code, after the ground injection generation software generates the injection data, it needs to be reviewed and countersigned by multiple personnel before it is injected into the spacecraft to ensure its correctness. However, the injection data source code actually used for execution is a binary file, which is difficult to verify manually and has poor readability.
[0004] The remote control data formats of different types of spacecraft are not unified, especially for spacecraft produced by different research and development departments, whose remote control interfaces are quite different. At present, the traditional PCM remote control system is still used by most on-orbit spacecraft, but more and more newly developed spacecraft adopt the subcontract remote control system proposed by the Consultative Committee on Space Data Systems (CCSDS). The ground flight control center needs to undertake the uplink control tasks of different types of spacecraft. For flight control tasks with different remote control systems and injection formats, corresponding injection data parsing and verification software must be developed, which makes the system less versatile. This problem needs to be solved urgently. Summary of the invention
[0005] In response to the problems in the prior art, an embodiment of the present application provides a method and device for analyzing and verifying spacecraft injection data, which can at least partially solve the problems existing in the prior art.
[0006] In a first aspect, the present application provides a method for analyzing and verifying spacecraft injection data, comprising:
[0007] Obtaining a data source code for injected data; the injected data is generated according to preset input parameters;
[0008] Parsing the data source code using a pre-built configuration information data dictionary of the injected data to obtain a parsing result;
[0009] The injected data is verified according to the preset input parameters and the parsing result.
[0010] Furthermore, the step of pre-building the configuration information data dictionary includes:
[0011] Acquire attribute information of the injected data and pre-built frame structure information;
[0012] The configuration information data dictionary is constructed according to the attribute information and the frame structure information.
[0013] Furthermore, the step of pre-building the frame structure information includes:
[0014] Acquire structure index information and structure detailed information; the structure index information includes: injection structure identification number, substructure identification code and substructure name; the structure detailed information includes multiple fields; the attribute of the field includes field type; the field type includes data substructure and instruction code;
[0015] The frame structure information is generated according to the structure index information and the structure detailed information.
[0016] Furthermore, the parsing of the data source code by using the pre-built configuration information data dictionary of the injection data includes:
[0017] Using the data source code and the frame structure information to perform search and matching;
[0018] If the match is successful, a parsing result is generated based on the information obtained from the match; if the match fails, a verification result indicating a verification failure is returned.
[0019] Further, the verifying the injected data according to the preset input parameters and the parsing result includes:
[0020] Performing a validity check on the parsing result to obtain a first verification result;
[0021] Verifying whether the preset input parameters and the input parameters in the analysis result are consistent, and obtaining a second verification result;
[0022] A parsing and verification file is generated according to the parsing result, the first verification result and the second verification result.
[0023] In a second aspect, the present application provides a spacecraft injection data analysis and verification device, comprising:
[0024] A data acquisition unit, used to acquire a data source code of injected data; the injected data is generated according to preset input parameters;
[0025] A data parsing unit, used to parse the data source code using a pre-built configuration information data dictionary of the injected data to obtain a parsing result;
[0026] A data verification unit is used to verify the injected data according to the preset input parameters and the analysis result.
[0027] Furthermore, it also includes:
[0028] A first information acquisition unit, used to acquire attribute information of the injected data and pre-constructed frame structure information;
[0029] A data dictionary construction unit is used to construct the configuration information data dictionary according to the attribute information and the frame structure information.
[0030] Furthermore, it also includes:
[0031] The second information acquisition unit is used to acquire structure index information and structure detailed information; the structure index information includes: an injection structure identification number, a substructure identification code and a substructure name; the structure detailed information includes a plurality of fields; the attribute of the field includes a field type; the field type includes a data substructure and an instruction code;
[0032] A frame structure information construction unit is used to generate the frame structure information according to the structure index information and the structure detailed information.
[0033] Furthermore, the data parsing unit includes:
[0034] A data matching module, used for searching and matching using the data source code and the frame structure information;
[0035] The data analysis module is used to generate analysis results based on the information obtained from the match if the match is successful; if the match fails, the verification result of the verification failure is returned.
[0036] Furthermore, the data verification unit includes:
[0037] A first data verification module, used to perform a legality check on the parsing result to obtain a first verification result;
[0038] A second data verification module is used to verify whether the preset input parameters and the input parameters in the analysis result are consistent, and obtain a second verification result;
[0039] A parsing verification file generating module is used to generate a parsing verification file according to the parsing result, the first verification result and the second verification result.
[0040] In a third aspect, the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in any one of the above embodiments when executing the computer program.
[0041] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any of the above embodiments is implemented.
[0042] In a fifth aspect, the present application provides a computer program product, wherein the computer program product includes a computer program, and when the computer program is executed by a processor, the method described in any of the above embodiments is implemented.
[0043] The spacecraft injection data analysis and verification method and device provided in the present application obtain the data source code of the injection data; the injection data is generated according to preset input parameters; the data source code is analyzed using a pre-built configuration information data dictionary of the injection data to obtain a analysis result; the injection data is verified according to the preset input parameters and the analysis result, thereby effectively shielding the differences in injection formats of different spacecrafts and realizing standardized analysis and verification of remote control injection data. Among them, by obtaining the data source code of the injection data, offline data analysis and verification and online real-time analysis and verification of uplink injection data can be supported; by using a pre-built configuration information data dictionary of the injection data to analyze the data source code, the differences in injection formats of different spacecrafts can be effectively shielded, and the analysis and verification of injection formats of dual remote control systems and multiple models can be adapted. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0045] Figure 1 It is a flowchart of a method for analyzing and verifying spacecraft injection data provided by an embodiment of the present application;
[0046] Figure 2 It is a flowchart of a method for analyzing and verifying spacecraft injection data provided by an embodiment of the present application;
[0047] Figure 3 It is a flowchart of a method for analyzing and verifying spacecraft injection data provided by an embodiment of the present application;
[0048] Figure 4 It is a flowchart of a method for analyzing and verifying spacecraft injection data provided by an embodiment of the present application;
[0049] Figure 5 It is a flowchart of a method for analyzing and verifying spacecraft injection data provided by an embodiment of the present application;
[0050] Figure 6 It is a structural schematic diagram of a spacecraft injection data analysis and verification device provided by an embodiment of the present application;
[0051] Figure 7 It is a structural schematic diagram of a spacecraft injection data analysis and verification device provided by an embodiment of the present application;
[0052] Figure 8 It is a structural schematic diagram of a spacecraft injection data analysis and verification device provided by an embodiment of the present application;
[0053] Fig. 9 It is a structural schematic diagram of a spacecraft injection data analysis and verification device provided by an embodiment of the present application;
[0054] Fig.10 It is a structural schematic diagram of a spacecraft injection data analysis and verification device provided by an embodiment of the present application;
[0055] Fig.11 is a schematic diagram of the physical structure of an electronic device provided in one embodiment of the present application;
[0056] Fig.12 is a schematic diagram of an injection frame structure index tree provided by an embodiment of the present application;
[0057] Fig.13 It is a flowchart of parsing injection source code provided by an embodiment of the present application. DETAILED DESCRIPTION
[0058] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. Here, the illustrative embodiments of the present application and their descriptions are used to explain the present application, but are not intended to limit the present application. It should be noted that, in the absence of conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.
[0059] The following takes the server as an example of the execution entity to illustrate the specific implementation process of the spacecraft injection data parsing and verification method provided in the embodiment of the present application.
[0060] Figure 1 FIG. 1 is a flow chart of a method for analyzing and verifying spacecraft injection data provided by an embodiment of the present application. Figure 1As shown, the spacecraft injection data analysis and verification method provided by this application includes:
[0061] S101: Obtaining a data source code for injected data; the injected data is generated according to preset input parameters;
[0062] S102: parsing the data source code using a pre-built configuration information data dictionary of the injected data to obtain a parsing result;
[0063] S103: Verify the injected data according to the preset input parameters and the analysis results.
[0064] from Figure 1 As can be seen from the illustrated process, the spacecraft injection data parsing and verification method provided in the present application obtains the data source code of the injection data; the injection data is generated according to preset input parameters; the data source code is parsed using a pre-constructed configuration information data dictionary of the injection data to obtain a parsing result; the injection data is verified according to the preset input parameters and the parsing result, thereby effectively shielding the differences in injection formats of different spacecrafts and realizing standardized parsing and verification of remote control injection data.
[0065] Each step is explained in detail below.
[0066] S101: Obtaining a data source code for injected data; the injected data is generated according to preset input parameters;
[0067] Specifically, when the ground flight control personnel generates or uploads the injection data or before the input data provided by the external system is uploaded, the server obtains the data source code of the injection data to parse and verify it. Before the input data provided by the external system is uploaded, the server starts parsing and verifying by receiving a command sent manually.
[0068] S102: parsing the data source code using a pre-built configuration information data dictionary of the injected data to obtain a parsing result;
[0069] Specifically, the server uses the configuration information data dictionary of the injected data to match the data source code of the injected data to resolve the data source code of the injected data. The configuration information data dictionary of the injected data is pre-constructed and used to describe the configuration information of the injected data.
[0070] Figure 2 FIG. 1 is a flow chart of a method for analyzing and verifying spacecraft injection data provided by an embodiment of the present application. Figure 2 As shown, the steps of pre-building the configuration information data dictionary include:
[0071] S201: Acquire attribute information of the injected data and pre-built frame structure information;
[0072] Specifically, the server obtains the attribute information of the injected data input by the operator through the interactive device and the pre-constructed frame structure information to construct the configuration information data dictionary of the injected data, wherein the attribute information of the injected data includes the injected data code (symbol), the injected data name (name), the instruction code (code), the identification string (identifiers) and other information. The injected data code is unique, and different injected data codes may have the same instruction code or identification string, but when the instruction code and the identification string are the same, the injection code must be the same, so the injected data code (symbol) or (instruction code (code), identification string (identifiers)) tuple can be used as the primary key of the injected data attribute table in the database. The server obtains the attribute information of the injected data and the pre-constructed frame structure information of the injected data to construct the configuration information data dictionary of the injected data, wherein the (instruction code (code), identification string (identifiers)) tuple obtained using the frame structure information can correspond to the injected data code (symbol) and the injected data name (name) and other information in the attribute information.
[0073] Figure 3 FIG. 1 is a flow chart of a method for analyzing and verifying spacecraft injection data provided by an embodiment of the present application. Figure 3 As shown, the step of pre-building the frame structure information includes:
[0074] S301: Acquire structure index information and structure detailed information; the structure index information includes: injection structure identification number, substructure identification code and substructure name; the structure detailed information includes multiple fields; the attribute of the field includes field type; the field type includes data substructure and instruction code;
[0075] Specifically, the server obtains the structure index information and structure detailed information input by the operator through the interactive device to construct the frame structure information of the injected data. The components of the structure index information include: an injected structure identification number, a substructure identification code, and a substructure name. The structure detailed information corresponding to the structure index information includes multiple fields. Among them, the field type of the field can be a data substructure, pointing to the next level, so as to construct the injected data frame structure configuration information of the tree structure.
[0076] In one embodiment, each field in the structure detailed information is described by attributes such as field description, field type, length, data type, field value, byte order, number of repetitions, conversion formula, and default value:
[0077] Field description is used to describe the actual meaning of the field so that configuration binders can quickly understand the function of the field;
[0078] Field types are divided according to their functions, including: identification word, input parameter, fixed value, data field length, data substructure, instruction encoding, number of data fields, instruction code, padding code, checksum, injected data block, BCH code, frame sequence number, packet sequence number, random code, instruction data block, digital signature and proxy data block, etc.
[0079] The data type is used to describe the physical data type of the field source code. When parsing data, data conversion needs to be performed based on the data type, which mainly includes: unsigned integer, signed integer, floating point, time type and data block, etc.
[0080] The field value is used to constrain the legal value range of the field, so as to check the physical meaning of the field and verify the legality; the content of the field value is determined by the field type: when the field type is a fixed value, the field value is the corresponding fixed value; when the field type is a data substructure, the field value is the injection structure identification number of the next layer; when the field type is an input parameter, the field value is the parameter legal enumeration value or value range;
[0081] Byte order is used to describe the byte arrangement order of the field when it is stored, including little-endian byte order and big-endian byte order;
[0082] The number of repetitions is the number of times the field appears in the data;
[0083] The conversion formula is used to describe the dimensional conversion formula or complex calculation formula between source code value and physical value.
[0084] S302: Generate the frame structure information according to the structure index information and the structure detailed information.
[0085] Specifically, in order to construct a configuration information data dictionary for injection data to shield the influence of differences in remote control systems and remote control interfaces of different subsystems, the server pre-constructs frame structure information, which includes structure index information and corresponding structure detailed information.
[0086] S202: Construct the configuration information data dictionary according to the attribute information and the frame structure information.
[0087] Specifically, in order to shield the influence of the remote control system and the differences in remote control interfaces of different subsystems, the server pre-constructs a configuration information data dictionary of the injected data, and the configuration information data dictionary includes attribute information of the injected data and frame structure information of the injected data.
[0088] Figure 4 FIG. 1 is a flow chart of a method for analyzing and verifying spacecraft injection data provided by an embodiment of the present application. Figure 4 As shown, S102 includes:
[0089] S401: Search and match using the data source code and the frame structure information;
[0090] Specifically, the server searches and matches the nodes in the frame structure tree level by level based on the given data source code. First, the matching starts from the detailed information of the current node. If the source code does not completely correspond to the information of the current node, it continues to try to match the sibling nodes of the node. In this process, the tree structure is used to search layer by layer to ensure that all potential matching nodes are covered.
[0091] During the matching process, if a substructure of the data is encountered, the server temporarily records the current breakpoint position, and then enters the next level of the substructure to continue the matching operation. The above-mentioned layer-by-layer matching method allows the server to effectively process nested complex data structures. If the source code is successfully matched in a certain substructure level, the server backtracks to the breakpoint position of the previous level and continues to process the unfinished matching fields from this level until all levels and fields are processed, or backtracks to the root node of the frame structure tree.
[0092] S402: If the match is successful, generate a parsing result based on the information obtained from the match; if the match fails, return a verification result indicating a verification failure.
[0093] Specifically, during the matching process, the server not only needs to match the structure, but also needs to parse the source code of each field and extract the corresponding physical value. At the same time, the server records the identification code, instruction code (if the structure details contain the instruction code field), check code, input parameters and other information obtained by matching. After the traversal of the injection frame structure tree is completed and the match is successful, the server uses the identification code corresponding to each layer of the substructure recorded to construct a unique identification string, and combines the matching instruction code to check the configuration information data dictionary to obtain the code and name corresponding to the injection data. The final parsing result includes the identification string, instruction code, input parameters, check code, injection data code and injection data name, etc.
[0094] If the data source code of the injected data cannot match any node of the frame structure tree during the matching process, it is determined to be a verification failure, indicating that the injected source code does not meet the predetermined injection format requirements.
[0095] In one embodiment, based on the identification string and the instruction code, the server can find out the code and name corresponding to the injected data from the attribute information of the injected data, and further confirm the source and purpose of the injected data.
[0096] S103: Verify the injected data according to the preset input parameters and the analysis results.
[0097] Specifically, the server parses the data source code using the pre-built configuration information data dictionary of the injection data, and after obtaining the parsing result, verifies the parsed data source code of the injection data according to the preset input parameters when generating the injection data and the parsing result.
[0098] Figure 5 FIG. 1 is a flow chart of a method for analyzing and verifying spacecraft injection data provided by an embodiment of the present application. Figure 5 As shown, S103 includes:
[0099] S501: Performing a validity check on the parsing result to obtain a first verification result;
[0100] Specifically, after the server obtains the parsing result of the injected data, in order to ensure the integrity and legality of the data, the server performs a legality check on the fields in the parsing result according to preset rules to verify whether it complies with the specification and obtain a first verification result.
[0101] In one embodiment, the legality check includes field format check, value range check, instruction legality check and condition rule check, etc., such as verifying whether the check code in the parsing result is correct, verifying whether the input parameters in the parsing result exceed the predetermined value range or whether the data type of the input parameter complies with the rules.
[0102] S502: Verify whether the preset input parameters and the input parameters in the analysis result are consistent, and obtain a second verification result;
[0103] Specifically, the server will compare the input parameters automatically parsed from the data source code with the parameters manually input when the data was generated to obtain a second verification result. If illegal or inconsistent fields are found, the server will mark them in the output results and prompt manual verification, which can help the subsequent review process to efficiently locate the problem fields.
[0104] S503: Generate a parsing verification file according to the parsing result, the first verification result and the second verification result.
[0105] Specifically, if the injected source code is successfully matched but there are problems with the values of some fields, the server generates a parsing verification file based on the parsing results, the first verification results and the second verification results, and marks the verification information in the corresponding fields of the parsing verification file to facilitate further manual review and processing.
[0106] In one embodiment, the parsing verification file of the injected data is a human- and machine-readable XML format file, including information such as the name, code symbol, data source code and input parameters of the injected data, and supports customizing the information to be output when outputting the parsing verification file.
[0107] In one embodiment, the situation where there are problems with the values of certain fields includes that the checksum verification fails, the input parameter exceeds the predetermined value range, or the data type of the input parameter is illegal.
[0108] In one embodiment, after completing the parsing and verification of the injected data, the server also performs a human- and machine-readable online display through a display device.
[0109] In one embodiment, the injection source code to be parsed is: “7625F011EA…020122AA000000010000…6985H”.
[0110] The configuration information data dictionary of the injection data pre-built by the server is shown in Table 1-4. The configuration information data dictionary includes the attribute information and frame structure information of the injection data. The attribute information of the injection data is shown in Table 4, and the frame structure information of the injection data with a six-layer structure is shown in Table 1-3 (only part of the 1st, 2nd, and 6th layer injection frame structure information is shown). The corresponding injection frame structure index tree is as follows: Fig.12 As shown, the parsing process of the injected source code to be parsed is as follows Fig.13 shown.
[0111] Table 1
[0112]
[0113]
[0114] Table 2
[0115]
[0116] Table 3
[0117]
[0118] Table 4
[0119]
[0120] Start matching from the first layer of injected frame structure information. The first 24 bits of the injected data source code "7625F0H" successfully match the first and second fields in the detailed information of the F0H substructure in L1. Since the second field type is an identification word, the identification word of this layer is recorded as F0H and added to the injected data identification string. The third field is a data substructure. According to its field value, the L2 structure information needs to be found.
[0121] Match the detailed information of the substructure in the L2 index in sequence. The subsequent source code is 11H, and the first field of the detailed information of the 22H substructure in the L2 structure is 22H. The match fails, so exit the match of this substructure and continue to match the next substructure in this layer. The 11H substructure in the L2 index can completely match the injected source code information. Append the identification word 11H of this layer to the identification string of the injected data to obtain a new identification string "F0H 11H". Continue to search the lower-level frame structure information until the bottom-level frame structure (frame structure information tree leaf node) is parsed, and trace back to the root node level by level to complete this parsing. Finally, the injected data identification string is "F0H 11H 0004H 000001B1111H 0201H", and two input parameters are parsed at the same time: 22H and 000000010000H. The correction trend is 22H, and its physical meaning is found out through field value pairing: subtract the time difference from the current relative time, and the time difference is 1 second. Through the identification string and instruction code recorded during the parsing process (there is no instruction code field in this data), it can be found out from the attribute information of the injected data that the injected data code is S0001, and the injected data name is subsystem 1 time calibration. The two parsed input parameters are compared and verified for consistency with the parameters manually filled in when the data is generated, and finally the parsing verification xml file is input to complete this parsing verification.
[0122] The present application provides a method for parsing and verifying spacecraft injection data, which obtains the data source code of the injection data; the injection data is generated according to preset input parameters; the data source code is parsed using a pre-built configuration information data dictionary of the injection data to obtain a parsing result; the injection data is verified according to the preset input parameters and the parsing result, thereby effectively shielding the differences in injection formats of different spacecrafts and realizing standardized parsing and verification of remote control injection data. Among them, by obtaining the data source code of the injection data, offline data parsing and verification and online real-time parsing and verification of uplink injection data can be supported; by parsing the data source code using a pre-built configuration information data dictionary of the injection data, the differences in injection formats of different spacecrafts can be effectively shielded, and the parsing and verification of injection formats of dual remote control systems and multiple models can be adapted.
[0123] Based on the same inventive concept, the embodiments of the present application also provide a spacecraft injection data analysis and verification device, which can be used to implement the method described in the above embodiments, as described in the following embodiments. Since the principle of solving the problem by the spacecraft injection data analysis and verification device is similar to that of the spacecraft injection data analysis and verification method, the implementation of the spacecraft injection data analysis and verification device can refer to the implementation of the method based on software performance benchmark determination, and the repeated parts will not be repeated. As used below, the terms "unit" or "module" can be a combination of software and / or hardware that implements predetermined functions. Although the system described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0124] Figure 6 is a schematic diagram of the structure of a spacecraft injection data analysis and verification device provided by an embodiment of the present application, such as Figure 6 As shown, the device comprises:
[0125] A data acquisition unit 601 is used to acquire a data source code of injected data; the injected data is generated according to preset input parameters;
[0126] A data parsing unit 602 is used to parse the data source code using a pre-built configuration information data dictionary of the injected data to obtain a parsing result;
[0127] The data verification unit 603 is used to verify the injected data according to the preset input parameters and the analysis results.
[0128] Figure 7 is a schematic diagram of the structure of a spacecraft injection data analysis and verification device provided by an embodiment of the present application, Figure 6 Based on the embodiment, further, Figure 7 As shown, the spacecraft injection data analysis and verification device provided by the present application also includes:
[0129] The first information acquisition unit 701 is used to acquire the attribute information of the injected data and the pre-built frame structure information;
[0130] The data dictionary construction unit 702 is used to construct the configuration information data dictionary according to the attribute information and the frame structure information.
[0131] Figure 8 is a schematic diagram of the structure of a spacecraft injection data analysis and verification device provided by an embodiment of the present application, Figure 7 Based on the embodiment, further, Figure 8 As shown, the spacecraft injection data analysis and verification device provided by the present application also includes:
[0132] The second information acquisition unit 801 is used to acquire structure index information and structure detailed information; the structure index information includes: injection structure identification number, substructure identification code and substructure name; the structure detailed information includes multiple fields; the attribute of the field includes field type; the field type includes data substructure and instruction code;
[0133] The frame structure information constructing unit 802 is configured to generate the frame structure information according to the structure index information and the structure detailed information.
[0134] Fig. 9 is a schematic diagram of the structure of a spacecraft injection data analysis and verification device provided by an embodiment of the present application, Figure 7 Based on the embodiment, further, Fig. 9 As shown, the spacecraft injection data analysis and verification device provided by the present application also includes:
[0135] A data matching module 901 is used to perform search and matching using the data source code and the frame structure information;
[0136] The data analysis module 902 is used to generate an analysis result based on the information obtained from the match if the match is successful; if the match fails, return a verification result indicating verification failure.
[0137] Fig.10 is a schematic diagram of the structure of a spacecraft injection data analysis and verification device provided by an embodiment of the present application, Figure 6 Based on the embodiment, further, Fig.10 As shown, the spacecraft injection data analysis and verification device provided by the present application also includes:
[0138] The first data verification module 1001 is used to verify the legitimacy of the parsing result to obtain a first verification result;
[0139] The second data verification module 1002 is used to verify whether the preset input parameters and the input parameters in the analysis result are consistent, and obtain a second verification result;
[0140] The parsing verification file generating module 1003 is used to generate a parsing verification file according to the parsing result, the first verification result and the second verification result.
[0141] The present application provides a method for parsing and verifying spacecraft injection data, which obtains the data source code of the injection data; the injection data is generated according to preset input parameters; the data source code is parsed using a pre-built configuration information data dictionary of the injection data to obtain a parsing result; the injection data is verified according to the preset input parameters and the parsing result, thereby effectively shielding the differences in injection formats of different spacecrafts and realizing standardized parsing and verification of remote control injection data. Among them, by obtaining the data source code of the injection data, offline data parsing and verification and online real-time parsing and verification of uplink injection data can be supported; by parsing the data source code using a pre-built configuration information data dictionary of the injection data, the differences in injection formats of different spacecrafts can be effectively shielded, and the parsing and verification of injection formats of dual remote control systems and multiple models can be adapted.
[0142] Fig.11 is a schematic diagram of the physical structure of an electronic device provided in an embodiment of the present application, such as Fig.11 As shown, the electronic device may include: a processor 1101, a communication interface 1102, a memory 1103 and a communication bus 1104, wherein the processor 1101, the communication interface 1102 and the memory 1103 communicate with each other through the communication bus 1104. The processor 1101 may call the logic instructions in the memory 1103 to execute the following method: obtaining a data source code of injected data; the injected data is generated according to preset input parameters; the data source code is parsed using a pre-constructed configuration information data dictionary of the injected data to obtain a parsing result; and the injected data is verified according to the preset input parameters and the parsing result.
[0143] In addition, the logic instructions in the above-mentioned memory 1103 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.
[0144] The present embodiment discloses a computer program product, which includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the methods provided by the above-mentioned method embodiments, for example, including: obtaining a data source code for injection data; the injection data is generated according to preset input parameters; the data source code is parsed using a pre-constructed configuration information data dictionary of the injection data to obtain a parsing result; and the injection data is verified according to the preset input parameters and the parsing result.
[0145] The present embodiment provides a computer-readable storage medium, which stores a computer program. The computer program enables the computer to execute the methods provided by the above-mentioned method embodiments, for example, including: obtaining a data source code for injection data; the injection data is generated according to preset input parameters; the data source code is parsed using a pre-constructed configuration information data dictionary of the injection data to obtain a parsing result; and the injection data is verified according to the preset input parameters and the parsing result.
[0146] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0147] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0148] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0149] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0150] In the description of this specification, the description with reference to the terms "one embodiment", "a specific embodiment", "some embodiments", "for example", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0151] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present application. It should be understood that the above description is only a specific embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application.
Claims
1. A spacecraft injection data analysis and verification method, characterized in that: include: Get the data source code for injecting data; The injection data is generated according to preset input parameters; Parsing the data source code using a pre-built configuration information data dictionary of the injected data to obtain a parsing result; The injected data is verified according to the preset input parameters and the parsing result.
2. The spacecraft injection data analysis and verification method according to claim 1, characterized in that: The steps of pre-building the configuration information data dictionary include: Acquire attribute information of the injected data and pre-built frame structure information; The configuration information data dictionary is constructed according to the attribute information and the frame structure information.
3. The spacecraft injection data analysis and verification method according to claim 2, characterized in that: The step of pre-building the frame structure information includes: Acquire structure index information and structure detailed information; the structure index information includes: injection structure identification number, substructure identification code and substructure name; the structure detailed information includes multiple fields; the attribute of the field includes field type; the field type includes data substructure and instruction code; The frame structure information is generated according to the structure index information and the structure detailed information.
4. The spacecraft injection data analysis and verification method according to claim 2, characterized in that: The method of parsing the data source code by using a pre-built configuration information data dictionary of the injected data includes: Using the data source code and the frame structure information to perform search and matching; If the match is successful, a parsing result is generated based on the information obtained from the match; if the match fails, a verification result indicating a verification failure is returned.
5. The spacecraft injection data analysis and verification method according to claim 1, characterized in that: The verifying the injected data according to the preset input parameters and the parsing result includes: Performing a validity check on the parsing result to obtain a first verification result; Verifying whether the preset input parameters and the input parameters in the analysis result are consistent, and obtaining a second verification result; A parsing and verification file is generated according to the parsing result, the first verification result and the second verification result.
6. A spacecraft injection data analysis and verification device, characterized in that: include: A data acquisition unit, used to acquire a data source code of injected data; The injection data is generated according to preset input parameters; A data parsing unit, used to parse the data source code using a pre-built configuration information data dictionary of the injected data to obtain a parsing result; A data verification unit is used to verify the injected data according to the preset input parameters and the analysis result.
7. The spacecraft injection data analysis and verification device according to claim 6, characterized in that: Also includes: A first information acquisition unit, used to acquire attribute information of the injected data and pre-constructed frame structure information; A data dictionary construction unit is used to construct the configuration information data dictionary according to the attribute information and the frame structure information.
8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Data structure capable of freely designing dictionary grade and length and achieving method thereof
CN102622438A
All-digital satellite signal simulated source
CN102710316A
Injecting data decoupling method achieved in manner of leading in invalid state
CN102929278A
Multi-spacecraft injection plan automatic generation and control method and device
CN112650198A
Method and device for generating uplink control data of spacecraft
CN113761045A