Method and device for deriving data, data recording system, vehicle, method for reading data and external device, and method for verifying data
By using pre-determined data formats and Json formats to export timestamps and time period event data in the autonomous driving data recording system, the problem of inconsistent vehicle data formats of different manufacturers is solved, data extraction and analysis efficiency is improved, and accident scenario restoration is enhanced and the reliability of responsibility recognition.
Patent Information
- Application Number
- CN202411302229.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-18
- Publication Date
- 2024-12-27
AI Technical Summary
In the autonomous driving vehicles produced by different manufacturers, the data format, data quantity and encoding methods stored by the autonomous driving data recording system lead to inconsistent data file formats, affecting the efficiency and reliability of accident scenario restoration and responsibility determination.
A method is proposed to export timestamp event data and time period event data through a predetermined data format, adopt Json format, including timestamp event data sets and time period event data sets, and store expanded data and necessary data in the data file. Information object, providing digital signature information to ensure the integrity and parsability of the data.
It realizes the unified format export of data files, improves the convenience and efficiency of data extraction and parsing, provides third parties with the possibility of independently extracting and analyzing data, and enhances the reliability of accident scenario restoration and responsibility determination.
Smart Images

Figure CN119207146A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicles, and in particular to a method for exporting data from an autonomous driving data recording system of a vehicle and a corresponding device. In addition, the present invention also relates to a corresponding autonomous driving data recording system, a corresponding vehicle, a method for reading data from an autonomous driving data recording system of a vehicle and a corresponding external device, a method for verifying data, and a computer program product. Background Art
[0002] With the development of autonomous driving technology, higher requirements are placed on the safety and reliability of autonomous driving technology, as well as the determination of liability in the event of an accident.
[0003] Most vehicles with autonomous driving functions are routinely equipped with data recording devices, which can collect driving data and driving operation data, etc. and record data continuously, within a preset time period, or in a preset scenario. These data can be used to trace the cause of the failure of the autonomous driving system when necessary and can serve as the main basis for accident scene reconstruction and accident liability determination.
[0004] At present, in the Chinese market, it has been proposed to use an event data recorder (EDR) and / or a data storage system for automated driving (DSSAD) to record required data under preset conditions to meet the data needs of consumers and / or management agencies (third parties).
[0005] However, in vehicles produced by different manufacturers, the formats, data volumes and / or encoding methods of the stored data (i.e., images and / or videos and / or perception results of the autonomous driving system, etc.) vary greatly, which leads to the problem of inconsistent data file formats when exporting data files from the autonomous driving data recording systems of vehicles produced by different manufacturers. As a result, it is inconvenient and more expensive for a third party, such as a vehicle management department, to independently extract and parse the data, thereby affecting the efficiency and reliability of accident scene restoration and liability determination.
[0006] Therefore, there is still a need for improvement in the prior art to address at least some of the above issues. Summary of the invention
[0007] Based on this, the present invention proposes an efficient solution, which can not only overcome the deficiencies in the prior art solutions, but also realize the export and extraction of event data in a unified format, thereby improving the convenience and efficiency of extraction and data analysis.
[0008] According to a first aspect of the present invention, there is provided a method for exporting data from an autonomous driving data recording system of a vehicle, the method comprising the following steps:
[0009] Step S110: receiving information about a request to read data stored in the autonomous driving data recording system;
[0010] Step S120: exporting the data in response to the request, the exported data file at least including timestamp event data and / or time period event data, wherein:
[0011] The exported timestamp event data includes at least the following levels of data:
[0012] a timestamp event data set, comprising at least one timestamp event frame data object,
[0013] The timestamp event frame data object includes at least one data entry object; and / or the exported time period event data includes at least the following levels of data:
[0014] a time period event data set, which includes at least one time period event data object and an image / video object or path information of the image / video object,
[0015] The time period event data object includes at least one frame data object,
[0016] The frame data object includes at least one data entry object.
[0017] The basic concept of the present invention is that a data file with a unified data format can be exported using a predetermined data format, which is particularly helpful for accident scene restoration and liability determination of vehicles with autonomous driving functions. Through at least some embodiments of the present invention, an inclusive and relatively unified export data is achieved, thereby providing a possibility for a third party, such as a vehicle management department, to independently extract and parse the data.
[0018] Advantageous configurations of the technical solution of the present invention can be obtained from the following optional implementations.
[0019] According to an optional embodiment of the method for exporting data from an autonomous driving data recording system of a vehicle of the present invention, step S110 includes the following sub-steps:
[0020] Sub-step S111: checking whether the data in the autonomous driving data recording system includes data corresponding to the requested information based on the requested information; and
[0021] Sub-step S112: If the corresponding data is not included, output a negative return message.
[0022] According to an optional embodiment of the method for exporting data from an autonomous driving data recording system of a vehicle of the present invention, step S120 includes the following sub-steps:
[0023] Sub-step S121: retrieving data stored in the autonomous driving data recording system based on the requested information and integrating the data at the level according to the requested information; and
[0024] Sub-step S122: exporting and storing the integrated data.
[0025] According to an optional embodiment of the method for exporting data from an autonomous driving data recording system of a vehicle, the requested information includes a date and / or a sequence number of the data requested to be exported.
[0026] According to an optional embodiment of the method for exporting data from an autonomous driving data recording system of a vehicle of the present invention, it is provided that the exported data is provided in a Json format.
[0027] According to an optional embodiment of the method for exporting data from an autonomous driving data recording system of a vehicle of the present invention, the file name of the exported data includes a vehicle identification code and / or a time interval and / or moment information and / or an event sequence number and / or the name of timestamp event data and / or the name of time period event data.
[0028] According to an optional embodiment of the method for exporting data from an automatic driving data recording system of a vehicle of the present invention, it is provided that the external image or video data is stored in a data file in a Json format or as a separate file.
[0029] According to an optional implementation of the method for exporting data from an autonomous driving data recording system of a vehicle of the present invention, a single time period event data set exported in a Json format includes at least the path and file name of the image or video data corresponding to the time period event data.
[0030] According to an optional embodiment of the method for exporting data from an autonomous driving data recording system of a vehicle of the present invention, it is provided that the timestamp event data set and / or the time period event data set include extended data and / or essential information objects.
[0031] According to an optional embodiment of the method for exporting data from an autonomous driving data recording system of a vehicle of the present invention, the extended data and / or necessary information objects include digital signature information and / or a cyclic redundancy check of a data segment, and the digital signature information includes a digital signature method, a public key and a digital signature of the data segment.
[0032] According to an optional embodiment of the method for exporting data from an autonomous driving data recording system of a vehicle of the present invention, the requested information also includes verification of the data, wherein in step S120, original data corresponding to the data are additionally exported.
[0033] According to an optional embodiment of the method for exporting data from an autonomous driving data recording system of a vehicle of the present invention, it is provided that the frame data object comprises a collection of data entry objects under the frame.
[0034] According to an optional embodiment of the method for exporting data from an autonomous driving data recording system of a vehicle, it is provided that each frame data object comprises time information of the frame.
[0035] According to an optional embodiment of the method for deriving data from an autonomous driving data recording system of a vehicle, the number of data elements in each frame data object of the time period event data depends on the frequency with which the respective data elements are recorded.
[0036] According to an optional embodiment of the method for exporting data from an autonomous driving data recording system of a vehicle of the present invention, when the data stored in the autonomous driving data recording system is unavailable or invalid, the data value of the data entry object corresponding to the exported data file indicates that the stored original data is an unavailable or invalid value.
[0037] According to a second aspect of the present invention, a device for exporting data from an autonomous driving data recording system of a vehicle is provided, the device being configured to be suitable for executing a method for exporting data from an autonomous driving data recording system of a vehicle according to the present invention and comprising:
[0038] a communication interface configured to exchange data with an external device; and
[0039] A processing unit is configured and adapted to derive data based on information received via the communication interface regarding a request to read data stored in the autonomous driving data recording system.
[0040] According to an optional embodiment of the device for exporting data from an autonomous driving data recording system of a vehicle of the present invention, the device also includes a storage unit, which is configured to store data exported from the autonomous driving data recording system and / or original data corresponding to the exported data.
[0041] According to a third aspect of the present invention, there is provided an autonomous driving data recording system comprising an apparatus according to the present invention for exporting data from an autonomous driving data recording system of a vehicle.
[0042] According to a fourth aspect of the present invention, a vehicle, in particular an autonomous driving vehicle, is provided, the vehicle comprising the autonomous driving data recording system according to the present invention.
[0043] According to a fifth aspect of the present invention, there is provided a method for reading data from an autonomous driving data recording system of a vehicle, the method comprising the following steps:
[0044] Step S210: Sending information about a request to read data stored in the autonomous driving data recording system to the vehicle;
[0045] Step S220: receiving data exported according to the method for exporting data from an autonomous driving data recording system of a vehicle according to the present invention based on the requested information; and
[0046] Step S230: reading the exported data and / or the original data corresponding to the exported data.
[0047] According to an optional embodiment of the method for reading data from an autonomous driving data recording system of a vehicle of the present invention, step S210 further includes the following sub-steps:
[0048] Sub-step S211: checking whether a negative return message is received, the negative return message indicating that the requested information does not correspond to the data stored in the autonomous driving data recording system; and
[0049] Sub-step S212: If received, sending information about another request to read data to the vehicle based on the negative return information, the information of the other request being different from the information of the request; or, if received, the method ends.
[0050] According to an optional embodiment of the method for reading data from an autonomous driving data recording system of a vehicle of the present invention, step S230 further includes the following sub-steps:
[0051] Sub-step S231: analyzing whether the exported data includes video data / image data of other paths; and
[0052] Sub-step S232: If present, in addition to reading the timestamp event data and / or time period event data included in the exported data, the corresponding video data / image data is also read.
[0053] According to an optional embodiment of the method for reading data from an autonomous driving data recording system of a vehicle of the present invention, the requested information includes a date and / or a serial number of the data requested to be read and / or a check on the data.
[0054] According to a sixth aspect of the present invention, there is provided an external device for reading data from an autonomous driving data recording system of a vehicle, the external device being configured to be suitable for executing a method for reading data from an autonomous driving data recording system of a vehicle according to the present invention and comprising:
[0055] a communication interface, the communication interface being configured to exchange data with the device;
[0056] a processing unit configured to send information about a request to read data stored in the autonomous driving data recording system to the vehicle and receive and read the derived data and / or raw data corresponding to the derived data set based on the requested information; and
[0057] A storage unit is configured to store the read data and / or the original data.
[0058] According to a seventh aspect of the present invention, there is provided a method for verifying data, the method comprising the following steps:
[0059] Step S310: receiving data exported by the method for exporting data from an automatic driving data recording system of a vehicle according to the present invention and raw data corresponding to the exported data;
[0060] Step S320: Obtain the digital signature of the exported data and the digital signature of the original data;
[0061] Step S330: comparing the digital signature of the exported data with the digital signature of the original data; and
[0062] Step S340: Output the comparison result.
[0063] According to an optional embodiment of the method for verifying data of the present invention, it is provided that a digital signature of the original data is generated by means of a key.
[0064] According to an eighth aspect of the present invention, a computer program product is provided, such as a computer-readable program carrier, which includes or stores computer program instructions, which, when executed by a processor, at least assist in implementing the steps of the method for exporting data from an autonomous driving data recording system of a vehicle according to the present invention and / or the method for reading data from an autonomous driving data recording system of a vehicle according to the present invention and / or the method for verifying data according to the present invention.
[0065] Further features of the present invention become apparent from the claims, the drawings and the description of the drawings. The features and feature combinations mentioned in the above description and the features and feature combinations mentioned in the following description of the drawings and / or shown only in the drawings can be used not only in the corresponding specified combinations, but also in other combinations without departing from the scope of the present invention. Therefore, the following contents are also regarded as being covered and disclosed by the present invention: these contents are not explicitly shown in the drawings and are not explicitly explained, but are derived from combinations consisting of separate features from the explained contents and are generated by these combinations. The following contents and feature combinations are also regarded as being disclosed: they do not have all the features of the originally drafted independent claims. In addition, the following contents and feature combinations are regarded as being particularly disclosed by the above contents: they exceed or deviate from the feature combinations defined in the reference relationship of the claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] The present invention will be described in more detail below with reference to the accompanying drawings, so that the principles, features and advantages of the present invention can be better understood. In the accompanying drawings:
[0067] Figure 1 A schematic diagram showing an exemplary embodiment of a vehicle according to the invention;
[0068] Figure 2 A schematic diagram showing an exemplary embodiment of a device for exporting data from an autonomous driving data recording system of a vehicle and an exemplary embodiment of an external device for reading data from an autonomous driving data recording system of a vehicle according to the present invention;
[0069] Figure 3 A flow chart showing an exemplary embodiment of a method for exporting data from an autonomous driving data recording system of a vehicle according to the present invention;
[0070] Figure 4 A schematic diagram showing a hierarchical structure of a time-stamped event data set;
[0071] Figure 5 A schematic diagram showing the hierarchical structure of a time period data set;
[0072] Figure 6 A flow chart showing another exemplary embodiment of a method for exporting data from an autonomous driving data recording system of a vehicle according to the present invention;
[0073] Figure 7 A flowchart showing an exemplary embodiment of a method for reading data from an autonomous driving data recording system of a vehicle according to the present invention;
[0074] Figure 8A flowchart showing another exemplary embodiment of a method for reading data from an autonomous driving data recording system of a vehicle according to the present invention;
[0075] Fig. 9 a flow chart showing a further exemplary embodiment of a method for reading data from an autonomous driving data recording system of a vehicle according to the present invention; and
[0076] Fig.10 A flow chart of an exemplary embodiment of a method for verifying data according to the present invention is shown. DETAILED DESCRIPTION
[0077] In order to make the technical problems, technical solutions and beneficial technical effects to be solved by the present invention more clearly understood, the present invention will be further described in detail below in conjunction with the accompanying drawings and multiple exemplary embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the scope of protection of the present invention.
[0078] In this specification, for the sake of convenience, the words and phrases indicating the orientation or positional relationship such as "middle", "upper", "lower", "front", "back", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like are used to illustrate the positional relationship of the constituent elements with reference to the drawings. This is only for the convenience of describing this specification and simplifying the description, and does not indicate or imply that the device or element referred to has a specific orientation, is constructed and operates in a specific orientation, and therefore cannot be understood as a limitation of the present disclosure. The positional relationship of the constituent elements is appropriately changed according to the direction of describing each constituent element. Therefore, it is not limited to the words and phrases described in the specification, and can be appropriately replaced according to the situation.
[0079] Hereinafter, various embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0080] Figure 1 A schematic diagram of an exemplary embodiment of a vehicle 1 according to the present invention is shown. The vehicle 1 is a passenger vehicle with an autonomous driving function or a high-level driving assistance function, such as a Level 3 driving automation (conditional autonomous driving), or a Level 4 driving automation (highly autonomous driving) or a Level 5 driving automation (fully autonomous driving) function, and the vehicle 1 includes an autonomous driving data recording system 3. The autonomous driving data recording system 3 is equipped on the vehicle 1 and is configured to be suitable for monitoring, collecting, storing data functions and supporting data reading during the activation of the autonomous driving system.
[0081] Here, the functions of the autonomous driving data recording system 3 may be implemented in an electronic control unit, in particular an autonomous driving domain controller or a central computing platform.
[0082] Furthermore, the vehicle 1 further comprises a device 2 for exporting data from the autonomous driving data recording system 3 of the vehicle 1 , which is configured to be suitable for connecting with an external device 4 for reading data from the autonomous driving data recording system 3 of the vehicle 1 in a manner supporting data transmission.
[0083] Figure 2 A schematic diagram shows an exemplary embodiment of a device 2 for exporting data from an autonomous driving data recording system 3 of a vehicle 1 and an exemplary embodiment of an external device 4 for reading data from an autonomous driving data recording system 3 of a vehicle 1 according to the present invention.
[0084] The autonomous driving data recording system 3 includes a trigger module 31, a recording module 32 and a storage module 33. The storage module 33 may include a first storage unit and a second storage unit (not shown in detail). When the autonomous driving system is activated, data acquired in real time, such as event data, may be processed by the recording module 32 and cached in the first storage unit and periodically overwritten. Here, the first storage unit is, for example, configured as a volatile storage unit, such as a random access memory. The trigger module 31 is configured to be suitable for controlling the recording module 24 of the autonomous driving data recording system 3 to continuously write relevant event data from the first storage unit to the second storage unit based on the moment of the triggering event (e.g., a collision event) when the event triggering condition is detected. Here, the second storage unit is, for example, configured as a non-volatile memory.
[0085] According to this embodiment, the autonomous driving data recording system 3 includes a device 2. The device 2 includes a communication interface 21 configured to be suitable for exchanging data with an external device 4. The device 2 also includes a processing unit 22 configured to be suitable for deriving data based on information received via the communication interface 21 regarding a request to read data stored in the autonomous driving data recording system 3.
[0086] Furthermore, according to one embodiment, the device 2 may further include a storage unit 23 configured to be suitable for storing the data exported from the autonomous driving data recording system 3 and / or the original data corresponding to the exported data.
[0087] In this embodiment, the storage unit 23 of the device 2 is connected to the second storage unit in a manner that supports data transmission. Therefore, the storage unit 23 can receive and retrieve the data written into the second storage unit.
[0088] In an embodiment not shown, the device 2 may also not have the storage unit 23. Therefore, the processing unit 22 of the device 2 is connected to the second storage unit in a manner that supports data transmission and can derive data corresponding to the second storage unit stored in the storage module 33 of the autonomous driving data recording system 3 based on information received via the communication interface 21 about a request to read data stored in the autonomous driving data recording system 3 and integrate it in the second storage unit in a predetermined data format and object hierarchy. Therefore, in this embodiment, the predetermined data format and object hierarchy are stored in the second storage unit.
[0089] According to this embodiment, the external device 4 is configured to be suitable for reading data from the autonomous driving data recording system 3 of the vehicle 1. The external device 4 includes a communication interface 41, which is configured to be suitable for exchanging data with the device 2. Here, the communication interface 41 of the external device 4 is connected to the communication interface 21 of the device 2 in a manner that supports data transmission. In addition, the external device 4 also includes a processing unit 42. The processing unit 42 is configured to be suitable for sending information about a request to read data stored in the autonomous driving data recording system 3 to the autonomous driving data recording system 3 of the vehicle 1 and receiving and reading the exported data and / or the original data corresponding to the exported data set based on the information of the request. In addition, the external device 4 also includes a storage unit 43, which is configured to be suitable for storing the read data and / or the original data.
[0090] In this case, the external device 4 may be provided by a third party, for example, a vehicle management department.
[0091] In this embodiment, the device 2 may be included as a functional module by the autonomous driving data recording system 3. However, alternatively, the device 2 may also exist in the vehicle 1 as a separate device or functional module.
[0092] Figure 3 A flow chart of an exemplary embodiment of a method 100 according to the invention for exporting data from an autonomous driving data recording system 3 of a vehicle 1 is shown. Figure 4 Schematic diagram showing the hierarchical structure of a time-stamped event data set. Figure 5 Schematic diagram showing the hierarchical structure of a time period dataset.
[0093] In this embodiment, the method 100 exemplarily includes steps S110 to S120.
[0094] In the present invention, “derivation of data” may be understood synonymously with “output of data” or “transmission of data”.
[0095] In step S110, see also Figure 2, information about a request to read data stored in the autonomous driving data recording system 3 is received from the external device 4 by means of the communication interface 21 of the device 2 .
[0096] In this embodiment, the information includes the date and / or serial number of the data requested to be exported, especially the event data. That is, the third party can input the date and / or serial number of the requested data by means of the external device 4. The time interval of the requested data can be determined by the date of the data. The data serial number can be used to determine the data name corresponding to the requested data serial number and the corresponding data content.
[0097] In step S120, data is exported in response to the request, and the exported data file includes at least timestamp event data and / or time period event data, wherein the exported timestamp event data includes at least the following levels of data: a timestamp event data set, which includes at least one timestamp event frame data object, and the timestamp event frame data object includes at least one data entry object; and / or the exported time period event data includes at least the following levels of data: a time period event data set, which includes at least one time period event data object and an image / video object or path information of the image / video object, and the time period event data object includes at least one frame data object, and the frame data object includes at least one data entry object.
[0098] In this embodiment, the data object format is set to Json format (JavaScript Object Notation, JS object notation). Therefore, data or data sets are stored and exported in Json format.
[0099] like Figure 4 As shown, the file corresponding to the timestamp event data exported in Json format includes: the timestamp event data set includes multiple timestamp event frame data objects, and a single timestamp event frame data object includes multiple data entry objects, thus forming a hierarchical timestamp event data.
[0100] like Figure 5 As shown, similarly, the file corresponding to the time period event data exported in Json format includes: the time period event data set includes a single time period event data object and multiple image / video objects or their path information, a single time period event data object includes multiple frame data objects, and a single frame data object includes multiple data entry objects. Thus, a hierarchical time period event data is formed.
[0101] For the timestamp event data set and the time period event data set, each level of data object may include, for example, data or necessary information extended by the OEM. The extended data and / or necessary information object includes digital signature information and / or cyclic redundancy check of the data segment, and the digital signature information includes a digital signature method, a public key, and a digital signature of the data segment.
[0102] In this embodiment, external image data and / or video data corresponding to a single time period event data set and / or a single timestamp event data set are transferred and stored in the data file in the Json format or stored as a separate file.
[0103] The single time period event data set exported in the Json format includes at least the path and file name of the image or video data corresponding to the time period event data.
[0104] In addition, for the frame number object, each frame data object should include the data entry object and the corresponding time information under the frame. Generally, the number of data elements in each frame data object of the time period event data depends on the frequency at which each data element is recorded. For example, if 10 data are recorded at 4Hz and 5 data are recorded at 10Hz, then frame 1 (the first frame): 100ms, 5 data; frame 2: 200ms, 5 data; frame 3: 250ms, 10 data; frame 4: 300ms, 10 data; frame 5: 400ms, 10 data; frame 6: 500ms, 15 data; frame 6: 600ms, 10 data, etc.
[0105] For data entry objects, each data entry object includes at least a data name and a corresponding data value. A data entry object generally refers to the information of a single data element. When the data stored in the autonomous driving data recording system is unavailable or invalid, the data value of the data entry object corresponding to the exported data file should clearly indicate that the original data stored is unavailable or invalid. When the data value is unavailable or invalid, it can be expressed in Chinese or English in the "Data Value" corresponding to the "Data Name".
[0106] The file name of the exported data includes the vehicle identification code (VIN code) and / or the time interval and / or the moment information and / or the event sequence number and / or the name of the timestamp event data and / or the name of the time period event data.
[0107] For timestamp event data files, the name format is VIN_CN-DSSAD_Timestamp_<time interval>.json, where VIN stands for vehicle identification code, CN stands for China, DSSAD stands for autonomous driving data recording system, Timestamp stands for timestamp information, json stands for the exported data file format is .json format, and <time interval> stands for the time interval of the requested timestamp event data. For example, from the file name VIN_CN-DSSAD_Timestamp_20240809-20240924.json, it can be quickly and intuitively known that the file includes timestamp event data from August 9, 2024 to September 24, 2024.
[0108] For the time period event data file, the name format is VIN_CN-DSSAD_Time-Sequence_<moment information + event sequence number>.json. The difference from the timestamp event data file is that Time-Sequence represents the time period information and <moment information + event sequence number> represents the moment of the requested timestamp event data and the corresponding event sequence number. For example, from the file name VIN_CN-DSSAD_Time-Sequence_20240809-3.json, it can be quickly and intuitively known that the file includes the time period event data with sequence number "3" on August 9, 2024.
[0109] Through this simple and clear file naming, third parties can quickly and clearly know the corresponding event data, which improves the intuitive readability of the file.
[0110] After an event occurs during the autonomous driving process, after the DSSAD stores the event data in the non-volatile second storage unit, the method 100 can quickly and easily export an event data file with a unified format based on the information about the request to export the event data. This allows a third party to independently extract and parse event data, especially accident data, thereby simplifying the extraction process and improving the efficiency of data extraction and parsing.
[0111] Figure 6 A flow chart of another exemplary embodiment of a method 100 according to the present invention for reading data from an autonomous driving data recording system 3 of a vehicle 1 is shown.
[0112] According to this embodiment, Figure 5Compared with the embodiment shown in , step S110 further includes sub-steps S111 and S112. In sub-step S111, it is checked whether the data in the autonomous driving data recording system 3 includes data corresponding to the requested information based on the requested information. That is, it can be determined whether there is time information and a data name corresponding to the data in the autonomous driving data recording system 3 by the date and sequence number included in the information input from the external device 4.
[0113] In sub-step S112, if it is determined that the corresponding data is not included, a negative return message is output. The negative return message indicates that the corresponding data cannot be obtained based on the requested information. Therefore, the third party can selectively re-enter the request to obtain the data corresponding to the date and / or serial number in the new requested information in the autonomous driving data recording system 3.
[0114] In addition, step S120 also includes sub-steps S121 and S122. In sub-step S121: based on the requested information, the corresponding data stored in the automatic driving data recording system 3 is retrieved and integrated according to the information at a predetermined object level. Based on the date and sequence number in the information, the data of the time period is integrated in chronological order based on the sequence number. Then, in sub-step S122, the integrated data is exported, for example, in Json format and stored, for example, as a data file in Json format.
[0115] In the present invention, integration may include merging of data, arrangement of data, archiving of data, etc.
[0116] In addition, according to an embodiment, the requested information may also include verification of the data. Therefore, in step S120, the original data corresponding to the data is also exported in addition to the data. The authenticity and integrity of the exported data can be verified through the original data.
[0117] Figure 7 A flow chart of an exemplary embodiment of a method 200 for reading data from an autonomous driving data recording system 3 of a vehicle 1 according to the present invention is shown. The method 200 exemplarily includes steps S210 to S230.
[0118] See also Figure 2 In step S210, the external device 4 sends information about a request to export data from the autonomous driving data recording system 3 of the vehicle 1 to the vehicle 1. As mentioned above, the information includes the date and / or serial number of the data to be exported. In addition, the information may also include a checksum for the data to be read.
[0119] In step S220, data derived from the autonomous driving data recording system 3 of the vehicle 1 is received based on the requested information. Additionally, raw data corresponding to the data is also received. The data is generated according to Figure 3 or Figure 6 The method 100 for exporting data from the autonomous driving data recording system 3 of the vehicle 1 is provided in FIG. The data is provided in Json format and is as follows: Figure 4 and / or Figure 5 The object hierarchy shown is arranged.
[0120] Then, in step S230, the derived data and / or the original data corresponding to the derived data are read.
[0121] Therefore, a third party can export and extract data in a unified format, such as Json format, from the vehicle 1 , thereby providing a possibility for the third party to independently extract and parse the data by means of the method 200 .
[0122] Figure 8 A flow chart of another exemplary embodiment of a method 200 according to the present invention for reading data from an autonomous driving data recording system 3 of a vehicle 1 is shown.
[0123] and Figure 7 The difference of the embodiment of is that, in this embodiment, step S210 also includes sub-steps S211 and S212. In sub-step S211, it is checked whether a negative return message is received. The negative return message indicates that the requested information does not correspond to the data in the autonomous driving data recording system 3. If the data corresponding to the date and / or sequence number in the requested information (e.g., a timestamp event) does not correspond, it means that the autonomous driving data recording system 3 does not include the data. Therefore, the external device 4 receives a negative return message in the form of a negative response code from the device 2.
[0124] Then, in sub-step S212, in the case of receiving negative return information, information about another request to export data from the autonomous driving data recording system 3 is sent to the vehicle 1 based on the negative return information. The information of the other request is different from the information of the request sent previously. That is, a request including information of a different date and / or serial number is resent. Thus, the third party can intuitively and timely obtain feedback and adjust the data to be exported (extracted).
[0125] In addition, according to an embodiment, step S230 further includes sub-step S231 and sub-step S232. In sub-step S231, it is analyzed whether the exported data includes video data / image data of other paths.
[0126] When exporting data in Json format, external image data and / or video data corresponding to a single time period event data set and / or a single timestamp event data set may be transferred and stored in the data file or stored as a separate file.
[0127] Therefore, in sub-step S232, in the case where there are video data / image data of other paths, in addition to the timestamp event data and / or time period event data included in the read data, the corresponding video data / image data is also read. In the case where the image data and / or video data are stored as separate files, the path and file name of the external image data and / or video data in the data are read, thereby the external image data and / or video data can be additionally extracted by parsing.
[0128] All data included in the data in a unified data format can thus be completely exported and extracted. This also helps third parties to conduct a comprehensive analysis and evaluation of the event.
[0129] Fig. 9 A flow chart of a further exemplary embodiment of a method 200 for reading data from an autonomous driving data recording system 3 of a vehicle 1 according to the present invention is shown.
[0130] and Figure 8 Compared with the embodiment in Fig. 9 In the embodiment of FIG. 2 , method 200 illustratively includes steps S210 to S212.
[0131] Fig. 9 Steps S210 and S211 of method 200 are the same as Figure 8 Steps S210 and S211 of the method 200 in the embodiment are the same. However, in this embodiment, in step S122, if a negative return message is received, the method 200 ends. That is, in the case where the time period event data within a given time interval and / or the timestamp event data corresponding to the predetermined time information and event sequence number required or concerned by the third party do not exist, the request and extraction of data export is ended because no corresponding event, such as a collision event, occurs within the time interval or at the time.
[0132] Fig.10 A flow chart of an exemplary embodiment of a method 300 for verifying data according to the present invention is shown. The method 300 exemplarily includes steps S310 to S330.
[0133] In order to verify the authenticity and integrity of data, such as event data, in step S310, the external device 4 receives the data according to Figure 3 or Figure 6The method 100 for exporting data from the autonomous driving data recording system 3 of the vehicle 1 exports data and raw data corresponding to the data. The data has a different data format from the raw data.
[0134] In step S320, the digital signature of the exported data and the digital signature of the original data are obtained by the external device 4. The digital signature of the exported data is included in a data file in Json format and can be extracted by the external device 4, while the digital signature of the original data can be generated by a key.
[0135] Then, in step S330, the digital signature of the exported data is compared with the digital signature of the original data.
[0136] In step S340, if the digital signature of the exported data is consistent with the digital signature of the original data, the integrity and authenticity of the exported data set can be determined, and thus a "comparison is consistent" result is output. The third party can perform event analysis and determine responsibility based on the verified data. If they are inconsistent, a "comparison is inconsistent" result is output.
[0137] The present invention also protects a computer program product, such as a computer-readable program carrier, which includes or stores computer program instructions, which, when executed by a processor, at least assist in implementing the steps of the methods 100, 200, 300 according to the present invention.
[0138] Other advantages and alternative embodiments of the present invention are obvious to those skilled in the art. Therefore, the present invention in its broader sense is not limited to the specific details, representative structures and exemplary embodiments shown and described. On the contrary, those skilled in the art can make various modifications and substitutions without departing from the basic spirit and scope of the present invention.
Claims
1. A method (100) for exporting data from an autonomous driving data recording system (3) of a vehicle (1), the method (100) comprising the following steps: Step S110: receiving information about a request to read data stored in the autonomous driving data recording system (3); Step S120: exporting the data in response to the request, the exported data file at least including timestamp event data and / or time period event data, wherein: The exported timestamp event data includes at least the following levels of data: a timestamp event data set, comprising at least one timestamp event frame data object, The timestamp event frame data object includes at least one data entry object; and / or the exported time period event data includes at least the following levels of data: a time period event data set, which includes at least one time period event data object and an image / video object or path information of the image / video object, The time period event data object includes at least one frame data object, The frame data object includes at least one data entry object.
2. The method (100) according to claim 1, wherein: Step S110 includes the following sub-steps: Sub-step S111: checking whether the data in the autonomous driving data recording system (3) includes data corresponding to the requested information based on the requested information; and Sub-step S112: If the corresponding data is not included, output a negative return message.
3. The method (100) according to claim 1 or 2, wherein: Step S120 includes the following sub-steps: Sub-step S121: based on the requested information, retrieve the data stored in the autonomous driving data recording system (3) and integrate the data at the level according to the requested information; as well as Sub-step S122: exporting and storing the integrated data.
4. The method (100) according to any one of claims 1 to 3, wherein: The requested information includes the date and / or serial number of the data requested to be exported; and / or The exported data is provided and / or stored in Json format.
5. The method (100) according to any one of claims 1 to 4, wherein: The file name of the exported data includes the vehicle identification code and / or the time interval and / or the time information and / or the event sequence number and / or the name of the timestamp event data and / or the name of the time period event data.
6. The method (100) according to any one of claims 1 to 5, wherein: External image or video data is stored in a data file in Json format or as a separate file.
7. The method (100) according to any one of claims 1 to 6, wherein: The single time period event data set exported in the Json format includes at least the path and file name of the image or video data corresponding to the time period event data.
8. The method (100) according to any one of claims 1 to 7, wherein: The timestamp event data set and / or the time period event data set include extended data and / or necessary information objects.
9. The method (100) according to any one of claims 1 to 8, wherein: The extended data and / or necessary information object includes digital signature information and / or cyclic redundancy check of the data segment, and the digital signature information includes a digital signature method, a public key and a digital signature of the data segment.
10. The method (100) according to any one of claims 1 to 9, wherein: The requested information also includes verification of the data, wherein in step S120, original data corresponding to the data is additionally derived.
11. The method (100) according to any one of claims 1 to 10, wherein: A frame data object includes a collection of data entry objects under the frame; and / or Each frame data object includes time information for that frame.
12. The method (100) according to any one of claims 1 to 11, wherein: The number of data elements in each frame data object of the time segment event data depends on the frequency at which the data elements are recorded.
13. The method (100) according to any one of claims 1 to 12, wherein: When the data stored in the autonomous driving data recording system is unavailable or invalid, the data value of the data entry object corresponding to the exported data file indicates that the stored original data is unavailable or an invalid value.
14. A device (2) for exporting data from an autonomous driving data recording system (3) of a vehicle (1), the device (2) being configured to be suitable for performing a method (100) according to any one of claims 1 to 13 and comprising: A communication interface (21), the communication interface (21) being configured to exchange data with an external device (4); and A processing unit (22) is configured and adapted to derive data based on information received via the communication interface (21) regarding a request to read data stored in the autonomous driving data recording system (3).
15. The device (2) according to claim 14, wherein The device (2) further comprises a storage unit (23), wherein the storage unit (23) is configured to store data derived from the autonomous driving data recording system and / or raw data corresponding to the derived data.
16. An autonomous driving data recording system (3), comprising the device (2) according to claim 14 or 15.
17. A vehicle (1), in particular an autonomous driving vehicle, comprising an autonomous driving data recording system (3) according to claim 16.
18. A method (200) for reading data from an autonomous driving data recording system (3) of a vehicle (1), the method (200) comprising the following steps: Step S210: Sending information about a request to read data stored in the autonomous driving data recording system (3) to the vehicle (1); Step S220: receiving data derived according to the method (100) according to any one of claims 1 to 13 based on the requested information; and Step S230: reading the exported data and / or the original data corresponding to the exported data.
19. The method (200) of claim 18, wherein: Step S210 also includes the following sub-steps: Sub-step S211: checking whether a negative return message is received, the negative return message indicating that the requested information does not correspond to the data stored in the autonomous driving data recording system (3); and Sub-step S212: If received, then sending information about another request to read data to the vehicle (1) based on the negative return information, the information of the other request being different from the information of the request; or, if received, the method (200) ends.
20. The method (200) according to claim 18 or 19, wherein: Step S230 also includes the following sub-steps: Sub-step S231: analyzing whether the exported data includes video data / image data of other paths; and Sub-step S232: If present, in addition to reading the timestamp event data and / or time period event data included in the exported data, the corresponding video data / image data is also read.
21. The method (200) according to any one of claims 18 to 20, wherein: The requested information includes the date and / or serial number of the data requested to be read and / or a checksum of the data.
22. An external device (4) for reading data from an autonomous driving data recording system (3) of a vehicle (1), the external device (4) being configured to be suitable for performing a method (200) according to any one of claims 18 to 21 and comprising: a communication interface (41), the communication interface (41) being configured to exchange data with the device (2); a processing unit (42) configured to send information about a request to read data stored in the autonomous driving data recording system (3) of the vehicle (1) and to receive and read derived data and / or raw data corresponding to the derived data set based on the requested information; and A storage unit (43), wherein the storage unit (43) is configured to store the read data and / or the original data.
23. A method (300) for verifying data, the method (300) comprising the following steps: Step S310: receiving data derived by the method (100) according to claim 13 and original data corresponding to the derived data; Step S320: Obtain the digital signature of the exported data and the digital signature of the original data; Step S330: comparing the digital signature of the exported data with the digital signature of the original data; as well as Step S340: Output the comparison result.
24. The method (300) of claim 23, wherein: A digital signature of the original data is generated by a key.
25. A computer program product, such as a computer-readable program carrier, comprising or storing computer program instructions, which, when executed by a processor, at least assist in implementing the steps of the method (100) according to any one of claims 1 to 13 and / or the method (200) according to any one of claims 18 to 21 and / or the method (300) according to claim 23 or 24.
