Internet-of-vehicles automatic test method and system based on cloud management end, and electronic equipment
Through automated testing methods and systems based on cloud and pipe terminals, HIL cabinets and Matlab systems and other components are used to solve the complex functional testing problems of the Internet of Vehicles system, achieve efficient automated testing of the Internet of Vehicles system, and improve software quality and development efficiency.
Patent Information
- Application Number
- CN202410504077.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-25
- Publication Date
- 2024-08-30
AI Technical Summary
It is difficult to efficiently test and verify the complex body control functions in the Internet of Vehicles system with existing technology, especially in terms of simulating multiple scenarios and remote function testing, which is inefficient and difficult to perform manual testing.
Adopting automated testing methods and systems based on the cloud and pipe end, through HIL cabinets, Matlab systems, Vehcile SPY diagnostic equipment and network damage instruments, an automated testing environment is constructed to simulate vehicle status and network abnormalities, and realize remote command simulation and functions between the vehicle end and the cloud. test.
It achieves efficient automated testing of the Internet of Vehicles system, shortens development time, improves software quality, reduces after-sales problems and recall risks, reduces manpower and development costs, and performs particularly well in regression testing and software version iteration testing.
Smart Images

Figure CN118567326A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of automobile automated testing, and in particular relates to a cloud-based Internet of Vehicles automated testing method, system and electronic equipment. Background Art
[0002] The ECU of the body system covers many control functions and has complex interaction logic. Especially with the development of the Internet of Vehicles, the emergence of body remote control functions, such as remote start, remote air conditioning, remote window opening, etc., while providing convenience to people, also brings functional safety risks and challenges. At present, most OEMs mainly test the vehicle-side functions of the body controller through real vehicles or benches. For vehicle control remote function testing, remote function testing is mainly achieved through mobile phone APP interface operation. The test scenario is complex, manual testing is difficult, and the efficiency is also low.
[0003] How to efficiently test and simulate various complex logic body control functions and manually test multiple scenarios during the module development process to ensure the reliability of body control functions on the vehicle side, pipe side and cloud side. At present, it is still an unresolved problem to automatically detect various body controllers based on the Internet of Vehicles. Summary of the invention
[0004] The present invention provides a cloud-based vehicle network automation testing method, system and electronic equipment, which are used to solve the technical problems of complex testing scenarios and difficult manual testing of vehicle body controllers.
[0005] In a first aspect, the present invention provides a cloud-based automated testing method for an Internet of Vehicles, comprising:
[0006] Build a cloud-pipe-end integrated automated testing environment, which includes a HIL cabinet, a HIL test bench, a network damage instrument, a cloud service platform, a 5G base station, and a PC host. The PC host integrates a Matlab system, a HIL simulation platform, and a diagnostic device Vehcile SPY;
[0007] Establishing a hard-line control model and a bus control signal model of the body control load according to the control type of the body control load in the Matlab system, and transmitting the hard-line control model and the bus control signal model to the ControlDesk control system of the HIL simulation platform;
[0008] The HIL cabinet sends the body control simulation signal to the BCM after being processed by the IO board and conditioning circuit. The BCM outputs the actuator drive signal and interaction information after internal strategy processing.
[0009] The diagnostic device Vehcile SPY is connected to the HIL cabinet through OBD, and is combined with the HIL system to build a remote control authentication platform and an interactive platform. It sends an anti-theft authentication match. After the T-BOX completes the handshake, it starts forwarding data to the cloud and the vehicle. It simulates the vehicle status message in the hardware-in-the-loop test bench, and transmits the collected vehicle status message data to the T-BOX to complete the big data upload.
[0010] The cloud server communicates serially with the T-BOX through the 5G base station, uses Python to call the cloud platform API interface, creates a remote test task, and simulates the sending and receiving of remote commands from the cloud to the vehicle. In the cloud and vehicle-side T-BOX path, a network damage instrument is used to simulate remote message network anomalies to simulate the operating status of remote functions under abnormal conditions.
[0011] In a second aspect, the present invention provides a cloud-based vehicle network automation testing system, comprising:
[0012] A construction module is configured to construct a cloud-pipe-end integrated automated test environment, wherein the automated test environment includes a HIL cabinet, a HIL bench, a network damage instrument, a cloud service platform, a 5G base station, and a PC host, wherein the PC host integrates a Matlab system, a HIL simulation platform, and a diagnostic device Vehcile SPY;
[0013] An establishment module configured to establish a hard-line control model and a bus control signal model of the body control load according to the control type of the body control load in the Matlab system, and transmit the hard-line control model and the bus control signal model to the ControlDesk control system of the HIL simulation platform;
[0014] The sending module is configured as a HIL cabinet to send the body control simulation signal to the BCM after being processed by the IO board and conditioning circuit. The BCM outputs the actuator drive signal and interaction information after internal strategy processing;
[0015] The simulation module is configured as a diagnostic device. Vehcile SPY is connected to the HIL cabinet through OBD, and is combined with the HIL system to build a remote control authentication platform and an interactive platform. It sends an anti-theft authentication match. After the T-BOX completes the handshake, it starts forwarding data to the cloud and the vehicle. It simulates the vehicle status message in the hardware-in-the-loop test bench, and transmits the collected vehicle status message data to the T-BOX to complete the big data upload.
[0016] The simulation module is configured as a cloud server to conduct serial communication with the T-BOX through a 5G base station. It uses Python to call the cloud platform API interface to create a remote test task, so that the cloud can simulate the sending and receiving of remote commands to the vehicle. In addition, in the cloud and vehicle-side T-BOX paths, a network damage instrument is used to simulate remote message network anomalies to simulate the operating status of remote functions under abnormal conditions.
[0017] According to a third aspect, an electronic device is provided, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the steps of the cloud-based vehicle network automation testing method of any embodiment of the present invention.
[0018] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the program instructions are executed by a processor, the processor executes the steps of the cloud-based vehicle network automation testing method of any embodiment of the present invention.
[0019] The cloud-pipe-end based vehicle networking automated testing method, system and electronic equipment of the present application combine some real controllers with simulation tests by using HIL testing technology, establish a virtual vehicle model on the simulator, and connect the virtual vehicle to the body control period through a real-time interface to form a loop, and complete the body function and diagnostic simulation test. Combined with diagnostic tools for secondary development, the authentication of the vehicle side and the cloud side, as well as cloud testing, realizes a complete technical system from pre-analysis of software development-vehicle side functional testing and verification-remote functional testing-software update iteration management and verification development. Practice has proved that the application of cloud-pipe-end integrated automated testing system shortens development time and reduces while improving the software quality of the body controller, reducing after-sales problems and recall risks. It plays an important role in the development, testing and evaluation of the body control system. Solving various complex logic and scene difficulties in manual testing, especially efficient regression testing and software version iteration testing, also puts forward higher requirements, reduces labor costs, and reduces development costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0021] Figure 1 A flowchart of a cloud-based vehicle networking automated testing method provided by an embodiment of the present invention;
[0022] Figure 2 A structural block diagram of a cloud-based vehicle networking automated testing system provided by an embodiment of the present invention;
[0023] Figure 3 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] See also Figure 1 , which shows a flow chart of a cloud-based vehicle networking automated testing method of the present application.
[0026] like Figure 1 As shown, the cloud-based vehicle network automation testing method specifically includes the following steps:
[0027] Step S101, constructing a cloud-pipe-end integrated automated testing environment, wherein the automated testing environment includes a HIL cabinet, a HIL test bench, a network damage instrument, a cloud service platform, a 5G base station, and a PC host, wherein the PC host integrates a Matlab system, a HIL simulation platform, and a diagnostic device Vehcile SPY.
[0028] Step S102, establishing a hard-line control model and a bus control signal model of the body control load according to the control type of the body control load in the Matlab system, and transmitting the hard-line control model and the bus control signal model to the ControlDesk control system of the HIL simulation platform.
[0029] In this step, after establishing the hard-wire control model and bus control signal model of the body control load, the hard-wire control model and the bus control signal model are compiled, and a correspondence is established between the compiled variable description file and the real-time model running on the simulator, and the file is transmitted to the ControlDesk control system of the HIL simulation platform.
[0030] It should be noted that the hard-wire control model includes the digital signal central control model, the analog algorithm model and the PWM algorithm model; the bus control signal model includes the CAN signal drive model, the LIN model, the Ethernet signal control model and the serial communication module.
[0031] Step S103, the HIL cabinet sends the body control simulation signal to the BCM after being processed by the IO board and the conditioning circuit, and the BCM outputs the actuator drive signal and interaction information after internal strategy processing.
[0032] Step S104, the diagnostic device Vehcile SPY is connected to the HIL cabinet through OBD, and is combined with the HIL system to build a remote control authentication platform and an interactive platform, and sends an anti-theft authentication match. After the T-BOX completes the handshake, it starts forwarding data to the cloud and the vehicle side, simulates the vehicle status message in the hardware-in-the-loop test bench, and transmits the collected vehicle status message data to the T-BOX to complete the big data upload.
[0033] In step S105, the cloud server performs serial communication with the T-BOX through the 5G base station, uses Python to call the cloud platform API interface, creates a remote test task, and simulates the sending and receiving of remote commands from the cloud to the vehicle. In addition, in the cloud and vehicle-side T-BOX paths, a network damage meter is used to simulate remote message network anomalies to simulate the operating status of remote functions under abnormal conditions.
[0034] In this embodiment, first, a cloud-pipe-end integrated automated test environment is built. It includes a HIL cabinet, a HIL bench, a network damage instrument, a cloud service platform, a 5G base station, a PC host, and a diagnostic tool. Then, the hard-line control algorithm model and the bus control signal algorithm model of the body control module are established in Matlab / Simulink. The hard-line control algorithm includes a digital signal central control model, an analog algorithm model, and a PWM algorithm model. The bus protocol model includes a CAN signal drive model, a LIN model, an Ethernet signal control model, and a serial communication module. Then, the signal control model is loaded on the ControlDesk control system platform, and the body control is tested using the test management development platform software. Development and debugging interface for setting and managing test parameters. Then, the automated test script software is written on the AutomationDesk automated test control platform. Send control instructions to BCM, send simulation signals to BCM, and feedback execution information to the AutomationDesk software platform in real time. Then, Vehcile SPY is connected to the host computer through the OBD port of the HIL cabinet, and a remote control authentication platform and an interactive platform are built to realize the remote control function. It is integrated into a cloud-management-end automated test simulation platform to realize the remote control function of the vehicle. Finally, the cloud server communicates with the T-BOX on the test bench through the 5G communication base station. Create a remote automated test task to send and receive remote commands to the vehicle in the cloud. Through the remote control authentication and interaction platform, simulate remote message network anomalies to verify whether the remote function operation status meets the requirements.
[0035] In summary, this application is based on the hardware-in-the-loop simulation test platform (HIL for short), and combines Matlab and VehicleSPY CAN diagnostic tools for system integration application development. HIL is connected to the body control ECU through a variety of real-time IO processing boards to realize the in-the-loop communication control of the module. Secondly, the electrical control model of sensors, switches, actuators, and bus signals is developed on Matlab simulink, and the control model is imported into the ControlDesk control system after compilation, and the test script is developed on the AutomationDesk software to simulate the real vehicle signal data for automated testing. By connecting the network damage instrument to the HIL cabinet, network communication damage is simulated, and remote functional testing is performed under abnormal conditions such as duplication and omission of remote communication messages. In addition, cloud-side and vehicle-side security authentication management and functional test management are established on the secondary development platform of VSPY. This automated testing software can automate the vehicle-side simulation and testing process, and supports cloud-side vehicle tests such as vehicle control functions, big data upload, fault injection and fault reporting, as well as data collection and transmission functions, CAN message monitoring functions, and fault simulation functions to perform closed-loop test control and monitoring, realizing cloud-pipe-end integrated automated testing.
[0036] In a specific embodiment, step 1: build a cloud-pipe-end integrated automated test environment, which mainly includes a HIL cabinet, a HIL bench (ECU and control load), a network damage instrument, a cloud service platform, a 5G base station, a PC host and diagnostic tools. The PC host integrates Matlab / HIL simulation system and auxiliary software such as VSPY.
[0037] Step 2: The HIL load bench is connected to the HIL cabinet through the IO channel to connect the load to the HIL control system. In the Matlab system, according to the control type of the body control load, the switch model, digital quantity model, analog quantity, PWM model, etc. are established. The bus protocol model contains various protocol driver modules, such as CAN transceiver driver module and LIN module. The IO model contains input and output signals. The input signal collects the actual drive information of the body control load; the output signal is output to the body control module to simulate some switch and sensor resistance signals, etc. After the model is created, it is compiled, and the compiled variable description file (.sdf format) establishes a corresponding relationship with the real-time model running on the simulator, so as to achieve the purpose of controlling the simulator through the host computer. And send it to the ControlDesk control system.
[0038] Step 3: Use the ControlDesk control system of the existing HIL simulation platform to develop a platform-based test management and development software for body control. Establish a control model based on the software control signal strategy to achieve test management and debugging.
[0039] Step 4: The HIL cabinet sends the simulation signals of body control development / sensors to BCM after being processed by the IO board and conditioning circuit. BCM outputs actuator drive signals and other interactive information after internal strategy processing, and customizes some control elements according to test requirements, such as periodic message sending modules, so that similar modules can be reused. The initialization stage can define the prerequisite state of each test sequence, such as whether the body controller is powered on before the test; and the definition of variable image acquisition initialization parameters for monitoring the control and response signals of the body controller.
[0040] Step 5: The diagnostic device Vehcile SPY is connected to the HIL cabinet through OBD, and is combined with the HIL system to build a remote control authentication platform and an interactive platform to realize the remote control function. Send anti-theft authentication matching, and T-BOX will start forwarding data to the cloud and the vehicle after completing the handshake. Simulate the vehicle status message in the hardware-in-the-loop test bench, and transmit the collected vehicle status message data to T-BOX to complete the big data upload, and determine the accuracy of the data upload through data analysis.
[0041] Step 6: The cloud server communicates serially with the T-BOX through the 5G communication base station, uses Python to call the cloud platform API interface, creates a remote test task, and implements the simulation of sending and receiving remote commands from the cloud to the vehicle. In the cloud and vehicle-side T-BOX path, the network damage instrument is used to simulate remote message network anomalies, simulating the remote function operation status in the case of remote message duplication, leakage, etc.
[0042] Taking collision unlocking as an example, the vehicle collision state is simulated on the HIL bench: the system power is in IGN ON mode, the driver's door lock state is locked, the vehicle is in non-remote mode and collision message. After receiving the signal for 90ms, the body module drives the door lock motor for 5 consecutive times at an interval of 250ms, and the four door lock motors perform the unlocking action, and the collision unlocking automation test is realized using the automated test platform.
[0043] BCM, Body control model, body control module
[0044] T-BOX-Telematic BOX, intelligent vehicle-mounted intelligent terminal
[0045] OTA-Over-the-Air Technology, remote upgrade (also known as air download technology)
[0046] RDS-remote Date Service, remote diagnosis (also known as remote data service)
[0047] OBD-on-Board Diagnostics
[0048] Network damage instrument: The vehicle control remote function test is usually carried out in a local area network with a good environment. However, many applications that perform well in the local area network test will have various problems once they are run on the wide area network. In order to ensure the accuracy and effectiveness of the test process and avoid remote message network anomalies, remote message duplication, omissions, etc. in the wide area network, the network damage instrument can simulate remote message network anomalies, simulate remote message duplication, omissions, etc., and verify whether the remote function operation status meets the requirements.
[0049] Using a network damage tester, you can also simulate a variety of network environments, so that applications can be tested in real and changing simulated networks to ensure that the application can run stably in a real wide area network. Moreover, compared with testing in a real wide area network, using a network damage tester for testing saves a lot of time and cost.
[0050] The network damage instrument can be connected to any network link. The network damage instrument should be able to adapt to and bridge different routes, support NAT, identify static and dynamic routes, and be connected in series between various network types. Connecting the network damage instrument to the vehicle control remote function test network can minimize or even eliminate interference to the existing environment, while simulating various unexpected situations in the process of network information transmission.
[0051] OTA server: implements OTA data management, in order to support vehicle upgrades, vehicle configuration management, vehicle version management, upgrade task management, responsible for the web management platform, upgrade data management and upgrade file storage,
[0052] BCM, Body control model: The function of the car BCM controller is to realize discrete control functions and control many electrical appliances, mainly controlling the electrical appliances of the car body, such as lamps, wipers, door locks, electric windows, sunroofs, etc. The switch signals of these electrical appliances are input to the BCM, and the BCM controls the operation of the corresponding electrical appliances directly or through relays;
[0053] The functions of BCM are shared by a small number of modules, each of which can have powerful functions:
[0054] 1. For large inductive loads, such as wipers, blowers, fans, etc., in order to reduce the impact on the system power supply and protect the electrical equipment, PWM can be used to implement soft start;
[0055] 2. Provide short-circuit protection for electrical equipment. When a short-circuit fault occurs, cut off the power supply circuit in time to avoid accidents such as line fire;
[0056] 3. Implement secondary power-on for short-circuit faults to further improve the system's anti-interference ability;
[0057] 4. Diagnose equipment failures, provide fault alarms, record information, etc.;
[0058] See also Figure 2 , which shows a structural block diagram of a cloud-based vehicle networking automated testing system of the present application.
[0059] like Figure 2 As shown, the Internet of Vehicles automated testing system 200 includes a construction module 210 , a creation module 220 , a sending module 230 , a simulation module 240 and a simulation module 250 .
[0060] Among them, the construction module 210 is configured to build an integrated cloud-pipe-end automated test environment, which includes a HIL cabinet, a HIL test bench, a network damage instrument, a cloud service platform, a 5G base station, and a PC host, wherein the PC host integrates a Matlab system, a HIL simulation platform, and a diagnostic device Vehcile SPY; the establishment module 220 is configured to establish a hard-line control model and a bus control signal model of the body control load according to the control type of the body control load in the Matlab system, and transmit the hard-line control model and the bus control signal model to the ControlDesk control system of the HIL simulation platform; the sending module 230 is configured for the HIL cabinet to send the body control simulation signal to the BCM after being processed by the IO board and the conditioning circuit, and the BCM outputs the actuator drive signal and the interaction information after being processed by the internal strategy; the simulation module 240 is configured for the diagnostic device Vehcile SPY accesses the HIL cabinet through OBD, and builds a remote control authentication platform and an interactive platform in combination with the HIL system to send an anti-theft authentication match. After the T-BOX completes the handshake, it starts forwarding data to the cloud and the vehicle side, and simulates the vehicle status message in the hardware-in-the-loop test bench, and transmits the collected vehicle status message data to T-BOX to complete the big data upload; the simulation module 250 is configured as a cloud server to communicate serially with the T-BOX through the 5G base station, and uses Python to call the cloud platform API interface to create a remote test task, so that the cloud simulates the sending and receiving of remote commands to the vehicle side, and in the cloud and vehicle-side T-BOX path, uses a network damage instrument to simulate the remote message network anomaly simulation to simulate the operating status of the remote function under abnormal conditions.
[0061] It should be understood that Figure 2 Modules and references documented in Figure 1 Therefore, the operations and features described above for the method and the corresponding technical effects are also applicable to Figure 2The modules in it will not be described in detail here.
[0062] In some other embodiments, the embodiments of the present invention further provide a computer-readable storage medium having a computer program stored thereon, wherein when the program instructions are executed by a processor, the processor executes the cloud-based terminal-based vehicle networking automated testing method in any of the above method embodiments;
[0063] As an implementation mode, the computer-readable storage medium of the present invention stores computer-executable instructions, and the computer-executable instructions are configured as follows:
[0064] Build a cloud-pipe-end integrated automated testing environment, which includes a HIL cabinet, a HIL test bench, a network damage instrument, a cloud service platform, a 5G base station, and a PC host. The PC host integrates a Matlab system, a HIL simulation platform, and a diagnostic device Vehcile SPY;
[0065] Establishing a hard-line control model and a bus control signal model of the body control load according to the control type of the body control load in the Matlab system, and transmitting the hard-line control model and the bus control signal model to the ControlDesk control system of the HIL simulation platform;
[0066] The HIL cabinet sends the body control simulation signal to the BCM after being processed by the IO board and conditioning circuit. The BCM outputs the actuator drive signal and interaction information after internal strategy processing.
[0067] The diagnostic device Vehcile SPY is connected to the HIL cabinet through OBD, and is combined with the HIL system to build a remote control authentication platform and an interactive platform. It sends an anti-theft authentication match. After the T-BOX completes the handshake, it starts forwarding data to the cloud and the vehicle. It simulates the vehicle status message in the hardware-in-the-loop test bench, and transmits the collected vehicle status message data to the T-BOX to complete the big data upload.
[0068] The cloud server communicates serially with the T-BOX through the 5G base station, uses Python to call the cloud platform API interface, creates a remote test task, and simulates the sending and receiving of remote commands from the cloud to the vehicle. In the cloud and vehicle-side T-BOX path, a network damage instrument is used to simulate remote message network anomalies to simulate the operating status of remote functions under abnormal conditions.
[0069] The computer-readable storage medium may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the cloud-based vehicle networking automated testing system, etc. In addition, the computer-readable storage medium may include a high-speed random access memory, and may also include a memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the computer-readable storage medium may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the cloud-based vehicle networking automated testing system via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0070] Figure 3 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, such as Figure 3 As shown, the device includes: a processor 310 and a memory 320. The electronic device may also include: an input device 330 and an output device 340. The processor 310, the memory 320, the input device 330 and the output device 340 may be connected via a bus or other means. Figure 3 The example of the connection via bus is taken. The memory 320 is the above-mentioned computer-readable storage medium. The processor 310 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 320, that is, the above-mentioned method embodiment is based on the cloud-based vehicle network automation test method. The input device 330 can receive input digital or character information, and generate key signal input related to user settings and function control of the cloud-based vehicle network automation test system. The output device 340 may include display devices such as display screens.
[0071] The electronic device can execute the method provided by the embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the method provided by the embodiment of the present invention.
[0072] As an implementation mode, the electronic device is applied to a cloud-based vehicle networking automated testing system, and is used for a client, and includes: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can:
[0073] Build a cloud-pipe-end integrated automated testing environment, which includes a HIL cabinet, a HIL test bench, a network damage instrument, a cloud service platform, a 5G base station, and a PC host. The PC host integrates a Matlab system, a HIL simulation platform, and a diagnostic device Vehcile SPY;
[0074] Establishing a hard-line control model and a bus control signal model of the body control load according to the control type of the body control load in the Matlab system, and transmitting the hard-line control model and the bus control signal model to the ControlDesk control system of the HIL simulation platform;
[0075] The HIL cabinet sends the body control simulation signal to the BCM after being processed by the IO board and conditioning circuit. The BCM outputs the actuator drive signal and interaction information after internal strategy processing.
[0076] The diagnostic device Vehcile SPY is connected to the HIL cabinet through OBD, and is combined with the HIL system to build a remote control authentication platform and an interactive platform. It sends an anti-theft authentication match. After the T-BOX completes the handshake, it starts forwarding data to the cloud and the vehicle. It simulates the vehicle status message in the hardware-in-the-loop test bench, and transmits the collected vehicle status message data to the T-BOX to complete the big data upload.
[0077] The cloud server communicates serially with the T-BOX through the 5G base station, uses Python to call the cloud platform API interface, creates a remote test task, and simulates the sending and receiving of remote commands from the cloud to the vehicle. In the cloud and vehicle-side T-BOX path, a network damage instrument is used to simulate remote message network anomalies to simulate the operating status of remote functions under abnormal conditions.
[0078] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.
[0079] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A cloud-based automated testing method for Internet of Vehicles. It is characterized in that include: Build a cloud-pipe-end integrated automated testing environment, which includes a HIL cabinet, a HIL test bench, a network damage instrument, a cloud service platform, a 5G base station, and a PC host. The PC host integrates a Matlab system, a HIL simulation platform, and a diagnostic device Vehcile SPY; Establishing a hard-line control model and a bus control signal model of the body control load according to the control type of the body control load in the Matlab system, and transmitting the hard-line control model and the bus control signal model to the ControlDesk control system of the HIL simulation platform; The HIL cabinet sends the body control simulation signal to the BCM after being processed by the IO board and conditioning circuit. The BCM outputs the actuator drive signal and interaction information after internal strategy processing. The diagnostic device Vehcile SPY is connected to the HIL cabinet through OBD, and is combined with the HIL system to build a remote control authentication platform and an interactive platform. It sends an anti-theft authentication match. After the T-BOX completes the handshake, it starts forwarding data to the cloud and the vehicle. It simulates the vehicle status message in the hardware-in-the-loop test bench, and transmits the collected vehicle status message data to the T-BOX to complete the big data upload. The cloud server communicates serially with the T-BOX through the 5G base station, uses Python to call the cloud platform API interface, creates a remote test task, and simulates the sending and receiving of remote commands from the cloud to the vehicle. In the cloud and vehicle-side T-BOX path, a network damage instrument is used to simulate remote message network anomalies to simulate the operating status of remote functions under abnormal conditions.
2. According to claim 1, a cloud-based vehicle network automation testing method, It is characterized in that The transmitting of the hard-wire control model and the bus control signal model to the ControlDesk control system of the HIL simulation platform comprises: After establishing the hard-wire control model and bus control signal model of the vehicle body control load, the hard-wire control model and the bus control signal model are compiled, and a correspondence is established between the compiled variable description file and the real-time model running on the simulator, and the files are transmitted to the ControlDesk control system of the HIL simulation platform.
3. According to claim 2, a cloud-based vehicle network automation testing method, It is characterized in that The hard-line control model includes a digital signal central control model, an analog algorithm model and a PWM algorithm model; the bus control signal model includes a CAN signal drive model, a LIN model, an Ethernet signal control model and a serial communication module.
4. According to claim 1, a cloud-based vehicle network automation testing method, It is characterized in that After transmitting the hard-wire control model and the bus control signal model to the ControlDesk control system of the HIL simulation platform, the method further includes: The ControlDesk control system of the HIL simulation platform is used to develop platform-based test management and development software for body control, and a control model is established according to the software control signal strategy for test management and debugging.
5. A cloud-based automated testing system for Internet of Vehicles. It is characterized in that include: A construction module is configured to construct a cloud-pipe-end integrated automated test environment, wherein the automated test environment includes a HIL cabinet, a HIL bench, a network damage instrument, a cloud service platform, a 5G base station, and a PC host, wherein the PC host integrates a Matlab system, a HIL simulation platform, and a diagnostic device Vehcile SPY; An establishment module configured to establish a hard-line control model and a bus control signal model of the body control load according to the control type of the body control load in the Matlab system, and transmit the hard-line control model and the bus control signal model to the ControlDesk control system of the HIL simulation platform; The sending module is configured as a HIL cabinet to send the body control simulation signal to the BCM after being processed by the IO board and conditioning circuit. The BCM outputs the actuator drive signal and interaction information after internal strategy processing; The simulation module is configured as a diagnostic device. Vehcile SPY is connected to the HIL cabinet through OBD, and is combined with the HIL system to build a remote control authentication platform and an interactive platform. It sends an anti-theft authentication match. After the T-BOX completes the handshake, it starts forwarding data to the cloud and the vehicle. It simulates the vehicle status message in the hardware-in-the-loop test bench, and transmits the collected vehicle status message data to the T-BOX to complete the big data upload. The simulation module is configured as a cloud server to conduct serial communication with the T-BOX through a 5G base station. It uses Python to call the cloud platform API interface to create a remote test task, so that the cloud can simulate the sending and receiving of remote commands to the vehicle. In addition, in the cloud and vehicle-side T-BOX paths, a network damage instrument is used to simulate remote message network anomalies to simulate the operating status of remote functions under abnormal conditions.
6. An electronic device, It is characterized in that include: At least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in any one of claims 1 to 4.
7. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.
Citation Information
Cited By
Internet of vehicles communication test method, electronic equipment, storage medium and program product
CN119603189A
