Method and device for collecting road test data, storage medium and computer device

By acquiring the collection quota and reporting requests of drive test events at preset collection times, determining the target reporting requests and reporting data, the problem of excessive drive test events leading to server resource consumption and untimely data statistics is solved, achieving efficient drive test data collection and analysis.

CN116434551BActive Publication Date: 2025-11-07DALIAN WENYUAN ZHIXING INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310498737.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-05
Publication Date
2025-11-07
Estimated Expiration
2043-05-05

AI Technical Summary

Technical Problem

In existing technologies, the large number of road test events generated during daily road tests leads to an excessive amount of data uploaded to the target server, resulting in untimely data statistics, increased analysis iteration cycles, and the consumption of significant server resources, thus affecting the normal operation of autonomous driving programs.

Method used

When the pre-set collection time arrives, the collection quota and reporting request of various road test events are obtained, the target reporting request is determined, only the road test events corresponding to the target reporting request are collected, and reported to the target server, including the autonomous driving data and event attribute information during the time period of the event.

Benefits of technology

This effectively reduced the number of reported road test events, improved data collection accuracy, avoided excessive server resource consumption, ensured the normal operation of the autonomous driving program, and prevented problems such as untimely data statistics and increased analysis iteration cycles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116434551B_ABST
    Figure CN116434551B_ABST
Patent Text Reader

Abstract

The collection method and device of road test data, the storage medium and the computer device provided by the application can pre-set multiple collection time points, and when the current collection time point of the vehicle arrives, the collection amount of various road test events at the current collection time point and at least one road test event reporting request sent by the safety officer and / or other application programs of the vehicle after the last collection is obtained. The application can determine a target reporting request according to the collection amount of various road test events at the current collection time point and the reporting request of each road test event, and collect a target road test event corresponding to the target reporting request, so as to report the automatic driving data and event attribute information in the target road test event to a target server. In this way, it can not only avoid that real-time collection of road test events leads to too much server resource occupation and affects the normal operation of the automatic driving program, but also can screen out relatively valuable road test events according to the collection amount of various road test events at the current collection time point.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of automatic driving, in particular to a method and device for collecting road test data, a storage medium and a computer device. BACKGROUND

[0002] At present, due to the complexity of the real world traffic situation, many valuable road test events will occur in the large-scale automatic driving road test process, such as the scenes that the existing algorithm cannot handle, the scenes that cannot clearly indicate the behavior of the automatic driving vehicle, etc. These road test events can be collected by a related data collection mechanism for engineers to analyze comprehensively at the workstation and provide corresponding solutions.

[0003] Therefore, the prior art provides a data collection mechanism, which can report the road test events reported by the safety officer and / or other application programs in the automatic driving vehicle to the target server in real time for related analysis operation. However, due to the excessive road test events generated in the daily road test process, the data amount uploaded to the target server is too large, which causes the problems of untimely data statistics, increased analysis iteration period, etc., and the process occupies a large number of server resources, which affects the normal operation of the automatic driving program to some extent. SUMMARY

[0004] The purpose of the present application is to at least solve one of the above technical defects, in particular the technical defect that in the prior art, due to the excessive road test events generated in the daily road test process, the data amount uploaded to the target server is too large, which causes the problems of untimely data statistics, increased analysis iteration period, etc., and the process occupies a large number of server resources, which affects the normal operation of the automatic driving program to some extent.

[0005] The present application provides a method for collecting road test data, which comprises:

[0006] When the current collection time of the vehicle arrives, the collection amount of various road test events at the current collection time is obtained, and at least one road test event reporting request sent by the safety officer and / or other application programs of the vehicle after the last collection is obtained;

[0007] Based on the collection amount of various road test events at the current collection time and the reporting request of each road test event, a target reporting request is determined;

[0008] The target road test event corresponding to the target reporting request is collected, wherein the target road test event comprises automatic driving data of the event occurrence period and event attribute information;

[0009] The automatic driving data and the event attribute information are reported to the target server.

[0010] Optionally, the method further comprises:

[0011] According to the event attribute information of the target road test event, the event collection situation at the current collection time is counted, and the counting result is reported to a target database, so that the target database aggregates the counting result of the vehicle and the counting result of other vehicles of a test vehicle team in which the vehicle is located collected at the current collection time, to form an event counting result corresponding to the road test event collected by the test vehicle team in a predetermined collection period.

[0012] Optionally, the acquisition of the collection amount of each type of road test event at the current collection time comprises:

[0013] The event counting result corresponding to the road test event collected by the test vehicle team in which the vehicle is located in a predetermined collection period and the configuration information of the test vehicle team when collecting each type of road test event in the collection period are acquired from a target database;

[0014] According to the event counting result and the configuration information, the collection amount of each type of road test event at the current collection time is calculated.

[0015] Optionally, the method further comprises:

[0016] If the configuration information of the test vehicle team when collecting each type of road test event in the collection period fails to be acquired, the configuration information of the test vehicle team when collecting each type of road test event in the collection period is acquired from a locally saved configuration file.

[0017] Optionally, the determination of the target reporting request based on the collection amount of each type of road test event at the current collection time and each road test event reporting request comprises:

[0018] According to the reporting information carried in each road test event reporting request, a road test event reporting request containing an event label is screened out, and an initial request set is constituted;

[0019] According to the collection amount of each type of road test event at the current collection time and the event label contained in each road test event reporting request in the initial request set, a target reporting request is screened out.

[0020] Optionally, the target reporting request is at least one;

[0021] When there are multiple target reporting requests, the collection of the target road test event corresponding to the target reporting request comprises:

[0022] The request time corresponding to each target reporting request is determined;

[0023] The at least two target reporting requests with request time within the preset interval length are merged, and a target road test event corresponding to the merged target reporting request is collected.

[0024] Optionally, the reporting of the automatic driving data and the event attribute information to the target server comprises:

[0025] An event identifier is generated according to the request time of the target reporting request and the vehicle number of the vehicle, and an attribute file and an object file corresponding to the event identifier are constructed.

[0026] The automatic driving data is written into the object file and reported to the target server, and the event attribute information is written into the attribute file and reported to the target server.

[0027] Optionally, the method further comprises:

[0028] The at least one road test event reporting request sent by the safety officer and / or other application programs of the vehicle after the last collection is saved into the corresponding program memory.

[0029] Optionally, the method further comprises:

[0030] The event attribute information of the road test event corresponding to each road test event reporting request in the initial request set is written into a target log.

[0031] The application also provides a road test data collection device, comprising:

[0032] A data acquisition module is configured to acquire the collection amount of various road test events at a current collection time of the vehicle and at least one road test event reporting request sent by a safety officer and / or other application programs of the vehicle after the last collection when the current collection time of the vehicle arrives.

[0033] A request determination module is configured to determine a target reporting request based on the collection amount of various road test events at the current collection time and each road test event reporting request.

[0034] A data collection module is configured to collect a target road test event corresponding to the target reporting request, wherein the target road test event comprises automatic driving data of an event occurrence period and event attribute information.

[0035] A data reporting module is configured to report the automatic driving data and the event attribute information to a target server.

[0036] The application further provides a storage medium, wherein computer readable instructions are stored in the storage medium, and the computer readable instructions, when executed by one or more processors, cause the one or more processors to perform the steps of the method for collecting road test data according to any one of the above embodiments.

[0037] The application further provides a computer device, comprising: one or more processors, and a memory.

[0038] The memory stores computer readable instructions, and the computer readable instructions, when executed by the one or more processors, perform the steps of the method for collecting road test data according to any one of the above embodiments.

[0039] From the above technical solutions, the embodiments of the application have the following advantages:

[0040] The method and device for collecting road test data, the storage medium and the computer device provided by the application can pre-set multiple collection time points, and when the current collection time point of the vehicle arrives, the collection amount of various road test events at the current collection time point and at least one road test event reporting request sent by the safety officer of the vehicle and / or other application programs after the last collection are obtained. Then, the target reporting request can be determined according to the collection amount of various road test events at the current collection time point and the reporting request of each road test event, and the target road test event corresponding to the target reporting request is collected, so as to report the automatic driving data and event attribute information in the target road test event to the target server. In this way, it can not only avoid the real-time collection of road test events from causing too much server resource occupation and affecting the normal operation of the automatic driving program, but also can screen out relatively valuable road test events according to the collection amount of various road test events at the current collection time point, so as to reduce the reporting amount of road test events, effectively improve the data collection accuracy, and avoid problems such as untimely data statistics and increasing analysis iteration period for the target server. BRIEF DESCRIPTION OF DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in the embodiments of the application or the prior art, the drawings needed in the embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the application, and for those skilled in the art, other drawings can be obtained without creative labor.

[0042] Figure 1 A flowchart of a method for collecting road test data provided by an embodiment of the application;

[0043] Figure 2 A process diagram for obtaining the collection amount of various road test events at the current collection time point provided by an embodiment of the application;

[0044] Figure 3 A schematic diagram of the structure of a road test data acquisition device provided in an embodiment of this application;

[0045] Figure 4 This is a schematic diagram of the internal structure of a computer device provided in an embodiment of this application. Detailed Implementation

[0046] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0047] Currently, existing technologies provide a data acquisition mechanism that can report road test events reported by safety drivers and / or other applications in autonomous vehicles to a target server in real time for relevant analysis. However, due to the large number of road test events generated during daily road tests, the amount of data uploaded to the target server is too large, leading to problems such as untimely data statistics and increased analysis iteration cycles. Furthermore, this process consumes significant server resources, which to some extent affects the normal operation of the autonomous driving program. Based on this, this application proposes the following technical solution, as detailed below:

[0048] In one embodiment, such as Figure 1 As shown, Figure 1 This is a flowchart illustrating a method for collecting road test data according to an embodiment of this application; this application provides a method for collecting road test data, the method including:

[0049] S110: When the current data collection time of this vehicle arrives, obtain the data collection quota of various road test events at the current data collection time, as well as at least one road test event reporting request sent by the safety officer of this vehicle and / or other applications after the last data collection ended.

[0050] In this step, multiple collection times can be preset when collecting road test data. At each collection time, the road test data collection method of this application is used to collect road test data so that the collected road test data can be analyzed in the future.

[0051] For example, the application can set multiple collection time points in a day, such as one collection time point every one hour, or every two hours, three hours, etc., or multiple collection time points in a month, such as every day, every two days, every three days, etc. The specific settings can be made according to the road test frequency, the occurrence probability of road test events, and other actual conditions, and will not be described here.

[0052] Further, the application can download the corresponding event monitoring program in each autonomous vehicle or autonomous vehicle that can collect road test data in advance, and monitor whether the current collection time point of the vehicle arrives through the event control program, and collect the road test data of the corresponding period when the current collection time point arrives.

[0053] In a specific implementation, the application can monitor whether the current collection time point of the vehicle arrives through the event control program, and when the current collection time point of the vehicle arrives, obtain the collection quota of various road test events at the current collection time point, and at least one road test event reporting request sent by the safety officer and / or other application programs of the vehicle after the last collection ends, to determine the road test event reporting request that needs to be responded to and respond to it.

[0054] It can be understood that the application can configure the collection quota of road test data for each autonomous vehicle that collects road test data within the predetermined collection period in advance, or configure the collection quota for the entire test vehicle team within the predetermined collection period. The collection quota can include the collection quota of various road test events, such as road test events that existing algorithms cannot handle, road test events that cannot clearly indicate the behavior of autonomous vehicles, road test events with safety hazards, or road test events in other scenarios, etc. In this way, when the current collection time point arrives, the event control program can determine the collection quota of various road test events at the current collection time point according to the event statistical results of the road test events collected by the vehicle, or according to the event statistical results of the road test events collected by the entire test vehicle team.

[0055] In addition, since the application sets multiple collection time points, the event control program will only collect road test data when the current collection time point arrives. This can not only avoid real-time collection and reporting of road test data to the target server, thereby affecting the normal operation of the autonomous driving program, but also reduce the total amount of road test data, and effectively improve the collection accuracy of road test data. Therefore, after the last collection time point ends and before the current collection time point arrives, the safety officer and / or other application programs of the vehicle have sent at least one road test event reporting request. After the event control program obtains these road test event reporting requests, it can screen out the target reporting request for response.

[0056] Further, the road test event reporting request of the present application can include the request time of the request, and the event control program can determine whether to merge the road test event reporting requests with similar times according to the request time, or generate a corresponding event identifier according to the request time, and construct an attribute file and an object file corresponding to the event identifier. In addition, the road test event reporting request sent by the safety officer is different from the road test event reporting request sent by other application programs. When the application program sends the road test event reporting request, the event label corresponding to the road test event to be reported is carried in the request, indicating which type of road test event the road test event to be reported belongs to. The road test event reporting request sent by the safety officer does not carry the event label corresponding to the road test event to be reported. The determination of the event label needs to send relevant information again and confirm with the safety officer, and then the event label corresponding to the road test event to be reported can be determined.

[0057] S120: Determine the target reporting request based on the collection quota of each type of road test event at the current collection time and each road test event reporting request.

[0058] In this step, after obtaining the collection quota of each type of road test event at the current collection time and at least one road test event reporting request sent by the safety officer and / or other application programs of the vehicle after the last collection, the present application can determine the target reporting request according to the collection quota of each type of road test event at the current collection time and each road test event reporting request, and collect the road test data of the target road test event corresponding to the target reporting request.

[0059] It can be understood that before collecting the road test data, the present application can configure the corresponding collection quota of the road test data for each automatic driving vehicle for collecting road test data within a predetermined collection period, or configure the corresponding collection quota for the entire test vehicle team within a predetermined collection period. Therefore, after determining the collection quota of each type of road test event at the current collection time and each road test event reporting request, the target reporting request can be determined by the two.

[0060] Specifically, as known from the above discussion, the road test event reporting request of the present application can not only include the request time of the request, but also include the event label corresponding to the road test event to be reported, which indicates which type of road test event the road test event to be reported belongs to. Therefore, after obtaining the collection quota of each type of road test event at the current collection time and each road test event reporting request, whether each road test event reporting request has the corresponding collection quota can be determined according to the event label carried in each road test event reporting request, so as to eliminate the road test event reporting request without the collection quota, and retain the road test event reporting request with the collection quota. Further, the target reporting request can be selected according to the amount of the collection quota.

[0061] It should be noted that the present application uses the collection amount of various road test events at the current collection time to screen the road test event reporting request, which not only makes the distribution of the types of road test events collected finally uniform, so as to avoid the situation that too many road test events of a certain type are collected, thereby affecting the analysis accuracy, but also can limit the collection amount of road test data of each autonomous driving vehicle or the entire test vehicle team, thereby reducing the collection amount of road test events and avoiding occupying too many server resources, thereby affecting the normal operation of the autonomous driving program.

[0062] In addition, according to the screening method of the road test event reporting request in the present application, in the case that the collection amount of various road test events at the current collection time is not enough or is 0, there can also be no target reporting request, and the road test data of this time is not collected, thereby further reducing the redundancy of road test events.

[0063] S130: Collect the target road test event corresponding to the target reporting request.

[0064] S140: Report the autonomous driving data and event attribute information to the target server.

[0065] In the above steps, after determining the target reporting request through S120, the present application can collect the target road test event corresponding to the target reporting request, and report the autonomous driving data of the event occurrence period and the event attribute information in the target road test event to the target server, so that the target server analyzes the uploaded data.

[0066] In a specific implementation manner, when collecting the target road test event corresponding to the target reporting request, the present application can read the autonomous driving data of a period of time before and after the request time of the target reporting request from the recorded autonomous driving data according to the request time of the target reporting request, and take the autonomous driving data of the period of time as the autonomous driving data of the event occurrence period. The autonomous driving data can be video data, or audio data, or audio and video data collected and saved by other application programs during the event occurrence period, which is not limited herein, and the collection duration of the autonomous driving data in the present application can also be set according to the event label contained in the target reporting request, or set according to other actual conditions, which is not limited herein.

[0067] Further, when collecting the target road test event corresponding to the target reporting request, the present application can also collect the event attribute information of the target road test event according to the autonomous driving data of the event occurrence period, the request time of the target reporting request, the event label, etc. The event attribute information includes but is not limited to the event label, occurrence time, location, route, operator, software version, map version, and other attribute information of the target road test event, which is not limited herein.

[0068] Further, after obtaining the automatic driving data and the event attribute information of the target road test event, the application can upload both of them to the target server through one file package, or upload them to the target server through two different file packages. The event attribute information uploaded to the target server can be used to build a database index and applied to other related applications, and the automatic driving data uploaded to the target server can provide a basis for analysis and decision-making for engineers. Of course, the target server here can be a cloud server deployed in the cloud, or other types of servers, which are not limited here.

[0069] In the above embodiment, a plurality of collection time points can be set in advance, and when the current collection time point of the vehicle arrives, the collection amount of each type of road test event at the current collection time point and at least one road test event reporting request sent by the safety officer of the vehicle and / or other application programs after the last collection is obtained. Then, the application can determine a target reporting request according to the collection amount of each type of road test event at the current collection time point and each road test event reporting request, and collect a target road test event corresponding to the target reporting request, so as to report the automatic driving data and the event attribute information in the target road test event to the target server. In this way, it can not only avoid the real-time collection of road test events from occupying too much server resources and affecting the normal operation of the automatic driving program, but also can screen out relatively valuable road test events according to the collection amount of each type of road test event at the current collection time point, so as to reduce the number of road test event reports while effectively improving the data collection accuracy, and can avoid the problems of untimely data statistics and increasing analysis iteration period for the target server.

[0070] In one embodiment, the method can further include:

[0071] S150: According to the event attribute information of the target road test event, the event collection situation of the current collection time point is counted, and the counting result is reported to the target database, so that the target database aggregates the counting result of the vehicle and the counting result of other vehicles of the test vehicle team collected at the current collection time point, and forms the event counting result corresponding to the road test event collected by the test vehicle team within the predetermined collection period.

[0072] In this embodiment, when uploading the autonomous driving data and event attribute information of the target road test event to the target server, this application can also perform statistics on the event collection status at the current collection time based on the event attribute information of the target road test event, and report the statistical results to the target database. After receiving the statistical results of this vehicle, the target database can summarize them with the statistical results collected by other vehicles in the test fleet to which this vehicle belongs at the current collection time, and form the event statistics results corresponding to the road test events collected by the test fleet within the predetermined collection period, such as the total number of road test events collected by the test fleet in one day, as well as the number, time and vehicle number of various types of road test events, etc. In this way, when the next collection time arrives, the event monitoring program of this vehicle and other vehicles can obtain the event statistics results from the target database, and plan the collection quota of various types of road test events of this vehicle at the current collection time based on the event statistics results.

[0073] Of course, this application statistically analyzes the event collection status at the current collection time based on the event attribute information of the target road test event, and reports the statistical results to the target database. The target database can directly summarize the statistical results collected by the vehicle at the current collection time and the previous collection times to form the event statistical results corresponding to the road test events collected by the vehicle within the predetermined collection period. When the next collection time arrives, the vehicle's event monitoring program can obtain the event statistical results from the target database and plan the collection quota of various road test events of the vehicle at the current collection time based on the event statistical results.

[0074] In one embodiment, such as Figure 2 As shown, Figure 2 This application provides a schematic diagram of a process for obtaining the collection quota of various road test events at the current collection time; S110, obtaining the collection quota of various road test events at the current collection time, may include:

[0075] S111: Obtain the event statistics results corresponding to the road test events collected by the test fleet to which this vehicle belongs within the predetermined collection period from the target database, as well as the configuration information of the test fleet when collecting various road test events within the collection period.

[0076] S112: Calculate the collection quota for various road test events at the current collection time based on event statistics and configuration information.

[0077] In this embodiment, the target database stores the event statistical results corresponding to the road test events collected by the test vehicle fleet in which the host vehicle is located within a predetermined collection period, and the configuration information for collecting various road test events within the collection period, including but not limited to configuring the collection quota of the corresponding road test data for each autonomous vehicle collecting road test data within the predetermined collection period, or configuring the corresponding collection quota for the entire test vehicle fleet within the predetermined collection period. For example, if the quota of a road test event is 50 per day, the test vehicle fleet will not collect more than 50 of this type of road test event per day.

[0078] Based on this, as shown in the method for collecting road test data according to the present application, Figure 2 the event statistical results corresponding to the road test events collected by the test vehicle fleet in which the host vehicle is located within a predetermined collection period, and the configuration information for collecting various road test events within the collection period can be obtained from the target database. In this way, the collection quota of various road test events at the current collection time can be calculated according to the event statistical results and the configuration information.

[0079] For example, the target database can form the event statistical results corresponding to the road test events collected by the test vehicle fleet within a predetermined collection period according to the statistical results of the host vehicle at the current collection time and the statistical results collected by other vehicles of the test vehicle fleet at the current collection time, such as the number of label1 (event label1) and the number of label2 (event label2). After the event monitoring program of the host vehicle reads the configuration information for collecting various road test events within the collection period, such as the quota of label1 is 20 and the quota of label2 is 30, the collection quota of various road test events in the host vehicle at the current collection time can be calculated according to the configuration information and the event statistical results.

[0080] Further, since the present application obtains the event statistical results corresponding to the road test events collected by the entire test vehicle fleet within a predetermined collection period, even if the host vehicle has not started testing, other vehicles in the test vehicle fleet may have tested and generated statistical results. In this way, the host vehicle can also obtain the event statistical results corresponding to the road test events collected by the entire test vehicle fleet within a predetermined collection period when collecting road test data. In addition, if the host vehicle is the first vehicle in the test vehicle fleet to test, it will also obtain the event statistical results corresponding to the road test events collected by the entire test vehicle fleet within a predetermined collection period, but the event statistical results are empty.

[0081] In one embodiment, the method can further include:

[0082] S160: If the configuration information of the test vehicle team in collecting various road test events in the collection period fails to be acquired, the configuration information of the test vehicle team in collecting various road test events in the collection period is acquired from the locally saved configuration file.

[0083] In this embodiment, the event monitoring program of the vehicle can acquire the configuration information of the test vehicle team in collecting various road test events in the collection period from the target database. If the configuration information fails to be acquired, the configuration information of the test vehicle team in collecting various road test events in the collection period is acquired from the locally saved configuration file, so as to avoid the situation that the vehicle cannot obtain the cloud configuration due to network reasons and the like, and thus cannot complete the road test data collection.

[0084] Of course, if the event statistical result corresponding to the road test event collected by the test vehicle team in which the vehicle is located in the predetermined collection period also fails to be acquired, the application can calculate the collection quota of various road test events at the current collection time only according to the configuration information of the test vehicle team in collecting various road test events in the collection period acquired from the local.

[0085] In one embodiment, the determination of the target reporting request based on the collection quota of various road test events at the current collection time and the reporting request of each road test event in S120 can include:

[0086] S121: According to the reporting information carried in each road test event reporting request, the road test event reporting request containing the event label is screened out, and an initial request set is constituted.

[0087] S122: According to the collection quota of various road test events at the current collection time and the event label contained in each road test event reporting request in the initial request set, the target reporting request is screened out.

[0088] In this embodiment, when the target reporting request is determined, it can be determined according to the collection quota of various road test events at the current collection time and the reporting request of each road test event.

[0089] Specifically, since the road test event reporting request of the application can not only contain the request time of the request, but also contain the event label corresponding to the road test event to be reported, the event label indicates which type of road test event the road test event to be reported belongs to. Therefore, the application can screen out the road test event reporting request containing the event label according to the reporting information carried in each road test event reporting request, and constitute an initial request set. Then, the application can exclude the road test event reporting request without collection quota according to the collection quota of various road test events at the current collection time and the event label contained in each road test event reporting request in the initial request set, and further screen out the target reporting request with collection quota.

[0090] Further, when the collection amount of a certain road test event is less than the number of road test event reporting requests corresponding to the road test event, a certain extraction rule can be set according to the actual situation, and the extraction rule is not limited here.

[0091] In one embodiment, the target reporting request is at least one; when there are multiple target reporting requests, collecting target road test events corresponding to the target reporting requests in S130 can include:

[0092] S131: Determine the request time corresponding to each target reporting request.

[0093] S132: Merge at least two target reporting requests with a request time within a preset interval length, and collect target road test events corresponding to the merged target reporting requests.

[0094] In this embodiment, when the target reporting request is multiple, the present application can attempt to merge target reporting requests with similar times, trying to reduce disk read-write operations and reduce file redundancy.

[0095] Specifically, the present application can first determine the request time corresponding to each target reporting request, then merge at least two target reporting requests with a request time within a preset interval length according to the request time, and finally collect target road test events corresponding to the merged target reporting requests.

[0096] Further, when merging target reporting requests, the number of target reporting requests sent by a safety officer can be considered to be at most one when merging, and as many target reporting requests reported by other application programs as possible can be merged, so that after the target reporting request of the safety officer is reported to the target server, a long waiting time for statistics is avoided, and the normal operation of the autonomous driving program is further affected.

[0097] In one embodiment, S140 can include reporting the autonomous driving data and the event attribute information to the target server, which can include:

[0098] S141: Generate an event identifier according to the request time of the target reporting request and the vehicle number of the vehicle, and construct an attribute file and an object file corresponding to the event identifier.

[0099] S142: After writing the autonomous driving data into the object file, report it to the target server, and after writing the event attribute information into the attribute file, report it to the target server.

[0100] In this embodiment, after obtaining the automatic driving data and the event attribute information of the event occurrence period in the target road test event, the two can be uploaded to the target server together through one file package, or uploaded to the target server through two different file packages. The event attribute information uploaded to the target server can be used to build a database index and applied to other related applications, and the automatic driving data uploaded to the target server can provide a basis for engineers to make analysis decisions.

[0101] In a specific implementation, the application can generate an event identifier according to the request time of the target reporting request and the vehicle number of the vehicle, and construct an attribute file and an object file corresponding to the event identifier. Then, the application can report the automatic driving data to the target server after writing the automatic driving data into the object file, and report the event attribute information to the target server after writing the event attribute information into the attribute file. For example, the application can generate an incident id according to the request time and the vehicle number of the vehicle, such as vehicle_id.123456789, and write various meta information at that time into the vehicle_id.123456789.metadata attribute file, the meta information including time, place, route, operator, software version, map version, etc., and write the automatic driving data of a period of time before and after the time point 123456789 into the object file vehicle_id.123456789.bag at a certain limit speed. Then, the application can upload vehicle_id.123456789.metadata and vehicle_id.123456789.bag to the target server through other modules.

[0102] In one embodiment, the method can further include:

[0103] S170: Save at least one road test event reporting request sent by the safety officer and / or other application programs of the vehicle after the last collection to the corresponding program memory.

[0104] In this embodiment, after collecting the road test data of the current collection time, the event monitoring program can save at least one road test event reporting request sent by the safety officer and / or other application programs of the vehicle after the last collection to the corresponding program memory, so as to be used for subsequent statistics or design configuration information.

[0105] In one embodiment, the method can further include:

[0106] S180: Write the event attribute information of the road test event corresponding to each road test event reporting request in the initial request set into the target log.

[0107] In this embodiment, after collecting the road test data at the current collection time, the event monitoring program can also write the event attribute information of each road test event corresponding to the initial request set of the road test event into the target log of the event monitoring program, so as to load when restarting.

[0108] The road test data collection device provided by the embodiment of the application is described below. The road test data collection device described below can be referred to in correspondence with the road test data collection method described above.

[0109] In one embodiment, as shown in Figure 3 , Figure 3 FIG. 1 is a structural schematic diagram of a road test data collection device provided by an embodiment of the application. The application also provides a road test data collection device, which can include a data acquisition module 210, a request determination module 220, a data collection module 230, and a data reporting module 240, and specifically includes the following:

[0110] The data acquisition module 210 is configured to acquire the collection amount of each type of road test event at the current collection time of the vehicle and at least one road test event reporting request sent by the safety officer and / or other application programs of the vehicle after the last collection ends when the current collection time of the vehicle arrives.

[0111] The request determination module 220 is configured to determine a target reporting request based on the collection amount of each type of road test event at the current collection time and each road test event reporting request.

[0112] The data collection module 230 is configured to collect target road test events corresponding to the target reporting request, wherein the target road test events include automatic driving data of an event occurrence period and event attribute information.

[0113] The data reporting module 240 is configured to report the automatic driving data and the event attribute information to a target server.

[0114] In the above embodiments, a plurality of collection time points can be preset, and when the current collection time point of the vehicle arrives, the collection amount of each type of road test event at the current collection time point and at least one road test event reporting request sent by the safety officer of the vehicle and / or other application programs after the last collection is obtained. Then, the target reporting request can be determined according to the collection amount of each type of road test event at the current collection time point and each road test event reporting request, and the target road test event corresponding to the target reporting request is collected, so as to report the automatic driving data and event attribute information in the target road test event to the target server. In this way, it can not only avoid that real-time collection of road test events causes too much server resource occupation and affects the normal operation of the automatic driving program, but also can screen out relatively valuable road test events according to the collection amount of each type of road test event at the current collection time point, so as to reduce the reporting amount of road test events while effectively improving the data collection accuracy, and can avoid that the target server is brought problems such as untimely data statistics and increasing analysis iteration period.

[0115] In one embodiment, the present application further provides a storage medium, wherein the storage medium stores computer readable instructions, and the computer readable instructions are executed by one or more processors to make the one or more processors execute the steps of the road test data collection method according to any one of the above embodiments.

[0116] In one embodiment, the present application further provides a computer device, comprising: one or more processors, and a memory.

[0117] The memory stores computer readable instructions, and the computer readable instructions are executed by the one or more processors to execute the steps of the road test data collection method according to any one of the above embodiments.

[0118] As shown in Figure 4 , Figure 4 Fig. 3 is a schematic diagram of an internal structure of a computer device according to an embodiment of the present application. The computer device 300 can be provided as a server. As shown in Figure 4 , the computer device 300 includes a processing assembly 302, which further includes one or more processors, and a memory resource represented by a memory 301, for storing instructions executable by the processing assembly 302, such as an application program. The application program stored in the memory 301 can include one or more than one module each corresponding to a set of instructions. In addition, the processing assembly 302 is configured to execute the instructions to perform the road test data collection method of any of the above embodiments.

[0119] The computer device 300 can further include a power supply component 303 configured to perform power management of the computer device 300, a wired or wireless network interface 304 configured to connect the computer device 300 to a network, and an input / output (I / O) interface 305. The computer device 300 can operate based on an operating system stored in the memory 301, such as Windows Server TM, Mac OS X TM, Unix TM, Linux TM, Free BSD TM, or the like.

[0120] Those skilled in the art can understand that Figure 4 The structure shown in FIG. 3 is merely a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. A specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0121] Finally, it should be noted that the terms such as first and second, etc., are merely used to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Also, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such a process, method, article or device. Without more limitations, the element defined by the phrase "including a" does not exclude the presence of additional identical elements in the process, method, article or device including the element.

[0122] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the difference from other embodiments. The various embodiments can be combined as needed, and the same or similar parts are cross-referenced.

[0123] The above description of the disclosed embodiments enables a person skilled in the art to implement or use the present application. Various modifications to the embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for collecting drive test data, characterized in that, The method comprises: When the current collection time of the vehicle arrives, the collection amount of each type of road test event at the current collection time is obtained, and at least one road test event reporting request sent by the safety officer of the vehicle and / or other application programs after the last collection is obtained; Based on the collection amount of each type of road test event at the current collection time and each road test event reporting request, a target reporting request is determined; Collect the target road test event corresponding to the target reporting request, wherein the target road test event includes automatic driving data of the event occurrence period and event attribute information; Report the automatic driving data and the event attribute information to the target server; The method further comprises: According to the reporting information carried in each road test event reporting request, the road test event reporting request containing the event label is screened out to form an initial request set; According to the collection amount of each type of road test event at the current collection time and the event label contained in each road test event reporting request in the initial request set, a target reporting request is screened out; The event attribute information of the road test event corresponding to each road test event reporting request in the initial request set is written into the target log.

2. The method of claim 1, wherein, The method further comprises: According to the event attribute information of the target road test event, the event collection situation at the current collection time is counted, and the counting result is reported to the target database, so that the target database aggregates the counting result of the vehicle and the counting result of other vehicles of the test vehicle team at the current collection time to form the event counting result corresponding to the road test event collected by the test vehicle team within a predetermined collection period.

3. The method of claim 1 or 2, wherein, The method further comprises: According to the event attribute information of the target road test event, the event collection situation at the current collection time is counted, and the counting result is reported to the target database, so that the target database aggregates the counting result of the vehicle and the counting result of other vehicles of the test vehicle team at the current collection time to form the event counting result corresponding to the road test event collected by the test vehicle team within a predetermined collection period. The method further comprises:

4. The method of claim 3, wherein, If the configuration information of the test vehicle team when collecting each type of road test event within the collection period fails to be obtained, the configuration information of the test vehicle team when collecting each type of road test event within the collection period is obtained from the locally saved configuration file. The target reporting request is at least one; 5. The method of claim 1, wherein, When there are multiple target reporting requests, the method of collecting the target road test event corresponding to the target reporting request comprises: Determine the request time corresponding to each target reporting request; At least two target reporting requests within a preset interval are merged, and the target road test event corresponding to the merged target reporting request is collected. The method further comprises:

6. The method of claim 1, wherein, The method further comprises: According to a request time of the target reporting request and a vehicle number of the vehicle, an event identifier is generated, and an attribute file and an object file corresponding to the event identifier are constructed; After the automatic driving data is written into the object file, the automatic driving data is reported to a target server, and after the event attribute information is written into the attribute file, the event attribute information is reported to the target server.

7. The method of any one of claims 1-6, wherein, The method further includes: Saving at least one road test event reporting request sent by a safety officer and / or other application programs of the vehicle after the last collection to a corresponding program memory.

8. A road test data acquisition device, characterized in that, Comprise: A data acquisition module, configured to acquire a collection amount of each type of road test event at a current collection time of the vehicle and at least one road test event reporting request sent by a safety officer and / or other application programs of the vehicle after the last collection when the current collection time of the vehicle arrives; A request determination module, configured to determine a target reporting request based on the collection amount of each type of road test event at the current collection time and each road test event reporting request; A data acquisition module, configured to collect a target road test event corresponding to the target reporting request, wherein the target road test event comprises automatic driving data of an event occurrence period and event attribute information; A data reporting module, configured to report the automatic driving data and the event attribute information to a target server; The request determination module comprises: According to the reporting information carried in each road test event reporting request, a road test event reporting request containing an event label is screened out to form an initial request set; According to the collection amount of each type of road test event at the current collection time and the event label contained in each road test event reporting request in the initial request set, a target reporting request is screened out; Event attribute information of a road test event corresponding to each road test event reporting request in the initial request set is written into a target log.

9. A storage medium characterized by: The storage medium stores computer readable instructions, and the computer readable instructions are executed by one or more processors to make the one or more processors execute the steps of the road test data collection method in any one of claims 1 to 7.

10. A computer device, comprising: Comprise: One or more processors and a memory; The memory stores computer readable instructions, and the computer readable instructions are executed by the one or more processors to execute the steps of the road test data collection method in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Driving video data processing method and device and electronic equipment

    CN113450474A

  • Server data acquisition configuration method and system

    CN114979216A