CN111431988A - Vehicle information storage method and device based on block chain and storage medium - Google Patents

Vehicle information storage method and device based on block chain and storage medium Download PDF

Info

Publication number
CN111431988A
CN111431988A CN202010196786.4A CN202010196786A CN111431988A CN 111431988 A CN111431988 A CN 111431988A CN 202010196786 A CN202010196786 A CN 202010196786A CN 111431988 A CN111431988 A CN 111431988A
Authority
CN
China
Prior art keywords
vehicle
information
affiliated
attachment
protocol
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
CN202010196786.4A
Other languages
Chinese (zh)
Other versions
CN111431988B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010196786.4A priority Critical patent/CN111431988B/en
Publication of CN111431988A publication Critical patent/CN111431988A/en
Application granted granted Critical
Publication of CN111431988B publication Critical patent/CN111431988B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0861Network architectures or network communication protocols for network security for authentication of entities using biometrical features, e.g. fingerprint, retina-scan
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3297Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving time stamps, e.g. generation of time stamps

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a vehicle information storage method, device and storage medium based on a block chain, wherein the method comprises the following steps: acquiring the affiliated vehicle information, the affiliated enterprise information and the affiliated time effectiveness information which are input by the vehicle affiliated platform; calling an intelligent contract to add the vehicle parameter information, the first vehicle signature information, the attachment enterprise information and the attachment aging information into the protocol template, generating vehicle attachment protocol information, and establishing a corresponding relation between the vehicle identification and the vehicle attachment protocol information; and storing the vehicle identification and the vehicle attachment protocol information into the intelligent contract, and synchronizing the vehicle identification and the vehicle attachment protocol information to all block node equipment in a block chain network for storage. By adopting the invention, the storage of the vehicle attachment protocol can be realized based on a block chain network mode, so that the vehicle attachment protocol can be traced and checked at any time, and the integrity of the vehicle attachment protocol is effectively ensured.

Description

Vehicle information storage method and device based on block chain and storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a vehicle information storage method and device based on a block chain and a storage medium.
Background
With the increasing living standard of people, vehicles which are operated nearby can be reserved by using taxi taking software during traveling, aiming at the current modes of 'express bus', 'special bus' and the like, vehicles which are bought or rented by drivers and users often use leisure time to carry passengers, the problem of difficult traveling is greatly relieved, in order to realize the operational status of the vehicle, the driver user usually needs to perform corresponding operation safety training, and enter into a vehicle attachment agreement with the enterprise qualified for operation, because the existing vehicle attachment protocol is usually stored in a paper mode, the vehicle attachment protocol is usually lost and damaged artificially, so that the vehicle attachment protocol is not easy to store, the driver user cannot well browse the contents of the vehicle attachment protocol, and the integrity of the vehicle attachment protocol is influenced.
Disclosure of Invention
The embodiment of the invention provides a vehicle information storage method, device and storage medium based on a block chain, which can enable a vehicle attachment protocol to be traceable and to be checked at any time, and effectively ensure the integrity of the vehicle attachment protocol.
The embodiment of the invention provides a vehicle information storage method based on a block chain, which comprises the following steps:
acquiring affiliated vehicle information, affiliated enterprise information and affiliated time effectiveness information which are input by a vehicle affiliated platform, wherein the affiliated vehicle information comprises a vehicle identifier of an affiliated vehicle, vehicle parameter information and first vehicle signature information;
calling an intelligent contract to add the vehicle parameter information, the first vehicle signature information, the attachment enterprise information and the attachment aging information into the protocol template, generating vehicle attachment protocol information, and establishing a corresponding relation between the vehicle identification and the vehicle attachment protocol information;
and storing the vehicle identification and the vehicle attachment protocol information into the intelligent contract, and synchronizing the vehicle identification and the vehicle attachment protocol information to all block node equipment in a block chain network for storage.
Before obtaining the information of the attached vehicle, the information of the attached enterprise and the information of the attached time limit, which are input by the vehicle attached platform, the method further comprises the following steps:
acquiring enterprise qualification information corresponding to the attachment enterprise information input by the vehicle attachment platform, and synchronizing the enterprise qualification information to all block node devices in the block chain network for storage.
Wherein, still include:
acquiring operation transaction data of the affiliated vehicle input by an affiliated vehicle terminal, and generating a block according to the operation transaction data, wherein the operation transaction data comprises the vehicle identification, second vehicle signature information and a contract trigger function;
when the block is subjected to consensus processing, calling an intelligent contract according to a contract triggering function in the block, acquiring vehicle attachment protocol information corresponding to the vehicle identification through the intelligent contract, and matching the second vehicle signature information based on the first vehicle signature information in the vehicle attachment protocol information;
and when the first vehicle signature information is matched with the second vehicle signature information and the blocks are identified together, transmitting operation confirmation information to the affiliated vehicle terminal.
After the intelligent contract is called to obtain the vehicle attachment protocol information corresponding to the vehicle identifier, the method further comprises the following steps:
acquiring a data timestamp corresponding to the commercial transaction data, and matching the data timestamp based on the commercial time period in the vehicle attachment protocol information;
when the data timestamp belongs to the operation time period, performing a step of matching the second vehicle signature information based on the first vehicle signature information in the vehicle attach protocol information.
Wherein, still include:
acquiring agreement renewal information input by a vehicle attaching platform, wherein the agreement renewal information comprises a vehicle identifier and renewal aging information;
and calling the intelligent contract to acquire vehicle attachment protocol information corresponding to the vehicle identification, and updating attachment aging information in the vehicle attachment protocol information by adopting the continued aging information.
Wherein, still include:
and when the signing date indicated by the attaching time efficiency information in the vehicle attaching agreement information is reached, deleting the vehicle attaching agreement information in the intelligent contract.
Wherein, still include:
when the settlement date indicated by the vehicle attaching agreement information in the intelligent contract is reached, calling the vehicle attaching agreement information to acquire an attaching vehicle account and an attaching enterprise account;
and performing asset chain transfer processing on the affiliated vehicle account and the affiliated enterprise account based on the settlement asset indicated in the vehicle affiliation agreement information.
An embodiment of the present invention provides a vehicle information storage apparatus, including:
the system comprises a vehicle information acquisition unit, a vehicle information acquisition unit and a vehicle information acquisition unit, wherein the vehicle information acquisition unit is used for acquiring the affiliated vehicle information, the affiliated enterprise information and the affiliated time effect information which are input by a vehicle affiliated platform, and the affiliated vehicle information comprises a vehicle identifier, vehicle parameter information and first vehicle signature information of an affiliated vehicle;
the protocol information generating unit is used for calling an intelligent contract to add the vehicle parameter information, the first vehicle signature information, the attachment enterprise information and the attachment aging information into the protocol template, generating vehicle attachment protocol information and establishing a corresponding relation between the vehicle identification and the vehicle attachment protocol information;
and the vehicle information storage unit is used for storing the vehicle identification and the vehicle attachment protocol information into the intelligent contract and synchronizing the vehicle identification and the vehicle attachment protocol information to all block node equipment in a block chain network for storage.
Wherein, still include:
and the enterprise information storage unit is used for acquiring enterprise qualification information corresponding to the attachment enterprise information input by the vehicle attachment platform and synchronizing the enterprise qualification information to all block node equipment in the block chain network for storage.
Wherein, still include:
the block generation unit is used for acquiring operation transaction data of the attached vehicle input by the attached vehicle terminal and generating a block according to the operation transaction data, wherein the operation transaction data comprises the vehicle identification, second vehicle signature information and a contract trigger function;
the signature information matching unit is used for calling an intelligent contract according to a contract trigger function in the block when the block is subjected to consensus processing, acquiring vehicle attachment protocol information corresponding to the vehicle identifier through the intelligent contract, and matching the second vehicle signature information based on the first vehicle signature information in the vehicle attachment protocol information;
and the operation information sending unit is used for sending operation confirmation information to the affiliated vehicle terminal when the first vehicle signature information is matched with the second vehicle signature information and the blocks are identified together.
Wherein, still include:
the timestamp matching unit is used for acquiring a data timestamp corresponding to the commercial transaction data and matching the data timestamp based on the commercial time period in the vehicle attachment protocol information;
a notifying unit configured to notify the signature information matching unit to perform matching of the second vehicle signature information based on the first vehicle signature information in the vehicle attach protocol information, when the timestamp matching unit determines that the data timestamp belongs to the operation time period.
Wherein, still include:
the system comprises a contract continuation information acquisition unit, a contract updating unit and a contract updating unit, wherein the contract continuation information acquisition unit is used for acquiring agreement continuation information input by a vehicle attachment platform, and the agreement continuation information comprises a vehicle identifier and continuation time efficiency information;
and the aging information updating unit is used for calling the intelligent contract to acquire vehicle attachment protocol information corresponding to the vehicle identification, and updating the attachment aging information in the vehicle attachment protocol information by adopting the continued aging information.
Wherein, still include:
and the protocol information deleting unit is used for deleting the vehicle attachment protocol information in the intelligent contract when the signing date indicated by the attachment aging information in the vehicle attachment protocol information is reached.
Wherein, still include:
the account acquisition unit is used for calling the vehicle attachment protocol information to acquire an attachment vehicle account and an attachment enterprise account when the settlement date indicated by the vehicle attachment protocol information in the intelligent contract is reached;
and the asset data transfer processing is used for performing asset chain transfer processing on the affiliated vehicle account and the affiliated enterprise account based on the settlement asset indicated in the vehicle affiliation agreement information.
An aspect of the embodiments of the present invention provides a computer storage medium storing a computer program comprising program instructions that, when executed by a processor, perform the above-mentioned method steps.
One aspect of the embodiments of the present invention provides a computer device, including a processor, a memory, and an input/output interface;
the processor is respectively connected with the memory and the input/output interface, wherein the input/output interface is used for page interaction, the memory is used for storing program codes, and the processor is used for calling the program codes to execute the method steps.
In the embodiment of the invention, the vehicle attachment protocol is stored in a mode of an intelligent contract based on the blockchain network, and meanwhile, the loss and the damage of the vehicle attachment protocol are avoided by establishing the corresponding relation between the vehicle identification and the vehicle attachment protocol and synchronizing the vehicle identification and the vehicle attachment protocol to the blockchain node equipment in the blockchain network for storage, so that the vehicle attachment protocol can be traced and checked at any time, and the integrity of the vehicle attachment protocol is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a system architecture diagram of a vehicle information storage and processing provided by an embodiment of the present invention;
FIG. 2 is a schematic diagram of block chain construction provided by an embodiment of the invention;
FIG. 3 is a schematic flow chart illustrating a vehicle information storage method according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart diagram illustrating a vehicle information storage method according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating an example of entering a passenger-carrying operation mode according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a vehicle information storage device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a vehicle information storage apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Please refer to fig. 1 to fig. 5, which are a flowchart illustrating an apparatus access processing method according to an embodiment of the present invention.
Referring to fig. 1, a system architecture diagram for querying and processing vehicle information is provided according to an embodiment of the present invention. As shown in fig. 1, for the service processing of vehicle attachment based on a block chain 100, a plurality of blocks are required to be formed, a block may be built on a block node device 11, the plurality of block node devices 11 may be clients, background service devices, virtual machines built on the devices, and the like in the block chain 100, and each block node device 11 may receive input information during normal operation and maintain shared data in the block chain based on the received input information. In order to ensure information intercommunication within the block chain 100, there may be an information connection between each block node device 11 in the block chain 100, and the information transmission between the block node devices 11 may be performed through the information connection. For example, when an arbitrary node in the blockchain receives input information, the other blocknode devices 11 in the blockchain 100 acquire the input information according to the consensus algorithm, and store the input information as data in the shared data, so that the data stored in all the blocks of the blockchain 100 on all the blocknode devices 11 are consistent.
In the service scenario of vehicle attachment provided in the embodiment of the present invention, a vehicle information storage device serves as a block node device 11, and an attached vehicle terminal 12 and a vehicle attachment platform 13 may be respectively connected to a block chain 100, where the attached vehicle terminal 12 may specifically include, but is not limited to, a terminal device used by a driver user such as a mobile phone, a personal computer, a laptop, a vehicle-mounted device, and a wearable electronic device, and the attached vehicle terminal 12 may specifically browse and query vehicle attachment protocol information stored in the block node device 11, view enterprise qualification information of an attached enterprise, send operation transaction data to the block node device 11, and the like, and the operation transaction data is specifically used for requesting the block chain to enter a guest-carrying operation mode; the vehicle attachment platform 13 may specifically be a background service device attached to an enterprise, or may also be a management platform built in the background service device, the attached enterprise may include, but is not limited to, an enterprise having a guest-carrying operation qualification, an enterprise having a cargo-carrying operation qualification, and the like, and the vehicle attachment platform 13 may specifically implement items such as reporting processing of attached vehicle information of a driver user, reporting processing of enterprise qualification information of the attached enterprise, and obtaining an operation condition of the attached vehicle to a block chain network.
Referring to fig. 2, a schematic diagram of building a block chain is provided for the embodiment of the present invention. As shown in fig. 2, in order to further ensure the integrity of vehicle information storage, the embodiment of the present invention builds a block chain of a vehicle attachment scene, where the block chain may include a block chain bottom platform, a platform product service layer, and an application service layer.
The block chain underlying platform can comprise processing modules such as user management, basic service, intelligent contract and operation monitoring. The user management module is responsible for identity information management of all blockchain participants, and comprises public and private key generation maintenance (account management), key management, user real identity and blockchain address corresponding relation maintenance (authority management) and the like, and under the authorization condition, the user management module supervises and audits the transaction condition of certain real identities and provides rule configuration (wind control audit) of risk control; the basic service module is deployed on all block chain node equipment and used for verifying the validity of the service request, recording the service request to storage after consensus on the valid request is completed, for a new service request, the basic service firstly performs interface adaptation analysis and authentication processing (interface adaptation), then encrypts service information (consensus management) through a consensus algorithm, transmits the service information to a shared account (network communication) completely and consistently after encryption, and performs recording and storage; the intelligent contract module is responsible for registering and issuing contracts, triggering the contracts and executing the contracts, developers can define contract logics through a certain programming language, issue the contract logics to a block chain (contract registration), call keys or other event triggering and executing according to the logics of contract clauses, complete the contract logics and simultaneously provide the function of upgrading and canceling the contracts; the operation monitoring module is mainly responsible for deployment, configuration modification, contract setting, cloud adaptation in the product release process and visual output of real-time states in product operation, such as: alarm, monitoring network conditions, monitoring node equipment health status, and the like.
The platform product service layer provides basic capability and an implementation framework of typical application, and developers can complete block chain implementation of business logic based on the basic capability. The application service layer provides the application service based on the block chain scheme for the business participants to use.
Based on the implementation frameworks of fig. 1 and fig. 2, please refer to fig. 3 together, which provides a flow diagram of a vehicle information storage method according to an embodiment of the present invention. As shown in fig. 3, the method of the embodiment of the present invention may include the following steps S101 to S103.
S101, acquiring affiliated vehicle information, affiliated enterprise information and affiliated time effectiveness information which are input by a vehicle affiliated platform;
specifically, the vehicle information storage device may obtain affiliated vehicle information, affiliated enterprise information, and affiliated time effectiveness information, which are input by the vehicle affiliated platform, where the affiliated vehicle information includes a vehicle identifier of the affiliated vehicle, vehicle parameter information, and first vehicle signature information, where the vehicle identifier may be a unique identification code of the affiliated vehicle, the vehicle parameter information may include, but is not limited to, a vehicle brand, a vehicle model, a vehicle body color, a license plate number, a vehicle load, personal information of a driver user (owner), and the like, the first vehicle signature information may be generated by encrypting identity information of the driver user based on a user private key pre-allocated to the blockchain network, where the identity information may include, but is not limited to, a fingerprint, a human face, a login password field, and the like, and the affiliated enterprise information may include, but is not limited to, an enterprise name, a login password field, and the like, The information of the time period of attachment specifically comprises the starting date and the ending signing date of the signed vehicle attachment agreement information. The driver user and the attaching enterprise can gather attaching vehicle information, attaching enterprise information and attaching timeliness information, and the attaching vehicle information is sent to the vehicle information storage device through the vehicle attaching platform.
S102, calling an intelligent contract to add the vehicle parameter information, the first vehicle signature information, the attachment enterprise information and the attachment aging information into the protocol template, generating vehicle attachment protocol information, and establishing a corresponding relation between the vehicle identification and the vehicle attachment protocol information;
specifically, the vehicle information storage device may invoke a protocol template in an intelligent contract, add the vehicle parameter information, the first vehicle signature information, the affiliation enterprise information, and the affiliation aging information to the protocol template to generate vehicle affiliation protocol information, where the protocol template may be a protocol template for vehicle affiliation common to all affiliation enterprises, the vehicle information storage device may invoke the intelligent contract to identify the vehicle parameter information, the first vehicle signature information, the affiliation enterprise information, and the affiliation aging information, respectively, and write the vehicle parameter information, the first vehicle signature information, the affiliation enterprise information, and the affiliation aging information into the protocol template, respectively, to generate the vehicle affiliation protocol information, and further, the vehicle information storage device may establish a correspondence between the vehicle identifier and the vehicle affiliation protocol information based on the intelligent contract Is described.
S103, storing the vehicle identification and the vehicle attachment protocol information into the intelligent contract, and synchronizing the vehicle identification and the vehicle attachment protocol information to all block node equipment in a block chain network for storage;
specifically, the vehicle information storage device stores the vehicle identifier and the vehicle attachment protocol information in the intelligent contract, synchronizes the intelligent contract to all block node devices in the block chain network, and synchronizes the vehicle identifier and the vehicle attachment protocol information to the blocks of all block node devices in the block chain network for storage at the same time.
In the embodiment of the invention, the vehicle attachment protocol is stored in a mode of an intelligent contract based on the blockchain network, and meanwhile, the loss and the damage of the vehicle attachment protocol are avoided by establishing the corresponding relation between the vehicle identification and the vehicle attachment protocol and synchronizing the vehicle identification and the vehicle attachment protocol to the blockchain node equipment in the blockchain network for storage, so that the vehicle attachment protocol can be traced and checked at any time, and the integrity of the vehicle attachment protocol is ensured.
Referring to fig. 4 together based on the implementation frameworks of fig. 1 and fig. 2, a flow chart of a vehicle information storage method is provided for an embodiment of the present invention. As shown in fig. 4, the method of the embodiment of the present invention may include the following steps S201 to S214.
S201, acquiring enterprise qualification information corresponding to the affiliated enterprise information input by the vehicle affiliated platform, and synchronizing the enterprise qualification information to all block node devices in a block chain network for storage;
specifically, for all affiliated enterprises to which vehicles are affiliated, enterprise qualification information of the enterprises can be reported through the vehicle affiliated platform, the vehicle information storage device can acquire the enterprise qualification information corresponding to the affiliated enterprise information input by the vehicle affiliated platform, the enterprise qualification information can be an operation permission certificate distributed by a business bureau for the affiliated enterprises, specifically, the enterprise qualification information can include enterprise names, enterprise addresses, enterprise contact ways and the like, the vehicle information storage device can synchronize the enterprise qualification information to all block node devices in a block chain network for storage, and the reliability of vehicle affiliation can be further ensured through the unified management of the enterprise qualification information by the block chains.
S202, acquiring the affiliated vehicle information, the affiliated enterprise information and the affiliated time effectiveness information which are input by the vehicle affiliated platform;
specifically, the vehicle information storage device may obtain affiliated vehicle information, affiliated enterprise information, and affiliated time effectiveness information, which are input by the vehicle affiliated platform, where the affiliated vehicle information includes a vehicle identifier of the affiliated vehicle, vehicle parameter information, and first vehicle signature information, where the vehicle identifier may be a unique identification code of the affiliated vehicle, the vehicle parameter information may include, but is not limited to, a vehicle brand, a vehicle model, a vehicle body color, a license plate number, a vehicle load, personal information of a driver user (owner), and the like, the first vehicle signature information may be generated by encrypting identity information of the driver user based on a user private key pre-allocated to the blockchain network, where the identity information may include, but is not limited to, a fingerprint, a human face, a login password field, and the like, and the affiliated enterprise information may include, but is not limited to, an enterprise name, a login password field, and the like, The information of the time period of attachment specifically comprises the starting date and the ending signing date of the signed vehicle attachment agreement information. The driver user and the attaching enterprise can gather attaching vehicle information, attaching enterprise information and attaching timeliness information, and the attaching vehicle information is sent to the vehicle information storage device through the vehicle attaching platform.
S203, calling an intelligent contract to add the vehicle parameter information, the first vehicle signature information, the attachment enterprise information and the attachment aging information into the protocol template, generating vehicle attachment protocol information, and establishing a corresponding relation between the vehicle identification and the vehicle attachment protocol information;
specifically, the vehicle information storage device may invoke an intelligent contract to match the affiliated enterprise information with the enterprise qualification information, and when it is determined that the affiliated enterprise information matches the enterprise qualification information, the vehicle information storage device may invoke a protocol template in the intelligent contract, add the vehicle parameter information, the first vehicle signature information, the affiliated enterprise information, and the affiliated aging information to the protocol template to generate vehicle affiliated protocol information, where the protocol template may be a protocol template for vehicle affiliated common to all affiliated enterprises, and the vehicle information storage device may invoke the intelligent contract to identify the vehicle parameter information, the first vehicle signature information, the affiliated enterprise information, and the affiliated aging information, respectively, and identify the vehicle parameter information, the first vehicle signature information, the affiliated enterprise information, and the affiliated aging information, respectively, The information of the attaching enterprise and the information of the attaching time efficiency are respectively written into the protocol template so as to generate the information of the vehicle attaching protocol, and further, the vehicle information storage device can establish the corresponding relation between the vehicle identification and the information of the vehicle attaching protocol based on an intelligent contract.
S204, storing the vehicle identification and the vehicle attachment protocol information into the intelligent contract, and synchronizing the vehicle identification and the vehicle attachment protocol information to all block node equipment in a block chain network for storage;
specifically, the vehicle information storage device stores the vehicle identifier and the vehicle attachment protocol information in the intelligent contract, synchronizes the intelligent contract to all block node devices in the block chain network, and synchronizes the vehicle identifier and the vehicle attachment protocol information to the blocks of all block node devices in the block chain network for storage at the same time.
S205, acquiring commercial transaction data of the affiliated vehicle input by the affiliated vehicle terminal, and generating a block according to the commercial transaction data;
specifically, the vehicle information storage device may obtain service transaction data of the affiliated vehicle input by the affiliated vehicle terminal, and generate a block according to the service transaction data, optionally, the vehicle information storage device obtains a vehicle identifier, second vehicle signature information, and a contract trigger function in the service transaction data, and stores the vehicle identifier, the second vehicle signature information, and the contract trigger function in the block, please refer to fig. 5 together, as shown in fig. 5, when the driver user needs to start carrying a passenger, that is, enters a passenger carrying service mode, the driver user may input identity information through the affiliated vehicle terminal, and the affiliated vehicle terminal may output prompt information, for example: please input the fingerprint, carry out face identification, input login password etc. in the below, the driver user can input the fingerprint through the fingerprint identification hardware of affiliated to vehicle terminal according to the prompt message, carry out face identification through the camera of affiliated to vehicle terminal, also can input login password in the input box, can select one or more of them identity information to type, specifically can decide according to actual demand, after typing in identity information, affiliated to vehicle terminal can adopt user's private key to encrypt the identity information to generate second vehicle signature information, and will register in advance vehicle sign, second vehicle signature information and contract trigger function send to vehicle information storage equipment.
S206, when the block is subjected to consensus processing, calling an intelligent contract according to a contract triggering function in the block, and acquiring vehicle attachment protocol information corresponding to the vehicle identification through the intelligent contract;
specifically, the vehicle information storage device may send the block to a consensus node device in a block chain for consensus processing, or the vehicle information storage device may serve as the consensus node device in the block chain, call an intelligent contract according to a contract trigger function in the block, and obtain vehicle attachment protocol information corresponding to the vehicle identifier through the intelligent contract.
Alternatively, the operating time period of the driver user may be agreed in advance in the vehicle attachment agreement information, for example: the driver user is only allowed to operate between 8 am and 6 pm, and the like, and certainly, the operation time period of the driver user does not need to be appointed, and the decision can be specifically made according to the actual requirement.
S207, acquiring a data timestamp corresponding to the commercial transaction data, and matching the data timestamp based on the commercial time period in the vehicle attachment protocol information;
specifically, when the operating time period of the driver user is agreed in the vehicle affiliation protocol information, the vehicle information storage device may acquire a data timestamp corresponding to the operating transaction data, that is, receive the timestamp of the operating transaction data, and the vehicle information storage device may be matched with the data timestamp based on the operating time period in the vehicle affiliation protocol information, that is, determine whether the data timestamp belongs to between the operating time periods.
S208, when the data timestamp belongs to the operation time period, matching the second vehicle signature information based on the first vehicle signature information in the vehicle attachment protocol information;
specifically, when the data timestamp belongs to the operation time period, the vehicle information storage device may further match the second vehicle signature information based on the first vehicle signature information in the vehicle attach protocol information.
S209, when the first vehicle signature information is matched with the second vehicle signature information and the block consensus passes, sending operation confirmation information to the affiliated vehicle terminal;
specifically, when the first vehicle signature information and the second vehicle signature information match and the block consensus passes, the vehicle information storage device may send operation confirmation information to the affiliated vehicle terminal, it may be understood that the consensus process performed by other consensus node devices is the same as the step performed by the vehicle information storage device, and when more than 50% of the consensus node devices determine that the data timestamp belongs to the operation time period and the first vehicle signature information and the second vehicle signature information match, it indicates that the block consensus passes, the vehicle information storage device may send operation confirmation information to the affiliated vehicle terminal, and refer to fig. 5 again, when the affiliated vehicle terminal receives the operation confirmation information, it may output a prompt information frame indicating that the verification is successful, to prompt the driver that the user can begin operation.
When the operation time period does not exist in the vehicle attaching protocol information, the second vehicle signature information is matched only based on the first vehicle signature information in the vehicle attaching protocol information, and when the first vehicle signature information and the second vehicle signature information are matched and the blocks are identified together, operation confirmation information is sent to the attaching vehicle terminal.
Furthermore, after the vehicle attachment protocol information is uplink stored, a plurality of functions can be realized, wherein steps S210 to S211 are used for describing the continuation of the vehicle attachment protocol information, step S212 is used for describing the automatic deletion of the vehicle attachment protocol information after the vehicle attachment protocol information is expired, and steps S213 to S214 are used for describing the settlement process based on the vehicle attachment protocol.
S210, acquiring protocol continuation information input by the vehicle attaching platform;
specifically, the vehicle information storage device may acquire agreement renewal information input by the vehicle docking platform, and the agreement renewal information may include the vehicle identifier and renewal time period information indicating a start date and an ending date of newly subscribed vehicle docking agreement information.
S211, calling the intelligent contract to acquire vehicle attachment protocol information corresponding to the vehicle identification, and updating attachment aging information in the vehicle attachment protocol information by adopting the continued aging information;
specifically, the vehicle information storage device may call the intelligent contract to obtain vehicle attachment protocol information corresponding to the vehicle identifier, and update the attachment aging information in the vehicle attachment protocol information by using the continuation aging information, where it is noted that the update of the attachment aging information also needs to be determined by the consensus node device.
S212, when the signing date indicated by the attaching time efficiency information in the vehicle attaching protocol information is reached, deleting the vehicle attaching protocol information in the intelligent contract;
specifically, when the system time reaches the signing date indicated by the age information in the vehicle affiliation protocol information, if no further contract is made, the vehicle information storage device needs to delete the vehicle affiliation protocol information in the intelligent contract, the system time may specifically be standard time defined in a block chain network, and it should be noted that deletion of the vehicle affiliation protocol information also needs to be determined jointly by the consensus node device.
S213, when the settlement date indicated by the vehicle attaching agreement information in the intelligent contract is reached, calling the vehicle attaching agreement information to acquire an attaching vehicle account and an attaching enterprise account;
specifically, when the settlement date indicated by the vehicle affiliation agreement information in the intelligent contract is reached, the vehicle information storage device may call the vehicle affiliation agreement information to acquire an affiliated vehicle account and an affiliated enterprise account, and it should be noted that the vehicle information storage device may acquire the affiliated vehicle account of the driver user and the affiliated enterprise account of the affiliated enterprise based on the personal information of the driver user and the affiliated enterprise information in the vehicle affiliation agreement information.
S214, performing asset chain transfer processing on the affiliated vehicle account and the affiliated enterprise account based on the settlement assets indicated in the vehicle affiliation agreement information;
specifically, the settlement date and the assets to be settled may be written in the vehicle affiliation agreement information in advance, it may be understood that the amount of the assets paid may be an agreed fixed amount, or may be paid in proportion according to the income of the assets during the operation time period, and specifically may be written in the vehicle affiliation agreement information in advance, and the vehicle information storage device may perform asset chain transfer processing on the affiliated vehicle account and the affiliated enterprise account based on the settlement assets indicated in the vehicle affiliation agreement information.
In the embodiment of the invention, the vehicle attachment protocol is stored in a mode of an intelligent contract based on the blockchain network, and meanwhile, the vehicle identification and the vehicle attachment protocol are established and are synchronized to the blockchain node equipment in the blockchain network for storage, so that the loss and the damage of the vehicle attachment protocol are avoided, the traceable vehicle attachment protocol can be checked at any time, and the integrity of the vehicle attachment protocol is ensured; the reliability of vehicle attachment can be further ensured through the unified management of the enterprise qualification information by the block chain; the reliability of vehicle attachment can be further ensured through the unified management of the enterprise qualification information by the block chain; in the operation preparation stage, the safety of vehicle operation can be ensured by matching the signature information of the driver user; through online settlement processing, asset settlement can be supervised, the reasonability of settlement is guaranteed, and the asset safety of a driver user is guaranteed.
Based on the implementation framework of fig. 1 and 2, the vehicle information storage device provided by the embodiment of the invention will be described in detail below with reference to fig. 6 and 7. It should be noted that the vehicle information storage device shown in fig. 6 and fig. 7 may be specifically a block node device 11 in the frame shown in fig. 1, which is used for executing the method of the embodiments shown in fig. 3 to fig. 5 of the present invention, for convenience of description, only the portion related to the embodiments of the present invention is shown, and details of the specific technology are not disclosed, please refer to the embodiments shown in fig. 3 to fig. 5 of the present invention.
Referring to fig. 6, a schematic structural diagram of a vehicle information storage device according to an embodiment of the present invention is provided. As shown in fig. 6, the vehicle information storage device 1 of the embodiment of the invention may include: a vehicle information acquisition unit 101, a protocol information generation unit 102, and a vehicle information storage unit 103.
The vehicle information acquiring unit 101 is configured to acquire the affiliated vehicle information, the affiliated enterprise information, and the affiliated time effectiveness information input by the vehicle affiliated platform;
a protocol information generating unit 102, configured to invoke an intelligent contract to add the vehicle parameter information, the first vehicle signature information, the attachment enterprise information, and the attachment aging information to the protocol template, generate vehicle attachment protocol information, and establish a corresponding relationship between the vehicle identifier and the vehicle attachment protocol information;
the vehicle information storage unit 103 is configured to store the vehicle identifier and the vehicle attach protocol information in the intelligent contract, and synchronize the vehicle identifier and the vehicle attach protocol information to all block node devices in a block chain network for storage.
In the embodiment of the invention, the vehicle attachment protocol is stored in a mode of an intelligent contract based on the blockchain network, and meanwhile, the loss and the damage of the vehicle attachment protocol are avoided by establishing the corresponding relation between the vehicle identification and the vehicle attachment protocol and synchronizing the vehicle identification and the vehicle attachment protocol to the blockchain node equipment in the blockchain network for storage, so that the vehicle attachment protocol can be traced and checked at any time, and the integrity of the vehicle attachment protocol is ensured.
Referring to fig. 7, a schematic structural diagram of a vehicle information storage device according to an embodiment of the present invention is provided. As shown in fig. 7, the vehicle information storage device 1 of the embodiment of the invention may include: a vehicle information acquisition unit 101, a protocol information generation unit 102, a vehicle information storage unit 103, an enterprise information storage unit 104, a block generation unit 105, a signature information matching unit 106, an operation information transmission unit 107, a time stamp matching unit 108, a notification unit 109, a renewal information acquisition unit 110, an aging information update unit 111, a protocol information deletion unit 112, an account acquisition unit 113, and an asset data transfer process 114.
The enterprise information storage unit 104 is configured to acquire enterprise qualification information corresponding to the attached enterprise information input by the vehicle attached platform, and synchronize the enterprise qualification information to all block node devices in the block chain network for storage;
the vehicle information acquiring unit 101 is configured to acquire the affiliated vehicle information, the affiliated enterprise information, and the affiliated time effectiveness information input by the vehicle affiliated platform;
a protocol information generating unit 102, configured to invoke an intelligent contract to add the vehicle parameter information, the first vehicle signature information, the attachment enterprise information, and the attachment aging information to the protocol template, generate vehicle attachment protocol information, and establish a corresponding relationship between the vehicle identifier and the vehicle attachment protocol information;
the vehicle information storage unit 103 is configured to store the vehicle identifier and the vehicle attach protocol information in the intelligent contract, and synchronize the vehicle identifier and the vehicle attach protocol information to all block node devices in a block chain network for storage;
a block generation unit 105 configured to acquire service transaction data of the affiliated vehicle input from the affiliated vehicle terminal, and generate a block according to the service transaction data;
the signature information matching unit 106 is configured to, when performing consensus processing on the block, call an intelligent contract according to a contract trigger function in the block, and obtain vehicle affiliation protocol information corresponding to the vehicle identifier through the intelligent contract;
the timestamp matching unit 108 is configured to obtain a data timestamp corresponding to the commercial transaction data, and match the data timestamp based on a commercial time period in the vehicle affiliation protocol information;
a notification unit 109 configured to notify the signature information matching unit 106 to perform matching of the second vehicle signature information based on the first vehicle signature information in the vehicle attach protocol information when the timestamp matching unit 108 determines that the data timestamp belongs to the operation time period;
the signature information matching unit 106 is further configured to match the second vehicle signature information based on the first vehicle signature information in the vehicle attachment protocol information;
an operation information sending unit 107, configured to send operation confirmation information to the affiliated vehicle terminal when the first vehicle signature information matches the second vehicle signature information and the block is identified together;
the agreement continuation information acquiring unit 110 is configured to acquire agreement continuation information input by the vehicle suspension platform, where the agreement continuation information includes a vehicle identifier and continuation time efficiency information;
the aging information updating unit 111 is configured to invoke the intelligent contract to obtain vehicle attachment protocol information corresponding to the vehicle identifier, and update the attachment aging information in the vehicle attachment protocol information by using the continued aging information;
a protocol information deleting unit 112, configured to delete the vehicle affiliation protocol information in the intelligent contract when the signing date indicated by the age information in the vehicle affiliation protocol information is reached;
the account acquisition unit 113 is used for calling the vehicle attachment agreement information to acquire an attached vehicle account and an attached enterprise account when the settlement date indicated by the vehicle attachment agreement information in the intelligent contract is reached;
an asset data transfer process 114 for performing an asset chain transfer process for the affiliated vehicle account and the affiliated enterprise account based on the settlement asset indicated in the vehicle affiliation agreement information.
In the embodiment of the invention, the vehicle attachment protocol is stored in a mode of an intelligent contract based on the blockchain network, and meanwhile, the vehicle identification and the vehicle attachment protocol are established and are synchronized to the blockchain node equipment in the blockchain network for storage, so that the loss and the damage of the vehicle attachment protocol are avoided, the traceable vehicle attachment protocol can be checked at any time, and the integrity of the vehicle attachment protocol is ensured; the reliability of vehicle attachment can be further ensured through the unified management of the enterprise qualification information by the block chain; the reliability of vehicle attachment can be further ensured through the unified management of the enterprise qualification information by the block chain; in the operation preparation stage, the safety of vehicle operation can be ensured by matching the signature information of the driver user; through online settlement processing, asset settlement can be supervised, the reasonability of settlement is guaranteed, and the asset safety of a driver user is guaranteed.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium may store a plurality of program instructions, where the program instructions are suitable for being loaded by a processor and executing the method steps in the embodiments shown in fig. 3 to 5, and a specific execution process may refer to specific descriptions of the embodiments shown in fig. 3 to 5, which is not described herein again.
Referring to fig. 8, a schematic structural diagram of a computer device is provided in an embodiment of the present invention. As shown in fig. 8, the computer apparatus 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, input output interfaces 1003, memory 1005, at least one communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others. The memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 8, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, an input-output interface module, and an information storage application program.
In the computer device 1000 shown in fig. 8, the input/output interface 1003 is mainly used for providing an input interface for the user and the access device, and acquiring data input by the user and the access device.
In one embodiment, the processor 1001 may be configured to invoke an information storage application stored in the memory 1005 and specifically perform the following operations:
acquiring affiliated vehicle information, affiliated enterprise information and affiliated time effectiveness information which are input by a vehicle affiliated platform, wherein the affiliated vehicle information comprises a vehicle identifier of an affiliated vehicle, vehicle parameter information and first vehicle signature information;
calling an intelligent contract to add the vehicle parameter information, the first vehicle signature information, the attachment enterprise information and the attachment aging information into the protocol template, generating vehicle attachment protocol information, and establishing a corresponding relation between the vehicle identification and the vehicle attachment protocol information;
and storing the vehicle identification and the vehicle attachment protocol information into the intelligent contract, and synchronizing the vehicle identification and the vehicle attachment protocol information to all block node equipment in a block chain network for storage.
Optionally, before the processor 1001 obtains the attached vehicle information, the attached enterprise information, and the attached aging information input by the vehicle attached platform, the processor further performs the following operations:
acquiring enterprise qualification information corresponding to the attachment enterprise information input by the vehicle attachment platform, and synchronizing the enterprise qualification information to all block node devices in the block chain network for storage.
Optionally, the processor 1001 further performs the following operations:
acquiring operation transaction data of the affiliated vehicle input by an affiliated vehicle terminal, and generating a block according to the operation transaction data, wherein the operation transaction data comprises the vehicle identification, second vehicle signature information and a contract trigger function;
when the block is subjected to consensus processing, calling an intelligent contract according to a contract triggering function in the block, acquiring vehicle attachment protocol information corresponding to the vehicle identification through the intelligent contract, and matching the second vehicle signature information based on the first vehicle signature information in the vehicle attachment protocol information;
and when the first vehicle signature information is matched with the second vehicle signature information and the blocks are identified together, transmitting operation confirmation information to the affiliated vehicle terminal.
Optionally, after the processor 1001 calls the intelligent contract to obtain the vehicle affiliation protocol information corresponding to the vehicle identifier, the processor further performs the following operations:
acquiring a data timestamp corresponding to the commercial transaction data, and matching the data timestamp based on the commercial time period in the vehicle attachment protocol information;
when the data timestamp belongs to the operation time period, performing a step of matching the second vehicle signature information based on the first vehicle signature information in the vehicle attach protocol information.
Optionally, the processor 1001 further performs the following operations:
acquiring agreement renewal information input by a vehicle attaching platform, wherein the agreement renewal information comprises a vehicle identifier and renewal aging information;
and calling the intelligent contract to acquire vehicle attachment protocol information corresponding to the vehicle identification, and updating attachment aging information in the vehicle attachment protocol information by adopting the continued aging information.
Optionally, the processor 1001 further performs the following operations:
and when the signing date indicated by the attaching time efficiency information in the vehicle attaching agreement information is reached, deleting the vehicle attaching agreement information in the intelligent contract.
Optionally, the processor 1001 further performs the following operations:
when the settlement date indicated by the vehicle attaching agreement information in the intelligent contract is reached, calling the vehicle attaching agreement information to acquire an attaching vehicle account and an attaching enterprise account;
and performing asset chain transfer processing on the affiliated vehicle account and the affiliated enterprise account based on the settlement asset indicated in the vehicle affiliation agreement information.
In the embodiment of the invention, the vehicle attachment protocol is stored in a mode of an intelligent contract based on the blockchain network, and meanwhile, the vehicle identification and the vehicle attachment protocol are established and are synchronized to the blockchain node equipment in the blockchain network for storage, so that the loss and the damage of the vehicle attachment protocol are avoided, the traceable vehicle attachment protocol can be checked at any time, and the integrity of the vehicle attachment protocol is ensured; the reliability of vehicle attachment can be further ensured through the unified management of the enterprise qualification information by the block chain; the reliability of vehicle attachment can be further ensured through the unified management of the enterprise qualification information by the block chain; in the operation preparation stage, the safety of vehicle operation can be ensured by matching the signature information of the driver user; through online settlement processing, asset settlement can be supervised, the reasonability of settlement is guaranteed, and the asset safety of a driver user is guaranteed.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (10)

1. A block chain-based vehicle information storage method is characterized by comprising the following steps:
acquiring affiliated vehicle information, affiliated enterprise information and affiliated time effectiveness information which are input by a vehicle affiliated platform, wherein the affiliated vehicle information comprises a vehicle identifier of an affiliated vehicle, vehicle parameter information and first vehicle signature information;
calling an intelligent contract to add the vehicle parameter information, the first vehicle signature information, the attachment enterprise information and the attachment aging information into the protocol template, generating vehicle attachment protocol information, and establishing a corresponding relation between the vehicle identification and the vehicle attachment protocol information;
and storing the vehicle identification and the vehicle attachment protocol information into the intelligent contract, and synchronizing the vehicle identification and the vehicle attachment protocol information to all block node equipment in a block chain network for storage.
2. The method of claim 1, wherein before obtaining the affiliated vehicle information, the affiliated enterprise information and the affiliated time effectiveness information input by the vehicle affiliated platform, the method further comprises:
acquiring enterprise qualification information corresponding to the attachment enterprise information input by the vehicle attachment platform, and synchronizing the enterprise qualification information to all block node devices in the block chain network for storage.
3. The method of claim 1, further comprising:
acquiring operation transaction data of the affiliated vehicle input by an affiliated vehicle terminal, and generating a block according to the operation transaction data, wherein the operation transaction data comprises the vehicle identification, second vehicle signature information and a contract trigger function;
when the block is subjected to consensus processing, calling an intelligent contract according to a contract triggering function in the block, acquiring vehicle attachment protocol information corresponding to the vehicle identification through the intelligent contract, and matching the second vehicle signature information based on the first vehicle signature information in the vehicle attachment protocol information;
and when the first vehicle signature information is matched with the second vehicle signature information and the blocks are identified together, transmitting operation confirmation information to the affiliated vehicle terminal.
4. The method of claim 3, wherein after the invoking the smart contract to obtain the vehicle attachment agreement information corresponding to the vehicle identifier, the method further comprises:
acquiring a data timestamp corresponding to the commercial transaction data, and matching the data timestamp based on the commercial time period in the vehicle attachment protocol information;
when the data timestamp belongs to the operation time period, performing a step of matching the second vehicle signature information based on the first vehicle signature information in the vehicle attach protocol information.
5. The method of claim 1, further comprising:
acquiring agreement renewal information input by a vehicle attaching platform, wherein the agreement renewal information comprises a vehicle identifier and renewal aging information;
and calling the intelligent contract to acquire vehicle attachment protocol information corresponding to the vehicle identification, and updating attachment aging information in the vehicle attachment protocol information by adopting the continued aging information.
6. The method of claim 1, further comprising:
and when the signing date indicated by the attaching time efficiency information in the vehicle attaching agreement information is reached, deleting the vehicle attaching agreement information in the intelligent contract.
7. The method of claim 1, further comprising:
when the settlement date indicated by the vehicle attaching agreement information in the intelligent contract is reached, calling the vehicle attaching agreement information to acquire an attaching vehicle account and an attaching enterprise account;
and performing asset chain transfer processing on the affiliated vehicle account and the affiliated enterprise account based on the settlement asset indicated in the vehicle affiliation agreement information.
8. A vehicle information storage device characterized by comprising:
the system comprises a vehicle information acquisition unit, a vehicle information acquisition unit and a vehicle information acquisition unit, wherein the vehicle information acquisition unit is used for acquiring the affiliated vehicle information, the affiliated enterprise information and the affiliated time effect information which are input by a vehicle affiliated platform, and the affiliated vehicle information comprises a vehicle identifier, vehicle parameter information and first vehicle signature information of an affiliated vehicle;
the protocol information generating unit is used for calling an intelligent contract to add the vehicle parameter information, the first vehicle signature information, the attachment enterprise information and the attachment aging information into the protocol template, generating vehicle attachment protocol information and establishing a corresponding relation between the vehicle identification and the vehicle attachment protocol information;
and the vehicle information storage unit is used for storing the vehicle identification and the vehicle attachment protocol information into the intelligent contract and synchronizing the vehicle identification and the vehicle attachment protocol information to all block node equipment in a block chain network for storage.
9. A computer device comprising a processor, a memory, an input output interface;
the processor is connected with the memory and the input/output interface respectively, wherein the input/output interface is used for page interaction, the memory is used for storing program codes, and the processor is used for calling the program codes to execute the method according to any one of claims 1 to 7.
10. A computer storage medium, characterized in that the computer storage medium stores a computer program comprising program instructions which, when executed by a processor, perform the method according to any one of claims 1-7.
CN202010196786.4A 2020-03-19 2020-03-19 Vehicle information storage method and device based on block chain and storage medium Active CN111431988B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010196786.4A CN111431988B (en) 2020-03-19 2020-03-19 Vehicle information storage method and device based on block chain and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010196786.4A CN111431988B (en) 2020-03-19 2020-03-19 Vehicle information storage method and device based on block chain and storage medium

Publications (2)

Publication Number Publication Date
CN111431988A true CN111431988A (en) 2020-07-17
CN111431988B CN111431988B (en) 2023-02-10

Family

ID=71546495

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010196786.4A Active CN111431988B (en) 2020-03-19 2020-03-19 Vehicle information storage method and device based on block chain and storage medium

Country Status (1)

Country Link
CN (1) CN111431988B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866009A (en) * 2020-07-29 2020-10-30 中国联合网络通信集团有限公司 Vehicle information updating method and device
CN111866014A (en) * 2020-07-29 2020-10-30 中国联合网络通信集团有限公司 Vehicle information protection method and device
CN111935253A (en) * 2020-07-29 2020-11-13 中国联合网络通信集团有限公司 Block chain information updating method, vehicle management station node and operator node

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105809394A (en) * 2016-03-01 2016-07-27 成都市泰象网络科技有限公司 E-commerce trade managing system and method for vehicle's affiliation to transportation company services
CN109417465A (en) * 2016-02-23 2019-03-01 区块链控股有限公司 Registration and automatic management method of intelligent contracts executed by block chains
CN109559257A (en) * 2018-12-14 2019-04-02 深圳壹账通智能科技有限公司 Contract generation method, device, equipment and readable storage medium storing program for executing based on block chain
CN110033269A (en) * 2019-03-18 2019-07-19 阿里巴巴集团控股有限公司 Contract based on block chain consults method and device, electronic equipment, storage medium
CN110046907A (en) * 2019-03-18 2019-07-23 阿里巴巴集团控股有限公司 Contract based on block chain signs method and device, electronic equipment, storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109417465A (en) * 2016-02-23 2019-03-01 区块链控股有限公司 Registration and automatic management method of intelligent contracts executed by block chains
CN105809394A (en) * 2016-03-01 2016-07-27 成都市泰象网络科技有限公司 E-commerce trade managing system and method for vehicle's affiliation to transportation company services
CN109559257A (en) * 2018-12-14 2019-04-02 深圳壹账通智能科技有限公司 Contract generation method, device, equipment and readable storage medium storing program for executing based on block chain
CN110033269A (en) * 2019-03-18 2019-07-19 阿里巴巴集团控股有限公司 Contract based on block chain consults method and device, electronic equipment, storage medium
CN110046907A (en) * 2019-03-18 2019-07-23 阿里巴巴集团控股有限公司 Contract based on block chain signs method and device, electronic equipment, storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866009A (en) * 2020-07-29 2020-10-30 中国联合网络通信集团有限公司 Vehicle information updating method and device
CN111866014A (en) * 2020-07-29 2020-10-30 中国联合网络通信集团有限公司 Vehicle information protection method and device
CN111935253A (en) * 2020-07-29 2020-11-13 中国联合网络通信集团有限公司 Block chain information updating method, vehicle management station node and operator node
CN111935253B (en) * 2020-07-29 2021-12-07 中国联合网络通信集团有限公司 Block chain information updating method, vehicle management station node and operator node
CN111866014B (en) * 2020-07-29 2022-02-11 中国联合网络通信集团有限公司 Vehicle information protection method and device

Also Published As

Publication number Publication date
CN111431988B (en) 2023-02-10

Similar Documents

Publication Publication Date Title
CN108881290B (en) Block chain based digital certificate use method, system and storage medium
CN111431988B (en) Vehicle information storage method and device based on block chain and storage medium
CN109379369A (en) Single-point logging method, device, server and storage medium
CN111080295A (en) Block chain-based electronic contract processing method and equipment
CN111429055A (en) Goods transportation information prompting method, equipment and storage medium
CN110838065A (en) Transaction data processing method and device
CN112115205B (en) Cross-chain trust method, device, equipment and medium based on digital certificate authentication
CN111291060A (en) Method, device and computer readable medium for managing block chain nodes
CN111488596A (en) Data processing permission verification method and device, electronic equipment and storage medium
CN112187931A (en) Session management method, device, computer equipment and storage medium
CN111488372A (en) Data processing method, device and storage medium
CN111292174A (en) Tax payment information processing method and device and computer readable storage medium
CN111222841A (en) Block chain-based data distribution method and equipment and storage medium thereof
CN111311211A (en) Data processing method and device based on block chain
CN110866265A (en) Data storage method, device and storage medium based on block chain
CN110908812A (en) Business data processing method and device, readable storage medium and computer equipment
CN110968644A (en) Data processing method and equipment
CN111163034A (en) Block chain network, electronic lock control method thereof, terminal device and storage medium
CN111292057A (en) Service processing method based on block chain
CN112862487A (en) Digital certificate authentication method, equipment and storage medium
CN111654375A (en) Block chain-based edge calculation security encryption method, device and system
CN102404312A (en) Using trust points to provide services
CN111427923A (en) Vehicle information query method and device based on block chain and storage medium
CN110599384A (en) Organization relation transfer method, device, equipment and storage medium
CN112699136B (en) Cross-link certificate storage method and related device

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