Automatic testing system and method for vehicle-mounted navigation software

By designing an automated test system for on-board navigation software, using components such as intelligent test terminals and automated test servers, automated testing of on-board navigation systems is realized, solving the problems of low testing efficiency and high resource consumption in the existing technology, and improving the testing efficiency and reliability of the results.

CN119883904APending Publication Date: 2025-04-25BEI DOU ZHI LIAN KE JI YOU XIAN GONG SI +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411933736.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

The prior art has problems of low efficiency and high human and time resource consumption in the functional testing of vehicle navigation systems.

Method used

An automated test system for vehicle navigation software is designed, including intelligent testing terminals, automated testing servers, vehicle navigation terminals, peripheral control terminals and information collection terminals. The system issues test instructions and scripts through an automated test server, intelligent test terminal executes and feedbacks the test results, peripheral control terminals build a test environment, information collection terminals collect data, and generate test reports.

Benefits of technology

It improves the testing efficiency of the on-board navigation system, reduces the labor and time resource consumption of the test, and improves the accuracy and reliability of the test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119883904A_ABST
    Figure CN119883904A_ABST
Patent Text Reader

Abstract

The invention provides an automatic test system and method for vehicle navigation software. An automatic test server issues a test instruction and a test script to an intelligent test terminal; the intelligent test terminal sends a control instruction to the peripheral control terminal according to the content of the test script, so that the peripheral control terminal builds a peripheral environment in which the test script runs, sends a test instruction to the vehicle-mounted navigation terminal and sends an acquisition instruction to the information acquisition terminal; the vehicle-mounted navigation terminal executes the test instruction and feeds back execution information to the intelligent test terminal; the information acquisition terminal executes the acquisition instruction to perform information acquisition and feeds back the acquired information to the intelligent test terminal; and the intelligent test terminal uploads the execution information and the acquisition information to an automatic test server, so that the automatic test server generates a test report according to the execution information and the acquisition information. According to the invention, the test efficiency of the vehicle-mounted navigation system is improved, and the consumption of human resources and time resources of the vehicle-mounted navigation test is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automated testing, and in particular to an automated testing system and method for vehicle-mounted navigation software. Background Art

[0002] In-car navigation is a special automotive information product developed specifically for the special operating environment and electrical circuit characteristics of automobiles. It has high temperature resistance, dust resistance, and shock resistance, and can be integrated with automotive electronic circuits. It supports in-car Internet access, audio and video entertainment, satellite positioning, voice navigation, games, telephones and other functions. With the development of technologies such as in-car electronics, intelligent driving and Internet of Vehicles, in-car computers are increasingly used in the automotive industry. As the central control device of automotive electronics, in-car navigation connects multiple key electronic devices of the car and can control multiple functions of the car body. With the application of intelligence, more and more intelligent applications are also integrated into in-car navigation, and in-car navigation is also closely related to vehicle driving safety.

[0003] Automated testing is a process that converts human-driven testing behavior into machine execution. Compared with traditional testing methods, this process saves manpower, time and other resources, improves the reliability of testing, and makes it easier to find problems in the system function development process. However, there are still some problems in the testing of in-vehicle navigation system functions. Summary of the invention

[0004] In view of this, the object of the present invention is to provide a vehicle navigation software automatic testing system and method, so as to improve the testing efficiency of the vehicle navigation system and reduce the human resources and time resource consumption of the vehicle navigation test.

[0005] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0006] In the first aspect, the present invention provides an automated testing system for vehicle-mounted navigation software, comprising: an intelligent testing terminal, an automated testing server, a vehicle-mounted navigation terminal, a peripheral control terminal and an information collection terminal; the automated testing server is used to send test instructions and test scripts to the intelligent testing terminal; the intelligent testing terminal is used to obtain test instructions and test scripts, and send control instructions to the peripheral control terminal according to the content of the test script, so that the peripheral control terminal executes the control instructions and builds a peripheral environment for the operation of the test script; the intelligent testing terminal is also used to execute the test script, and send test instructions to the vehicle-mounted navigation terminal and send collection instructions to the information collection terminal; the vehicle-mounted navigation terminal is used to execute the test instructions and feed back the execution information to the intelligent testing terminal; the information collection terminal is used to execute the collection instructions to collect information, and feed back the collection information to the intelligent testing terminal; the intelligent testing terminal is also used to receive the execution information and the collection information, and upload the execution information and the collection information to the automated testing server, so that the automated testing server generates a test report based on the execution information and the collection information.

[0007] Optionally, the intelligent test terminal is also used to detect whether the vehicle-mounted navigation terminal is connected, and if connected, control the vehicle-mounted navigation terminal to switch the working mode to the test mode.

[0008] Optionally, the intelligent test terminal is also used to connect to the automated test server, and when it detects that the communication with the automated test server is normal, it sends test information to the automated test server for registration, and enters a waiting state after the test information registration is completed; wherein the test information includes at least: the test type and test object of the intelligent test terminal.

[0009] Optionally, the automated test server is further configured to obtain a test trigger event and detect whether there is a currently registered intelligent test terminal. If so, a test instruction and a test script are sent to the currently registered intelligent test terminal according to the test trigger event.

[0010] Optionally, the vehicle navigation terminal is specifically used to parse the test instructions, obtain the operation actions of the vehicle navigation terminal, and execute the operation actions to obtain execution information; wherein the execution information includes: execution status and execution results; the execution status includes: start execution, execution in progress and end of execution; the execution results include: execution success and execution failure.

[0011] Optionally, the intelligent test terminal is further used to analyze whether there is a script execution exception based on the execution information, analyze whether there is an information collection exception based on the collection information, and analyze whether there is inconsistency between the script execution result and the information collection result based on the execution information and the collection information.

[0012] In a second aspect, the present invention provides an automated testing method for vehicle-mounted navigation software, which is applied to an intelligent testing terminal, and includes: obtaining test instructions and test scripts issued by an automated testing server, and sending control instructions to a peripheral control terminal according to the content of the test script, so that the peripheral control terminal executes the control instructions and builds a peripheral environment for the running of the test script; executing the test script, and sending test instructions to the vehicle-mounted navigation terminal, so that the vehicle-mounted navigation terminal executes the test instructions, and feeds back the execution information to the intelligent testing terminal, and sending collection instructions to the information collection terminal, so that the information collection terminal is used to execute the collection instructions for information collection, and feeds back the collection information to the intelligent testing terminal; receiving the execution information and the collection information, and uploading the execution information and the collection information to the automated testing server, so that the automated testing server generates a test report based on the execution information and the collection information.

[0013] Optionally, the method further includes: detecting whether the vehicle-mounted navigation terminal is connected, and if connected, controlling the vehicle-mounted navigation terminal to switch the working mode to the test mode.

[0014] Optionally, it also includes: connecting to the automated test server, and when detecting that the communication with the automated test server is normal, sending the test information to the automated test server for registration, and entering a waiting state after the test information registration is completed; wherein the test information includes at least: the test type and test object of the intelligent test terminal.

[0015] In the third aspect, the present invention provides an automated testing method for in-vehicle navigation software, which is applied to an automated testing server, and includes: obtaining test trigger events and test scripts; issuing test instructions and test scripts to an intelligent test terminal so that the intelligent test terminal executes the test instructions and test scripts, and obtains execution information fed back by the in-vehicle navigation terminal and collection information fed back by the information collection terminal; obtaining the execution information and collection information uploaded by the intelligent test terminal, and generating a test report based on the execution information and collection information.

[0016] The present invention brings the following beneficial effects:

[0017] The above-mentioned vehicle navigation software automatic testing system and method provided by the present invention include: an intelligent testing terminal, an automatic testing server, a vehicle navigation terminal, a peripheral control terminal and an information collection terminal; the automatic testing server sends the test instructions and the test script to the intelligent testing terminal; the intelligent testing terminal obtains the test instructions and the test script, and sends the control instructions to the peripheral control terminal according to the content of the test script, so that the peripheral control terminal executes the control instructions and builds a peripheral environment for the test script to run; the intelligent testing terminal executes the test script, and sends the test instructions to the vehicle navigation terminal and sends the collection instructions to the information collection terminal; the vehicle navigation terminal executes the test instructions and feeds back the execution information to the intelligent testing terminal; the information collection terminal executes the collection instructions to collect information, and feeds back the collection information to the intelligent testing terminal; the intelligent testing terminal receives the execution information and the collection information, and uploads the execution information and the collection information to the automatic testing server, so that the automatic testing server generates a test report according to the execution information and the collection information.

[0018] The above-mentioned vehicle navigation software automated testing system provided by the present invention can realize remote control and testing of vehicle navigation through intelligent testing terminals, automated testing servers and peripheral control terminals. The testing process does not require manual intervention, the testing speed is faster, the testing efficiency is higher, and the work intensity, testing time and manpower consumption of testers are greatly reduced. At the same time, the collected information is obtained through the information collection terminal, and the collected information is jointly analyzed with the execution information of the vehicle navigation terminal to obtain the test results of the vehicle navigation, thereby improving the accuracy and reliability of the test results of the vehicle navigation system.

[0019] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.

[0020] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the preferred embodiments are specifically mentioned below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0022] Figure 1 A schematic diagram of the structure of an automated testing system for vehicle-mounted navigation software provided by an embodiment of the present invention;

[0023] Figure 2 A schematic diagram of the composition architecture and communication relationship of a vehicle navigation automation test system provided by an embodiment of the present invention;

[0024] Figure 3 A schematic diagram of the structure of an automated testing server provided by an embodiment of the present invention;

[0025] Figure 4 A schematic diagram of the structure of an intelligent test terminal provided by an embodiment of the present invention;

[0026] Figure 5 A schematic diagram of the structure of a peripheral control terminal provided by an embodiment of the present invention;

[0027] Figure 6 A schematic diagram of the structure of an information collection terminal provided by an embodiment of the present invention;

[0028] Figure 7 A flowchart of an automated testing method for vehicle navigation software provided by an embodiment of the present invention;

[0029] Figure 8 A flow chart of automated testing of vehicle navigation software provided by an embodiment of the present invention;

[0030] Fig. 9 A flow chart of a vehicle navigation automation test command response process provided by an embodiment of the present invention;

[0031] Fig.10 A flowchart of another method for automated testing of vehicle-mounted navigation software provided by an embodiment of the present invention;

[0032] Fig.11 A flow chart of an automated vehicle navigation test process provided by an embodiment of the present invention;

[0033] Fig.12 A flow chart of an information collection method provided by an embodiment of the present invention;

[0034] Fig.13 A schematic structural diagram of a vehicle provided in an embodiment of the present invention.

[0035] icon:

[0036] 101-intelligent test terminal; 102-automatic test server; 103-peripheral control terminal; 104-vehicle navigation terminal; 105-information acquisition terminal; 201-test script; 301-first acquisition module; 302-second acquisition module; 303-first storage module; 304-first sending module; 305-second sending module; 306-third acquisition module; 307-second storage module; 308-test result analysis and report generation module; 401-information display module; 402-fourth acquisition module; 403 -Fifth acquisition module; 404-first command parsing and execution module; 405-script execution module; 406-third sending module; 407-fourth sending module; 408-fifth sending module; 409-sixth acquisition module; 410-sixth sending module; 411-seventh acquisition module; 501-eighth acquisition module; 502-command parsing module; 503-multi-function execution module; 601-ninth acquisition module; 602-second command parsing and execution module; 603-multi-function information acquisition module; 604-seventh sending module. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0038] With the application of intelligence, more and more intelligent applications are integrated into vehicle navigation, and vehicle navigation is closely related to vehicle driving safety. Therefore, the test of vehicle navigation system functions is becoming more and more important, but there are still some problems in the test of vehicle navigation system functions.

[0039] Based on this, an automatic testing system and method for vehicle navigation software provided by an embodiment of the present invention can improve the testing efficiency of the vehicle navigation system and reduce the human resources and time resource consumption of the vehicle navigation test.

[0040] To facilitate understanding of this embodiment, firstly, a vehicle navigation software automatic testing system disclosed in an embodiment of the present invention is introduced in detail. Figure 1 The structural diagram of an in-vehicle navigation software automated testing system shown in the figure illustrates that the system mainly includes the following parts: an intelligent testing terminal 101, an automated testing server 102, a peripheral control terminal 103, an in-vehicle navigation terminal 104 and an information collection terminal 105.

[0041] The automated testing server 102 is used to send testing instructions and testing scripts to the intelligent testing terminal 101 .

[0042] During the specific implementation, the automated test server 102 sends a test instruction to the intelligent test terminal 101, that is, the automated test server 102 sends the basic information of this test to the intelligent test terminal 101 through the network. The test information includes but is not limited to: test target information, test software package size, verification code, software acquisition method, upgrade method, version information, etc.

[0043] The automated test server 102 sends the test script to the intelligent test terminal 101, that is, the automated test server 102 sends the test script to the intelligent test terminal 101 through the network. The sending method can be implemented by file push, or the automated test server 102 provides a file download interface, and the intelligent test terminal 101 initiates the download.

[0044] The intelligent test terminal 101 is used to obtain test instructions and test scripts, and send control instructions to the peripheral control terminal 103 according to the content of the test script, so that the peripheral control terminal 103 executes the control instructions and builds a peripheral environment for the test script to run. The intelligent test terminal 101 is also used to execute the test script, and send test instructions to the vehicle navigation terminal 104 and send collection instructions to the information collection terminal 105.

[0045] In specific implementation, the intelligent test terminal 101 obtains the test instruction and the test script, and parses the test instruction. Specifically, the intelligent test terminal 101 receives the test instruction data, and parses the meaning of the test instruction data according to the data communication protocol to identify the indicative meaning of the test instruction.

[0046] Furthermore, the intelligent test terminal 101 runs the test script, identifies the script sending instructions, and sends control instructions to the peripheral control terminal 103, sends test instructions to the vehicle navigation terminal 104, sends collection instructions to the information collection terminal 105, etc. according to the content of the test script.

[0047] Specifically, the intelligent test terminal 101 runs the test script to execute the test process. Depending on the script writing method, it can be a python code script, a text script, or other forms of coding scripts. In the embodiment of the present invention, the test content is scripted and input into the automated test server 102 in the form of a script. The script content can be dynamically modified according to the test needs, and the test content can meet the needs of test diversification. At the same time, the diversification of test content also makes the test scope wider.

[0048] The intelligent test terminal 101 determines whether it is necessary to send instructions to the peripheral control terminal 103, the vehicle navigation terminal 104 and the information collection terminal 105, as well as the content and format of the instructions to be sent according to the script content.

[0049] The intelligent test terminal 101 sends control instructions to the peripheral control terminal 103. The peripheral control terminal 103 will build different test conditions (i.e., the peripheral environment for the test script to run) when testing different scripts according to the needs of the test environment, such as ACC status switch, CAN network signal status, etc., to ensure the smooth operation of the test script.

[0050] The vehicle navigation terminal 104 is used to execute the test instruction and feed back the execution information to the intelligent test terminal. Specifically, the vehicle navigation terminal 104 parses the test instruction, obtains the operation action of the vehicle navigation terminal 104, and executes the operation action to obtain the execution information; wherein the execution information includes: execution status and execution result; the execution status includes: start execution, execution in progress and execution end; the execution result includes: execution success and execution failure.

[0051] The intelligent test terminal 101 sends a test instruction to the vehicle navigation terminal 104, that is, converts the test script execution content into data recognizable by the vehicle navigation terminal 104, so that the vehicle navigation terminal 104 can perform related actions, such as opening a page, adjusting the screen brightness, etc. After receiving the test instruction sent by the intelligent test terminal 101, the vehicle navigation terminal 104 parses the content of the test instruction and performs related operations. The feedback execution information includes: execution status and execution result. The execution status includes: start execution, execution in progress, and execution end; the execution result includes: execution success and execution failure.

[0052] The information collection terminal 105 is used to execute the collection instruction to collect information and feed back the collected information to the intelligent test terminal.

[0053] During the specific implementation, the intelligent test terminal 101 sends a collection instruction to the information collection terminal 105, and the information collection terminal 105 collects information and feeds back the collected information. Specifically, the information collection terminal 105 collects relevant information after receiving the collection instruction. Depending on the test results, the information collection terminal 105 will collect different data. The collection information includes: collection status, collection content and collection results. The collection status includes: start collection, collection in progress, and collection completed. According to different test functions, the information collection content includes but is not limited to: images or videos, audio, Bluetooth connection information, WIFI connection information, current / voltage, USB connection information, mobile phone interconnection information, etc. The collection results include: collection success and collection failure.

[0054] The intelligent test terminal 101 is further used to receive the execution information and the collection information, and upload the execution information and the collection information to the automated test server 102, so that the automated test server 102 generates a test report according to the execution information and the collection information.

[0055] In specific implementation, the intelligent test terminal 101 uploads the execution information and the collection information to the automated test server 102 , and the automated test server 102 generates a test report according to the execution information and the collection information.

[0056] The above-mentioned vehicle navigation software automated testing system provided by the embodiment of the present invention can realize remote control and testing of vehicle navigation through intelligent testing terminals, automated testing servers and peripheral control terminals. The testing process does not require manual intervention, the testing speed is faster, and the testing efficiency is higher, which greatly reduces the work intensity, testing time and manpower consumption of testers. At the same time, the collected information is obtained through the information collection terminal, and the collected information is jointly analyzed with the execution information of the vehicle navigation terminal to obtain the test results of the vehicle navigation, thereby improving the accuracy and reliability of the test results of the vehicle navigation system.

[0057] In one implementation, the intelligent test terminal 101 is further configured to detect whether the vehicle-mounted navigation terminal 104 is connected, and if connected, control the vehicle-mounted navigation terminal 104 to switch the working mode to the test mode.

[0058] In a specific implementation, the intelligent test terminal 101 detects whether the vehicle navigation terminal 104 is connected to the intelligent test terminal 101, and switches the vehicle navigation terminal 104 to enter the test mode.

[0059] Specifically, the intelligent test terminal 101 detects whether the vehicle navigation terminal 104 is connected, and the vehicle navigation terminal 104 is connected to the vehicle computer through a USB harness, serial communication, WIFI, etc., to determine whether the vehicle computer can communicate. If it can communicate normally, it is determined that the vehicle navigation terminal 104 can be connected normally, otherwise it is determined that it cannot be connected normally.

[0060] Further, the vehicle navigation terminal 104 is switched into the test mode, and the intelligent test terminal 101 controls the vehicle navigation terminal 104 to switch from the working mode to the test mode through command lines, hard lines, etc. After the connection is successful, the intelligent test terminal 101 can receive the result of the working mode switching of the vehicle navigation terminal 104.

[0061] In one embodiment, the intelligent test terminal 101 is also used to connect to the automated test server 102, and when it detects that the communication of the automated test server 102 is normal, it sends test information to the automated test server 102 for registration, and enters a waiting state after the test information registration is completed; wherein the test information includes at least: the test type and test object of the intelligent test terminal.

[0062] In specific implementation, the intelligent test terminal 101 connects to the automated test server 102, registers test information, and enters a waiting state to wait for a test instruction.

[0063] Specifically, the intelligent test terminal 101 is connected to the automated test server 102 via a network, and checks whether the communication with the automated test server 102 is normal. If the communication is unavailable, a network connection error is prompted, and the test process is stopped.

[0064] If communication is available, the intelligent test terminal 101 sends the test information of the local machine, such as the test type and test object, to the automated test server 102 so that the automated test server 102 can know that the local machine is ready for testing and can then receive test instructions from the automated test server 102 .

[0065] Furthermore, after registering the test information, the intelligent test terminal 101 can perform the automated functional test only by receiving the test instruction from the automated test server 102. When waiting for the test instruction from the automated test server 102, no other operations are required.

[0066] In one implementation, the automated testing server 102 is further configured to obtain a test triggering event and detect whether there is a currently registered intelligent testing terminal 101 , and if so, to issue a test instruction and a test script to the currently registered intelligent testing terminal 101 according to the test triggering event.

[0067] In specific implementation, the automated testing server 102 sends test instructions and test scripts to the intelligent testing terminal 101, including: the automated testing server 102 obtains test trigger events, detects task information, sends test instructions to the intelligent testing terminal 101, sends test scripts to the intelligent testing terminal 101, and other processes.

[0068] Specifically, the automated testing server 102 obtains a test triggering event, and according to the triggering condition setting of the test task, the triggering event may be a key click on the human-computer interaction interface, a message notification of software packaging completion, an alarm event set at a fixed time, and the like.

[0069] The diversity of automated test trigger events can provide operational responses for more triggering methods. For example, after the software packaging server automatically packages at night or on holidays, the software packaging message is used to trigger automated testing. In the case of unattended operation, the automated testing system can complete the functional testing and report output of the in-vehicle navigation, effectively improving the efficiency of in-vehicle navigation testing and saving a lot of labor costs.

[0070] The detection task information is that the automated test server 102 retrieves whether there is an intelligent test terminal 101 that meets the test based on the currently registered and connected intelligent test terminal 101. If an intelligent test terminal 101 with consistent information is detected, a test instruction is sent to it. If the intelligent test terminal 101 registers the test task for automatic execution of software packaging, when a message of new software packaging completion is triggered, it is detected that an intelligent test terminal 101 of this type is waiting, and a test instruction and test script are sent to it.

[0071] After the test instructions and test scripts are executed and the intelligent test terminal 101 receives the execution information and the collection information, the intelligent test terminal 101 is also used to analyze whether there is a script execution exception based on the execution information, whether there is an information collection exception based on the collection information, and whether there is inconsistency between the script execution result and the information collection result based on the execution information and the collection information.

[0072] In specific implementation, the intelligent test terminal 101 uploads the test results to the automated test server 102 , including: the intelligent test terminal 101 performs result analysis, sends the test data to the automated test server 102 , and the automated test server 102 stores the test data in a database.

[0073] Specifically, the intelligent test terminal 101 processes the execution information uploaded by the vehicle navigation terminal 104, obtains the execution process and execution results of the test instructions, and analyzes whether there are any execution anomalies. The intelligent test terminal 101 processes the collection information uploaded by the information collection terminal 105, and analyzes whether there are any collection anomalies. In addition, the intelligent test terminal 101 can also jointly analyze the execution information and the collection information to determine whether there are any inconsistent results between the script execution results and the information collection results.

[0074] Furthermore, the intelligent test terminal 101 sends the execution information and collection information obtained from the vehicle navigation terminal 104 and the information collection terminal 105 to the automatic test server 102 via the network in the form of data.

[0075] After receiving the data uploaded by the intelligent test terminal 101 , the automated test server 102 stores the test results (including execution information, collection information, and analysis results) in a database for data storage and query.

[0076] Furthermore, the automated testing server 102 can generate a test report based on the test results, specifically, output the script execution results and analysis results in the form of text, data tables, etc., to generate a viewable report file. It can also be output in the form of web pages, charts, etc.

[0077] When the in-vehicle navigation software automated test system in the embodiment of the present invention is running, it is only necessary to set the test content and test trigger events required by the system in the initial stage, and the automated test process can be automatically triggered when the corresponding test trigger event occurs. The automated process in the embodiment of the present invention realizes the automation of the test process and the automation of test analysis. Compared with the traditional test scheme, it has the advantages of high automation, good reliability, high efficiency, etc., and greatly saves the manpower and time cost of in-vehicle navigation testing in practical applications.

[0078] For ease of understanding, the present invention also provides a vehicle navigation automation test system component architecture and communication relationship, see Figure 2 As shown, the system architecture includes: a test script 201 , an intelligent test terminal 101 , an automated test server 102 , a peripheral control terminal 103 , an in-vehicle navigation terminal 104 and an information collection terminal 105 .

[0079] The test script 201 mainly realizes the scripting of the test content, and stores the test content in the form of a script file so that the automated test server 102 can store it and the intelligent test terminal 101 can parse it. The scriptable test content includes but is not limited to: opening media functions such as music / pictures / videos, setting screen brightness, system audio settings, vehicle body interaction, map search and navigation, Bluetooth connection, WIFI connection, simulated voice control, reversing, opening applications, mobile phone interconnection, reading USB files, system time acquisition and setting, GPS data reading, radio playback, mobile network connection, system sleep, voltage / current data reading, system language setting, simulated screen click test, system fault tolerance test, etc.

[0080] The automated test server 102 implements operations such as test script storage, test trigger event acquisition, test command issuance, test script issuance, test result data acquisition, test data storage, and test report generation. At the same time, the automated test server 102 implements test system network construction and enables multiple intelligent test terminals 101 to be connected simultaneously.

[0081] The peripheral control terminal 103 mainly realizes the construction of the test peripheral environment, and can realize operations including but not limited to: power-on control of the vehicle navigation terminal 104, ACC status control, CAN network status control, manipulator simulation click control, high and low voltage control, etc.

[0082] The intelligent test terminal 101 is mainly used for test script analysis, test execution and test result collection. The intelligent test terminal 101 obtains the test command from the automated test server 102, then downloads the test script, and builds the peripheral environment for script operation through the peripheral control terminal 103 according to the script requirements, such as ACC status, voltage status, etc., and converts the test script content into execution actions and sends them to the vehicle navigation terminal 104, and sends the execution result information that needs to be collected to the information collection terminal 105.

[0083] The information collection terminal 105 is the core unit of the system, which mainly receives information collection instructions from the intelligent test terminal 101, parses and executes the output results of the vehicle navigation terminal 104, and feeds the collected information back to the intelligent test terminal 101. The information collection terminal 105 can collect the output of various vehicle navigation terminals 104, including but not limited to: image / video collection, sound collection, Bluetooth connection collection, WIFI connection collection, voltage and current collection, mobile phone interconnection collection, USB connection collection, etc.

[0084] The vehicle navigation terminal 104 is the physical carrier of the test operation, which mainly receives the test instructions (i.e., test commands) from the intelligent test terminal 101, parses and executes the corresponding operations, and feeds back the execution information to the intelligent test terminal 101, etc. The executable operations include but are not limited to: opening media functions such as music / pictures / videos, setting screen brightness, system audio settings, vehicle body interaction, map search and navigation, Bluetooth connection, WIFI connection, voice control, reversing, opening applications, mobile phone interconnection, reading USB files, system time acquisition and setting, GPS data reading, radio playback, mobile network connection, system sleep, voltage / current data reading, system language setting, simulated screen click test, system fault tolerance test, etc.

[0085] For ease of understanding, the present invention also provides a schematic diagram of the structure of an automated testing server. Figure 3 As shown, it mainly includes: a first acquisition module 301, a second acquisition module 302, a first storage module 303, a first sending module 304, a second sending module 305, a third acquisition module 306, a second storage module 307, and a test result analysis and report generation module 308.

[0086] The first acquisition module 301 is used to acquire test trigger event information;

[0087] The second acquisition module 302 is used to acquire a test script;

[0088] A first storage module 303, used to store test scripts;

[0089] A first sending module 304, used to send a test instruction to the intelligent test terminal;

[0090] The second sending module 305 is used to send or download the test script to the intelligent test terminal;

[0091] The third acquisition module 306 is used to acquire the test data of the intelligent test terminal;

[0092] The second storage module 307 is used to store the test data uploaded by the intelligent test terminal;

[0093] The test result analysis and report generation module 308 is used to analyze and summarize the execution results of the vehicle navigation and the collection results of the information collection terminal, and generate a test report.

[0094] A schematic diagram of the structure of an intelligent test terminal provided by an embodiment of the present invention is shown in FIG. Figure 4 As shown, it includes: an information display module 401, a fourth acquisition module 402, a fifth acquisition module 403, a first command parsing and execution module 404, a script execution module 405, a third sending module 406, a fourth sending module 407, a fifth sending module 408, a sixth acquisition module 409, a sixth sending module 410, and a seventh acquisition module 411.

[0095] The information display module 401 is used to display the test information of the intelligent test terminal, including the current test status, connection device information, test output information, etc.

[0096] The fourth acquisition module 402 is used to acquire the test instruction sent by the automated test server;

[0097] The fifth acquisition module 403 is used to acquire a test script;

[0098] The first command parsing and executing module 404 is used to parse the meaning of the command of the automated test server and execute a response action;

[0099] The script execution module 405 is used to import and run the test script and execute the script function;

[0100] The third sending module 406 is used to send test data to the automated testing server;

[0101] The fourth sending module 407 is used to send a control instruction to a peripheral control device;

[0102] The fifth sending module 408 is used to send a test instruction to the vehicle navigation terminal;

[0103] The sixth acquisition module 409 is used to acquire the test result from the vehicle-mounted navigation terminal;

[0104] The sixth sending module 410 is used to send a collection instruction to the information collection terminal;

[0105] The seventh acquisition module 411 is used to acquire information collection data from the information collection terminal;

[0106] The present invention also provides a schematic diagram of the structure of a peripheral control terminal, see Figure 5 As shown, it includes: an eighth acquisition module 501, a command parsing module 502, and a multi-function execution module 503.

[0107] An eighth acquisition module 501 is used to receive a control instruction sent by the intelligent test terminal;

[0108] The command parsing module 502 is used to parse the control instructions sent by the intelligent test terminal and parse them into corresponding execution actions;

[0109] The multifunctional execution module 503 is used to construct and implement test conditions, including but not limited to: power state control, ACC state control, CAN network state control, voltage regulation control, manipulator control, MODBUS communication control, USPPORT switching control, etc.

[0110] A schematic diagram of the structure of an information collection terminal provided by an embodiment of the present invention, see Figure 6 As shown, it includes: a ninth acquisition module 601, a second command parsing and execution module 602, a multi-functional information acquisition module 603, and a seventh sending module 604.

[0111] The ninth acquisition module 601 is used to acquire the collection instruction sent by the intelligent test terminal;

[0112] The second command parsing and executing module 602 is used to parse the received collection instruction and trigger the multi-functional information acquisition module 603 to collect the corresponding information item;

[0113] The multifunctional information acquisition module 603 is used to collect the actual output content of the vehicle navigation. The content that can be collected includes but is not limited to: image / video information, audio information, Bluetooth connection information, WIFI connection information, current / voltage information, USB connection information, and mobile phone interconnection information;

[0114] The seventh sending module 604 is used to send the data collected by the information collection terminal to the intelligent test terminal so that the intelligent test terminal can summarize and analyze the test results.

[0115] The above-mentioned vehicle navigation software automation test system provided by the embodiment of the present invention can realize remote control and testing of vehicle navigation; the test trigger conditions are diversified, and can be combined with multiple systems to realize multi-system linkage automation, and the test process is automated, and no human intervention is required in the test process; the test speed is faster and the test efficiency is better, which greatly reduces the work intensity, test time and manpower of testers; the test operation content can be freely customized, the test content is flexible and diverse, and the test scope is wide; the output results and the execution results of the vehicle navigation are obtained through the information collection terminal for joint analysis, and the obtained test results are more reliable; the information collection content is diversified, which can meet the diverse vehicle navigation test needs; the report generation is automated, and the test results are displayed in various forms, which greatly reduces the time and labor cost of test result analysis, improves the output speed of the test report, and shortens the product release cycle.

[0116] For the vehicle navigation software automated testing system provided in the above embodiment, the present invention also provides a vehicle navigation software automated testing method, see Figure 7 As shown, the method mainly includes the following steps S701 to S710:

[0117] Step S701: the intelligent test terminal detects whether the vehicle navigation terminal is connected and enters a test state;

[0118] Step S702: the intelligent test terminal connects to the automated test server and enters a waiting state;

[0119] Step S703: the automated testing server sends testing instructions and testing scripts to the intelligent testing terminal;

[0120] Step S704: the intelligent test terminal parses the test instruction;

[0121] Step S705: the intelligent test terminal runs the test script and sends instructions to the peripheral control terminal, the vehicle navigation terminal, and the information collection terminal according to the script;

[0122] Step S706: the peripheral control terminal parses and tests the instruction and sets up the test conditions;

[0123] Step S707: the vehicle navigation terminal tests the command and feeds back the execution result to the intelligent test terminal;

[0124] Step S708: the information collection terminal collects information and feeds back the collection results to the intelligent test terminal;

[0125] Step S709: the intelligent test terminal uploads the test results to the automated test server;

[0126] Step S710: The automated testing server generates a test report based on the test results.

[0127] The embodiment of the present invention also provides a method for automated testing of vehicle-mounted navigation software, which is applied to an intelligent testing terminal, see Figure 8 The flowchart of an automated test of an in-vehicle navigation software shown in the figure shows that the method mainly includes the following steps S801 to S803:

[0128] Step S801: obtaining the test instructions and test scripts issued by the automated test server, and sending control instructions to the peripheral control terminal according to the content of the test script, so that the peripheral control terminal executes the control instructions and builds a peripheral environment for running the test script;

[0129] Step S802: executing the test script, and sending a test instruction to the vehicle navigation terminal, so that the vehicle navigation terminal executes the test instruction, and feeds back the execution information to the intelligent test terminal, and sending a collection instruction to the information collection terminal, so that the information collection terminal is used to execute the collection instruction to collect information, and feeds back the collected information to the intelligent test terminal;

[0130] Step S803: receiving the execution information and the collection information, and uploading the execution information and the collection information to the automated testing server, so that the automated testing server generates a test report according to the execution information and the collection information.

[0131] The above-mentioned vehicle navigation software automated testing method provided by the embodiment of the present invention can realize the remote control and testing of the vehicle navigation. The testing process does not require manual intervention, the testing speed is faster, and the testing efficiency is higher, which greatly reduces the work intensity, testing time and manpower consumption of the testers; at the same time, by jointly analyzing the collected information of the information collection terminal and the execution information of the vehicle navigation terminal, the test results of the vehicle navigation are obtained, thereby improving the accuracy and reliability of the test results of the vehicle navigation system.

[0132] In one embodiment, before obtaining the test instructions and test scripts issued by the automated testing server, the above method also includes: detecting whether the vehicle-mounted navigation terminal is connected, and if connected, controlling the vehicle-mounted navigation terminal to switch the working mode to the test mode; connecting to the automated testing server, and when detecting that the communication with the automated testing server is normal, sending the test information to the automated testing server for registration, and entering a waiting state after the test information registration is completed; wherein the test information includes at least: the test type and test object of the smart test terminal.

[0133] For ease of understanding, the embodiment of the present invention also provides a vehicle navigation automation test command response process, which is applied to an intelligent test terminal, such as Fig. 9 As shown, it mainly includes:

[0134] Step S901: receiving automated test and script information;

[0135] Step S902: download and obtain the test script;

[0136] Step S903: parsing and executing the test script;

[0137] Step 904: Sending instructions to the peripheral control terminal / vehicle navigation terminal / information collection terminal respectively;

[0138] Step S905: Obtain execution result information;

[0139] Step S906: The execution result is uploaded to the automated testing server.

[0140] For the vehicle navigation software automated testing system provided in the above embodiment, the present invention also provides another vehicle navigation software automated testing method, which is applied to the automated testing server, see Fig.10 As shown, it mainly includes the following steps S1001 to S1003:

[0141] Step S1001: Obtain a test trigger event and a test script;

[0142] Step S1002: sending a test instruction and a test script to the intelligent test terminal, so that the intelligent test terminal executes the test instruction and the test script, and obtains the execution information fed back by the vehicle navigation terminal and the collection information fed back by the information collection terminal;

[0143] Step S1003: Acquire the execution information and collection information uploaded by the intelligent test terminal, and generate a test report according to the execution information and collection information.

[0144] The above-mentioned vehicle navigation software automated testing method provided by the embodiment of the present invention can realize remote control and testing of the vehicle navigation by issuing test instructions and test scripts to the intelligent test terminal. The test process does not require manual intervention, the test speed is faster, and the test efficiency is higher, which greatly reduces the work intensity, test time and manpower consumption of the testers; at the same time, by jointly analyzing the collected information of the information collection terminal and the execution information of the vehicle navigation terminal, the test results of the vehicle navigation are obtained, thereby improving the accuracy and reliability of the test results of the vehicle navigation system.

[0145] The embodiment of the present invention also provides a method for implementing the vehicle navigation automated test process, which is applied to the automated test server, see Fig.11 As shown, it mainly includes:

[0146] Step S1101: obtaining a test trigger condition;

[0147] Step S1102: Sending execution commands and script information to the vehicle navigation terminal;

[0148] Step S1103: Obtaining the execution result of the vehicle navigation;

[0149] Step S1104: test data and test log are saved;

[0150] Step S1105: Analyze test data and generate a test report.

[0151] For the vehicle navigation software automatic testing system provided in the above embodiment, the present invention also provides an information collection method applied to the information collection terminal, see Fig.12 As shown, it mainly includes:

[0152] Step S1201: receiving information and parsing acquisition instructions;

[0153] Step S1202: Collecting the execution result of the vehicle navigation;

[0154] Step S1203: Upload the collection results to the automated testing server.

[0155] It should be noted that the implementation principle and technical effects of the method provided in the embodiment of the present invention are the same as those of the aforementioned system embodiment. For the sake of brief description, for matters not mentioned in the method embodiment, reference may be made to the corresponding contents in the aforementioned system embodiment.

[0156] An embodiment of the present invention further provides a vehicle. Specifically, the vehicle includes a processor and a storage device. The storage device stores a computer program, and when the computer program is executed by the processor, it executes the method described in any one of the above implementation modes.

[0157] Fig.13 A structural schematic diagram of a vehicle provided in an embodiment of the present invention, the vehicle 100 includes: a processor 130, a memory 131, a bus 132 and a communication interface 133, wherein the processor 130, the communication interface 133 and the memory 131 are connected via the bus 132; the processor 130 is used to execute an executable module stored in the memory 131, such as a computer program.

[0158] The memory 131 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 133 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.

[0159] The bus 132 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.13 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0160] Among them, the memory 131 is used to store programs, and the processor 130 executes the program after receiving the test instruction. The method executed by the device for flow process definition disclosed in any of the embodiments of the present invention can be applied to the processor 130 or implemented by the processor 130.

[0161] The processor 130 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 130. The above processor 130 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 131, and the processor 130 reads the information in the memory 131 and completes the steps of the above method in combination with its hardware.

[0162] The computer program product of the readable storage medium provided in the embodiment of the present invention includes a computer-readable storage medium storing program code, and the instructions included in the program code can be used to execute the methods described in the previous method embodiments. The specific implementation can be referred to the previous method embodiments, which will not be repeated here.

[0163] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0164] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. An automated testing system for vehicle navigation software, characterized in that: include: Intelligent test terminals, automated test servers, vehicle navigation terminals, peripheral control terminals and information collection terminals; The automated testing server is used to send the test instructions and test scripts to the intelligent testing terminal; The intelligent test terminal is used to obtain the test instruction and the test script, and send a control instruction to the peripheral control terminal according to the content of the test script, so that the peripheral control terminal executes the control instruction and builds a peripheral environment for the test script to run; The intelligent test terminal is also used to execute the test script, and send a test instruction to the vehicle navigation terminal and send a collection instruction to the information collection terminal; The vehicle-mounted navigation terminal is used to execute the test instruction and feed back the execution information to the intelligent test terminal; The information collection terminal is used to execute the collection instruction to collect information and feed back the collected information to the intelligent test terminal; The intelligent test terminal is further used to receive the execution information and the collection information, and upload the execution information and the collection information to the automated test server, so that the automated test server generates a test report according to the execution information and the collection information.

2. The system according to claim 1, characterized in that The intelligent test terminal is also used to detect whether the vehicle-mounted navigation terminal is connected, and if connected, control the vehicle-mounted navigation terminal to switch the working mode to the test mode.

3. The system according to claim 1, characterized in that The intelligent test terminal is also used to connect to the automated test server, and when it detects that the automated test server communicates normally, it sends test information to the automated test server for registration, and enters a waiting state after the test information registration is completed; wherein the test information includes at least: the test type and test object of the intelligent test terminal.

4. The system according to claim 1, characterized in that The automated test server is further configured to obtain a test trigger event and detect whether there is a currently registered intelligent test terminal. If there is, the automated test server sends a test instruction and a test script to the currently registered intelligent test terminal according to the test trigger event.

5. The system according to claim 1, characterized in that The vehicle navigation terminal is specifically used to parse the test instruction, obtain the operation action of the vehicle navigation terminal, and execute the operation action to obtain execution information; wherein, the execution information includes: execution status and execution result; the execution status includes: start execution, execution in progress and execution end; the execution result includes: execution success and execution failure.

6. The system according to claim 1, characterized in that The intelligent test terminal is also used to analyze whether there is a script execution exception according to the execution information, analyze whether there is an information collection exception according to the collection information, and analyze whether there is inconsistency between the script execution result and the information collection result according to the execution information and the collection information.

7. An automated testing method for vehicle navigation software, characterized in that: Applied to intelligent test terminals, including: Obtaining the test instructions and test scripts issued by the automated test server, and sending control instructions to the peripheral control terminal according to the content of the test script, so that the peripheral control terminal executes the control instructions and builds a peripheral environment for the running of the test script; Execute the test script, and send a test instruction to the vehicle navigation terminal so that the vehicle navigation terminal executes the test instruction and feeds back the execution information to the intelligent test terminal, and send a collection instruction to the information collection terminal so that the information collection terminal is used to execute the collection instruction to collect information and feed back the collected information to the intelligent test terminal; The execution information and the collection information are received, and the execution information and the collection information are uploaded to the automated testing server, so that the automated testing server generates a test report according to the execution information and the collection information.

8. The method according to claim 7, characterized in that Also includes: It is detected whether the vehicle-mounted navigation terminal is connected, and if connected, the vehicle-mounted navigation terminal is controlled to switch the working mode to the test mode.

9. The method according to claim 7, characterized in that: Also includes: Connect to the automated test server, and when detecting that the automated test server communicates normally, send test information to the automated test server for registration, and enter a waiting state after the test information registration is completed; wherein the test information at least includes: the test type and test object of the intelligent test terminal.

10. An automated testing method for vehicle navigation software, characterized in that: Applicable to automated test servers, including: Get test trigger events and test scripts; Sending a test instruction and the test script to the intelligent test terminal, so that the intelligent test terminal executes the test instruction and the test script, and obtains execution information fed back by the vehicle navigation terminal and collection information fed back by the information collection terminal; The execution information and the collection information uploaded by the intelligent test terminal are obtained, and a test report is generated according to the execution information and the collection information.