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

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

Info

Publication number
CN111427923A
CN111427923A CN202010196690.8A CN202010196690A CN111427923A CN 111427923 A CN111427923 A CN 111427923A CN 202010196690 A CN202010196690 A CN 202010196690A CN 111427923 A CN111427923 A CN 111427923A
Authority
CN
China
Prior art keywords
information
vehicle
purchase
protocol
intelligent contract
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010196690.8A
Other languages
Chinese (zh)
Inventor
刘攀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Tenpay Payment Technology 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 CN202010196690.8A priority Critical patent/CN111427923A/en
Publication of CN111427923A publication Critical patent/CN111427923A/en
Pending legal-status Critical Current

Links

Images

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/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2471Distributed queries
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Probability & Statistics with Applications (AREA)
  • Fuzzy Systems (AREA)
  • Computing Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a vehicle information query method, equipment and a storage medium based on a block chain, wherein the method comprises the following steps: acquiring user signature information and vehicle query conditions input by a user terminal, wherein the user signature information is generated by encrypting user identity information based on a user private key distributed by a blockchain network; calling an intelligent contract to acquire vehicle purchase protocol information corresponding to the user signature information, and acquiring vehicle query information corresponding to the vehicle query condition from the vehicle purchase protocol information, wherein the vehicle purchase protocol information is protocol information which is created by a vehicle purchase platform based on the user identity information and stored in the intelligent contract; and sending the vehicle query information to the user terminal. By adopting the method and the device, the storage of the vehicle purchase protocol can be realized based on a block chain network mode, a query mode of the vehicle purchase protocol is provided, and the browsing efficiency of the vehicle purchase protocol is effectively improved.

Description

Vehicle information query 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 query method and device based on a block chain and a storage medium.
Background
With the increasing living standard of people, automobiles become necessities of households, and great convenience is provided for the outgoing of people. When a vehicle is purchased, a purchase agreement with a vehicle department is often required, and the purchase agreement generally provides information of the vehicle party and the vehicle department and related information of the purchased vehicle, such as: information such as vehicle model, vehicle configuration, vehicle maintenance, vehicle insurance, because current purchase agreement often stores through the mode of paper, often the condition that purchase agreement is difficult to deposit has been caused to the loss, the artificial damage of purchase agreement that can appear, leads to the car user can't be fine to the content of purchase agreement browse, and the information volume that the purchase agreement recorded is great simultaneously, and the car user also can't carry out the pertinence to the purchase agreement to some specific condition that the vehicle appears.
Disclosure of Invention
The embodiment of the invention provides a vehicle information query method, device and storage medium based on a block chain, which can effectively improve the browsing efficiency of a vehicle purchase protocol.
The embodiment of the invention provides a vehicle information query method based on a block chain, which comprises the following steps:
acquiring user signature information and vehicle query conditions input by a user terminal, wherein the user signature information is generated by encrypting user identity information based on a user private key distributed by a blockchain network;
calling an intelligent contract to acquire vehicle purchase protocol information corresponding to the user signature information, and acquiring vehicle query information corresponding to the vehicle query condition from the vehicle purchase protocol information, wherein the vehicle purchase protocol information is protocol information which is created by a vehicle purchase platform based on the user identity information and stored in the intelligent contract;
and sending the vehicle query information to the user terminal.
Before acquiring the user signature information and the vehicle query condition input by the user terminal based on the blockchain network, the method further includes:
the method comprises the steps of obtaining vehicle model information and vehicle quotation information input by a vehicle enterprise terminal, and synchronizing the vehicle model information and the vehicle quotation information to all block node equipment in a block chain network for storage.
The method comprises the following steps of obtaining vehicle model information and vehicle quotation information input by a vehicle-enterprise terminal, synchronizing the vehicle model information and the vehicle quotation information to all block node devices in a block chain network for storage, and further comprising the following steps:
acquiring user signature information, vehicle model information and vehicle purchase information input by a vehicle purchase platform;
calling an intelligent contract to obtain vehicle quotation information corresponding to the vehicle model information, calling the intelligent contract to add the vehicle model information, the vehicle quotation information and the vehicle purchasing information to a protocol template to generate vehicle purchasing protocol information, and establishing a corresponding relation between the user signature information and the vehicle purchasing protocol information;
and storing the user signature information and the vehicle purchase protocol information into the intelligent contract, and synchronizing the user signature information and the vehicle purchase protocol information to all block node equipment in a block chain network for storage.
Wherein, still include:
and when the system time reaches the signing date indicated by the vehicle purchasing agreement information in the intelligent contract, deleting the vehicle purchasing agreement information in the intelligent contract.
When the signing date indicated by the vehicle purchase agreement information in the intelligent contract is reached, the deleting process of the vehicle purchase agreement information in the intelligent contract comprises the following steps:
when the signing date indicated by the vehicle purchasing agreement information in the intelligent contract is reached, deleting and verifying the vehicle purchasing agreement information based on the signing date to obtain first verification information of the vehicle purchasing agreement information;
acquiring second verification data of each piece of common identification node equipment in the block chain network on the vehicle purchase protocol information, wherein the second verification data is obtained by deleting and verifying the vehicle purchase protocol information by each piece of common identification node equipment based on the signing date indicated by the vehicle purchase protocol information in the intelligent contract;
determining a result of the deletion processing of the vehicle purchase agreement information based on the first verification data and the second verification data.
Wherein the vehicle inquiry condition is vehicle fault information; the calling of the intelligent contract to obtain the vehicle purchase agreement information corresponding to the user signature information and the vehicle query information corresponding to the vehicle query condition in the vehicle purchase agreement information include:
calling an intelligent contract to acquire vehicle purchase agreement information corresponding to the user signature information, and acquiring claim settlement information corresponding to the vehicle fault information based on the vehicle purchase agreement information;
the sending the vehicle inquiry information to the user terminal includes:
and sending the claim settlement information to the user terminal and the claim settlement terminal.
The invoking of the intelligent contract to obtain the vehicle purchase agreement information corresponding to the user signature information and the obtaining of the claim settlement information corresponding to the vehicle fault information based on the vehicle purchase agreement information include:
calling an intelligent contract to acquire vehicle purchase protocol information corresponding to the user signature information;
acquiring claim settlement information corresponding to the vehicle fault information based on the vehicle purchase agreement information;
generating vehicle claim settlement agreement information based on the user signature information, the vehicle fault information, and the claim settlement information;
the sending the claim settlement information to the user terminal and the claim settlement terminal comprises:
and sending the vehicle claim settlement agreement information to the user terminal and the claim settlement terminal.
Wherein, still include:
acquiring vehicle model information input by a user terminal, and acquiring vehicle quotation information corresponding to the vehicle model information;
and sending the vehicle quotation information to the user terminal.
An embodiment of the present invention provides a vehicle information query device, including:
the system comprises a condition information acquisition unit, a vehicle inquiry condition acquisition unit and a vehicle inquiry unit, wherein the condition information acquisition unit is used for acquiring user signature information and vehicle inquiry conditions which are input by a user terminal, and the user signature information is generated by encrypting user identity information based on a user private key distributed by a block chain network;
the query information acquisition unit is used for calling an intelligent contract to acquire vehicle purchase protocol information corresponding to the user signature information, and acquiring vehicle query information corresponding to the vehicle query condition from the vehicle purchase protocol information, wherein the vehicle purchase protocol information is protocol information which is created by a vehicle purchase platform based on the user identity information and stored in the intelligent contract;
and the information sending unit is used for sending the vehicle inquiry information to the user terminal.
Wherein, still include:
and the vehicle information storage unit is used for acquiring the vehicle model information and the vehicle quotation information input by the vehicle enterprise terminal, and synchronizing the vehicle model information and the vehicle quotation information to all block node equipment in the block chain network for storage.
Wherein, still include:
a purchase information acquisition unit for acquiring user signature information, vehicle model information and vehicle purchase information input by the vehicle purchase platform;
the agreement information generating unit is used for calling an intelligent contract to obtain vehicle quotation information corresponding to the vehicle model information, calling the intelligent contract to add the vehicle model information, the vehicle quotation information and the vehicle purchasing information to an agreement template to generate vehicle purchasing agreement information, and establishing a corresponding relation between the user signature information and the vehicle purchasing agreement information;
and the protocol information storage unit is used for storing the user signature information and the vehicle purchase protocol information into the intelligent contract and synchronizing the user signature information and the vehicle purchase protocol information to all block node equipment in a block chain network for storage.
Wherein, still include:
and the agreement information deleting unit is used for deleting the vehicle purchase agreement information in the intelligent contract when the system time reaches the signing date indicated by the vehicle purchase agreement information in the intelligent contract.
Wherein the protocol information deleting unit includes:
the first verification data acquisition subunit is used for deleting and verifying the vehicle purchase agreement information based on an signing date indicated by the vehicle purchase agreement information in the intelligent contract to obtain first verification information of the vehicle purchase agreement information when the signing date is reached;
a second verification data obtaining subunit, configured to obtain second verification data of each piece of common identification node equipment in the blockchain network for the vehicle purchase agreement information, where the second verification data is verification data obtained by deleting and verifying the vehicle purchase agreement information by each piece of common identification node equipment based on an signing date indicated by the vehicle purchase agreement information in the intelligent contract;
a deletion result determination subunit operable to determine a deletion processing result for the vehicle purchase agreement information based on the first verification data and the second verification data.
Wherein the vehicle inquiry condition is vehicle fault information; the query information acquisition unit is specifically used for calling an intelligent contract to acquire vehicle purchase agreement information corresponding to the user signature information and acquiring claim settlement information corresponding to the vehicle fault information based on the vehicle purchase agreement information;
the information sending unit is specifically configured to send the claim settlement information to the user terminal and the claim settlement terminal.
Wherein, the query information acquisition unit includes:
the protocol information acquisition subunit is used for calling an intelligent contract to acquire vehicle purchase protocol information corresponding to the user signature information;
a claim settlement information obtaining subunit, configured to obtain, based on the vehicle acquisition agreement information, claim settlement information corresponding to the vehicle fault information;
the agreement information generating subunit is used for generating vehicle claim settlement agreement information based on the user signature information, the vehicle fault information and the claim settlement information;
the information sending unit is specifically used for sending the vehicle claim settlement agreement information to the user terminal and the claim settlement terminal.
Wherein, still include:
the system comprises a quotation information acquisition unit, a vehicle information acquisition unit and a vehicle information acquisition unit, wherein the quotation information acquisition unit is used for acquiring vehicle model information input by a user terminal and acquiring vehicle quotation information corresponding to the vehicle model information;
and the quotation information sending unit is used for sending the vehicle quotation information to the user terminal.
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 storage of the vehicle purchase protocol is realized in a mode based on the block chain network, the loss and the damage of the purchase protocol are avoided, the integrity of the vehicle purchase protocol is ensured, meanwhile, the specified information in the vehicle purchase protocol can be inquired through the specific vehicle inquiry condition, the inquiry mode of the vehicle purchase protocol is provided, and the browsing efficiency of the vehicle purchase protocol is effectively improved.
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 vehicle information query 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 flow chart of a vehicle information query method according to an embodiment of the present invention;
FIG. 4 is a flow chart illustrating a vehicle information query method according to an embodiment of the present invention;
FIG. 5 is an exemplary illustration of a vehicle claim provided by an embodiment of the present disclosure;
FIG. 6 is an exemplary diagram of a vehicle quote query provided by an embodiment of the invention;
fig. 7 is a schematic structural diagram of a vehicle information query device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a vehicle information query device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a query information obtaining unit according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a protocol information deleting unit according to an embodiment of the present invention;
fig. 11 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 the embodiments shown in fig. 1 to fig. 6, which will describe the vehicle information query method according to the embodiments of the present invention in detail.
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 purchase 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 purchase provided in the embodiment of the present invention, a vehicle information query device is used as a block node device 11, and a user terminal 12, a vehicle purchase platform 13, a claim settlement terminal 14, and a vehicle enterprise terminal 15 may be respectively connected to a block chain 100, where the user terminal 12 may specifically include, but is not limited to, a mobile phone, a personal computer, a laptop, a vehicle-mounted device, a wearable electronic device, and other terminal devices used by vehicle purchase users, and the user terminal 12 may specifically browse and query vehicle purchase agreement information stored in the block node device 11, view vehicle offer information stored in the block node device 11, and perform a fault claim settlement based on the vehicle purchase agreement information in the block node device 11; the vehicle purchasing platform 13 may specifically be a background service device for vehicle movement, and may also be a management platform built in the background service device, where the vehicle movement may include, but is not limited to, a 4S store, a second-hand vehicle movement, and the like, and the vehicle purchasing platform 13 may specifically implement items such as reporting processing of vehicle purchasing information of a vehicle purchasing user, display processing of vehicle quotation information in the block node device 11, and prompting of the vehicle movement based on vehicle maintenance information specified in the vehicle purchasing agreement information; the claim settlement terminal 14 may specifically be a management device for vehicle fault claim settlement provided by an insurance enterprise, and the claim settlement terminal 14 may specifically implement verification and offline claim settlement based on the claim settlement information sent by the block node device 11; the vehicle-enterprise terminal 15 may specifically be a background management device of a vehicle manufacturing enterprise, and the vehicle-enterprise terminal 15 may be configured to report quotation information of the entire vehicle and quotation information of vehicle accessories to the block node device 11 for storage, so as to facilitate checking by a vehicle-purchasing user and real-time update of vehicle movement on quotation.
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 and convenience of vehicle information query, the embodiment of the present invention builds a block chain of a vehicle information query scenario, 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.
Referring to fig. 3 together based on the implementation frameworks of fig. 1 and fig. 2, a flow diagram of a vehicle information query method is provided for 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 user signature information and vehicle query conditions input by a user terminal;
specifically, the vehicle information query device may obtain a vehicle information query request input by a user terminal, where the vehicle information query request may include user signature information of a vehicle purchasing user and a vehicle query condition, the user signature information may be generated by encrypting user identity information based on a user private key pre-allocated to a blockchain network, the user identity information may include, but is not limited to, a personal identity document number, a mobile phone number, and the like, and the vehicle query condition may be a query code, a query field, multimedia information, and the like pre-agreed to the blockchain network, for example: in the agreement template purchased by the vehicle, the vehicle inquiry condition for inquiring the vehicle price is '1.1' or 'vehicle price', the vehicle inquiry condition for inquiring the vehicle maintenance is '3.1' or 'vehicle maintenance', the inquiry condition for inquiring the vehicle claim when the vehicle has a fault is a character, a photo or a video, etc., the inquiry code can specifically represent the chapter number of the vehicle inquiry information corresponding to the inquiry in the agreement template, the inquiry field can specifically represent the key field of the vehicle inquiry information corresponding to the inquiry in the agreement template, the multimedia information can specifically represent the fault description of the vehicle claim corresponding to the inquiry in the agreement template, the vehicle inquiry condition can be specifically generated by the blockchain network based on the agreement template purchased by the vehicle, and is informed by the vehicle after the vehicle is purchased by the user, or the blockchain network sends the relevant vehicle inquiry condition to the user terminal, it will be appreciated that the agreement template may be an agreement template for a vehicle purchase that may be common to all vehicle rows.
S102, calling an intelligent contract to acquire vehicle purchase agreement information corresponding to the user signature information, and acquiring vehicle query information corresponding to the vehicle query condition from the vehicle purchase agreement information;
specifically, the vehicle information query device may call a stored intelligent contract to obtain vehicle purchase protocol information corresponding to the user signature information, where it is to be noted that the vehicle purchase protocol information is protocol information that is created by the vehicle purchase platform based on the user identity information and stored in the intelligent contract, the vehicle purchase protocol information may be synchronously stored in the intelligent contract and in a block, the vehicle purchase protocol information stored in the intelligent contract is specifically used to implement items specified in the protocol, and the vehicle purchase protocol information stored in the block is specifically used to store a certificate. The vehicle information query device may obtain the vehicle query information corresponding to the vehicle query condition from the vehicle purchase agreement information, and according to the above example, when the obtained vehicle query condition is "1.1", the vehicle price corresponding to the vehicle purchase may be obtained from the vehicle purchase agreement information; when the vehicle inquiry condition is "3.1", a vehicle maintenance plan or the like of the purchased vehicle can be acquired in the vehicle purchase agreement information.
S103, the vehicle inquiry information is sent to the user terminal.
In the embodiment of the invention, the storage of the vehicle purchase protocol is realized in a mode based on the block chain network, the loss and the damage of the purchase protocol are avoided, the integrity of the vehicle purchase protocol is ensured, meanwhile, the specified information in the vehicle purchase protocol can be inquired through the specific vehicle inquiry condition, the inquiry mode of the vehicle purchase protocol is provided, and the browsing efficiency of the vehicle purchase protocol is effectively improved.
Referring to fig. 4 together based on the implementation frameworks of fig. 1 and fig. 2, a flow diagram of a vehicle information query 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 S210.
S201, vehicle model information and vehicle quotation information input by a vehicle enterprise terminal are obtained, and the vehicle model information and the vehicle quotation information are synchronized to all block node devices in a block chain network for storage;
specifically, vehicle information inquiry equipment can obtain vehicle model information and vehicle quotation information that the vehicle enterprise terminal was input, wherein, vehicle model information can include whole car model and vehicle accessory model, and vehicle quotation information can be the quotation information that whole car model corresponds and the quotation information that vehicle accessory model corresponds, vehicle information inquiry equipment can be with the vehicle model information of receiving with vehicle quotation information is synchronous to all block node equipment in the block chain network and is saved.
S202, acquiring user signature information, vehicle model information and vehicle purchase information input by a vehicle purchase platform;
specifically, the vehicle information query device may obtain user signature information, vehicle model information, and vehicle purchase information input by the vehicle purchase platform, preferably, when a vehicle user purchases a vehicle, a vehicle operator may obtain corresponding vehicle offer information from the vehicle information query device through the vehicle purchase platform for the vehicle model information of the vehicle and display the vehicle offer information, and when the vehicle user determines a purchase intention of the vehicle, the vehicle information query device may input the user signature information, the vehicle model information, and the vehicle purchase information in the vehicle purchase platform, where the user signature information may be generated by encrypting user identity information based on a user private key pre-allocated to the block link network, the user identity information may include, but is not limited to, a personal identity number, a mobile phone number, and the like, and the vehicle purchase information may specifically include a vehicle name and certificate, The vehicle purchasing platform can upload user signature information, vehicle model information and the vehicle purchasing information to the vehicle information inquiry equipment.
S203, calling an intelligent contract to obtain vehicle quotation information corresponding to the vehicle model information, calling the intelligent contract to add the vehicle model information, the vehicle quotation information and the vehicle purchasing information to a protocol template to generate vehicle purchasing protocol information, and establishing a corresponding relation between the user signature information and the vehicle purchasing protocol information;
specifically, the vehicle information inquiry device may call an intelligent contract to acquire vehicle offer information corresponding to the vehicle model information, and a protocol template in the intelligent contract is called, the vehicle model information, the vehicle quotation information and the vehicle purchase information are added into the protocol template, to generate vehicle purchase agreement information, which may be an agreement template for a vehicle purchase that may be common to all vehicle rows, the vehicle information inquiry apparatus may call the smart contract to identify the vehicle purchase information, and the vehicle model information, the vehicle quoted price information and the vehicle purchase information are respectively written into the agreement template, to generate the vehicle purchase agreement information, and further, the vehicle information query device may establish a correspondence between the user signature information and the vehicle purchase agreement information based on an intelligent contract.
S204, storing the user signature information and the vehicle purchase protocol information into the intelligent contract, and synchronizing the user signature information and the vehicle purchase protocol information to all block node equipment in a block chain network for storage;
specifically, the vehicle information query device stores the user signature information and the vehicle purchase protocol information in the intelligent contract, synchronizes the intelligent contract to all the block node devices in the block chain network, and synchronizes the user signature information and the vehicle purchase protocol information to all the blocks of the block node devices in the block chain network for storage at the same time, it can be understood that since the information written in the blocks is not falsifiable, and the vehicle purchase protocol information has valid time, by storing the vehicle purchase protocol information in the intelligent contract, subsequent update and deletion of the protocol information can be facilitated, and the vehicle purchase protocol information is stored in the blocks, which is convenient for storage and subsequent tracing.
Further, after the vehicle purchase protocol information is uplink stored, a plurality of functions may be implemented, wherein steps S205 to S207 are used for describing the query of the content in the vehicle purchase protocol information, and step S208 is used for describing the automatic deletion after the vehicle purchase protocol information expires.
S205, acquiring user signature information and vehicle query conditions input by a user terminal;
specifically, the vehicle information query device may obtain a vehicle information query request input by a user terminal, where the vehicle information query request may include user signature information of a vehicle purchasing user and a vehicle query condition, the user signature information may be generated by encrypting user identity information based on a user private key pre-allocated to a blockchain network, the user identity information may include, but is not limited to, a personal identity document number, a mobile phone number, and the like, and the vehicle query condition may be a query code, a query field, multimedia information, and the like pre-agreed to the blockchain network, for example: in the agreement template purchased by the vehicle, the vehicle inquiry condition for inquiring the vehicle price is '1.1' or 'vehicle price', the vehicle inquiry condition for inquiring the vehicle maintenance is '3.1' or 'vehicle maintenance', the inquiry condition for inquiring the vehicle claim in case of vehicle fault is characters, photos or videos, etc., the inquiry code can specifically represent the chapter number of the vehicle inquiry information corresponding to the inquiry in the agreement template, the inquiry field can specifically represent the key field of the vehicle inquiry information corresponding to the inquiry in the agreement template, the multimedia information can specifically represent the fault description of the vehicle claim corresponding to the inquiry in the agreement template, the vehicle query condition may be specifically agreed upon by the blockchain network based on the agreement template of vehicle purchase, and the vehicle is informed by the vehicle after the user buys the vehicle, or the block chain network sends the related vehicle inquiry conditions to the user terminal.
For the vehicle claim settlement process, the vehicle information query device may acquire user signature information and vehicle fault information input by the user terminal, the vehicle fault information may include but is not limited to text fault description and multimedia fault description, the vehicle purchasing user may generate the vehicle fault information of the vehicle purchasing by photographing the fault of the vehicle purchasing, video photographing, text narration, and the like, and the user terminal may report the user signature information and the vehicle fault information to the vehicle information query device.
S206, calling an intelligent contract to acquire vehicle purchase agreement information corresponding to the user signature information, and acquiring claim settlement information corresponding to the vehicle fault information based on the vehicle purchase agreement information;
specifically, after receiving the user signature information and the vehicle fault information, the vehicle information query device may call an intelligent contract to obtain vehicle purchase agreement information corresponding to the user signature information. The vehicle information query device may obtain claim settlement information corresponding to the vehicle fault information based on the vehicle purchase agreement information, and preferably, the vehicle information query device may call an intelligent contract to identify the vehicle fault information, and obtain a fault cause, for example: the method comprises the steps of removing paint from a vehicle, damaging parts of the vehicle, rear-end collision of the vehicle and the like, and further obtaining claim information corresponding to a fault reason based on claim content in vehicle purchase agreement information, wherein the claim information can include but is not limited to content such as contact information of claim workers, personal information of vehicle purchasing users, fault reasons, claim ways and the like.
Of course, for the query of the daily protocol content, the vehicle information query device may invoke the stored intelligent contract to obtain the vehicle purchase protocol information corresponding to the user signature information, it should be noted that the vehicle purchase protocol information is the protocol information that is created by the vehicle purchase platform based on the user identity information and stored in the intelligent contract, the vehicle purchase protocol information may be synchronously stored in the intelligent contract and in the block, the vehicle purchase protocol information stored in the intelligent contract is specifically used for implementing the matters specified in the protocol, the vehicle purchase protocol information stored in the block is specifically used for storing the certificate, the vehicle purchase protocol information in the embodiment of the present invention is specifically used for referring to the vehicle purchase protocol information stored in the intelligent contract, and the vehicle purchase protocol information is specifically used for invoking the protocol template in the intelligent contract and is based on the user signature information and the vehicle purchase protocol information input by the vehicle purchase platform when the vehicle is purchased Information generated protocol information. The vehicle information query device may obtain the vehicle query information corresponding to the vehicle query condition from the vehicle purchase agreement information, and according to the above example, when the obtained vehicle query condition is "1.1", the vehicle price corresponding to the vehicle purchase may be obtained from the vehicle purchase agreement information; when the vehicle inquiry condition is "3.1", a vehicle maintenance plan or the like of the purchased vehicle can be acquired in the vehicle purchase agreement information.
S207, sending the vehicle query information to the user terminal;
specifically, the vehicle information query device can send the claim settlement information to a claim settlement terminal, and can also send the claim settlement information to the user terminal for viewing, and after the claim settlement terminal receives the claim settlement information, a worker can further verify the claim settlement information and complete subsequent claim settlement work on a vehicle purchasing user.
Optionally, referring to fig. 5 together, as shown in fig. 5, the vehicle information query device (block node device) may obtain claim settlement information corresponding to the vehicle fault information based on the vehicle purchase agreement information, generate vehicle claim settlement agreement information based on the user signature information, the vehicle fault information, and the claim settlement information, and finally send the vehicle claim settlement agreement information to a claim settlement terminal.
S208, when the system time reaches the signing date indicated by the vehicle purchasing agreement information in the intelligent contract, deleting the vehicle purchasing agreement information in the intelligent contract;
specifically, when the system time reaches the signing date indicated by the vehicle purchase agreement information in the intelligent contract, if a vehicle purchasing user performs further contract with a vehicle bank, a claims settlement center, and the like, the vehicle information query device needs to delete the vehicle purchase agreement information in the intelligent contract, where the system time may specifically be a standard time defined in a block chain network, optionally, the vehicle information query device may serve as a common identification node device in a block chain, and when the signing date indicated by the vehicle purchase agreement information in the intelligent contract is reached, the vehicle information query device may delete and verify the vehicle purchase agreement information based on the signing date to obtain first verification information of the vehicle purchase agreement information, and the vehicle information query device may obtain second verification data of each common identification node device in the block chain network on the vehicle purchase agreement information, the second verification data is verification data obtained by performing deletion verification on the vehicle purchase protocol information by each piece of common identification node equipment based on the signing date indicated by the vehicle purchase protocol information in the intelligent contract, the vehicle information inquiry equipment may determine a deletion processing result of the vehicle purchase protocol information based on the first verification data and the second verification data, and delete the vehicle purchase protocol information in the intelligent contract when the deletion processing result indicates that more than 50% pieces of common identification node equipment confirm deletion of the vehicle purchase protocol information in the intelligent contract.
In the embodiment of the invention, the vehicle purchasing user can inquire the vehicle quotation information stored in the chain at any time.
S209, acquiring vehicle model information input by a user terminal, and acquiring vehicle quotation information corresponding to the vehicle model information;
s210, sending the vehicle quotation information to the user terminal;
specifically, the vehicle-enterprise terminal links the vehicle model information and the vehicle quotation information for storage, and then please refer to fig. 6 together, as shown in fig. 6, a vehicle purchasing user can input the vehicle model information in a user terminal, the user terminal can send the vehicle model information to the vehicle information inquiry equipment (block node equipment), and the vehicle information inquiry equipment can acquire the vehicle quotation information corresponding to the vehicle model information and send the vehicle quotation information to the user terminal.
It should be noted that step S201 can be implemented before or after any step from step S202 to step S208, that is, as long as there is new vehicle model information and corresponding vehicle quoted price information, the uplink storage can be performed; in the embodiment of the present invention, after the step S208 of deleting the vehicle purchase agreement information in the intelligent contract is completed, the query of the vehicle purchase agreement information in the intelligent contract in S205-S207 cannot be executed any more.
In the embodiment of the invention, the vehicle purchase protocol is stored in a mode based on the block chain network, so that the loss and damage of the purchase protocol are avoided, the integrity of the vehicle purchase protocol is ensured, meanwhile, the specified information in the vehicle purchase protocol can be inquired through the specific vehicle inquiry condition, the inquiry mode of the vehicle purchase protocol is provided, and the browsing efficiency of the vehicle purchase protocol is effectively improved; since the information written in the block cannot be tampered, and the vehicle purchase protocol information has valid time, subsequent protocol information can be updated and deleted conveniently by storing the vehicle purchase protocol information in the intelligent contract, and the vehicle purchase protocol information is stored in the block, so that evidence storage and subsequent tracing are facilitated; the claim settlement information is generated through the block chain and sent to the claim settlement terminal, so that the processes of on-line claim settlement examination and off-line claim settlement in the claim settlement process are realized, and the efficiency of the claim settlement program is effectively improved; the vehicle enterprise terminal can be used for carrying out uplink processing on the vehicle models and the quotation information, so that unified management of quotation is realized, price disputes between vehicle purchasing users and vehicle traveling are avoided, and the asset safety of the vehicle purchasing users is effectively ensured.
Based on the implementation frameworks of fig. 1 and fig. 2, the following describes in detail a vehicle information query device provided by an embodiment of the invention with reference to fig. 7 to fig. 10. It should be noted that the vehicle information query device shown in fig. 7-10, specifically, may be the block node device 11 in the framework shown in fig. 1, for executing the method of the embodiments shown in fig. 3-6 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-6 of the present invention.
Referring to fig. 7, a schematic structural diagram of a vehicle information query device according to an embodiment of the present invention is provided. As shown in fig. 7, the vehicle information inquiry apparatus 1 of the embodiment of the present invention may include: a condition information acquisition unit 101, an inquiry information acquisition unit 102, and an information transmission unit 103.
A condition information acquisition unit 101 for acquiring user signature information and vehicle inquiry conditions input by a user terminal;
the query information obtaining unit 102 is configured to invoke an intelligent contract to obtain vehicle purchase agreement information corresponding to the user signature information, and obtain vehicle query information corresponding to the vehicle query condition from the vehicle purchase agreement information;
an information sending unit 103, configured to send the vehicle inquiry information to the user terminal.
In the embodiment of the invention, the storage of the vehicle purchase protocol is realized in a mode based on the block chain network, the loss and the damage of the purchase protocol are avoided, the integrity of the vehicle purchase protocol is ensured, meanwhile, the specified information in the vehicle purchase protocol can be inquired through the specific vehicle inquiry condition, the inquiry mode of the vehicle purchase protocol is provided, and the browsing efficiency of the vehicle purchase protocol is effectively improved.
Referring to fig. 8, a schematic structural diagram of a vehicle information query device according to an embodiment of the present invention is provided. As shown in fig. 8, the vehicle information inquiry apparatus 1 of the embodiment of the present invention may include: a condition information acquisition unit 101, an inquiry information acquisition unit 102, an information transmission unit 103, a vehicle information storage unit 104, a purchase information acquisition unit 105, a agreement information generation unit 106, an agreement information storage unit 107, an agreement information deletion unit 108, an offer information acquisition unit 109, and an offer information transmission unit 110.
The vehicle information storage unit 104 is used for acquiring vehicle model information and vehicle quotation information input by a vehicle-enterprise terminal, and synchronizing the vehicle model information and the vehicle quotation information to all block node devices in a block chain network for storage;
a purchase information acquisition unit 105 for acquiring user signature information, vehicle model information, and vehicle purchase information input by the vehicle purchase platform;
a agreement information generating unit 106, configured to invoke an intelligent contract to obtain vehicle quote information corresponding to the vehicle model information, invoke the intelligent contract to add the vehicle model information, the vehicle quote information, and the vehicle purchase information to an agreement template, generate vehicle purchase agreement information, and establish a corresponding relationship between the user signature information and the vehicle purchase agreement information;
a protocol information storage unit 107, configured to store the user signature information and the vehicle purchase protocol information in the intelligent contract, and synchronize the user signature information and the vehicle purchase protocol information to all block node devices in a block chain network for storage;
a condition information acquisition unit 101 for acquiring user signature information and vehicle inquiry conditions input by a user terminal;
the query information obtaining unit 102 is configured to invoke an intelligent contract to obtain vehicle purchase agreement information corresponding to the user signature information, and obtain vehicle query information corresponding to the vehicle query condition from the vehicle purchase agreement information;
when the vehicle query condition is vehicle fault information, the query information obtaining unit 102 is specifically configured to invoke an intelligent contract to obtain vehicle purchase agreement information corresponding to the user signature information, and obtain claim settlement information corresponding to the vehicle fault information based on the vehicle purchase agreement information.
Specifically, please refer to fig. 9, which provides a schematic structural diagram of the query information obtaining unit according to an embodiment of the present invention. As shown in fig. 9, the query information acquiring unit 102 may include:
the protocol information acquisition subunit is used for calling an intelligent contract to acquire vehicle purchase protocol information corresponding to the user signature information;
a claim settlement information obtaining subunit, configured to obtain, based on the vehicle acquisition agreement information, claim settlement information corresponding to the vehicle fault information;
and the agreement information generation subunit is used for generating vehicle claim settlement agreement information based on the user signature information, the vehicle fault information and the claim settlement information.
An information sending unit 103, configured to send the vehicle inquiry information to the user terminal.
The information sending unit 103 is specifically configured to send the vehicle claim settlement agreement information to the user terminal and the claim settlement terminal when being configured to send the claim settlement information to the user terminal and the claim settlement terminal.
A contract information deleting unit 108, configured to delete the vehicle purchase agreement information in the intelligent contract when the system time reaches the signing date indicated by the vehicle purchase agreement information in the intelligent contract;
specifically, please refer to fig. 10, which provides a schematic structural diagram of a protocol information deleting unit according to an embodiment of the present invention. As shown in fig. 10, the protocol information deleting unit 108 may include:
the first verification data acquisition subunit is used for deleting and verifying the vehicle purchase agreement information based on an signing date indicated by the vehicle purchase agreement information in the intelligent contract to obtain first verification information of the vehicle purchase agreement information when the signing date is reached;
a second verification data obtaining subunit, configured to obtain second verification data of each piece of common identification node equipment in the blockchain network for the vehicle purchase agreement information, where the second verification data is verification data obtained by deleting and verifying the vehicle purchase agreement information by each piece of common identification node equipment based on an signing date indicated by the vehicle purchase agreement information in the intelligent contract;
a deletion result determination subunit operable to determine a deletion processing result for the vehicle purchase agreement information based on the first verification data and the second verification data.
A quotation information acquiring unit 109, configured to acquire vehicle model information input by a user terminal, and acquire vehicle quotation information corresponding to the vehicle model information;
and an offer information sending unit 110, configured to send the vehicle offer information to the user terminal.
In the embodiment of the invention, the vehicle purchase protocol is stored in a mode based on the block chain network, so that the loss and damage of the purchase protocol are avoided, the integrity of the vehicle purchase protocol is ensured, meanwhile, the specified information in the vehicle purchase protocol can be inquired through the specific vehicle inquiry condition, the inquiry mode of the vehicle purchase protocol is provided, and the browsing efficiency of the vehicle purchase protocol is effectively improved; since the information written in the block cannot be tampered, and the vehicle purchase protocol information has valid time, subsequent protocol information can be updated and deleted conveniently by storing the vehicle purchase protocol information in the intelligent contract, and the vehicle purchase protocol information is stored in the block, so that evidence storage and subsequent tracing are facilitated; the claim settlement information is generated through the block chain and sent to the claim settlement terminal, so that the processes of on-line claim settlement examination and off-line claim settlement in the claim settlement process are realized, and the efficiency of the claim settlement program is effectively improved; the vehicle enterprise terminal can be used for carrying out uplink processing on the vehicle models and the quotation information, so that unified management of quotation is realized, price disputes between vehicle purchasing users and vehicle traveling are avoided, and the asset safety of the vehicle purchasing users is effectively ensured.
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 8, and a specific execution process may refer to specific descriptions of the embodiments shown in fig. 3 to 8, which is not described herein again.
Fig. 11 is a schematic structural diagram of a computer device according to an embodiment of the present invention. As shown in fig. 11, 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. 11, 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 inquiry application program.
In the computer device 1000 shown in fig. 11, 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 query application stored in the memory 1005 and specifically perform the following operations:
acquiring user signature information and vehicle query conditions input by a user terminal, wherein the user signature information is generated by encrypting user identity information based on a user private key distributed by a blockchain network;
calling an intelligent contract to acquire vehicle purchase protocol information corresponding to the user signature information, and acquiring vehicle query information corresponding to the vehicle query condition from the vehicle purchase protocol information, wherein the vehicle purchase protocol information is protocol information which is created by a vehicle purchase platform based on the user identity information and stored in the intelligent contract;
and sending the vehicle query information to the user terminal.
Optionally, before the processor 1001 obtains the user signature information and the vehicle query condition input by the user terminal based on the blockchain network, the following operations are further performed:
the method comprises the steps of obtaining vehicle model information and vehicle quotation information input by a vehicle enterprise terminal, and synchronizing the vehicle model information and the vehicle quotation information to all block node equipment in a block chain network for storage.
Optionally, after the processor 1001 acquires the vehicle model information and the vehicle quotation information input by the vehicle-enterprise terminal and synchronizes the vehicle model information and the vehicle quotation information to all the block node devices in the block chain network for storage, the following operations are further performed:
acquiring user signature information, vehicle model information and vehicle purchase information input by a vehicle purchase platform;
calling an intelligent contract to obtain vehicle quotation information corresponding to the vehicle model information, calling the intelligent contract to add the vehicle model information, the vehicle quotation information and the vehicle purchasing information to a protocol template to generate vehicle purchasing protocol information, and establishing a corresponding relation between the user signature information and the vehicle purchasing protocol information;
and storing the user signature information and the vehicle purchase protocol information into the intelligent contract, and synchronizing the user signature information and the vehicle purchase protocol information to all block node equipment in a block chain network for storage.
Optionally, the processor 1001 further performs the following operations:
and when the system time reaches the signing date indicated by the vehicle purchasing agreement information in the intelligent contract, deleting the vehicle purchasing agreement information in the intelligent contract.
Optionally, when executing deletion processing on the vehicle purchase agreement information in the intelligent contract when the signing date indicated by the vehicle purchase agreement information in the intelligent contract is reached, the processor 1001 specifically executes the following operations:
when the signing date indicated by the vehicle purchasing agreement information in the intelligent contract is reached, deleting and verifying the vehicle purchasing agreement information based on the signing date to obtain first verification information of the vehicle purchasing agreement information;
acquiring second verification data of each piece of common identification node equipment in the block chain network on the vehicle purchase protocol information, wherein the second verification data is obtained by deleting and verifying the vehicle purchase protocol information by each piece of common identification node equipment based on the signing date indicated by the vehicle purchase protocol information in the intelligent contract;
determining a result of the deletion processing of the vehicle purchase agreement information based on the first verification data and the second verification data.
Optionally, the vehicle query condition is vehicle fault information; the processor 1001, when executing invoking an intelligent contract to obtain vehicle purchase agreement information corresponding to the user signature information and obtaining vehicle query information corresponding to the vehicle query condition in the vehicle purchase agreement information, specifically executes the following operations:
calling an intelligent contract to acquire vehicle purchase agreement information corresponding to the user signature information, and acquiring claim settlement information corresponding to the vehicle fault information based on the vehicle purchase agreement information;
when the processor 1001 executes sending of the vehicle query information to the user terminal, specifically, the following operations are performed:
and sending the claim settlement information to the user terminal and the claim settlement terminal.
Optionally, when executing invoking an intelligent contract to obtain the vehicle purchase agreement information corresponding to the user signature information and obtaining the claim information corresponding to the vehicle fault information based on the vehicle purchase agreement information, the processor 1001 specifically executes the following operations:
calling an intelligent contract to acquire vehicle purchase protocol information corresponding to the user signature information;
acquiring claim settlement information corresponding to the vehicle fault information based on the vehicle purchase agreement information;
generating vehicle claim settlement agreement information based on the user signature information, the vehicle fault information, and the claim settlement information;
when the processor 1001 executes sending of the claim settlement information to the user terminal and the claim settlement terminal, the following operation is specifically executed:
and sending the vehicle claim settlement agreement information to the user terminal and the claim settlement terminal.
Optionally, the processor 1001 further performs the following operations:
acquiring vehicle model information input by a user terminal, and acquiring vehicle quotation information corresponding to the vehicle model information;
and sending the vehicle quotation information to the user terminal.
In the embodiment of the invention, the vehicle purchase protocol is stored in a mode based on the block chain network, so that the loss and damage of the purchase protocol are avoided, the integrity of the vehicle purchase protocol is ensured, meanwhile, the specified information in the vehicle purchase protocol can be inquired through the specific vehicle inquiry condition, the inquiry mode of the vehicle purchase protocol is provided, and the browsing efficiency of the vehicle purchase protocol is effectively improved; since the information written in the block cannot be tampered, and the vehicle purchase protocol information has valid time, subsequent protocol information can be updated and deleted conveniently by storing the vehicle purchase protocol information in the intelligent contract, and the vehicle purchase protocol information is stored in the block, so that evidence storage and subsequent tracing are facilitated; the claim settlement information is generated through the block chain and sent to the claim settlement terminal, so that the processes of on-line claim settlement examination and off-line claim settlement in the claim settlement process are realized, and the efficiency of the claim settlement program is effectively improved; the vehicle enterprise terminal can be used for carrying out uplink processing on the vehicle models and the quotation information, so that unified management of quotation is realized, price disputes between vehicle purchasing users and vehicle traveling are avoided, and the asset safety of the vehicle purchasing users is effectively ensured.
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 vehicle information query method based on a block chain is characterized by comprising the following steps:
acquiring user signature information and vehicle query conditions input by a user terminal, wherein the user signature information is generated by encrypting user identity information based on a user private key distributed by a blockchain network;
calling an intelligent contract to acquire vehicle purchase protocol information corresponding to the user signature information, and acquiring vehicle query information corresponding to the vehicle query condition from the vehicle purchase protocol information, wherein the vehicle purchase protocol information is protocol information which is created by a vehicle purchase platform based on the user identity information and stored in the intelligent contract;
and sending the vehicle query information to the user terminal.
2. The method of claim 1, wherein before the obtaining the user signature information and the vehicle query condition inputted by the user terminal based on the blockchain network, the method further comprises:
the method comprises the steps of obtaining vehicle model information and vehicle quotation information input by a vehicle enterprise terminal, and synchronizing the vehicle model information and the vehicle quotation information to all block node equipment in a block chain network for storage.
3. The method according to claim 2, wherein the obtaining vehicle model information and vehicle quotation information input by the vehicle-enterprise terminal, and after synchronizing the vehicle model information and the vehicle quotation information to all block node devices in the block chain network for storage, further comprises:
acquiring user signature information, vehicle model information and vehicle purchase information input by a vehicle purchase platform;
calling an intelligent contract to obtain vehicle quotation information corresponding to the vehicle model information, calling the intelligent contract to add the vehicle model information, the vehicle quotation information and the vehicle purchasing information to a protocol template to generate vehicle purchasing protocol information, and establishing a corresponding relation between the user signature information and the vehicle purchasing protocol information;
and storing the user signature information and the vehicle purchase protocol information into the intelligent contract, and synchronizing the user signature information and the vehicle purchase protocol information to all block node equipment in a block chain network for storage.
4. The method of claim 1, further comprising:
and when the system time reaches the signing date indicated by the vehicle purchasing agreement information in the intelligent contract, deleting the vehicle purchasing agreement information in the intelligent contract.
5. The method according to claim 4, wherein the deleting the vehicle purchase agreement information in the intelligent contract when the signing date indicated by the vehicle purchase agreement information in the intelligent contract is reached comprises:
when the signing date indicated by the vehicle purchasing agreement information in the intelligent contract is reached, deleting and verifying the vehicle purchasing agreement information based on the signing date to obtain first verification information of the vehicle purchasing agreement information;
acquiring second verification data of each piece of common identification node equipment in the block chain network on the vehicle purchase protocol information, wherein the second verification data is obtained by deleting and verifying the vehicle purchase protocol information by each piece of common identification node equipment based on the signing date indicated by the vehicle purchase protocol information in the intelligent contract;
determining a result of the deletion processing of the vehicle purchase agreement information based on the first verification data and the second verification data.
6. The method of claim 1, wherein the vehicle inquiry condition is vehicle fault information; the calling of the intelligent contract to obtain the vehicle purchase agreement information corresponding to the user signature information and the vehicle query information corresponding to the vehicle query condition in the vehicle purchase agreement information include:
calling an intelligent contract to acquire vehicle purchase agreement information corresponding to the user signature information, and acquiring claim settlement information corresponding to the vehicle fault information based on the vehicle purchase agreement information;
the sending the vehicle inquiry information to the user terminal includes:
and sending the claim settlement information to the user terminal and the claim settlement terminal.
7. The method according to claim 6, wherein the invoking of the intelligent contract to obtain vehicle purchase agreement information corresponding to the user signature information and obtain claim settlement information corresponding to the vehicle fault information based on the vehicle purchase agreement information comprises:
calling an intelligent contract to acquire vehicle purchase protocol information corresponding to the user signature information;
acquiring claim settlement information corresponding to the vehicle fault information based on the vehicle purchase agreement information;
generating vehicle claim settlement agreement information based on the user signature information, the vehicle fault information, and the claim settlement information;
the sending the claim settlement information to the user terminal and the claim settlement terminal comprises:
and sending the vehicle claim settlement agreement information to the user terminal and the claim settlement terminal.
8. The method of claim 2, further comprising:
acquiring vehicle model information input by a user terminal, and acquiring vehicle quotation information corresponding to the vehicle model information;
and sending the vehicle quotation information to the user terminal.
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 8.
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-8.
CN202010196690.8A 2020-03-19 2020-03-19 Vehicle information query method and device based on block chain and storage medium Pending CN111427923A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010196690.8A CN111427923A (en) 2020-03-19 2020-03-19 Vehicle information query method and device based on block chain and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010196690.8A CN111427923A (en) 2020-03-19 2020-03-19 Vehicle information query method and device based on block chain and storage medium

Publications (1)

Publication Number Publication Date
CN111427923A true CN111427923A (en) 2020-07-17

Family

ID=71553563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010196690.8A Pending CN111427923A (en) 2020-03-19 2020-03-19 Vehicle information query method and device based on block chain and storage medium

Country Status (1)

Country Link
CN (1) CN111427923A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866010A (en) * 2020-07-29 2020-10-30 中国联合网络通信集团有限公司 Vehicle information updating method and device
CN111866009A (en) * 2020-07-29 2020-10-30 中国联合网络通信集团有限公司 Vehicle information updating method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866010A (en) * 2020-07-29 2020-10-30 中国联合网络通信集团有限公司 Vehicle information updating method and device
CN111866009A (en) * 2020-07-29 2020-10-30 中国联合网络通信集团有限公司 Vehicle information updating method and device

Similar Documents

Publication Publication Date Title
CN111080295B (en) Electronic contract processing method and device based on blockchain
CN108197891A (en) A kind of electronic signature device and method based on block chain
CN111429055A (en) Goods transportation information prompting method, equipment and storage medium
CN113691597A (en) Block chain contract deployment method, device, equipment and storage medium
CN111488372A (en) Data processing method, device and storage medium
CN111222841B (en) Block chain-based data distribution method and equipment and storage medium thereof
CN110601896B (en) Data processing method and equipment based on block chain nodes
CN111291060A (en) Method, device and computer readable medium for managing block chain nodes
CN111431988B (en) Vehicle information storage method and device based on block chain and storage medium
CN110866265A (en) Data storage method, device and storage medium based on block chain
CN111488596A (en) Data processing permission verification method and device, electronic equipment and storage medium
CN111427923A (en) Vehicle information query method and device based on block chain and storage medium
CN111292057A (en) Service processing method based on block chain
CN114491436A (en) Contract signing method and device, electronic equipment and storage medium
CN111447068A (en) Time service evidence storing method based on block chain
CN111274597A (en) Data processing method and equipment
CN114925391A (en) Method and device for monitoring circulation of private information, electronic equipment and storage medium
CN113141404B (en) Intelligent gateway and data sharing system
CN114266680A (en) Block chain-based electronic contract signing method, device and system
CN115756255A (en) Method, device and equipment for processing equipment parameters of parking lot equipment and storage medium
CN113420133A (en) Session processing method, device, equipment and storage medium
CN114677138A (en) Data processing method, data processing equipment and computer readable storage medium
CN112101810A (en) Risk event control method, device and system
CN110544125A (en) Block chain based cut price data evidence storing method and device
CN110598374A (en) Block chain-based work registration method, device and computer-readable storage medium

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