Automated Testing System, Method, Electronic Device and Storage Medium

By designing an automated test system, using the upper computer subsystem, virtual simulation equipment and seat heating control system test platform, the problem of high cost, long time and poor repeatability of seat heating control system under the traditional test method is solved, and efficient and repeatable automated tests are achieved.

CN114778129BActive Publication Date: 2025-06-27CHINA FAW CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210381231.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-12
Publication Date
2025-06-27
Estimated Expiration
2042-04-12

AI Technical Summary

Technical Problem

Traditional testing methods lead to high testing costs, long time and poor repeatability of seat heating control systems.

Method used

An automated testing system was designed, including a host computer subsystem, virtual simulation equipment and a seat heating control system test platform. By inputting power parameters, network signal parameters and temperature sensor parameters, a test sequence is generated, and a simulation signal is sent to the test platform through a virtual simulation device, thereby realizing automated testing of the seat heating control system.

Benefits of technology

Automatic testing of the seat heating control system is realized, saving human resources, improving testing efficiency, and improving the repeatability of the test.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114778129B_ABST
    Figure CN114778129B_ABST
Patent Text Reader

Abstract

An embodiment of the present disclosure discloses an automated test system, method, electronic device, and storage medium. Applied to the seat heating system in a vehicle, the system includes: a host subsystem that communicates with a virtual simulation device, is used to input power supply parameters, network signal parameters, and temperature sensor parameters during the simulated seat heating process, generates a test sequence according to the input parameters, and sends the test sequence to the virtual simulation device; the virtual simulation device is used to generate a simulation signal according to the test sequence sent by the host subsystem and send it to the seat heating control system test platform; the seat heating control system test platform is used to heat the seat system based on the simulation signal sent by the virtual simulation device, and obtain the heating control signal and temperature signal of the seat system based on the virtual simulation device; the host subsystem is used to generate a test report based on the heating control signal and temperature signal. The automated test of the seat heating control system is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of testing technologies, and in particular, to an automated testing system, method, electronic device, and storage medium. Background Art

[0002] With the progress of modern automotive electronics technology, a large number of automobiles adopt seat heating control systems, effectively improving the convenience of users' operations for controlling seat heating and enhancing the users' experience. To ensure the performance of the seat heating control system, functional tests and performance tests need to be carried out on the seat heating control system before the vehicle leaves the factory.

[0003] However, since the traditional testing method still integrates the seat heating control system into a real vehicle for real vehicle test verification, it leads to problems such as high testing costs, long time, and poor repeatability.

[0004] Disclosure Content

[0005] Embodiments of the present disclosure provide an automated testing system, method, electronic device, and storage medium to solve the problems of high testing costs, long time, and poor repeatability in the existing solutions when testing the seat heating control system.

[0006] In a first aspect, embodiments of the present disclosure provide an automated testing system applied to a seat heating system in a vehicle, including:

[0007] An upper computer subsystem, a virtual simulation device, and a test platform for the seat heating control system; where

[0008] The upper computer subsystem communicates with the virtual simulation device, and is used to input power supply parameters, network signal parameters, and temperature sensor parameters during the simulated seat heating process, generate a test sequence according to the input parameters, and send the test sequence to the virtual simulation device;

[0009] The virtual simulation device is used to receive the test sequence sent by the upper computer subsystem, generate a simulation signal based on the test sequence, and send the simulation signal to the test platform for the seat family control system;

[0010] The test platform for the seat heating control system communicates with the virtual simulation device, and is used to receive the simulation signal sent by the virtual simulation device, heat the seat system based on the simulation signal, and obtain the heating control signal and temperature signal of the seat system based on the virtual simulation device;

[0011] The upper computer subsystem communicates with the seat heating control system test platform, and is configured to receive the heating control signal and the temperature signal, and generate a test report based on the heating control signal and the temperature signal.

[0012] In a second aspect, an embodiment of the present disclosure further provides an automated testing method, which includes:

[0013] Input power parameters, network signal parameters, and temperature sensor parameters during the simulated seat heating process into the upper computer subsystem. The upper computer subsystem generates a test sequence according to the input parameters, and sends the test sequence to the virtual simulation device;

[0014] The virtual simulation device receives the test sequence sent by the upper computer subsystem, generates a simulation signal based on the test sequence, and sends the simulation signal to the seat heating control system test platform;

[0015] The seat heating control system test platform receives the simulation signal sent by the virtual simulation device, heats the seat system based on the simulation signal, and obtains the heating control signal and the temperature signal of the seat system based on the virtual simulation device;

[0016] The upper computer subsystem receives the heating control signal and the temperature signal, and generates a test report based on the heating control signal and the temperature signal.

[0017] In a third aspect, an embodiment of the present disclosure further provides an electronic device, which includes:

[0018] One or more processors;

[0019] A storage device for storing one or more programs,

[0020] When the one or more programs are executed by the one or more processors, the one or more processors implement the automated testing method according to any one of the embodiments of the present disclosure.

[0021] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, it implements the automated testing method according to any one of the embodiments of the present disclosure.

[0022] In the technical solution of the embodiment of the present disclosure, by inputting various working parameters into the upper computer subsystem, the upper computer subsystem generates a corresponding test sequence according to the input parameters, and the virtual simulation device generates a corresponding simulation signal according to the test sequence, and sends the simulation signal to the seat heating control system test platform. The seat heating control system test platform controls the heating of the seat system according to the simulation signal, and obtains the heating control signal and temperature signal of the seat system based on the virtual simulation device, and transmits them to the upper computer subsystem. The upper computer subsystem generates a test report based on the heating control signal and temperature signal, realizing the automated test of the seat heating control system, saving human resources and improving the test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present disclosure, the following briefly introduces the drawings required for describing the embodiments. Obviously, the introduced drawings are only the drawings of a part of the embodiments to be described in the present disclosure, rather than all the drawings. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained according to these drawings.

[0024] Figure 1 FIG. is a schematic structural diagram of an automated test system provided in Embodiment 1 of the present disclosure;

[0025] Figure 2 FIG. is a schematic structural diagram of an automated test system provided in Embodiment 2 of the present disclosure;

[0026] Figure 3 FIG. is a schematic structural diagram of the upper computer system provided in Embodiment 2 of the present disclosure;

[0027] Figure 4 FIG. is a schematic structural diagram of the virtual simulation cabinet provided in Embodiment 2 of the present disclosure;

[0028] Figure 5 FIG. is a schematic structural diagram of the seat heating system test platform provided in Embodiment 2 of the present disclosure;

[0029] Figure 6 FIG. is a schematic flowchart of an automated test method provided in Embodiment 3 of the present disclosure;

[0030] Figure 7 FIG. is a schematic structural diagram of an electronic device provided in Embodiment 4 of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0031] The present disclosure will be further described in detail below with reference to the accompanying drawings and embodiments. It can be understood that the specific embodiments described herein are only for explaining the present disclosure, rather than limiting the present disclosure. Additionally, it should be noted that for the convenience of description, only the parts related to the present disclosure rather than all the structures are shown in the drawings.

[0032] Embodiment 1

[0033] Figure 1 The following is a schematic structural diagram of an automated test system provided in Embodiment 1 of the present disclosure. This embodiment is applicable to testing the seat heating system in a vehicle, and solves the problems of high test cost, long time, and poor repeatability in testing the seat heating system in the existing solutions. This system can be integrated in an electronic device, and the electronic device can be a PC terminal or a server, etc. This system can be configured in a computing device. The automated test system provided in this embodiment specifically includes the following:

[0034] As Figure 1 shown, the automated test system (hereinafter referred to as the test system) includes:

[0035] The upper computer subsystem, the virtual simulation device, and the test platform for the seat heating control system; wherein,

[0036] The upper computer subsystem communicates with the virtual simulation device, and is used to input power parameters, network signal parameters, and temperature sensor parameters during the simulated seat heating process, generate a test sequence according to the input parameters, and send the test sequence to the virtual simulation device.

[0037] Among them, the power parameters can be the power voltage value and the power current value during the seat heating process. The network signal parameters can be understood as the surrounding network environment information during the seat heating process. The temperature sensor parameters can be the temperature sensor parameters set in the seat heating system, and are used to indicate the temperature information during the seat heating process. The test sequence can be understood as a sequence for performing simulation.

[0038] Specifically, the upper computer subsystem and the virtual simulation device can be communicatively connected via Ethernet. For example, a corresponding wireless communication module can be set in the upper computer system. The upper computer subsystem and the virtual simulation subsystem can perform data transmission based on the wireless communication module. The upper computer subsystem and the simulation subsystem can also be connected via a bus. When connected via a bus, each subsystem exchanges information via the bus. When a user needs to use the automated test system to perform an automated test on the seat heating control system, the power supply parameters, network signal parameters, temperature sensor parameters, etc. during the operation of the seat heating control system can be input into the upper computer subsystem of the automated test system. The upper computer subsystem generates a corresponding test sequence based on the input parameters and sends the test sequence to the virtual simulation device based on a preset communication method.

[0039] In the technical solution of this embodiment, by inputting the parameter information during the operation of the seat heating control system when the user needs to use the automated test system, the upper computer subsystem can generate a corresponding test sequence based on the input information, enabling the virtual simulation device to perform an automated test based on the test sequence, realizing the automated test of the seat heating control system and improving the test efficiency.

[0040] Based on the above technical solution, the upper computer subsystem includes: a test database module and a test sequence module; wherein, the test database module is used to store test parameters under various test conditions and, when receiving a test request, determine the target test parameters corresponding to the current test condition from the various test parameters; the target test parameters include power supply parameters, network signal parameters, and the temperature sensor parameters; the test sequence generation module is used to generate a test sequence to be sent to the virtual simulation device according to the target test parameters.

[0041] Among them, the test condition can be understood as various working conditions that need to be tested. The test parameters can be vehicle parameters corresponding to the vehicle under various conditions. The vehicle parameters can include parameters such as the height parameter of the vehicle body, speed parameter, engine speed parameter, power supply parameter, network signal parameter, and the temperature sensor parameter. The test request can be a request sent by the user by triggering an interaction button in the upper computer subsystem.

[0042] Specifically, vehicle parameter information under various working conditions can be collected in advance and stored in the test database module of the upper computer subsystem. For example, vehicle parameter information under various working conditions can be collected based on various sensors set on the vehicle. After the vehicle parameter information is collected, it is uploaded to the cloud. When the user needs to conduct a simulation test, the required vehicle parameter information can be downloaded from the cloud. It can also be the vehicle parameter information set by the user according to requirements before the simulation test. For example, the parameter information of the vehicle working in an extreme working environment. It can be understood that different working conditions correspond to different parameter information. A comparison table can be set in advance to store the parameter information corresponding to different working conditions correspondingly. Furthermore, when the user needs to use the automated test system in this embodiment, the working condition to be tested can be freely selected. The upper computer subsystem searches for the parameter information corresponding to the working condition information from the test database module according to the working condition information selected by the user. For example, the corresponding parameter information can be found in the comparison table according to the working condition selected by the user. Then, the test sequence generation module generates a corresponding test sequence based on the parameter information and sends the generated test sequence to the simulation test device.

[0043] It should be noted that the upper computer subsystem can be an intelligent device with data storage function, data processing function and capable of sending control instructions, such as a computer, etc. On the one hand, the upper computer subsystem in this embodiment is used to determine the corresponding vehicle parameters based on the working condition information selected by the user, construct a corresponding test sequence based on the parameter information, and send the test sequence to the virtual simulation test device. On the other hand, it can also be used to receive the test request sent by the user. By increasing the number of test working conditions in this embodiment, the problem of single traditional test working condition is avoided, and the parameter selection and the automated test of the seat heating control system can be automatically completed based on the working condition information selected by the user, saving human resources and improving the test efficiency.

[0044] The virtual simulation device is used to receive the test sequence sent by the upper computer subsystem, generate a simulation signal based on the test sequence, and send the simulation signal to the seat heating control system test platform.

[0045] Among them, the simulation signal can be used to instruct the seat heating control system test platform to conduct corresponding simulation tests.

[0046] Specifically, after receiving the test sequence sent by the upper computer subsystem, the virtual simulation device can generate a corresponding simulation signal based on the received test sequence and send the test signal to the seat heating control system test platform, so that the seat heating control system test platform conducts a simulation test on the seat heating control system according to the simulation signal.

[0047] Based on the above technical solutions, the virtual simulation device includes: a power control model, a seat heating output acquisition model, a seat temperature sensor simulation model, and a seat temperature acquisition model; wherein, the power control model is used to provide the voltage and current required by the seat heating controller according to the simulation signal; the seat temperature sensor simulation model is used to simulate the resistance value of the seat temperature sensor corresponding to the simulation signal; the seat heating output acquisition model is used to collect the control signal output by the seat heating controller for heating, so as to collect the duty cycle and frequency; the seat temperature acquisition module is used to collect the seat surface temperature; wherein, the seat surface temperature includes the seat temperature with and without a user; based on the information collected by each model, the simulation signal is generated.

[0048] Among them, the seat heating controller can be a controller for controlling the vehicle seat heating system. For example, the seat heating controller can be a single-chip microcomputer. The voltage and current can be understood as the voltage value and current value when the seat heating controller is working. The seat temperature sensor can be a sensor for collecting seat temperature information. It should be noted that the temperature sensor detects the resistance value of the temperature-sensitive resistor and obtains the corresponding temperature information according to this resistance value. Therefore, the resistance value can be understood as the resistance value of the temperature-sensitive resistor at the current temperature. The control signal can be understood as the control information output by the seat heating controller for controlling the seat heater. The duty cycle can be the proportion of the energization time relative to the total time within a pulse cycle of the control signal. Correspondingly, the frequency can be understood as the number of times the control signal completes a periodic change within a unit time. Generally, the unit time is 1 second. The seat surface temperature can be the temperature of the surface of the vehicle seat.

[0049] Specifically, the power control model in the virtual simulation device provides the working voltage value and working current value for the seat heating controller according to the simulation signal. It can be understood that in order to meet the needs of users, the seat heating control system installed on the vehicle usually sets multiple heating modes. The working voltage and working current of the seat heating controller are different under different heating modes. Therefore, the power control model can provide different working currents and working voltages for the seat heating controller according to the simulation signal. The seat temperature sensor simulation model can simulate the resistance value of the corresponding seat temperature sensor according to the simulation signal, and then the seat temperature under the current working condition can be determined according to this resistance value. The seat heating output acquisition model collects the control signal sent by the seat heating controller during operation and analyzes the collected control signal to obtain the corresponding duty cycle and frequency information. The temperature acquisition module collects the temperature information of the seat surface. It can be understood that due to the different usage states of the vehicle seat, the seat temperature information in the used state and the unused state is different. After the required information is collected by each model, the corresponding simulation signal is generated according to the collected information.

[0050] Based on the above technical solution, the virtual simulation device further includes: the thermal imaging acquisition system, which is the same as the thermal imaging system, and is used to acquire the thermal imaging data and generate a thermal map based on the thermal imaging data; wherein, the thermal map corresponds to the temperature signal.

[0051] Among them, the thermal imaging data can be the heat information collected by a corresponding thermal imaging device. It can be understood that the thermal imaging device can detect infrared energy (heat) non - contact and convert it into an electrical signal, and then generate a thermal image and temperature value on a display. The thermal map can be the image information generated based on the thermal imaging data.

[0052] Specifically, the heat information of the vehicle seat heating system can be collected by the thermal imaging acquisition system set in the virtual simulation device, and the corresponding thermal imaging data can be generated, and the corresponding thermal map can be generated based on the thermal imaging data. It can be understood that the image areas in the thermal map may have different colors, and according to the different regional temperatures, the corresponding colors are also different.

[0053] The seat heating control system test platform communicates with the virtual simulation device, and is used to receive the simulation signal sent by the virtual simulation device, heat the seat system based on the simulation signal, and obtain the heating control signal and temperature signal of the seat system based on the virtual simulation device.

[0054] Among them, the heating control signal can be the heating signal sent by the seat heating controller. The temperature signal can be understood as the temperature signal collected by the temperature sensor set in the virtual simulation device.

[0055] Specifically, the seat heating control system test platform and the virtual simulation device can communicate based on a pre - set wireless communication module, or can also be connected through a bus. When connected through a bus, data is transmitted between the seat heating control system test platform and the virtual simulation device based on the pre - set bus. The seat heating control system test platform heats the vehicle seat system according to the simulation signal sent by the virtual simulation device and obtains the heating control signal and temperature signal of the seat system collected by the virtual simulation device based on the pre - set communication method.

[0056] On the basis of the above technical solution, the seat heating control system test platform includes a seat heating controller, a seat system, a temperature acquisition system, and a thermal imaging system; wherein, the seat heating controller is used to drive the seat system based on the simulation signal so that the seat system is heated; the seat system is used to heat the seat cushion and backrest of the seat based on the working signal of the seat heating controller; the temperature acquisition system is used to acquire the seat surface temperature and the backrest temperature of the seat system; the thermal imaging system is deployed on the surface of the seat and is used to acquire the thermal imaging data of the seat.

[0057] Specifically, the seat heating controller in the seat heating control system test platform drives the seat system according to the received simulation signal, thereby enabling the seat system to produce a corresponding heating effect. For example, if the current simulation signal corresponds to the comfort mode, the seat system is driven to heat to the most suitable temperature range for the human body according to the current simulation signal. The seat system heats the seat cushion and backrest of the seat according to the signal sent by the seat heating controller. It can be understood that existing seat systems often set electric heaters at corresponding positions on the seat, and the seat can be heated through the electric heaters. The temperature acquisition system can acquire the temperatures of the seat surface and the backrest through preset temperature sensors. The thermal imaging system pre-set on the seat surface can acquire the thermal imaging data of the seat.

[0058] The upper computer subsystem communicates with the seat heating control system test platform and is used to receive the heating control signal and the temperature signal, and generate a test report based on the heating control signal and the temperature signal.

[0059] Among them, the test report can be evaluation information for the functions and performance of the seat heating control system.

[0060] Specifically, after the seat heating control system test platform completes the simulation of the seat heating control system under the selected working conditions according to the simulation signal generated by the virtual simulation device, the collected information is transmitted to the upper computer subsystem through a preset information transmission method, and the upper computer subsystem generates a test report based on the collected heating control signal and temperature signal.

[0061] On the basis of the above technical solution, in the upper computer subsystem, there is also included: a test report generation module, which is used to receive the heating control signal and the temperature signal, compare and process them with the collected true values, determine the performance of the seat heating system, and generate a test report corresponding to the performance.

[0062] Among them, the true value can be the true temperature signal collected by the sensors set on the seat heating control system test platform.

[0063] Specifically, the test report generation module in the upper computer subsystem receives the heating control signal and the temperature signal sent by the seat heating control system test platform, compares the received heating control signal and the temperature signal with the actual collected real temperature information, determines the performance of the seat heating system according to the comparison result, and generates a test report corresponding to the performance. For example, the selected test condition is the working mode under extremely cold conditions. Assume that the final heating temperature of the seat heating control system under extremely cold conditions during design is A. After simulating the working condition of the seat heating control system under extremely cold conditions according to the preset method, the real temperature under the current condition collected is B. If B≥A, it proves that the performance of the current seat heating control system meets the design requirements; if B<A, it proves that the performance of the current seat heating control system does not meet the design requirements.

[0064] In the technical solution of the embodiment of the present disclosure, by inputting various working parameters into the upper computer subsystem, the upper computer subsystem generates a corresponding test sequence according to the input parameters, and the virtual simulation device generates a corresponding simulation signal according to the test sequence, and sends the simulation signal to the seat heating control system test platform. The seat heating control system test platform controls the heating of the seat system according to the simulation signal, obtains the heating control signal and the temperature signal of the seat system based on the virtual simulation device, and transmits them to the upper computer subsystem. The upper computer subsystem generates a test report based on the heating control signal and the temperature signal, realizing the automated test of the seat heating control system, saving human resources, and improving the test efficiency.

[0065] Embodiment 2

[0066] Figure 2 FIG. is a schematic structural diagram of an automated test system provided by Embodiment 2 of the present disclosure. In this embodiment, the automated test system is further optimized on the basis of the above example, and the specific implementation manner can refer to the technical solution of this embodiment. Among them, the same or corresponding technical terms as those in the above embodiment will not be described in detail here.

[0067] As Figure 2 shown, the automated test system specifically includes: an upper computer system, a virtual simulation device, and a seat heating control system test platform; the upper computer system is communicatively connected to the virtual simulation cabinet through Ethernet; the virtual simulation device is connected to the seat heating control system test platform through a hard wire.

[0068] Figure 3 FIG. is a schematic structural diagram of the upper computer system provided by Embodiment 2 of the present disclosure. As Figure 3As shown in the figure. The host computer system includes: a database module for storing parameters required for testing the seat heating control system, including seat temperature sensor simulation data and CAN network simulation data; a test sequence module for constructing an executable test sequence; an automated test module for executing the automated test process and comparing the actual test results with the results stored in the database module that are expected to be set; and a test report module for generating test reports in various formats. The host computer system controls the working process of the entire system by sending commands to the virtual simulation cabinet.

[0069] Specifically, the host computer system includes: a database module, a test sequence module, an automated test module, and a test report module. The host computer system controls the working process of the entire system by sending commands to the virtual simulation cabinet. Automated testing improves the test repeatability and the accuracy of test results.

[0070] Figure 4 FIG. is a schematic structural diagram of the virtual simulation cabinet provided in Embodiment 2 of the present disclosure, as Figure 4 shown in the figure. The virtual simulation cabinet includes: a real-time processor, a power control model, a seat temperature sensor simulation model, a seat heating output acquisition model, a seat temperature acquisition model, and a thermal imaging acquisition model, all of which run in the real-time processor. Among them, the power control model is used to provide various voltage and current power input conditions to the seat heating controller; the seat temperature sensor simulation model is used to simulate the resistance values of the seat temperature sensor in different scenarios, calculate the resistance values of the seat temperature sensor at different temperatures through calibration data, so as to simulate the change of the resistance value of the seat temperature sensor under actual working conditions, such as low-temperature heating, normal-temperature heating, temperature signal hysteresis interval fluctuation and other working conditions, and cooperate with the automated test sequence to complete the simulation of the resistance values of the seat temperature sensor in multiple scenarios; the seat heating output acquisition model is used to collect the heating output control signal of the seat heating controller, and can collect the duty cycle and frequency in real time, which is convenient for analyzing the correctness of the control strategy; the seat temperature acquisition model is used to collect the surface temperature of the seat, and can collect the surface temperature when there are passengers and no passengers on the seat; the thermal imaging acquisition model is used to collect the surface temperature of the seat when there are no passengers and the heating uniformity effect of the seat surface after being heated; the CAN network model is used to simulate the network environment around the seat heating controller. The real-time processor is connected to the IO board and the CAN board through the PCIe bus.

[0071] Specifically, the virtual simulation device includes: a real-time processor, a seat temperature sensor simulation model, a seat heating output acquisition model, a seat temperature acquisition model, a thermal imaging acquisition model, a CAN network simulation model, an IO board, and a CAN board. The seat temperature sensor simulation model, the seat heating output acquisition model, the seat temperature acquisition model, and the thermal imaging acquisition model run in the real-time processor; through the seat temperature sensor simulation model and the CAN network simulation model, the function test and performance test of seat heating under various working conditions can be realized, greatly increasing the test scenarios and extreme working conditions; the seat temperature acquisition model can accurately calculate the seat surface temperature. The thermal imaging system can collect the seat surface temperature in real time during the heating process.

[0072] Figure 5 FIG. is a schematic structural diagram of the seat heating system test platform provided in the second embodiment of the present disclosure, as Figure 5 shown. The seat heating control system test platform includes: a seat heating control, a seat system, a temperature acquisition system, and a thermal imaging system. The seat heating controller is used to drive the seat system, and at the same time, the heating signal is collected by the virtual simulation device to calculate the duty cycle and frequency of the control signal in real time; the seat system is used to heat the seat cushion and backrest, and is the driving load of the seat heating controller; the temperature acquisition system is used to collect the temperature of the seat surface, and the temperature patch resistors are installed at different positions on the seat surface to monitor the seat surface temperature with and without passengers in real time; the thermal imaging system is used to collect the temperature of the seat surface, and the thermal imaging device is placed above the seat surface, and the thermal imaging data is transmitted to the virtual simulation device in real time. The seat heating control, the seat system, and the temperature acquisition system are connected through hard wires and the IO board and the CAN board.

[0073] Specifically, the temperature acquisition system uses patch resistors to accurately measure the seat surface temperature with and without passengers, and test the seat heating rate, which is beneficial to improving the repeatability and accuracy of the test process and avoiding accidental errors caused by human perception in the test. The thermal imaging system can collect the seat surface temperature in real time during the heating process and detect whether the heating area is uniform.

[0074] Specifically, the host computer system sends control signals to the power control model, seat temperature sensor model, and CAN network model in the real-time processor through the automation database. The power control model supplies power to the seat heating controller and the seat system; the CAN network model simulates the normal working environment of the seat heating controller and sends control instructions for the seat heating controller at the same time. For example, heating at gear 1, heating at gear 2, and heating at gear 3; the seat temperature sensor model simulates the temperature acquisition data of the seat heating controller and provides the ambient temperature for it to implement heating strategies under different working conditions. The real-time processor transmits the calculated signal instructions to the seat heating controller through the IO board and the CAN board. After receiving the control signal, the controller drives the heating resistor inside the seat system to turn on or off, so as to keep different temperatures on the seat surface at different temperatures and provide a comfortable riding experience for passengers. The temperature acquisition system transmits the seat surface temperature information to the virtual simulation device through the temperature patch resistor, and calculates the real-time seat surface temperature information to verify whether the seat heating controller can drive the seat system to maintain a certain temperature at different temperatures, forming a closed-loop test. The thermal imaging system transmits the seat surface thermal imaging information to the virtual simulation device to obtain the real-time seat surface temperature information and seat surface thermal imaging information, which are used to verify the dynamic performance of the seat system heating and the balance of the heating parts. In addition, an automation test software can be run on the host computer system. Through the test sequence module and the automation test module, the power parameters and seat temperature in the database module can be controlled and collected in real time, and the test results can be automatically compared, and finally an automation test report can be generated. Through the control of the host computer system, the seat control system can be comprehensively and systematically tested for its functions and performance.

[0075] In the technical solution of the embodiment of the present disclosure, by inputting a variety of working parameters into the host computer system, the host computer system generates a corresponding test sequence according to the input parameters, and the virtual simulation device generates a corresponding simulation signal according to the test sequence, and sends the simulation signal to the seat heating control system test platform. The seat heating control system test platform controls the heating of the seat system according to the simulation signal, and obtains the heating control signal and temperature signal of the seat system based on the virtual simulation device, and transmits them to the host computer system. The host computer system generates a test report based on the heating control signal and temperature signal, realizing the automation test of the seat heating control system, saving human resources and improving the test efficiency.

[0076] Embodiment 3

[0077] Figure 6 It is a schematic flowchart of an automation test method provided in Embodiment 3 of the present disclosure. This method can be applied to the automation test system provided in the above embodiment to solve the problems of high test cost, long time, and poor repeatability in the existing solution when testing the seat heating control system. Refer toFigure 6 , the method may include the following steps:

[0078] S310. Input the power supply parameters, network signal parameters, and temperature sensor parameters during the simulated seat heating process into the host subsystem. The host subsystem generates a test sequence based on the input parameters and sends the test sequence to the virtual simulation device;

[0079] S320. The virtual simulation device receives the test sequence sent by the host subsystem, generates a simulation signal based on the test sequence, and sends the simulation signal to the seat heating control system test platform;

[0080] S330. The seat heating control system test platform receives the simulation signal sent by the virtual simulation device, heats the seat system based on the simulation signal, and obtains the heating control signal and temperature signal of the seat system based on the virtual simulation device;

[0081] S340. The host subsystem receives the heating control signal and the temperature signal, and generates a test report based on the heating control signal and the temperature signal.

[0082] Based on the above technical solution, when the host subsystem generates a test sequence according to the input parameters and sends the test sequence to the virtual simulation device, it further includes: when receiving a test request, determining target test parameters corresponding to the current test condition from the test parameters under various test conditions pre-stored in the test database module; wherein, the target test parameters include power supply parameters, network signal parameters, and the temperature sensor parameters; and then the test sequence generation module generates a test sequence sent to the virtual simulation device according to the target test parameters.

[0083] In the technical solution of the embodiments of the present disclosure, by inputting various working parameters into the host subsystem, the host subsystem generates a corresponding test sequence according to the input parameters, and the virtual simulation device generates a corresponding simulation signal according to the test sequence and sends the simulation signal to the seat heating control system test platform. The seat heating control system test platform controls the heating of the seat system according to the simulation signal, obtains the heating control signal and temperature signal of the seat system based on the virtual simulation device, and transmits them to the host subsystem. The host subsystem generates a test report based on the heating control signal and the temperature signal, realizing the automated test of the seat heating control system, saving human resources, and improving the test efficiency.

[0084] The automated test method provided by the embodiments of the present disclosure and the automated test system provided by the above embodiments belong to the same inventive concept. For specific details, reference may be made to the above embodiments and will not be elaborated here.

[0085] Example 4

[0086] Figure 7 FIG. is a schematic structural diagram of an electronic device provided in Example 4 of the present disclosure. Figure 7 FIG. shows a block diagram of an exemplary electronic device 70 suitable for implementing the embodiments of the present disclosure. Figure 7 The shown electronic device 70 is merely an example and should not impose any limitation on the functions and usage scope of the embodiments of the present disclosure.

[0087] As Figure 7 shown, the electronic device 70 is presented in the form of a general-purpose computing device. The components of the electronic device 70 may include, but are not limited to: one or more processors or processing units 701, a system memory 702, and a bus 703 connecting different system components (including the system memory 702 and the processing unit 701).

[0088] The bus 703 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the multiple bus structures. By way of example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.

[0089] The electronic device 70 typically includes a variety of computer system-readable media. These media can be any available media accessible by the electronic device 70, including volatile and non-volatile media, removable and non-removable media.

[0090] The system memory 702 may include computer system-readable media in the form of volatile memory, such as random access memory (RAM) 704 and / or cache memory 705. The electronic device 70 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, a storage system 707 may be used for reading and writing non-removable, non-volatile magnetic media ( Figure 7 not shown, commonly referred to as a "hard disk drive"). Although Figure 7Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (such as a "floppy disk") and an optical disk drive for reading and writing to a removable non-volatile optical disk (such as a CD-ROM, DVD-ROM or other optical medium) can be provided. In these cases, each drive can be connected to the bus 703 through one or more data medium interfaces. The memory 702 may include at least one program product having a set (such as at least one) of program modules configured to perform the functions of the embodiments of the present disclosure.

[0091] A program / utility 708 having a set (at least one) of program modules 707 can be stored in, for example, the memory 702. Such program modules 707 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include the implementation of a network environment. The program modules 707 generally perform the functions and / or methods in the embodiments described in the present disclosure.

[0092] The electronic device 70 can also communicate with one or more external devices 709 (such as a keyboard, a pointing device, a display 710, etc.), and can also communicate with one or more devices that enable a user to interact with the electronic device 70, and / or communicate with any device that enables the electronic device 70 to communicate with one or more other computing devices (such as a network card, a modem, etc.). Such communication can be carried out through an input / output (I / O) interface 711. And, the electronic device 70 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and / or a public network, such as the Internet) through a network adapter 712. As shown in the figure, the network adapter 712 communicates with other modules of the electronic device 70 through the bus 703. It should be understood that although Figure 7 not shown in the figure, other hardware and / or software modules can be used in combination with the electronic device 70, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0093] The processing unit 701 executes various functional applications and data processing by running programs stored in the system memory 702, such as implementing the automated test method provided by the embodiments of the present disclosure.

[0094] Embodiment Five

[0095] Embodiment Five of the present disclosure also provides a storage medium containing computer-executable instructions that are used to execute an automated test method when executed by a computer processor. The method includes:

[0096] Input the power supply parameters, network signal parameters, and temperature sensor parameters during the simulated seat heating process into the host computer subsystem. The host computer subsystem generates a test sequence based on the input parameters and sends the test sequence to the virtual simulation device;

[0097] The virtual simulation device receives the test sequence sent by the host computer subsystem, generates a simulation signal based on the test sequence, and sends the simulation signal to the seat heating control system test platform;

[0098] The seat heating control system test platform receives the simulation signal sent by the virtual simulation device, heats the seat system based on the simulation signal, and obtains the heating control signal and temperature signal of the seat system from the virtual simulation device;

[0099] The host computer subsystem receives the heating control signal and the temperature signal, and generates a test report based on the heating control signal and the temperature signal.

[0100] The computer storage medium of the embodiments of the present disclosure may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of the computer-readable storage medium include: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, the computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.

[0101] The computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries the computer-readable program code. Such a propagated data signal may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device.

[0102] The program code contained on a computer-readable medium can be transmitted with any appropriate medium, including - but not limited to - wireless, wire, optical fiber cable, RF, etc., or any suitable combination of the above.

[0103] The computer program code for performing the operations of the embodiments of the present disclosure can be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages - such as Java, Smalltalk, C++, and also include conventional procedural programming languages - such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network - including a local area network (LAN) or a wide area network (WAN) - or, alternatively, can be connected to an external computer (e.g., by connecting through the Internet using an Internet service provider).

[0104] Note that the above is only the preferred embodiment of the present disclosure and the applied technical principles. Those skilled in the art will understand that the present disclosure is not limited to the specific embodiments described herein. Various obvious changes, re-adjustments, and substitutions can be made by those skilled in the art without departing from the protection scope of the present disclosure. Therefore, although the present disclosure has been described in more detail through the above embodiments, the present disclosure is not limited to the above embodiments. Without departing from the concept of the present disclosure, more other equivalent embodiments can be included, and the scope of the present disclosure is determined by the scope of the appended claims.

Claims

1. An automated test system, characterized in that, A seat heating system applied to a vehicle, comprising: a host computer subsystem, a virtual simulation device, and a test platform for a seat heating control system; wherein, The host computer subsystem communicates with the virtual simulation device, and is used for inputting power supply parameters, network signal parameters, and temperature sensor parameters during the simulated seat heating process, generating a test sequence according to the input parameters, and sending the test sequence to the virtual simulation device; The virtual simulation device is used for receiving the test sequence sent by the host computer subsystem, generating a simulation signal based on the test sequence, and sending the simulation signal to the test platform for the seat heating control system; The test platform for the seat heating control system communicates with the virtual simulation device, and is used for receiving the simulation signal sent by the virtual simulation device, heating the seat system based on the simulation signal, and obtaining the heating control signal and temperature signal of the seat system from the virtual simulation device; The host computer subsystem communicates with the test platform for the seat heating control system, and is used for receiving the heating control signal and the temperature signal, and generating a test report based on the heating control signal and the temperature signal; Wherein, the virtual simulation device includes: a power control model, a seat heating output acquisition model, a seat temperature sensor simulation model, and a seat temperature acquisition model; wherein, The power control model is used for providing the voltage and current required by the seat heating controller according to the simulation signal; The seat temperature sensor simulation model is used for simulating the resistance value of the seat temperature sensor corresponding to the simulation signal; The seat heating output acquisition model is used for collecting the control signal of the heating output of the seat heating controller to collect the duty cycle and frequency; The seat temperature acquisition model is used for collecting the seat surface temperature; wherein, the seat surface temperature includes the seat temperature with and without a user; Based on the information collected by each model, the simulation signal is generated; Wherein, in the host computer subsystem, there is also included: A test report generation module, which is used for receiving the heating control signal and the temperature signal, comparing and processing them with the collected real values, determining the performance of the seat heating system, and generating a test report corresponding to the performance; wherein, the real value is the real temperature signal collected by the sensor set on the test platform for the seat heating control system, and the temperature signal is the temperature signal collected by the temperature sensor set in the virtual simulation device.

2. The system according to claim 1, characterized in that, The host computer subsystem includes: a test database module, a test sequence module; wherein, The test database module is used for storing test parameters under various test conditions, and determining the target test parameters corresponding to the current test condition from each test parameter when receiving a test request; wherein, the target test parameters include power supply parameters, network signal parameters, and the temperature sensor parameters; The test sequence generation module is used for generating a test sequence sent to the virtual simulation device according to the target test parameters.

3. The system according to claim 1, characterized in that, The test platform of the seat heating control system includes a seat heating controller, a seat system, a temperature acquisition system, and a thermal imaging system; among them, the seat heating controller is used to drive the seat system based on the simulation signal so that the seat system is heated; the seat system is used to heat the seat cushion and the backrest of the seat based on the working signal of the seat heating controller; the temperature acquisition system is used to acquire the seat surface temperature and the backrest temperature of the seat system; the thermal imaging system is deployed on the surface of the seat and is used to acquire the thermal imaging data of the seat.

4. The system according to claim 3, characterized in that, The virtual simulation device further includes: the thermal imaging acquisition system, which is the same as the thermal imaging system, is used to obtain the thermal imaging data and generate a thermal map based on the thermal imaging data; wherein, the thermal map corresponds to the temperature signal.

5. An automated testing method, characterized in that, Applied to the automated test system according to any one of claims 1-4, including: Input the power supply parameters, network signal parameters, and temperature sensor parameters during the simulated seat heating into the upper computer subsystem. The upper computer subsystem generates a test sequence according to the input parameters and sends the test sequence to the virtual simulation device; The virtual simulation device receives the test sequence sent by the upper computer subsystem, generates a simulation signal based on the test sequence, and sends the simulation signal to the seat heating control system test platform; The seat heating control system test platform receives the simulation signal sent by the virtual simulation device, heats the seat system based on the simulation signal, and obtains the heating control signal and temperature signal of the seat system based on the virtual simulation device; The upper computer subsystem receives the heating control signal and the temperature signal and generates a test report based on the heating control signal and the temperature signal.

6. The method according to claim 5, characterized in that, The upper computer subsystem generates a test sequence according to the input parameters and sends the test sequence to the virtual simulation device further includes: When receiving a test request, determine the target test parameters corresponding to the current test condition from the test parameters under various test conditions pre-stored in the test database module; wherein, the target test parameters include power supply parameters, network signal parameters, and the temperature sensor parameters; Furthermore, the test sequence generation module generates a test sequence sent to the virtual simulation device according to the target test parameters.

7. An electronic device, characterized in that, The device includes: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, enabling the one or more processors to implement the automated test method according to any one of claims 5 or 6.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the automated test method according to any one of claims 5 or 6.