A method, device and equipment for generating a critical path for autonomous action of an unmanned boat
By constructing autonomous action monitoring maps and generating critical path data, the weakness of the unmanned boat monitoring system in autonomous action monitoring is solved, and operational efficiency and information acquisition capabilities are improved.
Patent Information
- Application Number
- CN202410649692.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-08-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing unmanned boat monitoring system is weak in autonomous action monitoring. Operators need to perform serial operations and query status by themselves, which can easily ignore important information, leading to misjudgments and low efficiency.
By obtaining the current mission data of the unmanned boat, the final target state set data and the intermediate state set sequence data are determined, an autonomous action monitoring graph is constructed, critical path data is generated based on the directions and weights of nodes and edges in the graph, and key information is dynamically displayed.
It reduces the operator's workload, improves work efficiency, and enhances the ability to acquire key information and execute key actions in the autonomous operation of unmanned boats.
Smart Images

Figure CN118228904B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information processing, and in particular to a method, device and equipment for generating a key path for autonomous action of an unmanned boat. Background Art
[0002] At present, the actions of unmanned boats must be implemented under the supervision of personnel, and the actions of unmanned boats are monitored and controlled by control stations deployed on shore or motherships. With the improvement of the intelligence level of unmanned boats, the tasks performed by unmanned boats are becoming more and more diverse and complex. The emergence of large unmanned boats marks the further development of unmanned boats in the direction of multi-function and integration. Since the number of personnel in the control station is greatly reduced compared with manned ships, this requires the control station to be able to display key content to operators in a concise and clear manner, and assist operators to quickly grasp the situation and respond to events. The unmanned boat autonomous action monitoring diagram uses a directed acyclic graph as a representation model, and expresses key information such as the current state of the unmanned boat, the state to be achieved in the future, the required personnel operation, the action of the unmanned boat and the final state in the diagram, extracts the key paths and key nodes, and graphically represents this directed acyclic graph on the console, and the auxiliary personnel grasp the key points and respond quickly to avoid the operator from getting caught up in the details and ignoring the important content. The nodes in the autonomous action monitoring diagram represent the state of the unmanned boat, and the lines between the nodes represent the action of the unmanned boat and the required personnel operation.
[0003] The existing unmanned boat monitoring mainly focuses on navigation monitoring, and the monitoring of autonomous actions is relatively weak. The main problems include: most unmanned boats do not have an autonomous action monitoring map, and rely on operators to connect all action-related operations, query status, and confirm the results of the unmanned boat's actions. This makes it easy for operators to ignore important information, make wrong judgments, and give inappropriate instructions; even if an autonomous action monitoring map is constructed, it cannot dynamically display the information and operation content that need to be focused on as the unmanned boat's mission and status change, which makes it easy for operators to miss information and affect the efficiency of the unmanned boat. Summary of the invention
[0004] The present invention provides a method, device and equipment for generating a key path for autonomous action of an unmanned boat, which reduces the workload of operators and improves work efficiency.
[0005] In order to solve the above technical problems, the technical solution of the present invention is as follows:
[0006] A method for generating a critical path for autonomous action of an unmanned boat, comprising:
[0007] Obtain the current mission data of the unmanned boat;
[0008] Determine final target state set data according to the current task data;
[0009] Determine the intermediate state set sequence data according to the final target state set data;
[0010] Obtaining an autonomous action monitoring graph according to the state nodes in the intermediate state set sequence data, directions and weights of the edges between the nodes;
[0011] According to the autonomous action monitoring diagram, critical path data is obtained.
[0012] Optionally, obtain the current mission data of the unmanned boat, including:
[0013] Obtain the time data, geographical data, target status data, action constraint data and resource quantity of the current mission of the unmanned boat.
[0014] Optionally, determining final target state set data according to the current task data includes:
[0015] Determine target state set data of all tasks of the unmanned boat according to the current task data;
[0016] The target state set data of all the tasks are combined to obtain the final target state set data.
[0017] Optionally, determining the intermediate state set sequence data according to the final target state set data includes:
[0018] Determining an initial item of an intermediate state set sequence according to the final target state set data;
[0019] Determining an intermediate term of the intermediate state set sequence according to the initial term of the intermediate state set sequence;
[0020] Determining a preceding state set sequence according to an intermediate item of the intermediate state set sequence;
[0021] According to the preceding state set sequence, intermediate state set sequence data is determined.
[0022] Optionally, according to the state nodes in the intermediate state set sequence data, directions and weights of the edges between the nodes, an autonomous action monitoring graph is obtained, including:
[0023] The state data in the intermediate state set sequence data are used as nodes, the operations between the nodes are used as directed edges, and an autonomous action monitoring graph is constructed according to the nodes, the edges between the nodes and the weights of each edge.
[0024] Optionally, the state data in the intermediate state set sequence data is used as nodes, the operations between the nodes are used as directed edges, and an autonomous action monitoring graph is constructed according to the nodes, the edges between the nodes and the weights of each edge, including:
[0025] Determining first state node data and second state node data in the intermediate state set sequence data;
[0026] If the first state node data and the second state node data satisfy: When, according to the formula:
[0027]
[0028] Calculate the weight; and from the state To status The edge of is added to the first edge set, and the first edge set is expressed as: ;
[0029] If the first state node data and the second state node data satisfy: When, according to the formula:
[0030]
[0031] Calculate the weight; and from the state To status The edge of is added to the second edge set, and the second edge set is expressed as: ;
[0032] The first state node data is added to the monitoring graph state node set, which is expressed as:
[0033]
[0034] According to the formula: , get the autonomous action monitoring graph;
[0035] in, For autonomous action monitoring diagram, A set of monitoring graph status nodes; is the first state node data, A state node in is the second state node data, A state node in Status The set of all previous states of Status The set of all previous states of From the state To status The weight of the edge, From the state To status The edge weights of is the time standard value, which is a predetermined constant; is the resource standard value, which is a predetermined constant; The time coefficient, operation coefficient, resource coefficient, and normalization coefficient are predetermined constants, respectively; , , From the state To status The time required for the action, whether manual intervention is required, the number of resources, , , From the state To status The time required for the action, whether manual intervention is required, the number of resources, is the edge set, From the state To status The edge, From the state To status edge.
[0036] Optionally, obtaining critical path data according to the autonomous action monitoring diagram includes:
[0037] According to the formula: , find the critical path;
[0038] in, is the evaluation function, For the initial state to the node The sum of the weights of For Node The weight estimate to the target state, ; In the mth sequence of the intermediate state set sequence, that is is the standard weight, which is a predetermined constant; the result of the search is the critical path, .
[0039] An embodiment of the present invention further provides a device for generating a critical path for autonomous action of an unmanned boat, the device comprising:
[0040] The acquisition module is used to obtain the current mission data of the unmanned boat;
[0041] A first determination module, used to determine final target state set data according to the current task data;
[0042] A second determination module is used to determine the intermediate state set sequence data according to the final target state set data;
[0043] A third determination module is used to obtain an autonomous action monitoring graph according to the state nodes in the intermediate state set sequence data, the directions and weights of the edges between the nodes;
[0044] A generation module is used to obtain critical path data according to the autonomous action monitoring diagram.
[0045] Optionally, obtain the current mission data of the unmanned boat, including:
[0046] Obtain the time data, geographical data, target status data, action constraint data and resource quantity of the current mission of the unmanned boat.
[0047] Optionally, determining final target state set data according to the current task data includes:
[0048] Determine target state set data of all tasks of the unmanned boat according to the current task data;
[0049] The target state set data of all the tasks are combined to obtain the final target state set data.
[0050] Optionally, determining the intermediate state set sequence data according to the final target state set data includes:
[0051] Determining an initial item of an intermediate state set sequence according to the final target state set data;
[0052] Determining an intermediate term of the intermediate state set sequence according to the initial term of the intermediate state set sequence;
[0053] Determining a preceding state set sequence according to an intermediate item of the intermediate state set sequence;
[0054] According to the preceding state set sequence, intermediate state set sequence data is determined.
[0055] Optionally, according to the state nodes in the intermediate state set sequence data, directions and weights of the edges between the nodes, an autonomous action monitoring graph is obtained, including:
[0056] The state data in the intermediate state set sequence data are used as nodes, the operations between the nodes are used as directed edges, and an autonomous action monitoring graph is constructed according to the nodes, the edges between the nodes and the weights of each edge.
[0057] Optionally, the state data in the intermediate state set sequence data is used as nodes, the operations between the nodes are used as directed edges, and an autonomous action monitoring graph is constructed according to the nodes, the edges between the nodes and the weights of each edge, including:
[0058] Determining first state node data and second state node data in the intermediate state set sequence data;
[0059] If the first state node data and the second state node data satisfy: When, according to the formula:
[0060]
[0061] Calculate the weight; and from the state To status The edge of is added to the second edge set, and the second edge set is expressed as: ;
[0062] The first state node data is added to the monitoring graph state node set, which is expressed as:
[0063]
[0064] According to the formula: , get the autonomous action monitoring graph;
[0065] in, For autonomous action monitoring diagram, A set of monitoring graph status nodes; is the first state node data, A state node in is the second state node data, A state node in Status The set of all previous states of Status The set of all previous states of From the state To status The edge weights of From the state To status The edge weights of is the time standard value, which is a predetermined constant; is the resource standard value, which is a predetermined constant; The time coefficient, operation coefficient, resource coefficient, and normalization coefficient are predetermined constants, respectively; , , From the state To status The time required for the action, whether manual intervention is required, the number of resources, , , From the state To status The time required for the action, whether manual intervention is required, the number of resources, is the edge set, From the state To status The edge, From the state To status edge.
[0066] Optionally, obtaining critical path data according to the autonomous action monitoring diagram includes:
[0067] According to the formula: , find the critical path;
[0068] in, is the evaluation function, For the initial state to the node The sum of the weights of For Node The weight estimate to the target state, ; In the mth sequence of the intermediate state set sequence, that is is the standard weight, which is a predetermined constant; the result of the search is the critical path, .
[0069] An embodiment of the present invention further provides a computing device, comprising: a processor and a memory storing a computer program, wherein the computer program executes the above method when executed by the processor.
[0070] An embodiment of the present invention further provides a computer-readable storage medium storing instructions, which, when executed on a computer, enable the computer to execute the above method.
[0071] The above solution of the present invention includes at least the following beneficial effects:
[0072] The solution of the present invention obtains the current mission data of the unmanned boat; determines the final target state set data based on the current mission data; determines the intermediate state set sequence data based on the final target state set data; obtains an autonomous action monitoring diagram based on the state nodes in the intermediate state set sequence data, the directions and weights of the edges between the nodes; obtains the key path data based on the autonomous action monitoring diagram, thereby reducing the workload of the operator, improving the work efficiency, and enhancing the operator's ability to obtain key information and execute key actions in the autonomous action of the unmanned boat. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] Figure 1 is a flow chart of a method for generating a key path for autonomous action of an unmanned boat provided by an embodiment of the present invention;
[0074] Figure 2 It is a structural diagram of a device for generating a key path for autonomous action of an unmanned boat provided by an embodiment of the present invention;
[0075] Figure 3 It is a schematic diagram of the structure of a computing device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0076] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.
[0077] like Figure 1 As shown, an embodiment of the present invention provides a method for generating a critical path for autonomous action of an unmanned boat, comprising:
[0078] Step 11, obtaining the current mission data of the unmanned boat;
[0079] Step 12, determining the final target state set data according to the current task data;
[0080] Step 13, determining the intermediate state set sequence data according to the final target state set data;
[0081] Step 14, obtaining an autonomous action monitoring graph according to the state nodes in the intermediate state set sequence data, directions and weights of the edges between the nodes;
[0082] Step 15, obtaining critical path data according to the autonomous action monitoring diagram.
[0083] In this embodiment, the current task data of the unmanned boat is first obtained, and the current task data of the unmanned boat includes: time data, geographical data, target state data, action constraint data and resource quantity of the current task of the unmanned boat; according to the current task data, the final target state set data is determined, including: according to the current task data, the target state set data of all tasks of the unmanned boat is determined; the target state set data of all tasks are merged to obtain the final target state set data; according to the final target state set data, the intermediate state set sequence data is determined; according to the state nodes in the intermediate state set sequence data, the directions and weights of the edges between the nodes, an autonomous action monitoring graph is obtained, including: taking the state data in the intermediate state set sequence data as nodes and the operations between the nodes as directed edges, and constructing an autonomous action monitoring graph according to the nodes, the edges between the nodes and the weights of each edge; according to the autonomous action monitoring graph, by the formula: , find the critical path; among them, is the evaluation function, For the initial state to the node The sum of the weights of For Node The weight estimate to the target state, ; In the mth sequence of the intermediate state set sequence, that is is the standard weight, which is a predetermined constant; the result of the search This technical solution reduces the workload of operators, improves work efficiency, and enhances operators' ability to obtain key information and perform key actions in the autonomous operation of unmanned boats.
[0084] In an optional embodiment of the present invention, step 13 may include:
[0085] Step 131, determining the initial item of the intermediate state set sequence according to the final target state set data;
[0086] Step 132, determining an intermediate term of the intermediate state set sequence according to the initial term of the intermediate state set sequence;
[0087] Step 133, determining a pre-state set sequence according to the intermediate item of the intermediate state set sequence;
[0088] Step 134, determining the intermediate state set sequence data according to the preceding state set sequence.
[0089] In this embodiment, according to the final target state set data, by the formula:
[0090]
[0091] Determine the initial term of the intermediate state set sequence; where, is the initial item of the intermediate state set sequence, is the final target state set data; according to the initial item of the intermediate state set sequence, the intermediate item of the intermediate state set sequence is determined; according to the intermediate item of the intermediate state set sequence, by the formula:
[0092]
[0093] Determine the sequence of pre-state sets; where, is the sequence of previous state sets, is the intermediate item of the intermediate state set sequence, The current state set, The set of all previous states of Prefix, The state node of the unmanned boat, m, p are set ordinals; according to the preceding state set sequence, the intermediate state set sequence data is determined.
[0094] In an optional embodiment of the present invention, step 14 may include:
[0095] Step 141, determining first state node data and second state node data in the intermediate state set sequence data;
[0096] If the first state node data and the second state node data satisfy: When, according to the formula:
[0097]
[0098] Calculate the weight; and from the state To status The edge of is added to the first edge set, and the first edge set is expressed as: ;
[0099] If the first state node data and the second state node data satisfy: When, according to the formula:
[0100]
[0101] Calculate the weight; and from the state To status The edge of is added to the second edge set, and the second edge set is expressed as: ;
[0102] Step 142, adding the first state node data to the monitoring graph state node set, expressed as:
[0103]
[0104] Step 143, according to the formula: , get the autonomous action monitoring graph;
[0105] in, For autonomous action monitoring diagram, A set of monitoring graph status nodes; is the first state node data, A state node in is the second state node data, A state node in Status The set of all previous states of Status The set of all previous states of From the state To status The weight of the edge, From the state To status The weight of the edge, is the time standard value, which is a predetermined constant; is the resource standard value, which is a predetermined constant; The time coefficient, operation coefficient, resource coefficient, and normalization coefficient are predetermined constants, respectively; , , From the state To status The time required for the action, whether manual intervention is required, the number of resources, , , From the state To status The time required for the action, whether manual intervention is required, the number of resources, is the edge set, From the state To status The edge, From the state To status edge.
[0106] A specific embodiment of the method for generating a critical path for autonomous action of an unmanned boat provided by an embodiment of the present invention is:
[0107] First, the following definition is made: Let the state node set of the unmanned boat be , express yes The previous state of The set of all previous states of a state is expressed as , Required Action , meaning ; The current state set is , ; Current task set ,Task Represented as {task time, task area, action constraints, target state, resource quantity}, task The target state set is , .
[0108] Step 1: According to the current mission set of the unmanned boat , get the final target state set ,Right now:
[0109]
[0110] Step 2, in the final target state set Find the required intermediate state in the ;
[0111] Step 21: Set the initial item of the intermediate state set sequence is the final target state set, namely:
[0112]
[0113] Step 22: Collect the intermediate items of the sequence from the intermediate state Start by finding all predecessors, deleting the elements that are already in the intermediate state set sequence and the current state set, and getting The previous state set ,Right now:
[0114]
[0115] Step 23, if If it is not empty, repeat step 22; otherwise, complete the intermediate state set sequence Build;
[0116] Step 3: According to the intermediate state set sequence , build an autonomous action monitoring graph , is the set of state nodes in the graph, is the edge set between state nodes in the graph;
[0117] Step 31, set , ;
[0118] Step 32: Set the current intermediate state set ;
[0119] Step 33, arbitrarily select A node in , , set the current monitoring graph status node ;
[0120] Step 34, take any A node in , ;
[0121] Step 35, if , then establish arrive Edge , calculate the edge according to the parameters Weight , and the edge Add to the edge set, weight The formula is:
[0122]
[0123] in, is the time standard value, which is a predetermined constant; is the resource standard value, which is a predetermined constant; The time coefficient, operation coefficient, resource coefficient, and normalization coefficient are predetermined constants, respectively;
[0124] Step 36, if , then establish arrive Edge , calculate the edge according to the parameters Weight , and the edge Add to the edge set, weight The formula is:
[0125]
[0126] Step 37: In other cases, and No edges are established between them;
[0127] Step 38: from Repeat steps 34 to 37 until is empty;
[0128] Step 39: from Delete, add to In Chinese, that is:
[0129]
[0130] Step 310, repeat steps 33 to 39 until is empty;
[0131] Step 311, set , if m is equal to M, then set ;
[0132] Step 312: If m is greater than M, then the autonomous action monitoring graph is constructed. , ; Otherwise, steps 32 to 311 will be repeated;
[0133] Step 4: In the autonomous action monitoring diagram In the example, the A* search algorithm is used to find the critical path. , based on the evaluation function exist Perform an A* search in , that is:
[0134]
[0135] in, From the initial state to the node The sum of the weights of For slave nodes The weight estimate to the target state is:
[0136]
[0137] in, In the mth item sequence of the intermediate state set sequence, that is, ; is the standard weight, which is a predetermined constant; the search result is the critical path , .
[0138] The technical solution of the present invention is task-oriented, and drives the change of the entire monitoring diagram through the final state change, so that the monitoring can adapt to the changes in task requirements; by constructing a directed connection relationship between state nodes, it is convenient for personnel to grasp the arrangement of subsequent actions, discover problems in time, and respond to operation requirements; by extracting the key path, the operator can focus more on the acquisition of key information and the execution of key operations / actions, reducing the operator's load and improving work efficiency.
[0139] like Figure 2As shown, an embodiment of the present invention provides a device 20 for generating a critical path for autonomous action of an unmanned boat, comprising:
[0140] An acquisition module 21 is used to acquire the current mission data of the unmanned boat;
[0141] A first determination module 22, used to determine final target state set data according to the current task data;
[0142] A second determination module 23, configured to determine intermediate state set sequence data according to the final target state set data;
[0143] A third determination module 24 is used to obtain an autonomous action monitoring graph according to the state nodes, directions and weights of the edges between the nodes in the intermediate state set sequence data;
[0144] The generating module 25 is used to obtain the critical path data according to the autonomous action monitoring diagram.
[0145] Optionally, obtain the current mission data of the unmanned boat, including:
[0146] Obtain the time data, geographical data, target status data, action constraint data and resource quantity of the current mission of the unmanned boat.
[0147] Optionally, determining final target state set data according to the current task data includes:
[0148] Determine target state set data of all tasks of the unmanned boat according to the current task data;
[0149] The target state set data of all the tasks are combined to obtain the final target state set data.
[0150] Optionally, determining the intermediate state set sequence data according to the final target state set data includes:
[0151] Determining an initial item of an intermediate state set sequence according to the final target state set data;
[0152] Determining an intermediate term of the intermediate state set sequence according to the initial term of the intermediate state set sequence;
[0153] Determining a preceding state set sequence according to an intermediate item of the intermediate state set sequence;
[0154] According to the preceding state set sequence, intermediate state set sequence data is determined.
[0155] Optionally, according to the state nodes in the intermediate state set sequence data, directions and weights of the edges between the nodes, an autonomous action monitoring graph is obtained, including:
[0156] The state data in the intermediate state set sequence data are used as nodes, the operations between the nodes are used as directed edges, and an autonomous action monitoring graph is constructed according to the nodes, the edges between the nodes and the weights of each edge.
[0157] Optionally, the state data in the intermediate state set sequence data is used as nodes, the operations between the nodes are used as directed edges, and an autonomous action monitoring graph is constructed according to the nodes, the edges between the nodes and the weights of each edge, including:
[0158] Determining first state node data and second state node data in the intermediate state set sequence data;
[0159] If the first state node data and the second state node data satisfy: When, according to the formula:
[0160]
[0161] Calculate the weight; and from the state To status The edge of is added to the first edge set, and the first edge set is expressed as: ;
[0162] If the first state node data and the second state node data satisfy: When, according to the formula:
[0163]
[0164] Calculate the weight; and from the state To status The edge of is added to the second edge set, and the second edge set is expressed as: ;
[0165] The first state node data is added to the monitoring graph state node set, which is expressed as:
[0166]
[0167] According to the formula: , get the autonomous action monitoring graph;
[0168] in, For autonomous action monitoring diagram, A set of monitoring graph status nodes; is the first state node data, A state node in is the second state node data, A state node in Status The set of all previous states of Status The set of all previous states of From the state To status The edge weights of From the state To status The edge weights of is the time standard value, which is a predetermined constant; is the resource standard value, which is a predetermined constant; The time coefficient, operation coefficient, resource coefficient, and normalization coefficient are predetermined constants, respectively; , , From the state To status The time required for the action, whether manual intervention is required, the number of resources, , , From the state To status The time required for the action, whether manual intervention is required, the number of resources, is the edge set, From the state To status The edge, From the state To status edge.
[0169] Optionally, obtaining critical path data according to the autonomous action monitoring diagram includes:
[0170] According to the formula: , find the critical path;
[0171] in, is the evaluation function, For the initial state to the node The sum of the weights of For Node The weight estimate to the target state, ; In the mth sequence of the intermediate state set sequence, that is is the standard weight, which is a predetermined constant; the result of the search is the critical path, .
[0172] It should be noted that the device is a device corresponding to the above method, and all implementation methods in the above method embodiment are applicable to this embodiment and can achieve the same technical effect.
[0173] like Figure 3 As shown, the embodiment of the present invention further provides a computing device 30, including a processor 31, a memory 32, a program or instruction stored in the memory 32 and executable on the processor 31, and when the program or instruction is executed by the processor 31, each process of the embodiment of the synchronization information processing method of the virtual object described above is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here. It should be noted that the computing device in the embodiment of the present invention includes the above-mentioned mobile electronic device and non-mobile electronic device.
[0174] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0175] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0176] In the embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0177] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0178] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0179] Stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, ROM, RAM, disk or optical disk, etc., various media that can store program codes.
[0180] In addition, it should be pointed out that in the apparatus and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. Moreover, the steps of performing the above series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order, and some steps can be performed in parallel or independently of each other. For those of ordinary skill in the art, it is understandable that all or any steps or components of the method and apparatus of the present invention can be implemented in hardware, firmware, software or a combination thereof in any computing device (including processors, storage media, etc.) or a network of computing devices, which can be achieved by those of ordinary skill in the art using their basic programming skills after reading the description of the present invention.
[0181] Therefore, the purpose of the present invention can also be achieved by running a program or a group of programs on any computing device. The computing device can be a well-known general-purpose device. Therefore, the purpose of the present invention can also be achieved by simply providing a program product containing a program code for implementing a method or device. That is to say, such a program product also constitutes the present invention, and a storage medium storing such a program product also constitutes the present invention. Obviously, the storage medium can be any well-known storage medium or any storage medium developed in the future. It should also be pointed out that in the device and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. In addition, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order. Some steps can be performed in parallel or independently of each other.
[0182] The above are preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.
Claims
1. A method for generating a critical path for autonomous action of an unmanned boat. It is characterized in that The method comprises: Obtain the current mission data of the unmanned boat; Determine final target state set data according to the current task data; Determine the intermediate state set sequence data according to the final target state set data; Obtaining an autonomous action monitoring graph according to the state nodes in the intermediate state set sequence data, directions and weights of the edges between the nodes; According to the autonomous action monitoring diagram, critical path data is obtained; Among them, the current mission data of the unmanned boat is obtained, including: Obtain the time data, geographical data, target status data, action constraint data and resource quantity of the current mission of the unmanned boat; Wherein, determining the final target state set data according to the current task data includes: Determine target state set data of all tasks of the unmanned boat according to the current task data; Merging the target state set data of all the tasks to obtain the final target state set data; Wherein, determining the intermediate state set sequence data according to the final target state set data includes: According to the final target state set data, by the formula: Determine the initial term of the intermediate state set sequence; where, is the initial item of the intermediate state set sequence, Aggregate data for the final target state; Determining an intermediate term of the intermediate state set sequence according to the initial term of the intermediate state set sequence; Starting from the middle item of the intermediate state set sequence, find all predecessor items, delete the elements already in the intermediate state set sequence and the current state set, and determine the predecessor state set sequence, that is: in, is the sequence of previous state sets, is the intermediate item of the intermediate state set sequence, The current state set, The set of all previous states of Prefix, The status node of the unmanned boat, m , p is the set ordinal number; Determine intermediate state set sequence data according to the preceding state set sequence; According to the state nodes in the intermediate state set sequence data, the directions and weights of the edges between the nodes, an autonomous action monitoring graph is obtained, including: Using the state data in the intermediate state set sequence data as nodes and the operations between the nodes as directed edges, constructing an autonomous action monitoring graph according to the nodes, the edges between the nodes and the weight of each edge; The state data in the intermediate state set sequence data are nodes, the operations between the nodes are directed edges, and an autonomous action monitoring graph is constructed according to the nodes, the edges between the nodes and the weights of each edge, including: Determining first state node data and second state node data in the intermediate state set sequence data; If the first state node data and the second state node data satisfy: When, according to the formula: Calculate the weight; and from the state To status The edge of is added to the first edge set, and the first edge set is expressed as: ; If the first state node data and the second state node data satisfy: When, according to the formula: Calculate the weight; and from the state To status The edge of is added to the second edge set, and the second edge set is expressed as: ; The first state node data is added to the monitoring graph state node set, which is expressed as: According to the formula: , get the autonomous action monitoring graph; in, For autonomous action monitoring diagram, A set of monitoring graph status nodes; is the first state node data, A state node in is the second state node data, A state node in Status The set of all previous states of Status The set of all previous states of From the state To status The weight of the edge, From the state To status The weight of the edge, is the time standard value, which is a predetermined constant; is the resource standard value, which is a predetermined constant; The time coefficient, operation coefficient, resource coefficient, and normalization coefficient are predetermined constants, respectively; , , From the state To status The time required for the action, whether manual intervention is required, the number of resources, , , From the state To status The time required for the action, whether manual intervention is required, the number of resources, is the edge set, From the state To status The edge, From the state To status The edge of Among them, according to the autonomous action monitoring diagram, the key path data is obtained, including: According to the formula: , find the critical path; in, is the evaluation function, For the initial state to the node The sum of the weights of For Node The weight estimate to the target state, h ; In the intermediate state set sequence m Item sequence, that is is the standard weight, which is a predetermined constant; the result of the search is the critical path, .
2. A device for generating a critical path for autonomous action of an unmanned boat, It is characterized in that The device comprises: The acquisition module is used to obtain the current mission data of the unmanned boat; A first determination module, used to determine final target state set data according to the current task data; A second determination module is used to determine the intermediate state set sequence data according to the final target state set data; A third determination module is used to obtain an autonomous action monitoring graph according to the state nodes in the intermediate state set sequence data, the directions and weights of the edges between the nodes; A generating module, used for obtaining critical path data according to the autonomous action monitoring diagram; Among them, the current mission data of the unmanned boat is obtained, including: Obtain the time data, geographical data, target status data, action constraint data and resource quantity of the current mission of the unmanned boat; Wherein, determining the final target state set data according to the current task data includes: Determine target state set data of all tasks of the unmanned boat according to the current task data; Merging the target state set data of all the tasks to obtain the final target state set data; Wherein, determining the intermediate state set sequence data according to the final target state set data includes: According to the final target state set data, by the formula: Determine the initial term of the intermediate state set sequence; where, is the initial item of the intermediate state set sequence, Aggregate data for the final target state; Determining an intermediate term of the intermediate state set sequence according to the initial term of the intermediate state set sequence; Starting from the middle item of the intermediate state set sequence, find all predecessor items, delete the elements already in the intermediate state set sequence and the current state set, and determine the predecessor state set sequence, that is: in, is the sequence of previous state sets, is the intermediate item of the intermediate state set sequence, The current state set, The set of all previous states of Prefix, The status node of the unmanned boat, m , p is the set ordinal number; Determine intermediate state set sequence data according to the preceding state set sequence; According to the state nodes in the intermediate state set sequence data, the directions and weights of the edges between the nodes, an autonomous action monitoring graph is obtained, including: Using the state data in the intermediate state set sequence data as nodes and the operations between the nodes as directed edges, constructing an autonomous action monitoring graph according to the nodes, the edges between the nodes and the weight of each edge; The state data in the intermediate state set sequence data are nodes, the operations between the nodes are directed edges, and an autonomous action monitoring graph is constructed according to the nodes, the edges between the nodes and the weights of each edge, including: Determining first state node data and second state node data in the intermediate state set sequence data; If the first state node data and the second state node data satisfy: When, according to the formula: Calculate the weight; and from the state To status The edge of is added to the first edge set, and the first edge set is expressed as: ; If the first state node data and the second state node data satisfy: When, according to the formula: Calculate the weight; and from the state To status The edge of is added to the second edge set, and the second edge set is expressed as: ; The first state node data is added to the monitoring graph state node set, which is expressed as: According to the formula: , get the autonomous action monitoring graph; in, For autonomous action monitoring diagram, A set of monitoring graph status nodes; is the first state node data, A state node in is the second state node data, A state node in Status The set of all previous states of Status The set of all previous states of From the state To status The weight of the edge, From the state To status The weight of the edge, is the time standard value, which is a predetermined constant; is the resource standard value, which is a predetermined constant; The time coefficient, operation coefficient, resource coefficient, and normalization coefficient are predetermined constants, respectively; , , From the state To status The time required for the action, whether manual intervention is required, the number of resources, , , From the state To status The time required for the action, whether manual intervention is required, the number of resources, is the edge set, From the state To status The edge, From the state To status The edge of Among them, according to the autonomous action monitoring diagram, the key path data is obtained, including: According to the formula: , find the critical path; in, is the evaluation function, For the initial state to the node The sum of the weights of For Node The weight estimate to the target state, h ; In the intermediate state set sequence m Item sequence, that is is the standard weight, which is a predetermined constant; the result of the search is the critical path, .
3. A computing device, It is characterized in that include: A processor and a memory storing a computer program, wherein when the computer program is executed by the processor, the method according to claim 1 is performed.
4. A computer-readable storage medium, It is characterized in that Instructions are stored, which, when executed on a computer, cause the computer to execute the method as claimed in claim 1.
Citation Information
Patent Citations
Sea attack method of unmanned ship cluster
CN113093733A
Unmanned ship intelligent navigation control method, device and equipment
CN117647981A
Multi-task-point unmanned ship path planning method and device
CN117806311A
Water resources monitoring system through autonomous mobile unmanned boat and enviroment information analysis using artificial intelligence
KR102321942B1
