Vehicle terminal testing method, device, equipment and system
By integrating control equipment to simulate the entire process of vehicle startup, operation, and hibernation, and combining wake-up, stress, and hibernation tests, the problem of discrepancies between test results and actual operating results in existing technologies has been solved, achieving more accurate vehicle terminal testing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHONGQING CHANGAN AUTOMOBILE CO LTD
- Filing Date
- 2023-04-12
- Publication Date
- 2026-04-24
AI Technical Summary
Existing technologies cannot effectively simulate the actual scenarios of vehicle terminals during power-on/off, sleep/wake-up, and long-term use, resulting in discrepancies between test results and actual operating results.
By combining wake-up tests, stress tests, and hibernation tests, integrated control equipment is used to simulate the entire process of a vehicle from startup to hibernation, including components such as programmable power supplies, relays, CAN boxes, and mobile terminals, to simulate user operations and power waveforms, thereby improving the test's relevance to actual conditions.
This improves the accuracy of vehicle terminal testing, ensuring that test results are closer to actual usage scenarios and reducing misjudgments caused by malfunctions of other functional devices.
Smart Images

Figure CN116338361B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automotive technology, and more particularly to the field of vehicle-mounted terminal technology, specifically to a vehicle-mounted terminal testing method, apparatus, equipment, and system. Background Technology
[0002] As the automotive market continues to grow, car production is increasing in line with rising demand, and various automakers are releasing more and more new models. Furthermore, most cars currently produced are equipped with intelligent in-vehicle terminals. To ensure a superior driving experience and to identify underlying issues early and mitigate risks, testing these in-vehicle terminals before a car enters the market becomes particularly important. Summary of the Invention
[0003] One of the purposes of this application is to provide a method, apparatus, equipment and system for testing vehicle-mounted terminals, which is used to simulate the sleep-wake-up and operation process of vehicle-mounted devices, so as to realize the testing of vehicle-mounted terminals.
[0004] To achieve the above objectives, the technical solution adopted in this application is as follows:
[0005] According to a first aspect of this application, a method for testing vehicle-mounted terminals is provided, comprising an integrated control device applied to a vehicle-mounted terminal testing system. The vehicle-mounted terminal testing system further includes a vehicle-mounted terminal. The integrated control device is connected to the vehicle-mounted terminal, and the vehicle-mounted terminal testing system is deployed on a test bench. The method includes: the integrated control device executing a testing process for the vehicle-mounted terminal, the testing process including wake-up testing, stress testing, and sleep testing. Further, the integrated control device outputs test results, including the number of tests performed on the vehicle-mounted terminal, the test content, and the operating parameters.
[0006] Based on the aforementioned technical means, the vehicle terminal testing method provided in this application addresses the main scenarios where vehicle terminal problems occur during vehicle power-on / off, sleep / wake-up, and prolonged use. This application combines wake-up testing, stress testing, and sleep testing to simulate the entire process of a vehicle from startup and operation to sleep during actual vehicle operation, thereby making the testing of vehicle terminals more realistic and improving the accuracy of the testing.
[0007] In one possible implementation, the above-mentioned vehicle-mounted terminal testing system further includes a programmable power supply and a relay. The integrated control device is connected to the vehicle-mounted terminal through the programmable power supply and the relay, respectively. The programmable power supply is used to power the test bench, and the relay is used to simulate the switching of the accessory (ACC) power supply.
[0008] Based on the above-mentioned technical means, this application provides a simulation test environment that simulates a real vehicle environment.
[0009] In one possible implementation, when the vehicle terminal is powered on for the first time, the wake-up test includes: sending a voltage adjustment control command to the programmable power supply to adjust the voltage from 0V to 12V; sending a power waveform control command to the programmable power supply, the power waveform control command including a preset power waveform, so that the programmable power supply can play back the preset power waveform, the preset power waveform being the power waveform on the vehicle terminal side when the actual vehicle is started; and sending a relay conduction command to the relay to connect the vehicle terminal.
[0010] Based on the above technical means, this application provides a test method for waking up the on-board terminal when simulating the initial power-on of a real vehicle, thereby simulating the voltage transformation of the whole vehicle during startup on the test bench.
[0011] In one possible implementation, when the vehicle terminal is not powered on for the first time, the wake-up test includes: sending a power waveform control command to the programmable power supply, the power waveform control command including a preset power waveform, so that the programmable power supply plays back the preset power waveform, the preset power waveform being the power waveform on the vehicle terminal side when the actual vehicle starts; sending a relay conduction command to the relay so that the relay connects the vehicle terminal.
[0012] Based on the above technical means, this application provides a test method for waking up the vehicle terminal in a scenario where the vehicle is not powered on for the first time, so as to cover the wake-up scenarios of the vehicle terminal.
[0013] In one possible implementation, the above-mentioned vehicle terminal testing system further includes a controller area network (CAN) box. The integrated control device is also connected to the vehicle terminal through the CAN box, which is used to simulate control signal playback. In the case of the vehicle terminal not being powered on for the first time, a wake-up test is performed, including: sending a bus wake-up command to the CAN box to cause the CAN box to send an unlock signal, a simulated door opening signal, and a simulated door closing signal to the vehicle terminal; sending a power waveform control command to the programmable power supply, the power waveform control command including a preset power waveform, to cause the programmable power supply to play back the preset power waveform, the preset power waveform being the power waveform on the vehicle terminal side when the actual vehicle starts; sending a simulated power-on command to the CAN box to cause the CAN box to send a simulated power-on signal to the vehicle terminal; and sending a relay conduction command to the relay to cause the control relay to connect the vehicle terminal.
[0014] Based on the above technical means, this application provides a test method for waking up the vehicle terminal in a scenario where the vehicle is not powered on for the first time. Specifically, it simulates the scenario where the user unlocks the vehicle and then opens and closes the door before using the vehicle. Then, it simulates the power waveform of the random start-up to cover more vehicle terminal wake-up scenarios.
[0015] In one possible implementation, the aforementioned vehicle terminal testing system further includes a CAN box and a mobile terminal. The integrated control device is also connected to the vehicle terminal via the CAN box and the mobile terminal, respectively. The CAN box is used to simulate control signal playback, and the mobile terminal is configured with an application for generating a wake-up signal. When the vehicle terminal is not powered on for the first time, the wake-up test includes: sending a wake-up control command to the mobile terminal to generate a wake-up signal and send it to the CAN box; after the CAN box is woken up, sending a power waveform control command to the programmable power supply, the power waveform control command including a preset power waveform, to cause the programmable power supply to play back the preset power waveform, which is the power waveform on the vehicle terminal side when the actual vehicle starts; sending a simulated power-on command to the CAN box to cause the CAN box to send a simulated power-on signal to the vehicle terminal; and sending a relay conduction command to the relay to control the relay to connect the vehicle terminal.
[0016] Based on the above technical means, this application provides a test method for waking up the vehicle terminal in a scenario where the vehicle is not powered on for the first time. Specifically, it simulates a user accessing a telematics service provider (TSP) via a mobile terminal to wake up the vehicle terminal, and then covers more vehicle terminal wake-up scenarios by simulating random power waveforms.
[0017] In one possible implementation, the above-mentioned vehicle terminal testing system further includes a CAN box and multiple functional devices. The integrated control device is also connected to the vehicle terminal through the CAN box. The vehicle terminal is connected to the multiple functional devices respectively. The stress test includes: performing random operation tests on the vehicle terminal based on the Android Debug Bridge (ADB); after the random operation test runs for a first preset duration, sending a random function test command to the CAN box so that the CAN box performs random function tests on the vehicle terminal.
[0018] Based on the above technical means, this application provides a method for performing random operation tests and random function tests on the vehicle terminal after it is woken up, based on pre-collected real vehicle messages, to achieve stress testing on the vehicle terminal.
[0019] In one possible implementation, the above-mentioned vehicle terminal testing system further includes a microcontroller unit (MCU) serial port. The integrated control device is also connected to the vehicle terminal through the MCU serial port, which is used to monitor MCU printing. The sleep test includes: an interrupt stress test, which sends an interrupt command to the CAN box to stop message playback and analog signal transmission, and sends an analog power-off signal to the vehicle terminal; a relay interrupt command is sent to the relay to disconnect the relay; a sleep command is sent to the CAN box to send an analog door opening / closing signal and a lock signal to the vehicle terminal; and the vehicle terminal enters a sleep state when the CAN box monitors bus activity to stop, the programmable power supply monitoring current is less than a preset current, and the MCU serial port monitors MCU printing to stop.
[0020] Based on the above technical means, this application provides a method for performing a sleep test on the vehicle terminal after a period of stress testing. The method uses a CAN box to send simulated door opening and closing signals and locking signals to simulate the scenario of a user getting out of the vehicle, opening and closing the door, and locking the vehicle after using the actual vehicle.
[0021] In one possible implementation, the above-mentioned vehicle terminal testing method further includes: determining the sleep duration of the vehicle terminal, wherein the sleep duration is used to indicate the duration during which the vehicle terminal is in a sleep state; and executing the vehicle terminal testing process when the sleep duration is greater than a second preset duration.
[0022] Based on the above technical means, the vehicle terminal testing method provided in this application realizes the method of repeatedly performing wake-up, stress test and sleep test on the vehicle terminal after the vehicle is in sleep mode, so as to test whether the vehicle terminal will cause problems after long-term operation.
[0023] In one possible implementation, the above testing process also includes a device operation test, which is performed after the wake-up test; the device operation test is used to test whether the device connected to the vehicle terminal can operate normally.
[0024] Based on the above technical means, in the vehicle terminal testing method provided in this application, after the vehicle terminal is woken up, a device operation test is first performed to determine whether the functional devices connected to the vehicle terminal can operate normally, so as to avoid the problem of identifying the vehicle terminal due to the abnormal operation of other functional devices in the subsequent process, thereby improving the accuracy of the vehicle terminal test.
[0025] According to the second aspect provided in this application, a vehicle-mounted terminal testing system is provided, including an integrated control device, a vehicle-mounted terminal, a programmable power supply, a relay, a CAN box, an MCU serial port, and a mobile terminal; the integrated control device connects to the vehicle-mounted terminal through the programmable power supply, relay, CAN box, MCU serial port, and mobile terminal, respectively, and the vehicle-mounted terminal testing system is deployed on a test bench; the integrated control device executes the testing process of the vehicle-mounted terminal through the programmable power supply, relay, CAN box, MCU serial port, and mobile terminal, the testing process including wake-up test, stress test, and sleep test; the integrated control device outputs test results, the test results including the number of tests, test content, and operating parameters of the vehicle-mounted terminal.
[0026] According to a third aspect of this application, a vehicle-mounted terminal testing device is provided, deployed in an integrated control device, including a processing unit. The processing unit is used to execute a testing process for the vehicle-mounted terminal, including wake-up testing, stress testing, and sleep testing. The processing unit is also used to output test results, including the number of tests performed on the vehicle-mounted terminal, the test content, and operating parameters.
[0027] In one possible implementation, the aforementioned vehicle-mounted terminal testing device further includes a transmitting unit. The transmitting unit is configured to send a voltage adjustment control command to the programmable power supply, causing the programmable power supply to adjust the voltage from 0V to 12V; send a power waveform control command to the programmable power supply, the power waveform control command including a preset power waveform, causing the programmable power supply to replay the preset power waveform, the preset power waveform being the power waveform on the vehicle-mounted terminal side during actual vehicle startup; and send a relay activation command to the relay, causing the relay to activate the vehicle-mounted terminal.
[0028] In one possible implementation, the aforementioned sending unit is further configured to send a power waveform control command to the programmable power supply, the power waveform control command including a preset power waveform, so that the programmable power supply can replay the preset power waveform, the preset power waveform being the power waveform on the vehicle terminal side when the actual vehicle starts; and to send a relay activation command to the relay so that the relay can connect the vehicle terminal.
[0029] In one possible implementation, the aforementioned transmitting unit is further configured to send a bus wake-up command to the CAN box, causing the CAN box to send an unlock signal, a simulated door opening signal, and a simulated door closing signal to the vehicle terminal; send a power waveform control command to the programmable power supply, the power waveform control command including a preset power waveform, so that the programmable power supply can replay the preset power waveform, the preset power waveform being the power waveform on the vehicle terminal side when the actual vehicle starts; send a simulated power-on command to the CAN box, so that the CAN box sends a simulated power-on signal to the vehicle terminal; and send a relay conduction command to the relay, so that the control relay connects to the vehicle terminal.
[0030] In one possible implementation, the aforementioned transmitting unit is further configured to send a wake-up control command to the mobile terminal, causing the mobile terminal to generate a wake-up signal and send it to the CAN box; after the CAN box is woken up, it sends a power waveform control command to the programmable power supply, the power waveform control command including a preset power waveform, so that the programmable power supply can replay the preset power waveform, the preset power waveform being the power waveform on the vehicle terminal side when the actual vehicle starts; it sends a simulated power-on command to the CAN box, so that the CAN box sends a simulated power-on signal to the vehicle terminal; and it sends a relay conduction command to the relay, so that the control relay connects the vehicle terminal.
[0031] In one possible implementation, the processing unit is further configured to perform random operation tests on the vehicle terminal based on the Android debug bridge (ADB). The sending unit is further configured to send a random function test command to the CAN box after the random operation test has run for a first preset duration, so that the CAN box performs random function tests on the vehicle terminal.
[0032] In one possible implementation, the processing unit is further configured to interrupt the stress test. The sending unit is further configured to send an interrupt command to the CAN box to stop message playback and analog signal transmission, and to send an analog power-off signal to the vehicle terminal; send a relay interrupt command to the relay to disconnect the relay; and send a sleep command to the CAN box to send analog door opening / closing signals and lock signals to the vehicle terminal. The processing unit is further configured to determine that the vehicle terminal has entered a sleep state when the CAN box monitoring bus activity stops, the programmable power supply monitoring current is less than a preset current, and the MCU serial port monitoring MCU printing stops.
[0033] In one possible implementation, the processing unit is further configured to determine the sleep duration of the vehicle terminal, the sleep duration being used to indicate the duration during which the vehicle terminal is in a sleep state; and to execute the test process of the vehicle terminal if the sleep duration is longer than a second preset duration.
[0034] According to a fourth aspect of this application, an integrated control device is provided, deployed in a vehicle. The integrated control device includes a memory and a processor, which are coupled together; the memory stores computer program code, which includes computer instructions; when the processor executes the computer instructions, the integrated control device executes the vehicle terminal testing method provided in the first aspect and any possible implementation thereof.
[0035] According to the fifth aspect provided in this application, a computer-readable storage medium is provided, which stores instructions that, when executed on an integrated control device, cause the integrated control device to perform the vehicle terminal testing method provided in the first aspect and any possible implementation thereof.
[0036] According to the sixth aspect provided in this application, a test bench is provided, including the integrated control device provided in the fourth aspect above.
[0037] According to the seventh aspect provided in this application, a computer program product is provided, the computer program product including computer instructions, which, when executed on an integrated control device, cause the integrated control device to perform the vehicle terminal testing method provided in the first aspect and any possible implementation thereof.
[0038] Therefore, the above-mentioned technical features of this application have the following beneficial effects:
[0039] (1) In the vehicle terminal testing method provided in this application, since the scenarios in which vehicle terminal problems occur are mainly concentrated in the situations of vehicle power-on and power-off, sleep and wake-up and long-term use, this application combines wake-up test, stress test and sleep test to simulate the entire process of vehicle from start-up, operation to sleep during actual vehicle operation, so as to make the test of vehicle terminal more in line with the actual situation and improve the accuracy of the test.
[0040] (2) A method was implemented to repeatedly perform wake-up, stress test and hibernation test on the vehicle terminal after the vehicle hibernates, so as to test whether the vehicle terminal will cause problems after long-term operation.
[0041] (3) After the vehicle terminal is woken up, the device operation test is performed first to determine whether the functional devices connected to the vehicle terminal can operate normally, so as to avoid the problem of identifying the vehicle terminal due to the abnormal operation of other functional devices in the subsequent process, and improve the accuracy of the test of the vehicle terminal.
[0042] It should be noted that the technical effects of any of the implementation methods in aspects two through seven can be found in the technical effects of the corresponding implementation methods in aspect one, and will not be repeated here.
[0043] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0044] Figure 1 This is a schematic diagram of the structure of an in-vehicle terminal testing system according to an exemplary embodiment;
[0045] Figure 2This is a flowchart illustrating a vehicle-mounted terminal testing method according to an exemplary embodiment;
[0046] Figure 3 This is a flowchart illustrating a vehicle terminal wake-up test according to an exemplary embodiment;
[0047] Figure 4 This is a flowchart illustrating an operational test of an in-vehicle terminal device according to an exemplary embodiment;
[0048] Figure 5 This is a flowchart illustrating a vehicle-mounted terminal stress test according to an exemplary embodiment;
[0049] Figure 6 This is a flowchart illustrating a method for testing the sleep mode of an in-vehicle terminal according to an exemplary embodiment;
[0050] Figure 7 This is a block diagram illustrating an in-vehicle terminal testing device according to an exemplary embodiment;
[0051] Figure 8 This is a block diagram illustrating an integrated control device according to an exemplary embodiment. Detailed Implementation
[0052] The embodiments of this application will be described below with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. This application can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this application. It should be understood that the preferred embodiments are only for illustrating this application and are not intended to limit the scope of protection of this application.
[0053] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of this application. Therefore, the drawings only show the components related to this application and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0054] In the description of the embodiments, unless otherwise stated, " / " means "or". For example, A / B can mean A or B. The "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. Furthermore, "at least one" and "more than one" refer to two or more. The terms "first," "second," etc., do not limit the quantity or execution order, and "first," "second," etc., do not necessarily imply that they are different.
[0055] Currently, with the booming automotive market, automobile production is increasing along with rising demand, and various automakers are releasing more and more new models. Furthermore, most cars produced at this stage are equipped with intelligent in-vehicle terminals. To ensure a superior driving experience and to identify underlying issues early and mitigate risks, testing these in-vehicle terminals before a car enters the market becomes particularly important.
[0056] Among related technologies, one approach involves using automated testing software to record operator actions, creating test cases, and then capturing or monitoring the on-board unit's display using a camera to determine the consistency with preset images. Another approach proposes that after a user inputs a start test command into a host computer, the system determines the intelligent vehicle terminal controller's state based on its battery level and controls a simulated sleep / wake-up state accordingly. This allows the intelligent vehicle terminal controller under test to be woken up from sleep mode based on the user-input test parameters.
[0057] Therefore, although related technologies provide testing methods for vehicle terminals, they all operate in response to user-programmed instructions, which cannot accurately reflect the actual situation and result in discrepancies between the test results and the actual operating results after the vehicle is put into use.
[0058] To address the aforementioned technical problems, this application proposes a method, apparatus, device, and system for testing vehicle-mounted terminals. The integrated control device is applied to an vehicle-mounted terminal testing system, which also includes a vehicle-mounted terminal. The integrated control device is connected to the vehicle-mounted terminal, and the vehicle-mounted terminal testing system is deployed on a test bench. The method includes: the integrated control device executing a testing process for the vehicle-mounted terminal, including wake-up testing, stress testing, and sleep testing. Furthermore, the integrated control device outputs test results, including the number of tests performed on the vehicle-mounted terminal, the test content, and the operating parameters.
[0059] Since the main scenarios where vehicle-mounted terminals malfunction are concentrated during vehicle power-on / off, sleep / wake-up, and prolonged use, the vehicle-mounted terminal testing method provided in this application combines wake-up testing, stress testing, and sleep testing to simulate the entire process of a vehicle from startup, operation to sleep during actual vehicle operation. This makes the testing of vehicle-mounted terminals more realistic and improves the accuracy of the testing.
[0060] Figure 1 This application discloses an in-vehicle terminal testing system. The in-vehicle terminal testing method provided in this embodiment can be applied to, for example, […]. Figure 1 The vehicle-mounted terminal testing system shown is used to simulate the sleep / wake-up and operation processes of vehicle-mounted devices, enabling testing of the vehicle-mounted terminal. For example... Figure 1 As shown, the vehicle terminal test system 10 includes an integrated control device 11, a vehicle terminal 12, a programmable power supply 13, a relay 14, a CAN box 15, a signal generator 16, an MCU serial port 17, a mobile terminal 18, a camera 19, a panoramic camera 110, an external instrument panel 111, and an automatic parking assist (APA) system 112.
[0061] The integrated control device 11 is connected to the vehicle terminal 12 via a programmable power supply 13, a relay 14, a CAN box 15, a signal generator 16, an MCU serial port 17, and a mobile terminal 18. The integrated control device 11 is also connected to the vehicle terminal 12 and a camera 19. The vehicle terminal 12 is connected to a panoramic camera 110. These connections can be wired or wireless; this embodiment does not limit the specific connection method. The vehicle terminal 12 is also connected to an external instrument cluster 111 and an APA system 112 via a CAN bus.
[0062] It should be noted that the vehicle-mounted terminal test system 10 is deployed on a test bench.
[0063] The camera 19 can be used to capture the display screen of the vehicle terminal 12 and transmit the acquired display screen to the integrated control device 12.
[0064] The integrated control device 11 can be used to control the programmable power supply 13 to supply power to the vehicle terminal 12 and monitor the current between the programmable power supply 13 and the vehicle terminal 12; it can also be used to control the programmable power supply 13 to supply power to the test bench.
[0065] The integrated control device 11 can also be used to control the relay 14 and to turn the ACC power supply of the simulated vehicle terminal 12 on and off.
[0066] The integrated control device 11 can also be used to control the CAN box 15 to send signals and simulate bus signals to wake up the vehicle system; it can also be used to control the CAN box 15 to play back signals for stress testing.
[0067] The integrated control device 11 can also be used to control the signal generator 16, simulate hard-wired signals, and key signals.
[0068] The integrated control device 11 can also be used to control the MCU serial port 17, print MCU logs, and monitor the sleep status of the vehicle terminal 12.
[0069] The integrated control device 11 can also be used to control the mobile terminal 18, simulating the user waking up the vehicle terminal 12 through a mobile application.
[0070] The mobile terminal wakes up the vehicle terminal 12 based on TSP.
[0071] The vehicle terminal 12 can be used to respond to the received signal and perform the corresponding operation.
[0072] For example, after receiving the simulated automatic parking signal sent by the signal generator 16, the vehicle terminal 12 calls the APA system 112 to run the automatic parking function.
[0073] For example, after receiving the simulated unlock signal sent by the CAN box 15, the vehicle terminal 12 performs the vehicle unlocking operation;
[0074] After receiving the simulated panoramic video signal sent by the CAN box 15, the vehicle terminal 12 activates the panoramic camera 110 and displays the image captured by the panoramic camera 110 on the vehicle terminal 12.
[0075] Figure 2 This is a flowchart illustrating a vehicle-mounted terminal testing method according to some exemplary embodiments. In some embodiments, the above-described vehicle-mounted terminal testing method can be applied to, for example... Figure 1 The vehicle-mounted terminal testing system 10 shown includes an integrated control device 11. Hereinafter, this application will describe the above data processing method using the integrated control device 11 as an example in the vehicle-mounted terminal testing method.
[0076] like Figure 2 As shown, the vehicle terminal testing method provided in this application includes the following steps S201-S202.
[0077] S201, Integrated control equipment executes the test procedure for the vehicle-mounted terminal.
[0078] The testing process includes wake-up testing, stress testing, and hibernation testing.
[0079] As one possible implementation, the integrated control device sequentially performs wake-up tests, stress tests, and sleep tests.
[0080] In some embodiments, the wake-up test during the initial power-on of the vehicle terminal includes:
[0081] The integrated control device sends a voltage adjustment control command to the programmable power supply, so that the programmable power supply adjusts the voltage from 0V to 12V.
[0082] Furthermore, the integrated control device sends power waveform control commands to the programmable power supply so that the programmable power supply can replay the preset power waveform.
[0083] The power waveform control command includes a preset power waveform, which is the power waveform of the on-board terminal when the vehicle starts.
[0084] Furthermore, the integrated control device sends a relay activation command to the relay, so that the relay connects to the vehicle terminal.
[0085] It should be noted that after the programmable power supply adjusts the power from 0V to 12V, the integrated control device sends a power waveform control command to the programmable power supply after a random delay of 1-10 seconds. Furthermore, within 0.5 seconds after the programmable power supply finishes playing back the preset power waveform, the integrated control device sends a relay conduction command to the relay to simulate the switching of the vehicle's power state to the ON state.
[0086] It should be noted that the preset power waveform can be set in advance by the maintenance personnel of the vehicle terminal test system in the integrated control device. The preset power waveform is collected in advance by the maintenance personnel at different power stages of the actual vehicle.
[0087] For example, 20 preset power waveforms were collected at temperatures of 25 degrees Celsius and -25 degrees Celsius, respectively, based on the remaining battery power of the vehicle at 10%, 20%, 30%, ..., 100%. When the integrated control device generates a power waveform control command, it randomly selects one from the preset power waveforms to send to the programmable power supply.
[0088] In some embodiments, when the vehicle terminal is not powered on for the first time, the wake-up test includes:
[0089] The integrated control device sends power waveform control commands to the programmable power supply so that the programmable power supply can play back the preset power waveform.
[0090] Furthermore, the integrated control device sends a relay activation command to the relay, so that the relay connects to the vehicle terminal.
[0091] It should be noted that this wake-up test is used to simulate the vehicle being directly woken up after power-off hibernation. Since the programmable power supply continues to output power, there is no need to integrate equipment to control the programmable power supply to adjust from 0V to 12V.
[0092] In some embodiments, when the vehicle terminal is not powered on for the first time, the wake-up test includes:
[0093] The integrated control device sends a bus wake-up command to the CAN box, so that the CAN box sends an unlock signal, a simulated door opening signal, and a simulated door closing signal to the vehicle terminal.
[0094] Furthermore, the integrated control device sends power waveform control commands to the programmable power supply so that the programmable power supply can replay the preset power waveform.
[0095] Furthermore, the integrated control device sends a simulated power-on command to the CAN box, so that the CAN box sends a simulated power-on signal to the vehicle terminal.
[0096] Furthermore, the integrated control device sends a relay activation command to the relay, thereby enabling the control relay to connect to the vehicle terminal.
[0097] It should be noted that this wake-up test simulates the CAN bus wake-up of the entire vehicle. The integrated control device controls the CAN box to send an unlock signal, simulating the process of a user unlocking the vehicle to wake it up. Further, based on simulated door opening and closing signals, the test simulates the process of a user unlocking and entering the vehicle. Subsequently, power waveform simulation and CAN bus signal transmission for vehicle power-on are performed randomly to closely resemble actual user scenarios.
[0098] Furthermore, after the integrated control device sends an unlock signal to the CAN box, it randomly delays for 0-10 seconds to control the CAN box to send a simulated door opening signal. Further, one second after sending the simulated door opening signal, the integrated control device controls the CAN box to send a simulated door closing signal. Further still, one second after the CAN box sends the simulated door closing signal, the integrated control device delays for 2 seconds before controlling the programmable power supply to replay a preset power waveform, and within one second after the programmable power supply replays the preset power waveform, it controls the CAN box to send a simulated power-on signal.
[0099] In some embodiments, when the vehicle terminal is not powered on for the first time, the wake-up test includes:
[0100] The integrated control device sends a wake-up control command to the mobile terminal, causing the mobile terminal to generate a wake-up signal and send it to the CAN box.
[0101] Furthermore, after the CAN box is woken up, the integrated control device sends a power waveform control command to the programmable power supply so that the programmable power supply can play back the preset power waveform.
[0102] Furthermore, the integrated control device sends a simulated power-on command to the CAN box, so that the CAN box sends a simulated power-on signal to the vehicle terminal.
[0103] Furthermore, the integrated control device sends a relay activation command to the relay, thereby enabling the control relay to connect to the vehicle terminal.
[0104] It should be noted that this wake-up test is a simulated TSP wake-up, specifically used to simulate a user issuing a remote start command via a mobile terminal and then starting the vehicle based on the remote start command.
[0105] In some embodiments, stress testing includes:
[0106] The integrated control equipment performs random operation tests on the vehicle terminal based on ADB.
[0107] Furthermore, after the first preset duration of random operation test, the integrated control device sends a random function test command to the CAN box, so that the CAN box can perform random function tests on the vehicle terminal.
[0108] It should be noted that the bus messages are collected in advance from the vehicle's onboard terminal, and for example, include 10 bus messages, each lasting 1 hour. The random operation test can be a monkey test.
[0109] In addition, the first preset duration can be set in advance by the maintenance personnel of the vehicle terminal testing system in the integrated control system, and this application embodiment does not specifically limit it.
[0110] For example, in the case of performing the panoramic video startup function during random functional testing, the CAN box sends a simulated panoramic video startup command to the vehicle terminal, so that the vehicle terminal responds to the simulated panoramic video startup command, starts the panoramic camera, and acquires panoramic video.
[0111] In the random function test where the voice command issuance function is executed, the CAN box sends a simulated voice assistant wake-up command to the vehicle terminal, so that the vehicle terminal responds to the simulated voice assistant wake-up command and starts the voice monitoring function.
[0112] In some embodiments, the hibernation test includes:
[0113] The integrated control device interrupts the stress test and sends an interrupt command to the CAN box to stop message playback and analog signal transmission, and sends an analog power-off signal to the vehicle terminal.
[0114] Furthermore, the integrated control device sends a relay interrupt command to the relay to cause the relay to disconnect.
[0115] Furthermore, the integrated control device sends a sleep command to the CAN box, so that the CAN box sends simulated door opening / closing signals and locking signals to the vehicle terminal.
[0116] Furthermore, when the CAN box monitoring bus activity stops, the programmable power supply monitoring current is less than the preset current, and the MCU serial port monitoring MCU printing stops, the integrated control device determines that the vehicle terminal enters a sleep state.
[0117] In some embodiments, in order to automatically simulate the long-term use scenario of a real vehicle, the integrated control device determines the sleep duration of the vehicle terminal, and executes the test process of the vehicle terminal if the sleep duration is longer than a second preset duration.
[0118] The sleep duration is used to indicate the length of time the vehicle terminal is in sleep mode.
[0119] It should be noted that the second preset duration can be set in advance in the integrated control device by the operation and maintenance personnel of the vehicle terminal testing system. The second preset duration can be set to a fixed value or a random value between 1 and 10 minutes. This application embodiment does not specifically limit this.
[0120] In some embodiments, the testing process further includes a device operation test, which is performed after the wake-up test. The device operation test is used to test whether the device connected to the vehicle terminal can operate normally.
[0121] S202, Integrated control equipment outputs test results.
[0122] The test results include the number of tests conducted on the vehicle-mounted terminal, the test content, and the operating parameters.
[0123] As one possible implementation, the integrated control device records the number of tests performed during the testing process for the vehicle-mounted terminal, as well as the test content and operating parameters of each device in each test. Furthermore, the integrated control device outputs the monitored test results.
[0124] Understandably, the vehicle terminal testing method provided in this application combines wake-up testing, stress testing, and hibernation testing to simulate the entire process of a vehicle from startup, operation to hibernation during actual vehicle operation, so as to make the testing of the vehicle terminal more in line with the actual situation and improve the accuracy of vehicle terminal testing.
[0125] In one design, in conjunction with the above embodiments of this application, and Figure 1 The vehicle-mounted terminal test system shown is as follows: Figure 3As shown, the wake-up test process includes process 1, process 2, process 3 and process 4. Among them, process 1 is the simulated initial power-on wake-up process, including S311-S313.
[0126] S311, Integrated control equipment controls the programmable power supply to 12V.
[0127] S312. After the integrated control device is powered on at 12V, it randomly delays for 1-10 seconds to control the programmable power supply to play back the preset power waveform.
[0128] S313. Within 0.5 seconds after the programmable power supply plays back the preset power waveform, the integrated control device controls the relay to turn on.
[0129] Procedure 2 is the simulated ACC wake-up procedure, including S321-S322.
[0130] S321, Integrated control equipment controls the programmable power supply to play back preset power waveforms.
[0131] S322. After the programmable power supply plays back the preset power waveform, the integrated control device controls the relay to turn on within 0.5 seconds.
[0132] Process 3 is a simulated CAN bus wake-up process, including S331-S335.
[0133] S331, The integrated control device controls the CAN box to send a simulated unlock signal to the vehicle terminal.
[0134] S332. Within 10 seconds after the CAN box sends a simulated unlock signal to the vehicle terminal, the integrated control device controls the CAN box to send a simulated door opening signal to the vehicle terminal.
[0135] S333: After the CAN box sends a simulated door opening signal to the vehicle terminal, the integrated control device delays for 1 second to control the CAN box to send a simulated door closing signal to the vehicle terminal.
[0136] S334. After the integrated control device sends a simulated door closing signal to the vehicle terminal via the CAN box, it delays for 2 seconds to control the programmable power supply to play back the preset power waveform.
[0137] S335, the integrated control device controls the relay to turn on and controls the CAN box to send a simulated power-on signal within 1 second after the programmable power supply plays back the preset power waveform.
[0138] Process 4 is a simulated TSP wake-up process, including S341-S344.
[0139] S341. The integrated control device controls the mobile terminal to send a wake-up signal to the vehicle terminal through the TSP platform.
[0140] S342. The integrated control device determines whether the vehicle terminal has received a wake-up signal.
[0141] It should be noted that if the integrated control device determines that the vehicle terminal has obtained the wake-up signal, step S343 is executed; if the integrated control device determines that the vehicle terminal has not obtained the wake-up signal, the control mobile terminal resends the wake-up signal to the vehicle terminal through the TSP platform. If the number of resends exceeds 3, the integrated control device determines that the vehicle terminal has failed to wake up.
[0142] S343. When the integrated control device receives the engine start command in the CAN box, it controls the programmable power supply to play back the preset power waveform.
[0143] S344: Within 1 second after the programmable power supply plays back the preset power waveform, the integrated control device controls the relay to turn on and controls the CAN box to send a simulated power-on signal.
[0144] It should be noted that when the integrated control device executes the wake-up process, in the case of initial power-on, process 1 is used to wake up the vehicle terminal, and in the case of non-initial power-on, one of the wake-up processes, process 2, process 3 and process 4, is randomly selected to wake up the vehicle terminal.
[0145] In one design, in conjunction with the above embodiments of this application, and Figure 1 The vehicle-mounted terminal testing system shown also includes interactive devices such as an artificial mouth and microphone deployed on the test bench. The testing process for device operation is as follows: Figure 4 As shown, it includes S401-S414.
[0146] S401. The integrated control device checks whether the MCU serial port has output.
[0147] S402. The integrated control device checks whether the ADB has output.
[0148] S403. Check the ADB screenshot of the integrated control equipment to see if the system is running normally.
[0149] S404, the integrated control device controls the CAN box to send an activation signal for the panoramic camera to the vehicle terminal.
[0150] S405. The integrated control equipment checks whether the panoramic camera's images are abnormal.
[0151] S406, Integrated control equipment controls the artificial mouth to play the wake-up word.
[0152] S407. The integrated control device controls the microphone to acquire the audio played by the vehicle terminal and determines whether the vehicle terminal has been woken up.
[0153] S408: The integrated control equipment controls the vehicle terminal to display in-vehicle video and determines whether it is operating normally.
[0154] S409, the integrated control device starts the programmable universal serial bus (USB) and switches to the USB flash drive channel.
[0155] S410, the integrated control device uses ADB to access local files and determine whether the USB flash drive is mounted.
[0156] S411. The integrated control device uses ADB to control the on-board terminal to play music and determine if there is any abnormality.
[0157] S412, The integrated control device uses ADB to control the vehicle terminal to play audio from a USB flash drive.
[0158] S413, The integrated control device controls the microphone to collect audio within 10 seconds to determine whether the audio in the USB flash drive is playing normally.
[0159] S414. The integrated control equipment controls the vehicle terminal to display a multi-screen interactive interface and determines whether the display is normal.
[0160] It should be noted that the equipment operation test is used for the functional combination test of the vehicle-mounted equipment, including but not limited to image function checks, network checks, display checks, sound checks, and voice checks. This application embodiment does not specifically limit these aspects.
[0161] In one design, in conjunction with the above embodiments of this application, and Figure 1 The test procedure for stress testing of the vehicle-mounted terminal test system shown is as follows: Figure 5 As shown, it includes S501-S510.
[0162] S501, the integrated control device controls the CAN box to play back messages.
[0163] S502. The integrated control equipment is used for random function testing based on the ADB control vehicle terminal.
[0164] For example, random functional testing could be monkey testing.
[0165] S503: After the integrated control device enters the random function test at the vehicle terminal, the random function test is interrupted after a random delay of 10-20 minutes.
[0166] S504, the integrated control device controls the CAN box to pause playback messages.
[0167] S505, the integrated control device controls the CAN box to send a signal to the vehicle terminal to activate the simulated panoramic camera.
[0168] S506 The vehicle terminal responds to the signal that the simulated panoramic camera is turned on and randomly switches the angle of the image captured by the panoramic camera.
[0169] S507, Integrated control equipment controls the CAN box to play back messages.
[0170] S508, the integrated control device's voice module randomly issues voice control commands.
[0171] S509. The integrated control equipment determines whether the vehicle terminal has executed successfully.
[0172] S510, the integrated control device randomly executes test cases.
[0173] In one design, in conjunction with the above embodiments of this application, and Figure 1 The test procedure for the sleep test of the vehicle-mounted terminal test system shown is as follows: Figure 6 As shown, it includes S601-S611.
[0174] S601, Integrated control equipment interruption pressure test.
[0175] S602, the integrated control device controls the CAN box to stop message playback and analog signal transmission.
[0176] S603, the integrated control device controls the CAN box to send an analog power-off signal to the vehicle terminal.
[0177] S604, The integrated control device controls the relay to disconnect.
[0178] S605, the integrated control device controls the CAN box to send simulated door opening signals and simulated door closing signals to the vehicle terminal.
[0179] S606, the integrated control device controls the CAN box to send a simulated interlock signal to the vehicle terminal.
[0180] S607, the integrated control device controls the CAN box to monitor whether CAN bus activity has stopped.
[0181] S608, the integrated control equipment monitors whether the current of the programmable power supply is less than the preset current.
[0182] S609, the integrated control system controls the MCU serial port to monitor whether serial printing has stopped.
[0183] S610: When CAN bus activity stops, current is less than the preset current, and serial port printing stops, the integrated control device determines that the vehicle terminal enters a sleep state.
[0184] In some embodiments, if the integrated control device fails to determine that the vehicle terminal has entered a sleep state within 5 minutes after the completion of step S606 above, it shall report a sleep abnormality of the vehicle terminal.
[0185] S611. After the vehicle terminal enters sleep mode, the integrated control device will randomly delay for 1-10 minutes before executing the wake-up process.
[0186] The above primarily describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, the vehicle-mounted terminal testing device or integrated control equipment includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0187] This application embodiment can, based on the above method, exemplarily divide the vehicle-mounted terminal testing device or integrated control device into functional modules. For example, the vehicle-mounted terminal testing device or integrated control device may include functional modules corresponding to each functional division, or two or more functions may be integrated into one processing module. The integrated modules can be implemented in hardware or as software functional modules. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.
[0188] Figure 7 This is a schematic diagram of a vehicle-mounted terminal testing device provided in an embodiment of this application. This device is deployed within the integrated control equipment of a vehicle-mounted terminal testing system and is used to execute the aforementioned vehicle-mounted terminal testing method. Figure 7 As shown, the vehicle-mounted terminal testing device 70 includes a processing unit 701.
[0189] The processing unit 701 is used to execute the test process of the vehicle terminal, which includes wake-up test, stress test and sleep test.
[0190] The processing unit 701 is also used to output test results, which include the number of tests, test content, and operating parameters of the vehicle terminal.
[0191] Optionally, the above-mentioned vehicle-mounted terminal testing device 70 may also include a transmitting unit 702.
[0192] The transmitting unit 702 is used to send a voltage adjustment control command to the programmable power supply so that the programmable power supply adjusts the voltage from 0V to 12V; send a power waveform control command to the programmable power supply, the power waveform control command including a preset power waveform so that the programmable power supply plays back the preset power waveform, the preset power waveform being the power waveform on the vehicle terminal side when the actual vehicle starts; and send a relay conduction command to the relay so that the relay connects the vehicle terminal.
[0193] Optionally, the aforementioned sending unit 702 is further configured to send a power waveform control command to the programmable power supply, the power waveform control command including a preset power waveform, so that the programmable power supply can replay the preset power waveform, the preset power waveform being the power waveform on the vehicle terminal side when the actual vehicle starts; and to send a relay activation command to the relay so that the relay can connect the vehicle terminal.
[0194] Optionally, the aforementioned transmitting unit 702 is further configured to send a bus wake-up command to the CAN box, so that the CAN box sends an unlock signal, a simulated door opening signal, and a simulated door closing signal to the vehicle terminal; send a power waveform control command to the programmable power supply, the power waveform control command including a preset power waveform, so that the programmable power supply plays back the preset power waveform, the preset power waveform being the power waveform on the vehicle terminal side when the actual vehicle starts; send a simulated power-on command to the CAN box, so that the CAN box sends a simulated power-on signal to the vehicle terminal; and send a relay conduction command to the relay, so that the control relay connects to the vehicle terminal.
[0195] Optionally, the aforementioned sending unit 702 is further configured to send a wake-up control command to the mobile terminal, so that the mobile terminal generates a wake-up signal and sends it to the CAN box; after the CAN box is woken up, it sends a power waveform control command to the programmable power supply, the power waveform control command including a preset power waveform, so that the programmable power supply plays back the preset power waveform, the preset power waveform being the power waveform on the vehicle terminal side when the actual vehicle starts; sends a simulated power-on command to the CAN box, so that the CAN box sends a simulated power-on signal to the vehicle terminal; and sends a relay conduction command to the relay, so that the control relay connects the vehicle terminal.
[0196] Optionally, the aforementioned processing unit 701 is also used to perform random operation tests on the vehicle terminal based on ADB.
[0197] The aforementioned sending unit 702 is further configured to send a random function test command to the CAN box after the random operation test has run for a first preset duration, so that the CAN box performs random function tests on the vehicle terminal.
[0198] Optionally, the aforementioned processing unit 701 is also used to interrupt the stress test.
[0199] The aforementioned transmitting unit 702 is also used to send an interrupt command to the CAN box to stop message playback and analog signal transmission, and to send an analog power-off signal to the vehicle terminal; to send a relay interrupt command to the relay to disconnect the relay; and to send a sleep command to the CAN box to send an analog door opening / closing signal and a locking signal to the vehicle terminal.
[0200] The aforementioned processing unit 701 is also used to determine that the vehicle terminal enters a sleep state when the CAN box monitoring bus activity stops, the programmable power supply monitoring current is less than the preset current, and the MCU serial port monitoring MCU printing stops.
[0201] Optionally, the processing unit 701 is further configured to determine the sleep duration of the vehicle terminal, the sleep duration being used to indicate the duration during which the vehicle terminal is in a sleep state; and to execute the test process of the vehicle terminal if the sleep duration is longer than a second preset duration.
[0202] Figure 8 This is a block diagram illustrating an integrated control device according to an exemplary embodiment. Figure 8 As shown, the integrated control device 80 includes, but is not limited to, a processor 801 and a memory 802.
[0203] The aforementioned memory 802 is used to store the executable instructions of the aforementioned processor 801. It is understood that the aforementioned processor 801 is configured to execute instructions to implement the vehicle-mounted terminal testing method in the above embodiments.
[0204] It should be noted that those skilled in the art will understand that Figure 8 The integrated control device structure shown herein does not constitute a limitation on the integrated control device; the integrated control device may include, but is not limited to, other types of integrated control devices. Figure 8 This may indicate more or fewer components, or combinations of certain components, or different component arrangements.
[0205] Processor 801 is the control center of the integrated control device. It connects various parts of the integrated control device via various interfaces and lines. By running or executing software programs and / or modules stored in memory 802, and by calling data stored in memory 802, it performs various functions and processes data of the integrated control device, thereby providing overall monitoring of the integrated control device. Processor 801 may include one or more processing units. Optionally, processor 801 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into processor 801.
[0206] The memory 802 can be used to store software programs and various data. The memory 802 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, application programs required by at least one functional module (such as a determination unit, processing unit, etc.), etc. Furthermore, the memory 802 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0207] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 802 including instructions, which can be executed by a processor 801 of an integrated control device 80 to implement the vehicle terminal testing method in the above embodiments.
[0208] In actual implementation, Figure 7 The functions of the processing unit 701 and the sending unit 702 can both be provided by Figure 8 The processor 801 calls the computer program stored in the memory 802 to implement the process. The specific execution process can be found in the description of the vehicle terminal testing method in the previous embodiment, and will not be repeated here.
[0209] Optionally, the computer-readable storage medium may be a non-transitory computer-readable storage medium, such as a read-only memory (ROM), random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device.
[0210] In an exemplary embodiment, this application also provides a test bench including the aforementioned integrated control device.
[0211] In an exemplary embodiment, this application also provides a computer program product including one or more instructions, which can be executed by the processor 801 of the integrated control device to complete the vehicle terminal testing method in the above embodiments.
[0212] It should be noted that when one or more instructions in the computer-readable storage medium or computer program product are executed by the processor of the integrated control device, they implement the various processes of the above-described vehicle terminal testing method embodiment and achieve the same technical effect as the above-described vehicle terminal testing method. To avoid repetition, they will not be described again here.
[0213] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0214] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0215] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the constituent units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0216] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0217] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, essentially, or the part that contributes to the prior art, or a complete or partial classification of the technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
[0218] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for testing vehicle-mounted terminals, characterized in that, An integrated control device for an on-board terminal testing system, the on-board terminal testing system further including an on-board terminal, a microcontroller unit (MCU) serial port, a programmable power supply, relays, a controller area network (CAN) box, and multiple functional devices. The integrated control device is connected to the on-board terminal via the CAN box, and also via the MCU serial port. The integrated control device is connected to the on-board terminal via the programmable power supply and the relays. The on-board terminal is connected to the multiple functional devices. The MCU serial port is used to monitor MCU printing. The on-board terminal testing system is deployed on a test bench. The programmable power supply powers the test bench. The relays simulate the switching of an accessory ACC power supply. The method includes: The wake-up test, stress test, and sleep test of the vehicle terminal are performed sequentially. Output test results, which include the number of tests, test content, and operating parameters of the vehicle terminal; The stress test includes: Random operation tests were performed on the vehicle terminal based on the Android Debug Bridge (ADB). After the random operation test runs for a first preset duration, a random function test command is sent to the CAN box so that the CAN box performs a random function test on the vehicle terminal. The hibernation test includes: The stress test is interrupted, and an interrupt command is sent to the CAN box to stop message playback and analog signal transmission, and an analog power-off signal is sent to the vehicle terminal. Send a relay interrupt command to the relay to cause the relay to disconnect; Send a sleep command to the CAN box so that the CAN box sends simulated door opening / closing signals and lock signals to the vehicle terminal; When the CAN box monitoring bus activity stops, the programmable power supply monitoring current is less than the preset current, and the MCU serial port monitoring MCU printing stops, the vehicle terminal is determined to enter a sleep state.
2. The vehicle-mounted terminal testing method according to claim 1, characterized in that, When the vehicle terminal is powered on for the first time, the wake-up test includes: Send a voltage adjustment control command to the programmable power supply so that the programmable power supply adjusts the voltage from 0V to 12V; Send a power waveform control command to the programmable power supply. The power waveform control command includes a preset power waveform, so that the programmable power supply can play back the preset power waveform. The preset power waveform is the power waveform of the vehicle terminal side when the actual vehicle starts. A relay activation command is sent to the relay to activate the vehicle terminal.
3. The vehicle-mounted terminal testing method according to claim 1, characterized in that, When the vehicle terminal is not powered on for the first time, the wake-up test includes: Send a power waveform control command to the programmable power supply. The power waveform control command includes a preset power waveform, so that the programmable power supply can play back the preset power waveform. The preset power waveform is the power waveform of the vehicle terminal side when the actual vehicle starts. A relay activation command is sent to the relay to activate the vehicle terminal.
4. The vehicle-mounted terminal testing method according to claim 1, characterized in that, The vehicle-mounted terminal testing system also includes a controller local area network (CAN) box. The integrated control device is also connected to the vehicle-mounted terminal through the CAN box, which is used to simulate control signal playback. When the vehicle terminal is not powered on for the first time, the wake-up test includes: Send a bus wake-up command to the CAN box so that the CAN box sends an unlock signal, a simulated door opening signal, and a simulated door closing signal to the vehicle terminal; Send a power waveform control command to the programmable power supply. The power waveform control command includes a preset power waveform, so that the programmable power supply can play back the preset power waveform. The preset power waveform is the power waveform of the vehicle terminal side when the actual vehicle starts. Send a simulated power-on command to the CAN box so that the CAN box sends a simulated power-on signal to the vehicle terminal; Send a relay activation command to the relay to control the relay to connect the vehicle terminal.
5. The vehicle-mounted terminal testing method according to claim 1, characterized in that, The vehicle terminal testing system also includes a controller local area network (CAN) box and a mobile terminal. The integrated control device is also connected to the vehicle terminal through the CAN box and the mobile terminal respectively. The CAN box is used to simulate control signal playback, and the mobile terminal is configured with an application for generating wake-up signals. When the vehicle terminal is not powered on for the first time, the wake-up test includes: A wake-up control command is sent to the mobile terminal, causing the mobile terminal to generate a wake-up signal and send it to the CAN box; After the CAN box is woken up, a power waveform control command is sent to the programmable power supply. The power waveform control command includes a preset power waveform so that the programmable power supply can play back the preset power waveform. The preset power waveform is the power waveform of the vehicle terminal side when the actual vehicle starts. Send a simulated power-on command to the CAN box so that the CAN box sends a simulated power-on signal to the vehicle terminal; Send a relay activation command to the relay to control the relay to connect the vehicle terminal.
6. The vehicle-mounted terminal testing method according to claim 1, characterized in that, The method further includes: The sleep duration of the vehicle terminal is determined, and the sleep duration is used to indicate the duration during which the vehicle terminal is in a sleep state; If the sleep duration exceeds the second preset duration, the test process of the vehicle terminal is executed.
7. The vehicle-mounted terminal testing method according to claim 1, characterized in that, The testing process also includes a device operation test. After the wake-up test is performed, the device operation test is performed. The device operation test is used to test whether the device connected to the vehicle terminal can operate normally.
8. A vehicle-mounted terminal testing system, characterized in that, The system includes an integrated control device, an in-vehicle terminal, a programmable power supply, a relay, a controller area network (CAN) box, a microcontroller unit (MCU) serial port, and a mobile terminal. The integrated control device is connected to the in-vehicle terminal via the programmable power supply, the relay, the CAN box, the MCU serial port, and the mobile terminal. The in-vehicle terminal testing system is deployed on a test bench. The integrated control device sequentially performs wake-up test, stress test and sleep test of the vehicle terminal through the programmable power supply, the relay, the CAN box, the MCU serial port and the mobile terminal; The integrated control device outputs test results, which include the number of tests, test content, and operating parameters of the vehicle terminal. The integrated control device performs random operation tests on the vehicle terminal based on the Android Debug Bridge (ADB). After the random operation test runs for a first preset time, the integrated control device sends a random function test command to the CAN box, so that the CAN box performs a random function test on the vehicle terminal. The integrated control device interrupts the pressure test and sends an interrupt command to the CAN box, causing the CAN box to stop message playback and analog signal transmission, and sends an analog power-off signal to the vehicle terminal. The integrated control device sends a relay interrupt command to the relay to cause the relay to disconnect; The integrated control device sends a sleep command to the CAN box, so that the CAN box sends simulated door opening / closing signals and lock signals to the vehicle terminal; When the CAN box monitoring bus activity stops, the programmable power supply monitoring current is less than the preset current, and the MCU serial port monitoring MCU printing stops, the integrated control device determines that the vehicle terminal enters a sleep state.
9. A vehicle-mounted terminal testing device, characterized in that, An integrated control device is deployed in an on-board terminal testing system. The on-board terminal testing system also includes an on-board terminal, a microcontroller unit (MCU) serial port, a programmable power supply, relays, a controller area network (CAN) box, and multiple functional devices. The integrated control device is connected to the on-board terminal via the CAN box and the MCU serial port. The integrated control device is also connected to the on-board terminal via the programmable power supply and the relays. The on-board terminal is connected to the multiple functional devices. The MCU serial port is used to monitor MCU printing. The on-board terminal testing system is deployed on a test bench. The programmable power supply powers the test bench, and the relays simulate the switching of the accessory ACC power supply. The on-board terminal testing device includes a processing unit and a transmitting unit. The processing unit is used to sequentially perform wake-up test, stress test and sleep test of the vehicle terminal; The processing unit is also used to output test results, which include the number of tests, test content, and operating parameters of the vehicle terminal. The processing unit is also used to perform random operation tests on the vehicle terminal based on the Android Debug Bridge (ADB). The sending unit is used to send a random function test command to the CAN box after the random operation test has run for a first preset time, so that the CAN box can perform random function tests on the vehicle terminal. The processing unit is also used to interrupt the stress test; The transmitting unit is also used to send an interrupt command to the CAN box so that the CAN box stops message playback and analog signal transmission, and sends an analog power off signal to the vehicle terminal; The sending unit is also configured to send a relay interrupt command to the relay so that the relay is disconnected; The transmitting unit is also used to send a sleep command to the CAN box, so that the CAN box sends a simulated door opening / closing signal and a locking signal to the vehicle terminal. The processing unit is also used to determine that the vehicle terminal enters a sleep state when the CAN box monitoring bus activity stops, the programmable power supply monitoring current is less than a preset current, and the MCU serial port monitoring MCU printing stops.
10. An integrated control device, characterized in that, Deployed in an in-vehicle terminal testing system, including memory and processor; The memory and the processor are coupled; The memory is used to store computer program code, which includes computer instructions; When the processor executes the computer instructions, the integrated control device performs the vehicle terminal testing method as described in any one of claims 1-7.
11. A computer-readable storage medium storing instructions, characterized in that, When the instruction is executed on the integrated control device, the integrated control device performs the vehicle terminal testing method as described in any one of claims 1-7.
12. A test bench, characterized in that, Includes the integrated control device as described in claim 10.
Citation Information
Patent Citations
CAN bus test system and test method
CN105404568A
Automatic testing device and method for dormancy and awakening of automobile TBOX
CN114338251A
Automatic testing device and method for vehicle-mounted equipment
CN114878186A