US12183128B2 - Testing method for automated driving system, electronic device and storage medium - Google Patents

Testing method for automated driving system, electronic device and storage medium Download PDF

Info

Publication number
US12183128B2
US12183128B2 US17/342,207 US202117342207A US12183128B2 US 12183128 B2 US12183128 B2 US 12183128B2 US 202117342207 A US202117342207 A US 202117342207A US 12183128 B2 US12183128 B2 US 12183128B2
Authority
US
United States
Prior art keywords
data
frame
record data
timestamp
vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active, expires
Application number
US17/342,207
Other versions
US20210295613A1 (en
Inventor
Xi FENG
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Assigned to BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD. reassignment BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: FENG, Xi
Publication of US20210295613A1 publication Critical patent/US20210295613A1/en
Application granted granted Critical
Publication of US12183128B2 publication Critical patent/US12183128B2/en
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M17/00Testing of vehicles
    • G01M17/007Wheeled or endless-tracked vehicles
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M17/00Testing of vehicles
    • G01M17/007Wheeled or endless-tracked vehicles
    • G01M17/06Steering behaviour; Rolling behaviour
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W40/00Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models
    • B60W40/02Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models related to ambient conditions
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W60/00Drive control systems specially adapted for autonomous road vehicles
    • B60W60/001Planning or execution of driving tasks
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/368Test management for test version control, e.g. updating test cases to a new software version
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2477Temporal data queries
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/02Registering or indicating driving, working, idle, or waiting time only
    • G07C5/04Registering or indicating driving, working, idle, or waiting time only using counting means or digital clocks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0808Diagnosing performance data
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0841Registering performance data
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W2050/0001Details of the control system
    • B60W2050/0002Automatic control, details of type of controller or control system architecture
    • B60W2050/0004In digital systems, e.g. discrete-time systems involving sampling
    • B60W2050/0005Processor details or data handling, e.g. memory registers or chip architecture
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60YINDEXING SCHEME RELATING TO ASPECTS CROSS-CUTTING VEHICLE TECHNOLOGY
    • B60Y2400/00Special features of vehicle units
    • B60Y2400/30Sensors

Definitions

  • the present disclosure relates to the technical field of automated driving, in particular to the performance testing field of an automated driving system.
  • HiL (Hardware in the Loop) technology is a simulation testing technology that may be used for virtual simulation testing of a self-driving vehicle.
  • a vehicle-mounted computing platform of the self-driving vehicle can be virtually tested by using the HiL technology, thus greatly improving a testing efficiency of the self-driving vehicle.
  • the HiL technology When the HiL technology is used for performing stimulation testing on the self-driving vehicle, data collected by a sensor device of the self-driving vehicle during road driving may be used. Necessary transformation is performed on the data collected by the sensor device (this process may be called inversion), and then the transformed data is input into the vehicle-mounted computing platform of the self-driving vehicle to check performances of the vehicle-mounted computing platform.
  • the present disclosure provides a testing method and apparatus for an automated driving system, an electronic device and a storage medium.
  • a testing method for an automated driving system including:
  • a testing apparatus for an automated driving system including:
  • an electronic device including:
  • a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method in any embodiment of the present disclosure.
  • a computer program product including a computer program which, when executed by a processor, implements the method in any embodiment of the present disclosure.
  • FIG. 1 is a schematic diagram of a driving route corresponding to record data used in the present disclosure
  • FIG. 2 is a flowchart for implementing a testing method for an automated driving system according to the present disclosure
  • FIG. 3 A is a schematic diagram of record data according to the present disclosure.
  • FIG. 3 B is a schematic diagram of test data according to the present disclosure.
  • FIG. 4 is a flowchart of implementing a method for updating a timestamp in the process of repeated writing in the testing method for the automated driving system according to the present disclosure
  • FIG. 5 is a schematic structural diagram of a testing apparatus 500 for an automated driving system according to the present disclosure
  • FIG. 6 is a schematic structural diagram of a testing apparatus 600 for an automated driving system according to the present disclosure.
  • FIG. 7 is a block diagram of an electronic device for implementing a testing method for an automated driving system according to the present disclosure.
  • a longest time of general sensor data is about 3 hours, which cannot meet the requirements on a long-time operation stability test of the vehicle-mounted computing platform. If a piece of sensor data is found from a data platform and continuously played for a plurality of times, although the requirement on duration can be met, position and time hopping of the data will occur. For example, a piece of sensor data with a duration of 3 hours is selected. If the data is played 4 times continuously, a piece of data with a duration of 12 hours will be obtained.
  • position and time hopping will occur at a junction of two adjacent playing, that is, at the points in time of 3:00:00, 6:00:00 and 9:00:00 of the whole duration, which will cause positioning to be misaligned, so the data cannot be used to test the automated driving system.
  • FIG. 1 is a schematic diagram of a driving route corresponding to the record data used in the present disclosure. As shown in FIG. 1 , a starting point and an end point of the driving route are the same point, and the position hopping can be avoided by repeatedly playing the record data of the driving route.
  • the simplest way is to replace a timestamp corresponding to a historical time in each frame of data in the record data with the timestamp corresponding to the current time. For example, a timestamp of a first frame of data in the record data is replaced with a timestamp corresponding to the current test time, and a timestamp of a second frame data in the record data is replaced with a timestamp corresponding to next frame of the current test time. In this way, the timestamps in each frame of data are sequentially replaced.
  • this method requires very high time accuracy, and there are many difficulties in concrete implementation.
  • a core of the problem is not that the repeatedly written record data does not correspond to the current time (i.e., the test time), but that the timestamps of each frame in the repeatedly written record data are discontinuous. Therefore, as long as the timestamps of each frame in the repeatedly written record data are continuous, the problem of time hopping can be solved. Meanwhile, the method for replacing the timestamp of each frame of data in the record data with the timestamp corresponding to the current time is avoided, which is more convenient in concrete implementation.
  • FIG. 2 is a flowchart for implementing the testing method for the automated driving system according to the present disclosure, including the following steps.
  • step S 201 record data of a sensor device is acquired, the record data including a plurality of frames of data collected by the sensor device of a vehicle, each frame of data including a timestamp, and a first frame and a last frame of the record data corresponding to a same vehicle position.
  • step S 202 the record data is written repeatedly to generate test data for testing the automated driving system; and the timestamp of each frame of data in the record data is updated in the process of repeated writing, according to a number of times of a current repeated writing and a time duration corresponding to the record data.
  • the record data (i.e., raw data) collected by the sensor device of the vehicle includes N frames, and the serial number of each frame of data is 1 to N in turn. If the record data is written 4 times repeatedly, the generated test data includes N*4 frames.
  • the first to N th frames of the test data have the same contents as that of the first to N th frames of the record data
  • the (N+1) th to 2N th frames of the test data have the same contents as that of the first to N th frames of the record data
  • the (2N+1) th to 3N th frames of the test data have the same contents as that of the first to N th frames of the record data
  • the (3N+1) th to 4N th frames of the test data have the same contents as that of the first to N th frames of the record data.
  • the vehicle positions corresponding to the first frame and the last frame of the record data are the same, so position hopping will not occur to the generated test data at a repeatedly written connection position.
  • the vehicle position corresponding to the N th frame is the same as that corresponding to the (N+1) th frame
  • the vehicle position corresponding to the 2N th frame is the same as that corresponding to the (2N+1) th frame
  • the vehicle position corresponding to the 3N th frame is the same as that corresponding to the (3N) th frame.
  • FIG. 3 A is a schematic diagram of record data according to the present disclosure.
  • FIG. 3 A two pieces of record data collected by a positioning sensor and a radar are included, and a corresponding time duration is 100 seconds.
  • FIG. 3 B is a schematic diagram of test data according to the present disclosure, wherein the test data is obtained by repeatedly writing the record data in FIG. 3 A , and the timestamp of each frame of data in the record data is updated during every repeated writing according to the number of times of the current repeated writing and the time duration corresponding to the record data. As shown in FIG.
  • a timestamp corresponding to the first frame of the original record data is t0, and the timestamp of the first frame is updated to t0+100s during the first repeated writing.
  • the timestamp of the first frame is updated to t0+200s, and so on.
  • Other frames are replaced in the same way. In this way, the timestamp of each frame in the finally generated test data can be guaranteed to be continuous, and the problem of time hopping is solved.
  • the present disclosure by repeatedly writing the record data of the sensor device and replacing the timestamp in the writing process, a time continuity between data frames is ensured; moreover, the record data with the same starting point and end point positions is adopted to ensure a position continuity between the data frames; Therefore, test data with sufficient duration and no position and time hopping can be generated, and the long-time operation stability test of the automated driving system can be implemented.
  • FIG. 4 is a flowchart of implementing the method for updating the timestamp in the process of repeated writing in the testing method for the automated driving system according to the embodiments of the present disclosure, including the following steps.
  • step S 401 according to the timestamp of each frame of data in the record data, first time information corresponding to each frame of data in the record data is determined.
  • step S 402 elapsed time corresponding to the current repeated writing is determined, according to the number of times of the current repeated writing and the time duration corresponding to the record data. For example, if it is the N th repeated writing and the time duration corresponding to the record data is T, then it is determined that the elapsed time corresponding to the N th repeated writing is N*T.
  • step S 403 according to the first time information corresponding to each frame of data and the elapsed time mentioned above respectively, second time information corresponding to each frame of data in the current repeated writing is obtained, and the timestamp of each frame of data is determined and updated according to the second time information.
  • the embodiments of the present disclosure may further test a vehicle-mounted computing platform of a self-driving vehicle by using the test data.
  • a header and/or a body of each frame of data mentioned above contains the timestamp.
  • time information is expressed by a GPS time system.
  • an atomic time AT1 second is used as a time reference, wherein the second is defined as a duration of 9,192,631,170 periods of radiation corresponding to the transition between two hyperfine levels of a ground state of a caesium atom CS133, and a time origin starts at 0 h UTC on Jan. 6, 1980.
  • a timestamp of each frame of data is included in a header and a body of the frame of data. The timestamp in the header occupies 6 bytes, wherein 2 bytes represent GPS week, and the other 4 bytes represent GPS millisecond (GPS ms) within the GPS week.
  • the timestamp in the body occupies 12 bytes, wherein 4 bytes represent GPS week, and the other 8 bytes represent GPS second (GPS s) within the GPS week.
  • the timestamp can be changed by changing the GPS weeks and the GPS milliseconds (second) in the header and the body.
  • a time duration of the record data is T.
  • the GPS week and GPS ms of the current frame are acquired, and the updated GPS week and GPS ms at the corresponding time are calculated at the n th repeated writing, that is, after nT seconds.
  • a time at a position specified in the header is replaced with the updated GPS week and GPS ms, and the GPS time in the body is replaced after the GPS ms is converted into GPS s.
  • time information is expressed by a unix time system.
  • the unix time is the number of seconds elapsed since Jan. 1, 1970; and leap seconds are ignored.
  • each frame of point cloud data consists of 1,240 bytes of measured data and 22 bytes of additional information, and the last 6 bytes of the additional information contain a timestamp. It is assumed that a time duration of the record data is T.
  • a unix timestamp t0 at that time is calculated, and the unix timestamp is modified to t0+nT during the n th repeated writing to replace the timestamp.
  • FIG. 5 is a schematic structural diagram of a testing apparatus 500 of the automated driving system according to the present disclosure, including:
  • FIG. 6 is a schematic structural diagram of a testing apparatus 600 of an automated driving system according to an embodiment of the present disclosure.
  • the testing apparatus 600 includes an acquisition module 610 and a test data generating module 620 which are the same as the above-mentioned acquisition module 510 and test data generating module 520 .
  • the above-mentioned test data generating module 620 may include:
  • the above-mentioned apparatus may also include:
  • a header and/or a body of each frame of data mentioned above contains the timestamp.
  • the present disclosure further provides an electronic device, a readable storage medium and a computer program product.
  • FIG. 7 is a schematic block diagram of an electronic device of an example electronic device 700 that may be used to implement the embodiments of the present disclosure.
  • the electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers.
  • the electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smart phones, wearable devices, and other similar computing devices.
  • the components shown herein, their connections and relationships, and their functions are by way of example only and are not intended to limit the implementations of the present disclosure described and/or claimed herein.
  • the electronic device 700 includes a computing unit 701 , which can perform various appropriate actions and processes according to a computer program stored in a Read-only Memory (ROM) 702 or a computer program loaded from a storage unit 708 into a Random Access Memory (RAM) 703 .
  • ROM Read-only Memory
  • RAM Random Access Memory
  • various programs and data needed for operating the device 700 may also be stored.
  • the computing unit 701 , the ROM 702 , and the RAM 703 are connected to each other through a bus 704 .
  • An Input/Output (I/O) interface 705 is also connected to the bus 704 .
  • a plurality of components in the device 700 are connected to the I/O interface 705 , including: an input unit 706 , such as a keyboard, a mouse, and the like; an output unit 707 , such as various types of displays, speakers, and the like; a storage unit 708 , such as a magnetic disk, an optical disk, and the like; and a communication unit 709 , such as a network card, a modem, a wireless communication transceiver, and the like.
  • the communication unit 709 allows the device 700 to exchange information/data with other devices through a computer network such as the Internet and/or various telecommunication networks.
  • the computing unit 701 may be various general-purpose and/or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc.
  • the computing unit 701 executes various methods and processes described above, such as the testing method for the automated driving system.
  • the testing method for the automated driving system may be implemented as a computer software program, which is tangibly embodied in a machine-readable medium, such as the storage unit 708 .
  • a part or all of the computer program may be loaded and/or installed on the device 700 via the ROM 702 and/or the communication unit 709 .
  • the computer program When the computer program is loaded into the RAM 703 and executed by the computing unit 701 , one or more steps of the testing method for the automated driving system described above may be executed.
  • the computing unit 701 may be configured to execute the testing method for the automated driving system by any other suitable means (for example, by means of firmware).
  • Various embodiments of the systems and techniques described above herein may be implemented in digital electronic circuit systems, integrated circuit systems, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chip (SOCs), Complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof.
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSPs Application Specific Standard Products
  • SOCs Systems on Chip
  • CPLDs Complex Programmable Logic Devices
  • computer hardware firmware, software, and/or combinations thereof.
  • These various embodiments may include: implementation in one or more computer programs which may be executed and/or interpreted on a programmable system including at least one programmable processor, and the programmable processor may be a dedicated or general-purpose programmable processor which can receive data and instructions from, and transmit data and instructions to, a memory system, at least one input device, and at least one output device.
  • Program codes for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, a special purpose computer, or other programmable data processing device, such that the program codes, when executed by the processor or the controller, enable functions/operations specified in the flowcharts and/or block diagrams to be implemented.
  • the program codes may be executed entirely on a machine, partially executed on the machine, partially executed on the machine as a stand-alone software package, and partially executed on a remote machine, or entirely executed on the remote machine or a server.
  • the machine-readable medium may be a tangible medium which may contain or store a program that may be used by or conjunctively used with an instruction execution system, apparatus, or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • the machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any suitable combination of the above.
  • machine-readable storage medium may include an electrical connection with one or more wires, a portable computer disk, a hard disk, a Random Access Memory (RAM), a Read-only Memory (ROM), an Erasable Programmable Read-only Memory (EPROM or flash memory), an optical fiber, a portable Compact Disk Read-only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above contents.
  • RAM Random Access Memory
  • ROM Read-only Memory
  • EPROM or flash memory Erasable Programmable Read-only Memory
  • CD-ROM Compact Disk Read-only Memory
  • magnetic storage device a magnetic storage device
  • the systems and techniques described herein may be implemented on a computer having: a display device (e.g., a Cathode Ray Tube (CRT) or Liquid Crystal Display (LCD) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer.
  • a display device e.g., a Cathode Ray Tube (CRT) or Liquid Crystal Display (LCD) monitor
  • a keyboard and a pointing device e.g., a mouse or a trackball
  • Other types of devices may also be used to provide interaction with a user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, audile feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, audio input, or tactile input.
  • the systems and techniques described herein may be implemented in a computing system that includes a background component (e.g., as a data server), or a computing system that includes a middleware component (e.g., an application server), or a computing system that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user may interact with embodiments of the systems and techniques described herein), or in a computing system that includes any combination of such background component, middleware component, or front-end component.
  • the components of the system may be interconnected by digital data communication (e.g., a communication network) of any form or medium. Examples of the communication network include: Local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
  • the computer system may include a client and a server.
  • the client and the server are typically remote from each other and typically interact through a communication network.
  • a relationship between the client and the server is generated by computer programs operating on respective computers and having a client-server relationship with each other.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Transportation (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Mechanical Engineering (AREA)
  • Fuzzy Systems (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Probability & Statistics with Applications (AREA)
  • Human Computer Interaction (AREA)
  • Traffic Control Systems (AREA)
  • Debugging And Monitoring (AREA)
  • Time Recorders, Dirve Recorders, Access Control (AREA)
  • Recording Measured Values (AREA)

Abstract

A testing method for an automated driving system, an electronic device and a storage medium are provided, and relate to the technical field of artificial intelligence, such as intelligent transportation and automated driving. The method includes: acquiring record data of a sensor device, the record data including a plurality of frames of data collected by the sensor device of a vehicle, each frame of data including a timestamp, and a first frame and a last frame of the record data corresponding to a same vehicle position; and writing the record data repeatedly to generate test data for testing the automated driving system; and updating the timestamp of each frame of data in the record data in the process of repeated writing, according to a number of times of a current repeated writing and a time duration corresponding to the record data.

Description

CROSS-REFERENCE TO RELATED APPLICATION
This application claims priority to Chinese Patent Application No. 202011500891.9, filed on Dec. 17, 2020, which is hereby incorporated by reference in its entirety.
TECHNICAL FIELD
The present disclosure relates to the technical field of automated driving, in particular to the performance testing field of an automated driving system.
BACKGROUND
HiL (Hardware in the Loop) technology is a simulation testing technology that may be used for virtual simulation testing of a self-driving vehicle. A vehicle-mounted computing platform of the self-driving vehicle can be virtually tested by using the HiL technology, thus greatly improving a testing efficiency of the self-driving vehicle.
When the HiL technology is used for performing stimulation testing on the self-driving vehicle, data collected by a sensor device of the self-driving vehicle during road driving may be used. Necessary transformation is performed on the data collected by the sensor device (this process may be called inversion), and then the transformed data is input into the vehicle-mounted computing platform of the self-driving vehicle to check performances of the vehicle-mounted computing platform.
SUMMARY
The present disclosure provides a testing method and apparatus for an automated driving system, an electronic device and a storage medium.
According to one aspect of the present disclosure, there is provided a testing method for an automated driving system, including:
    • acquiring record data of a sensor device, the record data including a plurality of frames of data collected by the sensor device of a vehicle, each frame of data including a timestamp, and a first frame and a last frame of the record data corresponding to a same vehicle position; and
    • writing the record data repeatedly to generate test data for testing the automated driving system; and updating the timestamp of each frame of data in the record data in the process of repeated writing, according to a number of times of a current repeated writing and a time duration corresponding to the record data.
According to another aspect of the present disclosure, there is provided a testing apparatus for an automated driving system, including:
    • an acquisition module configured for acquiring record data of a sensor device, the record data including a plurality of frames of data collected by the sensor device of a vehicle, each frame of data including a timestamp, and a first frame and a last frame of the record data corresponding to a same vehicle position; and
    • a test data generating module configured for writing the record data repeatedly to generate test data for testing the automated driving system; and updating the timestamp of each frame of data in the record data in the process of repeated writing, according to a number of times of a current repeated writing and a time duration corresponding to the record data.
According to another aspect of the present disclosure, there is provided an electronic device, including:
    • 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, the instructions being executed by the at least one processor to enable the at least one processor to perform the method in any embodiment of the present disclosure.
According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method in any embodiment of the present disclosure.
According to another aspect of the present disclosure, there is provided a computer program product including a computer program which, when executed by a processor, implements the method in any embodiment of the present disclosure.
It is to be understood that the contents in this section are not intended to identify the key or critical features of the embodiments of the present disclosure, and are not intended to limit the scope of the present disclosure. Other features of the present disclosure will become readily apparent from the following description.
BRIEF DESCRIPTION OF THE DRAWINGS
The drawings are included to provide a better understanding of the present disclosure and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is a schematic diagram of a driving route corresponding to record data used in the present disclosure;
FIG. 2 is a flowchart for implementing a testing method for an automated driving system according to the present disclosure;
FIG. 3A is a schematic diagram of record data according to the present disclosure;
FIG. 3B is a schematic diagram of test data according to the present disclosure;
FIG. 4 is a flowchart of implementing a method for updating a timestamp in the process of repeated writing in the testing method for the automated driving system according to the present disclosure;
FIG. 5 is a schematic structural diagram of a testing apparatus 500 for an automated driving system according to the present disclosure;
FIG. 6 is a schematic structural diagram of a testing apparatus 600 for an automated driving system according to the present disclosure; and
FIG. 7 is a block diagram of an electronic device for implementing a testing method for an automated driving system according to the present disclosure.
DETAILED DESCRIPTION
Reference will now be made in detail to the exemplary embodiments of the present disclosure, examples of which are illustrated in the accompanying drawings, wherein the various details of the embodiments of the present disclosure are included to facilitate understanding and are to be considered as exemplary only. Accordingly, a person skilled in the art should appreciate that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and structures are omitted from the following description for clarity and conciseness.
To test a vehicle-mounted computing platform of a self-driving for a long time, long-time sensor data is required. Limited to a continuous operation time of an automated driving system, a longest time of general sensor data is about 3 hours, which cannot meet the requirements on a long-time operation stability test of the vehicle-mounted computing platform. If a piece of sensor data is found from a data platform and continuously played for a plurality of times, although the requirement on duration can be met, position and time hopping of the data will occur. For example, a piece of sensor data with a duration of 3 hours is selected. If the data is played 4 times continuously, a piece of data with a duration of 12 hours will be obtained. However, position and time hopping will occur at a junction of two adjacent playing, that is, at the points in time of 3:00:00, 6:00:00 and 9:00:00 of the whole duration, which will cause positioning to be misaligned, so the data cannot be used to test the automated driving system.
In order to solve the problem of position hopping, the present disclosure adopts record data with the same starting point and end point, and plays the record data repeatedly for a plurality of times, so that the position on the junction of the two adjacent playing can be guaranteed to be the same, and position hopping can be avoided. FIG. 1 is a schematic diagram of a driving route corresponding to the record data used in the present disclosure. As shown in FIG. 1 , a starting point and an end point of the driving route are the same point, and the position hopping can be avoided by repeatedly playing the record data of the driving route.
In order to solve the problem of time hopping, the simplest way is to replace a timestamp corresponding to a historical time in each frame of data in the record data with the timestamp corresponding to the current time. For example, a timestamp of a first frame of data in the record data is replaced with a timestamp corresponding to the current test time, and a timestamp of a second frame data in the record data is replaced with a timestamp corresponding to next frame of the current test time. In this way, the timestamps in each frame of data are sequentially replaced. However, this method requires very high time accuracy, and there are many difficulties in concrete implementation. Through in-depth analysis on simulation testing, the present disclosure proposes that: a core of the problem is not that the repeatedly written record data does not correspond to the current time (i.e., the test time), but that the timestamps of each frame in the repeatedly written record data are discontinuous. Therefore, as long as the timestamps of each frame in the repeatedly written record data are continuous, the problem of time hopping can be solved. Meanwhile, the method for replacing the timestamp of each frame of data in the record data with the timestamp corresponding to the current time is avoided, which is more convenient in concrete implementation.
On the basis of the above analysis, the present disclosure provides a testing method for an automated driving system. FIG. 2 is a flowchart for implementing the testing method for the automated driving system according to the present disclosure, including the following steps.
In step S201, record data of a sensor device is acquired, the record data including a plurality of frames of data collected by the sensor device of a vehicle, each frame of data including a timestamp, and a first frame and a last frame of the record data corresponding to a same vehicle position.
In step S202, the record data is written repeatedly to generate test data for testing the automated driving system; and the timestamp of each frame of data in the record data is updated in the process of repeated writing, according to a number of times of a current repeated writing and a time duration corresponding to the record data.
It is assumed that the record data (i.e., raw data) collected by the sensor device of the vehicle includes N frames, and the serial number of each frame of data is 1 to N in turn. If the record data is written 4 times repeatedly, the generated test data includes N*4 frames. Because the test data is generated by repeated writing, the first to Nth frames of the test data have the same contents as that of the first to Nth frames of the record data, the (N+1)th to 2Nth frames of the test data have the same contents as that of the first to Nth frames of the record data, the (2N+1)th to 3Nth frames of the test data have the same contents as that of the first to Nth frames of the record data, and the (3N+1)th to 4Nth frames of the test data have the same contents as that of the first to Nth frames of the record data. As described in step S201, the vehicle positions corresponding to the first frame and the last frame of the record data are the same, so position hopping will not occur to the generated test data at a repeatedly written connection position. In other words, the vehicle position corresponding to the Nth frame is the same as that corresponding to the (N+1)th frame, the vehicle position corresponding to the 2Nth frame is the same as that corresponding to the (2N+1)th frame, and the vehicle position corresponding to the 3Nth frame is the same as that corresponding to the (3N)th frame.
The above step S202 solves the problem of time hopping. Description is made with reference to FIG. 3A and FIG. 3B, wherein FIG. 3A is a schematic diagram of record data according to the present disclosure. In FIG. 3A, two pieces of record data collected by a positioning sensor and a radar are included, and a corresponding time duration is 100 seconds. FIG. 3B is a schematic diagram of test data according to the present disclosure, wherein the test data is obtained by repeatedly writing the record data in FIG. 3A, and the timestamp of each frame of data in the record data is updated during every repeated writing according to the number of times of the current repeated writing and the time duration corresponding to the record data. As shown in FIG. 3B, a timestamp corresponding to the first frame of the original record data is t0, and the timestamp of the first frame is updated to t0+100s during the first repeated writing. In the second repeated writing, the timestamp of the first frame is updated to t0+200s, and so on. Other frames are replaced in the same way. In this way, the timestamp of each frame in the finally generated test data can be guaranteed to be continuous, and the problem of time hopping is solved.
According to the present disclosure, by repeatedly writing the record data of the sensor device and replacing the timestamp in the writing process, a time continuity between data frames is ensured; moreover, the record data with the same starting point and end point positions is adopted to ensure a position continuity between the data frames; Therefore, test data with sufficient duration and no position and time hopping can be generated, and the long-time operation stability test of the automated driving system can be implemented.
FIG. 4 is a flowchart of implementing the method for updating the timestamp in the process of repeated writing in the testing method for the automated driving system according to the embodiments of the present disclosure, including the following steps.
In step S401, according to the timestamp of each frame of data in the record data, first time information corresponding to each frame of data in the record data is determined.
In step S402, elapsed time corresponding to the current repeated writing is determined, according to the number of times of the current repeated writing and the time duration corresponding to the record data. For example, if it is the Nth repeated writing and the time duration corresponding to the record data is T, then it is determined that the elapsed time corresponding to the Nth repeated writing is N*T.
In step S403, according to the first time information corresponding to each frame of data and the elapsed time mentioned above respectively, second time information corresponding to each frame of data in the current repeated writing is obtained, and the timestamp of each frame of data is determined and updated according to the second time information.
After generating the above test data, the embodiments of the present disclosure may further test a vehicle-mounted computing platform of a self-driving vehicle by using the test data.
Optionally, a header and/or a body of each frame of data mentioned above contains the timestamp.
Implementation methods of replacing the above timestamp are described in detail by taking two sensor devices as examples.
In one positioning sensor, time information is expressed by a GPS time system. In the GPS time system, an atomic time AT1 second is used as a time reference, wherein the second is defined as a duration of 9,192,631,170 periods of radiation corresponding to the transition between two hyperfine levels of a ground state of a caesium atom CS133, and a time origin starts at 0h UTC on Jan. 6, 1980. In the record data of the positioning sensor, a timestamp of each frame of data is included in a header and a body of the frame of data. The timestamp in the header occupies 6 bytes, wherein 2 bytes represent GPS week, and the other 4 bytes represent GPS millisecond (GPS ms) within the GPS week. The timestamp in the body occupies 12 bytes, wherein 4 bytes represent GPS week, and the other 8 bytes represent GPS second (GPS s) within the GPS week. For each frame of data, the timestamp can be changed by changing the GPS weeks and the GPS milliseconds (second) in the header and the body. For example, it is assumed that a time duration of the record data is T. At first, the GPS week and GPS ms of the current frame are acquired, and the updated GPS week and GPS ms at the corresponding time are calculated at the nth repeated writing, that is, after nT seconds. Then, a time at a position specified in the header is replaced with the updated GPS week and GPS ms, and the GPS time in the body is replaced after the GPS ms is converted into GPS s.
In one laser radar, time information is expressed by a unix time system. The unix time is the number of seconds elapsed since Jan. 1, 1970; and leap seconds are ignored. In the record data of the laser radar, each frame of point cloud data consists of 1,240 bytes of measured data and 22 bytes of additional information, and the last 6 bytes of the additional information contain a timestamp. It is assumed that a time duration of the record data is T. For each frame of the original record data, firstly, according to the contents of the last 6 bytes, a unix timestamp t0 at that time is calculated, and the unix timestamp is modified to t0+nT during the nth repeated writing to replace the timestamp.
The embodiments of the present disclosure further provide a testing apparatus for an automated driving system. FIG. 5 is a schematic structural diagram of a testing apparatus 500 of the automated driving system according to the present disclosure, including:
    • an acquisition module 510 configured for acquiring record data of a sensor device, the record data including a plurality of frames of data collected by the sensor device of a vehicle, each frame of data including a timestamp, and a first frame and a last frame of the record data corresponding to a same vehicle position; and
    • a test data generating module 520 configured for writing the record data repeatedly to generate test data for testing the automated driving system; and updating the timestamp of each frame of data in the record data in the process of repeated writing, according to a number of times of the current repeated writing and a time duration corresponding to the record data.
FIG. 6 is a schematic structural diagram of a testing apparatus 600 of an automated driving system according to an embodiment of the present disclosure. The testing apparatus 600 includes an acquisition module 610 and a test data generating module 620 which are the same as the above-mentioned acquisition module 510 and test data generating module 520. As shown in FIG. 6 , the above-mentioned test data generating module 620 may include:
    • a time determination submodule 621 configured for determining first time information corresponding to each frame of data in the record data, according to the timestamp of each frame of data in the record data;
    • an elapsing determination submodule 622 configured for determining elapsed time corresponding to the current repeated writing, according to the number of times of a current repeated writing and the time duration corresponding to the record data; and
    • an updating submodule 623 configured for obtaining second time information corresponding to each frame of data in the current repeated writing, according to the first time information corresponding to each frame of data and the elapsed time respectively, and determining and updating the timestamp of each frame of data according to the second time information.
As shown in FIG. 6 , the above-mentioned apparatus may also include:
    • a testing module 630 configured for testing a vehicle-mounted computing platform of a self-driving vehicle by using the test data.
Optionally, a header and/or a body of each frame of data mentioned above contains the timestamp.
Functions of each module in each apparatus in the embodiments of the present disclosure may be referred to the corresponding description in the above methods, and will not be elaborated herein.
According to the embodiments of the present disclosure, the present disclosure further provides an electronic device, a readable storage medium and a computer program product.
FIG. 7 is a schematic block diagram of an electronic device of an example electronic device 700 that may be used to implement the embodiments of the present disclosure. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are by way of example only and are not intended to limit the implementations of the present disclosure described and/or claimed herein.
As shown in FIG. 7 , the electronic device 700 includes a computing unit 701, which can perform various appropriate actions and processes according to a computer program stored in a Read-only Memory (ROM) 702 or a computer program loaded from a storage unit 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data needed for operating the device 700 may also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An Input/Output (I/O) interface 705 is also connected to the bus 704.
A plurality of components in the device 700 are connected to the I/O interface 705, including: an input unit 706, such as a keyboard, a mouse, and the like; an output unit 707, such as various types of displays, speakers, and the like; a storage unit 708, such as a magnetic disk, an optical disk, and the like; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, and the like. The communication unit 709 allows the device 700 to exchange information/data with other devices through a computer network such as the Internet and/or various telecommunication networks.
The computing unit 701 may be various general-purpose and/or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 701 executes various methods and processes described above, such as the testing method for the automated driving system. For example, in some embodiments, the testing method for the automated driving system may be implemented as a computer software program, which is tangibly embodied in a machine-readable medium, such as the storage unit 708. In some embodiments, a part or all of the computer program may be loaded and/or installed on the device 700 via the ROM 702 and/or the communication unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the testing method for the automated driving system described above may be executed. Alternatively, in other embodiments, the computing unit 701 may be configured to execute the testing method for the automated driving system by any other suitable means (for example, by means of firmware).
Various embodiments of the systems and techniques described above herein may be implemented in digital electronic circuit systems, integrated circuit systems, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chip (SOCs), Complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implementation in one or more computer programs which may be executed and/or interpreted on a programmable system including at least one programmable processor, and the programmable processor may be a dedicated or general-purpose programmable processor which can receive data and instructions from, and transmit data and instructions to, a memory system, at least one input device, and at least one output device.
Program codes for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, a special purpose computer, or other programmable data processing device, such that the program codes, when executed by the processor or the controller, enable functions/operations specified in the flowcharts and/or block diagrams to be implemented. The program codes may be executed entirely on a machine, partially executed on the machine, partially executed on the machine as a stand-alone software package, and partially executed on a remote machine, or entirely executed on the remote machine or a server.
In the context of the present disclosure, the machine-readable medium may be a tangible medium which may contain or store a program that may be used by or conjunctively used with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any suitable combination of the above. More specific examples of the machine-readable storage medium may include an electrical connection with one or more wires, a portable computer disk, a hard disk, a Random Access Memory (RAM), a Read-only Memory (ROM), an Erasable Programmable Read-only Memory (EPROM or flash memory), an optical fiber, a portable Compact Disk Read-only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above contents.
To provide for an interaction with a user, the systems and techniques described herein may be implemented on a computer having: a display device (e.g., a Cathode Ray Tube (CRT) or Liquid Crystal Display (LCD) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other types of devices may also be used to provide interaction with a user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, audile feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, audio input, or tactile input.
The systems and techniques described herein may be implemented in a computing system that includes a background component (e.g., as a data server), or a computing system that includes a middleware component (e.g., an application server), or a computing system that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user may interact with embodiments of the systems and techniques described herein), or in a computing system that includes any combination of such background component, middleware component, or front-end component. The components of the system may be interconnected by digital data communication (e.g., a communication network) of any form or medium. Examples of the communication network include: Local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include a client and a server. The client and the server are typically remote from each other and typically interact through a communication network. A relationship between the client and the server is generated by computer programs operating on respective computers and having a client-server relationship with each other.
It will be appreciated that the various forms of flow, reordering, adding or removing steps shown above may be used. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or may be performed in a different order, so long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and no limitation is made herein.
The above-mentioned embodiments are not to be construed as limiting the scope of protection of the present disclosure. It will be apparent to a person skilled in the art that various modifications, combinations, sub-combinations and substitutions are possible, depending on design requirements and other factors. Any modifications, equivalents, and improvements within the spirit and principles of the present disclosure are intended to be included within the scope of protection of the present disclosure.

Claims (17)

What is claimed is:
1. A testing method for an automated driving system, comprising:
acquiring record data of a sensor device, the record data comprising a plurality of frames of data collected by the sensor device of a vehicle when the vehicle is travelling along a driving route, each frame of data comprising a timestamp, a first frame of the record data corresponding to a starting point of the driving route, and a last frame of the record data corresponding to an end point of the driving route, wherein the starting point and the end point are the same point; and
writing the record data repeatedly to generate test data for testing the automated driving system, wherein the test data comprises a plurality of copies of a same content of the record data; playing a same record data repeatedly for a plurality of times and updating the timestamp of each frame of the newly written data in the process of repeated writing, according to a number of times of a current repeated writing and a time duration corresponding to the record data, to make the timestamps of each frame in the generated test data continuous and position hopping of the vehicle not occur to the generated test data every time one of the plurality of copies starts to be played, wherein the updating the timestamp of each frame of the newly written data in the process of repeated writing, according to the number of times of the current repeated writing and the time duration corresponding to the record data, comprises:
determining first time information corresponding to each frame of data in the record data, according to the timestamp of each frame of data in the record data;
determining elapsed time corresponding to the current repeated writing, according to the number of times of the current repeated writing and the time duration corresponding to the record data; and
obtaining second time information corresponding to each frame of data in the current repeated writing, according to the first time information corresponding to each frame of data and the elapsed time respectively, and determining and updating the timestamp of each frame of the newly written data according to the second time information.
2. The method of claim 1, further comprising: testing a vehicle-mounted computing platform of a self-driving vehicle by using the test data.
3. The method of claim 2, wherein a header and/or a body of each frame of data contains the timestamp.
4. The method of claim 1, further comprising: testing a vehicle-mounted computing platform of a self-driving vehicle by using the test data.
5. The method of claim 1, wherein a header and/or a body of each frame of data contains the timestamp.
6. The method of claim 1, wherein a header and/or a body of each frame of data contains the timestamp.
7. An electronic device, 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 to enable the at least one processor to perform operations of:
acquiring record data of a sensor device, the record data comprising a plurality of frames of data collected by the sensor device of a vehicle when the vehicle is travelling along a driving route, each frame of data comprising a timestamp, a first frame of the record data corresponding to a starting point of the driving route, and a last frame of the record data corresponding to an end point of the driving route, wherein the starting point and the end point are the same point; and
writing the record data repeatedly to generate test data for testing the automated driving system, wherein the test data comprises a plurality of copies of a same content of the record data; playing a same record data repeatedly for a plurality of times and updating the timestamp of each frame of the newly written data in the process of repeated writing, according to a number of times of a current repeated writing and a time duration corresponding to the record data, to make the timestamps of each frame in the generated test data continuous and position hopping of the vehicle not occur to the generated test data every time one of the plurality of copies starts to be played, wherein the updating the timestamp of each frame of the newly written data in the process of repeated writing, according to the number of times of the current repeated writing and the time duration corresponding to the record data, comprises:
determining first time information corresponding to each frame of data in the record data, according to the timestamp of each frame of data in the record data;
determining elapsed time corresponding to the current repeated writing, according to the number of times of the current repeated writing and the time duration corresponding to the record data; and
obtaining second time information corresponding to each frame of data in the current repeated writing, according to the first time information corresponding to each frame of data and the elapsed time respectively, and determining and updating the timestamp of each frame of the newly written data according to the second time information.
8. The electronic device of claim 7, wherein the instructions are executable by the at least one processor to enable the at least one processor further to perform operation of: testing a vehicle-mounted computing platform of a self-driving vehicle by using the test data.
9. The electronic device of claim 8, wherein a header and/or a body of each frame of data contains the timestamp.
10. The electronic device of claim 7, wherein the instructions are executable by the at least one processor to enable the at least one processor further to perform operation of: testing a vehicle-mounted computing platform of a self-driving vehicle by using the test data.
11. The electronic device of claim 7, wherein a header and/or a body of each frame of data contains the timestamp.
12. The electronic device of claim 7, wherein a header and/or a body of each frame of data contains the timestamp.
13. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform operations of:
acquiring record data of a sensor device, the record data comprising a plurality of frames of data collected by the sensor device of a vehicle when the vehicle is travelling along a driving route, each frame of data comprising a timestamp, a first frame of the record data corresponding to a starting point of the driving route, and a last frame of the record data corresponding to an end point of the driving route, wherein the starting point and the end point are the same point; and
writing the record data repeatedly to generate test data for testing the automated driving system, wherein the test data comprises a plurality of copies of a same content of the record data; playing a same record data repeatedly for a plurality of times and updating the timestamp of each frame of the newly written data in the process of repeated writing, according to a number of times of a current repeated writing and a time duration corresponding to the record data, to make the timestamps of each frame in the generated test data continuous and position hopping of the vehicle not occur to the generated test data every time one of the plurality of copies starts to be played, wherein the updating the timestamp of each frame of the newly written data in the process of repeated writing, according to the number of times of the current repeated writing and the time duration corresponding to the record data, comprises:
determining first time information corresponding to each frame of data in the record data, according to the timestamp of each frame of data in the record data;
determining elapsed time corresponding to the current repeated writing, according to the number of times of the current repeated writing and the time duration corresponding to the record data; and
obtaining second time information corresponding to each frame of data in the current repeated writing, according to the first time information corresponding to each frame of data and the elapsed time respectively, and determining and updating the timestamp of each frame of the newly written data according to the second time information.
14. The non-transitory computer-readable storage medium of claim 13, wherein the computer instructions are further configured for causing the computer to perform operation of: testing a vehicle-mounted computing platform of a self-driving vehicle by using the test data.
15. The non-transitory computer-readable storage medium of claim 13, wherein the computer instructions are further configured for causing the computer to perform operation of: testing a vehicle-mounted computing platform of a self-driving vehicle by using the test data.
16. The non-transitory computer-readable storage medium of claim 13, wherein a header and/or a body of each frame of data contains the timestamp.
17. The non-transitory computer-readable storage medium of claim 13, wherein a header and/or a body of each frame of data contains the timestamp.
US17/342,207 2020-12-17 2021-06-08 Testing method for automated driving system, electronic device and storage medium Active 2043-03-20 US12183128B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011500891.9A CN112598819B (en) 2020-12-17 2020-12-17 Test method and device of automatic driving system, electronic equipment and storage medium
CN202011500891.9 2020-12-17

Publications (2)

Publication Number Publication Date
US20210295613A1 US20210295613A1 (en) 2021-09-23
US12183128B2 true US12183128B2 (en) 2024-12-31

Family

ID=75199165

Family Applications (1)

Application Number Title Priority Date Filing Date
US17/342,207 Active 2043-03-20 US12183128B2 (en) 2020-12-17 2021-06-08 Testing method for automated driving system, electronic device and storage medium

Country Status (5)

Country Link
US (1) US12183128B2 (en)
EP (1) EP3869175B1 (en)
JP (1) JP7108754B2 (en)
KR (1) KR20220005421A (en)
CN (1) CN112598819B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113238958A (en) * 2021-06-01 2021-08-10 广东好太太智能家居有限公司 Automatic testing method and device for big data visualization platform and electronic equipment
CN113650569B (en) * 2021-07-29 2022-10-11 广州文远知行科技有限公司 Vehicle equipment control method and device, vehicle and storage medium
CN114217104A (en) * 2021-11-24 2022-03-22 深圳市道通智能汽车有限公司 Indoor analog signal generation method and device and analog signal generator
CN114328352B (en) * 2021-12-24 2024-05-24 中汽创智科技有限公司 Data processing method, device, system and storage medium
CN116416781A (en) * 2021-12-29 2023-07-11 北京万集科技股份有限公司 Data processing method and device of test platform, test platform and storage medium
CN114526929B (en) * 2022-02-25 2025-02-14 智己汽车科技有限公司 Lane change test method, device and vehicle
CN116126814A (en) * 2022-12-06 2023-05-16 卡斯柯信号(郑州)有限公司 Vehicle-mounted data compression storage method, electronic equipment and storage medium
CN116991740A (en) * 2023-08-23 2023-11-03 襄阳达安汽车检测中心有限公司 Test case real-time verification methods, devices, equipment and readable storage media
CN117806887B (en) * 2023-12-28 2024-08-23 上海翱坤航空科技有限公司 Airplane ground test mode control method and system based on stm32 chip
CN118790297B (en) * 2024-09-14 2024-12-17 小米汽车科技有限公司 Automatic driving function monitoring method and device, vehicle and storage medium

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100189131A1 (en) * 2009-01-23 2010-07-29 Verivue, Inc. Scalable seamless digital video stream splicing
CN207081682U (en) 2017-05-23 2018-03-09 北京康智乐思网络科技有限公司 A kind of saliva impedance detection device and equipment
US20180292830A1 (en) * 2017-04-06 2018-10-11 Uber Technologies, Inc. Automatic Tuning of Autonomous Vehicle Cost Functions Based on Human Driving Data
US20180364657A1 (en) * 2017-06-20 2018-12-20 Baidu Usa Llc Method and system for determining optimal coefficients of controllers for autonomous driving vehicles
US20180365533A1 (en) * 2017-06-16 2018-12-20 Nauto Global Limited System and method for contextualized vehicle operation determination
CN109612500A (en) 2019-01-23 2019-04-12 北京东方计量测试研究所 A navigation equipment testing system and method
US20190236058A1 (en) 2018-01-05 2019-08-01 Nio Usa, Inc. Methods, devices, and systems for processing sensor data of vehicles
US20190329771A1 (en) * 2017-02-10 2019-10-31 Nissan North America, Inc. Autonomous Vehicle Operational Management Control
CN110795813A (en) 2019-08-14 2020-02-14 腾讯科技(深圳)有限公司 Traffic simulation method and device
EP3620959A1 (en) 2018-08-24 2020-03-11 Baidu USA LLC Image data acquisition logic of an autonomous driving vehicle for capturing image data using cameras
CN111090915A (en) 2018-10-19 2020-05-01 百度在线网络技术(北京)有限公司 Automatic driving simulation method, device and storage medium
CN111142129A (en) 2019-11-26 2020-05-12 北京百度网讯科技有限公司 Positioning system testing method, device, equipment and storage medium
WO2020147496A1 (en) 2019-01-18 2020-07-23 北京百度网讯科技有限公司 Self-driving vehicle testing processing method and apparatus, and electronic device
US20200249675A1 (en) * 2019-01-31 2020-08-06 StradVision, Inc. Method and device for providing personalized and calibrated adaptive deep learning model for the user of an autonomous vehicle
CN111580493A (en) 2020-04-14 2020-08-25 吉利汽车研究院(宁波)有限公司 A kind of automatic driving simulation method, system and medium
CN111638060A (en) 2020-04-24 2020-09-08 北京智行者科技有限公司 Road test method for verifying reliability and durability of automatic driving automobile
CN112015838A (en) 2020-08-28 2020-12-01 苏州智加科技有限公司 Road test data processing method and system and server
US20200406894A1 (en) * 2019-06-28 2020-12-31 Zoox, Inc. System and method for determining a target vehicle speed
US20210237772A1 (en) * 2018-06-05 2021-08-05 Elta Systems Ltd. System and methodology for performance verification of multi-agent autonomous robotic systems
US20220146676A1 (en) * 2020-11-09 2022-05-12 Waymo Llc Doppler-assisted object mapping for autonomous vehicle applications

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180267538A1 (en) * 2017-03-15 2018-09-20 Toyota Jidosha Kabushiki Kaisha Log-Based Vehicle Control System Verification

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100189131A1 (en) * 2009-01-23 2010-07-29 Verivue, Inc. Scalable seamless digital video stream splicing
US20190329771A1 (en) * 2017-02-10 2019-10-31 Nissan North America, Inc. Autonomous Vehicle Operational Management Control
US20180292830A1 (en) * 2017-04-06 2018-10-11 Uber Technologies, Inc. Automatic Tuning of Autonomous Vehicle Cost Functions Based on Human Driving Data
CN207081682U (en) 2017-05-23 2018-03-09 北京康智乐思网络科技有限公司 A kind of saliva impedance detection device and equipment
US20180365533A1 (en) * 2017-06-16 2018-12-20 Nauto Global Limited System and method for contextualized vehicle operation determination
US20180364657A1 (en) * 2017-06-20 2018-12-20 Baidu Usa Llc Method and system for determining optimal coefficients of controllers for autonomous driving vehicles
US20190236058A1 (en) 2018-01-05 2019-08-01 Nio Usa, Inc. Methods, devices, and systems for processing sensor data of vehicles
US20210237772A1 (en) * 2018-06-05 2021-08-05 Elta Systems Ltd. System and methodology for performance verification of multi-agent autonomous robotic systems
EP3620959A1 (en) 2018-08-24 2020-03-11 Baidu USA LLC Image data acquisition logic of an autonomous driving vehicle for capturing image data using cameras
CN111090915A (en) 2018-10-19 2020-05-01 百度在线网络技术(北京)有限公司 Automatic driving simulation method, device and storage medium
WO2020147496A1 (en) 2019-01-18 2020-07-23 北京百度网讯科技有限公司 Self-driving vehicle testing processing method and apparatus, and electronic device
CN109612500A (en) 2019-01-23 2019-04-12 北京东方计量测试研究所 A navigation equipment testing system and method
US20200249675A1 (en) * 2019-01-31 2020-08-06 StradVision, Inc. Method and device for providing personalized and calibrated adaptive deep learning model for the user of an autonomous vehicle
US20200406894A1 (en) * 2019-06-28 2020-12-31 Zoox, Inc. System and method for determining a target vehicle speed
CN110795813A (en) 2019-08-14 2020-02-14 腾讯科技(深圳)有限公司 Traffic simulation method and device
CN111142129A (en) 2019-11-26 2020-05-12 北京百度网讯科技有限公司 Positioning system testing method, device, equipment and storage medium
CN111580493A (en) 2020-04-14 2020-08-25 吉利汽车研究院(宁波)有限公司 A kind of automatic driving simulation method, system and medium
CN111638060A (en) 2020-04-24 2020-09-08 北京智行者科技有限公司 Road test method for verifying reliability and durability of automatic driving automobile
CN112015838A (en) 2020-08-28 2020-12-01 苏州智加科技有限公司 Road test data processing method and system and server
US20220146676A1 (en) * 2020-11-09 2022-05-12 Waymo Llc Doppler-assisted object mapping for autonomous vehicle applications

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Extended European Search Report received for European Patent Application No. 21178378.2 mailed on Dec. 1, 2021, 8 pages.
Office Action and Search Report received for Chinese Patent Application No. 2020115008919 issued on Mar. 29, 2022, 10 pages.
Weiss et al., (2020) "DeepRacing: Parameterized Trajectories for Autonomous Racing," ArXiv, 2005.05178, 29 pages.
Xiu, (2019). "Thesis: Study on the Test and Comprehensive Evaluation of Conditional Autonomous Vehicles," Chongqing University, 91 pages. English Abstract Only.

Also Published As

Publication number Publication date
JP7108754B2 (en) 2022-07-28
CN112598819A (en) 2021-04-02
US20210295613A1 (en) 2021-09-23
EP3869175B1 (en) 2023-04-26
CN112598819B (en) 2022-07-01
KR20220005421A (en) 2022-01-13
JP2021182410A (en) 2021-11-25
EP3869175A3 (en) 2021-12-29
EP3869175A2 (en) 2021-08-25

Similar Documents

Publication Publication Date Title
US12183128B2 (en) Testing method for automated driving system, electronic device and storage medium
US12072780B2 (en) Method and apparatus for testing AI chip computing performance, and non-transitory computer-readable storage medium
US20230091252A1 (en) Method for processing high-definition map data, electronic device and medium
US20220155338A1 (en) Method for testing sensing effect, moving apparatus, electronic device, storage medium, and system for testing sensing effect
US20220053335A1 (en) Method for detecting an abnormal device, device and storage medium
US11609096B2 (en) Method and apparatus for updating road network data
CN112258622B (en) Image processing method, device, readable medium and electronic device
AU2023237190A1 (en) System for processing quantum task, method for processing quantum task and related apparatuses
CN111859883B (en) Program form creation method and device and electronic equipment
KR20230008005A (en) Method and apparatus for determining information
US9460243B2 (en) Selective importance sampling
CN114491280B (en) Recommendation and model training method, device, equipment, medium and program product
US20230111511A1 (en) Intersection vertex height value acquisition method and apparatus, electronic device and storage medium
CN115481594B (en) Scoreboard implementation method, scoreboard, electronic equipment and storage medium
US20230195945A1 (en) Integrated circuit chip verification method and apparatus, electronic device, and storage medium
CN117112374A (en) A display method, device, equipment and storage medium
CN119250024A (en) Method, device and storage medium for generating research report based on generative large model
WO2024251060A1 (en) Image and text typesetting method and apparatus, medium, and electronic device
CN114092874B (en) Training method of target detection model, target detection method and related equipment thereof
CN113935139B (en) Dynamic network clock synchronous simulation method, system, equipment and medium
CN116841870A (en) A testing method, system, device, equipment and storage medium
US20230007078A1 (en) Data processing method and apparatus, electronic device and readable storage medium
CN116386026A (en) Training method of point cloud 3D detection model and point cloud detection method
US20210342538A1 (en) Processing word segmentation ambiguity
CN112461250A (en) Vehicle dead reckoning service evaluation method and device, simulation equipment and medium

Legal Events

Date Code Title Description
FEPP Fee payment procedure

Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION

AS Assignment

Owner name: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD., CHINA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:FENG, XI;REEL/FRAME:057458/0980

Effective date: 20201202

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER

STPP Information on status: patent application and granting procedure in general

Free format text: FINAL REJECTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE AFTER FINAL ACTION FORWARDED TO EXAMINER

STPP Information on status: patent application and granting procedure in general

Free format text: ADVISORY ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION

STPP Information on status: patent application and granting procedure in general

Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS

STPP Information on status: patent application and granting procedure in general

Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT VERIFIED

STCF Information on status: patent grant

Free format text: PATENTED CASE