CN103680197B - Parking position querying method and real time inquiry system thereof - Google Patents

Parking position querying method and real time inquiry system thereof Download PDF

Info

Publication number
CN103680197B
CN103680197B CN201310586527.2A CN201310586527A CN103680197B CN 103680197 B CN103680197 B CN 103680197B CN 201310586527 A CN201310586527 A CN 201310586527A CN 103680197 B CN103680197 B CN 103680197B
Authority
CN
China
Prior art keywords
parking stall
parking
management server
monitoring device
webserver
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.)
Active
Application number
CN201310586527.2A
Other languages
Chinese (zh)
Other versions
CN103680197A (en
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.)
Suzhou love open information technology Co., Ltd.
Original Assignee
SUZHOU YIGAO TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SUZHOU YIGAO TECHNOLOGY Co Ltd filed Critical SUZHOU YIGAO TECHNOLOGY Co Ltd
Priority to CN201310586527.2A priority Critical patent/CN103680197B/en
Publication of CN103680197A publication Critical patent/CN103680197A/en
Application granted granted Critical
Publication of CN103680197B publication Critical patent/CN103680197B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses a kind of method that user inquires about Parking position current state, comprise the following steps: (1) user is initiated for the current-status query request on parking stall in parking lot to the webserver by terminal unit;(2), after the webserver receives the inquiry request of this user, the webserver intercepts the status information on this parking stall by parking stall management server;After the status information on parking stall, corresponding status information is uploaded to the webserver in the corresponding parking lot of described parking stall management server acquisition;(3) in the described webserver receives the corresponding parking lot that parking stall management server is uploaded, the status information on corresponding parking stall, is stored in local data base, and the status information on parking stall corresponding in corresponding parking lot is sent to subscriber terminal equipment.The method can provide the user the real time status information on parking stall in parking lot, convenient guides user to stop, and reduces congested with cars situation in parking lot, also improves the utilization rate on parking stall in parking lot.

Description

Parking position querying method and real time inquiry system thereof
Technical field
The invention belongs to inquiring technology field, Parking position, be specifically related to a kind of Parking position and look into Inquiry method and real time inquiry system thereof.
Background technology
In October, 2010, China's automobile guarantee-quantity is broken through 100,000,000 high pointes first, is being lived through blowout formula After rapid growth, the automobile pollution of China enters the phase of growing steadily, and assists according to Chinese Automobile Industry ' Can announce data on January 11st, 2012 to show, China's automobile production and marketing in 2012 breaks through 19,000,000 in pairs , again breaking through record, speedup has been above 4% and has continued to hold a post or title the first in the world.The relevant money of Traffic Administration Bureau of the Ministry of Public Security Material display, within 2011, China's " motorization " tide continues to advance.By the end of the year 2011, whole nation motor vehicles Recoverable amount is 2.25 hundred million, wherein 1.06 hundred million, automobile.End the end of the year 2012, China's automobile guarantee-quantity Reaching 1.25 hundred million, China the most formally enters auto age.
The hugest automobile pollution has caused a serious problem, it is simply that vehicle is arriving at How to be quickly found out suitable parking stall.And on the other hand, the construction of city parking related facility is the most stagnant After, particularly in the big shopping centre of vehicle flowrate and tourist district, the peak time of parking looks for parking stall difficulty to become being stranded Disturb a realistic problem of car owners.In prior art, car owner drives to look for parking stall at the scene, and often efficiency is very Low, the most easily cause parking lot traffic jam.The present invention is therefore.
Summary of the invention
A kind of method that present invention aim at providing user to inquire about Parking position current state, the party Method solves car owner in prior art and inquires about scene, Parking position and be difficult to find that parking stall, easily cause The problems such as parking lot traffic jam.
In order to solve these problems of the prior art, present invention provide the technical scheme that
A kind of user inquires about the method for Parking position current state, it is characterised in that described parking lot is every It is provided for monitoring the parking stall monitoring device of parking stall seizure condition, described car in parking lot on individual parking stall Position monitoring device is by parking stall management server and webserver communication, and described parking stall management server will The parking space information of parking stall monitoring device monitoring is transferred to the webserver;Described user by terminal unit with Webserver communication is inquired about, and said method comprising the steps of:
(1) user is initiated for parking stall current in parking lot to the webserver by terminal unit Status query request;
(2), after the webserver receives the inquiry request of this user, the webserver is managed by parking stall Server intercepts the status information on this parking stall;Described parking stall management server stops in obtaining corresponding parking lot After the status information of parking stall, corresponding status information is uploaded to the webserver;
(3) the described webserver stops in receiving the corresponding parking lot that parking stall management server is uploaded accordingly The status information of parking stall, is stored in local data base, and the state on parking stall corresponding in corresponding parking lot is believed Breath is sent to subscriber terminal equipment.
Preferably, in described method, the webserver manages this parking stall of server real-time sense by parking stall Status information comprise the following steps:
1) webserver sends the status information on parking stall in corresponding parking lot to parking stall management server Request;
2), after management server in parking stall receives the status information request of the webserver, supervised by parking stall The status information on parking stall in the survey corresponding parking lot of device real-time detection;
3) in parking stall monitoring device detects corresponding parking lot after the status information on parking stall, will be corresponding Status information is uploaded to parking stall management server.
Preferably, described method also carries out parking stall between the webserver with parking stall management server synchronization The step refreshed, specifically includes following steps:
(1) the parking stall shape that in parking lot, on each parking stall, parking stall monitoring device will obtain every some cycles Body information is transferred to parking stall management server;
(2) parking space information is transferred to the webserver by network by parking stall management server;
(3) webserver updates parking space information according to parking stall refreshing information, and renewal stops accordingly Parking space information data base.
Preferably, in described method when the vehicle enters the parking space, parking stall monitoring device captures stops accordingly Parking stall changes, and to parking stall, management server sends parking space state information;Parking stall management server update Local parking space state information is seizure condition, then by network, parking space state information is transferred to network Server;After the webserver receives parking space state information, parking space state information is carried out record, and Updating parking stall current state is seizure condition.
Preferably, in described method when vehicle rolls parking stall away from, parking stall monitoring device captures stops accordingly Parking stall changes, and to parking stall, management server sends parking space state information;Parking stall management server update Local parking space state information is idle condition, and by network, parking space state information is transferred to network clothes Business device;After the webserver receives parking space state information, parking space state information is carried out record, and more New parking stall current state is idle condition.
Preferably, in described method, in vehicle management server and the webserver, all storages have parking lot to stop Parking stall layout, parking stall and corresponding parking stall monitoring device one_to_one corresponding on each parking lot.
Preferably, the management of parking stall described in described method server is used for and parking stall monitoring device communication management Parking stall in parking lot takies situation, and by network and webserver communication, receives network service The instruction that device issues, and parking space information is sent to the webserver;The webserver is used for and parking stall Management server communication receives the parking space information of parking stall management server;Parking stall monitoring device, is used for supervising Survey Parking position to get on the bus bit stealing state, and corresponding parking stall state is sent to parking stall management clothes Business device.
Preferably, parking stall monitoring device described in described method includes microprocessor, for detecting parking stall Seizure condition ultrasonic detector and for showing the prompting apparatus of parking stall corresponding information, for micro- Processor carries out the toggle switch of geocoding;Described microprocessor respectively with ultrasonic detector, prompting Device, toggle switch connect.
Another object of the present invention is to provide a kind of Parking position real time inquiry system, its feature exists Include in described system:
Subscriber terminal equipment, is used for sending the instruction of inquiry parking stall with webserver communication;
Parking stall management server, for taking with the parking stall in monitoring device communication management parking lot, parking stall Situation, management server in described parking stall, by network and webserver communication, receives under the webserver The instruction sent out, and parking space information is sent to the webserver;
The webserver, for receiving the parking stall of parking stall management server with parking stall management server communication Information, is additionally operable to receive the inquiry parking space request of subscriber terminal equipment, and feeds back corresponding parking stall shape State information is to subscriber terminal equipment;
Parking stall monitoring device, is arranged on each parking stall, parking lot, is used for monitoring Parking position Parking stall seizure condition, and corresponding parking stall state is sent to parking stall management server.
Preferably, between described parking stall management server and parking stall monitoring device, repeater, described parking stall are set Management server is provided with spider module, relaying opening module, collects parking stall information module, described traversal Module for and parking stall monitoring device communication detection parking stall monitoring device and parking stall management server between chain Road is the most normal;Described relaying opening module is used for opening repeater, and makes repeater be in polling status; Described collection parking stall information module is used for and parking stall monitoring device communication, gathers the status information on parking stall
Preferably, described spider module travels through in accordance with the following steps:
(1) by parking stall management server one ergodic data frame of transmission to repeater, after repeater resolves Ergodic data frame is forwarded to corresponding parking stall monitoring device;
(2) after parking stall monitoring device receives ergodic data frame, return traversal reply frame to repeater, Traversal reply frame is transmitted to parking stall management server by repeater again;
(3) after parking stall management server receives traversal reply frame, then judge that parking stall manages server Normal to the link of corresponding parking stall monitoring device, parking stall monitoring device is united by the result according to judging Meter counting.
Preferably, described relaying opening module in accordance with the following steps carry out open repeater:
(1) parking stall management one broadcast data packet of the outside broadcast transmission of server;
(2), after repeater receives broadcast data packet, polling status is entered;
(3), after parking stall monitoring device or the webserver receive broadcast data packet, directly abandon.
Preferably technical scheme is: described collection parking stall information module is collected letter in accordance with the following steps Breath:
(1), when repeater is in polling status, parking stall management server sends request of data to repeater Frame;
(2) the parking space information array of 16 bytes of storage is embedded to return in Frame and sends by repeater Server is managed to parking stall;
(3) parking space information array record is entered in data base by parking stall management server, and statistics has been adopted The parking space information of collection;After having collected all of parking space information, calculate each parking stall residue situation it is anti- Should be on repeater.
Preferably technical scheme is: described repeater is LED parking space guide screen, described parking stall management clothes Business device is connected with LED parking space guide screen, and LED parking space guide screen is connected with parking stall monitoring device;Described Parking stall monitoring device is positioned on Parking position, for monitoring the state on corresponding parking stall, parking lot, and State and the Self address information on corresponding parking stall are sent to LED parking space guide screen;Described LED car Position navigational panel is provided with the display screen guiding user to position, parking stall, and described LED parking space guide screen is fixed Time poll each parking stall monitoring device connected status information, and by latest state information store, And show on a display screen;Described parking stall management each LED parking space guide screen of server automatic regular polling, And require to submit to the latest state information of LED parking space guide screen itself and its child node.
Preferably technical scheme is: described parking stall management server is with several LED parking space guide screens even Connecing composition first order master slave relation, LED parking space guide screen is connected formation with several parking stall monitoring devices Second level master slave relation.
Preferably technical scheme is: described parking stall management server includes being provided with the master of RS-232 interface Machine, described main frame connects RS-232/485 hub, described RS-232/485 by RS-232 interface Hub connects several LED parking space guide screens by RS-485 bus.
Preferably technical scheme is: each LED parking space guide screen connects several by RS-485 bus Parking stall monitoring device.Preferably technical scheme is: described microprocessor uses single-chip microcomputer MSP430, institute State single-chip microcomputer MSP430 to be connected with LED parking space guide screen by RS-485 driving chip.
Preferably technical scheme is: described LED parking space guide screen passes through with parking stall management server UART0 interface communication, has high interrupt priority;Described LED parking space guide screen is monitored with parking stall Device passes through UART1 interface communication, and UART1 is second level interrupt priority level.
Preferably technical scheme is: the mailing address of described parking stall management server is set to 0x0000, The mailing address of LED parking space guide screen and connected parking stall monitoring device is arranged by dip-switch package.
Preferably technical scheme is: in the mailing address of described LED parking space guide screen, the 2nd byte is 0, the 1st byte is arranged by dip-switch package;The parking stall monitoring device being connected with LED parking space guide screen In mailing address, the 1st byte is identical with LED parking space guide screen, and the 2nd byte is arranged by dip-switch package.
Preferably technical scheme is: described parking stall monitoring device is with 220v AC-5V DC Switching Power Supply even Connect power supply, be provided with power management chip in the monitoring device of described parking stall and power supply is managed.
Preferably technical scheme is: described LED parking space guide screen includes that the STC being connected with display screen is mono- Sheet machine, STC single-chip microcomputer is respectively by RS-485 chip and parking stall management server and parking stall monitoring device Communication.Preferably technical scheme is: described STC single-chip microcomputer passes through UART0 with parking stall management server Interface communication, has high interrupt priority;Described STC single-chip microcomputer passes through with parking stall management server UART1 interface communication, UART1 is second level interrupt priority level.
Preferably technical scheme is: described LED parking space guide screen and 220v AC-5V DC Switching Power Supply Connect power supply, be provided with power management chip in described LED parking space guide screen and power supply is managed.
Preferably technical scheme is: described subscriber terminal equipment is selected from mobile phone, notebook computer, flat board electricity Brain, phone.In described method, in vehicle management server and the webserver, all storage has Parking Position layout, parking stall and corresponding parking stall monitoring device one_to_one corresponding on each parking lot.Described parking stall Management server uses the mode of poll to obtain the parking lot that each parking stall monitoring device monitored to stop Get on the bus bit stealing state in parking stall;And parking stall seizure condition information is sent to the webserver.
Owing in technical solution of the present invention, parking stall monitoring device is arranged on each parking stall, and with parking Position one_to_one corresponding, such purpose is that the parking stall management server in parking lot can pass through parking stall monitoring device Determine the position on parking stall, and understood the feelings on vehicles while passing parking stall by parking stall monitoring device timely Condition.
Parking space information refreshes according to certain frequency, the parking that parking stall monitoring device will real-time monitor Position information is sent to parking stall management server;Corresponding information is uploaded to network by described parking stall management server Server, the webserver can send in parking lot to subscriber terminal equipment according to actual real time information The real-time status on parking stall.
Relative to scheme of the prior art, the invention have the advantage that
Technical solution of the present invention sends, to parking stall management server, the request of intercepting in real time by the webserver, The status information on this parking stall, according to this parking stall in acquisition parking lot is intercepted by parking stall management server Real time status information.This can provide the user the real time status information on parking stall in parking lot, conveniently draws Lead user to stop, reduce congested with cars situation in parking lot, also improve parking stall in parking lot Utilization rate.
Accompanying drawing explanation
Below in conjunction with the accompanying drawings and embodiment the invention will be further described:
Fig. 1 is the system architecture diagram of Parking position of the present invention real time inquiry system;
Fig. 2 is the theory structure of real time inquiry system parking stall, Parking position of the present invention management server Figure
Fig. 3 is the system architecture diagram of the parking space management system in parking lot of the present invention;
Fig. 4 is the structural representation of parking stall of the present invention monitoring device.
Detailed description of the invention
Below in conjunction with specific embodiment, such scheme is described further.Should be understood that these embodiments are For illustrating that the present invention is not limited to limit the scope of the present invention.The implementation condition used in embodiment is permissible Condition according to concrete producer does adjustment further, and not marked implementation condition is usually in normal experiment Condition.
Embodiment
As it is shown in figure 1, this Parking position real time inquiry system, including:
Subscriber terminal equipment, is used for sending the instruction of inquiry parking stall with webserver communication;
Parking stall management server, for taking with the parking stall in monitoring device communication management parking lot, parking stall Situation, management server in described parking stall, by network and webserver communication, receives under the webserver The instruction sent out, and parking space information is sent to the webserver;
The webserver, for receiving the parking stall of parking stall management server with parking stall management server communication Information, is additionally operable to receive the inquiry parking space request of subscriber terminal equipment, and feeds back corresponding parking stall shape State information is to subscriber terminal equipment;
Parking stall monitoring device, is arranged on each parking stall, parking lot, is used for monitoring Parking position Parking stall seizure condition, and corresponding parking stall state is sent to parking stall management server.
As in figure 2 it is shown, arrange repeater between described parking stall management server and parking stall monitoring device, described Parking stall management server is provided with spider module, relaying opening module, collects parking stall information module, described Spider module is used for and between parking stall monitoring device communication detection parking stall monitoring device and parking stall management server Link the most normal;Described relaying opening module is used for opening repeater, and makes repeater be in poll State;Described collection parking stall information module is used for and parking stall monitoring device communication, gathers the state on parking stall Information.
Described repeater is LED parking space guide screen, and each parking stall in parking lot is fitted with parking stall prison Surveying device, parking stall monitoring device monitors current parking space information, and is real-time transmitted to parking stall management server. Parking stall manages server by parking space information teletransmissions all in this parking lot to the webserver.User can be led to Cross terminal unit and obtain the parking stall real time status information in parking lot, thus guide user to stop.Institute The terminal unit stated comprises: mobile phone, phone, computer.Parking stall management server can manage as parking stall Server.
When user carries out inquiring about Parking position current state, can carry out in accordance with the following steps:
(1) user is initiated for parking stall current in parking lot to the webserver by terminal unit Status query request;
(2), after the webserver receives the inquiry request of this user, the webserver is managed by parking stall Server intercepts the status information on this parking stall;Described parking stall management server stops in obtaining corresponding parking lot After the status information of parking stall, corresponding status information is uploaded to the webserver;
(3) the described webserver stops in receiving the corresponding parking lot that parking stall management server is uploaded accordingly The status information of parking stall, is stored in local data base, and the state on parking stall corresponding in corresponding parking lot is believed Breath is sent to subscriber terminal equipment.
Wherein the webserver is by the status information bag on management this parking stall of server real-time sense, parking stall Include following steps:
1) webserver sends the status information on parking stall in corresponding parking lot to parking stall management server Request;
2), after management server in parking stall receives the status information request of the webserver, supervised by parking stall The status information on parking stall in the survey corresponding parking lot of device real-time detection;
3) in parking stall monitoring device detects corresponding parking lot after the status information on parking stall, will be corresponding Status information is uploaded to parking stall management server.
Also carry out the step of parking stall synchronous refresh between the webserver and parking stall management server, specifically wrap Include following steps:
(1) the parking stall shape that in parking lot, on each parking stall, parking stall monitoring device will obtain every some cycles Body information is transferred to parking stall management server;
(2) parking space information is transferred to the webserver by network by parking stall management server;
(3) webserver updates parking space information according to parking stall refreshing information, and renewal stops accordingly Parking space information data base.
When the vehicle enters the parking space, parking stall monitoring device captures corresponding parking stall and changes, to car Position management server sends parking space state information;The parking space state information that parking stall management server update is local For seizure condition, then parking space state information is transferred to the webserver by network;The webserver After receiving parking space state information, parking space state information is carried out record, and update parking stall current state and be Seizure condition.
When vehicle rolls parking stall away from, parking stall monitoring device captures corresponding parking stall and changes, to car Position management server sends parking space state information;The parking space state information that parking stall management server update is local For idle condition, and parking space state information is transferred to the webserver by network;The webserver connects After receiving parking space state information, parking space state information is carried out record, and updates parking stall current state for sky Not busy state.
In vehicle management server and the webserver, all storage has Parking position layout, Mei Geting Parking stall and corresponding parking stall monitoring device one_to_one corresponding on parking lot.Described parking stall management server for Parking stall in monitoring device communication management parking lot, parking stall takies situation, and by network and network service Device communication, receives the instruction that the webserver issues, and parking space information is sent to the webserver; The webserver for receiving the parking space information of parking stall management server with parking stall management server communication; Parking stall monitoring device, is used for monitoring Parking position and gets on the bus bit stealing state, and by corresponding parking stall State is sent to parking stall management server.
As it is shown on figure 3, wherein parking stall management server, repeater and parking stall monitoring device form parking lot Local parking space management system.Parking stall management server is host computer, and each equipment uses 485 buses to enter Row chain.Parking stall monitoring device has a road UART, is connected with the UART1 of parent repeater.Parking stall is supervised Survey device and have 2 kinds of functions: unloading lot detection, communicate and process and reply data.
The mailing address of parking stall management server is 0x0000, immutable.
Ergodic process is as follows:
System is just run when, for the ease of the most normal work of detection each equipment of whole system Making, system is provided with the process of traversal, parking stall management server send ergodic data frame successively to all of Parking stall monitoring device, if parking stall management server have received the ergodic data frame from parking stall monitoring device Reply, then can determine that this link communication is normal, otherwise need to detect failure problems.Another of traversal is made With being to allow trunking repeater statistics administration probe parking stall sum, it is 64 to the maximum.
Send a traversal frame process specific as follows:
First being sent traversal frame data to repeater by parking stall management server, repeater will be all over after resolving Going through frame data and be forwarded to corresponding parking stall monitoring device, parking stall monitoring device replys traversal frame data to relaying Device, this Frame is transmitted to parking stall management server by repeater again.
Unlatching trunking is specific as follows:
After completing traversal, main frame starts to open trunking poll, and approach is to send a broadcast number According to bag, all repeaters that broadcast packet can be linked by main frame receive, and repeater is upon receipt of broadcast Packet, is put into polling status.
Collection parking space information is specific as follows:
Parking stall management server only just can collect each parking stall shape after opening trunking poll State information, can be obtained by the parking space information number of 16 bytes by sending request of data frame to repeater Group.Parking stall management server is recorded in data base, and shows on main interface.When having collected After some parking space information, parking stall management server calculates each parking stall residue situation, and is reacted to Continue on device.
Described parking stall management server be connected with LED parking space guide screen, each LED parking space guide screen and Parking stall monitoring device connects;Described parking stall monitoring device is positioned on Parking position, is used for monitoring parking The state on corresponding parking stall, field, and state and the Self address information on corresponding parking stall are sent to LED Parking space guide screen;Described LED parking space guide screen is provided with the display screen guiding user to position, parking stall, The status information of described LED parking space guide screen automatic regular polling each parking stall monitoring device connected, And latest state information is stored, and show on a display screen;Described parking stall management server automatic regular polling Each LED parking space guide screen, and require to submit the up-to-date of LED parking space guide screen itself and its child node to Status information.
Wherein LED parking space guide screen uses as repeater, and parking stall management server, LED parking stall are drawn Lead and between screen, use 485 buses to connect;It is also adopted by between LED parking space guide screen and parking stall monitoring device 485 buses connect, and form a tree-shaped half-duplex operation network.Described parking stall management server includes setting Being equipped with the main frame of RS-232 interface, described main frame connects RS-232/485 line concentration by RS-232 interface Device, described RS-232/485 hub connects several LED parking space guide screens by RS-485 bus. LED parking space guide screen selects RS-485 repeater.
PC, as main frame, connects 232/485 hub by RS-232 bus and constitutes parking stall management clothes Business device.Parking stall management server constitutes the 1st grade of MS master-slave relation with each repeater, and repeater is coupled Each parking stall monitoring device in bus constitutes the 2nd grade of MS master-slave relation.The equipment of all devices in system Address is that 4 bytes are by set when dispatching from the factory.Mailing address is only 2 bytes, leading to of parking stall management server Letter address is defaulted as 0x0000, and the mailing address of repeater and parking stall monitoring device is given by dip-switch package To arrange.
The frame format definition of network service as shown in table 1, wherein comprises: start bit, destination address, source Address, type, fix the data segment of 2 bytes, check bit sum stop bits.Start bit is defined as " $ " Character, its numerical value is 0x24;Stop bits is defined as " * " character, and its numerical value is 0x2A.
Table 1 frame format
Byte: 1 2 2 1 2 1 1
Start bit Destination address Source address Type Data Check bit Stop bits
Destination address is the mailing address that frame arrives equipment, and special 0xFFFF is broadcast address.Seedbed Location is the mailing address of frame initiating equipment, and source address cannot be set to 0xFFFF.Repeater communication ground 2nd byte of location is 0, and the 1st byte of parking stall monitoring device mailing address is with its parent device communicatedly 1st byte of location is equal.Parking stall monitoring device can use MSP430 single-chip microcomputer, itself and LED car Position navigational panel carries out communication by RS-485 driving chip.
Wherein type-byte definition is as shown in table 2:
Table 2 frame type defines
Instruction Type-byte Explanation
ACTIVE 0x01 Ask whether in place
READY 0x81 Response is in place
DATAREQ 0x02 Request of data
DATARSP 0x82 Data recovery
CMDREQ 0x03 Command request
CMDRSP 0x83 Order is replied
Check byte uses the method for verification sum to carry out, and first all of byte is added, does not comprise initial Position and stop bits, be then punctured into required bit length by result.
Rule of communication is as follows:
(1) management server in parking stall dominates whole communication in the parking space management system in parking lot Journey.Parking stall management each repeater of server automatic regular polling, and require to submit repeater itself and its sub-joint to The status information of point.
(2) status information of each parking stall monitoring device in its bus of repeater automatic regular polling, and will be Fresh information stores, in case parking stall management server queries.
(3) there is the main frame of MS master-slave relation after having sent " ACTIVE " instruction, enter reception etc. Treat state, open overtime control simultaneously.If receiving the information of mistake, continue waiting for;If on rule Fail the return instruction " READY " received from machine in fixing time, then it is assumed that in place from machine, cancel Current communication.
(4) main frame that there is MS master-slave relation receives after machine return instruction " READY ", can Send " DATAREQ " or " CMDREQ " instruction, and enter reception state, open super simultaneously Time control.If receiving the information of mistake, continue waiting for;If failing at the appointed time to receive From return instruction " DATARSP " or " CMDRSP " of machine, then time-out counter adds 1, and main Machine resends instruction;If time-out 3 times, then return error message, cancel current communication.
(5) exist MS master-slave relation after machine resets, will wait that main frame sends instruction, and according to specifically Command content respond.If receiving call instruction frame mistake, the most directly abandoning this frame, not appointing Where is managed.
Parking stall monitoring device and repeater all have 2 kinds of addresses: the extended address extAddr of 4 byte longs and The address comAddr of 2 byte longs.Wherein, globally unique extAddr is stored in Flash, The comAddr low byte of parking stall monitoring device is determined by 8bit toggle switch, and high byte is by being connected therewith The parent repeater comAddr that connects determines, as repeater comAddr be 0x0100,0x0200 extremely 0x4000;The high byte of the comAddr of so corresponding parking stall monitoring device is exactly 0x01,0x02, 0x40。
As shown in Figure 4, described parking stall monitoring device includes microprocessor, for detecting taking of parking stall The ultrasonic detector of state and for showing the prompting apparatus of parking stall corresponding information, for microprocessor Carry out the toggle switch of geocoding;Described microprocessor respectively with ultrasonic detector, prompting apparatus, dial Code switch connects.Described microprocessor uses single-chip microcomputer MSP430, described single-chip microcomputer MSP430 to pass through RS-485 driving chip is connected with LED parking space guide screen.The workflow of parking stall monitoring device is specifically retouched State as follows:
Wherein parking stall state is divided into 4 kinds: take, idle, other and fault.Parking stall monitoring device is every Refresh 1 parking stall state every 1S, i.e. enter judgment model and judge parking stall state.If meet with In lower 2 Rule of judgment one, then parking stall monitoring device entrance judgment model:
1: parking stall current state is idle, and detection range S meets S >=H-200 and S≤H 60;
2: parking stall current state is for taking, and detection range S meets S >=H 60;
Under judgment model, parking stall monitoring device detects once every 100MS, altogether detection 8 times, 8 times Data remove a maximum, remove a minima, remain 6 data and average, and sentence if meeting Broken strip part 1 then judges that parking space state, as taking, is updated to take by parking space state;Meet Rule of judgment 2, Then judge parking space state as idle, then parking space state is updated to the free time.
Wherein: parking stall monitoring device setting height(from bottom) H, for reserving in advance, it is cured to single-chip microcomputer FLASH, immutable.Automobile minimum constructive height: C1=60cm.Automobile Maximum height: C2= 200cm。
This detection range: S, is obtained by ultrasonic listening by single-chip microcomputer, unit cm.
Parking stall monitoring device processes the communication data from UART1 in waiting state reception, and parking stall is monitored Device only passively receives not active upload.Parking stall monitoring device can determine whether according to the source address receiving Frame This frame is directly initiated by repeater or is initiated the forwarding of the most repeated device by main frame.Frame type Divide and be 3 classes altogether: confirm, data, order.Either request data frame or command frame, before request Must first ask to confirm ACTIVE frame, only reply after READY frame when probe, main frame or in Continuing device just can be with request data frame, command frame.Frame is all directly to be initiated by repeater, and probe receives Just oneself mailing address and current parking space state information are returned with the form of 2 bytes to Frame Multiple repeater.Command frame can only be to be initiated to be forwarded by LED screen by main frame, and probe receives order Frame carries out corresponding action.Frame type in detail please check subordinate list 3.
The detection of table 3 parking stall receives and replys frame type definition
Note Master: main frame LED:LED parking space guide screen Decoder parking stall monitoring device.
Repeater is operated as follows:
(1) repeater is initialized as waiting state, does communication process, repeater at this state repeater Directly can communicate with main frame, upload and receive data.Repeater possesses routing function simultaneously, and one Denier is the most just forwarded to by the frame data bag that destination address is administered parking stall monitoring device Corresponding parking stall monitoring device, if the destination address that parking stall monitoring device is replied is main-machine communication address, This data frame is then transmitted to main frame by so repeater.
(2) when receiving the broadcast data frame from main frame, then repeater is just no longer on waiting state, And it being into polling status, the repeater of polling status starts to be sent by UART1 to each probe Request of data frame, to collect the status information of each parking stall, and deposits it with the form of 16 bytes To array Parking_Info [16] the inside, the feature of these data is that each byte represents corresponding 4 Individual parking space information.Such as Parking_Info [0] low 2 just represent mailing address be navigational panel lead to The parking space information residing for the monitoring device of parking stall of letter address+1,00 representative does not has this parking stall monitoring device, 01 to represent this parking stall occupied, and 02 to represent this parking stall idle, and 03 represents other definition.The like Totally 64, represent most 64 parking space information that this repeater is administered.
(3) in polling procedure, the Frame from main frame is received, then preferential according to reserve in advance Level, repeater first processes the communication with main frame by stopping poll.
The parking stall management server in each region all has unique regional number, the webserver to manage with parking stall It is identified by regional number during communication between server.Parking stall management server is periodically uploaded parking stall and is accounted for By information to the webserver, the webserver stores the up-to-date parking stall of each parking stall management server and accounts for Use state.
The parking stall monitoring device installed on each parking stall all has unique device address, parking stall management server Use poll method, each parking stall monitoring device of periodic poll monitored parking stall takies shape State.Wherein, parking space state is specifically divided into 3 kinds: seizure condition, idle condition and other states.
Examples detailed above only for technology design and the feature of the present invention are described, its object is to allow and is familiar with this skill The people of art is to will appreciate that present disclosure and implement according to this, can not limit the protection of the present invention with this Scope.All equivalent transformations done according to spirit of the invention or modification, all should contain the present invention's Within protection domain.

Claims (8)

1.A kind of user inquires about the method for Parking position current state, it is characterized in that being provided on each parking stall, described parking lot monitoring the parking stall monitoring device of parking stall seizure condition in parking lot, the parking space state information that parking stall monitoring device is monitored is transferred to the webserver by parking stall management server and webserver communication, described parking stall management server by described parking stall monitoring device;Between described parking stall management server and parking stall monitoring device, repeater is set, described parking stall management server is provided with spider module, relaying opening module, collects parking stall information module, described spider module for and parking stall monitoring device communication detection parking stall monitoring device and parking stall management server between link the most normal;Described relaying opening module is used for opening repeater, and makes repeater be in polling status;Described collection parking stall information module is used for and parking stall monitoring device communication, gathers the status information on parking stall;
Described spider module travels through in accordance with the following steps:
1 , sent ergodic data frame by parking stall management server to repeater, ergodic data frame is forwarded to corresponding parking stall monitoring device by repeater after resolving;
2 , after parking stall monitoring device receives ergodic data frame, return traversal and reply frame to repeater, traversal reply frame is transmitted to parking stall and manages server by repeater again;
3 , reply after frame when parking stall management server receives traversal, then judge parking stall management server to corresponding parking stall monitoring device link normally, according to the result of judgement, parking stall monitoring device is carried out statistical counting;
Described user is inquired about with webserver communication by terminal unit, said method comprising the steps of:
( 1 ) user by terminal unit to the webserver initiate for the current-status query request on parking stall in parking lot;
( 2 ) after the webserver receives the inquiry request of this user, the webserver intercepts the status information on this parking stall by parking stall management server;After the status information on parking stall, corresponding parking space state information is uploaded to the webserver in the corresponding parking lot of described parking stall management server acquisition;
( 3 ) the described webserver receives the status information on corresponding parking stall in the corresponding parking lot uploaded of management server, parking stall, it is stored in local data base, and the status information on parking stall corresponding in corresponding parking lot is sent to subscriber terminal equipment.
2.According to claim 1 Described method, it is characterised in that the status information that in described method, the webserver intercepts this parking stall by parking stall management server comprises the following steps:
1 ) webserver status information request on parking stall in the corresponding parking lot of parking stall management server transmission;
2 ) after parking stall management server receives the parking space state information request of the webserver, by the status information on parking stall in the corresponding parking lot of parking stall monitoring device real-time detection;
3 ) parking stall monitoring device detects in corresponding parking lot after the status information on parking stall, and corresponding parking space state information is uploaded to parking stall management server.
3.According to claim 1 Described method, it is characterised in that also carry out the step of parking stall synchronous refresh between the webserver and parking stall management server in described method, specifically includes following steps:
( 1 ) on each parking stall, the parking space state information obtained every some cycles is transferred to parking stall management server by parking stall monitoring device in parking lot;
( 2 ) parking stall management server by network, parking space state information is transferred to the webserver;
( 3 ) webserver is according to parking space state information updating parking stall status information, and update corresponding parking space information data base.
4.According to claim 1 Described method, it is characterised in that in described method when the vehicle enters the parking space, parking stall monitoring device captures corresponding parking stall and changes, and to parking stall, management server sends parking space state information;The parking space state information of management server update this locality, parking stall is seizure condition, then by network, parking space state information is transferred to the webserver;After the webserver receives parking space state information, parking space state information is carried out record, and to update parking stall current state be seizure condition.
5.According to claim 1 Described method, it is characterised in that in described method when vehicle rolls parking stall away from, parking stall monitoring device captures corresponding parking stall and changes, and to parking stall, management server sends parking space state information;The parking space state information of management server update this locality, parking stall is idle condition, and by network, parking space state information is transferred to the webserver;After the webserver receives parking space state information, parking space state information is carried out record, and to update parking stall current state be idle condition.
6.According to claim 1 Described method, it is characterised in that during parking stall manages server and the webserver in described method, all storage has Parking position layout, parking stall and corresponding parking stall monitoring device one_to_one corresponding on each parking lot.
7.A kind of Parking position real time inquiry system, it is characterised in that described system includes:
Subscriber terminal equipment, is used for sending the instruction of inquiry parking stall with webserver communication;
Parking stall management server, for taking situation with the parking stall in monitoring device communication management parking lot, parking stall, management server in described parking stall, by network and webserver communication, receives the instruction that the webserver issues, and parking space state information is sent to the webserver;Between described parking stall management server and parking stall monitoring device, repeater is set, described parking stall management server is provided with spider module, relaying opening module, collects parking stall information module, described spider module for and parking stall monitoring device communication detection parking stall monitoring device and parking stall management server between link the most normal;Described relaying opening module is used for opening repeater, and makes repeater be in polling status;Described collection parking stall information module is used for and parking stall monitoring device communication, gathers the status information on parking stall;
Described spider module travels through in accordance with the following steps:
( 1 ) being sent ergodic data frame to repeater by parking stall management server, ergodic data frame is forwarded to corresponding parking stall monitoring device by repeater after resolving;
( 2 ) after parking stall monitoring device receives ergodic data frame, return traversal and reply frame to repeater, traversal reply frame is transmitted to parking stall and manages server by repeater again;
( 3 ) after parking stall management server receives traversal reply frame, then judging that management server in parking stall is normal to the link of corresponding parking stall monitoring device, the result according to judging carries out statistical counting to parking stall monitoring device;
The webserver, for receiving the parking space state information of parking stall management server with parking stall management server communication, is additionally operable to receive the inquiry parking space request of subscriber terminal equipment, and feeds back corresponding parking stall status information to subscriber terminal equipment;
Parking stall monitoring device, is arranged on each parking stall, parking lot, is used for monitoring Parking position and gets on the bus bit stealing state, and corresponding parking stall seizure condition is sent to parking stall management server.
8.According to claim 7 Described Parking position real time inquiry system, it is characterised in that described relaying opening module in accordance with the following steps carry out open repeater:
( 1 ) parking stall management one broadcast data packet of the outside broadcast transmission of server;
( 2 ) after repeater receives broadcast data packet, enter polling status
( 3 ) after parking stall monitoring device or the webserver receive broadcast data packet, directly abandon.
CN201310586527.2A 2013-11-20 2013-11-20 Parking position querying method and real time inquiry system thereof Active CN103680197B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310586527.2A CN103680197B (en) 2013-11-20 2013-11-20 Parking position querying method and real time inquiry system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310586527.2A CN103680197B (en) 2013-11-20 2013-11-20 Parking position querying method and real time inquiry system thereof

Publications (2)

Publication Number Publication Date
CN103680197A CN103680197A (en) 2014-03-26
CN103680197B true CN103680197B (en) 2016-09-21

Family

ID=50317605

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310586527.2A Active CN103680197B (en) 2013-11-20 2013-11-20 Parking position querying method and real time inquiry system thereof

Country Status (1)

Country Link
CN (1) CN103680197B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3026654A1 (en) * 2014-11-25 2016-06-01 Gemalto Sa Method for managing parking spaces on public streets
CN104732794B (en) * 2015-03-03 2018-05-08 西安艾润物联网技术服务有限责任公司 The method and system of reverse car seeking
CN105160931A (en) * 2015-08-20 2015-12-16 成都市微泊科技有限公司 Parking lot parking spot navigation system using micro map and WIFI position to perform positioning
CN105590474A (en) * 2015-11-09 2016-05-18 杭州华三通信技术有限公司 Parking space information transmission method and system
CN110012534A (en) * 2019-02-18 2019-07-12 生迪智慧科技有限公司 Equipment state synchronous method, device, equipment and computer readable storage medium
CN112399465B (en) * 2019-08-16 2022-11-11 华为技术有限公司 Method and device for indicating state of antenna panel
CN110689732A (en) * 2019-10-28 2020-01-14 浙江工业大学 Low-cost parking area information sharing system based on loRa communication technology
CN110827574B (en) * 2019-11-13 2022-06-07 苏州泊讯物联网技术有限公司 Parking space detection system and method and intelligent parking platform
CN111652991A (en) * 2020-07-06 2020-09-11 江苏高聚识别技术有限公司 Recognition charging system applied to charging parking lot

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102542840A (en) * 2011-11-18 2012-07-04 厦门市鼎朔信息技术有限公司 System and method for controlling traffic flow by controlling quantity of available parking spaces
CN102831785A (en) * 2012-09-14 2012-12-19 成都宇凡科技有限责任公司 Parking space inquiry booking system and inquiry booking method thereof
CN103000047A (en) * 2012-12-05 2013-03-27 启辰电子(苏州)有限公司 Monitoring system for parking places in parking lot

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002197208A (en) * 2000-12-26 2002-07-12 Nec Soft Ltd Reservation system for parking lot contracted by store, method and record medium
JP2008003975A (en) * 2006-06-26 2008-01-10 Nec Software Kyushu Ltd Parking lot management system, parking lot management method, management server and program therefor
CN102789697A (en) * 2012-08-13 2012-11-21 天津瀚旺数据系统集成有限公司 Garage navigation system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102542840A (en) * 2011-11-18 2012-07-04 厦门市鼎朔信息技术有限公司 System and method for controlling traffic flow by controlling quantity of available parking spaces
CN102831785A (en) * 2012-09-14 2012-12-19 成都宇凡科技有限责任公司 Parking space inquiry booking system and inquiry booking method thereof
CN103000047A (en) * 2012-12-05 2013-03-27 启辰电子(苏州)有限公司 Monitoring system for parking places in parking lot

Also Published As

Publication number Publication date
CN103680197A (en) 2014-03-26

Similar Documents

Publication Publication Date Title
CN103680197B (en) Parking position querying method and real time inquiry system thereof
CN103531041B (en) Based on the parking position reservation system of ultrasonic listening
CN102831785B (en) Parking stall inquiry reservation system and inquiry preordering method thereof
CN105182884B (en) A kind of new-energy automobile charging and conversion electric facility remote monitoring system and method
US20110004406A1 (en) Systems and methods for location determination of devices using network fingerprints for power management
CN106972954B (en) A kind of design method of automation of transformation substations equipment wide area O&M framework
CN103680194B (en) Parking stall subscription system with parking stall management function of parking lot
CN201918030U (en) Parking management system for parking lot
CN101354836A (en) City parking information service system based on wireless sensor network
CN103680199A (en) Method and system for accurately advertising in parking spaces of parking lot
CN103531040B (en) Parking Guidance System
CN107945560A (en) A kind of public transport smart electronics stop sign information display control method and system
CN105573295A (en) Stereo garage remote monitoring diagnosis system, and diagnosis method thereof
CN105059066B (en) It is a kind of to drag card and the automatic method and tire pressure background management system to code of headstock
CN109617732A (en) A kind of electric power wireless private network integration mixed networking and integrated management approach
CN206563980U (en) Wisdom building comprehensive management platform
CN204242407U (en) Smart city stopping guide system
CN103680203B (en) Object guidance system nearby in parking lot
CN103680204B (en) There is the parking stall guide of object guiding function
CN205029396U (en) Charge integrated control management system of networking of stake of electric automobile
CN103680198B (en) Parking stall usage frequency assay method and Analytical system thereof in parking lot
CN103390352B (en) A kind of geomagnetic parking stall detector and detection system
CN105575176A (en) Vehicle terminal parking navigation system
CN107682846A (en) A kind of shared terminal management method, device, shared terminal and management system
CN205384756U (en) Automobile -mounted terminal parking navigation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180702

Address after: 215000 601-A030 room, Tiancheng information building, 88 Nantian Cheng Road, Xiangcheng District high speed railway, Suzhou, Jiangsu.

Patentee after: Suzhou love open information technology Co., Ltd.

Address before: 215123 B522 room, South University Graduate School, 150 Ren Yan Road, Suzhou Industrial Park, Jiangsu

Patentee before: Suzhou Yigao Technology Co., Ltd.