Load test data parsing method supporting online upgrade of parsing rules

By cached the latest value and parsing status information of the load test data in the in-memory database, the problem that the load data analysis method in the existing technology needs to be restarted to take effect is solved, and the accurate and real-time analysis of the load test data is achieved, which improves the testing and Flight support level.

CN117395182BActive Publication Date: 2025-02-18BEIJING INST OF SPACECRAFT SYST ENG +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311375538.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-23
Publication Date
2025-02-18
Estimated Expiration
2043-10-23

AI Technical Summary

Technical Problem

During the existing comprehensive test of ground electrical performance of loads and in orbit flight, the load data analysis method requires restarting the background analysis system to take effect, resulting in errors in the analysis results, affecting the safety and normal operation of the test.

Method used

By cache the latest value of the load test data and parsing status information in the in-memory database, real-time adjustment of parsing formulas, related load data or parsing coefficients is achieved without restarting the background parsing system.

Benefits of technology

Implement online upgrades of analysis rules and analysis status, ensure accurate analysis of load test data, and improve the support level of comprehensive ground electrical performance testing and in-orbit flight.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117395182B_ABST
    Figure CN117395182B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of comprehensive testing of load electrical properties, and in particular to a load test data parsing method that supports online upgrade of parsing rules. When parsing the load test data, the current parsing state of the load test data is first determined, and then combined with the relevant load data value and the parsing coefficient value, the parsing result of the load test data is calculated by the parsing formula. When the parsing formula, relevant load data or parsing coefficient of the load test data is adjusted, the updated value is stored in the database, and an adjustment message is sent to the background parsing system; after receiving the adjustment message, the background parsing system reloads the new parsing formula, relevant load data value and parsing coefficient value. The adjustment of the parsing state of the load data and the loading of the parsing formula, relevant load data or parsing coefficient can take effect in real time without causing confusion in the parsing process of the load data, so there is no need to restart the background parsing system, thereby avoiding interference with the comprehensive test of ground electrical properties and on-orbit flight monitoring.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of comprehensive testing of load electrical performance, and in particular to a load test data parsing method supporting online upgrade parsing rules. Background Art

[0002] During the comprehensive electrical performance test of various payloads on the ground and during the on-orbit flight, a large amount of payload data will be downloaded. Correct analysis of these payload data is the basic condition to ensure the safety of payload testing and normal operation on orbit. During the comprehensive electrical performance test phase, the relevant technical status may change; and during the on-orbit flight, the temperature and humidity environment may also change. This leads to the possibility of adjusting the analysis method of the downlinked payload data, including the adjustment of the analysis formula, the adjustment of the relevant payload data, and the adjustment of the analysis coefficient, whether during the comprehensive electrical performance test phase of the payload on the ground or during the on-orbit flight.

[0003] At present, a script-based load data analysis method is used in both the comprehensive test of the electrical performance of the payload on the ground and the on-orbit flight process. This analysis method brings the load data value and analysis coefficient related to the load test data into the analysis formula script, and then calculates the value of the load test data. This method is powerful, but after adjusting the analysis formula, the relevant load data or the analysis coefficient, it is necessary to restart the background analysis system to take effect. Otherwise, the analysis status information of the load test data will be lost, resulting in erroneous analysis results, which greatly interferes with the comprehensive test of the electrical performance on the ground and on-orbit flight monitoring.

[0004] In order to further improve the comprehensive test of the ground electrical performance of the payload and the level of on-orbit support, and enhance the parsing capability of downlink payload data, it is necessary to propose a payload test data parsing method that supports online upgrade of parsing rules. Summary of the invention

[0005] In view of the above problems, the purpose of the present invention is to provide a load test data parsing method that supports online upgrade of parsing rules. By caching the latest values ​​of load test data and parsing status information in a memory database and making rational use of this information, the parsing formula adjustment, related load data adjustment or parsing coefficient adjustment can take effect in real time without restarting the background parsing system to reset the related load data values ​​and parsing status information.

[0006] The load test data parsing method supporting online upgrade parsing rules provided by the present invention includes the following two stages:

[0007] Parsing rules adjustment phase:

[0008] When adjusting the analytical formula, relevant load data or analytical coefficient, the adjusted analytical formula, relevant load data or analytical coefficient is written into the database, and an analytical rule adjustment message is sent to the background analytical system;

[0009] When adjusting the parsing status of the load test data, the adjusted parsing status value is updated to the memory database, and a parsing status adjustment message is sent to the background parsing system;

[0010] Data parsing stage:

[0011] The background analysis system determines the current analysis status information of the load test data according to whether the analysis status adjustment message is received, and the background analysis system determines the current analysis formula, relevant load data and analysis coefficient according to whether the analysis rule adjustment message is received, and obtains the value of the relevant load data from the memory database;

[0012] The current analysis status information, current relevant load data values ​​and analysis coefficient values ​​are brought into the current analysis formula to analyze the load test data.

[0013] Preferably, in the data analysis stage, when the background analysis system receives an analysis rule adjustment message, it loads the adjusted analysis formula, relevant load data or analysis coefficient, and loads the latest data value of the relevant load data from the database.

[0014] Preferably, in the data parsing stage, when the background parsing system receives a parsing status adjustment message, the adjusted parsing status information is obtained from the memory database.

[0015] Preferably, in the parsing rule adjustment stage, the adjusted parsing state value is cached in a Hash table of the Redis database.

[0016] Compared with the prior art, the present invention can achieve the following beneficial effects:

[0017] 1. When the user adjusts the parsing rules, the background parsing system can be automatically notified. The background parsing system can parse the load test data based on the new parsing rules and load the relevant load data values ​​and parsing status information in the memory database while maintaining the previous parsing status;

[0018] 2. Support caching of updated parsing status. When the user adjusts the parsing status, the background parsing system can be automatically notified. The background parsing system will parse the load test data after loading the new parsing status information from the memory database. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1It is a flowchart of a load test data parsing method supporting online upgrade parsing rules provided according to an embodiment of the present invention.

[0020] Figure 2 It is a flowchart of a load test data parsing method supporting online upgrade parsing rules provided according to a specific embodiment of the present invention. DETAILED DESCRIPTION

[0021] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the following description, the same modules are represented by the same reference numerals. In the case of the same reference numerals, their names and functions are also the same. Therefore, the detailed description thereof will not be repeated.

[0022] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and do not constitute a limitation of the present invention.

[0023] Figure 1 The flowchart of the load test data parsing method supporting online upgrade parsing rules provided according to an embodiment of the present invention is shown.

[0024] like Figure 1 As shown, when analyzing the load test data, the current analysis status information of the load test data is first determined, and then the relevant load data value and the analysis coefficient value are combined and brought into the analysis formula to obtain the analysis result of the load test data.

[0025] When parsing the load test data, the updated value of the parsing status information is cached in real time to the memory database after each parsing process, so that the background parsing system can be reloaded when needed.

[0026] The analysis state information is a set of variables when analyzing each load test data. The analysis of the load test data only depends on the relevant load data values, the analysis coefficient values ​​and the values ​​of this set of variables. That is, after considering the analysis state information, the analysis process of the load test data conforms to the Markov property.

[0027] When the user adjusts the analysis formula, related load data or analysis coefficient of the load test data and successfully writes them into the database, the program responsible for writing into the database sends an analysis rule adjustment message to the background analysis system; when the background analysis system receives the analysis rule adjustment message, it reloads the new analysis formula, related load data value and analysis coefficient, and reloads the cached value of the analysis status information of the load test data from the memory database, so that the restored analysis status, new related load data value and analysis coefficient are brought into the new analysis formula to carry out the analysis of the load test data at the next analysis.

[0028] When the user adjusts the parsing status of the load test data, the new parsing status value information is cached in the memory database, and a parsing status adjustment message is sent to the background parsing system; when the background parsing system receives the parsing status adjustment message, during the next parsing, the new parsing status value information, relevant load data values ​​and parsing coefficient values ​​are brought into the parsing formula to carry out the parsing of the load test data.

[0029] The adjustment operations of the analytical state and the adjustment operations of the analytical formula, related load data or analytical coefficients are independent and can be carried out in parallel or in series.

[0030] Figure 2 The flowchart of the load test data parsing method supporting online upgrade parsing rules provided according to a specific embodiment of the present invention is shown.

[0031] like Figure 2 As shown, the parsed state information of the load test data Z001 is composed of two related variables, the related variable V1 represents the master-slave mode, and the related variable V2 represents the power on / off state. These two related variables change according to the four related load data X001, X002, X003 and X004: specifically, V1 is 1 when and only when the values ​​of X001 and X002 are both greater than 5.0, otherwise V1 is 0; V2 is 1 when and only when the values ​​of X003 and X004 are both greater than 1.0, otherwise V2 is 0; and when V1 and V2 are both 1, the value of Z001 is the inverse value corresponding to the received source code multiplied by 0.25, otherwise the value of Z001 is the inverse value corresponding to the received source code multiplied by 0.1. Figure 2 The memory database in the system uses the Redis database.

[0032] When parsing the load test data Z001, whenever the load data source code is received, the relevant load data X001, X002, X003 and X004 are first parsed, and the values, analytical coefficient values ​​and analytical formulas of the relevant load data X001, X002, X003 and X004 are loaded, and then the values ​​of the relevant variables V1 and V2 of the load test data Z001 are obtained from the memory database in the Hash table of the Redis database, and the values ​​of the relevant variables V1 and V2 of the load test data Z001 and the latest values ​​and analytical coefficient values ​​of the relevant load data X001, X002, X003 and X004 are brought into the analytical formula for calculation, and finally the analytical result of the load test data Z001 is obtained and published; if the values ​​of the relevant variables V1 and V2 of the load test data Z001 change during the parsing process, the changed values ​​are updated to the Hash table of the Redis database; if the analytical result of the load data changes, the changed load data value is also updated to the Hash table of the Redis database.

[0033] When the user adjusts the analytical formula, related load data or analytical coefficient of the load test data Z001 in the user interface, when saving, the user interface saves the information to the database and then sends an analytical rule adjustment message to the analytical program of the background analytical system.

[0034] When the user adjusts the values ​​of the relevant variables V1 and V2 in the parsing state of the load test data Z001 to a certain value in the user interface, a parsing state adjustment message is sent to the parsing program of the background parsing system.

[0035] If the parsing program receives a parsing rule adjustment message for the load test data Z001, it loads the updated parsing formula, relevant load data value and parsing coefficient value, obtains the values ​​of the relevant variables V1 and V2 of the load test data Z001 from the in-memory database in the Hash table of the Redis database, and obtains the latest value of the relevant load data from the Hash table of the Redis database.

[0036] If the parsing program receives a parsing status adjustment message of the load test data Z001, the values ​​of the related variables V1 and V2 are updated during the parsing process of the load test data Z001, and are cached in the memory database in the Hash table updated to the Redis database.

[0037] It should be noted that during the process of adjusting the parsing rules and the process of adjusting the parsing status, the payload data source code is not received, and the payload data parsing result is not published.

[0038] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the disclosure of the present invention can be performed in parallel, sequentially or in different orders, as long as the desired results of the technical solution disclosed in the present invention can be achieved, and this document does not limit this.

[0039] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

[0040] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the disclosure of the present invention can be performed in parallel, sequentially or in different orders, as long as the desired results of the technical solution disclosed in the present invention can be achieved, and this document does not limit this.

[0041] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A load test data parsing method supporting online upgrade parsing rules, used for parsing load test data during ground electrical performance comprehensive test of load and on-orbit flight; characterized in that: It includes the following two stages: Parsing rules adjustment phase: When adjusting the analytical formula, relevant load data or analytical coefficient, the adjusted analytical formula, relevant load data or analytical coefficient is written into the memory database, and a analytical rule adjustment message is sent to the background analytical system; When adjusting the parsing status of the load test data, the adjusted parsing status value is updated to the memory database, and a parsing status adjustment message is sent to the background parsing system; Data parsing stage: The background analysis system determines the current analysis state value of the load test data according to whether the analysis state adjustment message is received, and the background analysis system determines the current analysis formula, relevant load data and analysis coefficient according to whether the analysis rule adjustment message is received, and obtains the value of the relevant load data from the memory database; The current analytical state value, the current relevant load data value and the analytical coefficient value are brought into the current analytical formula to analyze the load test data.

2. The load test data parsing method supporting online upgrade parsing rules according to claim 1, characterized in that: In the data analysis phase, when the background analysis system receives an analysis rule adjustment message, it loads the adjusted analysis formula, related load data or analysis coefficient, and loads the latest data value of the related load data from the memory database.

3. The load test data parsing method supporting online upgrade parsing rules according to claim 1, characterized in that: During the data parsing phase, when the background parsing system receives a parsing status adjustment message, it obtains the adjusted parsing status value from the memory database.

4. The load test data parsing method supporting online upgrade parsing rules according to claim 1, characterized in that: During the parsing rule adjustment phase, the adjusted parsing status value is cached in the Hash table of the Redis database.

Citation Information

Patent Citations

  • Satellite telemetry data reduction processing method

    CN101713823A

  • Rule-based satellite telemetry data analysis system

    CN107766448A