CN113254107B - Telemetering data resolving method and device, electronic equipment and computer storage medium - Google Patents

Telemetering data resolving method and device, electronic equipment and computer storage medium Download PDF

Info

Publication number
CN113254107B
CN113254107B CN202110699764.4A CN202110699764A CN113254107B CN 113254107 B CN113254107 B CN 113254107B CN 202110699764 A CN202110699764 A CN 202110699764A CN 113254107 B CN113254107 B CN 113254107B
Authority
CN
China
Prior art keywords
resolving
data
parameter
description information
candidate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110699764.4A
Other languages
Chinese (zh)
Other versions
CN113254107A (en
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Xinghe Power Space Technology Co ltd
Beijing Xinghe Power Equipment Technology Co Ltd
Galactic Energy Beijing Space Technology Co Ltd
Original Assignee
Sichuan Xinghe Power Space Technology Co ltd
Beijing Xinghe Power Equipment Technology Co Ltd
Galactic Energy Beijing Space Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Xinghe Power Space Technology Co ltd, Beijing Xinghe Power Equipment Technology Co Ltd, Galactic Energy Beijing Space Technology Co Ltd filed Critical Sichuan Xinghe Power Space Technology Co ltd
Priority to CN202110699764.4A priority Critical patent/CN113254107B/en
Publication of CN113254107A publication Critical patent/CN113254107A/en
Application granted granted Critical
Publication of CN113254107B publication Critical patent/CN113254107B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The embodiment of the application provides a telemetering data resolving method and device, electronic equipment and a computer storage medium, and relates to the field of carrier rocket data processing. The method comprises the following steps: when telemetry data of the rocket is acquired, acquiring corresponding first resolving description information based on a first parameter code in the telemetry data; verifying a first resolving formula in the first resolving description information and first parameter data in the telemetering data; when the first calculation formula and the first parameter data are checked to pass, calculating the first parameter data by adopting the first calculation formula to obtain a first calculation result; and when the first calculation description information comprises the standard data comparison table, performing interpolation processing on the first calculation result based on the standard data comparison table to obtain a second calculation result. According to the embodiment of the application, the configuration efficiency, the error checking efficiency, the development efficiency and the stability in the resolving process are improved, and the reusability and the reliability are higher.

Description

Telemetering data resolving method and device, electronic equipment and computer storage medium
Technical Field
The application relates to the technical field of launch vehicle data processing, in particular to a method and a device for resolving telemetering data, electronic equipment and a computer-readable storage medium.
Background
The telemetering data of the carrier rocket is an important data source in the process of integrated test, combined test and rocket launching test in the rocket development stage, and the telemetering data is timely and accurately resolved, so that the telemetering data is an important basis for the testers to interpret rocket parameters and evaluate states.
Because the air-ground data link bandwidth of the carrier rocket is limited and the requirements such as confidentiality and the like are considered, parameter data collected on the rocket is often subjected to framing processing in the telemetry data transmission process, the framing format can intensively consider the requirements such as data importance, redundancy design, sampling frequency and the like, after the ground telemetry receiving equipment receives the carrier rocket telemetry data, telemetry signals are restored into frame format data through processing such as demodulation and frame synchronization, then the telemetry parameters are resolved according to the frame format definition, and the physical values of the parameters are obtained by substituting the calculation into a formula according to the characteristics and specific model information in the resolving process and are used as the interpretation basis of testers.
In the process of development, test and launching of a carrier rocket, the process is automatically realized by writing a software program, but the frame format, the sensor arrangement, the sensor model and the like can be adjusted at any time along with the development and test of the rocket, and more particularly, a part of sensors can determine a related calculation formula and a calibration value after actual goods arrive, so the software program corresponding to the calculation process usually needs to be continuously modified, and the following defects are caused:
1) the program is required to be modified in each adjustment of the framing format, the sensor arrangement, the sensor model and the like, and the next test can be carried out only through links of compiling, deploying, debugging, testing and the like after the program is modified, so that the process is complex, the management difficulty of codes and software products is improved, and the efficiency is low;
2) frequent program updating is easy to introduce program defects, and the reliability of software is difficult to ensure;
3) rocket testers need to have deeper understanding on software programs related to test launch control and have more solid programming experience to update the programs, and the requirements on the computer related professional ability of the testers are high.
Disclosure of Invention
The application provides a method and a device for resolving telemetering data, electronic equipment and a computer readable storage medium, and can solve the problems that when a software program resolves the telemetering data, the efficiency is low, the reliability is difficult to guarantee, and the requirement on professional ability of a tester is high. The technical scheme is as follows:
according to one aspect of the present application, there is provided a method of telemetry data resolution, the method comprising:
when telemetry data of a rocket are acquired, acquiring corresponding first resolving description information based on a first parameter code in the telemetry data;
verifying a first resolving formula in the first resolving description information and first parameter data in the telemetry data;
when the first calculation formula and the first parameter data are checked to pass, calculating the first parameter data by adopting the first calculation formula to obtain a first calculation result;
and when the first calculation description information comprises a standard data comparison table, performing interpolation processing on the first calculation result based on the standard data comparison table to obtain a second calculation result.
In one or more embodiments, prior to receiving telemetry data for the rocket, further comprising:
acquiring preset at least one candidate resolving description information;
verifying the at least one candidate resolving description information to obtain at least one second resolving description information passing the verification;
and generating a resolving description information base by taking the second parameter code of each second resolving description information as a keyword, and storing the at least one second resolving description information to the resolving description information base.
In one or more embodiments, the obtaining corresponding first solution description information based on the first parameter code in the telemetry data includes:
matching the first parameter codes in the telemetering data with each second parameter code in a resolving description information base;
and if the matched target second parameter code exists, using second resolving description information containing the target second parameter code as the first resolving description information.
In one or more embodiments, any candidate solution description information includes a candidate parameter code, a candidate solution formula, a candidate standard data look-up table, and a candidate return type;
the checking the at least one candidate solution description information includes at least one of:
detecting whether the candidate parameter code is correct;
detecting whether the candidate resolving formula is legal or not;
detecting whether the candidate standard data comparison table exists or not and whether specified column information exists in the candidate standard data comparison table or not;
detecting whether the return type is correct.
In one or more embodiments, further comprising:
and when detecting that the at least two second parameter codes are the same, generating alarm information.
In one or more embodiments, the verifying the first solution formula in the first solution description information and the first parameter data in the telemetry data includes:
detecting whether the first resolving formula is legal or not;
detecting whether the number of bytes of the first parameter data exceeds the number of formal parameters in the first solution formula.
In one or more embodiments, the calculating the first parameter data by using the first calculation formula to obtain a first calculation result includes:
filling the first parameter data into each form parameter in the first resolving formula to obtain each actual parameter;
resolving each actual parameter by adopting the first resolving formula to obtain a resolving result;
and converting the resolving result based on the first return type in the first resolving description information to obtain a first resolving result.
In one or more embodiments, the interpolating the first solution result based on the standard data look-up table to obtain a second solution result includes:
acquiring a candidate standard value and a candidate comparison value which are adjacent to the first calculation result in the standard data comparison table;
and carrying out interpolation calculation on the candidate standard value based on the candidate comparison value and the first calculation result to obtain a second calculation result.
According to another aspect of the present application, there is provided a telemetry data resolving apparatus comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring corresponding first resolving description information based on a first parameter code in telemetry data when the telemetry data of a rocket is acquired;
the first checking module is used for checking a first resolving formula in the first resolving description information and first parameter data in the telemetering data;
the calculation module is used for calculating the first parameter data by adopting the first calculation formula to obtain a first calculation result when the first calculation formula and the first parameter data are both checked to pass;
and the operation module is used for carrying out interpolation processing on the first calculation result based on the standard data comparison table to obtain a second calculation result when the first calculation description information comprises the standard data comparison table.
In one or more embodiments, further comprising:
the second acquisition module is used for acquiring preset at least one candidate resolving description information;
the second checking module is used for checking the at least one candidate resolving description information to obtain at least one second resolving description information which passes the checking;
the first generating module is used for generating a resolving description information base by taking a second parameter code of each second resolving description information as a keyword, and storing the at least one second resolving description information to the resolving description information base.
In one or more embodiments, the first obtaining module comprises:
the matching submodule is used for matching the first parameter codes in the telemetering data with each second parameter code in a resolving description information base;
and the determining submodule is used for taking second resolving description information containing the target second parameter code as the first resolving description information if the matched target second parameter code exists.
In one or more embodiments, any candidate solution description information includes a candidate parameter code, a candidate solution formula, a candidate standard data look-up table, and a candidate return type;
the second check module is specifically configured to:
detecting whether the candidate parameter code is correct;
detecting whether the candidate resolving formula is legal or not;
detecting whether the candidate standard data comparison table exists or not and whether specified column information exists in the candidate standard data comparison table or not;
detecting whether the return type is correct.
In one or more embodiments, further comprising:
and the second generating module is used for generating alarm information when detecting that the at least two second parameter codes are the same.
In one or more embodiments, the first verification module comprises:
a calculation formula detection submodule for detecting whether the first calculation formula is legal;
a byte number detection submodule for detecting whether the byte number of the first parameter data exceeds the form parameter number in the first calculation formula.
In one or more embodiments, the resolving module comprises:
the filling submodule is used for filling the first parameter data into each form parameter in the first resolving formula to obtain each actual parameter;
the resolving submodule is used for resolving each actual parameter by adopting the first resolving formula to obtain a resolving result;
and the conversion submodule is used for converting the resolving result based on the first return type in the first resolving description information to obtain a first resolving result.
In one or more embodiments, the operation module includes:
the data acquisition submodule is used for acquiring a candidate standard value and a candidate comparison value which are adjacent to the first calculation result in the standard data comparison table;
and the interpolation calculation submodule is used for carrying out interpolation calculation on the candidate standard value based on the candidate comparison value and the first calculation result to obtain a second calculation result.
According to another aspect of the present application, there is provided an electronic device including:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: operations corresponding to a method of performing the resolution of telemetry data as illustrated in the first aspect of the present application.
According to a further aspect of the present application, there is provided a computer readable storage medium having stored thereon at least one instruction, at least one program, set of codes or set of instructions, which is loaded and executed by the processor to implement the method of telemetry data resolution as set forth in the first aspect of the present application.
The beneficial effect that technical scheme that this application provided brought is:
when telemetry data of a rocket is acquired, acquiring corresponding first resolving description information based on a first parameter code in the telemetry data, then checking a first resolving formula in the first resolving description information and the first parameter data in the telemetry data, when the first resolving formula and the first parameter data are both checked to be passed, resolving the first parameter data by using the first resolving formula to obtain a first resolving result, and when the first resolving description information comprises a standard data comparison table, performing interpolation processing on the first resolving result based on the standard data comparison table to obtain a second resolving result. Through the mode, the embodiment of the invention abstracts the resolving process of the telemetering data of the carrier rocket, realizes the uniform description of the resolving process through the resolving formula and the standard data comparison table, and enables a tester to complete various configurations of the resolving process through descriptive words instead of program codes. Meanwhile, due to the fact that descriptive characters are visual and easy to understand, testers without program code bases can also quickly master the configuration method, and configuration efficiency of the calculation process is greatly improved. Moreover, the descriptive characters which are intuitive and easy to understand are adopted, so that the difficulty of error checking is greatly reduced when the configuration is checked, and the error checking efficiency is improved.
Furthermore, because the compiling of the program code usually needs to be completed by cooperation of a plurality of persons, and then links such as program modification, compiling, deployment, testing and the like are performed, the development period of the program is longer, moreover, the probability of introducing errors is increased by a plurality of iterations, and the stability is poorer. The embodiment of the invention only needs to compile a set of resolving description information, and testers configure according to the resolving description information, so that links such as program modification, compiling, deployment, testing and the like are avoided, the development period is greatly shortened, the development efficiency is improved, multiple iterations are avoided, and the stability is greatly improved.
Furthermore, for different models of equipment, each descriptive text in the resolving description information is modified, and compared with a mode of upgrading a program through a software package, the method is higher in reusability and higher in reliability.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below.
FIG. 1 is a schematic diagram of telemetry data provided by an embodiment of the present application;
FIG. 2 is a schematic diagram of an application environment for performing a telemetry data solution method according to an embodiment of the present disclosure;
FIG. 3 is a first flowchart illustrating a method for resolving telemetry data according to an embodiment of the present disclosure;
FIG. 4 is a second flowchart illustrating a method for resolving telemetry data according to an embodiment of the present disclosure;
FIG. 5 is a logic diagram illustrating a telemetry data resolution method according to an embodiment of the present disclosure;
FIG. 6 is a schematic structural diagram of a telemetry data resolver according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an electronic device for telemetry data calculation according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The terms referred to in this application will first be introduced and explained:
telemetry data: including data segments and code segments, as shown in fig. 1. And (3) data segment: after receiving the telemetering signal of the carrier rocket, the telemetering equipment restores the telemetering signal into a telemetering frame after demodulation and frame synchronization processing, and then acquires parameter data corresponding to each parameter from the telemetering frame, wherein the parameter data are stored in a data section. A code segment: a telemetry data corresponds to a parameter, and a parameter code for the parameter is stored in the code segment.
Resolving description information: the method is used for describing the corresponding relation between the parameter codes and the parameters and the parameter resolving method, and comprises the information of the parameter codes, the parameter names, the resolving formulas, the return types, the standard data comparison tables and the like.
The parameter code may include:
1) consists of letters, numbers and underlines;
2) the method has global uniqueness and is used for identifying the corresponding relation between the parameter data and the parameters.
The parameter names may include:
1) the physical meaning of the parameter corresponding to the parameter data is described;
2) is composed of Chinese and English letters, numbers, brackets, special characters and the like;
3) the global uniqueness is ensured as much as possible, and the data interpretation and analysis are facilitated.
The solving formula may include:
1) adopting a C-like language grammar, and consisting of form parameters, actual parameters, byte splicing functions, operators, brackets and other elements;
2) the form parameter is all bytes contained in the parameter, and at most 8 bytes can be contained;
3) the form parameters of the bytes from low order to high order can be represented by X1, X2, X3, X4, X5, X6, X7, and X8, respectively, for example, in the telemetry data format shown in fig. 1, the data segment includes 8 form parameters (at this time, parameter data is not filled in) from X1 to X8;
4) the actual parameters are parameters obtained by filling the form parameters with parameter data, for example, filling the parameter data with the form parameters in fig. 1, so as to obtain the actual parameters;
5) constant parameters, which can be hexadecimal numbers or decimal real numbers, are expressed by regular expressions in the format of hexadecimal numbers: "0 x [0-9a-fA-F ] {1,16 }", decimal real number can be integer or floating point number;
6) the byte splicing function is mainly used for splicing bytes into a behavior of a basic data type memory defined by a section of C language, and the splicing target data type and the corresponding function which can be realized comprise:
(1) character type (1 byte): btoc (X1);
(2) short shaping (2 bytes): btos (X2, X1);
(3) shaping (4 bytes): btoi (X4, X3, X2, X1);
(4) floating point (4 bytes): btof (X4, X3, X2, X1);
(5) double precision floating point type (8 bytes): btod (X8, X7, X6, X5, X4, X3, X2, X1);
(6) long shaping (8 bytes): btol (X8, X7, X6, X5, X4, X3, X2, X1).
7) The parameters of the byte splicing function are formal parameters, and comma (",") intervals are used between the formal parameters, such as "btos (X2, X1)";
8) the operator comprises an arithmetic operator, a bit operator and a Boolean operator;
(1) the arithmetic operators include: adding, subtracting, multiplying and dividing, the sign is: "+", "-", "+", "/";
(2) the bit operations include: and, or, the notation is: "&", "|";
(3) the Boolean operation includes: and, or, greater than, less than, equal to, the notation is: "& &", "|", ">", "<", "= =";
9) the solution formula may include parentheses with the symbols: "()";
10) when parentheses exist in the solution formula, the operation in the parentheses will be performed preferentially.
For example, the resolution description information may be as follows:
<xml version="1.0" encoding="utf-8">
<ParamInfo>
< paramcode = "Command" name = "Command word" format = "X2 = + X1" resultType = "unidimensional short"/>)
< Param code = "Count" name = "message sequence code" format = "X1" resultType = "unidimensional char"/>)
< Param code = "xfkwxfl1" name = "Star-arrow separation 1 state" formula = "1- (X1&1)" resultType = "unidimed char"/>)
< Param code = "xfkwxfl 2" name = "star and arrow separation 2 state" formula = "1- (X1&2)/2" resultType = "unidimed short"/>)
< Param code = "kCalcx" name = "inertial transmission system position X (m)" = "frontoi (X1, X2, X3, X4) × 0.01" resultType = "double"/> ", and
< Param code = "kCalcy" name = "inertial transmission system position y (m)" = "formula =" btoi (X1, X2, X3, X4) × 0.01 "resultType =" double "/>
< Param code = "kCalcz" name = "inertial emission system position z (m)" = "formula =" btoi (X1, X2, X3, X4) × 0.01 "resultType =" double "/>"
< paramode = "dT1fpw" name = "primary engine nozzle outer wall temperature (° C)", "config =" Wdca. csv:1 "formula =" (X1/51-0.35)/0.1023 "resultType =" float "/>, and
< paramode = "dT1fhw" name = "primary engine throat exterior wall temperature (° c)", "config =" wdca. csv:2 "formula =" (X1/51-0.25)/0.2011 "resultType =" float "/>, and
</ParamInfo>
the code attribute is a parameter code, the name attribute is a parameter name, the formula attribute is a resolving formula, the config attribute is a standard data comparison table, the attribute is an optional attribute, and the resultType attribute is a return type.
The resolution description information may be in an XML (Extensible Markup Language) format. Due to the adoption of the XML format, when special characters of XML such as "&", ">", "<" and the like exist in the resolving description information, the meaning characters need to be used for description, for example, the meaning characters corresponding to "&", ">", "<" are "&", ">", "<", and the XML language specification can be referred to when other special characters of XML definition exist. Applied to the embodiment of the present invention, the bit operator "&" exists in the descriptions of the "satellite and arrow separation 1 state" and the "satellite and arrow separation 1 state", and therefore, the bit operator "&" is replaced with the "&" representation.
It should be noted that the resolving description information may adopt other formats besides the XML format, and may be set according to actual requirements in actual applications, which is not limited in this embodiment of the present invention.
The standard data lookup table may include:
1) is optional descriptive information. If the resolving description information does not contain the description information, returning the telemetering data to the resolving result after resolving, otherwise, continuously carrying out interpolation according to the standard data comparison table to obtain a final resolving result;
2) describing through a two-dimensional data table form, and storing in a computer in a file form;
3) can contain multi-column comparison value, the 1 st column is data standard value, the 2 nd to Nth columns are comparison value;
4) the resolving description information needs to contain the file name of the standard data comparison table and the column number of the comparison value.
For example, the standard data comparison table of temperature values is shown in table 1:
Figure 426185DEST_PATH_IMAGE001
TABLE 1
Wherein, the temperature value is listed as a data standard value, and the 1 to 6 are listed as comparison values. The number in the config attribute is the number of the comparison value of the target column, for example, "wdca. csv:1" is the comparison value of column number 1 in table 1 (column 2 in table 1), and "wdca. csv:2" is the comparison value of column number 2 in table 1 (column 3 in table 1).
The return types may include:
1) the return type is used for describing the value type of the resolving result after resolving is completed;
2) the value types and their description are:
(1) character type (char);
(2) unsigned char;
(3) short shaping (short);
(4) unsigned short shaping;
(5) shaping (int);
(6) unsigned int;
(7) floating point (float);
(8) double precision floating point (double);
(9) long shaping (long long);
(10) unsigned long shaping.
The telemetering data of the carrier rocket is an important data source in the process of integrated test, combined test and rocket launching test in the rocket development stage, and the telemetering data is timely and accurately resolved, so that the telemetering data is an important basis for the testers to interpret rocket parameters and evaluate states.
Because the air-ground data link bandwidth of the carrier rocket is limited and the requirements such as confidentiality and the like are considered, parameter data collected on the rocket is often subjected to framing processing in the telemetry data transmission process, the framing format can intensively consider the requirements such as data importance, redundancy design, sampling frequency and the like, after the ground telemetry receiving equipment receives the carrier rocket telemetry data, telemetry signals are restored into frame format data through processing such as demodulation and frame synchronization, then the telemetry parameters are resolved according to the frame format definition, and the physical values of the parameters are obtained by substituting the calculation into a formula according to the characteristics and specific model information in the resolving process and are used as the interpretation basis of testers.
In the process of development, test and launching of a carrier rocket, the process is automatically realized by writing a software program, but the frame format, the sensor arrangement, the sensor model and the like can be adjusted at any time along with the development and test of the rocket, and more particularly, a part of sensors can determine a related calculation formula and a calibration value after actual goods arrive, so the software program corresponding to the calculation process usually needs to be continuously modified, and the following defects are caused:
1) the program is required to be modified in each adjustment of the framing format, the sensor arrangement, the sensor model and the like, and the next test can be carried out only through links of compiling, deploying, debugging, testing and the like after the program is modified, so that the process is complex, the management difficulty of codes and software products is improved, and the efficiency is low;
2) frequent program updating is easy to introduce program defects, and the reliability of software is difficult to ensure;
3) rocket testers need to have deeper understanding on software programs related to test launch control and have more solid programming experience to update the programs, and the requirements on the computer related professional ability of the testers are high.
The application provides a telemetry data resolving method, a telemetry data resolving device, an electronic device and a computer readable storage medium, which aim to solve the technical problems in the prior art.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
An embodiment of the present invention provides an application environment for executing a method for resolving telemetry data, and referring to fig. 2, the application environment includes: a first device 201, a second device 202 and a third device 203. The first device 201 and the second device 202 are connected through a network, the second device 202 and the third device 203 are also connected through a network, the first device 201 can be a terminal of a user, the second device 202 can be a resolving device, and the third device 203 can be a telemetering device. The terminal may have the following features:
(1) on a hardware architecture, a device has a central processing unit, a memory, an input unit and an output unit, that is, the device is often a microcomputer device having a communication function. In addition, various input modes such as a keyboard, a mouse, a touch screen, a microphone, a camera and the like can be provided, and input can be adjusted as required. Meanwhile, the equipment often has a plurality of output modes, such as a telephone receiver, a display screen, a database and the like, and can also be adjusted according to needs;
(2) in a software system, the device must have an operating system, such as Windows, Linux, Windows Mobile, Symbian, Palm, Android, iOS, and the like. Based on the fact that the operating systems are increasingly opened, various types of software meeting the requirements of data processing and storage can be developed;
(3) in terms of communication capacity, the device has flexible access mode and high-bandwidth communication performance, and can automatically adjust the selected communication mode according to the selected service and the environment, thereby being convenient for users to use. The device may support 3GPP (3 rd Generation Partnership Project), 4GPP (4 rd Generation Partnership Project), 5GPP (5 rd Generation Partnership Project), LTE (Long Term Evolution), WIMAX (World Interoperability for Microwave Access), mobile communication based on TCP/IP (Transmission Control Protocol/Internet Protocol), UDP (User data Protocol, User Datagram Protocol) Protocol, computer network communication based on TCP/IP Protocol, and short-range wireless Transmission based on bluetooth and infrared Transmission standards, not only supporting voice services, but also supporting various wireless data services;
(4) in the aspect of function use, the equipment focuses more on generalization and multi-functionalization. The method of the embodiment of the invention can be realized by simple configuration according to rocket telemetry data with different frame formats and different transmission rates.
Of course, in practical application, three devices may also be combined into one device or two devices, and the setting may be performed according to actual requirements, which is not limited in this embodiment of the present invention.
In the above application environment, a telemetry data resolving method may be performed, as shown in fig. 3, the method including:
step S301, when the telemetering data of the rocket is obtained, corresponding first resolving description information is obtained based on a first parameter code in the telemetering data;
after receiving the telemetry data of the rocket sent by the telemetry equipment, the resolving equipment can match the first parameter codes in the telemetry data to obtain corresponding first resolving description information.
Step S302, a first resolving formula in the first resolving description information and first parameter data in the telemetering data are verified;
after the matched first calculation description information is obtained through matching, in order to ensure the accuracy of subsequent calculation, a first calculation formula in the first calculation description information and first parameter data in the telemetering data need to be checked respectively.
Step S303, when the first calculation formula and the first parameter data are checked to pass, calculating the first parameter data by adopting the first calculation formula to obtain a first calculation result;
when the first calculation formula is legal and the number of bytes of the first parameter data exceeds the number of form parameters in the first calculation formula, the first parameter data can be calculated by using the first calculation formula to obtain a first calculation result.
And step S304, when the first calculation description information comprises a standard data comparison table, performing interpolation processing on the first calculation result based on the standard data comparison table to obtain a second calculation result.
When the first calculation description information is detected to include a standard data comparison table (namely config) attribute, acquiring a corresponding standard data comparison table, and performing interpolation processing on the first calculation result based on the standard data comparison table to obtain a final second calculation result; if the standard data comparison table is not included, the first calculation result is returned to the telemetry equipment.
In the embodiment of the invention, when the telemetering data of the rocket is acquired, corresponding first resolving description information is acquired based on a first parameter code in the telemetering data, then a first resolving formula in the first resolving description information and the first parameter data in the telemetering data are verified, when the first resolving formula and the first parameter data are both verified, the first resolving formula is adopted to resolve the first parameter data to obtain a first resolving result, and when the first resolving description information comprises a standard data comparison table, the first resolving result is interpolated based on the standard data comparison table to obtain a second resolving result. Through the mode, the embodiment of the invention abstracts the resolving process of the telemetering data of the carrier rocket, realizes the uniform description of the resolving process through the resolving formula and the standard data comparison table, and enables a tester to complete various configurations of the resolving process through descriptive words instead of program codes. Meanwhile, due to the fact that descriptive characters are visual and easy to understand, testers without program code bases can also quickly master the configuration method, and configuration efficiency of the calculation process is greatly improved. Moreover, the descriptive characters which are intuitive and easy to understand are adopted, so that the difficulty of error checking is greatly reduced when the configuration is checked, and the error checking efficiency is improved.
Furthermore, because the compiling of the program code usually needs to be completed by cooperation of a plurality of persons, and then links such as program modification, compiling, deployment, testing and the like are performed, the development period of the program is longer, moreover, the probability of introducing errors is increased by a plurality of iterations, and the stability is poorer. The embodiment of the invention only needs to compile a set of resolving description information, and testers configure according to the resolving description information, so that links such as program modification, compiling, deployment, testing and the like are avoided, the development period is greatly shortened, the development efficiency is improved, multiple iterations are avoided, and the stability is greatly improved.
Furthermore, for different models of equipment, each descriptive text in the resolving description information is modified, and compared with a mode of upgrading a program through a software package, the method is higher in reusability and higher in reliability.
A telemetry data resolving method may also be performed in the application environment shown in fig. 2, as shown in fig. 4, the method comprising:
step S401, acquiring at least one preset candidate resolving description information;
specifically, the solution device may obtain preset at least one candidate solution description information from the terminal, where the candidate solution description information is the solution description information that has been edited.
In practical application, an application program for editing the calculation description information by a user may be installed in the terminal, and the user may edit the calculation description information through the application program and send the edited calculation description information to the calculation device, or the user may directly edit the calculation description information on the calculation device through the application program, or of course, the user may edit the calculation description information in other manners, so that the calculation device may finally obtain the candidate calculation description information, and the candidate calculation description information may be set according to actual requirements, which is not limited in the embodiment of the present invention.
Step S402, at least one candidate resolving description information is verified, and at least one second resolving description information passing the verification is obtained;
since the calculation description information is the basis for calculating the telemetry data, the accuracy of the calculation description information needs to be ensured, otherwise, the telemetry data cannot be calculated under the condition that the calculation description information is wrong. Therefore, after at least one candidate resolving description information is acquired, each candidate resolving description information can be verified, if the verification is passed, subsequent resolving is executed, if the verification is not passed, resolving is terminated, and at least one second resolving description information which is passed is obtained.
In one embodiment of the invention, any candidate resolving description information comprises a candidate parameter code, a candidate resolving formula, a candidate standard data comparison table and a candidate return type;
verifying at least one candidate solution description information, including at least one of:
detecting whether the candidate parameter codes are correct;
detecting whether the candidate resolving formula is legal or not;
detecting whether the candidate standard data comparison table exists or not and whether specified column information exists in the candidate standard data comparison table or not;
it is detected whether the return type is correct.
Specifically, when checking each candidate solution description information, the checking includes, but is not limited to:
1) detecting whether the candidate parameter codes are correct; for example, if a parameter code in the candidate solution description information is "Connand" and the correct parameter code should be "Command", it may be determined that the parameter code is wrong;
2) detecting whether the candidate resolving formula is legal or not; specifically, whether the grammar of the calculation formula is correct or not can be detected, and whether elements such as functions, variables, operators, brackets and the like in the calculation formula are legal or not can be analyzed;
3) detecting whether the candidate standard data comparison table exists or not and whether specified column information exists in the candidate standard data comparison table or not; specifically, whether the description of the standard data lookup table is included in the solution description information, that is, whether the "config" attribute exists, if so, whether the standard data lookup table corresponding to the config exists, and if not, it may be determined that the candidate solution description information is incorrect. For example, if a config attribute exists in a certain candidate solution description information and config = "wdca. csv:1", but no "wdca. csv" file is found through detection, it can be determined that the candidate solution description information is wrong;
4) detecting whether the return type is correct; for example, if a certain return type in the candidate solution description information is "signaled short" but the correct return type should be "double", it may be determined that the candidate solution description information is incorrect, or if a certain return type in the candidate solution description information is "double" but the correct return type should be "double", it may be determined that the candidate solution description information is incorrect.
In the embodiment of the invention, when detecting that at least two second parameter codes are the same, generating the alarm information.
Specifically, when it is detected that at least two second parameter codes are the same, the warning message may be generated, and the user is prompted to modify the warning message until the same second parameter codes do not exist, and the warning message is cancelled. The same second parameter code may be in the same candidate solution description information or in different candidate solution description information, which is not limited in this embodiment of the present invention.
Step S403, generating a resolving description information base by taking a second parameter code of each second resolving description information as a keyword, and storing the at least one second resolving description information in the resolving description information base;
after at least one second resolving description information is obtained, a resolving description information base can be generated, each second resolving description information is stored in the resolving description information base, the parameter code corresponding to each second resolving description information is used as a keyword, and the keyword can be used for matching the parameter code during subsequent retrieval.
Step S404, when the telemetering data of the rocket is obtained, corresponding first resolving description information is obtained based on a first parameter code in the telemetering data;
after receiving the telemetry data of the rocket sent by the telemetry equipment, the resolving equipment can match the first parameter codes in the telemetry data to obtain corresponding first resolving description information.
In one embodiment of the present invention, obtaining corresponding first solution description information based on a first parameter code in telemetry data includes:
matching the first parameter codes in the telemetering data with each second parameter code in the resolving description information base;
and if the matched target second parameter code exists, using second resolving description information containing the target second parameter code as the first resolving description information.
Specifically, a first parameter code may be extracted from the telemetry data, and then the first parameter code may be matched with each second parameter code (i.e., each keyword) in the generated solution description information library, and if a target second parameter code is matched, the second solution description information including the target second parameter code may be used as final solution description information; if the matching fails, the solution is terminated.
Step S405, verifying a first resolving formula in the first resolving description information and first parameter data in the telemetering data;
after the matched first calculation description information is obtained through matching, in order to ensure the accuracy of subsequent calculation, a first calculation formula in the first calculation description information and first parameter data in the telemetering data need to be checked respectively.
In one embodiment of the present invention, verifying the first solution formula in the first solution description information and the first parameter data in the telemetry data includes:
detecting whether the first resolving formula is legal or not;
it is detected whether the number of bytes of the first parameter data exceeds the number of formal parameters in the first solution formula.
Specifically, the checking may include:
1) detecting whether the first resolving formula is legal or not; specifically, information such as a function, an operator, a bracket, a form parameter and the like in the first calculation formula is obtained, and then whether the information such as the function, the operator, the bracket and the like is legal is detected, for example, whether the bracket is closed, whether undefined characters exist or not and the like are detected, and whether the form parameter is X1-X8 or not are detected. If one item fails, the first solution formula can be judged to be illegal;
2) detecting whether the number of bytes of the first parameter data exceeds the number of form parameters in a first resolving formula; specifically, since the number of form parameters is set in advance, the number of form parameters in the first calculation formula is fixed without modification, and therefore, it is possible to detect whether the number of bytes of the first parameter data exceeds the number of form parameters in the first calculation formula, and if so, it is possible to determine that the detection is passed, and if not, it is possible to determine that the detection is not passed. For example, if the number of bytes of the first parameter data is 6, and the formal parameters in the first solution formula are X1, X2, X3, and X4, it is determined that the detection is passed; if the number of bytes of the first parameter data is 3 and is less than the number of the form parameters 4, the calculation cannot be executed, the detection is determined not to pass, and the calculation is terminated.
Step S406, when the first calculation formula and the first parameter data are checked to pass, calculating the first parameter data by adopting the first calculation formula to obtain a first calculation result;
when the first calculation formula is legal and the number of bytes of the first parameter data exceeds the number of form parameters in the first calculation formula, the first parameter data can be calculated by using the first calculation formula to obtain a first calculation result.
In the embodiment of the present invention, calculating the first parameter data by using a first calculation formula to obtain a first calculation result, includes:
filling the first parameter data into each form parameter in the first resolving formula to obtain each actual parameter;
resolving each actual parameter by adopting a first resolving formula to obtain a resolving result;
and converting the resolving result based on the first return type in the first resolving description information to obtain a first resolving result.
Specifically, the first parameter data may be filled into each formal parameter in the first calculation formula to obtain each actual parameter, then the first calculation formula is executed to calculate each actual parameter to obtain a calculation result, and then the calculation result is converted into the first return type in the first calculation description information, so as to obtain the first calculation result.
For example, the "star-arrow separation 1 state" is solved, the obtained solution result may be 1 or 0, and it can be known from table 1 that the return type of the "star-arrow separation 1 state" is "signed char", and then the solution result is converted into signed char, so as to obtain a first solution result.
Wherein the following features are specified when executing the solution formula:
1) if the splicing function exists in the formula, the splicing function has the highest calculation priority;
2) splicing a plurality of byte data of the parameter data to a continuous memory in sequence, and then forcibly converting the byte data into a corresponding data type;
3) if the bracket exists in the formula, firstly carrying out the operation in the bracket and then carrying out the operation outside the bracket;
4) when a plurality of operators are parallel, the operation priority is as follows from high to low: bit operators, arithmetic operators, boolean operators;
5) when the operators are parallel to the priority operator, the operations are performed according to the operation sequence from left to right.
Step 407, when the first calculation description information includes the standard data comparison table, performing interpolation processing on the first calculation result based on the standard data comparison table to obtain a second calculation result.
When the first calculation description information is detected to include a standard data comparison table (namely config) attribute, acquiring a corresponding standard data comparison table, and performing interpolation processing on the first calculation result based on the standard data comparison table to obtain a final second calculation result; if the standard data comparison table is not included, the first calculation result is returned to the telemetry equipment.
In the embodiment of the present invention, interpolating the first calculation result based on the standard data comparison table to obtain the second calculation result includes:
acquiring a candidate standard value and a candidate comparison value which are adjacent to the first calculation result in the standard data comparison table;
and performing interpolation calculation on the candidate standard value based on the candidate comparison value and the first calculation result to obtain a second calculation result.
Specifically, when the standard data comparison table attribute is detected to exist, the corresponding standard data comparison table is obtained, the data standard value of the 1 st column in the standard data comparison table and the comparison value of the target column are obtained, then the candidate standard value and the candidate comparison value which are adjacent to the first calculation result in the standard data comparison table are obtained, and then interpolation calculation is carried out on the candidate standard value by adopting the candidate comparison value and the first calculation result to obtain a second calculation result.
For example, it is assumed that "config = 'wdca. csv: 2'" is included in certain first solution description information, the first solution result is 0.35, and the standard data comparison table is table 1. When it is detected that the first solution description information includes a config attribute, acquiring a standard data comparison table with a file name of Wdca.csv, acquiring a data standard value of a 1 st column and a comparison value with a column serial number of 2 (a 3rd column) in the standard data table, then acquiring a candidate standard value and a candidate comparison value which are adjacent to 0.35 from the 1 st column and the column serial number of 2 in the table 1, wherein the candidate standard value and the candidate comparison value are respectively '3', '4', '0.343' and '0.355', then performing interpolation calculation on the candidate standard value by using the candidate comparison value and the first solution result to obtain a calculation result, and then converting the calculation result into the return type according to the return type in the first solution description information to obtain a second solution result. Such as: 3+ (4-3) (0.35-0.343)/(0.355-0.343) =3.583, i.e., 3.583 is the second solution result.
It should be noted that the interpolation calculation is a linear interpolation algorithm, and in practical application, other interpolation algorithms are all applicable to the embodiment of the present invention, and may be set according to practical requirements, which is not limited in this embodiment of the present invention.
Further, generally, the number of the adjacent candidate standard values is 2, but when the position of the first solution result is the first or last one, the number of the adjacent candidate standard values is 1, and then the standard value is directly taken as the final solution result at the time of calculation.
For convenience of understanding, fig. 5 shows a logic diagram of the embodiment of the present invention, and the detailed description may refer to steps S401 to S407, which are not repeated herein to avoid repetition.
In the embodiment of the invention, when the telemetering data of the rocket is acquired, corresponding first resolving description information is acquired based on a first parameter code in the telemetering data, then a first resolving formula in the first resolving description information and the first parameter data in the telemetering data are verified, when the first resolving formula and the first parameter data are both verified, the first resolving formula is adopted to resolve the first parameter data to obtain a first resolving result, and when the first resolving description information comprises a standard data comparison table, the first resolving result is interpolated based on the standard data comparison table to obtain a second resolving result. Through the mode, the embodiment of the invention abstracts the resolving process of the telemetering data of the carrier rocket, realizes the uniform description of the resolving process through the resolving formula and the standard data comparison table, and enables a tester to complete various configurations of the resolving process through descriptive words instead of program codes. Meanwhile, due to the fact that descriptive characters are visual and easy to understand, testers without program code bases can also quickly master the configuration method, and configuration efficiency of the calculation process is greatly improved. Moreover, the descriptive characters which are intuitive and easy to understand are adopted, so that the difficulty of error checking is greatly reduced when the configuration is checked, and the error checking efficiency is improved.
Furthermore, because the compiling of the program code usually needs to be completed by cooperation of a plurality of persons, and then links such as program modification, compiling, deployment, testing and the like are performed, the development period of the program is longer, moreover, the probability of introducing errors is increased by a plurality of iterations, and the stability is poorer. The embodiment of the invention only needs to compile a set of resolving description information, and testers configure according to the resolving description information, so that links such as program modification, compiling, deployment, testing and the like are avoided, the development period is greatly shortened, the development efficiency is improved, multiple iterations are avoided, and the stability is greatly improved.
Furthermore, for different models of equipment, each descriptive text in the resolving description information is modified, and compared with a mode of upgrading a program through a software package, the method is higher in reusability and higher in reliability.
Fig. 6 is a schematic structural diagram of a telemetry data resolver according to an embodiment of the present disclosure, and as shown in fig. 6, the telemetry data resolver according to the embodiment may include:
the first obtaining module 601 is configured to obtain corresponding first resolving description information based on a first parameter code in telemetry data when the telemetry data of the rocket is obtained;
a first verification module 602, configured to verify a first solution formula in the first solution description information and first parameter data in the telemetry data;
the calculating module 603 is configured to, when both the first calculating formula and the first parameter data pass the inspection, calculate the first parameter data by using the first calculating formula to obtain a first calculating result;
and the operation module 604 is configured to perform interpolation processing on the first solution result based on the standard data comparison table to obtain a second solution result when the first solution description information includes the standard data comparison table.
In one embodiment of the present invention, the method further comprises:
the second acquisition module is used for acquiring preset at least one candidate resolving description information;
the second checking module is used for checking at least one candidate resolving description information to obtain at least one second resolving description information which passes the checking;
the first generation module is used for generating a resolving description information base by taking a second parameter code of each second resolving description information as a keyword, and storing the at least one second resolving description information to the resolving description information base.
In one embodiment of the present invention, the first obtaining module includes:
the matching submodule is used for matching the first parameter codes in the telemetering data with each second parameter code in the resolving description information base;
and the determining submodule is used for taking second resolving description information containing the target second parameter code as first resolving description information if the matched target second parameter code exists.
In one embodiment of the invention, any candidate resolving description information comprises a candidate parameter code, a candidate resolving formula, a candidate standard data comparison table and a candidate return type;
the second check module is specifically configured to:
detecting whether the candidate parameter codes are correct;
detecting whether the candidate resolving formula is legal or not;
detecting whether the candidate standard data comparison table exists or not and whether specified column information exists in the candidate standard data comparison table or not;
it is detected whether the return type is correct.
In one embodiment of the present invention, the method further comprises:
and the second generating module is used for generating alarm information when detecting that the at least two second parameter codes are the same.
In one embodiment of the present invention, the first check module includes:
the calculation formula detection submodule is used for detecting whether the first calculation formula is legal or not;
and the byte number detection submodule is used for detecting whether the byte number of the first parameter data exceeds the form parameter number in the first calculation formula.
In one embodiment of the invention, the calculation module comprises:
the filling submodule is used for filling the first parameter data into each form parameter in the first resolving formula to obtain each actual parameter;
the resolving submodule is used for resolving each actual parameter by adopting a first resolving formula to obtain a resolving result;
and the conversion submodule is used for converting the resolving result based on the first return type in the first resolving description information to obtain a first resolving result.
In one embodiment of the present invention, the operation module includes:
the data acquisition submodule is used for acquiring a candidate standard value and a candidate comparison value which are adjacent to the first calculation result in the standard data comparison table;
and the interpolation calculation submodule is used for carrying out interpolation calculation on the candidate standard value based on the candidate comparison value and the first calculation result to obtain a second calculation result.
The telemetry data calculating device of the present embodiment may implement the telemetry data calculating method shown in the foregoing embodiments of the present application, and the implementation principles are similar and will not be described herein again.
In the embodiment of the invention, when the telemetering data of the rocket is acquired, corresponding first resolving description information is acquired based on a first parameter code in the telemetering data, then a first resolving formula in the first resolving description information and the first parameter data in the telemetering data are verified, when the first resolving formula and the first parameter data are both verified, the first resolving formula is adopted to resolve the first parameter data to obtain a first resolving result, and when the first resolving description information comprises a standard data comparison table, the first resolving result is interpolated based on the standard data comparison table to obtain a second resolving result. Through the mode, the embodiment of the invention abstracts the resolving process of the telemetering data of the carrier rocket, realizes the uniform description of the resolving process through the resolving formula and the standard data comparison table, and enables a tester to complete various configurations of the resolving process through descriptive words instead of program codes. Meanwhile, due to the fact that descriptive characters are visual and easy to understand, testers without program code bases can also quickly master the configuration method, and configuration efficiency of the calculation process is greatly improved. Moreover, the descriptive characters which are intuitive and easy to understand are adopted, so that the difficulty of error checking is greatly reduced when the configuration is checked, and the error checking efficiency is improved.
Furthermore, because the compiling of the program code usually needs to be completed by cooperation of a plurality of persons, and then links such as program modification, compiling, deployment, testing and the like are performed, the development period of the program is longer, moreover, the probability of introducing errors is increased by a plurality of iterations, and the stability is poorer. The embodiment of the invention only needs to compile a set of resolving description information, and testers configure according to the resolving description information, so that links such as program modification, compiling, deployment, testing and the like are avoided, the development period is greatly shortened, the development efficiency is improved, multiple iterations are avoided, and the stability is greatly improved.
Furthermore, for different models of equipment, each descriptive text in the resolving description information is modified, and compared with a mode of upgrading a program through a software package, the method is higher in reusability and higher in reliability.
An embodiment of the present application provides an electronic device, including: a memory and a processor; at least one program stored in the memory for execution by the processor, which when executed by the processor, implements: when the telemetering data of the rocket is acquired, corresponding first resolving description information is acquired based on a first parameter code in the telemetering data, then a first resolving formula in the first resolving description information and the first parameter data in the telemetering data are verified, when the first resolving formula and the first parameter data are both verified, the first resolving formula is adopted to resolve the first parameter data to obtain a first resolving result, and when the first resolving description information comprises a standard data comparison table, interpolation processing is carried out on the first resolving result based on the standard data comparison table to obtain a second resolving result. Through the mode, the embodiment of the invention abstracts the resolving process of the telemetering data of the carrier rocket, realizes the uniform description of the resolving process through the resolving formula and the standard data comparison table, and enables a tester to complete various configurations of the resolving process through descriptive words instead of program codes. Meanwhile, due to the fact that descriptive characters are visual and easy to understand, testers without program code bases can also quickly master the configuration method, and configuration efficiency of the calculation process is greatly improved. Moreover, the descriptive characters which are intuitive and easy to understand are adopted, so that the difficulty of error checking is greatly reduced when the configuration is checked, and the error checking efficiency is improved.
Furthermore, because the compiling of the program code usually needs to be completed by cooperation of a plurality of persons, and then links such as program modification, compiling, deployment, testing and the like are performed, the development period of the program is longer, moreover, the probability of introducing errors is increased by a plurality of iterations, and the stability is poorer. The embodiment of the invention only needs to compile a set of resolving description information, and testers configure according to the resolving description information, so that links such as program modification, compiling, deployment, testing and the like are avoided, the development period is greatly shortened, the development efficiency is improved, multiple iterations are avoided, and the stability is greatly improved.
Furthermore, for different models of equipment, each descriptive text in the resolving description information is modified, and compared with a mode of upgrading a program through a software package, the method is higher in reusability and higher in reliability.
In an alternative embodiment, an electronic device is provided, as shown in FIG. 7, where electronic device 7000 shown in FIG. 7 comprises: a processor 7001 and a memory 7003. Wherein the processor 7001 and the memory 7003 are coupled, such as via a bus 7002. Optionally, the electronic device 7000 may further include the transceiver 7004, and the transceiver 7004 may be used for data interaction between the electronic device and other electronic devices, such as transmission of data and/or reception of data. It should be noted that the transceiver 7004 is not limited to one in practical applications, and the structure of the electronic device 7000 does not constitute a limitation to the embodiments of the present application.
The Processor 7001 may be a CPU (Central Processing Unit), a general purpose Processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 7001 may also be a combination implementing computing functionality, e.g., comprising one or more microprocessors, a combination of DSPs and microprocessors, or the like.
Bus 7002 may include a path to transfer information between the above components. The bus 7002 may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus 7002 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 7, but this is not intended to represent only one bus or type of bus.
The Memory 7003 may be a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory) or other type of dynamic storage device that can store information and instructions, an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these.
The memory 7003 is used for storing application program codes (computer programs) for executing the present scheme, and the execution is controlled by the processor 7001. The processor 7001 is used to execute application program codes stored in the memory 7003 to implement what is shown in the foregoing method embodiments.
Among them, electronic devices include but are not limited to: mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like.
The present application provides a computer-readable storage medium, on which a computer program is stored, which, when running on a computer, enables the computer to execute the corresponding content in the foregoing method embodiments.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (11)

1. A method for resolving telemetry data, comprising:
when telemetry data of a rocket are acquired, acquiring corresponding first resolving description information based on a first parameter code in the telemetry data;
verifying a first resolving formula in the first resolving description information and first parameter data in the telemetry data;
when the first calculation formula and the first parameter data are checked to pass, calculating the first parameter data by adopting the first calculation formula to obtain a first calculation result;
when the first resolving description information comprises a standard data comparison table, performing interpolation processing on the first resolving result based on the standard data comparison table to obtain a second resolving result;
the first calculation formula and the first parameter data are checked to pass the legality of the first calculation formula, and the byte number of the first parameter data is larger than the number of form parameters in the first calculation formula;
the first parameter code is a code corresponding to each parameter in the telemetry data; the first parameter data is parameter data corresponding to each parameter in the telemetry data.
2. The telemetry data resolving method of claim 1 further comprising, prior to receiving the rocket telemetry data:
acquiring preset at least one candidate resolving description information;
verifying the at least one candidate resolving description information to obtain at least one second resolving description information passing the verification;
and generating a resolving description information base by taking the second parameter code of each second resolving description information as a keyword, and storing the at least one second resolving description information to the resolving description information base.
3. The method for resolving telemetry data as claimed in claim 1 or 2, wherein the obtaining corresponding first resolution description information based on the first parameter code in the telemetry data comprises:
matching the first parameter codes in the telemetering data with each second parameter code in a resolving description information base;
and if the matched target second parameter code exists, using second resolving description information containing the target second parameter code as the first resolving description information.
4. The telemetry data solution method of claim 2, wherein any candidate solution description information includes candidate parameter codes, candidate solution formulas, candidate standard data look-up tables, and candidate return types;
the checking the at least one candidate solution description information includes at least one of:
detecting whether the candidate parameter code is correct;
detecting whether the candidate resolving formula is legal or not;
detecting whether the candidate standard data comparison table exists or not and whether specified column information exists in the candidate standard data comparison table or not;
detecting whether the return type is correct.
5. The telemetry data resolving method of claim 2 further comprising:
and when detecting that the at least two second parameter codes are the same, generating alarm information.
6. The method of resolving telemetry data as claimed in claim 1, wherein the verifying a first resolution formula in the first resolution description information and first parameter data in the telemetry data comprises:
detecting whether the first resolving formula is legal or not;
detecting whether the number of bytes of the first parameter data exceeds the number of formal parameters in the first solution formula.
7. The method for resolving telemetry data as claimed in claim 1, wherein the resolving the first parameter data using the first resolving formula to obtain a first resolved result comprises:
filling the first parameter data into each form parameter in the first resolving formula to obtain each actual parameter;
resolving each actual parameter by adopting the first resolving formula to obtain a resolving result;
and converting the resolving result based on the first return type in the first resolving description information to obtain a first resolving result.
8. The method for resolving telemetry data as claimed in claim 1, wherein the interpolating the first solution result based on the standard data look-up table to obtain a second solution result comprises:
acquiring a candidate standard value and a candidate comparison value which are adjacent to the first calculation result in the standard data comparison table;
and carrying out interpolation calculation on the candidate standard value based on the candidate comparison value and the first calculation result to obtain a second calculation result.
9. A resolver for telemetry data, comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring corresponding first resolving description information based on a first parameter code in telemetry data when the telemetry data of a rocket is acquired;
the first checking module is used for checking a first resolving formula in the first resolving description information and first parameter data in the telemetering data;
the calculation module is used for calculating the first parameter data by adopting the first calculation formula to obtain a first calculation result when the first calculation formula and the first parameter data are both checked to pass;
the operation module is used for carrying out interpolation processing on the first calculation result based on the standard data comparison table to obtain a second calculation result when the first calculation description information comprises the standard data comparison table;
the first calculation formula and the first parameter data are checked to pass the legality of the first calculation formula, and the byte number of the first parameter data is larger than the number of form parameters in the first calculation formula;
the first parameter code is a code corresponding to each parameter in the telemetry data; the first parameter data is parameter data corresponding to each parameter in the telemetry data.
10. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: performing a method of resolving telemetry data according to any one of claims 1 to 8.
11. A computer readable storage medium having stored thereon at least one instruction, at least one program, set of codes or set of instructions, which is loaded and executed by a processor to implement a method of resolving telemetry data as claimed in any one of claims 1 to 8.
CN202110699764.4A 2021-06-23 2021-06-23 Telemetering data resolving method and device, electronic equipment and computer storage medium Active CN113254107B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110699764.4A CN113254107B (en) 2021-06-23 2021-06-23 Telemetering data resolving method and device, electronic equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110699764.4A CN113254107B (en) 2021-06-23 2021-06-23 Telemetering data resolving method and device, electronic equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN113254107A CN113254107A (en) 2021-08-13
CN113254107B true CN113254107B (en) 2021-10-22

Family

ID=77189366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110699764.4A Active CN113254107B (en) 2021-06-23 2021-06-23 Telemetering data resolving method and device, electronic equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN113254107B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116501650B (en) * 2023-06-27 2023-09-12 航天科工火箭技术有限公司 Method, device and medium for executing carrier rocket measurement and control flow engine

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007157106A (en) * 2005-12-01 2007-06-21 Korea Electronics Telecommun Satellite simulation system using component-based satellite modeling
CN104102690B (en) * 2014-05-26 2017-04-19 北京宇航系统工程研究所 Storage structure based telemetry data processing method
CN104486335B (en) * 2014-12-12 2017-12-22 北京控制工程研究所 A kind of high complexity spacecraft GNC data real-time intelligent processing systems
CN104678408B (en) * 2015-02-05 2017-02-22 清华大学 Satellite borne navigation receiver time service method, time service type satellite borne navigation receiver and satellite borne navigation application system
CN106326920B (en) * 2016-08-16 2020-02-07 天津航天中为数据系统科技有限公司 Off-line synchronization method and device for telemetering data and video image data
CN106788670A (en) * 2016-11-23 2017-05-31 北京临近空间飞行器系统工程研究所 The real-time quasi real time Telemetering Data Processing platform of Universal efficient
CN110827443B (en) * 2019-10-24 2021-07-06 张东 Remote measurement post data processing system

Also Published As

Publication number Publication date
CN113254107A (en) 2021-08-13

Similar Documents

Publication Publication Date Title
CN111428462B (en) Communication protocol template construction method and terminal equipment
CN111209203B (en) Model verification method based on source code
CN105824752A (en) Method and device for automatically testing interface and calculating facility
CN113254107B (en) Telemetering data resolving method and device, electronic equipment and computer storage medium
CN113535578B (en) CTS test method, CTS test device and CTS test equipment
CN112527302B (en) Error detection method and device, terminal and storage medium
CN115314413B (en) CAN signal testing method and device
CN115495082B (en) TLV format data automatic conversion method and related equipment
CN111752644A (en) Interface simulation method, device, equipment and storage medium
CN114928556B (en) Interface service testing method and related equipment
CN107678967B (en) Unit test coverage rate generation method and device, readable storage medium and equipment
CN111539200B (en) Method, device, medium and electronic equipment for generating rich text
CN112631894B (en) Code detection method, device, storage medium and computer equipment
CN111736924B (en) Method, device, equipment and medium for accessing data acquisition instrument based on Lua script
CN111240972B (en) Model verification device based on source code
CN114047923A (en) Error code positioning method, device, storage medium and electronic equipment
CN115729797A (en) Code similarity function detection method and device, electronic equipment and storage medium
CN108304188B (en) Data type conversion method and terminal
US11860795B2 (en) Device, system, and method of determining memory requirements and tracking memory usage
CN110471667A (en) A kind of method, apparatus, medium and electronic equipment for auditing source program
CN114116517B (en) Front-end item analysis method and device, medium and electronic equipment
CN112905455B (en) Method, device, equipment and storage medium for checking interface information
CN118409915A (en) CAN (controller area network) checksum script automatic generation method, device, equipment and storage medium
CN116954618A (en) Function compiling method, device, medium and electronic equipment
CN117076009A (en) Automatic mounting and calling method and system for checking double libraries

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant