CN103680197A - Parking lot parking place inquiring method and real-time inquiring system thereof - Google Patents
Parking lot parking place inquiring method and real-time inquiring system thereof Download PDFInfo
- Publication number
- CN103680197A CN103680197A CN201310586527.2A CN201310586527A CN103680197A CN 103680197 A CN103680197 A CN 103680197A CN 201310586527 A CN201310586527 A CN 201310586527A CN 103680197 A CN103680197 A CN 103680197A
- Authority
- CN
- China
- Prior art keywords
- parking stall
- parking
- management server
- webserver
- monitoring device
- 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.)
- Granted
Links
Images
Abstract
The invention discloses a method for a user to inquire the current state of a parking lot parking place. The method comprises the following steps: (1) a user initiates an inquiring request aiming at the current state of the parking places in parking lots to a network server via a terminal device; (2) after the network server receives the inquiring request of the user, the network server monitors state information of the parking places via a parking place management server; after the parking place management server acquires the state information of the parking places in the corresponding parking lots, the corresponding state information is uploaded to the network server; and (3) the network server receives the state information, which is uploaded by the parking place management server, of the parking places in the corresponding parking lots and stores the state information in a local database and transmits the state information of the parking places in the corresponding parking lots to a user terminal device. Real-time state information of the parking places in the parking lots can be provided to the user so that guidance for parking is facilitated for the user, a situation of vehicle congestion in the parking lots is reduced and utilization rate of the parking places in the parking lots is enhanced.
Description
Technical field
The invention belongs to inquiring technology field, Parking position, be specifically related to a kind of Parking position querying method and real time inquiry system thereof.
Background technology
In October, 2010, Chinese automobile recoverable amount breaks through 100,000,000 high pointes first, after living through the rapid growth of blowout formula, the automobile pollution of China has entered the phase of growing steadily, according to China Association for Automobile Manufacturers's publish data on January 11st, 2012, show, China's automobile production and marketing in 2012 breaks through 1,900 ten thousand in pairs, again breaks through record, and speedup has all surpassed 4% and continued to hold a post or title the first in the world.Traffic Administration Bureau of Ministry of Public Security interrelated data shows, China's " motorization " tide continuation propelling in 2011.By the end of the year 2011, national vehicle guaranteeding organic quantity is 2.25 hundred million, and wherein automobile is 1.06 hundred million.Ended for the end of the year 2012, Chinese automobile recoverable amount reaches 1.25 hundred million, and China formally enters auto age.
Huge like this automobile pollution has caused a serious problem, is exactly how vehicle finds suitable parking stall fast in arrival destination.And on the other hand, the construction of city parking related facility relatively lags behind, particularly in the large shopping centre of vehicle flowrate and tourist district, the peak time of parking looks for parking stall difficulty to become puzzlement car owners' a realistic problem.In prior art, car owner drives to look at the scene parking stall, and often efficiency is very low, also easily causes parking lot traffic jam.The present invention therefore.
Summary of the invention
The object of the invention is to provide a kind of user to inquire about the method for Parking position current state, and the method has solved in prior art car owner and inquired about scene, Parking position and be difficult to find parking stall, easily cause the problems such as parking lot traffic jam.
In order to solve these problems of the prior art, technical scheme provided by the invention is:
A kind of user inquires about the method for Parking position current state, it is characterized in that being provided for monitoring on each parking stall, described parking lot the parking stall monitoring device of parking stall seizure condition in parking lot, described parking stall monitoring device is by parking stall management server and webserver communication, and described parking stall management server is transferred to the webserver by the parking space information of parking stall monitoring device monitoring; Described user inquires about by terminal device and webserver communication, said method comprising the steps of:
(1) user initiates the current state inquiry request for parking stall in parking lot by terminal device to the webserver;
(2) webserver receives after this user's inquiry request, and the webserver is intercepted the status information on this parking stall by parking stall management server; Described parking stall management server is uploaded to the webserver by corresponding status information after obtaining the status information on parking stall in corresponding parking lot;
(3) in the corresponding parking lot that described webserver reception parking stall management server is uploaded, the status information on corresponding parking stall, deposits local data base in, and the status information on corresponding parking stall in corresponding parking lot is sent to subscriber terminal equipment.
Preferably, in described method, the status information of the webserver by this parking stall of management server real-time sense, parking stall comprises the following steps:
1) webserver sends the status information request on parking stall in corresponding parking lot to parking stall management server;
2) parking stall management server receives after the status 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 after the status information on parking stall in corresponding parking lot, and corresponding status information is uploaded to parking stall management server.
Preferably, in described method, between the webserver and parking stall management server, also carry out the step of parking stall synchronous refresh, specifically comprise the following steps:
(1) in parking lot on each parking stall parking stall monitoring device by the parking stall shape body communication obtaining every some cycles to parking stall management server;
(2) parking stall management server is transferred to the webserver by network by parking space information;
(3) webserver upgrades parking space information according to parking stall refreshing information, and upgrades corresponding parking space information database.
Preferably, in described method, when vehicle enters parking stall, parking stall monitoring device captures corresponding parking stall and changes, and to parking stall management server, sends parking space state information; It is seizure condition that parking stall management server upgrades local parking space state information, then parking space state information exchange is crossed to Internet Transmission to the webserver; The webserver receives after parking space state information, and parking space state information is carried out to record, and to upgrade parking stall current state be seizure condition.
Preferably, 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; It is idle condition that parking stall management server upgrades local parking space state information, and parking space state information exchange is crossed to Internet Transmission to the webserver; The webserver receives after parking space state information, and parking space state information is carried out to record, and to upgrade parking stall current state be idle condition.
Preferably, all store Parking position layout in described method in vehicle management server and the webserver, on each parking lot, parking stall is corresponding one by one with corresponding parking stall monitoring device.
Preferably, parking stall management server described in described method for monitoring device communication management parking lot, parking stall in parking stall take situation, and by network and webserver communication, receive the instruction that the webserver issues, and parking space information is sent to the webserver; The webserver is for the parking space information with parking stall management server communication reception parking stall management server; Parking stall monitoring device, for monitoring the Parking position bit stealing state of getting on the bus, and sends to parking stall management server by corresponding parking stall state.
Preferably, parking stall monitoring device described in described method comprise microprocessor, for survey parking stall seizure condition ultrasonic detector and for showing the prompting device of parking stall corresponding information, for microprocessor being carried out to the toggle switch of geocoding; Described microprocessor is connected with ultrasonic detector, prompting device, toggle switch respectively.
Another object of the present invention is to provide a kind of Parking position real time inquiry system, it is characterized in that described system comprises:
Subscriber terminal equipment, communicates by letter with the webserver for sending inquiry parking stall instruction;
Parking stall management server, for with monitoring device communication management parking lot, parking stall in parking stall take situation, described parking stall management server, by network and webserver communication, receives the instruction that the webserver issues, and parking space information is sent to the webserver;
The webserver, the parking space information for parking stall management server communication reception parking stall management server, also for receiving 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, for monitoring the Parking position bit stealing state of getting on the bus, 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 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 whether normal; Described relaying opening module is used for opening repeater, and makes repeater 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, send an ergodic data frame to repeater, repeater is forwarded to corresponding parking stall monitoring device by ergodic data frame after resolving;
(2) parking stall monitoring device receives after ergodic data frame, returns to traversal and replys frame to repeater, and repeater is replied frame by traversal again and is transmitted to parking stall management server;
(3) when parking stall management server receives traversal, reply after frame, judge that parking stall management server is normal to the link of corresponding parking stall monitoring device, carries out statistical counting according to the result of judgement to parking stall monitoring device.
Preferably, described relaying opening module is opened repeater in accordance with the following steps:
(1) broadcast data packet of the outside broadcast transmission of parking stall management server;
(2) repeater receives after broadcast data packet, enters polling status;
(3) parking stall monitoring device or the webserver receive after broadcast data packet, directly abandon.
Preferred technical scheme is: described collection parking stall information module carries out collection information in accordance with the following steps:
(1) repeater is when polling status, and parking stall management server sends request of data frame to repeater;
(2) repeater embeds the parking space information array of 16 bytes of storage in return data frame and sends to parking stall management server;
(3) parking stall management server records parking space information array in database, and adds up the parking space information having gathered; After collecting all parking space information, calculate each parking stall residue situation and be reacted on repeater.
Preferred technical scheme is: described repeater is LED parking space guide screen, and described parking stall management server 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 the state on corresponding parking stall and self address information is sent to LED parking space guide screen; Described LED parking space guide screen is provided with guiding user to the display screen of position, parking stall, the status information of connected each parking stall monitoring device of described LED parking space guide screen automatic regular polling, and by latest state information storage, and be presented on display screen; Described parking stall each LED parking space guide screen of management server automatic regular polling, and the latest state information of LED parking space guide screen itself and its child node is submitted in requirement to.
Preferred technical scheme is: described parking stall management server and several LED parking space guide screens connect and compose first order master slave relation, and LED parking space guide screen and several parking stall monitoring devices are connected to form second level master slave relation.
Preferred technical scheme is: described parking stall management server comprises the main frame that is provided with RS-232 interface, described main frame connects RS-232/485 hub by RS-232 interface, and described RS-232/485 hub connects several LED parking space guide screens by RS-485 bus.
Preferred technical scheme is: each LED parking space guide screen connects several parking stall monitoring devices by RS-485 bus.Preferred technical scheme is: described microprocessor adopts single-chip microcomputer MSP430, and described single-chip microcomputer MSP430 drives chip to be connected with LED parking space guide screen by RS-485.
Preferred technical scheme is: described LED parking space guide screen and parking stall management server pass through UART0 interface communication, has high interrupt priority; Described LED parking space guide screen and parking stall monitoring device are by UART1 interface communication, and UART1 is second level interrupt priority level.
Preferred technical scheme is: the mailing address of described parking stall management server is set to 0x0000, and the mailing address of LED parking space guide screen and connected parking stall monitoring device is arranged by dip-switch package.
Preferred technical scheme is: in the mailing address of described LED parking space guide screen, the 2nd byte is 0, the 1 byte and is arranged by dip-switch package; In the mailing address of the parking stall monitoring device connecting with LED parking space guide screen, the 1st byte is identical with LED parking space guide screen, and the 2nd byte is arranged by dip-switch package.
Preferred technical scheme is: described parking stall monitoring device is connected power supply with 220v AC-5V DC Switching Power Supply, is provided with power management chip power supply is managed in the monitoring device of described parking stall.
Preferred technical scheme is: described LED parking space guide screen comprises the STC single-chip microcomputer being connected with display screen, and STC single-chip microcomputer is respectively by RS-485 chip and parking stall management server and parking stall monitoring device communication.Preferred technical scheme is: described STC single-chip microcomputer and parking stall management server pass through UART0 interface communication, has high interrupt priority; Described STC single-chip microcomputer and parking stall management server are by UART1 interface communication, and UART1 is second level interrupt priority level.
Preferred technical scheme is: described LED parking space guide screen is connected power supply with 220v AC-5V DC Switching Power Supply, is provided with power management chip power supply is managed in described LED parking space guide screen.
Preferred technical scheme is: described subscriber terminal equipment is selected from mobile phone, notebook computer, panel computer, phone.In described method, in vehicle management server and the webserver, all store Parking position layout, on each parking lot, parking stall is corresponding one by one with corresponding parking stall monitoring device.Described parking stall management server adopts the mode of poll to obtain Parking position that each parking stall monitoring device the monitors bit stealing state of getting on the bus; And parking stall seizure condition information is sent to the webserver.
Because parking stall monitoring device in technical solution of the present invention is arranged on each parking stall, and corresponding one by one with parking stall, object is that the parking stall management server in parking lot can determine parking bit position by parking stall monitoring device like this, and the situation of understanding timely vehicles while passing parking stall by parking stall monitoring device.
Parking space information refreshes according to certain frequency, and parking stall monitoring device sends to parking stall management server by the parking space information real-time monitoring; Described parking stall management server uploads to the webserver by corresponding information, and the webserver can send according to actual real-time information the real-time status on parking stall in parking lot to subscriber terminal equipment.
With respect to scheme of the prior art, advantage of the present invention is:
Technical solution of the present invention sends to parking stall management server the request of intercepting in real time by the webserver, intercepts the status information on this parking stall by parking stall management server, obtains according to this real-time status information on parking stall in parking lot.This can provide for user the real-time status information on parking stall in parking lot, and convenient guiding user is stopped, and reduces congested with cars situation in parking lot, has also improved the utilization factor on parking stall in parking lot.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the invention will be further described:
Fig. 1 is the system architecture diagram of Parking of the present invention position real time inquiry system;
Fig. 2 is the principle assumption diagram of real time inquiry system parking stall, Parking of the present invention position management server
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.
Embodiment
Below in conjunction with specific embodiment, such scheme is described further.Should be understood that these embodiment are not limited to limit the scope of the invention for the present invention is described.The implementation condition adopting in embodiment can be done further adjustment according to the condition of concrete producer, and not marked implementation condition is generally the condition in normal experiment.
Embodiment
As shown in Figure 1, this Parking position real time inquiry system, comprising:
Subscriber terminal equipment, communicates by letter with the webserver for sending inquiry parking stall instruction;
Parking stall management server, for with monitoring device communication management parking lot, parking stall in parking stall take situation, described parking stall management server, by network and webserver communication, receives the instruction that the webserver issues, and parking space information is sent to the webserver;
The webserver, the parking space information for parking stall management server communication reception parking stall management server, also for receiving 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, for monitoring the Parking position bit stealing state of getting on the bus, and corresponding parking stall state is sent to parking stall management server.
As shown in Figure 2, 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 whether normal; Described relaying opening module is used for opening repeater, and makes repeater 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 repeater is LED parking space guide screen, and each parking stall in parking lot is provided with parking stall monitoring device, and parking stall monitoring device is monitored current parking space information, and is real-time transmitted to parking stall management server.Parking stall management server by all parking space information teletransmissions in this parking lot to the webserver.User can obtain by terminal device the parking stall real-time status information in parking lot, thereby guiding user is stopped.Described terminal device comprises: mobile phone, phone, computer.Parking stall management server can be used as parking stall management server.
When user inquires about Parking position current state, can carry out in accordance with the following steps:
(1) user initiates the current state inquiry request for parking stall in parking lot by terminal device to the webserver;
(2) webserver receives after this user's inquiry request, and the webserver is intercepted the status information on this parking stall by parking stall management server; Described parking stall management server is uploaded to the webserver by corresponding status information after obtaining the status information on parking stall in corresponding parking lot;
(3) in the corresponding parking lot that described webserver reception parking stall management server is uploaded, the status information on corresponding parking stall, deposits local data base in, and the status information on corresponding parking stall in corresponding parking lot is sent to subscriber terminal equipment.
Wherein the webserver comprises the following steps by the status information on this parking stall of management server real-time sense, parking stall:
1) webserver sends the status information request on parking stall in corresponding parking lot to parking stall management server;
2) parking stall management server receives after the status 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 after the status information on parking stall in corresponding parking lot, and corresponding status information is uploaded to parking stall management server.
Between the webserver and parking stall management server, also carry out the step of parking stall synchronous refresh, specifically comprise the following steps:
(1) in parking lot on each parking stall parking stall monitoring device by the parking stall shape body communication obtaining every some cycles to parking stall management server;
(2) parking stall management server is transferred to the webserver by network by parking space information;
(3) webserver upgrades parking space information according to parking stall refreshing information, and upgrades corresponding parking space information database.
When vehicle enters parking stall, parking stall monitoring device captures corresponding parking stall and changes, and to parking stall management server, sends parking space state information; It is seizure condition that parking stall management server upgrades local parking space state information, then parking space state information exchange is crossed to Internet Transmission to the webserver; The webserver receives after parking space state information, and parking space state information is carried out to record, and to upgrade parking stall current state be seizure condition.
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; It is idle condition that parking stall management server upgrades local parking space state information, and parking space state information exchange is crossed to Internet Transmission to the webserver; The webserver receives after parking space state information, and parking space state information is carried out to record, and to upgrade parking stall current state be idle condition.
In vehicle management server and the webserver, all store Parking position layout, on each parking lot, parking stall is corresponding one by one with corresponding parking stall monitoring device.Described parking stall management server for monitoring device communication management parking lot, parking stall in parking stall take situation, and by network and webserver communication, the instruction that the reception webserver issues, and parking space information is sent to the webserver; The webserver is for the parking space information with parking stall management server communication reception parking stall management server; Parking stall monitoring device, for monitoring the Parking position bit stealing state of getting on the bus, and sends to parking stall management server by corresponding parking stall state.
As shown in Figure 3, wherein parking stall management server, repeater and parking stall monitoring device form the parking space management system in parking lot.Parking stall management server is host computer, and each equipment is used 485 buses to carry out chain.Monitoring device You Yi road, parking stall UART, is connected with the UART1 of parent repeater.Parking stall monitoring device has 2 kinds of functions: unloading lot detection, and communicate by letter and process and reply data.
The mailing address of parking stall management server is 0x0000, immutable.
Ergodic process is as follows:
In just operation of system, for the ease of detecting each equipment of whole system, whether all normally work, system is provided with the process of traversal, by parking stall management server, send successively ergodic data frame to all parking stall monitoring devices, if parking stall management server has been received from the ergodic data frame of parking stall monitoring device and has been replied, can determine that so this link communication is normal, otherwise need detection failure problem.Another effect of traversal is to allow trunking repeater statistics administration probe parking stall sum, is 64 to the maximum.
Send a traversal frame process specific as follows:
First by parking stall management server, send traversal frame data to repeater, repeater is forwarded to corresponding parking stall monitoring device by traversal frame data after resolving, parking stall monitoring device is replied traversal frame data to repeater, and repeater is transmitted to parking stall management server by this Frame again.
Unlatching trunking is specific as follows:
After completing traversal, main frame starts to open trunking poll, and approach is to send a broadcast data packet, and broadcast packet can be received by all repeaters that main frame linked, once repeater receives broadcast data packet, just enters polling status.
Collection parking space information is specific as follows:
Parking stall management server only has after opening trunking poll just can collect each parking space state information, by sending to repeater the parking space information array that request of data frame just can obtain 16 bytes.Parking stall management server is recorded in database, and is presented on main interface.After collecting all parking space information, parking stall management server calculates each parking stall residue situation, and is reacted on repeater.
Described parking stall management server is connected with LED parking space guide screen, and each 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 the state on corresponding parking stall and self address information is sent to LED parking space guide screen; Described LED parking space guide screen is provided with guiding user to the display screen of position, parking stall, the status information of connected each parking stall monitoring device of described LED parking space guide screen automatic regular polling, and by latest state information storage, and be presented on display screen; Described parking stall each LED parking space guide screen of management server automatic regular polling, and the latest state information of LED parking space guide screen itself and its child node is submitted in requirement to.
Wherein LED parking space guide screen is used as repeater, adopts 485 buses to connect between parking stall management server, LED parking space guide screen; Between LED parking space guide screen and parking stall monitoring device, also adopt 485 buses to connect, form a tree type half-duplex operation network.Described parking stall management server comprises the main frame that is provided with RS-232 interface, and described main frame connects RS-232/485 hub by RS-232 interface, and described RS-232/485 hub connects several LED parking space guide screens by RS-485 bus.LED parking space guide screen is selected RS-485 repeater.
PC, as main frame, connects 232/485 hub by RS-232 bus and forms parking stall management server.Parking stall management server and each repeater form the 1st grade of MS master-slave relation, and each parking stall monitoring device in the coupled bus of repeater forms the 2nd grade of MS master-slave relation.In system, to be 4 bytes set when dispatching from the factory in the device address of all devices.Mailing address is only 2 bytes, and the mailing address of parking stall management server is defaulted as 0x0000, and the mailing address of repeater and parking stall monitoring device is arranged by dip-switch package.
The frame format definition of network service is as shown in table 1, wherein comprises: start bit, destination address, source address, type, the data segment of fixing 2 bytes, check bit sum stop bit.Start bit is defined as " $ " character, and its numerical value is 0x24; Stop bit 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 bit |
Destination address is the mailing address that frame arrives equipment, and special 0xFFFF is broadcast address.Source address is the mailing address of frame initiating equipment, and source address cannot be set to 0xFFFF.The 2nd byte of repeater communication address is 0, and the 1st byte of parking stall monitoring device mailing address equates with the 1st byte of his father's devices communicating address.Parking stall monitoring device can adopt MSP430 single-chip microcomputer, and itself and LED parking space guide screen drive chip to carry out communication by RS-485.
Wherein the definition of type byte is as shown in table 2:
The definition of table 2 frame type
Instruction | Type byte | Explanation |
ACTIVE | 0x01 | Whether in placely inquire |
READY | 0x81 | Reply in place |
DATAREQ | 0x02 | Request of data |
DATARSP | 0x82 | Data recovery |
CMDREQ | 0x03 | Command request |
CMDRSP | 0x83 | Order is replied |
Check byte adopt verification and method carry out, first all bytes are added, do not comprise start bit and stop bit, then result is punctured into required position long.
Rule of communication is as follows:
(1) parking stall management server leading whole communication process in the parking space management system in parking lot.Parking stall each repeater of management server automatic regular polling, and the status information of repeater itself and its child node is submitted in requirement to.
(2) status information of each parking stall monitoring device in its bus of repeater automatic regular polling, and up-to-date information is stored, in order to parking stall management server queries.
(3) exist the main frame of MS master-slave relation after sending " ACTIVE " instruction, enter reception waiting status, open overtime control simultaneously.If receive wrong information, continue to wait for; If fail at the appointed time to receive the link order " READY " of slave, think that slave is not in place, cancel communication specifically.
(4) exist the main frame of MS master-slave relation to receive after slave link order " READY ", can send " DATAREQ " or " CMDREQ " instruction, and enter accepting state, open overtime control simultaneously.If receive wrong information, continue to wait for; If fail at the appointed time to receive link order " DATARSP " or " CMDRSP " of slave, time-out count device adds 1, and main frame resends instruction; If overtime 3 times, return to error message, cancel communication specifically.
(5) exist after the slave reset of MS master-slave relation, will wait for that main frame sends instruction, and make and replying according to concrete command content.If receive call instruction frame mistake, directly abandon this frame, be left intact.
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, and the comAddr low byte of parking stall monitoring device determined by 8bit toggle switch, and high byte is determined by the parent repeater comAddr that connected with it, if repeater comAddr is 0x0100,0x0200 to 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 comprise microprocessor, for survey parking stall seizure condition ultrasonic detector and for showing the prompting device of parking stall corresponding information, for microprocessor being carried out to the toggle switch of geocoding; Described microprocessor is connected with ultrasonic detector, prompting device, toggle switch respectively.Described microprocessor adopts single-chip microcomputer MSP430, and described single-chip microcomputer MSP430 drives chip to be connected with LED parking space guide screen by RS-485.The workflow of parking stall monitoring device specifically describes as follows:
Wherein parking stall state is divided into 4 kinds: take, idle, other and fault.Parking stall monitoring device refreshes parking stall state 1 time every 1S, enters judgment model judgement parking stall state.If meet in following 2 Rule of judgment, parking stall monitoring device enters judgment model so:
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 is surveyed once every 100MS, surveys altogether 8 times, 8 secondary data are removed a maximal value, remove a minimum value, remain 6 data and average, if meet 1 judgement parking space state of Rule of judgment for taking, parking space state be updated to and taken; Meet Rule of judgment 2, judge that parking space state is idle, parking space state is updated to the free time.
Wherein: parking stall monitoring device setting height(from bottom) H, for reserving in advance, be cured to the FLASH of single-chip microcomputer, 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, the cm of unit.
Parking stall monitoring device is the communication data from UART1 at waiting status reception & disposal, and parking stall monitoring device is passive reception active upload not only.Parking stall monitoring device according to the source address of receiving Frame can judge this frame be directly by repeater, initiated or by main frame, initiated then through repeater, to forward.It is 3 classes altogether that frame type divides: confirm data, order.No matter be request data frame or command frame, before request, must first ask to confirm ACTIVE frame, only have after probe is replied READY frame, main frame or repeater just can request data frame, command frame.Frame is all directly by repeater, to be initiated, and probe receives Frame and just the mailing address of oneself and current parking space state information replied to repeater with the form of 2 bytes.Command frame can only be to be initiated to be forwarded by LED screen by main frame, and probe receives command frame and will carry out corresponding action.Frame type please be checked subordinate list 3 in detail.
Table 3 parking stall is surveyed and is received and reply frame type definition
Note Master: main frame LED:LED parking space guide screen Decoder parking stall monitoring device.
Repeater carries out work according to following process:
(1) repeater is initialized as waiting status, at this state repeater, does communication process, repeater can be directly and main frame communicate, upload and receive data.Repeater possesses routing function simultaneously, once be subject to destination address and be the frame data bag of administered parking stall monitoring device, be so just forwarded to corresponding parking stall monitoring device, if the destination address that parking stall monitoring device is replied is main-machine communication address, repeater is transmitted to main frame by this Frame so.
(2) when the broadcast data frame of receiving from main frame, repeater is just no longer in waiting status so, but enter into polling status, the repeater of polling status starts by UART1, to send request of data frame to each probe, to collect the status information of each parking stall, and the form with 16 bytes is stored in array Parking_Info[16 by it] the inside, the feature of these data is that each byte has represented corresponding 4 parking space information.Such as Parking_Info[0] low 2 just represented that mailing address is the residing parking space information of parking stall monitoring device of navigational panel mailing address+1,00 representative does not have this parking stall monitoring device, 01 represents that this parking stall is occupied, and 02 represents that this parking stall is idle, and 03 represents other definition.The like totally 64, represented maximum 64 parking space information that this repeater is administered.
(3) in polling procedure, receive the Frame from main frame, so according to the priority reserved in advance, repeater is first processed and the communicating by letter of main frame stopping poll.
The parking stall management server in each region all has unique regional number, while communicating by letter between the webserver and parking stall management server, by regional number, identifies.Parking stall management server is periodically uploaded parking stall occupied information to the webserver, and webserver stores the up-to-date parking stall seizure condition of each parking stall management server.
The parking stall monitoring device of installing on each parking stall all has unique device address, and parking stall management server adopts the method for poll, and periodically each parking stall monitoring device of poll monitors to obtain parking stall seizure condition.Wherein, parking space state is specifically divided into 3 kinds: seizure condition, idle condition and other states.
Above-mentioned example is only explanation technical conceive of the present invention and feature, and its object is to allow person skilled in the art can understand content of the present invention and implement according to this, can not limit the scope of the invention with this.All equivalent transformations that Spirit Essence is done according to the present invention or modification, within all should being encompassed in protection scope of the present invention.
Claims (10)
1. a user inquires about the method for Parking position current state, it is characterized in that being provided for monitoring on each parking stall, described parking lot the parking stall monitoring device of parking stall seizure condition in parking lot, described parking stall monitoring device is by parking stall management server and webserver communication, and described parking stall management server is transferred to the webserver by the parking space information of parking stall monitoring device monitoring; Described user inquires about by terminal device and webserver communication, said method comprising the steps of:
(1) user initiates the current state inquiry request for parking stall in parking lot by terminal device to the webserver;
(2) webserver receives after this user's inquiry request, and the webserver is intercepted the status information on this parking stall by parking stall management server; Described parking stall management server is uploaded to the webserver by corresponding status information after obtaining the status information on parking stall in corresponding parking lot;
(3) in the corresponding parking lot that described webserver reception parking stall management server is uploaded, the status information on corresponding parking stall, deposits local data base in, and the status information on corresponding parking stall in corresponding parking lot is sent to subscriber terminal equipment.
2. method according to claim 1, is characterized in that the webserver in described method comprises the following steps by the status information on this parking stall of management server real-time sense, parking stall:
1) webserver sends the status information request on parking stall in corresponding parking lot to parking stall management server;
2) parking stall management server receives after the status 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 after the status information on parking stall in corresponding parking lot, and corresponding status information is uploaded to parking stall management server.
3. method according to claim 1, is characterized in that between the webserver and parking stall management server, also carrying out the step of parking stall synchronous refresh in described method, specifically comprises the following steps:
(1) in parking lot on each parking stall parking stall monitoring device by the parking stall shape body communication obtaining every some cycles to parking stall management server;
(2) parking stall management server is transferred to the webserver by network by parking space information;
(3) webserver upgrades parking space information according to parking stall refreshing information, and upgrades corresponding parking space information database.
4. method according to claim 1, is characterized in that in described method that, when vehicle enters parking stall, parking stall monitoring device captures corresponding parking stall and changes, and to parking stall management server, sends parking space state information; It is seizure condition that parking stall management server upgrades local parking space state information, then parking space state information exchange is crossed to Internet Transmission to the webserver; The webserver receives after parking space state information, and parking space state information is carried out to record, and to upgrade parking stall current state be seizure condition.
5. method according to claim 1, is characterized in that in described method that, 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; It is idle condition that parking stall management server upgrades local parking space state information, and parking space state information exchange is crossed to Internet Transmission to the webserver; The webserver receives after parking space state information, and parking space state information is carried out to record, and to upgrade parking stall current state be idle condition.
6. method according to claim 1, is characterized in that in vehicle management server and the webserver, all storing Parking position layout in described method, and on each parking lot, parking stall is corresponding one by one with corresponding parking stall monitoring device.
7. a Parking position real time inquiry system, is characterized in that described system comprises:
Subscriber terminal equipment, communicates by letter with the webserver for sending inquiry parking stall instruction;
Parking stall management server, for with monitoring device communication management parking lot, parking stall in parking stall take situation, described parking stall management server, by network and webserver communication, receives the instruction that the webserver issues, and parking space information is sent to the webserver;
The webserver, the parking space information for parking stall management server communication reception parking stall management server, also for receiving 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, for monitoring the Parking position bit stealing state of getting on the bus, and corresponding parking stall state is sent to parking stall management server.
8. Parking according to claim 7 position real time inquiry system, it is characterized in that, 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 whether normal; Described relaying opening module is used for opening repeater, and makes repeater 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
9. Parking according to claim 8 position real time inquiry system, is characterized in that described spider module travels through in accordance with the following steps:
(1) by parking stall management server, send an ergodic data frame to repeater, repeater is forwarded to corresponding parking stall monitoring device by ergodic data frame after resolving;
(2) parking stall monitoring device receives after ergodic data frame, returns to traversal and replys frame to repeater, and repeater is replied frame by traversal again and is transmitted to parking stall management server;
(3) when parking stall management server receives traversal, reply after frame, judge that parking stall management server is normal to the link of corresponding parking stall monitoring device, carries out statistical counting according to the result of judgement to parking stall monitoring device.
10. Parking according to claim 8 position real time inquiry system, is characterized in that described relaying opening module opens repeater in accordance with the following steps:
(1) broadcast data packet of the outside broadcast transmission of parking stall management server;
(2) repeater receives after broadcast data packet, enters polling status;
(3) parking stall monitoring device or the webserver receive after broadcast data packet, directly abandon.
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 true CN103680197A (en) | 2014-03-26 |
CN103680197B 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) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104732794A (en) * | 2015-03-03 | 2015-06-24 | 西安全星智能电子有限责任公司 | Reverse car locating method and system |
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 |
CN107209990A (en) * | 2014-11-25 | 2017-09-26 | 金雅拓股份有限公司 | Method for managing the parking stall on Communal Road |
CN110012534A (en) * | 2019-02-18 | 2019-07-12 | 生迪智慧科技有限公司 | Equipment state synchronous method, device, equipment and computer readable storage medium |
CN110689732A (en) * | 2019-10-28 | 2020-01-14 | 浙江工业大学 | Low-cost parking area information sharing system based on loRa communication technology |
CN110827574A (en) * | 2019-11-13 | 2020-02-21 | 苏州泊讯物联网技术有限公司 | 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 |
CN112399465A (en) * | 2019-08-16 | 2021-02-23 | 华为技术有限公司 | Indication method and device for state of antenna panel |
Citations (6)
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 |
CN102542840A (en) * | 2011-11-18 | 2012-07-04 | 厦门市鼎朔信息技术有限公司 | System and method for controlling traffic flow by controlling quantity of available parking spaces |
CN102789697A (en) * | 2012-08-13 | 2012-11-21 | 天津瀚旺数据系统集成有限公司 | Garage navigation system |
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 |
-
2013
- 2013-11-20 CN CN201310586527.2A patent/CN103680197B/en active Active
Patent Citations (6)
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 |
CN102542840A (en) * | 2011-11-18 | 2012-07-04 | 厦门市鼎朔信息技术有限公司 | System and method for controlling traffic flow by controlling quantity of available parking spaces |
CN102789697A (en) * | 2012-08-13 | 2012-11-21 | 天津瀚旺数据系统集成有限公司 | Garage navigation system |
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 |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107209990A (en) * | 2014-11-25 | 2017-09-26 | 金雅拓股份有限公司 | Method for managing the parking stall on Communal Road |
CN104732794A (en) * | 2015-03-03 | 2015-06-24 | 西安全星智能电子有限责任公司 | Reverse car locating method and system |
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 |
CN112399465A (en) * | 2019-08-16 | 2021-02-23 | 华为技术有限公司 | Indication method and device for state of antenna panel |
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 |
CN110827574A (en) * | 2019-11-13 | 2020-02-21 | 苏州泊讯物联网技术有限公司 | Parking space detection system and method and intelligent parking platform |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN103680197B (en) | 2016-09-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103680197A (en) | Parking lot parking place inquiring method and real-time inquiring 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 | |
CN101835315B (en) | Remote management system for LED street lamp | |
CN103680194B (en) | Parking stall subscription system with parking stall management function of parking lot | |
CN101734265B (en) | Method and device for monitoring state of embedded vehicle-mounted signal device | |
CN102930742B (en) | Circuit structure of ultrasonic parking place detector | |
CN103531040B (en) | Parking Guidance System | |
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 | |
CN102081807A (en) | Parking management system for parking lot and parking guiding method | |
CN105407168B (en) | A kind of electric automobile charging pile remote intelligent control system | |
CN101697223A (en) | Passenger flow management system for comprehensive transportation hub | |
CN103441911B (en) | Based on the intelligent parking management method of snmp protocol, intelligent parking system and gateway | |
CN101354577A (en) | Solar power station remote wireless monitoring method | |
CN109617732A (en) | A kind of electric power wireless private network integration mixed networking and integrated management approach | |
CN105573295A (en) | Stereo garage remote monitoring diagnosis system, and diagnosis method thereof | |
CN103680203B (en) | Object guidance system nearby in parking lot | |
CN103544849A (en) | Parking lot stall management system | |
CN104954435A (en) | ZigBee and Web GIS integrated city bus operation monitoring system | |
CN103680198B (en) | Parking stall usage frequency assay method and Analytical system thereof in parking lot | |
CN103680204B (en) | There is the parking stall guide of object guiding function | |
CN105865494A (en) | Method and system for pushing cost information of multi-split air conditioner | |
CN205029396U (en) | Charge integrated control management system of networking of stake of electric automobile | |
CN103578290A (en) | System and method for real-time statistics of vehicle parking |
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. |