A path planning method and system based on truth table

Through the path planning method based on the truth table, a path planning model is constructed and the path scheme is deduced, which solves the problem of low efficiency of marching transportation path adjustment in the existing technology, realizes rapid response to unexpected threats and obstacle avoidance, and significantly improves Marching efficiency.

CN114995373BActive Publication Date: 2024-09-10ROCKET FORCE UNIV OF ENG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210386083.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-13
Publication Date
2024-09-10
Estimated Expiration
2042-04-13

AI Technical Summary

Technical Problem

Existing military path planning technology is difficult to quickly respond to unexpected threats and readjust paths during marching transportation, resulting in low efficiency and high costs.

Method used

The path planning method based on the truth table is adopted to construct a path planning model by obtaining geographical environment data and marching route data. The truth table is used for path planning to realize the feasibility deduction of the path plan and obstacle avoidance, and shorten the path replacement scheduling time. .

Benefits of technology

This method can continuously improve the path planning model, shorten the path replacement scheduling time, improve marching efficiency, and greatly improve the efficiency and reliability of military path planning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114995373B
    Figure CN114995373B
Patent Text Reader

Abstract

The present invention proposes a path planning method and system based on a truth table, which relates to the field of data processing. A path planning method based on a truth table includes: obtaining geographical environment data of the area where the marching route is located; extracting characteristic values ​​of the path planning according to the mapping relationship between the geographical environment data and the marching route data; mapping to form a truth table of the path planning according to the mapping relationship between the characteristic values ​​of the path planning and the truth table of the path planning; parsing the truth table of the path planning and building a path planning model according to the parsed data; inputting the geographical environment data of the area where the marching route is located into the path planning model to obtain the marching path planning information output by the trained path planning model. It can improve the path planning model through path planning, continuously and cyclically, deduce the feasibility of the path plan, shorten the path replacement scheduling time, avoid obstacles, and greatly improve the marching efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and in particular to a path planning method and system based on a truth table. Background Art

[0002] A table that represents all possible states between input and output of a logic event. A table that lists the truth and false values ​​of a propositional formula. Usually 1 represents true and 0 represents false. The value of a propositional formula is determined by the values ​​of the propositional variables and the propositional connectives that make up the propositional formula. The truth table of the propositional connectives gives an algorithm for the truth and false values. A truth table is a type of mathematical table used in logic to determine whether an expression is true or valid.

[0003] Simulation technology is a computer system combined with physical effect simulation equipment and tools to establish and run models according to research objectives, and transform objects based on comprehensive cross-disciplinary and knowledge-based research through existing research.

[0004] With the continuous development of computer information technology, parallel simulation technology has important practical significance in the process of national defense and military construction, and has even gradually begun to penetrate into various fields of our daily life. A military path planning application based on a parallel simulation system is designed to solve the problems of helping commanders to timely understand the front environment information during the marching and transportation process, adjust the corresponding marching and transportation routes under different situations, improve combat efficiency, and reduce transportation costs.

[0005] The role of military path planning is to ensure that troops can complete their assigned tasks safely and efficiently. Its prerequisite is to ensure that the execution of tasks is efficient and reliable. Faced with a wider range of on-site command and the execution of complex tasks, related path planning technology solutions face higher requirements. How to deal with sudden threat avoidance on the planned transportation route and how to quickly re-plan the path are the key points in solving military path planning problems. Summary of the invention

[0006] The purpose of the present invention is to provide a path planning method based on a truth table, which can, through path planning, continuously and cyclically improve the path planning model, deduce the feasibility of the path plan, shorten the path replacement scheduling time, avoid obstacles, and greatly improve the marching efficiency.

[0007] Another object of the present invention is to provide a truth table-based path planning system, which is capable of running a truth table-based path planning method.

[0008] The embodiment of the present invention is achieved as follows:

[0009] In a first aspect, an embodiment of the present application provides a path planning method based on a truth table, which includes obtaining geographical environment data of the area where the marching route is located; extracting characteristic values ​​of the path planning according to the mapping relationship between the geographical environment data and the marching route data; mapping to form a truth table of the path planning according to the mapping relationship between the characteristic values ​​of the path planning and the path planning truth table; parsing the truth table of the path planning and constructing a path planning model according to the parsed data; inputting the geographical environment data of the area where the marching route is located into the path planning model to obtain the marching path planning information output by the trained path planning model.

[0010] In some embodiments of the present invention, the above-mentioned acquisition of geographical environment data of the area where the marching route is located includes: acquiring surface data, terrain data and meteorological data of the area where the marching route is located.

[0011] In some embodiments of the present invention, the above-mentioned extraction of characteristic values ​​of path planning based on the mapping relationship between geographical environment data and marching route data includes: obtaining a two-dimensional list of geographical environment data, wherein the two-dimensional list of geographical environment data includes at least one environment data and characteristic values ​​corresponding to the environment data; obtaining a two-dimensional list of marching route data, wherein the two-dimensional list of marching route data includes at least one marching route and characteristic values ​​corresponding to the marching route data.

[0012] In some embodiments of the present invention, the above also includes: converting the two-dimensional list of geographic environment data and the two-dimensional list of military route data into two-dimensional arrays of truth tables respectively, obtaining the mapping relationship between the geographic environment data and the marching route data, and extracting the characteristic values ​​of the path planning.

[0013] In some embodiments of the present invention, the above-mentioned mapping relationship between the characteristic values ​​of the path planning and the path planning truth table, mapping to form the truth table of the path planning includes: selecting an element in each row of the two-dimensional list of geographic environment data and the two-dimensional list of military route data, recording the truth table of the path planning formed by the mapping, and mapping to form the truth table of the path planning.

[0014] In some embodiments of the present invention, parsing the truth table of the path planning and constructing the path planning model according to the parsed data includes: converting the area of ​​the marching route obtained by the constructed path planning model into a grid map by using a grid method.

[0015] In some embodiments of the present invention, the above-mentioned inputting the geographical environment data of the area where the marching route is located into the path planning model to obtain the marching path planning information output by the trained path planning model includes: calling the path planning model to simulate and solve the shortest path in the grid map as the marching route.

[0016] In a second aspect, an embodiment of the present application provides a path planning system based on a truth table, which includes an acquisition module for acquiring geographical environment data of an area where a marching route is located;

[0017] A mapping module, used to extract the characteristic value of path planning according to the mapping relationship between the geographical environment data and the march route data;

[0018] A truth table module, used for mapping and forming a truth table of path planning according to a mapping relationship between characteristic values ​​of path planning and a truth table of path planning;

[0019] A modeling module is used to parse the truth table of path planning and build a path planning model based on the parsed data;

[0020] The path planning module is used to input the geographical environment data of the area where the marching route is located into the path planning model to obtain the marching path planning information output by the trained path planning model.

[0021] In some embodiments of the present invention, the above includes: at least one memory for storing computer instructions; at least one processor communicating with the above memory, wherein when the above at least one processor executes the above computer instructions, the above at least one processor causes the above system to execute: an acquisition module, a mapping module, a truth table module, a modeling module and a path planning module.

[0022] In a third aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a method such as any one of the truth table-based path planning methods.

[0023] Compared with the prior art, the embodiments of the present invention have at least the following advantages or beneficial effects:

[0024] It can improve the path planning model through path planning in an uninterrupted cycle, deduce the feasibility of path plans, shorten the path replacement scheduling time, avoid obstacles, and greatly improve marching efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0026] Figure 1A schematic diagram of the steps of a path planning method based on a truth table provided in an embodiment of the present invention;

[0027] Figure 2 A schematic diagram of detailed steps of a path planning method based on a truth table provided in an embodiment of the present invention;

[0028] Figure 3 A schematic diagram of a path planning system module based on a truth table provided in an embodiment of the present invention;

[0029] Figure 4 An electronic device is provided in an embodiment of the present invention.

[0030] Icon: 10 - acquisition module; 20 - mapping module; 30 - truth table module; 40 - modeling module; 50 - path planning module. 101 - memory; 102 - processor; 103 - communication interface. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.

[0032] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0033] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0034] It should be noted that the term "comprises" or any other variation thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0035] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0036] Example 1

[0037] See also Figure 1 , Figure 1 A schematic diagram of a path planning method based on a truth table provided in an embodiment of the present invention is as follows:

[0038] Step S100, obtaining geographical environment data of the area where the march route is located;

[0039] In some embodiments, basic data of equipment vehicles during the march is obtained, including length, width, height and basic load-bearing parameters of the equipment vehicles.

[0040] In some implementations, the planned march time and planning objectives are obtained; the march is set with a latest arrival time, and through different planning objectives, including the shortest surface distance, the shortest time, the lowest risk, and the lowest fuel consumption, the time points and rest time of each key point are reversed to calculate the latest departure time of the equipment vehicle. Static planning environment data is obtained, including surface data, terrain data, and meteorological data that affect the travel of the equipment vehicle.

[0041] In some embodiments, the driving data of the equipment vehicle is obtained, and based on the acquired surface terrain data and specific meteorological data, the driving data of the corresponding equipment vehicle is obtained, including the loaded driving speed, turning radius, obstacle height and climbing ability, so as to prepare data for the cost distance calculation of each section of the path planning;

[0042] Step S110, extracting feature values ​​of path planning according to the mapping relationship between the geographical environment data and the march route data;

[0043] Step S120, mapping to form a truth table of the path planning according to the mapping relationship between the characteristic values ​​of the path planning and the truth table of the path planning;

[0044] In some embodiments, path planning is classified according to features and feature values, so that the static process of path planning is simple, efficient, and the program is simple. By inserting a column of auxiliary screening values, each feature corresponds to an auxiliary screening value, and the auxiliary screening value corresponding to each feature is used to simulate the user's operation of not screening the feature corresponding to the auxiliary screening value. Therefore, when screening the path planning, the feature value can be directly selected, without first selecting the feature row corresponding to the screening request and combining the feature rows, and then selecting the feature value matching the screening requirement in each feature row, which simplifies the logic of path planning screening, improves the efficiency of path planning screening, and reduces the time of path planning screening; by selecting auxiliary screening values, the operation of some path planning features that do not need to be screened can be simulated, and all possible path planning feature screening combinations can be realized.

[0045] Step S130, parsing the truth table of the path planning and building a path planning model according to the parsed data;

[0046] In some embodiments, a path planning model is constructed by parsing the truth table of the path planning, and a path planning cost function is established through the equipment vehicle basic data, planning time and planning goals, environmental data, and equipment vehicle driving data. The parameters of each constraint in the cost function are obtained by pre-training the deep neural network using the imported truth table of the path planning, and a grid map of the path planning is constructed.

[0047] Step S140, inputting the geographical environment data of the area where the marching route is located into the path planning model to obtain the marching path planning information output by the trained path planning model.

[0048] In some embodiments, during the march, the path planning support system continuously inputs and updates the current environmental status information, and draws a two-dimensional map based on the grid method according to the environmental information obtained at the current moment. Each grid represents a point that constitutes a passable transportation space or an obstacle that needs to be avoided.

[0049] Example 2

[0050] See also Figure 2 , Figure 2 A schematic diagram of detailed steps of a path planning method based on a truth table provided in an embodiment of the present invention is as follows:

[0051] Step S200, obtaining the surface data, terrain data and meteorological data of the area where the march route is located.

[0052] Step S210, obtaining a two-dimensional list of geographic environment data, wherein the two-dimensional list of geographic environment data includes at least one environment data and a characteristic value corresponding to the environment data;

[0053] Step S220, obtaining a two-dimensional list of marching route data, wherein the two-dimensional list of marching route data includes at least one marching route and a characteristic value corresponding to the marching route data.

[0054] Step S230 , converting the two-dimensional list of geographic environment data and the two-dimensional list of march route data into two-dimensional arrays of truth tables, respectively, obtaining a mapping relationship between the geographic environment data and the march route data, and extracting characteristic values ​​of the path planning.

[0055] Step S240, selecting an element in each row of the two-dimensional list of geographic environment data and the two-dimensional list of military route data, recording the truth table of the path planning formed by mapping, and mapping to form the truth table of the path planning.

[0056] Step S250, converting the area where the marching route is located obtained by the constructed path planning model into a raster map through a raster method.

[0057] Step S260, calling the path planning model to simulate and solve the shortest path in the grid map as the marching route.

[0058] In some embodiments, during the march, the path planning model continuously inputs and updates the current environmental status information, and draws a two-dimensional map based on the grid method according to the environmental information obtained at the current moment. The points represented by each grid constitute a passable marching space or a point obstacle that needs to be avoided. In this embodiment, the black grid represents the point obstacle that needs to be avoided, the white grid represents the passable area, and the broken line represents the simulation route result. For example, a certain marching moment in a certain area of ​​40 kilometers long and 40 kilometers wide is selected, and a path planning result is obtained by simulating the situation where the obstacle coverage rate in the area is 60% through the ant colony algorithm. Among them, the number of iterations is set to 100, the number of ants is set to 50, the upper left corner is the starting point of the transportation path, and the lower right corner is the end point of the transportation path.

[0059] As the transportation status continues to advance, if the environmental status changes accordingly, the obstacles represented by the black grid and the passable areas represented by the white grid will change accordingly. Therefore, the path planning results obtained by the path planning model are updated accordingly.

[0060] Example 3

[0061] See also Figure 3 , Figure 3 A schematic diagram of a path planning system module based on a truth table provided in an embodiment of the present invention is as follows:

[0062] An acquisition module 10 is used to acquire geographical environment data of the area where the march route is located;

[0063] A mapping module 20, for extracting feature values ​​of path planning according to a mapping relationship between geographical environment data and march route data;

[0064] A truth table module 30, used for mapping and forming a truth table of the path planning according to a mapping relationship between the characteristic values ​​of the path planning and the truth table of the path planning;

[0065] A modeling module 40 is used to parse the truth table of the path planning and build a path planning model according to the parsed data;

[0066] The path planning module 50 is used to input the geographical environment data of the area where the marching route is located into the path planning model to obtain the marching path planning information output by the trained path planning model.

[0067] like Figure 4 As shown, an embodiment of the present application provides an electronic device, which includes a memory 101 for storing one or more programs and a processor 102. When the one or more programs are executed by the processor 102, any method in the first aspect described above is implemented.

[0068] The memory 101, the processor 102 and the communication interface 103 are directly or indirectly electrically connected to each other to achieve data transmission or interaction. For example, these elements can be electrically connected to each other through one or more communication buses or signal lines. The memory 101 can be used to store software programs and modules, and the processor 102 executes various functional applications and data processing by executing the software programs and modules stored in the memory 101. The communication interface 103 can be used to communicate signaling or data with other node devices.

[0069] Among them, the memory 101 can be, but is not limited to, a random access memory 101 (Random Access Memory, RAM), a read only memory 101 (Read Only Memory, ROM), a programmable read-only memory 101 (Programmable Read-Only Memory, PROM), an erasable read-only memory 101 (Erasable Programmable Read-Only Memory, EPROM), an electrically erasable read-only memory 101 (Electric Erasable Programmable Read-Only Memory, EEPROM), etc.

[0070] The processor 102 may be an integrated circuit chip with signal processing capability. The processor 102 may be a general-purpose processor 102, including a central processing unit 102 (CPU), a network processor 102 (NP), etc.; it may also be a digital signal processor 102 (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0071] In the embodiments provided in the present application, it should be understood that the disclosed method and system can also be implemented in other ways. The method and system embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the method and system, method and computer program product according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flow chart, and the combination of boxes in the block diagram and / or the flow chart, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0072] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0073] On the other hand, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by the processor 102, the method of any one of the first aspects described above is implemented. If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application is essentially 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, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory 101 (ROM, Read-Only Memory), a random access memory 101 (RAM, Random Access Memory), a disk or an optical disk, and other media that can store program codes.

[0074] To sum up, the embodiment of the present application provides a truth table-based path planning method and system, which can improve the path planning model through path planning and uninterrupted cycles, deduce the feasibility of path plans, shorten the path replacement scheduling time, avoid obstacles, and greatly improve marching efficiency.

[0075] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

[0076] It is obvious to those skilled in the art that the present application is not limited to the details of the exemplary embodiments described above, and that the present application can be implemented in other specific forms without departing from the spirit or essential features of the present application. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present application is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present application. Any reference numeral in a claim should not be regarded as limiting the claim involved.

Claims

1. A path planning method based on a truth table, characterized in that: include: Obtain geographical environment data of the area where the march route is located; According to the mapping relationship between geographical environment data and marching route data, the characteristic value of path planning is extracted; According to the mapping relationship between the characteristic values ​​of the path planning and the truth table of the path planning, a truth table of the path planning is formed by mapping; By parsing the truth table of path planning and building a path planning model based on the parsed data; Inputting the geographical environment data of the area where the marching route is located into the path planning model to obtain the marching path planning information output by the trained path planning model; in: The feature values ​​of the path planning are extracted according to the mapping relationship between the geographical environment data and the march route data, including: Acquire a two-dimensional list of geographic environment data, wherein the two-dimensional list of geographic environment data includes at least one environment data and a characteristic value corresponding to the environment data; Acquire a two-dimensional list of march route data, wherein the two-dimensional list of march route data includes at least one march route and a feature value corresponding to the march route data; It also includes: converting the two-dimensional list of geographic environment data and the two-dimensional list of military route data into two-dimensional arrays of truth tables, obtaining a mapping relationship between the geographic environment data and the marching route data, and extracting characteristic values ​​of path planning; According to the mapping relationship between the characteristic value of the path planning and the truth table of the path planning, mapping to form the truth table of the path planning includes: Select an element in each row of the two-dimensional list of geographic environment data and the two-dimensional list of military route data, record the truth table of the path planning formed by mapping, and map to form the truth table of the path planning; The step of parsing the truth table of the path planning and constructing the path planning model according to the parsed data includes: The area where the marching route is located obtained by the constructed path planning model is converted into a raster map through the raster method; The marching route planning information output by the trained path planning model by inputting the geographical environment data of the area where the marching route is located into the path planning model includes: The path planning model is called to simulate and solve the shortest path in the grid map as the marching route.

2. A path planning method based on a truth table as claimed in claim 1, characterized in that: The acquisition of geographical environment data of the area where the march route is located includes: Obtain surface data, terrain data and meteorological data of the area where the march route is located.

3. A path planning system based on a truth table, characterized in that: include: An acquisition module is used to obtain geographical environment data of the area where the march route is located; A mapping module, for extracting characteristic values ​​of path planning according to a mapping relationship between geographical environment data and marching route data, comprising: obtaining a two-dimensional list of geographical environment data, wherein the two-dimensional list of geographical environment data includes at least one environmental data and characteristic values ​​corresponding to the environmental data; obtaining a two-dimensional list of marching route data, wherein the two-dimensional list of marching route data includes at least one marching route and characteristic values ​​corresponding to the marching route data; and further comprising: converting the two-dimensional list of geographical environment data and the two-dimensional list of marching route data into two-dimensional arrays of truth tables, respectively, to obtain a mapping relationship between the geographical environment data and the marching route data, and extracting characteristic values ​​of path planning; A truth table module is used to map and form a truth table of the path planning according to the mapping relationship between the characteristic value of the path planning and the truth table of the path planning, including: selecting an element in each row of the two-dimensional list of geographical environment data and the two-dimensional list of military route data, recording the truth table of the path planning formed by mapping, and mapping to form the truth table of the path planning; The modeling module is used to parse the truth table of the path planning and build a path planning model according to the parsed data, including: converting the area where the marching route is located obtained by the constructed path planning model into a grid map through a grid method; The path planning module is used to input the geographical environment data of the area where the marching route is located into the path planning model to obtain the marching path planning information output by the trained path planning model, including: calling the path planning model to simulate and solve the shortest path in the grid map as the marching route.

4. A path planning system based on a truth table as claimed in claim 3, characterized in that: include: at least one memory for storing computer instructions; At least one processor in communication with the memory, wherein when the at least one processor executes the computer instructions, the at least one processor causes the system to execute: an acquisition module, a mapping module, a truth table module, a modeling module, and a path planning module.

5. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 2 is implemented.