A kind of Car park payment cloud platform and method based on Internet of Things
Technical field
The present invention relates to vehicle toll collection system regions, more specifically, it relates to a kind of Car park payment based on Internet of Things
Cloud platform and method.
Background technique
1. parking fee losses of revenues are serious
Traditional stopping charging system is dispersed in the server in each parking lot due to Car park payment data, flat without cloud
Platform unified supervision causes live fee-collector the tax evasions expense problem such as to charge privately.
The existing parking management system based on cloud platform, the data that also only will be dispersed in each parking lot server are converged
Collect cloud, realizes cloud platform unified supervision.But data source and control are still in the server of parking lot.It will result in and stop in this way
Data under the line of parking lot are usually inconsistent with the data of cloud platform, or even are detached from the supervision of cloud platform, modify parking lot what is more
Data source in server cheats cloud platform.
Therefore, it is proposed that Car park payment cloud platform and method based on Internet of Things, make parking lot not install any control
Host and software systems do not have local data service device.The equipment such as banister are directly connect with cloud platform, and the data source of acquisition is direct
It is real-time transmitted to cloud platform, the work such as parking fee calculating, real-time control banister are completed by cloud platform.Thoroughly prevent the above problem.
2. system Construction and maintenance cost are high
Management system is received in traditional stopping charging system or the existing parking based on cloud platform, since toll control stops
Field is local to be realized, therefore parking lot needs to set up local network, installs server and system software, and the construction period is long, at high cost.
When later maintenance, failsafe link is more in parking lot, and software upgrading or maintenance need each parking lot execute-in-place, upgrade maintenance
Cost is very high.
It is proposed that the Car park payment cloud platform and method based on Internet of Things, directly and cloud platform due to equipment such as banisters
Connection is established by Internet of Things such as 4G/5G, therefore does not need to set up local network between equipment, parking lot does not need installation yet and appoints
What control host and server, therefore build fastly, it is at low cost.Upgrade maintenance also only needs to carry out beyond the clouds, does not need to stop
Field scene, upgrade maintenance cost are very low.
3. runing high labor cost
Traditional stopping charging system needs to configure toll collector on duty in parking lot.The existing parking pipe based on cloud platform
Although reason system realizes car owner's mobile-phone payment parking fee, but for needing manual control road brake system the case where must be at the scene
Processing, therefore still not can be reduced personnel depaly.
It is proposed that the Car park payment cloud platform and method based on Internet of Things, since control system is realized beyond the clouds, no
Car owner's mobile-phone payment parking fee only may be implemented, reduce person works' amount, for needing the abnormal conditions of manual control banister,
It can remotely be handled in operation centre.Therefore parking lot scene does not need to configure toll collector on duty, and the one of an operation centre
A person on duty can manage multiple parking lots simultaneously, greatly reduce operation cost of labor.
Summary of the invention
In view of the deficiencies of the prior art, the present invention intends to provide a kind of Car park payment cloud based on Internet of Things
Platform and method, to solve the problems mentioned in the above background technology.
To achieve the above object, the invention provides the following technical scheme:
A kind of Car park payment cloud platform and method based on Internet of Things, including the storage of load balancing, messaging bus, object,
Application program coordination service, distributive type handle cluster, distributed data base;
The distributive type processing cluster includes that several admissions handle node, several appearances handle nodes, several
A terminal session node;
The load balancing is all parking apparatus or the connection of user and cloud platform;Cloud platform and each parking apparatus it
Between pass through the one-to-many full duplex real time communication of messaging bus;
The parking apparatus, including Car license recognition video camera, acquire current information of vehicles and to be sent to message in real time total
Line;
The admission processing node connects a terminal session node and carries out data transmission, the connection pair of terminal session node
The barrier equipment and push answered open a sluice gate message, and terminal session node, which connects the user interface of corresponding user and pushes appearance event, to disappear
Breath, terminal session node connect corresponding charge display device and push Charge message;
The admission processing node connecting object storage, data are stored in distributed data base;
Third-party payment system, the fee deduction instruction for being sent according to cloud platform server are paid a bill from the certification branch of car owner
Parking fee is deducted in number, and parking fee is paid the receiving bank in parking lot by the payment instruction sent according to cloud platform server
Account.
As a further solution of the present invention, the load balancing is the four-layer load-equalizing based on IP address and port,
The connection of all parking apparatus or user and cloud platform are all shared on multiple operating units by load balancing and are executed,
And only need to connect a unique IP address and port for each equipment or user.
As a further solution of the present invention, the messaging bus uses MQTT, DDS, AMQP, XMPP, JMS, REST/
The Internet of Things standard communication protocol of HTTP, CoAP, each parking apparatus are connected to messaging bus.
As a further solution of the present invention, it is wirelessly connected between the parking apparatus and cloud platform using 4G/5G.
As a further solution of the present invention, it is connected between the parking apparatus and cloud platform using wired network circuits.
The parking charging method based on Internet of Things, comprising the following steps:
S1, registration: parking lot and car owner register each self-information in cloud platform in advance by respective terminal device;
S2, vehicle admission: by the Car license recognition video camera of entrance is arranged in sending out in real time after current collecting vehicle information
Be sent to messaging bus, after admission processing node receives vehicle admission information, first determine whether vehicle allows admission, if allow into
Field then passes data to a terminal session node;Terminal session node opens a sluice gate message to the push of corresponding barrier equipment, or
Person pushes admission event message to corresponding user interface, and admission handles node for vehicle information data deposit object storage and divides
Cloth database;
S3, vehicle appear on the scene:
By the Car license recognition video camera of outlet being arranged in being sent to messaging bus in real time after current collecting vehicle information,
After the processing node that appears on the scene receives vehicle appearance information, the admission information of the vehicle is inquired from distributed data base, calculates parking
Duration and Parking Fee, and the data of processing are passed into a terminal session node;If not needing to charge, terminal session section
Point opens a sluice gate message to the push of corresponding barrier equipment, or pushes appearance event message to corresponding user interface;If desired it receives
Take, then terminal session node pushes Charge message to corresponding charge display device, or pushes to corresponding user interface
Payment event message, after user APP has paid parking fee, terminal session node opens a sluice gate message to the push of corresponding barrier equipment;
Information of vehicles is stored in object storage and distributed data base while terminal session node processing, appearing on the scene processing node.
As a further solution of the present invention, the information of vehicles of object storage is stored in the S2 as including image data
Unstructured data is stored in the information of vehicles of distributed data base as the structural data including transit time and license plate number;
It is stored in the information of vehicles of object storage in the S3 as the unstructured data including image data, is stored in distributed data base
Information of vehicles is the structural data including transit time and license plate number.
As a further solution of the present invention, when network occurs abnormal, internet of things equipment utonomous working, to license plate number
The information of vehicles of data acquisition including code, transit time is matched with hit condition;Then according to matched processing rule
Or calculation formula carries out data processing, is finally exported again with corresponding control instruction, controls parking apparatus, carries out opening a sluice gate to operate,
After network recovery, the information of vehicles of caching is uploaded to cloud platform by internet of things equipment again.
As a further solution of the present invention, the physical network of the parking apparatus connection cloud platform is wireless using 4G or 5G
Network, cable network, cable network and wireless network composition dual link backup are added in parking lot, and are oriented by VPN technologies
Transmission.
As a further solution of the present invention, when user needs manual service, with two dimensional code in wechat scanning parking lot
Call center interface is opened, call center interface and messaging bus establish connection, pass through messaging bus and operation centre person on duty
Interface carries out real-time voice video calling, and remote control parking equipment, user pass through mobile phone barcode scanning to person on duty according to field condition
Voice and video call is carried out with the person on duty of operation centre.
In conclusion compared with the prior art, the invention has the following beneficial effects: cloud platform of the invention controls parking
Equipment is to generate control instruction by cloud platform, via messaging bus, is pushed to corresponding internet of things equipment, and from corresponding object
Reason interface be output on other parking apparatus, the connection between parking apparatus and messaging bus using MQTT, DDS, AMQP,
The Internet of Things communication protocol of the standards such as XMPP, JMS, REST/HTTP, CoAP, one-to-many full duplex is realized by messaging bus
Real time communication;Terminal session node has transparent transmission special to the control message that the parking apparatus such as banister, charge display screen push
Property, when network occurs abnormal, internet of things equipment can be with utonomous working, after network recovery, and the information of vehicles of caching can be again
Cloud platform is uploaded to, to provide a great convenience for user, the time needed for vehicle admission is greatly saved and appears on the scene.
In order to explain the structural features and functions of the invention more clearly, come with reference to the accompanying drawing with specific embodiment to this hair
It is bright to be described in detail.
Detailed description of the invention
Fig. 1 is system structure diagram of the invention.
Specific embodiment
The following further describes the technical solution of the present invention in the following with reference to the drawings and specific embodiments.
Referring to Fig. 1, a kind of Car park payment cloud platform based on Internet of Things, including load balancing, messaging bus, object are deposited
Storage, application program coordination service, distributive type handle cluster, distributed data base.Wherein, distributive type handles cluster packet
Include several admissions processing node, several appear on the scene processing nodes, several terminal session nodes.
The load balancing is that the four-layer load-equalizing based on IP address and port, all parking apparatus or user and cloud are flat
The connection of platform is all shared on multiple operating units by load balancing and is executed, and only for each equipment or user
Need to connect a unique IP address and port.
The messaging bus is using Internet of Things standard traffics such as MQTT, DDS, AMQP, XMPP, JMS, REST/HTTP, CoAP
Agreement, each parking apparatus are connected to messaging bus, realize a pair by messaging bus between cloud platform and each parking apparatus
More full duplex real time communications.
That is: connection between parking apparatus and messaging bus using MQTT, DDS, AMQP, XMPP, JMS, REST/HTTP,
The Internet of Things communication protocol of the standards such as CoAP.
Key data process flow
Parking apparatus is sent to messaging bus after collecting current information of vehicles such as Car license recognition video camera in real time.It answers
The state for handling working node in cluster according to distributive type with Program Coordination service, elects a working node to handle this
Message.
After admission processing node receives vehicle admission information, first determine whether vehicle allows admission, if allowing admission
Pass data to a terminal session node.Terminal session node opens a sluice gate message, Huo Zhexiang to the push of corresponding barrier equipment
Corresponding user interface pushes admission event message.Meanwhile admission processing node is by non-knots such as image datas in information of vehicles
Structure data are stored in object storage, and the structural datas such as transit time and license plate number are stored in distributed data base.
After the processing node that appears on the scene receives vehicle appearance information, the admission information of the vehicle is inquired from distributed data base,
Parking duration and Parking Fee are calculated, and the data of processing are passed into a terminal session node.If not needing to charge, eventually
End session node opens a sluice gate message to the push of corresponding barrier equipment, or pushes appearance event message to corresponding user interface;
If desired it charges, then terminal session node pushes Charge message to corresponding charge display device, or to corresponding user
Interface push payment event message, after user APP has paid parking fee, terminal session node is opened to the push of corresponding barrier equipment
Lock message.While terminal session node processing, the processing node that appears on the scene is unstructured by image data in information of vehicles etc.
Data are stored in object storage, and the structural datas such as transit time and license plate number are stored in distributed data base.
The terminal session node has transparent transmission to the control message that the parking apparatus such as banister, charge display screen push
Characteristic.Terminal session node generates corresponding control instruction, then the group together with physical interface parameter according to the model of parking apparatus
At control message, it is transmitted transparently in corresponding internet of things equipment (such as Car license recognition video camera) via messaging bus, Internet of Things
Equipment is regardless of control instruction content, it is only necessary to export the corresponding physical interface of instruction, physical interface is connected to other parkings
Equipment, to realize the control function to parking apparatus such as banister, charge display screens.
Guaranteed reliability
Service logic, the data processing method of admission processing node and the processing node that appears on the scene are converted to hit item by cloud platform
Part, processing rule, calculation formula and control instruction, and be issued in internet of things equipment (such as Car license recognition video camera);Meanwhile cloud
Vehicle admission information can be also issued in the internet of things equipment of corresponding appearance by platform.
When network occurs abnormal, internet of things equipment can regardless of specific service logic utonomous working: to license plate number
The information of vehicles of the acquisitions such as code, transit time is matched with hit condition;Then public according to matched processing rule or calculating
Formula carries out data processing, for example calculates Parking Fee;It is finally exported again with corresponding control instruction, controls other parking apparatus,
For example it opens a sluice gate.After network recovery, the information of vehicles of caching is uploaded to cloud platform by internet of things equipment again.
The physical network that parking apparatus connects cloud platform uses 4G or 5G wireless network, higher for reliability requirement to stop
Parking lot can increase cable network, cable network and wireless network composition dual link backup, and realize that orientation passes by VPN technologies
It is defeated, guarantee that network is not in the case where interruption for a long time.
That is: the wireless connections scheme such as 4G/5G is generallyd use between parking apparatus and cloud platform.Have for network quality higher
It is required that parking lot can increase wired network circuits, realize the backup of wire and wireless dual link.
When user needs manual service, two dimensional code in parking lot can be scanned with wechat and opens call center interface, is exhaled
It makes center interface and messaging bus establish connection, carries out real-time voice video by messaging bus and operation centre operator interfaces on duty
Call, person on duty's remote control parking equipment according to field condition, user can pass through the on duty of mobile phone barcode scanning and operation centre
Member's real-time voice video calling.
Cloud platform controls parking apparatus, is to generate control instruction by cloud platform, via messaging bus, is pushed to corresponding object
Networked devices, and be output on other parking apparatus from corresponding physical interface.
A) control process has transparent transmission characteristic.
B) internet of things equipment, which refers to, has network interface, the parking apparatus being directly connected to cloud platform in parking lot.License plate
Identify that video camera is a kind of internet of things equipment.Gateway with control interfaces such as serial ports, I/O ports is also that a kind of Internet of Things is set
It is standby.
C) other parking apparatus do not have network interface, connect cloud platform and connecting with internet of things equipment.
Cloud platform guarantees the real-time of data processing and parking apparatus control using distributive type processing frame.
When network occurs abnormal, internet of things equipment can be with utonomous working, after network recovery, and the information of vehicles of caching can be with
Again cloud platform is uploaded to.
The technical principle of the invention is described above in combination with a specific embodiment, is only the preferred embodiment of the present invention.This
The protection scope of invention is not limited merely to above-described embodiment, and all technical solutions belonged under thinking of the present invention belong to the present invention
Protection scope.Those skilled in the art, which does not need to pay for creative labor, can associate other specific realities of the invention
Mode is applied, these modes will fall within the scope of protection of the present invention.