Intelligent cockpit automatic test system and test method

By designing the intelligent cockpit automation test system, using the cooperation of JENKINS automation server and test slaves and equipment, the problem of low test automation of smart cockpit controllers is solved, the testing efficiency and automation level is improved, and the failure rate is reduced and the problem is solved. The cost of the problem.

CN119396717APending Publication Date: 2025-02-07YIBIN COWIN AUTO CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411409396.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-10
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

The existing smart cockpit controller test requires a lot of time and labor, has low degree of automation and low test efficiency.

Method used

Design an intelligent cockpit automated testing system, including test host, server, test slave, test equipment and smart cockpit controller, and assign automatic testing tasks through JENKINS automation server, test slave and test equipment cooperate to automatically complete test and test The output of the result.

Benefits of technology

It improves the automation and testing efficiency of smart cockpit controller testing, reduces the incidence of failure, and detects problems as early as possible through daily construction, reducing the cost of solving problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119396717A_ABST
    Figure CN119396717A_ABST
Patent Text Reader

Abstract

The invention provides an intelligent cabin automatic test system and test method, and belongs to the technical field of automobile controller test, and the system comprises a test host, a server, a test slave, a test device and an intelligent cabin controller. The test host outputs a test task start instruction to the server, the server transmits a software upgrade package to the test slave, the test slave transmits the software upgrade package to the intelligent cabin controller, and the intelligent cabin controller performs software upgrade; after software upgrading of the intelligent cabin controller is completed, the server inputs a test task allocation instruction to the test slave, the test slave outputs a test instruction to the intelligent cabin controller, and the test slave outputs a control instruction to the intelligent cabin controller through the test equipment for testing; and the intelligent cabin controller outputs a test result to the test slave. According to the invention, the automation degree of cabin controller testing is improved, the testing efficiency is improved, and the labor cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of automobile controller testing, and in particular, relates to an intelligent cockpit automatic testing system and a testing method. Background Art

[0002] The smart cockpit controller needs to be tested before leaving the factory and after software upgrades. From testing the smart cockpit software functions, performance testing under different loads and input and output interface testing to the generation of test reports, it all takes a lot of time and technicians. Test efficiency and test automation are important issues in smart cockpit controller testing.

[0003] Chinese patent 108227669A discloses an automatic testing device and method for a new energy vehicle controller, which is composed of a tooling vehicle controller for realizing the interaction and modification of vehicle model data and the interactive connection with the vehicle controller under test, a test module for program burning, test mode switching and test data interaction between two vehicle controllers, a host computer for test process detection control storage and a motor test bench for test condition simulation; the method first initializes the system, the host computer sends a control command to start the vehicle controller under test, and the vehicle controller under test controls the motor operation through the motor controller of the motor test bench; the test project is started, and the host computer displays and stores the data of each test project.

[0004] This patent can automate the testing of a car's controller, but the construction of the test tasks and the processing of the data still need to be done manually, which will result in a low degree of automation and low test efficiency. Summary of the invention

[0005] The present invention aims to provide an intelligent cockpit automated testing system and testing method, so as to achieve the technical purpose of improving the automation level and testing efficiency of the intelligent cockpit controller test.

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

[0007] The present invention provides an intelligent cockpit automatic test system, comprising a test host, a server, a test slave, a test device and an intelligent cockpit controller, wherein the output end of the test host is connected to the input end of the server, the output end of the server is connected to the input end of the test slave, the output end of the test slave is connected to the input end of the intelligent cockpit controller, the output end of the test slave is connected to the input end of the test device, the output end of the test device is connected to the input end of the intelligent cockpit controller, and the output end of the intelligent cockpit controller is connected to the input end of the test slave.

[0008] The test host outputs a test task start instruction to the server, the server outputs a software upgrade package and a test task allocation instruction to the test slave, the test slave outputs a software upgrade package and a test instruction to the smart cockpit controller, the test slave outputs a control instruction to the test device, the test device outputs a control instruction to the smart cockpit controller, and the smart cockpit controller outputs a test result to the test slave.

[0009] The test equipment includes a programmable power supply and a bus test tool.

[0010] The test slave is connected to the intelligent cockpit controller via a USB universal serial bus, and the output end of the test slave is connected to the input end of the test equipment via an RS232 bus.

[0011] The present invention provides an intelligent cockpit automatic testing method:

[0012] Step 1: The test host outputs the test task start instruction to the server, the server transmits the software upgrade package to the test slave, the test slave transmits the software upgrade package to the smart cockpit controller, and the smart cockpit controller performs the software upgrade;

[0013] Step 2: After the smart cockpit controller software upgrade is completed, the server inputs the test task allocation instruction to the test slave, the test slave outputs the test instruction to the smart cockpit controller, and the test slave outputs the control instruction to the smart cockpit controller through the test equipment for testing;

[0014] Step 3: The intelligent cockpit controller outputs the test results to the test slave.

[0015] In step 1, the server obtains the software upgrade package from the online code repository software.

[0016] In step 2, the test slave calls the automated test script in the database of the server through the automated test framework to test the smart cockpit controller and control the test equipment.

[0017] In step 2, the test slave tests the smart cockpit controller through a programmable power supply and a bus test tool.

[0018] Before the server outputs the software upgrade package and test task assignment instructions to the test slave, the server performs a daily build, compiles and builds the test code for the day, and performs a smoke test.

[0019] The technical effects of the present invention are:

[0020] (1) The three test slaves of the present invention cooperate with each other to detect the intelligent cockpit controller, thereby improving the efficiency of detection. At the same time, the division of labor can reduce the occurrence rate of faults.

[0021] (2) The present invention detects the basic functions of the test code through daily construction, so that problems can be discovered as early as possible and the cost of solving the problems can be reduced.

[0022] (3) The present invention distributes automatic test tasks to the test slave machine through the JENKINS automation server. The test slave machine and the test equipment controlled by the tested slave machine cooperate with each other to automatically complete the test of the intelligent cockpit controller and output the test results, thereby improving the automation and efficiency of the test. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] This specification includes the following drawings, which show the following contents:

[0024] Figure 1 A logical structure diagram of an intelligent cockpit automatic test system and test method of the present invention;

[0025] Figure 1 The following are marked: 1. Test host; 2. Server; 3. Test slave; 4. Test equipment; 5. Smart cockpit controller. DETAILED DESCRIPTION

[0026] The specific implementation methods of the present invention are further explained in detail below by describing the embodiments with reference to the accompanying drawings, with the aim of helping those skilled in the art to have a more complete, accurate and in-depth understanding of the inventive concept and technical solution of the present invention and facilitating their implementation.

[0027] The present invention provides an intelligent cockpit automatic test system, comprising a test host 1, a server 2, a test slave 3, a test device 4 and an intelligent cockpit controller 5, wherein the output end of the test host 1 is connected to the input end of the server 2, the output end of the server 2 is connected to the input end of the test slave 3, the output end of the test slave 3 is connected to the input end of the intelligent cockpit controller 5, the output end of the test slave 3 is connected to the input end of the test device 4, the output end of the test device 4 is connected to the input end of the intelligent cockpit controller 5, and the output end of the intelligent cockpit controller 5 is connected to the input end of the test slave 3.

[0028] The test host 1 outputs the test task start instruction to the server 2, the server 2 outputs the software upgrade package and the test task allocation instruction to the test slave 3, the test slave 3 outputs the software upgrade package and the test instruction to the smart cockpit controller 5, the test slave 3 outputs the control instruction to the test device 4, the test device 4 outputs the control instruction to the smart cockpit controller 5, and the smart cockpit controller 5 outputs the test result to the test slave 3.

[0029] The test equipment 4 includes a programmable power supply and a bus test tool.

[0030] The test slave machine 3 is connected to the intelligent cockpit controller 5 via a USB universal serial bus, and the output end of the test slave machine 3 is connected to the input end of the test device 4 via an RS232 bus.

[0031] The present invention provides an intelligent cockpit automatic testing method:

[0032] Step 1: The test host 1 outputs a test task start instruction to the server 2, the server 2 transmits the software upgrade package to the test slave 3, the test slave 3 transmits the software upgrade package to the smart cockpit controller 5, and the smart cockpit controller 5 performs the software upgrade;

[0033] Step 2: After the software upgrade of the smart cockpit controller 5 is completed, the server 2 inputs the test task allocation instruction to the test slave 3, the test slave 3 outputs the test instruction to the smart cockpit controller 5, and the test slave 3 outputs the control instruction to the smart cockpit controller 5 through the test device 4 for testing;

[0034] Step 3: The intelligent cockpit controller 5 outputs the test results to the test slave 3.

[0035] In step 1, server 2 obtains the software upgrade package from the online code repository software. In step 2, the test slave 3 calls the automated test script in the database of server 2 through the automated test framework to test the smart cockpit controller 5 and control the test equipment 4. In step 2, the test slave 3 tests the smart cockpit controller 5 through the programmable power supply and bus test tool. Before server 2 outputs the software upgrade package and the test task allocation instruction to the test slave 3, server 2 performs a daily build, compiles and builds the test code of the day, and performs a smoke test.

[0036] The following is a detailed description of an intelligent cockpit automatic testing system and testing method of the present invention.

[0037] The present invention provides an intelligent cockpit automated testing system including a test host 1, a server 2, a test slave 3, a test device 4 and an intelligent cockpit controller 5. The test host 1 is a computer for controlling the start of the intelligent cockpit automated test. The server 2 is a JENKINS automated server for controlling the progress of the intelligent cockpit automated test. Specifically, the server 2 obtains the software upgrade package from the gitlab online code repository software and inputs it to the test slave 3. At the same time, after the software upgrade of the intelligent cockpit controller 5 is completed, the test tasks are distributed to each test slave.

[0038] The test slave 3 uses a computer to control the test equipment 4 to test the smart cockpit controller 5. The RF automated test framework in the test slave 3 schedules test resources from the database of the server 2, outputs test instructions to the smart cockpit controller 5, and controls the test equipment 4 to test the smart cockpit. There are three test slaves 3 in the embodiment of the present invention. The first test slave detects the smart cockpit controller 5, the second test slave controls the programmable power supply, and the third test slave controls the bus test tool (CANOE). The three test slaves of the present invention work together to detect the smart cockpit controller 5, which improves the efficiency of the detection. At the same time, the division of labor can reduce the occurrence rate of failures.

[0039] The test equipment 4 includes a programmable power supply and a bus test tool (CANOE). The programmable power supply is used to generate an offset voltage and simulate different voltage parameters. The bus test tool (CANOE) is used to simulate the automobile bus system and detect the input and output interfaces of the intelligent cockpit controller 5. The intelligent cockpit controller 5 includes a microprocessor (MPU), a microcontroller (MCU) and a processor R5. The models of the microprocessor (MPU), the microcontroller (MCU) and the processor R5 are NXP NXPS32K automobile MCU, Texas Instruments Jacinto 7 model MPU, Cortex TM -R5 processor.

[0040] The output end of the test host 1 is connected to the input end of the server 2 via a wireless network, and the output end of the server 2 is respectively connected to the input ends of the three test slaves via a wireless network. The first test slave is connected to the intelligent cockpit controller 5 via a USB universal serial bus, the output end of the second test slave is connected to the input end of the programmable power supply via an Rs232 bus, and the output end of the third test slave is connected to the input end of the bus test tool (CANOE) via an Rs232 bus. The output ends of the programmable power supply and the bus test tool (CANOE) are respectively connected to the input end of the intelligent cockpit controller 5, and the output end of the intelligent cockpit controller 5 is connected to the input end of the first test slave.

[0041] The specific steps of an intelligent cockpit automatic testing method of the present invention are:

[0042] Test host 1 inputs the test start command to the JENKINS automation server, the JENKINS automation server obtains the software upgrade package from the gitlab online code warehouse software, the JENKINS automation server creates an automated test task, and performs daily builds. Specifically, the test code of the day is compiled and built and an automated smoke test is performed to detect the basic functions of the test code to ensure that the basic functions and processes of the test code can be run. The present invention detects the basic functions of the test code through daily builds, which can detect problems as early as possible and reduce the cost of solving problems.

[0043] After the daily build is completed, the JENKINS automation server transmits the software upgrade package to the test slave 3, and the test slave 3 then transmits the software upgrade package to the smart cockpit controller 5. The microprocessor (MPU), microcontroller (MCU) and processor R5 in the smart cockpit controller 5 are upgraded. After the software of the smart cockpit controller 5 is upgraded, the JENKINS automation server assigns the test task to the test slave 3. The RF automated test framework in the test slave 3 calls the automated test script in the database of the server 2 to test the smart cockpit controller 5. At the same time, the test equipment 4 is controlled to test the smart cockpit controller 5. Specifically, the test slave 3 controls the programmable power supply to generate a voltage offset. Under this condition, the test slave 3 performs various test operations on the smart cockpit controller 5 through the ADB debugging bridge, such as installing, uninstalling, starting applications, viewing system information, file transfer, and performance monitoring. The test slave 3 passes these tests to detect whether the functionality of the software of the smart cockpit controller 5 is complete. The test slave 3 simulates the automobile bus system through the bus test tool (CANOE) to detect the input and output interfaces of the intelligent cockpit controller 5. The bus test tool (CANOE) sends an excitation signal to the intelligent cockpit controller 5 according to the automated test script in the test slave 3. The bus test tool (CANOE) determines whether the test passes based on the response.

[0044] The intelligent cockpit controller 5 outputs the test results to the test slave 3, and the test slave 3 organizes the test data through the allure test report tool to generate a test report.

[0045] The present invention distributes automatic test tasks to the test slave 3 through the JENKINS automation server 2. The test slave 3 and the test equipment 4 controlled by the tested slave 3 cooperate with each other to automatically complete the test of the intelligent cockpit controller 5 and output the test results, thereby improving the automation and efficiency of the test.

[0046] The present invention is described above by way of example in conjunction with the accompanying drawings. Obviously, the specific implementation of the present invention is not limited to the above-mentioned methods. As long as various non-substantial improvements are made using the method concept and technical solution of the present invention; or the above concept and technical solution of the present invention are directly applied to other occasions without improvement, they are all within the protection scope of the present invention.

Claims

1. An intelligent cockpit automated testing system, characterized in that: The system comprises a test host, a server, a test slave, a test device and an intelligent cockpit controller, wherein the output end of the test host is connected to the input end of the server, the output end of the server is connected to the input end of the test slave, the output end of the test slave is connected to the input end of the intelligent cockpit controller, the output end of the test slave is connected to the input end of the test device, the output end of the test device is connected to the input end of the intelligent cockpit controller, and the output end of the intelligent cockpit controller is connected to the input end of the test slave.

2. The intelligent cockpit automatic test system according to claim 1, characterized in that: The test host outputs a test task start instruction to the server, the server outputs a software upgrade package and a test task allocation instruction to the test slave, the test slave outputs a software upgrade package and a test instruction to the smart cockpit controller, the test slave outputs a control instruction to the test device, the test device outputs a control instruction to the smart cockpit controller, and the smart cockpit controller outputs a test result to the test slave.

3. The intelligent cockpit automatic test system according to claim 1, characterized in that: The test equipment includes a programmable power supply and a bus test tool.

4. The intelligent cockpit automatic test system according to claim 1, characterized in that: The test slave is connected to the intelligent cockpit controller via a USB universal serial bus, and the output end of the test slave is connected to the input end of the test equipment via an RS232 bus.

5. An automated test method for a smart cockpit according to any one of claims 1 to 4, characterized in that: Step 1: The test host outputs the test task start instruction to the server, the server transmits the software upgrade package to the test slave, the test slave transmits the software upgrade package to the smart cockpit controller, and the smart cockpit controller performs the software upgrade; Step 2: After the smart cockpit controller software upgrade is completed, the server inputs the test task allocation instruction to the test slave, the test slave outputs the test instruction to the smart cockpit controller, and the test slave outputs the control instruction to the smart cockpit controller through the test equipment for testing; Step 3: The intelligent cockpit controller outputs the test results to the test slave.

6. The method for automated testing of a smart cockpit according to claim 5, characterized in that: In step 1, the server obtains the software upgrade package from the online code repository software.

7. The method for automatic testing of a smart cockpit according to claim 5, characterized in that: In step 2, the test slave calls the automated test script in the database of the server through the automated test framework to test the smart cockpit controller and control the test equipment.

8. The method for automatic testing of a smart cockpit according to claim 5, characterized in that: In step 2, the test slave tests the smart cockpit controller through a programmable power supply and a bus test tool.

9. The method for automatic testing of a smart cockpit according to claim 5, characterized in that: Before the server outputs the software upgrade package and test task assignment instructions to the test slave, the server performs a daily build, compiles and builds the test code for the day, and performs a smoke test.

Citation Information

Patent Citations

  • Automatic test device and method for vehicle control unit of new energy vehicle

    CN108227669A