CN114419755B - Data processing method and system for automobile data recorder based on public cloud - Google Patents

Data processing method and system for automobile data recorder based on public cloud Download PDF

Info

Publication number
CN114419755B
CN114419755B CN202210067564.1A CN202210067564A CN114419755B CN 114419755 B CN114419755 B CN 114419755B CN 202210067564 A CN202210067564 A CN 202210067564A CN 114419755 B CN114419755 B CN 114419755B
Authority
CN
China
Prior art keywords
picture
data
current
storage space
acquisition time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210067564.1A
Other languages
Chinese (zh)
Other versions
CN114419755A (en
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.)
Shenzhen Hanrui Information Technology Co ltd
Original Assignee
Shenzhen Hanrui Information 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 Shenzhen Hanrui Information Technology Co ltd filed Critical Shenzhen Hanrui Information Technology Co ltd
Priority to CN202210067564.1A priority Critical patent/CN114419755B/en
Publication of CN114419755A publication Critical patent/CN114419755A/en
Application granted granted Critical
Publication of CN114419755B publication Critical patent/CN114419755B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • 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
    • G07C5/0866Registering performance data using electronic data carriers the electronic data carrier being a digital video recorder in combination with video camera
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention is applicable to the technical field of public cloud data processing, and provides a method and a system for processing data of a vehicle recorder based on public cloud, wherein the method comprises the following steps: acquiring original data uploaded by a vehicle event data recorder, wherein the original data comprises video data and picture data; storing the video data into a video storage space, and storing the picture data into a temporary storage space; determining a current picture according to the picture acquisition time, determining a current historical picture from a picture storage space, and acquiring the similarity between the current picture and the current historical picture; judging whether the similarity exceeds a preset value; when the similarity exceeds a preset value, associating the picture acquisition time of the current picture with the current historical picture, and deleting picture data corresponding to the current picture from a temporary storage space. The method and the device ensure the integrity of video data, fully utilize public cloud to process pictures with higher similarity, and are beneficial to improving the data storage efficiency and the data processing capacity of the public cloud.

Description

Data processing method and system for automobile data recorder based on public cloud
Technical Field
The invention belongs to the technical field of public cloud data processing, and particularly relates to a method and a system for processing data of a vehicle recorder based on public cloud.
Background
The automobile data recorder is an instrument for recording data such as images and sounds during the running of a vehicle. After the automobile is provided with the automobile data recorder, information such as video images and sound in the whole running process of the automobile can be recorded, and evidence can be provided for traffic accidents. The common automobile data recorder can only store recorded data in a local memory, on one hand, the memory capacity of the local memory is limited, so that the recording time of the automobile video data is limited, and the video data is easy to lose; on the other hand, the user cannot watch the data through the mobile device because the data can only be stored in the local memory.
With the appearance and the continuous development of public clouds, the problems of data storage and data access of the automobile data recorder can be effectively solved. The automobile data recorder can be connected with a cloud server of a public cloud system, real-time video data are uploaded to the cloud server, and a user accesses the cloud server through the Internet, so that the video data of the automobile data recorder can be checked in real time.
However, the existing automobile data recorder can only continuously collect and upload video data with huge data volume in the working process, so that a cloud server in the common cloud can only store the video data, and further, a user cannot quickly view the required video data when viewing the video data, and the use experience is poor.
Disclosure of Invention
In view of the above, the embodiment of the invention provides a vehicle event data recorder backup method and system based on public cloud, which are used for solving the technical problem that a cloud server of the existing public cloud can only store video data generated by a vehicle event data recorder, so that a user cannot quickly view required video data when viewing the video data.
In a first aspect of the embodiment of the present invention, a method for processing data of a vehicle data recorder based on public cloud is provided, including:
acquiring original data uploaded by a vehicle event data recorder, wherein the original data at least comprises video data and picture data, the video data comprises acquired video and video acquisition time associated with the video, and the picture data comprises pictures and picture acquisition time associated with the pictures;
storing the video data into a video storage space, and storing the picture data into a temporary storage space;
determining a current picture according to the picture acquisition time, determining a current historical picture from a picture storage space, and acquiring the similarity between the current picture and the current historical picture;
judging whether the similarity exceeds a preset value;
when the similarity exceeds a preset value, associating the picture acquisition time of the current picture with the current historical picture, and deleting picture data corresponding to the current picture from the temporary storage space.
In a second aspect of the embodiment of the invention, a vehicle data processing system based on public cloud is provided, which comprises a cloud server and a vehicle data recorder;
the automobile data recorder comprises a first camera used for collecting video data, a second camera used for collecting picture data, a data processing module and a wireless communication module, wherein the first camera, the second camera and the wireless communication module are all connected with the data processing module;
the cloud server includes:
the system comprises an original data acquisition module, a data processing module and a data processing module, wherein the original data acquisition module is used for acquiring original data uploaded by the automobile data recorder, the original data at least comprise video data and picture data, the video data comprise acquired videos and video acquisition time associated with the videos, and the picture data comprise pictures and picture acquisition time associated with the pictures;
the first data processing module is used for storing the video data into a video storage space and storing the picture data into a temporary storage space;
the similarity acquisition module is used for determining a current picture according to the picture acquisition time, determining a current historical picture from a picture storage space and acquiring the similarity between the current picture and the current historical picture;
The similarity judging module is used for judging whether the similarity exceeds a preset value;
and the picture association module is used for associating the picture acquisition time of the current picture with the current historical picture when the similarity exceeds a preset value, and deleting picture data corresponding to the current picture from the temporary storage space.
In a third aspect of the embodiment of the present invention, a terminal device is provided, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the steps of the above-mentioned vehicle data recorder data processing method based on public cloud are implemented when the processor executes the computer program.
In a fourth aspect of the embodiments of the present invention, a computer readable storage medium is provided, where a computer program is stored, where the computer program, when executed by a processor, implements the steps of the foregoing method for processing data of a vehicle recorder based on public cloud.
Compared with the prior art, the embodiment of the invention has the beneficial effects that: the embodiment of the invention fully utilizes the convenience of public cloud, on one hand, realizes cloud storage of the video data acquired by the automobile data recorder, and ensures the integrity of the video data; on the other hand, the acquisition and storage of image data are increased, the powerful data processing capacity of public cloud is fully utilized on the premise of guaranteeing the integrity of video data, the image data with higher similarity acquired by the automobile data recorder are processed, redundant images are removed, the scientificity of image data storage and data access is effectively improved, and further the data storage efficiency and the data processing capacity of public cloud are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is an interaction schematic diagram of a public cloud-based data processing system of a vehicle data recorder and a mobile terminal according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a vehicle event data recorder in a vehicle event data recorder data processing system based on public cloud provided by an embodiment of the present invention;
fig. 3 is a schematic implementation flow diagram of a method for processing data of a vehicle data recorder based on public cloud according to an embodiment of the present invention;
fig. 4 is a schematic implementation flow diagram of step S22 in the public cloud-based data processing method of the automobile data recorder according to the embodiment of the present invention;
fig. 5 is a schematic flowchart of an implementation of step S23 in the public cloud-based data processing method of the automobile data recorder according to the embodiment of the present invention;
fig. 6 is a schematic diagram of another implementation flow of step S23 in the public cloud-based data processing method of the automobile data recorder according to the embodiment of the present invention;
Fig. 7 is a second implementation flow chart of a data processing method of a vehicle data recorder based on public cloud according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating an example of a structure of a cloud server in a public cloud-based data processing system of a vehicle data recorder according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a cloud server in a public cloud-based data processing system of a vehicle data recorder according to an embodiment of the present invention;
fig. 10 is a schematic diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to illustrate the technical scheme of the invention, the following description is made by specific examples.
The embodiment provides a vehicle event data recorder data processing system based on public cloud, which can realize cloud storage of video data on one hand, ensure the integrity of the video data and facilitate remote real-time access of users through mobile terminals; on the other hand, on the premise of ensuring the completeness of video data, the image data of the automobile data recorder is processed based on public cloud, so that the scientificity of image data storage and data access can be effectively improved, a user can quickly find required video data according to the image data when accessing, the data access efficiency is improved, and further the data processing capability of the public cloud is improved.
Specifically, referring to fig. 1, the vehicle data processing system based on public cloud provided in this embodiment includes a cloud server 11 and a vehicle data recorder 12, where the number of vehicle data recorders 12 may be one or multiple, and the vehicle data recorder 12 and the cloud server 11 interact data through the internet. Referring to fig. 2, the automobile data recorder 12 includes a first camera 121 for collecting video data, a second camera 122 for collecting picture data, a data processing module 123 and a wireless communication module 124, where the first camera 121, the second camera 122 and the wireless communication module 124 are all connected with the data processing module 123. The first camera 121 may continuously collect video data under the control of the data processing module 123 and upload the video data according to a preset frequency; the second camera 122 may collect image data at a preset frequency under the control of the data processing module 123 and upload the image data at the preset frequency. It will be appreciated that the frequency of uploading video data and the frequency of uploading image data may be the same or different; the uploading frequency of the image data and the acquisition frequency of the image data can be the same or different. In consideration of small occupied space of image data and high energy consumption of frequent uploading, the image data can be uploaded after being acquired for a certain period of time. The wireless communication module 124 performs data interaction with the cloud server 11 through the internet so as to upload video data and image data to the cloud server 11. It should be understood that the automobile data recorder 12 may further include an audio acquisition module, a power management module, a data processing module, and other modules, which are not listed herein. The cloud server 11 is configured to process and store the raw data collected and uploaded by the vehicle recorder, and simultaneously provide data access for the mobile terminal 13 through the internet, so that a user can remotely acquire the data collected by the vehicle recorder 11.
Further, referring to fig. 3, the present embodiment provides a method for processing data of a vehicle recorder based on public cloud, which may be implemented by the cloud server 11, including the following steps:
step S21: the method comprises the steps of obtaining original data uploaded by a vehicle recorder, wherein the original data at least comprise video data and picture data, the video data comprise collected videos and video collection time associated with the videos, and the picture data comprise pictures and picture collection time associated with the pictures.
When the automobile data recorder 12 acquires data, the first camera 121 and the second camera 122 can acquire video data and picture data respectively, wherein the video data can be continuously acquired, and the picture data can be acquired according to a preset frequency. When the video data is acquired, not only can the video be acquired, but also information such as video acquisition time and the like can be acquired, and the video acquisition time is associated with the video. Likewise, when the picture data is acquired, not only the picture can be acquired, but also information such as the picture acquisition time and the like can be acquired, and the picture acquisition time is associated with the picture. The format of the video acquisition time and the picture acquisition time may be a year-month-day (XXXX-XX) format. It will be appreciated that the video format and size of each acquisition is the same for the same vehicle event data recorder 12, as is the picture format and size of each acquisition. Of course, the acquired video formats and sizes may be the same or different for different automobile data recorders 12; the format and size of the acquired pictures can be the same or different. It can be understood that, when the automobile data recorder 12 collects video data and picture data, the audio collection module can also collect audio data synchronously, and upload the audio data together with the video data to the cloud server 11 for storage.
Step S22: and storing the video data into a video storage space, and storing the picture data into a temporary storage space.
Considering that the video data collected by the automobile data recorder 12 should remain intact for convenience in subsequent video viewing or for ensuring its credibility when used as evidence, the video data can be directly stored without data processing after being acquired. And the picture data is mainly used as a reference and a guide when accessing the video data singly or in order to access the video data, so that the picture data is required to be subjected to data processing so as to be more scientific in storage and access. Because a certain time is required to be spent when the image data is processed, compared with the process of processing the image data and then storing the image data, the process of processing the image data by storing the image data into the temporary storage space and then processing the image data can avoid waiting of the automobile data recorder 12 in the process of uploading the image data, reduce the time of uploading the image data and improve the uploading efficiency and stability of the image data.
Referring to fig. 4, in an embodiment, the original data further includes a record code of the vehicle recorder 12, and when the cloud server 11 acquires the video data and the picture data of the vehicle recorder 12, the record code of the vehicle recorder 12 is further acquired synchronously, and step S22 may include the following steps:
Step S221: and acquiring a video storage space and a picture storage space corresponding to the record code according to the record code of the automobile data recorder.
Due to the uniqueness of the record codes, different automobile data recorders 12 can be distinguished according to the record codes, and corresponding accounts are established in the cloud server 11, wherein the accounts are related to the video storage space and the picture storage space of the automobile data recorders 12, the video storage space stores historical video data collected by the automobile data recorders 12, and the picture storage space stores historical picture data collected by the automobile data recorders 12.
Step S222: and storing the video data into the video storage space.
As described above, it is considered that the video data collected by the automobile data recorder 12 should remain intact, so that the video data can be stored directly after the video data is acquired without data processing. It can be understood that when audio data is collected while video collection is performed, the audio data may be stored together, and the audio data is associated with the video data, and when a user accesses the cloud server 11 to perform video viewing, the audio data may also be synchronously acquired.
Step S223: and allocating a temporary storage space according to the size of the occupied space of the picture data, and storing the picture data into the temporary storage space.
In order to reduce the waste of the storage space while being able to fully store the picture data, the cloud server 11 needs to allocate a temporary storage space suitable for the size of the picture data from the cloud storage space in order to store the picture data. It can be understood that the allocated temporary storage space is at least larger than the size of the picture data, and the temporary storage space can be released after the picture data is processed and stored, so that the waste of the storage space is avoided, and the utilization rate of the storage space in the server 11 is improved.
Further, after storing the video data to the video storage space and storing the picture data to the temporary storage space, the following steps may be performed:
step S23: determining a current picture according to the picture acquisition time, determining a current historical picture from a picture storage space, and acquiring the similarity between the current picture and the current historical picture.
The current picture can be determined according to the associated picture acquisition time, and the current historical picture can be determined in different manners.
Referring to fig. 5, in one embodiment, step S23 may include the following steps:
step S231: and acquiring the picture acquisition time with the forefront time in the picture data, and determining a picture corresponding to the picture acquisition time as a current picture.
For example, when the picture data includes a plurality of pictures, each picture has a picture acquisition time associated with the picture data, by comparing the picture acquisition times, a corresponding picture acquisition time sequence can be obtained according to a time sequence, and a picture corresponding to a picture acquisition time at the forefront in the sequence can be determined as a current picture.
Step S232: and acquiring the historical picture acquisition time closest to the picture acquisition time from a picture storage space according to the picture acquisition time of the current picture, and determining a historical picture corresponding to the historical picture acquisition time as the current historical picture.
When considering the similarity of the pictures collected by the automobile data recorder 12, if the automobile is always moving, the pictures collected by the automobile data recorder 12 may have larger difference each time, and when the automobile is in a parking state, the pictures collected by the automobile data recorder 12 in similar time may be similar, so when determining the history picture closest to the current picture, the determination can be performed in view of time, and the history picture closest in time is regarded as the closest history picture. Therefore, after the current picture and the picture acquisition time corresponding to the current picture are determined, the historical picture acquisition time closest to the current picture acquisition time can be searched in the picture storage space, and according to the historical picture acquisition time, the historical picture associated with the current picture can be determined as the current historical picture.
Step S233: and calculating the similarity between the current picture and the current historical picture.
Calculating the similarity of a current picture to a current historical picture is also known as calculating the degree of matching between the two pictures. The similarity between the current picture and the current historical picture can be achieved by adopting the existing similarity calculation model constructed based on different methods, such as a similarity calculation model constructed based on a histogram method, a similarity calculation model constructed based on an image template matching method, a similarity calculation model constructed based on PSNR (Peak Signal to Noise Ratio ), a similarity calculation model constructed based on SSIM (structural similarity ), a similarity calculation model constructed based on a perceptual hash algorithm (perceptual hash algorithm), and the like. Of course, the similarity between the current picture and the current history picture may be calculated by other existing methods, which is not limited to the above-mentioned case, but is not limited thereto.
When the current historical picture is acquired, the current historical picture is acquired from the picture storage space only through the picture acquisition time of the current picture, so that the acquisition speed is higher, the reliability of the acquired image result is high, the overall data processing speed is improved, and the data processing capacity of the cloud server 11 is optimized.
Referring to fig. 6, in one embodiment, step S23 may include the following steps:
step S234: and acquiring the picture acquisition time with the forefront time in the picture data, and determining a picture corresponding to the picture acquisition time as a current picture.
Step S235: and calculating the similarity of the current picture and any historical picture in the picture storage space, and determining the historical picture with the highest similarity as the current historical picture.
When considering the similarity of the pictures collected by the automobile data recorder 12, if the running route of the vehicle is regular over a period of time, the pictures collected by the automobile data recorder 12 each time may have strong regularity. For example, the vehicle starts to work from a parking lot every morning, passes through the same road section in the middle, arrives at the company and is parked on a fixed parking space, and then drives to return home from the same road section after the off-duty, and is parked in an open parking lot, so that image data acquired at corresponding moments of different dates may have strong similarity, at this time, it is unnecessary to store pictures with high similarity in the image data, and therefore, it is necessary to remove the pictures with high similarity, which are similar to repeated pictures. Therefore, after the current picture is determined, the similarity is obtained by comparing the current picture with all the pictures in the picture storage space, and the history picture with the highest similarity is determined as the current history picture. The manner of obtaining the similarity between the two pictures is as described above, and the similarity may be obtained by calculating in a conventional manner, which is not limited herein.
Step S236: and obtaining the similarity between the current picture and the current historical picture.
When the current historical picture is acquired, the current picture is compared with all pictures in the picture storage space, the historical picture with the highest similarity is taken as the current historical picture, and the corresponding similarity is the acquired similarity, so that the reliability of the acquired image result can be effectively improved, and the overall data processing accuracy can be improved.
Further, referring to fig. 3, after the similarity between the current picture and the current history picture is obtained, the following steps may be performed:
step S24: and judging whether the similarity exceeds a preset value.
It can be understood that, whether the similarity between the current picture and the current history picture obtained in steps S231-S233 or the similarity between the current picture and the current history picture obtained in steps S234-S236 cannot be ensured to meet the requirement, so that whether the current picture needs to be deleted or not is determined, whether the similarity between the current picture and the current history picture meets the preset value or not needs to be considered. The preset value may be set as required, for example, any value between 70% and 100%, for example, 70%, 50%, 80%, 85%, 90%, 95%, 100%, etc. When the similarity is higher than a preset value, the similarity between the two images is considered to be higher, the information coincidence degree contained in the images is higher, a new image is not required to be reserved at the moment, only the original image is required to be reserved, the storage space is saved, the storage process of image data is avoided, the intensity of data processing is saved, and the data processing capacity and the processing efficiency of the cloud server are improved. Therefore, when the similarity exceeds a preset value, then:
Step S25: and associating the picture acquisition time of the current picture with the current historical picture, and deleting picture data corresponding to the current picture from the temporary storage space.
At this time, the pictures with higher information overlapping ratio do not need to be repeatedly stored, and only the corresponding picture acquisition time is required to be associated in the current historical pictures, so that the storage space is saved, and meanwhile, necessary information is maintained. When the user accesses the data of the driving recorder 12 in the cloud server 11, if the user is interested in the video data corresponding to the history picture, the user can search for the corresponding video data according to the picture acquisition time recorded by the user. After the picture acquisition time is associated, deleting the picture data corresponding to the current picture from the temporary storage space, so that part of the temporary storage space can be released, and excessive storage resources are prevented from being wasted.
When the similarity does not exceed the preset value, then:
step S26: and storing the picture data corresponding to the current picture into the picture storage space, and deleting the picture data corresponding to the current picture from the temporary storage space.
When the similarity is equal to or smaller than a preset value, the difference between the two images is considered to be larger, the newly acquired image contains new information, and the newly acquired image is stored at the moment, so that important information is prevented from being omitted, and the accuracy and the effectiveness of data storage are improved. After the picture data are stored in the picture storage space, deleting the picture data corresponding to the current picture from the temporary storage space can release part of the temporary storage space, so that excessive storage resources are prevented from being wasted.
Further, in order to better classify the picture data, the user can conveniently access the picture, after the new picture is stored in the picture storage space, the picture can be subjected to image recognition and picture classification, so that the user can conveniently access the picture according to the picture type. Therefore, referring to fig. 7, step S26 further includes:
step S27: and carrying out image recognition on the current picture to obtain a picture category corresponding to the current picture, and associating the picture category with the current picture.
In this embodiment, the picture category includes at least license plate picture, vehicle picture, person picture, landscape picture, and the like. The image can be identified by adopting the existing image identification neural network model to acquire the type of the image. When the picture may include two or more kinds of the above-mentioned category information, it may be divided into the picture categories with highest probability according to the result of image recognition, so as to associate the picture with the corresponding picture category. The license plate picture type is convenient for users to search the video data of the corresponding vehicles according to license plate information, the vehicle picture type is convenient for users to search the video data of the corresponding vehicles according to the information of the vehicles, the person picture type is convenient for users to search the corresponding video data according to different persons in the image, the searching of lost people or the video data of the person with accident is convenient, and the searching of the video data is more convenient.
Of course, there may be other types of picture classification besides the above-described picture classification, and not limited to the above-described case, and no limitation is made here.
Further, after the step S25 or the step S27, the method may further include the following steps:
step S28: and judging whether the number of the picture data in the temporary storage space is larger than zero.
When the number of the picture data in the temporary storage space is greater than zero, returning to the step S23, and repeating the above process until the picture data in the temporary storage space is processed.
When the number of the picture data in the temporary storage space is not greater than zero, the picture data in the temporary storage space is processed, and at the moment, the step S21 is returned to acquire the original data uploaded by the automobile data recorder again according to the preset frequency.
The public cloud-based data processing method for the automobile data recorder has the advantages that: the embodiment fully utilizes the convenience of public cloud, on one hand, realizes cloud storage of video data acquired by the automobile data recorder, ensures the integrity of the video data, and is convenient for users to remotely access in real time through the mobile terminal; on the other hand, the acquisition of image data is increased, and on the premise of ensuring the integrity of video data, the powerful data processing capability of public cloud is fully utilized to process the picture data of the automobile data recorder, so that the scientificity of picture data storage and data access can be effectively improved, and further the improvement of the data processing capability of the public cloud is facilitated.
Users often do not have an explicit purpose when accessing video data via a mobile terminal, but rather want to find out whether something important has happened or whether important information has been recorded via the video. Therefore, when a user accesses the video, the user does not need to search from video data with various data, interested or required pictures can be found by browsing pictures with greatly reduced data quantity, and then the video unified with the picture acquisition time is found in the video data according to the picture acquisition time associated with the pictures, so that the data access efficiency is greatly improved, and the user is prevented from occupying excessive public cloud resources.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present invention.
Referring to fig. 8, based on the same inventive concept, the cloud server 11 in the public cloud-based data processing system of the vehicle event data recorder provided in the present embodiment includes an original data acquisition module 111, a first data processing module 112, a similarity acquisition module 113, a similarity determination module 114, and a picture association module 115. The raw data obtaining module 111 is configured to obtain raw data uploaded by the vehicle event data recorder, where the raw data includes at least video data and picture data, the video data includes a collected video and a video collection time associated with the video, and the picture data includes a picture and a picture collection time associated with the picture. The first data processing module 112 is configured to store the video data into a video storage space and store the picture data into a temporary storage space. The similarity obtaining module 113 is configured to determine a current picture according to the picture acquisition time, determine a current history picture from a picture storage space, and obtain a similarity between the current picture and the current history picture. The similarity determination module 114 is configured to determine whether the similarity exceeds a preset value. And the picture association module 115 is configured to associate the picture acquisition time of the current picture with the history picture when the similarity exceeds a preset value, and delete the picture data corresponding to the current picture from the temporary storage space.
Referring to fig. 9, further, in the cloud server 11 in the public cloud-based data processing system for a vehicle recorder provided by the present embodiment, the cloud server further includes a picture writing module 116, where the picture writing module 116 is configured to store picture data corresponding to the current picture into the picture storage space and delete picture data corresponding to the current picture from the temporary storage space when the similarity does not exceed the preset value.
Referring to fig. 9, further, in the cloud server 11 in the public cloud-based data processing system for a vehicle recorder provided by the present embodiment, the cloud server further includes a picture category obtaining module 117, where the picture category obtaining module 117 is configured to perform image recognition on the current picture to obtain a picture category corresponding to the current picture, and associate the picture category with the current picture.
Of course, in other embodiments, the cloud server 11 may further include other modules, and each module may further include one or more units for implementing corresponding functions, which are not described herein.
Fig. 10 is a schematic diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 10, the terminal device 3 of this embodiment includes: a processor 30, a memory 31 and a computer program 32 stored in the memory 31 and executable on the processor 30, for example a public cloud based tachograph data processing program. The steps of the embodiments of the public cloud-based data processing method for the automobile data recorder described above, such as steps S21 to S28 shown in fig. 3 to 7, are implemented when the processor 30 executes the computer program 32. Alternatively, the processor 30 may perform the functions of the modules/units of the apparatus embodiments described above, such as the functions of the modules 111-117 shown in fig. 8-9, when executing the computer program 32.
Illustratively, the computer program 32 may be partitioned into one or more modules/units that are stored in the memory 31 and executed by the processor 30 to complete the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions for describing the execution of the computer program 32 in the terminal device 3.
The terminal device 3 may be a computing device such as a desktop computer, a notebook computer, a palm computer, a cloud server, etc. The terminal device may include, but is not limited to, a processor 30, a memory 31. It will be appreciated by those skilled in the art that fig. 10 is merely an example of the terminal device 3 and does not constitute a limitation of the terminal device 3, and may include more or less components than illustrated, or may combine certain components, or different components, e.g., the terminal device may further include an input-output device, a network access device, a bus, etc.
The processor 30 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 31 may be an internal storage unit of the terminal device 3, such as a hard disk or a memory of the terminal device 3. The memory 31 may be an external storage device of the terminal device 3, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the terminal device 3. Further, the memory 31 may also include both an internal storage unit and an external storage device of the terminal device 3. The memory 31 is used for storing the computer program as well as other programs and data required by the terminal device. The memory 31 may also be used for temporarily storing data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other manners. For example, the apparatus/terminal device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.

Claims (8)

1. The utility model provides a vehicle event data recorder data processing method based on public cloud which is characterized by comprising the following steps:
acquiring original data uploaded by a vehicle event data recorder, wherein the original data at least comprises video data and picture data, the video data comprises acquired video and video acquisition time associated with the video, and the picture data comprises pictures and picture acquisition time associated with the pictures;
storing the video data into a video storage space, and storing the picture data into a temporary storage space;
determining a current picture according to the picture acquisition time, determining a current historical picture from a picture storage space, and acquiring the similarity between the current picture and the current historical picture, wherein the method specifically comprises the following steps of:
Acquiring the picture acquisition time with the forefront time in the picture data, and determining a picture corresponding to the picture acquisition time as a current picture; acquiring a historical picture acquisition time closest to the picture acquisition time from a picture storage space according to the picture acquisition time of the current picture, and determining a historical picture corresponding to the historical picture acquisition time as the current historical picture; calculating the similarity between the current picture and the current historical picture;
or, acquiring the picture acquisition time with the forefront time in the picture data, and determining a picture corresponding to the picture acquisition time as a current picture; calculating the similarity of the current picture and any historical picture in the picture storage space, and determining the historical picture with the highest similarity as the current historical picture; obtaining the similarity between the current picture and the current historical picture;
judging whether the similarity exceeds a preset value;
when the similarity exceeds a preset value, associating the picture acquisition time of the current picture with the current historical picture, and deleting picture data corresponding to the current picture from the temporary storage space.
2. The public cloud-based data processing method of the automobile data recorder of claim 1, wherein when the similarity does not exceed the preset value, the method comprises the following steps:
and storing the picture data corresponding to the current picture into the picture storage space, and deleting the picture data corresponding to the current picture from the temporary storage space.
3. The method for processing the data of the vehicle event data recorder based on public cloud as set forth in claim 2, wherein after the step of storing the picture data corresponding to the current picture in the picture storage space and deleting the picture data corresponding to the current picture from the temporary storage space, further comprises:
and carrying out image recognition on the current picture to obtain a picture category corresponding to the current picture, and associating the picture category with the current picture.
4. The public cloud-based vehicle event data recorder data processing method according to claim 1, wherein the original data further comprises a record code of the vehicle event data recorder;
the step of storing the video data in a video storage space and storing the picture data in a temporary storage space includes:
Acquiring a video storage space and a picture storage space corresponding to the record code according to the record code of the automobile data recorder;
storing the video data to the video storage space;
and allocating a temporary storage space according to the size of the occupied space of the picture data, and storing the picture data into the temporary storage space.
5. The method for processing the data of the vehicle event data recorder based on public cloud according to claim 1, wherein when the similarity exceeds a preset value, the step of associating the picture collection time of the current picture with the history picture and deleting the picture data corresponding to the current picture from the temporary storage space further comprises:
judging whether the number of the picture data in the temporary storage space is larger than zero or not;
when the number of the picture data in the temporary storage space is greater than zero, returning to the step of determining a current picture according to the picture acquisition time, determining a current historical picture from the picture storage space, and acquiring the similarity between the current picture and the current historical picture;
and returning to the step of acquiring the original data uploaded by the automobile data recorder when the number of the picture data in the temporary storage space is not more than zero.
6. The utility model provides a vehicle event data recorder data processing system based on public cloud which is characterized by comprising a cloud server and a vehicle event data recorder;
the automobile data recorder comprises a first camera used for collecting video data, a second camera used for collecting picture data, a data processing module and a wireless communication module, wherein the first camera, the second camera and the wireless communication module are all connected with the data processing module;
the cloud server includes:
the system comprises an original data acquisition module, a data processing module and a data processing module, wherein the original data acquisition module is used for acquiring original data uploaded by the automobile data recorder, the original data at least comprise video data and picture data, the video data comprise acquired videos and video acquisition time associated with the videos, and the picture data comprise pictures and picture acquisition time associated with the pictures;
the first data processing module is used for storing the video data into a video storage space and storing the picture data into a temporary storage space;
the similarity obtaining module is configured to determine a current picture according to the picture acquisition time, determine a current history picture from a picture storage space, and obtain a similarity between the current picture and the current history picture, and specifically includes:
Acquiring the picture acquisition time with the forefront time in the picture data, and determining a picture corresponding to the picture acquisition time as a current picture; acquiring a historical picture acquisition time closest to the picture acquisition time from a picture storage space according to the picture acquisition time of the current picture, and determining a historical picture corresponding to the historical picture acquisition time as the current historical picture; calculating the similarity between the current picture and the current historical picture;
or, acquiring the picture acquisition time with the forefront time in the picture data, and determining a picture corresponding to the picture acquisition time as a current picture; calculating the similarity of the current picture and any historical picture in the picture storage space, and determining the historical picture with the highest similarity as the current historical picture; obtaining the similarity between the current picture and the current historical picture;
the similarity judging module is used for judging whether the similarity exceeds a preset value;
and the picture association module is used for associating the picture acquisition time of the current picture with the current historical picture when the similarity exceeds a preset value, and deleting picture data corresponding to the current picture from the temporary storage space.
7. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 5 when the computer program is executed.
8. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 5.
CN202210067564.1A 2022-01-20 2022-01-20 Data processing method and system for automobile data recorder based on public cloud Active CN114419755B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210067564.1A CN114419755B (en) 2022-01-20 2022-01-20 Data processing method and system for automobile data recorder based on public cloud

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210067564.1A CN114419755B (en) 2022-01-20 2022-01-20 Data processing method and system for automobile data recorder based on public cloud

Publications (2)

Publication Number Publication Date
CN114419755A CN114419755A (en) 2022-04-29
CN114419755B true CN114419755B (en) 2023-08-04

Family

ID=81275411

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210067564.1A Active CN114419755B (en) 2022-01-20 2022-01-20 Data processing method and system for automobile data recorder based on public cloud

Country Status (1)

Country Link
CN (1) CN114419755B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2785701A1 (en) * 2011-09-02 2013-03-02 Accenture Global Services Limited Processing data using rules based engine
CN110322688A (en) * 2019-05-20 2019-10-11 华为技术有限公司 A kind of method of data processing, the method for data query and relevant device
CN110599794A (en) * 2019-07-31 2019-12-20 广东翼卡车联网服务有限公司 Intelligent vehicle finding method and system based on Internet of vehicles
CN110737807A (en) * 2019-10-18 2020-01-31 深圳市华宝电子科技有限公司 data storage method, automobile data recorder, server and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100982058B1 (en) * 2003-10-20 2010-09-13 엘지전자 주식회사 Method for managing map data of a vehicle
CN100481911C (en) * 2007-04-24 2009-04-22 赵凤济 Video frequency image circulation storage device and method
CN105430480B (en) * 2015-11-13 2019-06-11 Tcl集团股份有限公司 A kind of method and system of video data storage
CN106997223A (en) * 2016-01-25 2017-08-01 姜洪军 Mobile visual field
CN113570751A (en) * 2021-07-16 2021-10-29 杭州环峻科技有限公司 Vehicle event data recorder system of panorama clitellum camera

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2785701A1 (en) * 2011-09-02 2013-03-02 Accenture Global Services Limited Processing data using rules based engine
CN110322688A (en) * 2019-05-20 2019-10-11 华为技术有限公司 A kind of method of data processing, the method for data query and relevant device
CN110599794A (en) * 2019-07-31 2019-12-20 广东翼卡车联网服务有限公司 Intelligent vehicle finding method and system based on Internet of vehicles
CN110737807A (en) * 2019-10-18 2020-01-31 深圳市华宝电子科技有限公司 data storage method, automobile data recorder, server and storage medium

Also Published As

Publication number Publication date
CN114419755A (en) 2022-04-29

Similar Documents

Publication Publication Date Title
CN105702068A (en) Mobile terminal-based advanced driving assistance system
CN110428091A (en) Risk Identification Method and relevant device based on data analysis
CN110764706A (en) Storage system, data management method, and storage medium
CN111523527B (en) Special transport vehicle monitoring method and device, medium and electronic equipment
CN108415855A (en) It makes video recording file memory method and device, computer installation and storage medium
CN111639072A (en) Data storage method and system in Internet of vehicles scene and readable storage medium
CN109661692B (en) Traffic incident prediction method and device and terminal equipment
CN107393308A (en) A kind of method, apparatus and managing system of car parking for identifying car plate
CN111368617B (en) Vehicle access data processing method and device
CN114419755B (en) Data processing method and system for automobile data recorder based on public cloud
CN112733909A (en) Duplicate removal identification method, device, medium and electronic equipment for urban cases
CN112529466A (en) Smart city management method and system based on big data
CN114640669A (en) Edge calculation method and device
CN109886318B (en) Information processing method and device and computer readable storage medium
CN115567563A (en) Comprehensive transportation hub monitoring and early warning system based on end edge cloud and control method thereof
CN114708425A (en) Method and device for identifying vehicle parking violation and computer readable storage medium
CN210836228U (en) Bus driver safety attendance system based on face recognition technology
CN114005186A (en) License plate recognition method and device and parking management system
US20200401810A1 (en) Computer device and method for monitoring an object
Alemazkoor et al. Efficient collection of connected vehicles data with precision guarantees
CN116611671B (en) Electronic license plate management system based on AI artificial intelligence
WO2019041826A1 (en) Breakpoint list cleaning method and apparatus, storage medium, and server
CN114615437B (en) Vehicle tracking method and system based on GIS
CN112287186B (en) Intelligent classification method and system for city management
CN206921291U (en) A kind of vehicle license plate reading system

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
GR01 Patent grant
GR01 Patent grant