Testing method, device and equipment for autonomous driving system

By obtaining and processing the data transmission requirements of the autonomous driving system, the reliability problem of the autonomous driving system testing on different simulation platforms is solved, accurate testing and operation adaptability on different platforms is achieved, and the safe operation of the vehicle is ensured.

CN116339172BActive Publication Date: 2024-12-03GUOQI INTELLIGENT CONTROL (CHONGQING) TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310337270.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-30
Publication Date
2024-12-03
Estimated Expiration
2043-03-30

AI Technical Summary

Technical Problem

The prior art cannot ensure the reliability of the test of the autonomous driving system in different autonomous driving simulation platforms, resulting in the inability to ensure the operational reliability of the vehicle in different operating environments.

Method used

By obtaining the data transmission requirements information of the autonomous driving system to be tested, determining the required test data, and obtaining or converting data in multiple preset processing rule information, ensuring that the data format and protocol adapt to the requirements of different simulation platforms, and realizing that Testing of autonomous driving systems on different platforms.

Benefits of technology

Ensure that the autonomous driving system can be accurately tested in different autonomous driving simulation platforms, improve the operating reliability and adaptability of the system, and ensure the safe operation of the vehicle in different environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116339172B_ABST
    Figure CN116339172B_ABST
Patent Text Reader

Abstract

The present application provides a test method, device and equipment for an autonomous driving system, the method comprising: obtaining first transmission requirement information of an autonomous driving system to be tested, and determining test data required for testing the autonomous driving system to be tested; the first transmission requirement information is used to characterize the data transmission method required by the autonomous driving system to be tested; if it is determined that the test data does not exist in the autonomous driving simulation platform, then determining the processing rule information of the test data in a plurality of preset processing rule information to obtain the test data; converting and processing the test data according to the first transmission requirement information to obtain the processed test data; and sending the processed test data to the autonomous driving system to be tested. In the present application, the acquired test data is converted and processed based on the first data transmission requirement corresponding to the autonomous driving system to be tested, so that the autonomous driving system can accurately identify the acquired test data and complete the test.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of testing, and in particular to a testing method, device and equipment for an autonomous driving system. Background Art

[0002] At present, vehicles have become an important means of transportation in people's daily lives, and with the continuous development of vehicle technology, people's requirements for the autonomous driving functions of vehicles are getting higher and higher. Usually, an autonomous driving simulation platform with the same communication requirements as the autonomous driving system is selected to test the autonomous driving system to ensure that the two can interact with each other. That is, the simulation data corresponding to the road environment and vehicle information in the autonomous driving simulation platform is sent to the autonomous driving system, and then the various functions in the autonomous driving system are tested.

[0003] However, the above method of using only a single platform for testing cannot ensure the reliability of the test results of the autonomous driving system. Therefore, it is urgent to provide a testing method for an autonomous driving system so that the autonomous driving system can be tested in different autonomous driving simulation platforms, thereby ensuring the safe operation of subsequent vehicles. Summary of the invention

[0004] The testing method, device and equipment of the autonomous driving system provided in this application are used to ensure that the autonomous driving system can be tested on different autonomous driving simulation platforms.

[0005] In a first aspect, the present application provides a method for testing an autonomous driving system, comprising:

[0006] Acquire first transmission requirement information of the autonomous driving system to be tested, and determine test data required for testing the autonomous driving system to be tested; the first transmission requirement information is used to characterize the data transmission mode required by the autonomous driving system to be tested;

[0007] If it is determined that the test data does not exist in the autonomous driving simulation platform, determining the processing rule information of the test data from a plurality of preset processing rule information, and acquiring the test data based on the processing rule information of the test data; the processing rule information is used to indicate a method for acquiring the test data;

[0008] According to the first transmission requirement information, converting the test data to obtain processed test data;

[0009] The processed test data is sent to the autonomous driving system to be tested, wherein the processed test data is used for system testing of the autonomous driving system to be tested.

[0010] In a possible implementation, the first transmission requirement information includes a preset communication protocol; and converting the test data according to the first transmission requirement information to obtain processed test data includes:

[0011] Among the multiple conversion interfaces stored in advance, the conversion interface corresponding to the preset communication protocol in the first transmission requirement information is called, and the test data is input into the conversion interface to obtain processed data. The conversion interface is used to perform format conversion processing on the input data, and the conversion interface and the communication protocol are in a one-to-one correspondence.

[0012] In a possible implementation, if the processing rule information includes an associated indicator associated with the test data and a preset model, and the preset model is used to determine the test data, then acquiring the test data based on the processing rule information of the test data includes:

[0013] Acquiring, in the autonomous driving simulation platform, associated data corresponding to the associated indicator;

[0014] The associated data is input into the preset model to obtain the test data.

[0015] In a possible implementation, the method further includes:

[0016] If it is determined that the test data exists in the autonomous driving simulation platform, obtaining second transmission requirement information, and obtaining the test data from the autonomous driving simulation platform, wherein the second transmission requirement information is used to characterize the data transmission method required by the autonomous driving simulation platform;

[0017] According to the first transmission requirement information and the second transmission requirement information, format conversion is performed on the test data to obtain processed test data.

[0018] In a possible implementation, performing format conversion processing on the test data according to the first transmission requirement information and the second transmission requirement information to obtain processed test data includes:

[0019] Parsing the test data according to the data encapsulation rule in the second transmission requirement information to obtain parsed data;

[0020] According to the first transmission requirement information, data conversion processing is performed on the parsed data to obtain processed test data.

[0021] In a possible implementation, sending the processed test data to the automatic driving system to be tested includes:

[0022] According to the communication mode included in the first transmission request information, determining a communication interface corresponding to the communication mode from a plurality of preset communication interfaces;

[0023] Call a communication interface that corresponds one-to-one to the communication method included in the first transmission requirement information to send the processed test data to the automatic driving system to be tested.

[0024] In a possible implementation, the method further includes:

[0025] receiving a control instruction returned by the autonomous driving system to be tested, wherein the control instruction is obtained by the autonomous driving system to be tested based on the processed test data;

[0026] Acquire second transmission requirement information, where the second transmission requirement information is used to characterize a data transmission method required by the autonomous driving simulation platform;

[0027] According to the first transmission requirement information and the second transmission requirement information, the control instruction is converted to obtain a converted control instruction, and the converted control instruction is sent to the autonomous driving simulation platform. The converted control instruction is used to control the driving of a virtual vehicle in the autonomous driving simulation platform.

[0028] In a possible implementation, if it is determined that the test data does not exist in the autonomous driving simulation platform, the processing rule information of the test data is determined from a plurality of preset processing rule information, and based on the processing rule information of the test data, the method further includes:

[0029] Obtaining the working status of a plurality of different autonomous driving simulation platforms, wherein different autonomous driving simulation platforms have different platform simulation functions or corresponding operating systems of the platforms;

[0030] It is determined that the autonomous driving simulation platform whose working state is the idle state is the autonomous driving simulation platform used in this test.

[0031] In a second aspect, the present application provides a testing device for an autonomous driving system, comprising:

[0032] A first acquisition unit, configured to acquire first transmission requirement information of the automatic driving system to be tested;

[0033] a first determining unit, configured to determine test data required for testing the autonomous driving system to be tested; wherein the first transmission requirement information is used to characterize a data transmission method required by the autonomous driving system to be tested;

[0034] a second determining unit, configured to determine processing rule information of the test data from a plurality of preset processing rule information if it is determined that the test data does not exist in the autonomous driving simulation platform;

[0035] A second acquisition unit, configured to acquire the test data based on processing rule information of the test data; the processing rule information is used to indicate a method for acquiring the test data;

[0036] A first processing unit, configured to convert the test data according to the first transmission requirement information to obtain processed test data;

[0037] The first sending unit is used to send the processed test data to the autonomous driving system to be tested, wherein the processed test data is used for system testing of the autonomous driving system to be tested.

[0038] In one possible implementation, the first transmission requirement information includes a preset communication protocol; the first processing unit is specifically used to: call a conversion interface corresponding to the preset communication protocol in the first transmission requirement information from a plurality of pre-stored conversion interfaces, and input the test data into the conversion interface to obtain processed data, the conversion interface being used to perform format conversion processing on the input data, and the conversion interface and the communication protocol are in a one-to-one correspondence.

[0039] In a possible implementation, if the processing rule information includes an associated indicator associated with the test data and a preset model, and the preset model is used to determine the test data, the second acquisition unit includes:

[0040] An acquisition module, used to acquire the associated data corresponding to the associated indicator in the autonomous driving simulation platform;

[0041] The first determination module is used to input the associated data into the preset model to obtain the test data.

[0042] In a possible implementation manner, the device further includes:

[0043] a third acquisition unit, configured to acquire second transmission requirement information if it is determined that the test data exists in the autonomous driving simulation platform, and acquire the test data from the autonomous driving simulation platform, wherein the second transmission requirement information is used to characterize a data transmission method required by the autonomous driving simulation platform;

[0044] The conversion unit is used to perform format conversion processing on the test data according to the first transmission requirement information and the second transmission requirement information to obtain processed test data.

[0045] In a possible implementation, the conversion unit includes:

[0046] A first processing module, configured to parse the test data according to the data encapsulation rule in the second transmission requirement information to obtain parsed data;

[0047] The second processing module is used to perform data conversion processing on the parsed data according to the first transmission requirement information to obtain processed test data.

[0048] In a possible implementation, the first sending unit includes:

[0049] A second determining module, configured to determine, according to the communication mode included in the first transmission requirement information, a communication interface corresponding to the communication mode from among a plurality of preset communication interfaces;

[0050] A sending module is used to call a communication interface corresponding to the communication mode included in the first transmission requirement information, and send the processed test data to the automatic driving system to be tested.

[0051] In a possible implementation manner, the device further includes:

[0052] a receiving unit, configured to receive a control instruction returned by the autonomous driving system to be tested, wherein the control instruction is obtained by the autonomous driving system to be tested based on the processed test data;

[0053] a fourth acquisition unit, configured to acquire second transmission requirement information, where the second transmission requirement information is used to characterize a data transmission method required by the autonomous driving simulation platform;

[0054] A second processing unit converts the control instruction according to the first transmission requirement information and the second transmission requirement information to obtain a converted control instruction;

[0055] The second sending unit is used to send the converted control instructions to the automatic driving simulation platform, and the converted control instructions are used to control the driving of the virtual vehicle in the automatic driving simulation platform.

[0056] In a possible implementation manner, the device further includes:

[0057] a fifth acquiring unit, configured to acquire respective working states of a plurality of different autonomous driving simulation platforms before determining the processing rule information of the test data from a plurality of preset processing rule information if the second determining unit determines that the test data does not exist in the autonomous driving simulation platform, wherein different autonomous driving simulation platforms have different platform simulation functions or corresponding operating systems of the platforms;

[0058] The third determination unit is used to determine that the autonomous driving simulation platform whose working state is an idle state is the autonomous driving simulation platform used in this test.

[0059] In a third aspect, the present application provides an electronic device, including: a memory, a processor;

[0060] Memory; Memory for storing instructions executable by the processor;

[0061] Wherein, the processor is used to execute the method as described in any one of the first aspects according to the executable instructions.

[0062] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method as described in any one of the first aspects.

[0063] In a fifth aspect, the present application provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the method described in any one of the first aspects is implemented.

[0064] The present application provides a method, device and equipment for testing an autonomous driving system, the method comprising: obtaining first transmission requirement information of an autonomous driving system to be tested, and determining test data required for testing the autonomous driving system to be tested; the first transmission requirement information is used to characterize the data transmission method required by the autonomous driving system to be tested; if it is determined that the test data does not exist in the autonomous driving simulation platform, then determining the processing rule information of the test data in a plurality of preset processing rule information, and obtaining the test data based on the processing rule information of the test data; the processing rule information is used to indicate the method for obtaining the test data; according to the first transmission requirement information, converting and processing the test data to obtain processed test data; sending the processed test data to the autonomous driving system to be tested, wherein the processed test data is used for system testing of the autonomous driving system to be tested. In the present application, in order to ensure that the autonomous driving system to be tested can be tested in different autonomous driving simulation platforms, the acquired test data can be converted and processed according to the first data transmission requirement corresponding to the autonomous driving system to be tested, so that the autonomous driving system can accurately identify the acquired test data and complete the test. In addition, multiple processing rule information can be pre-set to ensure that when the required test data cannot be directly obtained in the autonomous driving simulation platform, the electronic device can determine the required test data through the pre-set processing rules, thereby ensuring that the autonomous driving system can be tested. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0066] Figure 1 A flowchart of a method for testing an autonomous driving system provided in an embodiment of the present application;

[0067] Figure 2 A schematic diagram of an application scenario provided in an embodiment of the present application;

[0068] Figure 3 A schematic diagram of a flow chart of a second method for testing an autonomous driving system provided in an embodiment of the present application;

[0069] Figure 4 A schematic diagram of a flow chart of a third method for testing an autonomous driving system provided in an embodiment of the present application;

[0070] Figure 5 A schematic diagram of another application scenario provided by an embodiment of the present application;

[0071] Figure 6 A schematic diagram of the structure of a test device for an autonomous driving system provided in an embodiment of the present application;

[0072] Figure 7 A schematic diagram of the structure of a second test device for an autonomous driving system provided in an embodiment of the present application;

[0073] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0074] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0075] Here, exemplary embodiments will be described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application.

[0076] At present, with the continuous development of autonomous driving technology, the development cycle of autonomous driving systems is long and the operating environment has high requirements for system performance. Therefore, simulation testing of autonomous driving systems has become an important part of the development process of autonomous driving systems.

[0077] At present, in the process of testing the autonomous driving system, an autonomous driving simulation platform with the same communication method requirements as the currently developed autonomous driving system is usually selected for testing. That is, by simulating the road environment and vehicle information in the autonomous driving simulation platform, the autonomous driving simulation platform can then send the simulation data required by the autonomous driving system to the autonomous driving system to be tested, so that the autonomous driving system can determine the operating results based on the received simulation data, thereby realizing the test.

[0078] However, in the above test method, since the autonomous driving system has high requirements for the vehicle's operating environment, using a single autonomous driving simulation platform to test the autonomous driving system to be tested cannot ensure the operating reliability of the autonomous driving system in different vehicle operating environments. Therefore, how to test the autonomous driving platform to be tested in different autonomous driving simulation platforms is an urgent problem to be solved.

[0079] The present application provides a testing method, a testing method, a device and a equipment for an autonomous driving system to solve the above-mentioned technical problems.

[0080] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0081] Figure 1 A flowchart of a method for testing an autonomous driving system provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the method comprises the following steps:

[0082] S101. Obtain first transmission requirement information of the autonomous driving system to be tested, and determine test data required for testing the autonomous driving system to be tested; the first transmission requirement information is used to characterize the data transmission method required by the autonomous driving system to be tested.

[0083] Exemplarily, the execution subject in this embodiment may be a test device of the autonomous driving system, and the device may be an electronic device, a chip, a processor, etc. The execution subject in this embodiment is described by taking an electronic device as an example.

[0084] When the autonomous driving system needs to be tested, it is first necessary to obtain the first transmission requirement information of the autonomous driving system to be tested, wherein the first transmission requirement information in this embodiment can be understood as the data transmission requirement pre-set in the autonomous driving system to be tested, for example, the data transmission requirement of the autonomous driving system to be tested when receiving and sending data.

[0085] In addition, it is also necessary to determine what test data the autonomous driving system needs when testing. For example, the test data required by the autonomous driving system may include road information, driving route information, positioning information, etc.

[0086] It should be noted that the autonomous driving system involved in this embodiment may be a functional module in the autonomous driving system in actual applications. For example, in actual applications, it may be a perception module, a fusion module, a decision module, a planning module, a prediction module, a lane driving module, a lane changing module, a parking module, etc., which is not specifically limited in this application.

[0087] S102. If it is determined that the test data does not exist in the autonomous driving simulation platform, the processing rule information of the test data is determined from a plurality of preset processing rule information, and the test data is acquired based on the processing rule information of the test data; the processing rule information is used to indicate a method for acquiring the test data.

[0088] Exemplarily, after the electronic device determines the test data required for the autonomous driving system to be tested, it will first determine whether the electronic device can directly obtain the test data required for the autonomous driving system to be tested in the autonomous driving simulation platform. Among them, the autonomous driving simulation platform can be used to simulate the driving and vehicle control of a real vehicle. For example, the autonomous driving simulation platform can be used to simulate the road information of the vehicle, the positioning information of the vehicle, the environmental information of the vehicle operation, the information of the actuators contained in the vehicle (for example, hardware such as controllers, throttles, brake components, etc.), and the sensors contained in the vehicle.

[0089] The electronic device in this embodiment includes a plurality of preset processing rule information. Among them, the preset processing rule information is used to characterize the test data required by the autonomous driving platform to be tested. If the electronic device determines that it cannot directly obtain the test data required by the autonomous driving system to be tested from the autonomous driving simulation platform, then the processing rule information corresponding to the test data is determined from the plurality of preset processing rule information, that is, the method for obtaining the test data is determined, so that the electronic device can obtain the test data required by the autonomous driving platform to be tested based on the matched processing rule information.

[0090] In one example, the electronic device pre-stores data that can be provided by an autonomous driving simulation platform. Later, when the electronic device determines that the test data required by the autonomous driving platform to be tested is not included in the above data, the processing rule information corresponding to the test data can be determined in the preset processing rule information.

[0091] In one example, when the method of acquiring test data indicates that the test data is data that needs to be input by the user, the electronic device can send a prompt message to the user so that the user can input the required test data in a timely manner; or, the electronic device can also display the test data information that needs to be input to the user through the simulation interface corresponding to the autonomous driving simulation platform, so that the electronic device can obtain the required test data from the autonomous driving simulation platform.

[0092] S103: Convert the test data according to the first transmission requirement information to obtain processed test data.

[0093] Illustratively, in this embodiment, after the electronic device obtains the test data required by the autonomous driving system to be tested, it is also necessary to perform format conversion processing on the obtained test data based on the first transmission requirement information obtained through step S101, so that the autonomous driving system can accurately obtain and identify the test data sent by the electronic device.

[0094] S104. Sending the processed test data to the autonomous driving system to be tested, wherein the processed test data is used for performing system testing on the autonomous driving system to be tested.

[0095] Exemplarily, in this embodiment, after the electronic device obtains the processed test data, it sends the processed data to the autonomous driving system. After the autonomous driving system obtains the test data, it performs testing based on the obtained processed test data to determine the response result of the autonomous driving system to be tested.

[0096] For example, Figure 2 This is a schematic diagram of an application scenario provided in an embodiment of the present application. Figure 2 As shown, Figure 2The system includes an autonomous driving simulation platform, electronic equipment and an autonomous driving system to be tested. The autonomous driving simulation platform is used to simulate a real vehicle and the operating environment of the real vehicle, and to construct a simulation model and generate simulation data. The electronic equipment is used to filter out the test data required by the autonomous driving system to be tested from the simulation data in the autonomous driving simulation platform; or, when the electronic equipment determines that it is impossible to obtain all the test data from the autonomous driving platform, the electronic equipment can generate test data based on preset processing rule information. After converting the test data based on the first transmission requirement information corresponding to the autonomous driving system to be tested, the converted data is obtained, and the converted data is sent to the autonomous driving system to be tested, so that the autonomous driving system responds to the received converted data to implement the test of the autonomous driving system.

[0097] It is understandable that in this embodiment, in order to ensure that the autonomous driving system to be tested can be tested in different autonomous driving simulation platforms, the acquired test data can be converted and processed according to the first data transmission requirement corresponding to the autonomous driving system to be tested, so that the autonomous driving system can accurately identify the acquired test data and complete the test. In addition, multiple processing rule information can be pre-set to ensure that when the required test data cannot be directly obtained in the autonomous driving simulation platform, the electronic device can determine the required test data through the pre-set processing rules, thereby ensuring that the autonomous driving system can be tested.

[0098] Figure 3 A flow chart of a second method for testing an autonomous driving system provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, the method comprises the following steps:

[0099] S301. Obtain first transmission requirement information of the autonomous driving system to be tested, and determine the test data required for testing the autonomous driving system to be tested; the first transmission requirement information is used to characterize the data transmission method required by the autonomous driving system to be tested.

[0100] S302: If it is determined that the test data does not exist in the autonomous driving simulation platform, determine the processing rule information of the test data from a plurality of preset processing rule information.

[0101] For example, the execution subject in this embodiment may be a test device of the autonomous driving system, which may be an electronic device, a chip, a processor, etc. The execution subject in this embodiment is described by taking an electronic device as an example. The specific principles of step S301 and step S302 in this embodiment can be referred to step S101 and step S102, which will not be repeated here.

[0102] S303. If the processing rule information includes correlation indicators associated with the test data and a preset model, and the preset model is used to determine the test data, then the correlation data corresponding to the correlation indicators is obtained in the autonomous driving simulation platform.

[0103] Exemplarily, the preset processing rule information in this embodiment includes the associated indicators corresponding to the test data and the preset model, wherein the preset model can be used to obtain the preset data based on the data corresponding to the associated indicators corresponding to the test data. Therefore, when the electronic device determines that the autonomous driving simulation platform does not include the test data required by the autonomous driving platform to be tested, and after determining the processing rule information corresponding to the test data from the multiple processing rule information preset by the electronic device, first, based on the associated indicators corresponding to the test data included in the processing rule information, the data corresponding to the associated indicators, i.e., the above-mentioned associated data, will be requested from the autonomous driving simulation platform.

[0104] S304: Input the associated data into a preset model to obtain test data.

[0105] Exemplarily, after the electronic device acquires the associated data, the associated data may be input into a preset model indicated in the processing rule information corresponding to the test data, and the output result of the preset model may be used as the test data.

[0106] It can be understood that the processing rule information in this embodiment may include related indicators and preset models corresponding to the test data to avoid the phenomenon that the autonomous driving system to be tested cannot complete the test when the autonomous driving simulation platform cannot directly provide test data.

[0107] S305. If the first transmission request information includes a preset communication protocol, then among the multiple conversion interfaces stored in advance, the conversion interface corresponding to the preset communication protocol in the first transmission request information is called, and the test data is input into the conversion interface to obtain processed data. The conversion interface is used to perform format conversion processing on the input data, and the conversion interface and the communication protocol are in a one-to-one correspondence.

[0108] Exemplarily, in this embodiment, after the electronic device acquires the test data, in order to ensure that the autonomous driving system to be tested can accurately receive and identify the test data sent by the electronic device, a plurality of conversion interfaces can be pre-set in the electronic device, wherein each conversion interface corresponds to a communication transmission protocol, and the electronic device can select a conversion interface corresponding to a preset communication protocol indicated by a first transmission protocol from the plurality of conversion interfaces, and input the test data into the selected conversion interface, so that the test data can be format converted based on the selected conversion interface to obtain the converted test data, for example, the DCB protocol of the CAN (Controller Area Network) bus, the msg format of ROS, the xbuf format, the probuf format, etc.

[0109] It is understandable that, in this embodiment, multiple conversion interfaces can be pre-set in the electronic device, so that the test data can be converted into a data format recognizable by the autonomous driving system to be tested through the pre-set conversion interface. In addition, the electronic device can also adapt to multiple autonomous driving systems to be tested with different transmission requirement information, which is conducive to improving test efficiency.

[0110] S306. If it is determined that there is test data in the autonomous driving simulation platform, second transmission requirement information is obtained, and the test data is obtained from the autonomous driving simulation platform. The second transmission requirement information is used to characterize the data transmission method required by the autonomous driving simulation platform.

[0111] For example, in this embodiment, when the electronic device determines that the test data can be obtained from the autonomous driving simulation platform, the electronic device first obtains the test data from the autonomous driving simulation platform, and also obtains the second transmission requirement information. The second transmission requirement information can be understood as the transmission method when the data is transmitted in the autonomous driving simulation platform.

[0112] S307 . Perform format conversion processing on the test data according to the first transmission requirement information and the second transmission requirement information to obtain processed test data.

[0113] Exemplarily, after the electronic device acquires the test data, it converts the acquired test data according to the first data transmission requirement and the second data transmission requirement, thereby obtaining processed test data.

[0114] It can be understood that in this embodiment, the second transmission requirement information is obtained so that the electronic device can accurately identify the acquired test data and convert the acquired test data into data that can be accurately identified by the autonomous driving system to be tested, so as to improve the accuracy and reliability of the test.

[0115] In one example, step S307 includes the following steps:

[0116] The first step of step S307: according to the data encapsulation rule in the second transmission requirement information, the test data is parsed to obtain parsed data.

[0117] Exemplarily, after the electronic device acquires the test data, when the transmission requirement information between the autonomous driving simulation platform and the autonomous driving system to be tested is different, the electronic device will parse the data actually contained in the test data according to the data encapsulation rules corresponding to the second transmission requirement information corresponding to the autonomous driving simulation platform, so as to extract the information truly needed by the autonomous driving system to be tested in the currently acquired test data.

[0118] The second step of step S307: according to the first transmission requirement information, perform data conversion processing on the parsed data to obtain processed test data.

[0119] Exemplarily, after the parsed data is obtained, the parsed data will also be converted based on the first transmission requirement information required by the autonomous driving system to be tested, so that the data obtained after the conversion meets the transmission requirements corresponding to the autonomous driving system to be tested.

[0120] It can be understood that the second transmission requirement information in this embodiment carries a data encapsulation rule, so that the electronic device can accurately identify valid information in the acquired test data based on the data encapsulation rule to improve the accuracy and reliability of the test.

[0121] S308. According to the communication mode included in the first transmission request information, determine a communication interface corresponding to the communication mode from a plurality of preset communication interfaces.

[0122] Exemplarily, in this embodiment, the electronic device also includes a communication interface corresponding to the communication mode, and the communication interface in the electronic device is used to communicate with the autonomous driving system to be tested. For example, in actual applications, the communication interface may include: one or more of an Ethernet interface, a CAN interface, a ROS interface, and a ROS2 interface. After determining the processed test data, in this embodiment, it is further necessary to determine the communication transmission interface for output transmission. That is, among the multiple interfaces included in the electronic device, the communication interface corresponding to the communication mode indicated in the first transmission requirement information is selected.

[0123] S309. Call a communication interface that corresponds one-to-one to the communication mode included in the first transmission requirement information, and send processed test data to the autonomous driving system to be tested, wherein the processed test data is used for system testing of the autonomous driving system to be tested.

[0124] Exemplarily, after determining the communication interface that corresponds one-to-one to the communication mode indicated by the first transmission requirement information, the communication interface is called, and the processed test data is transmitted to the autonomous driving system to be tested based on the communication interface.

[0125] It can be understood that in this embodiment, the electronic device can be pre-set with communication interfaces corresponding to multiple communication methods, thereby ensuring that the autonomous driving system to be tested can accurately receive the processed test data sent by the electronic device, so that the autonomous driving system can be tested based on the received processed test data.

[0126] Figure 4 A flowchart of a third method for testing an autonomous driving system provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, the method comprises the following steps:

[0127] S401. Obtain first transmission requirement information of the autonomous driving system to be tested, and determine the test data required for testing the autonomous driving system to be tested; the first transmission requirement information is used to characterize the data transmission method required by the autonomous driving system to be tested.

[0128] For example, the execution subject in this embodiment may be a test device of the autonomous driving system, which may be an electronic device, a chip, a processor, etc. The execution subject in this embodiment is described by taking an electronic device as an example. The specific principle of step S401 can be referred to step S101, which will not be repeated here.

[0129] S402: Obtain the working status of each of a plurality of different autonomous driving simulation platforms, wherein different autonomous driving simulation platforms have different platform simulation functions or corresponding operating systems.

[0130] S403: Determine that the autonomous driving simulation platform whose working state is idle is the autonomous driving simulation platform used in this test.

[0131] Exemplarily, in this embodiment, before testing the autonomous driving system to be tested, it is necessary to further determine the currently available autonomous driving simulation platform. When determining the currently available autonomous driving simulation platform, the working status corresponding to multiple different autonomous driving simulation platforms can be first obtained. Among them, the working status can include an idle state and a busy state. In addition, the simulation functions or the operating systems installed on the platforms of different autonomous driving simulation platforms are different, for example, they can be x86 systems, Linux systems, etc.

[0132] After obtaining the working status of multiple different autonomous driving simulation platforms, the autonomous driving simulation platform that is currently in an idle state can be selected as the simulation platform used for the current test.

[0133] It can be understood that in this embodiment, when the autonomous driving system to be tested needs to be tested on multiple different simulation platforms, a simulation platform that is currently idle will be selected for testing before each test in order to improve the testing efficiency of the autonomous driving platform.

[0134] S404. If it is determined that the test data does not exist in the autonomous driving simulation platform, the processing rule information of the test data is determined from a plurality of preset processing rule information, and the test data is acquired based on the processing rule information of the test data; the processing rule information is used to indicate a method for acquiring the test data.

[0135] S405: Convert the test data according to the first transmission requirement information to obtain processed test data.

[0136] S406. Send the processed test data to the autonomous driving system to be tested, wherein the processed test data is used for system testing of the autonomous driving system to be tested.

[0137] Exemplarily, the specific principles of steps S404 to S406 can be found in steps S102 to S104, which will not be described in detail here.

[0138] S407. Receive a control instruction returned by the autonomous driving system to be tested, where the control instruction is obtained by the autonomous driving system to be tested based on the processed test data.

[0139] For example, Figure 5 This is another application scenario diagram provided by the embodiment of the present application. Figure 5 As shown, in Figure 1 Based on the scene diagram shown, in this embodiment, after the autonomous driving system obtains the processed test data, it will generate control instructions based on the received test data, wherein the control instructions can be used to instruct the driving of the simulated vehicle in the autonomous driving simulation platform.

[0140] S408. Obtain second transmission requirement information, where the second transmission requirement information is used to characterize the data transmission method required by the autonomous driving simulation platform.

[0141] Exemplarily, after receiving the control instruction returned by the autonomous driving system to be tested, the electronic device first obtains the data transmission method required by the autonomous driving simulation platform for data transmission, that is, the second transmission requirement information, before returning the control instruction to the autonomous driving simulation platform.

[0142] S409. Convert the control instruction according to the first transmission requirement information and the second transmission requirement information to obtain a converted control instruction, and send the converted control instruction to the autonomous driving simulation platform. The converted control instruction is used to control the driving of the virtual vehicle in the autonomous driving simulation platform.

[0143] Exemplarily, after the electronic device obtains the control instruction, it will parse out the valid information carried in the control instruction based on the first transmission requirement information, and convert the valid information obtained after parsing based on the second transmission requirement information, thereby obtaining the above-mentioned converted control instruction. Here, the conversion process of the control instruction can refer to the conversion process of the test data, and the principle is similar.

[0144] Afterwards, the electronic device sends the converted control instructions to the autonomous driving simulation platform so that the autonomous driving simulation platform can accurately identify the received converted control instructions and control the operation of the virtual vehicle in the autonomous driving simulation platform based on the control instructions, so that the tester can determine whether the autonomous driving system to be tested meets the test requirements by observing the driving status of the virtual vehicle in the autonomous driving simulation platform.

[0145] It can be understood that in this embodiment, the control instructions generated by the autonomous driving system to be tested are returned to the autonomous driving simulation platform so that the tester can determine whether the autonomous driving system meets the test requirements through the operating status of the virtual vehicle in the autonomous driving simulation platform.

[0146] Figure 6 A schematic diagram of the structure of a test device for an autonomous driving system provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the device comprises:

[0147] The first acquisition unit 601 is used to acquire first transmission requirement information of the automatic driving system to be tested.

[0148] The first determination unit 602 is used to determine the test data required for testing the autonomous driving system to be tested; the first transmission requirement information is used to characterize the data transmission method required by the autonomous driving system to be tested.

[0149] The second determination unit 603 is used to determine the processing rule information of the test data from a plurality of preset processing rule information if it is determined that the test data does not exist in the autonomous driving simulation platform.

[0150] The second acquisition unit 604 is used to acquire the test data based on the processing rule information of the test data; the processing rule information is used to indicate the acquisition method of the test data.

[0151] The first processing unit 605 is used to convert the test data according to the first transmission requirement information to obtain processed test data.

[0152] The first sending unit 606 is used to send the processed test data to the autonomous driving system to be tested, wherein the processed test data is used for system testing of the autonomous driving system to be tested.

[0153] The device provided in this embodiment is used to implement the technical solution provided by the above method. Its implementation principle and technical effect are similar and will not be described in detail.

[0154] Figure 7 A schematic diagram of the structure of a second test device for an autonomous driving system provided in an embodiment of the present application is shown in FIG. Figure 7 As shown, in Figure 6 Based on the structure shown, in this embodiment, the first transmission requirement information includes a preset communication protocol; the first processing unit 605 is specifically used to: call the conversion interface corresponding to the preset communication protocol in the first transmission requirement information among the multiple conversion interfaces stored in advance, and input the test data into the conversion interface to obtain processed data, the conversion interface is used to perform format conversion processing on the input data, and the conversion interface and the communication protocol are in a one-to-one correspondence.

[0155] In a possible implementation, if the processing rule information includes an associated index associated with the test data and a preset model, and the preset model is used to determine the test data, the second obtaining unit 604 includes:

[0156] The acquisition module 6041 is used to obtain the associated data corresponding to the associated indicators in the autonomous driving simulation platform.

[0157] The first determination module 6042 is used to input the associated data into a preset model to obtain test data.

[0158] In a possible implementation, the testing device further includes:

[0159] The third acquisition unit 607 is used to obtain second transmission requirement information and obtain the test data from the autonomous driving simulation platform if it is determined that the test data exists in the autonomous driving simulation platform. The second transmission requirement information is used to characterize the data transmission method required by the autonomous driving simulation platform.

[0160] The conversion unit 608 is used to perform format conversion processing on the test data according to the first transmission requirement information and the second transmission requirement information to obtain processed test data.

[0161] In a possible implementation, the conversion unit 608 includes:

[0162] The first processing module 6081 is used to parse the test data according to the data encapsulation rule in the second transmission requirement information to obtain parsed data.

[0163] The second processing module 6082 is used to perform data conversion processing on the parsed data according to the first transmission requirement information to obtain processed test data.

[0164] In a possible implementation, the first sending unit 606 includes:

[0165] The second determining module 6061 is used to determine a communication interface corresponding to the communication mode from a plurality of preset communication interfaces according to the communication mode included in the first transmission requirement information.

[0166] The sending module 6062 is used to call the communication interface corresponding to the communication method included in the first transmission requirement information to send the processed test data to the automatic driving system to be tested.

[0167] In a possible implementation, the testing device further includes:

[0168] The receiving unit 609 is used to receive the control instructions returned by the autonomous driving system to be tested, where the control instructions are obtained by the autonomous driving system to be tested based on the processed test data.

[0169] The fourth acquisition unit 610 is used to acquire second transmission requirement information, where the second transmission requirement information is used to characterize the data transmission method required by the autonomous driving simulation platform.

[0170] The second processing unit 611 converts the control instruction according to the first transmission requirement information and the second transmission requirement information to obtain a converted control instruction.

[0171] The second sending unit 612 is used to send the converted control instructions to the autonomous driving simulation platform, and the converted control instructions are used to control the driving of the virtual vehicle in the autonomous driving simulation platform.

[0172] In a possible implementation, the testing device further includes:

[0173] The fifth acquisition unit is used to obtain the working status of multiple different autonomous driving simulation platforms before determining the processing rule information of the test data in multiple preset processing rule information if the second determination unit 603 determines that there is no test data in the autonomous driving simulation platform, wherein different autonomous driving simulation platforms have different platform simulation functions or corresponding operating systems of the platforms.

[0174] The third determination unit is used to determine that the autonomous driving simulation platform whose working state is an idle state is the autonomous driving simulation platform used in this test.

[0175] The device provided in this embodiment is used to implement the technical solution provided by the above method. Its implementation principle and technical effect are similar and will not be described in detail.

[0176] The present application provides an electronic device, comprising: a memory, a processor;

[0177] Memory; Memory for storing processor executable instructions;

[0178] Wherein, the processor is used to execute the method according to the executable instructions.

[0179] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 8 As shown, the electronic device includes:

[0180] The electronic device includes a processor 291 and a memory 292; it may also include a communication interface 293 and a bus 294. The processor 291, the memory 292, and the communication interface 293 may communicate with each other through the bus 294. The communication interface 293 may be used for information transmission. The processor 291 may call the logic instructions in the memory 292 to execute the method of the above embodiment.

[0181] In addition, the logic instructions in the above-mentioned memory 292 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

[0182] The memory 292 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the methods in the embodiments of the present application. The processor 291 executes functional applications and data processing by running the software programs, instructions, and modules stored in the memory 292, that is, implementing the methods in the above method embodiments.

[0183] The memory 292 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 terminal device, etc. In addition, the memory 292 may include a high-speed random access memory and may also include a non-volatile memory.

[0184] The present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement any one of the methods.

[0185] The present application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, any one of the methods is implemented.

[0186] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the appended claims.

[0187] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A testing method for an autonomous driving system, It is characterized in that Applied to electronic equipment, the method comprises: Acquire first transmission requirement information of the autonomous driving system to be tested, and determine test data required for testing the autonomous driving system to be tested; the first transmission requirement information is used to characterize the data transmission mode required by the autonomous driving system to be tested; If it is determined that the test data does not exist in the autonomous driving simulation platform, the processing rule information of the test data is determined from a plurality of preset processing rule information of the electronic device, and the test data is acquired based on the processing rule information of the test data; the processing rule information is used to indicate a method for acquiring the test data; wherein the processing rule information is used to characterize a method for acquiring the test data; the electronic device pre-stores data that can be provided by the autonomous driving simulation platform; the test data includes at least one of the following: road information, driving route information, and positioning information; According to the first transmission requirement information, converting the test data to obtain processed test data; Sending the processed test data to the autonomous driving system to be tested, wherein the processed test data is used for performing system testing on the autonomous driving system to be tested; If the processing rule information includes an associated index associated with the test data and a preset model, and the preset model is used to determine the test data, then acquiring the test data based on the processing rule information of the test data includes: Acquiring, in the autonomous driving simulation platform, associated data corresponding to the associated indicator; Inputting the associated data into the preset model to obtain the test data; The first transmission requirement information includes a preset communication protocol; and according to the first transmission requirement information, the test data is converted to obtain processed test data, including: Among the multiple conversion interfaces stored in advance, the conversion interface corresponding to the preset communication protocol in the first transmission requirement information is called, and the test data is input into the conversion interface to obtain processed data. The conversion interface is used to perform format conversion processing on the input data, and the conversion interface and the communication protocol are in a one-to-one correspondence.

2. The method according to claim 1, It is characterized in that The method further comprises: If it is determined that the test data exists in the autonomous driving simulation platform, obtaining second transmission requirement information, and obtaining the test data from the autonomous driving simulation platform, wherein the second transmission requirement information is used to characterize the data transmission method required by the autonomous driving simulation platform; According to the first transmission requirement information and the second transmission requirement information, format conversion is performed on the test data to obtain processed test data.

3. The method according to claim 2, It is characterized in that According to the first transmission requirement information and the second transmission requirement information, format conversion is performed on the test data to obtain processed test data, including: Parsing the test data according to the data encapsulation rule in the second transmission requirement information to obtain parsed data; According to the first transmission requirement information, data conversion processing is performed on the parsed data to obtain processed test data.

4. The method according to claim 1, It is characterized in that Sending the processed test data to the autonomous driving system to be tested includes: According to the communication mode included in the first transmission request information, determining a communication interface corresponding to the communication mode from a plurality of preset communication interfaces; Call a communication interface that corresponds one-to-one to the communication method included in the first transmission requirement information to send the processed test data to the automatic driving system to be tested.

5. The method according to claim 1, It is characterized in that The method further comprises: receiving a control instruction returned by the autonomous driving system to be tested, wherein the control instruction is obtained by the autonomous driving system to be tested based on the processed test data; Acquire second transmission requirement information, where the second transmission requirement information is used to characterize a data transmission method required by the autonomous driving simulation platform; According to the first transmission requirement information and the second transmission requirement information, the control instruction is converted to obtain a converted control instruction, and the converted control instruction is sent to the autonomous driving simulation platform. The converted control instruction is used to control the driving of a virtual vehicle in the autonomous driving simulation platform.

6. The method according to any one of claims 1 to 5, It is characterized in that If it is determined that the test data does not exist in the autonomous driving simulation platform, then determining the processing rule information of the test data from a plurality of preset processing rule information, and based on the processing rule information of the test data, the method further includes: Obtaining the working status of a plurality of different autonomous driving simulation platforms, wherein different autonomous driving simulation platforms have different platform simulation functions or corresponding operating systems of the platforms; It is determined that the autonomous driving simulation platform whose working state is the idle state is the autonomous driving simulation platform used in this test.

7. A test device for an autonomous driving system, It is characterized in that include: A first acquisition unit, configured to acquire first transmission requirement information of the automatic driving system to be tested; A first determining unit, configured to determine test data required for testing the autonomous driving system to be tested; The first transmission requirement information is used to characterize the data transmission method required by the automatic driving system to be tested; a second determining unit, configured to determine processing rule information of the test data from a plurality of preset processing rule information if it is determined that the test data does not exist in the autonomous driving simulation platform; A second acquisition unit, configured to acquire the test data based on the processing rule information of the test data; The processing rule information is used to indicate the method of obtaining the test data; the electronic device pre-stores the data that can be provided by the autonomous driving simulation platform; the test data includes at least one of the following: road information, driving route information, and positioning information; A first processing unit, configured to convert the test data according to the first transmission requirement information to obtain processed test data; A first sending unit, configured to send the processed test data to the autonomous driving system to be tested, wherein the processed test data is used for performing system testing on the autonomous driving system to be tested; If the processing rule information includes an associated index associated with the test data and a preset model, and the preset model is used to determine the test data, the second acquisition unit includes: An acquisition module, used to acquire the associated data corresponding to the associated indicator in the autonomous driving simulation platform; A first determination module, used for inputting the associated data into the preset model to obtain the test data; The first transmission requirement information includes a preset communication protocol; the first processing unit is specifically used to call the conversion interface corresponding to the preset communication protocol in the first transmission requirement information from a plurality of pre-stored conversion interfaces, and input the test data into the conversion interface to obtain processed data, the conversion interface is used to perform format conversion processing on the input data, and the conversion interface and the communication protocol are in a one-to-one correspondence.

8. An electronic device, include: Memory, processor; Memory; a memory for storing instructions executable by the processor; Wherein, the processor is used to execute the method as described in any one of claims 1-5 according to the executable instructions.

9. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 5.