Vehicle literal statement testing method and device, electronic equipment and storage medium

Through the automated vehicle classical Chinese test method, the difficulty of detecting classical Chinese errors in user interfaces in other language formats is solved, cost savings and efficiency improvements are achieved, and the test is completed in China.

CN119441048APending Publication Date: 2025-02-14ZHEJIANG GEELY HLDG GRP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411553051.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-01
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

During the development of the vehicle machine, it is difficult to detect classical Chinese errors in user interfaces in other language formats, resulting in the need to transport vehicles overseas for testing, which increases costs and time.

Method used

Provide a vehicle classical Chinese test method, which realizes automated classical Chinese test by setting the target language, sending test instructions, taking screenshots of the interface, extracting classical Chinese strings and comparing them with standard strings.

Benefits of technology

It realizes automatic testing of vehicle classical Chinese in different languages, saves testing costs, improves testing efficiency, and can complete testing in domestic laboratories.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119441048A_ABST
    Figure CN119441048A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle literal statement testing method and device, electronic equipment and a storage medium, and the method comprises the steps: sending a language replacement instruction to a vehicle, so as to enable a text language displayed by the vehicle to be replaced with a first target language; sending a test instruction to a display device of the vehicle to enable the display device to display a text interface matched with the test instruction; controlling the display equipment to perform screen capture operation to obtain an interface screenshot when the display equipment displays the text interface; performing character string extraction on the interface screenshot to obtain a literal character string in the text interface; and comparing the literal character string with a standard literal character string, and detecting whether characters displayed in the character interface are correct or not according to a comparison result, the standard literal character string being a correct character string displayed by the display device under the test instruction. According to the invention, automatic testing of the vehicle literature in different languages can be realized, the vehicle literature testing cost is saved, and the testing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a vehicle textual testing method, device, electronic equipment and storage medium. Background Art

[0002] In the process of car computer development, the user interface (UI) in the car computer is usually developed based on one language (hereinafter referred to as the source language), and the classical Chinese in the user interface is mainly in the source language. When it is necessary to develop a user interface in other language formats, the classical Chinese in the source language format in the user interface can be translated into classical Chinese in other language formats. There are large differences between different languages, so errors are very likely to occur during the classical Chinese translation process. During the car computer testing process, the classical Chinese in other language formats needs to be tested so that errors in the classical Chinese in other language formats can be corrected in time to prevent erroneous classical Chinese from appearing in the user interface.

[0003] In actual applications, inspectors are usually unfamiliar with languages ​​other than the source language. When testing whether there are errors in the classical Chinese in the user interface, it is difficult to accurately determine whether there are errors in the classical Chinese in other language formats. Therefore, the display accuracy of these languages ​​cannot be carried out domestically. The vehicles need to be transported overseas and local testers need to be hired to perform the test. The test intervention is late and the test cost is greatly increased. Summary of the invention

[0004] In view of this, the present application provides a vehicle classical Chinese testing method, device, electronic device and storage medium, which can realize automatic testing of vehicle classical Chinese in different languages, save vehicle classical Chinese testing costs and improve testing efficiency.

[0005] According to a first aspect of the present application, a vehicle classical Chinese testing method is provided, which is applied to a terminal device, and includes: according to preset language information, setting the language of text displayed on the vehicle to a first target language; sending a test instruction to a display device of the vehicle so that the display device displays a text interface matching the test instruction; controlling the display device to perform a screenshot operation to obtain an interface screenshot when the display device displays the text interface; performing string extraction on the interface screenshot to obtain a classical Chinese string in the text interface; comparing the classical Chinese string with a standard classical Chinese string, and detecting whether the text displayed in the text interface is correct based on the comparison result, wherein the standard classical Chinese string is the correct string displayed by the display device under the test instruction.

[0006] Compared with the related art, the embodiment of the present application has at least the following advantages: by setting the text language displayed by the vehicle to the first target language, so as to facilitate the classical Chinese test of the first target language; by sending a test instruction to the display device of the vehicle, the display device displays a text interface matching the test instruction after receiving the test instruction, and then controlling the display device to perform a screenshot operation to obtain an interface screenshot of the text interface, thereby realizing automatic acquisition of the interface screenshot without manual operation. By extracting the string from the interface screenshot, the classical Chinese string in the text interface can be obtained, and then the classical Chinese string is compared with the standard classical Chinese string, so as to detect whether there is an error in the text actually displayed in the text interface. The entire test process does not require the participation of testers, saving labor costs and ensuring the accuracy of the test, and the vehicle test can be completed in a domestic laboratory, improving the test efficiency.

[0007] In some embodiments, the display device includes a vehicle computer, and the vehicle computer is connected to the terminal device via a first communication bus; controlling the display device to perform a screenshot operation to obtain an interface screenshot when the display device displays the text interface includes: sending a first control instruction to the vehicle computer, wherein the first control instruction matches the operating system of the vehicle computer, and after receiving the first control instruction, the vehicle computer takes a screenshot of the text interface currently being displayed, and saves the interface screenshot obtained after the screenshot to a first local file of the vehicle computer; and calling the interface screenshot from the first local file.

[0008] In some embodiments, the display device includes an instrument, which is connected to the vehicle's computer via a second communication bus, and the vehicle's computer is connected to the terminal device via a first communication bus; controlling the display device to perform a screenshot operation to obtain an interface screenshot when the display device displays the text interface includes: sending a second control instruction to the computer, wherein the second control instruction matches the operating system of the instrument, the vehicle computer forwards the second control instruction to the instrument, and after receiving the second control instruction, the instrument takes a screenshot of the text interface currently being displayed, and saves the interface screenshot obtained after the screenshot to a second local file of the instrument; calling the interface screenshot to a first local file of the vehicle computer, and calling the interface screenshot from the first local file.

[0009] In some embodiments, the display device includes a vehicle computer and an instrument, the vehicle computer is connected to the terminal device via a first communication bus, and the instrument is connected to the vehicle computer via a second communication bus; the controlling the display device to perform a screenshot operation to obtain an interface screenshot when the display device displays the text interface includes: sending a first control instruction and a second control instruction to the vehicle computer, wherein the second control instruction matches the operating system of the instrument, and the second control instruction matches the operating system of the instrument; after receiving the first control instruction, the vehicle computer takes a screenshot of the first text interface currently being displayed, and saves the first interface screenshot obtained after the screenshot to a first local file of the vehicle computer; the vehicle computer forwards the second control instruction to the instrument, and after receiving the second control instruction, the instrument takes a screenshot of the second text interface currently being displayed, and saves the second interface screenshot obtained after the screenshot to a second local file of the instrument; calling the second interface screenshot to the first local file, and calling the first interface screenshot and the second interface screenshot from the first local file.

[0010] In some embodiments, the test instructions include multiple ones, each of which matches a different text interface; sending a test instruction to the display device of the vehicle so that the display device displays a text interface matching the test instruction includes: sending a first test instruction among the multiple test instructions to the display device so that the display device displays a text interface matching the first test instruction; after detecting whether the text displayed in the text interface is correct based on the comparison results, it also includes: sending a second test instruction among the multiple test instructions to the display device, repeating the above steps of controlling the display device to perform a screenshot operation and performing a string comparison until all test instructions are sent to the display device.

[0011] In some embodiments, after all the test instructions are sent to the display device, the method further includes: sending a new language change instruction to the vehicle to change the text language displayed on the vehicle to a second target language; repeating the steps of sending multiple test instructions to the display device, controlling the display device to take a screenshot, and performing a character string comparison to complete the classical Chinese test of the second target language, and repeating the steps of sending a new language change instruction and testing the reset language based on multiple test instructions until the classical Chinese test of all languages ​​is completed.

[0012] In some embodiments, before performing string extraction on the interface screenshot, it also includes: determining the location area where the classical Chinese string is located from the text interface according to preset classical Chinese location information; the string extraction on the interface screenshot to obtain the classical Chinese string in the text interface includes: performing string extraction on the location area to obtain the classical Chinese string.

[0013] According to a second aspect of the present application, a classical Chinese testing device for a vehicle is provided, comprising: a language setting module, for setting the language of text displayed on the vehicle to a first target language according to preset language information; an instruction sending module, for sending a test instruction to a display device of the vehicle, so that the display device displays a text interface matching the test instruction; a screenshot module, for controlling the display device to perform a screenshot operation, and obtaining an interface screenshot when the display device displays the text interface; a string extraction module, for performing string extraction on the interface screenshot, and obtaining a classical Chinese string in the text interface; a testing module, for comparing the classical Chinese string with a standard classical Chinese string, and detecting whether the text displayed in the text interface is correct according to the comparison result, wherein the standard classical Chinese string is the correct string displayed by the display device under the test instruction.

[0014] According to a third aspect of the present application, an electronic device is provided, wherein the memory is used to store instructions, and the processor is used to call the instructions in the memory so that the electronic device executes the above-mentioned vehicle literary language testing method.

[0015] According to a fourth aspect of the present application, a storage medium is provided, wherein the storage medium stores computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned vehicle textual language testing method.

[0016] It can be understood that the device of the second aspect provided above, the electronic device provided in the third aspect and the storage medium of the fourth aspect all correspond to the literary language testing method of the vehicle of the first aspect mentioned above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A schematic flow chart of a vehicle language testing method provided in an embodiment of the present application.

[0018] Figure 2 A schematic flow chart of another vehicle language testing method provided in an embodiment of the present application.

[0019] Figure 3 A flowchart of another vehicle language testing method provided in an embodiment of the present application.

[0020] Figure 4 A flowchart of a vehicle language testing method is also provided in an embodiment of the present application.

[0021] Figure 5 A schematic diagram of the implementation environment of the classical Chinese testing system provided in the embodiment of the present application.

[0022] Figure 6 A flowchart of a vehicle textual language testing method is also provided in an embodiment of the present application.

[0023] Figure 7 A schematic flow chart of a vehicle language testing method provided in an embodiment of the present application.

[0024] Figure 8 A schematic diagram of the functional modules of a vehicle language testing device provided in an embodiment of the present application.

[0025] Fig. 9 A structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0026] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the present application is described in detail below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that the implementation methods of the present application and the features in the implementation methods can be combined with each other without conflict.

[0027] In the following description, many specific details are set forth to facilitate a full understanding of the present application. The described implementations are only part of the implementations of the present application, rather than all the implementations.

[0028] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

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

[0030] In this application, "at least one" means one or more, and "more" means two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims and drawings of this application are used to distinguish similar objects, rather than to describe a specific order or sequence.

[0031] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0032] To facilitate understanding, some illustrations of concepts related to the embodiments of the present application are given by way of example for reference.

[0033] adb: The full name of adb is Android Debug Bridge, which serves as a debugging bridge.

[0034] OCR: The full name of OCR is Optical Character Recognition. OCR recognition algorithm is character recognition algorithm, which is an effective image processing algorithm specifically for character recognition and detection.

[0035] Telnet: Telnet protocol is a member of the TCP / IP protocol family and is the standard protocol and main method for Internet remote login services. It provides users with the ability to complete remote host work on their local computers. Use the telnet program on the terminal user's computer to connect to the server. The terminal user can enter commands in the Telnet program, and these commands will be run on the server, just like entering them directly on the server's console. FTP: File Transfer Protocol is a widely used standard protocol for transferring files over the Internet. As a basic tool in network communication, FTP allows users to interact with the server through client software to upload, download and perform other file operations.

[0036] FlexRay: FlexRay bus is a high-speed, deterministic, fault-tolerant bus technology for automobiles. It combines event triggering and time triggering, has high network utilization and system flexibility, and can be used as the backbone network for the new generation of internal automotive networks.

[0037] CAN: Controller Area Network bus is a serial communication protocol bus for real-time applications. It can use twisted pair to transmit signals and is one of the most widely used field buses in the world. The CAN protocol is used for communication between various components in the car to replace expensive and bulky distribution harnesses.

[0038] CANoe: A simulation and analysis software mainly used for the development of automotive buses. It supports the entire system development process from demand analysis to system implementation, including modeling, simulation, testing and analysis.

[0039] Please refer to Figure 1 , Figure 1 This is a flowchart of the steps of an embodiment of the vehicle test method of the present application. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted. The control method can be applied to terminal devices, but is not limited to this, and the embodiments of the present application are not limited to this.

[0040] In some embodiments, the terminal device may be a device including both receiving and transmitting hardware, that is, a device having receiving and transmitting hardware capable of performing two-way communication on a two-way communication link. Such a device may include: a cellular or other communication device having a single-line display or a multi-line display or a cellular or other communication device without a multi-line display. The terminal device may be a desktop terminal or a mobile terminal, and the terminal device may also be a mobile phone, a tablet computer, a laptop computer, etc., but is not limited thereto.

[0041] The specific process of this embodiment is as follows Figure 1 As shown, the following steps are included: Step 101: Send a language change instruction to a vehicle to change the text language displayed in the vehicle to a first target language.

[0042] In some embodiments, the first target language can be automatically determined by the terminal device. For example, the terminal device can read and parse the test case, which can be an Excel table, and the Excel table stores the language information to be tested. The terminal device generates a language change instruction based on the parsed language information, and the vehicle changes the text language to the first target language after receiving the language change instruction.

[0043] Step 102: Send a test instruction to a display device of the vehicle so that the display device displays a text interface matching the test instruction.

[0044] In some embodiments, the test instruction is an instruction for simulating a specific scenario in which the vehicle is in a specific scenario, and the display device will display a text interface that matches the specific scenario. For example, if the test instruction simulates a scenario in which the vehicle battery is low and needs to be charged, after the terminal device sends the test instruction to the vehicle, the display device will display a text interface including the words "Battery is low, please charge in time".

[0045] It is understandable that this embodiment does not specifically limit the type of test instructions and the display content of the text interface matching the test instructions, and can be set according to the actual configuration of the test vehicle.

[0046] Step 103: Control the display device to perform a screen capture operation to obtain a screenshot of the interface when the display device displays a text interface.

[0047] In some embodiments, the terminal device sends a screenshot command to the display device of the vehicle, and the display device performs a screenshot operation after receiving the screenshot command.

[0048] It is understandable that the specific types of display devices and how to control different types of display devices to perform screenshot operations to obtain interface screenshots are described in detail in subsequent embodiments. In order to avoid repetition, they will not be repeated here.

[0049] Step 104: extract the string from the interface screenshot to obtain the classical Chinese string in the text interface.

[0050] In some embodiments, OCR recognition is performed on the interface screenshot to obtain a classical Chinese character string.

[0051] It should be noted that this embodiment does not specifically limit the method for extracting character strings from the interface screenshot, and other methods can be selected to extract character strings from the interface screenshot according to actual needs.

[0052] In some embodiments, before extracting the string from the interface screenshot, it also includes: determining the location area where the classical Chinese string is located from the text interface according to the preset classical Chinese location information; extracting the string from the interface screenshot to obtain the classical Chinese string in the text interface includes: extracting the string from the location area to obtain the classical Chinese string. In this way, the amount of computation of the terminal device can be reduced, and the efficiency and accuracy of the classical Chinese testing method can be further improved.

[0053] In some embodiments, the classical Chinese position information matches the test instruction. Specifically, as can be seen from the foregoing description, the test instruction is an instruction used to simulate the vehicle being in a specific scene. When the vehicle is in a specific scene and the vehicle functions normally, the display device will display an accurate text interface that matches the specific scene. The position information of the text in the accurate text interface is the preset classical Chinese position information of this embodiment. In this way, the terminal device can directly extract the required classical Chinese string based on the location area, avoiding the influence of other content in the interface screenshot on the string extraction process, and because the content in the location area is far less than the content of the interface screenshot, the efficiency and accuracy of the classical Chinese testing method are improved.

[0054] Step 105 : compare the classical Chinese character string with the standard classical Chinese character string, and detect whether the text displayed in the text interface is correct based on the comparison result, wherein the standard classical Chinese character string is the correct character string displayed by the display device under the test instruction.

[0055] For example, when the vehicle is operating normally, if the battery level of the vehicle is low and needs to be charged, the display device will display a text interface including the words "Battery level is low, please charge in time", and "Battery level is low, please charge in time" is the correct string. A test instruction is sent to the vehicle through the terminal device. The test instruction simulates a scenario where the battery level of the vehicle is low and needs to be charged. After the terminal device sends the test instruction to the vehicle, the display device will display a text interface. If a string is extracted from a screenshot of the text interface, the resulting classical Chinese string is assumed to be "Battery level is low, please charge in time", and the comparison result is that the text display is correct. If the resulting classical Chinese string is assumed to be "Battery level is low, please charge in time", the comparison result is that the text display is incorrect.

[0056] Compared with the related art, the embodiment of the present application has at least the following advantages: by setting the text language displayed by the vehicle to the first target language, so as to facilitate the classical Chinese test of the first target language; by sending a test instruction to the display device of the vehicle, the display device displays a text interface matching the test instruction after receiving the test instruction, and then controlling the display device to perform a screenshot operation to obtain an interface screenshot of the text interface, thereby realizing automatic acquisition of the interface screenshot without manual operation. By extracting the string from the interface screenshot, the classical Chinese string in the text interface can be obtained, and then the classical Chinese string is compared with the standard classical Chinese string, so as to detect whether there is an error in the text actually displayed in the text interface. The entire test process does not require the participation of testers, saving labor costs and ensuring the accuracy of the test, and the vehicle test can be completed in a domestic laboratory, improving the test efficiency.

[0057] Please refer to Figure 2 , Figure 2This is a flowchart of the steps of an embodiment of the vehicle's Chinese test in the present application. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted. The vehicle's Chinese test can be applied to the aforementioned terminal device, but is not limited thereto, and the embodiment of the present application does not limit this.

[0058] This embodiment is a specific description of the aforementioned embodiment, and further describes: when the display device includes a vehicle computer, a method of controlling the vehicle computer to take screenshots and obtaining a screenshot of the interface of the vehicle computer.

[0059] The specific process of this embodiment is as follows Figure 2 As shown, the following steps are included: Step 201: Send a language change instruction to a vehicle to change the text language displayed by the vehicle to a first target language.

[0060] Step 202: Send a test instruction to the vehicle computer so that the vehicle computer displays a text interface matching the test instruction.

[0061] Step 203: Send a first control instruction to the vehicle computer, wherein the first control instruction matches the operating system of the vehicle computer. After receiving the first control instruction, the vehicle computer takes a screenshot of the text interface currently being displayed, and saves the screenshot of the interface obtained after the screenshot to a first local file of the vehicle computer.

[0062] Specifically, the vehicle computer and the terminal device are connected via a first communication bus. In some embodiments, the first communication bus connection is a USB connection line, and both the vehicle computer and the terminal device have USB interfaces, and the communication connection between the vehicle computer and the terminal device can be achieved through the USB connection line.

[0063] In some embodiments, the operating system of the vehicle computer is an Android system, the first control instruction is an adb command, and after the terminal device sends the adb command to the operating system of the vehicle computer, the operating system of the vehicle computer performs a screenshot operation.

[0064] In some embodiments, the first local file is a pre-set local file on the vehicle side, and this embodiment does not specifically limit the attributes of the first local file.

[0065] Step 204: call the interface screenshot from the first local file.

[0066] Step 205: extract the string from the interface screenshot to obtain the classical Chinese string in the text interface.

[0067] Step 206: compare the classical Chinese character string with the standard classical Chinese character string, and detect whether the text displayed in the text interface is correct based on the comparison result, wherein the standard classical Chinese character string is the correct character string displayed by the display device under the test instruction.

[0068] Step 201 , step 202 , step 205 , and step 206 of this embodiment are similar to step 101 , step 102 , step 104 , and step 105 of the aforementioned embodiment, and will not be described again here to avoid repetition.

[0069] Compared with the related art, the embodiment of the present application has at least the following advantages: by setting the text language displayed by the vehicle to the first target language, so as to facilitate the classical Chinese test of the first target language; by sending a test instruction to the display device of the vehicle, the display device displays a text interface matching the test instruction after receiving the test instruction, and then controlling the display device to perform a screenshot operation to obtain an interface screenshot of the text interface, thereby realizing automatic acquisition of the interface screenshot without manual operation. By extracting the string from the interface screenshot, the classical Chinese string in the text interface can be obtained, and then the classical Chinese string is compared with the standard classical Chinese string, so as to detect whether there is an error in the text actually displayed in the text interface. The entire test process does not require the participation of testers, saving labor costs and ensuring the accuracy of the test, and the vehicle test can be completed in a domestic laboratory, improving the test efficiency.

[0070] Please refer to Figure 3 , Figure 3 This is a flowchart of the steps of an embodiment of the vehicle's Chinese test in the present application. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted. The vehicle's Chinese test can be applied to the aforementioned terminal device, but is not limited thereto, and the embodiment of the present application does not limit this.

[0071] This embodiment is a specific description of the above embodiment, and further describes: when the display device includes an instrument, a method of controlling the instrument to take a screenshot and obtaining an interface screenshot of the instrument.

[0072] The specific process of this embodiment is as follows Figure 3 As shown, the following steps are included: Step 301: Send a language change instruction to a vehicle to change the text language displayed by the vehicle to a first target language.

[0073] Step 302: Send a test instruction to the vehicle computer, and the vehicle computer forwards the test instruction to the instrument, so that the instrument displays a text interface matching the test instruction.

[0074] Specifically, the instrument is connected to the vehicle computer via the second communication bus, and the vehicle computer is connected to the terminal device via the first communication bus.

[0075] In some embodiments, the first communication bus connection is a USB connection cable, and the second communication bus is a Telnet bus or an FTP bus.

[0076] Step 303: Send a second control instruction to the vehicle computer, wherein the second control instruction matches the operating system of the instrument. The vehicle computer forwards the second control instruction to the instrument. After receiving the second control instruction, the instrument takes a screenshot of the text interface currently being displayed, and saves the screenshot of the interface obtained after the screenshot to a second local file of the instrument.

[0077] In some embodiments, the instrument's operating system is a QNX system, the second control instruction is a QNX system command, and after the terminal device sends the QNX system command to the vehicle computer, the vehicle computer sends the QNX system command to the instrument's operating system, and the instrument's operating system executes a screenshot operation.

[0078] In some embodiments, the second local file is a pre-set local file of the instrument end, and this embodiment does not specifically limit the attributes of the second local file.

[0079] Step 304: call the interface screenshot to the first local file of the vehicle computer, and call the interface screenshot from the first local file.

[0080] Step 305: extract the string from the interface screenshot to obtain the classical Chinese string in the text interface.

[0081] Step 306: compare the classical Chinese character string with the standard classical Chinese character string, and detect whether the text displayed in the text interface is correct based on the comparison result, wherein the standard classical Chinese character string is the correct character string displayed by the display device under the test instruction.

[0082] Step 301 , step 302 , step 305 , and step 306 of this embodiment are similar to step 101 , step 102 , step 104 , and step 105 of the aforementioned embodiment, and will not be described again here to avoid repetition.

[0083] Compared with the related art, the embodiment of the present application has at least the following advantages: by setting the text language displayed by the vehicle to the first target language, so as to facilitate the classical Chinese test of the first target language; by sending a test instruction to the display device of the vehicle, the display device displays a text interface matching the test instruction after receiving the test instruction, and then controlling the display device to perform a screenshot operation to obtain an interface screenshot of the text interface, thereby realizing automatic acquisition of the interface screenshot without manual operation. By extracting the string from the interface screenshot, the classical Chinese string in the text interface can be obtained, and then the classical Chinese string is compared with the standard classical Chinese string, so as to detect whether there is an error in the text actually displayed in the text interface. The entire test process does not require the participation of testers, saving labor costs and ensuring the accuracy of the test, and the vehicle test can be completed in a domestic laboratory, improving the test efficiency.

[0084] Please refer to Figure 4 , Figure 4 This is a flowchart of the steps of an embodiment of the vehicle's Chinese test in the present application. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted. The vehicle's Chinese test can be applied to the aforementioned terminal device, but is not limited thereto, and the embodiment of the present application does not limit this.

[0085] This embodiment is a specific description of the above embodiment, and further describes: when the display device includes an instrument and a vehicle computer, a method of controlling the instrument and the vehicle computer to take screenshots respectively, and obtaining interface screenshots of the instrument and the vehicle computer.

[0086] The specific process of this embodiment is as follows Figure 4 As shown, the following steps are included: Step 401: Send a language change instruction to a vehicle to change the text language displayed by the vehicle to a first target language.

[0087] Step 402: Send a test instruction to the vehicle computer, and the vehicle computer forwards the test instruction to the instrument, so that the vehicle computer displays a first text interface matching the test instruction, and the instrument displays a second text interface matching the test instruction.

[0088] Specifically, the vehicle computer is connected to the terminal device via a first communication bus, and the instrument is connected to the vehicle computer via a second communication bus.

[0089] In some embodiments, the first communication bus connection is a USB connection cable, and the second communication bus is a Telnet bus or an FTP bus.

[0090] Step 403: Send a first control instruction and a second control instruction to the vehicle computer, wherein the first control instruction matches the operating system of the vehicle computer, and the second control instruction matches the operating system of the instrument.

[0091] Specifically, after receiving the first control instruction, the vehicle computer takes a screenshot of the first text interface currently being displayed, and saves the screenshot of the first interface obtained after the screenshot to the first local file of the vehicle computer; the vehicle computer forwards the second control instruction to the instrument, and after receiving the second control instruction, the instrument takes a screenshot of the second text interface currently being displayed, and saves the screenshot of the second interface obtained after the screenshot to the second local file of the instrument.

[0092] More specifically, the operating system of the instrument is the QNX system, the operating system of the vehicle computer is the Android system, the first control instruction is the adb command, and the second control instruction is the QNX system command. After the terminal device sends the adb command and the QNX system command to the vehicle computer, the Android system performs a screenshot operation based on the adb command to obtain a screenshot of the first interface. The vehicle computer sends the QNX system command to the QNX system, and the QNX system performs a screenshot operation based on the QNX system command to obtain a screenshot of the second interface.

[0093] Step 404: call the second interface screenshot to the first local file, and call the first interface screenshot and the second interface screenshot from the first local file.

[0094] Step 405: extract character strings from the first interface screenshot and the second interface screenshot to obtain a first classical Chinese character string of the first interface screenshot and a second classical Chinese character string of the second interface screenshot.

[0095] Step 406: compare the first classical Chinese character string and the second classical Chinese character string with the standard classical Chinese character string, and detect whether the text displayed in the text interface is correct based on the comparison result, wherein the standard classical Chinese character string is the correct character string displayed by the vehicle computer and the instrument under the test instruction.

[0096] Step 401 , step 402 , step 405 , and step 406 of this embodiment are similar to step 101 , step 102 , step 104 , and step 105 of the aforementioned embodiment, and will not be described again here to avoid repetition.

[0097] For ease of understanding, the following Figure 5 The interactive process of the vehicle test method in this embodiment is specifically described: Please refer to Figure 5 , which is a schematic diagram of the implementation environment of the classical Chinese testing system provided in an embodiment of the present application.

[0098] Those skilled in the art will understand that Figure 5 The implementation environment diagram of the classical Chinese testing system shown is merely an example. The implementation environment described in the embodiment of the present application is intended to more clearly illustrate the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided in the embodiment of the present application. A person of ordinary skill in the art can appreciate that with the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.

[0099] exist Figure 5 In the embodiment of the present application, the resource scheduling system provided by the embodiment of the present application may include a computer, a CANoe simulation device, a vehicle machine Android system and an instrument QNX system. The computer may be integrated with the vehicle textual language test device provided by the embodiment of the present application.

[0100] The computer is connected to CANoe and the vehicle Android system via a USB cable, the CANoe simulation device is connected to the vehicle Android system via a CAN bus or FlexRay bus, and the vehicle Android system is connected to the instrument QNX system via a Telnet bus or FTP bus.

[0101] It is understandable that the computer can be an independent server, or a server network or server cluster composed of servers. For example, the computer described in the embodiments of the present application includes but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud server composed of multiple servers. Among them, the cloud server is composed of a large number of computers or network servers based on cloud computing.

[0102] The interactive process of the vehicle's textual testing method includes: 1. The computer sends a test command to the CANoe simulation device. The CANoe simulation device sends a message to the vehicle Android system and the instrument QNX system based on the test command. The vehicle Android system and the instrument QNX system display specific classical Chinese prompts according to the message. That is, the vehicle Android system displays the first text interface, and the instrument QNX system displays the second text interface.

[0103] 2. The computer sends an adb command to the vehicle Android system. The vehicle Android system takes a screenshot of the first text interface based on the adb command to obtain a screenshot of the first interface, and then copies the screenshot of the first interface to the local computer through the adb command; the computer logs in to the vehicle Android system, and then logs in to the instrument QNX system through telnet in the vehicle Android system, and then executes the QNX system command in the instrument QNX system to take a screenshot of the instrument screen to obtain a screenshot of the first interface. After completing the screenshot operation, exit the instrument QNX system, return to the vehicle Android system, and copy the screenshot of the second interface in the instrument QNX system to the vehicle Android system through ftp. Finally, copy the screenshot of the second interface from the Android system to the local computer through the adb command.

[0104] 3. The computer calls the OCR algorithm to extract the character string from the first interface screenshot and the second interface screenshot to obtain the classical Chinese character string actually displayed on the vehicle computer and the instrument.

[0105] 4. The computer compares the classical Chinese character string extracted in step 3 with the correct character string to determine whether the character string displayed in this screenshot is correct.

[0106] Compared with the related art, the embodiment of the present application has at least the following advantages: by setting the text language displayed by the vehicle to the first target language, so as to facilitate the classical Chinese test of the first target language; by sending a test instruction to the display device of the vehicle, the display device displays a text interface matching the test instruction after receiving the test instruction, and then controlling the display device to perform a screenshot operation to obtain an interface screenshot of the text interface, thereby realizing automatic acquisition of the interface screenshot without manual operation. By extracting the string from the interface screenshot, the classical Chinese string in the text interface can be obtained, and then the classical Chinese string is compared with the standard classical Chinese string, so as to detect whether there is an error in the text actually displayed in the text interface. The entire test process does not require the participation of testers, saving labor costs and ensuring the accuracy of the test, and the vehicle test can be completed in a domestic laboratory, improving the test efficiency.

[0107] Please refer to Figure 6 , Figure 6 This is a flowchart of the steps of an embodiment of the vehicle language test method of the present application. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted. The vehicle language test can be applied to the aforementioned terminal device, but is not limited thereto, and the embodiment of the present application does not limit this.

[0108] This embodiment is a further improvement of the above embodiment, and the main improvement is: in this embodiment, there are multiple test instructions and multiple languages ​​to be tested. This embodiment will perform a classical Chinese test of multiple test instructions on each language until all language tests are completed. In this way, the test efficiency and reliability of the classical Chinese test of the vehicle can be further improved.

[0109] The specific process of this embodiment is as follows Figure 6 As shown, the following steps are included: Step 501: Send a language change instruction to a vehicle to change the text language displayed by the vehicle to a first target language.

[0110] Step 502: Send a first test instruction among multiple test instructions to a display device, so that the display device displays a text interface matching the first test instruction.

[0111] Step 503: Control the display device to perform a screenshot operation to obtain a screenshot of the interface when the display device displays the text interface.

[0112] Step 504: extract the string from the interface screenshot to obtain the classical Chinese string in the text interface.

[0113] Step 505: compare the classical Chinese character string with the standard classical Chinese character string, and detect whether the text displayed in the text interface is correct based on the comparison result, wherein the standard classical Chinese character string is the correct character string displayed by the display device under the test instruction.

[0114] Step 506: Send the second test instruction among the multiple test instructions to the display device, and repeat the above steps of controlling the display device to perform the screenshot operation and the character string comparison until all the test instructions are sent to the display device.

[0115] Step 507: Send a new language change instruction to the vehicle to change the text language displayed by the vehicle to the second target language.

[0116] Step 508, repeat the above steps of sending multiple test instructions to the display device, controlling the display device to perform screenshot operations and performing string comparison to complete the classical Chinese test of the second target language, and repeat the above steps of sending new language change instructions and testing the reset language based on multiple test instructions until the classical Chinese test of all languages ​​is completed.

[0117] For ease of understanding, the following Figure 7 The process of the vehicle test of this application is specifically described as follows: Please refer to Figure 7 , which is a flow chart of the vehicle textual testing method provided in an embodiment of the present application.

[0118] 1. According to Figure 5 The Wenyan test system shown completes the connection between the computer, CANoe simulation equipment, vehicle Android system and instrument QNX system.

[0119] 2. Set up an Excel table, which stores test instructions, whether the classical Chinese is displayed on the vehicle computer or the instrument, the classical Chinese position information and the correct string in rows. Different sheets in the Excel table store the above information in different languages, and the sheet page name is named after the language name.

[0120] It should be noted that each test instruction corresponds to a classical Chinese display position (ie, whether the classical Chinese is displayed on the vehicle computer or the instrument, or on the vehicle computer and the instrument), a classical Chinese position information and a correct character string.

[0121] 3. The computer reads and parses the Excel spreadsheet, obtains the number of sheet pages, the name of each sheet page, and the data content of each sheet page. The name of each sheet page contains language information.

[0122] 4. The computer initializes the loop variables i (corresponding to the order of the sheet pages) and j (corresponding to the number of rows of data in each sheet page), with i being initialized to 0 and j being initialized to 1.

[0123] 5. The computer sets the vehicle to the corresponding language according to the sheet page name, such as English, French, German, etc.

[0124] 6. The computer takes the data in the jth row of the ith sheet and parses its contents cell by cell.

[0125] 7. The computer constructs the corresponding signal according to the required signal and timing in the acquired data and sends it to the vehicle computer. That is, if the classical Chinese is required to be displayed on the vehicle computer, the test command is directly sent to the vehicle computer. If the classical Chinese is required to be displayed on the instrument, the test command needs to be forwarded to the instrument through the vehicle computer.

[0126] 8. The computer takes a screenshot on the vehicle computer and the instrument according to the display position of the classical Chinese text, and copies the screenshot file to the local computer. The specific process has been described in detail in the above embodiment and will not be repeated here.

[0127] 9. The computer extracts the classical Chinese display part from the screenshot file based on the classical Chinese position coordinates in the retrieved data and saves it as a separate picture.

[0128] 10. The computer uses the OCR algorithm to extract the character string from the image that only displays classical Chinese in step 9, and obtains the classical Chinese character string actually displayed on the vehicle instrument panel.

[0129] 11. The computer compares the classical Chinese character string extracted in step 10 with the correct character string read from the Excel data to determine whether the character string displayed in this screenshot is correct.

[0130] As of step 11, the automated test of a certain piece of classical Chinese in a certain language has been completed. Starting from step 12, the main task is to determine whether the end condition is met. If the end condition is not met, the process of steps 3-11 is repeated to complete the automatic screenshot, extraction and comparison test of the classical Chinese one by one.

[0131] 12. Add 1 to the variable j. The computer determines whether the value of j after adding 1 is greater than the maximum number of rows on this sheet. If the result is "No", continue to execute steps 6-12; if the result is "Yes", execute step 13.

[0132] 13. The variable i is incremented by 1. The computer determines whether the value of i after incrementing by 1 is greater than the number of sheet pages. If the result is "no", the value of the variable j is reset to 1, and then steps 5-12 are executed; if the result is "yes", the entire program is terminated.

[0133] Compared with the related art, the embodiment of the present application has at least the following advantages: by setting the text language displayed by the vehicle to the first target language, so as to facilitate the classical Chinese test of the first target language; by sending a test instruction to the display device of the vehicle, the display device displays a text interface matching the test instruction after receiving the test instruction, and then controlling the display device to perform a screenshot operation to obtain an interface screenshot of the text interface, thereby realizing automatic acquisition of the interface screenshot without manual operation. By extracting the string from the interface screenshot, the classical Chinese string in the text interface can be obtained, and then the classical Chinese string is compared with the standard classical Chinese string, so as to detect whether there is an error in the text actually displayed in the text interface. The entire test process does not require the participation of testers, saving labor costs and ensuring the accuracy of the test, and the vehicle test can be completed in a domestic laboratory, improving the test efficiency.

[0134] Based on the same idea as the vehicle textual test in the above embodiment, the present application also provides a resource scheduling device, which can be used to execute the above resource scheduling method. For ease of explanation, the structural diagram of the resource scheduling device embodiment only shows the parts related to the embodiment of the present application. It can be understood by those skilled in the art that the illustrated structure does not constitute a limitation on the device, and may include more or fewer components than shown in the diagram, or combine certain components, or arrange the components differently.

[0135] like Figure 8 As shown, the vehicle's classical Chinese test device 80 includes a language setting module 801, an instruction sending module 802, a screenshot module 803, a string extraction module 804, and a test module 805. In some embodiments, the above modules may be programmable software instructions stored in a memory and callable and executed by a processor. It is understood that in other embodiments, the above modules may also be program instructions or firmware solidified in the processor.

[0136] A language setting module 801 is used to set the language of the text displayed on the vehicle to a first target language according to preset language information; The instruction sending module 802 is used to send a test instruction to a display device of the vehicle so that the display device displays a text interface matching the test instruction; A screenshot module 803 is used to control the display device to perform a screenshot operation to obtain a screenshot of the interface when the display device displays the text interface; A character string extraction module 804 is used to extract character strings from the interface screenshot to obtain classical Chinese character strings in the text interface; The test module 805 is used to compare the classical Chinese character string with the standard classical Chinese character string, and detect whether the text displayed in the text interface is correct based on the comparison result, wherein the standard classical Chinese character string is the correct character string displayed by the display device under the test instruction.

[0137] Please refer to Fig. 9 , Fig. 9 This is a schematic diagram of an embodiment of an electronic device of the present application.

[0138] The electronic device 100 includes a memory 20, a processor 30, and a computer program 40 stored in the memory 20 and executable on the processor 30. When the processor 30 executes the computer program 40, the steps in the above-mentioned vehicle test method embodiment are implemented, for example Figure 1 Steps 101 to 105 are shown.

[0139] Exemplarily, the computer program 40 can also be divided into one or more modules / units, which are stored in the memory 20 and executed by the processor 30. The one or more modules / units can be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program 40 in the electronic device 100. For example, it can be divided into the setting module 801, the instruction sending module 802, the screenshot module 803, the string extraction module 804 and the test module 805 shown.

[0140] Those skilled in the art will understand that the schematic diagram is merely an example of the electronic device 100 and does not constitute a limitation of the electronic device 100. The electronic device 100 may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device 100 may also include input and output devices, network access devices, buses, etc.

[0141] The processor 30 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, a single-chip microcomputer, or the processor 30 may also be any conventional processor, etc.

[0142] The memory 20 can be used to store the computer program 40 and / or the module / unit. The processor 30 realizes various functions of the electronic device 100 by running or executing the computer program and / or the module / unit stored in the memory 20 and calling the data stored in the memory 20. The memory 20 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data (such as audio data) created according to the use of the electronic device 100, etc. In addition, the memory 20 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices.

[0143] If the module / unit integrated in the electronic device 100 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0144] In the several embodiments provided in this application, it should be understood that the disclosed electronic device and method can be implemented in other ways. For example, the electronic device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation.

[0145] In addition, each functional unit in each embodiment of the present application may be integrated into the same processing unit, or each unit may exist physically separately, or two or more units may be integrated into the same unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0146] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application and are not intended to limit it. Although the present application has been described in detail with reference to the above embodiments, a person of ordinary skill in the art should understand that the technical solution of the present application may be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present application.

Claims

1. A vehicle language testing method, characterized in that: Applied to terminal equipment, including: Sending a language change instruction to the vehicle so that the language of text displayed by the vehicle is changed to the first target language; Sending a test instruction to a display device of the vehicle so that the display device displays a text interface matching the test instruction; Controlling the display device to perform a screen capture operation to obtain a screenshot of the interface when the display device displays the text interface; Extracting strings from the interface screenshot to obtain classical Chinese strings in the text interface; The classical Chinese character string is compared with a standard classical Chinese character string, and whether the text displayed in the text interface is correct is detected according to the comparison result, wherein the standard classical Chinese character string is a correct character string displayed by the display device under the test instruction.

2. The vehicle language testing method according to claim 1, characterized in that: The display device includes a vehicle computer, and the vehicle computer is connected to the terminal device via a first communication bus; The controlling the display device to perform a screenshot operation to obtain an interface screenshot when the display device displays the text interface includes: Sending a first control instruction to the vehicle computer, wherein the first control instruction matches the operating system of the vehicle computer, and after receiving the first control instruction, the vehicle computer takes a screenshot of the text interface currently being displayed, and saves the screenshot of the interface obtained after the screenshot to a first local file of the vehicle computer; The interface screenshot is called from the first local file.

3. The vehicle language testing method according to claim 1, characterized in that: The display device includes a meter, the meter is connected to the vehicle computer of the vehicle via a second communication bus, and the vehicle computer is connected to the terminal device via a first communication bus; The controlling the display device to perform a screenshot operation to obtain an interface screenshot when the display device displays the text interface includes: Sending a second control instruction to the vehicle computer, wherein the second control instruction matches the operating system of the instrument, the vehicle computer forwards the second control instruction to the instrument, and after receiving the second control instruction, the instrument takes a screenshot of the text interface currently being displayed, and saves the screenshot of the interface obtained after the screenshot to a second local file of the instrument; The interface screenshot is called to a first local file of the vehicle computer, and the interface screenshot is called from the first local file.

4. The vehicle language testing method according to claim 1, characterized in that: The display device includes a vehicle computer and an instrument, the vehicle computer is connected to the terminal device via a first communication bus, and the instrument is connected to the vehicle computer via a second communication bus; The controlling the display device to perform a screenshot operation to obtain an interface screenshot when the display device displays the text interface includes: sending a first control instruction and a second control instruction to the vehicle computer, wherein the first control instruction matches the operating system of the vehicle computer, and the second control instruction matches the operating system of the instrument; after receiving the first control instruction, the vehicle computer takes a screenshot of the first text interface currently being displayed, and saves the screenshot of the first interface obtained after the screenshot to a first local file of the vehicle computer; the vehicle computer forwards the second control instruction to the instrument, and after receiving the second control instruction, the instrument takes a screenshot of the second text interface currently being displayed, and saves the screenshot of the second interface obtained after the screenshot to a second local file of the instrument; The second interface screenshot is called to the first local file, and the first interface screenshot and the second interface screenshot are called from the first local file.

5. The vehicle language test method according to any one of claims 1 to 4, characterized in that: The test instructions include a plurality of instructions, each of which matches a different text interface; The sending of the test instruction to the display device of the vehicle so that the display device displays a text interface matching the test instruction includes: Sending a first test instruction among the plurality of test instructions to the display device, so that the display device displays a text interface matching the first test instruction; After detecting whether the text displayed in the text interface is correct according to the comparison result, the method further includes: A second test instruction among the multiple test instructions is sent to the display device, and the steps of controlling the display device to perform a screen capture operation and performing a character string comparison are repeated until all the test instructions are sent to the display device.

6. The vehicle language testing method according to claim 5, characterized in that: After all the test instructions are sent to the display device, the method further includes: Sending a new language change instruction to the vehicle so that the text language displayed by the vehicle is changed to a second target language; Repeat the steps of sending multiple test instructions to the display device, controlling the display device to take a screenshot, and performing a string comparison to complete the classical Chinese test on the second target language, and repeat the steps of sending a new language change instruction and testing the reset language based on multiple test instructions until the classical Chinese test on all languages ​​is completed.

7. The vehicle language testing method according to claim 1, characterized in that: Before extracting the string from the interface screenshot, the method further includes: According to the preset classical Chinese position information, determining the location area where the classical Chinese character string is located from the text interface; The step of extracting a character string from the interface screenshot to obtain a classical Chinese character string in the text interface includes: String extraction is performed on the position area to obtain the classical Chinese string.

8. A vehicle language test device, characterized in that: include: A language setting module, used for setting the language of the text displayed on the vehicle to a first target language according to preset language information; An instruction sending module, used for sending a test instruction to a display device of a vehicle, so that the display device displays a text interface matching the test instruction; A screenshot module, used to control the display device to perform a screenshot operation, and obtain an interface screenshot when the display device displays the text interface; A string extraction module, used to extract strings from the interface screenshot to obtain the classical Chinese strings in the text interface; The test module is used to compare the classical Chinese character string with the standard classical Chinese character string, and detect whether the text displayed in the text interface is correct according to the comparison result, wherein the standard classical Chinese character string is the correct character string displayed by the display device under the test instruction.

9. An electronic device, comprising a processor and a memory, characterized in that: The memory is used to store instructions, and the processor is used to call the instructions in the memory, so that the electronic device executes the vehicle textual testing method according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium stores computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the vehicle test method according to any one of claims 1 to 7.