Method and device for parallel execution of multi-constraint flight control operations
By analyzing and building a spacecraft flight control operation plan, the automated and parallel execution of the spacecraft operation process is achieved, the problems of low efficiency and low automation in the existing technology are solved, and the efficiency and accuracy of spacecraft control are improved.
Patent Information
- Application Number
- CN202410546092.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-06
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-05-06
AI Technical Summary
The prior art cannot effectively describe and automatically schedule the complex operation processes of multiple spacecraft in aerospace measurement and control tasks, resulting in low efficiency of manual adjustment and fault handling and low degree of automation.
By analyzing the flight control operation plan files, building a directional acyclic diagram of the flight control operation process, establishing a process model of flight control events, executing operation items in parallel, and realizing automated parallel execution.
It improves the operating efficiency and accuracy of spacecraft control operations, saves human resources, and realizes the correlation judgment and coordinated control of multi-constrained operation items.
Smart Images

Figure CN118445044B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of aerospace measurement and control technology, and in particular to a method and device for parallel execution of multi-constraint flight control operations. Background Art
[0002] In the space measurement and control mission, the ground control center has many control operation items, many steps, and complex timing constraints for spacecraft. The ground control center's control operation items adopt a timing planning method combined with manual adjustment control implementation. This method of timing planning and manual adjustment can meet the requirements of simple control operations. However, it is impossible to effectively describe the complex operation process of multiple operation items and multiple spacecraft, let alone automatically schedule and execute them.
[0003] During the spacecraft control process, multiple control plans are pre-arranged. Different ground operation contents are arranged in a time sequence in multiple fixed plans. Different control plans are manually started to drive the software or manually perform ground control operations to display the execution status of multiple plans.
[0004] The existing technologies are mainly technical solutions for single spacecraft and a small number of ground control operations. The processes are relatively rigid and the dynamic adjustment and adaptability are relatively small. By analyzing the implementation solutions of the existing technologies, the following shortcomings exist:
[0005] (1) Ground control operations are implemented by multiple control plans, which require a large amount of manual arrangement and fixed timing relationships, and cannot describe the constraint relationships between multiple plans. When a single plan is adjusted, other plans are adjusted accordingly, resulting in a large amount of modification and prone to errors.
[0006] (2) When an abnormality occurs in the surface control process, the fault can only be handled by manual operation, which is inefficient and has a low degree of automation. Summary of the invention
[0007] In view of the problems existing in the prior art, the main purpose of the embodiments of the present invention is to provide a method and device for parallel execution of multi-constrained flight control operations, so as to realize automatic parallel execution of daily flight control plans and improve operating efficiency.
[0008] In order to achieve the above object, an embodiment of the present invention provides a method for parallel execution of multi-constraint flight control operations, the method comprising:
[0009] Parse the acquired flight control operation plan file to obtain the plan information entity object, identify and match the identification parameter attributes of the plan information entity object, obtain the flight control operation item list, countersignature operation item, measurement and control channel switch operation item, remote control command operation item and injection command operation item, and establish a flight control operation plan conversion model;
[0010] Use the flight control work item list to build a directed acyclic graph of the flight control work process, establish dependency constraints for the flight control work items according to business rules, and verify the directed acyclic graph of the flight control work process to obtain the verification results;
[0011] If the verification result is passed, a parallel gateway is added to the directed acyclic graph of the flight control operation process to convert the directed acyclic graph of the flight control operation process into a flight control event process model;
[0012] According to the obtained work item request, the work items are executed in parallel by using the work item constraint relationship, flight control event process model, countersignature work item, measurement and control channel switch work item, remote control command work item and injection command work item to obtain the execution result.
[0013] Optionally, in an embodiment of the present invention, using the flight control operation item list to construct a directed acyclic graph of the flight control operation process includes:
[0014] Use the flight control operation item list to pre-process the nodes and determine the operation item nodes;
[0015] According to the preset business rules, the operation item constraint relationship is determined; wherein the operation item constraint relationship includes the dependency constraint relationship between the measurement and control channel switch operation item and the remote control instruction operation item, and the dependency constraint relationship between the counter-signature event operation item and the injection instruction operation item; wherein the dependency constraint relationship between the measurement and control channel switch operation item and the remote control instruction operation item includes that the prerequisite for the execution of the remote control instruction operation item is the normal execution of the measurement station channel opening operation item, and the prerequisite for the execution of the measurement station channel closing operation item is the normal execution of the remote control instruction operation item; the dependency constraint relationship between the counter-signature event operation item and the injection instruction operation item includes that the prerequisite for the execution of the injection instruction operation item is the normal and successful execution of the counter-signature operation item;
[0016] The directed acyclic graph of the flight control operation process is constructed by using the operation item nodes and the operation item constraint relationship.
[0017] Optionally, in one embodiment of the present invention, the directed acyclic graph of the flight control operation process is verified, and the verification result obtained includes:
[0018] Traverse the operation item nodes in the directed acyclic graph of the flight control operation process to obtain the node time attributes;
[0019] The node time attribute is used to perform node time check, loop check and job item identification check. If the node time check, loop check and job item identification check are all passed, the verification result is determined to be verification passed.
[0020] Optionally, in an embodiment of the present invention, the preset task item constraint relationship and the flight control event process model are used to execute the task items in parallel, and the execution results obtained include:
[0021] If the work item request is a joint work item request, the work item is executed according to the work application information corresponding to the joint work item and the flight control event process model to obtain the execution result of the joint work item; wherein the joint process nodes started within the same preset time period are set as a group, and multiple joint work items in a group are executed in parallel;
[0022] If the operation item request is a measurement and control channel switch operation item request, the operation item is executed according to the operation application information corresponding to the measurement and control channel switch operation item and the flight control event process model, and the measurement and control channel switch operation item execution result is obtained. The message sent by the external measurement and control channel control software is received, and the content of the message is parsed and processed. According to the information saved in the global shared area, the constraint judgment is performed according to the judgment conditions, and the corresponding subsequent branches are executed according to different judgment results;
[0023] If the operation item request is a remote control command operation item request, the dependency constraint relationship between the measurement and control channel switch operation item and the remote control command operation item in the operation item constraint relationship is used to execute the operation item according to the operation application information corresponding to the remote control command operation item, the execution result of the measurement and control channel switch operation item and the flight control event process model, and obtain the execution result of the remote control command operation item;
[0024] If the job item request is an injection instruction job item, the dependency constraint relationship between the counter-signed event job item and the injection instruction job item in the job item constraint relationship is used to execute the job item according to the job application information corresponding to the remote control instruction job item, the execution result of the counter-signed job item and the flight control event process model to obtain the execution result of the injection instruction job item.
[0025] The embodiment of the present invention further provides a device for executing multi-constrained flight control operations in parallel, the device comprising:
[0026] The operation parsing module is used to parse the acquired flight control operation plan file, obtain the plan information entity object, identify and match the identification parameter attributes of the plan information entity object, obtain the flight control operation item list, countersignature operation item, measurement and control channel switch operation item, remote control command operation item and injection command operation item, and establish a flight control operation plan conversion model;
[0027] The directed acyclic graph module is used to construct a directed acyclic graph of the flight control operation process using the flight control operation item list, establish dependency constraint relationships for the flight control operation items according to business rules, and verify the directed acyclic graph of the flight control operation process to obtain verification results;
[0028] The graphical model module is used to add a parallel gateway to the directed acyclic graph of the flight control operation process if the verification result is passed, so as to convert the directed acyclic graph of the flight control operation process into a flight control event process model;
[0029] The parallel execution module is used to execute the work items in parallel according to the obtained work item requests, using the work item constraint relationship, the flight control event process model, the countersignature work items, the measurement and control channel switch work items, the remote control command work items and the injection command work items to obtain the execution results.
[0030] Optionally, in one embodiment of the present invention, the directed acyclic graph module includes:
[0031] The operation item node unit is used to perform node preprocessing using the flight control operation item list and determine the operation item node;
[0032] A constraint relationship unit is used to determine the constraint relationship of the operation items according to preset business rules; wherein the constraint relationship of the operation items includes the dependency constraint relationship between the measurement and control channel switch operation item and the remote control instruction operation item, and the dependency constraint relationship between the counter-signature event operation item and the injection instruction operation item; wherein the dependency constraint relationship between the measurement and control channel switch operation item and the remote control instruction operation item includes that the prerequisite for the execution of the remote control instruction operation item is the normal execution of the measurement station channel opening operation item, and the prerequisite for the execution of the measurement station channel closing operation item is the normal execution of the remote control instruction operation item; the dependency constraint relationship between the counter-signature event operation item and the injection instruction operation item includes that the prerequisite for the execution of the injection instruction operation item is the normal and successful execution of the counter-signature operation item;
[0033] The directed acyclic graph unit is used to construct a directed acyclic graph of the flight control operation process by using the operation item nodes and the operation item constraint relationship.
[0034] Optionally, in one embodiment of the present invention, the directed acyclic graph module further includes:
[0035] The time attribute unit is used to traverse the operation item nodes in the directed acyclic graph of the flight control operation process and obtain the node time attributes;
[0036] The verification unit is used to use the node time attribute to perform node time check, loop check and job item identification check. If the node time check, loop check and job item identification check are all passed, the verification result is determined to be passed.
[0037] Optionally, in one embodiment of the present invention, the parallel execution module includes:
[0038] The counter-signed work item execution unit is used to execute the work item according to the work application information corresponding to the counter-signed work item and the flight control event process model if the work item request is a counter-signed work item request, and obtain the counter-signed work item execution result; wherein the counter-signed process nodes started within the same preset time period are set as a group, and multiple counter-signed work items in a group are executed in parallel;
[0039] The measurement and control channel switch operation unit is used to execute the operation item according to the operation application information corresponding to the measurement and control channel switch operation item and the flight control event process model if the operation item request is a measurement and control channel switch operation item request, obtain the measurement and control channel switch operation item execution result, and receive the message sent by the external measurement and control channel control software, parse and process the content of the message, perform constraint judgment according to the judgment conditions based on the information saved in the global shared area, and execute the corresponding subsequent branches according to different judgment results;
[0040] The remote control command operation unit is used to, if the operation item request is a remote control command operation item request, use the dependency constraint relationship between the measurement and control channel switch operation item and the remote control command operation item in the operation item constraint relationship to execute the operation item according to the operation application information corresponding to the remote control command operation item, the execution result of the measurement and control channel switch operation item and the flight control event process model to obtain the execution result of the remote control command operation item;
[0041] The injection instruction job unit is used to execute the job item according to the job application information corresponding to the remote control instruction job item, the execution result of the counter-signed job item and the flight control event process model, if the job item request is an injection instruction job item, and obtain the execution result of the injection instruction job item by utilizing the dependency constraint relationship between the counter-signed event job item and the injection instruction job item in the job item constraint relationship.
[0042] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the above method is implemented when the processor executes the program.
[0043] The present invention also provides a computer-readable storage medium, which stores a computer program for executing the above method by a computer.
[0044] The present invention also provides a computer program product, comprising a computer program / instruction, which implements the steps of the above method when the computer program / instruction is executed by a processor.
[0045] The present invention parses the flight control operation plan file and constructs a directed acyclic graph of the flight control operation process to obtain a flight control event process model, thereby utilizing the operation item constraint relationship and the flight control event process model to execute the operation items in parallel, thereby realizing the automatic conversion from a time-series linear flight control plan to a process-based flight control operation process, realizing the association judgment and coordinated control of different operation items, improving operation efficiency and accuracy, and saving human resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0047] Figure 1 A flowchart of a method for parallel execution of multi-constraint flight control operations according to an embodiment of the present invention;
[0048] Figure 2 A flow chart of constructing a directed acyclic graph of a flight control operation process in an embodiment of the present invention;
[0049] Figure 3 A flow chart of obtaining a verification result in an embodiment of the present invention;
[0050] Figure 4 A flowchart of executing a job item in an embodiment of the present invention;
[0051] Figure 5 Schematic diagram of the mapping relationship of the flight control operation plan conversion model in an embodiment of the present invention;
[0052] Figure 6 This is a schematic diagram of the flight control operation plan parsing and conversion process in an embodiment of the present invention;
[0053] Figure 7 This is a schematic diagram of the structure of a device for parallel execution of multi-constraint flight control operations according to an embodiment of the present invention;
[0054] Figure 8 Schematic diagram of the structure of a directed acyclic graph module in an embodiment of the present invention;
[0055] Fig. 9 It is a schematic structural diagram of a directed acyclic graph module in another embodiment of the present invention;
[0056] Fig.10 A schematic diagram of the structure of a parallel execution module in an embodiment of the present invention;
[0057] Fig.11 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0058] The embodiments of the present invention provide a method and device for executing multi-constraint flight control operations in parallel.
[0059] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0060] like Figure 1 The execution subject of the method for parallel execution of multi-constrained flight control operations provided by the embodiment of the present invention includes but is not limited to a computer. The present invention parses the flight control operation plan file and constructs a directed acyclic graph of the flight control operation process to obtain a flight control event process model, thereby using the operation item constraint relationship and the flight control event process model to execute the operation items in parallel, thereby realizing the automatic conversion of the time-series linear flight control plan to the process-based flight control operation process, realizing the correlation judgment and coordinated control of different operation items, improving the operation efficiency and accuracy, and saving human resources. Figure 1 The methods shown include:
[0061] Step S1, parsing the acquired flight control operation plan file to obtain a plan information entity object, and identifying and matching the identification parameter attributes of the plan information entity object to obtain a flight control operation item list, a countersignature operation item, a measurement and control channel switch operation item, a remote control command operation item, and an injection command operation item, and establish a flight control operation plan conversion model;
[0062] Step S2, using the flight control operation item list, constructing a directed acyclic graph of the flight control operation process, establishing dependency constraint relationships for the flight control operation items according to business rules, and verifying the directed acyclic graph of the flight control operation process to obtain a verification result;
[0063] Step S3, if the verification result is that the verification is passed, a parallel gateway is added to the directed acyclic graph of the flight control operation process to convert the directed acyclic graph of the flight control operation process into a flight control event process model;
[0064] Step S4, according to the obtained work item request, use the work item constraint relationship, flight control event process model, countersigned work item, measurement and control channel switch work item, remote control command work item and injection command work item to execute the work items in parallel to obtain the execution result.
[0065] Among them, the flight control operation plan file to be executed is obtained, and the flight control operation plan file is parsed to convert it into a plan information entity object. Specifically, the plan type, plan name, task information, target information, key point information, and operation event list information in the plan file are obtained and converted into the same-name attributes in the plan information entity object. Among them, the conventional method can be used to obtain and parse the flight control operation plan file, which will not be repeated here.
[0066] Furthermore, the planning definition identification parameter attributes in the flight control operation plan are identified through the plan information entity object, and matching predefined operation work items are found. After analyzing the entire plan, a list of flight control operation work items for this plan can be obtained. Among them, the identification of planning definition identification parameter attributes can be carried out in a conventional manner, which will not be repeated here. In addition, the operation work item is a model for describing flight control events and actions.
[0067] Further, according to the dependency relationship between the flight control events, actions, and instructions / operations in the flight control operation item list, a flight control operation process in a directed acyclic graph (DAG) format is constructed, that is, a flight control operation process directed acyclic graph. Specifically, the DAG contains nodes and edges.
[0068] Specifically, first pre-process the flight control operation nodes, that is, initialize the nodes in the flight control operation process, that is, the flight control operation items, including: adding start and end nodes, assigning business category information to the flight control operation items, and adding manual confirmation operations to operations such as confirming key controls and important injection instructions. Then identify the constraints of the flight control operation items. Specifically, establish dependency constraint relationships for the flight control operation items according to the preset business rules, including establishing a constraint relationship between the measurement and control channel switch operation item and the remote control instruction operation item, and a constraint relationship between the countersigned event operation item and the injection and sending instruction operation item. Then, bind the constraint relationship for each flight control operation item. Finally, add necessary information to the flight control operation process file, including: each operation item has a node serial number; construct a critical path for the flight control operation process, and mark the operation items as critical path nodes, thereby obtaining a directed acyclic graph of the flight control operation process.
[0069] Furthermore, after obtaining the directed acyclic graph of the flight control operation process, it is necessary to verify the directed acyclic graph of the flight control operation process, wherein the verification includes node time check, loop check and job item identification check. Specifically, the verification is performed using the preset verification rules, such as traversing each flight control job item node in the directed acyclic graph of the flight control operation process, and reading the time attributes of the node, including: start time and end time; judging that the node time is not empty and the end time should be greater than the start time; at the same time, judging that the start time of the node is greater than the end time of the preceding node and the end time is less than the start time of the succeeding node. In addition, it is judged whether there is a loop in the DAG object, and whether there are undefined job items that cannot be identified. If the above checks are not met, the verification result is a verification failure. If they are all met, the verification result is determined to be a verification pass.
[0070] Furthermore, if the verification result is that the verification is passed, the directed acyclic graph of the flight control operation process is converted into a flight control event process model. Specifically, according to the business requirements of the preset flight control operation, a customized parallel gateway for the flight control operation is added. The gateway can be executed based on the completion status of the predecessor node, breaking through the limitation that the traditional parallel gateway requires all the predecessor nodes to be executed before it can be executed, and providing support for flexible jumps during the execution of the flight control operation, thereby realizing the parallel execution of the operation items.
[0071] Further, a specific operation item request is obtained, and different operation item requests correspond to different types of operation items. Specifically, the operation item request includes a countersigning operation item request, a measurement and control channel switch operation item request, a remote control instruction operation item request, and an injection instruction operation item request.
[0072] Specifically, according to the job item request, the flight control job flow file corresponding to the requested job item type is loaded and executed. Specifically, the job item constraint relationship and the flight control event process model are used to execute the flight control job flow file in parallel to obtain the execution result. In the specific execution process, different types of job items correspond to different execution processes, and the rules based on the execution process can be pre-set according to actual needs.
[0073] As an embodiment of the present invention, Figure 2 As shown, using the flight control operation item list, the flight control operation process directed acyclic graph is constructed, including:
[0074] Step S21, using the flight control operation item list to perform node preprocessing and determine the operation item node;
[0075] Step S22, determining the operation item constraint relationship according to the preset business rules; wherein the operation item constraint relationship includes the dependency constraint relationship between the measurement and control channel switch operation item and the remote control instruction operation item, and the dependency constraint relationship between the countersignature event operation item and the injection instruction operation item; wherein the dependency constraint relationship between the measurement and control channel switch operation item and the remote control instruction operation item includes that the prerequisite for the execution of the remote control instruction operation item is that the measurement station channel opening operation item is executed normally, and the prerequisite for the execution of the measurement station channel closing operation item is that the remote control instruction operation item is executed normally; the dependency constraint relationship between the countersignature event operation item and the injection instruction operation item includes that the prerequisite for the execution of the injection instruction operation item is that the countersignature operation item is executed normally and successfully;
[0076] Step S23, constructing a directed acyclic graph of the flight control operation process by using the operation item nodes and the operation item constraint relationship.
[0077] Among them, according to the dependency relationship between the flight control events, actions, and instructions / operations in the flight control operation item list, a flight control operation process in a directed acyclic graph format, that is, a flight control operation process directed acyclic graph, is constructed.
[0078] Furthermore, the flight control operation nodes are preprocessed, that is, the nodes in the flight control operation process are initialized, specifically including: adding start and end nodes, allocating business category information to flight control operation items, and adding manual confirmation operations for operations such as confirming key controls and important injection instructions.
[0079] Furthermore, the constraints of the flight control operation items are identified. Specifically, dependent constraint relationships are established for the flight control operation items according to preset business rules, including establishing a constraint relationship between the measurement and control channel switch operation item and the remote control command operation item, and establishing a constraint relationship between the signing event operation item and the injection and sending command operation item.
[0080] Furthermore, constraints are bound to each flight control operation item. Finally, necessary information is added to the flight control operation process file, including: adding node serial numbers to each operation item; constructing the critical path of the flight control operation process, and marking the operation items as critical path nodes, thereby obtaining a directed acyclic graph of the flight control operation process. Among them, the critical path of the flight control operation process can be constructed in a conventional way, which will not be repeated here.
[0081] As an embodiment of the present invention, Figure 3 As shown, the directed acyclic graph of the flight control operation process is verified, and the verification results include:
[0082] Step S24, traversing the operation item nodes in the directed acyclic graph of the flight control operation process to obtain the node time attribute;
[0083] Step S25, using the node time attribute to perform node time check, loop check and job item identification check, if the node time check, loop check and job item identification check are all passed, then the verification result is determined to be verification passed.
[0084] Among them, after obtaining the directed acyclic graph of the flight control operation process, it is necessary to verify the directed acyclic graph of the flight control operation process, wherein the verification includes node time check, loop check and operation item identification check.
[0085] Specifically, the preset verification rules are used for verification, such as traversing each work item node in the directed acyclic graph of the flight control work process, reading the time attributes of the node, including: start time and end time; judging that the node time is not empty and the end time should be greater than the start time; at the same time, judging that the start time of the node is greater than the end time of the preceding node and the end time is less than the start time of the succeeding node. In addition, it is judged whether there is a loop in the DAG object, and whether there are unrecognizable undefined work items. If the above checks are not met, the verification result is verification failure. If they are all met, the verification result is determined to be verification passed.
[0086] As an embodiment of the present invention, Figure 4As shown, the preset task constraint relationship and the flight control event process model are used to execute the tasks in parallel, and the execution results include:
[0087] Step S41, if the job item request is a request for a co-signed job item, the job item is executed according to the job application information corresponding to the co-signed job item and the flight control event process model to obtain the co-signed job item execution result; wherein, the co-signed process nodes started within the same preset time period are set as a group, and multiple co-signed job work items in a group are executed in parallel; parallel execution is used to achieve mutual non-influence and restriction.
[0088] Step S42: If the operation item request is a measurement and control channel switch operation item request, the operation item is executed according to the operation application information corresponding to the measurement and control channel switch operation item and the flight control event process model, and the measurement and control channel switch operation item execution result is obtained. The message sent by the external measurement and control channel control software is received, and the content of the message is parsed and processed. According to the information saved in the global shared area, the constraint judgment is performed according to the judgment condition, and the corresponding subsequent branch is executed according to different judgment results.
[0089] Step S43, if the operation item request is a remote control command operation item request, the dependency constraint relationship between the measurement and control channel switch operation item and the remote control command operation item in the operation item constraint relationship is used to execute the operation item according to the operation application information corresponding to the remote control command operation item, the measurement and control channel switch operation item execution result and the flight control event process model, and obtain the remote control command operation item execution result;
[0090] Step S44, if the job item request is an injection instruction job item, the dependency constraint relationship between the co-signed event job item and the injection instruction job item in the job item constraint relationship is utilized, and the job item is executed according to the job application information corresponding to the remote control instruction job item, the execution result of the co-signed job item and the flight control event process model to obtain the execution result of the injection instruction job item.
[0091] Among them, the constraint relationship between the measurement and control channel switch operation item and the remote control command operation item includes: the prerequisite for the remote control command operation item to be executed is that the measurement station channel opening operation item is executed normally, and the prerequisite for the measurement station channel closing operation item to be executed is that the remote control command operation item is executed normally. The constraint relationship between the countersignature event operation item and the injection and sending command operation item includes: the prerequisite for the injection command operation item to be executed is that the countersignature operation item is executed normally and successfully.
[0092] Specifically, for different types of work items, the work item constraint relationship and the flight control event process model are used to execute the work items in parallel on the flight control work process file to obtain the execution results.
[0093] Aiming at the complex flight control operation process in aerospace measurement and control missions, the present invention realizes the analysis and processing of flight control operation plans, realizes the automatic conversion from linear plans to process-based operation processes, realizes the constraint processing and automatic operation of multiple operation items in the flight control operation process, and improves the implementation efficiency of flight control operations.
[0094] In a specific embodiment of the present invention, the present invention parses the daily flight control operation plan into a file that can be executed by the executor, which can intuitively display the complex relationship between the various components in the system, and automatically execute the operation tasks with different constraints in the plan, so as to realize the automatic execution of the daily flight control plan and the normalization of manual intervention in key scenarios. The present invention mainly includes two parts: flight control operation plan parsing and flight control operation execution, which realize the solution of parsing, verifying, and automatically executing various operations of the flight control operation plan in parallel. Each part is described in detail as follows:
[0095] 1. Analysis of flight control operation plan
[0096] The flight control operation plan analysis realizes the functions of flight control operation plan model establishment, flight control operation plan analysis and conversion, etc.
[0097] Step 1: Modeling the flight control operation plan
[0098] The flight control operation plan includes flight control events, actions, instructions and operations. The flight control operation plan can be decomposed into multiple flight control events, and the flight control events are further decomposed to obtain the final instruction and operation combination unit, and a flight control operation plan conversion model is established. Through the flight control operation plan conversion model, the linear flight control operation plan is converted to a process-based flight control operation.
[0099] Among them, the mapping relationship of the flight control operation plan conversion model is as follows Figure 5 As shown in the figure, the flight control event conceptual model consists of top-level flight control events, second-level action events, and third-level instruction operation combination units. The third-level instruction operation combination unit is the lowest-level, time-sequenced linear sequence. By modeling the three-level instruction operation combination unit, a call activity sequence or a call activity sequence including manual disposal and custom parallel gateway is formed, and the linear sequence of the flight control operation plan is transformed into a process-based flight control operation conversion.
[0100] Step 2: Flight control operation plan analysis and conversion
[0101] The flight control operation plan parsing and conversion process is to convert the flight control operation plan into the flight control operation process plan according to the flight control operation plan conversion model, and provide input files for the flight control operation executor. Figure 6 As shown in the figure, the flight control operation plan parsing and conversion process includes the following steps:
[0102] Sub-step 1: Convert the flight control operation plan into a plan information entity object. Obtain the plan type, plan name, task information, target information, key point information, and operation event list information in the plan file and convert them into the attributes of the same name in the plan information entity object.
[0103] Sub-step 2: Identify the planning definition identification parameter attributes in the flight control operation plan, find matching predefined operation work items, and obtain the list of flight control operation work items for this plan after analyzing the entire plan.
[0104] Sub-step 3: Based on the dependencies between flight control events, actions, and instructions / operations, a flight control operation process in the format of a directed acyclic graph (DAG) is constructed. The DAG contains nodes and edges. The flight control operation process includes flight control operation node preprocessing, flight control operation item constraint identification, flight control operation item constraint relationship binding, and flight control operation process information completion. The specific process includes:
[0105] A. Flight control operation node preprocessing: Initialize the nodes in the flight control operation process, including: adding start and end nodes, assigning business category information to flight control operation items, and adding manual confirmation operations for operations such as confirming key controls and important injection instructions.
[0106] B. Flight control task constraint identification: Establish dependency constraint relationships for flight control tasks based on business rules, including establishing constraint relationships between measurement and control channel switch tasks and remote control command tasks, and constraint relationships between countersignature event tasks and injection and transmission command tasks. The establishment method is as follows:
[0107] I. Establish a dependency constraint relationship between the measurement and control channel switch operation item and the remote control command operation item. The constraint relationship includes: the prerequisite for the execution of the remote control command operation item is the normal execution of the measurement station channel opening operation item, and the prerequisite for the execution of the measurement station channel closing operation item is the normal execution of the remote control command operation item.
[0108] First, the channel switch is matched. Each job item in the measurement and control channel switch job item sequence is sorted according to the execution time. The search is performed in the measurement and control channel switch job item sequence. Taking the measurement and control channel opening job item as the benchmark, the first measurement and control channel closing job item with the same station identification field (Executor) after the job item is searched to establish a matching pair relationship. The latter is used as the station channel switch pairing event of the former. According to the measurement and control channel opening job item time, the station channel switch pairing events are sequentially taken out from the measurement and control channel switch job item sequence, that is, the measurement and control channel closing job item. Define the name of the measurement and control channel opening job item as station1 and the execution time as t1, and the name of the measurement and control channel closing job item as station2 and the execution time as t2. Construct the remote control command job item dependency constraint search condition: the station identification field "Executor" field value is station1, the channel opening time is t1, and the channel closing time is t2; define the attributes of the remote control command job item including: the station identification is cmdExecutor, and the command sending start time is t; in the remote control command job item sequence, search for the remote control command job item, and search for the conditions that meet the following conditions:
[0109] cmdExecutor==station1 and cmdExecutor==station2 and t1≤t≤t2
[0110] Add all remote control command operation items that meet the conditions to the remote control command operation item sequence listTCmd corresponding to the measurement and control channel opening operation item station1; when the number of nodes in the remote control command operation item sequence listTCmd is greater than or equal to 2, the earliest one is the first command operation item, and the latest one is the last command operation item. According to the requirements, establish a constraint relationship between the measurement station channel opening operation item and the first command operation item, that is, the prerequisite for the execution of the first command operation item is that the measurement station channel opening operation item is successfully executed normally; establish a constraint relationship between the measurement station channel closing operation item and the last command operation item, that is, the prerequisite for the execution of the measurement station channel closing operation item is that the last command operation item is successfully executed normally. When the number of nodes in the sequence listTCmd is equal to 1, the first instruction job item and the last instruction job item sent by the station are the same remote control instruction job item. It is necessary to establish a constraint relationship between the station channel opening job item and the station channel closing job item and the remote control instruction job item at the same time as required, that is, the prerequisite for the execution of the remote control instruction job item is that the station channel opening job item is successfully executed normally, and the prerequisite for the execution of the station channel closing job item is that the remote control instruction job item is successfully executed normally;
[0111] II. Establish a constraint relationship between the co-signed work item and the injected instruction work item. The constraint relationship includes: the prerequisite for the injection instruction work item to be executed is that the co-signed work item is executed normally and successfully. The attributes of the co-signed work item include: the instruction information field (AddName), and the attributes of the injected instruction work item include the source field (FromName). Match the instruction information field (AddName) of the co-signed event and the source field (FromName) of the injected instruction event. When the two fields are consistent, establish a constraint relationship connection. The prerequisite for the injection instruction work item to be executed is that the co-signed work item is executed normally and successfully, that is: after the co-signed work item node is executed normally and successfully, the execution conditions of the injected instruction work item are met.
[0112] C. Binding of constraints for flight control operation items. Bind constraints to the nodes corresponding to the measurement and control channel switch operation item and the remote control command operation item; bind constraints to the nodes corresponding to the countersignature event operation item and the injection and sending command operation item, and add constraint relationship information to the flight control operation process.
[0113] D. Improve flight control operation process information. The flight control operation process file adds necessary information, including: each operation item has a node number; build the critical path of the flight control operation process, and mark the operation item as a critical path node.
[0114] Sub-step 4: Verify the flight control operation process to ensure that it meets the preset rules. Traverse each operation item node and read the node's time attributes, including: start time and end time; determine that the node time is not empty and the end time should be greater than the start time; at the same time, determine whether the start time of the node is greater than the end time of the preceding node and the end time is less than the start time of the succeeding node; determine whether there is a loop in the DAG object; determine whether there are unrecognized undefined operation items. If the above checks are not met, the verification fails.
[0115] Sub-step 5: Graphical model conversion of flight control operation process, including the creation of custom parallel gateways, events and activities. According to the business needs of flight control operations, add customized parallel gateways for flight control operations. This gateway can be executed based on the completion status of the predecessor node, breaking through the limitation that traditional parallel gateways require all predecessor nodes to be executed before they can be executed, and providing support for flexible jumps during the execution of flight control operations. The graphical model conversion process of the flight control operation process includes:
[0116] A. Add a customized parallel gateway for flight control operations after nodes with out-degree > 1, and insert a customized parallel gateway for flight control operations before nodes with in-degree > 1.
[0117] B. Replace the start and end nodes with the start event (StartEvent) and the end event (EndEvent); replace each node with the call activity (CallActivity) node, and set the process id of the call target (calledElement), and deploy and save.
[0118] 2. Flight control operation execution
[0119] When the flight control operation process is started, the flight control operation execution executor will load the flight control operation process file and execute it. When running to the operation item node, according to the "flight control operation item" attribute field of the operation item node, the corresponding flight control operation item information is obtained, loaded and executed. According to different operation item models such as the countersignature operation item, the measurement and control channel switch operation item, the remote control command operation item and the injection command operation item, corresponding judgments and actions are performed, and at the same time, the parallel execution of the above-mentioned different constraint operation items is realized based on the customized parallel gateway of the flight control operation. The specific steps include:
[0120] The first type: Co-signing the operation item
[0121] The counter-signing work item is the work item for issuing an application to start the counter-signing process, monitoring the counter-signing status and collecting the counter-signing results.
[0122] Sub-step 1: After the counter-signing work item is started, it is used to send an application to the counter-signing software (external software) to start the counter-signing process. The start-up counter-signing process nodes of the same day are grouped together, and multiple counter-signing work items in one day can be executed in parallel without affecting or restricting each other. When executing the work item, send a telegram application to the counter-signing software and receive the returned telegram.
[0123] The application information sent includes: work plan ID, work item ID, and the injection data name and target information required for injection countersignature. The returned information received includes: work plan ID, work item ID, result field and result description information.
[0124] Sub-step 2: Match the plan and work item of the application according to the work plan identifier and work item identifier in the returned result to ensure that the returned message matches the issued application message. Judge the result field in the returned message and enter the corresponding execution branch. If the result field is 1, it means that the countersignature process has ended normally and the work item has been executed normally; if the result is not 1, it means that the countersignature process is abnormal and the work item enters the manual emergency disposal state; if the returned result message is not received within the specified time, the work item enters the timeout manual emergency disposal state. The above emergency disposals require the operator of the corresponding position to release the process or re-execute the node.
[0125] The second type: measurement and control channel switch operation item operation
[0126] The measurement and control channel switch operation item is used to monitor the operation items of the measurement station channel opening, including the measurement and control channel opening operation item and the measurement and control channel closing operation item.
[0127] The execution process of the measurement and control channel switch operation item is: receiving the message sent by the measurement and control channel control software (external software), parsing and processing the content of the message, integrating the information saved in the global shared area, making constraint judgments according to the judgment conditions, and executing the corresponding subsequent branches according to different judgment results. The judgment method and execution branches are described in detail as follows:
[0128] A. Judgment method 1: Read the switch status of the measurement and control channel saved in the global data area, and check whether the channel status of the corresponding measurement station in the operation item is "on" or "off". Specifically include:
[0129] I. Obtain the station code of the message sent by the external software and check the match with the station code in the measurement and control channel switch operation item;
[0130] II. If the two station codes are the same, then use the corresponding station code as the keyword to find the switch state of the measurement and control channel corresponding to the station code in the global data area. According to the switch state of the measurement and control channel, execute step C to perform branch judgment check;
[0131] III. If the station codes of the two are inconsistent, the message is discarded and the subsequent steps are not executed;
[0132] B. Judgment condition 2: Read the filter field and channel status field in the message sent by the external software, match them with this job item, and check whether the channel status of the corresponding measuring station in the job item is "on" or "off". Specifically include:
[0133] I. Obtain the station code of the message sent by the external software as the filter field, and check the match with the station code in the measurement and control channel switch operation item;
[0134] II. If the two station codes are the same, continue to obtain the information status of the external software sending the message, and execute step C to perform branch judgment check based on the switch status of the measurement and control channel;
[0135] III. If the station codes of the two are inconsistent, the message is discarded and the subsequent steps are not executed;
[0136] C. After the execution of judgment method 1 and judgment method 2 is completed, the processing results of judgment method 1 and judgment method 2 are identified and judged respectively. Including: for the measurement and control channel opening operation item, when the channel status of the measurement station is "open", the identification judgment result is correct, and when the channel status of the measurement station is other values, the identification judgment result is failed; for the measurement and control channel closing operation item, when the channel status of the measurement station is "closed", the identification judgment result is correct, and when the channel status of the measurement station is other values, the identification judgment result is failed;
[0137] D. Comprehensively judge the judgment results corresponding to judgment method 1 and judgment method 2, and judge the execution branch of the measurement and control channel switch job item. When the judgment results corresponding to judgment method 1 and judgment method 2 are both "correct", the execution of the job item is successful. When the judgment result of one of the judgment methods is "failed" or both judgment methods are "failed", the job item enters the manual emergency disposal state; if no message is received from the external software within the specified time, the work item enters the timeout manual emergency disposal state. Both the manual emergency disposal state and the timeout manual emergency disposal state require the operator of the corresponding position to release the node or re-execute the node.
[0138] The third type: remote control command operation item execution
[0139] The remote control command job item is used to monitor the job items of the remote control command execution, including the first command job item and the last command job item. There is a constraint relationship between the remote control command job item and the measurement and control channel switch job item. The constraint relationship includes: the prerequisite for the execution of the remote control command job item is that the measurement station channel opening job item is executed normally, and the prerequisite for the execution of the measurement station channel closing job item is that the remote control command job item is executed normally. The operation of the remote control command job item includes the measurement and control channel switch job item precondition check, command legitimacy judgment, external software sending command status check and execution branch processing. The execution steps include:
[0140] A. If the remote control command operation item is the first command operation item, determine the pre-constraint of the measurement and control channel opening operation item corresponding to the operation item. If the measurement and control channel opening operation item is executed correctly, the node has the execution condition; otherwise, it enters the manual emergency disposal branch and is handled manually;
[0141] B. Determine whether the instruction corresponding to the remote control instruction operation item is legal. If the instruction is in the preset legal list, the instruction is determined to be legal and waits for receiving status messages; if the instruction is not in the preset legal list, it enters the manual emergency handling branch and is handled manually;
[0142] C. Check the status of instructions sent by external software. Receive the message of instructions sent by external software, parse and check the message content, and when the message content matches the remote control instruction job item, it indicates that the job item is executed successfully, otherwise it indicates that the job item fails to execute. The specific matching rules include: checking that the instruction chain code field in the message content is consistent with the instruction chain code information in the remote control instruction job item, and checking that the command station field in the message content is consistent with the station field in the remote control instruction job item. If one of the matching rules is not met, discard the message and continue waiting; if the matching rules are completely consistent, obtain the command status field; if the command status field is "successful", the job item is executed successfully, and the subsequent job items continue to be executed; if the command status field is other values, enter the manual emergency disposal branch and handle it manually;
[0143] D. If no external software message is received before the remote control command work item ends, the work item enters the timeout manual emergency disposal state and is handled manually.
[0144] Fourth: Inject instruction job item to run
[0145] The injection instruction job item is used to monitor the job item of the injection instruction execution, and has a constraint relationship with the counter-signing job item. The injection instruction job item has a constraint relationship with the counter-signing job item, and the constraint relationship includes: the prerequisite for the execution of the injection instruction job item is that the counter-signing job item is executed successfully. The operation of the injection instruction job item includes the precondition check of the measurement and control channel switch job item, the judgment of the legality of the instruction, the status check of the external software sending the instruction, and the execution branch processing. The execution steps include:
[0146] A. Before the injection instruction job item is executed, the status of the preceding countersigned job item is determined. If the countersigned job item is executed correctly, the node meets the execution conditions; otherwise, it enters the manual emergency disposal branch and is manually disposed;
[0147] B. Determine whether the data file corresponding to the injection instruction job item exists. Get the file name field in the injection instruction job item, and check whether the data file corresponding to the file name has been stored in the corresponding location of the primary and backup servers, where the primary and backup server addresses and storage locations are pre-bound parameters; if the data file has been stored in the corresponding location of the primary and backup servers, then determine that the data file exists and execute subsequent steps; otherwise, determine that the data file does not exist, issue an alarm message, enter the manual emergency disposal branch, and handle it manually;
[0148] C. Check the status of injection instructions sent by external software. Receive the injection instruction message sent by external software, parse and check the message content, and when the message content matches the injection instruction job item, it indicates that the job item is executed successfully, otherwise it indicates that the job item fails to execute. Specific matching rules include: checking that the injection chain code field in the message content is consistent with the injection chain code information in the injection instruction job item, checking that the command station field in the message content is consistent with the station field in the injection instruction job item, and checking that the file name field in the message content is consistent with the data file name field of the injection instruction job item. If one of the matching rules is not met, discard the message and continue waiting; if the matching rules are completely consistent, obtain the command status field; if the command status field is "successful", the job item is executed successfully, and the subsequent job items continue to be executed; if the command status field is other values, enter the manual emergency disposal branch and handle it manually;
[0149] D. If no external software message is received before the injection instruction job item is completed, the work item enters the timeout manual emergency disposal state and is handled manually.
[0150] The present invention realizes the automatic conversion of the time-series linear flight control plan to the process-based flight control operation process, has the ability to automatically establish constraints for multiple operation items, and realizes the association judgment and coordinated control of different operation items. In addition, the present invention realizes the automatic judgment of the constraints of multiple operation items, automatically schedules the execution of external software, and judges the execution status results, and has the ability to judge the execution branch of the operation item according to the status.
[0151] like Figure 7 The figure is a schematic diagram of the structure of a device for parallel execution of multi-constraint flight control operations according to an embodiment of the present invention. The device shown in the figure includes:
[0152] The operation parsing module 10 is used to parse the acquired flight control operation plan file to obtain the plan information entity object, and identify and match the identification parameter attributes of the plan information entity object to obtain the flight control operation item list, countersignature operation item, measurement and control channel switch operation item, remote control command operation item and injection command operation item, and establish a flight control operation plan conversion model;
[0153] The directed acyclic graph module 20 is used to construct a directed acyclic graph of the flight control operation process using the flight control operation item list, and verify the directed acyclic graph of the flight control operation process to obtain a verification result;
[0154] The graphical model module 30 is used to add a parallel gateway to the directed acyclic graph of the flight control operation process if the verification result is passed, so as to convert the directed acyclic graph of the flight control operation process into a flight control event process model;
[0155] The parallel execution module 40 is used to execute the job items in parallel according to the acquired job item requests, using the job item constraint relationship, the flight control event process model, the co-signed job items, the measurement and control channel switch job items, the remote control command job items and the injection command job items to obtain the execution results.
[0156] As an embodiment of the present invention, Figure 8 As shown, the directed acyclic graph module 20 includes:
[0157] The operation item node unit 21 is used to perform node preprocessing using the flight control operation item list to determine the operation item node;
[0158] The constraint relationship unit 22 is used to determine the operation item constraint relationship according to the preset business rules; wherein the operation item constraint relationship includes the dependency constraint relationship between the measurement and control channel switch operation item and the remote control instruction operation item, and the dependency constraint relationship between the countersignature event operation item and the injection instruction operation item; wherein the dependency constraint relationship between the measurement and control channel switch operation item and the remote control instruction operation item includes that the prerequisite for the execution of the remote control instruction operation item is that the measurement station channel opening operation item is executed normally, and the prerequisite for the execution of the measurement station channel closing operation item is that the remote control instruction operation item is executed normally; the dependency constraint relationship between the countersignature event operation item and the injection instruction operation item includes that the prerequisite for the execution of the injection instruction operation item is that the countersignature operation item is executed normally and successfully;
[0159] The directed acyclic graph unit 23 is used to construct a directed acyclic graph of the flight control operation process by using the operation item nodes and the operation item constraint relationship.
[0160] As an embodiment of the present invention, Fig. 9 As shown, the directed acyclic graph module 20 also includes:
[0161] The time attribute unit 24 is used to traverse the operation item nodes in the directed acyclic graph of the flight control operation process to obtain the node time attribute;
[0162] The verification unit 25 is used to perform node time check, loop check and operation item identification check using the node time attribute. If the node time check, loop check and operation item identification check are all passed, the verification result is determined to be passed.
[0163] As an embodiment of the present invention, Fig.10 As shown, the parallel execution module 40 includes:
[0164] The counter-signed work item execution unit 41 is used to execute the work item according to the work application information corresponding to the counter-signed work item and the flight control event process model if the work item request is a counter-signed work item request, and obtain the counter-signed work item execution result; wherein the counter-signed process nodes started within the same preset time period are set as a group, and multiple counter-signed work items in a group are executed in parallel;
[0165] The measurement and control channel switch operation unit 42 is used for, if the operation item request is a measurement and control channel switch operation item request, executing the operation item according to the operation application information corresponding to the measurement and control channel switch operation item and the flight control event process model, obtaining the measurement and control channel switch operation item execution result, and receiving the message sent by the external measurement and control channel control software, parsing and processing the content of the message, performing constraint judgment according to the judgment conditions based on the information saved in the global shared area, and executing the corresponding subsequent branches according to different judgment results;
[0166] The remote control instruction operation unit 43 is used to, if the operation item request is a remote control instruction operation item request, use the dependency constraint relationship between the measurement and control channel switch operation item and the remote control instruction operation item in the operation item constraint relationship to execute the operation item according to the operation application information corresponding to the remote control instruction operation item, the execution result of the measurement and control channel switch operation item and the flight control event process model to obtain the execution result of the remote control instruction operation item;
[0167] The injection instruction job unit 44 is used to execute the job item according to the job application information corresponding to the remote control instruction job item, the execution result of the co-signed job item and the flight control event process model, if the job item request is an injection instruction job item, and obtain the execution result of the injection instruction job item.
[0168] Based on the same application concept as the above-mentioned method for executing multiple-constraint flight control operations in parallel, the present invention also provides the above-mentioned device for executing multiple-constraint flight control operations in parallel. Since the principle of solving the problem by the device for executing multiple-constraint flight control operations in parallel is similar to that of the method for executing multiple-constraint flight control operations in parallel, the implementation of the device for executing multiple-constraint flight control operations in parallel can refer to the implementation of the method for executing multiple-constraint flight control operations in parallel, and the repeated parts will not be repeated.
[0169] The present invention parses the flight control operation plan file and constructs a directed acyclic graph of the flight control operation process to obtain a flight control event process model, thereby utilizing the operation item constraint relationship and the flight control event process model to execute the operation items in parallel, thereby realizing the automatic conversion from a time-series linear flight control plan to a process-based flight control operation process, realizing the association judgment and coordinated control of different operation items, improving operation efficiency and accuracy, and saving human resources.
[0170] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the above method is implemented when the processor executes the program.
[0171] The present invention also provides a computer program product, comprising a computer program / instruction, which implements the steps of the above method when the computer program / instruction is executed by a processor.
[0172] The present invention also provides a computer-readable storage medium, which stores a computer program for executing the above method by a computer.
[0173] like Fig.11 As shown, the electronic device 600 may further include: a communication module 110, an input unit 120, an audio processor 130, a display 160, and a power supply 170. It is worth noting that the electronic device 600 does not necessarily have to include Fig.11 In addition, the electronic device 600 may also include Fig.11 For components not shown, reference may be made to the prior art.
[0174] like Fig.11 As shown, the central processor 100 is sometimes also referred to as a controller or an operation control, and may include a microprocessor or other processor devices and / or logic devices. The central processor 100 receives inputs and controls the operations of various components of the electronic device 600.
[0175] The memory 140 may be, for example, one or more of a cache, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory or other suitable devices. The above-mentioned information related to the failure may be stored, and a program for executing the relevant information may also be stored. The CPU 100 may execute the program stored in the memory 140 to implement information storage or processing.
[0176] The input unit 120 provides input to the CPU 100. The input unit 120 is, for example, a key or a touch input device. The power supply 170 is used to provide power to the electronic device 600. The display 160 is used to display display objects such as images and text. The display may be, for example, an LCD display, but is not limited thereto.
[0177] The memory 140 may be a solid-state memory, such as a read-only memory (ROM), a random access memory (RAM), a SIM card, etc. It may also be a memory that saves information even when the power is off, can be selectively erased, and is provided with more data, examples of which are sometimes referred to as EPROMs, etc. The memory 140 may also be some other type of device. The memory 140 includes a buffer memory 141 (sometimes referred to as a buffer). The memory 140 may include an application / function storage unit 142, which is used to store application programs and function programs or processes for executing the operation of the electronic device 600 through the central processor 100.
[0178] The memory 140 may also include a data storage unit 143 for storing data, such as contacts, digital data, pictures, sounds, and / or any other data used by the electronic device. The driver storage unit 144 of the memory 140 may include various drivers for communication functions of the electronic device and / or for executing other functions of the electronic device (such as messaging applications, address book applications, etc.).
[0179] The communication module 110 is a transmitter / receiver 110 that transmits and receives signals via an antenna 111. The communication module (transmitter / receiver) 110 is coupled to the central processor 100 to provide input signals and receive output signals, which may be the same as the case of a conventional mobile communication terminal.
[0180] Based on different communication technologies, multiple communication modules 110 may be provided in the same electronic device, such as a cellular network module, a Bluetooth module and / or a wireless LAN module. The communication module (transmitter / receiver) 110 is also coupled to a speaker 131 and a microphone 132 via an audio processor 130 to provide an audio output via the speaker 131 and receive an audio input from the microphone 132, thereby realizing a common telecommunication function. The audio processor 130 may include any suitable buffer, decoder, amplifier, etc. In addition, the audio processor 130 is also coupled to the central processor 100, so that the sound can be recorded on the local machine through the microphone 132, and the sound stored on the local machine can be played through the speaker 131.
[0181] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0182] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1A device that provides the functions specified in a block or multiple blocks.
[0183] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0184] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0185] The present invention uses specific embodiments to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for parallel execution of multi-constraint flight control operations, characterized in that: The method comprises: Parse the acquired flight control operation plan file to obtain the plan information entity object, identify and match the identification parameter attributes of the plan information entity object, obtain the flight control operation item list, countersignature operation item, measurement and control channel switch operation item, remote control command operation item and injection command operation item, and establish a flight control operation plan conversion model; Using the flight control operation item list, constructing a directed acyclic graph of the flight control operation process, establishing dependency constraint relationships for the flight control operation items according to business rules, and verifying the directed acyclic graph of the flight control operation process to obtain a verification result; If the verification result is that the verification is passed, a parallel gateway is added to the directed acyclic graph of the flight control operation process to convert the directed acyclic graph of the flight control operation process into a flight control event process model; According to the obtained work item request, the work item constraint relationship, flight control event process model, countersigned work item, measurement and control channel switch work item, remote control command work item and injection command work item are used to execute the work items in parallel to obtain the execution result; Among them, using the flight control operation item list to construct a directed acyclic graph of the flight control operation process includes: Perform node preprocessing using the flight control operation item list to determine the operation item nodes; According to preset business rules, the operation item constraint relationship is determined; wherein, the operation item constraint relationship includes the dependency constraint relationship between the measurement and control channel switch operation item and the remote control instruction operation item, and the dependency constraint relationship between the counter-signing event operation item and the injection instruction operation item; wherein, the dependency constraint relationship between the measurement and control channel switch operation item and the remote control instruction operation item includes that the prerequisite for the execution of the remote control instruction operation item is the normal execution of the measurement station channel opening operation item, and the prerequisite for the execution of the measurement station channel closing operation item is the normal execution of the remote control instruction operation item; the dependency constraint relationship between the counter-signing event operation item and the injection instruction operation item includes that the prerequisite for the execution of the injection instruction operation item is the normal and successful execution of the counter-signing operation item; The directed acyclic graph of the flight control operation process is constructed by using the operation item nodes and the operation item constraint relationship.
2. The method according to claim 1, characterized in that The directed acyclic graph of the flight control operation process is verified, and the verification results obtained include: Traversing the operation item nodes in the directed acyclic graph of the flight control operation process to obtain the node time attributes; The node time attribute is used to perform a node time check, a loop check, and an operation item identification check. If the node time check, the loop check, and the operation item identification check are all passed, the verification result is determined to be a verification pass.
3. The method according to claim 1, characterized in that: The preset task constraint relationship and the flight control event process model are used to execute the tasks in parallel, and the execution results obtained include: If the work item request is a request for a co-signed work item, the work item is executed according to the work application information corresponding to the co-signed work item and the flight control event process model to obtain the co-signed work item execution result; wherein the co-signed process nodes started within the same preset time period are set as a group, and multiple co-signed work items in a group are executed in parallel; If the operation item request is a measurement and control channel switch operation item request, the operation item is executed according to the operation application information corresponding to the measurement and control channel switch operation item and the flight control event process model, the measurement and control channel switch operation item execution result is obtained, and a message sent by the external measurement and control channel control software is received, the content of the message is parsed and processed, and constraint judgment is performed according to the judgment conditions based on the information saved in the global shared area, and the corresponding subsequent branches are executed according to different judgment results; If the operation item request is a remote control command operation item request, the dependency constraint relationship between the measurement and control channel switch operation item and the remote control command operation item in the operation item constraint relationship is utilized, and the operation item is executed according to the operation application information corresponding to the remote control command operation item, the execution result of the measurement and control channel switch operation item and the flight control event process model to obtain the execution result of the remote control command operation item; If the job item request is an injection instruction job item, the dependency constraint relationship between the co-signed event job item and the injection instruction job item in the job item constraint relationship is utilized to execute the job item according to the job application information corresponding to the remote control instruction job item, the execution result of the co-signed job item and the flight control event process model to obtain the execution result of the injection instruction job item.
4. A device for executing multi-constraint flight control operations in parallel, characterized in that: The device comprises: The operation parsing module is used to parse the acquired flight control operation plan file to obtain the plan information entity object, identify and match the identification parameter attributes of the plan information entity object, obtain the flight control operation item list, countersignature operation item, measurement and control channel switch operation item, remote control command operation item and injection command operation item, and establish a flight control operation plan conversion model; A directed acyclic graph module is used to construct a directed acyclic graph of the flight control operation process using the flight control operation item list, establish dependency constraint relationships for the flight control operation items according to business rules, and verify the directed acyclic graph of the flight control operation process to obtain a verification result; A graphical model module, for adding a parallel gateway to the directed acyclic graph of the flight control operation process if the verification result is a passed verification, so as to convert the directed acyclic graph of the flight control operation process into a flight control event process model; The parallel execution module is used to execute the work items in parallel according to the acquired work item requests, using the work item constraint relationship, the flight control event process model, the countersigned work item, the measurement and control channel switch work item, the remote control command work item and the injection command work item to obtain the execution result; Wherein, the directed acyclic graph module includes: A work item node unit, used to perform node preprocessing using the flight control work item list to determine the work item node; A constraint relationship unit is used to determine the constraint relationship of the operation items according to preset business rules; wherein the constraint relationship of the operation items includes the dependency constraint relationship between the measurement and control channel switch operation item and the remote control instruction operation item, and the dependency constraint relationship between the countersignature event operation item and the injection instruction operation item; wherein the dependency constraint relationship between the measurement and control channel switch operation item and the remote control instruction operation item includes that the prerequisite for the execution of the remote control instruction operation item is the normal execution of the measurement station channel opening operation item, and the prerequisite for the execution of the measurement station channel closing operation item is the normal execution of the remote control instruction operation item; the dependency constraint relationship between the countersignature event operation item and the injection instruction operation item includes that the prerequisite for the execution of the injection instruction operation item is the successful normal execution of the countersignature operation item; The directed acyclic graph unit is used to construct the directed acyclic graph of the flight control operation process by using the operation item nodes and the operation item constraint relationship.
5. The device according to claim 4, characterized in that The directed acyclic graph module also includes: A time attribute unit, used to traverse the operation item nodes in the directed acyclic graph of the flight control operation process to obtain the node time attributes; The verification unit is used to use the node time attribute to perform node time check, loop check and job item identification check. If the node time check, loop check and job item identification check are all passed, the verification result is determined to be passed.
6. The device according to claim 4, characterized in that The parallel execution module comprises: A counter-signed work item execution unit is used for, if the work item request is a counter-signed work item request, executing the work item according to the work application information corresponding to the counter-signed work item and the flight control event process model, to obtain the counter-signed work item execution result; wherein the counter-signed process nodes started within the same preset time period are set as a group, and multiple counter-signed work items in a group are executed in parallel; The measurement and control channel switch operation unit is used for, if the operation item request is a measurement and control channel switch operation item request, executing the operation item according to the operation application information corresponding to the measurement and control channel switch operation item and the flight control event process model, obtaining the measurement and control channel switch operation item execution result, and receiving the message sent by the external measurement and control channel control software, parsing and processing the content of the message, performing constraint judgment according to the judgment conditions based on the information saved in the global shared area, and executing the corresponding subsequent branches according to different judgment results; A remote control instruction operation unit, for, if the operation item request is a remote control instruction operation item request, using the dependency constraint relationship between the measurement and control channel switch operation item and the remote control instruction operation item in the operation item constraint relationship, executing the operation item according to the operation application information corresponding to the remote control instruction operation item, the execution result of the measurement and control channel switch operation item and the flight control event process model, to obtain the execution result of the remote control instruction operation item; The injection instruction job unit is used to execute the job item according to the job application information corresponding to the remote control instruction job item, the execution result of the co-signed job item and the flight control event process model, if the job item request is an injection instruction job item, and obtain the execution result of the injection instruction job item.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 3 is implemented.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program for causing a computer to execute the method according to any one of claims 1 to 3.
