Path planning method and device, electronic equipment and readable storage medium
By obtaining test requirements information and pre-generated test case information, and automatically identifying the sections or points of interest that match the test scenarios, the problems of high cost and low efficiency of test path planning in the existing technology are solved, and efficient path planning is achieved.
Patent Information
- Application Number
- CN202411053118.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2024-12-17
AI Technical Summary
The prior art is costly and inefficient when planning test paths, and depends on the experience and understanding of testers, making it difficult to cover different types of road scenarios.
By obtaining test requirements information and pre-generated test case information, the section or interest points that match the test scenarios are automatically determined, and the test path that meets the shortest path length, the least driving time or the lowest charge.
Automatically plan test paths covering requirements without relying on testers, improving efficiency and reducing costs.
Smart Images

Figure CN119147002A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of testing technology, and in particular to a path planning method, device, electronic device and readable storage medium. Background Art
[0002] In related technologies, travel-related systems, such as systems that provide navigation services and systems that provide intelligent driving functions, require a lot of testing before they are put into use. The corresponding code can be iterated based on the test results, and it can also be determined based on the test results whether the system's service quality meets the delivery standards.
[0003] Since travel-related systems mainly provide services related to travel paths (travel routes), it is necessary to test the relevant functions of the aforementioned systems based on travel paths. For testers, in order to ensure the accuracy and coverage of the test, it is necessary to plan test paths that cover different types of road scenarios as much as possible. However, planning test paths that meet the test requirements is extremely dependent on the testers' testing experience and understanding of road scenarios, which results in high costs and low efficiency for planning test paths using existing technologies. Therefore, how to plan test paths with high coverage of road scenarios at low cost and high efficiency has become an urgent problem to be solved. Summary of the invention
[0004] In order to solve the problems in the related art, the embodiments of the present disclosure provide a path planning method, device, electronic device and readable storage medium.
[0005] In a first aspect, an embodiment of the present disclosure provides a path planning method, including: Obtain test requirement information, which is used to indicate the test scenario; Determine a road section or point of interest that matches the test scenario based on the test requirement information and pre-generated test case information, wherein the test case information is used to indicate a corresponding relationship between the road section or point of interest and the test scenario; Get a test path that passes through road segments or points of interest.
[0006] In one embodiment of the present disclosure, obtaining test requirement information includes: Obtain test requirement information input through the visual interface; or, obtaining path selection information input through a visual interface; Determine the type of map element passed by the historical route indicated by the route selection information; Determine the test scenario that the historical path passes through based on the type of map elements that the historical path passes through and the pre-generated element matching relationship, where the element matching relationship is used to indicate the correspondence between the type of map elements and the test scenario; Test requirement information for indicating the test scenarios that the historical path passes through is generated.
[0007] In one embodiment of the present disclosure, before determining a road section or point of interest matching a test scenario according to the test requirement information and the pre-generated test case information, the method further includes: Acquire a road section and / or a point of interest whose distance from the positioning position of the test end is less than or equal to a first distance threshold as a road section to be tested and / or a point of interest to be tested; According to the test requirement information and the pre-generated test case information, determine the road sections or points of interest that match the test scenario, including: According to the test requirement information and the test case information, a road section or a point of interest that matches the test scenario is determined from the road section to be tested and / or the point of interest to be tested.
[0008] In one embodiment of the present disclosure, obtaining a test path passing through a road section or a point of interest specifically includes: A test path passing through road sections or points of interest is obtained, where the test path meets at least one requirement of the shortest path length, the shortest driving time, and the lowest fee.
[0009] In one embodiment of the present disclosure, the test requirement information includes a driving action corresponding to a test scenario, and the test case information is further used to indicate a corresponding relationship between a road section or a point of interest and a driving action; According to the test requirement information and the pre-generated test case information, determine the road sections or points of interest that match the test scenario, including: According to the test requirement information and the test case information, determine the road sections or points of interest that match the test scenario and allow driving actions to be performed.
[0010] In one embodiment of the present disclosure, the method further comprises: Based on the correspondence between the pre-generated driving action and the driving action prompt information, the driving action prompt information and prompt conditions corresponding to the test path and the driving action are generated, and the driving action prompt information is used to prompt the test end to make corresponding driving actions.
[0011] In one embodiment of the present disclosure, the prompt condition includes: a prompt position and a prompt distance, and the driving action prompt information is used to be displayed in an electronic map when the distance between the real-time position of the test end and the prompt position is less than or equal to the prompt distance.
[0012] In a second aspect, an embodiment of the present disclosure provides a path planning device, including: A requirement information acquisition module is configured to acquire test requirement information, where the test requirement information is used to indicate a test scenario; A road section point of interest determination module is configured to determine a road section or point of interest matching a test scenario according to the test requirement information and pre-generated test case information, wherein the test case information is used to indicate a corresponding relationship between the road section or point of interest and the test scenario; The path planning module is configured to obtain a test path passing through road sections or points of interest.
[0013] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising a memory and a processor, wherein the memory is used to store one or more computer instructions, and wherein the one or more computer instructions are executed by the processor to implement a method as described in any one of the first aspects.
[0014] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium on which computer instructions are stored. When the computer instructions are executed by a processor, a method as described in any one of the first aspects is implemented.
[0015] According to the technical solution provided by the embodiment of the present disclosure, by acquiring test requirement information for indicating a test scenario; determining the road section or point of interest matching the test scenario according to the test requirement information and pre-generated test case information for indicating the correspondence between the road section or point of interest and the test scenario, and acquiring a test path passing through the road section or point of interest. Among them, the test end travels along the test path and may pass through the road section or point of interest matching the test scenario indicated by the test requirement information, so that the test end can test the functions related to the above test scenario in the travel-related system to meet the test requirements. Therefore, the above scheme can automatically plan a test path that covers the required test scenarios without relying on testers, thereby improving the efficiency of planning the test path and reducing costs.
[0016] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Other features, objectives and advantages of the present disclosure will become more apparent through the following detailed description of non-limiting embodiments in conjunction with the accompanying drawings. In the accompanying drawings:
[0018] Figure 1 A flow chart of a path planning method according to an embodiment of the present disclosure is shown.
[0019] Figure 2 A structural block diagram of a path planning device according to an embodiment of the present disclosure is shown.
[0020] Figure 3 A structural block diagram of an electronic device according to an embodiment of the present disclosure is shown.
[0021] Figure 4 A schematic diagram showing the structure of a computer system suitable for implementing the method according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0022] Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. In addition, for the sake of clarity, parts not related to the description of the exemplary embodiments are omitted in the accompanying drawings.
[0023] In the present disclosure, it should be understood that terms such as "include" or "have" are intended to indicate the presence of features, numbers, steps, behaviors, components, parts, or a combination thereof disclosed in the present specification, and are not intended to exclude the possibility that one or more other features, numbers, steps, behaviors, components, parts, or a combination thereof exist or are added.
[0024] It should also be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0025] In the present disclosure, if it involves operations of obtaining the test party's information or test party's data or operations of displaying the test party's information or test party's data to others, the operations are all authorized and confirmed by the test party, or actively selected by the test party.
[0026] In related technologies, in order to ensure the accuracy and coverage of the test, testers generally rely on their own testing experience and understanding of road scenarios to plan a test path that covers road scenarios that meet the test requirements.
[0027] However, the applicant found that in the above solution, due to the extreme reliance on the tester's test experience and understanding of the road scene, the existing technology for planning the test path is high in cost and low in efficiency.
[0028] Therefore, how to plan a test path with high coverage of road scenes at low cost and high efficiency has become an urgent problem to be solved.
[0029] In order to solve the above problems, the embodiments of the present disclosure provide a path planning method, device, electronic device and readable storage medium.
[0030] According to the technical solution provided by the embodiment of the present disclosure, by acquiring test requirement information for indicating a test scenario; determining the road section or point of interest matching the test scenario according to the test requirement information and pre-generated test case information for indicating the correspondence between the road section or point of interest and the test scenario, and acquiring a test path passing through the road section or point of interest. Among them, the test end travels along the test path and may pass through the road section or point of interest matching the test scenario indicated by the test requirement information, so that the test end can test the functions related to the above test scenario in the travel-related system to meet the test requirements. Therefore, the above scheme can automatically plan a test path that covers the required test scenarios without relying on testers, thereby improving the efficiency of planning the test path and reducing costs.
[0031] Figure 1 FIG. 1 is a flow chart showing a path planning method according to an embodiment of the present disclosure. Figure 1 As shown, the path planning method includes the following steps S101 - S103:
[0032] In step S101, test requirement information is obtained; Among them, the test requirement information is used to indicate the test scenario; In step S102, a road section or point of interest matching the test scenario is determined according to the test requirement information and the pre-generated test case information; The test case information is used to indicate the correspondence between the road section or point of interest and the test scenario; In step S103, a test path passing through road sections or points of interest is obtained.
[0033] In one implementation of the present disclosure, test requirement information can be obtained by obtaining the test requirement information input by the corresponding tester through a human-computer interaction device matched with the test end, such as a keyboard, mouse, microphone, etc., or by receiving the test requirement information sent by other devices or systems, such as the cloud.
[0034] In one embodiment of the present disclosure, a test scenario can be understood as a test condition that needs to be met when testing a functional module in a travel-related system (such as a navigation system, an automatic driving system, etc.), wherein the test condition includes the road environment in which the test end is located. Among them, when the test end passes through different types of road environments, different functions in the travel-related system can be tested. Exemplarily, the test scenario may include an viaduct, a fork in the road, a tunnel, a roundabout, and the like. If the test end passes through an viaduct, the viaduct recognition function can be tested; if the test end passes through a fork in the road, the fork in the road recognition function can be tested; if the test end passes through a tunnel, the tunnel matching function can be tested; if the test end passes through a roundabout, the roundabout entrance recognition function can be tested.
[0035] In one implementation of the present disclosure, the test case information is used to indicate the correspondence between the test scenario and the matched road segment or point of interest. Exemplarily, the test case information may include the test scenario name and the attribute information of the road segment or point of interest corresponding to the test scenario name, wherein the attribute information may include the name, location coordinates, and altitude, etc. It should be noted that the test scenario may match one or more road segments or points of interest.
[0036] In one implementation of the present disclosure, the road sections or points of interest that match the test scenario can be understood as, when the test end passes through the road sections or points of interest that match the test scenario, the functional modules corresponding to the test scenario in the travel-related system can be tested.
[0037] In the technical solution provided by the embodiments of the present disclosure, by acquiring test requirement information for indicating a test scenario; determining the road section or point of interest matching the test scenario based on the test requirement information and pre-generated test case information for indicating the correspondence between the road section or point of interest and the test scenario, and acquiring a test path passing through the road section or point of interest. Among them, the test end travels along the test path and may pass through the road section or point of interest matching the test scenario indicated by the test requirement information, so that the test end can test the functions related to the above test scenario in the travel-related system to meet the test requirements. Therefore, the above scheme can automatically plan a test path that covers the required test scenarios without relying on testers, thereby improving the efficiency of planning the test path and reducing costs.
[0038] In one embodiment of the present disclosure, obtaining test requirement information includes: Obtain test requirement information input through the visual interface; or, obtaining path selection information input through a visual interface; Determine the type of map element passed by the historical route indicated by the route selection information; Determine the test scenario that the historical path passes through based on the type of map elements that the historical path passes through and the pre-generated element matching relationship, where the element matching relationship is used to indicate the correspondence between the type of map elements and the test scenario; Test requirement information for indicating the test scenarios that the historical path passes through is generated.
[0039] In one implementation of the present disclosure, trigger buttons corresponding to different types of test scenarios can be displayed in a visual interface on the test end. If the tester triggers the corresponding trigger button, test requirement information including the test scenario corresponding to the trigger button can be generated; alternatively, a test scenario input box can be displayed in the visual interface. If the tester enters the name of the test scenario in the input box, test requirement information including the test scenario with the entered name can be generated.
[0040] In one implementation of the present disclosure, an electronic map may be displayed in a visualization interface, and multiple historical paths may be displayed in the electronic map, or the names of the sections that each historical path passes through may be displayed in the visualization interface. If the tester inputs an instruction to select any historical path through the visualization interface, path selection information indicating the selected historical path may be generated.
[0041] In the technical solution provided by the embodiment of the present disclosure, obtaining the test requirement information input through the visual interface can facilitate the test personnel to input the test requirement information, thereby improving the test efficiency; by obtaining the path selection information input through the visual interface, determining the type of map elements passed by the historical path indicated by the path selection information, determining the test scenario passed by the historical path based on the type of map elements passed by the historical path and the pre-generated element matching relationship, and generating test requirement information for indicating the test scenario passed by the historical path, without specifying or describing the test scenario, the same scenario test requirement as when testing along the historical path can be determined based on the generated test requirement information, thereby improving the efficiency of planning the test path.
[0042] In one embodiment of the present disclosure, before determining a road section or point of interest matching a test scenario according to the test requirement information and the pre-generated test case information, the method further includes: Acquire a road section and / or a point of interest whose distance from the positioning position of the test end is less than or equal to a first distance threshold as a road section to be tested and / or a point of interest to be tested; According to the test requirement information and the pre-generated test case information, determine the road sections or points of interest that match the test scenario, including: According to the test requirement information and the test case information, a road section or a point of interest that matches the test scenario is determined from the road section to be tested and / or the point of interest to be tested.
[0043] In an implementation of the present disclosure, the positioning position of the test end may be a position input through a visual interface, or may be a position acquired in real time through a Global Navigation Satellite System (GNSS) module on the test end.
[0044] In the technical solution provided by the embodiments of the present disclosure, since the distance between the road section to be tested and / or the point of interest to be tested and the positioning position of the test end is less than or equal to the first distance threshold, the probability that the road section to be tested and / or the point of interest to be tested is passed by the test end is relatively high. By determining the road section or point of interest that matches the test scenario from the road section to be tested and / or the point of interest to be tested based on the test requirement information and the test case information, the amount of calculation required to determine the road section or point of interest that matches the test scenario can be minimized without affecting the normal progress of the test, thereby improving the efficiency of planning the test path and reducing the cost.
[0045] In one embodiment of the present disclosure, obtaining a test path passing through a road section or a point of interest specifically includes: A test path passing through road sections or points of interest is obtained, where the test path meets at least one requirement of the shortest path length, the shortest driving time, and the lowest fee.
[0046] In the technical solution provided in the embodiment of the present disclosure, by limiting the test path passing through road sections or points of interest to meet at least one of the requirements of shortest path length, shortest driving time and lowest fee, it can help improve test efficiency and reduce test costs when testing based on the test path.
[0047] In one embodiment of the present disclosure, the test requirement information includes a driving action corresponding to a test scenario, and the test case information is further used to indicate a corresponding relationship between a road section or a point of interest and a driving action; According to the test requirement information and the pre-generated test case information, determine the road sections or points of interest that match the test scenario, including: According to the test requirement information and the test case information, determine the road sections or points of interest that match the test scenario and allow driving actions to be performed.
[0048] Among them, the applicant found that when testing some functional modules in a travel-related system, not only does the test end need to go through the corresponding test scenario, but the test end also needs to make corresponding driving actions at the same time, so that the functional module corresponding to the corresponding test scenario can realize the corresponding function after detecting the corresponding driving action.
[0049] In the technical solution provided by the embodiment of the present disclosure, in order to obtain more comprehensive test results, the driving actions corresponding to the test scenario are limited by the test requirement information, and the road sections or points of interest that match the test scenario and allow the execution of driving actions are determined based on the test requirement information and the test case information. When the test end passes through the above-determined road sections or points of interest, it can make driving actions corresponding to the test scenario, which is convenient for detecting the functional modules corresponding to the corresponding test scenario in the travel-related system, thereby improving the test efficiency.
[0050] In one embodiment of the present disclosure, the method further comprises: Based on the correspondence between the pre-generated driving action and the driving action prompt information, the driving action prompt information and prompt conditions corresponding to the test path and the driving action are generated, and the driving action prompt information is used to prompt the test end to make corresponding driving actions.
[0051] In one implementation of the present disclosure, if the test end passes through a corresponding test scene along a test path, corresponding driving action prompt information can be displayed in an electronic map, wherein the driving action prompt information is used to prompt the test end to perform a driving action corresponding to the test scene.
[0052] In one implementation of the present disclosure, the prompt condition is used to indicate the conditions that must be met when displaying the driving action prompt information. The prompt condition may include: a prompt position and a prompt distance, and the driving action prompt information is used to be displayed in the electronic map when the distance between the real-time position of the test end and the prompt position is less than or equal to the prompt distance. The prompt condition may also be: if a driving action prompt instruction input through the visual interface is detected, the driving action prompt information corresponding to each test scenario in the test path is displayed.
[0053] In the technical solution provided in the embodiment of the present disclosure, by generating driving action prompt information and prompt conditions corresponding to the test path and the driving action based on the correspondence between the pre-generated driving action and the driving action prompt information, it is convenient to display the driving action prompt information when the prompt condition is met to prompt the test end to make corresponding driving actions, which helps to improve the efficiency of testing based on the test path.
[0054] planning Figure 2 The structure block diagram of the path planning device according to the embodiment of the present disclosure is shown. The device can be implemented as part or all of the electronic device through software, hardware or a combination of both.
[0055] like Figure 2 As shown, the path planning device 200 includes: The requirement information acquisition module 201 is configured to acquire test requirement information, where the test requirement information is used to indicate a test scenario; The road section point of interest determination module 202 is configured to determine the road section or point of interest matching the test scenario according to the test requirement information and the pre-generated test case information, wherein the test case information is used to indicate the correspondence between the road section or point of interest and the test scenario; The path planning module 203 is configured to obtain a test path passing through road sections or points of interest.
[0056] According to the technical solution provided by the embodiment of the present disclosure, by acquiring test requirement information for indicating a test scenario; determining the road section or point of interest matching the test scenario based on the test requirement information and pre-generated test case information for indicating the correspondence between the road section or point of interest and the test scenario, and acquiring a test path passing through the road section or point of interest. Among them, the test end travels along the test path and may pass through the road section or point of interest matching the test scenario indicated by the test requirement information, so that the test end can test the functions related to the above test scenario in the travel-related system to meet the test requirements. Therefore, the above scheme can automatically plan a test path that covers the required test scenarios without relying on testers, thereby improving the efficiency of planning the test path and reducing costs.
[0057] The present disclosure also discloses an electronic device, Figure 3 A structural block diagram of an electronic device according to an embodiment of the present disclosure is shown.
[0058] like Figure 3 As shown, the electronic device includes a memory and a processor, wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method according to an embodiment of the present disclosure.
[0059] The present disclosure provides a path planning method, including: Obtain test requirement information, which is used to indicate the test scenario; Determine a road section or point of interest that matches the test scenario based on the test requirement information and pre-generated test case information, wherein the test case information is used to indicate a corresponding relationship between the road section or point of interest and the test scenario; Get a test path that passes through road segments or points of interest.
[0060] In one embodiment of the present disclosure, obtaining test requirement information includes: Obtain test requirement information input through the visual interface; or, obtaining path selection information input through a visual interface; Determine the type of map element passed by the historical route indicated by the route selection information; Determine the test scenario that the historical path passes through based on the type of map elements that the historical path passes through and the pre-generated element matching relationship, where the element matching relationship is used to indicate the correspondence between the type of map elements and the test scenario; Test requirement information for indicating the test scenarios that the historical path passes through is generated.
[0061] In one embodiment of the present disclosure, before determining a road section or point of interest matching a test scenario according to the test requirement information and the pre-generated test case information, the method further includes: Acquire a road section and / or a point of interest whose distance from the positioning position of the test end is less than or equal to a first distance threshold as a road section to be tested and / or a point of interest to be tested; According to the test requirement information and the pre-generated test case information, determine the road sections or points of interest that match the test scenario, including: According to the test requirement information and the test case information, a road section or a point of interest that matches the test scenario is determined from the road section to be tested and / or the point of interest to be tested.
[0062] In one embodiment of the present disclosure, obtaining a test path passing through a road section or a point of interest specifically includes: A test path passing through road sections or points of interest is obtained, where the test path meets at least one requirement of the shortest path length, the shortest driving time, and the lowest fee.
[0063] In one embodiment of the present disclosure, the test requirement information includes a driving action corresponding to a test scenario, and the test case information is further used to indicate a corresponding relationship between a road section or a point of interest and a driving action; According to the test requirement information and the pre-generated test case information, determine the road sections or points of interest that match the test scenario, including: According to the test requirement information and the test case information, determine the road sections or points of interest that match the test scenario and allow driving actions to be performed.
[0064] In one embodiment of the present disclosure, the method further comprises: Based on the correspondence between the pre-generated driving action and the driving action prompt information, the driving action prompt information and prompt conditions corresponding to the test path and the driving action are generated, and the driving action prompt information is used to prompt the test end to make corresponding driving actions.
[0065] In one embodiment of the present disclosure, the prompt condition includes: a prompt position and a prompt distance, and the driving action prompt information is used to be displayed in an electronic map when the distance between the real-time position of the test end and the prompt position is less than or equal to the prompt distance.
[0066] Figure 4A schematic diagram showing the structure of a computer system suitable for implementing the method according to an embodiment of the present disclosure is shown.
[0067] like Figure 4 As shown, the computer system includes a processing unit, which can execute various methods in the above-mentioned embodiments according to a program stored in a read-only memory (ROM) or a program loaded from a storage part into a random access memory (RAM). In the RAM, various programs and data required for the operation of the computer system are also stored. The processing unit, ROM and RAM are connected to each other through a bus. An input / output (I / O) interface is also connected to the bus.
[0068] The following components are connected to the I / O interface: an input part including a keyboard, a mouse, etc.; an output part including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage part including a hard disk, etc.; and a communication part including a network interface card such as a LAN card, a modem, etc. The communication part performs a communication process via a network such as the Internet. The drive is also connected to the I / O interface as needed. Removable media, such as disks, optical disks, magneto-optical disks, semiconductor memories, etc., are installed on the drive as needed so that the computer program read therefrom can be installed into the storage part as needed. Among them, the processing unit can be implemented as a processing unit such as a CPU, a GPU, a TPU, an FPGA, an NPU, etc.
[0069] In particular, according to an embodiment of the present disclosure, the method described above can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program tangibly contained on a machine-readable medium, and the computer program includes a program code for executing the above method. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part, and / or installed from a removable medium.
[0070] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. 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 the code contains one or more executable instructions for realizing the 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 boxes represented in succession 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 flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0071] The units or modules involved in the embodiments described in the present disclosure may be implemented by software or programmable hardware. The units or modules described may also be set in a processor, and the names of these units or modules do not constitute limitations on the units or modules themselves in some cases.
[0072] As another aspect, the present disclosure further provides a computer-readable storage medium, which may be a computer-readable storage medium included in the electronic device or computer system in the above embodiment; or a computer-readable storage medium that exists independently and is not assembled into a device. The computer-readable storage medium stores one or more programs, and the programs are used by one or more processors to execute the method described in the present disclosure.
[0073] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present disclosure is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other.
Claims
1. A path planning method, comprising: Acquire test requirement information, where the test requirement information is used to indicate a test scenario; Determining a road section or point of interest matching the test scenario according to the test requirement information and pre-generated test case information, wherein the test case information is used to indicate a corresponding relationship between the road section or point of interest and the test scenario; Get a test path that passes through the road segment or point of interest.
2. The path planning method according to claim 1, wherein: The obtaining of test requirement information includes: Obtain test requirement information input through the visual interface; or, obtaining path selection information input through a visual interface; Determining the type of map elements passed by the historical path indicated by the path selection information; Determining the test scenario that the historical path passes through based on the type of map elements that the historical path passes through and a pre-generated element matching relationship, wherein the element matching relationship is used to indicate the correspondence between the type of map elements and the test scenario; Test requirement information is generated to indicate the test scenarios that the historical path passes through.
3. The path planning method according to claim 1, wherein: Before determining a road section or point of interest matching the test scenario according to the test requirement information and the pre-generated test case information, the method further includes: Acquire a road section and / or a point of interest whose distance from the positioning position of the test end is less than or equal to a first distance threshold as a road section to be tested and / or a point of interest to be tested; The determining, according to the test requirement information and the pre-generated test case information, a road section or a point of interest matching the test scenario specifically includes: According to the test requirement information and the test case information, a road section or a point of interest matching the test scenario is determined from the road section to be tested and / or the point of interest to be tested.
4. The path planning method according to any one of claims 1 to 3, wherein: Obtaining a test path passing through the road section or point of interest, specifically including: A test path passing through the road section or the point of interest is obtained, where the test path meets at least one requirement of the shortest path length, the shortest driving time, and the lowest fee.
5. The path planning method according to claim 1, wherein: The test requirement information includes a driving action corresponding to the test scenario, and the test case information is also used to indicate a corresponding relationship between a road section or a point of interest and a driving action; The determining, according to the test requirement information and the pre-generated test case information, a road section or a point of interest matching the test scenario includes: According to the test requirement information and the test case information, a road section or point of interest that matches the test scenario and allows execution of the driving action is determined.
6. The path planning method according to claim 5, wherein: The method further comprises: Based on the correspondence between the pre-generated driving action and the driving action prompt information, the driving action prompt information and prompt conditions corresponding to the test path and the driving action are generated, and the driving action prompt information is used to prompt the test end to perform the corresponding driving action.
7. The path planning method according to claim 6, wherein: The prompt condition includes: a prompt position and a prompt distance, and the driving action prompt information is used to be displayed in an electronic map when the distance between the real-time position of the test end and the prompt position is less than or equal to the prompt distance.
8. A path planning device, comprising: A requirement information acquisition module is configured to acquire test requirement information, where the test requirement information is used to indicate a test scenario; A road section point of interest determination module is configured to determine a road section or point of interest matching the test scenario according to the test requirement information and pre-generated test case information, wherein the test case information is used to indicate a corresponding relationship between the road section or point of interest and the test scenario; The path planning module is configured to obtain a test path passing through the road section or the point of interest.
9. An electronic device comprising a memory and a processor; wherein: The memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method steps of any one of claims 1-7.
10. A computer-readable storage medium having computer instructions stored thereon, wherein: When the computer instructions are executed by a processor, the method steps of any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Route planning method and device, electronic equipment and computer readable storage medium
CN120996317A
Route planning method and device, electronic equipment and computer readable storage medium
CN120996317B
