CN116501650A - Method, device and medium for executing carrier rocket measurement and control flow engine - Google Patents

Method, device and medium for executing carrier rocket measurement and control flow engine Download PDF

Info

Publication number
CN116501650A
CN116501650A CN202310760664.7A CN202310760664A CN116501650A CN 116501650 A CN116501650 A CN 116501650A CN 202310760664 A CN202310760664 A CN 202310760664A CN 116501650 A CN116501650 A CN 116501650A
Authority
CN
China
Prior art keywords
flow
item
data
information
type
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.)
Granted
Application number
CN202310760664.7A
Other languages
Chinese (zh)
Other versions
CN116501650B (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.)
CASIC Rocket Technology Co
Original Assignee
CASIC Rocket Technology Co
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 CASIC Rocket Technology Co filed Critical CASIC Rocket Technology Co
Priority to CN202310760664.7A priority Critical patent/CN116501650B/en
Publication of CN116501650A publication Critical patent/CN116501650A/en
Application granted granted Critical
Publication of CN116501650B publication Critical patent/CN116501650B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Debugging And Monitoring (AREA)
  • Testing Of Engines (AREA)

Abstract

The invention provides an execution method, a device and a medium of a carrier rocket measurement and control flow engine, comprising the following steps: constructing a data table for measurement and control flow information of the carrier rocket based on the configuration file; determining a flow item mapping table based on the data table; searching a flow entity object contained in a target flow item in a flow item mapping table according to the name of the target flow item; executing each flow entity object: therefore, the flow engine can construct a data table of measurement and control flow information of the carrier rocket according to the configuration information, further abstract the measurement and control flow information into flow entity objects, and if the configuration file is required to be correspondingly modified, the data table is correspondingly changed when the subsequent test or launching task is required to be modified, then the flow item mapping table is correspondingly changed, and then the corresponding flow entity object is selected in the flow mapping table to be executed; therefore, the software code does not need to be modified any more, the risk brought by code modification is avoided, and the reliability of the actual test and the launching process of the carrier rocket is improved.

Description

Method, device and medium for executing carrier rocket measurement and control flow engine
Technical Field
The application relates to the technical field of carrier rocket measurement and control software design, in particular to an execution method, device and medium of a carrier rocket measurement and control flow engine.
Background
The test launch control software is core software for testing and launching control of the carrier rocket and mainly completes testing and launching tasks of the carrier rocket in technical array sites and launching array sites. In the running process of the test launch control software, various test projects need to be tested to ensure that the state of the carrier rocket is good, and the launch task can be executed.
In the prior test and control software design process, a set of complete code logic is customized and realized for each test item, so that the test and control software has huge scale and more redundant codes. When the functional requirements change (such as a new rocket test project), a large amount of modification is needed to be carried out on the software codes, the workload is large, unknown risks can be introduced in the modification of the codes, the reliability of the launch control software for the launch vehicle is reduced, and meanwhile, the reliability of the actual test and the launching process of the launch vehicle is also reduced.
Disclosure of Invention
Aiming at the problems existing in the prior art, the embodiment of the invention provides a method, a device and a medium for executing a measurement and control flow engine of a carrier rocket, which are used for solving or partially solving the technical problems that when the test or launching function requirements of the measurement and launching control software of the carrier rocket are changed in the prior art, a large amount of software codes are required to be modified, so that the reliability of the actual test and launching process of the carrier rocket is reduced.
In a first aspect of the present invention, a method for executing a measurement and control flow engine of a carrier rocket is provided, where the method includes:
constructing a data table for measurement and control flow information of the carrier rocket based on the configuration file;
when the measurement and control task of the carrier rocket needs to be executed, determining a flow item mapping table based on the data table;
acquiring a target flow item name to be executed, and searching a flow entity object contained in the target flow item in a flow item mapping table according to the target flow item name;
and executing each flow entity object.
In the above scheme, the constructing a data table for measurement and control flow information of the launch vehicle based on the configuration file includes:
analyzing the configuration file to obtain each flow item contained in the measurement and control flow information, the flow step contained in the flow item, the functional module called by the flow step, the execution condition of each flow step and the data information required after the flow step is executed;
creating a corresponding data table for the flow item, the flow step, the function module called by the flow step, the execution condition of the flow step and the data information required after the flow step is executed respectively; wherein the data table comprises: field name, data type, field meaning, and remark information.
In the above solution, the determining the flow item mapping table based on the data table includes:
reading flow item data from a data table corresponding to the flow item information;
and storing the flow item name in the flow item data into a key value item in the flow item mapping table.
In the above scheme, the method further comprises:
traversing each flow item name in the flow item mapping table, and searching a flow step contained in each flow item name in a data table corresponding to the flow step based on the flow item name;
and storing the flow steps contained in each flow item name into the value item in the flow item mapping table.
In the above scheme, the method further comprises:
traversing all value items in the flow item mapping table to obtain corresponding flow steps;
if the type of the flow step is determined to be the service type, searching an input parameter in a data table corresponding to the function module called by the flow step, and storing the service output parameter as attribute information in the flow item mapping table;
if the type of the flow step is determined to be the condition type, searching for execution condition information in a data table corresponding to the execution condition of the flow step, and storing the execution condition information as attribute information in the flow item mapping table;
if the type of the flow step is determined to be a storage type, searching a corresponding data object in a data table corresponding to the data information required after the flow step is executed, and storing the data object as attribute information in the flow item mapping table; the data object includes: data type, data value, and data sequence number.
In the above scheme, the method further comprises:
acquiring task types of flow items in the measurement and control flow information;
and saving the flow item of which the task type is periodic task into a periodic flow list, and adding a corresponding execution state into the periodic flow list.
In the above solution, the executing each of the flow entity objects includes:
when the flow entity object is a non-periodic flow, acquiring an object type of the flow entity object;
if the object type is a service type, calling a service function module corresponding to the flow entity object, and transmitting parameters needed by the service function module;
if the object type is the nested type, continuing to analyze the flow entity object, and executing corresponding operation according to the analysis result;
if the object type is a delay type, executing a waiting command;
if the object type is a conditional type, acquiring corresponding state information after executing the process entity object, and continuing to execute a subsequent process according to the state information;
and if the object type is a storage type, storing the data information obtained after the execution of the flow step.
In the above solution, the executing each of the flow entity objects includes:
when the flow entity object is a periodic flow, traversing a periodic flow list to obtain each periodic flow;
and establishing a corresponding thread for each periodic flow Cheng Chuang, and periodically executing the flow entity object by using the thread based on a preset time interval.
In a second aspect of the present invention, there is provided an execution device of a launch vehicle measurement and control process engine, the device comprising:
the construction unit is used for constructing a data table for the measurement and control flow information of the carrier rocket based on the configuration file;
the determining unit is used for determining a flow item mapping table based on the data table when the measurement and control task of the carrier rocket is required to be executed;
the searching unit is used for acquiring a target flow item name to be executed and searching a flow entity object contained in the target flow item in a flow item mapping table according to the target flow item name;
and the execution unit is used for executing each flow entity object.
In a third aspect of the invention, there is provided a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method of any of the first aspects.
The invention provides an execution method, a device and a medium of a carrier rocket measurement and control flow engine, wherein the method comprises the following steps: constructing a data table for measurement and control flow information of the carrier rocket based on the configuration file; when the measurement and control task of the carrier rocket needs to be executed, determining a flow item mapping table based on the data table; acquiring a name of a target flow item to be executed; searching a flow entity object contained in the target flow item in a flow item mapping table according to the name of the target flow item; executing each flow entity object: therefore, the flow engine can construct a data table of measurement and control flow information of the carrier rocket according to the configuration information, further abstract the measurement and control flow information into flow entity objects, and if the configuration file is required to be correspondingly modified, the data table is correspondingly changed when the subsequent test or launching task is required to be modified, then the flow item mapping table is correspondingly changed, and then the corresponding flow entity object is selected in the flow mapping table to be executed; therefore, the software code does not need to be modified any more, the risk brought by code modification is avoided, and the reliability of the actual test and the launching process of the carrier rocket is improved.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 illustrates a flow diagram of a method of execution of a launch vehicle measurement and control flow engine according to one embodiment of the present invention;
FIG. 2 is a schematic diagram of an execution device of a measurement and control flow engine of a carrier rocket according to one embodiment of the present invention;
FIG. 3 shows a schematic diagram of a computer-readable storage medium structure according to one embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The embodiment of the invention provides an execution method of a carrier rocket measurement and control flow engine, as shown in fig. 1, comprising the following steps:
s110, constructing a data table for measurement and control flow information of the carrier rocket based on the configuration file.
In order to better understand the technical solution of the present application, the concept of the following flow engine is first introduced here. The flow engine is an important component of the test launch control software, belongs to a general processing module, is responsible for the scheduling control command or the test flow of the carrier rocket, and has no requirement on the execution content of specific services. The flow engine has the functions of analyzing and scheduling the test flow of the carrier rocket, executing a command or a calculation program according to a certain rule according to a control logic defined by a user, monitoring the execution state and timely performing exception handling.
The test instruction is generally triggered by an interaction event on the software interface (for example, a user sends a certain operation instruction), or can be triggered by a background periodic task at fixed time, and the executed result data and state data are written into a corresponding memory in real time and can be fed back to the software interface as required.
The functions that the flow engine may provide include: providing a function of executing a service, providing a data access function, providing a function of executing a periodic flow, and providing a function of supporting execution of a nested flow:
the function of providing executive service is mainly called by external interface, and a flow item is started and executed according to the input parameters. The execution process comprises the following steps: and according to the analyzed flow steps, sequentially executing the steps in sequence, judging the category of the flow step for each specific flow step, and selecting a corresponding execution branch. After each step is executed, judging the execution state, if the step is passed, continuing to execute the next step, if the step is not passed, stopping the flow, and prompting an error.
The flow engine may provide data access functionality:
in the execution process of the flow steps, data needs to be acquired from outside, and after the execution is finished, the data or the execution state needs to be updated, so that the flow engine module has the function of reading and writing the external data. Such as querying and reading the latest value of the specified data via the interface.
For example, assuming that the designated data is a stand-alone power distribution state, when the stand-alone power distribution is successful, the value of the power distribution state may be changed from 0 to 1, then the latest value is 1, and the latest value is returned.
The function of writing data is: and calling a write data interface, converting the appointed data into binary data of a corresponding data type, and storing the binary data into an appointed data storage area.
The flow engine has a function of executing a periodic flow:
in an actual application scenario, there are tasks that need to be periodically executed at certain time intervals, and the flow engine can support the periodic tasks. The periodic tasks are divided into two types, namely, the periodic tasks are triggered by an external command and repeatedly executed according to a set period after being started; and secondly, starting by default, automatically starting a task after the module is loaded, and repeatedly executing according to a set period.
The flow engine starts the thread executed on time, and the function of the thread is periodically called to execute by the functional module according to the set time interval.
To facilitate flow multiplexing, the flow engine also supports execution of nested flows:
the nested process means that the process step is also a sub-process step, and the process engine needs to analyze the situation, so as to ensure the normal execution of the process step.
For example, when the launch vehicle performs the testing and launching process, there are many process steps, such as when performing the launching task, the overall process steps include: distribution, performing inspection, interpretation of data results, and the like. The power distribution flow comprises the following steps: the power distribution of the single machine A, the power distribution of the single machine B, the power distribution of the single machine C and the checking of the power distribution state of each single machine are carried out, so that the total flow step and the power distribution flow step are a nested flow, and when the power distribution flow step is executed, the configuration file still needs to be analyzed to obtain the sub-flow steps contained in the power distribution flow step, thereby executing the flow steps in sequence.
When the test flow item changes or the test flow item is newly added, in order to avoid modifying a large number of codes, a configuration file is preset, and the configuration file contains measurement and control flow information when the carrier rocket executes the test and launch tasks. Each test flow item may correspond to a separate configuration file, or may correspond to a total configuration file.
When executing the test item or the launching item, in order to realize the calling and execution of the flow information, the configuration file needs to be analyzed to obtain various measurement and control flow information of the carrier rocket, and a corresponding data table is constructed for the measurement and control flow information.
In one embodiment, constructing a data table for measurement and control flow information based on a configuration file includes:
analyzing the configuration file to obtain each flow item contained in the measurement and control flow information, the flow step contained in the flow item, the function module called by the flow step, the execution condition of each flow step and the data information required after executing the flow step;
creating a corresponding data table for the flow item, the flow step, the function module called by the flow step, the execution condition of the flow step and the data information required after the flow step is executed respectively; wherein the data table comprises: field name, data type, field meaning, and remark information.
Specifically, after the configuration file is parsed, all measurement and control flow information in the configuration file can be obtained, including: the method comprises a flow item, flow steps contained in the flow item, a function module called by the flow steps, execution conditions of each flow step and data information needed after the flow steps are executed. The process item comprises the following steps: the names of the flow items, whether the flow items are periodic flow tasks, the execution period of the periodic tasks, whether default starting and the like, and the data tables corresponding to the flow items are shown in table 1:
TABLE 1
The flow steps comprise: step number, the number of the process item to which the process step belongs, step category, step information, etc., and the corresponding data table is shown in table 2:
TABLE 2
The functional module called by the flow step comprises: the number of the functional module, the number of the process step to which the functional module belongs, input parameters and the like, and the corresponding data table is shown in table 3:
TABLE 3 Table 3
The execution conditions of the flow steps include: the corresponding data table is shown in table 4, including the condition number, the sequence number of the flow step, the condition type, the data number, the data type number, the expression, etc.:
TABLE 4 Table 4
The data information required after executing the flow steps includes: the sequence numbers of the flow steps, the sequence numbers of the data, the corresponding data values and the like, and the data table is shown in table 5:
TABLE 5
S111, when the measurement and control task of the carrier rocket needs to be executed, determining a flow item mapping table based on the data table.
After the data table of the measurement and control flow information is built, when the measurement and control task of the carrier rocket needs to be executed, a flow engine is started, and then the flow engine initializes (analyzes) the data table to obtain each flow entity object, and the flow entity objects are stored in a flow item mapping table.
The process entity object can be understood as each process step, and for each process step in the process item mapping table, the process entity object can be executed as one process entity object, and if the execution is successful, the next process entity object is continued; if the execution fails, the execution is terminated. And the execution process can be paused, resumed or terminated according to the user's requirements during the execution of the process steps.
In one embodiment, determining a flow item mapping table based on a data table includes:
reading flow item data from a data table corresponding to the flow item information;
storing the names of the flow items in the flow item data into key value items in the flow item mapping table;
traversing each flow item name in the flow item mapping table, and searching a flow step contained in each flow item name in a data table corresponding to the flow step based on the flow item name;
storing the flow steps contained in each flow item name into the value item in the flow item mapping table; wherein key and value are a key-value pair.
In one embodiment, the method further comprises:
traversing all value items in the flow item mapping table to obtain corresponding flow steps;
if the type of the flow step is determined to be the service type, searching for input parameters in a data table corresponding to the function module called in the flow step, and storing the service output parameters as attribute information in a flow item mapping table;
if the type of the flow step is determined to be the condition type, searching the execution condition information in a data table corresponding to the execution condition of the flow step, and storing the execution condition information as attribute information in the flow item mapping table;
if the type of the flow step is determined to be a storage type, searching a corresponding data object in a data table corresponding to the data information required after the flow step, and storing the data object as attribute information in a flow item mapping table; the data object includes: data type, data value, and data sequence number.
In one embodiment, the method further comprises:
acquiring task types of flow items in measurement and control flow information;
and saving the flow item with the task type being the periodic task into a periodic flow list, and adding a corresponding execution state into the periodic flow list.
In this embodiment, the task types of some flow items are periodic, and the task types can be automatically and periodically executed without external triggering conditions; some of the process items are non-periodic in task type and require an external trigger condition (e.g., satisfying a certain execution condition or receiving a trigger instruction from an external user). Therefore, the process items of the periodic tasks need to be screened out, and errors in the follow-up measurement and control process are avoided.
The method is equivalent to connecting each flow item, the used flow step, the execution condition corresponding to the flow step, the functional module used by the flow step and the data required to be acquired after the flow step is executed in series, and the required information is conveniently searched in the flow item mapping table when the test task is executed in the follow-up.
S112, obtaining a target flow item name to be executed, and searching a flow entity object contained in the target flow item in a flow item mapping table according to the target flow item name.
When executing the measurement and control flow, the flow engine is a specific implementation for providing functional services externally, so that the target flow item name to be executed needs to be obtained from the input parameters, and the flow entity object contained in the target flow item is searched in the flow item mapping table according to the target flow item name.
It can be understood that, because the names of the flow items are stored in the flow item mapping table, the flow steps corresponding to the flow items; therefore, after the names of the flow items are determined, the corresponding flow entity objects can be searched in the flow item mapping table according to the names of the flow items.
S113, executing each flow entity object.
In one embodiment, executing each flow entity object includes:
when the flow entity object is a non-periodic flow, acquiring an object type of the flow entity object;
if the object type is the service type, calling a service function module corresponding to the flow entity object, and transmitting parameters required by the service function module;
if the object type is the nested type, continuing to analyze the streaming entity object, and executing corresponding operation according to the analysis result;
if the object type is a delay type, executing a waiting command;
if the object type is the condition type, acquiring corresponding state information after executing the flow entity object, and continuing to execute the subsequent flow according to the state information;
and if the object type is the storage type, storing the data information obtained after the execution of the flow step.
In one embodiment, executing each flow entity object includes:
when the process entity object is a periodic process, traversing a periodic process list to obtain each periodic process;
a corresponding thread is built for each periodic flow Cheng Chuang, and the process entity objects are executed periodically with the thread based on a preset time interval.
Specifically, when executing each aperiodic flow entity object, the following five object types are included:
1. service type
At this time, the corresponding service function module needs to be called, and parameters needed by the service function module book are transmitted.
2. Nested measurement type
If the flow entity object is of a nested type, the flow entity object is described as a nested flow, and the flow entity object needs to be parsed at this time, which refers to the specific implementation process in step S110.
3、waitTime
And if the delay type is the delay type, performing delay processing and executing a waiting command.
4. Condition type condition
At this time, the subsequent specific execution operation needs to be determined according to the execution condition, wherein the execution condition comprises a plurality of computing functions, which are mainly used for obtaining the condition determination result and are classified into more than, more than or equal to, not equal to, less than or equal to, and further comprise computing functions such as computing expressions, expression conversion and the like.
After the execution of a certain step of the process is completed, the corresponding result or state information needs to be acquired to determine how to execute the next step.
5. Storage type save
Executing the data storage flow, and sequentially writing each data to be stored into the corresponding data area.
When the periodic flow entity object is executed, after the flow engine is loaded, the periodic flow list is traversed, and an independent thread is created for each periodic flow entity object to schedule and execute.
In the execution function of the thread, task information of the process entity object is firstly obtained, and then the process task is periodically executed according to a set time interval. Before each period is executed, the start-stop state of the flow entity object is judged according to the state data of the data area.
According to the embodiment of the invention, the measurement and control flow information in the running process of the carrier rocket measurement and control software is generalized and abstracted, the measurement and control flow information is summarized into the flow items, the steps included in the flow, the functional modules called in the steps, the execution conditions, the data storage and other data tables, and the data tables are analyzed and processed, so that the unified and standardized processing of the test flow is realized.
When the test flow changes, for example, the existing flow is required to be modified, or a new test flow is required to be added, the method can be realized by only modifying the configuration file to change the information in the corresponding data table, or recombining different sub-flows in the data table, the code is not required to be modified, the reusability of the software code is improved, the flexible configuration of the test flow is realized, the development efficiency is improved, the code modification is reduced, the probability of introducing risks is reduced, and the reliability of carrier rocket test and launching is improved.
Based on the same inventive concept as in the foregoing embodiments, this embodiment further provides an execution device of a launch vehicle measurement and control flow engine, as shown in fig. 2, where the device includes:
a construction unit 21, configured to construct a data table for measurement and control flow information of the carrier rocket based on the configuration file;
a determining unit 22, configured to determine a flow item mapping table based on the data table when the measurement and control task of the carrier rocket needs to be executed;
a searching unit 23, configured to obtain a target procedure item name to be executed, and search a procedure entity object included in the target procedure item in a procedure item mapping table according to the target procedure item name;
an execution unit 24, configured to execute each of the flow entity objects.
Since the device described in the embodiments of the present invention is a device used for implementing the method for executing the measurement and control flow engine of the carrier rocket in the embodiments of the present invention, based on the method described in the embodiments of the present invention, a person skilled in the art can understand the specific structure and the deformation of the device, and therefore, the detailed description thereof is omitted herein. All devices used in the method of the embodiment of the invention are within the scope of the invention.
Based on the same inventive concept, this embodiment provides a computer-readable storage medium 300, as shown in fig. 3, on which a computer program 311 is stored, which computer program 311, when executed by a processor, implements the steps of any of the methods described above.
Through one or more embodiments of the present invention, the present invention has the following benefits or advantages:
the invention provides an execution method, a device and a medium of a carrier rocket measurement and control flow engine, wherein the method comprises the following steps: constructing a data table for measurement and control flow information of the carrier rocket based on the configuration file; when the measurement and control task of the carrier rocket needs to be executed, determining a flow item mapping table based on the data table; acquiring a name of a target flow item to be executed; searching a flow entity object contained in the target flow item in a flow item mapping table according to the name of the target flow item; executing each flow entity object: therefore, the flow engine can construct a data table of measurement and control flow information of the carrier rocket according to the configuration information, further abstract the measurement and control flow information into flow entity objects, and if the configuration file is required to be correspondingly modified, the data table is correspondingly changed when the subsequent test or launching task is required to be modified, then the flow item mapping table is correspondingly changed, and then the corresponding flow entity object is selected in the flow mapping table to be executed; therefore, the software code does not need to be modified any more, the risk brought by code modification is avoided, and the reliability of the actual test and the launching process of the carrier rocket is improved.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with the teachings herein. The required structure for a construction of such a system is apparent from the description above. In addition, the present invention is not directed to any particular programming language. It will be appreciated that the teachings of the present invention described herein may be implemented in a variety of programming languages, and the above description of specific languages is provided for disclosure of enablement and best mode of the present invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments can be used in any combination.
Various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functions of some or all of the components in a gateway, proxy server, system according to embodiments of the present invention may be implemented in practice using a microprocessor or Digital Signal Processor (DSP). The present invention can also be implemented as an apparatus or device program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the present invention may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
The above description is not intended to limit the scope of the invention, but is intended to cover any modifications, equivalents, and improvements within the spirit and principles of the invention.

Claims (10)

1. The method for executing the carrier rocket measurement and control flow engine is characterized by comprising the following steps:
constructing a data table for measurement and control flow information of the carrier rocket based on the configuration file;
when the measurement and control task of the carrier rocket needs to be executed, determining a flow item mapping table based on the data table;
acquiring a target flow item name to be executed, and searching a flow entity object contained in the target flow item in a flow item mapping table according to the target flow item name;
and executing each flow entity object.
2. The method of claim 1, wherein the constructing a data table for the measurement and control flow information of the launch vehicle based on the configuration file comprises:
analyzing the configuration file to obtain each flow item contained in the measurement and control flow information, the flow step contained in the flow item, the functional module called by the flow step, the execution condition of each flow step and the data information required after the flow step is executed;
creating a corresponding data table for the flow item, the flow step, the function module called by the flow step, the execution condition of the flow step and the data information required after the flow step is executed respectively; wherein the data table comprises: field name, data type, field meaning, and remark information.
3. The method of claim 1, wherein the determining a flow item mapping table based on the data table comprises:
reading flow item data from a data table corresponding to the flow item information;
and storing the flow item name in the flow item data into a key value item in the flow item mapping table.
4. A method as claimed in claim 3, wherein the method further comprises:
traversing each flow item name in the flow item mapping table, and searching a flow step contained in each flow item name in a data table corresponding to the flow step based on the flow item name;
and storing the flow steps contained in each flow item name into the value item in the flow item mapping table.
5. The method of claim 4, wherein the method further comprises:
traversing all value items in the flow item mapping table to obtain corresponding flow steps;
if the type of the flow step is determined to be the service type, searching an input parameter in a data table corresponding to the function module called by the flow step, and storing the service output parameter as attribute information in the flow item mapping table;
if the type of the flow step is determined to be the condition type, searching for execution condition information in a data table corresponding to the execution condition of the flow step, and storing the execution condition information as attribute information in the flow item mapping table;
if the type of the flow step is determined to be a storage type, searching a corresponding data object in a data table corresponding to the data information required after the flow step is executed, and storing the data object as attribute information in the flow item mapping table; the data object includes: data type, data value, and data sequence number.
6. The method of claim 1, wherein the method further comprises:
acquiring task types of flow items in the measurement and control flow information;
and saving the flow item of which the task type is periodic task into a periodic flow list, and adding a corresponding execution state into the periodic flow list.
7. The method of claim 1, wherein said executing each of said process entity objects comprises:
when the flow entity object is a non-periodic flow, acquiring an object type of the flow entity object;
if the object type is a service type, calling a service function module corresponding to the flow entity object, and transmitting parameters needed by the service function module;
if the object type is the nested type, continuing to analyze the flow entity object, and executing corresponding operation according to the analysis result;
if the object type is a delay type, executing a waiting command;
if the object type is a conditional type, acquiring corresponding state information after executing the process entity object, and continuing to execute a subsequent process according to the state information;
and if the object type is a storage type, storing the data information obtained after the execution of the flow step.
8. The method of claim 1, wherein said executing each of said process entity objects comprises:
when the flow entity object is a periodic flow, traversing a periodic flow list to obtain each periodic flow;
and establishing a corresponding thread for each periodic flow Cheng Chuang, and periodically executing the flow entity object by using the thread based on a preset time interval.
9. An execution device of a carrier rocket measurement and control flow engine, which is characterized by comprising:
the construction unit is used for constructing a data table for the measurement and control flow information of the carrier rocket based on the configuration file;
the determining unit is used for determining a flow item mapping table based on the data table when the measurement and control task of the carrier rocket is required to be executed;
the searching unit is used for acquiring a target flow item name to be executed and searching a flow entity object contained in the target flow item in a flow item mapping table according to the target flow item name;
and the execution unit is used for executing each flow entity object.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the steps of the method according to any one of claims 1-8.
CN202310760664.7A 2023-06-27 2023-06-27 Method, device and medium for executing carrier rocket measurement and control flow engine Active CN116501650B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310760664.7A CN116501650B (en) 2023-06-27 2023-06-27 Method, device and medium for executing carrier rocket measurement and control flow engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310760664.7A CN116501650B (en) 2023-06-27 2023-06-27 Method, device and medium for executing carrier rocket measurement and control flow engine

Publications (2)

Publication Number Publication Date
CN116501650A true CN116501650A (en) 2023-07-28
CN116501650B CN116501650B (en) 2023-09-12

Family

ID=87320564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310760664.7A Active CN116501650B (en) 2023-06-27 2023-06-27 Method, device and medium for executing carrier rocket measurement and control flow engine

Country Status (1)

Country Link
CN (1) CN116501650B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040039771A1 (en) * 2000-07-26 2004-02-26 Hermann Steinel Method, computer program, and system for carrying out a project
CN102508657A (en) * 2011-10-18 2012-06-20 北京空间飞行器总体设计部 Method for maintaining embedded software module of spacecraft
CN102722170A (en) * 2012-05-10 2012-10-10 北京宇航系统工程研究所 Fault detection method used in test-launching stage of launch vehicle
CN105487975A (en) * 2015-11-27 2016-04-13 贵州航天风华精密设备有限公司 Self organization method for spacecraft test software processes
KR20180117953A (en) * 2017-04-20 2018-10-30 한국항공우주연구원 Method and System for Testing a Simulator
RU2678717C1 (en) * 2017-11-09 2019-01-31 Российская Федерация, от имени которой выступает Государственная корпорация по космической деятельности "РОСКОСМОС" Method for building a software system for automating and visualizing testing of embedded software for electronic devices
CN110781184A (en) * 2019-09-16 2020-02-11 平安科技(深圳)有限公司 Data table construction method, device, equipment and storage medium
CN111159034A (en) * 2019-12-25 2020-05-15 中国人民解放军63920部队 Software testing method and device
CN112463595A (en) * 2020-11-17 2021-03-09 杜晨飞 Mobile terminal software development processing method based on cloud computing and cloud computing software platform
CN112985193A (en) * 2021-04-30 2021-06-18 星河动力(北京)空间科技有限公司 Control method, device and system of carrier rocket and storage medium
CN112991512A (en) * 2021-02-08 2021-06-18 北京京航计算通讯研究所 Rapid scene model construction method based on measurement and control task analysis system model base
CN113254107A (en) * 2021-06-23 2021-08-13 星河动力(北京)空间科技有限公司 Telemetering data resolving method and device, electronic equipment and computer storage medium
CN115686634A (en) * 2023-01-03 2023-02-03 东方空间技术(山东)有限公司 Processing method, device, terminal and storage medium for testing, issuing and controlling flow instructions
CN115756589A (en) * 2022-12-05 2023-03-07 航天科工火箭技术有限公司 Configuration method, device, medium and equipment of rocket launching task planning platform
CN115964273A (en) * 2021-12-06 2023-04-14 北京航空航天大学 Spacecraft test script automatic generation method based on deep learning

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040039771A1 (en) * 2000-07-26 2004-02-26 Hermann Steinel Method, computer program, and system for carrying out a project
CN102508657A (en) * 2011-10-18 2012-06-20 北京空间飞行器总体设计部 Method for maintaining embedded software module of spacecraft
CN102722170A (en) * 2012-05-10 2012-10-10 北京宇航系统工程研究所 Fault detection method used in test-launching stage of launch vehicle
CN105487975A (en) * 2015-11-27 2016-04-13 贵州航天风华精密设备有限公司 Self organization method for spacecraft test software processes
KR20180117953A (en) * 2017-04-20 2018-10-30 한국항공우주연구원 Method and System for Testing a Simulator
RU2678717C1 (en) * 2017-11-09 2019-01-31 Российская Федерация, от имени которой выступает Государственная корпорация по космической деятельности "РОСКОСМОС" Method for building a software system for automating and visualizing testing of embedded software for electronic devices
WO2021051625A1 (en) * 2019-09-16 2021-03-25 平安科技(深圳)有限公司 Data table construction method, apparatus and device, and storage medium
CN110781184A (en) * 2019-09-16 2020-02-11 平安科技(深圳)有限公司 Data table construction method, device, equipment and storage medium
CN111159034A (en) * 2019-12-25 2020-05-15 中国人民解放军63920部队 Software testing method and device
CN112463595A (en) * 2020-11-17 2021-03-09 杜晨飞 Mobile terminal software development processing method based on cloud computing and cloud computing software platform
CN112991512A (en) * 2021-02-08 2021-06-18 北京京航计算通讯研究所 Rapid scene model construction method based on measurement and control task analysis system model base
CN112985193A (en) * 2021-04-30 2021-06-18 星河动力(北京)空间科技有限公司 Control method, device and system of carrier rocket and storage medium
CN113254107A (en) * 2021-06-23 2021-08-13 星河动力(北京)空间科技有限公司 Telemetering data resolving method and device, electronic equipment and computer storage medium
CN115964273A (en) * 2021-12-06 2023-04-14 北京航空航天大学 Spacecraft test script automatic generation method based on deep learning
CN115756589A (en) * 2022-12-05 2023-03-07 航天科工火箭技术有限公司 Configuration method, device, medium and equipment of rocket launching task planning platform
CN115686634A (en) * 2023-01-03 2023-02-03 东方空间技术(山东)有限公司 Processing method, device, terminal and storage medium for testing, issuing and controlling flow instructions

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
张学英;易航;汪洋;韩亮;: "运载火箭测发控系统通用化设计", 导弹与航天运载技术, no. 04, pages 19 - 23 *
肖飞;王东辉;陈敏;张为华;: "面向多学科语义的运载火箭集成设计数据管理方法", 国防科技大学学报, no. 04, pages 23 - 27 *
连彦泽; 李鹏程; 赵雷; 司洪泉; 陈旭东: "运载火箭试验大数据存储架构设计与应用", 《遥测遥控》, pages 78 - 88 *
魏伟;陈三楚;敦怡;华清;王宇飞;甘霖: "用于卫星入轨段测控的箭载天基测控中继系统_魏伟", 《中国空间科学技术》, pages 64 - 70 *

Also Published As

Publication number Publication date
CN116501650B (en) 2023-09-12

Similar Documents

Publication Publication Date Title
JP7371141B2 (en) Tools and methods for real-time dataflow programming languages
JP7270764B2 (en) artificial intelligence chip verification
US8799875B2 (en) Streamlining unit testing through hot code swapping
US20050177775A1 (en) Data race detection using sequential program analysis
CN109284222B (en) Software unit, project testing method, device and equipment in data processing system
CN113626333A (en) Automatic interface testing method and device
CN116501650B (en) Method, device and medium for executing carrier rocket measurement and control flow engine
WO2023207973A1 (en) Compiler test method and apparatus, case generation method and apparatus, and instruction storage structure
US20240086165A1 (en) Systems and methods for building and deploying machine learning applications
CN112230904A (en) Code generation method and device based on interface document, storage medium and server
CN112328239A (en) CIM model definition method and device
CN109376285B (en) Data sorting verification method based on json format, electronic device and medium
CN111124685A (en) Big data processing method and device, electronic equipment and storage medium
US9710360B2 (en) Optimizing error parsing in an integrated development environment
CN110688430B (en) Method and device for obtaining data bypass and electronic equipment
CN114528214A (en) Unit testing method and device
CN112948188A (en) Log file screening method, system and medium
CN114443375A (en) Test method and device, electronic device and computer readable storage medium
Norlén Architecture for a Symbolic Execution Environment
CN113051173B (en) Method, device, computer equipment and storage medium for arranging and executing test flow
CN114924960A (en) Case testing method, case testing device, case testing storage medium and case testing equipment
CN112486421B (en) Data storage method and device, electronic equipment and storage medium
CN110597736B (en) Test data generation method and device
CN113342696A (en) Unit testing method and device and storage medium
CN118210695A (en) Method for testing big data task and big data test management platform

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