WO2022226689A1 - Data management method and apparatus, and terminal device - Google Patents

Data management method and apparatus, and terminal device Download PDF

Info

Publication number
WO2022226689A1
WO2022226689A1 PCT/CN2021/089619 CN2021089619W WO2022226689A1 WO 2022226689 A1 WO2022226689 A1 WO 2022226689A1 CN 2021089619 W CN2021089619 W CN 2021089619W WO 2022226689 A1 WO2022226689 A1 WO 2022226689A1
Authority
WO
WIPO (PCT)
Prior art keywords
event
data
volatile memory
vehicle
accident
Prior art date
Application number
PCT/CN2021/089619
Other languages
French (fr)
Chinese (zh)
Inventor
罗达新
高鲁涛
马莎
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2021/089619 priority Critical patent/WO2022226689A1/en
Priority to CN202180001489.2A priority patent/CN113302614B/en
Publication of WO2022226689A1 publication Critical patent/WO2022226689A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/78Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data

Definitions

  • the present application relates to the field of storage technology, and more particularly, to a data management method, apparatus and terminal device in the field of storage technology.
  • the driving data of the vehicle within a certain time interval before and after the accident such as sensor data, vehicle state data and vehicle dynamics data, etc., play a vital role in the analysis of the cause of the accident, the restoration of the accident scene and the assessment of the responsibility of the accident.
  • the embodiments of the present application provide a data management method and device, which can effectively manage data and avoid data loss due to events such as vehicle accidents, vehicle failures, or takeover accidents as much as possible.
  • an embodiment of the present invention provides a data management method, including: controlling first reference data to be stored in a volatile memory, where the first reference data includes target data related to a first event; The target data of the memory related to the first event is stored to the non-volatile memory.
  • the data management method provided by the embodiment of the present application can effectively manage data, and can Avoid data loss to the greatest extent possible.
  • controlling to store the target data related to the first event from the volatile memory to the non-volatile memory includes: sending indication information to the volatile memory, where the indication information is used to instruct The target data related to the first event is transmitted to the non-volatile memory; or, the target data related to the first event is obtained from the volatile memory, and the target data related to the first event is sent to the non-volatile memory in memory.
  • the above control stores the target data related to the first event from the volatile memory to the non-volatile memory in two ways, which can manage the driving data of any scale (that is, there is no limit to the data amount of the driving data), And there is no requirement for real-time storage of driving data (that is, it can be applied not only to scenarios that do not require high real-time storage requirements, but also to scenarios that require high real-time storage requirements).
  • the embodiments of the present application do not need to perform multiple erasing of the non-volatile memory, etc., and can prolong the operating life of the non-volatile memory.
  • the first reference data includes at least one of perception data, positioning data, map data, and wireless communication technology data.
  • data such as perception data, positioning data, map data, and wireless communication technology data can be stored in a volatile memory, which can improve the reliability of driving data management.
  • the perception data may be acquired by one or more perception devices such as a camera, a weather radar, a radar, an ultrasonic radar, or a lidar installed on the vehicle.
  • the positioning data can be obtained by positioning the vehicle through the global positioning system installed on the vehicle.
  • the map data can be data such as road structures, signs, signal lights, buildings and green belts captured by the camera.
  • the wireless communication technology data may be data transmitted between a vehicle (eg, vehicle A) and another vehicle (eg, vehicle B), vehicle A and roadside facilities, vehicle A and communication satellites, etc., obtained through a communication module installed on the vehicle.
  • the acquisition methods of sensing data, positioning data, map data, wireless communication technology data, etc. in the first reference data RD1 are relatively simple, thereby making the data management method provided by the embodiment of the present application easy to implement.
  • the data management method provided in the first aspect further includes: obtaining a first reference result through the event prediction model and the first reference data, where the first reference result is used to indicate that the first reference data is obtained based on the first reference data. the probability of occurrence of the first event.
  • the data management method provided by the first aspect further includes: obtaining a second reference result by using the first reference data and the auxiliary data, where the second reference result is used to indicate that the first reference data and the auxiliary data are based on the first reference data and the auxiliary data.
  • the probability of occurrence of the first event obtained from the data, the auxiliary data includes the scene category where the terminal is located and/or historical event statistics, the scene category includes at least one of high-speed scenes, urban scenes, mountain scenes and extreme weather scenes, historical events
  • the statistical data includes historically occurring at least one event and reference data when each of the at least one event occurred.
  • the first reference result indicates the probability of occurrence of the first event obtained based on the first reference data
  • the second reference result is used to indicate the probability of occurrence of the first event obtained based on the first reference data and the auxiliary data
  • the present application implements
  • the first reference result and the second reference result are obtained by means of prediction. Then, according to the occurrence probability of the first event, it is determined whether it is necessary to control the storage of the target data related to the first event from the volatile memory to the non-volatile memory, so as to avoid the occurrence of the first event in the vehicle as much as possible and cause driving case of data loss.
  • the scene category in the above auxiliary data may be a single scene or a combination of different scenes. Therefore, the accuracy of the second reference result is further improved by including the auxiliary data of various scene categories.
  • the target data related to the first event corresponds to the type of the first event and predefined data information.
  • the accuracy of the target data related to the first event obtained based on the type of the first event is high.
  • the type of the first event includes at least one of a rear-end collision accident, an overtaking accident, a passing vehicle accident, a pedestrian accident, a non-motor vehicle accident, a vehicle failure, and a takeover accident.
  • the above-mentioned type of the first event E1 not only considers the traffic accidents (ie rear-end collisions, overtaking accidents, passing-vehicle accidents, pedestrian accidents and non-motor vehicle accidents), but also considers the failure of the vehicle itself and the vehicle takeover accident, that is,
  • the type of the first event basically covers all events that may occur/occur in the vehicle. Therefore, the data management method provided in the embodiment of the present application can be applied to all scenarios where the driving data needs to be stored because of the events that may occur/occur in the vehicle, Wide range of applications.
  • the data information includes a data type and a time interval.
  • the data type includes at least one of sensor data, terminal state data and terminal dynamics data
  • the time interval is the time interval between the first time node and the second time node.
  • the first time node is any one of the following items: the time node before the occurrence of the first event, the time node in the occurrence of the first event and the time node after the occurrence of the first event
  • the second time node is any one of the following: a time node before the occurrence of the first event, a time node during the occurrence of the first event, and a time node after the occurrence of the first event.
  • the vehicle is in the process of the occurrence of the first event E1 (for a time interval (such as 5 seconds), which is determined by the starting time t1 and the ending time t2 when the first event E1 occurs in the vehicle), it can be considered that the first event occurred.
  • a time interval such as 5 seconds
  • the occurrence of the first event E1 means before the start time t1 at which the first event E1 occurs in the vehicle, and after the occurrence of the first event E1 means after the end time t2 at which the first event E1 occurs in the vehicle.
  • the time interval determined according to the first time node T1 and the second time node T2 in the embodiment of the present application covers all the moments at which driving data may be generated, and further, the driving data in the corresponding time interval can be targeted according to different requirements. storage.
  • the sensor data includes one or more of the following items: the position of at least one target around the terminal, the speed of the at least one target, the volume of the at least one target, meteorological data, illumination data, Camera data or radar data.
  • one or more of the position of the target, the speed of the target, the volume of the target, meteorological data, illumination data or radar data can be obtained through one or more of the radar, ultrasonic radar or lidar set on the vehicle. item detected.
  • Camera data (such as signal lights, signs, target types (can be non-motor vehicles, green belts, etc.) and target locations, etc.) can be obtained through a camera (such as a front-facing camera) installed on the vehicle.
  • All the above sensor data can be obtained through the sensor equipment (such as the above-mentioned radar radar, ultrasonic radar and lidar lidar, etc.) installed on the vehicle, that is, the acquisition process of the sensor data is more convenient, which improves the accuracy of the data information, and further.
  • the accuracy of the target data TD1 related to the first event E1 is improved.
  • the terminal state data includes one or more of the following items: terminal driving speed, driving acceleration, accelerator pedal opening, brake pedal opening, steering wheel angle, steering torque or light status.
  • the light state may include that the vehicle is in an illuminated state (ie, the vehicle's lights (eg, headlights) are turned on), or the vehicle is in a non-illuminated state (ie, the vehicle's lights (eg, headlights) are turned off).
  • the above-mentioned terminal state data is the data of the vehicle itself, and the acquisition process is also convenient, which can also improve the accuracy of the data information, thereby improving the accuracy of the target data TD1 related to the first event E1.
  • the terminal dynamics data includes quality information and/or braking delay parameters of the terminal.
  • the mass information of the vehicle represents the weight of the vehicle
  • the braking delay parameter of the vehicle is used to represent the time interval between the moment when the driver depresses the brake pedal and the moment when the vehicle starts to decelerate, which can be several milliseconds or several seconds.
  • the data management method provided by the first aspect further includes: determining that a second event occurs; controlling to store target data related to the second event from the volatile memory from the volatile memory to the in non-volatile memory;
  • the second event is different from the first event
  • the first reference data further includes target data related to the second event.
  • the type of the second event includes at least one of a rear-end collision, an overtaking accident, a passing vehicle accident, a pedestrian accident, a non-motor vehicle accident, a vehicle breakdown, and a takeover accident.
  • the target data related to the first event may be different from the target data related to the second event.
  • the first event may be a combination of different types among the types of the first event introduced above, and the first event may also be a combination of different types of the types of the first event introduced above, the first event-related
  • the target data and the target data related to the second event may also be partially identical.
  • the embodiment of the present application does not need to store the target data related to the second event from the volatile memory into the non-volatile memory from the volatile memory.
  • the data management method provided by the first aspect further includes: performing a first process on the target data related to the first event, where the first process includes locking, encryption, time stamping, and compression. at least one.
  • the data management method provided by the first aspect further includes: performing second processing on the target data related to the first event, and the second processing Including unlocking, decrypting and/or erasing.
  • an embodiment of the present application provides a data management apparatus.
  • the data management apparatus includes a processor.
  • the processor is used to: control to store the first reference data in the volatile memory, the first reference data includes target data related to the first event; control to store the target data related to the first event from the volatile memory to the non-volatile memory volatile memory.
  • the processor is used to:
  • the target data related to the first event is acquired from the volatile memory, and the target data related to the first event is sent to the non-volatile memory.
  • the first reference data includes at least one of perception data, positioning data, map data, and wireless communication technology data.
  • the processor is further configured to: obtain a first reference result through the event prediction model and the first reference data, where the first reference result is used to indicate the occurrence of the first event obtained based on the first reference data probability.
  • the processor is further configured to: obtain a second reference result by using the first reference data and the auxiliary data, where the second reference result is used to indicate the occurrence probability of the first event obtained based on the first reference data , the auxiliary data includes the scene category where the terminal is located and/or historical event statistics, the scene category includes at least one of high-speed scenes, urban scenes, mountain scenes and extreme weather scenes, and the historical event statistics include at least one event that occurred in history and reference data when each of the at least one event occurs.
  • the target data related to the first event corresponds to the type of the first event and pre-defined data information; wherein, the type of the first event includes rear-end collision, overtaking accident, car-meeting accident, and pedestrian accident , at least one of non-motor vehicle accidents, vehicle failures and takeover accidents, the data information includes data type and time interval, the data type includes at least one of sensor data, terminal state data and terminal dynamics data, and the time interval is the first A time interval between a time node and a second time node; wherein, the first time node is any one of the following: the time node before the occurrence of the first event, the time node in the occurrence of the first event, and the occurrence of the first event.
  • a time node after an event, and a second time node is any one of the following: a time node before the occurrence of the first event, a time node during the occurrence of the first event, and a time node after the occurrence of the first event.
  • the sensor data includes one or more of the following: the position of at least one target around the terminal, the velocity of the at least one target, the volume of the at least one target, meteorological data, camera data, or Radar data.
  • the terminal status data includes one or more of the following: the terminal's driving speed, driving acceleration, accelerator pedal opening, brake pedal opening, steering wheel angle, steering torque, or light status.
  • Terminal dynamics data includes quality information and/or braking delay parameters for the terminal.
  • the processor is further configured to: determine that a second event occurs, the second event is different from the first event, and the first reference data further includes target data related to the second event; Target data of the volatile memory related to the second event is stored from the volatile memory into the non-volatile memory.
  • the type of the second event includes at least one of a rear-end collision, an overtaking accident, a passing vehicle accident, a pedestrian accident, a non-motor vehicle accident, a vehicle failure, and a takeover accident.
  • the processor is further configured to: perform first processing on the target data related to the first event, where the first processing includes at least one of locking, encryption, time stamping and compression.
  • the processor is further configured to: perform second processing on the target data related to the first event, where the second processing includes unlocking, Decrypt and/or Erase.
  • an embodiment of the present application provides a data management apparatus, including an interface circuit and the processor in the second aspect above, where the interface circuit is coupled to the processor.
  • the interface circuit is used to connect at least one of a non-volatile memory or a volatile memory.
  • an embodiment of the present application provides a terminal device, including the data management apparatus provided in the foregoing second aspect, or the data management apparatus provided in the foregoing third aspect.
  • the terminal device is an intelligent transportation device or a robot.
  • embodiments of the present application provide a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are run on a computer, are used to execute the first aspect and possible implementations thereof. Methods.
  • an embodiment of the present application provides a computer program product, the computer program product includes instructions, and when the instructions are run on a computer or a processor, the computer or processor enables the computer or processor to implement the first aspect and possible implementations thereof method in .
  • FIG. 1 is a schematic flowchart of a data management method in an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a time interval of data information in an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a time interval of data information in an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a time interval of data information in an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a time interval of data information in an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a time interval of data information in an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a time interval of data information in an embodiment of the present application.
  • FIG. 8 is a schematic flowchart of obtaining a first reference result RR1 in an embodiment of the present application.
  • FIG. 9 is a schematic flowchart of obtaining a second reference result RR2 in an embodiment of the present application.
  • FIG. 10 is a schematic flowchart of the process 1000 in the embodiment of the present application.
  • FIG. 11 is a schematic flowchart of a process 1100 in an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a data management apparatus 120 in an embodiment of the present application.
  • FIG. 13 is a schematic flowchart of the processor 121 implementing the storage of the target data TD1 related to the first event E1 through Mode 1 in the embodiment of the present application;
  • FIG. 14 is a schematic flow chart of the processor 121 implementing the storage of the target data TD1 related to the first event E1 through Mode 2 in the embodiment of the present application;
  • FIG. 15 is a schematic structural diagram of a data management apparatus 150 in an embodiment of the present application.
  • FIG. 16 is a schematic diagram of a connection between the data management device 150 and the memory in the embodiment of the present application.
  • FIG. 17 is a schematic diagram of another connection between the data management apparatus 150 and the memory in the embodiment of the present application.
  • At least one (item) refers to one or more, and "a plurality” refers to two or more.
  • “And/or” is used to describe the relationship between related objects, indicating that there can be three kinds of relationships, for example, “A and/or B” can mean: only A, only B, and both A and B exist , where A and B can be singular or plural.
  • the character “/” generally indicates that the associated objects are an “or” relationship.
  • At least one item(s) below” or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s).
  • At least one (a) of a, b or c can mean: a, b, c, "a and b", “a and c", “b and c", or "a and b and c" ", where a, b, c can be single or multiple.
  • the driving data of the vehicle within a certain time interval before and after the accident such as sensor data, vehicle state data and vehicle dynamics data, etc., play a vital role in the analysis of the cause of the accident, the restoration of the accident scene and the assessment of the responsibility of the accident.
  • Most of the existing vehicles use a volatile memory as a buffer to store the driving data of the vehicle in a certain time interval before and after an accident in real time.
  • a system for storing driving data (which can be called a data management system) requires driving data to be stored in an external memory (which can be a non-volatile memory such as a flash memory (ie flash memory) or a solid state disk (SSD). sexual memory).
  • an external memory which can be a non-volatile memory such as a flash memory (ie flash memory) or a solid state disk (SSD). sexual memory).
  • the storage of driving data may be realized by an event data recorder (event data recorder, EDR, which is often integrated in a software module of an airbag control unit on a vehicle).
  • EDR event data recorder
  • the volatile memory in the accident data recorder can record the driving data of the vehicle within a certain time interval before and after the occurrence time.
  • both volatile memory and accident data recorder non-volatile memory are more prone to power loss, loose interfaces, or stop working when a vehicle event occurs.
  • the driving data stored in the volatile memory will be lost.
  • the driving data stored in the non-volatile memory will not be lost (that is, the driving data is still stored after the system is powered off or stopped working). in the non-volatile memory).
  • Non-volatile memory also has the advantages of large capacity and low cost, and can realize the storage of large-scale driving data (that is, the amount of data in the form of data is large, for example, it can be all driving data within 30 seconds before the vehicle event). .
  • the driving data stored in the volatile memory can be stored in the non-volatile memory, thereby avoiding the loss of the driving data to a certain extent.
  • the above-mentioned technical solution for realizing data management through an accident data recorder is often suitable for scenarios where small-scale driving data (that is, the data volume of driving data is small), and which do not require high real-time storage.
  • the embodiments of the present application may also implement the management of driving data by means of continuous storage and continuous erasing.
  • the generation rate of the driving data is relatively high (for example, the generation rate of the driving data may be 740MB/s)
  • the scale of the driving data generated within a certain time interval is also relatively large. Therefore, a larger-capacity non-volatile memory, or a plurality of small-capacity non-volatile memories is required to realize the preservation of all driving data.
  • the bandwidth of the non-volatile memory will be occupied for a long time, and the non-volatile memory will occupy computing resources during the encoding and decoding process.
  • the operating life of the non-volatile memory will be greatly shortened.
  • the embodiments of the present application provide A data management method can effectively manage data and avoid data loss to the greatest extent.
  • the above data management method can be implemented by a terminal device (such as a vehicle), or by an electronic chip, or by other media with a data management function, and the embodiment of the present application does not limit the implementation.
  • FIG. 1 A schematic flowchart of the data management method is shown in FIG. 1 , and the process 100 can be implemented through the following steps S101 and S102.
  • Step S101 Control to store the first reference data RD1 in a volatile memory.
  • the first reference data RD1 may include one or more of sensing data, positioning data, map data, and wireless communication technology (vehicle to everything, V2X) data.
  • the first reference data RD1 may also include other data, which is not limited in this embodiment of the present application.
  • any one or more of the above sensing data, positioning data, map data and wireless communication technology data can be controlled to be stored in the volatile memory.
  • data such as perception data, positioning data, map data and wireless communication technology V2X data can be stored in volatile memory.
  • the perception data may be acquired by one or more perception devices such as a camera, a radar, an ultrasonic radar, or a lidar provided on the vehicle.
  • perception devices such as a camera, a radar, an ultrasonic radar, or a lidar provided on the vehicle.
  • whether there is a target around the vehicle can be captured by the camera.
  • the target around the vehicle may be one or multiple.
  • the target may be a moving target, such as a moving vehicle, a moving non-motor vehicle, a walking pedestrian, and the like.
  • the target may also be a stationary target, such as a roadside building, a tree, or a non-motor vehicle or vehicle parked on the roadside.
  • the data management method provided by the embodiments of the present application can be applied to all traffic accidents that occur in the vehicle (for example, the vehicle and the target traffic accidents caused by collisions, or traffic accidents caused by vehicles to avoid the target, etc.).
  • the weather data and illumination data of the environment in which the vehicle is located may be obtained through a weather radar.
  • the meteorological data may be rainfall intensity, snowfall intensity, cloud cover, cloud base height, etc.
  • the light data may be light intensity.
  • one or more of radar radar, ultrasonic radar and lidar lidar can be used (only radar radar, or only ultrasonic radar, or only lidar lidar, or both radar radar and laser radar can be used at the same time.
  • the radar lidar can simultaneously detect the position of at least one target around the vehicle (which may include the position of the at least one target and the distance between the target and the vehicle) and the volume of the at least one target through radar, ultrasonic radar and lidar.
  • the target when the distance between the target and the vehicle is less than a preset distance (for example, several meters, tens of meters, etc. can be set), the target can be regarded as a target around the vehicle.
  • a preset distance for example, several meters, tens of meters, etc. can be set
  • the running speed of the vehicle, the speed of the target around the vehicle, etc. can also be obtained through radar and/or lidar, so as to obtain the running acceleration of the vehicle.
  • the target around the vehicle is a moving target
  • the moving speed of the moving target can also be obtained through lidar or radar.
  • the positioning data can be used to locate the vehicle through a global positioning system (global positioning system, GPS) set on the vehicle, or to locate objects around the vehicle.
  • a global positioning system global positioning system, GPS
  • the position of the vehicle can be located, that is, the longitude, latitude, altitude, etc. of the vehicle can be located
  • the position of the target around the vehicle can be located, that is, the longitude, latitude, altitude, etc. of the target can be obtained.
  • the global positioning system GPS can be used to locate the longitude, latitude, altitude, etc. where the multiple targets are located.
  • the altitude of the vehicle obtained through the GPS positioning of the global positioning system is the same as the altitude of the target around the vehicle.
  • the longitude and latitude of the vehicle obtained through the global positioning system GPS may be the same or different from the longitude and latitude of the target around the vehicle. For example, when the longitude and latitude of the vehicle obtained by the GPS are the same as the longitude and latitude of the target around the vehicle, it can be determined that the probability of collision between the vehicle and the target is high (if the target is a moving vehicle, the collision between the vehicle and the target occurs The first event E1 can be a car meeting accident).
  • the probability can be determined according to the distance between the vehicle and the target. The farther the distance between the vehicle and the target, the smaller the probability of the vehicle colliding with the target. On the contrary, the closer the distance between the vehicle and the target is, the higher the probability of the vehicle colliding with the target. larger.
  • the map data may be data such as road structures, signs, signal lights, buildings, and green belts captured by a camera.
  • the wireless communication technology data may be transmission data between a vehicle (eg, vehicle A) and another vehicle (eg, vehicle B), vehicle A and a communication satellite, etc. obtained through a communication module installed on the vehicle.
  • the acquisition methods of sensing data, positioning data, map data, wireless communication technology data, etc. in the first reference data RD1 are relatively simple, thereby making the data management method provided by the embodiment of the present application easy to implement.
  • the first reference data RD1 since the first reference data RD1 is used to predict the probability of the occurrence of the first event E1 in the vehicle, the first reference data RD1 may include target data TD1 related to the first event RD1. Therefore, the target data TD1 related to the first event RD1 may be part of the data in the first reference data RD1, or may be all the data in the first reference data RD1, which is not limited in this embodiment of the present application.
  • the target data TD1 related to the first event RD1 may include sensing data and positioning data, or may include sensing data, map data, and wireless communication technology data (ie, include part of the data in the first reference data RD1).
  • the target data TD1 related to the first event RD1 may include sensing data, positioning data, map data, wireless communication technology data, etc. (that is, including all the data in the first reference data RD1).
  • the above-mentioned target data TD1 related to the first event E1 may correspond to the type of the first event E1 and predefined data information. That is, the target data TD1 related to the first event E1 is determined by the type of the first event E1 and predefined data information. Since there is a mapping relationship between the type of the first event E1 and the target data TD1 related to the first event E1, the accuracy of the target data TD1 related to the first event E1 obtained based on the type of the first event E1 is high.
  • the type of the above-mentioned first event E1 may include one or more of a traffic accident of the vehicle, a failure of the vehicle itself, and a takeover accident of the vehicle.
  • the type of the first event E1 may include a traffic accident of the vehicle, a breakdown of the vehicle itself, or a takeover accident of the vehicle. That is to say, the first event E1 that occurs in the vehicle in a certain time interval is any one of a traffic accident of the vehicle, a failure of the vehicle itself, and a takeover accident of the vehicle.
  • the type of the first event E1 may include a traffic accident of the vehicle, a breakdown of the vehicle itself, and a takeover accident of the vehicle. That is to say, the first event E1 that occurs in a vehicle in a certain time interval may be all of a traffic accident in the vehicle, a failure in the vehicle itself, and a takeover accident in the vehicle (that is, a traffic accident and a takeover accident in the vehicle occur at the same time in a certain time interval). , and a failure occurred).
  • the above-mentioned type of the first event E1 not only considers the traffic accident that occurs in the vehicle, but also considers the failure of the vehicle itself and the vehicle takeover accident, that is, the type of the first event E1 basically covers all events that may occur/occur in the vehicle. Therefore,
  • the data management method provided by the embodiment of the present application can be applied to all scenarios in which driving data needs to be stored due to possible occurrence/occurrence of events in the vehicle, and has a wide range of applications.
  • the type of the first event E1 may further include a traffic accident and a takeover accident of the vehicle. That is to say, the first event E1 that occurs in a vehicle in a certain time interval may be part of a traffic accident of the vehicle, a failure of the vehicle itself, and a takeover accident of the vehicle (that is, the vehicle has a traffic accident and a takeover accident at the same time in a certain time interval. accident, the vehicle itself did not malfunction).
  • the traffic accident that occurs in the vehicle may be any one or more of a rear-end collision accident, an overtaking accident, a passing vehicle accident, a pedestrian accident, and a non-motor vehicle accident.
  • a rear-end collision accident occurs due to a rear-end collision of a vehicle during driving, or a collision accident occurs when a vehicle meets a vehicle.
  • a vehicle such as vehicle A
  • vehicle B another vehicle
  • the vehicle such as vehicle A
  • collides with a non-motor vehicle such as a non-motor vehicle
  • vehicle A has both a rear-end collision accident and a non-motor vehicle accident at the same time.
  • the above-mentioned rear-end collision accident may be a traffic accident in which the front of vehicle A collides with the rear of vehicle B when vehicles (eg, vehicle A and vehicle B) running in the same lane follow behind.
  • the above-mentioned pedestrian accident may be a traffic accident with the vehicle A due to the pedestrian's negligence or violation of traffic rules.
  • non-motor vehicle accident may be a traffic accident between a non-motor vehicle (which may be a bicycle or an electric bicycle) and the vehicle A.
  • the failure of the vehicle itself may be that the tires of the vehicle are punctured because they have not been replaced for a long time, or the braking system of the vehicle fails.
  • the takeover accident that occurs in the vehicle may be an accident caused by the driver's failure to take over in time, or the like.
  • the above-mentioned data information may include a data type and a time interval.
  • the aforementioned data types may include one or more of sensor data, terminal status data, and terminal dynamics data.
  • the embodiment of the present application uses sensor data, terminal state data, and terminal dynamics data as examples to introduce data types.
  • the sensor data may include the position of a target around the vehicle (in this embodiment of the present application, there is a target around the vehicle, such as target A), the position, the speed of target A, the volume of target A, weather data, illumination data, camera data and One or more of the radar data.
  • the embodiments of the present application introduce sensor data including the position of the target A around the vehicle, the speed of the target A, the volume of the target A, meteorological data, illumination data, camera data, and radar data as examples.
  • the sensor data may include the speed of the target A regardless of whether the target A around the vehicle is a stationary target or a moving target. It should be noted that when the target A is a stationary target, the speed of the target A is 0.
  • the position of the target A (including the position of the target A (for example, the target A is located in the front left of the vehicle) and the distance between the target A and the vehicle), the speed of the target A, the volume of the target A,
  • One or more of weather data, illumination data or radar data may be detected by one or more of radar, ultrasonic radar or lidar provided on the vehicle.
  • the position of target A, the speed of target A, the volume of target A, meteorological data, illumination data and radar data can be detected only by radar radar, or the position of target A can be detected only by ultrasonic radar or lidar lidar
  • radar ultrasonic radar or lidar can detect the position and volume of target A.
  • the above-mentioned camera data (such as signal lights, signs, types of targets (which can be non-motor vehicles, green belts, etc.) and the position of target A, etc.) can be obtained through the camera (such as the front camera).
  • All the above sensor data can be obtained through the sensor equipment (such as the above-mentioned radar radar, ultrasonic radar and lidar lidar, etc.) installed on the vehicle, that is, the acquisition process of the sensor data is more convenient, which improves the accuracy of the data information, and further.
  • the accuracy of the target data TD1 related to the first event E1 is improved.
  • the terminal state data may include one or more of the vehicle's running speed, running acceleration, accelerator pedal opening, brake pedal opening, steering wheel angle, steering torque, and light state.
  • the terminal state data in this embodiment of the present application includes the vehicle's running speed, running acceleration, accelerator pedal opening, brake pedal opening, and steering wheel angle , steering torque and light status.
  • the light state may include that the vehicle is in an illuminated state (ie, the vehicle's lights (eg, headlights) are turned on), or the vehicle is in a non-illuminated state (ie, the vehicle's lights (eg, headlights) are turned off).
  • the above-mentioned terminal state data is the data of the vehicle itself, and the acquisition process is also convenient, which can also improve the accuracy of the data information, thereby improving the accuracy of the target data TD1 related to the first event E1.
  • the terminal dynamics data includes vehicle mass information and/or braking delay parameters.
  • the mass information of the vehicle represents the weight of the vehicle
  • the braking delay parameter of the vehicle is used to represent the time interval between the moment when the driver depresses the brake pedal and the moment when the vehicle starts to decelerate, which can be several milliseconds or several seconds.
  • the above-mentioned terminal dynamics data can be obtained by referring to the relevant data of the vehicle (such as the description of the vehicle, etc.), which provides a reliable way to obtain the target data TD1 related to the first event E1.
  • the time interval of the above data information may be the time interval between the first time node (represented by T1 ) and the second time node (represented by T2 ).
  • the above-mentioned first time node T1 may be a time node before the occurrence of the first event E1, a time node in the occurrence of the first event E1, or a time node after the occurrence of the first event E1.
  • the above-mentioned second time node T2 may also be a time node before the occurrence of the first event E1, a time node during the occurrence of the first event E1, or a time node after the occurrence of the first event E1.
  • the vehicle is in the process of the occurrence of the first event E1 (for a time interval (such as 5 seconds), which is determined by the starting time t1 and the ending time t2 when the first event E1 occurs in the vehicle), it can be considered that the first event occurred.
  • a time interval such as 5 seconds
  • the occurrence of the first event E1 means before the start time t1 at which the first event E1 occurs in the vehicle, and after the occurrence of the first event E1 means after the end time t2 at which the first event E1 occurs in the vehicle.
  • the first time node T1 is the time node before the first event E1 occurs
  • the second time node T2 is the time node after the first event E1 occurs.
  • the target data related to the first event E1 covers the data corresponding to the time interval between the time node before the occurrence of the first event E1 and the time node after the occurrence of the first event E1. It can be understood that the data in the time interval between the time node before the occurrence of the first event E1 and the time node after the occurrence of the first event E1 (that is, the data in the first reference data RD1 related to the first event E1 in this case) is controlled.
  • the objective function TD1) is stored in volatile memory.
  • Case 2 As shown in FIG. 3 , the first time node T1 is the time node before the first event E1 occurs, and the second time node T2 is the time node in which the first event E1 occurs.
  • the target data related to the first event E1 covers the data corresponding to the time interval between the time node before the occurrence of the first event E1 and the time node in which the first event E1 occurs, but does not cover the occurrence of the first event The data corresponding to the time node after E1.
  • the data corresponding to the time interval between the time node before the occurrence of the first event E1 and the time node in the occurrence of the first event E1 are controlled.
  • the related objective function TD1 is stored in the volatile memory, and there is no need to control the data corresponding to the time node after the occurrence of the first event E1 to be stored in the volatile memory.
  • Case 3 As shown in FIG. 4 , the first time node T1 is the time node before the first event E1 occurs, and the second time node T2 is the time node before the first event E1 occurs. That is to say, both the first time node T1 and the second time node T2 are time nodes before the occurrence of the first event E1.
  • the target data TD1 related to the first event E1 covers the data corresponding to the time interval between the two time nodes before the occurrence of the first event E1, but does not cover the data corresponding to the time nodes in the occurrence of the first event E1 Data corresponding to the time node after the occurrence of the first event E1.
  • control will store the data corresponding to the time interval between the two time nodes before the first event E1 (that is, the objective function TD1 related to the first event E1 in the first reference data RD1 in this case) to The volatile memory does not need to control to store the data corresponding to the time node in the first event E1 and the data corresponding to the time node after the first event E1 in the volatile memory.
  • the first time node T1 is the time node in which the first event E1 occurs
  • the second time node T2 is the time node in which the first event E1 occurs. That is to say, both the first time node T1 and the second time node T2 are time nodes in which the first event E1 occurs.
  • the target data TD1 related to the first event E1 covers the data corresponding to the time interval between two time nodes in the occurrence of the first event E1, but does not cover the data corresponding to the time node before the occurrence of the first event E1 Data corresponding to the time node after the occurrence of the first event E1.
  • control will store the data corresponding to the time interval between the two time nodes in the first event E1 (that is, the objective function TD1 related to the first event E1 in the first reference data RD1 in this case) to The volatile memory does not need to control the storage of the data corresponding to the time node before the first event E1 and the data corresponding to the time node after the first event E1 in the volatile memory.
  • the first time node T1 is the time node in which the first event E1 occurs
  • the second time node T2 is the time node after the first event E1 occurs.
  • the target data TD1 related to the first event E1 covers the data corresponding to the time interval between the time node in which the first event E1 occurs and the time node after the occurrence of the first event E1. It can be understood that the data corresponding to the time interval between the time node in the first event E1 and the time node after the occurrence of the first event E1 (that is, in the first reference data RD1 in this case and the first event E1 in this case) are controlled.
  • the related objective function TD1) is stored in the volatile memory, and there is no need to control the storage of the data corresponding to the time node before the occurrence of the first event E1 in the volatile memory.
  • the first time node T1 is the time node after the first event E1 occurs
  • the second time node T2 is the time node after the first event E1 occurs. That is to say, both the first time node T1 and the second time node T2 are time nodes after the occurrence of the first event E1.
  • the target data TD1 related to the first event E1 covers the data corresponding to the time interval between two time nodes after the occurrence of the first event E1, but does not cover the data corresponding to the time node before the occurrence of the first event E1 Data corresponding to the time node in which the first event E1 occurs.
  • control stores the data corresponding to the time interval between the two time nodes after the occurrence of the first event E1 (that is, the objective function TD1 related to the first event E1 in the first reference data RD1 in this case) to The volatile memory does not need to control to store the data corresponding to the time node before the first event E1 and the data corresponding to the time node in the first event E1 to the volatile memory.
  • the time interval determined according to the first time node T1 and the second time node T2 in the embodiment of the present application covers all the moments at which driving data may be generated, and further, the driving data in the corresponding time interval can be targeted according to different requirements. storage.
  • Step S102 Control to store the target data TD1 related to the first event E1 from the volatile memory to the non-volatile memory.
  • step S102 may be performed in the following two ways:
  • Mode 1 Send the indication information CI1 to the volatile memory.
  • the above-mentioned indication information CI1 is used to instruct to transmit the target data TD1 related to the first event E1 to the non-volatile memory.
  • the processor of the vehicle (which may be the processor 121 or the processor 152 below) sends the indication information CI1 to the volatile memory, and then the volatile memory receives the indication information CI1, and sends the first indication information CI1 to the volatile memory.
  • the target data TD1 related to an event E1 is transferred to the non-volatile memory for storage.
  • the processor only plays the role of sending the indication information CI1 to the volatile memory in Mode 1. After the volatile memory receives the indication information CI1, the processor no longer participates in the process that the volatile memory transmits the target data TD1 related to the first event E1 to the non-volatile memory for saving.
  • the processor in approach 1 is coupled with volatile memory, and the volatile memory is coupled with non-volatile memory, and the processor is not coupled with non-volatile memory.
  • Mode 2 Acquire the target data TD1 related to the first event E1 from the volatile memory, and send the target data TD1 related to the first event E1 to the non-volatile memory.
  • the processor first acquires the target data TD1 related to the first event E1 stored in the volatile memory in step S101, and then the processor acquires the acquired target data TD1 related to the first event E1 Data TD1 is sent to non-volatile memory for storage.
  • the processor participates in the whole process in Mode 2, and plays a leading role. That is, the processor not only plays the role of acquiring the target data TD1 related to the first event E1 from the volatile memory, but also plays the role of sending the acquired target data TD1 related to the first event E1 to the non-volatile memory the role of preservation.
  • the processor in Approach 2 is coupled with volatile memory, and coupled with non-volatile memory, and volatile memory is not coupled with non-volatile memory.
  • step S102 may also be performed in other manners than the above two manners, which are not limited in this embodiment of the present application.
  • Both the above-mentioned methods 1 and 2 can manage driving data of any scale (that is, there is no limit to the amount of driving data), and there is no requirement for the real-time storage of driving data (that is, it is not only applicable to the real-time storage of driving data). It can also be applied to scenarios with high real-time storage requirements).
  • the embodiments of the present application do not need to perform multiple erasing of the non-volatile memory, etc., and can prolong the operating life of the non-volatile memory.
  • the embodiment of the present application can also predict the probability of the occurrence of the first event E1 in the vehicle according to the above-mentioned first reference data RD1, that is, obtain the occurrence probability P of the first event E1 according to the above-mentioned first reference data RD1.
  • the occurrence probability P of the first event E1 can be obtained through the following process 1 and process 2, and then, according to the occurrence probability P of the first event E1, it is determined whether it is necessary to control whether it is necessary to control the connection between the volatile memory and the first event.
  • the target data TD1 related to an event E1 is stored in the non-volatile memory, so as to avoid the situation that the driving data is lost due to the occurrence/occurrence of the first event E1 in the vehicle as much as possible.
  • the event prediction model EFM may indicate a mapping relationship between the first reference data RD1 and the first reference result RR1, which can be obtained by training historical statistical data.
  • the first reference result RR1 may indicate the occurrence probability P 1 of the first event E1 obtained based on the first reference data RD1.
  • the first reference data RD1 can be used as the input of the event prediction model EFM, that is, the first reference data RD1 can be input into the event prediction model EFM, and the first event indicating the first event obtained based on the first reference data RD1 can be obtained.
  • the obtained occurrence probability P 1 of the first event E1 may be 0, 0.1, 0.5, or 0.9, etc. It can be understood that the occurrence probability P1 of the first event E1 is 0, indicating that the first event E1 is unlikely to occur in the vehicle. sex is greater.
  • the occurrence probability threshold value P set of the first event E1 may be set, for example, the occurrence probability threshold value P set of the first event E1 may be set to 0.3.
  • the occurrence probability P 1 of the first event E1 obtained through the process 1 is greater than or equal to 0.3 (ie, P 1 ⁇ 0.3)
  • it indicates that the vehicle has a high possibility of the first event E1 and it can be considered that the vehicle will have the first event.
  • the storage of the target data TD1 related to the first event E1 can be realized through the above-mentioned steps S101 and S102 in time.
  • the auxiliary data AD may include the scene category where the vehicle is located, or include historical event statistical data.
  • the auxiliary data AD may also include the scene category where the vehicle is located and historical event statistical data.
  • auxiliary data AD may also include other data, which is not limited in this application.
  • the scene category may include any one or more of a high-speed scene, an urban scene, a mountain scene, and an extreme weather scene.
  • high-speed scenarios may include high-speed ramp scenarios (vehicles traveling on high-speed ramps), high-speed straight-track scenarios (vehicles traveling on straights without inclines and curvatures), high-speed curve scenarios (vehicles traveling on high-speed curves), and high-speed ramps Scenario (vehicle driving on a high-speed ramp), etc.
  • the urban area scene may include an intersection scene and a non-intersection scene, and the like.
  • the intersection scene may be an intersection scene (the vehicle is driving at the intersection) or the T-junction scene (the vehicle is driving at the T-junction).
  • the non-intersection scene can be a one-way street scene (vehicle driving on a one-way street) or a two-way street scene (vehicle driving on a two-lane road) in an urban road.
  • the mountain scene may include a mountain curve scene (the vehicle is driving on a curve in the mountain), a mountain narrow road scene (the vehicle is driving on a narrow road in the mountain), and a mountain ramp scene (the vehicle is driving on a slope in the mountain). )Wait.
  • the extreme weather scenario may include heavy rain, heavy snow, hail, typhoon, sandstorm, fog, and the like.
  • the scene categories may include high-speed scenes and extreme weather scenes.
  • the scene category may include a mountain scene and an extreme weather scene.
  • the scene category in the auxiliary data AD can be a single scene or a combination of different scenes. Therefore, the accuracy of the second reference result ED2 is further improved by the auxiliary data AD including various scene categories.
  • the historical event statistics data may include one event or multiple events that have occurred in history, and reference data when each event of the one event or multiple events occurs.
  • the historical event statistics may be acquired from a processor outside the vehicle, or acquired from a processor inside the vehicle (ie, the above processor).
  • one or more events that have occurred in history in the historical event statistics may be other than the above vehicle (the above vehicle is a vehicle for which the first event E1 may be predicted to occur, such as vehicle A)
  • the other vehicles which can be multiple vehicles, such as vehicle 1 to vehicle N) have once (ie history) an event or multiple events. It should be noted that, it may be an event that has occurred in each of vehicles 1 to N, or multiple events that have occurred in each of vehicles 1 to N, which is not limited in this embodiment of the present application.
  • the reference data in the historical event statistics data when one event or each of the multiple events occurs may be the perception data, positioning, and positioning of the vehicle 1 to the vehicle N when each of the multiple events occurs.
  • One or more of data, map data, and wireless communication technology data may be used. For the introduction of perception data, positioning data, map data, and wireless communication technology data, reference may be made to the above, and details are not described herein again in this embodiment of the present application.
  • the second reference result RR2 in the above process 2 may indicate the occurrence probability P 2 of the first event E1 obtained based on the first reference data RD1 and the auxiliary data AD.
  • the obtained occurrence probability P2 of the first event E1 may also be 0 , 0.1, 0.5, or 0.9, etc. It can be understood that the occurrence probability P2 of the first event E1 is 0 , indicating that the first event E1 is unlikely to occur in the vehicle. sex is greater.
  • the occurrence probability threshold P set of the first event E1 may be set, for example, the occurrence probability threshold P set of the first event E1 may be set to 0.3.
  • the occurrence probability P 2 of the first event E1 obtained through the process 1 is greater than or equal to 0.3 (ie, P 2 ⁇ 0.3)
  • S102 realizes the storage of the target data TD1 related to the first event E1.
  • the first reference data RD1 and the auxiliary data AD can be used as the input of the event prediction model EFM, that is, the first reference data RD1 and the auxiliary data AD are input into the event prediction model EFM, that is A second reference result RR2 indicating the probability of occurrence of the first event E1 based on the first reference data RD1 and the auxiliary data AD can be obtained.
  • the embodiment of the present application may also control the The target data TD2 related to the event E2 is stored in the non-volatile memory.
  • the process 1000 can be implemented through the following steps S103a and S103b.
  • Step S103a Determine the second event E2 that actually occurs in the vehicle.
  • the second event E2 is an event that actually occurs in the vehicle
  • the first event E1 is an event that is predicted to occur in the vehicle.
  • the second event E2 can also be a traffic accident of a vehicle (for example, a rear-end collision, an overtaking accident, a passing vehicle accident, a pedestrian accident, or any one of a non-motor vehicle accident), One or more of the failure of the vehicle itself and the takeover of the vehicle.
  • the second event E2 is different from the first event E1 above.
  • the first event E1 is that a vehicle has a traffic accident (for example, any one of a rear-end collision, an overtaking accident, a passing-vehicle accident, a pedestrian accident, and a non-motor vehicle accident), and the second event E2 is a vehicle failure (refer to the above introduction).
  • a traffic accident for example, any one of a rear-end collision, an overtaking accident, a passing-vehicle accident, a pedestrian accident, and a non-motor vehicle accident
  • the second event E2 is a vehicle failure (refer to the above introduction).
  • the first event E1 is a traffic accident of the vehicle
  • the second event E2 is a takeover accident of the vehicle (refer to the above description).
  • the first event E1 is a rear-end collision accident of the vehicle
  • the second event E2 is a non-motor vehicle accident of the vehicle.
  • the rear-end collision accident and the non-motor vehicle accident are both traffic accidents caused by vehicles, it can still be determined that the first event E1 is different from the second event E2.
  • the first event E1 is the failure of the vehicle
  • the second event E2 is other situations such as a vehicle takeover accident. This embodiment of the present application does not list them all here, as long as the first event E1 and the second event E2 different.
  • the first reference data RD1 in addition to the above-mentioned target data TD1 related to the first event E1, the first reference data RD1 also contains the target data TD2 related to the second event E2.
  • the target data TD2 related to the second event E2 may also be part of the data in the first reference data RD1, or may be all of the first reference data RD1. data.
  • the target data TD2 related to the second event E2 may also include sensing data and positioning data, or may include sensing data, map data, and wireless communication technology data (ie, include part of the data in the first reference data RD1).
  • the target data TD2 related to the first event RD1 may include sensing data, positioning data, map data and wireless communication technology data (that is, including all the data in the first reference data RD1).
  • the target data TD1 related to the first event RD1 may be different from the target data TD2 related to the second event E2.
  • the first event E1 may be a combination of different types of the types of the first event E1 introduced above
  • the first event E2 may also be a combination of different types of the types of the first event E2 introduced above, so it is different from the first event E2.
  • the target data TD1 related to an event RD1 and the target data TD2 related to the second event E2 may also be partially identical.
  • the first event E1 is that the vehicle has a rear-end collision accident and the vehicle is faulty
  • the second event E2 is that the vehicle has a non-motor vehicle accident and the vehicle is faulty.
  • the first event E1 is different from the second event E2, but since there is a vehicle failure in both the first event E1 and the second event E2, the target data TD1 related to the first event RD1 and the The target data TD2 related to the two events E2 may be partially the same.
  • the data related to the failure of the vehicle in the target data TD1 related to the first event RD1 may be the same as the data related to the failure of the vehicle in the target data TD2 related to the second event E2, and are related to the first event E1.
  • the data related to the rear-end collision accident in the target data TD1 of , and the data related to the non-motor vehicle accident in the target data TD2 related to the second event E2 are different.
  • the first event E1 is that the vehicle has a rear-end collision accident and an overtaking accident at the same time (that is, the vehicle has an overtaking accident during the overtaking process. At the same time, the vehicle also has a rear-end collision accident due to overtaking), and the second event E2 is that the vehicle has a rear-end collision accident.
  • Overtaking accidents and non-motor vehicle accidents occur at the same time (that is, the vehicle has an overtaking accident during the process of overtaking.
  • the vehicle has a non-motor vehicle accident (it can be that the vehicle needs to overtake and the speed is too fast, and then hit a non-motor vehicle).
  • first event E1 and the second event E2 are also different, but since there is an overtaking accident by a vehicle in both the first event E1 and the second event E2, it is different from the first event E1.
  • the associated target data TD1 and the target data TD2 associated with the second event E2 may then be partially identical.
  • the data related to the overtaking accident in the target data TD1 related to the first event E1 may be the same as the data related to the overtaking accident in the target data TD2 related to the second event E2, and the data related to the first event RD1.
  • the data related to the rear-end collision accident in the target data TD1 is different from the data related to the non-motor vehicle accident in the target data TD2 related to the second event E2.
  • Step S103b Control to store the target data TD2 related to the second event E2 from the volatile memory into the non-volatile memory from the volatile memory.
  • step S103b can be performed in the following two manners.
  • Mode A Send the indication information CI2 to the volatile memory.
  • the above-mentioned indication information CI2 is used to instruct to transmit the target data TD2 related to the second event E2 to the non-volatile memory.
  • the processor of the vehicle sends the indication information CI2 to the volatile memory, and then the volatile memory receives the indication information CI2, and transmits the target data TD2 related to the second event E2 to the non-volatile memory for saving.
  • the processor only plays the role of sending the indication information CI2 to the volatile memory. After the volatile memory receives the indication information CI2, the processor no longer participates in the process that the volatile memory transmits the target data TD2 related to the second event E2 to the non-volatile memory for saving.
  • the processor in approach A is coupled with volatile memory, and the volatile memory is coupled with non-volatile memory, and the processor is not coupled with non-volatile memory.
  • Mode B Acquire the target data TD2 related to the second event E2 from the volatile memory, and send the target data TD2 related to the second event E2 to the non-volatile memory.
  • the processor first acquires the target data TD2 related to the second event E2 stored in the volatile memory, and then the processor sends the acquired target data TD2 related to the second event E2 to the non-volatile memory. to save.
  • the processor participates in the whole process in the way B, and plays a leading role. That is, the processor not only plays the role of acquiring the target data TD2 related to the second event E2 from the volatile memory, but also plays the role of sending the acquired target data TD2 related to the second event E2 to the non-volatile memory the role of preservation.
  • the processor in approach B is coupled with volatile memory, and coupled with non-volatile memory, and volatile memory is not coupled with non-volatile memory.
  • step S103a2 may also be performed in other manners than the above two manners, which is not limited in this embodiment of the present application.
  • the embodiment of the present application does not need to store the target data TD2 from the volatile memory related to the second event E2 from the volatile memory to the non-volatile memory.
  • step S102 in this embodiment of the present application one or more processes of locking, encryption, time stamping and compression may also be performed on the target data TD1 related to the first event E1.
  • one or more processes of unlocking, decrypting and erasing the target data TD1 related to the first event E1 in the non-volatile memory may be performed.
  • FIG. 11 is another schematic flowchart of the data management method provided by the embodiment of the present application. As shown in FIG. 11, process 1100 can be implemented by the following steps.
  • Step S1101 Obtain the occurrence probability P of the first event E1 according to the first reference data RD1.
  • Step S1102 Control to store the first reference data RD1 in the volatile memory.
  • Step S1103 Control to store the target data TD1 related to the first event E1 from the volatile memory to the non-volatile memory.
  • Step S1104 Perform a first process (such as one or more processes of locking, encryption, time stamping and compression) on the target data TD1 related to the first event E1.
  • a first process such as one or more processes of locking, encryption, time stamping and compression
  • Step S1105 Determine whether the second event E2 is the same as the first event, if so, go to step S1106, otherwise, go to step S1107.
  • Step S1106 Control to store the target data TD2 related to the second event E2 in the non-volatile memory.
  • Step S1107 If the vehicle does not have the first event E1 after a preset period of time (such as 24 hours), perform second processing (such as unlocking, decrypting) on the target data TD1 related to the first event E1 in the non-volatile memory. , erase one or more of the processes).
  • a preset period of time such as 24 hours
  • second processing such as unlocking, decrypting
  • steps S1101 to S1107 may be implemented with reference to the above related introduction.
  • step S1107 if the first event E1 does not occur in the vehicle within a preset time period (such as 24 hours), it means that the vehicle is even less likely to occur the first event E1 after the preset time period (such as 24 hours).
  • a preset time period such as 24 hours
  • one or more processes of unlocking, decrypting, and erasing the target data TD1 in the non-volatile memory related to the first event E1 can be performed.
  • FIG. 12 is a schematic structural diagram of a data management apparatus provided by an embodiment of the present application.
  • the data management device 120 may be a device with a data management function, such as a management chip, a vehicle, a management chip in a vehicle, and the like.
  • the data management apparatus 120 may include a processor 121 .
  • the processor 121 is configured to control to store the first reference data RD1 in the volatile memory, and control to store the target data TD1 related to the first event E1 from the volatile memory to the volatile memory. non-volatile memory.
  • the first reference data RD1 also includes target data TD1 related to the first event E1.
  • target data TD1 related to the first event E1 For the detailed introduction of the first reference data RD1 and the target data TD1 related to the first event E1, reference may be made to the foregoing description, which will not be repeated in this embodiment of the present application.
  • the processor 121 may also store the target data TD1 related to the first event E1 from the volatile memory to the non-volatile memory through the following two controls.
  • Mode 1 Send the indication information CI1 to the volatile memory.
  • Mode 2 Acquire the target data TD1 related to the first event E1 from the volatile memory, and send the target data TD1 related to the first event E1 to the non-volatile memory.
  • the processor 121 may include a prediction module 1211 and a processing module 1212 .
  • the processor 121 implements the storage of the target data TD1 related to the first event E1 through the above method 1.
  • the prediction module 1211 can, according to the first reference data RD1 and auxiliary data AD (including scene categories and historical event statistics, refer to the above introduction) from the related equipment on the vehicle, through the above process 1 or Process 2 (refer to the introduction above) obtains the occurrence probability P for indicating the first event.
  • the processing module 1212 After the prediction module 1211 obtains the occurrence probability P used to indicate the first event, the processing module 1212 sends the indication information CI to the control volatile memory A according to the occurrence probability P used to indicate the first event, and the volatile memory A receives the information CI. After receiving the indication information AI from the processing module 1212, the volatile memory A stores the target data TD1 related to the first event E1 to the non-volatile memory B.
  • the processor 121 can also implement the storage of the target data TD1 related to the first event E1 through the above manner 2.
  • the prediction module 1211 can, according to the first reference data RD1 and auxiliary data AD (including scene categories and historical event statistics, refer to the above introduction) from the related equipment on the vehicle, through the above process 1 or Process 2 (refer to the introduction above) obtains the occurrence probability P for indicating the first event.
  • the processing module 1212 obtains the target data TD1 related to the first event E1 from the volatile memory A according to the occurrence probability P used to indicate the first event, And the target data TD1 related to the first event E1 is sent to the non-volatile memory B.
  • the processor 121 can control the target data TD1 related to the first event E1 to be stored in the non-volatile memory.
  • the target data TD1 is locked, encrypted, time stamped and compressed.
  • the processor 121 controls the target data TD2 related to the second event E2 to be stored in the non-volatile memory.
  • the processor 121 stores the target data related to the first event E1 in the non-volatile memory TD1 performs one or more processes of unlocking, decrypting, and erasing.
  • FIG. 15 is a schematic structural diagram of a data management apparatus provided by an embodiment of the present application. As shown in FIG. 15 , the data management apparatus 150 includes an interface circuit 151 and at least one processor 152. Interface circuit 151 is coupled to processor 152 .
  • the interface circuit 151 may include an interface circuit 1511 .
  • the interface circuit 1511 is coupled with volatile memory.
  • the processor 152 since the processor 152 sends the indication information CI1 to the volatile memory through 1511, the indication information CI1 is used to instruct the volatile memory to transfer the target data TD1 related to the first event E1 to the non-volatile memory. , so, as shown in FIG. 16 , the processor 152 is only coupled with the volatile memory A through the interface circuit 151 , and the volatile memory A is coupled with the non-volatile memory B.
  • the interface circuit 151 may include an interface circuit 1511 and interface circuit 1512.
  • the processor 152 is coupled to the volatile memory A through the interface circuit 1511 , and is coupled to the non-volatile memory B through the interface circuit 1512 .
  • processor 152 in the data management apparatus 150 is the same as the processor 121 in the data management apparatus 120, and both are used to execute the above-mentioned steps 101 and S102.
  • the processor mentioned in the above embodiments may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable Field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • DSP digital signal processor
  • ASIC application-specific integrated circuit
  • FPGA field programmable Field programmable gate array
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the steps of the methods disclosed in the embodiments of the present application may be directly embodied as executed by a hardware coding processor, or executed by a combination of hardware and software modules in the coding processor.
  • the software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art.
  • the storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware.
  • the non-volatile memory mentioned in the above embodiments can be read-only memory (read-only memory, ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM) , EPROM), electrically erasable programmable read-only memory (electrically EPROM, EEPROM), flash memory (ie flash memory), or solid state disk (solid state disk, SSD).
  • Volatile memory may be random access memory (RAM), which acts as an external cache.
  • RAM random access memory
  • DRAM dynamic random access memory
  • SDRAM synchronous DRAM
  • SDRAM double data rate synchronous dynamic random access memory
  • ESDRAM enhanced synchronous dynamic random access memory
  • SLDRAM synchronous link dynamic random access memory
  • direct rambus RAM direct rambus RAM
  • an embodiment of the present application provides a terminal device, and the terminal device may include the data management apparatus 120 or the data management apparatus 150 mentioned in the foregoing embodiments.
  • the terminal device may be an intelligent transportation device (that is, a vehicle in this embodiment of the present application), and may also be a robot.
  • an embodiment of the present application provides a computer-readable storage medium, where an instruction is stored in the computer-readable storage medium, and when the instruction is run on a computer, it is used to execute and implement the above-mentioned embodiments.
  • the data management method of the data management device 120 in the above, or the data management method of the data management device 150 in the above-mentioned embodiment is executed.
  • the embodiment of the present application provides a computer program product, and the computer program product contains instructions, when the instructions are executed on a computer or a processor, the computer or the processor is made to implement the above-mentioned embodiments.
  • the data management method of the data management apparatus 120, or the data management method of the data management apparatus 150 in the above-mentioned embodiment is implemented.
  • the vehicle may be an autonomous vehicle (autonomous vehicle), or a vehicle driven by a driver, or may be a vehicle of other forms, and the embodiment of the present application does not limit the form of the vehicle.
  • an autonomous vehicle also known as a driverless car, a computer-driven car or a wheeled mobile robot
  • a vehicle that relies on artificial intelligence (AI), visual computing (computational theory), radar, lidar,
  • AI artificial intelligence
  • visual computing computational theory
  • radar lidar
  • the monitoring device and the global positioning system GPS can realize the unmanned intelligent car through the computer system without any human active operation.
  • a vehicle driven by a driver is relatively common, and will not be further described in this embodiment of the present application.
  • the driving data that needs to be stored is often proportional to the degree of vehicle automation, that is to say, the higher the degree of automation of the self-driving vehicle, the larger the scale of driving data that needs to be stored.
  • current partially autonomous vehicles can generate several terabytes or even hundreds of terabytes of data per day.
  • the above-mentioned embodiments of the present application are suitable for managing large-scale driving data generated by autonomous driving vehicles and scenarios with high requirements for real-time storage. Of course, it is also suitable for managing small-scale driving data generated by vehicles, as well as scenarios that do not require high real-time storage requirements. It should be noted that, in addition to the above scenarios, the above embodiments of the present application may also be applied to other scenarios where driving data needs to be stored, and the embodiments of the present application do not limit the applicable scenarios.
  • the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present application. implementation constitutes any limitation.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of units is only a logical function division.
  • there may be other division methods for example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • Units described as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)

Abstract

Provided are a data management method and apparatus, and a terminal device, which are capable of effectively managing data and preventing the loss of data stored in a volatile memory, and which are especially applicable to a scenario in which real-time requirements for data management are relatively high. The present invention may also extend the service life of a volatile memory. The data management method comprises: first, contained target data which is related to an event that may occur in a vehicle is controlled to be stored in a volatile memory, and then the target data related to the event that may occur in the vehicle is directly or indirectly controlled to be stored in a non-volatile memory.

Description

数据管理方法、装置和终端设备Data management method, apparatus and terminal device 技术领域technical field
本申请涉及存储技术领域,并且更具体地,涉及存储技术领域中的数据管理方法、装置和终端设备。The present application relates to the field of storage technology, and more particularly, to a data management method, apparatus and terminal device in the field of storage technology.
背景技术Background technique
随着交通路况的日益复杂,智能运输设备(如车辆(vehicles))发生事故的概率也越来越大。车辆在发生事故前后一定时间区间内的行驶数据,如传感器数据、车辆状态数据和车辆动力学数据等,对于事故原因分析、事故现场还原和事故责任评定都有着至关重要的作用。With the increasing complexity of traffic conditions, the probability of accidents of intelligent transportation devices (such as vehicles) is also increasing. The driving data of the vehicle within a certain time interval before and after the accident, such as sensor data, vehicle state data and vehicle dynamics data, etc., play a vital role in the analysis of the cause of the accident, the restoration of the accident scene and the assessment of the responsibility of the accident.
然而,在车辆发生上述事件的情况下,可能会出现数据(如车辆的行驶数据)丢失的情况。数据的丢失会对后续的事故原因分析、事故现场还原和事故责任评定不利。因此,亟需提供一种能够进行数据有效管理的技术方案。However, in the event of the above-mentioned event in the vehicle, there may be a situation in which data (such as the driving data of the vehicle) is lost. The loss of data will be detrimental to subsequent accident cause analysis, accident scene restoration and accident liability assessment. Therefore, there is an urgent need to provide a technical solution capable of effectively managing data.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种数据管理方法和装置,能够对数据进行有效管理,且尽可能避免由于出现车辆发生事故、车辆故障或者接管事故等事件导致的数据丢失的情况。The embodiments of the present application provide a data management method and device, which can effectively manage data and avoid data loss due to events such as vehicle accidents, vehicle failures, or takeover accidents as much as possible.
第一方面,本发明实施例提供一种数据管理方法,包括:控制将第一参考数据存储到易失性存储器,第一参考数据包含与第一事件相关的目标数据;控制将来自易失性存储器的与第一事件相关的目标数据存储到非易失性存储器。In a first aspect, an embodiment of the present invention provides a data management method, including: controlling first reference data to be stored in a volatile memory, where the first reference data includes target data related to a first event; The target data of the memory related to the first event is stored to the non-volatile memory.
与通过事故数据记录器实现数据管理的技术方案以及通过持续保存且持续擦除的方式实现行驶数据管理的技术方案相比,本申请实施例提供的数据管理方法能够对数据进行有效管理,且可以最大程度的避免出现数据丢失的情况。Compared with the technical solution of realizing data management through accident data recorder and the technical solution of realizing driving data management through continuous storage and continuous erasing, the data management method provided by the embodiment of the present application can effectively manage data, and can Avoid data loss to the greatest extent possible.
在一种可能的实现方式中,控制将来自易失性存储器的与第一事件相关的目标数据存储到非易失性存储器,包括:向易失性存储器发送指示信息,指示信息用于指示将与第一事件相关的目标数据传输到非易失性存储器中;或者,获取来自易失性存储器的与第一事件相关的目标数据,并发送与第一事件相关的目标数据到非易失性存储器中。In a possible implementation manner, controlling to store the target data related to the first event from the volatile memory to the non-volatile memory includes: sending indication information to the volatile memory, where the indication information is used to instruct The target data related to the first event is transmitted to the non-volatile memory; or, the target data related to the first event is obtained from the volatile memory, and the target data related to the first event is sent to the non-volatile memory in memory.
上述控制将来自易失性存储器的与第一事件相关的目标数据存储到非易失性存储器的两种方式,可以对任何规模的行驶数据(即对行驶数据的数据量无限制)实现管理,且 对行驶数据存储的实时性无要求(也就是说,不仅能够适用于对存储实时性要求不高的场景,还可以适用于对存储实时性要求高的场景)。且本申请实施例无需对非易失性存储器进行多次擦除等,能够延长非易失性存储器的运行寿命。The above control stores the target data related to the first event from the volatile memory to the non-volatile memory in two ways, which can manage the driving data of any scale (that is, there is no limit to the data amount of the driving data), And there is no requirement for real-time storage of driving data (that is, it can be applied not only to scenarios that do not require high real-time storage requirements, but also to scenarios that require high real-time storage requirements). In addition, the embodiments of the present application do not need to perform multiple erasing of the non-volatile memory, etc., and can prolong the operating life of the non-volatile memory.
在一种可能的实现方式中,第一参考数据包括感知数据、定位数据、地图数据和无线通信技术数据中的至少一项。In a possible implementation manner, the first reference data includes at least one of perception data, positioning data, map data, and wireless communication technology data.
本申请实施例可以将感知数据、定位数据、地图数据和无线通信技术数据等数据都存储到易失性存储器,能够提高行驶数据管理的可靠性。In the embodiments of the present application, data such as perception data, positioning data, map data, and wireless communication technology data can be stored in a volatile memory, which can improve the reliability of driving data management.
示例的,感知数据可以通过设置在车辆上的摄像头camera、气象雷达、雷达radar、超声波雷达或者激光雷达lidar等感知设备中的一个或多个获取。定位数据可以通过设置在车辆上的全球定位系统对车辆进行定位得到。地图数据可以为通过摄像头camera拍摄的道路结构、标识牌、信号灯、建筑物和绿化带等数据。无线通信技术数据可以是通过车辆上安装的通信模块获得的车辆(如车辆A)与另一车辆(如车辆B)、车辆A与路边设施、车辆A与通信卫星等传输数据。For example, the perception data may be acquired by one or more perception devices such as a camera, a weather radar, a radar, an ultrasonic radar, or a lidar installed on the vehicle. The positioning data can be obtained by positioning the vehicle through the global positioning system installed on the vehicle. The map data can be data such as road structures, signs, signal lights, buildings and green belts captured by the camera. The wireless communication technology data may be data transmitted between a vehicle (eg, vehicle A) and another vehicle (eg, vehicle B), vehicle A and roadside facilities, vehicle A and communication satellites, etc., obtained through a communication module installed on the vehicle.
由上述介绍可知,第一参考数据RD1中的感知数据、定位数据、地图数据和无线通信技术数据等的获取方式较简单,进而使本申请实施例提供的数据管理方法易于实现。It can be seen from the above description that the acquisition methods of sensing data, positioning data, map data, wireless communication technology data, etc. in the first reference data RD1 are relatively simple, thereby making the data management method provided by the embodiment of the present application easy to implement.
在一种可能的实现方式中,上述第一方面提供的数据管理方法还包括:通过事件预测模型和第一参考数据,获取第一参考结果,第一参考结果用于指示基于第一参考数据得到的第一事件的发生概率。In a possible implementation manner, the data management method provided in the first aspect further includes: obtaining a first reference result through the event prediction model and the first reference data, where the first reference result is used to indicate that the first reference data is obtained based on the first reference data. the probability of occurrence of the first event.
在一种可能的实现方式中,上述第一方面提供的数据管理方法还包括:通过第一参考数据和辅助数据,获取第二参考结果,第二参考结果用于指示基于第一参考数据和辅助数据得到的第一事件的发生概率,辅助数据包括终端所处的场景类别和/或历史事件统计数据,场景类别包括高速场景、城区场景、山区场景和极端天气场景中的至少一项,历史事件统计数据包括历史发生的至少一次事件和发生至少一次事件中的每次事件时的参考数据。In a possible implementation manner, the data management method provided by the first aspect further includes: obtaining a second reference result by using the first reference data and the auxiliary data, where the second reference result is used to indicate that the first reference data and the auxiliary data are based on the first reference data and the auxiliary data. The probability of occurrence of the first event obtained from the data, the auxiliary data includes the scene category where the terminal is located and/or historical event statistics, the scene category includes at least one of high-speed scenes, urban scenes, mountain scenes and extreme weather scenes, historical events The statistical data includes historically occurring at least one event and reference data when each of the at least one event occurred.
由于第一参考结果指示基于第一参考数据得到的第一事件的发生概率,第二参考结果用于指示基于第一参考数据和辅助数据得到的第一事件的发生概率,所以可以认为本申请实施例是通过预测的手段得到第一参考结果和第二参考结果的。进而根据第一事件的发生概率确定是否需要控制将来自易失性存储器的与第一事件相关的目标数据存储到非易失性存储器,能够尽可能避免出现在车辆出现/发生第一事件导致行驶数据丢失的情况。Since the first reference result indicates the probability of occurrence of the first event obtained based on the first reference data, and the second reference result is used to indicate the probability of occurrence of the first event obtained based on the first reference data and the auxiliary data, it can be considered that the present application implements For example, the first reference result and the second reference result are obtained by means of prediction. Then, according to the occurrence probability of the first event, it is determined whether it is necessary to control the storage of the target data related to the first event from the volatile memory to the non-volatile memory, so as to avoid the occurrence of the first event in the vehicle as much as possible and cause driving case of data loss.
而且,上述辅助数据中的场景类别可以为单一的场景,也可以为不同场景的组合,因此,通过包含各种场景类别的辅助数据进一步提高第二参考结果的准确性。Moreover, the scene category in the above auxiliary data may be a single scene or a combination of different scenes. Therefore, the accuracy of the second reference result is further improved by including the auxiliary data of various scene categories.
基于第一方面,在一种可能的实现方式中,与第一事件相关的目标数据对应第一事件 的类型和预先定义的数据信息。Based on the first aspect, in a possible implementation manner, the target data related to the first event corresponds to the type of the first event and predefined data information.
由于第一事件的类型和与第一事件相关的目标数据之间存在映射关系,所以基于第一事件的类型得到的与第一事件相关的目标数据准确性较高。Since there is a mapping relationship between the type of the first event and the target data related to the first event, the accuracy of the target data related to the first event obtained based on the type of the first event is high.
示例的,第一事件的类型包括追尾事故、超车事故、会车事故、行人事故、非机动车事故、车辆故障和接管事故中的至少一项。Exemplarily, the type of the first event includes at least one of a rear-end collision accident, an overtaking accident, a passing vehicle accident, a pedestrian accident, a non-motor vehicle accident, a vehicle failure, and a takeover accident.
上述第一事件E1的类型不仅考虑了车辆发生的交通事故(即追尾事故、超车事故、会车事故、行人事故和非机动车事故),且考虑了车辆本身出现故障以及车辆接管事故,也就是第一事件的类型基本涵盖了车辆可能发生/出现的所有事件,因此,本申请实施例提供的数据管理方法能够适用于所有因为车辆可能发生/出现的事件而需要对行驶数据进行存储的场景,应用范围广泛。The above-mentioned type of the first event E1 not only considers the traffic accidents (ie rear-end collisions, overtaking accidents, passing-vehicle accidents, pedestrian accidents and non-motor vehicle accidents), but also considers the failure of the vehicle itself and the vehicle takeover accident, that is, The type of the first event basically covers all events that may occur/occur in the vehicle. Therefore, the data management method provided in the embodiment of the present application can be applied to all scenarios where the driving data needs to be stored because of the events that may occur/occur in the vehicle, Wide range of applications.
示例的,数据信息包括数据类型和时间区间。数据类型包括传感器数据、终端状态数据和终端动力学数据中的至少一项,时间区间为第一时间节点和第二时间节点之间的时间区间。Exemplarily, the data information includes a data type and a time interval. The data type includes at least one of sensor data, terminal state data and terminal dynamics data, and the time interval is the time interval between the first time node and the second time node.
需要说明的是,第一时间节点为以下各项中的任一项:发生第一事件前的时间节点、发生第一事件中的时间节点和发生第一事件后的时间节点,第二时间节点为以下各项中的任一项:发生第一事件前的时间节点、发生第一事件中的时间节点和发生第一事件后的时间节点。It should be noted that the first time node is any one of the following items: the time node before the occurrence of the first event, the time node in the occurrence of the first event and the time node after the occurrence of the first event, the second time node is any one of the following: a time node before the occurrence of the first event, a time node during the occurrence of the first event, and a time node after the occurrence of the first event.
可以理解的,只要车辆处于第一事件E1的发生过程(为一个时间区间(如5秒),由车辆发生第一事件E1的起始时刻t1和结束时刻t2决定),就可以认为是发生第一事件E1中。进而,发生第一事件E1前就表征车辆发生第一事件E1的起始时刻t1之前,发生第一事件E1后就表征车辆发生第一事件E1的结束时刻t2之后。It can be understood that as long as the vehicle is in the process of the occurrence of the first event E1 (for a time interval (such as 5 seconds), which is determined by the starting time t1 and the ending time t2 when the first event E1 occurs in the vehicle), it can be considered that the first event occurred. In an event E1. Furthermore, before the occurrence of the first event E1 means before the start time t1 at which the first event E1 occurs in the vehicle, and after the occurrence of the first event E1 means after the end time t2 at which the first event E1 occurs in the vehicle.
本申请实施例根据第一时间节点T1和第二时间节点T2确定的时间区间涵盖了所有可能产生行驶数据的时刻,进而,可以通过不同的需求,有针对性的对相应时间区间的行驶数据进行存储。The time interval determined according to the first time node T1 and the second time node T2 in the embodiment of the present application covers all the moments at which driving data may be generated, and further, the driving data in the corresponding time interval can be targeted according to different requirements. storage.
在一种可能的实现方式中,传感器数据包括以下各项中的一项或者多项:终端周围的至少一个目标的位置、至少一个目标的速度、至少一个目标的体积、气象数据、光照数据、摄像头数据或者雷达数据。In a possible implementation manner, the sensor data includes one or more of the following items: the position of at least one target around the terminal, the speed of the at least one target, the volume of the at least one target, meteorological data, illumination data, Camera data or radar data.
其中,目标的位置、目标的速度、目标的体积、气象数据、光照数据或雷达数据中的一项或者多项可以通过车辆上设置的雷达radar、超声波雷达或者激光雷达lidar中的一项或者多项探测到。摄像头数据(如信号灯、标识牌、目标的类型(可以是非机动车、绿化带等)和目标的位置等)可以通过设置在车辆上的摄像头camera(如前置摄像头)获取。Among them, one or more of the position of the target, the speed of the target, the volume of the target, meteorological data, illumination data or radar data can be obtained through one or more of the radar, ultrasonic radar or lidar set on the vehicle. item detected. Camera data (such as signal lights, signs, target types (can be non-motor vehicles, green belts, etc.) and target locations, etc.) can be obtained through a camera (such as a front-facing camera) installed on the vehicle.
上述所有传感器数据均可以通过设置在车上的传感器设备(如上述的雷达radar、超 声波雷达和激光雷达lidar等)获取,也就是传感器数据的获取过程较便捷,提高了数据信息中准确性,进一步提高了与第一事件E1相关的目标数据TD1的准确性。All the above sensor data can be obtained through the sensor equipment (such as the above-mentioned radar radar, ultrasonic radar and lidar lidar, etc.) installed on the vehicle, that is, the acquisition process of the sensor data is more convenient, which improves the accuracy of the data information, and further. The accuracy of the target data TD1 related to the first event E1 is improved.
在另一种可能的实现方式中,终端状态数据包括以下各项中的一项或者多项:终端的行驶速度、行驶加速度、加速踏板开度、制动踏板开度、转向盘角度、转向扭矩或者灯光状态。In another possible implementation manner, the terminal state data includes one or more of the following items: terminal driving speed, driving acceleration, accelerator pedal opening, brake pedal opening, steering wheel angle, steering torque or light status.
其中,灯光状态可以包括车辆处于照明状态(即车辆的灯(如前照灯)处于打开状态),或者车辆处于非照明状态(即车辆的灯(如前照灯)处于关闭状态)。The light state may include that the vehicle is in an illuminated state (ie, the vehicle's lights (eg, headlights) are turned on), or the vehicle is in a non-illuminated state (ie, the vehicle's lights (eg, headlights) are turned off).
上述终端状态数据为车辆自身的数据,获取过程也比较便捷,同样可以提高数据信息中准确性,进而提高与第一事件E1相关的目标数据TD1的准确性。The above-mentioned terminal state data is the data of the vehicle itself, and the acquisition process is also convenient, which can also improve the accuracy of the data information, thereby improving the accuracy of the target data TD1 related to the first event E1.
在另一种可能的实现方式中,终端动力学数据包括终端的质量信息和/或制动延迟参数。In another possible implementation manner, the terminal dynamics data includes quality information and/or braking delay parameters of the terminal.
其中,车辆的质量信息表征车辆的重量,车辆的制动延迟参数用于表征驾驶员踩下制动踏板的时刻到车辆开始减速的时刻之间的时间区间,可以为数毫秒,或者数秒。The mass information of the vehicle represents the weight of the vehicle, and the braking delay parameter of the vehicle is used to represent the time interval between the moment when the driver depresses the brake pedal and the moment when the vehicle starts to decelerate, which can be several milliseconds or several seconds.
在一种可能的实现方式中,第一方面提供的数据管理方法还包括:确定发生第二事件;控制将来自于易失性存储器的与第二事件相关的目标数据从易失性存储器存储到非易失性存储器中;In a possible implementation manner, the data management method provided by the first aspect further includes: determining that a second event occurs; controlling to store target data related to the second event from the volatile memory from the volatile memory to the in non-volatile memory;
其中,第二事件与第一事件不同,第一参考数据还包含与第二事件相关的目标数据。第二事件的类型包括追尾事故、超车事故、会车事故、行人事故、非机动车事故、车辆故障和接管事故中的至少一项。Wherein, the second event is different from the first event, and the first reference data further includes target data related to the second event. The type of the second event includes at least one of a rear-end collision, an overtaking accident, a passing vehicle accident, a pedestrian accident, a non-motor vehicle accident, a vehicle breakdown, and a takeover accident.
需要说明的是,由于第一事件与第二事件不同,所以与第一事件相关的目标数据可以和与第二事件相关的目标数据不同。但是,又由于第一事件可以是前文介绍的第一事件的类型中不同类型的组合,第一事件也可以是前文介绍的第一事件的类型中不同类型的组合,所以与第一事件相关的目标数据和与第二事件相关的目标数据也可以部分相同。It should be noted that, since the first event is different from the second event, the target data related to the first event may be different from the target data related to the second event. However, since the first event may be a combination of different types among the types of the first event introduced above, and the first event may also be a combination of different types of the types of the first event introduced above, the first event-related The target data and the target data related to the second event may also be partially identical.
还需要说明的是,如果上述的第二事件为车辆发生交通事故(例如追尾事故、超车事故、会车事故、行人事故、非机动车事故中的任一项)、车辆本身产生故障和车辆发生接管事故以外的其他事件,本申请实施例无需将来自于易失性存储器的与第二事件相关的目标数据从易失性存储器存储到非易失性存储器中。It should also be noted that if the above-mentioned second event is any one of a vehicle accident (such as a rear-end collision, an overtaking accident, a passing vehicle accident, a pedestrian accident, and a non-motor vehicle accident), the vehicle itself malfunctions and the vehicle occurs Taking over events other than the accident, the embodiment of the present application does not need to store the target data related to the second event from the volatile memory into the non-volatile memory from the volatile memory.
在一种可能的实现方式中,第一方面提供的数据管理方法还包括:对与第一事件相关的目标数据进行第一处理,第一处理包括加锁、加密、打时间戳和压缩中的至少一项。In a possible implementation manner, the data management method provided by the first aspect further includes: performing a first process on the target data related to the first event, where the first process includes locking, encryption, time stamping, and compression. at least one.
在一种可能的实现方式中,若在预设的时长内未发生第一事件,第一方面提供的数据管理方法还包括:对与第一事件相关的目标数据进行第二处理,第二处理包括解锁、解密和/或擦除。In a possible implementation manner, if the first event does not occur within a preset period of time, the data management method provided by the first aspect further includes: performing second processing on the target data related to the first event, and the second processing Including unlocking, decrypting and/or erasing.
第二方面,本申请实施例提供了一种数据管理装置。该数据管理装置包括处理器。处理器用于:控制将第一参考数据存储到易失性存储器,第一参考数据包含与第一事件相关的目标数据;控制将来自易失性存储器的与第一事件相关的目标数据存储到非易失性存储器。In a second aspect, an embodiment of the present application provides a data management apparatus. The data management apparatus includes a processor. The processor is used to: control to store the first reference data in the volatile memory, the first reference data includes target data related to the first event; control to store the target data related to the first event from the volatile memory to the non-volatile memory volatile memory.
在一种可能的实现方式中,处理器用于:In one possible implementation, the processor is used to:
向易失性存储器发送指示信息,指示信息用于指示将与第一事件相关的目标数据传输到非易失性存储器中;或者,sending indication information to the volatile memory, where the indication information is used to instruct the target data related to the first event to be transferred to the non-volatile memory; or,
获取来自易失性存储器的与第一事件相关的目标数据,并发送与第一事件相关的目标数据到非易失性存储器中。The target data related to the first event is acquired from the volatile memory, and the target data related to the first event is sent to the non-volatile memory.
在一种可能的实现方式中,第一参考数据包括感知数据、定位数据、地图数据和无线通信技术数据中的至少一项。In a possible implementation manner, the first reference data includes at least one of perception data, positioning data, map data, and wireless communication technology data.
在一种可能的实现方式中,处理器还用于:通过事件预测模型和第一参考数据,获取第一参考结果,第一参考结果用于指示基于第一参考数据得到的第一事件的发生概率。In a possible implementation manner, the processor is further configured to: obtain a first reference result through the event prediction model and the first reference data, where the first reference result is used to indicate the occurrence of the first event obtained based on the first reference data probability.
在一种可能的实现方式中,处理器还用于:通过第一参考数据和辅助数据,获取第二参考结果,第二参考结果用于指示基于第一参考数据得到的第一事件的发生概率,辅助数据包括终端所处的场景类别和/或历史事件统计数据,场景类别包括高速场景、城区场景、山区场景和极端天气场景中的至少一项,历史事件统计数据包括历史发生的至少一次事件和发生至少一次事件中的每次事件时的参考数据。In a possible implementation manner, the processor is further configured to: obtain a second reference result by using the first reference data and the auxiliary data, where the second reference result is used to indicate the occurrence probability of the first event obtained based on the first reference data , the auxiliary data includes the scene category where the terminal is located and/or historical event statistics, the scene category includes at least one of high-speed scenes, urban scenes, mountain scenes and extreme weather scenes, and the historical event statistics include at least one event that occurred in history and reference data when each of the at least one event occurs.
在一种可能的实现方式中,与第一事件相关的目标数据对应第一事件的类型和预先定义的数据信息;其中,第一事件的类型包括追尾事故、超车事故、会车事故、行人事故、非机动车事故、车辆故障和接管事故中的至少一项,数据信息包括数据类型和时间区间,数据类型包括传感器数据、终端状态数据和终端动力学数据中的至少一项,时间区间为第一时间节点和第二时间节点之间的时间区间;其中,第一时间节点为以下各项中的任一项:发生第一事件前的时间节点、发生第一事件中的时间节点和发生第一事件后的时间节点,第二时间节点为以下各项中的任一项:发生第一事件前的时间节点、发生第一事件中的时间节点和发生第一事件后的时间节点。In a possible implementation manner, the target data related to the first event corresponds to the type of the first event and pre-defined data information; wherein, the type of the first event includes rear-end collision, overtaking accident, car-meeting accident, and pedestrian accident , at least one of non-motor vehicle accidents, vehicle failures and takeover accidents, the data information includes data type and time interval, the data type includes at least one of sensor data, terminal state data and terminal dynamics data, and the time interval is the first A time interval between a time node and a second time node; wherein, the first time node is any one of the following: the time node before the occurrence of the first event, the time node in the occurrence of the first event, and the occurrence of the first event. A time node after an event, and a second time node is any one of the following: a time node before the occurrence of the first event, a time node during the occurrence of the first event, and a time node after the occurrence of the first event.
在一种可能的实现方式中,传感器数据包括以下各项中的一项或多项:终端周围的至少一个目标的位置、至少一个目标的速度、至少一个目标的体积、气象数据、摄像头数据或者雷达数据。In one possible implementation, the sensor data includes one or more of the following: the position of at least one target around the terminal, the velocity of the at least one target, the volume of the at least one target, meteorological data, camera data, or Radar data.
终端状态数据包括以下各项中的一项或多项:终端的行驶速度、行驶加速度、加速踏板开度、制动踏板开度、转向盘角度、转向扭矩或者灯光状态。The terminal status data includes one or more of the following: the terminal's driving speed, driving acceleration, accelerator pedal opening, brake pedal opening, steering wheel angle, steering torque, or light status.
终端动力学数据包括终端的质量信息和/或制动延迟参数。Terminal dynamics data includes quality information and/or braking delay parameters for the terminal.
在一种可能的实现方式中,处理器还用于:确定发生第二事件,第二事件与第一事件不同,第一参考数据还包含与第二事件相关的目标数据;控制将来自于易失性存储器的与第二事件相关的目标数据从易失性存储器存储到非易失性存储器中。In a possible implementation manner, the processor is further configured to: determine that a second event occurs, the second event is different from the first event, and the first reference data further includes target data related to the second event; Target data of the volatile memory related to the second event is stored from the volatile memory into the non-volatile memory.
其中,第二事件的类型包括追尾事故、超车事故、会车事故、行人事故、非机动车事故、车辆故障和接管事故中的至少一项。The type of the second event includes at least one of a rear-end collision, an overtaking accident, a passing vehicle accident, a pedestrian accident, a non-motor vehicle accident, a vehicle failure, and a takeover accident.
在一种可能的实现方式中,处理器还用于:对与第一事件相关的目标数据进行第一处理,第一处理包括加锁、加密、打时间戳和压缩中的至少一项。In a possible implementation manner, the processor is further configured to: perform first processing on the target data related to the first event, where the first processing includes at least one of locking, encryption, time stamping and compression.
在一种可能的实现方式中,若在预设的第一时长内未发生第一事件,处理器还用于:对与第一事件相关的目标数据进行第二处理,第二处理包括解锁、解密和/或擦除。In a possible implementation manner, if the first event does not occur within the preset first time period, the processor is further configured to: perform second processing on the target data related to the first event, where the second processing includes unlocking, Decrypt and/or Erase.
第三方面,本申请实施例提供了一种数据管理装置,包括接口电路和上述第二方面中的处理器,接口电路与处理器耦合。In a third aspect, an embodiment of the present application provides a data management apparatus, including an interface circuit and the processor in the second aspect above, where the interface circuit is coupled to the processor.
在一种可能的实现方式中,接口电路用于连接非易失性存储器或者易失性存储器中的至少一个。In a possible implementation, the interface circuit is used to connect at least one of a non-volatile memory or a volatile memory.
第四方面,本申请实施例提供了一种终端设备,包括上述第二方面提供的数据管理装置,或者包括上述第三方面提供的数据管理装置。In a fourth aspect, an embodiment of the present application provides a terminal device, including the data management apparatus provided in the foregoing second aspect, or the data management apparatus provided in the foregoing third aspect.
在一种可能的实现方式中,终端设备为智能运输设备或机器人。In a possible implementation manner, the terminal device is an intelligent transportation device or a robot.
第五方面,本申请实施例提供了一种计算机可读存储介质,计算机可读存储介质中存储有指令,当指令在计算机上运行时,用于执行上述第一方面及其可能的实现方式中的方法。In a fifth aspect, embodiments of the present application provide a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are run on a computer, are used to execute the first aspect and possible implementations thereof. Methods.
第六方面,本申请实施例提供了一种计算机程序产品,计算机程序产品中包含指令,当指令在计算机或处理器上运行时,使得计算机或处理器实现上述第一方面及其可能的实现方式中的方法。In a sixth aspect, an embodiment of the present application provides a computer program product, the computer program product includes instructions, and when the instructions are run on a computer or a processor, the computer or processor enables the computer or processor to implement the first aspect and possible implementations thereof method in .
应当理解的是,本申请的第二方面至第五方面与本申请的第一方面的技术方案一致,各方面及对应的可行实施方式所取得的有益效果相似,不再赘述。It should be understood that the second to fifth aspects of the present application are consistent with the technical solutions of the first aspect of the present application, and the beneficial effects obtained by each aspect and the corresponding feasible implementation manner are similar, and will not be repeated.
附图说明Description of drawings
图1是本申请实施例中数据管理方法的一种流程示意图;1 is a schematic flowchart of a data management method in an embodiment of the present application;
图2是本申请实施例中数据信息的时间区间的一种示意图;2 is a schematic diagram of a time interval of data information in an embodiment of the present application;
图3是本申请实施例中数据信息的时间区间的一种示意图;3 is a schematic diagram of a time interval of data information in an embodiment of the present application;
图4是本申请实施例中数据信息的时间区间的一种示意图;4 is a schematic diagram of a time interval of data information in an embodiment of the present application;
图5是本申请实施例中数据信息的时间区间的一种示意图;5 is a schematic diagram of a time interval of data information in an embodiment of the present application;
图6是本申请实施例中数据信息的时间区间的一种示意图;6 is a schematic diagram of a time interval of data information in an embodiment of the present application;
图7是本申请实施例中数据信息的时间区间的一种示意图;7 is a schematic diagram of a time interval of data information in an embodiment of the present application;
图8是本申请实施例中得到第一参考结果RR1的一种流程示意图;FIG. 8 is a schematic flowchart of obtaining a first reference result RR1 in an embodiment of the present application;
图9是本申请实施例中得到第二参考结果RR2的一种流程示意图;FIG. 9 is a schematic flowchart of obtaining a second reference result RR2 in an embodiment of the present application;
图10是本申请实施例中过程1000的一种流程示意图;FIG. 10 is a schematic flowchart of the process 1000 in the embodiment of the present application;
图11是本申请实施例中过程1100的一种流程示意图;FIG. 11 is a schematic flowchart of a process 1100 in an embodiment of the present application;
图12是本申请实施例中数据管理装置120的一种结构示意图;FIG. 12 is a schematic structural diagram of a data management apparatus 120 in an embodiment of the present application;
图13是本申请实施例中处理器121通过方式1实现对与第一事件E1相关的目标数据TD1的存储的一种流程示意图;FIG. 13 is a schematic flowchart of the processor 121 implementing the storage of the target data TD1 related to the first event E1 through Mode 1 in the embodiment of the present application;
图14是本申请实施例中处理器121通过方式2实现对与第一事件E1相关的目标数据TD1的存储的一种流程示意图;FIG. 14 is a schematic flow chart of the processor 121 implementing the storage of the target data TD1 related to the first event E1 through Mode 2 in the embodiment of the present application;
图15是本申请实施例中数据管理装置150的一种结构示意图;FIG. 15 is a schematic structural diagram of a data management apparatus 150 in an embodiment of the present application;
图16是本申请实施例中数据管理装置150与存储器的一种连接示意图;FIG. 16 is a schematic diagram of a connection between the data management device 150 and the memory in the embodiment of the present application;
图17是本申请实施例中数据管理装置150与存储器的另一种连接示意图。FIG. 17 is a schematic diagram of another connection between the data management apparatus 150 and the memory in the embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图,对本申请中的技术方案进行描述。The technical solutions in the present application will be described below with reference to the accompanying drawings.
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请中的附图,对本申请中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be described clearly and completely below with reference to the accompanying drawings in the present application. Obviously, the described embodiments are part of the embodiments of the present application. , not all examples. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书实施例和权利要求书及附图中的术语“第一”、“第二”等仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元。方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", etc. in the description, embodiments and claims of the present application and the drawings are only used for the purpose of distinguishing and describing, and should not be construed as indicating or implying relative importance, nor should they be construed as indicating or implied order. Furthermore, the terms "comprising" and "having" and any variations thereof, are intended to cover non-exclusive inclusion, eg, comprising a series of steps or elements. A method, system, product or device is not necessarily limited to those steps or units expressly listed, but may include other steps or units not expressly listed or inherent to the process, method, product or device.
应当理解,在本申请中,“至少一个(项)”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系,例如,“A和/或B”可以表示:只存在A,只存在B以及同时存在A和B三种情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,“a和b”,“a和c”,“b和c”,或“a和b和c”,其中a,b,c可以是单个,也可以是多个。It should be understood that, in this application, "at least one (item)" refers to one or more, and "a plurality" refers to two or more. "And/or" is used to describe the relationship between related objects, indicating that there can be three kinds of relationships, for example, "A and/or B" can mean: only A, only B, and both A and B exist , where A and B can be singular or plural. The character "/" generally indicates that the associated objects are an "or" relationship. "At least one item(s) below" or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (a) of a, b or c, can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c" ", where a, b, c can be single or multiple.
随着科技的飞速发展和交通路况的日益复杂,智能运输设备(如车辆(vehicles))发生事故的概率也越来越大。车辆在发生事故前后一定时间区间内的行驶数据,如传感器数据、车辆状态数据和车辆动力学数据等,对于事故原因分析、事故现场还原和事故责任评定都有着至关重要的作用。现有的车辆大多使用易失性存储器作为缓存器实时存入车辆在发生事故前后一定时间区间内的行驶数据。With the rapid development of technology and the increasingly complex traffic conditions, the probability of accidents of intelligent transportation devices (such as vehicles) is also increasing. The driving data of the vehicle within a certain time interval before and after the accident, such as sensor data, vehicle state data and vehicle dynamics data, etc., play a vital role in the analysis of the cause of the accident, the restoration of the accident scene and the assessment of the responsibility of the accident. Most of the existing vehicles use a volatile memory as a buffer to store the driving data of the vehicle in a certain time interval before and after an accident in real time.
然而,在车辆发生交通事故、车辆本身出现故障(如车辆的轮胎因长时间未更换而出现爆胎)或者车辆发生接管事故(如驾驶员未及时接管产生的事故)等事件情况下,可能会出现由于系统掉电或故障而导致易失性存储器中存储的行驶数据丢失的情况。一旦遇到易失性存储器中存储的行驶数据丢失的情况,则会对后续的事故原因分析、事故现场还原和事故责任评定很不利。However, in the event of a traffic accident of the vehicle, a failure of the vehicle itself (such as a tire blowout due to not being replaced for a long time), or a takeover accident of the vehicle (such as an accident caused by the driver's failure to take over in time), it may be There is a situation where driving data stored in volatile memory is lost due to a power failure or malfunction of the system. Once the driving data stored in the volatile memory is lost, it will be very unfavorable for subsequent accident cause analysis, accident scene restoration and accident responsibility assessment.
为了避免数据丢失,存储行驶数据的系统(可以称之为数据管理系统)要求行驶数据被存储在外部存储器(可以是闪存(即flash存储器)或者固态硬盘(solid state disk,SSD)等非易失性存储器)中。In order to avoid data loss, a system for storing driving data (which can be called a data management system) requires driving data to be stored in an external memory (which can be a non-volatile memory such as a flash memory (ie flash memory) or a solid state disk (SSD). sexual memory).
在一种可能的实现方式中,可以通过事故数据记录器(event data recorder,EDR,事故数据记录器往往集成于车辆上安全气囊控制单元的软件模块中)实现行驶数据的存储。In a possible implementation manner, the storage of driving data may be realized by an event data recorder (event data recorder, EDR, which is often integrated in a software module of an airbag control unit on a vehicle).
进一步地,可以通过事故数据记录器中的易失性存储器记录车辆在发生时间前后一定时间区间内的行驶数据。但是,车辆发生事件时,易失性存储器和事故数据记录器非易失性存储器都比较容易出现掉电、接口松动或停止工作的情况。而且,由易失性存储器和非易失性存储器的存储特性可知,在系统掉电或者故障而导致易失性存储器停止工作时,存储在易失性存储器中的行驶数据就会丢失。而在系统掉电或故障而导致非易失性存储器停止工作时,存储在非易失性存储器中的行驶数据不会丢失(也就是说,行驶数据在系统掉电或者停止工作后数据依然存储在该非易失性存储器中)。另外,在对非易失性存储器重新供电后,可继续对存储在非易失性存储器中的行驶数据进行读写操作。非易失性存储器还具有容量大、成本低等优点,可以实现较大规模行驶数据(即形式数据的数据量较大,例如,可以是车辆发生事件前30秒内的所有行驶数据)的存储。Further, the volatile memory in the accident data recorder can record the driving data of the vehicle within a certain time interval before and after the occurrence time. However, both volatile memory and accident data recorder non-volatile memory are more prone to power loss, loose interfaces, or stop working when a vehicle event occurs. Moreover, according to the storage characteristics of the volatile memory and the nonvolatile memory, when the volatile memory stops working due to a power failure or failure of the system, the driving data stored in the volatile memory will be lost. When the non-volatile memory stops working due to system power failure or failure, the driving data stored in the non-volatile memory will not be lost (that is, the driving data is still stored after the system is powered off or stopped working). in the non-volatile memory). In addition, after the non-volatile memory is re-powered, the read and write operations of the driving data stored in the non-volatile memory can continue. Non-volatile memory also has the advantages of large capacity and low cost, and can realize the storage of large-scale driving data (that is, the amount of data in the form of data is large, for example, it can be all driving data within 30 seconds before the vehicle event). .
于是,当车辆发生事件时,可以将易失性存储器存储的行驶数据存储至非易失性存储器,在一定程度上避免行驶数据的丢失。Therefore, when an event occurs in the vehicle, the driving data stored in the volatile memory can be stored in the non-volatile memory, thereby avoiding the loss of the driving data to a certain extent.
但是,当需要存储大规模行驶数据时,由于非易失性存储器的写入带宽有限,需要较长的传输时间才能把所有的行驶数据存储到非易失性存储器中。需要说明的是,当车辆发生轻微的事件(如轻微的交通事故)时,对于供电和传输的稳定性都比较高的车辆,可以满足较长的传输时间的要求。但是,一旦车辆发生严重的事件(如严重的交通事故),由于高温高压等环境条件,数据管理系统就会遭到破坏。即使对于供电和传输的稳定性都比 较高的车辆,也很难满足较长的传输时间的要求。因此,行驶数据不能全部存储至非易失性存储器,也就是说,没有将全部行驶数据及时存储至非易失性存储器中,导致部分行驶数据丢失。However, when large-scale driving data needs to be stored, due to the limited write bandwidth of the non-volatile memory, a long transmission time is required to store all the driving data in the non-volatile memory. It should be noted that when a minor event (such as a minor traffic accident) occurs in the vehicle, a vehicle with relatively high stability of power supply and transmission can meet the requirement of a longer transmission time. However, once the vehicle has a serious incident (such as a serious traffic accident), the data management system will be destroyed due to environmental conditions such as high temperature and high pressure. Even for vehicles with relatively high stability of power supply and transmission, it is difficult to meet the requirements of long transmission time. Therefore, all the driving data cannot be stored in the non-volatile memory, that is, all the driving data is not stored in the non-volatile memory in time, resulting in the loss of part of the driving data.
因此,上述通过事故数据记录器实现数据管理的技术方案往往适用于小规模行驶数据(即行驶数据的数据量较小),且对存储实时性要求不高的场景。Therefore, the above-mentioned technical solution for realizing data management through an accident data recorder is often suitable for scenarios where small-scale driving data (that is, the data volume of driving data is small), and which do not require high real-time storage.
为了解决上述通过事故数据记录器实现数据管理的技术方案存在的技术问题,本申请实施例还可以通过持续保存且持续擦除的方式实现行驶数据的管理。但是,由于行驶数据的产生速率较高(例如,行驶数据的产生速率可以为740MB/s),进而在一定时间区间内产生的行驶数据的规模也较大。因此需要较大容量的非易失性存储器,或者多个小容量的非易失性存储器才能实现所有行驶数据的保存。这样就会导致非易失性存储器的带宽长时间被占用,且非易失性存储器在编解码过程中会占用计算资源。同时,受行驶数据写入次数和擦除次数的影响,非易失性存储器的运行寿命会大大缩短。In order to solve the technical problems existing in the technical solution of implementing data management through the accident data recorder, the embodiments of the present application may also implement the management of driving data by means of continuous storage and continuous erasing. However, since the generation rate of the driving data is relatively high (for example, the generation rate of the driving data may be 740MB/s), the scale of the driving data generated within a certain time interval is also relatively large. Therefore, a larger-capacity non-volatile memory, or a plurality of small-capacity non-volatile memories is required to realize the preservation of all driving data. In this way, the bandwidth of the non-volatile memory will be occupied for a long time, and the non-volatile memory will occupy computing resources during the encoding and decoding process. At the same time, affected by the number of times of writing and erasing driving data, the operating life of the non-volatile memory will be greatly shortened.
为了解决上述两种技术方案(即通过事故数据记录器实现数据管理的技术方案,以及通过持续保存且持续擦除的方式实现行驶数据管理的技术方案)存在的技术问题,本申请实施例提供了一种数据管理方法,能够对数据进行有效管理,且可以最大程度的避免出现数据丢失的情况。In order to solve the technical problems existing in the above two technical solutions (that is, the technical solution for realizing data management through an accident data recorder, and the technical solution for realizing driving data management through continuous storage and continuous erasure), the embodiments of the present application provide A data management method can effectively manage data and avoid data loss to the greatest extent.
需要说明的是,上述数据管理方法可以通过终端设备(如车辆)实现,或者通过电子芯片实现,还可以通过其他具有数据管理功能的介质实现,本申请实施例对实现方式不作限定。It should be noted that the above data management method can be implemented by a terminal device (such as a vehicle), or by an electronic chip, or by other media with a data management function, and the embodiment of the present application does not limit the implementation.
下面,以车辆为例,介绍本申请实施例提供的数据管理方法。数据管理方法的流程示意图如图1所示,过程100可以通过以下步骤S101和步骤S102实现。In the following, taking a vehicle as an example, the data management method provided by the embodiment of the present application is introduced. A schematic flowchart of the data management method is shown in FIG. 1 , and the process 100 can be implemented through the following steps S101 and S102.
步骤S101:控制将第一参考数据RD1存储到易失性存储器。Step S101: Control to store the first reference data RD1 in a volatile memory.
在一种可能的实现方式中,第一参考数据RD1可以包括感知数据、定位数据、地图数据和无线通信技术(vehicle to everything,V2X)数据中的一项或者多项。当然,第一参考数据RD1还可以包括其他数据,本申请实施例对此不作限定。In a possible implementation manner, the first reference data RD1 may include one or more of sensing data, positioning data, map data, and wireless communication technology (vehicle to everything, V2X) data. Certainly, the first reference data RD1 may also include other data, which is not limited in this embodiment of the present application.
可以理解的,可以控制将上述感知数据、定位数据、地图数据和无线通信技术数据中的任一项或者多项存储到易失性存储器。为了提高行驶数据管理的可靠性,可以将感知数据、定位数据、地图数据和无线通信技术V2X数据等数据都存储到易失性存储器。It can be understood that any one or more of the above sensing data, positioning data, map data and wireless communication technology data can be controlled to be stored in the volatile memory. In order to improve the reliability of driving data management, data such as perception data, positioning data, map data and wireless communication technology V2X data can be stored in volatile memory.
示例的,感知数据可以通过设置在车辆上的摄像头camera、雷达radar、超声波雷达或者激光雷达lidar等感知设备中的一个或多个获取。For example, the perception data may be acquired by one or more perception devices such as a camera, a radar, an ultrasonic radar, or a lidar provided on the vehicle.
例如,可以通过摄像头camera拍摄到车辆周围是否存在目标。For example, whether there is a target around the vehicle can be captured by the camera.
需要说明的是,车辆周围的目标可以是一个,也可以是多个。另外,目标可以是移动 的目标,如行驶中的车辆、行驶中的非机动车、正在行走的行人等。目标还可以是静止的目标,如位于车辆所行驶道路的路边的建筑物、树木,或者停放在路边的非机动车或者车辆等。It should be noted that the target around the vehicle may be one or multiple. In addition, the target may be a moving target, such as a moving vehicle, a moving non-motor vehicle, a walking pedestrian, and the like. The target may also be a stationary target, such as a roadside building, a tree, or a non-motor vehicle or vehicle parked on the roadside.
由于通过摄像头camera可以确定车辆周围的一个或多个目标,且目标可以是移动的或者静止的,所以本申请实施例提供的数据管理方法能够适用于车辆发生的所有交通事故(如,车辆与目标相撞而导致的交通事故,或者车辆为了躲避目标而发生的交通事故等)。Since one or more targets around the vehicle can be determined by the camera, and the targets can be moving or stationary, the data management method provided by the embodiments of the present application can be applied to all traffic accidents that occur in the vehicle (for example, the vehicle and the target traffic accidents caused by collisions, or traffic accidents caused by vehicles to avoid the target, etc.).
又例如,可以通过气象雷达获取车辆所处环境的气象数据和光照数据。其中,气象数据可以是降雨强度、降雪强度、云量、云底高度等,光照数据可以是光照强度。For another example, the weather data and illumination data of the environment in which the vehicle is located may be obtained through a weather radar. The meteorological data may be rainfall intensity, snowfall intensity, cloud cover, cloud base height, etc., and the light data may be light intensity.
再例如,可以通过雷达radar、超声波雷达和激光雷达lidar中的一项或者多项(可以仅通过雷达radar,或者仅通过超声波雷达,又或者仅通过激光雷达lidar,还可以同时通过雷达radar和激光雷达lidar,又可以同时通过雷达radar、超声波雷达和激光雷达lidar)探测车辆周围的至少一个目标的位置(可以包括至少一个目标的位置以及目标与车辆之间的距离)和至少一个目标的体积。For another example, one or more of radar radar, ultrasonic radar and lidar lidar can be used (only radar radar, or only ultrasonic radar, or only lidar lidar, or both radar radar and laser radar can be used at the same time. The radar lidar can simultaneously detect the position of at least one target around the vehicle (which may include the position of the at least one target and the distance between the target and the vehicle) and the volume of the at least one target through radar, ultrasonic radar and lidar.
需要说明的是,当目标与车辆的距离小于预先设定的距离(例如,可以设定数米,数十米等)时,才可以将目标认为是车辆周围的目标。It should be noted that, when the distance between the target and the vehicle is less than a preset distance (for example, several meters, tens of meters, etc. can be set), the target can be regarded as a target around the vehicle.
可以理解的,还可以通过雷达radar和/或激光雷达获取车辆的行驶速度、车辆周围的目标的速度等,进而得到车辆的行驶加速度。当车辆周围的目标为移动的目标时,还可以通过激光雷达或雷达radar获取该移动的目标的移动速度。It can be understood that the running speed of the vehicle, the speed of the target around the vehicle, etc. can also be obtained through radar and/or lidar, so as to obtain the running acceleration of the vehicle. When the target around the vehicle is a moving target, the moving speed of the moving target can also be obtained through lidar or radar.
示例的,定位数据可以通过设置在车辆上的全球定位系统(global positioning system,GPS)对车辆进行定位,或者对车辆周围的目标进行定位。通过全球定位系统GPS可以定位到车辆的位置,即得到车辆所在的经度、维度、海拔等,还可以定位到车辆周围的目标的位置,即得到目标所在的经度、维度、海拔等。Exemplarily, the positioning data can be used to locate the vehicle through a global positioning system (global positioning system, GPS) set on the vehicle, or to locate objects around the vehicle. Through the global positioning system GPS, the position of the vehicle can be located, that is, the longitude, latitude, altitude, etc. of the vehicle can be located, and the position of the target around the vehicle can be located, that is, the longitude, latitude, altitude, etc. of the target can be obtained.
可以理解的,如果车辆周围存在多个目标,可以通过全球定位系统GPS对多个目标所在的经度、维度、海拔等进行定位。It can be understood that if there are multiple targets around the vehicle, the global positioning system GPS can be used to locate the longitude, latitude, altitude, etc. where the multiple targets are located.
还可以理解的,由于车辆周围的目标为雷达radar、超声波雷达或者激光雷达lidar中的一项或多项可以探测到的目标,所以通过全球定位系统GPS定位得到的车辆海拔与车辆周围的目标海拔基本相同,通过全球定位系统GPS得到的车辆的经度和维度与车辆周围的目标经度和维度可以相同,也可以不同。例如,当全球定位系统GPS得到的车辆的经度和维度与车辆周围的目标的经度和维度相同时,可以确定车辆与目标相撞的概率很大(如果目标是行驶中的车辆,车辆与目标发生的第一事件E1可以为会车事故)。当全球定位系统GPS得到的车辆的经度和维度与车辆周围的目标的经度和维度不同时,可以确定车辆存在与目标相撞的概率,且概率较小。此处的概率可以根据车辆与目标的距离确定, 车辆与目标的距离越远,车辆与目标相撞的概率就较小,相反,车辆与目标的距离越近,车辆与目标相撞的概率就较大。It is also understandable that since the target around the vehicle is a target that can be detected by one or more of radar, ultrasonic radar or lidar, the altitude of the vehicle obtained through the GPS positioning of the global positioning system is the same as the altitude of the target around the vehicle. Basically the same, the longitude and latitude of the vehicle obtained through the global positioning system GPS may be the same or different from the longitude and latitude of the target around the vehicle. For example, when the longitude and latitude of the vehicle obtained by the GPS are the same as the longitude and latitude of the target around the vehicle, it can be determined that the probability of collision between the vehicle and the target is high (if the target is a moving vehicle, the collision between the vehicle and the target occurs The first event E1 can be a car meeting accident). When the longitude and latitude of the vehicle obtained by the global positioning system GPS are different from the longitude and latitude of the target around the vehicle, it can be determined that there is a probability that the vehicle collides with the target, and the probability is small. The probability here can be determined according to the distance between the vehicle and the target. The farther the distance between the vehicle and the target, the smaller the probability of the vehicle colliding with the target. On the contrary, the closer the distance between the vehicle and the target is, the higher the probability of the vehicle colliding with the target. larger.
示例的,地图数据可以为通过摄像头camera拍摄的道路结构、标识牌、信号灯、建筑物和绿化带等数据。For example, the map data may be data such as road structures, signs, signal lights, buildings, and green belts captured by a camera.
示例的,无线通信技术数据可以是通过车辆上安装的通信模块获得的车辆(如车辆A)与另一车辆(如车辆B)、车辆A与通信卫星等传输数据。For example, the wireless communication technology data may be transmission data between a vehicle (eg, vehicle A) and another vehicle (eg, vehicle B), vehicle A and a communication satellite, etc. obtained through a communication module installed on the vehicle.
由上述介绍可知,第一参考数据RD1中的感知数据、定位数据、地图数据和无线通信技术数据等的获取方式较简单,进而使本申请实施例提供的数据管理方法易于实现。It can be seen from the above description that the acquisition methods of sensing data, positioning data, map data, wireless communication technology data, etc. in the first reference data RD1 are relatively simple, thereby making the data management method provided by the embodiment of the present application easy to implement.
在一种可能的实现方式中,由于第一参考数据RD1用于预测车辆发生第一事件E1的概率,所以第一参考数据RD1可以包含与第一事件RD1相关的目标数据TD1。因此,与第一事件RD1相关的目标数据TD1可以是上述第一参考数据RD1中的部分数据,也可以是上述第一参考数据RD1中的全部数据,本申请实施例对此不作限定。In a possible implementation manner, since the first reference data RD1 is used to predict the probability of the occurrence of the first event E1 in the vehicle, the first reference data RD1 may include target data TD1 related to the first event RD1. Therefore, the target data TD1 related to the first event RD1 may be part of the data in the first reference data RD1, or may be all the data in the first reference data RD1, which is not limited in this embodiment of the present application.
例如,与第一事件RD1相关的目标数据TD1可以包括感知数据和定位数据,或者可以包括感知数据、地图数据、无线通信技术数据(也就是包括第一参考数据RD1中的部分数据)。For example, the target data TD1 related to the first event RD1 may include sensing data and positioning data, or may include sensing data, map data, and wireless communication technology data (ie, include part of the data in the first reference data RD1).
还例如,与第一事件RD1相关的目标数据TD1可以包括感知数据、定位数据、地图数据和无线通信技术数据等(也就是包括第一参考数据RD1中的全部数据)。Also for example, the target data TD1 related to the first event RD1 may include sensing data, positioning data, map data, wireless communication technology data, etc. (that is, including all the data in the first reference data RD1).
进一步地,上述与第一事件E1相关的目标数据TD1可以对应第一事件E1的类型和预先定义的数据信息。也就是说,与第一事件E1相关的目标数据TD1是由第一事件E1的类型和预先定义的数据信息确定的。由于第一事件E1的类型和与第一事件E1相关的目标数据TD1之间存在映射关系,所以基于第一事件E1的类型得到的与第一事件E1相关的目标数据TD1准确性较高。Further, the above-mentioned target data TD1 related to the first event E1 may correspond to the type of the first event E1 and predefined data information. That is, the target data TD1 related to the first event E1 is determined by the type of the first event E1 and predefined data information. Since there is a mapping relationship between the type of the first event E1 and the target data TD1 related to the first event E1, the accuracy of the target data TD1 related to the first event E1 obtained based on the type of the first event E1 is high.
在一种可能的实现方式中,上述第一事件E1的类型可以包括车辆发生交通事故、车辆本身产生故障和车辆发生接管事故中的一项或者多项。In a possible implementation manner, the type of the above-mentioned first event E1 may include one or more of a traffic accident of the vehicle, a failure of the vehicle itself, and a takeover accident of the vehicle.
例如,第一事件E1的类型可以包括车辆发生交通事故、车辆本身出现故障或者车辆发生接管事故。也就是说,车辆在某个时间区间发生的第一事件E1是车辆发生交通事故、车辆本身出现故障和车辆发生接管事故中的任一项。For example, the type of the first event E1 may include a traffic accident of the vehicle, a breakdown of the vehicle itself, or a takeover accident of the vehicle. That is to say, the first event E1 that occurs in the vehicle in a certain time interval is any one of a traffic accident of the vehicle, a failure of the vehicle itself, and a takeover accident of the vehicle.
还例如,第一事件E1的类型可以包括车辆发生交通事故、车辆本身出现故障和车辆发生接管事故。也就是说,车辆在某个时间区间发生的第一事件E1可以是车辆发生交通事故、车辆本身出现故障和车辆发生接管事故的全部(即车辆在某个时间区间同时发生了交通事故和接管事故,且出现了故障)。Also for example, the type of the first event E1 may include a traffic accident of the vehicle, a breakdown of the vehicle itself, and a takeover accident of the vehicle. That is to say, the first event E1 that occurs in a vehicle in a certain time interval may be all of a traffic accident in the vehicle, a failure in the vehicle itself, and a takeover accident in the vehicle (that is, a traffic accident and a takeover accident in the vehicle occur at the same time in a certain time interval). , and a failure occurred).
上述第一事件E1的类型不仅考虑了车辆发生的交通事故,且考虑了车辆本身出现故 障以及车辆接管事故,也就是第一事件E1的类型基本涵盖了车辆可能发生/出现的所有事件,因此,本申请实施例提供的数据管理方法能够适用于所有因为车辆可能发生/出现的事件而需要对行驶数据进行存储的场景,应用范围广泛。The above-mentioned type of the first event E1 not only considers the traffic accident that occurs in the vehicle, but also considers the failure of the vehicle itself and the vehicle takeover accident, that is, the type of the first event E1 basically covers all events that may occur/occur in the vehicle. Therefore, The data management method provided by the embodiment of the present application can be applied to all scenarios in which driving data needs to be stored due to possible occurrence/occurrence of events in the vehicle, and has a wide range of applications.
又例如,第一事件E1的类型还可以包括车辆发生交通事故和接管事故。也就是说,车辆在某个时间区间发生的第一事件E1可以是车辆发生交通事故、车辆本身出现故障和车辆发生接管事故中的部分(即车辆在某个时间区间同时发生了交通事故和接管事故,车辆本身没有出现故障)。For another example, the type of the first event E1 may further include a traffic accident and a takeover accident of the vehicle. That is to say, the first event E1 that occurs in a vehicle in a certain time interval may be part of a traffic accident of the vehicle, a failure of the vehicle itself, and a takeover accident of the vehicle (that is, the vehicle has a traffic accident and a takeover accident at the same time in a certain time interval. accident, the vehicle itself did not malfunction).
可选地,车辆发生的交通事故可以是追尾事故、超车事故、会车事故、行人事故、非机动车事故中的任一项或者多项。Optionally, the traffic accident that occurs in the vehicle may be any one or more of a rear-end collision accident, an overtaking accident, a passing vehicle accident, a pedestrian accident, and a non-motor vehicle accident.
例如,车辆在行驶过程中因追尾发生了追尾事故,或者,车辆在会车时发生了会车事故等。For example, a rear-end collision accident occurs due to a rear-end collision of a vehicle during driving, or a collision accident occurs when a vehicle meets a vehicle.
又例如,车辆(如车辆A)与另一车辆(如车辆B)发生了追尾,同时,车辆(如车辆A)因追尾撞到车辆(如车辆A)周围的非机动车(非机动车为车辆周围的一个目标)。在该情况下,就可以认为车辆A同时发生了追尾事故和非机动车事故两种交通事故。For another example, a vehicle (such as vehicle A) has a rear-end collision with another vehicle (such as vehicle B), and at the same time, the vehicle (such as vehicle A) collides with a non-motor vehicle (such as a non-motor vehicle) around the vehicle (such as vehicle A) due to the rear-end collision. a target around the vehicle). In this case, it can be considered that vehicle A has both a rear-end collision accident and a non-motor vehicle accident at the same time.
可以理解的,上述的追尾事故可以是同车道行驶的车辆(如车辆A和车辆B)尾随而行时,车辆A的车头与车辆B的车尾相撞的交通事故。It can be understood that the above-mentioned rear-end collision accident may be a traffic accident in which the front of vehicle A collides with the rear of vehicle B when vehicles (eg, vehicle A and vehicle B) running in the same lane follow behind.
又可以理解的,上述的行人事故可以是由于行人过失或违反交通规则而与车辆A发生的交通事故。It is also understandable that the above-mentioned pedestrian accident may be a traffic accident with the vehicle A due to the pedestrian's negligence or violation of traffic rules.
还可以理解的,上述的非机动车事故可以是非机动车(可以为自行车或者电动自行车)与车辆A之间发生的交通事故。It can also be understood that the above-mentioned non-motor vehicle accident may be a traffic accident between a non-motor vehicle (which may be a bicycle or an electric bicycle) and the vehicle A.
需要说明的是,除了上述追尾事故和非机动车事故以外,本申请实施例对车辆发生的其他交通事故不做一一介绍。It should be noted that, except for the above rear-end collision accident and non-motor vehicle accident, other traffic accidents that occur in vehicles are not introduced one by one in the embodiments of the present application.
可选地,车辆本身出现故障可以是车辆的轮胎因长时间未更换而出现爆胎,或者车辆的制动系统失灵等。Optionally, the failure of the vehicle itself may be that the tires of the vehicle are punctured because they have not been replaced for a long time, or the braking system of the vehicle fails.
可选地,车辆发生的接管事故可以是驾驶员未及时接管产生的事故等。Optionally, the takeover accident that occurs in the vehicle may be an accident caused by the driver's failure to take over in time, or the like.
在一种可能的实现方式中,上述的数据信息可以包括数据类型和时间区间。In a possible implementation manner, the above-mentioned data information may include a data type and a time interval.
示例的,上述的数据类型可以包括传感器数据、终端状态数据和终端动力学数据中的一项或多项。为了得到更准确的与第一事件E1相关的目标数据TD1,本申请实施例以传感器数据、终端状态数据和终端动力学数据为例介绍数据类型。Illustratively, the aforementioned data types may include one or more of sensor data, terminal status data, and terminal dynamics data. In order to obtain more accurate target data TD1 related to the first event E1, the embodiment of the present application uses sensor data, terminal state data, and terminal dynamics data as examples to introduce data types.
例如,传感器数据可以包括车辆周围的目标(本申请实施例以车辆周围存在一个目标为例,如目标A)的位置、目标A的速度、目标A的体积、气象数据、光照数据、摄像头数据和雷达数据中的一项或多项。本申请实施例以包括车辆周围的目标A的位置、目标 A的速度、目标A的体积、气象数据、光照数据、摄像头数据和雷达数据为例介绍传感器数据。For example, the sensor data may include the position of a target around the vehicle (in this embodiment of the present application, there is a target around the vehicle, such as target A), the position, the speed of target A, the volume of target A, weather data, illumination data, camera data and One or more of the radar data. The embodiments of the present application introduce sensor data including the position of the target A around the vehicle, the speed of the target A, the volume of the target A, meteorological data, illumination data, camera data, and radar data as examples.
可以理解的,不论车辆周围的目标A是静止的目标还是移动的目标,传感器数据都可以包括目标A的速度。需要说明的是,当目标A为静止的目标时,目标A的速度为0。It can be understood that the sensor data may include the speed of the target A regardless of whether the target A around the vehicle is a stationary target or a moving target. It should be noted that when the target A is a stationary target, the speed of the target A is 0.
在一种可能的实现方式中,目标A的位置(包括目标A的位置(如目标A位于车辆的左前方)以及目标A与车辆之间的距离)、目标A的速度、目标A的体积、气象数据、光照数据或雷达数据中的一项或者多项可以通过车辆上设置的雷达radar、超声波雷达或者激光雷达lidar中的一项或者多项探测到。也就是说,可以通过仅通过雷达radar探测目标A的位置、目标A的速度、目标A的体积、气象数据、光照数据和雷达数据,或者仅通过超声波雷达或者激光雷达lidar探测目标A的位置、目标A的速度、目标A的体积、气象数据、光照数据和雷达数据,还可以通过雷达radar探测目标A的位置、目标A的速度、目标A的体积,并通过激光雷达探测lidar气象数据、光照数据和雷达数据,本申请实施例对传感器数据的探测方式不作限定。In a possible implementation manner, the position of the target A (including the position of the target A (for example, the target A is located in the front left of the vehicle) and the distance between the target A and the vehicle), the speed of the target A, the volume of the target A, One or more of weather data, illumination data or radar data may be detected by one or more of radar, ultrasonic radar or lidar provided on the vehicle. That is to say, the position of target A, the speed of target A, the volume of target A, meteorological data, illumination data and radar data can be detected only by radar radar, or the position of target A can be detected only by ultrasonic radar or lidar lidar, The speed of target A, the volume of target A, meteorological data, illumination data and radar data can also be detected through radar radar to detect the position of target A, the speed of target A, the volume of target A, and the lidar meteorological data, illumination can be detected through lidar Data and radar data, the embodiments of the present application do not limit the detection method of sensor data.
可以理解的,不论车辆周围的目标A是静止的目标还是移动的目标,雷达radar、超声波雷达或者激光雷达lidar都可以探测到目标A的位置和体积。It can be understood that, regardless of whether the target A around the vehicle is a stationary target or a moving target, radar, ultrasonic radar or lidar can detect the position and volume of target A.
在又一种可能的实现方式中,上述摄像头数据(如信号灯、标识牌、目标的类型(可以是非机动车、绿化带等)和目标A的位置等)可以通过设置在车辆上的摄像头camera(如前置摄像头)获取。In another possible implementation manner, the above-mentioned camera data (such as signal lights, signs, types of targets (which can be non-motor vehicles, green belts, etc.) and the position of target A, etc.) can be obtained through the camera ( such as the front camera).
上述所有传感器数据均可以通过设置在车上的传感器设备(如上述的雷达radar、超声波雷达和激光雷达lidar等)获取,也就是传感器数据的获取过程较便捷,提高了数据信息中准确性,进一步提高了与第一事件E1相关的目标数据TD1的准确性。All the above sensor data can be obtained through the sensor equipment (such as the above-mentioned radar radar, ultrasonic radar and lidar lidar, etc.) installed on the vehicle, that is, the acquisition process of the sensor data is more convenient, which improves the accuracy of the data information, and further. The accuracy of the target data TD1 related to the first event E1 is improved.
又例如,终端状态数据可以包括车辆的行驶速度、行驶加速度、加速踏板开度、制动踏板开度、转向盘角度、转向扭矩和灯光状态中的一项或者多项。同样,为了得到更准确的与第一事件E1相关的目标数据TD1,本申请实施例中的终端状态数据包括车辆的行驶速度、行驶加速度、加速踏板开度、制动踏板开度、转向盘角度、转向扭矩和灯光状态。其中,灯光状态可以包括车辆处于照明状态(即车辆的灯(如前照灯)处于打开状态),或者车辆处于非照明状态(即车辆的灯(如前照灯)处于关闭状态)。For another example, the terminal state data may include one or more of the vehicle's running speed, running acceleration, accelerator pedal opening, brake pedal opening, steering wheel angle, steering torque, and light state. Similarly, in order to obtain more accurate target data TD1 related to the first event E1, the terminal state data in this embodiment of the present application includes the vehicle's running speed, running acceleration, accelerator pedal opening, brake pedal opening, and steering wheel angle , steering torque and light status. The light state may include that the vehicle is in an illuminated state (ie, the vehicle's lights (eg, headlights) are turned on), or the vehicle is in a non-illuminated state (ie, the vehicle's lights (eg, headlights) are turned off).
上述终端状态数据为车辆自身的数据,获取过程也比较便捷,同样可以提高数据信息中准确性,进而提高与第一事件E1相关的目标数据TD1的准确性。The above-mentioned terminal state data is the data of the vehicle itself, and the acquisition process is also convenient, which can also improve the accuracy of the data information, thereby improving the accuracy of the target data TD1 related to the first event E1.
又例如,终端动力学数据包括车辆的质量信息和/或制动延迟参数。其中,车辆的质量信息表征车辆的重量,车辆的制动延迟参数用于表征驾驶员踩下制动踏板的时刻到车辆开始减速的时刻之间的时间区间,可以为数毫秒,或者数秒。As another example, the terminal dynamics data includes vehicle mass information and/or braking delay parameters. The mass information of the vehicle represents the weight of the vehicle, and the braking delay parameter of the vehicle is used to represent the time interval between the moment when the driver depresses the brake pedal and the moment when the vehicle starts to decelerate, which can be several milliseconds or several seconds.
上述的终端动力学数据可以通过查阅车辆相关资料(如车辆的说明书等)得到,为与第一事件E1相关的目标数据TD1提供可靠的获取途径。The above-mentioned terminal dynamics data can be obtained by referring to the relevant data of the vehicle (such as the description of the vehicle, etc.), which provides a reliable way to obtain the target data TD1 related to the first event E1.
示例的,上述数据信息的时间区间可以为第一时间节点(用T1表示)和第二时间节点(用T2表示)之间的时间区间。For example, the time interval of the above data information may be the time interval between the first time node (represented by T1 ) and the second time node (represented by T2 ).
上述的第一时间节点T1可以为发生第一事件E1前的时间节点、发生第一事件E1中的时间节点或发生第一事件E1后的时间节点。同样,上述的第二时间节点T2也可以为发生第一事件E1前的时间节点、发生第一事件E1中的时间节点或发生第一事件E1后的时间节点。The above-mentioned first time node T1 may be a time node before the occurrence of the first event E1, a time node in the occurrence of the first event E1, or a time node after the occurrence of the first event E1. Similarly, the above-mentioned second time node T2 may also be a time node before the occurrence of the first event E1, a time node during the occurrence of the first event E1, or a time node after the occurrence of the first event E1.
可以理解的,只要车辆处于第一事件E1的发生过程(为一个时间区间(如5秒),由车辆发生第一事件E1的起始时刻t1和结束时刻t2决定),就可以认为是发生第一事件E1中。进而,发生第一事件E1前就表征车辆发生第一事件E1的起始时刻t1之前,发生第一事件E1后就表征车辆发生第一事件E1的结束时刻t2之后。It can be understood that as long as the vehicle is in the process of the occurrence of the first event E1 (for a time interval (such as 5 seconds), which is determined by the starting time t1 and the ending time t2 when the first event E1 occurs in the vehicle), it can be considered that the first event occurred. In an event E1. Furthermore, before the occurrence of the first event E1 means before the start time t1 at which the first event E1 occurs in the vehicle, and after the occurrence of the first event E1 means after the end time t2 at which the first event E1 occurs in the vehicle.
下面分情况介绍时间区间以及相应时间区间存储的数据:The following describes the time interval and the data stored in the corresponding time interval:
情况1:如图2所示,第一时间节点T1为发生第一事件E1前的时间节点,且第二时间节点T2为发生第一事件E1后的时间节点。在该情况下,与第一事件E1相关的目标数据涵盖了发生第一事件E1前的时间节点与发生第一事件E1后的时间节点之间的时间区间对应的数据。可以理解的,控制将发生第一事件E1前的时间节点和发生第一事件E1后的时间节点之间的时间区间的数据(即该情况下第一参考数据RD1中的与第一事件E1相关的目标函数TD1)存储至易失性存储器。Case 1: As shown in FIG. 2 , the first time node T1 is the time node before the first event E1 occurs, and the second time node T2 is the time node after the first event E1 occurs. In this case, the target data related to the first event E1 covers the data corresponding to the time interval between the time node before the occurrence of the first event E1 and the time node after the occurrence of the first event E1. It can be understood that the data in the time interval between the time node before the occurrence of the first event E1 and the time node after the occurrence of the first event E1 (that is, the data in the first reference data RD1 related to the first event E1 in this case) is controlled. The objective function TD1) is stored in volatile memory.
情况2:如图3所示,第一时间节点T1为发生第一事件E1前的时间节点,且第二时间节点T2为发生第一事件E1中的时间节点。在该情况下,与第一事件E1相关的目标数据涵盖了发生第一事件E1前的时间节点与发生第一事件E1中的时间节点之间的时间区间对应的数据,不涵盖发生第一事件E1后的时间节点对应的数据。可以理解的,控制将发生第一事件E1前的时间节点和发生第一事件E1中的时间节点之间的时间区间对应的数据(即该情况下第一参考数据RD1中的与第一事件E1相关的目标函数TD1)存储至易失性存储器,无需控制将发生第一事件E1后的时间节点对应的数据存储至易失性存储器。Case 2: As shown in FIG. 3 , the first time node T1 is the time node before the first event E1 occurs, and the second time node T2 is the time node in which the first event E1 occurs. In this case, the target data related to the first event E1 covers the data corresponding to the time interval between the time node before the occurrence of the first event E1 and the time node in which the first event E1 occurs, but does not cover the occurrence of the first event The data corresponding to the time node after E1. It can be understood that the data corresponding to the time interval between the time node before the occurrence of the first event E1 and the time node in the occurrence of the first event E1 (that is, in the first reference data RD1 in this case and the first event E1 in this case) are controlled. The related objective function TD1) is stored in the volatile memory, and there is no need to control the data corresponding to the time node after the occurrence of the first event E1 to be stored in the volatile memory.
情况3:如图4所示,第一时间节点T1为发生第一事件E1前的时间节点,且第二时间节点T2为发生第一事件E1前的时间节点。也就是说,第一时间节点T1和第二时间节点T2均为发生第一事件E1前的时间节点。在该情况下,与第一事件E1相关的目标数据TD1涵盖了发生第一事件E1前的两个时间节点之间的时间区间对应的数据,不涵盖发生第一事件E1中时间节点对应的数据和发生第一事件E1后的时间节点对应的数据。可以理解的,控制将发生第一事件E1前的两个时间节点之间的时间区间对应的数据(即该情况 下第一参考数据RD1中的与第一事件E1相关的目标函数TD1)存储至易失性存储器,无需控制将发生第一事件E1中的时间节点对应的数据和第一事件E1后的时间节点对应的数据存储至易失性存储器。Case 3: As shown in FIG. 4 , the first time node T1 is the time node before the first event E1 occurs, and the second time node T2 is the time node before the first event E1 occurs. That is to say, both the first time node T1 and the second time node T2 are time nodes before the occurrence of the first event E1. In this case, the target data TD1 related to the first event E1 covers the data corresponding to the time interval between the two time nodes before the occurrence of the first event E1, but does not cover the data corresponding to the time nodes in the occurrence of the first event E1 Data corresponding to the time node after the occurrence of the first event E1. It can be understood that the control will store the data corresponding to the time interval between the two time nodes before the first event E1 (that is, the objective function TD1 related to the first event E1 in the first reference data RD1 in this case) to The volatile memory does not need to control to store the data corresponding to the time node in the first event E1 and the data corresponding to the time node after the first event E1 in the volatile memory.
情况4:如图5所示,第一时间节点T1为发生第一事件E1中的时间节点,且第二时间节点T2为发生第一事件E1中的时间节点。也就是说,第一时间节点T1和第二时间节点T2均为发生第一事件E1中的时间节点。在该情况下,与第一事件E1相关的目标数据TD1涵盖了发生第一事件E1中的两个时间节点之间的时间区间对应的数据,不涵盖发生第一事件E1前时间节点对应的数据和发生第一事件E1后的时间节点对应的数据。可以理解的,控制将发生第一事件E1中的两个时间节点之间的时间区间对应的数据(即该情况下第一参考数据RD1中的与第一事件E1相关的目标函数TD1)存储至易失性存储器,无需控制将发生第一事件E1前的时间节点对应的数据和第一事件E1后的时间节点对应的数据存储至易失性存储器。Case 4: As shown in FIG. 5 , the first time node T1 is the time node in which the first event E1 occurs, and the second time node T2 is the time node in which the first event E1 occurs. That is to say, both the first time node T1 and the second time node T2 are time nodes in which the first event E1 occurs. In this case, the target data TD1 related to the first event E1 covers the data corresponding to the time interval between two time nodes in the occurrence of the first event E1, but does not cover the data corresponding to the time node before the occurrence of the first event E1 Data corresponding to the time node after the occurrence of the first event E1. It can be understood that the control will store the data corresponding to the time interval between the two time nodes in the first event E1 (that is, the objective function TD1 related to the first event E1 in the first reference data RD1 in this case) to The volatile memory does not need to control the storage of the data corresponding to the time node before the first event E1 and the data corresponding to the time node after the first event E1 in the volatile memory.
情况5:如图6所示,第一时间节点T1为发生第一事件E1中的时间节点,且第二时间节点T2为发生第一事件E1后的时间节点。在该情况下,与第一事件E1相关的目标数据TD1则涵盖了发生第一事件E1中的时间节点与发生第一事件E1后的时间节点之间的时间区间对应的数据。可以理解的,控制将发生第一事件E1中的时间节点和发生第一事件E1后的时间节点之间的时间区间对应的数据(即该情况下第一参考数据RD1中的与第一事件E1相关的目标函数TD1)存储至易失性存储器,无需控制将发生第一事件E1前的时间节点对应的数据存储至易失性存储器。Case 5: As shown in FIG. 6 , the first time node T1 is the time node in which the first event E1 occurs, and the second time node T2 is the time node after the first event E1 occurs. In this case, the target data TD1 related to the first event E1 covers the data corresponding to the time interval between the time node in which the first event E1 occurs and the time node after the occurrence of the first event E1. It can be understood that the data corresponding to the time interval between the time node in the first event E1 and the time node after the occurrence of the first event E1 (that is, in the first reference data RD1 in this case and the first event E1 in this case) are controlled. The related objective function TD1) is stored in the volatile memory, and there is no need to control the storage of the data corresponding to the time node before the occurrence of the first event E1 in the volatile memory.
情况6:如图7所示,第一时间节点T1为发生第一事件E1后的时间节点,且第二时间节点T2为发生第一事件E1后的时间节点。也就是说,第一时间节点T1和第二时间节点T2均为发生第一事件E1后的时间节点。在该情况下,与第一事件E1相关的目标数据TD1涵盖了发生第一事件E1后的两个时间节点之间的时间区间对应的数据,不涵盖发生第一事件E1前时间节点对应的数据和发生第一事件E1中的时间节点对应的数据。可以理解的,控制将发生第一事件E1后的两个时间节点之间的时间区间对应的数据(即该情况下第一参考数据RD1中的与第一事件E1相关的目标函数TD1)存储至易失性存储器,无需控制将发生第一事件E1前的时间节点对应的数据和第一事件E1中的时间节点对应的数据存储至易失性存储器。Case 6: As shown in FIG. 7 , the first time node T1 is the time node after the first event E1 occurs, and the second time node T2 is the time node after the first event E1 occurs. That is to say, both the first time node T1 and the second time node T2 are time nodes after the occurrence of the first event E1. In this case, the target data TD1 related to the first event E1 covers the data corresponding to the time interval between two time nodes after the occurrence of the first event E1, but does not cover the data corresponding to the time node before the occurrence of the first event E1 Data corresponding to the time node in which the first event E1 occurs. It can be understood that the control stores the data corresponding to the time interval between the two time nodes after the occurrence of the first event E1 (that is, the objective function TD1 related to the first event E1 in the first reference data RD1 in this case) to The volatile memory does not need to control to store the data corresponding to the time node before the first event E1 and the data corresponding to the time node in the first event E1 to the volatile memory.
本申请实施例根据第一时间节点T1和第二时间节点T2确定的时间区间涵盖了所有可能产生行驶数据的时刻,进而,可以通过不同的需求,有针对性的对相应时间区间的行驶数据进行存储。The time interval determined according to the first time node T1 and the second time node T2 in the embodiment of the present application covers all the moments at which driving data may be generated, and further, the driving data in the corresponding time interval can be targeted according to different requirements. storage.
步骤S102:控制将来自易失性存储器的与第一事件E1相关的目标数据TD1存储到 非易失性存储器。Step S102: Control to store the target data TD1 related to the first event E1 from the volatile memory to the non-volatile memory.
进一步地,本申请实施例可以通过以下两种方式执行步骤S102:Further, in this embodiment of the present application, step S102 may be performed in the following two ways:
方式1:向易失性存储器发送指示信息CI1。Mode 1: Send the indication information CI1 to the volatile memory.
示例的,上述的指示信息CI1用于指示将与第一事件E1相关的目标数据TD1传输到非易失性存储器中。Exemplarily, the above-mentioned indication information CI1 is used to instruct to transmit the target data TD1 related to the first event E1 to the non-volatile memory.
在一种可能的实现方式中,车辆的处理器(可以为下文的处理器121或处理器152)向易失性存储器发送指示信息CI1,接着,易失性存储器接收指示信息CI1,并将第一事件E1相关的目标数据TD1传输到非易失性存储器进行保存。In a possible implementation manner, the processor of the vehicle (which may be the processor 121 or the processor 152 below) sends the indication information CI1 to the volatile memory, and then the volatile memory receives the indication information CI1, and sends the first indication information CI1 to the volatile memory. The target data TD1 related to an event E1 is transferred to the non-volatile memory for storage.
可以理解的,处理器在方式1中仅起到发送指示信息CI1给易失性存储器的作用。易失性存储器接收指示信息CI1后,处理器则不再参与易失性存储器将第一事件E1相关的目标数据TD1传输到非易失性存储器进行保存的过程。因此,方式1中的处理器与易失性存储器耦合,且易失性存储器与非易失性存储器耦合,处理器不与非易失性存储器耦合。It can be understood that the processor only plays the role of sending the indication information CI1 to the volatile memory in Mode 1. After the volatile memory receives the indication information CI1, the processor no longer participates in the process that the volatile memory transmits the target data TD1 related to the first event E1 to the non-volatile memory for saving. Thus, the processor in approach 1 is coupled with volatile memory, and the volatile memory is coupled with non-volatile memory, and the processor is not coupled with non-volatile memory.
方式2:获取来自易失性存储器的与第一事件E1相关的目标数据TD1,并发送与第一事件E1相关的目标数据TD1到非易失性存储器中。Mode 2: Acquire the target data TD1 related to the first event E1 from the volatile memory, and send the target data TD1 related to the first event E1 to the non-volatile memory.
在一种可能的实现方式中,处理器先获取步骤S101中存储到易失性存储器中的与第一事件E1相关的目标数据TD1,接着,处理器将获取的与第一事件E1相关的目标数据TD1发送到非易失性存储器进行保存。In a possible implementation manner, the processor first acquires the target data TD1 related to the first event E1 stored in the volatile memory in step S101, and then the processor acquires the acquired target data TD1 related to the first event E1 Data TD1 is sent to non-volatile memory for storage.
可以理解的,处理器参与了在方式2中的整个过程,其起到主导作用。即:处理器不仅起到从易失性存储器中获取与第一事件E1相关的目标数据TD1的作用,且起到了将获取的与第一事件E1相关的目标数据TD1发送到非易失性存储器进行保存的作用。It can be understood that the processor participates in the whole process in Mode 2, and plays a leading role. That is, the processor not only plays the role of acquiring the target data TD1 related to the first event E1 from the volatile memory, but also plays the role of sending the acquired target data TD1 related to the first event E1 to the non-volatile memory the role of preservation.
因此,方式2中的处理器与易失性存储器耦合,且与非易失性存储器耦合,易失性存储器不与非易失性存储器耦合。Thus, the processor in Approach 2 is coupled with volatile memory, and coupled with non-volatile memory, and volatile memory is not coupled with non-volatile memory.
当然,还可以采用除上述两种方式以外的其他方式执行步骤S102,本申请实施例对此不作限定。Of course, step S102 may also be performed in other manners than the above two manners, which are not limited in this embodiment of the present application.
上述方式1和方式2均可以对任何规模的行驶数据(即对行驶数据的数据量无限制)实现管理,且对行驶数据存储的实时性无要求(也就是说,不仅能够适用于对存储实时性要求不高的场景,还可以适用于对存储实时性要求高的场景)。且本申请实施例无需对非易失性存储器进行多次擦除等,能够延长非易失性存储器的运行寿命。Both the above-mentioned methods 1 and 2 can manage driving data of any scale (that is, there is no limit to the amount of driving data), and there is no requirement for the real-time storage of driving data (that is, it is not only applicable to the real-time storage of driving data). It can also be applied to scenarios with high real-time storage requirements). In addition, the embodiments of the present application do not need to perform multiple erasing of the non-volatile memory, etc., and can prolong the operating life of the non-volatile memory.
在上述步骤S101之前,本申请实施例还可以根据上述的第一参考数据RD1预测车辆发生第一事件E1的概率,也就是根据上述的第一参考数据RD1得到第一事件E1的发生概率P。Before the above step S101, the embodiment of the present application can also predict the probability of the occurrence of the first event E1 in the vehicle according to the above-mentioned first reference data RD1, that is, obtain the occurrence probability P of the first event E1 according to the above-mentioned first reference data RD1.
在一种可能的实现方式中,可以通过以下过程1和过程2得到第一事件E1的发生概 率P,进而根据第一事件E1的发生概率P确定是否需要控制将来自易失性存储器的与第一事件E1相关的目标数据TD1存储到非易失性存储器,能够尽可能避免出现在车辆出现/发生第一事件E1导致行驶数据丢失的情况。In a possible implementation manner, the occurrence probability P of the first event E1 can be obtained through the following process 1 and process 2, and then, according to the occurrence probability P of the first event E1, it is determined whether it is necessary to control whether it is necessary to control the connection between the volatile memory and the first event. The target data TD1 related to an event E1 is stored in the non-volatile memory, so as to avoid the situation that the driving data is lost due to the occurrence/occurrence of the first event E1 in the vehicle as much as possible.
过程1:通过事件预测模型EFM和第一参考数据RD1(可以参见上文相关说明),可以得到第一参考结果RR1。Process 1: Through the event prediction model EFM and the first reference data RD1 (see related description above), the first reference result RR1 can be obtained.
其中,事件预测模型EFM可以指示第一参考数据RD1与第一参考结果RR1之间的映射关系,能够通过对历史统计数据进行训练得到。The event prediction model EFM may indicate a mapping relationship between the first reference data RD1 and the first reference result RR1, which can be obtained by training historical statistical data.
第一参考结果RR1可以指示基于第一参考数据RD1得到的第一事件E1的发生概率P 1The first reference result RR1 may indicate the occurrence probability P 1 of the first event E1 obtained based on the first reference data RD1.
如图8所示,可以将第一参考数据RD1作为事件预测模型EFM的输入,也就是将第一参考数据RD1输入事件预测模型EFM,即可得到指示基于第一参考数据RD1得到的第一事件E1的发生概率的第一参考结果RR1。As shown in FIG. 8 , the first reference data RD1 can be used as the input of the event prediction model EFM, that is, the first reference data RD1 can be input into the event prediction model EFM, and the first event indicating the first event obtained based on the first reference data RD1 can be obtained. The first reference result RR1 of the probability of occurrence of E1.
进一步地,得到的第一事件E1的发生概率P 1可以为0,0.1,0.5,或者0.9等。可以理解的,第一事件E1的发生概率P 1为0表明车辆不可能发生第一事件E1,当然,第一事件E1的发生概率P 1的值越大,表明车辆发生第一事件E1的可能性也就越大。 Further, the obtained occurrence probability P 1 of the first event E1 may be 0, 0.1, 0.5, or 0.9, etc. It can be understood that the occurrence probability P1 of the first event E1 is 0, indicating that the first event E1 is unlikely to occur in the vehicle. sex is greater.
更进一步地,可以设置第一事件E1的发生概率门槛值P set,例如,第一事件E1的发生概率门槛值P set可以设置为0.3。接着,当通过过程1得到的第一事件E1的发生概率P 1大于等于0.3(即P 1≥0.3)时,表明车辆发生第一事件E1的可能性很大,可以认为车辆将发生第一事件E1。在该情况下,可以及时通过上述步骤S101和步骤S102实现与第一事件E1相关的目标数据TD1的存储。 Further, the occurrence probability threshold value P set of the first event E1 may be set, for example, the occurrence probability threshold value P set of the first event E1 may be set to 0.3. Next, when the occurrence probability P 1 of the first event E1 obtained through the process 1 is greater than or equal to 0.3 (ie, P 1 ≥ 0.3), it indicates that the vehicle has a high possibility of the first event E1, and it can be considered that the vehicle will have the first event. E1. In this case, the storage of the target data TD1 related to the first event E1 can be realized through the above-mentioned steps S101 and S102 in time.
过程2:通过第一参考数据RD1(可以参见上文相关说明)和辅助数据AD,可以获取第二参考结果RR2。Process 2: Through the first reference data RD1 (refer to the relevant description above) and the auxiliary data AD, the second reference result RR2 can be obtained.
其中,辅助数据AD可以包括车辆所处的场景类别,或者包括历史事件统计数据。当然,辅助数据AD还可以包括车辆所处的场景类别和历史事件统计数据。Wherein, the auxiliary data AD may include the scene category where the vehicle is located, or include historical event statistical data. Of course, the auxiliary data AD may also include the scene category where the vehicle is located and historical event statistical data.
需要说明的是,除了上述的车辆所处的场景类别和历史事件统计数据,辅助数据AD还可以包括其他数据,本申请对此不作限定。It should be noted that, in addition to the above-mentioned scene category where the vehicle is located and historical event statistical data, the auxiliary data AD may also include other data, which is not limited in this application.
可选的,场景类别可以包括高速场景、城区场景、山区场景和极端天气场景中的任一项或者多项。Optionally, the scene category may include any one or more of a high-speed scene, an urban scene, a mountain scene, and an extreme weather scene.
例如,高速场景可以包括高速匝道场景(车辆行驶在高速匝道上)、高速直道场景(车辆行驶在没有坡度和弯度的直道上)、高速弯道场景(车辆行驶在高速弯道上)和高速坡道场景(车辆行驶在高速坡道上)等。For example, high-speed scenarios may include high-speed ramp scenarios (vehicles traveling on high-speed ramps), high-speed straight-track scenarios (vehicles traveling on straights without inclines and curvatures), high-speed curve scenarios (vehicles traveling on high-speed curves), and high-speed ramps Scenario (vehicle driving on a high-speed ramp), etc.
又例如,城区场景可以包括路口场景和非路口场景等。其中,路口场景可以是十字路 口场景(车辆行驶在十字路口)或者丁字路口场景(车辆行驶在丁字路口)。非路口场景可以是城市道路中的单行道场景(车辆行驶在单行道上)或者双行道场景(车辆行驶在双行道上)。For another example, the urban area scene may include an intersection scene and a non-intersection scene, and the like. The intersection scene may be an intersection scene (the vehicle is driving at the intersection) or the T-junction scene (the vehicle is driving at the T-junction). The non-intersection scene can be a one-way street scene (vehicle driving on a one-way street) or a two-way street scene (vehicle driving on a two-lane road) in an urban road.
还例如,山区场景可以包括山区弯道场景(车辆行驶在山区中的弯道上)、山区窄道场景(车辆行驶在山区中的窄道上)和山区坡道场景(车辆行驶在山区中的坡道上)等。Also for example, the mountain scene may include a mountain curve scene (the vehicle is driving on a curve in the mountain), a mountain narrow road scene (the vehicle is driving on a narrow road in the mountain), and a mountain ramp scene (the vehicle is driving on a slope in the mountain). )Wait.
又例如,极端天气场景可以包括暴雨、暴雪、冰雹、台风、沙尘暴和大雾等。For another example, the extreme weather scenario may include heavy rain, heavy snow, hail, typhoon, sandstorm, fog, and the like.
在一种示例中,当车辆行驶在高速直道上,且遇到暴雪时,场景类别可以包括高速场景和极端天气场景。In one example, when the vehicle is traveling on a high-speed straight road and encounters heavy snow, the scene categories may include high-speed scenes and extreme weather scenes.
在另一种示例中,当车辆行驶在山区弯道上,且遇到台风时,场景类别可以包括山区场景和极端天气场景。In another example, when the vehicle is driving on a mountain curve and encounters a typhoon, the scene category may include a mountain scene and an extreme weather scene.
由上述介绍可知,辅助数据AD中的场景类别可以为单一的场景,也可以为不同场景的组合,因此,通过包含各种场景类别的辅助数据AD进一步提高第二参考结果ED2的准确性。It can be seen from the above introduction that the scene category in the auxiliary data AD can be a single scene or a combination of different scenes. Therefore, the accuracy of the second reference result ED2 is further improved by the auxiliary data AD including various scene categories.
可选的,历史事件统计数据可以包括历史发生的一次事件或多次事件,以及发生一次事件或多次事件中的每次事件时的参考数据。Optionally, the historical event statistics data may include one event or multiple events that have occurred in history, and reference data when each event of the one event or multiple events occurs.
需要说明的是,历史事件统计数据可以是从车辆外部的处理器获取的,或者是从车辆内部的处理器(即上文的处理器)获取的。It should be noted that the historical event statistics may be acquired from a processor outside the vehicle, or acquired from a processor inside the vehicle (ie, the above processor).
在一种示例中,历史事件统计数据中的历史发生的一次事件或者多次事件可以是除上文的车辆(上文的车辆为预测可能会发生第一事件E1的车辆,如车辆A)以外的其他车辆(可以是多个车辆,如车辆1至车辆N)曾经(即历史)发生的一次事件或者多次事件。需要说明的是,可以是车辆1至车辆N中每个车辆正经发生的一次事件,也可以是车辆1至车辆N中每个车辆曾经发生的多次事件,本申请实施例对此不作限定。In one example, one or more events that have occurred in history in the historical event statistics may be other than the above vehicle (the above vehicle is a vehicle for which the first event E1 may be predicted to occur, such as vehicle A) The other vehicles (which can be multiple vehicles, such as vehicle 1 to vehicle N) have once (ie history) an event or multiple events. It should be noted that, it may be an event that has occurred in each of vehicles 1 to N, or multiple events that have occurred in each of vehicles 1 to N, which is not limited in this embodiment of the present application.
在另一种示例中,历史事件统计数据中的发生一次事件或者多次事件中的每次事件时的参考数据可以为车辆1至车辆N发生多次事件中每次事件时的感知数据、定位数据、地图数据和无线通信技术数据中的一项或多项。感知数据、定位数据、地图数据和无线通信技术数据的介绍可以参见上文,本申请实施例在此不再赘述。In another example, the reference data in the historical event statistics data when one event or each of the multiple events occurs may be the perception data, positioning, and positioning of the vehicle 1 to the vehicle N when each of the multiple events occurs. One or more of data, map data, and wireless communication technology data. For the introduction of perception data, positioning data, map data, and wireless communication technology data, reference may be made to the above, and details are not described herein again in this embodiment of the present application.
上述过程2中的第二参考结果RR2可以指示基于第一参考数据RD1和辅助数据AD得到的第一事件E1的发生概率P 2The second reference result RR2 in the above process 2 may indicate the occurrence probability P 2 of the first event E1 obtained based on the first reference data RD1 and the auxiliary data AD.
参考上述过程1,得到的第一事件E1的发生概率P 2也可以为0,0.1,0.5,或者0.9等。可以理解的,第一事件E1的发生概率P 2为0表明车辆不可能发生第一事件E1,当然,第一事件E1的发生概率P 2的值越大,表明车辆发生第一事件E1的可能性也就越大。 Referring to the above process 1, the obtained occurrence probability P2 of the first event E1 may also be 0 , 0.1, 0.5, or 0.9, etc. It can be understood that the occurrence probability P2 of the first event E1 is 0 , indicating that the first event E1 is unlikely to occur in the vehicle. sex is greater.
仍参考上述过程1,可以设置第一事件E1的发生概率门槛值P set,例如,第一事件 E1的发生概率门槛值P set可以设置为0.3。接着,当通过过程1得到的第一事件E1的发生概率P 2大于等于0.3(即P 2≥0.3)时,表明车辆发生第一事件E1的可能性很大,需要及时通过上述步骤S101和步骤S102实现与第一事件E1相关的目标数据TD1的存储。 Still referring to the above process 1, the occurrence probability threshold P set of the first event E1 may be set, for example, the occurrence probability threshold P set of the first event E1 may be set to 0.3. Next, when the occurrence probability P 2 of the first event E1 obtained through the process 1 is greater than or equal to 0.3 (ie, P 2 ≥ 0.3), it indicates that the vehicle has a high possibility of the occurrence of the first event E1, and it is necessary to pass the above steps S101 and S101 in time. S102 realizes the storage of the target data TD1 related to the first event E1.
继续参考上述过程1,如图9所示,可以将第一参考数据RD1和辅助数据AD作为事件预测模型EFM的输入,也就是将第一参考数据RD1和辅助数据AD输入事件预测模型EFM,即可得到指示基于第一参考数据RD1和辅助数据AD得到的第一事件E1的发生概率的第二参考结果RR2。Continuing to refer to the above process 1, as shown in FIG. 9, the first reference data RD1 and the auxiliary data AD can be used as the input of the event prediction model EFM, that is, the first reference data RD1 and the auxiliary data AD are input into the event prediction model EFM, that is A second reference result RR2 indicating the probability of occurrence of the first event E1 based on the first reference data RD1 and the auxiliary data AD can be obtained.
在一种可能的实现方式中,在上述步骤S102之后,当车辆实际发生的事件(即第二事件E2)与上文的第一事件E1不同时,本申请实施例还可以控制将与第二事件E2相关的目标数据TD2存储至非易失性存储器。如图10所示,过程1000可以通过以下步骤S103a和步骤S103b实现。In a possible implementation manner, after the above step S102, when the event that actually occurs in the vehicle (ie the second event E2) is different from the first event E1 above, the embodiment of the present application may also control the The target data TD2 related to the event E2 is stored in the non-volatile memory. As shown in FIG. 10, the process 1000 can be implemented through the following steps S103a and S103b.
步骤S103a:确定车辆实际发生的第二事件E2。Step S103a: Determine the second event E2 that actually occurs in the vehicle.
其中,第二事件E2为车辆实际发生的事件,第一事件E1为预测车辆可能会发生的事件。The second event E2 is an event that actually occurs in the vehicle, and the first event E1 is an event that is predicted to occur in the vehicle.
可以参考前文第一事件E1的类型的相关介绍,第二事件E2也可以为车辆发生交通事故(例如追尾事故、超车事故、会车事故、行人事故、非机动车事故中的任一项)、车辆本身产生故障和车辆发生接管事故中的一项或者多项。但是,第二事件E2与上文的第一事件E1不同。You can refer to the relevant introduction of the type of the first event E1 above, and the second event E2 can also be a traffic accident of a vehicle (for example, a rear-end collision, an overtaking accident, a passing vehicle accident, a pedestrian accident, or any one of a non-motor vehicle accident), One or more of the failure of the vehicle itself and the takeover of the vehicle. However, the second event E2 is different from the first event E1 above.
例如,第一事件E1为车辆发生交通事故(如,追尾事故、超车事故、会车事故、行人事故、非机动车事故中的任一项),第二事件E2为车辆出现故障(可以参考上文介绍)。For example, the first event E1 is that a vehicle has a traffic accident (for example, any one of a rear-end collision, an overtaking accident, a passing-vehicle accident, a pedestrian accident, and a non-motor vehicle accident), and the second event E2 is a vehicle failure (refer to the above introduction).
又例如,第一事件E1为车辆发生交通事故,第二事件E2为车辆发生接管事故(可以参考上文介绍)。For another example, the first event E1 is a traffic accident of the vehicle, and the second event E2 is a takeover accident of the vehicle (refer to the above description).
再例如,第一事件E1为车辆发生追尾事故,第二事件E2为车辆发生非机动车事故。在该情况下,虽然追尾事故和非机动车事故均为车辆发生的交通事故,仍可以认定第一事件E1与第二事件E2不同。For another example, the first event E1 is a rear-end collision accident of the vehicle, and the second event E2 is a non-motor vehicle accident of the vehicle. In this case, although the rear-end collision accident and the non-motor vehicle accident are both traffic accidents caused by vehicles, it can still be determined that the first event E1 is different from the second event E2.
当然,还可以是第一事件E1为车辆出现故障,且第二事件E2为车辆发生接管事故等其他情况,本申请实施例在此不做一一列举,只要第一事件E1与第二事件E2不同即可。Of course, it can also be that the first event E1 is the failure of the vehicle, and the second event E2 is other situations such as a vehicle takeover accident. This embodiment of the present application does not list them all here, as long as the first event E1 and the second event E2 different.
在一种可能的实现方式中,第一参考数据RD1除了包含上述与第一事件E1相关的目标数据TD1,第一参考数据RD1还包含与第二事件E2相关的目标数据TD2。In a possible implementation manner, in addition to the above-mentioned target data TD1 related to the first event E1, the first reference data RD1 also contains the target data TD2 related to the second event E2.
参考上文的与第一事件RD1相关的目标数据TD1,与第二事件E2相关的目标数据TD2同样也可以是第一参考数据RD1中的部分数据,也可以是第一参考数据RD1中的全部数据。Referring to the above target data TD1 related to the first event RD1, the target data TD2 related to the second event E2 may also be part of the data in the first reference data RD1, or may be all of the first reference data RD1. data.
例如,与第二事件E2相关的目标数据TD2同样也可以包括感知数据和定位数据,或者可以包括感知数据、地图数据、无线通信技术数据(也就是包括第一参考数据RD1中的部分数据)。For example, the target data TD2 related to the second event E2 may also include sensing data and positioning data, or may include sensing data, map data, and wireless communication technology data (ie, include part of the data in the first reference data RD1).
还例如,与第一事件RD1相关的目标数据TD2可以包括感知数据、定位数据、地图数据和无线通信技术数据(也就是包括第一参考数据RD1中的全部数据)。Also for example, the target data TD2 related to the first event RD1 may include sensing data, positioning data, map data and wireless communication technology data (that is, including all the data in the first reference data RD1).
需要说明的是,由于第一事件E1与第二事件E2不同,所以与第一事件RD1相关的目标数据TD1可以和与第二事件E2相关的目标数据TD2不同。但是,又由于第一事件E1可以是前文介绍的第一事件E1的类型中不同类型的组合,第一事件E2也可以是前文介绍的第一事件E2的类型中不同类型的组合,所以与第一事件RD1相关的目标数据TD1和与第二事件E2相关的目标数据TD2也可以部分相同。It should be noted that, since the first event E1 is different from the second event E2, the target data TD1 related to the first event RD1 may be different from the target data TD2 related to the second event E2. However, since the first event E1 may be a combination of different types of the types of the first event E1 introduced above, the first event E2 may also be a combination of different types of the types of the first event E2 introduced above, so it is different from the first event E2. The target data TD1 related to an event RD1 and the target data TD2 related to the second event E2 may also be partially identical.
例如,第一事件E1为车辆发生追尾事故且车辆出现故障,第二事件E2为车辆发生非机动车事故且车辆出现故障。在该情况下,第一事件E1与第二事件E2不同,但是由于第一事件E1和第二事件E2中均存在车辆出现故障的情况,所以与第一事件RD1相关的目标数据TD1和与第二事件E2相关的目标数据TD2就可以部分相同。For example, the first event E1 is that the vehicle has a rear-end collision accident and the vehicle is faulty, and the second event E2 is that the vehicle has a non-motor vehicle accident and the vehicle is faulty. In this case, the first event E1 is different from the second event E2, but since there is a vehicle failure in both the first event E1 and the second event E2, the target data TD1 related to the first event RD1 and the The target data TD2 related to the two events E2 may be partially the same.
可以理解的,可以是与第一事件RD1相关的目标数据TD1中与车辆出现故障相关的数据与第二事件E2相关的目标数据TD2中与车辆出现故障相关的数据相同,与第一事件E1相关的目标数据TD1中与追尾事故相关的数据和与第二事件E2相关的目标数据TD2中与非机动车事故相关的数据不同。It can be understood that the data related to the failure of the vehicle in the target data TD1 related to the first event RD1 may be the same as the data related to the failure of the vehicle in the target data TD2 related to the second event E2, and are related to the first event E1. The data related to the rear-end collision accident in the target data TD1 of , and the data related to the non-motor vehicle accident in the target data TD2 related to the second event E2 are different.
又例如,第一事件E1为车辆同时发生追尾事故和超车事故(也就是说,车辆在超车的过程中发生了超车事故。同时由于超车,车辆也发生了追尾事故),第二事件E2为车辆同时发生超车事故和非机动车事故(也就是说,车辆在超车的过程中发生了超车事故。同时由于超车,车辆发生了非机动车事故(可以是车辆因需要超车而导致车速过快,进而撞到了非机动车)。在该情况下,第一事件E1与第二事件E2也不同,但是由于第一事件E1和第二事件E2中均存在车辆发生的超车事故,所以与第一事件E1相关的目标数据TD1和与第二事件E2相关的目标数据TD2就可以部分相同。For another example, the first event E1 is that the vehicle has a rear-end collision accident and an overtaking accident at the same time (that is, the vehicle has an overtaking accident during the overtaking process. At the same time, the vehicle also has a rear-end collision accident due to overtaking), and the second event E2 is that the vehicle has a rear-end collision accident. Overtaking accidents and non-motor vehicle accidents occur at the same time (that is, the vehicle has an overtaking accident during the process of overtaking. At the same time, due to overtaking, the vehicle has a non-motor vehicle accident (it can be that the vehicle needs to overtake and the speed is too fast, and then hit a non-motor vehicle). In this case, the first event E1 and the second event E2 are also different, but since there is an overtaking accident by a vehicle in both the first event E1 and the second event E2, it is different from the first event E1. The associated target data TD1 and the target data TD2 associated with the second event E2 may then be partially identical.
可以理解的,可以是与第一事件E1相关的目标数据TD1中与超车事故相关的数据和与第二事件E2相关的目标数据TD2中与超车事故相关的数据相同,与第一事件RD1相关的目标数据TD1中与追尾事故相关的数据和与第二事件E2相关的目标数据TD2中与非机动车事故相关的数据不同。It can be understood that the data related to the overtaking accident in the target data TD1 related to the first event E1 may be the same as the data related to the overtaking accident in the target data TD2 related to the second event E2, and the data related to the first event RD1. The data related to the rear-end collision accident in the target data TD1 is different from the data related to the non-motor vehicle accident in the target data TD2 related to the second event E2.
步骤S103b:控制将来自于易失性存储器的与第二事件E2相关的目标数据TD2从易失性存储器存储到非易失性存储器中。Step S103b: Control to store the target data TD2 related to the second event E2 from the volatile memory into the non-volatile memory from the volatile memory.
在一种可能的实现方式中,可以参考上文步骤S102,通过以下两种方式执行步骤 S103b。In a possible implementation manner, referring to step S102 above, step S103b can be performed in the following two manners.
方式A:向易失性存储器发送指示信息CI2。Mode A: Send the indication information CI2 to the volatile memory.
示例的,上述的指示信息CI2用于指示将与第二事件E2相关的目标数据TD2传输到非易失性存储器中。Exemplarily, the above-mentioned indication information CI2 is used to instruct to transmit the target data TD2 related to the second event E2 to the non-volatile memory.
进一步地,车辆的处理器向易失性存储器发送指示信息CI2,接着,易失性存储器接收指示信息CI2,并将第二事件E2相关的目标数据TD2传输到非易失性存储器进行保存。Further, the processor of the vehicle sends the indication information CI2 to the volatile memory, and then the volatile memory receives the indication information CI2, and transmits the target data TD2 related to the second event E2 to the non-volatile memory for saving.
可以理解的,处理器在方式A中仅起到发送指示信息CI2给易失性存储器的作用。易失性存储器接收指示信息CI2后,处理器则不再参与易失性存储器将第二事件E2相关的目标数据TD2传输到非易失性存储器进行保存的过程。因此,方式A中的处理器与易失性存储器耦合,且易失性存储器与非易失性存储器耦合,处理器不与非易失性存储器耦合。It can be understood that, in the mode A, the processor only plays the role of sending the indication information CI2 to the volatile memory. After the volatile memory receives the indication information CI2, the processor no longer participates in the process that the volatile memory transmits the target data TD2 related to the second event E2 to the non-volatile memory for saving. Thus, the processor in approach A is coupled with volatile memory, and the volatile memory is coupled with non-volatile memory, and the processor is not coupled with non-volatile memory.
方式B:获取来自易失性存储器的与第二事件E2相关的目标数据TD2,并发送与第二事件E2相关的目标数据TD2到非易失性存储器中。Mode B: Acquire the target data TD2 related to the second event E2 from the volatile memory, and send the target data TD2 related to the second event E2 to the non-volatile memory.
进一步地,处理器先获取存储到易失性存储器中的与第二事件E2相关的目标数据TD2,接着,处理器将获取的与第二事件E2相关的目标数据TD2发送到非易失性存储器进行保存。Further, the processor first acquires the target data TD2 related to the second event E2 stored in the volatile memory, and then the processor sends the acquired target data TD2 related to the second event E2 to the non-volatile memory. to save.
可以理解的,处理器参与了方式B中的整个过程,其起到主导作用。即:处理器不仅起到从易失性存储器中获取与第二事件E2相关的目标数据TD2的作用,且起到了将获取的与第二事件E2相关的目标数据TD2发送到非易失性存储器进行保存的作用。It can be understood that the processor participates in the whole process in the way B, and plays a leading role. That is, the processor not only plays the role of acquiring the target data TD2 related to the second event E2 from the volatile memory, but also plays the role of sending the acquired target data TD2 related to the second event E2 to the non-volatile memory the role of preservation.
因此,方式B中的处理器与易失性存储器耦合,且与非易失性存储器耦合,易失性存储器不与非易失性存储器耦合。Thus, the processor in approach B is coupled with volatile memory, and coupled with non-volatile memory, and volatile memory is not coupled with non-volatile memory.
当然,还可以采用除上述两种方式以外的其他方式执行步骤S103a2,本申请实施例对此不作限定。Of course, step S103a2 may also be performed in other manners than the above two manners, which is not limited in this embodiment of the present application.
需要说明的是,如果上述的第二事件E2为车辆发生交通事故(例如追尾事故、超车事故、会车事故、行人事故、非机动车事故中的任一项)、车辆本身产生故障和车辆发生接管事故以外的其他事件,本申请实施例无需将来自于易失性存储器的与第二事件E2相关的目标数据TD2从易失性存储器存储到非易失性存储器中。It should be noted that, if the above-mentioned second event E2 is any one of a vehicle accident (such as a rear-end collision, an overtaking accident, a passing-vehicle accident, a pedestrian accident, and a non-motor vehicle accident), a failure of the vehicle itself, and the occurrence of a vehicle accident. Taking over other events other than the accident, the embodiment of the present application does not need to store the target data TD2 from the volatile memory related to the second event E2 from the volatile memory to the non-volatile memory.
本申请实施例在步骤S102之后,还可以对与第一事件E1相关的目标数据TD1进行加锁、加密、打时间戳和压缩中的一项或多项处理。After step S102 in this embodiment of the present application, one or more processes of locking, encryption, time stamping and compression may also be performed on the target data TD1 related to the first event E1.
进一步地,在对与第一事件E1相关的目标数据TD1进行加锁、加密、打时间戳和压缩中的一项或多项处理之后,如果在预设的时长(如24小时)内,车辆未发生第一事件E1,可以对非易失存储器中的与第一事件E1相关的目标数据TD1进行解锁、解密、擦除中的一项或多项处理。Further, after one or more of locking, encrypting, time stamping and compressing the target data TD1 related to the first event E1, if within a preset time period (such as 24 hours), the vehicle When the first event E1 does not occur, one or more processes of unlocking, decrypting and erasing the target data TD1 related to the first event E1 in the non-volatile memory may be performed.
图11为本申请实施例提供的数据管理方法的又一个流程示意图。如图11所示,过程1100可以通过以下步骤实现。FIG. 11 is another schematic flowchart of the data management method provided by the embodiment of the present application. As shown in FIG. 11, process 1100 can be implemented by the following steps.
步骤S1101:根据第一参考数据RD1得到第一事件E1的发生概率P。Step S1101: Obtain the occurrence probability P of the first event E1 according to the first reference data RD1.
步骤S1102:控制将第一参考数据RD1存储到易失性存储器。Step S1102: Control to store the first reference data RD1 in the volatile memory.
步骤S1103:控制将来自易失性存储器的与第一事件E1相关的目标数据TD1存储到非易失性存储器。Step S1103: Control to store the target data TD1 related to the first event E1 from the volatile memory to the non-volatile memory.
步骤S1104:对与第一事件E1相关的目标数据TD1进行第一处理(如加锁、加密、打时间戳和压缩中的一项或多项处理)。Step S1104: Perform a first process (such as one or more processes of locking, encryption, time stamping and compression) on the target data TD1 related to the first event E1.
步骤S1105:判断第二事件E2是否与第一事件相同,若是,执行步骤S1106,否则,执行步骤S1107。Step S1105: Determine whether the second event E2 is the same as the first event, if so, go to step S1106, otherwise, go to step S1107.
步骤S1106:控制将与第二事件E2相关的目标数据TD2存储至非易失性存储器。Step S1106: Control to store the target data TD2 related to the second event E2 in the non-volatile memory.
步骤S1107:若车辆在经过预设的时长(如24小时)后未发生第一事件E1,对非易失存储器中的与第一事件E1相关的目标数据TD1进行第二处理(如解锁、解密、擦除中的一项或多项处理)。Step S1107: If the vehicle does not have the first event E1 after a preset period of time (such as 24 hours), perform second processing (such as unlocking, decrypting) on the target data TD1 related to the first event E1 in the non-volatile memory. , erase one or more of the processes).
在一种可能的实现方式中,步骤S1101至步骤S1107的详细执行过程可以参考上文相关介绍实现。In a possible implementation manner, the detailed execution process of steps S1101 to S1107 may be implemented with reference to the above related introduction.
需要说明的是,步骤S1107中,如果车辆在经过预设的时长(如24小时)内未发生第一事件E1,就表明车辆在经过预设的时长(如24小时)后更不可能发生第一事件E1,于是,可以对将非易失存储器中的与第一事件E1相关的目标数据TD1进行解锁、解密、擦除中的一项或多项处理。It should be noted that, in step S1107, if the first event E1 does not occur in the vehicle within a preset time period (such as 24 hours), it means that the vehicle is even less likely to occur the first event E1 after the preset time period (such as 24 hours). In an event E1, then, one or more processes of unlocking, decrypting, and erasing the target data TD1 in the non-volatile memory related to the first event E1 can be performed.
图12为本申请实施例提供的数据管理装置的一种结构示意图。如图12所示,该数据管理装置120可以是具备数据管理功能的装置,例如,管理芯片、车辆、车辆中的管理芯片等。该数据管理装置120可以包括处理器121。FIG. 12 is a schematic structural diagram of a data management apparatus provided by an embodiment of the present application. As shown in FIG. 12 , the data management device 120 may be a device with a data management function, such as a management chip, a vehicle, a management chip in a vehicle, and the like. The data management apparatus 120 may include a processor 121 .
在一种可能的实现方式中,处理器121,用于控制将第一参考数据RD1存储到易失性存储器,并控制将来自易失性存储器的与第一事件E1相关的目标数据TD1存储到非易失性存储器。In a possible implementation manner, the processor 121 is configured to control to store the first reference data RD1 in the volatile memory, and control to store the target data TD1 related to the first event E1 from the volatile memory to the volatile memory. non-volatile memory.
示例的,与步骤S101中相同,第一参考数据RD1也包含与第一事件E1相关的目标数据TD1。第一参考数据RD1和与第一事件E1相关的目标数据TD1的详细介绍可以参考前文,本申请实施例在此不做赘述。Exemplarily, as in step S101, the first reference data RD1 also includes target data TD1 related to the first event E1. For the detailed introduction of the first reference data RD1 and the target data TD1 related to the first event E1, reference may be made to the foregoing description, which will not be repeated in this embodiment of the present application.
进一步地,处理器121还可以通过以下两种控制将来自易失性存储器的与第一事件E1相关的目标数据TD1存储到非易失性存储器。Further, the processor 121 may also store the target data TD1 related to the first event E1 from the volatile memory to the non-volatile memory through the following two controls.
方式1:向易失性存储器发送指示信息CI1。Mode 1: Send the indication information CI1 to the volatile memory.
方式2:获取来自易失性存储器的与第一事件E1相关的目标数据TD1,并发送与第一事件E1相关的目标数据TD1到非易失性存储器中。Mode 2: Acquire the target data TD1 related to the first event E1 from the volatile memory, and send the target data TD1 related to the first event E1 to the non-volatile memory.
需要说明的是,方式1和方式2的详细实现过程可以参考上文相关介绍,本申请实施例在此不做赘述。It should be noted that, for the detailed implementation process of Mode 1 and Mode 2, reference may be made to the above related introduction, which is not repeated in this embodiment of the present application.
在一种可能的实现方式中,处理器121可以包括预测模块1211和处理模块1212。In one possible implementation, the processor 121 may include a prediction module 1211 and a processing module 1212 .
示例的,处理器121通过上文的方式1实现对与第一事件E1相关的目标数据TD1的存储。如图13所示,预测模块1211可以根据来自于车辆上相关设备的第一参考数据RD1和辅助数据AD(包括场景类别和历史事件统计数据,参考上文介绍),通过上文的过程1或者过程2(可以参考上文介绍)得到用于指示第一事件的发生概率P。Exemplarily, the processor 121 implements the storage of the target data TD1 related to the first event E1 through the above method 1. As shown in FIG. 13 , the prediction module 1211 can, according to the first reference data RD1 and auxiliary data AD (including scene categories and historical event statistics, refer to the above introduction) from the related equipment on the vehicle, through the above process 1 or Process 2 (refer to the introduction above) obtains the occurrence probability P for indicating the first event.
预测模块1211得到用于指示第一事件的发生概率P之后,处理模块1212根据用于指示第一事件的发生概率P,向控制将易失性存储器A发送指示信息CI,易失性存储器A收到来自处理模块1212的指示信息AI后,易失性存储器A将与第一事件E1相关的目标数据TD1存储至非易失性存储器B。After the prediction module 1211 obtains the occurrence probability P used to indicate the first event, the processing module 1212 sends the indication information CI to the control volatile memory A according to the occurrence probability P used to indicate the first event, and the volatile memory A receives the information CI. After receiving the indication information AI from the processing module 1212, the volatile memory A stores the target data TD1 related to the first event E1 to the non-volatile memory B.
当然,处理器121还可以通过上文的方式2实现对与第一事件E1相关的目标数据TD1的存储。如图14所示,预测模块1211可以根据来自于车辆上相关设备的第一参考数据RD1和辅助数据AD(包括场景类别和历史事件统计数据,参考上文介绍),通过上文的过程1或者过程2(可以参考上文介绍)得到用于指示第一事件的发生概率P。Of course, the processor 121 can also implement the storage of the target data TD1 related to the first event E1 through the above manner 2. As shown in FIG. 14 , the prediction module 1211 can, according to the first reference data RD1 and auxiliary data AD (including scene categories and historical event statistics, refer to the above introduction) from the related equipment on the vehicle, through the above process 1 or Process 2 (refer to the introduction above) obtains the occurrence probability P for indicating the first event.
预测模块1211得到用于指示第一事件的发生概率P之后,处理模块1212根据用于指示第一事件的发生概率P,获取来自易失性存储器A的与第一事件E1相关的目标数据TD1,并将与第一事件E1相关的目标数据TD1发送到非易失性存储器B。After the prediction module 1211 obtains the occurrence probability P used to indicate the first event, the processing module 1212 obtains the target data TD1 related to the first event E1 from the volatile memory A according to the occurrence probability P used to indicate the first event, And the target data TD1 related to the first event E1 is sent to the non-volatile memory B.
在一种可能的实现方式中,处理器121控制将来自易失性存储器的与第一事件E1相关的目标数据TD1存储到非易失性存储器之后,处理器121可以对与第一事件E1相关的目标数据TD1进行加锁、加密、打时间戳和压缩中的一项或多项处理。In a possible implementation manner, after the processor 121 controls the target data TD1 related to the first event E1 from the volatile memory to be stored in the non-volatile memory, the processor 121 can control the target data TD1 related to the first event E1 to be stored in the non-volatile memory. The target data TD1 is locked, encrypted, time stamped and compressed.
在上述的对与第一事件E1相关的目标数据TD1进行加锁、加密、打时间戳和压缩中的一项或多项处理之后,若车辆实际发生与第一事件E1不同的第二事件E2,处理器121控制将与第二事件E2相关的目标数据TD2存储至非易失性存储器。After one or more of the above-mentioned processing of locking, encrypting, time stamping and compressing the target data TD1 related to the first event E1, if the vehicle actually occurs a second event E2 that is different from the first event E1 , the processor 121 controls the target data TD2 related to the second event E2 to be stored in the non-volatile memory.
在另一种可能的实现方式中,若车辆在经过预设的时长(如24小时)后未发生第一事件E1,处理器121将非易失存储器中的与第一事件E1相关的目标数据TD1进行解锁、解密、擦除中的一项或多项处理。In another possible implementation manner, if the vehicle does not have the first event E1 after a preset period of time (eg, 24 hours), the processor 121 stores the target data related to the first event E1 in the non-volatile memory TD1 performs one or more processes of unlocking, decrypting, and erasing.
需要说明的是,控制将与第二事件E2相关的目标数据TD2存储至非易失性存储器的详细过程可以参考上文相关介绍,本申请实施例在此不做赘述。It should be noted that, for the detailed process of controlling the storage of the target data TD2 related to the second event E2 in the non-volatile memory, reference may be made to the above related introduction, which will not be repeated in this embodiment of the present application.
图15为本申请实施例提供的数据管理装置的一种结构示意图。如图15所示,数据管 理装置150包括接口电路151和至少一个处理器152。接口电路151与处理器152耦合。FIG. 15 is a schematic structural diagram of a data management apparatus provided by an embodiment of the present application. As shown in FIG. 15 , the data management apparatus 150 includes an interface circuit 151 and at least one processor 152. Interface circuit 151 is coupled to processor 152 .
在一种可能的实现方式中,如果处理器152通过上述方式1实现将与第一事件E1相关的目标数据TD1存储到非易失性存储器,接口电路151可以包括接口电路1511。接口电路1511与易失性存储器耦合。In a possible implementation manner, if the processor 152 implements storing the target data TD1 related to the first event E1 in the non-volatile memory through the above manner 1, the interface circuit 151 may include an interface circuit 1511 . The interface circuit 1511 is coupled with volatile memory.
可以理解的,由于处理器152通过1511向易失性存储器发送指示信息CI1,指示信息CI1又用于指示易失性存储器将与第一事件E1相关的目标数据TD1传输到非易失性存储器中,所以,如图16所示,处理器152只通过接口电路151与易失性存储器A耦合,易失性存储器A与非易失性存储器B耦合。It can be understood that since the processor 152 sends the indication information CI1 to the volatile memory through 1511, the indication information CI1 is used to instruct the volatile memory to transfer the target data TD1 related to the first event E1 to the non-volatile memory. , so, as shown in FIG. 16 , the processor 152 is only coupled with the volatile memory A through the interface circuit 151 , and the volatile memory A is coupled with the non-volatile memory B.
在另一种可能的实现方式中,如果处理器152通过上述方式2实现将与第一事件E1相关的目标数据TD1存储到非易失性存储器,如图17所示,接口电路151可以包括接口电路1511和接口电路1512。处理器152通过接口电路1511与易失性存储器A耦合,且通过接口电路1512与非易失性存储器B耦合。In another possible implementation manner, if the processor 152 stores the target data TD1 related to the first event E1 in the non-volatile memory through the foregoing manner 2, as shown in FIG. 17 , the interface circuit 151 may include an interface circuit 1511 and interface circuit 1512. The processor 152 is coupled to the volatile memory A through the interface circuit 1511 , and is coupled to the non-volatile memory B through the interface circuit 1512 .
需要说明的是,数据管理装置150中的处理器152与数据管理装置120中的处理器121相同,且均用于执行上述步骤101和步骤S102。It should be noted that the processor 152 in the data management apparatus 150 is the same as the processor 121 in the data management apparatus 120, and both are used to execute the above-mentioned steps 101 and S102.
在实现的过程中,上述实施例中提及的处理器可以是通用处理器、数字信号处理器(digital signal processor,DSP)、特定应用集成电路(application-specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。本申请实施例公开的方法的步骤可以直接体现为硬件编码处理器执行完成,或者用编码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。In the process of implementation, the processor mentioned in the above embodiments may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable Field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the methods disclosed in the embodiments of the present application may be directly embodied as executed by a hardware coding processor, or executed by a combination of hardware and software modules in the coding processor. The software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. The storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware.
上述各实施例中提及的非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)、闪存(即flash存储器),或者固态硬盘(solid state disk,SSD)。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同 步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。The non-volatile memory mentioned in the above embodiments can be read-only memory (read-only memory, ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM) , EPROM), electrically erasable programmable read-only memory (electrically EPROM, EEPROM), flash memory (ie flash memory), or solid state disk (solid state disk, SSD). Volatile memory may be random access memory (RAM), which acts as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synchlink DRAM, SLDRAM) ) and direct memory bus random access memory (direct rambus RAM, DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but not be limited to, these and any other suitable types of memory.
上述数据管理装置120和数据管理装置150所达到的技术效果与上述数据管理方法类似,此处不再赘述。The technical effects achieved by the above data management apparatus 120 and the data management apparatus 150 are similar to the above data management methods, and will not be repeated here.
在一种可能的实现方式中,本申请实施例提供了一种终端设备,该终端设备可以包括上述实施例提及的数据管理装置120或数据管理装置150。In a possible implementation manner, an embodiment of the present application provides a terminal device, and the terminal device may include the data management apparatus 120 or the data management apparatus 150 mentioned in the foregoing embodiments.
在一示例中,终端设备可以为智能运输设备(即本申请实施例中的车辆),还可以为机器人。In an example, the terminal device may be an intelligent transportation device (that is, a vehicle in this embodiment of the present application), and may also be a robot.
在另一种可能的实现方式中,本申请实施例提供了一种计算机可读存储介质,计算机可读存储介质中存储有指令,当指令在计算机上运行时,用于执行实现如上述实施例中的数据管理装置120的数据管理方法,或者执行上述实施例中的数据管理装置150的数据管理方法。In another possible implementation manner, an embodiment of the present application provides a computer-readable storage medium, where an instruction is stored in the computer-readable storage medium, and when the instruction is run on a computer, it is used to execute and implement the above-mentioned embodiments. The data management method of the data management device 120 in the above, or the data management method of the data management device 150 in the above-mentioned embodiment is executed.
在再一种可能的实现方式中,本申请实施例提供了计算机程序产品,计算机程序产品中包含指令,当指令在计算机或处理器上运行时,使得计算机或处理器实现如上述实施例中的数据管理装置120的数据管理方法,或者实现上述实施例中的数据管理装置150的数据管理方法。In yet another possible implementation manner, the embodiment of the present application provides a computer program product, and the computer program product contains instructions, when the instructions are executed on a computer or a processor, the computer or the processor is made to implement the above-mentioned embodiments. The data management method of the data management apparatus 120, or the data management method of the data management apparatus 150 in the above-mentioned embodiment is implemented.
需要说明的是,上述所有实施例均可以应用于车辆。车辆可以是自动驾驶车辆(autonomous vehicles),或者是通过驾驶员驾驶的车辆,还可以是其他形式的车辆,本申请实施例对车辆的形式不作限定。It should be noted that all the above embodiments can be applied to vehicles. The vehicle may be an autonomous vehicle (autonomous vehicle), or a vehicle driven by a driver, or may be a vehicle of other forms, and the embodiment of the present application does not limit the form of the vehicle.
可以理解的,自动驾驶车辆又称无人驾驶汽车、电脑驾驶汽车或轮式移动机器人,是一种依靠人工智能(artificial intelligence,AI)、视觉计算(computational theory)、雷达radar、激光雷达lidar、监控装置(monitoring device)和全球定位系统GPS,在没有任何人类主动操作的情况下,通过电脑系统实现无人驾驶的智能汽车。通过驾驶员驾驶的车辆较为常见,本申请实施例不做进一步介绍。It is understandable that an autonomous vehicle, also known as a driverless car, a computer-driven car or a wheeled mobile robot, is a vehicle that relies on artificial intelligence (AI), visual computing (computational theory), radar, lidar, The monitoring device and the global positioning system GPS can realize the unmanned intelligent car through the computer system without any human active operation. A vehicle driven by a driver is relatively common, and will not be further described in this embodiment of the present application.
还可以理解的,需要存储的行驶数据往往与车辆自动化程度成正比,也就是说,自动驾驶车辆的自动化程度越高,需要存储的行驶数据的规模也就越大。例如,目前的部分自动驾驶车辆在每天产生的数据量可以为几TB,甚至高达上百TB。本申请上述实施例适用于管理自动驾驶车辆产生的大规模行驶数据,以及对存储实时性要求高的场景。当然,同样适用于管理车辆产生的小规模行驶数据,以及对存储实时性要求不高的场景。需要说明的是,本申请上述实施例除了适用于以上场景外,还可以适用于其他需要存储行驶数据的场景,本申请实施例对适用场景不作限定。It is also understandable that the driving data that needs to be stored is often proportional to the degree of vehicle automation, that is to say, the higher the degree of automation of the self-driving vehicle, the larger the scale of driving data that needs to be stored. For example, current partially autonomous vehicles can generate several terabytes or even hundreds of terabytes of data per day. The above-mentioned embodiments of the present application are suitable for managing large-scale driving data generated by autonomous driving vehicles and scenarios with high requirements for real-time storage. Of course, it is also suitable for managing small-scale driving data generated by vehicles, as well as scenarios that do not require high real-time storage requirements. It should be noted that, in addition to the above scenarios, the above embodiments of the present application may also be applied to other scenarios where driving data needs to be stored, and the embodiments of the present application do not limit the applicable scenarios.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present application. implementation constitutes any limitation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。Units described as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (26)

  1. 一种数据管理方法,其特征在于,包括:A data management method, comprising:
    控制将第一参考数据存储到易失性存储器,所述第一参考数据包含与第一事件相关的目标数据;controlling storage of first reference data to the volatile memory, the first reference data including target data related to the first event;
    控制将来自所述易失性存储器的所述与第一事件相关的目标数据存储到非易失性存储器。Control stores the target data related to the first event from the volatile memory to non-volatile memory.
  2. 根据权利要求1所述的方法,所述控制将来自所述易失性存储器的所述与第一事件相关的目标数据存储到非易失性存储器,包括:The method of claim 1 , said controlling to store said target data related to the first event from said volatile memory to non-volatile memory, comprising:
    向所述易失性存储器发送指示信息,所述指示信息用于指示将所述与第一事件相关的目标数据传输到所述非易失性存储器中;或者,sending indication information to the volatile memory, where the indication information is used to instruct to transfer the target data related to the first event to the non-volatile memory; or,
    获取来自所述易失性存储器的所述与第一事件相关的目标数据,并发送所述与第一事件相关的目标数据到所述非易失性存储器中。The target data related to the first event is acquired from the volatile memory, and the target data related to the first event is sent to the non-volatile memory.
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一参考数据包括感知数据、定位数据、地图数据和无线通信技术数据中的至少一项。The method according to claim 1 or 2, wherein the first reference data includes at least one of perception data, positioning data, map data and wireless communication technology data.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 3, wherein the method further comprises:
    通过事件预测模型和所述第一参考数据,获取第一参考结果,所述第一参考结果用于指示基于所述第一参考数据得到的所述第一事件的发生概率。A first reference result is obtained by using the event prediction model and the first reference data, where the first reference result is used to indicate the occurrence probability of the first event obtained based on the first reference data.
  5. 根据权利要求1至3中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 3, wherein the method further comprises:
    通过第一参考数据和辅助数据,获取第二参考结果,所述第二参考结果用于指示基于所述第一参考数据和辅助数据得到的所述第一事件的发生概率,所述辅助数据包括终端所处的场景类别和/或历史事件统计数据,所述场景类别包括高速场景、城区场景、山区场景和极端天气场景中的至少一项,所述历史事件统计数据包括历史发生的至少一次事件和发生所述至少一次事件中的每次事件时的参考数据。Obtain a second reference result by using the first reference data and the auxiliary data, where the second reference result is used to indicate the occurrence probability of the first event obtained based on the first reference data and the auxiliary data, and the auxiliary data includes The scene category and/or historical event statistical data where the terminal is located, the scene category includes at least one of high-speed scene, urban scene, mountain scene and extreme weather scene, and the historical event statistical data includes at least one event that occurred in history and reference data when each of the at least one event occurs.
  6. 根据权利要求1至5中任一项所述的方法,其特征在于:The method according to any one of claims 1 to 5, wherein:
    所述与所述第一事件相关的目标数据对应所述第一事件的类型和预先定义的数据信息;其中,所述第一事件的类型包括追尾事故、超车事故、会车事故、行人事故、非机动车事故、车辆故障和接管事故中的至少一项,所述数据信息包括数据类型和时间区间,所述数据类型包括传感器数据、终端状态数据和终端动力学数据中的至少一项,所述时间区间为第一时间节点和第二时间节点之间的时间区间;其中,所述第一时间节点为以下各项中的任一项:发生所述第一事件前的时间节点、发生所述第一事件中的时间节点和发生所述第一事件后的时间节点,所述第二时间节点为以下各项中的任一项:发生所述第一事件前的时间节点、发生所述第一事件中的时间节点和发生所述第一事件后的时间节点。The target data related to the first event corresponds to the type of the first event and predefined data information; wherein, the type of the first event includes a rear-end collision, an overtaking accident, a passing vehicle accident, a pedestrian accident, At least one of non-motor vehicle accident, vehicle failure and takeover accident, the data information includes data type and time interval, and the data type includes at least one of sensor data, terminal status data and terminal dynamics data, so The time interval is the time interval between the first time node and the second time node; wherein, the first time node is any one of the following: the time node before the first event occurs, the place where the first event occurs The time node in the first event and the time node after the occurrence of the first event, the second time node is any one of the following: the time node before the first event occurs, the time node after the occurrence of the first event The time node in the first event and the time node after the occurrence of the first event.
  7. 根据权利要求6所述的方法,其特征在于,The method of claim 6, wherein:
    所述传感器数据包括以下各项中的一项或多项:终端周围的至少一个目标的位置、所述至少一个目标的速度、所述至少一个目标的体积、气象数据、光照数据、摄像头数据或者雷达数据;The sensor data includes one or more of the following: the position of at least one object around the terminal, the velocity of the at least one object, the volume of the at least one object, meteorological data, lighting data, camera data, or radar data;
    所述终端状态数据包括以下各项中的一项或多项:所述终端的行驶速度、行驶加速度、加速踏板开度、制动踏板开度、转向盘角度、转向扭矩或者灯光状态;和/或,The terminal status data includes one or more of the following: the terminal's driving speed, driving acceleration, accelerator pedal opening, brake pedal opening, steering wheel angle, steering torque, or light status; and/ or,
    所述终端动力学数据包括所述终端的质量信息和/或制动延迟参数。The terminal dynamics data includes quality information and/or braking delay parameters of the terminal.
  8. 根据权利要求1至7中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 7, wherein the method further comprises:
    确定发生第二事件,所述第二事件与所述第一事件不同,所述第一参考数据还包含与所述第二事件相关的目标数据;determining that a second event occurs, the second event is different from the first event, and the first reference data further includes target data related to the second event;
    控制将来自于所述易失性存储器的所述与所述第二事件相关的目标数据从所述易失性存储器存储到所述非易失性存储器中;controlling storage of the target data from the volatile memory related to the second event from the volatile memory into the non-volatile memory;
    其中,所述第二事件的类型包括追尾事故、超车事故、会车事故、行人事故、非机动车事故、车辆故障和接管事故中的至少一项。Wherein, the type of the second event includes at least one of a rear-end collision accident, an overtaking accident, a passing vehicle accident, a pedestrian accident, a non-motor vehicle accident, a vehicle failure and a takeover accident.
  9. 根据权利要求1至8中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 8, wherein the method further comprises:
    对所述与第一事件相关的目标数据进行第一处理,所述第一处理包括加锁、加密、打时间戳和压缩中的至少一项。A first process is performed on the target data related to the first event, and the first process includes at least one of locking, encryption, time stamping and compression.
  10. 根据权利要求1至9中任一项所述的方法,其特征在于,若在预设的时长内未发生所述第一事件,所述方法还包括:The method according to any one of claims 1 to 9, wherein if the first event does not occur within a preset time period, the method further comprises:
    对所述与第一事件相关的目标数据进行第二处理,所述第二处理包括解锁、解密和/或擦除。A second process is performed on the target data associated with the first event, the second process including unlocking, decrypting and/or erasing.
  11. 一种数据管理装置,包括处理器,所述处理器用于:A data management apparatus, comprising a processor for:
    控制将第一参考数据存储到易失性存储器,所述第一参考数据包含与第一事件相关的目标数据;controlling storage of first reference data to the volatile memory, the first reference data including target data related to the first event;
    控制将来自所述易失性存储器的所述与第一事件相关的目标数据存储到非易失性存储器。Control stores the target data related to the first event from the volatile memory to non-volatile memory.
  12. 根据权利要求11所述的装置,其特征在于,所述处理器用于:The apparatus of claim 11, wherein the processor is configured to:
    向所述易失性存储器发送指示信息,所述指示信息用于指示将所述与第一事件相关的目标数据传输到所述非易失性存储器中;或者,sending indication information to the volatile memory, where the indication information is used to instruct to transfer the target data related to the first event to the non-volatile memory; or,
    获取来自所述易失性存储器的所述与第一事件相关的目标数据,并发送所述与第一事件相关的目标数据到所述非易失性存储器中。The target data related to the first event is acquired from the volatile memory, and the target data related to the first event is sent to the non-volatile memory.
  13. 根据权利要求11或12所述的装置,其特征在于,所述第一参考数据包括感知数 据、定位数据、地图数据和无线通信技术数据中的至少一项。The apparatus according to claim 11 or 12, wherein the first reference data includes at least one of perception data, positioning data, map data and wireless communication technology data.
  14. 根据权利要求11至13中任一项所述的装置,其特征在于,所述处理器还用于:The apparatus according to any one of claims 11 to 13, wherein the processor is further configured to:
    通过事件预测模型和所述第一参考数据,获取第一参考结果,所述第一参考结果用于指示基于所述第一参考数据得到的所述第一事件的发生概率。A first reference result is obtained by using the event prediction model and the first reference data, where the first reference result is used to indicate the occurrence probability of the first event obtained based on the first reference data.
  15. 根据权利要求11至13中任一项所述的装置,其特征在于,所述处理器还用于:The apparatus according to any one of claims 11 to 13, wherein the processor is further configured to:
    通过第一参考数据和辅助数据,获取第二参考结果,所述第二参考结果用于指示基于所述第一参考数据得到的所述第一事件的发生概率,所述辅助数据包括终端所处的场景类别和/或历史事件统计数据,所述场景类别包括高速场景、城区场景、山区场景和极端天气场景中的至少一项,所述历史事件统计数据包括历史发生的至少一次事件和发生所述至少一次事件中的每次事件时的参考数据。Obtain a second reference result by using the first reference data and the auxiliary data, where the second reference result is used to indicate the occurrence probability of the first event obtained based on the first reference data, and the auxiliary data includes the location where the terminal is located The scene category and/or historical event statistical data, the scene category includes at least one of high-speed scene, urban scene, mountain scene and extreme weather scene, and the historical event statistical data includes at least one historical event and occurrence Reference data at each event of the at least one event.
  16. 根据权利要求11至15中任一项所述的装置,其特征在于,The device according to any one of claims 11 to 15, characterized in that:
    所述与所述第一事件相关的目标数据对应所述第一事件的类型和预先定义的数据信息;其中,所述第一事件的类型包括追尾事故、超车事故、会车事故、行人事故、非机动车事故、车辆故障和接管事故中的至少一项,所述数据信息包括数据类型和时间区间,所述数据类型包括传感器数据、终端状态数据和终端动力学数据中的至少一项,所述时间区间为第一时间节点和第二时间节点之间的时间区间;其中,所述第一时间节点为以下各项中的任一项:发生所述第一事件前的时间节点、发生所述第一事件中的时间节点和发生所述第一事件后的时间节点,所述第二时间节点为以下各项中的任一项:发生所述第一事件前的时间节点、发生所述第一事件中的时间节点和发生所述第一事件后的时间节点。The target data related to the first event corresponds to the type of the first event and predefined data information; wherein, the type of the first event includes a rear-end collision, an overtaking accident, a passing vehicle accident, a pedestrian accident, At least one of non-motor vehicle accident, vehicle failure and takeover accident, the data information includes data type and time interval, and the data type includes at least one of sensor data, terminal status data and terminal dynamics data, so The time interval is the time interval between the first time node and the second time node; wherein, the first time node is any one of the following: the time node before the first event occurs, the place where the first event occurs The time node in the first event and the time node after the occurrence of the first event, the second time node is any one of the following: the time node before the first event occurs, the time node after the occurrence of the first event The time node in the first event and the time node after the occurrence of the first event.
  17. 根据权利要求16所述的装置,其特征在于,The apparatus of claim 16, wherein:
    所述传感器数据包括以下各项中的一项或多项:终端周围的至少一个目标的位置、所述至少一个目标的速度、所述至少一个目标的体积、气象数据、摄像头数据或者雷达数据;The sensor data includes one or more of the following: the position of at least one target around the terminal, the velocity of the at least one target, the volume of the at least one target, meteorological data, camera data, or radar data;
    所述终端状态数据包括以下各项中的或多项:所述终端的行驶速度、行驶加速度、加速踏板开度、制动踏板开度、转向盘角度、转向扭矩或者灯光状态;和/或,The terminal status data includes one or more of the following: the terminal's driving speed, driving acceleration, accelerator pedal opening, brake pedal opening, steering wheel angle, steering torque, or light status; and/or,
    所述终端动力学数据包括所述终端的质量信息和/或制动延迟参数。The terminal dynamics data includes quality information and/or braking delay parameters of the terminal.
  18. 根据权利要求11至17中任一项所述的装置,其特征在于,所述处理器还用于:The apparatus according to any one of claims 11 to 17, wherein the processor is further configured to:
    确定发生第二事件,所述第二事件与所述第一事件不同,所述第一参考数据还包含与所述第二事件相关的目标数据;determining that a second event occurs, the second event is different from the first event, and the first reference data further includes target data related to the second event;
    控制将来自于所述易失性存储器的所述与所述第二事件相关的目标数据从所述易失性存储器存储到所述非易失性存储器中;controlling storage of the target data from the volatile memory related to the second event from the volatile memory into the non-volatile memory;
    其中,所述第二事件的类型包括追尾事故、超车事故、会车事故、行人事故、非机动车事故、车辆故障和接管事故中的至少一项。Wherein, the type of the second event includes at least one of a rear-end collision accident, an overtaking accident, a passing vehicle accident, a pedestrian accident, a non-motor vehicle accident, a vehicle failure and a takeover accident.
  19. 根据权利要求11至18中任一项所述的装置,其特征在于,所述处理器还用于:The apparatus according to any one of claims 11 to 18, wherein the processor is further configured to:
    对所述与第一事件相关的目标数据进行第一处理,所述第一处理包括加锁、加密、打时间戳和压缩中的至少一项。A first process is performed on the target data related to the first event, and the first process includes at least one of locking, encryption, time stamping and compression.
  20. 根据权利要求11至19中任一项所述的装置,其特征在于,若在预设的第一时长内未发生所述第一事件,所述处理器还用于:The apparatus according to any one of claims 11 to 19, wherein if the first event does not occur within a preset first time period, the processor is further configured to:
    对所述与第一事件相关的目标数据进行第二处理,所述第二处理包括解锁、解密和/或擦除。A second process is performed on the target data associated with the first event, the second process including unlocking, decrypting and/or erasing.
  21. 一种数据管理装置,其特征在于,包括接口电路和如权利要求11至20中任一项所述的处理器,所述接口电路与所述处理器耦合。A data management device, characterized by comprising an interface circuit and the processor according to any one of claims 11 to 20, wherein the interface circuit is coupled with the processor.
  22. 根据权利要求21所述的装置,其特征在于,所述接口电路用于连接非易失性存储器或者易失性存储器中的至少一个。The apparatus of claim 21, wherein the interface circuit is used to connect at least one of a non-volatile memory or a volatile memory.
  23. 一种终端设备,其特征在于,包括权利要求11至22中任一项所述的装置。A terminal device, characterized by comprising the device according to any one of claims 11 to 22.
  24. 根据权利要求23所述的终端设备,其特征在于,所述终端设备为智能运输设备或机器人。The terminal device according to claim 23, wherein the terminal device is an intelligent transportation device or a robot.
  25. 一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,其特征在于,当所述指令在计算机上运行时,用于执行如权利要求1至10中任一项所述的方法。A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, wherein when the instructions are executed on a computer, the instructions are used to execute the method according to any one of claims 1 to 10. method.
  26. 一种计算机程序产品,所述计算机程序产品中包含指令,其特征在于,当所述指令在计算机或处理器上运行时,使得所述计算机或所述处理器实现如权利要求1至10中任一项所述的方法。A computer program product comprising instructions, characterized in that, when the instructions are executed on a computer or a processor, the computer or the processor is made to implement any one of claims 1 to 10. one of the methods described.
PCT/CN2021/089619 2021-04-25 2021-04-25 Data management method and apparatus, and terminal device WO2022226689A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2021/089619 WO2022226689A1 (en) 2021-04-25 2021-04-25 Data management method and apparatus, and terminal device
CN202180001489.2A CN113302614B (en) 2021-04-25 2021-04-25 Data management method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/089619 WO2022226689A1 (en) 2021-04-25 2021-04-25 Data management method and apparatus, and terminal device

Publications (1)

Publication Number Publication Date
WO2022226689A1 true WO2022226689A1 (en) 2022-11-03

Family

ID=77331318

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/089619 WO2022226689A1 (en) 2021-04-25 2021-04-25 Data management method and apparatus, and terminal device

Country Status (2)

Country Link
CN (1) CN113302614B (en)
WO (1) WO2022226689A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11398117B1 (en) * 2021-09-02 2022-07-26 Rivian Ip Holdings, Llc Method for real-time ECU crash reporting and recovery
CN115454355B (en) * 2022-10-26 2023-01-10 小米汽车科技有限公司 Vehicle operation data storage method, device, vehicle and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2178052A2 (en) * 2008-10-20 2010-04-21 Cameros Siglo XXI, S.L. Traffic incident recording system installed in road vehicles
WO2013014765A1 (en) * 2011-07-27 2013-01-31 トヨタ自動車株式会社 Vehicle data recording apparatus
US20190034098A1 (en) * 2015-03-30 2019-01-31 Toshiba Memory Corporation Solid-state drive with non-volatile random access memory
CN111028382A (en) * 2018-10-10 2020-04-17 美光科技公司 Real-time selection of data to be collected in an autonomous vehicle
CN111669281A (en) * 2019-03-08 2020-09-15 华为技术有限公司 Alarm analysis method, device, equipment and storage medium

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9804012B2 (en) * 2008-06-30 2017-10-31 Rohm Co., Ltd. Vehicle traveling information recording device
CN105469610A (en) * 2015-12-31 2016-04-06 清华大学苏州汽车研究院(吴江) Expressway intelligent OBU device based on real-time data interactions
US10936414B2 (en) * 2016-06-28 2021-03-02 Nippon Seiki Co., Ltd. Display device for vehicle
CN107123312A (en) * 2017-07-05 2017-09-01 维沃移动通信有限公司 A kind of traffic prewarning method and roadside device
CN109389863B (en) * 2017-08-02 2021-08-13 华为技术有限公司 Prompting method and related equipment
CN110232752A (en) * 2018-09-05 2019-09-13 蔚来汽车有限公司 Data storage device and method, black box, vehicle, controller and medium
JP6705495B1 (en) * 2018-12-26 2020-06-03 株式会社Jvcケンウッド Vehicle recording control device, vehicle recording device, vehicle recording control method, and program
CN109830002A (en) * 2019-01-23 2019-05-31 征辕科技(宁波)有限公司 Event data record method, apparatus of driving a vehicle and event data recorder
CN109919140B (en) * 2019-04-02 2021-04-09 浙江科技学院 Automatic determination method, system, equipment and storage medium for vehicle collision accident responsibility
CN110570538B (en) * 2019-08-07 2022-05-10 华为技术有限公司 Method, device and equipment for managing black box data in intelligent driving automobile
CN111062240B (en) * 2019-10-16 2024-04-30 中国平安财产保险股份有限公司 Monitoring method and device for automobile driving safety, computer equipment and storage medium
CN110782670A (en) * 2019-11-05 2020-02-11 北京汽车集团有限公司 Scene restoration method based on data fusion, vehicle cloud platform and storage medium
CN111597507A (en) * 2020-03-31 2020-08-28 浙江吉利汽车研究院有限公司 Event data recording method, device, equipment and storage medium
CN111612938B (en) * 2020-03-31 2022-09-27 浙江吉利汽车研究院有限公司 Event recording equipment control method, device, equipment and storage medium
CN111475263A (en) * 2020-04-10 2020-07-31 上海移为通信技术股份有限公司 Event processing method, device and storage medium
CN111669711B (en) * 2020-06-03 2023-11-03 腾讯科技(深圳)有限公司 Method and device for realizing vehicle information storage and computer equipment
CN111815986B (en) * 2020-09-02 2021-01-01 深圳市城市交通规划设计研究中心股份有限公司 Traffic accident early warning method and device, terminal equipment and storage medium
CN112258837B (en) * 2020-10-19 2024-04-12 腾讯科技(深圳)有限公司 Vehicle early warning method, related device, equipment and storage medium
CN112530163B (en) * 2020-11-23 2022-03-01 腾讯科技(深圳)有限公司 Traffic accident prediction method, traffic accident prediction device, electronic device, and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2178052A2 (en) * 2008-10-20 2010-04-21 Cameros Siglo XXI, S.L. Traffic incident recording system installed in road vehicles
WO2013014765A1 (en) * 2011-07-27 2013-01-31 トヨタ自動車株式会社 Vehicle data recording apparatus
US20190034098A1 (en) * 2015-03-30 2019-01-31 Toshiba Memory Corporation Solid-state drive with non-volatile random access memory
CN111028382A (en) * 2018-10-10 2020-04-17 美光科技公司 Real-time selection of data to be collected in an autonomous vehicle
CN111669281A (en) * 2019-03-08 2020-09-15 华为技术有限公司 Alarm analysis method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN113302614A (en) 2021-08-24
CN113302614B (en) 2023-02-03

Similar Documents

Publication Publication Date Title
US11520331B2 (en) Methods and apparatus to update autonomous vehicle perspectives
US20210163021A1 (en) Redundancy in autonomous vehicles
WO2020147311A1 (en) Vehicle driving guarantee method and apparatus, device, and readable storage medium
JP2021180609A (en) Vehicle braking energy recovery method and device
WO2021196052A1 (en) Driving data collection method and apparatus
US20180362032A1 (en) Self-driving method, and apparatus
US20200249353A1 (en) Merging data from multiple lidar devices
WO2022226689A1 (en) Data management method and apparatus, and terminal device
JP2019537414A5 (en)
WO2023045935A1 (en) Automated iteration method for target detection model, device and storage medium
US11568688B2 (en) Simulation of autonomous vehicle to improve safety and reliability of autonomous vehicle
US11529955B2 (en) Traffic light estimation
CN113302109B (en) System for implementing rollback behavior of autonomous vehicle
US20230005173A1 (en) Cross-modality active learning for object detection
US11403949B2 (en) System for predicting vehicle behavior
US11107227B1 (en) Object detection based on three-dimensional distance measurement sensor point cloud data
US11733054B2 (en) Systems and methods for implementing occlusion representations over road features
US11884300B2 (en) Control system for autonomous vehicle
US20210373173A1 (en) Identifying background features using lidar
CN112785835A (en) Method and device for acquiring road condition information and vehicle-mounted device
WO2023045936A1 (en) Automatic model iteration method and device, and storage medium
US20220289198A1 (en) Automated emergency braking system
US20230351053A1 (en) Data Processing Method and Apparatus, and Computer-Readable Storage Medium
US10769457B1 (en) System and method for detecting airborne objects
CN111063207A (en) Adaptive vehicle infrastructure communication

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21938182

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21938182

Country of ref document: EP

Kind code of ref document: A1