CN108847046A - Parking management method, equipment and medium based on block chain technology - Google Patents

Parking management method, equipment and medium based on block chain technology Download PDF

Info

Publication number
CN108847046A
CN108847046A CN201810716848.2A CN201810716848A CN108847046A CN 108847046 A CN108847046 A CN 108847046A CN 201810716848 A CN201810716848 A CN 201810716848A CN 108847046 A CN108847046 A CN 108847046A
Authority
CN
China
Prior art keywords
parking
parking stall
equipment
vehicle
space information
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
CN201810716848.2A
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.)
Zhongchao Credit Card Industry Development Co Ltd Hangzhou Blockchain Technology Research Institute
Original Assignee
Zhongchao Credit Card Industry Development Co Ltd Hangzhou Blockchain Technology Research Institute
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 Zhongchao Credit Card Industry Development Co Ltd Hangzhou Blockchain Technology Research Institute filed Critical Zhongchao Credit Card Industry Development Co Ltd Hangzhou Blockchain Technology Research Institute
Priority to CN201810716848.2A priority Critical patent/CN108847046A/en
Publication of CN108847046A publication Critical patent/CN108847046A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/14Traffic control systems for road vehicles indicating individual free spaces in parking areas
    • G08G1/145Traffic control systems for road vehicles indicating individual free spaces in parking areas where the indication depends on the parking areas
    • G08G1/148Management of a network of parking areas
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06QDATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/02Reservations, e.g. for tickets, services or events
    • 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
    • G07B15/02Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points taking into account a variable factor such as distance or time, e.g. for passenger transport, parking systems or car rental systems

Abstract

The invention discloses a kind of parking management method based on block chain technology, equipment and media.This method is applied to block chain node, and this method includes:The parking space information from parking stall equipment is received, the parking space information includes the signature of the corresponding private key of the parking stall equipment;Using the corresponding public key certificate of the parking stall equipment, the signature of the parking space information is verified;If the signature verification of the parking space information passes through, parking management is carried out according to the parking space information.Parking management method disclosed by the invention based on block chain technology can be realized interconnecting for parking space information in parking lot using block chain node, not only increase the utilization rate of parking stall resource, also improve the transparency of parking space information.And block chain link point can be safeguarded, avoid higher cost caused by as safeguarding respective shutdown system.

Description

Parking management method, equipment and medium based on block chain technology
Technical field
The invention belongs to block chain technical field more particularly to a kind of parking management method based on block chain technology, answer For the equipment and computer readable storage medium in block chain.
Background technique
There is respective shutdown system in each parking lot, but each parking lot needs respectively to safeguard the parking system of oneself System, resource utilization is relatively low, safeguards the higher cost of shutdown system.In addition, due to the parking stall letter between each shutdown system Breath cannot achieve interconnection, cause parking efficiency relatively low.
Summary of the invention
The embodiment of the invention provides a kind of parking management method based on block chain technology, block chain node and medium, Parking space information can be uploaded to each node of block chain, realize interconnecting for the parking space information in multiple parking lots, and It does not need to safeguard respective shutdown system.
In a first aspect, providing a kind of parking management method based on block chain technology, it is applied to block chain node, it is described Method includes:
The parking space information from parking stall equipment is received, the parking space information includes the label of the corresponding private key of the parking stall equipment Name;
Using the corresponding public key certificate of the parking stall equipment, the signature of the parking space information is verified;
If the signature verification of the parking space information passes through, parking management is carried out according to the parking space information.
In the first possible implementation, before the parking space information of the reception from parking stall equipment, further include:
The reservation information for carrying out self terminal is received, vehicle is parked in the parking stall and set by the reservation information for indicating to have reserved At standby corresponding parking stall;
It is described that parking management is carried out according to the parking space information, including:
It is whether consistent with the reservation information to compare the parking space information, is corresponded at parking stall with determination in the parking stall equipment Whether what is stopped is the vehicle.
In conjunction with above-mentioned possible implementation, in the second possible implementation, described receive comes from parking stall equipment Parking space information before, further include:
The parking electronic certificate from the terminal is received, the parking electronic certificate is for paying parking fee;
The determination the parking stall equipment correspond to stopped at parking stall whether be the vehicle after, further include:
If it is determined that corresponding in the parking stall equipment, stop at parking stall is the vehicle, and the vehicle terminates to rest in institute It states parking stall equipment to correspond at parking stall, then the parking electronic certificate is sent to stopping charging system.
In conjunction with above-mentioned possible implementation, in the third possible implementation, the parking electronic certificate includes The signature of the corresponding private key of the vehicle, it is described the parking electronic certificate is sent to stopping charging system before, further include:
Utilize the signature for the electronic certificate that stops described in the public key verifications in the corresponding public key certificate of the vehicle;
The signature verification of the parking electronic certificate is passed through.
It is in the fourth possible implementation, described according to the parking space information in conjunction with above-mentioned possible implementation Parking management is carried out, including:
It is corresponded at parking stall when the vehicle for not reserving parking stall terminates to rest in the parking stall equipment, is according to the parking space information The vehicle generates parking payment bill, and parking payment bill is sent to terminal.
It is in a fifth possible implementation, described by parking payment account in conjunction with above-mentioned possible implementation After single-shot gives the corresponding terminal of the vehicle, further include:
The parking electronic certificate from the terminal is received, the parking electronic certificate exists for paying the vehicle parking The parking stall equipment corresponds to the parking fee at parking stall;
Compare information of vehicles in the corresponding public key certificate of the vehicle and whether the parking space information is consistent;
If the information of vehicles in the corresponding public key certificate of the vehicle is consistent with the parking space information, by the parking electricity Sub- voucher is sent to stopping charging system.
In conjunction with above-mentioned possible implementation, in a sixth possible implementation, the parking electronic certificate includes The signature of the corresponding private key of the vehicle;It is described the parking electronic certificate is sent to stopping charging system before, further include:
Utilize the signature for the electronic certificate that stops described in the public key verifications in the corresponding public key certificate of the vehicle;
The signature verification of the parking electronic certificate is passed through.
In conjunction with above-mentioned possible implementation, in the 7th kind of possible implementation, the corresponding public affairs of the parking stall equipment Sensitive information in key certificate is cryptographic Hash, and the sensitive information in the parking space information is cryptographic Hash.
Second aspect provides a kind of equipment applied in block chain, including:
First receiving module, for receiving the parking space information from parking stall equipment, the parking space information includes the parking stall The signature of the corresponding private key of equipment;
First authentication module, for verifying the institute of the parking space information using the corresponding public key certificate of the parking stall equipment State signature;
Management module, if passing through for the authentication module to the signature verification of the parking space information, according to institute It states parking space information and carries out parking management.
The third aspect provides a kind of equipment applied in block chain, including:Memory, processor and it is stored in storage On device and the computer program that can run on a processor, the processor are realized when executing the computer program as among the above Step in described in any item methods.
Fourth aspect provides a kind of computer readable storage medium, meter is stored on the computer readable storage medium Calculation machine program realizes the step in described in any item methods among the above when the computer program is executed by processor.
Compared with prior art, the parking management method provided by the embodiments of the present application based on block chain technology, equipment and Medium, by receiving the parking space information from parking stall equipment, the parking stall that parking stall equipment can be in one or more parking lots is set It is standby, interconnecting for parking space information in one or more parking lots is realized using block chain node, not only increases parking stall money The utilization rate in source also improves the transparency of parking space information.And block chain link point can be safeguarded, it avoids due to dimension Protect higher cost caused by respective shutdown system.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will make below to required in the embodiment of the present invention Attached drawing is briefly described, it should be apparent that, drawings described below is only some embodiments of the present invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the schematic flow chart of the parking management method based on block chain technology of one embodiment of the invention;
Fig. 2 is the exemplary timing diagram of the parking management method based on block chain technology of another embodiment of the present invention;
Fig. 3 is the exemplary timing diagram of the parking management method based on block chain technology of further embodiment of this invention;
Fig. 4 is the schematic block diagram of the equipment being applied in block chain of one embodiment of the invention;
Fig. 5 is the schematic block diagram of the equipment being applied in block chain of another embodiment of the present invention.
Specific embodiment
The feature and exemplary embodiment of various aspects of the invention is described more fully below.In following detailed description In, many details are proposed, in order to provide complete understanding of the present invention.But to those skilled in the art It will be apparent that the present invention can be implemented in the case where not needing some details in these details.Below to implementation The description of example is used for the purpose of providing by showing example of the invention and better understanding of the invention.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.Embodiment is described in detail below in conjunction with attached drawing.
Block chain is a kind of a kind of chain type number for being sequentially in time combined into data block in such a way that sequence is connected According to structure, and the distributed account book that can not be distorted He can not forge guaranteed in a manner of cryptography.Broadly, block chain technology Be verified using block linked data structure with storing data, using distributed node know together algorithm come generate and more new data, Guaranteed in the way of cryptography data transmission and access safety, using the intelligent contract being made of automatized script code come One kind of programming and operation data completely new distributed basis framework and calculation paradigm.
Fig. 1 shows the schematic flow of the parking management method 100 based on block chain technology of one embodiment of the invention Figure.This method is applied to block chain node, and this approach includes the following steps:S101 to S103.
S101 receives the parking space information from parking stall equipment, and parking space information includes the signature of the corresponding private key of parking stall equipment.
It should be noted that parking stall equipment can be the smart machine that parking stall position is arranged in, parking stall equipment includes But it is not limited to:Intelligent space lock, geomagnetic sensor, electronic toll collection (Electronic Toll Collection, ETC), for example, intelligent space lock is based on cellular narrowband Internet of Things (Narrow Band Internet of Things, NB- IoT) intelligent space lock.One parking stall equipment can correspond to a parking stall.Parking stall equipment is able to detect parking space information, utilizes parking stall The corresponding private key of equipment signs to parking space information, will include that the parking space information signed is sent to each block chain node, therefore area Block chain node receives the parking space information from parking stall equipment.Parking space information includes but is not limited to following one or a variety of combinations: Whether there is vehicle parking to correspond at parking stall in parking stall equipment, the information that rests in parking stall equipment and correspond to vehicle at parking stall, stop In parking stall, equipment corresponds to the owner information of the vehicle at parking stall.It rests in parking stall equipment and corresponds to the information of the vehicle at parking stall and include But it is not limited to following one or a variety of combinations:Vehicle brand, vehicle model, license plate number, vehicle color, vehicle pictures.
Before step S101, parking stall equipment can be registered to obtain the corresponding public key certificate of parking stall equipment and private Key, for example, parking stall equipment sends the request of parking stall facility registration to block chain console;Block chain console is infused according to parking stall equipment Parking stall equipment is registered in volume request, generates the corresponding public key certificate of parking stall equipment and private key.Block chain console can be The background server of block chain.
S102 verifies the signature of parking space information using the corresponding public key certificate of parking stall equipment.
It should be noted that generated when block chain console is parking stall facility registration the corresponding public key certificate of parking stall equipment and Private key, and the corresponding public key certificate of parking stall equipment and private key are sent to parking stall equipment, therefore parking stall equipment and the control of block chain Platform is respectively provided with the corresponding public key certificate of parking stall equipment, and block chain node can be obtained from block chain console or parking stall equipment The corresponding public key certificate of parking stall equipment.Using the public key in the corresponding public key certificate of parking stall equipment, the signature of parking space information is verified.
S103 carries out parking management according to parking space information if the signature verification of parking space information passes through.
It should be noted that if the signature verification of parking space information passes through, illustrate that parking space information is legal, can be believed according to parking stall Breath carries out parking management.If the signature verification of parking space information fails, illustrate that parking space information is illegal, can ignore parking space information or Person alarms.
The executing subject of parking management method based on block chain technology can be block chain node, specifically can be block The intelligent contract run on chain node.Intelligent contract is a set of promise defined in digital form, including contract participant agreement Rights and duties.Digital form refers to that promise needs to be written in block chain link point in the form of readable code, as long as participant reaches At agreement, the rights and duties that intelligent contract is established are guaranteed by machine or network system execution.
Parking management method according to an embodiment of the present invention based on block chain technology, by receiving from parking stall equipment Parking space information, parking stall equipment may include the parking stall equipment in one or more parking lots, realize one using block chain node Parking space information interconnects in a or multiple parking lots, not only increases the utilization rate of parking stall resource, also improves parking stall letter The transparency of breath.And block chain link point can be safeguarded, caused by avoiding as safeguarding respective shutdown system at This is higher.Furthermore it is possible to carry out big data analysis using the parking space information in block chain node, and more functions are developed, Such as parking stall navigation and information push in credit parking, field.
As an alternative embodiment, before S101, the parking management method 100 based on block chain technology further includes:
The reservation information for carrying out self terminal is received, vehicle is parked in parking stall equipment and corresponds to vehicle by reservation information for indicating to have reserved At position.
It should be noted that terminal can reserve parking stall equipment in advance corresponds to parking stall, for example installation is used in advance at the terminal The about application program (Application, APP) of parking stall.When reservation parking stall equipment corresponds to parking stall, reservation information is sent to area Block chain node, reservation information include but is not limited to following one or a variety of combinations:The down time section of reservation, the parking stall reserved The information of vehicles that information, reservation are stopped.Block chain node receives the reservation information for carrying out self terminal, according to reservation information and others Block chain node is reached common understanding, with the content that other block chain nodes are reached common understanding include the corresponding parking stall of parking stall equipment by Reservation, therefore the parking stall being reserved can not be reserved in the down time section of reservation by other terminals.
Parking management is carried out according to parking space information, including:
Compare whether parking space information consistent with reservation information, with determine parking stall equipment correspond at parking stall stop whether be The vehicle of reservation.
It should be noted that if parking space information is consistent with reservation information, determines and correspond to stop at parking stall in parking stall equipment It is the vehicle of reservation;If parking space information is inconsistent with reservation information, determine that correspond at parking stall stop in parking stall equipment is not pre- Vehicle about can trigger alarm.
Parking management method according to an embodiment of the present invention based on block chain technology, user can be pre- in advance by terminal About parking stall, when reach reservation time when can determine at the parking stall of reservation stop whether be reservation vehicle, meet User reserves the demand of parking stall parking, and user obtains the service that businessman provides in terminal, i.e. mobile terminal to mobile terminal by terminal (Mobile to Mobile, M2M).
As an alternative embodiment, before S101, further include:
The parking electronic certificate for carrying out self terminal is received, parking electronic certificate is used to pay the parking fee of the vehicle of reservation.
Determine parking stall equipment correspond at parking stall stop whether be reserve vehicle after, further include:
If it is determined that parking stall equipment correspond at parking stall stop be reservation vehicle, and reserve vehicle terminate to rest in vehicle Position equipment corresponds at parking stall, then parking electronic certificate is sent to stopping charging system.
It should be noted that whether parking stall equipment can detecte vehicle terminates to rest in parking stall equipment and corresponds at parking stall, and The result of the detection is sent to block chain node.Alternatively, whether parking stall equipment can detecte vehicle terminates to rest in parking stall and sets At standby corresponding parking stall, when detect vehicle terminate to rest in parking stall equipment correspond at parking stall when, to block chain node transmission vehicle knot The message that beam is stopped.Therefore, block chain node can obtain whether vehicle terminates to rest in parking stall by both the above mode Equipment corresponds at parking stall.It is corresponded at parking stall when vehicle terminates to rest in parking stall equipment, parking electronic certificate is sent to parking and is received Charge system.
As an alternative embodiment, the electronic certificate that stops includes the signature of the corresponding private key of vehicle, will parking electronics with Card is sent to before stopping charging system, further includes:
Utilize the signature of the public key verifications parking electronic certificate in the corresponding public key certificate of vehicle;To parking electronic certificate Signature verification passes through.
It should be noted that terminal signs to parking electronic certificate when reserving parking stall, using the corresponding private key of vehicle, and The parking electronic certificate of signature including the corresponding private key of vehicle is sent to block chain node.Block chain node receives parking electricity Sub- voucher, and using the signature of the public key verifications parking electronic certificate in the corresponding public key certificate of vehicle, to parking electronics with When the signature verification of card passes through, parking management is carried out according to parking space information.
As an alternative embodiment, parking management is carried out according to parking space information, including:
It is corresponded at parking stall when the vehicle for not reserving parking stall terminates to rest in parking stall equipment, is that vehicle generates according to parking space information Parking payment bill, and parking payment bill is sent to terminal.
It should be noted that vehicle can not reserve parking stall in advance, it, can be directly by vehicle after vehicle reaches parking lot Parking stall equipment is rested in correspond at parking stall.It is corresponded at parking stall when the vehicle for not reserving parking stall terminates to rest in parking stall equipment, root It is that vehicle generates parking payment bill according to parking space information, parking space information can also include:Vehicle is practical to rest in parking stall equipment pair Answer the period at parking stall.
Parking management method according to an embodiment of the present invention based on block chain technology, user can not reserve parking stall, arrive If free parking stall when in up to parking lot, it can meet user directly vehicle parking at empty parking stall and not reserve The demand stopped when parking stall.
Block chain is based on after parking payment bill is sent to the corresponding terminal of vehicle as an alternative embodiment The parking management method 100 of technology further includes:
The parking electronic certificate from the terminal is received, the parking electronic certificate exists for paying the vehicle parking The parking stall equipment corresponds to the parking fee at parking stall;Compare the information of vehicles and the vehicle in the corresponding public key certificate of the vehicle Whether position information is consistent;If the information of vehicles in the corresponding public key certificate of the vehicle is consistent with the parking space information, by institute It states parking electronic certificate and is sent to stopping charging system.
If it should be noted that terminal receives parking payment bill parking electricity can be bought according to parking payment bill Parking electronic certificate is sent to block chain node by sub- voucher.Block chain node receives the parking electronic certificate for carrying out self terminal, by Include not only the corresponding public key of vehicle in the corresponding public key certificate of vehicle, further include information of vehicles, it is corresponding that vehicle can be compared Public key certificate in information of vehicles and the parking space information it is whether consistent, if unanimously, can will parking electronic certificate be sent to Stopping charging system.
As an alternative embodiment, the electronic certificate that stops includes the signature of the corresponding private key of vehicle;Will parking electronics with Card is sent to before stopping charging system, and the parking management method 100 based on block chain technology further includes:
Utilize the signature of the public key verifications parking electronic certificate in the corresponding public key certificate of vehicle;To parking electronic certificate Signature passes through verifying.
As an alternative embodiment, the sensitive information in the corresponding public key certificate of parking stall equipment is cryptographic Hash, parking stall letter Sensitive information in breath is cryptographic Hash.
Parking management method according to an embodiment of the present invention based on block chain technology, the corresponding public key certificate of parking stall equipment Include including sensitive information, such as sensitive information in parking space information:License plate number and/or owner information.It can be to parking stall equipment Sensitive information in corresponding public key certificate carries out Hash operation and obtains corresponding cryptographic Hash, to the sensitive information in parking space information It carries out Hash operation and obtains corresponding cryptographic Hash, therefore, sensitive information and parking stall letter in the corresponding public key certificate of parking stall equipment Sensitive information in breath is not to exist in a manner of real information, to protect the private data of user.
Referring to fig. 2, Fig. 2 shows the timing of the parking management method based on block chain technology of another embodiment of the present invention Figure.This method is applied to block chain node, and this approach includes the following steps:S201 to S210.
S201, terminal send vehicle registration request to block chain console.
S202, block chain console register vehicle after receiving vehicle registration request, generate the corresponding public affairs of vehicle Key certificate and private key, and it is sent to terminal, it include the corresponding public key of vehicle and information of vehicles in the corresponding public key certificate of vehicle.
S203, parking stall equipment send the request of parking stall facility registration to block chain console.
S204, block chain console register parking stall equipment after receiving the request of parking stall facility registration, generate parking stall The corresponding public key certificate of parking stall equipment and private key are sent to parking stall equipment by the corresponding public key certificate of equipment and private key.
It should be noted that not limiting the sequencing of step S201 and step S203 herein.Step can be first carried out S201, then execute step S203;Alternatively, step S203 can be first carried out, then execute step S201;Alternatively, step S201 and step Rapid S203 may be performed simultaneously.
S205, terminal reserve parking stall.The reservation information of user's input is received when reserving parking stall, which includes: The license plate number that down time section, the parking stall position of reservation, the parking stall coding of reservation and the reservation of reservation are stopped.It can be according to reservation Information purchase parking electronic certificate, such as the parking card of 1 15 yuan of purchase;Or not according to reservation information buy parking electronics with Card, such as 1 10 yuan of parking card of purchase and 15 yuan of parking card.The electronic certificate that stops may include reservation information, or The electronic certificate that stops can not include reservation information.The mode of payment parking electronic certificate includes but is not limited to following one or more Kind combination:Bank card payment, wechat payment, is paid in cash at Alipay payment.Using the corresponding private key of vehicle to parking electronics with Parking electronic certificate is sent to block chain node by signed certificate name.
S206, block chain node receive reservation information, are reached common understanding according to the reservation information and other block chain nodes Determine that parking stall is reserved.Block chain node also receives parking electronic certificate, and utilizes the public key in the corresponding public key certificate of vehicle The signature of verifying parking electronic certificate determines that parking electronic certificate is effective when the signature verification to parking electronic certificate passes through.
S207, parking stall equipment detects parking space information, and parking space information is uploaded to block chain node.
S208, block chain node compares parking space information from parking stall equipment and whether reservation information is consistent;If coming from vehicle The parking space information of position equipment is consistent with reservation information, determines that correspond at parking stall stop in parking stall equipment is the vehicle reserved, into Enter step S210;If parking space information and reservation information from parking stall equipment are inconsistent, determination corresponds at parking stall in parking stall equipment What is stopped is not the vehicle of reservation, enters step S209.
S209, block chain node send warning message to block chain console, to trigger alarm.
S210, vehicle, which terminates to rest in parking stall equipment, to be corresponded at parking stall, and parking electronic certificate is sent to Car park payment system System completes parking fee payment.
The timing of the parking management method based on block chain technology of further embodiment of this invention is shown referring to Fig. 3, Fig. 3 Figure.This method is applied to block chain node, and this approach includes the following steps:S301 to S309.
S301, terminal send vehicle registration request to block chain console.
S302, block chain console register vehicle after receiving vehicle registration request, generate the corresponding public affairs of vehicle Key certificate and private key, and it is sent to terminal, it include the corresponding public key of vehicle and information of vehicles in the corresponding public key certificate of vehicle.
S303, parking stall equipment send the request of parking stall facility registration to block chain console.
S304, block chain console register parking stall equipment after receiving the request of parking stall facility registration, generate parking stall The corresponding public key certificate of parking stall equipment and private key are sent to parking stall equipment by the corresponding public key certificate of equipment and private key.
It should be noted that not limiting the sequencing of step S301 and step S303 herein.Step can be first carried out S301, then execute step S303;Alternatively, step S303 can be first carried out, then execute step S301;Alternatively, step S301 and step Rapid S303 may be performed simultaneously.
S305, parking stall equipment detects parking space information, and parking space information is uploaded to block chain node.It rests on parking stall Vehicle does not reserve parking stall in advance.
S306, block chain node calculate parking fee according to parking space information.
Parking payment bill including parking fee is sent to terminal by S307, block chain node.
S308, terminal is according to parking payment bill purchase parking electronic certificate, using the corresponding private key of vehicle to parking electricity Parking electronic certificate is sent to block chain node by sub- voucher signature.
S309, block chain node compares information of vehicles in the corresponding public key certificate of vehicle and whether parking space information is consistent, If the information of vehicles in the corresponding public key certificate of vehicle is consistent with parking space information, parking electronic certificate is sent to Car park payment System, to confirm that parking fee is paid.
Fig. 4 shows the schematic block diagram of the equipment 400 being applied in block chain of one embodiment of the invention.The equipment 400 include:First receiving module 401, the first authentication module 402 and management module 403.
First receiving module 401, for receiving the parking space information from parking stall equipment, parking space information includes parking stall equipment pair The signature for the private key answered.
First authentication module 402 verifies the signature of parking space information for utilizing the corresponding public key certificate of parking stall equipment.
Management module 403, if passing through for the first authentication module 402 to the signature verification of parking space information, according to parking stall Information carries out parking management.
As an alternative embodiment, equipment 400 further includes:
Second receiving module, for receiving the reservation information for carrying out self terminal, the reservation information for indicate to have reserved by Vehicle is parked in the parking stall equipment and corresponds at parking stall.
Management module 403 is used for,
It is whether consistent with the reservation information to compare the parking space information, is corresponded at parking stall with determination in the parking stall equipment Whether what is stopped is the vehicle.
As an alternative embodiment, equipment 400 further includes:Further include:
Third receiving module, for receiving the parking electronic certificate from the terminal, the parking electronic certificate is used for Pay parking fee.
First sending module, for if it is determined that correspond to that stop at parking stall is the vehicle in the parking stall equipment, and institute It states vehicle and terminates to rest in the parking stall equipment and correspond at parking stall, then the parking electronic certificate is sent to Car park payment system System.
As an alternative embodiment, the parking electronic certificate includes the signature of the corresponding private key of the vehicle, equipment 400 further include:
Second authentication module, for using parking electronics described in the public key verifications in the corresponding public key certificate of the vehicle with The signature of card;The signature verification of the parking electronic certificate is passed through.
As an alternative embodiment, management module 403 is used for,
It is corresponded at parking stall when the vehicle for not reserving parking stall terminates to rest in the parking stall equipment, is according to the parking space information The vehicle generates parking payment bill, and parking payment bill is sent to terminal.
As an alternative embodiment, equipment 400 further includes:
4th receiving module, for receiving the parking electronic certificate from the terminal, the parking electronic certificate is used for It pays the vehicle parking and corresponds to the parking fee at parking stall in the parking stall equipment.
Comparison module, in the corresponding public key certificate of the vehicle information of vehicles and the parking space information whether Unanimously.
Second sending module, if in the corresponding public key certificate of the vehicle information of vehicles and the parking space information one It causes, then the parking electronic certificate is sent to stopping charging system.
As an alternative embodiment, the parking electronic certificate includes the signature of the corresponding private key of the vehicle;Equipment 400 further include:
Third authentication module, for using parking electronics described in the public key verifications in the corresponding public key certificate of the vehicle with The signature of card;The signature verification of the parking electronic certificate is passed through.
As an alternative embodiment, the sensitive information in the corresponding public key certificate of parking stall equipment is cryptographic Hash, parking stall letter Sensitive information in breath is cryptographic Hash.
The embodiment of the present invention provides a kind of equipment applied in block chain, including:It memory, processor and is stored in On reservoir and the computer program that can run on a processor, processor realize the side of any of the above-described when executing computer program Step in method.
Wherein, processor is used for:
The parking space information from parking stall equipment is received, parking space information includes the signature of the corresponding private key of parking stall equipment;
Using the corresponding public key certificate of parking stall equipment, the signature of parking space information is verified;
If the signature verification of parking space information passes through, parking management is carried out according to parking space information.
Wherein, processor is also used to:
The reservation information for carrying out self terminal is received, vehicle is parked in the parking stall and set by the reservation information for indicating to have reserved At standby corresponding parking stall.
Processor is used for:
It is whether consistent with the reservation information to compare the parking space information, is corresponded at parking stall with determination in the parking stall equipment Whether what is stopped is the vehicle.
Wherein, processor is also used to:
The parking electronic certificate from the terminal is received, the parking electronic certificate is for paying parking fee;
If it is determined that corresponding in the parking stall equipment, stop at parking stall is the vehicle, and the vehicle terminates to rest in institute It states parking stall equipment to correspond at parking stall, then the parking electronic certificate is sent to stopping charging system.
Wherein, the parking electronic certificate includes the signature of the corresponding private key of the vehicle, and processor is also used to:
Utilize the signature for the electronic certificate that stops described in the public key verifications in the corresponding public key certificate of the vehicle;To institute The signature verification for stating parking electronic certificate passes through.
Wherein, processor is used for:
It is corresponded at parking stall when the vehicle for not reserving parking stall terminates to rest in the parking stall equipment, is according to the parking space information The vehicle generates parking payment bill, and parking payment bill is sent to terminal.
Wherein, processor is also used to:
The parking electronic certificate from the terminal is received, the parking electronic certificate exists for paying the vehicle parking The parking stall equipment corresponds to the parking fee at parking stall;
Compare information of vehicles in the corresponding public key certificate of the vehicle and whether the parking space information is consistent;
If the information of vehicles in the corresponding public key certificate of the vehicle is consistent with the parking space information, by the parking electricity Sub- voucher is sent to stopping charging system.
Wherein, the parking electronic certificate includes the signature of the corresponding private key of the vehicle;Processor is also used to:
Utilize the signature for the electronic certificate that stops described in the public key verifications in the corresponding public key certificate of the vehicle;
The signature verification of the parking electronic certificate is passed through.
Wherein, the sensitive information in the corresponding public key certificate of the parking stall equipment is cryptographic Hash, in the parking space information Sensitive information is cryptographic Hash.
Fig. 5 shows the schematic block diagram of the equipment 500 being applied in block chain of another embodiment of the present invention.The equipment 500 include input equipment 501, input interface 502, processor 503, memory 504, output interface 505 and output equipment 506。
Wherein, input interface 502, processor 503, memory 504 and output interface 505 are interconnected by 510 phase of bus It connects, input equipment 501 and output equipment 506 are connect by input interface 502 and output interface 505 with bus 510 respectively, in turn It is connect with the other assemblies of equipment 500.
Specifically, input equipment 501 is received from external input information, and will input information by input interface 502 It is transmitted to processor 503;Processor 503 carries out input information based on the computer executable instructions stored in memory 504 Output information is temporarily or permanently stored in memory 504 to generate output information, then passes through output interface by processing Output information is transmitted to output equipment 506 by 505;Output information is output to the outside of equipment 500 for user by output equipment 506 It uses.
Equipment 500 can execute each step in the above-mentioned parking management method based on block chain technology of the application.
Processor 503 can be one or more central processing units (Central Processing Unit, CPU).Locating In the case that reason device 503 is a CPU, which can be monokaryon CPU, be also possible to multi-core CPU.
Memory 504 can be but not limited to random access memory (Random Access Memory, RAM), read-only Memory (Read-Only Memory, ROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read Only Memory, EPROM), compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), One of hard disk etc. is a variety of.Memory 504 is for storing program code.
It is understood that in the embodiment of the present application, Fig. 4 provides one or more modules or complete in corresponding embodiment The function of portion's module can be realized with central processing unit 503 shown in fig. 5.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When using entirely or partly realizing in the form of a computer program product, the computer program product include one or Multiple computer instructions.When loading on computers or executing the computer program instructions, entirely or partly generate according to Process described in the embodiment of the present invention or function.The computer can be general purpose computer, special purpose computer, computer network Network or other programmable devices.The computer instruction may be stored in a computer readable storage medium, or from one Computer readable storage medium is transmitted to another computer readable storage medium, for example, the computer instruction can be from one A web-site, computer, server or data center pass through wired (such as coaxial cable, optical fiber, Digital Subscriber Line (Digital Subscriber Line, DSL) or wireless (such as infrared, wireless, microwave etc.) mode are to another website station Point, computer, server or data center are transmitted).The computer-readable storage medium can be computer can Any usable medium of access either includes the data storage such as one or more usable mediums integrated server, data center Equipment.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or half Conductive medium (such as solid state hard disk Solid State Disk (SSD)) etc..
The embodiment of the present invention provides a kind of computer readable storage medium, is stored on the computer readable storage medium Computer program, the computer program realize the step in method described in any of the above embodiments, and energy when being executed by processor Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory, random access memory, magnetic or disk etc..
In addition, the terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates may exist Three kinds of relationships, for example, A and/or B, can indicate:Individualism A exists simultaneously A and B, these three situations of individualism B.Separately Outside, character "/" herein typicallys represent the relationship that forward-backward correlation object is a kind of "or".
It should be understood that in embodiments of the present invention, " B corresponding with A " indicates that B is associated with A, B can be determined according to A.But It should also be understood that determining that B is not meant to determine B only according to A according to A, B can also be determined according to A and/or other information.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection scope subject to.

Claims (11)

1. a kind of parking management method based on block chain technology, which is characterized in that be applied to block chain node, the method Including:
The parking space information from parking stall equipment is received, the parking space information includes the signature of the corresponding private key of the parking stall equipment;
Using the corresponding public key certificate of the parking stall equipment, the signature of the parking space information is verified;
If the signature verification of the parking space information passes through, parking management is carried out according to the parking space information.
2. parking management method according to claim 1, which is characterized in that parking stall letter of the reception from parking stall equipment Before breath, further include:
The reservation information for carrying out self terminal is received, vehicle is parked in the parking stall equipment pair for indicating to have reserved by the reservation information It answers at parking stall;
It is described that parking management is carried out according to the parking space information, including:
It is whether consistent with the reservation information to compare the parking space information, is stopped at parking stall with determining to correspond in the parking stall equipment Whether be the vehicle.
3. parking management method according to claim 2, which is characterized in that parking stall letter of the reception from parking stall equipment Before breath, further include:
The parking electronic certificate from the terminal is received, the parking electronic certificate is for paying parking fee;
The determination the parking stall equipment correspond to stopped at parking stall whether be the vehicle after, further include:
If it is determined that corresponding in the parking stall equipment, stop at parking stall is the vehicle, and the vehicle terminates to rest in the vehicle Position equipment corresponds at parking stall, then the parking electronic certificate is sent to stopping charging system.
4. parking management method according to claim 3, which is characterized in that the parking electronic certificate includes the vehicle The signature of corresponding private key, it is described the parking electronic certificate is sent to stopping charging system before, further include:
Utilize the signature for the electronic certificate that stops described in the public key verifications in the corresponding public key certificate of the vehicle;
The signature verification of the parking electronic certificate is passed through.
5. parking management method according to claim 1, which is characterized in that described to be stopped according to the parking space information Management, including:
It is corresponded at parking stall when the vehicle for not reserving parking stall terminates to rest in the parking stall equipment, is described according to the parking space information Vehicle generates parking payment bill, and parking payment bill is sent to terminal.
6. parking management method according to claim 5, which is characterized in that described to be sent to parking payment bill After the corresponding terminal of the vehicle, further include:
The parking electronic certificate from the terminal is received, the parking electronic certificate is for paying the vehicle parking described Parking stall equipment corresponds to the parking fee at parking stall;
Compare information of vehicles in the corresponding public key certificate of the vehicle and whether the parking space information is consistent;
If the information of vehicles in the corresponding public key certificate of the vehicle is consistent with the parking space information, by the parking electronics with Card is sent to stopping charging system.
7. parking management method according to claim 6, which is characterized in that the parking electronic certificate includes the vehicle The signature of corresponding private key;It is described the parking electronic certificate is sent to stopping charging system before, further include:
Utilize the signature for the electronic certificate that stops described in the public key verifications in the corresponding public key certificate of the vehicle;
The signature verification of the parking electronic certificate is passed through.
8. parking management method according to claim 1, which is characterized in that
Sensitive information in the corresponding public key certificate of the parking stall equipment is cryptographic Hash, and the sensitive information in the parking space information is Cryptographic Hash.
9. a kind of equipment applied in block chain, which is characterized in that including:
First receiving module, for receiving the parking space information from parking stall equipment, the parking space information includes the parking stall equipment The signature of corresponding private key;
First authentication module, for verifying the label of the parking space information using the corresponding public key certificate of the parking stall equipment Name;
Management module, if passing through for the authentication module to the signature verification of the parking space information, according to the vehicle Position information carries out parking management.
10. a kind of equipment applied in block chain, which is characterized in that including:Memory, processor and storage are on a memory And the computer program that can be run on a processor, the processor realize such as claim 1 when executing the computer program Step into method described in any one of 8.
11. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program is realized when the computer program is executed by processor such as the step in method described in any item of the claim 1 to 8 Suddenly.
CN201810716848.2A 2018-07-03 2018-07-03 Parking management method, equipment and medium based on block chain technology Pending CN108847046A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810716848.2A CN108847046A (en) 2018-07-03 2018-07-03 Parking management method, equipment and medium based on block chain technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810716848.2A CN108847046A (en) 2018-07-03 2018-07-03 Parking management method, equipment and medium based on block chain technology

Publications (1)

Publication Number Publication Date
CN108847046A true CN108847046A (en) 2018-11-20

Family

ID=64201173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810716848.2A Pending CN108847046A (en) 2018-07-03 2018-07-03 Parking management method, equipment and medium based on block chain technology

Country Status (1)

Country Link
CN (1) CN108847046A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109544982A (en) * 2019-01-04 2019-03-29 通链(北京)科技有限公司 Parking information sharing method and shared system
CN109920270A (en) * 2019-03-22 2019-06-21 广东安居宝数码科技股份有限公司 A kind of parking management method, block chain network and storage medium
CN110599798A (en) * 2019-09-12 2019-12-20 次少丹 Internet of vehicles intelligent parking system and method based on edge calculation
CN113569226A (en) * 2021-09-22 2021-10-29 深圳市金蚁云数字科技有限公司 Parking space management system and method based on block chain
CN110599798B (en) * 2019-09-12 2021-12-21 次少丹 Internet of vehicles intelligent parking system and method based on edge calculation

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559806A (en) * 2013-11-07 2014-02-05 杭州明天网络科技有限公司 Parking platform system and parking inquiring and booking method
CN104018716A (en) * 2014-06-16 2014-09-03 童斐 Network intelligent parking spot lock and control method thereof
CN105469630A (en) * 2015-12-24 2016-04-06 惠州Tcl移动通信有限公司 Parking management method and system based on mobile terminal
CN106100847A (en) * 2016-06-14 2016-11-09 惠众商务顾问(北京)有限公司 Asymmetric encryption block chain identity information verification method and device
CN106991843A (en) * 2017-05-23 2017-07-28 深圳如果技术有限公司 Shared parking stall method and apparatus, Cloud Server and system
CN107993359A (en) * 2017-11-23 2018-05-04 浙江大学 A kind of end-to-end bicycle shared system and method based on block chain
CN108154704A (en) * 2017-12-27 2018-06-12 武汉邮电科学研究院 Wisdom shutdown system and method based on block chain
US20180183587A1 (en) * 2016-12-23 2018-06-28 Vmware, Inc. Blockchain-Assisted Public Key Infrastructure for Internet of Things Applications

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559806A (en) * 2013-11-07 2014-02-05 杭州明天网络科技有限公司 Parking platform system and parking inquiring and booking method
CN104018716A (en) * 2014-06-16 2014-09-03 童斐 Network intelligent parking spot lock and control method thereof
CN105469630A (en) * 2015-12-24 2016-04-06 惠州Tcl移动通信有限公司 Parking management method and system based on mobile terminal
CN106100847A (en) * 2016-06-14 2016-11-09 惠众商务顾问(北京)有限公司 Asymmetric encryption block chain identity information verification method and device
US20180183587A1 (en) * 2016-12-23 2018-06-28 Vmware, Inc. Blockchain-Assisted Public Key Infrastructure for Internet of Things Applications
CN106991843A (en) * 2017-05-23 2017-07-28 深圳如果技术有限公司 Shared parking stall method and apparatus, Cloud Server and system
CN107993359A (en) * 2017-11-23 2018-05-04 浙江大学 A kind of end-to-end bicycle shared system and method based on block chain
CN108154704A (en) * 2017-12-27 2018-06-12 武汉邮电科学研究院 Wisdom shutdown system and method based on block chain

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
凌捷,谢赞福,肖政宏: "《信息化建设与信息安全》", 30 April 2013, 广东人民出版社 *
庄玮: "智慧停车场安全支付技术的实现及展望", 《电世界》 *
洪杰文等: "《新媒体技术》", 31 July 2016 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109544982A (en) * 2019-01-04 2019-03-29 通链(北京)科技有限公司 Parking information sharing method and shared system
CN109544982B (en) * 2019-01-04 2021-06-04 通链(北京)科技有限公司 Parking information sharing method and system
CN109920270A (en) * 2019-03-22 2019-06-21 广东安居宝数码科技股份有限公司 A kind of parking management method, block chain network and storage medium
CN110599798A (en) * 2019-09-12 2019-12-20 次少丹 Internet of vehicles intelligent parking system and method based on edge calculation
CN110599798B (en) * 2019-09-12 2021-12-21 次少丹 Internet of vehicles intelligent parking system and method based on edge calculation
CN113569226A (en) * 2021-09-22 2021-10-29 深圳市金蚁云数字科技有限公司 Parking space management system and method based on block chain

Similar Documents

Publication Publication Date Title
KR101919590B1 (en) METHOD FOR PAYING COST OF IoT DEVICE BASED ON BLOCKCHAIN AND MERKLE TREE STRUCTURE RELATED THERETO, AND SERVER, SERVICE PROVIDING TERMINAL, AND DIGITAL WALLET USING THE SAME
US11004044B2 (en) Method for paying cost of IoT device based on blockchain, and server, service providing device, and digital wallet using the same
CN108847046A (en) Parking management method, equipment and medium based on block chain technology
CN103035078B (en) Payment security monitoring method based on position
KR20180108713A (en) Credit payment method and apparatus based on mobile terminal P2P
JP2013045456A (en) System and method for use in making financial transactions when charging electrically powered vehicle
CN105844471B (en) A kind of method for processing business, apparatus and system
CN103975352A (en) Securely reloadable electronic wallet
CN106980971A (en) T BOX, vehicle-mounted payment system and its method based on T BOX
CN108876506A (en) A kind of vehicle registration method and device
CN105359192B (en) Method and apparatus for mobile ticket service
CN106169137B (en) Resource transfer method, device and system
CN105551138A (en) Method and system for processing service voucher
CN108389042B (en) Method and device for realizing auxiliary fee settlement by intelligent mobile phone
KR20180123968A (en) METHOD FOR PAYING COST OF IoT DEVICE BASED ON BLOCKCHAIN AND MERKLE TREE STRUCTURE RELATED THERETO, AND SERVER, SERVICE PROVIDING TERMINAL, AND DIGITAL WALLET USING THE SAME
CN109543868A (en) A kind of about vehicle approaches to IM and relevant apparatus
CN112598407B (en) Transaction method, device, electronic equipment and storage medium
KR102324912B1 (en) Method, device and system for strengthening authentication security of members using electric vehicle charger using the balance of the rechargeable card
CN108764872B (en) Authorized payment method, system, equipment and storage medium
KR101554603B1 (en) Method and apparatus of payment certification
CN111311252A (en) Virtual resource management method and block chain node equipment
CN111242603A (en) Riding settlement method and device based on block chain
KR20190115818A (en) Electric car Battery Charging and Cost Calculating System and Method
Ashfaq Optimized Energy Trading between Electric Vehicles in Smart Grids using Blockchain (MS Thesis without Source Code)
CN109948813A (en) A kind of method, apparatus and server that the maintenance of equipment based on block chain is shared

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