Telemetering data interpretation method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a method, a device, equipment and a storage medium for telemetering data interpretation.
Background
During the testing and on-orbit flight of the spacecraft, various rules are required to be utilized to interpret the telemetering data so as to identify the abnormal state and fault condition of each single machine and subsystem and evaluate the health state and performance index of the spacecraft.
At present, during the testing and on-orbit flight of a spacecraft, the interpretation of telemetric data mainly adopts manual judgment, and part of the telemetric data is tried to be implemented by adopting simple threshold judgment or an external knowledge base to perform automatic interpretation. Therefore, the method depends on the existing fixed knowledge base, only a single criterion matched with each test data can be selected, and comprehensive interpretation of the telemetering data by multiple criteria cannot be supported.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for telemetering data interpretation, which are used for comprehensively judging telemetering data by multiple criteria, thereby improving the flexibility and efficiency of telemetering data interpretation.
In a first aspect, an embodiment of the present invention provides a method for interpreting telemetry data, where the method includes:
acquiring telemetering data to be interpreted;
determining an interpretation rule according to the incidence relation between the telemetering data to be interpreted; wherein the interpretation rules include: at least one of a base rule in a base rule base and a rule template in a rule template base;
and acquiring an interpretation result of the telemetering data to be interpreted according to the interpretation rule so as to determine whether the telemetering data to be interpreted is abnormal.
In a second aspect, an embodiment of the present invention further provides a telemetry data interpretation apparatus, where the apparatus includes:
the data acquisition module is used for acquiring the telemetering data to be interpreted;
the interpretation rule determining module is used for determining an interpretation rule according to the incidence relation between the telemetering data to be interpreted; wherein the interpretation rules include: at least one of a base rule in a base rule base and a rule template in a rule template base;
and the interpretation result acquisition module is used for acquiring the interpretation result of the telemetric data to be interpreted according to the interpretation rule so as to determine whether the telemetric data to be interpreted is abnormal or not.
In a third aspect, an embodiment of the present invention further provides an apparatus, where the apparatus includes:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a telemetry data interpretation method as described above.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the telemetry data interpretation method described above.
The embodiment of the invention obtains the telemetering data to be interpreted; determining an interpretation rule according to the incidence relation between the telemetering data to be interpreted; wherein the interpretation rules include: at least one of a base rule in a base rule base and a rule template in a rule template base; and acquiring an interpretation result of the telemetering data to be interpreted according to the interpretation rule so as to determine whether the telemetering data to be interpreted is abnormal. The problem that only a single criterion matched with each item of test data can be selected and comprehensive interpretation of multiple criteria configured for the telemetering data cannot be supported by relying on an existing fixed knowledge base is solved. The comprehensive judgment of the telemetry data by multiple criteria is realized, so that the purposes of improving the flexibility and efficiency of telemetry data interpretation are achieved.
Drawings
FIG. 1 is a flow chart of a telemetry data interpretation method according to an embodiment of the invention;
FIG. 2 is a flowchart of a telemetry data interpretation method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a telemetry data interpretation apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a telemetry data interpretation method according to an embodiment of the present invention, where the embodiment is applicable to determining whether there is an abnormality in reading telemetry data, and the method may be executed by a telemetry data interpretation apparatus according to an embodiment of the present invention, and the apparatus may be implemented by software and/or hardware. Referring to fig. 1, the telemetry data interpretation method provided by the embodiment includes:
and step 110, acquiring the telemetering data to be interpreted.
The telemetering data can be obtained from a User Datagram Protocol (UDP) data stream of a computer in real time, and can be dynamically refreshed as a process variable.
The variables may be characterized using the parameter number or name of the telemetry data, for example: adopting dcs001 to represent telemetering data A, and using the dcs001 to replace the telemetering data A when the telemetering data A participates in various numerical calculations; the value of the telemetry data prior to time t may be obtained by introducing a time parameter t into the process variable.
In this embodiment, optionally, a decoding module is provided for parsing the data information of the telemetry data. The decoding module may include different Excel decoding tables, which is not limited in this embodiment. The data information may include: data port information, telemetry data packet identification code, parameter code number/parameter name/data type/unit conversion/update period/data length/measurement unit information of telemetry data, and the like. And acquiring a data analysis method corresponding to the data port information of the telemetering data through the decoding module, so as to analyze the acquired telemetering data. This has the advantage of improving the efficiency of telemetry data resolution.
In this embodiment, optionally, telemetry data associated with the spacecraft is stored in accordance with the particular spacecraft; and when the telemetry data of the designated spacecraft needs to be deleted, deleting the related storage file. The configuration has the advantages that the configuration can be used for selecting the spacecraft to be telemetered and analyzed currently and deleting the telemetering data related to the spacecraft, so that data management is facilitated.
And when the telemetering data needs to be interpreted, selecting the specified telemetering data as the telemetering data to be interpreted.
Step 120, determining an interpretation rule according to the incidence relation between the telemetering data to be interpreted; wherein the interpretation rules include: at least one of a base rule in a base rule base and a rule template in a rule template base.
The association relationship between the telemetry data to be interpreted may be a logical relationship, and the like, which is not limited in this embodiment. And determining a preset interpretation rule according to the incidence relation between the telemetering data to be interpreted, wherein the interpretation rule is used for judging the state of the telemetering data. The determination of the interpretation rule and the configuration of the interpretation rule can be manually operated by a user according to the data to be interpreted and the correlation relationship between the data to be interpreted and can also be automatically completed by the system according to a preset rule of the user, which is not limited in this embodiment.
The basic rules in the basic rule base are used for realizing a function of judging the basis of the to-be-interpreted telemetry data, for example, if the to-be-interpreted telemetry data Pv1 is greater than 1, the data is abnormal, and the like. Any interpretation rule can be modified, copied, pasted, deleted and the like; and can classify the interpretation rules into groups for searching, modifying and calling.
The rule templates in the rule template library are used for carrying out complex judgment on the interpretation telemetering data, and the single basic judgment rule is logically combined according to the NOR relation, the time sequence relation, the condition relation, the priority relation and the like so as to carry out interpretation. For example, judging whether the telemetering data A to be interpreted is abnormal data, if so, not interpreting the subsequent data; if the data is not abnormal data, the interpretation is continued. So as to realize the comprehensive interpretation of multiple criteria and improve the accuracy of interpretation. Any rule template can be modified, copied, pasted, deleted and the like; and the rule templates can be classified in groups so as to be convenient to find, modify and call.
In this embodiment, optionally, the rule template is formed by the basic rules in the basic rule base according to a preset logical relationship.
The rule template can be directly formed by basic rules in the basic rule base according to a logic relation preset by a user, and the basic rules can be directly called and combined from the basic rule base. The advantage of this arrangement is that the flexibility of template creation and modification is enhanced, increasing code reuse.
Step 130, obtaining an interpretation result of the telemetering data to be interpreted according to the interpretation rule so as to determine whether the telemetering data to be interpreted is abnormal.
And judging the telemetering data to be interpreted according to the interpretation rule, acquiring an interpretation result, and determining whether the interpretation data is abnormal or not according to the judgment result so as to carry out further operation such as alarming and the like.
According to the technical scheme provided by the embodiment, the telemetering data to be interpreted is acquired; determining an interpretation rule according to the incidence relation between the telemetering data to be interpreted; wherein the interpretation rules include: at least one of a base rule in a base rule base and a rule template in a rule template base; and acquiring an interpretation result of the telemetering data to be interpreted according to the interpretation rule so as to determine whether the telemetering data to be interpreted is abnormal. The problem that only a single criterion matched with each item of test data can be selected and comprehensive interpretation of multiple criteria configured for the telemetering data cannot be supported by relying on an existing fixed knowledge base is solved. The comprehensive judgment of the telemetry data by multiple criteria is realized, so that the purposes of improving the flexibility and efficiency of telemetry data interpretation are achieved.
On the basis of the above technical solution, optionally, the method further includes: creating a base rule in the base rule base in response to a base rule creation request;
in response to a rule template creation request, a rule template is created in the rule template repository.
The operation party of the corresponding basic rule creation request and rule template creation request may be any object capable of processing the creation request, such as a website, an Application (APP), a server, and the like. The creation request is a request for creating a corresponding basic rule or rule template, and may be generated based on an operation of a user, for example, if the user needs to create the basic rule in the basic rule base, the user may select to write a relevant program in an editor, for example, using a language such as matlab or python to perform a corresponding creation operation. The relevant code may be portable for further academic research or internet applications. The benefit of this is that the flexibility and efficiency of base rule and rule template creation is improved.
On the basis of the above technical solution, optionally, the method further includes: processing operation is carried out on the telemetering data to be interpreted and/or the interpretation result of the telemetering data to be interpreted; wherein the processing operation comprises: at least one of a display operation, a storage operation, a playback operation, and a deletion operation.
Wherein, the display operation can be that colors are superimposed on the interpretation telemetering data for displaying the interpretation result of the telemetering data to be interpreted, for example, red represents abnormal, green represents normal, etc.; displaying abnormal information in a prompt window; or comparing the numerical values and the time sequence characteristics of different to-be-interpreted telemetering data state quantities when normal/abnormal events occur by adopting a mode of side-by-side graphs, superposed graphs and the like. This has the advantage that, by visual presentation, the interpretation telemetry data and the interpretation results can be further analyzed in a subsequent step.
The storage operation can be real-time storage of the telemetering data to be interpreted and the corresponding interpretation result, automatic naming and storage are carried out after each interpretation is finished, and record names can be changed through editing. The advantage of this arrangement is that the telemetry data is bound and stored with the corresponding interpretation result for subsequent inquiry.
The deleting operation can be to delete any stored telemetric data to be interpreted and the interpretation result of the telemetric data to be interpreted corresponding to the stored telemetric data to be interpreted through single or batch selection.
On the basis of the above technical solution, optionally, the executing the playback operation includes:
and playing back the telemetering data to be interpreted and/or the interpretation result of the telemetering data to be interpreted according to a specified rate.
The telemetering data to be interpreted and/or the interpretation result of the telemetering data to be interpreted at any time point or time interval can be played back according to a specified rate. For example, the telemetering data A to be interpreted at 15:00 and the interpretation result of A are played back; or replaying the state trend of the telemetry data A to be interpreted in 15:00-16:00, the interpretation result of the A and the like. This has the advantage that the interpretation telemetry data and the interpretation results can be further analyzed subsequently.
Example two
Fig. 2 is a flowchart of a telemetry data interpretation method according to a second embodiment of the present invention. The technical scheme explains the process of determining the interpretation rule. Compared with the scheme, the method for determining the interpretation rule according to the incidence relation between the telemetering data to be interpreted comprises the following steps:
judging whether a logical relation exists between the telemetering data to be interpreted;
if yes, determining a telemetering data example to be interpreted according to the logical relation;
determining the interpretation rule adapted to the telemetry data example to be interpreted; and the adaptation of the telemetering data example to be interpreted and the interpretation rule is set to be predetermined. Specifically, the flow of telemetry data interpretation is shown in fig. 2:
and step 210, obtaining the telemetering data to be interpreted.
And step 220, judging whether a logical relationship exists between the telemetering data to be interpreted.
In this embodiment, optionally, the logical relationship includes: at least one of a combinatorial relationship, a causal relationship, and a temporal relationship.
The combination relationship is that at least two pieces of telemetry data to be interpreted are combined to be interpreted, for example, when the numerical value of the telemetry data A to be interpreted is larger than that of the telemetry data B to be interpreted, the subsequent interpretation is performed.
The causal relationship is that there is a causal link between the telemetric data to be interpreted, for example, the telemetric data to be interpreted B is interpreted only when the telemetric data to be interpreted a is not abnormal.
The time sequence relationship is the time sequence of the interpretation, for example, the telemetric data A to be interpreted needs to be judged first, and then the telemetric data B to be interpreted needs to be judged.
And step 230, if so, determining the telemetering data example to be interpreted according to the logical relationship.
The telemetering data to be interpreted is the telemetering data to be interpreted which has the logic relationship and is added to the telemetering data to be interpreted as a whole.
If not, the telemetering data to be interpreted is interpreted according to the independent corresponding interpretation rule.
Step 240, determining the interpretation rule adapted to the telemetering data example to be interpreted; and the adaptation of the telemetering data example to be interpreted and the interpretation rule is set to be predetermined.
And judging the telemetering data case to be judged according to the basic rule or rule template matched with the telemetering data case to be judged. The telemetering data of the same type can be selected in batches in a manual or query mode to form a telemetering data example to be interpreted, and a corresponding interpretation strategy is configured for the telemetering data example to be interpreted.
And step 250, acquiring an interpretation result of the telemetric data to be interpreted according to the interpretation rule so as to determine whether the telemetric data to be interpreted is abnormal.
On the basis of the embodiment, the embodiment considers whether the telemetering data to be interpreted has a logical relationship, determines the interpretation rule adapted to the telemetering data to be interpreted, realizes independent or batch configuration of the interpretation rule of the telemetering data, and improves the flexibility of telemetering data interpretation.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a telemetry data interpretation apparatus according to a third embodiment of the present invention. The device can be realized in a hardware and/or software mode, can execute the telemetering data interpretation method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. As shown in fig. 3, the apparatus includes:
a data acquisition module 310, configured to acquire telemetry data to be interpreted;
an interpretation rule determining module 320, configured to determine an interpretation rule according to the association relationship between the telemetry data to be interpreted; wherein the interpretation rules include: at least one of a base rule in a base rule base and a rule template in a rule template base;
and the interpretation result obtaining module 330 is configured to obtain an interpretation result of the to-be-interpreted telemetry data according to the interpretation rule, so as to determine whether the to-be-interpreted telemetry data is abnormal.
The embodiment of the invention obtains the telemetering data to be interpreted; determining an interpretation rule according to the incidence relation between the telemetering data to be interpreted; wherein the interpretation rules include: at least one of a base rule in a base rule base and a rule template in a rule template base; and acquiring an interpretation result of the telemetering data to be interpreted according to the interpretation rule so as to determine whether the telemetering data to be interpreted is abnormal. The problem that only a single criterion matched with each item of test data can be selected and comprehensive interpretation of multiple criteria configured for the telemetering data cannot be supported by relying on an existing fixed knowledge base is solved. The comprehensive judgment of the telemetry data by multiple criteria is realized, so that the purposes of improving the flexibility and efficiency of telemetry data interpretation are achieved.
On the basis of the above technical solutions, optionally, the interpretation rule determining module 320 includes:
the logical relationship judging unit is used for judging whether a logical relationship exists between the telemetering data to be interpreted;
the data instance determining unit is used for determining the telemetering data instance to be interpreted according to the logical relationship if the logical relationship judging unit judges that the telemetering data instance is to be interpreted;
the judgment rule determining unit is used for determining the interpretation rule matched with the telemetering data example to be interpreted; and the adaptation of the telemetering data example to be interpreted and the interpretation rule is set to be predetermined.
On the basis of the above technical solutions, optionally, the logical relationship includes: at least one of a combinatorial relationship, a causal relationship, and a temporal relationship.
On the basis of the above technical solutions, optionally, the rule template is formed by basic rules in the basic rule base according to a preset logical relationship.
On the basis of the above technical solutions, optionally, the apparatus further includes:
a basic rule creating module for creating a basic rule in the basic rule base in response to a basic rule creating request;
and the rule template creating module is used for responding to a rule template creating request and creating a rule template in the rule template library.
On the basis of the above technical solutions, optionally, the apparatus further includes:
the processing operation execution module is used for executing processing operation on the telemetering data to be interpreted and/or the interpretation result of the telemetering data to be interpreted; wherein the processing operation comprises: at least one of a display operation, a storage operation, a playback operation, and a deletion operation.
On the basis of the foregoing technical solutions, optionally, the processing operation execution module includes:
and the playback unit is used for playing back the telemetering data to be interpreted and/or the interpretation result of the telemetering data to be interpreted according to a specified rate.
Example four
Fig. 4 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention, as shown in fig. 4, the apparatus includes a processor 40, a memory 41, an input device 42, and an output device 43; the number of processors 40 in the device may be one or more, and one processor 40 is taken as an example in fig. 4; the processor 40, the memory 41, the input means 42 and the output means 43 in the device may be connected by a bus or other means, as exemplified by the bus connection in fig. 4.
Memory 41 is provided as a computer-readable storage medium that may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the telemetry data interpretation method in embodiments of the present invention. The processor 40 executes various functional applications of the device and data processing, i.e., implementing the telemetry data interpretation method described above, by executing software programs, instructions, and modules stored in the memory 41.
The memory 41 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 41 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 41 may further include memory located remotely from processor 40, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
EXAMPLE five
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a method for interpreting telemetry data, the method including:
acquiring telemetering data to be interpreted;
determining an interpretation rule according to the incidence relation between the telemetering data to be interpreted; wherein the interpretation rules include: at least one of a base rule in a base rule base and a rule template in a rule template base;
and acquiring an interpretation result of the telemetering data to be interpreted according to the interpretation rule so as to determine whether the telemetering data to be interpreted is abnormal.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the method described above, and may also perform related operations in the telemetry data interpretation method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the telemetry data interpretation apparatus, the units and modules included in the embodiment are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.