Vehicle off-line function self-detection method and device, vehicle and storage medium

By responding to the self -test signal in the vehicle, read the configuration code of the vehicle controller and match the test function list, and simultaneously test the vehicle appliance function, solve the problem of the long time of labor detection and high equipment detection costs in existing technologies, and achieve efficient The flexible automation testing improves the detection efficiency and quality assurance ability.

CN119335994APending Publication Date: 2025-01-21CHERY AUTOMOBILE CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411396087.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-08
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

In the prior art, manual inspection of vehicle electrical functions takes a long time and it is difficult to ensure the integrity and accuracy of the inspection items. The equipment inspection cost is high, the operation convenience is low, and the flexibility is poor, making it difficult to support functional reliability detection.

Method used

By responding to the self -test signal of the vehicle, read the configuration code of the vehicle controller, match the test function list and test case, synchronize the electrical function of the vehicle, and generate the function test results according to the execution results to achieve automated detection.

Benefits of technology

The efficient and flexible automation testing of the vehicle electronic appliances function is achieved, the labor intensity of the test personnel is reduced, the synchronous detection of multi -car car is supported, and the detection efficiency and quality assurance ability is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119335994A_ABST
    Figure CN119335994A_ABST
Patent Text Reader

Abstract

The invention relates to a function self-detection method and device for whole vehicle offline, a vehicle and a storage medium, and the method comprises the steps: receiving a self-detection signal of the vehicle; in response to the self-test signal, reading a vehicle control unit configuration code of the vehicle to obtain a function configuration state of the vehicle; matching a corresponding test function list and a test case of each test function in the test function list based on the function configuration state, synchronously testing electric appliance functions of the vehicle based on the test function list and the test case of each test function, and receiving an execution result of each electric appliance function, and generating a function detection result of the vehicle according to the execution result of each electric appliance function. Therefore, the technical problems of long time consumption of manual detection, difficulty in guaranteeing the integrity and accuracy of detection items, high equipment detection cost, low operation convenience, poor flexibility, difficulty in supporting functional reliability detection and the like in the related technologies are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle testing technology, and in particular to a method, device, vehicle and storage medium for self-detecting the functions of a whole vehicle off the production line. Background Art

[0002] The "offline" of a vehicle usually refers to an important stage before a new car is assembled from the production line and is ready to be delivered to dealers or customers. At this stage, the vehicle will undergo a series of functional tests to ensure that it meets factory standards.

[0003] In the related technology, the electrical functions of the vehicle can be tested one by one through manual inspection by technicians; the electrical functions can also be tested through external testing equipment to ensure that the vehicle can meet the user's usage needs after it is offline, reducing the probability of vehicle repair or return.

[0004] However, in the related technologies, due to the continuous enrichment of electrical functions, manual inspection takes a long time and it is difficult to ensure the integrity and accuracy of the inspection items; manual inspection only performs a single inspection and confirmation of the function and cannot identify functional reliability issues. Relying on external devices will increase the investment in equipment development and subsequent maintenance and management costs; and during the inspection process, the equipment needs to be disassembled and assembled, which affects the convenience of the inspection operation; at the same time, due to the limitation of the number of equipment, it is difficult to support functional reliability testing, and functional confirmation is still the main focus; the realization of the detection function of the external detection equipment depends on the ability of the vehicle controller's own diagnostic function, and the detection function is limited.

[0005] In summary, when conducting electrical function testing, manual testing is time-consuming and it is difficult to ensure the completeness and accuracy of the test items. The equipment testing cost is high, the operation convenience is low, and the flexibility is poor. It is difficult to support functional reliability testing and needs to be improved. Summary of the invention

[0006] The present application provides a method, device, vehicle and storage medium for self-testing the functions of a whole vehicle off the production line, in order to solve technical problems in the related art, such as manual testing is time-consuming and difficult to ensure the integrity and accuracy of the test items, high equipment testing costs, low operational convenience, poor flexibility, and difficulty in supporting functional reliability testing.

[0007] The first aspect of the present application provides a method for self-testing the functions of a whole vehicle when it is off the production line, which is applied to the whole vehicle electrical function detection software, and includes the following steps: receiving a self-test signal of the vehicle; in response to the self-test signal, reading the whole vehicle controller configuration code of the vehicle to obtain the functional configuration status of the vehicle; matching the corresponding test function list and the test case of each test function in the test function list based on the functional configuration status, and synchronously testing the electrical functions of the vehicle based on the test function list and the test case of each test function, and receiving the execution result of each electrical function to generate the functional detection result of the vehicle according to the execution result of each electrical function.

[0008] Optionally, in one embodiment of the present application, the electrical function includes at least one of a rearview mirror folding function, a glass lifting function, an internal and external lighting control function, an air conditioning system function, a seat adjustment function and an electric tailgate function.

[0009] Optionally, in one embodiment of the present application, after generating the functional test results of the vehicle, it also includes: generating an electrical function test diagnostic report of the vehicle based on the functional test results; and sending the electrical function test diagnostic report to a preset terminal.

[0010] Optionally, in one embodiment of the present application, before receiving the self-test signal of the vehicle, it also includes: receiving an installation instruction from a software installation device; judging whether the vehicle meets a preset installation support condition based on the installation instruction; if the vehicle meets the preset installation support condition, identifying the sensing signal of the diagnostic interface and USB interface of the vehicle; and in response to the sensing signal, controlling the vehicle to install the vehicle electrical function detection software.

[0011] Optionally, in one embodiment of the present application, controlling the vehicle to install the vehicle electrical function detection software includes: controlling the USB interface to perform mode switching based on the installation instruction to switch the USB interface to ABD mode, and after the installation of the vehicle electrical function detection software is completed, restoring the USB interface to the initial mode.

[0012] Optionally, in one embodiment of the present application, after performing the whole vehicle electrical function test of the vehicle based on the electrical function test strategy, it also includes: receiving an uninstall instruction from a software uninstall device; judging whether the vehicle meets a preset uninstall support condition based on the installation instruction; if the vehicle meets the preset uninstall support condition, controlling the vehicle to uninstall the whole vehicle electrical function test software based on the uninstall instruction, and feeding back the uninstall result to the software uninstall device; otherwise, generating a manual uninstall reminder, and pushing the manual uninstall reminder to a preset terminal.

[0013] The second aspect of the present application provides a functional self-test device for a vehicle off the production line, which is applied to the whole vehicle electrical function detection software, including: a first receiving module, used to receive the vehicle's self-test signal; a reading module, used to read the vehicle controller configuration code of the vehicle in response to the self-test signal to obtain the functional configuration status of the vehicle; a detection module, used to match the corresponding test function list and the test case of each test function in the test function list based on the functional configuration status, and based on the test function list and the test case of each test function, synchronously test the electrical function of the vehicle, and receive the execution result of each electrical function to generate the functional detection result of the vehicle according to the execution result of each electrical function.

[0014] Optionally, in one embodiment of the present application, the electrical function includes at least one of a rearview mirror folding function, a glass lifting function, an internal and external lighting control function, an air conditioning system function, a seat adjustment function and an electric tailgate function.

[0015] Optionally, in one embodiment of the present application, it also includes: a generation module for generating an electrical function test diagnostic report of the vehicle based on the function detection result; and a generation module for sending the electrical function test diagnostic report to a preset terminal.

[0016] Optionally, in one embodiment of the present application, it also includes: a second receiving module, used to receive installation instructions from a software installation device; a first judgment module, used to judge whether the vehicle meets the preset installation support conditions based on the installation instructions; an identification module, used to identify the sensing signals of the diagnostic interface and USB interface of the vehicle when the vehicle meets the preset installation support conditions; an installation module, used to control the vehicle to install the vehicle electrical function detection software in response to the sensing signal.

[0017] Optionally, in one embodiment of the present application, the installation module includes: a switching unit, used to control the USB interface to perform mode switching based on the installation instruction, so as to switch the USB interface to ABD mode, and restore the USB interface to the initial mode after the installation of the vehicle electrical function detection software is completed.

[0018] Optionally, in one embodiment of the present application, it also includes: a third receiving module, used to receive an uninstallation instruction from a software uninstallation device; a second judgment module, used to judge whether the vehicle meets a preset uninstallation support condition based on the installation instruction; an uninstallation module, used to control the vehicle to uninstall the vehicle electrical function detection software based on the uninstallation instruction when the vehicle meets the preset uninstallation support condition, and to feedback the uninstallation result to the software uninstallation device; otherwise, a manual uninstallation reminder is generated and the manual uninstallation reminder is pushed to a preset terminal.

[0019] The third aspect of the present application provides a vehicle, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the functional self-detection method for the vehicle when it is off the production line as described in the above embodiment.

[0020] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the functional self-detection method for a vehicle off-line as described in the above embodiment.

[0021] A fifth aspect of the present application provides a computer program product, including a computer program, which, when executed, is used to implement the above-mentioned vehicle offline functional self-detection method.

[0022] The embodiment of the present application can respond to the self-test signal of the vehicle, read the vehicle controller configuration code of the vehicle to obtain the functional configuration status of the vehicle, thereby combining the test function list matched by the functional configuration status and the test case of each test function in the test function list, synchronously testing the electrical functions of the vehicle, and receiving the execution result of each electrical function, so as to generate the functional test result of the vehicle according to the execution result of each electrical function, realize efficient and flexible automatic detection of the electronic and electrical functions of the whole vehicle, reduce the labor intensity of the detection personnel, realize simultaneous detection of multiple vehicles, improve detection efficiency, reduce the number of inspection operators, realize the reliability detection of the electrical functions of the whole vehicle off the line, and improve the quality assurance capability of the manufacturing process. Therefore, the technical problems in the related technology that manual detection is time-consuming and difficult to ensure the integrity and accuracy of the detection items, the equipment detection cost is high, the operation convenience is low, and the flexibility is poor, and it is difficult to support functional reliability detection are solved.

[0023] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0025] Figure 1 A flow chart of a vehicle offline functional self-test method provided according to an embodiment of the present application;

[0026] Figure 2 A flow chart of a vehicle offline functional self-test method provided according to an embodiment of the present application;

[0027] Figure 3 A schematic diagram of the principle of a function self-detection method for a vehicle off-line provided according to an embodiment of the present application;

[0028] Figure 4 A flowchart of the test software installation provided according to one embodiment of the present application;

[0029] Figure 5 A flowchart of automatic execution of a test provided according to an embodiment of the present application;

[0030] Figure 6 A flowchart of uninstalling test software provided according to an embodiment of the present application;

[0031] Figure 7 A schematic diagram of the structure of a functional self-test device for a vehicle off-line provided according to an embodiment of the present application;

[0032] Figure 8 It is a schematic diagram of the structure of a vehicle provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0033] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0034] The following is a description of the functional self-detection method, device, vehicle and storage medium of the vehicle off-line of the embodiment of the present application with reference to the accompanying drawings. In view of the technical problems such as the time-consuming manual detection and the difficulty in ensuring the integrity and accuracy of the detection items in the related technologies mentioned in the above background technology, the high cost of equipment detection, the low convenience of operation, the poor flexibility, and the difficulty in supporting the functional reliability detection, the present application provides a functional self-detection method for the vehicle off-line, in which the vehicle self-test signal can be responded to, the vehicle controller configuration code of the vehicle can be read to obtain the functional configuration state of the vehicle, thereby combining the test function list matched by the functional configuration state and the test case of each test function in the test function list, synchronously testing the electrical function of the vehicle, and receiving the execution result of each electrical function, so as to generate the functional detection result of the vehicle according to the execution result of each electrical function, realize the efficient and flexible automatic detection of the electronic and electrical functions of the whole vehicle, reduce the labor intensity of the detection personnel, realize the synchronous detection of multiple vehicles, improve the detection efficiency, reduce the number of inspection operators, realize the reliability detection of the electrical functions of the off-line whole vehicle, and improve the quality assurance capability of the manufacturing process. As a result, technical problems in related technologies such as manual inspection taking a long time and difficulty in ensuring the integrity and accuracy of the inspection items, high equipment inspection costs, low operational convenience, poor flexibility, and difficulty in supporting functional reliability inspection are solved.

[0035] Specifically, Figure 1 A schematic flow chart of a method for self-testing the functions of a vehicle when it is off the production line provided in an embodiment of the present application.

[0036] like Figure 1 As shown, the vehicle off-line function self-detection method is applied to the vehicle electrical function detection software, wherein the method includes the following steps:

[0037] In step S101 , a self-test signal of a vehicle is received.

[0038] Understandably, the "rolling off the production line" of a vehicle usually refers to an important stage before a new car is assembled from the production line and is ready to be delivered to dealers or customers. At this stage, the vehicle will undergo a series of functional tests to ensure that it meets factory standards.

[0039] In order to ensure the quality of the vehicle, the embodiment of the present application can perform an electrical function test on the vehicle before the vehicle is offline. In the embodiment of the present application, the self-test of the vehicle electrical function can be achieved through the pre-installed vehicle electrical function test software. Among them, the vehicle electrical function test software can be pre-built by a technician, and the vehicle electrical function test software can include functions such as data reading, system configuration reading, executing original component testing, programming and calibration, result judgment and test result generation.

[0040] For example, the triggering of the self-test signal can be set by a technician on the vehicle side, such as through the vehicle's central control screen, or a collective signal terminal setting for multiple vehicles (for example, connecting to the same local area network or cloud at the same time before the vehicles go offline), so that multiple vehicles can perform vehicle self-tests at the same time.

[0041] The vehicle electrical function detection software pre-installed in the vehicle in the embodiment of the present application can receive the vehicle's self-test signal through the vehicle's internal communication network or internal line to perform subsequent detection.

[0042] It should be noted that in order to avoid communication failures or signal mistransmission, the embodiment of the present application can also initialize the communication network in advance, and initialize each ECU (Electronic Control Unit) inside the vehicle and add it to the vehicle network.

[0043] Optionally, in one embodiment of the present application, before receiving the self-test signal of the vehicle, it also includes: receiving installation instructions from a software installation device; judging whether the vehicle meets preset installation support conditions based on the installation instructions; if the vehicle meets the preset installation support conditions, identifying the sensing signals of the vehicle's diagnostic interface and USB interface; and in response to the sensing signals, controlling the vehicle to install the vehicle electrical function detection software.

[0044] Before receiving the vehicle's self-test signal, the embodiment of the present application first needs to install the vehicle electrical function detection software.

[0045] In some embodiments, the installation method of the embodiment of the present application can be installed by connecting the device: the software installation device is connected to the wheel through the diagnostic interface and the USB interface to realize data transmission, and the software installation instruction is issued; after receiving the installation instruction, the embodiment of the present application can judge the installation support conditions of the vehicle, and when it is determined that the vehicle can be installed with software, determine whether the diagnostic interface and the USB interface are connected, so as to install the whole vehicle electrical function detection software after confirming the connection. Through software installation, the embodiment of the present application can also realize the synchronous detection of multiple vehicles to improve the detection efficiency.

[0046] Furthermore, the preset installation support conditions may include requirements for hardware compatibility, operating system version, network connection, security certification, etc. Among them, hardware compatibility may include: ensuring that the vehicle's ECU or computing platform supports the processor architecture required by the software; the vehicle's hardware meets the software's minimum memory requirements, etc. The operating system version may include: whether the software matches the vehicle's current operating system version, etc. Security certification may include: digital signature verification, etc. Environmental conditions may include: whether there is humidity and electromagnetic interference in the environment, etc.

[0047] In other embodiments, the installation method of the embodiments of the present application can also be to uniformly obtain software installation instructions from a network terminal, and after verifying the installation support conditions, download the vehicle electrical function detection software from the network terminal and install it.

[0048] It should be noted that when the vehicle is installing software, the installation may fail. In this case, you can try a second installation. If the second installation still fails, obtain the reason for the failure and generate an installation failure reminder based on the reason for the failure.

[0049] Optionally, in one embodiment of the present application, controlling the vehicle to install the vehicle electrical function detection software includes: controlling the USB interface to switch modes based on the installation instructions to switch the USB interface to ABD mode, and after the installation of the vehicle electrical function detection software is completed, restoring the USB interface to the initial mode.

[0050] During the actual implementation process, when the embodiment of the present application uses an installation device to install software, the mode of the USB interface can be switched according to the installation instructions to ensure that the software can be smoothly loaded from an external installation device, such as a storage device (such as a USB flash drive) into the vehicle's control system.

[0051] For example, the embodiment of the present application can switch the USB interface to ABD mode, that is, allow the vehicle's ECU or other computing platform to enter a programmable state for software updates or diagnosis. And after the installation is completed, the USB interface is restored to mode. Among them, when entering the Bootloader mode, verification is required to ensure that only authorized devices or tools can perform software updates to prevent unauthorized access or installation of malicious software.

[0052] In step S102, in response to the self-test signal, the vehicle controller configuration code of the vehicle is read to obtain the functional configuration status of the vehicle.

[0053] As a possible implementation method, the embodiment of the present application can read the vehicle's VCU (Vehicle Control Unit) or similar vehicle control module to obtain the vehicle controller configuration code after receiving the self-test signal. The vehicle controller configuration code contains information about the vehicle's functional configuration, such as engine type, emission control system, airbag configuration, etc.

[0054] For example, the embodiment of the present application can use a diagnostic tool or adapter that supports the OBD-II standard to connect to the OBD-II port of the vehicle. Use the diagnostic tool and choose the appropriate communication protocol, select a function on the diagnostic tool to request specific configuration information of the vehicle, such as reading fault codes, freeze frame data, real-time data streams, and even the PID (parameter identifier) ​​of the ECU; the information read by the embodiment of the present application will contain a series of numbers and letters, that is, configuration codes, which represent the status of different systems and components of the vehicle. For example, whether the vehicle is equipped with ABS (anti-lock braking system), EBD (electronic brake force distribution), ESP (body stability program) and other functions; the embodiment of the present application can also interpret these configuration codes according to the manuals or online resources provided by the manufacturer, and record all configuration information for subsequent reference or analysis.

[0055] In step S103, the corresponding test function list and the test case of each test function in the test function list are matched based on the function configuration state, and based on the test function list and the test case of each test function, the electrical functions of the vehicle are synchronously tested, and the execution result of each electrical function is received, so as to generate the function detection result of the vehicle according to the execution result of each electrical function. Among them, the electrical functions include at least one of the rearview mirror folding function, the glass lifting function, the internal and external lighting control function, the air conditioning system function, the seat adjustment function and the electric tailgate function.

[0056] Furthermore, the embodiments of the present application can match the corresponding test function list and the test cases of each test function in the test function list according to the function configuration status.

[0057] The embodiment of the present application can list all available functions based on the configuration information, for example: safety system: ABS, ESP, airbags, etc.; entertainment system: Bluetooth, navigation system, audio system, lighting system, etc.; power system: engine type, gearbox type, etc.

[0058] For each listed function, the embodiment of the present application can create a test function list. The test function list includes basic test items for each function to ensure that it works properly. For example, for the lighting system, the test items may include: light switching when parking, night driving light sensing, high and low light switching, etc.

[0059] The embodiment of the present application can design detailed test cases for each test function. The test case should describe in detail the purpose of the test, test conditions, test steps, expected results, and actual results.

[0060] The embodiment of the present application can perform parallel testing according to the test case and record the actual results. The execution result of each electrical function is received to generate the function detection result of the vehicle according to the execution result of each electrical function.

[0061] Optionally, in one embodiment of the present application, after generating the functional test results of the vehicle, it also includes: generating an electrical function test diagnostic report of the vehicle based on the functional test results; and sending the electrical function test diagnostic report to a preset terminal.

[0062] In some embodiments, the embodiments of the present application can generate an electrical function test diagnostic report for the vehicle based on the function detection results, wherein the generated electrical function test diagnostic report for the vehicle can include the test data of each electrical function and the determination result of whether the function is normal, and the diagnostic report is sent to a preset terminal, such as the cloud, the vehicle manufacturer's maintenance terminal, the vehicle manufacturer's technical terminal, etc., so that technical personnel can perform corresponding maintenance or technical improvements based on the diagnostic report.

[0063] Optionally, in one embodiment of the present application, after performing a vehicle electrical function test on the vehicle based on the electrical function test strategy, it also includes: receiving an uninstall instruction from a software uninstall device; judging whether the vehicle meets a preset uninstall support condition based on the installation instruction; if the vehicle meets the preset uninstall support condition, controlling the vehicle to uninstall the vehicle electrical function test software based on the uninstall instruction, and feeding back the uninstall result to the software uninstall device; otherwise, generating a manual uninstall reminder, and pushing the manual uninstall reminder to a preset terminal.

[0064] In the actual implementation process, the embodiment of the present application can also uninstall the software after completing the whole vehicle electrical function test, connect the software uninstallation device, such as the electrical inspection device, to the whole vehicle OBD interface, start the electrical inspection process, and send the inspection software uninstallation instruction, and after receiving the cockpit controller reply message, confirm that the inspection software has been uninstalled. This ensures that after the vehicle is offline, the electrical function test link will not cause meaningless functions, resources or storage space to be occupied by the vehicle.

[0065] If the preset uninstall support conditions are not met, the embodiment of the present application can perform a manual uninstall reminder and push it to the cloud, the car company's maintenance terminal or the car company's technical terminal so that technical personnel can perform the uninstall process.

[0066] Among them, the preset uninstall support conditions may include whether the complete uninstallation is possible, whether the uninstallation verification is passed, etc., which can be specifically set by those skilled in the art according to actual conditions and are not specifically limited here.

[0067] Combination Figures 2 to 6 As shown, the working principle of the vehicle off-line functional self-detection method of the embodiment of the present application is described in detail by taking an embodiment as an example.

[0068] Combination Figure 2 and Figure 3 As shown, the embodiment of the present application may include the following steps:

[0069] Step S201: Test software installation. At the detection software installation station, the embodiment of the present application can implant the detection software into the vehicle cockpit domain controller through the detection software installation device. For example, the embodiment of the present application can use the PC integrated diagnosis VCI hardware to realize the sending of diagnostic commands and software push.

[0070] When installing the detection software, the vehicle cockpit controller must support USB interface mode switching through diagnostic commands, and the cockpit domain controller must support detection APP push.

[0071] like Figure 3 As shown, the principle of implanting the detection software for test software installation is: the device sends the installation instruction through the OBD interface of the vehicle, sets the USB interface of the vehicle to ADB mode, and implants the detection software into the vehicle cockpit domain controller through the USB interface of the vehicle to complete the software installation, and then sends the installation completion command to restore the USB interface mode.

[0072] The process of testing software installation can be as follows Figure 4 As shown, in the embodiment of the present application, the diagnostic line and USB data line of the detection software installation device can be connected to the OBD diagnostic interface and USB interface of the whole vehicle respectively, and the installation is started. The device automatically sends a USB interface mode switching command to the cockpit domain controller of the whole vehicle through the diagnostic interface, switches the USB interface to ADB mode, and then automatically pushes the detection software package to the cockpit domain controller and automatically completes the installation of the detection software. Finally, the installation completion instruction is sent to make the USB interface of the whole vehicle exit the ADB mode and complete the installation of the detection software.

[0073] Step S202: The test is automatically executed. In the electrical function test station, the embodiment of the present application can open the detection software on the vehicle screen and start the automated test process, the detection process is automatically executed until completion, and the test results of each function can be viewed on the vehicle screen.

[0074] For automatic function detection, all controllers in the vehicle must support the calling of services related to the cockpit controller detection function and the feedback of detection results.

[0075] like Figure 3 As shown, the principle of implementing automatic functional detection is to implant the detection software in the vehicle's cockpit domain controller, stimulate the execution of various electrical functions by calling the functional services defined inside the vehicle, and identify whether the functions are normal by receiving feedback from related ECUs.

[0076] The process of testing automation can be as follows Figure 5As shown, the embodiment of the present application can enter the test software to start the automatic test process based on the instructions issued by the inspection personnel on the vehicle computer screen. The test software automatically identifies the function configuration status of the vehicle under test by reading the vehicle controller configuration code, automatically matches the list of functions under test, and automatically starts the test process. By calling the smart cockpit function service, it drives the execution of various electrical functions of the whole vehicle, detects the function execution status, and synchronously displays the inspection progress and function execution results on the vehicle computer screen. The inspection functions involve various vehicle electrical functions such as rearview mirror folding, glass lifting, internal and external lighting control, air-conditioning system, seat adjustment, electric tailgate, etc., to achieve parallel inspection of multiple functions to improve inspection efficiency. After all test cases are executed, the vehicle computer screen displays the total results and the inspection results of various functions.

[0077] Step S203: Test software uninstallation. At the software uninstallation station, the embodiment of the present application can send an uninstallation instruction to the vehicle through a device to realize automatic uninstallation of the detection software. For example, the embodiment of the present application can use a production line electrical inspection diagnostic instrument to send a software uninstallation diagnostic instruction.

[0078] To uninstall the detection APP, the cockpit domain controller must support automatic uninstallation of the detection APP through diagnostic commands.

[0079] like Figure 3 As shown, the principle of detection software uninstallation is that the electrical inspection equipment sends a detection software uninstallation diagnostic command to the vehicle cockpit domain controller through the vehicle OBD interface. The vehicle cockpit executes the detection software uninstallation operation and replies the execution status to the equipment.

[0080] The process of testing software uninstallation can be as follows Figure 6 As shown, the operator can connect the software uninstallation device, such as the electrical inspection equipment, to the OBD interface of the vehicle, start the electrical inspection process, send the inspection software uninstallation instruction, and after receiving the reply message from the cockpit controller, confirm that the inspection software has been uninstalled.

[0081] According to the functional self-test method for the whole vehicle off-line proposed in the embodiment of the present application, it is possible to respond to the self-test signal of the vehicle, read the vehicle controller configuration code of the vehicle, so as to obtain the functional configuration status of the vehicle, thereby combining the test function list matched by the functional configuration status and the test case of each test function in the test function list, synchronously test the electrical functions of the vehicle, and receive the execution result of each electrical function, so as to generate the functional test result of the vehicle according to the execution result of each electrical function, realize efficient and flexible automatic detection of the electronic and electrical functions of the whole vehicle, reduce the labor intensity of the inspection personnel, realize simultaneous detection of multiple vehicles, improve the detection efficiency, reduce the number of inspection operators, realize the reliability detection of the electrical functions of the whole vehicle off-line, and improve the quality assurance capability of the manufacturing process. Thus, the technical problems in the related technology that manual detection is time-consuming and difficult to ensure the integrity and accuracy of the detection items, the equipment detection cost is high, the operation convenience is low, and the flexibility is poor, and it is difficult to support the functional reliability detection are solved.

[0082] Next, the functional self-detection device for the vehicle off-line proposed in accordance with the embodiment of the present application will be described with reference to the accompanying drawings.

[0083] Figure 7 It is a block diagram of a functional self-detection device for a vehicle off-line according to an embodiment of the present application.

[0084] like Figure 7 As shown, the vehicle offline function self-detection device 10 is applied to the vehicle electrical function detection software, wherein the device 10 includes: a first receiving module 100, a reading module 200 and a detection module 300.

[0085] Specifically, the first receiving module 100 is used to receive a self-test signal of the vehicle.

[0086] The reading module 200 is used to read the vehicle controller configuration code of the vehicle in response to the self-test signal to obtain the functional configuration status of the vehicle.

[0087] The detection module 300 is used to match the corresponding test function list and the test cases of each test function in the test function list based on the function configuration status, and based on the test function list and the test cases of each test function, synchronously test the electrical functions of the vehicle, and receive the execution results of each electrical function to generate the vehicle's functional detection results according to the execution results of each electrical function.

[0088] Optionally, in one embodiment of the present application, the electrical function includes at least one of a rearview mirror folding function, a glass lifting function, an internal and external lighting control function, an air conditioning system function, a seat adjustment function and an electric tailgate function.

[0089] Optionally, in one embodiment of the present application, the vehicle offline functional self-test device 10 further includes: a generation module and a generation module.

[0090] Among them, the generation module is used to generate a vehicle electrical function test diagnosis report based on the function test results.

[0091] The generating module is used to send the electrical function test diagnosis report to the preset terminal.

[0092] Optionally, in one embodiment of the present application, the vehicle offline functional self-test device 10 further includes: a second receiving module, a first judgment module, an identification module and an installation module.

[0093] The second receiving module is used to receive an installation instruction from a software installation device.

[0094] The first judgment module is used to judge whether the vehicle meets the preset installation support condition based on the installation instruction.

[0095] The identification module is used to identify the sensing signals of the vehicle's diagnostic interface and USB interface when the vehicle meets the preset installation support conditions.

[0096] The installation module is used to control the vehicle to install the vehicle electrical function detection software in response to the sensing signal.

[0097] Optionally, in one embodiment of the present application, the installation module includes: a switching unit.

[0098] Among them, the switching unit is used to control the USB interface to switch the mode based on the installation instruction, so as to switch the USB interface to the ABD mode, and restore the USB interface to the initial mode after the installation of the vehicle electrical function detection software is completed.

[0099] Optionally, in one embodiment of the present application, the vehicle offline functional self-detection device 10 further includes: a third receiving module, a second judgment module and an unloading module.

[0100] The third receiving module is used to receive an uninstallation instruction from a software uninstallation device.

[0101] The second judgment module is used to judge whether the vehicle meets the preset uninstallation support condition based on the installation instruction.

[0102] The uninstallation module is used to control the vehicle to uninstall the vehicle electrical function detection software based on the uninstallation instruction when the vehicle meets the preset uninstallation support conditions, and feedback the uninstallation result to the software uninstallation device; otherwise, a manual uninstallation reminder is generated and pushed to the preset terminal.

[0103] It should be noted that the above explanation of the embodiment of the method for self-testing the functions of a whole vehicle off the production line is also applicable to the device for self-testing the functions of a whole vehicle off the production line in this embodiment, and will not be repeated here.

[0104] According to the functional self-test device for the whole vehicle off-line proposed in the embodiment of the present application, it can respond to the self-test signal of the vehicle, read the vehicle controller configuration code of the vehicle, so as to obtain the functional configuration status of the vehicle, thereby combining the test function list matched by the functional configuration status and the test case of each test function in the test function list, synchronously test the electrical functions of the vehicle, and receive the execution result of each electrical function, so as to generate the functional test result of the vehicle according to the execution result of each electrical function, realize efficient and flexible automatic detection of the electronic and electrical functions of the whole vehicle, reduce the labor intensity of the inspection personnel, realize simultaneous detection of multiple vehicles, improve detection efficiency, reduce the number of inspection operators, realize the reliability detection of the electrical functions of the whole vehicle off-line, and improve the quality assurance capability of the manufacturing process. Thus, the technical problems in the related technology that manual detection is time-consuming and difficult to ensure the integrity and accuracy of the detection items, the equipment detection cost is high, the operation convenience is low, and the flexibility is poor, and it is difficult to support functional reliability detection are solved.

[0105] Figure 8 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application. The vehicle may include:

[0106] A memory 801 , a processor 802 , and a computer program stored in the memory 801 and executable on the processor 802 .

[0107] When the processor 802 executes the program, the function self-detection method for the vehicle off-line provided in the above embodiment is implemented.

[0108] Furthermore, the vehicle also includes:

[0109] The communication interface 803 is used for communication between the memory 801 and the processor 802 .

[0110] The memory 801 is used to store computer programs that can be executed on the processor 802 .

[0111] The memory 801 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0112] If the memory 801, the processor 802 and the communication interface 803 are implemented independently, the communication interface 803, the memory 801 and the processor 802 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0113] Optionally, in a specific implementation, if the memory 801, the processor 802 and the communication interface 803 are integrated on a chip, the memory 801, the processor 802 and the communication interface 803 can communicate with each other through an internal interface.

[0114] The processor 802 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0115] This embodiment also provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the above-mentioned vehicle offline functional self-detection method is implemented.

[0116] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the vehicle offline functional self-detection method provided by an embodiment of the present invention.

[0117] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0118] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0119] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0120] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or N wirings (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways as necessary and then storing it in a computer memory.

[0121] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0122] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0123] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0124] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A vehicle off-line function self-test method, characterized in that: Applied to vehicle electrical function detection software, wherein the method comprises the following steps: Receive a self-test signal from the vehicle; In response to the self-test signal, reading a vehicle controller configuration code of the vehicle to obtain a functional configuration state of the vehicle; Based on matching the functional configuration status with the corresponding test function list and the test cases for each test function in the test function list, and based on the test function list and the test cases for each test function, synchronously test the electrical functions of the vehicle, and receive the execution results of each electrical function to generate functional detection results of the vehicle according to the execution results of each electrical function.

2. The method according to claim 1, characterized in that: The electrical functions include at least one of a rearview mirror folding function, a glass lifting function, an interior and exterior lighting control function, an air conditioning system function, a seat adjustment function, and an electric tailgate function.

3. The method according to claim 1, characterized in that After generating the functional test result of the vehicle, the method further includes: generating an electrical function test diagnostic report of the vehicle based on the function test result; The electrical appliance function test diagnosis report is sent to a preset terminal.

4. The method according to claim 1, characterized in that: Before receiving the vehicle's self-test signal, it also includes: receiving an installation instruction from a software installation device; determining whether the vehicle meets a preset installation support condition based on the installation instruction; If the vehicle meets the preset installation support condition, identifying sensing signals of a diagnostic interface and a USB interface of the vehicle; In response to the sensing signal, the vehicle is controlled to install the vehicle electrical function detection software.

5. The method according to claim 4, characterized in that The controlling the vehicle to install the vehicle electrical function detection software includes: Based on the installation instruction, the USB interface is controlled to switch the mode to the ABD mode, and after the installation of the vehicle electrical function detection software is completed, the USB interface is restored to the initial mode.

6. The method according to claim 4, characterized in that After the vehicle electrical function test of the vehicle is performed based on the electrical function test strategy, the method further includes: receiving an uninstallation instruction from a software uninstallation device; determining whether the vehicle meets a preset uninstallation support condition based on the installation instruction; If the vehicle meets the preset uninstall support conditions, the vehicle is controlled to uninstall the vehicle electrical function detection software based on the uninstall instruction, and the uninstall result is fed back to the software uninstall device; otherwise, a manual uninstall reminder is generated and pushed to the preset terminal.

7. A functional self-test device for a vehicle off the production line, characterized in that: Applied to vehicle electrical function detection software, wherein the device comprises: A receiving module, used for receiving a self-test signal of a vehicle; A reading module, configured to read a vehicle controller configuration code of the vehicle in response to the self-test signal to obtain a functional configuration state of the vehicle; A detection module is used to match the corresponding test function list and the test cases of each test function in the test function list based on the function configuration status, and based on the test function list and the test cases of each test function, synchronously test the electrical functions of the vehicle, and receive the execution results of each electrical function to generate functional detection results of the vehicle according to the execution results of each electrical function.

8. The device according to claim 7, characterized in that Also includes: A generating module, used for generating an electrical function test diagnostic report of the vehicle based on the function test result; The generating module is used to send the electrical appliance function test diagnosis report to a preset terminal.

9. A vehicle, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the vehicle off-line functional self-detection method as described in any one of claims 1 to 6.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the functional self-detection method for a vehicle off-line as described in any one of claims 1-6.

Citation Information

Cited By

  • Vehicle inspection method, electronic equipment and computer readable storage medium

    CN121090120A

  • Method and system for configuring user interface with PID facet selectors

    US12738110B2

  • Method and system for configuring user interface with PID facet selectors

    US20250118118A1