CN112233273A - Data transmission method and device, vehicle-mounted equipment and storage medium - Google Patents

Data transmission method and device, vehicle-mounted equipment and storage medium Download PDF

Info

Publication number
CN112233273A
CN112233273A CN202011079832.9A CN202011079832A CN112233273A CN 112233273 A CN112233273 A CN 112233273A CN 202011079832 A CN202011079832 A CN 202011079832A CN 112233273 A CN112233273 A CN 112233273A
Authority
CN
China
Prior art keywords
data
vehicle
type
time
abnormal event
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011079832.9A
Other languages
Chinese (zh)
Inventor
刘晨楠
韩坪良
崔迪潇
侯广大
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Zhijia Technology Co Ltd
PlusAI Corp
Original Assignee
Suzhou Zhijia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Zhijia Technology Co Ltd filed Critical Suzhou Zhijia Technology Co Ltd
Priority to CN202011079832.9A priority Critical patent/CN112233273A/en
Publication of CN112233273A publication Critical patent/CN112233273A/en
Priority to PCT/CN2021/113031 priority patent/WO2022073388A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/008Registering or indicating the working of vehicles communicating information to a remotely located station
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0841Registering performance data
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0841Registering performance data
    • G07C5/085Registering performance data using electronic data carriers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/44Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for communication between vehicles and infrastructures, e.g. vehicle-to-cloud [V2C] or vehicle-to-home [V2H]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Traffic Control Systems (AREA)

Abstract

The application provides a data transmission method, a data transmission device, vehicle-mounted equipment and a storage medium, and belongs to the technical field of automatic driving. The method comprises the following steps: acquiring a driving data set generated by a vehicle, wherein the driving data set is used for recording the driving state of the vehicle; screening the running data associated with the abnormal event from the running data set in response to the abnormal event, and obtaining a first data subset, wherein the abnormal event comprises at least one of vehicle running abnormity, running environment abnormity and vehicle state abnormity; the first subset of data is transmitted. According to the method and the device, the data subsets with analysis value on abnormal events are screened from the driving data set, the screened data subsets are transmitted, the data volume of the transmitted data is reduced on the basis of transmitting valuable data, the data transmission efficiency is improved, the transmission of the data with high utilization value is achieved in a short time, and the instantaneity of data transmission is improved.

Description

Data transmission method and device, vehicle-mounted equipment and storage medium
Technical Field
The present disclosure relates to the field of automatic driving technologies, and in particular, to a data transmission method and apparatus, a vehicle-mounted device, and a storage medium.
Background
The appearance of automobiles greatly facilitates the life of people, and with the rapid development of intelligent calculation, the related research of automatically driving automobiles becomes a hotspot. Data generated in the driving process of the automatic driving automobile has important application value in scenes such as improvement of automatic driving technology, responsibility evaluation of traffic accidents, abnormal analysis of driving states and the like.
The continuous upgrading of the mobile network and the continuous expansion of the coverage range provide a communication foundation for the transmission of automatic driving data. However, the data traffic and bandwidth of current mobile networks are limited and do not support real-time transmission of large amounts of data, resulting in poor instantaneity of autonomous data transmission.
Disclosure of Invention
The embodiment of the application provides a data transmission method, a data transmission device, vehicle-mounted equipment and a storage medium, and the instantaneity of data transmission can be improved. The technical scheme is as follows:
in one aspect, a data transmission method is provided, where the method includes:
acquiring a driving data set generated by a vehicle, wherein the driving data set is used for recording the driving state of the vehicle;
screening out driving data associated with an abnormal event from the driving data set in response to the abnormal event, and obtaining a first data subset, wherein the abnormal event comprises at least one of vehicle driving abnormity, driving environment abnormity and vehicle state abnormity;
transmitting the first subset of data.
In an optional implementation, the transmitting the first subset of data includes:
and dividing the first data subset into a plurality of data blocks, and transmitting the data blocks.
In another alternative implementation, the screening, in response to an abnormal event, the driving data associated with the abnormal event from the driving data set to obtain a first data subset includes:
in response to the abnormal event, determining the occurrence time of the abnormal event;
screening out first running data of the collection time in a first time period from the running data set based on the occurrence time of the abnormal event, wherein the termination time of the first time period is the occurrence time of the abnormal event, and the duration of the first time period is first duration;
the first travel data is taken as the first subset of data.
In another optional implementation, the method further includes:
screening out second driving data of the acquisition time in a second time period from the driving data set based on the occurrence time of the abnormal event, wherein the starting time of the second time period is the occurrence time of the abnormal event, and the duration of the second time period is a second duration;
the first and second travel data are treated as the first data subset.
In another optional implementation manner, the first travel data is a first type of travel data, and the first type has a corresponding relationship with an event type of the abnormal event.
In another optional implementation manner, the second driving data is driving data of a first type, and the first type has a corresponding relationship with an event type of the abnormal event.
In another optional implementation manner, the transmitting the plurality of data blocks includes:
acquiring the transmission priority of the data blocks;
and transmitting the plurality of data blocks according to the sequence of the transmission priority from high to low.
In another optional implementation manner, the obtaining the transmission priorities of the plurality of data partitions includes:
acquiring a reference time corresponding to each data block, wherein the reference time is the earliest acquisition time of the running data included in each data block;
determining a difference value between the occurrence time of the abnormal event and a reference time corresponding to each data block;
and determining the transmission priority of each data block according to the difference, wherein the transmission priority is in negative correlation with the absolute value of the difference, and the transmission priority of the data block before the occurrence time of the abnormal event at the reference time is higher than the transmission priority of the data block after the occurrence time of the abnormal event at the reference time.
In another optional implementation manner, the obtaining the transmission priorities of the plurality of data partitions includes:
determining a travel data type of travel data included in each of the plurality of data blocks;
determining a transmission priority for each of the data blocks based on the determined travel data type.
In another optional implementation manner, the dividing the first data subset into a plurality of data partitions includes:
dividing the first subset of data into a plurality of data chunks based on a predefined third duration.
In another optional implementation, the method further includes:
detecting a network transmission rate of the vehicle;
if the network transmission rate is lower than a rate threshold, shortening the third time;
and if the network transmission rate is greater than or equal to the rate threshold, lengthening the third time.
In another optional implementation manner, after the acquiring the driving data set generated by the vehicle, the method further includes:
screening out second type of driving data from the driving data set to obtain a second data subset;
generating a log file in response to the amount of data of the second subset of data reaching a predefined amount of data;
and storing the record file in a local storage space of the vehicle.
In another optional implementation manner, the storing the record file in a local storage space of the vehicle includes:
deleting the oldest stored record file from the local storage space in response to the remaining storage space in the local storage space being insufficient to store the record file;
and storing the recording file in the deleted local storage space.
In another alternative implementation, the second type includes at least one of a vehicle position type, a vehicle attitude type, a surrounding environment type, a vehicle operating state type, a driver state type, and a control instruction type.
In one aspect, a data transmission apparatus is provided, the apparatus including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a driving data set generated by a vehicle, and the driving data set is used for recording the driving state of the vehicle;
the first screening module is used for screening out driving data related to an abnormal event from the driving data set in response to the abnormal event, so as to obtain a first data subset, wherein the abnormal event comprises at least one of vehicle driving abnormity, driving environment abnormity and vehicle state abnormity;
a transmission module to transmit the first subset of data.
In an optional implementation manner, the transmission module includes:
a partitioning unit configured to partition the first subset of data into a plurality of data partitions;
and the transmission unit is used for transmitting the plurality of data blocks.
In another optional implementation manner, the first screening module includes:
a time determination unit configured to determine an occurrence time of the abnormal event in response to the abnormal event;
the data screening unit is used for screening out first running data of the collection time in a first time period from the running data set based on the occurrence time of the abnormal event, the termination time of the first time period is the occurrence time of the abnormal event, and the duration of the first time period is first duration;
a subset generating unit configured to use the first travel data as the first data subset.
In another optional implementation manner, the data screening unit is further configured to screen out, from the driving data set, second driving data whose collection time is within a second time period based on the occurrence time of the abnormal event, where a starting time of the second time period is the occurrence time of the abnormal event, and a duration of the second time period is a second duration; the subset generation unit is configured to use the first travel data and the second travel data as the first data subset.
In another optional implementation manner, the first travel data is a first type of travel data, and the first type has a corresponding relationship with an event type of the abnormal event.
In another optional implementation manner, the second driving data is driving data of a first type, and the first type has a corresponding relationship with an event type of the abnormal event.
In another optional implementation manner, the transmission unit includes:
a priority acquiring subunit, configured to acquire transmission priorities of the multiple data blocks;
and the transmission subunit is used for transmitting the plurality of data blocks according to the sequence from high transmission priority to low transmission priority.
In another optional implementation manner, the priority obtaining subunit is configured to:
acquiring a reference time corresponding to each data block, wherein the reference time is the earliest acquisition time of the running data included in each data block;
determining a difference value between the occurrence time of the abnormal event and a reference time corresponding to each data block;
and determining the transmission priority of each data block according to the difference, wherein the transmission priority is in negative correlation with the absolute value of the difference, and the transmission priority of the data block before the occurrence time of the abnormal event at the reference time is higher than the transmission priority of the data block after the occurrence time of the abnormal event at the reference time.
In another optional implementation manner, the priority obtaining subunit is configured to:
determining a travel data type of travel data included in each of the plurality of data blocks;
determining a transmission priority for each of the data blocks based on the determined travel data type.
In another optional implementation manner, the blocking unit is configured to:
dividing the first subset of data into a plurality of data chunks based on a predefined third duration.
In another optional implementation manner, the transmission module further includes:
a detection unit for detecting a network transmission rate of the vehicle;
a duration adjustment unit, configured to adjust the third duration to be shorter if the network transmission rate is lower than a rate threshold; and if the network transmission rate is greater than or equal to the rate threshold, lengthening the third time.
In another optional implementation manner, the apparatus further includes:
the second screening module is used for screening the driving data of the second type from the driving data set to obtain a second data subset;
the file generation module is used for responding to the data volume of the second data subset reaching the predefined data volume and generating a record file;
and the storage module is used for storing the recording file in a local storage space of the vehicle.
In another optional implementation manner, the storage module is configured to:
deleting the oldest stored record file from the local storage space in response to the remaining storage space in the local storage space being insufficient to store the record file;
and storing the recording file in the deleted local storage space.
In another alternative implementation, the second type includes at least one of a vehicle position type, a vehicle attitude type, a surrounding environment type, a vehicle operating state type, a driver state type, and a control instruction type.
In one aspect, an on-board device is provided, where the on-board device includes a processor and a memory, where at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor, so as to implement the data transmission method according to any one of the above optional implementation manners.
In one aspect, a computer-readable storage medium is provided, where at least one program code is stored, and the at least one program code is loaded and executed by a processor to implement the data transmission method according to any one of the above-mentioned optional implementation manners.
In one aspect, a computer program product or a computer program is provided, and the computer program product or the computer program includes computer program code, the computer program code is stored in a computer readable storage medium, a processor of an on-vehicle device reads the computer program code from the computer readable storage medium, and the processor executes the computer program code, so that the on-vehicle device executes the data transmission method according to any one of the above-mentioned optional implementation modes.
In one aspect, a data processing method is provided, and the method includes: acquiring driving data of a vehicle; analyzing the driving data to determine the occurrence of an abnormal event; in response to a determination of an anomalous event, the travel data is filtered to screen out first travel data associated with the anomalous event, and the first travel data is transmitted. Wherein the determining of the abnormal event comprises at least one of determining an event type of the abnormal event and determining an occurrence time of the abnormal event; the abnormal event includes at least one of a vehicle driving abnormality, a driving environment abnormality, and a vehicle state abnormality.
Optionally, the first driving data is divided into a plurality of data blocks, and the plurality of data blocks are transmitted. The first travel data is travel data within a predefined time period, which is screened from the travel data, within which the abnormal event occurred.
Optionally, a first type of driving data is screened out from the driving data in the predefined time period as the first driving data, and the first type has a mapping relation with an event type of the abnormal event.
Optionally, the predefined time period includes a time period with a first predefined duration and/or a time period with a second predefined duration and with an occurrence time of the abnormal event as an end point. The first predefined time period may be the same as or different from the second predefined time period.
The data processing method also comprises determining transmission priorities of the plurality of data blocks; and transmitting the plurality of data blocks according to the sequence of the transmission priority from high to low.
The transmission priority of each data block may be determined according to a difference between the occurrence time of the abnormal event and the time tag/identifier of each data block, wherein the smaller the difference, the higher the transmission priority. The time tag/time identifier of each data segment may be any of the earliest or latest acquisition time of the travel data included in each data segment or the corresponding time period of the data segment.
Optionally, the method further comprises: determining the type of the driving data of the data included in each data block; a transmission priority for each data block is determined based on the determined type of travel data.
Optionally, the data processing method further includes: the first subset of data is divided into a plurality of data chunks based on a predefined third duration.
Optionally, the method further detects a network transmission rate of the vehicle; if the network transmission rate is lower than a preset speed threshold, shortening the third preset time; and if the network transmission rate is greater than or equal to the preset speed threshold, lengthening the third preset time.
The data processing method further comprises the following steps: screening out second type of driving data from the driving data set to obtain a second data subset; generating a log file in response to the amount of data of the second subset of data reaching a predefined amount of data; and storing the record file in a local storage space of the vehicle. The second type includes at least one of a vehicle position type, a vehicle attitude type, a surrounding environment type, a vehicle running state type, a driver state type, and a control instruction type.
Optionally, the storing the record file in the local storage space of the vehicle includes: deleting the oldest stored record file from the local storage space in response to the remaining storage space in the local storage space being insufficient to store the record file; and storing the recording file in the deleted local storage space.
The technical scheme provided by the embodiment of the application at least has the following beneficial effects:
the data subsets with analysis value on abnormal events are screened from the driving data set, and the screened data subsets are transmitted, so that the data volume of the transmitted data is reduced and the data transmission efficiency is improved on the basis of transmitting valuable data, the data with higher utilization value is transmitted in a short time, and the instantaneity of data transmission is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of an implementation environment provided by an embodiment of the present application;
fig. 2 is a flowchart of a data transmission method provided in an embodiment of the present application;
fig. 3 is a flowchart of a data transmission method provided in an embodiment of the present application;
fig. 4 is a schematic diagram of a data transmission method provided in an embodiment of the present application;
fig. 5 is a schematic diagram of data block transmission according to an embodiment of the present application;
fig. 6 is a flowchart of data block reordering according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a key data record provided by an embodiment of the present application;
fig. 8 is a block diagram of a data transmission apparatus according to an embodiment of the present application;
fig. 9 is a block diagram of an in-vehicle device according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Fig. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application. Referring to fig. 1, the implementation environment includes a vehicle 101 and a server 102.
The vehicle 101 has an automatic driving function. The vehicle 101 is mounted with an in-vehicle device and a plurality of sensors. The in-vehicle device is a control center of the vehicle 101 and performs a data processing and calculating function. Optionally, the vehicle-mounted device includes an intelligent domain controller (ADU), and the vehicle-mounted device performs data processing and operation based on the intelligent domain controller. The sensors are used for collecting data of the driving environment and the vehicle state. Alternatively, the plurality of sensors includes a camera, a laser radar, a millimeter wave radar, a positioning system, a speed sensor, an acceleration sensor, a wheel speed sensor, a yaw rate sensor, and the like.
Optionally, the vehicle-mounted device is divided into a perception module, a planning module and a control module. During autonomous driving, a plurality of sensors on the vehicle 101 collect data on the driving environment and vehicle state; a sensing module of the vehicle-mounted equipment performs fusion and analysis on data acquired by the sensor to generate driving data such as vehicle position data, vehicle attitude data, surrounding environment data, vehicle running state data and the like; the planning module plans a safe driving path based on the driving data after fusion and analysis processing, and generates driving data such as path planning data; the control module generates travel data such as control instruction data for controlling the vehicle 101 to travel along the planned travel path based on the path planning data.
The driving data generated by the sensing module, the planning module and the control module in the automatic driving process has important application value in the aspects of improvement of automatic driving technology, responsibility evaluation of traffic accidents, abnormal analysis of vehicle driving and the like. In order to reduce the power consumption of the vehicle 101, the driving data generated by the vehicle 101 during the automatic driving process is generally transmitted to the server 102, and the server 102 analyzes and processes the driving data. For example, the server 102 trains a neural network model based on the driving data, and further perfects the automatic driving technology through the training of the neural network model; for another example, when a travel abnormality occurs in the vehicle 101, the server 102 analyzes the cause of the travel abnormality based on the travel data. The vehicle 101 is connected to the server 102 via a wireless or wired network, and transmits traveling data. Alternatively, the vehicle 101 transmits the travel data to the server 102 through a wireless network. For example, the vehicle 101 transmits the travel data to the server 102 via various generations of mobile communication networks such as 3G (3 rd-Generation), 4G (4 th-Generation), and 5G (5 th-Generation), and Wireless networks such as WiFi (Wireless-Fidelity).
Fig. 2 is a flowchart of a data transmission method according to an embodiment of the present application. In the embodiment of the present application, an execution subject is taken as an example of an in-vehicle device in a vehicle, and referring to fig. 2, the embodiment includes:
201. the vehicle-mounted equipment acquires a running data set generated by the vehicle, and the running data set is used for recording the running state of the vehicle.
202. The vehicle-mounted device screens out the running data associated with the abnormal event from the running data set in response to the abnormal event, and obtains a first data subset, wherein the abnormal event comprises at least one of vehicle running abnormity, running environment abnormity and vehicle state abnormity.
203. The in-vehicle device transmits the first subset of data.
According to the technical scheme provided by the embodiment of the application, the data subsets with analysis value on abnormal events are screened from the driving data set, the screened data subsets are transmitted, the data volume of the transmitted data is reduced on the basis of transmitting valuable data, the data transmission efficiency is improved, the data with high utilization value is transmitted in a short time, and the instantaneity of data transmission is improved.
Fig. 3 is a flowchart of a data transmission method according to an embodiment of the present application. Referring to fig. 3, in the embodiment of the present application, an implementation subject is described as an example of an in-vehicle device in a vehicle, and the embodiment includes:
301. the vehicle-mounted equipment acquires a running data set generated by the vehicle, and the running data set is used for recording the running state of the vehicle.
The vehicle has an automatic driving function. Referring to fig. 4, during the automatic driving process, a sensing module 401, a planning module 402 and a control module 403 of the vehicle-mounted device are used as data sources of the driving data, and various driving data are generated to form a driving data set. Optionally, the driving data set is full data 404 generated by the vehicle during automatic driving.
The travel data set includes at least one of vehicle position data, vehicle attitude data, ambient environment data, vehicle running state data, driver state data, control instruction data, vehicle body state data, electric power data, and infotainment data. Accordingly, the travel data in the travel data set may be divided into a plurality of travel data types, such as a vehicle position type, a vehicle posture type, a surrounding environment type, a vehicle running state type, a driver state type, a control instruction type, a vehicle body state type, an electric power type, and an infotainment type.
Where vehicle location data is used to represent the location of the vehicle, for example, the vehicle location data may include latitude and longitude coordinates. Vehicle attitude data is used to represent the driving attitude of the vehicle, for example, the vehicle attitude data may include roll angle, pitch angle, and yaw angle. The surrounding environment data is used to represent the surrounding environment of the vehicle, and for example, the surrounding environment data may include lane line positions, obstacle categories, and the like. The vehicle operating state data is used to indicate the operating state of the vehicle, and may include, for example, speed, acceleration angle, gear, and engine speed, among others. The driver state data is used to represent the driving state of the driver, for example, the driver state data may include whether the driver is attentive, whether the driver is closed, and the like. The control instruction data is a control instruction generated during the running of the vehicle. For example, the control instruction data may include a brake instruction, a throttle adjustment instruction, a steering wheel angle adjustment instruction, and the like. The vehicle body state data is used to represent the vehicle body state of the vehicle. For example, the body state data may include window lifter status, vehicle lighting status, door status, seat status, in-vehicle air conditioning data, and the like. The power data is used to represent a power state of the vehicle. The infotainment data is data generated by the in-vehicle infotainment device, for example, the infotainment data may include navigation data, dashboard data, music playback data, call data, voice control data, and the like.
The travel data set is generated and stored in a buffer of the in-vehicle device, so that other functional modules of the in-vehicle device can acquire the travel data focused by the functional module and perform subsequent processing. In the embodiment of the present application, a description is given by taking an example that the vehicle-mounted device has a function of transmitting the driving data associated with the abnormal event of the vehicle in real time and a function of recording the key data, and accordingly, the vehicle-mounted device obtains the first data subset from the driving data set stored in the buffer in response to the abnormal event, so as to implement the function of transmitting the driving data associated with the abnormal event in real time. And the vehicle-mounted equipment acquires the second data subset from the driving data set stored in the buffer area so as to realize the function of recording the key data.
It should be noted that the driving data in the driving data set corresponds to the type of the driving data and the collection time of the driving data, and the vehicle-mounted device stores the driving data in the form of driving data-type of the driving data-collection time. Alternatively, if the travel data is generated based on the raw data collected by the sensor, the collection time of the travel data may be the time when the raw data is collected by the sensor, for example, for the travel data such as the vehicle position data, the vehicle posture data, the ambient environment data, and the vehicle operating state, the travel data may be generated based on the raw data collected by the sensor, and the collection time of the travel data may be the time when the raw data is collected by the sensor. If the driving data is data for controlling the vehicle to travel, such as route planning data, control instruction data, and the like, the collection time of the driving data may be the time when the vehicle-mounted device generates the driving data.
302. The vehicle-mounted device determines that an abnormal event occurs based on the travel data set.
The abnormal event is used for indicating that the vehicle runs abnormally. The abnormal event includes at least one of a vehicle driving abnormality, a driving environment abnormality, and a vehicle state abnormality. For example, a vehicle travel anomaly event may include a vehicle speeding, a vehicle suddenly accelerating, a vehicle suddenly decelerating, etc.; driving environment abnormal events may include a vehicle deviating from a lane line, accelerating upon encountering an obstacle, or a driving route not conforming to an indication of a road sign; the vehicle state abnormality event may include an abnormal shut down, a collision, or overheating of the engine, etc.
Alternatively, the vehicle-mounted device determines that an abnormal event has occurred or that no abnormal event has occurred by analyzing and processing the travel data in the travel data set. The vehicle-mounted device can also determine the event type of the abnormal event, such as the vehicle driving abnormal event, the driving environment abnormal event or the vehicle state abnormal event, through the analysis and processing of the driving data in the driving data set. Further, the vehicle-mounted device can also determine event details of an abnormal event, such as sudden acceleration of the vehicle, deviation of the vehicle from a lane line, abnormal flameout, or the like, through analysis and processing of the travel data in the travel data set.
In one example, the travel data set includes speed-related data of the vehicle, and the in-vehicle apparatus determines that the abnormal event occurs in response to the speed-related data of the vehicle not meeting a preset speed condition. Further alternatively, the vehicle-mounted device determines the event type of the abnormal event as a vehicle travel abnormal event, based on the speed-related data on which the occurrence of the abnormal event is determined. For example, the speed-related data may include acceleration data, the preset speed condition is that the acceleration data does not exceed a preset threshold, and if the acceleration number exceeds the preset threshold, it is determined that an abnormal event occurs. Further alternatively, the vehicle-mounted device may be configured to determine that the event details of the abnormal event are sudden acceleration of the vehicle on the condition that the acceleration exceeds a preset threshold.
In another example, the running data set includes surrounding environment data of the vehicle, and the in-vehicle apparatus determines a running state of the vehicle based on the surrounding environment data of the vehicle; comparing the driving state with the driving safety condition; determining that an abnormal event occurs in response to the driving state not conforming to the driving safety condition; and determining that the vehicle runs normally in response to the running state meeting the running safety condition. Further optionally, if the vehicle-mounted device determines that the abnormal event occurs, the vehicle-mounted device determines that the event type of the abnormal event is the abnormal event of the driving environment according to the surrounding environment data based on which the abnormal event is determined to occur.
For example, the driving safety condition may include a driving specification, and the driving data set recorded with the ambient environment data includes: and at the first moment, the type of the lane line is a pedestrian lane, the vehicle head is 10 meters away from the lane line, and the speed of the vehicle is unchanged, so that the speed of the vehicle is kept unchanged when the driving state of the vehicle at the first moment is 10 meters away from the sidewalk. Assuming that the driving norm includes a slow speed at a distance of 10 meters from the sidewalk, the driving state of the vehicle at the first time does not conform to the driving norm, and it is determined that an abnormal event occurs. Further alternatively, the vehicle-mounted device can determine that the event details of the abnormal event are not decelerated and slowed down by 10 meters from the sidewalk based on the condition details of the travel safety condition in a case where the travel state does not comply with the travel safety condition.
In another example, the travel data set includes vehicle state data, and the in-vehicle apparatus determines that an abnormal event occurs in response to the vehicle state data reaching a vehicle abnormal condition; in response to the vehicle state data not reaching the vehicle abnormal condition, it is determined that the vehicle state is normal. Further optionally, if the vehicle-mounted device determines that the abnormal event occurs, the vehicle-mounted device determines that the event type of the abnormal event is the vehicle state abnormal event according to the vehicle state data based on the determination that the abnormal event occurs.
For example, the vehicle state data in the travel data set may include an engine temperature, the vehicle abnormality condition may include an abnormality when the engine temperature is greater than a temperature threshold, and the occurrence of the vehicle state abnormality event may be determined if the engine temperature is greater than the temperature threshold. Further alternatively, the in-vehicle apparatus may be able to determine the event details of the abnormal event as the engine temperature being excessively high, based on the condition details of the vehicle abnormal condition, in a case where the vehicle state data reaches the vehicle abnormal condition.
It should be noted that, if the in-vehicle device determines that the abnormal event occurs, the steps 303 to 306 are continuously executed, and the driving data associated with the abnormal event is transmitted to the server, so that the server analyzes the occurrence cause of the abnormal event. If the vehicle-mounted equipment determines that the vehicle runs normally, the steps 303 to 306 are not executed continuously.
With continued reference to fig. 4, optionally, the vehicle-mounted device determines, through the sensing module 401, the planning module 402, and the control module 403, whether an abnormal event 405 occurs, and if it is determined that the abnormal event 405 occurs, triggers an abnormal data screening 406, that is, triggers a first data subset associated with the abnormal event to be screened from the full-size data 404 through the abnormal event 405.
303. The vehicle-mounted device determines the occurrence time of the abnormal event and the type of the driving data corresponding to the abnormal event in response to the abnormal event.
Optionally, the vehicle-mounted device determines a collection time of the travel data on which the occurrence of the abnormal event is determined as an occurrence time of the abnormal event; alternatively, the in-vehicle device sets the time at which the abnormal event is detected as the occurrence time of the abnormal event.
A corresponding type (first type) of the travel data for analyzing the cause of the abnormal event is determined according to the event type of the abnormal event to analyze the cause of the abnormal event according to the first type of the travel data. Optionally, the vehicle-mounted device stores a comparison table of event types of the abnormal events and corresponding driving data types (first types). Corresponding driving data (also referred to as "driving data of the first type") are determined on the basis of the determined first type. The first type of travel data is used to analyze the cause of the abnormal event.
In an optional implementation manner, the vehicle-mounted device determines that an abnormal event occurs or does not occur. In the case where the vehicle-mounted device determines that an abnormal event occurs, the vehicle-mounted device further determines the occurrence time and the event type of the abnormal event, and determines the corresponding travel data type according to the determined event type of the abnormal event. For example, the driving data type corresponding to the event type of the abnormal event may include one or more of a vehicle position type, a vehicle posture type, a surrounding environment type, a vehicle running state type, a control instruction type, and the like.
In another optional implementation manner, the determined first type has a corresponding relationship with an event type of the abnormal event, and the vehicle-mounted device may determine the event type of the abnormal event, and may determine the driving data type (first type) corresponding to the event type of the abnormal event according to a preset corresponding/contrasting relationship between the event type of the abnormal event and the driving data type. For example, assuming that the vehicle-mounted device determines that the event type of the abnormal event is a vehicle travel abnormal event, the vehicle-mounted device may then determine that the first type of travel data corresponding to the abnormal event includes vehicle running state travel data, control instruction travel data, driver state travel data, and the like, according to the correspondence/correlation of the event type of the abnormal event and the type of travel data. For another example, assuming that the vehicle-mounted device determines that the event type of the abnormal event is a running environment abnormal event, the vehicle-mounted device may then determine that the first type of running data corresponding to the running environment abnormal event includes an environment surrounding type, based on the correspondence/correlation of the event type of the abnormal event and the running data type. It should be understood that the correspondence/contrast relationship between the event type and the driving data type of the abnormal event may be stored locally or on the server side.
According to the technical scheme, the corresponding driving data types are determined according to the abnormal events of different event types, so that the driving data with high correlation degree with the abnormal events can be screened out and transmitted, the data volume of the transmitted data can be further reduced, the data transmission efficiency is improved, and the effective utilization rate of the network bandwidth can be improved through the transmission of the driving data with high correlation degree.
In another optional implementation manner, the vehicle-mounted device is configured to determine event details of an abnormal event, and may determine the first type of driving data corresponding to the event details of the abnormal event according to a preset correspondence between the event details and the driving data types. For example, the event details of the determined abnormal event may be that the vehicle deviates from the lane line, and the corresponding first type of travel data may include a surrounding environment type of travel data, a control instruction type of travel data, and the like. As another example, the event details of the determined abnormal event may be vehicle overspeed, and the corresponding first type of travel data may include vehicle operating state type travel data, driver state type travel data, control command type travel data, and the like.
According to the technical scheme, the corresponding first type of driving data is determined based on the event details or the event types of the abnormal events, so that the driving data most relevant to the abnormal events can be screened out and transmitted, the data volume of the transmitted data can be further reduced, the data transmission efficiency is improved, and the effective utilization rate of the network bandwidth can be improved through the transmission of the most relevant driving data.
304. The vehicle-mounted device screens out, from the travel data set, the travel data of the determined travel data type as a first data subset, based on the determined occurrence timing of the abnormal event and the determined travel data type.
In an alternative implementation, the vehicle-mounted device backtracks the collected driving data before the abnormal event occurs, and screens out a first type of driving data ("first driving data") as a first data subset, wherein the first type is associated with the determined event type of the abnormal event. Accordingly, the step 304 includes: the vehicle-mounted equipment screens out first type first running data of which the collection time is in a first time period from the running data set on the basis of the occurrence time and the first type of the abnormal event; the vehicle-mounted equipment takes the first running data as a first data subset; the ending time of the first time period is the occurrence time of the abnormal event, and the duration of the first time period is the first duration. Optionally, the vehicle-mounted device generates the first data subset in the form of driving data-driving data type-acquisition time.
The first time period is a preset time period, for example, the first time period may be 10 seconds, 30 seconds, or 1 minute. It should be noted that the first time period may vary based on the actual application requirements.
It should be noted that the ending time of the first time period may be before the occurrence time of the abnormal event, for example, the ending time of the first time period may be 1 second before the occurrence time of the abnormal event, and the embodiment of the present application does not limit the ending time of the first time period.
According to the technical scheme provided by the embodiment of the application, the data quantity required to be transmitted is reduced and the data transmission rate is improved by screening out the data associated with the abnormal event, so that the data associated with the abnormal event is transmitted to the server in a short time, and the instantaneity of data transmission is improved. In addition, because the occurrence of the abnormal event usually has a causal relationship, and the driving state before the time sequence affects the following driving state, the data associated with the abnormal event can be effectively screened out by backtracking the driving data generated before the abnormal event occurs, and then the screened data is transmitted to the server, so that the server can perform the abnormal analysis, and the efficiency and the accuracy of the server for performing the abnormal analysis can be improved.
In another optional implementation manner, after the vehicle-mounted device screens out the first driving data collected before the abnormal event occurs, the following steps 1 to 2 are further used for screening out the second driving data collected after the abnormal event occurs, and the first driving data and the second driving data are used as the first data subset.
Step 1, the vehicle-mounted equipment screens out second driving data of the collection time in a second time period from the driving data set based on the occurrence time and the first type of the abnormal event.
Wherein the travel data type of the second travel data is the first type. The starting time of the second time period is the occurrence time of the abnormal event, and the duration of the second time period is the second duration. The second time period is a preset time period, for example, the second time period may be 10 seconds, 30 seconds, or 1 minute. It should be noted that the second time period may vary based on the actual application requirements. It should be noted that the starting time of the second time period may be after the occurrence time of the abnormal event, for example, the starting time of the second time period may be 1 second after the occurrence time of the abnormal event, and the embodiment of the present application does not limit the starting time of the second time period.
In an optional implementation manner, the occurrence time of the abnormal event is a historical time point relative to the current system time, and the vehicle-mounted device acquires the first type of running data with the collection time in the first time period and the first type of running data with the collection time in the second time period from the generated running data set at the current system time.
In another optional implementation manner, if the occurrence time of the abnormal event is the current system time, the vehicle-mounted device monitors a driving data set generated by the vehicle in real time within a second time period by taking the current system time as an initial time; a first type of driving data generated by the vehicle in real time is obtained from the driving data set.
And step 2, the vehicle-mounted equipment takes the first running data and the second running data as a first data subset.
According to the technical scheme, the driving data generated before the abnormal event occurs are traced back, the driving data generated after the abnormal event occurs are continuously traced, the time range of driving data screening is expanded, the screened driving data are transmitted to the server, the server is facilitated to analyze the occurrence reason of the abnormal event, and the accuracy of abnormal reason analysis can be improved.
With continued reference to fig. 4, step 304 is a process of performing abnormal data screening by the vehicle-mounted device through historical data backtracking 407 and duration tracking 408.
It should be noted that, optionally, the vehicle-mounted device filters out the driving data collected at the time before the occurrence of the abnormal event, so as to obtain the first data subset. Accordingly, the above steps 303 to 304 may be replaced by the following steps: the vehicle-mounted equipment responds to the abnormal event and determines the occurrence time of the abnormal event; screening out first running data of the collection time in a first time period from the running data set based on the occurrence time of the abnormal event, wherein the ending time of the first time period is the occurrence time of the abnormal event, and the duration of the first time period is first duration; the first travel data is taken as a first data subset.
Further, the vehicle-mounted device can screen out the driving data of the collection time in the time period after the abnormal event occurs, and the first data subset is generated according to the driving data of the collection time before and after the abnormal event occurs. Correspondingly, after the vehicle-mounted device screens out the first driving data with the collection time in the first time period from the driving data set based on the occurrence time of the abnormal event, the following steps can be further executed: the vehicle-mounted equipment screens out second driving data of the acquisition time in a second time period from the driving data set based on the occurrence time of the abnormal event, wherein the starting time of the second time period is the occurrence time of the abnormal event, and the duration of the second time period is a second duration; the first travel data and the second travel data are taken as a first data subset.
305. The in-vehicle device divides the first data subset into a plurality of data blocks.
In an optional implementation manner, the vehicle-mounted device divides the first data subset into a plurality of data blocks according to a time sequence with a certain time unit as a block duration, that is, the vehicle-mounted device divides the first data subset into a plurality of data blocks based on a predefined third duration.
The data block includes the travel data of a third duration, that is, the duration between the start time and the end time of the data block recording data is the third duration. For example, the third time duration is 100 milliseconds, the first data subset includes the travel data with the collection time within 0 hour 0 minute 0 second to 0 hour 0 minute 1 second, the vehicle-mounted device divides the travel data with the collection time within 0 hour 0 minute 0 second to 0 hour 0 minute 0 second 100 milliseconds into one data block, divides the travel data with the collection time within 0 hour 0 minute 0 second 100 milliseconds to 0 hour 0 minute 0 second 200 milliseconds into one data block, and so on.
It should be noted that, if the time length between the start time and the end time of the remaining driving data which is not divided into the data blocks in the first data subset is less than the third time length, the vehicle-mounted device may divide the remaining driving data which is not divided into the data blocks into a new data block; alternatively, the vehicle-mounted device may merge the remaining travel data that is not divided into the data blocks into the previous data block, which is not limited in the embodiment of the present application.
According to the technical scheme, the first data subset is segmented according to a certain time unit to obtain a plurality of data blocks, each data block records the driving data generated in a short period of time, and then the data amount of the transmitted data is reduced by transmitting the single data block, the data transmission efficiency is improved, the transmission of the data subset can be completed in a short time, and the instantaneity of data transmission is improved.
It should be noted that the in-vehicle device may divide the travel data of multiple travel data types into the same data block. For example, the data segment may include travel data of a vehicle position type, a vehicle attitude type, and a surrounding environment type. Alternatively, the vehicle-mounted device may divide the travel data of one travel data type into the same data segment. For example, the first data segment may include travel data for the vehicle location type; the second data segment includes vehicle attitude type travel data; the third data segment includes driving data of the surrounding environment type.
In another optional implementation manner, the vehicle-mounted device segments the first data subset by using a certain data amount as a unit to obtain a plurality of data blocks. Accordingly, the step 305 is: the vehicle-mounted device divides the first data subset into a plurality of data blocks by taking the first data volume as a unit, and the data volume of each data block is the first data volume. The first data amount is a preset data amount, and for example, the first data amount may be 2 megabytes, 5 megabytes, or 10 megabytes. Optionally, the vehicle-mounted device divides the driving data in the first data subset into a plurality of data blocks in the order of the collection time of the driving data. For example, the in-vehicle device may divide the travel data of 2 megabytes whose collection time is between 0 hour 0 minute 0 second 0 msec to 0 hour 0 minute 0 second 80 msec into one data block.
The technical scheme provided by the embodiment of the application divides the data subset by taking the data volume as a unit to obtain a plurality of data blocks, and then the data volume of the transmitted data is reduced through the transmission of the data blocks, the efficiency of data transmission is improved, the transmission of the data subset can be completed in a short time, and the instantaneity of the data transmission is improved.
It should be noted that, when the network transmission rate of the vehicle is high, the vehicle-mounted device can quickly transmit data with a large data volume, and optionally, before the vehicle-mounted device divides the data subset into a plurality of data blocks, the data volume of the data blocks is adjusted along with the change of the network transmission rate.
In an optional implementation manner, the vehicle-mounted device adjusts the third time length for dividing the data into blocks as the network transmission rate changes. For example, the process may include: the method comprises the steps that the vehicle-mounted equipment detects the network transmission rate of a vehicle; if the network transmission rate is lower than the rate threshold, shortening the third time duration, namely dividing the data into a plurality of data blocks with shorter time duration; and if the network transmission rate is greater than or equal to the rate threshold, lengthening the third time. The rate threshold is a preset value representing the network transmission rate, for example, the rate threshold may be 1500 bits per second or 1800 bits per second.
And the vehicle-mounted equipment shortens or lengthens the third time length according to the time length adjustment. In an optional implementation manner, the adjustment time duration is a predefined constant, and the vehicle-mounted device adjusts the third time duration according to the predefined adjustment time duration. For example, the adjustment duration may be 10 milliseconds, and if the network transmission rate is lower than the rate threshold, the vehicle-mounted device shortens the third duration by 10 milliseconds; and if the network transmission rate is greater than or equal to the rate threshold value, the vehicle-mounted equipment lengthens the third time by 10 milliseconds. In another optional implementation manner, the adjustment duration is a variable related to the network transmission rate, the vehicle-mounted device determines the adjustment duration according to a difference between the network transmission rate and a rate threshold, and the adjustment duration is positively correlated to an absolute value of the difference; and the vehicle-mounted equipment adjusts the third time length based on the adjustment time length. For example, the speed threshold is 1000 bits per second, if the network transmission rate of the vehicle is 1500 bits per second, the difference between the network transmission rate of the vehicle and the speed threshold is 500 bits per second, and the adjustment duration positively correlated to the difference may be 10 milliseconds. If the network transmission rate of the vehicle is 1200 bits per second, the difference between the network transmission rate of the vehicle and the rate threshold is 200 bits per second, and the adjustment duration positively correlated to the difference may be 4 milliseconds.
In another alternative implementation, the vehicle-mounted device adjusts the first data amount for dividing the data blocks as the network transmission rate changes. For example, the process may include: the method comprises the steps that the vehicle-mounted equipment detects the network transmission rate of a vehicle; if the network transmission rate is lower than the rate threshold, increasing the first data volume; and if the network transmission rate is greater than or equal to the rate threshold value, reducing the first data volume.
And the vehicle-mounted equipment adjusts the first data volume to be larger or smaller according to the adjustment step length. In an optional implementation manner, the vehicle-mounted device adjusts the first data amount according to a fixed adjustment step size. In another optional implementation manner, the vehicle-mounted device determines an adjustment step length according to a difference between the network transmission rate and a rate threshold, where the adjustment step length is positively correlated with the difference; the vehicle-mounted equipment adjusts the first data volume based on the adjustment step length.
According to the technical scheme, the data volume of the data blocks is adjusted along with the change of the network transmission rate, when the network transmission rate is high, the data volume of the data blocks is properly increased, and when the network transmission rate is low, the data volume of the data blocks is properly reduced, so that the data volume of the data blocks is adaptive to the change of the network transmission rate, the data blocks can be quickly transmitted under different network transmission states, and the instantaneity of data transmission is further improved.
306. The vehicle-mounted equipment transmits the data blocks.
In an optional implementation manner, the vehicle-mounted device sequentially transmits a plurality of data blocks, and respectively transmits each data block to the server.
According to the technical scheme, when the abnormal event is detected, the data volume of the data needing to be transmitted is reduced by screening the first data subset associated with the abnormal event, and then the first data subset is transmitted in a data blocking mode, so that the data transmission efficiency is improved, the transmission of the data with high utilization value can be completed in a short time, and the instantaneity of the data transmission is improved.
In another optional implementation manner, with reference to fig. 4, when transmitting the data blocks, the vehicle-mounted device performs priority ordering on the data blocks through a process 409 of priority ordering, and then transmits the data blocks to the server according to the priority order, that is, performs a process 410 of block returning to the server. Accordingly, the above step 306 includes the following steps 3061 to 3062:
3061. the vehicle-mounted equipment acquires the transmission priority of the data blocks.
In an optional implementation manner, the vehicle-mounted device sets a higher transmission priority to the data blocks closer to the occurrence time of the abnormal event. The vehicle-mounted equipment acquires reference time corresponding to each data block; the vehicle-mounted equipment determines a difference value between the occurrence time of the abnormal event and the reference time corresponding to each data block; determining the transmission priority of each data block according to the difference, wherein the reference time is the earliest acquisition time of the driving data included in each data block; the transmission priority is negatively correlated with the absolute value of the difference, and the transmission priority of the data block before the occurrence time of the abnormal event at the reference time is higher than the transmission priority of the data block after the occurrence time of the abnormal event at the reference time.
For example, a certain data segment may include travel data whose acquisition time is between 0 hour 0 second 0 msec and 0 hour 0 minute 0 second 100 msec, and if the earliest acquisition time of the travel data included in the data segment is 0 hour 0 minute 0 second 0 msec, 0 hour 0 minute 0 second 0 msec is taken as the reference time, and if the occurrence time of an abnormal event is 0 hour 0 minute 0 second 200 msec, the difference between the reference time corresponding to the data segment and the occurrence time of the abnormal event is 200 msec.
It should be noted that, in the embodiments of the present application, the reference time corresponding to the data block is configured to be the earliest acquisition time of the travel data included in the data block. The reference time corresponding to the data block may also be configured as the latest acquisition time of the driving data included in the data block; alternatively, the reference time corresponding to the data block may also be configured to be any time in the time period of the third duration corresponding to the data block.
Optionally, the vehicle-mounted device sorts the difference values corresponding to the multiple data blocks, and uses the sequence of the absolute values of the difference values from low to high as the sequence of the transmission priorities of the multiple data blocks from high to low.
According to the technical scheme provided by the embodiment of the application, the closer the acquisition time of the running data is to the occurrence time of the abnormal event, the higher the correlation degree between the running data and the abnormal event is, and the higher the utilization value of the analysis of the abnormal event is, so that the running data closer to the occurrence time of the abnormal event is sorted according to the difference value between the acquisition time of the running data and the occurrence time of the abnormal event, the data most related to the abnormal event is preferentially transmitted to the server to analyze the abnormal event, and the efficiency of determining the abnormal event is further improved.
In another alternative implementation, the vehicle-mounted device determines the transmission priority of the data blocks according to the driving data type of the driving data included in the data blocks. Accordingly, the in-vehicle apparatus obtains the transmission priorities of the plurality of data blocks by the following steps 30611 to 30612.
30611. The vehicle-mounted device determines a travel data type of travel data included in each of the plurality of data blocks.
The driving data in the data blocks exist in the form of driving data-driving data type-collection time, and the vehicle-mounted equipment can determine the driving data type corresponding to the driving data.
30612. The vehicle-mounted device determines the transmission priority of each data block according to the determined type of the traveling data.
In an alternative implementation manner, one data block includes travel data of one travel data type, and the vehicle-mounted device takes a type priority corresponding to the travel data type as a transmission priority of the data block.
Alternatively, the travel data has a priority (hereinafter referred to as "type priority") configured according to the type of the travel data, and the in-vehicle apparatus determines the priority of the travel data according to the type of the travel data and the corresponding type priority. For example, if a first data segment includes vehicle operating status data, a second data segment includes ambient environment data, and a third data segment includes driver status data, and the type priority of the vehicle operating status data type is the highest, the type priority of the ambient environment data is the next, and the type priority of the driver status data is the next according to the respective type priorities, it may be determined that the transmission priority of the first data segment is greater than the transmission priority of the second data segment, and the transmission priority of the second data segment is greater than the transmission priority of the third data segment. It is to be understood that the type priority (i.e., the correspondence between the travel data type and the type priority) may be stored locally or on the server side.
As has been discussed previously, different types of abnormal events may correspond to different types of travel data. It will be appreciated that the same travel data type may have different type priorities for different types of exceptional events. It should be appreciated that a type priority of the corresponding travel data may be stored with respect to each abnormal event type. Having a higher type priority means that the corresponding travel data may play a more critical role in the occurrence of such abnormal events.
Alternatively, for the same type of abnormal event, the type priority of the travel data may also be determined according to the event details of the abnormal event. And the vehicle-mounted equipment determines the type priority of the driving data according to the event details of the abnormal event, the type of the driving data and the corresponding relation of the type priority. For example, the event details of the abnormal event may be that the vehicle deviates from the lane line, the abnormal event corresponding to the traveling data of the vehicle posture type, the surrounding environment type, the vehicle running state type, wherein the type priority of the vehicle posture type is highest, the type priority of the surrounding environment type is second, and the type priority of the vehicle running state type is second. As another example, the event details of the abnormal event corresponding to the traveling data of the vehicle attitude type, the ambient environment type, the vehicle running state type, in which the type priority of the vehicle running state type is the highest, the type priority of the ambient environment type is the second, and the type priority of the vehicle attitude type is the second, are the vehicle overspeed.
In another optional implementation manner, one data block includes driving data of multiple driving data types, the vehicle-mounted device stores a corresponding relationship among the driving data types, the type priority parameters, and the weights, and the vehicle-mounted device can determine the transmission priority of the data block according to the type priority parameters and the weights of the multiple driving data types.
Wherein the weight is used for representing the importance degree of the driving data type to the determination of the type priority parameter of the data blocks. For example, the weight corresponding to the vehicle position type is 0.1, the weight corresponding to the vehicle posture type is 0.2, and the weight corresponding to the ambient environment type is 0.4. The type priority parameter is used to indicate the priority with which the travel data of the travel data type is transmitted, and the higher the type priority parameter, the higher the priority with which the data of the travel data type is transmitted. For example, the type priority parameter of the vehicle position type is 3, the type priority parameter of the vehicle attitude type is 2, and the type priority parameter of the surrounding environment type is 7.
The vehicle-mounted device can determine the transmission priority parameter of the data block according to the determined weights of the multiple driving data types and the type priority parameter of the driving data types. For example, the vehicle-mounted device may perform weighted summation on the weight of the driving data type and the type priority parameter of the driving data type to obtain the transmission priority parameter of the data block. For example, based on the above example, the transmission priority parameter of the data partition may be expressed as 0.1 × 3+0.2 × 2+0.4 × 7 ═ 3.5.
And the vehicle-mounted equipment determines the transmission priority of the data blocks according to the determined transmission priority parameters. The transmission priority is positively correlated with the transmission priority parameter, and the larger the transmission priority parameter is, the higher the transmission priority is.
According to the technical scheme, the transmission priority of each data block is determined based on the driving data type of the driving data in the data block, so that the driving data with the more important type can be preferentially transmitted to the server according to the sequence of the transmission priority, the server can preferentially analyze the abnormal reason based on the driving data with the more important type, and the analysis efficiency of the abnormal reason is improved.
In another optional implementation manner, the vehicle-mounted device detects at least two abnormal events, and simultaneously transmits the data blocks corresponding to the at least two abnormal events, the data blocks to be transmitted include data blocks corresponding to the at least two abnormal events respectively, and the vehicle-mounted device takes the event priority of the abnormal event as the transmission priority of the data block corresponding to the abnormal event.
Optionally, the vehicle-mounted device stores a correspondence between event details of the abnormal event and event priorities. And the vehicle-mounted equipment determines the priority of the abnormal event according to the corresponding relation between the stored event details and the event priority. For example, an abnormal event that accelerates 10 meters from a pedestrian has a higher event priority than an event in which the vehicle pushes across the center separation line. Optionally, the vehicle-mounted device may also store a correspondence between an event type of the abnormal event and an event priority, and determine the priority of the abnormal event according to the correspondence between the event type and the event priority, which is not limited in this application.
According to the technical scheme, the event priority of the abnormal event is used as the transmission priority of the corresponding data block, so that the data block is transmitted to the server according to the sequence of the transmission priorities, the server can analyze the abnormal reason of the abnormal event with higher event priority, the influence of the abnormal event is avoided being further expanded, and the driving safety of the vehicle is improved.
Optionally, the vehicle-mounted device obtains transmission priorities of the multiple data blocks to be transmitted according to a period; sorting a plurality of data blocks to be transmitted; and transmitting according to the sequence of the transmission priority from high to low. Referring to fig. 5, when the in-vehicle device reaches the sorting cycle of the transmission priority at the first time 501, the in-vehicle device performs a process 504 of sorting the priority of the currently untransmitted data chunks 502 and the untransmitted data chunks 503 at the first time 501; after the ordering is completed at the second time 505, a process 506 of transmitting the data block is performed. If the vehicle-mounted device reaches the sorting cycle of the transmission priority at the third time 507, performing a process 509 of sorting the priority of the data blocks 508 which are not transmitted at the third time 507; after the ordering is completed at the fourth time 510, a process 511 of transmitting the data chunks occurs, and so on. The processes of dividing the first data subset into a plurality of data blocks, sorting according to the transmission priority and transmitting the data blocks by the vehicle-mounted device can be performed asynchronously.
3062. And the vehicle-mounted equipment transmits the plurality of data blocks in the sequence from high transmission priority to low transmission priority.
And the vehicle-mounted equipment sequentially transmits a plurality of data blocks according to the sequence of the transmission priority from top to bottom, and respectively transmits each data block to the server.
According to the technical scheme provided by the embodiment of the application, the data blocks are transmitted according to the sequence of the transmission priority, the data most relevant to the abnormal event can be preferentially transmitted to the server, the abnormal reason is analyzed, and the efficiency of determining the abnormal reason is further improved.
It should be noted that, optionally, after the vehicle-mounted device obtains the first data subset, the first data subset is not divided into a plurality of data blocks through the above steps 305 to 306, and the data blocks are transmitted, but the first data subset is directly transmitted to the server.
Another point to be noted is that the in-vehicle device transmits a plurality of pieces of data to the server in blocks. The server receives the plurality of data blocks transmitted by the vehicle-mounted equipment, and the server is used for receiving the driving data in the plurality of data blocks and the occurrence reason of the abnormal event. Optionally, the server sends alarm information to the vehicle-mounted device according to the analyzed occurrence reason of the abnormal event so as to prompt the driver to solve the problem of the abnormal driving of the vehicle. The alarm information may include event details of the abnormal event and a solution of the abnormal event; or the server sends a control instruction to the vehicle-mounted equipment according to the occurrence reason of the abnormal event so as to control the vehicle and avoid the abnormal event from further influencing the driving safety; or the server improves the related algorithm of automatic driving according to the occurrence reason of the abnormal event, and avoids the similar abnormal event from happening again.
Since the onboard equipment transmits the data blocks according to the sequence of the transmission priority, the server may receive the data blocks with the later time sequence first and then the data blocks with the earlier time sequence, and for the convenience of data analysis and processing, referring to fig. 6, the server may obtain the driving data according with the time sequence through the following processes 601 to 603: 601. receiving data blocks; 602. reordering the received data blocks according to a time sequence; 603. and generating the running data according with the time sequence.
Optionally, the server receives a plurality of data blocks within a preset fourth time period from the time when the first data block is received. The fourth time duration is a preset time duration, and optionally, the server can receive all the driving data which is transmitted by the vehicle-mounted device and is associated with a certain abnormal event within the fourth time duration. The fourth time period is longer than or equal to the time period consumed by the vehicle-mounted equipment for transmitting all the running data associated with a certain abnormal event to the server. For example, the fourth time period may be set to 5 minutes, 10 minutes, or the like. In one example, assuming that the server sequentially receives, within 10 minutes, a plurality of data blocks including travel data whose collection time is within 00:00:02 to 00:00:03, travel data whose collection time is within 00:00:01 to 00:00:02, travel data whose collection time is within 00:00: 00:00 to 00:00:01, travel data whose collection time is within 00:00:03 to 00:00:04, and travel data whose collection time is within 00:00:04 to 00:00:05, the plurality of data blocks being data blocks into which the same first data subset is divided, the server rearranges the plurality of data blocks in a time order, the plurality of data blocks being in an order of 00:00:00 to 00:01, 00:01 to 00:00:02, 00:00:02 to 00:03, 00:00: 00:03 to 00:00: 00:04, and 00:04 to 00:00:05, and composing the running data according with the time sequence.
Optionally, when the vehicle-mounted device transmits the first data chunk of the first data subset to the server, the vehicle-mounted device may carry a transmission start tag of the first data subset to indicate that the server has started to transmit the data chunk of the first data subset; when the vehicle-mounted device transmits other data blocks of the first data subset except the first data block and the last data block of the first data subset to the server, the vehicle-mounted device can carry the transmission tag of the first data subset; when the vehicle-mounted device transmits the last data block of the first data subset to the server, the vehicle-mounted device can carry a transmission ending tag to indicate that the transmission of the data block of the first data subset of the server is completed. The server may determine that the transmission of the first data subset is completed according to the transmission end tag when receiving the last data block of the first data subset, and reorder the data blocks carrying the transmission start tag, the transmission in-progress tag, and the transmission end tag of the first data subset according to the time sequence to obtain the travel data conforming to the time sequence.
It should be noted that, the vehicle-mounted device has a function of transmitting the data related to the abnormality in real time, and the vehicle-mounted device transmits the data subset related to the abnormality in real time through the above steps 302 to 306. Besides, the in-vehicle apparatus has a recording function of key data, which is realized by the following steps 307 to 309.
307. And screening the second type of driving data from the driving data set by the vehicle-mounted equipment to obtain a second data subset.
The second type of driving data is critical data that needs to be continuously recorded for analyzing the cause of an accident after the accident occurs. The second type includes at least one of a vehicle position type, a vehicle attitude type, a surrounding environment type, a vehicle running state type, a driver state type, and a control instruction type. For example, referring to fig. 7, the second type of travel data includes vehicle position data 701, vehicle attitude data 702, ambient environment data 703, driver state data 704, and control instruction data 705. Alternatively, the travel data set is the full amount of data generated during the automatic driving, and with continued reference to fig. 4, the in-vehicle apparatus performs a process 411 of key data screening based on the full amount of data 404.
308. The vehicle-mounted device generates a record file in response to the data volume of the second data subset reaching a predefined data volume.
Optionally, the vehicle-mounted device stores the screened second type of driving data in a buffer corresponding to the log file, and when the second type of driving data reaches a predefined data amount, the log file is generated based on the second type of driving data in the buffer.
Wherein the predefined amount of data may be 10 megabytes, 30 megabytes, 50 megabytes, or the like. The vehicle-mounted device periodically generates the record files based on the second type of driving data, namely, the vehicle-mounted device generates the record files based on the screened predefined data amount of the second type of driving data every time the vehicle-mounted device screens the predefined data amount of the second type of driving data, wherein each record file comprises the predefined data amount of the second type of driving data. Optionally, each record file further includes a start time and an end time of the driving data recorded in the record file, where the start time is the earliest collection time of the driving data in the record file, and the end time is the latest collection time of the driving data in the record file. For example, the log file may include key data of collection time from 12:38:26 at 30 days 7/2020 to 12:38:39 at 30 days 7/2020, and the data amount of the log file is 30 megabytes.
It should be noted that, optionally, the vehicle-mounted device periodically generates the record file based on the key data generated within a certain time period, that is, the record file is generated every time the vehicle generates the key data within a certain time period. Accordingly, the above step 308 is replaced by: and the vehicle-mounted equipment responds to the fact that the difference value between the earliest collecting time and the latest collecting time of the driving data in the second data subset reaches a time length threshold value, and a recording file is generated. For example, the time duration threshold may be 1 minute, and the vehicle-mounted device periodically collects the second type of driving data with the time of the second type of driving data from 12:38:26 at 7/30/2020 to 12:39:26 at 7/30/2020, and generates a record file; and collecting second type driving data from 30 days 12:39:26 in 7/2020 to 30 days 12:40:26 in 7/2020, generating a record file, and the like.
309. The vehicle-mounted equipment stores the recording file in a local storage space of the vehicle.
Optionally, the vehicle-mounted device stores the record file in a local storage space of the vehicle, the local storage space being used for storing the record file. Optionally, the local storage space for storing the record file is a secure storage space. The data stored in the safe storage space is not easy to lose in case of vehicle accidents or faults. Optionally, the target condition is that the loss rate of the data stored in the safe storage space is lower than a preset threshold value in case of an accident or a fault of the vehicle. The vehicle-mounted equipment can still acquire the key data for analysis and processing when an accident or a fault occurs to the vehicle by storing the record file in the safe storage space.
Optionally, the secure storage space is a storage space within a secure storage device of the vehicle. The safety performance of the safety storage device for storing data meets the target condition. Optionally, the secure storage device can secure the data storage through a data security mechanism. For example, a secure storage device may secure data storage by establishing a backup mechanism or deploying a disaster recovery system. Optionally, the write life, the electromagnetic immunity and other performances of the secure storage device also meet certain conditions, so that the secure storage device has a longer service life and can normally work in an electromagnetic interference environment.
With continued reference to fig. 7, the in-vehicle apparatus periodically generates a plurality of record files, such as the record file 706, the record file 707, and the like, in sequence based on the second type of travel data. Since the storage space of the local storage space is limited, the data amount of the driving data that can be stored in the local storage space is limited, and in order to enable the driving data that is closest to the current time to be stored in the local storage space, with reference to fig. 4, after the vehicle-mounted device executes a process 411 of filtering the critical data, a process 412 of recording to the local storage in a circulating manner is executed, that is, the vehicle-mounted device continuously records the critical data in the latest period of time in a circulating storage manner. Accordingly, the step 309 is: the vehicle-mounted equipment deletes the earliest stored record file from the local storage space in response to the fact that the storage space left in the local storage space is insufficient for storing the record file; and storing the recording file in the deleted local storage space.
According to the technical scheme, the key data generated in the vehicle running process are stored in the safe storage space in a circulating storage mode, when an accident occurs to the vehicle, the key data stored in the safe storage space can be used as a basis to perform accident analysis, responsibility judgment and site restoration, a reliable data source is provided for the analysis and responsibility judgment of the traffic accident, and the running data generated in the vehicle running process is effectively utilized. In addition, the data volume which can be stored in the safe storage space is limited, so that the key data in the latest period of time is continuously recorded in a circulating storage mode, the stored key data has higher application value at the current time, and the effective utilization rate of the safe storage space is improved.
It should be noted that, optionally, the vehicle-mounted device also transmits the second data subset to the server, and the server performs analysis and processing. Optionally, the process of transmitting the second data subset to the server in the form of data blocks by the vehicle-mounted device is similar to the process of transmitting the first data subset to the server in the form of data blocks by the vehicle-mounted device in the above steps 305 to 306, and details are not repeated herein.
It should be noted that, the sequence from step 302 to step 306 to the sequence from step 307 to step 309 are not strict. In an optional implementation manner, the vehicle-mounted device performs steps 302 to 306 and steps 307 to 309 simultaneously; in another optional implementation manner, the vehicle-mounted device performs steps 302 to 306, and then performs steps 307 to 309; in another alternative implementation manner, the vehicle-mounted device performs steps 307 to 309, and then performs steps 302 to 306.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
Fig. 8 is a block diagram of a data transmission apparatus according to an embodiment of the present application. Referring to fig. 8, the apparatus includes:
an obtaining module 801, configured to obtain a driving data set generated by a vehicle, where the driving data set is used to record a driving state of the vehicle;
a first filtering module 802, configured to filter, in response to an abnormal event, driving data associated with the abnormal event from the driving data set to obtain a first data subset, where the abnormal event includes at least one of a driving abnormality of a vehicle, an abnormality of a driving environment, and an abnormality of a vehicle state;
a transmission module 803 is configured to transmit the first subset of data.
According to the technical scheme provided by the embodiment of the application, the data subsets with analysis value on abnormal events are screened from the driving data set, the screened data subsets are transmitted, the data volume of the transmitted data is reduced on the basis of transmitting valuable data, the data transmission efficiency is improved, the data with high utilization value is transmitted in a short time, and the instantaneity of data transmission is improved.
In an alternative implementation, the transmission module 803 includes:
a partitioning unit for partitioning the first subset of data into a plurality of data partitions;
and the transmission unit is used for transmitting the plurality of data blocks.
In another optional implementation manner, the first filtering module 802 includes:
a time determination unit for determining an occurrence time of an abnormal event in response to the abnormal event;
the data screening unit is used for screening out first running data of the collection time in a first time period from the running data set based on the occurrence time of the abnormal event, the ending time of the first time period is the occurrence time of the abnormal event, and the duration of the first time period is first duration;
a subset generating unit configured to use the first travel data as a first data subset.
In another optional implementation manner, the data screening unit is further configured to screen out, from the running data set, second running data of which the acquisition time is within a second time period based on the occurrence time of the abnormal event, where the starting time of the second time period is the occurrence time of the abnormal event, and the duration of the second time period is a second duration; a subset generating unit configured to use the first travel data and the second travel data as a first data subset.
In another alternative implementation, the first travel data is a first type of travel data, and the first type has a corresponding relationship with an event type of the abnormal event.
In another optional implementation manner, the second driving data is driving data of a first type, and the first type has a corresponding relationship with an event type of the abnormal event.
In another optional implementation manner, the transmission unit includes:
the priority acquisition subunit is used for acquiring the transmission priorities of the data blocks;
and the transmission subunit is used for transmitting the plurality of data blocks from high to low according to the transmission priority.
In another optional implementation manner, the priority obtaining subunit is configured to:
acquiring a reference moment corresponding to each data block, wherein the reference moment is the earliest acquisition moment of the running data included in each data block;
determining a difference value between the occurrence time of the abnormal event and a reference time corresponding to each data block;
and determining the transmission priority of each data block according to the difference, wherein the transmission priority is in negative correlation with the absolute value of the difference, and the transmission priority of the data block before the occurrence time of the abnormal event at the reference time is higher than the transmission priority of the data block after the occurrence time of the abnormal event at the reference time.
In another optional implementation manner, the priority obtaining subunit is configured to:
determining a travel data type of travel data included in each of a plurality of data blocks;
a transmission priority for each data block is determined based on the determined type of travel data.
In another optional implementation manner, the blocking unit is configured to:
the first subset of data is divided into a plurality of data chunks based on a predefined third duration.
In another optional implementation manner, the transmission module 803 further includes:
a detection unit for detecting a network transmission rate of the vehicle;
the time length adjusting unit is used for shortening the third time length if the network transmission rate is lower than a rate threshold; and if the network transmission rate is greater than or equal to the rate threshold, lengthening the third time.
In another optional implementation manner, the apparatus further includes:
the second screening module is used for screening the driving data of the second type from the driving data set to obtain a second data subset;
the file generation module is used for responding to the data volume of the second data subset reaching the predefined data volume and generating a record file;
and the storage module is used for storing the recording file in a local storage space of the vehicle.
In another alternative implementation, the storage module is configured to:
deleting the oldest stored record file from the local storage space in response to the remaining storage space in the local storage space being insufficient to store the record file;
and storing the recording file in the deleted local storage space.
In another alternative implementation, the second type includes at least one of a vehicle position type, a vehicle attitude type, a surrounding environment type, a vehicle operating state type, a driver state type, and a control instruction type.
It should be noted that: in the data transmission device provided in the above embodiment, only the division of the above functional modules is taken as an example for data transmission, and in practical applications, the above functions may be distributed by different functional modules as needed, that is, the internal structure of the vehicle-mounted device is divided into different functional modules to complete all or part of the above described functions. In addition, the data transmission device and the data transmission method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
The technical scheme provided by the embodiment of the application has at least the following advantages:
when an abnormal event is detected, target data related to the abnormal event is filtered to reduce the amount of data required to be transmitted. This enables the travel data relating to the abnormal event to be transmitted to the remote server in real time as or after the abnormal event occurs. In this way, such data may be analyzed more quickly and with less need for local storage of the vehicle.
Furthermore, in some embodiments, the target data is transmitted in data chunks, which improves the efficiency of data transmission. In some examples, rather than sending the target data in order of acquisition time, the data segments with higher priority are sent first. This enables the transmission of the most important data to be completed in a short time, thereby improving the immediacy of data transmission.
In some embodiments, the travel data may also be stored locally on the vehicle, but may be overwritten due to the large amount of data collected during travel and the limited storage capacity on the vehicle. Thus, by sending data relating to the abnormal event to a remote server, such important data can be preserved. In some embodiments, to reduce the amount of data sent, the data related to the abnormal event may be a first subset of the plurality of types of driving data. However, in the event of an accident, a more detailed analysis may be required. Thus, critical data corresponding to the second subset of the plurality of types of travel data may be continuously stored on the local device of the vehicle. Critical data may be stored in a round robin fashion, whereby the oldest data is overwritten by the newest data once the store is full. In the event of an accident, storage space on the vehicle may be retrieved and critical data examined in detail. Since the critical data is stored in a round robin fashion, the memory on the vehicle should include the critical data for the relevant time period that caused the accident. The second subset of the plurality of types of travel data may be larger than the first subset of the plurality of types of data. In this manner, the storage on the vehicle may include more accident-related data than is transmitted to the remote server.
Fig. 9 is a block diagram of an in-vehicle device provided in this embodiment of the present application, where the in-vehicle device 900 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 901 and one or more memories 902, where the memory 902 stores at least one program code, and the at least one program code is loaded and executed by the processors 901 to implement the data transmission method provided in each of the above method embodiments. Of course, the vehicle-mounted device may further have components such as a wired or wireless network interface, a keyboard, an input/output interface, and the like, so as to perform input/output, and the vehicle-mounted device may further include other components for implementing the device functions, which are not described herein again.
In an exemplary embodiment, there is also provided a computer-readable storage medium having at least one program code stored therein, the at least one program code being executable by a processor in an in-vehicle apparatus to perform the data transmission method in the above-described embodiments. For example, the computer-readable storage medium may be a ROM (Read-Only Memory), a RAM (Random Access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, an optical data storage device, and the like.
The present application also provides a computer program product or a computer program comprising computer program code, the computer program code being stored in a computer-readable storage medium, the computer program code being read by a processor of an in-vehicle apparatus from the computer-readable storage medium, the computer program code being executed by the processor to cause the in-vehicle apparatus to perform the data transmission method in the above-mentioned respective method embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (30)

1. A method of data transmission, the method comprising:
acquiring a driving data set generated by a vehicle, wherein the driving data set is used for recording the driving state of the vehicle;
screening out driving data associated with an abnormal event from the driving data set in response to the abnormal event, and obtaining a first data subset, wherein the abnormal event comprises at least one of vehicle driving abnormity, driving environment abnormity and vehicle state abnormity;
transmitting the first subset of data.
2. The method of claim 1, wherein the transmitting the first subset of data comprises:
and dividing the first data subset into a plurality of data blocks, and transmitting the data blocks.
3. The method of claim 1, wherein the screening the set of travel data for travel data associated with the anomalous event in response to the anomalous event, resulting in a first subset of data, comprises:
in response to the abnormal event, determining the occurrence time of the abnormal event;
screening out first running data of the collection time in a first time period from the running data set based on the occurrence time of the abnormal event, wherein the termination time of the first time period is the occurrence time of the abnormal event, and the duration of the first time period is first duration;
the first travel data is taken as the first subset of data.
4. The method of claim 3, further comprising:
screening out second driving data of the acquisition time in a second time period from the driving data set based on the occurrence time of the abnormal event, wherein the starting time of the second time period is the occurrence time of the abnormal event, and the duration of the second time period is a second duration;
the first and second travel data are treated as the first data subset.
5. The method according to claim 3, characterized in that the first travel data is a first type of travel data having a correspondence relationship with an event type of the abnormal event.
6. The method according to claim 4, characterized in that the second travel data is a first type of travel data having a correspondence relationship with an event type of the abnormal event.
7. The method of claim 2, wherein the transmitting the plurality of data chunks comprises:
acquiring the transmission priority of the data blocks;
and transmitting the plurality of data blocks according to the sequence of the transmission priority from high to low.
8. The method of claim 7, wherein obtaining the transmission priority of the plurality of data blocks comprises:
acquiring a reference time corresponding to each data block, wherein the reference time is the earliest acquisition time of the running data included in each data block;
determining a difference value between the occurrence time of the abnormal event and a reference time corresponding to each data block;
and determining the transmission priority of each data block according to the difference, wherein the transmission priority is in negative correlation with the absolute value of the difference, and the transmission priority of the data block before the occurrence time of the abnormal event at the reference time is higher than the transmission priority of the data block after the occurrence time of the abnormal event at the reference time.
9. The method of claim 7, wherein obtaining the transmission priority of the plurality of data blocks comprises:
determining a travel data type of travel data included in each of the plurality of data blocks;
determining a transmission priority for each of the data blocks based on the determined travel data type.
10. The method of claim 2, wherein the dividing the first subset of data into a plurality of data chunks comprises:
dividing the first subset of data into a plurality of data chunks based on a predefined third duration.
11. The method of claim 10, further comprising:
detecting a network transmission rate of the vehicle;
if the network transmission rate is lower than a rate threshold, shortening the third time;
and if the network transmission rate is greater than or equal to the rate threshold, lengthening the third time.
12. The method of claim 1, wherein after the obtaining the vehicle-generated travel data set, the method further comprises:
screening out second type of driving data from the driving data set to obtain a second data subset;
generating a log file in response to the amount of data of the second subset of data reaching a predefined amount of data;
and storing the record file in a local storage space of the vehicle.
13. The method of claim 12, wherein storing the log file in a local storage space of the vehicle comprises:
deleting the oldest stored record file from the local storage space in response to the remaining storage space in the local storage space being insufficient to store the record file;
and storing the recording file in the deleted local storage space.
14. The method of claim 12, wherein the second type comprises at least one of a vehicle position type, a vehicle attitude type, a surrounding environment type, a vehicle operating state type, a driver state type, and a control instruction type.
15. A data transmission apparatus, characterized in that the apparatus comprises:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a driving data set generated by a vehicle, and the driving data set is used for recording the driving state of the vehicle;
the first screening module is used for screening out driving data related to an abnormal event from the driving data set in response to the abnormal event, so as to obtain a first data subset, wherein the abnormal event comprises at least one of vehicle driving abnormity, driving environment abnormity and vehicle state abnormity;
a transmission module to transmit the first subset of data.
16. The apparatus of claim 15, wherein the transmission module comprises:
a partitioning unit configured to partition the first subset of data into a plurality of data partitions;
and the transmission unit is used for transmitting the plurality of data blocks.
17. The apparatus of claim 15, wherein the first screening module comprises:
a time determination unit configured to determine an occurrence time of the abnormal event in response to the abnormal event;
the data screening unit is used for screening out first running data of the collection time in a first time period from the running data set based on the occurrence time of the abnormal event, the termination time of the first time period is the occurrence time of the abnormal event, and the duration of the first time period is first duration;
a subset generating unit configured to use the first travel data as the first data subset.
18. The device according to claim 17, wherein the data filtering unit is further configured to filter out, from the running data set, second running data with a collection time within a second time period based on an occurrence time of the abnormal event, wherein a starting time of the second time period is the occurrence time of the abnormal event, and a duration of the second time period is a second duration; the subset generation unit is configured to use the first travel data and the second travel data as the first data subset.
19. The apparatus according to claim 17, wherein the first travel data is a first type of travel data having a correspondence relationship with an event type of the abnormal event.
20. The apparatus according to claim 18, wherein the second travel data is a first type of travel data having a correspondence relationship with an event type of the abnormal event.
21. The apparatus of claim 16, wherein the transmission unit comprises:
a priority acquiring subunit, configured to acquire transmission priorities of the multiple data blocks;
and the transmission subunit is used for transmitting the plurality of data blocks according to the sequence from high transmission priority to low transmission priority.
22. The apparatus of claim 21, wherein the priority acquisition subunit is configured to:
acquiring a reference time corresponding to each data block, wherein the reference time is the earliest acquisition time of the running data included in each data block;
determining a difference value between the occurrence time of the abnormal event and a reference time corresponding to each data block;
and determining the transmission priority of each data block according to the difference, wherein the transmission priority is in negative correlation with the absolute value of the difference, and the transmission priority of the data block before the occurrence time of the abnormal event at the reference time is higher than the transmission priority of the data block after the occurrence time of the abnormal event at the reference time.
23. The apparatus of claim 21, wherein the priority acquisition subunit is configured to:
determining a travel data type of travel data included in each of the plurality of data blocks;
determining a transmission priority for each of the data blocks based on the determined travel data type.
24. The apparatus of claim 16, wherein the blocking unit is configured to:
dividing the first subset of data into a plurality of data chunks based on a predefined third duration.
25. The apparatus of claim 24, wherein the transmission module further comprises:
a detection unit for detecting a network transmission rate of the vehicle;
a duration adjustment unit, configured to adjust the third duration to be shorter if the network transmission rate is lower than a rate threshold; and if the network transmission rate is greater than or equal to the rate threshold, lengthening the third time.
26. The apparatus of claim 15, further comprising:
the second screening module is used for screening the driving data of the second type from the driving data set to obtain a second data subset;
the file generation module is used for responding to the data volume of the second data subset reaching the predefined data volume and generating a record file;
and the storage module is used for storing the recording file in a local storage space of the vehicle.
27. The apparatus of claim 26, wherein the storage module is configured to:
deleting the oldest stored record file from the local storage space in response to the remaining storage space in the local storage space being insufficient to store the record file;
and storing the recording file in the deleted local storage space.
28. The apparatus of claim 26, wherein the second type comprises at least one of a vehicle position type, a vehicle attitude type, a surrounding environment type, a vehicle operating state type, a driver state type, and a control instruction type.
29. An in-vehicle apparatus characterized by comprising a processor and a memory, the memory having stored therein at least one program code, the at least one program code being loaded and executed by the processor to implement the data transmission method according to any one of claims 1 to 14.
30. A computer-readable storage medium, having stored therein at least one program code, which is loaded and executed by a processor, to implement the data transmission method according to any one of claims 1 to 14.
CN202011079832.9A 2020-10-10 2020-10-10 Data transmission method and device, vehicle-mounted equipment and storage medium Pending CN112233273A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011079832.9A CN112233273A (en) 2020-10-10 2020-10-10 Data transmission method and device, vehicle-mounted equipment and storage medium
PCT/CN2021/113031 WO2022073388A1 (en) 2020-10-10 2021-08-17 Data transmission method and apparatus, vehicle-mounted device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011079832.9A CN112233273A (en) 2020-10-10 2020-10-10 Data transmission method and device, vehicle-mounted equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112233273A true CN112233273A (en) 2021-01-15

Family

ID=74111935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011079832.9A Pending CN112233273A (en) 2020-10-10 2020-10-10 Data transmission method and device, vehicle-mounted equipment and storage medium

Country Status (2)

Country Link
CN (1) CN112233273A (en)
WO (1) WO2022073388A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114333104A (en) * 2021-12-30 2022-04-12 阿波罗智联(北京)科技有限公司 Driving data transmission method and device
WO2022073388A1 (en) * 2020-10-10 2022-04-14 Suzhou Zhijia Science & Technologies Co., Ltd. Data transmission method and apparatus, vehicle-mounted device, and storage medium
CN115038156A (en) * 2022-08-15 2022-09-09 武汉慧联无限科技有限公司 Method, apparatus, processing device and storage medium for controlling power consumption
CN116331220A (en) * 2023-05-12 2023-06-27 禾多科技(北京)有限公司 Lane departure early warning method and early warning system for automatic driving vehicle
WO2023226733A1 (en) * 2022-05-27 2023-11-30 中国第一汽车股份有限公司 Vehicle scene data acquisition method and apparatus, storage medium and electronic device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114999123A (en) * 2022-04-21 2022-09-02 武汉智凯科技有限公司 Coal-transporting vehicle monitoring and early warning method, system, equipment and medium thereof
CN115767627A (en) * 2022-11-08 2023-03-07 创启科技(广州)有限公司 5G communication data transmission system and transmission method and storage medium thereof

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101772786A (en) * 2007-07-30 2010-07-07 精工爱普生株式会社 Drive recorder, drive recorder system, method of controlling drive recorder, and program
CN104780092A (en) * 2014-01-13 2015-07-15 阿里巴巴集团控股有限公司 File transmission method and device as well as server system
EP3166086A1 (en) * 2015-11-09 2017-05-10 Cacciotti, Angelo Electronic device having high level of security and able to achieve the acquisition, storage and transmission of real dynamic data and location data related to the motion of a vehicle
CN107195023A (en) * 2017-05-31 2017-09-22 深圳奥尼电子股份有限公司 A kind of date storage method and drive recorder
CN108076345A (en) * 2016-11-09 2018-05-25 阿里巴巴集团控股有限公司 The coding method of multi-angle video frame, transmission method, device, computer
CN109094574A (en) * 2018-08-01 2018-12-28 长安大学 A kind of unmanned vehicle driving condition Measurement and Control System based on rack
US20190220011A1 (en) * 2018-01-16 2019-07-18 Nio Usa, Inc. Event data recordation to identify and resolve anomalies associated with control of driverless vehicles
US20200126325A1 (en) * 2018-10-17 2020-04-23 Lg Electronics Inc. Electronic control unit and communication device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8954226B1 (en) * 2013-10-18 2015-02-10 State Farm Mutual Automobile Insurance Company Systems and methods for visualizing an accident involving a vehicle
CN105976450A (en) * 2016-04-27 2016-09-28 百度在线网络技术(北京)有限公司 Unmanned vehicle data processing method and device, and black box system
CN110147946B (en) * 2019-04-30 2023-07-04 深圳市元征科技股份有限公司 Data analysis method and device
CN111524357B (en) * 2020-05-19 2022-01-07 河北德冠隆电子科技有限公司 Method for fusing multiple data required for safe driving of vehicle
CN111739325B (en) * 2020-06-15 2021-08-03 腾讯科技(深圳)有限公司 Method, apparatus, device and medium for determining abnormal parking probability and navigation control
CN112233273A (en) * 2020-10-10 2021-01-15 苏州智加科技有限公司 Data transmission method and device, vehicle-mounted equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101772786A (en) * 2007-07-30 2010-07-07 精工爱普生株式会社 Drive recorder, drive recorder system, method of controlling drive recorder, and program
CN104780092A (en) * 2014-01-13 2015-07-15 阿里巴巴集团控股有限公司 File transmission method and device as well as server system
EP3166086A1 (en) * 2015-11-09 2017-05-10 Cacciotti, Angelo Electronic device having high level of security and able to achieve the acquisition, storage and transmission of real dynamic data and location data related to the motion of a vehicle
CN108076345A (en) * 2016-11-09 2018-05-25 阿里巴巴集团控股有限公司 The coding method of multi-angle video frame, transmission method, device, computer
CN107195023A (en) * 2017-05-31 2017-09-22 深圳奥尼电子股份有限公司 A kind of date storage method and drive recorder
US20190220011A1 (en) * 2018-01-16 2019-07-18 Nio Usa, Inc. Event data recordation to identify and resolve anomalies associated with control of driverless vehicles
CN109094574A (en) * 2018-08-01 2018-12-28 长安大学 A kind of unmanned vehicle driving condition Measurement and Control System based on rack
US20200126325A1 (en) * 2018-10-17 2020-04-23 Lg Electronics Inc. Electronic control unit and communication device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022073388A1 (en) * 2020-10-10 2022-04-14 Suzhou Zhijia Science & Technologies Co., Ltd. Data transmission method and apparatus, vehicle-mounted device, and storage medium
CN114333104A (en) * 2021-12-30 2022-04-12 阿波罗智联(北京)科技有限公司 Driving data transmission method and device
WO2023226733A1 (en) * 2022-05-27 2023-11-30 中国第一汽车股份有限公司 Vehicle scene data acquisition method and apparatus, storage medium and electronic device
CN115038156A (en) * 2022-08-15 2022-09-09 武汉慧联无限科技有限公司 Method, apparatus, processing device and storage medium for controlling power consumption
CN116331220A (en) * 2023-05-12 2023-06-27 禾多科技(北京)有限公司 Lane departure early warning method and early warning system for automatic driving vehicle

Also Published As

Publication number Publication date
WO2022073388A1 (en) 2022-04-14

Similar Documents

Publication Publication Date Title
CN112233273A (en) Data transmission method and device, vehicle-mounted equipment and storage medium
US11694487B1 (en) Vehicle-to-vehicle accident detection
US11315190B1 (en) Vehicle-to-vehicle incident information collection
WO2019079807A1 (en) Method and system for vehicular-related communications
CN104875746A (en) Vehicle operator monitoring and operations adjustments
CN110322592A (en) A kind of vehicle mounted data recorder, vehicle-mounted data recording method and automobile
CN112540592A (en) Autonomous driving vehicle with dual autonomous driving system for ensuring safety
CN108074396A (en) The evaluation method that drives safely and system
CN105383416A (en) Method and apparatus for event data recording activation and logging
CN104648284A (en) Autonomous Vehicle Modes
CN112654549A (en) Method and device for controlling vehicle driving mode switching
CN110341594B (en) Passenger safety situation monitoring system and method for passenger car
EP3730375B1 (en) Method and system for analysing the control of a vehicle
CN112805648A (en) Fail-safe handling system for autonomously driven vehicles
CN110497905A (en) Method for controlling a vehicle and device
CN112925309A (en) Intelligent networking automobile data interaction method and system
CN105046996A (en) Method and apparatus for predictive driving demand modeling
CN114194207A (en) Automatic driving method, ADS and automatic driving vehicle
CN112287801A (en) Vehicle-mounted data processing method and device, server and readable storage medium
CN107464416A (en) The semi-automatic driving method and system of bus
CN112860747A (en) Automatic data recording, storing and classifying system and method
CN113734204A (en) Method and device for evaluating the suitability of an automatic driving function
CN107545616B (en) Data recording method and device
CN109308802A (en) Abnormal vehicles management method and device
US11374667B2 (en) Localizing communications interference node

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210115

RJ01 Rejection of invention patent application after publication