Vehicle-mounted navigation automatic test method, device and equipment and storage medium
Through automated testing methods, dynamic libraries and navigation logs are used to generate test results, solving the problem of low efficiency of on-board navigation tests and achieving efficient and accurate fault detection.
Patent Information
- Application Number
- CN202411726310.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-02-14
AI Technical Summary
The existing on-board navigation testing methods are inefficient, rely on people and cars, cannot be tested 24/7, and are prone to missing failure moments.
An automated test method for on-board navigation is proposed. By responding to test instructions, the dynamic library is loaded to determine the navigation destination, the navigation system is controlled to enable the navigation function and monitor the navigation log to generate test results.
Automatic testing is realized, testing efficiency is improved, video streams can be obtained in a timely manner at the time of failure, improving the accuracy of problem discovery, and reducing safety hazards.
Smart Images

Figure CN119437296A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automated testing technology, and in particular to an automated testing method, device, equipment and storage medium for vehicle navigation. Background Art
[0002] In-vehicle navigation plays an indispensable role in the driver's daily driving, and the current in-vehicle navigation is being updated and replaced more and more frequently, so it is particularly important to test the in-vehicle navigation before it is put into use.
[0003] The main method currently adopted by OEMs for testing and verification of in-vehicle navigation is to have test engineers drive actual vehicles for testing and verification. However, faults are easy to miss, and testers are required to pay attention to navigation information at all times to avoid missing the moment of faults. In addition, the test efficiency is low, overly dependent on people and vehicles, and testing work cannot be carried out during non-working hours.
[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] The main purpose of this application is to provide a method, device, equipment and storage medium for automated testing of vehicle-mounted navigation, aiming to solve the technical problem of low efficiency of vehicle-mounted navigation testing.
[0006] To achieve the above objectives, the present application proposes an automated vehicle navigation test method, the automated vehicle navigation test method comprising:
[0007] Respond to the vehicle navigation test command and load the dynamic library to determine the navigation destination;
[0008] Controlling the navigation system to start a navigation function and monitoring the navigation log of the navigation system;
[0009] After determining that the navigation system reaches the navigation destination, a test result is generated based on the navigation log.
[0010] In one embodiment, the step of responding to the vehicle navigation test instruction and loading the dynamic library to determine the navigation destination includes:
[0011] In response to the vehicle navigation test instruction, a dynamic library is loaded to obtain a target file in the dynamic library, wherein the files in the dynamic library include a high-speed operating condition file, a snowy and foggy driving operating condition file, a night operating condition file, a strong electromagnetic environment operating condition file, an overpass operating condition file, and a bumpy road operating condition file;
[0012] determining a target route based on the target file;
[0013] A navigation destination is set based on the target route.
[0014] In one embodiment, the step of controlling the navigation system to start the navigation function and monitoring the navigation log of the navigation system comprises:
[0015] Control the navigation system to start the navigation function;
[0016] Setting anomaly detection rules to monitor navigation logs generated by the navigation system during navigation;
[0017] When an anomaly that does not satisfy the anomaly detection rule is detected in the navigation log, current video stream information is obtained;
[0018] The step of generating a test result based on the navigation log further includes:
[0019] A test result is generated based on the navigation log and the current video stream information.
[0020] In one embodiment, the step of setting an anomaly detection rule to monitor the navigation log generated by the navigation system during the navigation process includes:
[0021] When the target file in the dynamic library is a high-speed operating condition file, the abnormality detection rule is set to monitor whether the navigation system can correctly adjust the speed limit prompt according to the high-speed road conditions;
[0022] When the target file in the dynamic library is a snowy and foggy driving condition file, the abnormality detection rule is set to monitor whether the navigation system can correctly identify and avoid low visibility areas and provide safety tips in snowy and foggy weather;
[0023] When the target file in the dynamic library is a nighttime operating condition file, the abnormality detection rule is set to monitor whether the navigation system can provide prompts for insufficiently lit road sections and provide safety prompts in a nighttime environment;
[0024] When the target file in the dynamic library is a strong electromagnetic environment condition file, the abnormality detection rule is set to monitor whether the navigation system can accurately locate under the strong electromagnetic environment condition and maintain stable navigation guidance;
[0025] When the target file in the dynamic library is an overpass working condition file, the abnormality detection rule is set to monitor whether the navigation system can provide accurate turning guidance under complex road conditions;
[0026] When the target file in the dynamic library is a bumpy road condition file, the abnormality detection rule is set to monitor whether the navigation system can provide a reasonable route option to avoid bumps on a bumpy road section, and provide a road condition prompt before reaching the bumpy road section.
[0027] In one embodiment, the step of generating a test result based on the navigation log and the current video stream information includes:
[0028] Parsing the navigation log in real time to obtain parsed data;
[0029] When the parsed data does not satisfy the abnormality detection rule, determining that an abnormality occurs in the navigation system, acquiring video stream information at the abnormal time, performing frame processing on the video stream information, and determining abnormal information;
[0030] The timestamp of the video stream information is matched with the abnormal time point of the navigation log to generate a test result.
[0031] In one embodiment, after determining that the navigation system has reached the navigation destination, the method further includes:
[0032] After determining that the navigation system has reached the navigation destination, determining that a test of a current target file in the dynamic library is completed;
[0033] Obtaining a second target file in the dynamic library;
[0034] Based on the second target file, a new target navigation route is determined, and the process returns to the step of controlling the navigation system to start the navigation function and monitoring the navigation log of the navigation system.
[0035] In one embodiment, after the step of returning the control of the navigation system to start the navigation function based on the second target file and monitoring the navigation log of the navigation system, the method further includes:
[0036] Check whether all remaining files in the dynamic library have been tested;
[0037] After all remaining files in the dynamic library are tested, a final test result is generated.
[0038] In addition, to achieve the above purpose, the present application also proposes a vehicle navigation automatic test device, the device comprising:
[0039] The acquisition module is used to respond to the vehicle navigation test instruction and load the dynamic library to determine the navigation destination;
[0040] A test module, used for controlling the navigation system to start the navigation function and monitoring the navigation log of the navigation system;
[0041] A report generating module is used to generate a test result based on the navigation log after determining that the navigation system has reached the navigation destination.
[0042] In addition, to achieve the above-mentioned purpose, the present application also proposes an in-vehicle navigation automated testing device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the in-vehicle navigation automated testing method as described above.
[0043] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the vehicle navigation automation testing method described above are implemented.
[0044] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the vehicle navigation automation testing method described above.
[0045] One or more technical solutions proposed in this application have at least the following technical effects:
[0046] Respond to the vehicle navigation test instruction, load the dynamic library to determine the navigation destination; control the navigation system to start the navigation function, and monitor the navigation log of the navigation system at the same time; after determining that the navigation system has reached the navigation destination, generate a test result based on the navigation log, and through the automated log monitoring mechanism, timely obtain the video stream of the fault time point, which can improve the accuracy of problem discovery and reduce the potential safety hazards that may arise during the dynamic road test. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0048] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0049] Figure 1 A flowchart of the first embodiment of the vehicle navigation automation test method of the present application is provided;
[0050] Figure 2 A dynamic library structure diagram provided for the first embodiment of the vehicle navigation automated testing method of the present application;
[0051] Figure 3 A flowchart of the second embodiment of the vehicle navigation automation test method of the present application is provided;
[0052] Figure 4 A flowchart of the third embodiment of the vehicle navigation automation test method of the present application is provided;
[0053] Figure 5 The overall flow chart provided for the third embodiment of the vehicle navigation automated testing method of the present application;
[0054] Figure 6 This is a schematic diagram of the module structure of the vehicle navigation automation test device according to an embodiment of the present application;
[0055] Figure 7 This is a schematic diagram of the equipment structure of the hardware operating environment involved in the vehicle navigation automation test method in the embodiment of the present application.
[0056] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0057] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0058] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0059] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, an in-vehicle navigation automation test device, automation software, etc. The following takes automation software as an example to illustrate this embodiment and the following embodiments.
[0060] Based on this, the present application embodiment provides a vehicle navigation automation test method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the vehicle navigation automatic testing equipment method of the present application.
[0061] In this embodiment, the vehicle navigation automated testing equipment method includes steps S10 to S40:
[0062] Step S10, responding to the vehicle navigation test instruction, loading the dynamic library to determine the navigation destination;
[0063] It should be noted that the dynamic library file is the data recorded in advance by the road test personnel according to the route requirements. The dynamic library file contains the real vehicle navigation GNSS data collected under different road conditions. Each road condition corresponds to a file, such as high-speed driving, driving in snow and fog, driving at night, etc.
[0064] It should be understood that the selected dynamic library file is loaded in the automation software. Each file in the dynamic library is a real vehicle navigation GNSS data of a road condition. For projects using SOA architecture, the GNSS data is Some / IP service data. Some / IP is a communication protocol for automotive networks that allows different on-board electronic control units (ECUs) to communicate with each other. In this case, the GNSS data is encapsulated into Some / IP service data for transmission between different systems in the vehicle.
[0065] GNSS data content: The GNSS data corresponding to the navigation route includes UTC time, valid flag, latitude, accuracy, height above sea level, height above the earth ellipsoid, position information fusion flag, positioning method, motion heading (2-D), number of satellites used for current positioning, ground speed (2-D), estimated horizontal accuracy, vertical accuracy, positioning mode, maximum number of current search satellites, and satellite list information.
[0066] In a specific implementation, these library files are dynamically loaded through the software interface of the vehicle system to access and process the data therein.
[0067] In a feasible implementation, step S10 may include steps A11 to A13:
[0068] Step A11: responding to the vehicle navigation test instruction, loading the dynamic library to obtain the target file in the dynamic library, wherein the files in the dynamic library include high-speed working condition files, snow and fog driving working condition files, night working condition files, strong electromagnetic environment working condition files, overpass working condition files and bumpy road working condition files;
[0069] like Figure 2 As shown, the dynamic navigation library includes high-speed conditions, snowy and foggy driving conditions, night conditions, strong electromagnetic environment conditions, overpass conditions and bumpy road conditions.
[0070] Step A12: determining a target route based on the target file;
[0071] In the specific implementation, the data in the dynamic library file is parsed to extract the specific route for testing; verify whether the extracted route meets the test requirements, such as route length, complexity, covered working conditions, etc.; select the most suitable one or more routes from multiple available routes for testing.
[0072] Step A13: Setting the navigation destination based on the target route.
[0073] In a specific implementation, the automation software sets the corresponding navigation destination on the local side according to the corresponding route;
[0074] Step S20, controlling the navigation system to start the navigation function and monitoring the navigation log of the navigation system;
[0075] It should be noted that before starting the test, you need to build the local vehicle environment and power it on; use automation software to start the screen recording tool of the local vehicle.
[0076] In the specific implementation, start the vehicle navigation system and ensure that it is in working condition; monitor the logs generated by the navigation system in real time, including location information, speed, direction, signal quality, etc.; during the log monitoring process, apply anomaly detection algorithms to identify any unexpected behaviors or errors.
[0077] Step S30: after determining that the navigation system has reached the navigation destination, generating a test result based on the navigation log.
[0078] In the specific implementation, the navigation system is used to confirm that the predetermined destination has been reached; the log data collected during the entire navigation process is analyzed to evaluate the navigation performance and accuracy; based on the results of the log analysis, a detailed test report is generated, including successful and failed test cases, performance indicators, abnormal events, etc.
[0079] The present embodiment provides an automated vehicle navigation testing method, which responds to a vehicle navigation test instruction, loads a dynamic library to determine a navigation destination; controls the navigation system to start the navigation function, and monitors the navigation log of the navigation system at the same time; after determining that the navigation system has reached the navigation destination, generates a test result based on the navigation log, and through an automated log monitoring mechanism, can timely obtain a video stream at the time of a fault, can improve the accuracy of problem discovery, and reduce potential safety hazards that may arise during a dynamic road test.
[0080] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 3 , step S20, including steps S201 to S205:
[0081] Step S201, controlling the navigation system to start the navigation function;
[0082] It should be noted that the vehicle navigation system should be started through automated software or manual operation and ensured to be in standby mode.
[0083] Step S202, setting anomaly detection rules to monitor navigation logs generated by the navigation system during the navigation process;
[0084] In a specific implementation, corresponding abnormality detection rules are set according to different road condition files (stored in a dynamic library), for example, high-speed driving: detecting whether to adjust the speed limit prompt according to the high-speed road condition.
[0085] Driving in Snow and Fog: Detects whether to identify low-visibility areas and provide safety tips.
[0086] Night driving: Detects whether to provide reminders for poorly lit roads and night safety tips.
[0087] Strong electromagnetic environment: detect positioning accuracy and navigation stability in a strong electromagnetic environment.
[0088] Overpass working condition: Check whether accurate steering guidance is provided under complex road conditions.
[0089] Bumpy road conditions: Check whether reasonable avoidance route options and road condition prompts are provided for bumpy sections.
[0090] In a feasible implementation, step S202 may include steps A21 to A26:
[0091] Step A21: When the target file in the dynamic library is a high-speed operating condition file, the abnormality detection rule is set to monitor whether the navigation system can correctly adjust the speed limit prompt according to the high-speed road conditions;
[0092] In the specific implementation, the navigation system is monitored to see whether it correctly adjusts the speed limit prompt according to the highway conditions. If the speed prompted by the navigation is inconsistent with the actual road speed limit, it is considered an abnormality. When driving at high speed, if there is a large deviation between the path indicated by the navigation system and the actual driving path, such as indicating the wrong exit or service area, it is considered an abnormality.
[0093] Step A22: When the target file in the dynamic library is a snowy and foggy driving condition file, the abnormality detection rule is set to monitor whether the navigation system can correctly identify and avoid low visibility areas, and provide safety tips in snowy and foggy weather;
[0094] In the specific implementation, when visibility is low, monitor whether the navigation system can provide accurate route guidance. If the navigation system fails to correctly identify and avoid low visibility areas, it is considered an abnormality. Monitor whether the navigation system provides additional safety prompts under severe weather conditions, such as slowing down, turning on fog lights, etc. If these prompts are missing, it is considered an abnormality.
[0095] Step A23: When the target file in the dynamic library is a nighttime operating condition file, the abnormality detection rule is set to monitor whether the navigation system can provide prompts for insufficiently lit road sections and provide safety prompts in nighttime environments;
[0096] In the specific implementation, the navigation system is monitored to see whether it provides prompts for poorly lit roads in night mode. If the navigation system fails to provide such prompts, it is considered an abnormality. The navigation system is monitored to see whether it automatically switches to night mode at sunset. If it fails to switch automatically, it is considered an abnormality.
[0097] Step A24: When the target file in the dynamic library is a strong electromagnetic environment condition file, the abnormality detection rule is set to monitor whether the navigation system can accurately locate in the strong electromagnetic environment condition and maintain stable navigation guidance;
[0098] In the specific implementation, the positioning accuracy of the navigation system under strong electromagnetic interference is monitored. If frequent position jumps or positioning losses occur, it is considered an abnormality. In a strong electromagnetic environment, whether the navigation system can maintain stable navigation guidance is monitored. If frequent route replanning occurs, it is considered an abnormality.
[0099] Step A25: When the target file in the dynamic library is an overpass working condition file, an abnormality detection rule is set to monitor whether the navigation system can provide accurate turning guidance under complex road conditions;
[0100] In specific implementation, at complex intersections such as overpasses, the monitoring navigation system is used to determine whether it can provide clear and accurate turning instructions. If the instructions are unclear or wrong, it is considered an abnormality. The monitoring navigation system is used to determine whether it can correctly identify the multi-layer road structure of the overpass. If the navigation system fails to correctly identify the structure, it is considered an abnormality.
[0101] Step A26: When the target file in the dynamic library is a bumpy road condition file, the abnormality detection rule is set to monitor whether the navigation system can provide reasonable route options to avoid bumps on bumpy roads, and provide road condition prompts before reaching the bumpy road section.
[0102] In the specific implementation, the navigation system is monitored to see whether it provides more comfortable route options on bumpy roads. If the navigation system fails to avoid known bumpy roads, it is considered an abnormality. The navigation system is monitored to see whether it provides road condition prompts when approaching bumpy roads. If such prompts are missing, it is considered an abnormality.
[0103] Step S203, when an anomaly that does not satisfy the anomaly detection rule is detected in the navigation log, current video stream information is obtained;
[0104] In the specific implementation, the logs generated by the navigation system are monitored in real time, including position, speed, direction, etc.; when an abnormality is detected, the current video stream information is obtained, including internal and external video data.
[0105] The step of generating test results based on the navigation log also includes:
[0106] Generate test results based on navigation log and current video stream information.
[0107] Furthermore, the steps include:
[0108] Perform real-time analysis on the navigation log to obtain analysis data;
[0109] When the parsed data does not meet the anomaly detection rules, it is determined that the navigation system is abnormal, the video stream information at the abnormal moment is obtained, the video stream information is frame processed, and the abnormal information is determined;
[0110] The timestamp of the video stream information is matched with the abnormal time point of the navigation log to generate the test result.
[0111] In the specific implementation, the navigation log is parsed in real time to extract key data; when the parsed data does not meet the anomaly detection rules, it is determined that an abnormality has occurred in the navigation system; frame processing is performed on the video stream information at the abnormal moment to determine the abnormal information; the timestamp of the video stream information is matched with the abnormal time point of the navigation log to generate accurate test results.
[0112] This embodiment provides an automated testing method for in-vehicle navigation. By testing in different navigation scenarios, it is ensured that the navigation system can work normally under various actual driving conditions, including highways, bad weather, night driving, etc., so as to verify the comprehensiveness and adaptability of the system. By testing the navigation response in different scenarios, driving safety is improved to ensure that the driver can get accurate navigation guidance and safety prompts in complex or dangerous road conditions.
[0113] Based on the first and second embodiments of the present application, in the third embodiment of the present application, the same or similar contents as those in the above embodiments can be referred to the above introduction, and will not be described in detail later. Figure 4 , step S30, including steps S301 to S303:
[0114] Step S301, after determining that the navigation system has reached the navigation destination, determining that the test of the current target file in the dynamic library is completed;
[0115] In the specific implementation, when the navigation system confirms that it has reached the preset destination, it considers that the current navigation route test is completed; the current target file status in the dynamic library is marked as "tested" in the system, and the test results are recorded; the status in the test management system is updated to reflect that the test of the current target file has been completed.
[0116] Step S302, obtaining a second target file in the dynamic library;
[0117] It should be noted that the second target file is the file that is tested second in priority among other files to be tested in the dynamic library after the current target file is tested.
[0118] In a specific implementation, the next target file is retrieved from the dynamic library, which is usually based on a predefined order or priority; the data in the new target file is loaded and prepared for the next navigation test.
[0119] Step S303, based on the second target file, determine a new target navigation route, return to the step of controlling the navigation system to start the navigation function, and monitor the navigation log of the navigation system at the same time.
[0120] It should be noted that the process returns to step S20, that is, the test is performed in a loop until all the files in the dynamic library are tested.
[0121] In a specific implementation, the GNSS data in the new target file is parsed to extract a specific route for testing; and a new destination and route parameters of the navigation system are set according to the parsed route data.
[0122] Furthermore, after the step, it also includes:
[0123] Check whether all remaining files in the dynamic library have been tested;
[0124] After all remaining files in the dynamic library are tested, the final test results are generated.
[0125] It should be noted that after the automated software control completes a route, it switches to a new route until all dynamic library files are executed.
[0126] In the specific implementation, the status of all files in the dynamic library is checked to determine whether there are any untested files; if there are any untested files, continue to test them in sequence; if not, enter the final test result generation stage.
[0127] It should be understood that the final test results are the summary of the test results of all target files, including successes, failures and abnormalities, to analyze the test data and evaluate the performance and accuracy of the navigation system under different road conditions; generate a detailed test report including a test overview, detailed results, performance indicators and improvement suggestions.
[0128] like Figure 5 As shown, after the local vehicle environment is powered on, the screen recording tool is turned on, the dynamic library is loaded, and the navigation destination is set locally to start navigation. During the navigation process, the navigation log is continuously checked for abnormalities. When an abnormality occurs, the screen recording video stream is captured. After the navigation is completed, it is determined whether the dynamic library has been loaded. If not, other files in the dynamic library are reloaded until the dynamic library is loaded. At this time, a test report is generated.
[0129] The present embodiment provides an automated testing method for in-vehicle navigation, which includes the steps of determining whether the test of the current target file in the dynamic library is completed after determining that the navigation system has reached the navigation destination; obtaining a second target file in the dynamic library; determining a new target navigation route based on the second target file, returning to the steps of controlling the navigation system to start the navigation function, and monitoring the navigation log of the navigation system; ensuring that the navigation system can be fully tested under various road conditions, and that problems can be discovered and repaired in a timely manner, thereby ultimately improving the reliability of the navigation system and user satisfaction.
[0130] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the vehicle navigation automation test method of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.
[0131] This application also provides a vehicle navigation automatic test device, please refer to Figure 6 , the vehicle navigation automatic test device comprises:
[0132] The acquisition module 10 is used to respond to the vehicle navigation test instruction and load the dynamic library to determine the navigation destination;
[0133] The test module 20 is used to control the navigation system to start the navigation function and monitor the navigation log of the navigation system;
[0134] The report generating module 30 is used to generate a test result based on the navigation log after determining that the navigation system has reached the navigation destination.
[0135] The vehicle navigation automation test device provided by the present application adopts the vehicle navigation automation test method in the above embodiment, which can solve the technical problem of low efficiency of vehicle navigation test. Compared with the prior art, the beneficial effects of the vehicle navigation automation test device provided by the present application are the same as the beneficial effects of the vehicle navigation automation test method provided by the above embodiment, and other technical features in the vehicle navigation automation test device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0136] In one embodiment, the acquisition module 10 is further used to respond to the vehicle navigation test instruction, load the dynamic library to obtain the target file in the dynamic library, wherein the files in the dynamic library include high-speed form working condition files, snow and fog driving working condition files, night working condition files, strong electromagnetic environment working condition files, overpass working condition files and bumpy road working condition files;
[0137] Determine the target route based on the target file;
[0138] Set the navigation destination based on the target route.
[0139] In one embodiment, the test module 20 is further used to control the navigation system to start the navigation function;
[0140] Setting anomaly detection rules to monitor navigation logs generated by the navigation system during navigation;
[0141] When an anomaly that does not satisfy anomaly detection rules is detected in the navigation log, current video stream information is obtained;
[0142] The step of generating test results based on the navigation log also includes:
[0143] Generate test results based on navigation log and current video stream information.
[0144] In one embodiment, the test module 20 is further used to set an abnormality detection rule to monitor whether the navigation system can correctly adjust the speed limit prompt according to the highway road conditions when the target file in the dynamic library is a high-speed form working condition file;
[0145] When the target file in the dynamic library is a snowy and foggy driving condition file, the abnormal detection rule is set to monitor whether the navigation system can correctly identify and avoid low-visibility areas and provide safety tips in snowy and foggy weather;
[0146] When the target file in the dynamic library is a nighttime operating condition file, the abnormal detection rule is set to monitor whether the navigation system can provide prompts for insufficiently lit sections and provide safety prompts in nighttime environments;
[0147] When the target file in the dynamic library is a strong electromagnetic environment condition file, the abnormal detection rule is set to monitor whether the navigation system can accurately locate in the strong electromagnetic environment condition and maintain stable navigation guidance;
[0148] When the target file in the dynamic library is an overpass working condition file, the abnormal detection rule is set to monitor whether the navigation system can provide accurate turning guidance under complex road conditions;
[0149] When the target file in the dynamic library is a bumpy road condition file, the abnormality detection rule is set to monitor whether the navigation system can provide reasonable route options to avoid bumps on bumpy roads, and provide road condition prompts before reaching the bumpy road section.
[0150] In one embodiment, the report generation module 30 is further used to parse the navigation log in real time to obtain parsed data;
[0151] When the parsed data does not meet the anomaly detection rules, it is determined that the navigation system is abnormal, the video stream information at the abnormal moment is obtained, the video stream information is frame processed, and the abnormal information is determined;
[0152] The timestamp of the video stream information is matched with the abnormal time point of the navigation log to generate the test result.
[0153] In one embodiment, the report generating module 30 is further used to determine that the test of the current target file in the dynamic library is completed after determining that the navigation system has reached the navigation destination;
[0154] Get the second target file in the dynamic library;
[0155] Based on the second target file, a new target navigation route is determined, and the process returns to the step of controlling the navigation system to start the navigation function and monitoring the navigation log of the navigation system.
[0156] In one embodiment, the report generation module 30 is further used to detect whether all remaining files in the dynamic library have been tested;
[0157] After all remaining files in the dynamic library are tested, the final test results are generated.
[0158] The present application provides an in-vehicle navigation automation test device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the in-vehicle navigation automation test method in the above-mentioned embodiment one.
[0159] Reference below Figure 7 , which shows a schematic diagram of the structure of an in-vehicle navigation automation test device suitable for implementing the embodiment of the present application. The in-vehicle navigation automation test device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), in-vehicle terminals (such as in-vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The in-vehicle navigation automation test equipment shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0160] like Figure 7As shown, the vehicle navigation automation test equipment may include a processing device 1001 (such as a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the vehicle navigation automation test equipment are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1009. The communication device 1009 can allow the vehicle-mounted navigation automation test equipment to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a vehicle-mounted navigation automation test equipment with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have alternatively.
[0161] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0162] The vehicle navigation automation test equipment provided by the present application adopts the vehicle navigation automation test method in the above embodiment, which can solve the technical problem of low efficiency of vehicle navigation test. Compared with the prior art, the beneficial effects of the vehicle navigation automation test equipment provided by the present application are the same as the beneficial effects of the vehicle navigation automation test equipment method provided by the above embodiment, and other technical features in the vehicle navigation automation test equipment are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0163] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0164] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0165] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the vehicle navigation automation test method in the above-mentioned embodiment.
[0166] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0167] The computer-readable storage medium may be included in the vehicle-mounted navigation automated test device; or may exist independently without being assembled into the vehicle-mounted navigation automated test device.
[0168] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the vehicle-mounted navigation automated testing equipment, the vehicle-mounted navigation automated testing equipment: responds to the vehicle-mounted navigation test instructions, loads the dynamic library to determine the navigation destination; controls the navigation system to start the navigation function, and monitors the navigation log of the navigation system at the same time; after determining that the navigation system has reached the navigation destination, generates a test result based on the navigation log.
[0169] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0170] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the 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 square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square 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 square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart 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.
[0171] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0172] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned vehicle navigation automated testing method, and can solve the technical problem of low efficiency of vehicle navigation testing. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the vehicle navigation automated testing method provided by the above-mentioned embodiment, and will not be described in detail here.
[0173] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned vehicle navigation automatic testing method when executed by a processor.
[0174] The computer program product provided by this application can solve the technical problem of low efficiency of vehicle navigation testing. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the vehicle navigation automated testing method provided by the above embodiment, which will not be repeated here.
[0175] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A vehicle navigation automation test method, characterized in that: The vehicle navigation automation test method comprises: Respond to the vehicle navigation test command and load the dynamic library to determine the navigation destination; Controlling the navigation system to start a navigation function and monitoring the navigation log of the navigation system; After determining that the navigation system reaches the navigation destination, a test result is generated based on the navigation log.
2. The vehicle navigation automation test method according to claim 1, characterized in that: The step of responding to the vehicle navigation test instruction and loading the dynamic library to determine the navigation destination includes: In response to the vehicle navigation test instruction, a dynamic library is loaded to obtain a target file in the dynamic library, wherein the files in the dynamic library include a high-speed operating condition file, a snowy and foggy driving operating condition file, a night operating condition file, a strong electromagnetic environment operating condition file, an overpass operating condition file, and a bumpy road operating condition file; determining a target route based on the target file; A navigation destination is set based on the target route.
3. The vehicle navigation automation test method according to claim 1, characterized in that: The step of controlling the navigation system to start the navigation function and monitoring the navigation log of the navigation system comprises: Control the navigation system to start the navigation function; Setting anomaly detection rules to monitor navigation logs generated by the navigation system during navigation; When an anomaly that does not satisfy the anomaly detection rule is detected in the navigation log, current video stream information is obtained; The step of generating a test result based on the navigation log further includes: A test result is generated based on the navigation log and the current video stream information.
4. The vehicle navigation automation test method according to claim 3, characterized in that: The step of setting anomaly detection rules to monitor the navigation logs generated by the navigation system during the navigation process includes: When the target file in the dynamic library is a high-speed operating condition file, the abnormality detection rule is set to monitor whether the navigation system can correctly adjust the speed limit prompt according to the high-speed road conditions; When the target file in the dynamic library is a snowy and foggy driving condition file, the abnormality detection rule is set to monitor whether the navigation system can correctly identify and avoid low visibility areas and provide safety tips in snowy and foggy weather; When the target file in the dynamic library is a nighttime operating condition file, the abnormality detection rule is set to monitor whether the navigation system can provide prompts for insufficiently lit road sections and provide safety prompts in a nighttime environment; When the target file in the dynamic library is a strong electromagnetic environment condition file, the abnormality detection rule is set to monitor whether the navigation system can accurately locate under the strong electromagnetic environment condition and maintain stable navigation guidance; When the target file in the dynamic library is an overpass working condition file, the abnormality detection rule is set to monitor whether the navigation system can provide accurate turning guidance under complex road conditions; When the target file in the dynamic library is a bumpy road condition file, the abnormality detection rule is set to monitor whether the navigation system can provide a reasonable route option to avoid bumps on a bumpy road section, and provide a road condition prompt before reaching the bumpy road section.
5. The vehicle navigation automation test method according to claim 3, characterized in that: The step of generating a test result based on the navigation log and the current video stream information comprises: Parsing the navigation log in real time to obtain parsed data; When the parsed data does not satisfy the abnormality detection rule, determining that an abnormality occurs in the navigation system, acquiring video stream information at the abnormal time, performing frame processing on the video stream information, and determining abnormal information; The timestamp of the video stream information is matched with the abnormal time point of the navigation log to generate a test result.
6. The vehicle navigation automation test method according to claim 1, characterized in that: After determining that the navigation system has reached the navigation destination, the method further includes: After determining that the navigation system has reached the navigation destination, determining that a test of a current target file in the dynamic library is completed; Obtaining a second target file in the dynamic library; Based on the second target file, a new target navigation route is determined, and the process returns to the step of controlling the navigation system to start the navigation function and monitoring the navigation log of the navigation system.
7. The vehicle navigation automation test method according to claim 6, characterized in that: After the step of returning the control navigation system to start the navigation function based on the second target file and monitoring the navigation log of the navigation system, the method further includes: Check whether all remaining files in the dynamic library have been tested; After all remaining files in the dynamic library are tested, a final test result is generated.
8. An automatic vehicle navigation test device, characterized in that: The device comprises: The acquisition module is used to respond to the vehicle navigation test instruction and load the dynamic library to determine the navigation destination; A test module, used for controlling the navigation system to start the navigation function and monitoring the navigation log of the navigation system; A report generating module is used to generate a test result based on the navigation log after determining that the navigation system has reached the navigation destination.
9. An automatic vehicle navigation test device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the vehicle navigation automation test method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the vehicle navigation automation test method according to any one of claims 1 to 7 are implemented.