Vehicle testing method, device, equipment and medium
By obtaining the location information of the smart vehicle, determining and executing corresponding test cases, the problems of inconsistent quality and low efficiency of road tests of smart vehicles are solved, automated testing is realized, and testing efficiency and quality are improved.
Patent Information
- Application Number
- CN202510192185.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-20
- Publication Date
- 2025-05-23
AI Technical Summary
The quality of intelligent vehicle road tests is inconsistent, low efficiency, and affects the normal interactive display of the human-computer interface.
By obtaining the vehicle's location information, determining the corresponding test cases based on the location information, and controlling the vehicle to perform test operation procedures based on the test cases to achieve automated testing.
Automation of vehicle testing has been achieved, reducing manual repetitive labor, improving testing efficiency and quality, and avoiding inconsistencies caused by manual operations.
Smart Images

Figure CN120029243A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a vehicle testing method, a vehicle testing device, an electronic device and a readable storage medium. Background Art
[0002] After mass production in the factory, intelligent vehicles undergo dynamic and static road tests, which are usually completed step by step by test drivers. Existing production road tests are basically completed by manual repetitive operations. Test drivers with different proficiency levels cannot achieve completely consistent quality and efficiency per unit time. In addition, all test results cannot be fully recorded during the test process, and it is impossible to evaluate the completion and quality of the test on a vehicle-by-vehicle basis. There is no data accumulation and data traceability. Traditional automated testing requires the development of interactive pages for vehicle operation control, but the pop-up page will block the normal interactive display of the HMI (Human-Machine Interface). Summary of the invention
[0003] The technical problem to be solved by the embodiments of the present invention is to provide a vehicle testing method, device, electronic device, and readable storage medium to solve the problems of inconsistent quality and low efficiency of intelligent vehicle road tests, and affecting the normal interactive display of the human-machine interface.
[0004] In order to solve the above problems, the present invention provides a vehicle testing method, which is applied to a vehicle, and the method comprises:
[0005] Obtaining location information of the vehicle;
[0006] Determine a corresponding test case according to the location information;
[0007] According to the test case, the vehicle is controlled to execute a corresponding test operation process.
[0008] Optionally, the method further comprises:
[0009] obtaining vehicle data of the vehicle;
[0010] The determining a corresponding test case according to the location information includes:
[0011] Determining a target area where the vehicle is located according to the location information and the vehicle data;
[0012] According to the target area, a corresponding test case is determined.
[0013] Optionally, controlling the vehicle to execute a corresponding test operation process according to the test case includes:
[0014] According to the test case, controlling the vehicle to perform the test operation in the test operation process;
[0015] The test results indicated by the test case are collected.
[0016] Optionally, controlling the vehicle to perform a test operation in the test operation flow according to the test case includes:
[0017] According to the test case, obtaining a target signal of a target button on the vehicle;
[0018] According to the target signal, the vehicle is controlled to perform a corresponding test operation.
[0019] Optionally, controlling the vehicle to perform a test operation in the test operation flow according to the test case includes:
[0020] According to the test case, a voice prompt corresponding to the test operation is issued;
[0021] Receive test operation audio;
[0022] According to the test operation audio, the vehicle is controlled to perform a corresponding test operation.
[0023] Optionally, collecting the test result indicated by the test case includes:
[0024] Controlling the vehicle to collect image data and / or audio data;
[0025] A test result indicated by the test case is determined based on the image data and / or audio data.
[0026] Optionally, the audio data includes test result audio, and the controlling the vehicle to collect the audio data includes:
[0027] Voice prompts for collecting test results according to the test case;
[0028] Receive test result audio.
[0029] Optionally, determining the test result indicated by the test case according to the image data and / or audio data includes:
[0030] Inputting the image data and / or audio data into a corresponding test result recognition model to perform test result recognition;
[0031] Receive the test result output by the test result recognition model.
[0032] The present invention also provides a vehicle testing device, which is applied to a vehicle, and the device comprises:
[0033] A location acquisition module, used to acquire the location information of the vehicle;
[0034] A test case determination module, used to determine a corresponding test case according to the location information;
[0035] The test case execution module is used to control the vehicle to execute a corresponding test operation process according to the test case.
[0036] Optionally, the device further comprises:
[0037] A vehicle data acquisition module, used to acquire vehicle data of the vehicle;
[0038] The use case determination module includes:
[0039] An area determination submodule, used to determine a target area where the vehicle is located based on the location information and the vehicle data;
[0040] The use case determination submodule is used to determine the corresponding test case according to the target area.
[0041] Optionally, the use case execution module includes:
[0042] An operation execution submodule, used for controlling the vehicle to execute the test operation in the test operation flow according to the test case;
[0043] The result collection submodule is used to collect the test results indicated by the test case.
[0044] Optionally, the operation execution submodule includes:
[0045] A signal acquisition unit, used for acquiring a target signal of a target button on the vehicle according to the test case;
[0046] An operation execution unit is used to control the vehicle to execute a corresponding test operation according to the target signal.
[0047] Optionally, the operation execution unit includes:
[0048] A first prompt issuing subunit is used to issue a voice prompt corresponding to the test operation according to the test case;
[0049] A first audio receiving subunit, used for receiving test operation audio;
[0050] The operation execution subunit is used to control the vehicle to execute a corresponding test operation according to the test operation audio.
[0051] Optionally, the result collection submodule includes:
[0052] A data acquisition unit, used to control the vehicle to acquire image data and / or audio data;
[0053] A result determination unit is used to determine the test result indicated by the test case according to the image data and / or audio data.
[0054] Optionally, the audio data includes test result audio, and the data acquisition unit includes:
[0055] A second prompt issuing subunit is used to issue a voice prompt for collecting test results according to the test case;
[0056] The second audio receiving subunit is used to receive the test result audio.
[0057] Optionally, the result determination unit includes:
[0058] A data input subunit, used for inputting the image data and / or audio data into a corresponding test result recognition model to perform test result recognition;
[0059] The result receiving subunit is used to receive the test result output by the test result identification model.
[0060] The embodiment of the present invention further discloses an electronic device, characterized in that it includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0061] Memory, used to store computer programs;
[0062] The processor is used to implement the above method when executing the program stored in the memory.
[0063] An embodiment of the present invention further discloses a readable storage medium. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the method as described above.
[0064] According to an embodiment of the present invention, by acquiring the position information of the vehicle, a corresponding test case is determined based on the position information, and based on the test case, the vehicle is controlled to execute a corresponding test operation process, so that the corresponding test case is automatically triggered as the position of the vehicle changes, thereby completing the automated testing of the vehicle, reducing repetitive manual labor, improving the efficiency of vehicle testing, avoiding the inconsistency caused by manual operation, and then improving the quality of testing work. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 A flow chart showing the steps of a vehicle testing method provided by an embodiment of the present invention is shown;
[0066] Figure 2 The schematic diagram shows the principle of the vehicle's automated road test in the factory;
[0067] Figure 3 A schematic diagram of pulling test cases based on vehicle position is shown;
[0068] Figure 4 A flow chart showing the steps of a vehicle testing method provided by an embodiment of the present invention is shown;
[0069] Figure 5 The schematic diagram of the principle of voice interaction-assisted automated testing is shown;
[0070] Figure 6 A structural block diagram of a vehicle testing device embodiment provided by an embodiment of the present invention is shown;
[0071] Figure 7 A structural block diagram of an electronic device for vehicle testing according to an exemplary embodiment is shown. DETAILED DESCRIPTION
[0072] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0073] The vehicle testing method in the embodiment of the present invention can be executed by an electronic device such as an intelligent vehicle machine. For example, the vehicle testing method can be applied to an intelligent vehicle machine, or any other applicable hardware and software, and the embodiment of the present invention does not limit this.
[0074] Reference Figure 1 , shows a flow chart of the steps of a vehicle testing method provided by an embodiment of the present invention, which is applied to a vehicle and may specifically include the following steps:
[0075] Step 101, obtaining the location information of the vehicle.
[0076] In the embodiment of the present invention, the position information refers to the information of the position of the vehicle, for example, the position information is obtained in real time through a positioning system. When the vehicle is road tested, the position information of the vehicle is obtained.
[0077] For example, the intelligent automated testing application of the present invention is installed using the application store in the vehicle's onboard computer, and the application is opened for a road test. The intelligent automated testing application requests positioning data from the vehicle's onboard computer, thereby obtaining location information.
[0078] Step 202: Determine a corresponding test case according to the location information.
[0079] In the embodiment of the present invention, a test case refers to a description of a test task for a specific vehicle, which reflects the test plan, method, technology and strategy. Its content includes test objectives, test environment, input data, test steps, expected results, test scripts, etc., and finally forms a document. For example, a test case for an automated road test of a vehicle.
[0080] In the embodiment of the present invention, during the road test of a vehicle, different items, i.e., different test cases, need to be tested at different locations. A correspondence between the location and the test case is preset. Then, during the driving process of the vehicle, the corresponding test case is determined according to the location information of the vehicle.
[0081] For example, Figure 2 The schematic diagram of the principle of the vehicle automated road test in the factory is shown. After the vehicle enters the entrance of the road test area, it passes through various test sections. In order to test the various functions of the vehicle on different sections, various test cases need to be formulated. Figure 3 As shown in the schematic diagram of pulling test cases according to the vehicle position, the vehicle obtains position information in real time during driving, and determines the corresponding test cases (A, B, C, ..., G, etc.) according to the position information.
[0082] Step 203: Control the vehicle to execute a corresponding test operation process according to the test case.
[0083] In the embodiment of the present invention, a series of specific operation steps formulated according to the test case are used to control the vehicle to perform the corresponding test. For example, the test case specifies in detail how to set the initial state of the vehicle, how to trigger a specific function, how to observe and record the test results, etc. Controlling the vehicle to execute the test operation process corresponding to the test case specifically includes controlling the vehicle to execute the test operations in the test operation process and collecting the test results indicated by the test case.
[0084] Among them, the test operation includes various operations on the vehicle, such as controlling the light switch, controlling the wiper operation, controlling the vehicle acceleration and deceleration, controlling the vehicle window opening and closing, etc., or any other applicable test operation, which is not limited by the embodiment of the present invention.
[0085] Among them, the test results include data automatically collected by the vehicle as test results, and may also include test results submitted by the tester in various forms such as keystrokes, voice, etc., or test results collected in any other applicable manner, and the embodiment of the present invention does not limit this.
[0086] In an optional embodiment of the present invention, before the test case is executed, the precautions that the tester needs to cooperate with can be broadcasted by voice, so as to better complete the test of the vehicle.
[0087] According to an embodiment of the present invention, by acquiring the position information of the vehicle, a corresponding test case is determined based on the position information, and based on the test case, the vehicle is controlled to execute a corresponding test operation process, so that the corresponding test case is automatically triggered as the position of the vehicle changes, thereby completing the automated testing of the vehicle, reducing repetitive manual labor, improving the efficiency of vehicle testing, avoiding the inconsistency caused by manual operation, and then improving the quality of testing work.
[0088] Reference Figure 4 , shows a flow chart of the steps of a vehicle testing method provided by an embodiment of the present invention, which may specifically include the following steps:
[0089] In an optional embodiment of the present invention, the method may further include: obtaining vehicle data of the vehicle. Accordingly, in a specific implementation manner of determining a corresponding test case according to the location information, the method may include: determining a target area where the vehicle is located according to the location information and the vehicle data; and determining a corresponding test case according to the target area.
[0090] Step 201, obtaining the location information and vehicle data of the vehicle.
[0091] In an embodiment of the present invention, in addition to position information, the vehicle can also collect various vehicle data, such as vehicle speed signals, steering signals, IMU (Inertial Measurement Unit) signals, chassis signals related to road excitation, suspension height signals and other test-related vehicle data, or any other applicable vehicle data, which is not limited by the embodiment of the present invention.
[0092] Step 202: Determine the target area where the vehicle is located based on the location information and the vehicle data.
[0093] In the embodiment of the present invention, the road test site is divided into a plurality of areas, and the area where the vehicle is located is recorded as the target area.
[0094] In the embodiment of the present invention, the position of the vehicle can be determined more accurately based on the position information. With the assistance of various vehicle data, the target area where the vehicle is located can be determined more accurately.
[0095] Step 203: Determine a corresponding test case according to the target area.
[0096] In the embodiment of the present invention, the correspondence between each area and the test case is preset, and the corresponding test case is determined according to the target area, so as to trigger the correct test case at a more precise time and improve the accuracy of the automated test.
[0097] In an optional embodiment of the present invention, a specific implementation method of controlling the vehicle to execute a corresponding test operation process according to the test case may include: controlling the vehicle to execute the test operation in the test operation process according to the test case; and collecting the test results indicated by the test case.
[0098] Step 204: Control the vehicle to execute the test operation in the test operation flow according to the test case.
[0099] In the embodiment of the present invention, according to the test case, the vehicle is controlled to perform the test operation in the test operation flow. Figure 2 As shown, after the intelligent automated testing application collects location information and vehicle data, the use case scheduling model determines the corresponding test case based on this information, and then sends a scheduling instruction to the use case execution interface to call the local test case of the APP (i.e., the intelligent automated testing application), thereby controlling the vehicle to execute a series of test operations in the test case.
[0100] In an optional embodiment of the present invention, a specific implementation method of controlling the vehicle to perform the test operation in the test operation process according to the test case may include: obtaining a target signal of a target button on the vehicle according to the test case; and controlling the vehicle to perform a corresponding test operation according to the target signal.
[0101] During the execution of test cases, some test operations can be fully automated, for example, the intelligent automated test application can directly perform various test operations on the vehicle, and some test operations require manual assistance. In order to avoid the pop-up of the interactive page used for test operation control blocking the normal interactive display of the HMI, the buttons on the vehicle (such as the buttons on the steering wheel) can be used to achieve interaction.
[0102] According to the test case, the target button on the vehicle can be monitored when necessary to obtain the target signal of the target button, for example, the target signal of the volume adjustment button on the steering wheel. The target signal is a predetermined signal, for example, a signal of a long press, a signal of pressing multiple times in a row, or any other applicable signal, which is not limited in the embodiment of the present invention.
[0103] According to the target signal and test case, the corresponding test operation is determined, and then the vehicle is controlled to perform the test operation. The tester can operate the vehicle through the target button on the vehicle, which avoids the pop-up of the interactive page used for test operation control to block the normal interactive display of the HMI, and reduces the requirements for the tester, avoiding the tester's distraction and missing tests due to human factors, thereby improving the test quality, accuracy and efficiency.
[0104] For example, Figure 2As shown, testers can interact with intelligent automated testing applications through customized steering wheel buttons.
[0105] In an optional embodiment of the present invention, a specific implementation method of controlling the vehicle to perform the test operation in the test operation process based on the test case may include: issuing a voice prompt corresponding to the test operation according to the test case; receiving test operation audio; and controlling the vehicle to perform the corresponding test operation according to the test operation audio.
[0106] In addition to using the steering wheel to interact with the tester, you can also use voice to interact with the tester. According to the test case, the vehicle is controlled to emit voice prompts for the test operation, that is, voice prompts corresponding to the test operation.
[0107] The vehicle then receives the test operation audio. The test operation audio refers to the audio used to indicate the test operation. The vehicle controls the vehicle to perform the corresponding test operation according to the test operation audio. The tester's operation of the vehicle is realized through voice interaction, which avoids the pop-up of the interactive page used for test operation control to block the normal interactive display of the HMI, and reduces the requirements for the tester, avoiding the tester's distraction and missing the test due to human factors, thereby improving the test quality, accuracy and efficiency.
[0108] For example, Figure 2 As shown in Figure 1, testers can interact with intelligent automated testing applications through voice. Figure 5 As shown in the schematic diagram of the principle of voice interaction-assisted automated testing, the tester wakes up the voice assistant of the vehicle computer, speaks a voice, the voice assistant collects the test operation audio, performs cloud-side recognition through the voice cloud, obtains the recognition result, extracts the entity from the recognition result (that is, the result corresponding to the test operation in the test case), and then determines the corresponding test operation through intent recognition, and executes the test operation to perform corresponding business processing.
[0109] Step 205: Collect the test results indicated by the test case.
[0110] In the embodiment of the present invention, the required test results are collected according to the test case. Figure 2 As shown, the intelligent automated testing application can also collect vehicle data or audio data, and then determine the test results based on the vehicle data, audio data, etc.
[0111] In an optional embodiment of the present invention, a specific implementation method of collecting the test results indicated by the test case may include: controlling the vehicle to collect image data and / or audio data; and determining the test results indicated by the test case based on the image data and / or audio data.
[0112] The vehicle has the ability to collect image data and audio data. The image data may include image data of the exterior and interior of the vehicle. The audio data may include audio data of the exterior and interior of the vehicle.
[0113] In one implementation, a test result indicated by a test case is determined based on the image data.
[0114] The collected image data is input into the corresponding recognition algorithm, and the recognition algorithm determines the corresponding test results. For example, the image data of the head-up display, the image of the vehicle screen, the image of the signal light inside the vehicle, etc. are collected, and then input into the algorithm to obtain the test results.
[0115] In another implementation, a test result indicated by the test case is determined based on the audio data.
[0116] The collected audio data is input into the corresponding recognition algorithm, and the recognition algorithm determines the corresponding test result. For example, the audio data such as abnormal sounds during vehicle driving and the voice of the tester are collected and then input into the algorithm to obtain the test result.
[0117] For example, Figure 2 As shown, the audio data is collected as an attachment and stored in the test results of the current test case, and then the data is uploaded to the cloud. The abnormal sound detection model in the cloud is trained by a large amount of audio data. The audio data is input into the abnormal sound detection model, and the corresponding test results can be output, such as whether the test item passes or fails.
[0118] In yet another implementation, a test result indicated by the test case is determined based on the image data and the audio data.
[0119] Both of the above methods are applicable. Depending on the test case, some test results can be determined by image data, some test results can be determined by audio data, and some test results need to be determined in combination with image data and audio data.
[0120] Collecting test results through image data and audio data can reduce the difficulty of testers in submitting test results and improve test efficiency.
[0121] In an optional embodiment of the present invention, the audio data includes test result audio, and a specific implementation method of controlling the vehicle to collect audio data may include: issuing a voice prompt for collecting test results according to the test case; and receiving the test result audio.
[0122] One type of audio data is the test result audio, which may be emitted by the tester, for example, the voice of the tester answering questions in response to questions of the intelligent automated testing application, i.e., the test result audio.
[0123] According to the test case, the vehicle is controlled to emit a voice for prompting the collection of the test result, that is, a voice prompt for collecting the test result.
[0124] The vehicle then receives the test result audio, and then determines the corresponding test result based on the test result audio.
[0125] For example, Figure 5 As shown, the tester makes a voice, the voice assistant collects the test result audio, performs cloud recognition through the voice cloud, obtains the recognition result, extracts the entity from the recognition result (that is, the result indicated in the test case), and then determines the corresponding test result through intent recognition to complete the test result filling.
[0126] Through voice interaction between the vehicle and personnel, the vehicle can receive the test result audio and determine the test result accordingly, reducing the difficulty of testers submitting test results and improving test efficiency.
[0127] In an optional embodiment of the present invention, a specific implementation method of determining the test result indicated by the test case based on the image data and / or audio data may include: inputting the image data and / or audio data into a corresponding test result recognition model to perform test result recognition; and receiving the test result output by the test result recognition model.
[0128] The test results may be identified by machine learning, and a test result identification model that can identify the test results may be obtained based on the correlation between the image data and / or audio data and the test results.
[0129] In order to train the test result recognition model, accurate sample data and corresponding label data are required, that is, the acquired image data and / or audio data samples, and the corresponding labeled sample test results. Specifically, image data and / or audio data samples and sample test results can be obtained through multiple experiments, or image data and / or audio data samples and sample test results can be selected from historical data.
[0130] The image data and / or audio data are input into a corresponding test result recognition model, and the test result recognition model generates a corresponding test result according to the image data and / or audio data. The test result output by the test result recognition model is received.
[0131] The test result recognition model can quickly process a large amount of image data and audio data and generate test results in a short time. Compared with traditional manual analysis methods, it greatly improves test efficiency and saves time and labor costs. The test result recognition model can accurately identify the features and patterns in the data by learning and analyzing a large amount of data, thereby generating more accurate test results. It reduces errors caused by human factors and improves the accuracy and reliability of the test. The test result recognition model can be adjusted and optimized according to different test requirements and data types, and has strong scalability. New data types or test scenarios can be easily added without large-scale modifications to the entire test process.
[0132] According to an embodiment of the present invention, by acquiring the location information and vehicle data of the vehicle, determining the target area where the vehicle is located based on the location information and the vehicle data, determining the corresponding test case based on the target area, and controlling the vehicle to execute the test operation in the test operation process based on the test case, and collecting the test result indicated by the test case, the corresponding test case is automatically triggered as the position of the vehicle changes and the vehicle data changes, and the test operation is automatically executed and the test result is collected, thereby completing the automated testing of the vehicle, reducing manual repetitive labor, improving the efficiency of vehicle testing, avoiding the inconsistency caused by manual operation, and then improving the quality of testing work.
[0133] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0134] Reference Figure 6 , shows a structural block diagram of a vehicle testing device embodiment provided by another embodiment of the present invention, which is applied to a vehicle and may specifically include the following modules:
[0135] A location acquisition module 301 is used to acquire the location information of the vehicle;
[0136] A test case determination module 302, configured to determine a corresponding test case according to the location information;
[0137] The test case execution module 303 is used to control the vehicle to execute a corresponding test operation process according to the test case.
[0138] Optionally, the device further comprises:
[0139] A vehicle data acquisition module, used to acquire vehicle data of the vehicle;
[0140] The use case determination module includes:
[0141] An area determination submodule, used to determine a target area where the vehicle is located based on the location information and the vehicle data;
[0142] The use case determination submodule is used to determine the corresponding test case according to the target area.
[0143] Optionally, the use case execution module includes:
[0144] An operation execution submodule, used for controlling the vehicle to execute the test operation in the test operation flow according to the test case;
[0145] The result collection submodule is used to collect the test results indicated by the test case.
[0146] Optionally, the operation execution submodule includes:
[0147] A signal acquisition unit, used for acquiring a target signal of a target button on the vehicle according to the test case;
[0148] An operation execution unit is used to control the vehicle to execute a corresponding test operation according to the target signal.
[0149] Optionally, the operation execution unit includes:
[0150] A first prompt issuing subunit is used to issue a voice prompt corresponding to the test operation according to the test case;
[0151] A first audio receiving subunit, used for receiving test operation audio;
[0152] The operation execution subunit is used to control the vehicle to execute a corresponding test operation according to the test operation audio.
[0153] Optionally, the result collection submodule includes:
[0154] A data acquisition unit, used to control the vehicle to acquire image data and / or audio data;
[0155] A result determination unit is used to determine the test result indicated by the test case according to the image data and / or audio data.
[0156] Optionally, the audio data includes test result audio, and the data acquisition unit includes:
[0157] A second prompt issuing subunit is used to issue a voice prompt for collecting test results according to the test case;
[0158] The second audio receiving subunit is used to receive the test result audio.
[0159] Optionally, the result determination unit includes:
[0160] A data input subunit, used for inputting the image data and / or audio data into a corresponding test result recognition model to perform test result recognition;
[0161] The result receiving subunit is used to receive the test result output by the test result identification model.
[0162] According to an embodiment of the present invention, by acquiring the position information of the vehicle, a corresponding test case is determined based on the position information, and based on the test case, the vehicle is controlled to execute a corresponding test operation process, so that the corresponding test case is automatically triggered as the position of the vehicle changes, thereby completing the automated testing of the vehicle, reducing repetitive manual labor, improving the efficiency of vehicle testing, avoiding the inconsistency caused by manual operation, and then improving the quality of testing work.
[0163] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0164] Figure 7 1 is a block diagram of an electronic device 700 for vehicle testing according to an exemplary embodiment. For example, the electronic device 700 may be an onboard computer, an onboard controller, a battery management system (BMS), a full self-driving system (FSD), etc.
[0165] Reference Figure 7 , the electronic device 700 may include one or more of the following components: a processing component 702 , a memory 704 , a power component 706 , a multimedia component 708 , an audio component 710 , an input / output (I / O) interface 712 , a sensor component 714 , and a communication component 716 .
[0166] The processing component 702 generally controls the overall operation of the electronic device 700, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 702 may include one or more modules to facilitate the interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate the interaction between the multimedia component 708 and the processing component 702.
[0167] The memory 704 is configured to store various types of data to support operations on the device 700. Examples of such data include instructions for any application or method operating on the electronic device 700, contact data, phone book data, messages, pictures, videos, etc. The memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0168] The power supply component 706 provides power to the various components of the electronic device 700. The power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 700.
[0169] The multimedia component 708 includes a screen that provides an output interface between the electronic device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front camera and / or a rear camera. When the electronic device 700 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0170] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC), and when the electronic device 700 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 704 or sent via the communication component 716. In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.
[0171] I / O interface 712 provides an interface between processing component 702 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0172] The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the electronic device 700. For example, the sensor assembly 714 can detect the open / closed state of the device 700, the relative positioning of components, such as the display and keypad of the electronic device 700, and the sensor assembly 714 can also detect the position change of the electronic device 700 or a component of the electronic device 700, the presence or absence of contact between the user and the electronic device 700, the orientation or acceleration / deceleration of the electronic device 700, and the temperature change of the electronic device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0173] The communication component 716 is configured to facilitate wired or wireless communication between the electronic device 700 and other devices. The electronic device 700 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0174] In an exemplary embodiment, the electronic device 700 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0175] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions, and the instructions can be executed by a processor 720 of an electronic device 700 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0176] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a terminal, enables the terminal to execute a vehicle testing method, applied to a vehicle, the method comprising:
[0177] Obtaining location information of the vehicle;
[0178] Determine a corresponding test case according to the location information;
[0179] According to the test case, the vehicle is controlled to execute a corresponding test operation process.
[0180] Optionally, the method further comprises:
[0181] obtaining vehicle data of the vehicle;
[0182] The determining a corresponding test case according to the location information includes:
[0183] Determining a target area where the vehicle is located according to the location information and the vehicle data;
[0184] According to the target area, a corresponding test case is determined.
[0185] Optionally, controlling the vehicle to execute a corresponding test operation process according to the test case includes:
[0186] According to the test case, controlling the vehicle to perform the test operation in the test operation process;
[0187] The test results indicated by the test case are collected.
[0188] Optionally, controlling the vehicle to perform a test operation in the test operation flow according to the test case includes:
[0189] According to the test case, obtaining a target signal of a target button on the vehicle;
[0190] According to the target signal, the vehicle is controlled to perform a corresponding test operation.
[0191] Optionally, controlling the vehicle to perform a test operation in the test operation flow according to the test case includes:
[0192] According to the test case, a voice prompt corresponding to the test operation is issued;
[0193] Receive test operation audio;
[0194] According to the test operation audio, the vehicle is controlled to perform a corresponding test operation.
[0195] Optionally, collecting the test result indicated by the test case includes:
[0196] Controlling the vehicle to collect image data and / or audio data;
[0197] A test result indicated by the test case is determined based on the image data and / or audio data.
[0198] Optionally, the audio data includes test result audio, and the controlling the vehicle to collect the audio data includes:
[0199] According to the test case, issuing a voice prompt for collecting test results;
[0200] Receive test result audio.
[0201] Optionally, determining the test result indicated by the test case according to the image data and / or audio data includes:
[0202] Inputting the image data and / or audio data into a corresponding test result recognition model to perform test result recognition;
[0203] Receive the test result output by the test result recognition model.
[0204] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0205] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0206] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0207] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0208] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0209] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0210] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0211] The vehicle testing method, vehicle testing device, electronic device and readable storage medium provided by the present invention are introduced in detail above. The principle and implementation mode of the present invention are explained by using specific examples herein. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation mode and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A vehicle testing method, characterized in that: Applied to a vehicle, the method comprises: Obtaining location information of the vehicle; Determine a corresponding test case according to the location information; According to the test case, the vehicle is controlled to execute a corresponding test operation process.
2. The method according to claim 1, characterized in that The method further comprises: obtaining vehicle data of the vehicle; The determining a corresponding test case according to the location information includes: Determining a target area where the vehicle is located according to the location information and the vehicle data; According to the target area, a corresponding test case is determined.
3. The method according to claim 1 or 2, characterized in that: According to the test case, controlling the vehicle to execute a corresponding test operation process includes: According to the test case, controlling the vehicle to perform the test operation in the test operation process; The test results indicated by the test case are collected.
4. The method according to claim 3, characterized in that: The step of controlling the vehicle to execute the test operation in the test operation flow according to the test case includes: According to the test case, obtaining a target signal of a target button on the vehicle; According to the target signal, the vehicle is controlled to perform a corresponding test operation.
5. The method according to claim 3, characterized in that: The step of controlling the vehicle to execute the test operation in the test operation flow according to the test case includes: According to the test case, a voice prompt corresponding to the test operation is issued; Receive test operation audio; According to the test operation audio, the vehicle is controlled to perform a corresponding test operation.
6. The method according to any one of claims 3 to 5, characterized in that: The collecting of the test results indicated by the test case includes: Controlling the vehicle to collect image data and / or audio data; A test result indicated by the test case is determined based on the image data and / or audio data.
7. The method according to claim 6, characterized in that The audio data includes test result audio, and the controlling the vehicle to collect audio data includes: According to the test case, issuing a voice prompt for collecting test results; Receive test result audio.
8. The method according to claim 6, characterized in that Determining the test result indicated by the test case according to the image data and / or the audio data includes: Inputting the image data and / or audio data into a corresponding test result recognition model to perform test result recognition; Receive the test result output by the test result recognition model.
9. A vehicle testing device, characterized in that: Applied to a vehicle, the device comprises: A location acquisition module, used to acquire the location information of the vehicle; A test case determination module, used to determine a corresponding test case according to the location information; The test case execution module is used to control the vehicle to execute a corresponding test operation process according to the test case.
10. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing any of the methods described in claims 1-8 when executing a program stored in a memory.
11. A readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method as claimed in any one of method claims 1 to 8.