Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for indicating that the suffix of such as " module ", " component " or " unit " of element is only
The explanation for being conducive to the present invention, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
The present embodiments relate to the parking navigation method based on block chain be applied to car-mounted terminal.
Car-mounted terminal in the embodiment of the present invention can be dedicated navigation equipment, can also be including such as hand
The mobile terminals such as machine, tablet computer, palm PC, navigation device, wearable device, Intelligent bracelet.
As shown in Figure 1, the present invention proposes a kind of parking navigation system based on block chain comprising:
Car-mounted terminal is used to obtain the driving path and navigation information of vehicle;
Dispatch server is used to provide navigation information to enter the vehicle in parking lot.
In the embodiment of the present invention, car-mounted terminal may include first processor (such as CPU), communication bus, user interface,
Network interface, memory.Wherein, communication bus is for realizing the connection communication between these components;User interface may include
Display screen (Display), input unit such as keyboard (Keyboard);Network interface may include optionally that the wired of standard connects
Mouth, wireless interface (such as WI-FI interfaces);Memory can be high-speed RAM memory, can also be stable memory
(non-volatile memory), such as magnetic disk storage, memory optionally can also be independently of aforementioned processor
Storage device.
It will be understood by those skilled in the art that above hardware configuration does not constitute the restriction to car-mounted terminal, can wrap
It includes than illustrating more or fewer components, either combines certain components or different components arrangement.
Wherein, include parking navigation program as a kind of memory of computer readable storage medium, and first processor
It can be used for calling the parking navigation program stored in memory, and execute following operation:
The data of its driving path in parking lot are stored in block head by all vehicles into parking lot;
The data in the block head of the block chain of the relevant information structure of all vehicles are extracted, the vehicle in entire parking lot is formed
Bitmap;
The information of the parking stall figure is sent to the dispatch server in parking lot.
In embodiments of the present invention, all car-mounted terminals are all stored with above-mentioned parking navigation program.It is all to enter parking
The vehicle of field range is all used as a node.
Wherein, parking stall figure refers to coordinate information of all parking stalls in a certain plane in parking lot, if parking lot includes
Multilayer parking plane, then parking stall figure should further include the spatial coordinate information in entire parking lot, which can
To include the coordinate information of the number of plies of parking stall and the parking stall in current plane.
In the embodiment of the present invention, when obtaining the parking stall figure in complete parking lot, all car-mounted terminals are using public affairs
There are the architectural form of chain, node of all car-mounted terminals as equity.After obtaining complete parking stall figure, by acquisition
Entire vehicle bitmap, is sent to dispatch server.Later, all vehicles into parking lot are obtained in real time by dispatch server
Real time information, at this point, the architectural form of privately owned chain is configured between vehicle and the dispatch server in parking lot again.
If a certain parking stall never has vehicle parking, then the location information of the parking stall is just not present, then on the figure of parking stall
It would not show the parking stall.
In other words, in parking lot, a certain parking stall is not belonging to public parking stall, belongs to private parking space, and the parking stall does not allow
Other users are stopped, then the parking stall would not be shown on the figure of parking stall.
In embodiments of the present invention, the quantity of parking stall can be obtained according to the parking sensor of entire dispatch server management
Know.
In an embodiment of the present invention, the parking stall in the block head of the block chain of the relevant information structure of all vehicles is extracted
Map datum, the parking stall figure for forming entire parking lot are it is assumed that there are the perfect condition of vehicle parking in all parking stalls stopped.
In the case of the parking stall anxiety of current big and medium-sized cities, the parking stall figure letter in entire parking lot should be obtained within one day enough
Breath.Therefore, the problem of being difficult to realize is not present.
Whether parking stall figure is complete, can be verified by the car-mounted terminal in parking lot, that is, be added to the block in the parking lot
When the car-mounted terminal of chain network reaches maximum value, the vehicle that do not stopped in parking stall is excluded, then it is assumed that there is most entire vehicle at this time
Position hum pattern.The parking stall cartographic information of this moment all car-mounted terminals is summarized, then obtains the parking stall figure in entire parking lot.
When the parking stall map datum of all block heads for resting in the vehicle in parking lot is merged, then the parking is formed
The complete parking stall figure of field.
Herein, in addition to particularly pointing out, parking stall figure all should be understood as the complete parking stall figure with entire parking lot.
At this point, dispatch server is in information acquisition mode, it is always maintained at and obtains entire vehicle bitmap status.
In another embodiment of the present invention, dispatch server may include second processor (such as CPU), communication bus, net
Network interface, control interface, database.Wherein, communication bus is for realizing the connection communication between these components;Network interface can
Choosing may include standard wireline interface and wireless interface (such as WI-FI interface);Database can be high-speed RAM memory,
Can also be stable memory (non-volatile memory), such as magnetic disk storage, database optionally can be with
It is independently of the storage device of aforementioned processor.
It will be understood by those skilled in the art that above hardware configuration does not constitute the restriction to car-mounted terminal, can wrap
It includes than illustrating more or fewer components, either combines certain components or different components arrangement.
Wherein, include application program as a kind of database of computer readable storage medium, and second processor can be with
For calling the program stored in database, and execute following operation:
The dispatch server switching working mode provides navigation information for the vehicle.
In addition to providing navigation information for vehicle, dispatch server can also carry out other functions.
After obtaining the parking stall figure in entire parking lot, by the parking stall, figure is sent to dispatch server.At this point, scheduling clothes
Business device also can verify that whether parking stall figure is complete.The dispatch server can according to the quantity of parking sensor, can also according to
Whether the standing vehicle maximum number in the parking lot is complete to verify parking stall figure.For example, within period certain time, parking lot
Interior vehicle reaches peak value, and is not above this value in a period of time later, then it is believed that peak-peak is parking lot
Parking stall sum, to using the peak-peak as the verification whether complete standard of parking stall figure.
After dispatch server, which confirms, obtains complete parking stall figure, prompt is sent out to administrator, to open the parking lot
Navigation pattern.
In a certain embodiment, after dispatch server enters navigation pattern, when there is new vehicle to enter the parking lot, institute
It states dispatch server and obtains information of vehicles in the parking lot in real time, including rested in the vehicle on parking stall, and
The information of driving vehicle in parking lot.
Wherein, the vehicle just travelled in parking lot includes that will be driven out to the vehicle in parking lot, and come into also not
The vehicle of stop.
Wherein, it may know that vehicle drives into or is driven out at this time in conjunction with the state of vehicle and the state of parking stall.
For example, being known that vehicle is off still mobile status according to the car-mounted terminal on vehicle, if being off shape
State, then by positioning it is known that the coordinate information of the parking stall of the vehicle parking;If it is the halted state from the parking stall of stop
Change into mobile status, then it is assumed that the vehicle will be driven out to parking lot.
As long as vehicle is into parking lot, i.e., by modes such as the intakes of the near-field communication in parking lot or camera, into stopping
Parking lot, dispatch server, which is known, at this time has new vehicle to enter the parking lot, then the vehicle can be given to distribute a parking stall, and by vehicle
The driving path of position is sent to vehicle.
It is the vehicle for having been allocated for parking stall for coming into the vehicle that do not stop also.
If parking lot does not have parking stall for stopping, vehicle will not be distributed to vehicle, i.e., the vehicle is not allowed to enter.
Wherein, the second processor can be used for calling the program stored in database, and execute following operation:
The dispatch server updates the parking stall figure if having vehicle to sail out of or driving into.
It may include two kinds of situations that wherein vehicle, which sails out of, and 1) sail out of parking stall.By the sensor on parking stall, once learn vehicle
The parking stall is left, then parking lot will be sailed out of by being defaulted as the vehicle;2) parking lot is sailed out of.Pass through the outlet in the parking lot
The identification device at place, obtain vehicle sails out of information.
It for the first situation, begins to be updated if sailing out of parking stall, public morality is not abided by for certain car owners,
It does not go to stop the parking stall distributed, and is stopped nearby, occupy their parking stall.It may be from the parking stall for the distribution just stopped
It leaves, goes to stop other parking stall.It is easy to cause managerial confusion in this way.
For the second situation, as long as going out from outlet then changing vehicle, entire parking stall figure will be just updated.And more
Newly inquiry message can be sent only for the parking stall that the vehicle sails out of, be confirmed whether vacancy, if also have other rule-breaking vehicles
It stops.
If there is other rule-breaking vehicles stop, can by broadcast, punishment and administrative staff enforce the law etc. various ways come
It is constrained, gradually forms good habit.Or be associated with the information of vehicles that violation is stopped again with the parking stall, it will distribute before
Parking stall cancel, and the parking stall to distributing before carry out secondary distribution.
In short, the update to parking stall figure uses part real-time update, i.e., it is updated, and does not have just for the parking stall changed
The parking stall changed is then not necessarily to be updated data.
Wherein, the second processor can be used for storing in calling database, and execute following operation:
Once vehicle sails out of the parking lot, the dispatch server then deletes the vehicle from block chain network.
It is while to also allow for mitigating system for the ease of being managed parking stall that the vehicle, which is deleted from block chain network,
The burden of system so that the block in block chain network is maintained at certain data.
Wherein, the second processor can be used for calling the program stored in database, and execute following operation:
When the vehicle is paid the fees successfully from parking lot, then confirm that the vehicle sails out of parking lot.
In general, in parking lot, if subscriber payment success can just allow vehicle to sail out of parking lot, railing can just lift.
Wherein, the second processor can be used for calling the program stored in database, and execute following operation:
The dispatch server just starts to send navigation picture to the vehicle for entering parking lot after obtaining entire vehicle bitmap.
Dispatch server can prompt manager that can begin to use after obtaining entire vehicle bitmap.Many Commerce Parking Lots,
Before formal charge, Free parking that usually all can be for some time can be used for obtaining complete parking stall figure during this period.
Wherein, the second processor can be used for calling the program stored in database, also execute following operation:
Wherein, it is verified whether with entire vehicle bitmap according to the parking stall number in the parking lot.
The parking stall number in parking lot is determined with peak value vehicle in parking lot.
If there is vehicle is parked in both sides of the road by car owner, summarizing for data can be influenced, it at this time can be by reinforcing labor management
Etc. modes realize the accurate acquisition of parking stall data.
In addition it can also verify whether to have complete parking stall figure by the data that parking sensor transmits.
Wherein, the second processor can be used for calling the program stored in database, also execute following operation:
According to newest parking stall figure, guidance path is provided for the new vehicle using path optimal algorithm.
Here newest parking stall figure is updated parking stall figure.
Whether path optimal algorithm is in the opposite traveling for considering vehicle, shortest path and can result in blockage,
To realize the algorithm of most efficient parking mode.In the art, this algorithm is more universal.Here it is not repeating.
Wherein, the second processor can be used for calling the program stored in database, also execute following operation:
The real time position of each car in the parking lot is obtained in real time.
For existing system, the real time position of each car in parking lot is grasped in real time, there is no too big fortune
Burden is calculated, and grasps position in real time, the management in more conducively entire parking lot.
Hardware configuration based on above-mentioned car-mounted terminal and dispatch server interior joint, proposition stop the present invention is based on block chain
The each embodiment of vehicle air navigation aid.
The present invention is built with dispatch server to synchronize and integrate the real time data information of each parking stall;Scheduling
The information of each parking stall can be sent into the section in parking lot by server and each parking sensor network connection, dispatch server
Point.
Parking sensor will upload parking stall use information in real time according to the service condition on parking stall, to ensure dispatch server
In data information real-time and validity;For example, ground induction coil or camera can be provided at the parking stall in parking lot
Equal road measuring devices, when detecting the parking stall in the into/out parking lot of vehicle by road measuring device, parking sensor meeting
Corresponding parking, which is sent, to dispatch server records information;Dispatch server is when receiving these parking record information, i.e. root
Information update parking lot information is recorded according to the parking, to ensure in dispatch server the real-time of parking lot information and effectively
Property.
By building dispatch server, a parking navigation system based on block chain is established, the parking navigation system packet
Car-mounted terminal and dispatch server are included, the real time data information in parking lot is synchronized and integrated so that car owner can pass through
Car-mounted terminal inquires the parking space information in each parking lot recorded in dispatch server, and provides navigation feature for car owner, convenient
Car owner finds parking stall, solves the problems, such as car owner's parking difficulty
As shown in Fig. 2, the present invention proposes a kind of parking navigation method based on block chain comprising:
The data of its driving path in parking lot are stored in block head by all vehicles into parking lot;
The data in the block head of the block chain of the relevant information structure of all vehicles are extracted, the vehicle in entire parking lot is formed
Bitmap;
The information of the parking stall figure is sent to the dispatch server in parking lot;
The dispatch server switching working mode provides navigation information for the vehicle.
In practice, car-mounted terminal will obtain current network state information, and be automatically selected suitably according to network state
Positioning method is positioned, to ensure the accuracy of positioning;Can certainly positioning method can also be by the specified selection of car owner.Into
Enter the vehicle of inner part of parking lot and ad hoc network mode may be used by car-mounted terminal, real-time delivery respective positions information, especially
For the vehicle moved in parking lot.
Wherein, before obtaining entire vehicle bitmap, need all car-mounted terminals will parking lot entered as publicly-owned node.
Wherein, the dispatch server updates the parking stall figure if having vehicle to sail out of or drive into.
Wherein, once vehicle sails out of the parking lot, the dispatch server is then by the vehicle from block chain network
It deletes.
Wherein, when the vehicle is paid the fees successfully from parking lot, then confirm that the vehicle sails out of parking lot.
Wherein, the dispatch server just starts to send navigation to the vehicle for entering parking lot after obtaining entire vehicle bitmap
Figure.
Wherein, it is verified whether with entire vehicle bitmap according to the parking stall number in the parking lot.
Wherein, when there is new vehicle to drive into the parking lot, the parking stall figure is sent to institute by the dispatch server
The car-mounted terminal for stating new vehicle specifically includes:
The dispatch server provides navigation according to newest parking stall figure, using path optimal algorithm for the new vehicle
Path.
Wherein, the dispatch server obtains the real time position of each car in the parking lot in real time.
The embodiment of the present invention can take whole hardware embodiments, whole software implementations or comprising hardware and software
The form of the embodiment of unit.In a preferred embodiment, the present invention is by software realization comprising but it is not limited to firmware, resident soft
Part, microcode etc..In addition, can take can or computer-readable media available from the computer that provides program code by the present invention
The form of the computer program product of middle access, the program code be used to be used by computer or any instruction execution system or
It is combined with computer or any instruction execution system.
For explanation, computer is available or computer-readable media can be can include, store, communicating, propagating,
Or transport program any device, described program be used for by instruction execution system, device or equipment using or with instruction execution system
System, device or equipment are combined.The media can be that electronics, magnetic, optics, electromagnetism, infrared or semiconductor system (or device or are set
It is standby) or communications media.The example of computer-readable media includes semiconductor or solid-state memory, tape, computer can be removed
Floppy disk, random access memory (RAM), read-only memory (ROM), hard disc and CD.The example of current CD includes causing
Close disk-read-only memory (CD-ROM), compact disk-read/write (CD-R/W) and DVD.
Data processing system suitable for storing and/or executing program code will include at least one direct by system bus
Or the processor coupled indirectly with storage unit.Storage unit may include the sheet disposed during the practical execution of program code
Ground memory, high-capacity storage and cache memory, the cache memory provide at least certain program code
Temporary storing device to reduce the number that code must be retrieved from high-capacity storage during execution.Input/output
Or I/O equipment (including but not limited to keyboard, display, indicating equipment etc.) can be by directly or through intermediate I/O controllers
It is coupled to system.Network adapter is also coupled to system so that data processing system can become through intermediate individual or public affairs
Many networks are coupled to other data processing systems or remote printer or storage device.Modem, cable modem
Only it is the network adapter of a part of currently available type with Ethernet card.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that:Not
In the case of being detached from the principle of the present invention and objective a variety of change, modification, replacement and modification can be carried out to these embodiments, this
The range of invention is limited by claim and its equivalent.