CN117113439A - Safe anti-tampering storage method and system for data of automobile data recorder - Google Patents

Safe anti-tampering storage method and system for data of automobile data recorder Download PDF

Info

Publication number
CN117113439A
CN117113439A CN202311369676.3A CN202311369676A CN117113439A CN 117113439 A CN117113439 A CN 117113439A CN 202311369676 A CN202311369676 A CN 202311369676A CN 117113439 A CN117113439 A CN 117113439A
Authority
CN
China
Prior art keywords
frame
image
order differential
order
differential image
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.)
Granted
Application number
CN202311369676.3A
Other languages
Chinese (zh)
Other versions
CN117113439B (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 Fenghang Industrial Co ltd
Original Assignee
Shenzhen Fenghang Industrial 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 Fenghang Industrial Co ltd filed Critical Shenzhen Fenghang Industrial Co ltd
Priority to CN202311369676.3A priority Critical patent/CN117113439B/en
Publication of CN117113439A publication Critical patent/CN117113439A/en
Application granted granted Critical
Publication of CN117113439B publication Critical patent/CN117113439B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/71Indexing; Data structures therefor; Storage structures
    • 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/02Registering or indicating driving, working, idle, or waiting time only

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Image Processing (AREA)

Abstract

The invention relates to the technical field of automobile data recorders, in particular to a safe tamper-proof storage method and system for automobile data recorder data, which are used for determining the hash value of each first-order difference image by acquiring the first-order difference image of each two adjacent frames of video images in the video data of the automobile data recorder; then updating the hash value of each frame of first-order differential image according to each target pixel point in the second-order differential image of the update image of each frame of first-order differential image and the previous frame of first-order differential image and the occurrence frequency of each element value of the hash value of each frame of first-order differential image to obtain an updated hash value; obtaining an updated image of each frame of the first-order difference image according to the updated hash value; and finally, storing or uploading the hash value of the first-order differential image of the first frame and the updated hash values of the first-order differential images of other frames. The invention effectively improves the tamper-proof difficulty of the video data of the automobile data recorder.

Description

Safe anti-tampering storage method and system for data of automobile data recorder
Technical Field
The invention relates to the technical field of automobile data recorders, in particular to a safe tamper-proof storage method and system for automobile data recorders.
Background
In order to prevent data from being tampered with, a series of measures such as encryption technology, strong access control, unalterable log records, etc. are generally required. This series of measures is taken to ensure the integrity of the data, prevent unauthorized modification, and allow rapid discovery when modifications occur.
In the aspect that the video data of the automobile data recorder is tampered, watermarks are added to the video data of the automobile data recorder, particularly, the watermarks are added through differential images, when the differential images are generated each time, the positions where the watermark images are embedded are randomly selected and the watermark images are embedded, and therefore difficulty of a tamperer in cracking an embedding rule can be increased. However, by analyzing the embedding rule of the watermark image, the tamperer can still crack, the tamper-proof difficulty is low, and the data security is low.
Disclosure of Invention
The invention aims to provide a safe anti-tampering storage method and system for data of a vehicle event data recorder, which are used for solving the problem that the anti-tampering difficulty of video data of the existing vehicle event data recorder is low.
In order to solve the technical problems, the invention provides a safe tamper-proof storage method for data of a vehicle event data recorder, which comprises the following steps:
Determining a first-order differential image of each two adjacent frames of video images in the video data of the automobile data recorder;
determining hash value of each frame of first-order differential image, determining second-order differential image of the update image of the j frame of first-order differential image and the previous frame of first-order differential image, determining each target pixel point in the second-order differential image of the update image of the j frame of first-order differential image and the previous frame of first-order differential image according to pixel value distribution of pixel points in the second-order differential image of the update image of the j frame of first-order differential image and the previous frame of first-order differential image,n is the total number of first order difference images;
determining the occurrence frequency of each element value in the hash value of the first-order difference image of the j frame, and updating the hash value of the first-order difference image of the j frame according to each target pixel point in the second-order difference image of the first-order difference image of the j frame and the update image of the first-order difference image of the previous frame and the occurrence frequency of each element value in the hash value of the first-order difference image of the j frame to obtain the update hash value of the first-order difference image of the j frame;
updating the first-order difference image of the j frame according to the updated hash value of the first-order difference image of the j frame to obtain an updated image of the first-order difference image of the j frame;
And storing or uploading the hash value of the first-order differential image of the first frame and the updated hash values of the first-order differential images of other frames.
Further, updating the hash value of the first-order differential image of the j frame to obtain an updated hash value of the first-order differential image of the j frame, including:
determining a target corresponding sequence position in a hash value of the jth frame of first-order differential image according to each target pixel point in the second-order differential image of the jth frame of first-order differential image and the update image of the previous frame of first-order differential image;
according to the sequence from small to large of the occurrence frequency of each element value in the hash value of the first-order difference image of the j frame, arranging various element values in the hash value of the first-order difference image of the j frame to obtain a corresponding element value sequence corresponding to the first-order difference image of the j frame;
and updating the element value of the target corresponding sequence position in the hash value of the first-order difference image of the j frame by utilizing the corresponding element value sequence corresponding to the first-order difference image of the j frame to obtain an updated hash value of the first-order difference image of the j frame.
Further, determining the target corresponding order position in the hash value of the j-th frame first-order differential image includes:
determining the ratio of the total number of all pixel points in the second-order differential image of the update image of the j-th frame first-order differential image and the previous frame first-order differential image to the total number of element values in the hash value of the j-th frame first-order differential image;
According to the ratio, determining the corresponding sequence position of each pixel point in the second-order differential image of the updating image of the first-order differential image of the j frame and the first-order differential image of the previous frame, and further determining the corresponding sequence position of each target pixel point in the second-order differential image of the updating image of the first-order differential image of the j frame and the first-order differential image of the previous frame;
and according to the corresponding sequence positions of each target pixel point in the second-order differential image of the updating image of the first-order differential image of the j frame and the first-order differential image of the previous frame, carrying out elimination processing on the same corresponding sequence positions, and determining the rest corresponding sequence positions as target corresponding sequence positions in the hash value of the first-order differential image of the j frame.
Further, determining the target corresponding order position in the hash value of the j-th frame first-order differential image includes:
determining the ratio of the total number of all pixel points in the second-order differential image of the update image of the j-th frame first-order differential image and the previous frame first-order differential image to the total number of element values in the hash value of the j-th frame first-order differential image;
According to the ratio, determining the corresponding sequence position of each pixel point in the hash value of the jth frame first-order differential image in the second-order differential image of the update image of the jth frame first-order differential image and the previous frame first-order differential image;
according to the ratio, eliminating all target pixel points in the second-order differential image of the update image of the first-order differential image of the j frame and the first-order differential image of the previous frame to obtain all target pixel points after eliminating treatment in the second-order differential image of the update image of the first-order differential image of the j frame and the first-order differential image of the previous frame;
according to the corresponding sequence positions of all pixel points in the second-order differential image of the updating image of the first-order differential image of the j frame and the updating image of the first-order differential image of the previous frame, determining the corresponding sequence positions of all target pixel points in the hash value of the first-order differential image of the j frame after the elimination processing in the second-order differential image of the updating image of the first-order differential image of the j frame and the updating image of the first-order differential image of the previous frame, and accordingly obtaining the target corresponding sequence positions in the hash value of the first-order differential image of the j frame.
Further, updating the element value of the target corresponding sequence position in the hash value of the jth frame first-order differential image to obtain an updated hash value of the jth frame first-order differential image, including:
Arranging the target corresponding sequence positions in the hash values of the jth frame of first-order difference images in order from small to large so as to obtain a target corresponding sequence position sequence of the jth frame of first-order difference images;
and sequentially replacing the element value corresponding to each target corresponding sequence position in the target corresponding sequence position sequence of the first-order differential image of the j-th frame by sequentially utilizing the corresponding element value in the corresponding element value sequence corresponding to the first-order differential image of the j-th frame in the hash value of the first-order differential image of the j-th frame, so as to obtain the updated hash value of the first-order differential image of the j-th frame.
Further, determining each target pixel point in the second-order differential image of the update image of the j-th frame first-order differential image and the previous frame first-order differential image comprises:
and determining the pixel point with the largest set number of pixel values in the second-order differential image of the update image of the first-order differential image of the j frame and the first-order differential image of the previous frame, and determining the pixel point with the largest set number of pixel values as each target pixel point in the second-order differential image of the update image of the first-order differential image of the j frame and the first-order differential image of the previous frame.
Further, updating the first-order differential image of the j frame to obtain an updated image of the first-order differential image of the j frame, including:
Performing arithmetic coding on the updated hash value of the first-order differential image of the j frame to obtain an arithmetic coding value of the updated hash value of the first-order differential image of the j frame;
and updating the pixel value of each pixel point in the first-order differential image of the j frame by using the arithmetic coding value, wherein the larger the arithmetic coding value is, the larger the updated pixel value is, so that the updated image of the first-order differential image of the j frame is obtained.
Further, the method further comprises:
determining second-order differential images of the first frame and the second frame, and determining each target pixel point in the second-order differential images of the first frame and the second frame according to pixel value distribution of pixel points in the second-order differential images of the first frame and the second frame;
determining the occurrence frequency of each element value in the hash value of the first-order difference image of the second frame, and updating the hash value of the first-order difference image of the second frame according to each target pixel point in the second-order difference image of the first frame and the first-order difference image of the second frame and the occurrence frequency of each element value in the hash value of the first-order difference image of the second frame to obtain an updated hash value of the first-order difference image of the second frame;
Updating the first-order difference image of the second frame according to the updated hash value of the first-order difference image of the second frame to obtain an updated image of the first-order difference image of the second frame;
determining an updated image of the nth-1 frame first-order differential image and a second-order differential image of the nth-frame first-order differential image, and determining each target pixel point in the updated image of the nth-1 frame first-order differential image and the second-order differential image of the nth-frame first-order differential image according to pixel value distribution of pixel points in the updated image of the nth-1 frame first-order differential image and the second-order differential image of the nth-frame first-order differential image;
determining the occurrence frequency of each element value in the hash value of the nth frame of first-order differential image, and updating the hash value of the nth frame of first-order differential image according to each target pixel point in the updated image of the nth-1 frame of first-order differential image and the second-order differential image of the nth frame of first-order differential image and the occurrence frequency of each element value in the hash value of the nth frame of first-order differential image to obtain the updated hash value of the nth frame of first-order differential image;
and storing or uploading the updated hash values of the first-order differential images of the second frame and the nth frame.
Further, the method further comprises:
According to the arrangement sequence of video images in the video data of the automobile data recorder, the hash value of the first-order differential image of the first frame and the updated hash values of the first-order differential images of other frames are arranged to obtain a unique check code sequence, and the unique check code sequence is stored or uploaded.
In order to solve the technical problem, the invention also provides a safe anti-tampering storage system for the data of the automobile data recorder, which comprises a processor and a memory, wherein the processor is used for processing computer instructions stored in the memory so as to realize the steps of the safe anti-tampering storage method for the data of the automobile data recorder.
The invention has the following beneficial effects: according to the invention, the hash value of each two adjacent frames of video images in the video data of the automobile data recorder is obtained, the second-order differential image of each frame of the first-order differential image and the second-order differential image of the updated image of the first-order differential image of the previous frame of the first-order differential image are obtained, the contact information of the adjacent first-order differential images is determined from the second-order differential images, meanwhile, the occurrence frequency of each element value in the hash value of each frame of the first-order differential image is combined, the hash collision risk is reduced, meanwhile, the contact information of the two adjacent frames of the first-order differential images is enhanced, when an attacker tampers a certain frame of video image, the updated hash value of the next first-order differential image is greatly changed, so that tampering can be better identified, the tampering difficulty of the attacker is increased, the difficulty of not being found after tampering is greatly improved, and the storage tamper-proof capability of data is enhanced.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions and advantages of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for secure and tamper-proof storage of data in a vehicle event data recorder according to an embodiment of the present invention.
Detailed Description
In order to further describe the technical means and effects adopted by the present invention to achieve the preset purpose, the following detailed description is given below of the specific implementation, structure, features and effects of the technical solution according to the present invention with reference to the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" means that the embodiments are not necessarily the same. Furthermore, the particular features, structures, or characteristics of one or more embodiments may be combined in any suitable manner.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. In addition, all parameters or indices in the formulas referred to herein are values after normalization that eliminate the dimensional effects.
In order to solve the problem of low tamper resistance difficulty of video data of the existing automobile data recorder, the embodiment provides a safe tamper resistance storage method of the data of the automobile data recorder, and a flow chart corresponding to the method is shown in fig. 1 and comprises the following steps:
step S1: and determining a first-order differential image of each two adjacent frames of video images in the video data of the automobile data recorder.
When the automobile data recorder video data is required to be stored, in order to prevent the automobile data recorder video data from being tampered, first-order difference images of every two adjacent frames of video images in the automobile data recorder video data are firstly determined. And by determining the first-order difference image, the contact information between the video images of adjacent frames is increased, so that the subsequent calculation is facilitated. When the first-order differential image is determined, for any two frames of adjacent video images in the video data of the automobile data recorder, calculating the absolute value of the difference value of the pixel point at the same coordinate position in the video image of the next frame and the video image of the previous frame, thereby obtaining the first-order differential image. That is, the absolute value of the difference value of the pixel point at the same position of every two adjacent frames of video images in the video data of the automobile data recorder is determined as the pixel value of the pixel point at the same position in the first-order differential image, so that the first-order differential image of every two adjacent frames of video images in the video data of the automobile data recorder is obtained.
For ease of understanding, taking the i-1, i, i+1 frame video images in the vehicle event data recorder video data as an example,n is the total number of the first-order difference images, and the absolute value of the difference value of the pixel values of the pixel points at the same coordinate positions in the i-1 th and i-th frame video images is calculated, so that the first-order difference images of the i-1 th and i-th frame video images are obtained and marked as (i-1, i) first-order difference images. Meanwhile, calculating the absolute value of the difference value of the pixel values of the pixel points at the same coordinate positions in the ith and the (i+1) th video images, so as to obtain first-order differential images of the ith and the (i+1) th video images, and marking the first-order differential images as (i, i+1) first-order differential images.
Step S2: determining hash value of each frame of first-order differential image, determining second-order differential image of the update image of the j frame of first-order differential image and the previous frame of first-order differential image, determining each target pixel point in the second-order differential image of the update image of the j frame of first-order differential image and the previous frame of first-order differential image according to pixel value distribution of pixel points in the second-order differential image of the update image of the j frame of first-order differential image and the previous frame of first-order differential image,n is the total number of first order difference images.
After each frame of the first-order difference image is determined through the above steps, a hash value of each frame of the first-order difference image is determined. MD5 (Message-Digest Algorithm) is a commonly used hash function Algorithm for generating a Message Digest. It converts the input data into a hash value of fixed length for quick checksum comparison of the data. Therefore, the embodiment obtains the corresponding hash value of the first-order differential image, calculates the hash value of the first-order differential image instead of the hash value of the original frame video image, because the first-order differential image can embody the change information, when an attacker performs tampering, the information of the differential image with the adjacent video frame is unchanged while a certain video frame is ensured to be changed, and a large amount of calculation is needed, so that the tampering difficulty is increased, and the purpose of tamper resistance is facilitated.
The process of acquiring the hash value of each frame of first-order differential image comprises the following steps: arranging the pixel values of all the pixel points of each frame of the first-order differential image according to a set arrangement sequence, so as to obtain the pixel vector of each frame of the first-order differential image; and determining the hash value of each frame of the first-order differential image by utilizing an MD5 algorithm according to the pixel vector of each frame of the first-order differential image. That is, the pixel values of all rows of pixel points of each frame of the first-order differential image are spliced into a vector according to the sequence of the head and tail elements in the adjacent rows, that is, the last element of the previous row is connected with the first element of the next row, and the vector is used as the input of the MD5 algorithm, so that a corresponding hash value sequence, which is called as a hash value for short, can be obtained. Taking the i-1, i and i+1 frames of video images in the video data of the automobile data recorder as an example, for the (i-1, i) first-order difference image, the corresponding hash value is called as the (i-1, i) hash value, and for the (i, i+1) first-order difference image, the corresponding hash value is called as the (i, i+1) hash value.
Because the first-order differential images represent the differences of the video images of the adjacent frames, the difference information is often less, so that more pixel points with the pixel value of 0 exist in the first-order differential images, the similarity of the adjacent first-order differential images is larger, the risk of hash collision is increased, and the hash values of the first-order differential images of the adjacent frames can be the same or similar. In order to reduce the risk of hash collision, and enhance the contact information of two adjacent frames of first-order differential images, the tampering difficulty is increased, and the hash value of the first-order differential image of the next frame can be updated by extracting information from the contact information of the two frames of first-order differential images through the second-order differential image of the update image of each frame of first-order differential image and the first-order differential image of the previous frame of first-order differential image.
To achieve the above object, for the j-th frame first order difference image, whenAt this time, the previous frame first-order difference image of the jth frame first-order difference image is determinedThe process of acquiring the updated image of the first-order differential image of the previous frame of the first-order differential image of the jth frame is completely the same as the process of acquiring the updated image of the first-order differential image of the jth frame, and the process of acquiring the updated image of the first-order differential image of the jth frame will be described in detail later, and the updated image of the first-order differential image of the previous frame of the first-order differential image of the jth frame is determined without any description.
And determining a second-order differential image of the update image of the first-order differential image of the j-th frame and the first-order differential image of the previous frame based on the update image of the first-order differential image of the j-th frame and the first-order differential image of the previous frame in the same manner of determining the first-order differential images of every two adjacent frames of video images. The absolute value of the difference value of the pixel point at the same position of the update image of the first-order difference image of the j-th frame and the first-order difference image of the j-1 th frame is determined as the pixel value of the pixel point at the same position in the second-order difference image, so that the second-order difference image of the update image of the first-order difference image of the j-th frame and the first-order difference image of the previous frame is obtained.
For easy understanding, taking the i-1, i and i+1 frame video images in the video data of the automobile data recorder as examples, calculating the absolute value of the difference between the pixel values of the pixel points at the same coordinate position in the updated image of the (i-1, i) first-order differential image and the pixel point at the same coordinate position in the (i, i+1) first-order differential image, thereby obtaining the difference image of the updated image of the (i-1, i) first-order differential image and the (i, i+1) first-order differential image, and recording the difference image as the (i-1, i, i+1) second-order differential image.
According to pixel value distribution of pixel points in second-order differential images of the update images of the j-th frame first-order differential image and the previous frame first-order differential image, each target pixel point in the second-order differential images of the update images of the j-th frame first-order differential image and the previous frame first-order differential image is determined, namely: and determining the pixel point with the largest set number of pixel values in the second-order differential image of the update image of the first-order differential image of the j frame and the first-order differential image of the previous frame, and determining the pixel point with the largest set number of pixel values as each target pixel point in the second-order differential image of the update image of the first-order differential image of the j frame and the first-order differential image of the previous frame. Wherein the range of the set number m is: 5-50, which can be reasonably set according to actual needs, m=10 is set in this embodiment.
Step S3: determining the occurrence frequency of each element value in the hash value of the first-order difference image of the j frame, and updating the hash value of the first-order difference image of the j frame according to each target pixel point in the second-order difference image of the first-order difference image of the j frame and the update image of the first-order difference image of the previous frame and the occurrence frequency of each element value in the hash value of the first-order difference image of the j frame to obtain the update hash value of the first-order difference image of the j frame.
Counting the occurrence frequency of each element value in the hash value of the first-order difference image of the j frame, according to the occurrence frequency of each element value in the hash value of the first-order difference image of the j frame obtained by counting, combining each target pixel point in the second-order difference image of the first-order difference image of the j frame and the update image of the first-order difference image of the previous frame, updating the hash value of the first-order difference image of the j frame to obtain the update hash value of the first-order difference image of the j frame, wherein the realization steps comprise:
determining a target corresponding sequence position in a hash value of the jth frame of first-order differential image according to each target pixel point in the second-order differential image of the jth frame of first-order differential image and the update image of the previous frame of first-order differential image;
According to the sequence from small to large of the occurrence frequency of each element value in the hash value of the first-order difference image of the j frame, arranging various element values in the hash value of the first-order difference image of the j frame to obtain a corresponding element value sequence corresponding to the first-order difference image of the j frame;
and updating the element value of the target corresponding sequence position in the hash value of the first-order difference image of the j frame by utilizing the corresponding element value sequence corresponding to the first-order difference image of the j frame to obtain an updated hash value of the first-order difference image of the j frame.
As one embodiment, determining the target corresponding order position in the hash value of the jth frame first order difference image includes:
determining the ratio of the total number of all pixel points in the second-order differential image of the update image of the j-th frame first-order differential image and the previous frame first-order differential image to the total number of element values in the hash value of the j-th frame first-order differential image;
according to the ratio, determining the corresponding sequence position of each pixel point in the second-order differential image of the updating image of the first-order differential image of the j frame and the first-order differential image of the previous frame, and further determining the corresponding sequence position of each target pixel point in the second-order differential image of the updating image of the first-order differential image of the j frame and the first-order differential image of the previous frame;
And according to the corresponding sequence positions of each target pixel point in the second-order differential image of the updating image of the first-order differential image of the j frame and the first-order differential image of the previous frame, carrying out elimination processing on the same corresponding sequence positions, and determining the rest corresponding sequence positions as target corresponding sequence positions in the hash value of the first-order differential image of the j frame.
For easy understanding, taking the i-1, i, i+1 frame video image in the video data of the automobile data recorder as an example, the (i-1, i, i+1) second order differential image is spliced into a vector, and the mode of splicing into the vector is the same as the mode of splicing each frame of first order differential image into the vector, and the description is omitted here. Then, determining the sequence position values of m target pixel points in the (i-1, i, i+1) second-order differential image in the vector corresponding to the (i-1, i, i+1) second-order differential image, and forming a sequence from small to large by the sequence position values, wherein the sequence is called a position point sequence. The sequence of location points may represent updated images corresponding to (i-1, i) first order difference images and larger difference points on the (i, i+1) first order difference images. When a tamperer tampers a certain video frame, the position of the corresponding difference point is often changed. The (i, i+1) hash value now needs to be updated by the difference point locations, but since the two locations do not correspond, it is first necessary to find the corresponding location of each difference point location in the hash value.
In order to achieve the above purpose, firstly, the ratio of the vector length of the (i-1, i, i+1) second-order differential image to the hash value length of the (i, i+1) second-order differential image is calculated, and then the corresponding relation between each position e in the vector and each position f in the hash value is obtained. For example: the vector length of the (i-1, i, i+1) second order differential image is 1000, the hash value length of the (i, i+1) second order differential image is 128, the ratio of the two is calculated to be 1000/128 approximately equal to 7.8, the ratio is rounded to obtain a numerical value of 8, at the moment, the 1 st to 7 th order positions in the vector of the (i-1, i, i+1) second order differential image correspond to the 1 st order position in the hash value, the 8 th to 15 th order positions correspond to the 2 nd order position in the hash value, the 16 th to 23 th order positions correspond to the 3 rd order position in the hash value, and so on, the 882 th to 889 th order positions correspond to the 127 th order position in the hash value, and the 890 th to 1000 th order positions correspond to the 127 th order position in the hash value.
After determining the correspondence between each position in the vector of the (i-1, i, i+1) second order differential image and each position in the (i, i+1) hash value in the above manner, the compliance may determine a corresponding order position of each element value, i.e., the order position value, in the sequence of position points corresponding to the (i-1, i, i+1) second order differential image in the (i, i+1) hash value. Considering that a plurality of element values in the position point sequence corresponding to the (i-1, i, i+1) second-order differential image may correspond to the same corresponding order position in the (i, i+1) hash value, after obtaining each element value, i.e. the corresponding order position of the order position value in the position point sequence corresponding to the (i-1, i, i+1) second-order differential image, in the (i, i+1) hash value, the same corresponding order position needs to be removed, i.e. only one corresponding order position in the same corresponding order positions is reserved, and finally a corresponding order position with different values is obtained, and the corresponding order position is called a target corresponding order position.
As another embodiment, determining the target corresponding order position in the hash value of the jth frame first order difference image includes:
determining the ratio of the total number of all pixel points in the second-order differential image of the update image of the j-th frame first-order differential image and the previous frame first-order differential image to the total number of element values in the hash value of the j-th frame first-order differential image;
according to the ratio, determining the corresponding sequence position of each pixel point in the hash value of the jth frame first-order differential image in the second-order differential image of the update image of the jth frame first-order differential image and the previous frame first-order differential image;
according to the ratio, eliminating all target pixel points in the second-order differential image of the update image of the first-order differential image of the j frame and the first-order differential image of the previous frame to obtain all target pixel points after eliminating treatment in the second-order differential image of the update image of the first-order differential image of the j frame and the first-order differential image of the previous frame;
according to the corresponding sequence positions of all pixel points in the second-order differential image of the updating image of the first-order differential image of the j frame and the updating image of the first-order differential image of the previous frame, determining the corresponding sequence positions of all target pixel points in the hash value of the first-order differential image of the j frame after the elimination processing in the second-order differential image of the updating image of the first-order differential image of the j frame and the updating image of the first-order differential image of the previous frame, and accordingly obtaining the target corresponding sequence positions in the hash value of the first-order differential image of the j frame.
For easy understanding, taking the i-1, i and i+1 frame video images in the video data of the automobile data recorder as an example, firstly calculating the ratio of the vector length of the (i-1, i, i+1) second-order differential image to the hash value length of the (i, i+1), and determining the corresponding relation between each position in the vector of the (i-1, i, i+1) second-order differential image and each position in the hash value of the (i, i+1) second-order differential image according to the ratio. Since this implementation process has been described in detail in one embodiment of determining the target corresponding order position in the hash value of the next frame of the first-order differential image in every two adjacent frames, it is not described here again.
Also, considering that a plurality of element values in the position point sequence corresponding to the (i-1, i, i+1) second-order differential image may correspond to the same corresponding sequence position in the (i, i+1) hash value, rounding the ratio according to the ratio of the vector length of the (i-1, i, i+1) second-order differential image to the length of the (i, i+1) hash value to obtain a value, and performing a rejection process according to the value to eliminate each element value, namely the sequence position value, in the position point sequence corresponding to the (i-1, i, i+1) second-order differential image, namely: and removing element values with interval values of each element value at the back and the element value at the front smaller than the value from the first element value in the position point sequence, so that the absolute value of the difference value of any two final adjacent element values is equal to or greater than the value, and thus the position point sequence corresponding to the final (i-1, i, i+1) second-order differential image is obtained. For easy understanding, taking the ratio of the vector length of the (i-1, i, i+1) second-order differential image to the hash value length of the (i, i+1) second-order differential image as an example of 7.8, starting from the first element value in the position point sequence, removing the element value with the interval value between each element value at the back and the element value at the front being smaller than 8, so that the absolute value of the difference value of any two final adjacent element values is equal to or greater than 8, thereby obtaining the position point sequence corresponding to the final (i-1, i, i+1) second-order differential image.
Based on this, according to the correspondence between each position in the vector of the (i-1, i, i+1) second-order differential image and each position in the (i, i+1) hash value, it is possible to determine the corresponding order position of each element value, i.e., the order position value, in the (i, i+1) hash value in the position point sequence corresponding to the final (i-1, i, i+1) second-order differential image, and refer to these corresponding order positions as target corresponding order positions.
Meanwhile, according to the sequence from small to large of the occurrence frequency of each element value in the hash value of the first-order difference image of the j frame, various element values in the hash value of the first-order difference image of the j frame are arranged, and a corresponding element value sequence corresponding to the first-order difference image of the j frame is obtained. Taking the i-1, i and i+1 frames of video images in the video data of the automobile data recorder as an example, obtaining the occurrence frequency of each element value in the (i, i+1) hash value through statistics, obtaining a corresponding element value sequence with ascending frequency, namely arranging each element value in the (i, i+1) hash value according to the sequence from the small frequency to the large frequency, and obtaining the corresponding element value sequence.
After determining the target corresponding order position in the hash value of the jth frame of first-order difference image and the corresponding element value sequence corresponding to the jth frame of first-order difference image in the above manner, updating the element value of the target corresponding order position in the hash value of the jth frame of first-order difference image by using the corresponding element value sequence corresponding to the jth frame of first-order difference image, thereby obtaining an updated hash value of the jth frame of first-order difference image, the implementation steps comprise:
Arranging the target corresponding sequence positions in the hash values of the jth frame of first-order difference images in order from small to large so as to obtain a target corresponding sequence position sequence of the jth frame of first-order difference images;
and sequentially replacing the element value corresponding to each target corresponding sequence position in the target corresponding sequence position sequence of the first-order differential image of the j-th frame by sequentially utilizing the corresponding element value in the corresponding element value sequence corresponding to the first-order differential image of the j-th frame in the hash value of the first-order differential image of the j-th frame, so as to obtain the updated hash value of the first-order differential image of the j-th frame.
For easy understanding, taking the i-1 th frame video image, the i-1 th frame video image and the i+1 th frame video image in the video data of the automobile data recorder as examples, the target corresponding sequence positions in the (i, i+1) hash values are arranged in order from small to large, so that a first hash sequence, namely a target corresponding sequence position sequence, is obtained. And in the (i, i+1) hash value, sequentially replacing the element value corresponding to each target corresponding sequence position in the first hash sequence corresponding to the (i, i+1) first-order differential image by using the element value in the corresponding element value sequence corresponding to the (i, i+1) first-order differential image to obtain an (i, i+1) updated hash value. For example: the first hash sequence corresponding to the (i, i+1) first order difference image is: [2 3 5] The (i, i+1) hash value is: 9a0364b9e99bb480dd25e1f0284c8555, replaces the 2 nd element value in the (i, i+1) hash value with the 1 st element value in the sequence of corresponding element values in frequency ascending order, replaces the 3 rd element value in the (i, i+1) hash value with the 2 nd element value in the sequence of corresponding element values in frequency ascending order, and replaces the 5 th element value in the (i, i+1) hash value with the 3 rd element value in the sequence of corresponding element values in frequency ascending order. By replacing the element value of the corresponding position in the (i, i+1) hash value with the element value with smaller occurrence frequency in the hash value, the difference of the hash values corresponding to the adjacent first-order difference images can be effectively increased.
In the above manner, the updated hash value of the j-th frame first-order differential image can be finally determined.
Step S4: and updating the first-order difference image of the j frame according to the updated hash value of the first-order difference image of the j frame to obtain an updated image of the first-order difference image of the j frame.
Based on the updated hash value of the jth frame first-order differential image, updating the jth frame first-order differential image to obtain an updated image of the jth frame first-order differential image, wherein the implementation steps comprise:
performing arithmetic coding on the updated hash value of the first-order differential image of the j frame to obtain an arithmetic coding value of the updated hash value of the first-order differential image of the j frame;
and updating the pixel value of each pixel point in the first-order differential image of the j frame by using the arithmetic coding value, wherein the larger the arithmetic coding value is, the larger the updated pixel value is, so that the updated image of the first-order differential image of the j frame is obtained.
Specifically, the arithmetic coding value is calculated by an arithmetic coding method for the updated hash value of the j-th frame first-order differential image, and the arithmetic coding value is a scalar which is more than 0 and less than 1, and the arithmetic coding method can be reasonably selected according to the requirement. Updating the first-order differential image of the j frame through the arithmetic coding value to obtain an updated image of the first-order differential image of the j frame, wherein the updating method comprises the following steps: and multiplying the pixel value of each pixel point in the first-order differential image of the j frame by the arithmetic coding value, rounding the obtained product value to obtain an integer, and determining the integer as the pixel value of the pixel point at the same position in the updated image of the first-order differential image of the j frame.
It should be appreciated that for the j-th frame first order difference image, whenAt this time, the updated hash value of the j-th frame first-order difference image can be determined through the above steps S2 to S4. While->When the first-order difference image of the j-th frame is not updated, the hash value of the first-order difference image of the second frame is updated directly according to the first-order difference image of the first frame and the first-order difference image of the second frame, and then the first-order difference image of the second frame is updated to obtain an updated image of the first-order difference image of the second frame, and the implementation steps comprise:
determining second-order differential images of the first frame and the second frame, and determining each target pixel point in the second-order differential images of the first frame and the second frame according to pixel value distribution of pixel points in the second-order differential images of the first frame and the second frame;
determining the occurrence frequency of each element value in the hash value of the first-order difference image of the second frame, and updating the hash value of the first-order difference image of the second frame according to each target pixel point in the second-order difference image of the first frame and the first-order difference image of the second frame and the occurrence frequency of each element value in the hash value of the first-order difference image of the second frame to obtain an updated hash value of the first-order difference image of the second frame;
And updating the first-order difference image of the second frame according to the updated hash value of the first-order difference image of the second frame to obtain an updated image of the first-order difference image of the second frame.
The step of directly updating the hash value of the first-order differential image of the second frame according to the first-order differential image of the first frame and the second-order differential image of the second frame to obtain the updated hash value of the first-order differential image of the second frame, and further updating the first-order differential image of the second frame to obtain the updated image of the first-order differential image of the second frame is identical to the step of updating the hash value of the first-order differential image of the j frame according to the updated image of the first-order differential image of the j frame and the first-order differential image of the previous frame in the steps S2-S4 to obtain the updated hash value of the first-order differential image of the j frame, and further obtaining the updated image of the first-order differential image of the j frame.
At the same time, whenWhen the method is used, since the updated image of the nth frame of first-order difference image does not need to be acquired, the hash value of the nth frame of first-order difference image is updated only according to the updated image of the nth-1 frame of first-order difference image and the second-order difference image of the nth frame of first-order difference image, so that the updated hash value of the nth frame of first-order difference image is obtained, and the implementation steps comprise:
Determining an updated image of the nth-1 frame first-order differential image and a second-order differential image of the nth-frame first-order differential image, and determining each target pixel point in the updated image of the nth-1 frame first-order differential image and the second-order differential image of the nth-frame first-order differential image according to pixel value distribution of pixel points in the updated image of the nth-1 frame first-order differential image and the second-order differential image of the nth-frame first-order differential image;
determining the occurrence frequency of each element value in the hash value of the first-order difference image of the nth frame, and updating the hash value of the first-order difference image of the nth frame according to each target pixel point in the updated image of the first-order difference image of the nth-1 frame and the second-order difference image of the first-order difference image of the nth frame and the occurrence frequency of each element value in the hash value of the first-order difference image of the nth frame to obtain the updated hash value of the first-order difference image of the nth frame.
The step of updating the hash value of the nth frame first-order differential image according to the updated image of the nth-1 frame first-order differential image and the second-order differential image of the nth frame first-order differential image to obtain the updated hash value of the nth frame first-order differential image is identical to the step of updating the hash value of the jth frame first-order differential image according to the jth frame first-order differential image and the updated image of the previous frame first-order differential image in the steps S2-S4 to obtain the updated hash value of the jth frame first-order differential image, and the difference is only that the object images are different, and the step is not repeated here.
Through the steps, the hash value of the first-order differential image of the first frame and other updated hash values of the first-order differential images of each frame can be determined. Taking a 1 st frame, a 2 nd frame, a 3 rd frame, a 4 th frame and a 5 th frame video image in the video data of the automobile data recorder as an example, updating hash values of the (2, 3) first-order differential images, namely (2, 3) hash values, through the (1, 2) first-order differential images and the (1, 2, 3) second-order differential images of the (2, 3) first-order differential images, obtaining updated hash values of the (2, 3) first-order differential images, updating the (2, 3) first-order differential images by utilizing the updated hash values of the (2, 3) first-order differential images, obtaining updated images of the (2, 3) first-order differential images, and updating the hash values of the (3, 4) first-order differential images, namely (3, 4) second-order differential images of the (3, 4) first-order differential images, through the (2, 3) first-order differential images and the (2, 3, 4) second-order differential images of the (3, 4) first-order differential images, obtaining updated hash values of the (3, 4) first-order differential images, and updating the (3, 4) first-order differential images, and obtaining updated images of the (3, 4, 5-order differential images by utilizing the hash values of the (3, 4) first-order differential images).
Step S5: and storing or uploading the hash value of the first-order differential image of the first frame and the updated hash values of the first-order differential images of other frames.
After the hash value of the first-order difference image of the first frame and the updated hash value of the first-order difference image of each other frame are obtained through the steps, the hash value of the first-order difference image of the first frame and the updated hash value of the first-order difference image of each subsequent frame are arranged according to the arrangement order of the first-order difference images, so that a unique check code sequence is obtained. The unique check code sequence is generated in real time when each frame of video image of the video data of the automobile data recorder is shot. When any frame of video image in the video data of the automobile data recorder is tampered, all hash values at the back change, so that the unique check code sequence changes greatly, whether the video data of the automobile data recorder is tampered can be quickly, accurately and identified, the tampering difficulty is effectively increased, and the data safety is improved.
After the unique check code sequence corresponding to the video data of the automobile data recorder is obtained through the steps, the unique check code sequence is stored or uploaded to the cloud. When determining whether the video data of the automobile data recorder is tampered, acquiring a unique check code sequence corresponding to the video data of the automobile data recorder according to the same mode, comparing the unique check code sequence with the unique check code sequence uploaded to the cloud, if the unique check code sequence and the unique check code sequence are the same, indicating that the video data of the automobile data recorder is not tampered, otherwise, indicating that the video data of the automobile data recorder is tampered.
The embodiment also provides a safe anti-tampering storage system for the data of the automobile data recorder, which comprises a processor and a memory, wherein the processor is used for processing computer instructions stored in the memory so as to realize the steps of the safe anti-tampering storage method for the data of the automobile data recorder. Since the system is actually a soft system, the core of the system is to implement a safe tamper-proof storage method for data of a vehicle recorder, and since the method is already described in detail in the foregoing, the system will not be described in detail here.
According to the invention, by calculating the first-order difference images of every two adjacent frames of video images in the video data of the automobile data recorder and updating the hash value of the next first-order difference image according to the difference information of the previous first-order difference image, the connection of the adjacent first-order difference images is increased, when an attacker tampers with a certain frame of video image, the hash value of the next first-order difference image can be changed greatly, so that the tampering can be better identified, the accuracy of tamper identification can be greatly improved, the tamper difficulty of the attacker is increased, the difficulty which is not found after the attacker wants to tamper is greatly improved, and the tamper-proof capacity of data storage is enhanced.
It should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application 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 application, and are intended to be included in the scope of the present application.

Claims (10)

1. The safe anti-tampering storage method for the data of the automobile data recorder is characterized by comprising the following steps of:
determining a first-order differential image of each two adjacent frames of video images in the video data of the automobile data recorder;
determining hash value of each frame of first-order differential image, determining second-order differential image of the update image of the j frame of first-order differential image and the previous frame of first-order differential image, determining each target pixel point in the second-order differential image of the update image of the j frame of first-order differential image and the previous frame of first-order differential image according to pixel value distribution of pixel points in the second-order differential image of the update image of the j frame of first-order differential image and the previous frame of first-order differential image, N is the total number of first order difference images;
determining the occurrence frequency of each element value in the hash value of the first-order difference image of the j frame, and updating the hash value of the first-order difference image of the j frame according to each target pixel point in the second-order difference image of the first-order difference image of the j frame and the update image of the first-order difference image of the previous frame and the occurrence frequency of each element value in the hash value of the first-order difference image of the j frame to obtain the update hash value of the first-order difference image of the j frame;
updating the first-order difference image of the j frame according to the updated hash value of the first-order difference image of the j frame to obtain an updated image of the first-order difference image of the j frame;
and storing or uploading the hash value of the first-order differential image of the first frame and the updated hash values of the first-order differential images of other frames.
2. The method for securely storing the data in the automobile data recorder according to claim 1, wherein updating the hash value of the j-th frame first-order difference image to obtain the updated hash value of the j-th frame first-order difference image comprises:
determining a target corresponding sequence position in a hash value of the jth frame of first-order differential image according to each target pixel point in the second-order differential image of the jth frame of first-order differential image and the update image of the previous frame of first-order differential image;
According to the sequence from small to large of the occurrence frequency of each element value in the hash value of the first-order difference image of the j frame, arranging various element values in the hash value of the first-order difference image of the j frame to obtain a corresponding element value sequence corresponding to the first-order difference image of the j frame;
and updating the element value of the target corresponding sequence position in the hash value of the first-order difference image of the j frame by utilizing the corresponding element value sequence corresponding to the first-order difference image of the j frame to obtain an updated hash value of the first-order difference image of the j frame.
3. The method for securely storing the data in the automobile data recorder according to claim 2, wherein determining the target corresponding order position in the hash value of the j-th frame first-order difference image comprises:
determining the ratio of the total number of all pixel points in the second-order differential image of the update image of the j-th frame first-order differential image and the previous frame first-order differential image to the total number of element values in the hash value of the j-th frame first-order differential image;
according to the ratio, determining the corresponding sequence position of each pixel point in the second-order differential image of the updating image of the first-order differential image of the j frame and the first-order differential image of the previous frame, and further determining the corresponding sequence position of each target pixel point in the second-order differential image of the updating image of the first-order differential image of the j frame and the first-order differential image of the previous frame;
And according to the corresponding sequence positions of each target pixel point in the second-order differential image of the updating image of the first-order differential image of the j frame and the first-order differential image of the previous frame, carrying out elimination processing on the same corresponding sequence positions, and determining the rest corresponding sequence positions as target corresponding sequence positions in the hash value of the first-order differential image of the j frame.
4. The method for securely storing the data in the automobile data recorder according to claim 2, wherein determining the target corresponding order position in the hash value of the j-th frame first-order difference image comprises:
determining the ratio of the total number of all pixel points in the second-order differential image of the update image of the j-th frame first-order differential image and the previous frame first-order differential image to the total number of element values in the hash value of the j-th frame first-order differential image;
according to the ratio, determining the corresponding sequence position of each pixel point in the hash value of the jth frame first-order differential image in the second-order differential image of the update image of the jth frame first-order differential image and the previous frame first-order differential image;
according to the ratio, eliminating all target pixel points in the second-order differential image of the update image of the first-order differential image of the j frame and the first-order differential image of the previous frame to obtain all target pixel points after eliminating treatment in the second-order differential image of the update image of the first-order differential image of the j frame and the first-order differential image of the previous frame;
According to the corresponding sequence positions of all pixel points in the second-order differential image of the updating image of the first-order differential image of the j frame and the updating image of the first-order differential image of the previous frame, determining the corresponding sequence positions of all target pixel points in the hash value of the first-order differential image of the j frame after the elimination processing in the second-order differential image of the updating image of the first-order differential image of the j frame and the updating image of the first-order differential image of the previous frame, and accordingly obtaining the target corresponding sequence positions in the hash value of the first-order differential image of the j frame.
5. The method for securely storing the data in the automobile data recorder according to claim 2, wherein updating the element value of the target corresponding sequence position in the hash value of the jth frame first-order difference image to obtain the updated hash value of the jth frame first-order difference image comprises:
arranging the target corresponding sequence positions in the hash values of the jth frame of first-order difference images in order from small to large so as to obtain a target corresponding sequence position sequence of the jth frame of first-order difference images;
and sequentially replacing the element value corresponding to each target corresponding sequence position in the target corresponding sequence position sequence of the first-order differential image of the j-th frame by sequentially utilizing the corresponding element value in the corresponding element value sequence corresponding to the first-order differential image of the j-th frame in the hash value of the first-order differential image of the j-th frame, so as to obtain the updated hash value of the first-order differential image of the j-th frame.
6. The method for securely storing the data in the automobile data recorder according to claim 1, wherein determining each target pixel point in the second-order difference image of the update image of the j-th frame first-order difference image and the previous frame first-order difference image comprises:
and determining the pixel point with the largest set number of pixel values in the second-order differential image of the update image of the first-order differential image of the j frame and the first-order differential image of the previous frame, and determining the pixel point with the largest set number of pixel values as each target pixel point in the second-order differential image of the update image of the first-order differential image of the j frame and the first-order differential image of the previous frame.
7. The method for securely storing the data of the automobile data recorder according to claim 1, wherein updating the j-th frame first-order difference image to obtain an updated image of the j-th frame first-order difference image comprises:
performing arithmetic coding on the updated hash value of the first-order differential image of the j frame to obtain an arithmetic coding value of the updated hash value of the first-order differential image of the j frame;
and updating the pixel value of each pixel point in the first-order differential image of the j frame by using the arithmetic coding value, wherein the larger the arithmetic coding value is, the larger the updated pixel value is, so that the updated image of the first-order differential image of the j frame is obtained.
8. The method for secure and tamper-resistant storage of data in a vehicle event data recorder of claim 1, further comprising:
determining second-order differential images of the first frame and the second frame, and determining each target pixel point in the second-order differential images of the first frame and the second frame according to pixel value distribution of pixel points in the second-order differential images of the first frame and the second frame;
determining the occurrence frequency of each element value in the hash value of the first-order difference image of the second frame, and updating the hash value of the first-order difference image of the second frame according to each target pixel point in the second-order difference image of the first frame and the first-order difference image of the second frame and the occurrence frequency of each element value in the hash value of the first-order difference image of the second frame to obtain an updated hash value of the first-order difference image of the second frame;
updating the first-order difference image of the second frame according to the updated hash value of the first-order difference image of the second frame to obtain an updated image of the first-order difference image of the second frame;
determining an updated image of the nth-1 frame first-order differential image and a second-order differential image of the nth-frame first-order differential image, and determining each target pixel point in the updated image of the nth-1 frame first-order differential image and the second-order differential image of the nth-frame first-order differential image according to pixel value distribution of pixel points in the updated image of the nth-1 frame first-order differential image and the second-order differential image of the nth-frame first-order differential image;
Determining the occurrence frequency of each element value in the hash value of the nth frame of first-order differential image, and updating the hash value of the nth frame of first-order differential image according to each target pixel point in the updated image of the nth-1 frame of first-order differential image and the second-order differential image of the nth frame of first-order differential image and the occurrence frequency of each element value in the hash value of the nth frame of first-order differential image to obtain the updated hash value of the nth frame of first-order differential image;
and storing or uploading the updated hash values of the first-order differential images of the second frame and the nth frame.
9. The method for secure and tamper-resistant storage of data in a vehicle event data recorder of claim 8, further comprising:
according to the arrangement sequence of video images in the video data of the automobile data recorder, the hash value of the first-order differential image of the first frame and the updated hash values of the first-order differential images of other frames are arranged to obtain a unique check code sequence, and the unique check code sequence is stored or uploaded.
10. A vehicle data security tamper resistant storage system, comprising a processor and a memory, wherein the processor is configured to process computer instructions stored in the memory to implement the steps of a vehicle data security tamper resistant storage method according to any one of claims 1-9.
CN202311369676.3A 2023-10-23 2023-10-23 Safe anti-tampering storage method and system for data of automobile data recorder Active CN117113439B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311369676.3A CN117113439B (en) 2023-10-23 2023-10-23 Safe anti-tampering storage method and system for data of automobile data recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311369676.3A CN117113439B (en) 2023-10-23 2023-10-23 Safe anti-tampering storage method and system for data of automobile data recorder

Publications (2)

Publication Number Publication Date
CN117113439A true CN117113439A (en) 2023-11-24
CN117113439B CN117113439B (en) 2024-02-06

Family

ID=88793438

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311369676.3A Active CN117113439B (en) 2023-10-23 2023-10-23 Safe anti-tampering storage method and system for data of automobile data recorder

Country Status (1)

Country Link
CN (1) CN117113439B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060056558A (en) * 2004-11-22 2006-05-25 주식회사 네빌소프트 Encoding and decoding method for video
WO2015011840A1 (en) * 2013-07-26 2015-01-29 株式会社日立製作所 Differential data transmission system and method
CN110009621A (en) * 2019-04-02 2019-07-12 广东工业大学 One kind distorting video detecting method, device, equipment and readable storage medium storing program for executing
CN110599486A (en) * 2019-09-20 2019-12-20 福州大学 Method and system for detecting video plagiarism
CN111563531A (en) * 2020-04-03 2020-08-21 延安市公安局 Video tampering detection method, system, storage medium, computer program, and terminal
US20230112135A1 (en) * 2021-10-07 2023-04-13 Axis Ab Signed video data with linked hashes

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060056558A (en) * 2004-11-22 2006-05-25 주식회사 네빌소프트 Encoding and decoding method for video
WO2015011840A1 (en) * 2013-07-26 2015-01-29 株式会社日立製作所 Differential data transmission system and method
CN110009621A (en) * 2019-04-02 2019-07-12 广东工业大学 One kind distorting video detecting method, device, equipment and readable storage medium storing program for executing
CN110599486A (en) * 2019-09-20 2019-12-20 福州大学 Method and system for detecting video plagiarism
CN111563531A (en) * 2020-04-03 2020-08-21 延安市公安局 Video tampering detection method, system, storage medium, computer program, and terminal
US20230112135A1 (en) * 2021-10-07 2023-04-13 Axis Ab Signed video data with linked hashes

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
G. SUJATHA 等: "Video Tampering Detection Using Difference- Hashing Algorithm", JOURNAL OF PHYSICS: CONFERENCE SERIES, pages 1 - 6 *

Also Published As

Publication number Publication date
CN117113439B (en) 2024-02-06

Similar Documents

Publication Publication Date Title
CN115885289A (en) Modeling dependency with global self-attention neural networks
CN112383554B (en) Interface flow abnormity detection method and device, terminal equipment and storage medium
CN111415336B (en) Image tampering identification method, device, server and storage medium
CN103747271A (en) Video tamper detection method and device based on mixed perceptual hashing
CN110610144A (en) Expression recognition method and system for privacy protection
CN106982372B (en) Image processing method and apparatus
CN111476234A (en) Method and device for recognizing characters of shielded license plate, storage medium and intelligent equipment
CN111915568A (en) Image tampering positioning model generation method, image tampering positioning method and device
CN113661497A (en) Matching method, matching device, electronic equipment and computer-readable storage medium
CN117113439B (en) Safe anti-tampering storage method and system for data of automobile data recorder
CN113360911A (en) Malicious code homologous analysis method and device, computer equipment and storage medium
CN116994044A (en) Construction method of image anomaly detection model based on mask multi-mode generation countermeasure network
CN115934484A (en) Diffusion model data enhancement-based anomaly detection method, storage medium and equipment
CN115761599A (en) Video anomaly detection method and system
CN112288748B (en) Semantic segmentation network training and image semantic segmentation method and device
KR20190051430A (en) Apparatus and Method for Falsification Protection of Video Data
US20230059442A1 (en) Method and apparatus for extracting a fingerprint of video having a plurality of frames
KR102301295B1 (en) Evaluating method on the robustness of watermarks embedded in neural networks against model stealing attacks
CN113111833B (en) Safety detection method and device of artificial intelligence system and terminal equipment
CN112101279B (en) Target object abnormality detection method, target object abnormality detection device, electronic equipment and storage medium
CN112381408B (en) Quality inspection method and device and electronic equipment
CN116188821B (en) Copyright detection method, system, electronic device and storage medium
CN111967043B (en) Method, device, electronic equipment and storage medium for determining data similarity
WO2022222143A1 (en) Security test method and apparatus for artificial intelligence system, and terminal device
TWI740145B (en) Method, electrical device, and computer program product for hiding information and protecting privacy of video

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