CN108418690A - The method and apparatus that block chain contract is signed by the auxiliary that onboard system is realized - Google Patents

The method and apparatus that block chain contract is signed by the auxiliary that onboard system is realized Download PDF

Info

Publication number
CN108418690A
CN108418690A CN201810141803.7A CN201810141803A CN108418690A CN 108418690 A CN108418690 A CN 108418690A CN 201810141803 A CN201810141803 A CN 201810141803A CN 108418690 A CN108418690 A CN 108418690A
Authority
CN
China
Prior art keywords
block chain
contract
chain contract
vehicle safety
safety unit
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
CN201810141803.7A
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.)
Shenzhen Turing Singularity Intelligent Technology Co Ltd
Leauto Intelligent Technology Beijing Co Ltd
Original Assignee
Shenzhen Turing Singularity Intelligent Technology Co Ltd
Leauto Intelligent Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Turing Singularity Intelligent Technology Co Ltd, Leauto Intelligent Technology Beijing Co Ltd filed Critical Shenzhen Turing Singularity Intelligent Technology Co Ltd
Priority to CN201810141803.7A priority Critical patent/CN108418690A/en
Publication of CN108418690A publication Critical patent/CN108418690A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • 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
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B15/00Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points
    • 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
    • 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/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • 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/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0838Key agreement, i.e. key establishment technique in which a shared key is derived by parties as a function of information contributed by, or associated with, each of these
    • 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/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0863Generation of secret information including derivation or calculation of cryptographic keys or passwords involving passwords or one-time passwords
    • 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/3226Cryptographic 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 using a predetermined code, e.g. password, passphrase or PIN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

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

Abstract

This application discloses the method, apparatus and vehicle for assisting signing block chain contract based on wireless telecommunications realized by onboard system.On-vehicle safety unit is provided in the onboard system, the on-vehicle safety unit is connect with the fieldbus of the onboard system, and method therein includes the following steps:Obtain block chain contract to be signed;The block chain contract to be signed is supplied to on-vehicle safety unit, to be digitally signed processing to the block chain contract to be signed using private key of its storage by on-vehicle safety unit, wherein the private key includes:Block chain account private key;The digital signature that on-vehicle safety unit is exported treated block chain contract, is transmitted with wireless communication mode, so that each block chain contract Fang Jun obtains the block chain contract through all block chains contract side digital signature.Technical solution provided by the present application is conducive to improve the intelligence degree and ease for use of vehicle.

Description

The method and apparatus that block chain contract is signed by the auxiliary that onboard system is realized
Technical field
This application involves technology of Internet of things, and in particular to a kind of to assist signing based on wireless telecommunications by what onboard system was realized The method of block chain contract, device, the Yi Jishe for assisting signing block chain contract based on wireless telecommunications realized by onboard system It is equipped with the vehicle for the device for assisting signing block chain contract based on wireless telecommunications realized by onboard system.
Background technology
With the development of Internet of Things, vehicle (such as automobile) also terminal node in gradually as Internet of Things.
More convenient use vehicle is enabled people to, is how by Internet of Things as the terminal node in Internet of Things One the technical issues of meriting attention.
Invention content
In view of above-mentioned technical problem, it is proposed that the application overcoming the above problem or at least partly in order to provide one kind The method, apparatus and vehicle for assisting signing block chain contract based on wireless telecommunications realized by onboard system to solve the above problems .
According to one of the application aspect, provide it is a kind of by onboard system realizes based on wireless telecommunications auxiliary label The method for ordering block chain contract is provided with on-vehicle safety unit, the on-vehicle safety unit and the vehicle in the onboard system The fieldbus of loading system connects, the method includes the steps:Obtain block chain contract to be signed;By the area to be signed Block chain contract is supplied to on-vehicle safety unit, with by on-vehicle safety unit using its storage private key to the block to be signed Chain contract is digitally signed processing, wherein the private key includes:Block chain account private key;On-vehicle safety unit is exported Digital signature treated block chain contract, is transmitted with wireless communication mode, so that each block chain contract Fang Jun is obtained through all The block chain contract of block chain contract side digital signature.
Optionally, the block chain contract to be signed includes:The block chain contract generated by the onboard system;Or Person, by other block chain contract sides generate and in a manner of near-field communication or wireless communication networks mode transmit come block chain conjunction About;Alternatively, generated by other block chain contract sides and be transferred to block chain network side in a manner of wireless communication networks, and by block The block chain contract come is transmitted in a manner of wireless communication networks in chain network side.
Optionally, described to obtain block chain contract to be signed and include:In the life for receiving user and being inputted to onboard system In the case of being indicated at block chain contract, the contract basic information being locally stored according to onboard system generates block chain to be signed Contract.
Optionally, the digital signature that on-vehicle safety unit is exported treated block chain contract, with wireless telecommunications Mode is transmitted, so that block chain contract of each block chain contract Fang Jun acquisitions through all block chains contract side digital signature includes: Contract is generated according to digital signature treated the block chain contract of on-vehicle safety unit output to start to notify, and with near-field communication The contract is started notification transmission to other block chain contract sides, so that other block chains by mode or wireless communication networks Contract side starts the block chain contract in notice to the contract and is digitally signed processing;Other block chain contracts will be received Side, in a manner of near-field communication or wireless communication networks transmission come contract start confirm in block chain contract be supplied to it is vehicle-mounted Safe unit, with by on-vehicle safety unit using the block chain account public key of other block chains contract side to the contract really Block chain contract in recognizing carries out signature verification, and after signature verification passes through, and stores through all block chain contract number formulary word label The block chain contract of name;Wherein, the block chain contract through all block chains contract side digital signature is closed by all block chains A block chain contract side about in side, is transmitted to block chain network side in a manner of wireless communication networks.
Optionally, described to obtain block chain contract to be signed and include:Other block chain contract sides are received with near-field communication Mode or wireless communication networks mode transmit the contract come and start to notify, and obtain other areas since being notified the contract The block chain contract that block chain contract side generates;And it is described the block chain contract to be signed is supplied to on-vehicle safety unit, Include to be digitally signed processing to the block chain contract to be signed using the private key of its storage by on-vehicle safety unit: The contract is started into the block chain contract in notice, is supplied to on-vehicle safety unit, to utilize other by on-vehicle safety unit The block chain account public key of block chain contract side carries out signature verification to the block chain contract, and after signature verification passes through, Using its storage private key to signature verification by block chain contract be digitally signed processing.
Optionally, the digital signature that on-vehicle safety unit is exported treated block chain contract, with wireless telecommunications Mode is transmitted, so that block chain contract of each block chain contract Fang Jun acquisitions through all block chains contract side digital signature includes: There is currently the block chain contract side for not being digitally signed processing, according to the number of on-vehicle safety unit output Signature treated block chain contract generates contract and starts to notify, and in a manner of near-field communication or wireless communication networks, by institute It states contract and starts notification transmission to the block chain contract side for not being digitally signed processing, so that each block chain contract Fang Jun is directed to The block chain contract is digitally signed processing;There is currently no the block chain contract sides for not being digitally signed processing In the case of, store the block chain contract through all block chains contract side digital signature, and the number exported according to on-vehicle safety unit Word signature treated block chain contract generates contract and starts to confirm, in a manner of near-field communication or wireless communication networks mode, The contract is started to confirm and is transferred to other block chain contract sides, so that each block chain contract Fang Jun storages are through all block chains The block chain contract of contract side's digital signature;Wherein, the block chain contract through all block chains contract side digital signature by A block chain contract side in all block chains contract side, is transmitted to block chain network side in a manner of wireless communication networks.
Optionally, described to obtain block chain contract to be signed and include:Block chain network side is received with wireless communication networks Mode transmits the contract come and starts to notify, and the area generated by other block chain contract sides is obtained since being notified the contract Block chain contract;And it is described the block chain contract to be signed is supplied to on-vehicle safety unit, with by on-vehicle safety unit profit Being digitally signed processing to the block chain contract to be signed with the private key of its storage includes:The contract is started to notify In block chain contract, be supplied to on-vehicle safety unit, with by on-vehicle safety unit utilize other block chain contract sides block Chain account public key carries out signature verification to the block chain contract, and after signature verification passes through, and utilizes the private key pair of its storage Signature verification by block chain contract be digitally signed processing.
Optionally, the digital signature that on-vehicle safety unit is exported treated block chain contract, with wireless telecommunications Mode is transmitted, so that block chain contract of each block chain contract Fang Jun acquisitions through all block chains contract side digital signature includes: Contract is generated according to digital signature treated the block chain contract of on-vehicle safety unit output to start to confirm, with radio communication network The contract is started to confirm by network mode is transferred to block chain network side, so that the storage of block chain network side is closed through all block chains The block chain contract of about square digital signature, and the block chain contract through all block chains contract side digital signature is by block chain network Side is transmitted to other block chain contract sides in a manner of wireless communication networks.
Optionally, the method further includes before obtaining block chain contract to be signed:The onboard system and other Negotiated between block chain contract side by near-field communication mode or wireless communication networks mode block chain contract side The key that interactive information is encrypted.
Optionally, the onboard system and other block chain contract sides are negotiated by near-field communication mode for block The key that is encrypted of information of interaction between chain contract side includes:Key is generated via on-vehicle safety unit, and via other The key is encrypted in the block chain account public key of block chain contract side, after the encryption of on-vehicle safety unit output Key, other block chain contract sides are transferred to by near-field communication mode so that other block chain contract sides utilize its block The encrypted key is decrypted in chain account private key, obtains the key;Alternatively, other block chains received are closed The encrypted key that about side's transmission comes is supplied to on-vehicle safety unit, to utilize the block chain of its storage by on-vehicle safety unit The key is decrypted in account private key, and stores the key.
According to the application other in which in terms of, provide it is a kind of by onboard system realizes based on wireless telecommunications auxiliary The device of block chain contract is signed, is provided with on-vehicle safety unit in the onboard system, the on-vehicle safety unit passes through institute The fieldbus for stating onboard system is connect with described device, and described device includes:Acquisition module, for obtaining block to be signed Chain contract;Processing module, for the block chain contract to be signed to be supplied to on-vehicle safety unit, with by on-vehicle safety list Member is digitally signed processing using private key of its storage to the block chain contract to be signed, wherein the private key includes: Block chain account private key;Transmission module, digital signature for exporting on-vehicle safety unit treated block chain contract, with Wireless communication mode transmits, so that each block chain contract Fang Jun obtains the block chain through all block chains contract side digital signature and closes About.
According to the application wherein another aspect, provide it is a kind of be provided with by onboard system realize based on channel radio News auxiliary signs the vehicle of the device of block chain contract, which includes:Onboard system;It is provided in the onboard system vehicle-mounted In safe unit and the application embodiment signing block chain contract is assisted based on wireless telecommunications by what onboard system was realized Device;The on-vehicle safety unit is connect by the fieldbus of the onboard system with described device;The on-vehicle safety Unit is used to carry out number to the block chain contract to be signed that described device provides using the block chain account private key of its storage Signature processing.
The method, apparatus provided by the present application that assist signing block chain contract based on wireless telecommunications realized by onboard system And vehicle at least has following advantages and advantageous effect:The application, can by the way that on-vehicle safety unit is arranged in onboard system To be digitally signed processing to block chain contract using its memory block chain account private key by on-vehicle safety unit, to advantageous In the reliability for ensureing block chain contract;By transmitting digital signature processing to other block chain contract sides with wireless transmission method Block chain contract afterwards, may be implemented makes all block chain contract Fang Jun obtain carries out digital label via all block chains contract side Therefore name treated block chain contract is settled accounts etc. in Parking Fee clearing, charging disbursement and sattlement and timesharing using vehicle all In more application scenarios, the application can make the vehicle of the terminal node as Internet of Things and corresponding block chain contract Fang An Efficiently sign corresponding block chain contract entirely;It follows that technical solution provided by the present application is conducive to improve the intelligence of vehicle Degree and ease for use can be changed.
Above description is only the general introduction of technical scheme, in order to better understand the technological means of the application, And can be implemented in accordance with the contents of the specification, and in order to allow above and other objects, features and advantages of the application can It is clearer and more comprehensible, below the special specific implementation mode for lifting the application.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit are common for this field Technical staff will become clear.The attached drawing of the embodiment of the present application only for the purpose of illustrating preferred embodiments, and not It is considered the limitation to the application.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In attached drawing In:
Fig. 1 is the one of the method for assisting signing block chain contract based on wireless telecommunications of the application realized by onboard system The flow chart of embodiment;
Fig. 2 is the one of the method for assisting signing block chain contract based on wireless telecommunications of the application realized by onboard system The sequence diagram of practical application scene;
Fig. 3 is the another of the method based on wireless telecommunications auxiliary signing block chain contract of the application realized by onboard system The sequence diagram of one practical application scene;
Fig. 4 assists the method for signing block chain contract again by what onboard system was realized for the application's based on wireless telecommunications The sequence diagram of one practical application scene;
Fig. 5 is the one of the device for assisting signing block chain contract based on wireless telecommunications of the application realized by onboard system The schematic diagram of a embodiment;
Fig. 6 is that being provided with for the embodiment of the present application assists signing block chain to close by what onboard system was realized based on wireless telecommunications The schematic diagram of one embodiment of the vehicle of device about.
Specific implementation mode
Exemplary embodiment disclosed in the present application is more fully described below with reference to accompanying drawings.Although showing this in attached drawing The disclosed exemplary embodiment of application, it being understood, however, that may be realized in various forms the application and disclose without should be by here The embodiment of elaboration is limited.It is to be able to be best understood from the technical solution of the application on the contrary, providing these embodiments, And range disclosed in the present application can be completely communicated to those skilled in the art.
Following is the method for assisting signing block chain contract based on wireless telecommunications of the application realized by onboard system One specific embodiment.Wireless telecommunications in the application can be specially near-field communication or wireless communication networks etc..
The embodiment of the present application assists the method for signing block chain contract to lead to by what onboard system was realized based on wireless telecommunications Often suitable for the vehicle (i.e. motor vehicle) for being equipped with onboard system, and on-vehicle safety unit is provided in the onboard system.Vehicle It can be specially the existing SE (Secure Element, safe unit) for meeting the corresponding specification of mobile payment to carry safe unit Deng, and the on-vehicle safety unit in the application can be realized by way of software and hardware combining.The application does not limit on-vehicle safety The specific manifestation form of unit.
In the case that on-vehicle safety unit in this application is realized by the mode of software and hardware combining, the on-vehicle safety list Member would generally be set to the inside of onboard system to be not easy the set-up mode being disassembled.Optionally, on-vehicle safety unit can be with The fieldbus (such as CAN bus) of onboard system connects, between the other component in on-vehicle safety unit and onboard system Information exchange can be completed by fieldbus, such as data processing unit (such as microprocessor or centre in onboard system Manage device etc.) corresponding information is provided to on-vehicle safety unit via fieldbus, the information of on-vehicle safety unit output is via existing Field bus is transmitted to the data processing unit in onboard system.
The needs such as the method for the embodiment of the present application can stop in pay parking, Vehicular charging or vehicle timesharing are shared It signs and is performed in the application scenarios of contract.The application does not limit the application scenarios that this method is applicable in.The embodiment of the present application The flow of method is as shown in Figure 1.In Fig. 1, the method for the embodiment of the present application includes mainly:Step S100, step S110 and step Rapid S120.Each step included by the method to the embodiment of the present application is described in detail respectively below.
In Fig. 1, S100, block chain contract to be signed is obtained.
In an optional example, the block chain contract in the application typically refers to the conjunction generated based on block chain network About, which would generally be recorded in corresponding block chain.An at least block chain contract is needed in block chain contract When being signed under the presence of side's access block chain network, which is properly termed as online block chain contract.In block Chain contract does not need under the off-line state of each block chain contract side access block chain network when signing, which can claim For offline block chain contract.
The application can get block chain contract to be signed in several ways.Below with three specific examples into Row explanation.
First optional example, user can be by the input elements (such as touch screen or button) of onboard system to vehicle Loading system, which is sent, generates the instruction of block chain contract, onboard system after receiving generations block chain contract input by user and indicating, Block chain contract is actively generated according to the contract basic information being locally stored, the block chain contract that onboard system generates is to wait signing The block chain contract ordered.The example is commonly available to user and actively initiates to sign the applied field of block chain contract by onboard system Jing Zhong.Contract basic information in this example typically refers to, the basic data for generating contract, for example, contract basic information May include:The license plate number of vehicle, parking site, parking charge system identify (such as subscription system where onboard system Block chain account public key, the block chain account public key of subscription system and the title etc. of subscription system for another example, under Together, no longer illustrate one by one), parking charge mode, charging accounting mode and timesharing use in the charging mode of vehicle Partial content.Partial content (such as parking charge system mark, parking charge mode, charging accounting in contract basic information Mode and timesharing use the charging mode etc. of vehicle) can be that onboard system passes through near-field communication mode and other block chain contracts Fang Jinhang information exchanges and the data for obtaining and storing.The application does not limit onboard system and obtains and store contract basic information Specific implementation does not limit the particular content that contract basic information is included yet.In addition, onboard system with other block chains During contract side carries out information exchange, the information that key pair interaction may be used is encrypted, to ensure the information of interaction Safety.In this example, the block chain contract that onboard system generates can be shown to user, to be closed to block chain by user Content in about is checked, and the application can be using the block chain contract of user's confirmation as getting block to be signed Chain contract.
Second optional example, onboard system receive by near-field communication mode or wireless communication networks mode and come from it The contract of his block chain contract side starts to notify, which starts in notice to include block chain contract, and the block chain contract Usually pass through the block chain contract of the digital signature information of other block chain contract sides.Onboard system can lead to since contract Know and middle obtains block chain contract to be signed.
The optional example of third, onboard system receive by wireless communication networks mode and come from block chain network side (such as area Block chain management platform) contract start to notify, which starts in notice to include block chain contract, and the block chain contract is logical The normal block chain contract for by the digital signature of other block chain contract sides is (for example, other block chain contract sides generate block Chain contract, and processing is digitally signed to block chain contract using its private key, and treated that block chain closes by digital signature About be transferred to block chain network side, by block chain network side by include the block chain contract contract notification transmission to vehicle Loading system).Onboard system can obtain block chain contract to be signed since being notified contract.
In an optional example, the block chain contract to be signed of the application can be waited for for what Parking Fee was settled accounts The block chain contract of signing, a specific example, the block chain contract to be signed may include:Vehicle where onboard system License plate number, that parking site, parking initial time, parking terminate time, parking duration, parking charge mode, parking charge is total The bank account information etc. of valence, parking charge system mark and the user for paying Parking Fee.
In an optional example, the block chain contract to be signed of the application can also be for the disbursement and sattlement that charges Block chain contract to be signed, a specific example, the block chain contract to be signed may include:Vehicle where onboard system License plate number, charging place, charging pile mark, charging initial time, the charging termination time, charging duration, charging accounting side Formula, charging accounting total price, charging and toll collection system mark and the bank account information etc. of user.
In an optional example, the block chain contract to be signed of the application can also be uses vehicle fees for timesharing With the block chain contract to be signed of clearing, a specific example, which may include:Onboard system The license plate number of place vehicle, timesharing use vehicle using the origin of vehicle, timesharing using the termination place of vehicle, timesharing Initial time, timesharing use the charging mode of vehicle using the duration of vehicle, timesharing using the termination time of vehicle, timesharing, divide When identified using vehicle toll collection system using the charging total price of vehicle, timesharing and the bank account information etc. of user.
The application does not limit the particular content that block chain contract to be signed is included.
S110, the block chain contract to be signed is supplied to on-vehicle safety unit, to be utilized by on-vehicle safety unit The block chain contract that its private key stored treats signing is digitally signed processing.
In an optional example, the private key that the on-vehicle safety unit of the application is stored can be that block chain account is private Key, the block chain account private key are referred to as the block chain account private key of onboard system.The block chain account private key can have Body is the block chain account private key etc. based on vehicle owning user.Block chain account private key and public key based on user together can be with Characterize the block chain account of user.Block chain account private key can not usually be read out from on-vehicle safety unit, generally also cannot Enough it is replicated.The block chain account of user would generally with the Bank Account Number of user or user Third-party payment platform account Deng associated, in this way, in the block chain account progress contract payment using user, can trigger user Bank Account Number or Delivery operation of the user in the account of Third-party payment platform etc..Certainly, contract branch is being carried out using the block chain account of user Fu Shi, can not trigger user Bank Account Number or user the account of Third-party payment platform etc. delivery operation, but Delivery operation and feasible is executed by the block chain account of user.The block chain account of user in the application also may be used With the block chain intelligence account book account etc. of referred to as user.Optionally, the block chain account of user can be corresponding toll collection system Sub-block chain account under main block chain account, and can be stored with token in the block chain account of user.
Connect first optional example in above-mentioned S100, the block that onboard system can directly generate its onboard system Chain contract is supplied to on-vehicle safety unit, to treat the block chain contract of signing using the private key of its storage by on-vehicle safety unit It is digitally signed processing.
Second in above-mentioned S100 or the optional example of third are connected, onboard system can be by received contract The block chain contract started in notice is supplied to on-vehicle safety unit, to utilize other block chain contracts via on-vehicle safety unit Side's (block chain contract as generated the block chain contract side of block chain contract or to block chain network side transport block chain contract Block chain account public key just) carries out signature verification to block chain contract, after signature verification passes through, on-vehicle safety unit profit Processing is digitally signed to the block chain contract with the private key of its storage.Certainly, the operation of above-mentioned signature verification process also may be used To be executed by the other component other than on-vehicle safety unit in onboard system.In addition, signature verification pass through after block Chain contract can be shown to user by onboard system, to be checked the content in block chain contract by user, in user's core After errorless to content, then processing is digitally signed by the on-vehicle safety unit in onboard system.
In an optional example, the block chain contract that on-vehicle safety unit treats signing using the private key of its storage carries out Digital signature processing a concrete mode be:On-vehicle safety unit obtains the summary info of block chain contract, and is deposited using it The block chain account private key of storage carries out corresponding calculation processing to the summary info, to form the number label of the block chain contract Name information.In addition, on-vehicle safety unit can utilize symmetric key to believe block chain contract and/or its digital signature generated Breath is encrypted.On-vehicle safety unit can obtain the abstract letter using the encrypted block chain contract of symmetric key Breath, to form digital signature information.In addition, on-vehicle safety unit can be directed to block chain contract and other information (in such as message Other information etc.) summary info is obtained together, to form digital signature information.The application does not limit on-vehicle safety unit and utilizes area The block chain contract that block chain account private key treats signing is digitally signed the specific implementation of processing.
In an optional example, on-vehicle safety unit is using the block chain public key of other block chain contract sides to receiving Block chain contract carry out signature verification a specific implementation be:On-vehicle safety unit utilizes other block contract sides The block chain contract is decrypted in block chain account public key, to obtain the abstract letter of other block chain contract sides generation Breath, then, on-vehicle safety unit are based on block chain contract and generate summary info, and the summary info generated and other blocks The summary info that chain contract side generates is compared, if the two is consistent, signature verification passes through, otherwise, signature verification failure. In addition, in other block chain contract sides being generated together with other information (other information in such as message) for block chain contract In the case of summary info, on-vehicle safety unit should also be directed to block chain contract and other information (other information in such as message) Summary info is generated together.In the case of the block chain contract after block chain contract is encryption, on-vehicle safety unit can Block chain contract is decrypted with the key (symmetric key) using its storage, to obtain block chain contract.This Application does not limit the specific implementation that on-vehicle safety unit carries out signature verification process.In addition, if digital signature information is In the case of digital signature information after encryption, on-vehicle safety unit can be directed to digital signature first with symmetric key After information is decrypted, the block chain account public key of other block chain contract sides is recycled to be decrypted, to obtain it The summary info that his block chain contract side generates, on-vehicle safety unit utilize the decryption processing operation that symmetric key executes and answer Related with the setting of layer, the application is not limited.
In an optional example, the above-mentioned key for encrypting and decrypting processing can be onboard system and other blocks The key that chain contract side obtains through consultation.
Obtaining a specific example of key through consultation can be:On-vehicle safety unit in onboard system generates close Key, on-vehicle safety unit is encrypted the key using the block chain account public key of other block chain contract sides, vehicle-mounted Key after the encryption that system exports on-vehicle safety unit passes through near-field communication mode or wireless communication networks mode Other block chain contract sides are transferred to, for example, onboard system negotiates request using encrypted key production key, and by close Field communication modes or wireless communication networks mode are transferred to other block chain contract sides, other block chain contract sides are receiving After key negotiation request, the key in key negotiation request is decrypted using its block chain account private key (such as other Place is decrypted to the key in key negotiation request using its block chain account private key in the safe unit of block chain contract side Reason), to obtain key, and the key is stored, in addition, other block chain contract sides can also be in a manner of near-field communication or nothing Line communication network mode sends key agreement to onboard system and confirms, the information during which confirms can be other areas Block chain contract side be encrypted using key after information.
Obtaining another specific example of key through consultation can be:Onboard system passes through near-field communication mode or nothing Line communication network mode receives the key after the encryption that the transmission of other block chain contract sides comes, for example, other block chains close About side generates key, and key is encrypted using the block chain account public key of onboard system, later, at encryption Key after reason forms key negotiation request, other block chain contract sides pass through near-field communication mode or wireless communication networks side Formula sends key negotiation request to onboard system;Onboard system will be after the encryption in the key negotiation request that received Key is supplied to on-vehicle safety unit, is added using the block chain account private key pair of the onboard system of its storage by on-vehicle safety unit Close treated that key is decrypted, and to obtain key, the key is locally stored in on-vehicle safety unit, and onboard system can To negotiate to confirm to the block chain contract side " return " key" for sending key, the information during which confirms can be vehicle-mounted peace Information after unit is encrypted using key entirely.
The application does not limit the specific reality for making all block chains contract side obtain by key agreement mode and storing key Existing mode.
S120, the digital signature for exporting on-vehicle safety unit treated block chain contract, are passed with wireless communication mode It is defeated, so that each block chain contract Fang Jun obtains the block chain contract through all block chains contract side digital signature.
In an optional example, other block chain contract sides of the application refer in addition to the block chain belonging to onboard system The block chain contract side of the block chain contract is signed in participation except contract side.Specifically, signing block chain contract in two sides In the case of, other block chain contract sides in the application are another block chain contract side, for example, user drive its vehicle into In the application scenarios for entering parking lot, other block chain contracts can be with for parking charge system;It is filled for another example being utilized in user In the application scenarios that electric stake is charged to its vehicle, other block chain contracts can be with for charging pile toll collection system;For another example In application scenarios of the user time-sharing using vehicle, other block chain contracts can be to use vehicle toll collection system for timesharing.And In tripartite or in the case of more multi-party signing block chain contract, other block chain contracts can be to close at least one block chain It is about square.The application does not limit the specific manifestation form of other block chain contract sides.
In an optional example, treated that block chain contract can consider for the digital signature of on-vehicle safety unit output Block chain contract with digital signature information such as exports block chain contract itself and digital signature information, and block chain closes About itself can utilize the encrypted block chain contract of key.
In an optional example, there is currently the block chain contract side for not being digitally signed processing, Digital signature treated the block chain contract that the application can be exported according to on-vehicle safety unit generates contract and starts to notify, and In a manner of near-field communication or wireless communication networks mode, which is started into notification transmission to not being digitally signed processing Block chain contract side, to promote each block chain contract Fang Jun to be digitally signed processing for the block chain contract.
One specific example sets onboard system as block chain contract side A, and block chain contract side A needs and area Block chain contract side B signs a block chain contract jointly, under the setting:
First, digital signature treated the block chain that block chain contract side A can be exported according to on-vehicle safety unit closes About, generate contract start notice (contract start notice in include block chain contract itself and block chain contract side A number Word signing messages, and block chain contract itself can be the block chain conjunction after on-vehicle safety unit is encrypted using key About), which is started notification transmission to area in a manner of near-field communication or wireless communication networks mode by block chain contract side A Block chain contract side B.
Secondly, block chain contract side B utilizes the block chain of block chain contract side A after receiving contract and starting notice Account public key starts the block chain contract progress signature verification in notice to contract (can be by the safety in block chain contract side B Unit executes the signature verification operations), signature verification pass through or signature verification by and block chain contract side B user After verification block chain treaty content is errorless, contract is started in notice using the block chain account private key of block chain contract side B Block chain contract is digitally signed processing, and stores the block chain contract that processing is digitally signed through both sides, that is, stores The digital signature information of block chain contract itself, the digital signature information of block chain contract side A and block chain contract side B.
Again, block chain contract side B forms contract according to the block chain contract for being digitally signed processing through both sides and opens Begin to confirm.The contract starts include that (block chain contract itself can be carried out using key to block chain contract in confirming Block chain contract after encryption), the number label of the digital signature information of block chain contract side A and block chain contract side B Name information, and the contract is started to confirm in a manner of near-field communication or wireless communication networks mode, it is transferred to block chain contract Square A.
Finally, contract is started the block chain contract in confirming by block chain contract side A after receiving contract and starting confirmation It is supplied to on-vehicle safety unit, block chain is closed using the block chain account public key of block chain contract side B by on-vehicle safety unit Signature verification is about carried out, for on-vehicle safety unit after signature verification passes through, storage is digitally signed the area of processing through both sides Block chain contract is digitally signed processing to be stored in block chain contract side A and block chain contract side B through both sides Block chain contract.If contract, which starts the block chain contract itself in confirming, have passed through encryption, on-vehicle safety unit can profit It is decrypted with key pair block chain contract itself, and stores the block chain contract after decryption processing.Certainly, storage encryption Treated block chain contract itself and key are also feasible.In addition, the content of above-mentioned on-vehicle safety unit storage also may be used To be stored in other storage mediums of onboard system.
Another specific example sets onboard system as block chain contract side A, and block chain contract side A need with Block chain contract side B and block chain contract side C cooperatively signs a block chain contract, under the setting:
First, digital signature treated the block chain that block chain contract side A can be exported according to on-vehicle safety unit closes About, generate contract start notice (contract start notice in include block chain contract itself and block chain contract side A number Word signing messages, and block chain contract itself can be the block chain conjunction after on-vehicle safety unit is encrypted using key About), which is started notification transmission to area in a manner of near-field communication or wireless communication networks mode by block chain contract side A Block chain contract side B.
Secondly, block chain contract side B utilizes the block chain of block chain contract side A after receiving contract and starting notice Account public key starts the block chain contract progress signature verification in notice to contract (can be by the safety in block chain contract side B Unit executes the signature verification operations), pass through in signature verification, or signature verification by and block chain contract side B use After family verification block chain treaty content is errorless, using the block chain account private key of block chain contract side B, contract is started in notice Block chain contract be digitally signed processing, block chain contract side B is according to the block chain for being digitally signed processing through both sides Contract formed contract start to notify, i.e., the contract start notice in include block chain contract itself (can be using key into Block chain contract after row encryption), the number of the digital signature information of block chain contract side A and block chain contract side B Signing messages, and the contract is started into notice in a manner of near-field communication or wireless communication networks mode, it is transferred to block chain Contract side C.
Again, block chain contract side C utilizes the block chain account of block chain contract side B after receiving contract and starting notice Number public key to contract start the block chain contract in notice carry out signature verification (can be single by the safety in block chain contract side C Member executes the signature verification operations), and pass through in signature verification, or signature verification by and block chain contract side C use After family verification block chain treaty content is errorless, contract is started in notice using the block chain account private key of block chain contract side C Block chain contract be digitally signed processing (for example, executing the digital signature by the safe unit in block chain contract side C Reason operation), block chain contract side C storage tripartites are digitally signed the block chain contract of processing.Block chain contract side C according to Tripartite be digitally signed processing block chain contract formed contract start to confirm, i.e., the contract start confirm in include area The number label of block chain contract itself (can be the block chain contract after being encrypted using key), block chain contract side A Name information, the digital signature information of the digital signature information of block chain contract side B and block chain contract side C, and it is logical near field Contract is started confirmation and is transferred to block chain contract side B by news mode or wireless communication networks mode.
Again, block chain contract side B utilizes the block chain account of block chain contract side C after receiving contract and starting confirmation The block chain account public key of number public key and/or block chain contract side B, the block chain contract started to contract in confirming are signed Verification, after signature verification passes through, or signature verification by and block chain contract side B user check block chain contract in Hold it is errorless after, block chain contract side B storage tripartite is digitally signed the block chain contract of processing, in addition, block chain contract Square B continues to start to confirm to block chain contract side A transmission contracts.
Finally, for block chain contract side A after receiving contract and starting confirmation, on-vehicle safety unit utilizes block chain contract side The block chain contract that the block chain account public key of C starts contract in confirming carries out signature verification, and after signature verification passes through, Or signature verification by and block chain contract side A user check block chain treaty content it is errorless after, block chain contract side A In on-vehicle safety unit storage tripartite be digitally signed the block chain contract of processing, to block chain contract side A, block The block chain contract that tripartite is digitally signed processing is stored in chain contract side B and block chain contract side C.
It should be strongly noted that if block chain contract side is more than tripartite, the area in above-mentioned second specific example Block chain contract side C will produce contract and start to notify, the contract start notice include block chain contract itself (can be utilize it is close Key be encrypted after block chain contract), the number of the digital signature information of block chain contract side A, block chain contract side B The digital signature information of signing messages and block chain contract side C, block chain contract side C continue transmission contract and start to notify have Body process is no longer described in detail herein.
In an optional example, there is currently no the situations for the block chain contract side for not being digitally signed processing Under, on-vehicle safety unit and/or onboard system store the block chain contract through all block chains contract side digital signature, vehicle-mounted system System should (can be also to be signed by encryption and number according to digital signature treated the block chain contract that on-vehicle safety unit exports Name treated block chain contract) it generates contract and starts to confirm, in a manner of near-field communication or wireless communication networks mode, it will close About start to confirm and be transferred to other block chain contract sides, so that each block chain contract Fang Jun receives contract and starts to confirm, and deposits Storage contract starts the block chain contract through all block chains contract side digital signature in confirming.In above-mentioned first specific example In, if onboard system is block chain contract side B, the operation performed by block chain contract side B is to be retouched in the optional example The operation stated.In above-mentioned second specific example, if onboard system is block chain contract side C, block chain contract side C institutes The operation of execution is the operation described in the optional example.It is no longer described in detail herein.
In an optional example, receives the contract that the transmission of block chain network side comes in onboard system and start to notify, and By the contract start notice in block chain contract be supplied to on-vehicle safety unit, by on-vehicle safety unit carry out signature verification with And digital signature processing (may include decryption processing) after, the application can according to on-vehicle safety unit output digital signature at Block chain contract after reason generates contract and starts to confirm, and starts to confirm by the contract in a manner of wireless communication networks and be transferred to Block chain network side allows block chain network side to store the block chain contract through all block chains contract side digital signature, separately Outside, the block chain contract through all block chains contract side digital signature can start to confirm by contract, by block chain network side, Other block chain contract sides are transmitted in a manner of wireless communication networks, to make other block chain contract sides can be according to reception To contract start confirm storage the block chain contract through all block chains contract side digital signature.
It should be strongly noted that the information that above-mentioned contract starts to notify and contract starts in confirming can be at encryption Information after reason, to ensure the safety of information transmission.Contract starts notice and contract starts to need in confirming in encrypted Appearance can be determined according to practical application (as encrypted for block chain contract itself or being encrypted for digital signature information Deng), the application is not restricted this.In one side of onboard system, encryption, decryption processing, digital signature processing and signature verification Processing is typically each executed by on-vehicle safety unit, and certainly, the application is also not excluded for encryption, decryption processing and signature verification The possibility that processing is realized by the other component in onboard system.
It should be strongly noted that in the above-described embodiment, each block chain contract side is usually both provided with safe unit, The key (such as symmetric key) and block chain contract for being useful for that cryptographic operation is executed to information are commonly stored in the safe unit Square private key and public key (such as the block chain account private key based on parking charge system and public key, the area based on charging and toll collection system Block chain account private key and public key use block chain account private key of vehicle toll collection system and public key etc. based on timesharing).Each block chain Safe unit in contract side can execute encryption, decryption, digital signature and signature verification process etc..In addition, for pair The key that information is encrypted can be generated by the safe unit of either block chain contract side, and each block chain contract side is passing through Negotiate during obtaining key, can use the block chain public key of recipient that the key that it is generated is encrypted, from And recipient can use its block chain private key to execute decryption processing, to obtain key, realize key agreement.
With reference to specific application scenarios, by taking attached drawing 2-4 as an example, to the application by onboard system realization based on nothing The method that line communication auxiliary signs block chain contract illustrates.
During user's control its vehicle drives into parking lot, initiated to sign block chain contract by parking charge system Process, to realize block chain contract sign detailed process it is as shown in Figure 2.
In Fig. 2, step 1, during user's control its vehicle drives into parking lot, parking charge system is (i.e. in Fig. 2 Parking lot) and the vehicle in onboard system information exchange is carried out, parking charge system can using near-field communication mode To get the license plate number of the vehicle based on the information exchange, to identify the vehicle.The process of the information exchange can lead to Key is crossed to be encrypted.And cipher key agreement process would generally execute completion before step 1.In addition, parking charge system is also During being mutually distinguishable, the bank account information of the public key and user based on block chain account of the user can be got Etc. information.Certainly, parking charge system can also use image recognition technology (as known for the image for acquisition of taking pictures The license plate number of the vehicle is not obtained).Parking charge system can be used image recognition technology obtain license plate number with it is upper It states and consistency checking is carried out by the license plate number that information exchange obtains, to ensure the authenticity of the vehicle identification.Similarly hereinafter, not further One explanation.
Step 2, parking charge system can be directed to the license plate number and generate block chain contract after obtaining license plate number. The block chain contract can be:Through parking charge system using its block chain account private key (as being based on parking charge system Block chain account private key) the block chain contract that is digitally signed that treated is (such as by the safety in parking charge system Unit executes the digital signature processing operation).The content of the block chain contract may include:The parking of license plate number, parking lot Point, the parking charge unit price in parking lot, vehicle entry time and parking charge system mark etc..In addition, in block chain contract It can also include the bank account information etc. of user.Parking charge system is in a manner of wireless communication networks, to block chain network Side (i.e. background network in Fig. 2) transmission includes that the block chain contract of digital signature treated block chain contract starts to notify (i.e. vehicle parking notice in Fig. 2), which starts the block chain contract itself in notice and/or digital signature letter Breath etc. can be the content after encryption.
In addition, parking charge system can also start timer, and carry out overtime judgement in real time, to parking fee collective system System can execute other processing behaviour in the case where block chain network side cannot timely respond to the block chain contract and start notice Make, such as time-out notification is sent to the intelligent terminal (such as intelligent mobile phone or tablet computer) of user.
Step 3, block chain network side by wireless communication networks, are receiving the block chain from parking charge system After contract starts notice, block chain contract can be started to notify, in a manner of wireless communication networks, be transferred directly to vehicle-mounted system System, can also first with the block chain account public key based on parking charge system to block chain contract carry out signature verification ( , can be according to the actual conditions of encryption in signature-verification process, and corresponding decryption processes are added, similarly hereinafter, subsequently No longer illustrate), after signature verification passes through, block chain network side is again in a manner of wireless communication networks, by block chain contract Start notification transmission to onboard system.
Step 4, onboard system by wireless communication networks mode, are receiving the block chain conjunction from block chain network side After about starting notice, the block chain contract in notice is supplied to on-vehicle safety unit, is utilized by on-vehicle safety unit and is based on stopping The block chain account public key of parking lot toll collection system carries out signature verification to block chain contract;After signature verification passes through, Huo Zhe Signature verification by and user check block chain treaty content it is errorless after, on-vehicle safety unit utilize its block chain account private key pair Block chain contract is digitally signed processing, and stores this digital signature treated that block chain contract (carries both sides' number The block chain contract of word signing messages);On-vehicle safety unit exports this digital signature treated block chain contract, vehicle-mounted system System can utilize block chain contract formation block chain contract to start to confirm, to block chain network side in a manner of wireless communication networks The block chain contract is sent to start to confirm.In this way, block chain network side is after receiving block chain contract and starting confirmation, Ke Yili Block chain contract is verified with the block chain account public key of onboard system, after being verified, storage should carry both sides' number The block chain contract of word signing messages.
Step 5, block chain network side should also be sent contract to parking charge system and opened by wireless communication networks mode Begin to confirm.
Parking charge system can utilize the block chain of onboard system after receiving the block chain contract and starting confirmation Account public key verifies block chain contract, and after being verified, parking charge system stores this and passes through both sides' number label The block chain contract of name processing.
Step 6, block chain network side can be to intelligent terminal (such as intelligent mobile phones or tablet computer of user Deng) send the notice successfully signed of block chain contract.
During user's control its vehicle drives into parking lot, block chain contract is initiated by parking charge system and is signed Process, to realize that the detailed process that block chain contract is signed is as shown in Figure 3.
In Fig. 3, step 1, during user's control its vehicle drives into parking lot, parking charge system is (i.e. in Fig. 3 Parking lot) and the vehicle in onboard system information exchange is carried out, parking charge system can using near-field communication mode To get the license plate number of the vehicle based on the information exchange, to identify the vehicle.The process of the information exchange can lead to Key is crossed to be encrypted.And cipher key agreement process would generally execute completion before step 1.In addition, parking charge system is also During being mutually distinguishable, the bank account information of the public key and user based on block chain account of the user can be got Etc. information.
Step 2, parking charge system can be directed to the license plate number and generate block chain contract after obtaining license plate number. The block chain contract can be:Through parking charge system using its block chain account private key (as being based on parking charge system Block chain account private key) the block chain contract that is digitally signed that treated is (such as by the safety in parking charge system Unit executes the digital signature processing operation).The block chain contract may include:License plate number, the parking site in parking lot, parking Parking charge unit price, vehicle entry time and parking charge system mark of field etc..In addition, can also be wrapped in block chain contract Include the bank account information etc. of user.Parking charge system includes number to onboard system transmission in a manner of near-field communication The block chain contract of signature treated block chain contract starts to notify.
In addition, parking charge system can also start timer, and carry out overtime judgement in real time, to parking fee collective system System can execute other processing operations in the case where onboard system cannot timely respond to the block chain contract and start notice, Such as time-out notification is sent to the intelligent terminal of user (such as intelligent mobile phone or tablet computer).
Step 3, onboard system by near-field communication mode, are receiving the block chain contract from parking charge system After starting notice, the block chain contract in notice is supplied to on-vehicle safety unit, is utilized based on parking by on-vehicle safety unit The block chain account public key of field toll collection system carries out signature verification to block chain contract, after signature verification passes through, or is signing Name be verified and user check block chain treaty content it is errorless after, on-vehicle safety unit using its block chain account private key to area Block chain contract is digitally signed processing, and stores this digital signature treated that block chain contract (passes through both sides' number The block chain contract of signature processing);On-vehicle safety unit exports digital signature treated block chain contract, and onboard system can be with Block chain contract is formed using the block chain contract to start to confirm, the area is sent to parking charge system in a manner of near-field communication Block chain contract starts to confirm.
Step 4, parking charge system can utilize the area of onboard system after receiving block chain contract and starting confirmation The block chain contract that block chain account public key starts contract in confirming carries out signature verification, and after signature verification passes through, storage should The block chain contract handled by both sides' digital signature.In addition, parking charge system, which can utilize, passes through both sides' digital signature The block chain contract of information forms contract notice, in a manner of wireless communication networks, to block chain network side (i.e. backstage in Fig. 3 Network) transmission.
Step 5, block chain network side are after receiving the contract notice from parking charge system, using based on parking The block chain account public key of field toll collection system carries out signature verification, after signature verification passes through, block link network to block chain contract Network side stores the block chain contract for passing through the processing of both sides' digital signature.In addition, block chain network side can also be with wireless telecommunications Network mode confirms (i.e. backstage in Fig. 3 confirms), so that parking charge system to parking charge system transmission network side Learn block chain network side memory block chain contract.
Step 6, block chain network side can be to intelligent terminal (such as intelligent mobile phones or tablet computer of user Deng) send the notice successfully signed of block chain contract.
During user's control its vehicle drives into parking lot, block chain contract is initiated by parking charge system and is signed Process, to realize that the detailed process that block chain contract is signed is as shown in Figure 4.
In Fig. 4, step 1, during user's control its vehicle drives into parking lot, parking charge system is (i.e. in Fig. 4 Parking lot) and the vehicle in onboard system information exchange is carried out, parking charge system can using near-field communication mode To get the license plate number of the vehicle based on the information exchange, to identify the vehicle.The process of the information exchange can lead to Key is crossed to be encrypted.And cipher key agreement process would generally execute completion before step 1.In addition, parking charge system is also The information such as the bank account information of public key and user based on block chain account of the user can be got.
Step 2, parking charge system can be directed to the license plate number and generate block chain contract after obtaining license plate number. The block chain contract can be:Through parking charge system using its block chain account private key (as being based on parking charge system Block chain account private key) the block chain contract that is digitally signed that treated is (such as by the safety in parking charge system Unit executes the digital signature processing operation).The block chain contract may include:License plate number, the parking site in parking lot, parking Parking charge unit price, vehicle entry time and parking charge system mark of field etc..In addition, can also be wrapped in block chain contract Include the bank account information etc. of user.Parking charge system in a manner of near-field communication, to onboard system transmission include by The block chain contract of digital signature treated block chain contract starts to notify.
Parking charge system can also start timer, and carry out overtime judgement in real time, to parking charge system Can onboard system cannot timely respond to the block chain contract start notice when, other processing operations are executed, as to user Intelligent terminal (such as intelligent mobile phone or tablet computer) sends time-out notification etc..
Step 3, onboard system start by near-field communication, receiving the block chain contract from parking charge system After notice, the block chain contract in notice is supplied to on-vehicle safety unit, is utilized by on-vehicle safety unit and is received based on parking lot The block chain account public key of charge system carries out signature verification to the block chain contract, after signature verification passes through, or is signing Be verified and user check the block chain treaty content it is errorless after, on-vehicle safety unit using its block chain account private key to area Block chain contract is digitally signed processing, and stores this digital signature treated that block chain contract (passes through both sides' number The block chain contract of signing messages);Onboard system can utilize the block chain contract of on-vehicle safety unit output to form block Chain contract starts to confirm, sending the block chain contract to parking charge system in a manner of near-field communication starts to confirm.In this way, stopping Parking lot toll collection system can utilize the block chain account public key pair of onboard system after receiving the block chain contract and starting confirmation Block chain contract carries out signature verification, and after signature verification passes through, parking charge system stores this and passes through both sides' digital signature The block chain contract of information.
Optionally, parking charge system can be to intelligent terminal (such as intelligent mobile phone or tablet of user Computer etc.) send the notice that block chain contract is successfully signed.
It should be strongly noted that part operation performed by block chain contract side in above-mentioned Fig. 1-4 or all behaviour Make, the block in respective block chain can be formed, and is recorded.The application can need to lead to according to practical business demand to determine The operation that block is recorded is crossed, for example, during block chain network side is in memory block chain contract, in respective block chain The block of contract is signed in middle setting.
Here is the device for assisting signing block chain contract based on wireless telecommunications of the application realized by onboard system One specific embodiment.
The embodiment of the present application assists the device for signing block chain contract to set by what onboard system was realized based on wireless telecommunications It is placed in onboard system, on-vehicle safety unit is additionally provided in the onboard system, it can be between the device and on-vehicle safety unit It is connected by the fieldbus of onboard system.The structure of the device of the embodiment of the present application is as shown in Figure 5.
In Fig. 5, the device of the embodiment of the present application includes:Acquisition module 500, processing module 510 and transmission module 520. Optionally, which further includes:Key negotiation module 530.Each module for including to the control device of the embodiment of the present application below It illustrates respectively.
Acquisition module 500 is mainly used for obtaining block chain contract to be signed.Concrete operations performed by acquisition module 500 The description of correlation step in the above-mentioned description for the S100 in Fig. 1 and Fig. 2-4 is may refer to, this will not be repeated here.
Processing module 510 is mainly used for the block chain contract to be signed that acquisition module 500 is got being supplied to vehicle-mounted On-vehicle safety unit in system, to treat the block of signing using the block chain account private key of its storage by on-vehicle safety unit Chain contract is digitally signed processing.The concrete operations that processing module 510 executes may refer to the above-mentioned S110's in Fig. 1 The description of description and correlation step in Fig. 2-4, this will not be repeated here.
Transmission module 520 is mainly used for the digital signature for exporting on-vehicle safety unit treated block chain contract, with Wireless communication mode transmits, so that each block chain contract Fang Jun obtains the block chain through all block chains contract side digital signature and closes About.The concrete operations that transmission module 520 executes may refer to related in the above-mentioned description for the S120 in Fig. 1 and Fig. 2-4 The description of step, this will not be repeated here.
Key negotiation module 530 is mainly used for onboard system and other block chain contract sides, passes through near-field communication mode, association The key that commercialization is encrypted in the information of the interaction between block chain contract side.Key negotiation module 530 obtains through consultation Key can be supplied to it is any one in acquisition module 500, processing module 510, transmission module 520 and on-vehicle safety unit It is a or any number of.In cipher key agreement process, block chain account public key may be used, key is encrypted, it is specific as above The description in method embodiment is stated, this will not be repeated here.
Here is that being provided with for the application assists signing block chain contract by what onboard system was realized based on wireless telecommunications One specific embodiment of the vehicle of device.
The vehicle (as shown in Figure 6) of the embodiment of the present application includes:Onboard system 600 is provided with vehicle in the onboard system 600 The device 620 for assisting signing block chain contract based on wireless telecommunications for carrying safe unit 610 and being realized by onboard system;Wherein Device 620 and on-vehicle safety unit 610 between connected by the fieldbus of onboard system.The device 620 is mainly used for obtaining Block chain contract to be signed is taken, and block chain contract to be signed is supplied to on-vehicle safety unit 610, with by on-vehicle safety The block chain contract that unit 610 treats signing using the block chain account private key of its storage is digitally signed processing;It will be vehicle-mounted Digital signature treated the block chain contract that safe unit 610 exports, is transmitted with wireless communication mode, so that each block chain closes About Fang Jun obtains the block chain contract through all block chains contract side digital signature.On-vehicle safety unit 610 and device 620 are specific The operation of execution and the concrete structure of device 620 may refer to retouching in above method embodiment and device embodiments It states, this will not be repeated here.
Provided herein algorithm and display not with the intrinsic phase of any certain computer, virtual system or miscellaneous equipment It closes.Various general-purpose systems can also be used together with teaching based on this.As described above, this kind of system is constructed to be wanted The structure asked is obvious.In addition, the application is not also directed to any certain programmed language.It should be understood that can utilize each Kind programming language realizes present context described here, and the description done above to language-specific is to disclose this The preferred forms of application.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the application Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each application aspect, Above in the description of the exemplary embodiment of the application, each feature of the application is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect Shield this application claims the more features of feature than being expressly recited in each claim.More precisely, such as this Shen As claims please reflect, all features less than single embodiment disclosed above are in terms of application.Cause This, it then follows thus claims of specific implementation mode are expressly incorporated in the specific implementation mode, wherein each claim Itself is all as the separate embodiments of the application.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment Change and they are arranged in the one or more equipment different from the embodiment.It can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit requires, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation It replaces.
In addition, it will be appreciated by those of skill in the art that although embodiment described herein includes institute in other embodiments Including certain features rather than other feature, but the combination of the feature of different embodiment means to be in scope of the present application Within and form different embodiments.For example, in following claims, embodiment claimed it is arbitrary One of mode can use in any combination.
The all parts embodiment of the application can be with hardware realization, or to run on one or more processors Software module realize, or realized with combination thereof.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor (DSP) are used for multioperation end remote control list to realize according to the embodiment of the present application Some or all functions in the system of operation object.The application is also implemented as executing method as described herein Some or all equipment or system program (such as computer program and computer program product).Such realization is originally The program of application can may be stored on the computer-readable medium, or can be with the form of one or more signal.In this way Signal can download and obtain from the website of internet, can also be provided on carrier signal, or in any other forms It provides.
It should be noted that above-described embodiment is to illustrate rather than to limit the application to the application, and Those skilled in the art can design alternative embodiment without departing from the scope of the appended claims.In claim In, any reference mark between bracket should not be configured to limitations on claims.Word "comprising" is not excluded for depositing In elements or steps etc. not listed in the claims.Word "a" or "an" before element does not exclude the presence of more A such element.The application can be by means of including the hardware of several different elements and by means of properly programmed calculating Machine is realized.If in the unit claim for listing dry systems, several in these systems can be by same Hardware branch embodies.The use of word first, second and third etc. does not indicate that any sequence.These words can be explained For title.

Claims (10)

1. a kind of method for assisting signing block chain contract based on wireless telecommunications realized by onboard system, which is characterized in that institute It states and is provided with on-vehicle safety unit in onboard system, the on-vehicle safety unit is connect with the fieldbus of the onboard system, The method includes following step:
Obtain block chain contract to be signed;
The block chain contract to be signed is supplied to on-vehicle safety unit, to utilize the private of its storage by on-vehicle safety unit Key is digitally signed processing to the block chain contract to be signed, wherein the private key includes:Block chain account private key;
The digital signature that on-vehicle safety unit is exported treated block chain contract, is transmitted with wireless communication mode, so that respectively Block chain contract Fang Jun obtains the block chain contract through all block chains contract side digital signature.
2. the method as described in claim 1, which is characterized in that the block chain contract to be signed includes:
The block chain contract generated by the onboard system;Or
By other block chain contract sides generate and in a manner of near-field communication or wireless communication networks mode transmit Lai block chain Contract;Or
It is generated by other block chain contract sides and is transferred to block chain network side in a manner of wireless communication networks, and by block link network The block chain contract come is transmitted in a manner of wireless communication networks in network side.
3. method as claimed in claim 2, which is characterized in that described to obtain block chain contract to be signed and include:
In the case where receiving the generation block chain contract instruction that user inputs to onboard system, locally deposited according to onboard system The contract basic information of storage generates block chain contract to be signed.
4. method as claimed in claim 3, which is characterized in that after the digital signature processing for exporting on-vehicle safety unit Block chain contract, transmitted with wireless communication mode so that each block chain contract Fang Jun obtain through all block chain contract number formularies Word signature block chain contract include:
Contract is generated according to digital signature treated the block chain contract of on-vehicle safety unit output to start to notify, and near field The contract is started notification transmission to other block chain contract sides, so that other areas by communication modes or wireless communication networks Block chain contract side starts the block chain contract in notice to the contract and is digitally signed processing;
Other block chain contract sides will be received, in a manner of near-field communication or wireless communication networks transmit the contract come and start really Block chain contract in recognizing is supplied to on-vehicle safety unit, to utilize the block of other block chains contract side by on-vehicle safety unit The block chain contract that chain account public key starts the contract in confirming carries out signature verification, and after signature verification passes through, deposits The block chain contract of all block chains of Chu Jing contract side digital signature;
Wherein, the block chain contract through all block chains contract side digital signature is by mono- areas all block chains contract side Zhong Block chain contract side is transmitted to block chain network side in a manner of wireless communication networks.
5. method as claimed in claim 2, which is characterized in that described to obtain block chain contract to be signed and include:
Other block chain contract sides are received in a manner of near-field communication or wireless communication networks mode transmits the contract come and starts to lead to Know, and obtains the block chain contract of other block chain contract sides generation since being notified the contract;
And it is described the block chain contract to be signed is supplied to on-vehicle safety unit, to be deposited using it by on-vehicle safety unit The private key of storage is digitally signed processing to the block chain contract to be signed:
The contract is started into the block chain contract in notice, on-vehicle safety unit is supplied to, to be utilized by on-vehicle safety unit The block chain account public key of other block chain contract sides carries out signature verification to the block chain contract, and passes through in signature verification Afterwards, using its storage private key to signature verification by block chain contract be digitally signed processing.
6. method as claimed in claim 5, which is characterized in that after the digital signature processing for exporting on-vehicle safety unit Block chain contract, transmitted with wireless communication mode so that each block chain contract Fang Jun obtain through all block chain contract number formularies Word signature block chain contract include:
There is currently the block chain contract side for not being digitally signed processing, according to the output of on-vehicle safety unit Digital signature treated block chain contract generates contract and starts to notify, and in a manner of near-field communication or wireless communication networks, The contract is started into notification transmission to the block chain contract side for not being digitally signed processing, so that each block chain contract Fang Jun It is digitally signed processing for the block chain contract;
There is currently no the block chain contract side for not being digitally signed processing, store through all block chain contracts The block chain contract of square digital signature, and generated according to digital signature treated the block chain contract of on-vehicle safety unit output Contract starts to confirm, in a manner of near-field communication or wireless communication networks mode, the contract is started to confirm is transferred to other Block chain contract side, so that each block chain contract Fang Jun stores the block chain contract through all block chains contract side digital signature;
Wherein, the block chain contract through all block chains contract side digital signature is by mono- areas all block chains contract side Zhong Block chain contract side is transmitted to block chain network side in a manner of wireless communication networks.
7. method as claimed in claim 2, which is characterized in that described to obtain block chain contract to be signed and include:
Reception block chain network side is transmitted the contract come in a manner of wireless communication networks and starts to notify, and is led to since the contract Know the middle block chain contract for obtaining and being generated by other block chain contract sides;
And it is described the block chain contract to be signed is supplied to on-vehicle safety unit, to be deposited using it by on-vehicle safety unit The private key of storage is digitally signed processing to the block chain contract to be signed:
The contract is started into the block chain contract in notice, on-vehicle safety unit is supplied to, to be utilized by on-vehicle safety unit The block chain account public key of other block chain contract sides carries out signature verification to the block chain contract, and passes through in signature verification Afterwards, using its storage private key to signature verification by block chain contract be digitally signed processing.
8. the method for claim 7, which is characterized in that after the digital signature processing for exporting on-vehicle safety unit Block chain contract, transmitted with wireless communication mode so that each block chain contract Fang Jun obtain through all block chain contract number formularies Word signature block chain contract include:
Contract is generated according to digital signature treated the block chain contract of on-vehicle safety unit output to start to confirm, with channel radio The contract is started to confirm by news network mode is transferred to block chain network side, so that the storage of block chain network side is through all blocks The block chain contract of chain contract side digital signature, and the block chain contract through all block chains contract side digital signature is by block chain Network side is transmitted to other block chain contract sides in a manner of wireless communication networks.
9. a kind of device for assisting signing block chain contract based on wireless telecommunications realized by onboard system, which is characterized in that institute It states and is provided with on-vehicle safety unit in onboard system, fieldbus and institute of the on-vehicle safety unit by the onboard system Device connection is stated, described device includes:
Acquisition module, for obtaining block chain contract to be signed;
Processing module, for the block chain contract to be signed to be supplied to on-vehicle safety unit, with by on-vehicle safety unit Processing is digitally signed to the block chain contract to be signed using private key of its storage, wherein the private key includes:Area Block chain account private key;
Transmission module, digital signature for exporting on-vehicle safety unit treated block chain contract, with wireless telecommunications side Formula is transmitted, so that each block chain contract Fang Jun obtains the block chain contract through all block chains contract side digital signature.
10. a kind of vehicle, which is characterized in that the vehicle includes:
Onboard system;
Be provided in the onboard system described in on-vehicle safety unit and claim 9 by onboard system realize based on nothing Line communication auxiliary signs the device of block chain contract;
The on-vehicle safety unit is connect by the fieldbus of the onboard system with described device;
The area to be signed that the on-vehicle safety unit is used to provide described device using the block chain account private key of its storage Block chain contract is digitally signed processing.
CN201810141803.7A 2018-02-11 2018-02-11 The method and apparatus that block chain contract is signed by the auxiliary that onboard system is realized Pending CN108418690A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810141803.7A CN108418690A (en) 2018-02-11 2018-02-11 The method and apparatus that block chain contract is signed by the auxiliary that onboard system is realized

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810141803.7A CN108418690A (en) 2018-02-11 2018-02-11 The method and apparatus that block chain contract is signed by the auxiliary that onboard system is realized

Publications (1)

Publication Number Publication Date
CN108418690A true CN108418690A (en) 2018-08-17

Family

ID=63128444

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810141803.7A Pending CN108418690A (en) 2018-02-11 2018-02-11 The method and apparatus that block chain contract is signed by the auxiliary that onboard system is realized

Country Status (1)

Country Link
CN (1) CN108418690A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113507495A (en) * 2021-05-31 2021-10-15 暨南大学 Vehicle-mounted Ethernet secure communication method and system based on block chain

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534097A (en) * 2016-10-27 2017-03-22 上海亿账通区块链科技有限公司 Block chain trading based authority control method and system
CN107171794A (en) * 2017-06-27 2017-09-15 葛峰 A kind of electronic document based on block chain and intelligent contract signs method
CN107248994A (en) * 2017-06-26 2017-10-13 联动优势科技有限公司 A kind of method for sending information, processing method and processing device
CN107453870A (en) * 2017-09-12 2017-12-08 京信通信***(中国)有限公司 Mobile terminal authentication management method, device and corresponding mobile terminal based on block chain
WO2018020376A1 (en) * 2016-07-29 2018-02-01 nChain Holdings Limited Blockchain-implemented method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018020376A1 (en) * 2016-07-29 2018-02-01 nChain Holdings Limited Blockchain-implemented method and system
CN106534097A (en) * 2016-10-27 2017-03-22 上海亿账通区块链科技有限公司 Block chain trading based authority control method and system
CN107248994A (en) * 2017-06-26 2017-10-13 联动优势科技有限公司 A kind of method for sending information, processing method and processing device
CN107171794A (en) * 2017-06-27 2017-09-15 葛峰 A kind of electronic document based on block chain and intelligent contract signs method
CN107453870A (en) * 2017-09-12 2017-12-08 京信通信***(中国)有限公司 Mobile terminal authentication management method, device and corresponding mobile terminal based on block chain

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113507495A (en) * 2021-05-31 2021-10-15 暨南大学 Vehicle-mounted Ethernet secure communication method and system based on block chain
CN113507495B (en) * 2021-05-31 2022-03-25 暨南大学 Vehicle-mounted Ethernet secure communication method and system based on block chain

Similar Documents

Publication Publication Date Title
CN108305058B (en) Auxiliary expense settlement method and device based on Internet of things and terminal node
CN107743214B (en) System, method, terminal, application program and background for online activation of vehicle-mounted unit
CN104050567B (en) Data interactive method, terminal and server under off-line mode
CN103186851A (en) Electronic payment system based on cloud data processing technology
CN104081425A (en) Electronic cheque-based payment system and methods for issuing, transferring, paying and verifying electronic cheques
CN108492383B (en) Method and device for realizing auxiliary settlement of parking fee by vehicle-mounted system and vehicle
CN106980971A (en) T BOX, vehicle-mounted payment system and its method based on T BOX
CN110210207A (en) Authorization method and equipment
CN104850990A (en) Payment method and system thereof, key terminal and key support system
CN103186860A (en) Electronic payment system based on cloud data processing technology
CN108430061A (en) The method and apparatus that block chain contract is signed by the auxiliary that intelligent mobile phone is realized
CN109858916A (en) A kind of method of payment, device, equipment, system and storage medium
CN109242617A (en) One kind is hired a car method and system
CN107909378A (en) Information of vehicles checking method and device, storage medium, electronic equipment
CN108399544A (en) The method and apparatus that auxiliary based on Internet of Things signs block chain contract
CN106696749A (en) Charging method and system for electric automobile charging pile with Zigbee
CN113469827B (en) Insurance claim settlement device and method based on hybrid intelligent contract
CN113438616B (en) Bus refueling data processing method, device and system
CN108418690A (en) The method and apparatus that block chain contract is signed by the auxiliary that onboard system is realized
CN115392914B (en) Supply chain financial platform based on block chain and data processing method
CN109359990B (en) Network transaction system, transaction order processing method, device, equipment and medium
CN111460427A (en) Binding method and device of power supply equipment, storage medium and equipment
CN108389042B (en) Method and device for realizing auxiliary fee settlement by intelligent mobile phone
CN115271696A (en) Alliance chain-based account splitting method and device and electronic equipment
CN104375830A (en) Electronic payment platform collocation method and device based on funds

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