CN113282350B - Telemetering data interpretation method and device, computer equipment and readable storage medium - Google Patents

Telemetering data interpretation method and device, computer equipment and readable storage medium Download PDF

Info

Publication number
CN113282350B
CN113282350B CN202110578369.0A CN202110578369A CN113282350B CN 113282350 B CN113282350 B CN 113282350B CN 202110578369 A CN202110578369 A CN 202110578369A CN 113282350 B CN113282350 B CN 113282350B
Authority
CN
China
Prior art keywords
interpretation
target
node
data
judgment
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
CN202110578369.0A
Other languages
Chinese (zh)
Other versions
CN113282350A (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.)
Shenzhen Zero One Space Electronics Co ltd
Chongqing One Space Aerospace Technology Co Ltd
Beijing Zero One Space Technology Research Institute Co Ltd
Chongqing Zero One Space Technology Group Co Ltd
Xian Zero One Space Technology Co Ltd
Original Assignee
Shenzhen Zero One Space Electronics Co ltd
Chongqing One Space Aerospace Technology Co Ltd
Beijing Zero One Space Technology Research Institute Co Ltd
Chongqing Zero One Space Technology Group Co Ltd
Xian Zero One 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 Shenzhen Zero One Space Electronics Co ltd, Chongqing One Space Aerospace Technology Co Ltd, Beijing Zero One Space Technology Research Institute Co Ltd, Chongqing Zero One Space Technology Group Co Ltd, Xian Zero One Space Technology Co Ltd filed Critical Shenzhen Zero One Space Electronics Co ltd
Priority to CN202110578369.0A priority Critical patent/CN113282350B/en
Publication of CN113282350A publication Critical patent/CN113282350A/en
Application granted granted Critical
Publication of CN113282350B publication Critical patent/CN113282350B/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

Abstract

The invention provides a telemetering data interpretation method, a telemetering data interpretation device, computer equipment and a readable storage medium, wherein the method comprises the following steps: establishing an interpretation rule file; establishing a target interpretation network according to the interpretation rule file; acquiring target telemetering data to be interpreted; inputting the target telemetering data into the target interpretation network for interpretation to obtain an interpretation result; according to the invention, by establishing the interpretation rule of the data and establishing and updating the corresponding interpretation network according to the interpretation rule, the rocket telemetering data acquired in real time is judged through the interpretation network to obtain the corresponding judgment result, so that the dynamic configuration, automatic interpretation and real-time issuing of the interpretation result of the rocket telemetering data rule are realized, the problems of telemetering data omission and misjudgment caused by manual interpretation in the prior art are effectively solved, the data interpretation efficiency is high, the accuracy is high, the timeliness is good, and the host deployment cost and the labor cost are reduced.

Description

Telemetering data interpretation method and device, computer equipment and readable storage medium
Technical Field
The invention relates to the technical field of data processing, in particular to a telemetering data interpretation method and device, computer equipment and a readable storage medium.
Background
The rocket telemetering data interpretation is the core function of a rocket testing, launching and control system, and mainly carries out accurate and real-time analysis and investigation on the normal conditions of telemetering parameters such as rocket electricity, flight control and the like in the rocket assembly testing stage and the launching and flying process. In the rocket assembly test stage, data interpretation receives and judges whether the parameters of the electrical matching test, the electrical system of each special test and various sensors are normal or not in real time, and provides important technical support for judging whether the rocket assembly test meets the design requirements or not. In the process of rocket launching flight, data interpretation receives and judges whether the researched telemetering parameters are normal or not in real time, and the method is a key technical means for realizing effective and accurate judgment of the normal flight attitude of the rocket.
At present, rocket telemetry data interpretation basically adopts a manual interpretation mode, in order to not omit key telemetry parameters, a plurality of host computers need to be deployed, each host computer only displays one or one group of parameter monitoring interfaces, so that host computer resource waste is caused, and the deployment cost is increased linearly according to the number of monitoring parameters; in order to save the deployment cost, one host can switch and display a plurality of or a plurality of groups of parameter monitoring interfaces, however, in the actual monitoring process, the monitoring interfaces need to be manually and frequently switched, and only one or one group of parameter monitoring and interpretation interfaces can be displayed at a certain moment, so that the hidden danger of missing part of key telemetering parameter interpretation and misinterpretation appears, and the requirement of data interpretation which is one hundred percent and is absolutely not met.
However, at present, the telemetry data is interpreted manually, which not only causes problems of omission and misjudgment of telemetry data, but also cannot meet the requirement of accurate interpretation of telemetry data, and also causes resource waste of a host and manpower.
Disclosure of Invention
Aiming at the defects in the prior art, the telemetering data interpretation method, the telemetering data interpretation device, the computer equipment and the readable storage medium provided by the invention solve the problems of telemetering data omission and misjudgment in the prior art through manual interpretation, have high data interpretation efficiency, high precision and good timeliness, and reduce the host deployment cost and labor cost.
In a first aspect, the present invention provides a telemetry data interpretation method, the method comprising: establishing an interpretation rule file; establishing a target interpretation network according to the interpretation rule file; acquiring target telemetering data to be interpreted; and inputting the target telemetering data into the target interpretation network for interpretation to obtain an interpretation result.
Optionally, establishing a target interpretation network according to the interpretation rule file, including: acquiring independent judgment conditions in the interpretation rule file; acquiring the type of the telemetering data in the independent judgment condition; judging whether a data type node corresponding to the telemetering data type exists in an original interpretation network or not; when the data type node does not exist in the original interpretation network, setting an independent judgment node matched with the independent judgment condition; and adding the data type node and the independent judgment node into the original interpretation network to form the target interpretation network.
Optionally, establishing a target interpretation network according to the interpretation rule file, further comprising: acquiring all independent judgment conditions and all combined judgment conditions in the interpretation rule file; acquiring the type of the telemetering data in each independent judgment condition; judging whether a data type node corresponding to the telemetry data type exists in an original interpretation network; when the data type node does not exist in the original interpretation network, setting an independent judgment node matched with the independent judgment condition; generating a corresponding number of combined judgment nodes according to all the combined judgment conditions; and adding all the data type nodes, all the independent judging nodes and all the combined judging nodes into the original interpretation network to form the target interpretation network.
Optionally, after generating a corresponding number of combined judgment nodes according to all the combined judgment conditions, the method further includes: acquiring a target node number of a current combination judgment node; judging whether the current combination judgment node is a first combination judgment node or not according to the target node number; when the current combination judgment node is a first combination judgment node, taking the first independent judgment node and a second independent judgment node as two father nodes of the first combination judgment node; and when the current combination judgment node is not the first combination judgment node, taking a target combination judgment node as a left input father node of the current combination judgment node, and taking a target independent judgment node as a right input father node of the current combination judgment node, wherein the node number corresponding to the target combination judgment node is the target node number minus one, and the ID identification corresponding to the target independent judgment node is the target node number plus one.
Optionally, the obtaining target telemetry data to be interpreted includes: receiving a telemetry data frame in real time; analyzing the telemetering data frame according to a network communication protocol to obtain a plurality of parameter value objects; storing the plurality of parameter value object parameter value objects in a data cache queue; judging whether a plurality of parameter value objects in the data cache queue are registered or not; when the parameter value object has been registered, treating the parameter value object as the target telemetry data.
Optionally, inputting the target telemetry data into the target interpretation network for interpretation, and obtaining an interpretation result, where the interpreting result includes: acquiring a target data type of the target telemetry data; judging the independent judgment node matched with the target telemetering data input when the target data type is matched with the data type node in the target judging network; and when the target telemetering data is successfully interpreted at the independent judgment node, inputting the successful result of the independent judgment node into the matched combined interpretation node for interpretation, so that the target interpretation network outputs the interpretation result of the target telemetering data.
Optionally, inputting the success result of the independent judgment node into the matched combined interpretation node for interpretation, so that the target interpretation network outputs the interpretation result of the target telemetry data, including: acquiring the success result and inputting the success result into a port area of the combined judgment node; when the port area is a first end, storing the success result in a first storage area of the combined judgment node as a target matching object; when the port area is a second end, matching the success result with a target matching object stored in the combined judgment node; and inputting the successfully matched result into the next combined judgment node for interpretation until the terminal node of the target interpretation network outputs the interpretation result.
In a second aspect, the present invention provides a telemetry data interpretation apparatus, the apparatus comprising: the rule file establishing module is used for establishing an interpretation rule file; the interpretation network establishing module is used for establishing a target interpretation network according to the interpretation rule file; the telemetering data acquisition module is used for acquiring target telemetering data to be interpreted; and the telemetering data interpretation module is used for inputting the target telemetering data into the target interpretation network for interpretation and acquiring an interpretation result.
In a third aspect, the present invention provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: establishing an interpretation rule file; establishing a target interpretation network according to the interpretation rule file; acquiring target telemetering data to be interpreted; and inputting the target telemetering data into the target interpretation network for interpretation to obtain an interpretation result.
In a fourth aspect, the present invention provides a readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of: establishing an interpretation rule file; establishing a target interpretation network according to the interpretation rule file; acquiring target telemetering data to be interpreted; and inputting the target telemetering data into the target interpretation network for interpretation to obtain an interpretation result.
Compared with the prior art, the invention has the beneficial effects that:
according to the invention, by establishing the interpretation rule of the data and establishing and updating the corresponding interpretation network according to the interpretation rule, the rocket telemetering data acquired in real time is judged through the interpretation network to obtain the corresponding judgment result, so that the dynamic configuration, automatic interpretation and real-time issuing of the interpretation result of the rocket telemetering data rule are realized, the problems of telemetering data omission and misjudgment caused by manual interpretation in the prior art are effectively solved, the data interpretation efficiency is high, the accuracy is high, the timeliness is good, and the host deployment cost and the labor cost are reduced.
Drawings
FIG. 1 is a schematic flow chart of a telemetry data interpretation method according to an embodiment of the invention;
FIG. 2 is a schematic diagram illustrating a detailed flow chart of step S102 in FIG. 1;
fig. 3 is a schematic diagram of a target interpretation network according to an embodiment of the present invention;
FIG. 4 is a block diagram of a telemetry data interpretation apparatus according to an embodiment of the present invention;
FIG. 5 is a block diagram illustrating a telemetry data interpretation system according to an embodiment of the present invention;
fig. 6 is a schematic diagram illustrating initialization of a target interpretation network according to an embodiment of the present invention;
fig. 7 is a schematic diagram illustrating dynamic changes of a target interpretation network according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making creative efforts shall fall within the protection scope of the present application.
FIG. 1 is a schematic flow chart illustrating a telemetry data interpretation method according to an embodiment of the present invention; as shown in fig. 1, the telemetry data interpretation method specifically includes the following steps:
and step S101, establishing an interpretation rule file.
It should be noted that the interpretation rule in this embodiment mainly includes two forms of threshold interpretation and multi-parameter association interpretation, where the threshold interpretation refers to a given parameter value, a parameter maximum value or a parameter minimum value, and determines whether a parameter is within a normal range, and if a parameter value is greater than the given maximum value or less than the given minimum value, the interpretation result is abnormal; if the minimum value is between the maximum value and the minimum value, judging that the reading result is normal; the multi-parameter association interpretation refers to interpreting and resolving a plurality of parameter values in the telemetering data according to a defined logic condition rule, and obtaining an interpretation resolving result, wherein if the logic condition is satisfied, the interpretation result is normal, and if the logic condition is not satisfied, the interpretation result is abnormal. The technology is based on a Drools expression rule, a threshold parameter interpretation rule file and a multi-parameter association interpretation rule file are built according to the Drools expression rule, the rule can be simply expressed as a triple (an object, an attribute and a value), a business rule is subscribed by using the causal relationship of events, the purpose that when the condition is true, an action is executed is achieved, and a Drools generation rule is divided into a front part (LHS) and a back part (RHS), and is shown in the attached figure 4 through expression forms. The front piece represents a condition, which is a combination of several conditional sub-elements (i.e., patterns); the back piece is an Action which is executed after the rule pattern matching is successful. For example, the content of the interpretation rule file is: if the value of the parameter A is more than 5.6, the value of the parameter B is more than 6.1, and the value of the parameter C is more than 7.5, the interpretation result is an abnormal state.
And step S102, establishing a target interpretation network according to the interpretation rule file.
In this embodiment, establishing a target interpretation network according to the interpretation rule file includes: acquiring independent judgment conditions in the interpretation rule file; acquiring the telemetry data type in the independent judgment condition; judging whether a data type node corresponding to the telemetry data type exists in an original interpretation network; when the data type node does not exist in the original interpretation network, setting an independent judgment node matched with the independent judgment condition; and adding the data type node and the independent judgment node into the original interpretation network to form the target interpretation network.
As shown in fig. 2, establishing a target interpretation network according to the interpretation rule file further includes the following steps:
step S201, acquiring all independent judgment conditions and all combined judgment conditions in the interpretation rule file;
step S202, the type of the telemetering data in each independent judgment condition is obtained;
step S203, when the data type node does not exist in the original interpretation network, setting an independent judgment node matched with the independent judgment condition;
step S204, generating a corresponding number of combined judgment nodes according to all the combined judgment conditions;
and step S205, adding all data type nodes, all independent judgment nodes and all combined judgment nodes into the original interpretation network to form the target interpretation network.
In this embodiment, generating a corresponding number of combination judgment nodes according to the all combination judgment conditions includes: acquiring a target node number of a current combination judgment node; judging whether the current combination judgment node is a first combination judgment node or not according to the target node number; when the current combination judgment node is a first combination judgment node, taking the first independent judgment node and a second independent judgment node as two father nodes of the first combination judgment node; and when the current combination judgment node is not the first combination judgment node, taking a target combination judgment node as a left input father node of the current combination judgment node, and taking a target independent judgment node as a right input father node of the current combination judgment node, wherein the node number corresponding to the target combination judgment node is the target node number minus one, and the ID identification corresponding to the target independent judgment node is the target node number plus one.
It should be noted that, in this embodiment, the node numbers of the independent judgment nodes and the node numbers of the combined judgment nodes are sequentially numbered from left to right, for example, the node number of the first independent judgment node on the left in the target interpretation network is 1, the node number of the second independent judgment node is 2, the node number of the ith independent judgment node is i, and so on, the node number rule of the combined judgment node in the target interpretation network is the same as the number rule of the independent judgment node, and details are not described here.
In the embodiment, the telemetry parameters in each independent judgment condition in the interpretation rule file generate a data type node for performing intra-mode test or inter-mode test operation. Four node types are defined in the interpretation network: the system comprises a root node, a data type node, an independent judgment node and a combined judgment node; wherein, the root node is a virtual node and is an entrance for constructing an interpretation network; storing various types of modes in the data type nodes, and entering each telemetering parameter into an interpretation network from the corresponding type node in a matching stage; the independent judgment node has only one input and corresponds to the mode internal test; the combined judgment node is provided with a left input and a right input, the left input can be an independent judgment node or a combined judgment node, the right input is always the independent judgment node, and the combined judgment node corresponds to the inter-mode test; the node at the end of the network (which may be an independent judgment node or a combined judgment node) is called a terminal node, and includes matching information of all judgment conditions of a rule, which indicates that the rule is activated.
In this embodiment, different telemetry data have different interpretation methods, the different interpretation methods correspond to different interpretation rule files, and one interpretation network may include a plurality of different interpretation rule files; therefore, when the target interpretation network is established according to the current interpretation rule file, an original interpretation network exists at present, and then the current original interpretation network is updated by the independent judgment condition and the combined judgment condition in the interpretation rule file to obtain the target interpretation network.
The target interpretation network consists of an independent interpretation network and a combined interpretation network, the independent interpretation network consists of all independent judgment nodes, and the information of each independent judgment condition is recorded. The combined interpretation network consists of all combined interpretation nodes, records variable binding information among regular modes, and is used for checking the mutual constraint relation among corresponding modes caused by the same-name variables among different modes so as to ensure the consistency of the values of the same-name variables.
The construction steps of the target interpretation network are as follows: 1. creating a network entry, i.e., a root node; 2. acquiring all independent judgment conditions in the judgment rule file and the telemetering data type in each independent judgment condition, checking the telemetering data type, and adding a type node if the telemetering data type is a new type; checking whether the corresponding independent judgment node in each independent judgment condition exists, if so, recording the position of the node, if not, adding the independent judgment condition as an independent judgment node into the network, and simultaneously establishing a memory table according to the mode of the independent judgment node; 3. the combined judging node is as follows: the left input node of the first combined judgment node is a first independent judgment node, and the right input node of the first combined judgment node is a second independent judgment node; the left input node of the ith combined judgment node is an i-1 th combined judgment node, the right input node is an i +1 th independent judgment node, i is more than or equal to 2, and the memory tables of two father nodes are internally connected into a memory table of the ith combined judgment node; 4. and encapsulating the actions into leaf nodes as output nodes of the target interpretation network.
As shown in fig. 3, the content of the interpretation rule file is: if the value of the parameter A is more than 5.6, the value of the parameter B is more than 6.1, and the value of the parameter C is more than 7.5, judging that the reading result is an abnormal state; the value of the parameter A is more than 5.6, the value of the parameter B is more than 6.1, the value of the parameter C is more than 7.5, the parameter A is an independent judgment condition, the data type of the parameter A is a telemetering data type of a first independent judgment condition, the data type of the parameter B is a telemetering data type of a second independent judgment condition by analogy, and the data type of the parameter C is a telemetering data type of a third independent judgment condition; the first combination judgment condition is that the value of the parameter a is greater than 5.6 and the value of the parameter B is greater than 6.1, and the second combination judgment condition is that the value of the parameter a is greater than 5.6 and the value of the parameter B is greater than 6.1 and the value of the parameter C is greater than 7.5.
And step S103, acquiring target telemetering data to be interpreted.
In this embodiment, the obtaining of the target telemetry data to be interpreted specifically includes: receiving a telemetry data frame in real time; analyzing the telemetering data frame according to a network communication protocol to obtain a plurality of parameter value objects; storing the plurality of parameter value object parameter value objects in a data cache queue; judging whether a plurality of parameter value objects in the data cache queue are registered or not; when the parameter value object has been registered, treating the parameter value object as the target telemetry data.
It should be noted that the real-time telemetry receives the rocket telemetry data frame, and performs effective parsing processing on the data frame according to the network communication protocol, and parses the data frame into a plurality of discrete parameter real-time value objects. The parameter real-time value object comprises the contents of a parameter number, a parameter name, a parameter type, telemetry time, a parameter value and the like, then the parameter real-time value object obtained by analysis is pushed into a telemetry data cache queue, a write pointer is modified, and when the write pointer points to the tail of the telemetry data cache queue, the next position points to the head of the queue; and reading the parameter real-time value object in the telemetry data cache queue in real time, filtering out the parameter which is not registered and subscribed by the automatic interpretation engine, and then releasing the parameter value object to be interpreted.
It should be explained that the telemetry data frames of this embodiment are divided into types of flight control frames, fast-change frames, slow-change frames, and the like, each type of data frame corresponds to a communication frame protocol, and the protocol is essentially a section of byte sequence and covers the contents of a frame header, a data block, a frame trailer, and the like. In the data processing process, a plurality of data blocks in a data frame need to be extracted and mapped into a discrete parameter real-time value object, and the real-time value object includes information such as a parameter name, a parameter type, a parameter real-time value, a current time and the like. Because the circular buffer queue is introduced in the data processing process, and the queue is a structure in which the heads and the tails of the circles are connected, when the current processing position is at the tail of the queue, the next position is the head of the queue. Furthermore, a parameter configuration file is stored locally, the file manually configures the parameters needing to be registered and subscribed, and the configuration file needs to be loaded when the automatic interpretation engine is started, so that the automatic interpretation engine knows which parameters need to be subscribed; each parameter has a unique identifier, the two parameters are distinguished and compared through the unique identifier, and the current telemetric parameter is compared with a registration parameter list loaded by an automatic interpretation engine to confirm whether the parameter is an unsubscribed parameter.
And step S104, inputting the target telemetering data into the target interpretation network for interpretation, and acquiring an interpretation result.
In this embodiment, inputting the target telemetry data into the target interpretation network for interpretation, and obtaining an interpretation result includes: obtaining a target data type of the target telemetry data; judging the independent judgment node matched with the target telemetering data input when the target data type is matched with the data type node in the target judging network; and when the target telemetering data is successfully interpreted at the independent judgment node, inputting the successful result of the independent judgment node into the matched combined interpretation node for interpretation, so that the target interpretation network outputs the interpretation result of the target telemetering data.
In this embodiment, inputting the success result of the independent judgment node into the matched combined interpretation node for interpretation, so that the target interpretation network outputs the interpretation result of the target telemetry data, includes: acquiring the success result and inputting the success result into a port area of the combined judgment node; when the port area is a first end, storing the success result in a first storage area of the combined judgment node as a target matching object; when the port area is a second end, matching the success result with a target matching object stored in the combined judgment node; and inputting the successfully matched result into the next combined judgment node for interpretation until the terminal node of the target interpretation network outputs the interpretation result.
It should be noted that, in the embodiment, the determination result includes data exception, the telemetry parameter real-time value is used as a fact assertion used by the rule engine, the fact assertion enters the target interpretation network from the root node, and first enters the independent determination node to perform the pattern matching processing. The independent judgment node is processed according to the following steps:
1) If the fact assertion is matched with a certain subsequent node (data type node) type of the root node, storing the fact assertion into a storage area of the node, and then entering the step 2) of a subsequent matching process; and if all subsequent node types of the root node cannot be matched with the fact assertion, discarding the fact assertion and not performing subsequent processing.
2) Matching the fact assertion with a mode represented by an independent judgment node corresponding to the data type node, and if the fact assertion and the mode are not matched, entering the step 3), and interrupting the subsequent matching of the fact assertion; if there is a match, step 4) is entered.
3) And emptying storage areas corresponding to the independent judgment nodes, and then sequentially emptying buffer areas corresponding to the subsequent associated nodes in a recursive mode.
4) If the node memory is not empty, the fact assertion data in the node memory is cleared first, and a buffer corresponding to a subsequent associated node is cleared in a recursive manner. The fact assertion is stored in a storage area corresponding to the independent judgment node, and then the fact assertion is transmitted to the subsequent node to continue matching.
And if the combined judgment node exists, then entering the combined judgment node to perform matching processing. The combined judgment node is processed according to the following steps:
1) If the fact assertion is transmitted to the right end of the combination judgment node, the fact assertion is added into a second storage area of the combination judgment node and is matched with a token (a successful result of inter-mode test) in the first storage area, if the matching is successful, the fact assertion is added into the token, in order to form a chain relation, the fact assertion ID is used as a parent ID of the token, and then the token is transmitted to the next node; otherwise the subsequent match of the fact assertion is discarded.
2) If the token is transmitted to the left end of the combined judgment node, the token is added into a first storage area of the combined judgment node and is matched with the fact assertion in a second storage area, if the matching is successful, the token encapsulates the fact assertion to form a new token, and meanwhile, the fact assertion ID in the first storage area and the second storage area is used as the father ID of the new token and is transmitted to the next node; otherwise the subsequent match for the token is discarded.
3) If the fact assertion is transmitted to the left end of the combined judging node, the fact assertion is packaged into a token with only one fact assertion element, the fact assertion ID is used as a parent ID of the token, and then matching is carried out according to the method in the 2).
4) If the fact assertion is delivered to the end node, the fact assertion is packaged into a token with only one fact assertion element, the fact assertion ID is used as the parent ID of the token, and then matching is performed according to the method described in 5).
5) If token is delivered to the end node, token is put into the conflict arbitration executor. And the arbitration executor performs conflict processing according to the priority strategy and judges whether the rule corresponding to the root node is activated or not. If the activation is carried out, establishing corresponding activation, storing the activation into an interpretation result publisher, and waiting for publication; and recursively deleting the combined judgment node storage area memory or the independent judgment node storage area memory corresponding to the fact assertion relevant to the token according to the parent-child relation chain. If not, recursively deleting the combined judgment node storage area memory or the independent judgment node storage area memory corresponding to the fact assertion related to the token directly according to the parent-child relationship chain.
Compared with the prior art, the invention has the beneficial effects that:
according to the invention, the interpretation rule of the data is established, and the corresponding interpretation network is established and updated according to the interpretation rule, so that the rocket telemetering data acquired in real time is judged through the interpretation network to obtain the corresponding judgment result, thereby realizing dynamic configuration, automatic interpretation and real-time release of the interpretation result of the rocket telemetering data rule, effectively solving the problems of telemetering data omission and misjudgment caused by manual interpretation in the prior art, and not only is the data interpretation efficiency high, the precision high and the timeliness good, but also the host deployment cost and the labor cost are reduced.
FIG. 4 is a block diagram illustrating an exemplary telemetry data interpretation apparatus according to an embodiment of the present invention; as shown in fig. 4, the telemetry interpretation apparatus includes:
a rule file establishing module 110, configured to establish an interpretation rule file;
an interpretation network establishing module 120, configured to establish a target interpretation network according to the interpretation rule file;
a telemetry data acquisition module 130 for acquiring target telemetry data to be interpreted;
and the telemetering data interpretation module 140 is configured to input the target telemetering data into the target interpretation network for interpretation, and obtain an interpretation result.
FIG. 5 is a block diagram illustrating a telemetry data interpretation system according to an embodiment of the present invention; as shown in fig. 5, the telemetry data interpretation system mainly includes a telemetry data receiver, a telemetry data buffer queue, a telemetry data filter, an automatic data interpretation engine, and an interpretation result publisher. In the embodiment, the telemetering data interpretation system realizes various types of interpretation such as telemetering parameter threshold interpretation, multi-parameter correlation interpretation and the like, and the method mainly comprises the main aspects of program initialization, data receiving and filtering, automatic interpretation, result publishing and the like, and simultaneously introduces a data circular buffer queue to realize asynchronous separation and decoupling of data receiving and data processing logic and reduce the impact of data peak value bulges on the system.
In the program initialization process of the embodiment, a telemetry data receiving thread is started, a telemetry data cache queue is operated, a read pointer and a write pointer are initialized, a telemetry data filter is started, and a telemetry data automatic interpretation engine is started in sequence. The system defines a telemetry parameter interpretation rule file in Drools format. The automatic interpretation engine firstly loads and analyzes the parameter interpretation rule file, on one hand, an interpretation rule pattern matching network is built and perfected based on each rule, and on the other hand, the parameter to be interpreted is registered and subscribed for the telemetry data filter. And then running a Drools rule engine and starting a rule pattern matching thread.
And the telemetering data receiver telemeters and receives the rocket telemetering data frame in real time, and effectively analyzes the data frame according to a network communication protocol to analyze the data frame into a plurality of discrete parameter real-time value objects. The parameter real-time value object comprises the contents of a parameter number, a parameter name, a parameter type, telemetry time, a parameter value and the like, then the parameter real-time value object obtained by analysis is pushed to a telemetry data cache queue, a write pointer is modified, and when the write pointer points to the tail of the telemetry data cache queue, the next position points to the head of the queue. And the telemetering data filter reads the parameter real-time value object in the telemetering data cache queue in real time, filters out the parameter which is not registered and subscribed by the automatic interpretation engine, then releases the parameter value object to be interpreted, and pushes the parameter value object to the data automatic interpretation engine.
And the Drools rule engine receives the parameter real-time value object, then reads the rule file according to the parameter compiled in advance, performs rule real-time matching based on the interpretation rule pattern matching network, obtains a parameter interpretation result, then pushes the result to the actuator, the actuator processes the interpretation result with conflict according to the priority condition, and finally pushes the interpretation result to the interpretation result publisher for UDP multicast publishing of the interpretation result.
Fig. 6 is a schematic diagram illustrating initialization of a target interpretation network according to an embodiment of the present invention; as shown in fig. 6, the limited initial working memory ([ A1=6.7] [ B1=7.8] [ C1=8.3 ]) constructs an initial state diagram of the target interpretation network and performs the factual assertion rule pattern matching through the interpretation rule file mentioned in the above embodiment.
Fig. 7 is a schematic diagram illustrating the dynamic change of the target interpretation network according to the embodiment of the present invention, now the fact assertion changes in the working memory ([ A1=6.7] [ B1=7.8] [ C1=8.3] [ A2=6.7] [ B2=7.6] [ B3=7.8] [ C2=9.2] [ C3=9.3 ]), and the target interpretation network will dynamically change based on the original state diagram. The fact assertion that the telemetry parameters are latest and latest in the target interpretation network is always kept because the telemetry parameter data changes in real time and the memory of the independent judgment node and the memory of the combined judgment node in the target interpretation network changes violently.
The telemetering data interpretation system provided by the embodiment does not need to deploy one host on each or every group of parameter monitoring interfaces, and saves deployment cost. Only one host needs to be deployed, abnormal interpretation results issued by the data automation interpretation engine in a UDP multicast mode are received in real time, and then response processing is carried out. And the automatic interpretation effectively solves the obvious defects of manual interpretation, and has higher interpretation efficiency, lower error rate and better timeliness.
In another embodiment of the present invention, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: establishing an interpretation rule file; establishing a target interpretation network according to the interpretation rule file; acquiring target telemetering data to be interpreted; and inputting the target telemetering data into the target interpretation network for interpretation to obtain an interpretation result.
In a further embodiment of the invention, a readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of: establishing an interpretation rule file; establishing a target interpretation network according to the interpretation rule file; acquiring target telemetering data to be interpreted; and inputting the target telemetering data into the target interpretation network for interpretation to obtain an interpretation result.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It is noted that, in this document, relational terms such as "first" and "second," and the like, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.

Claims (9)

1. A telemetering data interpretation method is characterized in that the method is applied to a telemetering data interpretation system, the telemetering data interpretation system mainly comprises a telemetering data receiver, a telemetering data buffer queue, a telemetering data filter, a data automatic interpretation engine and an interpretation result publisher, and the method comprises the following steps:
establishing an interpretation rule file; loading and analyzing the interpretation rule file by a data automatic interpretation engine, and establishing a target interpretation network;
acquiring target telemetering data to be interpreted;
inputting the target telemetering data into the target interpretation network for interpretation, acquiring an interpretation result, and pushing the interpretation result to an interpretation result publisher for UDP multicast publishing of the interpretation result;
the method for acquiring target telemetering data to be interpreted comprises the following steps: the method comprises the steps that a telemetering data receiver receives a telemetering data frame in real time and analyzes the telemetering data frame according to a network communication protocol to obtain a plurality of parameter value objects, wherein the parameter value objects comprise parameter numbers, parameter names, parameter types, telemetering time and parameter values; storing the parameter value objects in a telemetering data cache queue, modifying a write pointer, and pointing to the head of the queue at the next position when the write pointer points to the tail of the telemetering data cache queue; judging whether a plurality of parameter value objects in the data cache queue are registered or not; when the parameter value object has been registered, treating the parameter value object as the target telemetry data;
wherein determining whether a plurality of parameter value objects in the telemetry data cache queue are registered comprises: loading a parameter configuration file comprising registered parameters by a data automatic interpretation engine to obtain a registered parameter list; and comparing the current parameter value object with the registration parameter list, and judging whether the current parameter value object is registered.
2. The telemetry data interpretation method of claim 1 wherein establishing a target interpretation network based on the interpretation rule document comprises:
acquiring independent judgment conditions in the interpretation rule file;
acquiring the telemetry data type in the independent judgment condition;
judging whether a data type node corresponding to the telemetry data type exists in an original interpretation network;
when the data type node does not exist in the original interpretation network, setting an independent judgment node matched with the independent judgment condition;
and adding the data type node and the independent judgment node into the original interpretation network to form the target interpretation network.
3. The telemetry data interpretation method of claim 1 wherein establishing a target interpretation network based on the interpretation rule document further comprises:
acquiring all independent judgment conditions and all combined judgment conditions in the interpretation rule file;
acquiring the type of the telemetering data in each independent judgment condition;
judging whether a data type node corresponding to the telemetry data type exists in an original interpretation network;
when the data type node does not exist in the original interpretation network, setting an independent judgment node matched with the independent judgment condition;
generating a corresponding number of combined judgment nodes according to all the combined judgment conditions;
and adding all the data type nodes, all the independent judgment nodes and all the combined judgment nodes into the original interpretation network to form the target interpretation network.
4. The telemetry data interpretation method of claim 3, after generating a corresponding number of combined decision nodes based on the all combined decision conditions, the method further comprising:
acquiring a target node number of a current combination judgment node;
judging whether the current combination judgment node is a first combination judgment node or not according to the target node number;
when the current combination judgment node is a first combination judgment node, taking the first independent judgment node and a second independent judgment node as two father nodes of the first combination judgment node;
and when the current combination judgment node is not the first combination judgment node, taking a target combination judgment node as a left input father node of the current combination judgment node, and taking a target independent judgment node as a right input father node of the current combination judgment node, wherein the node number corresponding to the target combination judgment node is the target node number minus one, and the ID identification corresponding to the target independent judgment node is the target node number plus one.
5. The telemetry data interpretation method of claim 4 wherein inputting the target telemetry data into the target interpretation network for interpretation to obtain an interpretation result comprises:
obtaining a target data type of the target telemetry data;
judging the independent judgment node matched with the target telemetering data input when the target data type is matched with the data type node in the target judging network;
and when the target telemetering data is successfully interpreted at the independent judgment node, inputting the successful result of the independent judgment node into the matched combined interpretation node for interpretation, so that the target interpretation network outputs the interpretation result of the target telemetering data.
6. The telemetry data interpretation method of claim 5 wherein inputting the success results of the independent judgment nodes into the matched combined interpretation node for interpretation so that the target interpretation network outputs the interpretation result of the target telemetry data comprises:
acquiring the success result and inputting the success result into a port area of the combined judgment node;
when the port area is a first end, storing the success result in a first storage area of the combined judgment node as a target matching object;
when the port area is a second end, matching the success result with a target matching object stored in the combined judgment node;
and inputting the successfully matched result into the next combined judgment node for interpretation until the terminal node of the target interpretation network outputs the interpretation result.
7. A telemetry data interpretation apparatus based on the telemetry data interpretation method of claim 1, the apparatus comprising:
the rule file establishing module is used for establishing an interpretation rule file;
the interpretation network establishing module is used for establishing a target interpretation network according to the interpretation rule file;
the telemetering data acquisition module is used for acquiring target telemetering data to be interpreted;
and the telemetering data interpretation module is used for inputting the target telemetering data into the target interpretation network for interpretation and acquiring an interpretation result.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 6 are implemented by the processor when executing the computer program.
9. A readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN202110578369.0A 2021-05-26 2021-05-26 Telemetering data interpretation method and device, computer equipment and readable storage medium Active CN113282350B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110578369.0A CN113282350B (en) 2021-05-26 2021-05-26 Telemetering data interpretation method and device, computer equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110578369.0A CN113282350B (en) 2021-05-26 2021-05-26 Telemetering data interpretation method and device, computer equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113282350A CN113282350A (en) 2021-08-20
CN113282350B true CN113282350B (en) 2023-01-13

Family

ID=77281838

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110578369.0A Active CN113282350B (en) 2021-05-26 2021-05-26 Telemetering data interpretation method and device, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113282350B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114153929B (en) * 2022-02-08 2022-07-22 星河动力(北京)空间科技有限公司 Test data interpretation method and device, electronic equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103257891A (en) * 2013-04-25 2013-08-21 上海卫星工程研究所 Dual-level analyzing type spacecraft task managing system and method
CN104579862A (en) * 2013-10-11 2015-04-29 通用电气航空系统有限责任公司 Method of controlling data communication
CN104966239A (en) * 2015-06-30 2015-10-07 天津爱蔻科技有限公司 Intelligent underwriting platform based on rule engine
CN106502934A (en) * 2016-11-09 2017-03-15 上海微小卫星工程中心 The spaceborne data management system of high-speed integratedization
CN107769836A (en) * 2017-09-13 2018-03-06 长光卫星技术有限公司 Satellite General automatic test platform and its data interactive method
CN108038547A (en) * 2017-10-27 2018-05-15 上海卫星工程研究所 Based on patterned satellite telemetering data diagnostic rule editing system
CN109309605A (en) * 2018-11-26 2019-02-05 北京邮电大学 Band network telemetry system and method
CN109743291A (en) * 2018-12-12 2019-05-10 湖北航天技术研究院总体设计所 A kind of telemetry real time processing system and method based on round-robin queue
CN109871364A (en) * 2019-02-26 2019-06-11 北京控制工程研究所 A kind of data fusion and association process method
CN110262280A (en) * 2019-02-26 2019-09-20 北京控制工程研究所 Spacecraft Rendezvous docked flight controls Intelligent data analysis and DSS
CN110943870A (en) * 2019-12-17 2020-03-31 国网智能科技股份有限公司 Intelligent station panoramic data monitoring and analyzing system and method
CN112422498A (en) * 2020-09-04 2021-02-26 网络通信与安全紫金山实验室 In-band network remote measuring method, system and computer readable storage medium

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497135B (en) * 2011-11-14 2015-09-30 无锡南理工科技发展有限公司 A kind of photovoltaic plant method for supervising of rule-based engine
CN103218451B (en) * 2013-04-27 2015-07-01 北京空间飞行器总体设计部 Automatic spacecraft test data interpreting method
CN105095060A (en) * 2014-04-15 2015-11-25 富士通株式会社 Device and method for generating test case by using rule set network
US11041720B2 (en) * 2016-12-13 2021-06-22 Pgs Geophysical As Calibration of a magnetometer in a towed object telemetry unit based on turn data
CN106933688B (en) * 2017-03-14 2020-04-10 北京空间飞行器总体设计部 Telemetry data interpretation engine facing multi-satellite parallel
CN107247588B (en) * 2017-05-26 2020-10-23 电子科技大学 Rule engine optimization method based on constraint frequency
CN107342948B (en) * 2017-06-09 2019-08-13 烽火通信科技股份有限公司 A kind of data flow recognition process unit based on TCAM, system and method
US10715620B2 (en) * 2017-11-08 2020-07-14 Google Llc Streaming network monitoring caching infrastructure
CN109743346B (en) * 2018-11-19 2021-04-06 众安信息技术服务有限公司 Session flow configuration method, device and computer-readable storage medium
CN110135586A (en) * 2019-04-16 2019-08-16 平安科技(深圳)有限公司 Construction method, device, computer equipment and the storage medium of Rete network
CN112433774A (en) * 2019-08-07 2021-03-02 中移信息技术有限公司 Service information matching method, device, equipment and storage medium
CN111126028B (en) * 2019-12-30 2023-07-18 中国联合网络通信集团有限公司 Data processing method, device and equipment
CN111444291A (en) * 2020-03-27 2020-07-24 上海爱数信息技术股份有限公司 Real-time data alarm method based on stream processing engine and rule engine
CN112333227B (en) * 2020-09-11 2022-07-15 浙江工业大学 Internet of things platform of mixed type protocol based on rule engine
CN112235143A (en) * 2020-10-15 2021-01-15 中国西安卫星测控中心 Expert knowledge representation method for monitoring inter-satellite link network state
CN112579654B (en) * 2020-12-11 2024-04-09 航天东方红卫星有限公司 Satellite telemetry parameter validity interpretation method based on WPF technology

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103257891A (en) * 2013-04-25 2013-08-21 上海卫星工程研究所 Dual-level analyzing type spacecraft task managing system and method
CN104579862A (en) * 2013-10-11 2015-04-29 通用电气航空系统有限责任公司 Method of controlling data communication
CN104966239A (en) * 2015-06-30 2015-10-07 天津爱蔻科技有限公司 Intelligent underwriting platform based on rule engine
CN106502934A (en) * 2016-11-09 2017-03-15 上海微小卫星工程中心 The spaceborne data management system of high-speed integratedization
CN107769836A (en) * 2017-09-13 2018-03-06 长光卫星技术有限公司 Satellite General automatic test platform and its data interactive method
CN108038547A (en) * 2017-10-27 2018-05-15 上海卫星工程研究所 Based on patterned satellite telemetering data diagnostic rule editing system
CN109309605A (en) * 2018-11-26 2019-02-05 北京邮电大学 Band network telemetry system and method
CN109743291A (en) * 2018-12-12 2019-05-10 湖北航天技术研究院总体设计所 A kind of telemetry real time processing system and method based on round-robin queue
CN109871364A (en) * 2019-02-26 2019-06-11 北京控制工程研究所 A kind of data fusion and association process method
CN110262280A (en) * 2019-02-26 2019-09-20 北京控制工程研究所 Spacecraft Rendezvous docked flight controls Intelligent data analysis and DSS
CN110943870A (en) * 2019-12-17 2020-03-31 国网智能科技股份有限公司 Intelligent station panoramic data monitoring and analyzing system and method
CN112422498A (en) * 2020-09-04 2021-02-26 网络通信与安全紫金山实验室 In-band network remote measuring method, system and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"卫星仿真平台控制管理软件的设计与实现";王国华 等;《系统仿真学报 》;20110208;第23卷(第2期);第275-279页 *

Also Published As

Publication number Publication date
CN113282350A (en) 2021-08-20

Similar Documents

Publication Publication Date Title
CN110554958B (en) Graph database testing method, system, device and storage medium
EP3251298B1 (en) Data extraction
CN113282350B (en) Telemetering data interpretation method and device, computer equipment and readable storage medium
CN113946546B (en) Abnormality detection method, computer storage medium, and program product
CN112416794A (en) Method, device and equipment for processing code coverage rate and storage medium
CN111464515A (en) Data conversion method, device, equipment and storage medium
CN112965912B (en) Interface test case generation method and device and electronic equipment
CN107479893B (en) Formalized Petri network model automatic evolution method adapting to demand change
CN104766108A (en) Optimizing processing method for FID electronic tag in BIM model
CN109542782B (en) NFC test method and device based on machine learning and computer equipment
CN115755867A (en) Vehicle diagnosis method and related device
CN115904978A (en) Redfish interface testing method, computing device and storage medium
CN115987865A (en) Routing code generation method and device, matrix detection method and storage medium
CN116846837A (en) Traffic identification method and device, electronic equipment and storage medium
CN112463596B (en) Test case data processing method, device and equipment and processing equipment
CN112068982B (en) Automobile code setting method and device, computer equipment and storage medium
CN113632510B (en) Conversion device, conversion method, and recording medium
CN112217896A (en) JSON message conversion method and related device
CN110543155B (en) Manufacturing process management system
CN115225654A (en) Communication method and device based on configurable communication protocol
CN115840434A (en) Vehicle ECU (electronic control Unit) identification method and device and related equipment
CN114942745A (en) Automatic configuration method for UDS protocol stack of motor controller
CN113507697B (en) Vehicle OTA upgrade checking method, device, equipment and storage medium
CN113407450B (en) Interface testing method, device, equipment and medium based on parameter automatic identification
CN113032236B (en) Business behavior processing method and server applied to artificial intelligence and cloud computing

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