Test system and test method of vehicle-mounted duplex screen and storage medium
By providing a vehicle-mounted dual-screen testing system including resistive simulation unit, touch simulation unit, CAN message simulation unit and display unit, the problems of incomplete testing, poor flexibility and insufficient linkage testing in the prior art are solved, and efficient, accurate and automated testing of the vehicle-mounted dual-screen system is achieved, and testing efficiency and product quality are improved.
Patent Information
- Application Number
- CN202411991737.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-05-02
AI Technical Summary
The existing vehicle dual-screen system test scenarios rely on manual testing, making it difficult to fully cover various functions and interaction methods such as touch, display, sensor feedback, etc. The test efficiency is low, the reliability is poor, and the linkage between the central control screen and the instrument panel cannot be effectively tested.
It provides a test system with a dual-screen on-board vehicle, including a test module, which includes at least a resistance simulation unit, a touch simulation unit, a CAN message simulation unit and a display unit. Through these modules, it is possible to automatically simulate user touch signals, target display data and CAN messages, output test screens, and realize comprehensive and automated testing of the vehicle dual-screen system.
Through automated and flexible testing design, the vehicle dual-mounted screen can be fully tested efficiently and accurately, ensuring its stability, reliability and responsiveness in actual use, greatly improving the testing efficiency and product quality, and solving the problem of insufficient linkage testing.
Smart Images

Figure CN119917355A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of testing technology, and in particular to a testing system, testing method and storage medium for a vehicle-mounted dual-screen. Background Art
[0002] The dual-screen in-vehicle refers to two side-by-side display screens installed in the car cockpit, which are usually used to provide richer information display and more convenient operation experience. The dual-screen mainly includes a main display screen (usually the central control screen) and a sub-display screen (usually the instrument panel display screen). The main display screen is located between the driver and the co-driver, and is mainly used for navigation, multimedia control, air conditioning adjustment and other functions. The sub-display screen is located behind the steering wheel and is used to display information such as vehicle speed, fuel consumption, and navigation path.
[0003] Most of the existing vehicle dual-screen system test scenarios rely on manual testing, which makes it difficult to fully cover multiple functions and interaction methods such as touch, display, and sensor feedback, and results in low test efficiency and poor reliability. Traditional testing tools often lack systematic automated testing functions, making it difficult to conduct complex usage scenario testing and long-term stress testing.
[0004] In addition, the testing tools in the prior art often focus on verifying the functions of the central control screen or the instrument panel separately, and cannot effectively test the linkage between the two screen systems. In actual applications, the in-vehicle dual-screen system requires the central control screen and the instrument panel to work together, and separate testing cannot fully verify the stability and reliability of the system. Summary of the invention
[0005] In order to solve the above-mentioned technical problems, the present application provides a vehicle-mounted dual-screen testing system, testing method and storage medium.
[0006] Specifically, the present application provides a vehicle-mounted dual-screen test system, which includes at least a test module, and the test module includes at least a resistance simulation unit, a touch simulation unit, a CAN message simulation unit and a display unit; the resistance simulation unit includes a plurality of resistance array units connected via an SPI daisy chain to simulate the input of target display data based on the resistance value of the resistance array unit; the touch simulation unit includes at least a plurality of capacitor nodes to simulate user touch signals based on the capacitor nodes; the CAN message simulation unit is used to send target display data to the display unit in combination with the resistance simulation unit; the display unit is used to output a corresponding test screen based on the user touch signal and the target display data.
[0007] The above technical solution solves the problems of incomplete testing, poor flexibility, and inability to simulate real environmental conditions in the prior art. Through automated and flexible test design, the vehicle-mounted dual screen can be comprehensively tested efficiently and accurately to ensure its stability, reliability, and responsiveness in actual use, greatly improving test efficiency and product quality.
[0008] Among them, this application provides a comprehensive testing framework that can test the functions of the dual screen, including touch operation, display content, sensor response, etc. Through automated and modular testing, it reduces the scenarios where testers need to intervene manually, and can efficiently and accurately perform verification and stress testing of various functions, solving the inefficiency of manual testing.
[0009] At the same time, this application adopts a modular resistance control solution, which connects multiple resistance array units through SPI daisy chain, can realize dynamic range programmable resistance simulation, and accurately control the changes in the input of target display data (such as oil level, temperature, button and other sensor data). Through this technology, high-precision dynamic testing can be achieved to meet the needs of different ranges and different accuracies.
[0010] In addition, the present invention supports linkage testing between two screens in a dual screen, which can fully verify the accuracy and real-time performance of the system linkage, and solves the problem of insufficient linkage testing in the prior art.
[0011] Furthermore, the touch simulation unit also includes a relay; and the user touch signal at least includes a user single-point touch signal and a user multi-point touch signal.
[0012] In the above technical solution, through the control of the relay, the user's single-point touch and multi-point touch operations on the screen can be simulated, which is crucial for testing the multi-touch function of the screen, and then more comprehensively testing the responsiveness and accuracy of the touch screen to ensure that the system can correctly identify and respond under different touch conditions; automated simulation of touch operations can reduce human errors, ensure the consistency of each test, and thus improve the reliability of the test results.
[0013] Furthermore, the relay is used to control a capacitor node at a preset position and activate the capacitor node at a preset timing to simulate a single-point touch signal of a user.
[0014] In the above technical solution, the capacitor node at a specific position is controlled by a relay, which can accurately simulate the user's single-point touch operation at a specific position on the screen. The control of the preset position and preset timing allows the test environment to be accurately reproduced, ensuring that the parameters and conditions of each test are consistent, thereby improving the repeatability and reliability of the test; the use of relays allows the single-point touch test to be automated without manual operation, greatly improving the test efficiency.
[0015] When performing single-point touch testing manually, the test results may be biased due to inconsistent gestures or different touch forces. The capacitance node simulation controlled by relays can eliminate these human factors and ensure the accuracy and consistency of the test results. In addition, different application scenarios may require different touch positions and timings. The flexible control of relays enables the test system to adapt to various specific test requirements, including touch response tests in different areas, touch tests at different time points, etc.
[0016] Furthermore, the relay is also used to simultaneously control a plurality of capacitor nodes at different positions, and activate the capacitor nodes at the same preset timing to simulate a user's multi-point touch signal.
[0017] In the above technical scheme, the relay can simultaneously control multiple capacitor nodes at different positions and activate them at the same preset timing, thereby accurately simulating the user's multi-touch operation on the screen; the multi-touch test can cover more interactive scenarios, such as complex gestures such as two-finger zooming and three-finger sliding, further improving the comprehensiveness and effectiveness of the test. By simulating multi-point touch, the stability and responsiveness of the system under these complex operations can be verified; the multi-node control function of the relay enables the multi-point touch test to be performed automatically without manual operation, which means that the test system can automatically perform multi-touch operations according to preset test scripts and timings, greatly improving the test efficiency; the relay can control capacitor nodes at multiple different positions, so that the test system can flexibly adjust the position and timing of multi-point touches according to test requirements, which greatly enhances the adaptability and scalability of the test system and can meet a variety of test scenarios.
[0018] Furthermore, the test system also includes a communication control module, which includes a main control unit and multiple communication interfaces; the main control unit is used to control the resistance simulation unit and the relay to perform corresponding tasks, and connect the display unit and the resistance simulation unit and the relay through the communication interface.
[0019] In the above technical solution, the main control unit serves as the center of the test system and is responsible for coordinating and controlling the work of each module. It can accurately control the operation of the resistance simulation unit and relays to ensure that each operation during the test is performed according to the predetermined timing and parameters.
[0020] In addition, the communication interface includes but is not limited to serial port, RS-232, RS-485 and CAN bus.
[0021] Furthermore, the test system also includes a power monitoring module; the power monitoring module is used to monitor the power status of the resistance simulation unit, the touch simulation unit, the CAN message simulation unit, the display unit and the communication control module.
[0022] In the above technical solution, the power monitoring module can monitor the power supply of each module in real time, including parameters such as voltage and current, to ensure the normal power supply of each part; stable power supply is the key to ensuring the normal operation of the test system, and the power monitoring module helps to maintain the stability of the power supply and reduce test interruptions or data errors caused by power problems.
[0023] Further, based on the same concept, the present application also provides a test method for the test system of the vehicle-mounted dual screen, comprising:
[0024] The input of target display data is simulated through a resistance simulation unit, and a user touch signal is simulated through a touch simulation unit; the target display data is sent to the display unit through a CAN message simulation unit in combination with the resistance simulation unit; and a corresponding test screen is output through the display unit based on the user touch signal and the target display data.
[0025] In the above technical scheme, the method combines resistance simulation, touch simulation and CAN message simulation, which can comprehensively cover the touch operation, display content, sensor response and other functions of the vehicle-mounted dual screen, ensuring the stability and reliability of the system in various usage scenarios; through automatic simulation of display data, touch signals and CAN messages, the test method can efficiently perform complex test tasks, reduce manual intervention and improve test efficiency; the combination of resistance simulation unit and CAN message simulation unit can accurately simulate the display data input and communication process in the actual vehicle environment, ensuring that the test results are highly authentic and reliable; by outputting the test screen through the display unit, the response and performance of the system after receiving the display data and touch signals can be intuitively verified, ensuring that the overall performance of the system meets expectations.
[0026] In addition, this method can flexibly adjust the simulated display data, touch signals and CAN messages according to different test requirements to adapt to various test scenarios and conditions. Through comprehensive testing methods, it can discover and solve potential problems in the vehicle-mounted dual-screen system and improve product quality and user experience.
[0027] Furthermore, the user touch signal includes at least a user single-point touch signal and a user multi-point touch signal, and the simulating the user touch signal by the touch simulation unit includes: controlling a capacitor node at a preset position by a relay, and activating the capacitor node at a preset timing to simulate the user single-point touch signal.
[0028] In the above technical solution, the relay can accurately control a single capacitor node at a preset position and activate it at a preset timing, thereby simulating the user's single-point touch operation on the screen, which helps to verify the display unit's response and processing capabilities to single-point touch; automatically activating a single capacitor node can repeat single-point touch tests in a short time, improving test efficiency; at the same time, single-point touch simulation can be performed on specific areas on the screen to verify the touch sensitivity and response time of these areas.
[0029] Compared with manual touch, relay-controlled simulated touch is more precise and consistent, reducing errors caused by human factors and improving the reliability of test results.
[0030] Furthermore, simulating a user touch signal through a touch simulation unit includes: controlling a plurality of capacitor nodes at different positions simultaneously through a relay, and activating the capacitor nodes at the same preset timing to simulate a user multi-touch signal.
[0031] In the above technical solution, the relay can control multiple capacitor nodes at the same time and activate them at the same preset timing, thereby accurately simulating the user's multi-touch operation on the screen, which helps to verify the display unit's response and processing capabilities to multi-touch; by simulating multi-touch, the multi-touch function of the vehicle-mounted dual-screen system can be fully tested, including gesture recognition, zooming, rotation and other complex operations.
[0032] Furthermore, based on the same concept, the present application also provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the testing method of the vehicle-mounted dual-screen testing system when running.
[0033] Compared with the prior art, the beneficial effects of this application are:
[0034] The vehicle-mounted dual-screen test system described in the present application includes at least a test module; the test module includes at least a resistance simulation unit, a touch simulation unit, a CAN message simulation unit and a display unit; the resistance simulation unit includes a plurality of resistance array units connected by an SPI daisy chain to simulate the input of target display data based on the resistance value of the resistance array unit; the touch simulation unit includes at least a plurality of capacitor nodes to simulate user touch signals based on the capacitor nodes; the CAN message simulation unit is used to send target display data to the display unit in combination with the resistance simulation unit; the display unit is used to output a corresponding test screen based on the user touch signal and the target display data. Through automated and flexible test design, the present application can efficiently and accurately conduct comprehensive tests on the vehicle-mounted dual-screen, ensure its stability, reliability and responsiveness in actual use, and greatly improve the test efficiency and product quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 This is a framework diagram of the vehicle-mounted dual-screen test system described in this application.
[0036] Figure 2 This is a schematic diagram of multiple resistor array units connected via an SPI daisy chain as described in this application.
[0037] Figure 3 This is a flow chart of the testing method of the vehicle-mounted dual-screen testing system described in this application. DETAILED DESCRIPTION
[0038] The following is a further detailed description of a vehicle-mounted dual-screen testing system, testing method and storage medium of the present application in conjunction with specific embodiments and drawings.
[0039] See also Figure 1 The present application provides a vehicle-mounted dual-screen test system, which includes at least a test module, wherein the test module includes at least a resistance simulation unit, a touch simulation unit, a CAN message simulation unit and a display unit; the resistance simulation unit includes a plurality of resistance array units (such as Figure 2 As shown), to simulate the input of target display data based on the resistance value of the resistor array unit; the touch simulation unit includes at least a plurality of capacitor nodes, to simulate the user touch signal based on the capacitor nodes; the CAN message simulation unit is used to send the target display data to the display unit in combination with the resistor simulation unit; the display unit is used to output a corresponding test screen based on the user touch signal and the target display data.
[0040] In some embodiments, the resistance simulation unit, touch simulation unit, CAN message simulation unit and display unit are first connected through a suitable interface to ensure normal communication between the units, and then the system is initialized through the main control MCU to set the default parameters of each unit, such as the initial value of the resistance array, the default position of the touch simulation, etc.
[0041] Furthermore, for example, the system can simulate the fuel input of the meter and simulate the reduction of the fuel tank fuel volume in conjunction with the CAN message. Specifically, as the amount of fuel injected in the CAN message increases, the precisely controlled resistor will gradually increase, thereby reducing the actual fuel volume detected by the meter, thereby fully simulating the fuel consumption of the actual vehicle. In addition, by precisely controlling the resistance value of the resistor through the serial port, it is possible to simulate external photoresistors and thermistors, providing an accurate test scenario for the central control display without relying on physical quantities such as real brightness or temperature changes.
[0042] The touch simulation unit may simulate corresponding touch instructions, such as single-point touch or multi-point touch, based on the capacitive nodes.
[0043] The display unit outputs different test screens through the built-in Panel test function of the chip, and records the screen of each test and the corresponding test parameters (i.e., the resistance value of the resistor array unit, user touch signal, target display data, etc.), and then generates a detailed test report.
[0044] It should also be noted that the CAN message simulation unit simulates the host sending CAN messages to the instrument through the MCU and CAN transceiver, covering driving information such as vehicle speed, rotation speed, water temperature, fuel consumption, and vehicle functions such as seat belt status, alarm information, and multimedia system. The system can realize multi-round and multi-scenario randomized testing through software configuration, flexibly simulate various test environments, and support related tests of electrical linkage with other units.
[0045] The above technical solution solves the problems of incomplete testing, poor flexibility, and inability to simulate real environmental conditions in the prior art. Through automated and flexible test design, the vehicle-mounted dual screen can be comprehensively tested efficiently and accurately to ensure its stability, reliability, and responsiveness in actual use, greatly improving test efficiency and product quality.
[0046] Among them, this application provides a comprehensive testing framework that can test the functions of the dual screen, including touch operation, display content, sensor response, etc. Through automated and modular testing, it reduces the scenarios where testers need to intervene manually, and can efficiently and accurately perform verification and stress testing of various functions, solving the inefficiency of manual testing.
[0047] At the same time, this application adopts a modular resistance control solution, which connects multiple resistance array units through SPI daisy chain, can realize dynamic range programmable resistance simulation, and accurately control the changes in the input of target display data (such as oil level, temperature, button and other sensor data). Through this technology, high-precision dynamic testing can be achieved to meet the needs of different ranges and different accuracies.
[0048] In addition, the present invention supports linkage testing between two screens in a dual screen, which can fully verify the accuracy and real-time performance of the system linkage, and solves the problem of insufficient linkage testing in the prior art.
[0049] Furthermore, the touch simulation unit also includes a relay; and the user touch signal at least includes a user single-point touch signal and a user multi-point touch signal.
[0050] In the above technical solution, through the control of the relay, the user's single-point touch and multi-point touch operations on the screen can be simulated, which is crucial for testing the multi-touch function of the screen, and then more comprehensively testing the responsiveness and accuracy of the touch screen to ensure that the system can correctly identify and respond under different touch conditions; automated simulation of touch operations can reduce human errors, ensure the consistency of each test, and thus improve the reliability of the test results.
[0051] Furthermore, the relay is used to control a capacitor node at a preset position and activate the capacitor node at a preset timing to simulate a single-point touch signal of a user.
[0052] In some embodiments, single-point long-term touch electrical simulation is achieved by controlling the persistent touch signal of the capacitor node to simulate the situation where the user presses and holds a button or area for a long time, and tests the stability and response of the screen under continuous touch. The screen is kept in a specified area for a period of time to simulate the long-term contact of the finger with the screen. The relay controls the switching of the current to continuously provide a "touch" signal to the screen to ensure that the screen always remains responsive during the test.
[0053] In the above technical solution, the capacitor node at a specific position is controlled by a relay, which can accurately simulate the user's single-point touch operation at a specific position on the screen. The control of the preset position and preset timing allows the test environment to be accurately reproduced, ensuring that the parameters and conditions of each test are consistent, thereby improving the repeatability and reliability of the test; the use of relays allows the single-point touch test to be automated without manual operation, greatly improving the test efficiency.
[0054] When performing single-point touch testing manually, the test results may be biased due to inconsistent gestures or different touch forces. The capacitance node simulation controlled by relays can eliminate these human factors and ensure the accuracy and consistency of the test results. In addition, different application scenarios may require different touch positions and timings. The flexible control of relays enables the test system to adapt to various specific test requirements, including touch response tests in different areas, touch tests at different time points, etc.
[0055] Furthermore, the relay is also used to simultaneously control a plurality of capacitor nodes at different positions, and activate the capacitor nodes at the same preset timing to simulate a user's multi-point touch signal.
[0056] In some embodiments, the multi-point long-time touch electrical simulation is the same as the single-point long-time touch electrical simulation, and touch signals are sent out simultaneously through multiple capacitor nodes to simulate multiple fingers touching the screen at the same time; multiple capacitor nodes are controlled by relays or switches, and these nodes are activated at different positions and timings to achieve a multi-point touch effect.
[0057] In the above technical scheme, the relay can simultaneously control multiple capacitor nodes at different positions and activate them at the same preset timing, thereby accurately simulating the user's multi-touch operation on the screen; the multi-touch test can cover more interactive scenarios, such as complex gestures such as two-finger zooming and three-finger sliding, further improving the comprehensiveness and effectiveness of the test. By simulating multi-point touch, the stability and responsiveness of the system under these complex operations can be verified; the multi-node control function of the relay enables the multi-point touch test to be performed automatically without manual operation, which means that the test system can automatically perform multi-touch operations according to preset test scripts and timings, greatly improving the test efficiency; the relay can control capacitor nodes at multiple different positions, so that the test system can flexibly adjust the position and timing of multi-point touches according to test requirements, which greatly enhances the adaptability and scalability of the test system and can meet a variety of test scenarios.
[0058] Furthermore, the test system also includes a communication control module, which includes a main control unit and multiple communication interfaces; the main control unit is used to control the resistance simulation unit and the relay to perform corresponding tasks, and connect the display unit and the resistance simulation unit and the relay through the communication interface.
[0059] In the above technical solution, the main control unit serves as the center of the test system and is responsible for coordinating and controlling the work of each module. It can accurately control the operation of the resistance simulation unit and relays to ensure that each operation during the test is performed according to the predetermined timing and parameters.
[0060] In addition, the communication interface includes but is not limited to a serial port, RS-232, RS-485 and a CAN bus.
[0061] Among them, the system has a driver layer, including driver support for CAN, LIN and UART communication protocols.
[0062] CAN driver: responsible for realizing CAN bus communication, including sending and receiving messages, using standard and extended frame formats to ensure reliable transmission of data between different devices.
[0063] LIN driver: realizes communication with LIN bus devices, supports master-slave communication protocol, and is used in low-speed control application scenarios, such as vehicle-mounted electronic equipment.
[0064] UART driver: provides serial communication function, supports serial transmission of data, and is suitable for data exchange with other peripheral devices or modules, such as debugging, data acquisition, etc.
[0065] Furthermore, the test system also includes a power monitoring module; the power monitoring module is used to monitor the power status of the resistance simulation unit, the touch simulation unit, the CAN message simulation unit, the display unit and the communication control module.
[0066] In the above technical solution, the power monitoring module can monitor the power supply of each module in real time, including parameters such as voltage and current, to ensure the normal power supply of each part; stable power supply is the key to ensuring the normal operation of the test system, and the power monitoring module helps to maintain the stability of the power supply and reduce test interruptions or data errors caused by power problems.
[0067] In some feasible implementations, scenario one is a dashboard display test: the value of the resistor array unit is adjusted through the SPI protocol to simulate data input such as vehicle speed, rotational speed, and water temperature. The CAN message simulation unit generates a CAN message containing the above data, and the generated CAN message is sent to the display unit through the CAN bus. The dashboard screen output by the display unit is further obtained to check whether the data is presented accurately.
[0068] Scenario 2 is the touch function test: by touching the capacitance nodes of the simulation unit, single-point and multi-point touch signals are simulated respectively to obtain the response time of the display unit under different touch signals, such as button pressing, menu switching, etc., and simulate long-term touch to check the stability and response speed of the screen.
[0069] Scenario three is the linkage test: adjust the resistance value of the resistor array unit to simulate the increase in temperature inside the car, generate a CAN message containing the increase in temperature inside the car, and simulate the user clicking the temperature increase button through the touch simulation unit to obtain whether the temperature information output by the display unit is synchronized.
[0070] Further, based on the same concept, see Figure 3 The present application also provides a test method for the vehicle-mounted dual-screen test system, comprising:
[0071] S1: Simulate the input of target display data through the resistance simulation unit, and simulate the user touch signal through the touch simulation unit.
[0072] S2: Sending target display data to the display unit through a CAN message simulation unit in combination with the resistance simulation unit.
[0073] S3: Outputting a corresponding test picture based on the user touch signal and the target display data through a display unit.
[0074] Among them, the testing method is applied to the above-mentioned vehicle-mounted dual-screen testing system. Its specific implementation method and its implementation method can refer to all or part of the steps of the method described in each embodiment of the vehicle-mounted dual-screen testing system, and will not be repeated here.
[0075] In the above technical scheme, the method combines resistance simulation, touch simulation and CAN message simulation, which can comprehensively cover the touch operation, display content, sensor response and other functions of the vehicle-mounted dual screen, ensuring the stability and reliability of the system in various usage scenarios; through automatic simulation of display data, touch signals and CAN messages, the test method can efficiently perform complex test tasks, reduce manual intervention and improve test efficiency; the combination of resistance simulation unit and CAN message simulation unit can accurately simulate the display data input and communication process in the actual vehicle environment, ensuring that the test results are highly authentic and reliable; by outputting the test screen through the display unit, the response and performance of the system after receiving the display data and touch signals can be intuitively verified, ensuring that the overall performance of the system meets expectations.
[0076] In addition, this method can flexibly adjust the simulated display data, touch signals and CAN messages according to different test requirements to adapt to various test scenarios and conditions. Through comprehensive testing methods, it can discover and solve potential problems in the vehicle-mounted dual-screen system and improve product quality and user experience.
[0077] Furthermore, the user touch signal includes at least a user single-point touch signal and a user multi-point touch signal, and the simulating the user touch signal by the touch simulation unit in S1 includes: controlling a capacitor node at a preset position by a relay, and activating the capacitor node at a preset timing to simulate the user single-point touch signal.
[0078] In the above technical solution, the relay can accurately control a single capacitor node at a preset position and activate it at a preset timing, thereby simulating the user's single-point touch operation on the screen, which helps to verify the display unit's response and processing capabilities to single-point touch; automatically activating a single capacitor node can repeat single-point touch tests in a short time, improving test efficiency; at the same time, single-point touch simulation can be performed on specific areas on the screen to verify the touch sensitivity and response time of these areas.
[0079] Compared with manual touch, relay-controlled simulated touch is more precise and consistent, reducing errors caused by human factors and improving the reliability of test results.
[0080] Furthermore, the simulating of the user touch signal by the touch simulation unit in S1 includes: controlling a plurality of capacitor nodes at different positions simultaneously by a relay, and activating the capacitor nodes at the same preset timing to simulate the user multi-touch signal.
[0081] In the above technical solution, the relay can control multiple capacitor nodes at the same time and activate them at the same preset timing, thereby accurately simulating the user's multi-touch operation on the screen, which helps to verify the display unit's response and processing capabilities to multi-touch; by simulating multi-touch, the multi-touch function of the vehicle-mounted dual-screen system can be fully tested, including gesture recognition, zooming, rotation and other complex operations.
[0082] Furthermore, based on the same concept, the present application also provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the testing method of the vehicle-mounted dual-screen testing system when running.
[0083] In some embodiments, the storage medium stores several computer programs for causing a device to execute all or part of the steps of the method described in various embodiments of the present application.
[0084] The medium may include a U disk, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk, and other media that can store program codes.
[0085] In summary, the present application provides a vehicle-mounted dual-screen test system, test method and storage medium; the vehicle-mounted dual-screen test system includes at least a test module; the test module includes at least a resistance simulation unit, a touch simulation unit, a CAN message simulation unit and a display unit; the resistance simulation unit includes a plurality of resistance array units connected by an SPI daisy chain to simulate the input of target display data based on the resistance value of the resistance array unit; the touch simulation unit includes at least a plurality of capacitor nodes to simulate user touch signals based on the capacitor nodes; the CAN message simulation unit is used to send target display data to the display unit in combination with the resistance simulation unit; the display unit is used to output a corresponding test screen based on the user touch signal and the target display data. Through automated and flexible test design, the present application can efficiently and accurately conduct comprehensive tests on the vehicle-mounted dual screen, ensure its stability, reliability and responsiveness in actual use, and greatly improve the test efficiency and product quality.
[0086] Although example embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above example embodiments are merely exemplary and are not intended to limit the scope of the present application to this. Those of ordinary skill in the art may make various changes and modifications therein without departing from the scope and spirit of the present application. All these changes and modifications are intended to be included within the scope of the present application as required by the appended claims.
[0087] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0088] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed.
[0089] The various component embodiments of the present application can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all functions of some modules according to the embodiments of the present application. The application can also be implemented as a device program (e.g., computer program and computer program product) for executing a part or all of the methods described herein. Such a program implementing the present application can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0090] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0091] Although the description of the present application is carried out in conjunction with the above specific embodiments, it is obvious that those skilled in the art can make many substitutions, modifications and changes based on the above content. Therefore, all such substitutions, improvements and changes are included in the spirit and scope of the appended claims.
Claims
1. A vehicle-mounted dual-screen test system, characterized in that: At least includes a test module, and the test module at least includes a resistance simulation unit, a touch simulation unit, a CAN message simulation unit and a display unit; The resistance simulation unit includes a plurality of resistance array units connected by an SPI daisy chain to simulate input of target display data based on resistance values of the resistance array units; The touch simulation unit at least includes a plurality of capacitance nodes to simulate a user touch signal based on the capacitance nodes; The CAN message simulation unit is used to send target display data to the display unit in combination with the resistance simulation unit; The display unit is used to output a corresponding test screen based on the user touch signal and the target display data.
2. The vehicle-mounted dual-screen test system according to claim 1 is characterized in that: The touch simulation unit further includes a relay; and the user touch signal at least includes a user single-point touch signal and a user multi-point touch signal.
3. The vehicle-mounted dual-screen test system according to claim 2 is characterized in that: The relay is used to control a capacitor node at a preset position and activate the capacitor node at a preset timing to simulate a single-point touch signal of a user.
4. The vehicle-mounted dual-screen test system according to claim 2 is characterized in that: The relay is also used to simultaneously control a plurality of capacitor nodes at different positions and activate the capacitor nodes at the same preset timing to simulate a multi-point touch signal of a user.
5. The vehicle-mounted dual-screen test system according to claim 2 is characterized in that: The test system further comprises a communication control module, wherein the communication control module comprises a main control unit and a plurality of communication interfaces; The main control unit is used to control the resistance simulation unit and the relay to perform corresponding tasks, and connect the display unit with the resistance simulation unit and the relay through the communication interface.
6. The vehicle-mounted dual-screen test system according to claim 5 is characterized in that: The test system also includes a power supply monitoring module; The power monitoring module is used to monitor the power status of the resistance simulation unit, the touch simulation unit, the CAN message simulation unit, the display unit and the communication control module.
7. A test method for a vehicle-mounted dual-screen test system according to any one of claims 1 to 6, characterized in that: The following steps are involved: Simulate the input of target display data through the resistance simulation unit, and simulate the user touch signal through the touch simulation unit; Sending target display data to the display unit through a CAN message simulation unit in combination with the resistance simulation unit; And, a corresponding test picture is outputted through a display unit based on the user touch signal and the target display data.
8. The testing method according to claim 7, characterized in that: The user touch signal includes at least a user single-point touch signal and a user multi-point touch signal, and the simulating the user touch signal by the touch simulation unit includes: A capacitor node at a preset position is controlled by a relay, and the capacitor node is activated at a preset timing to simulate a single-point touch signal of a user.
9. The testing method according to claim 7, characterized in that: The simulating a user touch signal by a touch simulation unit includes: A plurality of capacitor nodes at different positions are controlled simultaneously by relays, and the capacitor nodes are activated at the same preset timing to simulate a multi-point touch signal of a user.
10. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to execute the test method of the vehicle-mounted dual-screen test system as claimed in claim 7 when running.