CN111522878B - Block chain-based vehicle-mounted video processing method, device, computer and medium - Google Patents

Block chain-based vehicle-mounted video processing method, device, computer and medium Download PDF

Info

Publication number
CN111522878B
CN111522878B CN202010291761.2A CN202010291761A CN111522878B CN 111522878 B CN111522878 B CN 111522878B CN 202010291761 A CN202010291761 A CN 202010291761A CN 111522878 B CN111522878 B CN 111522878B
Authority
CN
China
Prior art keywords
vehicle
information
video information
blockchain
mounted video
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
CN202010291761.2A
Other languages
Chinese (zh)
Other versions
CN111522878A (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.)
Mingshang Technology Co ltd
Original Assignee
Mingshang 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 Mingshang Technology Co ltd filed Critical Mingshang Technology Co ltd
Priority to CN202010291761.2A priority Critical patent/CN111522878B/en
Publication of CN111522878A publication Critical patent/CN111522878A/en
Application granted granted Critical
Publication of CN111522878B publication Critical patent/CN111522878B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • 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
    • 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

Landscapes

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

Abstract

The invention relates to a block chain-based vehicle-mounted video processing method, a block chain-based vehicle-mounted video processing device, a computer and a medium, wherein the method comprises the following steps: acquiring at least one vehicle-mounted video information at preset time intervals; acquiring vehicle information; and associating the vehicle information with the vehicle-mounted video information, and broadcasting the associated vehicle information and the associated vehicle-mounted video information to other nodes of a blockchain. Through broadcasting the vehicle-mounted video information and the vehicle information, other nodes of the blockchain can receive the vehicle-mounted video information and the vehicle information, and one of the nodes can pack the vehicle-mounted video information and the vehicle information to generate a block and link the block into the blockchain, so that the vehicle-mounted video information can be stored in the blockchain; the distributed storage of the vehicle-mounted video information is realized through the block chain, so that the vehicle-mounted video information is not easy to tamper, and the storage of the vehicle-mounted information is more efficient and safer.

Description

Block chain-based vehicle-mounted video processing method, device, computer and medium
Technical Field
The invention relates to the technical field of intelligent automobiles, in particular to a block chain-based vehicle-mounted video processing method.
Background
With the rapid development of the automobile industry, an on-board monitoring video device has become an indispensable device on a vehicle. The video of the current vehicle-mounted monitoring video equipment is generally stored on a hard disk on a vehicle, and the hard disk is frequently vibrated in the running process due to the fact that the vehicle running condition is complex, so that the storage life of the hard disk is influenced, and data loss can be caused. Therefore, in order to avoid data loss, the video data can be stored on a remote server, but if a large number of vehicle trains simultaneously store a large number of video data in the server, the server is certainly overloaded, more resources of the server are occupied, and the operation efficiency of the server is low.
Disclosure of Invention
Based on this, it is necessary to provide a method of blockchain-based on-board video processing.
A method of blockchain-based on-board video processing, comprising:
acquiring at least one vehicle-mounted video information at preset time intervals;
acquiring vehicle information;
and associating the vehicle information with the vehicle-mounted video information, and broadcasting the associated vehicle information and the associated vehicle-mounted video information to other nodes of a blockchain.
In one embodiment, further comprising:
receiving the associated vehicle information and the vehicle-mounted video information;
generating a block containing the associated vehicle information and the in-vehicle video information based on the associated vehicle information and the in-vehicle video information;
the block is added to the blockchain.
In one embodiment, the step of generating a tile containing the associated vehicle information and the in-vehicle video information based on the associated vehicle information and the in-vehicle video information comprises:
acquiring current time and generating a time stamp according to the current time;
based on the associated vehicle information and the in-vehicle video information, generating a block containing the associated vehicle information and the in-vehicle video information according to the time stamp.
In one embodiment, the step of associating the vehicle information with the in-vehicle video information and broadcasting the associated vehicle information and in-vehicle video information to other nodes of a blockchain includes:
associating the vehicle information with the vehicle-mounted video information, and broadcasting the associated vehicle information and the associated vehicle-mounted video information to other nodes of a blockchain;
after the associated vehicle information and the vehicle-mounted video information generation block are merged into a block chain, indication information corresponding to the vehicle information and the vehicle-mounted video information is generated;
broadcasting the indication information to other nodes of the blockchain.
In one embodiment, further comprising:
receiving indication information;
generating a block containing the indication information based on the indication information;
and adding the block containing the indication information to the blockchain.
In one embodiment, the vehicle information includes at least: vehicle speed information, position information, engine torque information, engine speed information, and vehicle identification information.
In one embodiment, before the step of acquiring at least one in-vehicle video information at preset time intervals, the method further includes:
and acquiring the vehicle-mounted video information, and storing the vehicle-mounted video information in a local memory.
An in-vehicle video processing device based on a blockchain, the device comprising:
the vehicle-mounted video information acquisition module is used for acquiring at least one vehicle-mounted video information at preset time intervals;
the vehicle information acquisition module is used for acquiring vehicle information;
and the information broadcasting module is used for associating the vehicle information with the vehicle-mounted video information and broadcasting the associated vehicle information and the associated vehicle-mounted video information to other nodes of the blockchain.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of:
acquiring at least one vehicle-mounted video information at preset time intervals;
acquiring vehicle information;
and associating the vehicle information with the vehicle-mounted video information, and broadcasting the associated vehicle information and the associated vehicle-mounted video information to other nodes of a blockchain.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
acquiring at least one vehicle-mounted video information at preset time intervals;
acquiring vehicle information;
and associating the vehicle information with the vehicle-mounted video information, and broadcasting the associated vehicle information and the associated vehicle-mounted video information to other nodes of a blockchain.
The beneficial effects of the invention are as follows: through broadcasting the vehicle-mounted video information and the vehicle information, other nodes of the blockchain can receive the vehicle-mounted video information and the vehicle information, and one of the nodes can pack the vehicle-mounted video information and the vehicle information to generate a block and link the block into the blockchain, so that the vehicle-mounted video information can be stored in the blockchain; the distributed storage of the vehicle-mounted video information is realized through the block chain, so that the vehicle-mounted video information is not easy to tamper, and the storage of the vehicle-mounted information is more efficient and safer.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the invention, and that other drawings can be obtained from these drawings without inventive faculty for a person skilled in the art.
FIG. 1 is an application environment diagram of a blockchain-based information pushing method in one embodiment;
FIG. 2 is a flow diagram of a blockchain-based information pushing method in an embodiment;
FIG. 3 is a block diagram of a block chain based information pushing device in one embodiment;
fig. 4 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The information pushing method based on the block chain can be applied to an application environment shown in fig. 1. Wherein, an intelligent gateway is configured on each vehicle, and the intelligent gateway can be regarded as a computer. The plurality of intelligent gateways 102 are connected to each other and communicate with each other through a mobile network, such as a 5G network, and each intelligent gateway 102 is also connected to the server 104 through a network and communicates with the server 104 connection. Each of the intelligent gateways 102 and the server 104 is a node in the blockchain, each of the intelligent gateways 102 and the server 104 is capable of broadcasting as a node to other nodes in the blockchain, and each of the intelligent gateways 102 and the server 104 is capable of receiving broadcasts of other nodes and is capable of packaging the received information into blocks, and entering the blockchain into the blockchain to update the blockchain. The intelligent gateway 102 may be, but not limited to, a vehicle, an intelligent device, a computer, or an intelligent terminal, and the server 104 may be implemented by a stand-alone server or a server cluster formed by a plurality of servers. The intelligent gateway 102 acquires at least one piece of vehicle-mounted video information at preset time intervals; acquiring vehicle information; and associating the vehicle information with the vehicle-mounted video information, and broadcasting the associated vehicle information and the associated vehicle-mounted video information to other nodes of a blockchain.
As shown in fig. 2, a method for processing a block chain-based vehicle video according to an embodiment of the present invention includes:
step 210, acquiring at least one piece of vehicle-mounted video information at preset time intervals.
Specifically, the vehicle-mounted video information is video information shot by a vehicle-mounted camera on a vehicle, for example, the vehicle-mounted camera is a vehicle-mounted monitoring camera, the vehicle-mounted camera can shoot road conditions in front of a running road of the vehicle, at the moment, the vehicle-mounted camera is used as a vehicle recorder, and the vehicle-mounted camera can shoot the situation in a carriage. In this embodiment, the vehicle-mounted video information is acquired and then uploaded at intervals, so that the total data volume can be effectively reduced, and network blocking is avoided.
For example, the time nodes for acquiring the vehicle-mounted video information of different vehicles are different, so that the vehicle-mounted video information can be uploaded at different time nodes for different vehicles, network congestion caused by large data volume can be effectively avoided, and the load of each node is effectively reduced.
In one embodiment, at least one in-vehicle video information is acquired at preset intervals when a trigger event is detected. In this embodiment, the triggering event is a preset event capable of triggering uploading of the vehicle-mounted video information, and the event indicates that the road condition of the vehicle running at the moment is bad or the running state of the vehicle is bad, and then the vehicle-mounted video information is triggered to be acquired and uploaded at the moment, so that the situation of the vehicle in the case of bad road condition or bad running state can be effectively recorded.
Step 220, obtain vehicle information.
In this embodiment, the vehicle information includes vehicle identification information, which is a unique identification of the vehicle, for distinguishing between different vehicles. In this embodiment, the source of the in-vehicle video information can be located by the vehicle information. In one embodiment, the step includes obtaining the vehicle information and the current time, and the time node of the positioning vehicle-mounted video information to be uploaded can be obtained by obtaining the current time.
And step 230, associating the vehicle information with the vehicle-mounted video information, and broadcasting the associated vehicle information and the associated vehicle-mounted video information to other nodes of a blockchain.
In this embodiment, the vehicle information and the vehicle-mounted video information are associated so that a corresponding relationship is established between the vehicle information and the vehicle-mounted video information, so that a plurality of vehicle-mounted video information can be respectively corresponding to different vehicles.
In this embodiment, the nodes of the blockchain are composed of a plurality of computer devices on the vehicle, where the computer devices on the vehicle are intelligent gateways on the vehicle, and may also include a server, where the computer devices on the vehicle and the server compose each node of the blockchain, and each node can store a block of the blockchain. Each node broadcasts the associated vehicle information and the vehicle-mounted video information of the current vehicle so that other nodes can receive the associated vehicle information and the vehicle-mounted video information broadcast, a block is generated based on the mining principle of the block chain, and the node which generates an effective block at the earliest time inputs the effective block chain into the block chain, so that the block chain is updated.
In the above embodiment, by broadcasting the vehicle-mounted video information and the vehicle information, other nodes of the blockchain can receive the vehicle-mounted video information and the vehicle information, and further, one of the nodes can package the vehicle-mounted video information and the vehicle information broadcast to generate a block and link the block into the blockchain, so that the vehicle-mounted video information can be stored in the blockchain; the distributed storage of the vehicle-mounted video information is realized through the block chain, so that the vehicle-mounted video information is not easy to tamper, and the storage of the vehicle-mounted information is more efficient and safer.
In one embodiment, the method of blockchain-based on-board video processing further comprises: receiving the associated vehicle information and the vehicle-mounted video information; generating a block containing the associated vehicle information and the in-vehicle video information based on the associated vehicle information and the in-vehicle video information; the block is added to the blockchain.
Specifically, a blockchain is a shared database through which blocks store data or information, with blocks in the blockchain being formed by the packaging of nodes joining the blockchain. In this embodiment, since each node in the blockchain is capable of receiving broadcast information sent by other nodes, when receiving the associated vehicle information and the vehicle-mounted video information broadcast by other nodes, the associated vehicle information and the vehicle-mounted video information are packaged to generate a block, and the blockchain is imported into the blockchain, so that the blockchain is updated. It is worth mentioning that, because each node is performing calculation, the block generated by the node with the earliest successful mining is the effective block based on the mining principle of the blockchain.
It should be understood that the blocks of the blockchain are generated by the nodes distributed in the network, and the blocks of the blockchain are recorded and updated by the nodes in the network, so that the on-vehicle video information is stored in a distributed manner without a server, occupation of server resources can be effectively reduced, the on-vehicle video information can be recorded more reliably, tampering is effectively avoided, and since each node can independently store the blockchain, reading efficiency of the second user identification information can be effectively improved, and thus acquisition efficiency is improved.
In one embodiment, the step of generating a tile containing the associated vehicle information and the in-vehicle video information based on the associated vehicle information and the in-vehicle video information comprises: acquiring current time and generating a time stamp according to the current time; based on the associated vehicle information and the in-vehicle video information, generating a block containing the associated vehicle information and the in-vehicle video information according to the time stamp.
In this embodiment, the time stamp records the generation time of the block. It should be noted that, since each node in the blockchain performs mining after receiving the associated vehicle information and the vehicle-mounted video information, the mining time of each node is different, and the generated block can be acknowledged by other nodes for the node which firstly claims to finish mining, by recording the time stamp, when a plurality of nodes generate blocks, one block can be determined to be an effective block, and the time of the time stamp of the effective block is earliest.
It should be noted that, the node for generating a block according to the associated vehicle information and the on-board video information may be a current node, or may be another node in the blockchain that receives the broadcast associated vehicle information and the on-board video information, for example, the node may also be a server.
It should be understood that, for the vehicle information and the on-vehicle video information generating node according to the association, the implementation principle is the same as that of the generation of the block of the existing blockchain, for example, the block header information of the latest block in the blockchain is obtained, the hash operation is performed according to the block header information, the block header information of the current block is obtained, and the associated vehicle information and the on-vehicle video information are written into the block header of the block to generate the block. Each node will perform the operation of generating a block and for the node that generated the current block earliest, that node will be successfully linked into the blockchain. That is, each node "mines" based on the broadcasted associated vehicle information and the on-board video information, respectively, and for a node that successfully "mines", its generated block is then linked into the blockchain. In this way, each node has the opportunity to enter the block chain generated by each node into the block and update the block chain, so that the associated vehicle information and the vehicle-mounted video information are stored in a distributed mode.
In one embodiment, the step of associating the vehicle information with the in-vehicle video information and broadcasting the associated vehicle information and in-vehicle video information to other nodes of a blockchain includes: associating the vehicle information with the vehicle-mounted video information, and broadcasting the associated vehicle information and the associated vehicle-mounted video information to other nodes of a blockchain; after the associated vehicle information and the vehicle-mounted video information generation block are merged into a block chain, indication information corresponding to the vehicle information and the vehicle-mounted video information is generated; broadcasting the indication information to other nodes of the blockchain.
In this embodiment, the indication information is used to indicate the associated vehicle information and the vehicle-mounted video information, and indicate the time and the block that the vehicle information and the vehicle-mounted video information are broadcast, so that after the indication information is broadcast to other nodes, the other nodes can package the indication information to generate the block, when the associated block corresponding to the vehicle information and the vehicle-mounted video information needs to be obtained, the block where the indication information is located can be analyzed first to obtain the indication information, and the associated block corresponding to the vehicle information and the vehicle-mounted video information is determined according to the indication information, so that the associated block corresponding to the vehicle information and the vehicle-mounted video information can be found quickly, and the obtaining efficiency of the vehicle-mounted video information in the block chain is effectively improved.
In one embodiment, the method of blockchain-based on-board video processing further comprises: receiving indication information; generating a block containing the indication information based on the indication information; and adding the block containing the indication information to the blockchain.
In this embodiment, when a node receives indication information broadcast by other nodes, a block containing the indication information is generated based on the indication information, and a blockchain containing the indication information is imported into the blockchain, so that the blockchain is updated, and the blockchain records the indication information, thereby effectively improving the acquisition efficiency of the vehicle-mounted video information in the blockchain.
In one embodiment, the vehicle information includes at least: vehicle speed information, position information, engine torque information, engine speed information, and vehicle identification information.
In this embodiment, the vehicle information includes not only the vehicle identification information, but also the vehicle speed information, the position information, the engine torque information and the engine rotational speed information, which record the current running state of the vehicle and reflect the road conditions, for example, whether the vehicle is in a climbing state, a downhill state or is running on a level road at this time can be calculated according to the vehicle speed information, the engine torque information and the engine rotational speed information, and the position and the altitude where the vehicle is located at this time can be determined according to the position information. For example, the vehicle speed information, the engine torque information and the engine rotation speed information can be obtained through a driving computer of the vehicle, for example, the position information is GPS (Global Positioning System ) position information, and can be obtained through a GPS module. It should be understood that, in general, when an accident or accident occurs in a vehicle, abnormality occurs in correspondence of vehicle speed information, position information, engine torque information, and engine speed information with each other, and then the occurrence of the accident or accident can be determined. Through the information corresponding to the running state of the vehicle, the vehicle-mounted video information can be corresponding, so that the running state of the vehicle and the vehicle-mounted video information can be recorded in the blockchain, the state of the vehicle and the monitoring video can be recorded conveniently when the vehicle has an accident or accident, and the evidence collection after the accident is facilitated.
In one embodiment, before the step of acquiring at least one in-vehicle video information at preset time intervals, the method further includes: and acquiring the vehicle-mounted video information, and storing the vehicle-mounted video information in a local memory.
In this embodiment, the local memory is a memory disposed on a vehicle, and after the vehicle-mounted video information is acquired, the vehicle-mounted video information is stored in real time in the local memory, so that the vehicle-mounted video information is not only stored in each node but also stored in the local memory, and because the local memory has the advantage of fast storage speed, the vehicle-mounted video information can be quickly stored, and the vehicle-mounted video can be stored in full quantity, so that the storage of the vehicle-mounted video information is more comprehensive.
In one embodiment, the vehicle information includes vehicle state information including vehicle speed information, engine torque information, and engine speed information, and road condition information including position information, altitude information, and hill climbing information.
In one embodiment, the blockchain-based on-board video processing method further includes: the vehicle state information and the road condition information are input into the deep neural network model for learning, for example, the vehicle state information and the road condition information of the vehicle during normal running and abnormal running or failure and accident occurrence are input into the deep neural network model for learning, the vehicle state information and the road condition information corresponding to the vehicle during abnormal running or failure and accident occurrence are obtained, and the vehicle state information and the road condition information corresponding to the vehicle during abnormal running or failure and accident occurrence are output as preset conditions.
In this embodiment, through learning of the deep neural network model, the deep neural network model can analyze vehicle state information and road condition information corresponding to the abnormal running of the vehicle or the occurrence of a fault and an accident, or analyze vehicle state information and road condition information corresponding to the abnormal running of the vehicle or the occurrence of the fault and the accident, so that an intelligent gateway on each vehicle can detect the abnormal state of the vehicle and timely broadcast vehicle-mounted video information.
In one embodiment, the step of acquiring at least one in-vehicle video information at preset intervals includes: and detecting whether a trigger event occurs, and acquiring at least one piece of vehicle-mounted video information at preset intervals when the trigger event is detected.
The step of detecting whether a trigger event occurs comprises the following steps: detecting whether the vehicle state information and the road condition information of the vehicle accord with preset conditions, and determining that a triggering event is detected when the vehicle state information and the road condition information accord with the preset conditions.
Thus, when the vehicle state information and the road condition information meet the preset conditions, the condition that the vehicle is about to enter an abnormality, a fault or an accident is indicated, and therefore, the fact that a trigger event is detected is determined, one piece of vehicle-mounted video information is acquired at intervals, the acquired vehicle-mounted video information and the vehicle information are associated, and the vehicle-mounted video information and the vehicle information are broadcasted. It should be understood that in this step, the vehicle-mounted video information may be obtained by reading from a local memory, or may be obtained by capturing with a camera in real time. Therefore, when the emergency occurs to the vehicle, the vehicle-mounted video information is broadcasted and stored in the blockchain, so that the effectiveness and timeliness of the video can be effectively protected, the loss of the video information is avoided, the uploading and broadcasting of a large amount of video data are avoided, and the network congestion is avoided.
In one embodiment, as shown in fig. 3, there is provided a block chain based on-vehicle video processing apparatus, comprising:
the in-vehicle video information obtaining module 310 is configured to obtain at least one in-vehicle video information at preset intervals.
The vehicle information acquisition module 320 is configured to acquire vehicle information.
And an information broadcasting module 330, configured to associate the vehicle information with the in-vehicle video information, and broadcast the associated vehicle information and in-vehicle video information to other nodes of a blockchain.
In one embodiment, the blockchain-based in-vehicle video processing device further includes:
and the information receiving module is used for receiving the associated vehicle information and the associated vehicle-mounted video information.
And the block generation module is used for generating a block containing the associated vehicle information and the vehicle-mounted video information based on the associated vehicle information and the vehicle-mounted video information.
A first blockchain entry module for adding the block to the blockchain.
In one embodiment, the block generation module includes:
and the time stamp generating unit is used for acquiring the current time and generating a time stamp according to the current time.
And the block generating unit is used for generating a block containing the associated vehicle information and the vehicle-mounted video information according to the timestamp based on the associated vehicle information and the vehicle-mounted video information.
In one embodiment, the information broadcasting module includes:
and the first information broadcasting unit is used for associating the vehicle information with the vehicle-mounted video information and broadcasting the associated vehicle information and the associated vehicle-mounted video information to other nodes of the blockchain.
And after the associated vehicle information and the associated vehicle-mounted video information generation block are merged into a block chain, the indication information is generated, and the indication information corresponding to the vehicle information and the vehicle-mounted video information is generated.
And the second information broadcasting unit is used for broadcasting the indication information to other nodes of the block chain.
In one embodiment, the blockchain-based in-vehicle video processing device further includes:
the indication information receiving module is used for receiving the indication information.
And the indication information block generation module is used for generating a block containing the indication information based on the indication information.
And the second blockchain entry module is used for adding the block containing the indication information to the blockchain.
In one embodiment, the vehicle information includes at least: vehicle speed information, position information, engine torque information, engine speed information, and vehicle identification information.
In one embodiment, the on-vehicle video processing device based on the blockchain further comprises a local storage module, wherein the local storage module is used for acquiring on-vehicle video information and storing the on-vehicle video information in a local memory.
For specific limitations on the blockchain-based on-vehicle video processing device, reference may be made to the above limitations on the blockchain-based information pushing method, and no further description is given here. The various modules in the above-described blockchain-based on-board video processing device may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server and may be a terminal, and in this embodiment, the computer device is an intelligent gateway in an automobile, and is used to connect with the server and connect with intelligent gateways of other automobiles, and the intelligent gateway is used as a node in a blockchain, and the internal structure diagram of the intelligent gateway may be shown in fig. 4. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used to store the blockchain. The network interface of the computer device is used for communicating with external nodes such as terminals through network connection, and the network can be a 4G network or a 5G network. It should be understood that the 5G network has the characteristics of low delay, high bandwidth and high rate, and can meet the requirement of broadcasting the vehicle-mounted video information to each node in the application, and the node can also rapidly receive the vehicle-mounted video information. The computer program, when executed by a processor, implements a blockchain-based information pushing method.
Those skilled in the art will appreciate that the structures shown in FIG. 4 are block diagrams only and do not constitute a limitation of the computer device on which the present aspects apply, and that a particular computer device may include more or less components than those shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided that includes a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program
And acquiring at least one piece of vehicle-mounted video information at preset time intervals.
Vehicle information is acquired.
And associating the vehicle information with the vehicle-mounted video information, and broadcasting the associated vehicle information and the associated vehicle-mounted video information to other nodes of a blockchain.
In one embodiment, the processor when executing the computer program further performs the steps of:
and receiving the associated vehicle information and the vehicle-mounted video information.
A block including the associated vehicle information and the in-vehicle video information is generated based on the associated vehicle information and the in-vehicle video information.
The block is added to the blockchain.
In one embodiment, the processor when executing the computer program further performs the steps of:
and obtaining the current time and generating a time stamp according to the current time.
Based on the associated vehicle information and the in-vehicle video information, generating a block containing the associated vehicle information and the in-vehicle video information according to the time stamp.
In one embodiment, the processor when executing the computer program further performs the steps of:
and associating the vehicle information with the vehicle-mounted video information, and broadcasting the associated vehicle information and the associated vehicle-mounted video information to other nodes of a blockchain.
And after the associated vehicle information and the associated vehicle-mounted video information are generated and are in a blockchain, indicating information corresponding to the vehicle information and the associated vehicle-mounted video information is generated.
Broadcasting the indication information to other nodes of the blockchain.
In one embodiment, the processor when executing the computer program further performs the steps of:
and receiving indication information.
Based on the indication information, a block containing the indication information is generated.
And adding the block containing the indication information to the blockchain.
In one embodiment, the processor when executing the computer program further performs the steps of:
and acquiring the vehicle-mounted video information, and storing the vehicle-mounted video information in a local memory.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
and acquiring at least one piece of vehicle-mounted video information at preset time intervals.
Vehicle information is acquired.
And associating the vehicle information with the vehicle-mounted video information, and broadcasting the associated vehicle information and the associated vehicle-mounted video information to other nodes of a blockchain.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and receiving the associated vehicle information and the vehicle-mounted video information.
A block including the associated vehicle information and the in-vehicle video information is generated based on the associated vehicle information and the in-vehicle video information.
The block is added to the blockchain.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and obtaining the current time and generating a time stamp according to the current time.
Based on the associated vehicle information and the in-vehicle video information, generating a block containing the associated vehicle information and the in-vehicle video information according to the time stamp.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and associating the vehicle information with the vehicle-mounted video information, and broadcasting the associated vehicle information and the associated vehicle-mounted video information to other nodes of a blockchain.
And after the associated vehicle information and the associated vehicle-mounted video information are generated and are in a blockchain, indicating information corresponding to the vehicle information and the associated vehicle-mounted video information is generated.
Broadcasting the indication information to other nodes of the blockchain.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and receiving indication information.
Based on the indication information, a block containing the indication information is generated.
And adding the block containing the indication information to the blockchain.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and acquiring the vehicle-mounted video information, and storing the vehicle-mounted video information in a local memory.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (6)

1. A blockchain-based vehicle-mounted video processing method, comprising:
acquiring at least one vehicle-mounted video information at preset time intervals;
acquiring vehicle information;
associating the vehicle information with the vehicle-mounted video information, and broadcasting the associated vehicle information and the associated vehicle-mounted video information to other nodes of a blockchain; the step of associating the vehicle information with the in-vehicle video information and broadcasting the associated vehicle information and in-vehicle video information to other nodes of a blockchain includes: associating the vehicle information with the vehicle-mounted video information, and broadcasting the associated vehicle information and the associated vehicle-mounted video information to other nodes of a blockchain; after the associated vehicle information and the vehicle-mounted video information generation block are merged into a block chain, indication information corresponding to the vehicle information and the vehicle-mounted video information is generated; broadcasting the indication information to other nodes of the blockchain;
receiving the associated vehicle information and the vehicle-mounted video information;
generating a block containing the associated vehicle information and the in-vehicle video information based on the associated vehicle information and the in-vehicle video information; the step of generating a block containing the associated vehicle information and the in-vehicle video information based on the associated vehicle information and the in-vehicle video information includes: acquiring current time and generating a time stamp according to the current time; generating a block containing the associated vehicle information and the vehicle-mounted video information according to the timestamp based on the associated vehicle information and the vehicle-mounted video information;
adding the block to the blockchain; receiving indication information; generating a block containing the indication information based on the indication information; and adding the block containing the indication information to the blockchain.
2. The blockchain-based on-board video processing method of claim 1, wherein the vehicle information includes at least: vehicle speed information, position information, engine torque information, engine speed information, and vehicle identification information.
3. The blockchain-based on-vehicle video processing method of claim 1, wherein the step of acquiring at least one on-vehicle video information every predetermined time interval further comprises:
and acquiring the vehicle-mounted video information, and storing the vehicle-mounted video information in a local memory.
4. A blockchain-based on-board video processing device, the device comprising:
the vehicle-mounted video information acquisition module is used for acquiring at least one vehicle-mounted video information at preset time intervals;
the vehicle information acquisition module is used for acquiring vehicle information;
the information broadcasting module is used for associating the vehicle information with the vehicle-mounted video information and broadcasting the associated vehicle information and the associated vehicle-mounted video information to other nodes of a blockchain; the step of associating the vehicle information with the in-vehicle video information and broadcasting the associated vehicle information and in-vehicle video information to other nodes of a blockchain includes: associating the vehicle information with the vehicle-mounted video information, and broadcasting the associated vehicle information and the associated vehicle-mounted video information to other nodes of a blockchain; after the associated vehicle information and the vehicle-mounted video information generation block are merged into a block chain, indication information corresponding to the vehicle information and the vehicle-mounted video information is generated; broadcasting the indication information to other nodes of the blockchain; receiving the associated vehicle information and the vehicle-mounted video information; generating a block containing the associated vehicle information and the in-vehicle video information based on the associated vehicle information and the in-vehicle video information; the step of generating a block containing the associated vehicle information and the in-vehicle video information based on the associated vehicle information and the in-vehicle video information includes: acquiring current time and generating a time stamp according to the current time; generating a block containing the associated vehicle information and the vehicle-mounted video information according to the timestamp based on the associated vehicle information and the vehicle-mounted video information; adding the block to the blockchain; receiving indication information; generating a block containing the indication information based on the indication information; and adding the block containing the indication information to the blockchain.
5. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 3 when the computer program is executed by the processor.
6. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 3.
CN202010291761.2A 2020-04-14 2020-04-14 Block chain-based vehicle-mounted video processing method, device, computer and medium Active CN111522878B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010291761.2A CN111522878B (en) 2020-04-14 2020-04-14 Block chain-based vehicle-mounted video processing method, device, computer and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010291761.2A CN111522878B (en) 2020-04-14 2020-04-14 Block chain-based vehicle-mounted video processing method, device, computer and medium

Publications (2)

Publication Number Publication Date
CN111522878A CN111522878A (en) 2020-08-11
CN111522878B true CN111522878B (en) 2024-01-02

Family

ID=71902597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010291761.2A Active CN111522878B (en) 2020-04-14 2020-04-14 Block chain-based vehicle-mounted video processing method, device, computer and medium

Country Status (1)

Country Link
CN (1) CN111522878B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113037496B (en) * 2021-03-15 2022-11-04 承德石油高等专科学校 Video acquisition device and method based on block chain technology
CN113132950B (en) * 2021-06-21 2022-02-15 智己汽车科技有限公司 Method and device for processing driving data based on block chain

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009646A (en) * 2017-11-30 2018-05-08 深圳市轱辘车联数据技术有限公司 Vehicle data processing method and server
CN108537916A (en) * 2018-04-17 2018-09-14 深圳市元征科技股份有限公司 A kind of driving recording information processing method and device based on block chain
CN109325751A (en) * 2018-09-30 2019-02-12 深圳市元征科技股份有限公司 A kind of vehicle violation method for monitoring and relevant device based on block chain technology
CN110139073A (en) * 2019-05-10 2019-08-16 浙江大华技术股份有限公司 Automobile video frequency monitoring data sending method, device and computer equipment
CN110266635A (en) * 2018-04-26 2019-09-20 腾讯科技(深圳)有限公司 Information of vehicles sharing method, device, computer-readable medium and electronic equipment
CN110533912A (en) * 2019-09-16 2019-12-03 腾讯科技(深圳)有限公司 Driving behavior detection method and device based on block chain
KR20200027784A (en) * 2018-09-05 2020-03-13 엔에이치엔 주식회사 Method for storaging driving record data based block chain

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108520462B (en) * 2018-03-30 2020-07-24 阿里巴巴集团控股有限公司 Service execution method and device based on block chain and electronic equipment
JP7056429B2 (en) * 2018-07-18 2022-04-19 株式会社デンソー History management method and history management device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009646A (en) * 2017-11-30 2018-05-08 深圳市轱辘车联数据技术有限公司 Vehicle data processing method and server
CN108537916A (en) * 2018-04-17 2018-09-14 深圳市元征科技股份有限公司 A kind of driving recording information processing method and device based on block chain
CN110266635A (en) * 2018-04-26 2019-09-20 腾讯科技(深圳)有限公司 Information of vehicles sharing method, device, computer-readable medium and electronic equipment
KR20200027784A (en) * 2018-09-05 2020-03-13 엔에이치엔 주식회사 Method for storaging driving record data based block chain
CN109325751A (en) * 2018-09-30 2019-02-12 深圳市元征科技股份有限公司 A kind of vehicle violation method for monitoring and relevant device based on block chain technology
CN110139073A (en) * 2019-05-10 2019-08-16 浙江大华技术股份有限公司 Automobile video frequency monitoring data sending method, device and computer equipment
CN110533912A (en) * 2019-09-16 2019-12-03 腾讯科技(深圳)有限公司 Driving behavior detection method and device based on block chain

Also Published As

Publication number Publication date
CN111522878A (en) 2020-08-11

Similar Documents

Publication Publication Date Title
CN111522878B (en) Block chain-based vehicle-mounted video processing method, device, computer and medium
US11425673B2 (en) Time synchronization for sensor data recording devices
CN110139073B (en) Vehicle video monitoring data sending method and device and computer equipment
US20140094992A1 (en) Triggering a specialized data collection mode
US20090319119A1 (en) Gateway control apparatus for vehicles and travel information recording method thereof
US9361739B2 (en) Odometer monitoring and redundant storage system
CN108280995B (en) Road condition data processing method and device of Internet of vehicles and computer equipment
CN110648244A (en) Block chain-based vehicle insurance scheme generation method and device and driving data processing system
CN113190977A (en) Accident responsibility analysis method and device for automatic driving vehicle
CN103529761A (en) New energy vehicle fault data acquisition method and device
CN111986348A (en) Video and vehicle-mounted video cyclic caching method and device and computer equipment
CN117033701A (en) Vehicle accident scene restoration method and device, intelligent terminal and storage medium
CN117033421A (en) Vehicle fault analysis method, device, equipment, medium and product
CN115657647B (en) Fault determination method, device, vehicle and storage medium
CN115294771B (en) Monitoring method and device for road side equipment, electronic equipment and storage medium
CN114199274B (en) Vehicle travel determination method, device, equipment and readable storage medium
CN116026441A (en) Method, device, equipment and storage medium for detecting abnormal load capacity of vehicle
CN112735169B (en) Vehicle route restoration method, equipment and medium
CN113345125B (en) Method, device, equipment and storage medium for detecting and processing vehicle falling event
CN114997801A (en) Vehicle abnormity monitoring method and device and server
CN109640054B (en) Block chain technology-based method for monitoring express way occupation of non-motor vehicle
CN115223273A (en) TCU data monitoring method and device, terminal equipment and storage medium
CN112766746A (en) Traffic accident recognition method and device, electronic equipment and storage medium
CN111145384A (en) Driving record data processing method and device, driving recorder and computer equipment
CN115171243A (en) Analysis management, device, terminal and storage medium for vehicle driving behaviors

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