CN108922229A - Support the shared shutdown system and shared parking management method of online and offline parking - Google Patents
Support the shared shutdown system and shared parking management method of online and offline parking Download PDFInfo
- Publication number
- CN108922229A CN108922229A CN201810708412.9A CN201810708412A CN108922229A CN 108922229 A CN108922229 A CN 108922229A CN 201810708412 A CN201810708412 A CN 201810708412A CN 108922229 A CN108922229 A CN 108922229A
- Authority
- CN
- China
- Prior art keywords
- parking
- server
- module
- management module
- parking space
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/14—Traffic control systems for road vehicles indicating individual free spaces in parking areas
- G08G1/145—Traffic control systems for road vehicles indicating individual free spaces in parking areas where the indication depends on the parking areas
- G08G1/148—Management of a network of parking areas
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/02—Reservations, e.g. for tickets, services or events
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/14—Traffic control systems for road vehicles indicating individual free spaces in parking areas
- G08G1/141—Traffic control systems for road vehicles indicating individual free spaces in parking areas with means giving the indication of available parking spaces
- G08G1/144—Traffic control systems for road vehicles indicating individual free spaces in parking areas with means giving the indication of available parking spaces on portable or mobile units, e.g. personal digital assistant [PDA]
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/14—Traffic control systems for road vehicles indicating individual free spaces in parking areas
- G08G1/149—Traffic control systems for road vehicles indicating individual free spaces in parking areas coupled to means for restricting the access to the parking space, e.g. authorization, access barriers, indicative lights
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
Landscapes
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Economics (AREA)
- Human Resources & Organizations (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Health & Medical Sciences (AREA)
- Development Economics (AREA)
- Computing Systems (AREA)
- Health & Medical Sciences (AREA)
- Entrepreneurship & Innovation (AREA)
- Medical Informatics (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Traffic Control Systems (AREA)
Abstract
The present invention provides the shared shutdown system and shared parking management method for supporting online and offline parking, and this system includes the technologies such as empty parking space detection technique, semaphore conflict resolution technology, multiserver division, big data segmentation paging system index.Empty parking space detection technique is used for the interaction stage of on-line off-line parking service, acquires parking stall information conveyance to server, while also according to the switch of the instruction control berth lock of server.Semaphore conflict resolution technology is used to solve the conflict of online and offline, avoids the mistake read-write to data in database.This system considers the case where when data volume is excessive, therefore proposes the mode of multiserver, cooperates big data segmentation paging system index technology, can effectively increase the concurrency and operating efficiency of system.By above-mentioned essential core technology, shared system can be made preferably to be applied to actual conditions, effectively increase the concurrency, robustness and high efficiency of system.
Description
Technical field
The invention belongs to intelligent network technologies and resources economy shared service technical field, are related to empty parking space detection, letter
The technologies such as number amount conflict resolution, multiserver divide, the inquiry of big data parking stall, to realize shared parking stall system.On Support Line
With the shared shutdown system and shared parking management method to stop under line.
Background technique
With the increase year by year of China's car ownership, the contradiction between private car and parking stall becomes increasingly conspicuous.In 2008-
In this 8 year in 2015, China's Private Car quantity increases 3.8 times, and the amplification on parking stall lags far behind automobile number
The growth of amount.Instantly, building underground parking and ground multi-layer parking lot becomes the main means for alleviating urban traffic pressure, but
Urban land is more and more expensive, and many cities have all been ans inch of land is an inch of gold, and the need on parking stall are met with a large amount of land resource
Seeking Truth is extremely unpractical.Noise, exhaust emission, energy consumption, the loss of time caused by " parking difficulty, finding great trouble in getting to one's destination on foot " etc. be a series of to ask
Topic has seriously endangered public safety, becomes the great difficult problem of puzzlement urban transportation.The parking lot of most domestic is also located at present
In the original labor management stage, the problem of parking stall service efficiency is low, and parking lot income is low, " parking difficulty ", is worsening.
The operation commercial city of the car owner or parking lot either stopped to needs, which cause, greatly to be perplexed.
With the continuous development of intelligent transportation system, the appearance of " internet+traffic " mode provides in order to solve the above problem
Effective means.More perfect intelligent transportation system is established, shared parking is realized, increases on the basis of existing parking stall ownership
The utilization rate of extra bus position.Since current system is just for online service, increasing to service under line necessarily leads to online and offline
Conflict, presently, there are shared shutdown system all without solving the problems, such as on-line off-line data collision.
Summary of the invention
Aiming at the problems existing in the prior art, the present invention provide support online and offline parking shared shutdown system and
Shared parking management method, provides double car-parking models that online and offline combine, and can avoid the occurrence of different user on line
Between conflict and line on the conflict stopped under parking and line.
The present invention is to be achieved through the following technical solutions:
A kind of shared parking management method for supporting online and offline to stop, parking step includes on line:
(1) on-line checking:Parking user is inquired by client request empty parking space, and server carries out empty parking space inquiry and will
The information inquired is back to client;
(2) it is reserved on line:User of stopping by client sends the solicited message for reserving empty parking space to server, server
By semaphore lock database, parking space state is set to and has been reserved, server sends to parking position management module and locks
Request;Corresponding parking space state is set to parking stall locked state, together by the parking stall numbering of parking position management module acquisition request
When parking stall is locked, parking position management module sends locking and completes signal to server;Server, which receives, completes signal
Afterwards, semaphore unlock operation is carried out;
(3) it parks a car after being reserved on line
After user completes parking stall reservation, user opens automobile into parking lot, and user sends automobile parking and requests to servicing
Device;Server receives request, by semaphore lock database, corresponding parking space state is set to and has been parked, and server is to stopping
Parking lot parking stall management module sends unlocking request;The parking stall numbering of parking position management module acquisition request, by parking space state
It is set to dead ship condition, opens simultaneously berth lock, parking position management module sends parking and completes signal to server;Server
It receives after completing signal, carries out semaphore unlock operation;
(4) it is driven out to automobile
User completes to park cars, and automobile is driven out to parking stall;Parking position management module to empty parking space real-time detection,
When automobile is driven out to empty parking space by user, sensor detects that the parking stall is empty parking space, and the signal that will test is sent to service
Device;Server receives the request that parking position management module is sent and is set to parking space state by semaphore lock database
It can reserve, semaphore unlock;
Parking step includes under line:
(1) it parks a car
User directly stops automobile into parking stall, after parking position management module has detected vehicle, sends parking request
Information is to server;
Server receives the information that parking position management module is sent, by semaphore lock database, according to request
Parking space state is set to parking stall and parked by information, carries out semaphore unlock operation;
(2) it is driven out to automobile
User completes to park cars, and automobile is driven out to parking stall;Parking position management module to empty parking space real-time detection,
When automobile is driven out to empty parking space by user, sensor detects that the parking stall is empty parking space, and the signal that will test is sent to service
Device;Server receives the request that parking position management module is sent and is set to parking space state by semaphore lock database
It can reserve, semaphore unlock.
Preferably, parking specific steps include on line:
(1) on-line checking
Step1. parking user is inquired by client request empty parking space;
Step2. the request that director server processing client is sent, is forwarded to region server according to current user position;
Step3. region server carries out corresponding operating to database, and the information inquired is back to client;
Step4. the data that client is transmitted according to region server show corresponding parking space state on APP;
(2) it is reserved on line
Step1. parking user sends the solicited message for reserving empty parking space to director server by client;
Step2. the request that director server processing client is sent, is forwarded to region server according to current user position;
Step3. region server receives request, by semaphore lock database, parking space state is set to and has been reserved, area
Domain server sends locking request to parking position management module;
Corresponding parking space state is set to locking shape by the Step4. parking stall numbering of parking position management module acquisition request
State, while parking stall being locked, parking position management module sends locking and completes signal to region server;
Step5. after region server receives completion signal, semaphore unlock operation is carried out;
(3) it parks a car after being reserved on line
Step1. after user completes parking stall reservation, user opens automobile into parking lot, and user sends automobile parking request
To director server;
Step2. the request that director server processing client is sent, is forwarded to region server according to current user position;
Step3. region server receives request, will according to the information parked in request by semaphore lock database
Corresponding parking space state, which is set to, have been parked, and region server sends unlocking request to parking position management module;
Parking space state is set to unlocked state, together by the Step4. parking stall numbering of parking position management module acquisition request
When open berth lock, parking position management module sends parking and completes signal to region server;
Step5. after region server receives completion signal, semaphore unlock operation is carried out;
(4) it is driven out to automobile
Step1. user completes to park cars, and automobile is driven out to parking stall;
Step2. parking position management module is to empty parking space real-time detection, the sensing when automobile is driven out to empty parking space by user
Device detects that the parking stall is empty parking space, and the signal that will test is sent to region server;
Step3. region server receives the request that parking position management module is sent, and passes through semaphore locking data
Library, parking space state, which is set to, to be reserved, semaphore unlock;
Parking specific steps include under line:
(1) it parks a car
Step1. user directly stops automobile into parking stall, and after parking position management module has detected vehicle, transmission stops
Vehicle solicited message is to region server;
Step2. region server receives the information that parking position management module is sent, and passes through semaphore locking data
Parking space state is set to parking stall and parked by library according to solicited message, carries out semaphore unlock operation;
(2) it is driven out to automobile
Step1. user completes to park cars, and automobile is driven out to parking stall;
Step2. parking position management module is to empty parking space real-time detection, the sensing when automobile is driven out to empty parking space by user
Device detects that the parking stall is empty parking space, and the signal that will test is sent to region server;
Step3. region server receives the request that parking position management module is sent, and passes through semaphore locking data
Library, parking space state, which is set to, to be reserved, semaphore unlock.
Further, data retrieval, packet are carried out using segmentation paging system indexing means when director server is forwarded to region server
Include segmentation paging system allocated phase, server cloud index generation phase, Lucene accurate search phase:
Step1. segmentation paging system allocated phase;Database is divided into multiple sections, each section manages multiple tables respectively, in every table
The data structure form for needing to store is index value and data;
Step2. server cloud indexes generation phase;Each section of index value is stored in the beginning of the page of every table, in a group of planes
Each computer be each responsible for a part of a page or a page, realize the nesting of segmentation paging system;Record each step rope
The segmentation paging system path drawn, in case the return course of subsequent data directory result;
Step3.Lucene accurate search phase, this stage mainly complete quick lookup and index knot to data in page
The return work of fruit.
A kind of shared shutdown system for supporting online and offline to stop, including the transmission of parking position management module, signal
Module, parking management server module, client modules;
Parking position management module is controlled for acquiring parking stall status information and being sent to parking management server module
The parking stall right to use processed realizes that parking user obtains and the release parking stall right to use;
Parking management server module stores and handles parking position data, the pre- invitation of processing using cloud computing technology
It asks, provides parking management and parking service for parking lot and parking user;
Stopping user can be by client modules from the parking stall in parking management server module real-time acquisition system
Resource simultaneously carries out reservation parking service;
Signal transmission module is used between parking position management module, parking management server module and client modules
Information exchange;
Parking position management module includes berth lock and empty parking space detection module, and empty parking space detection module acquires parking stall letter
Breath is transported to parking management server module, and berth lock is for controlling the parking stall right to use;Parking management server module includes letter
Number amount conflict resolution module, the conflict for solving on line to stop under parking and line on parking and line.
Preferably, empty parking space detection module is laser sensor.
Preferably, parking management server module includes director server module and multiple regions server module, total service
For device module for managing each region server module, region server module provides parking management for the parking lot in corresponding region
Service.
Further, director server module using segmentation paging system cloud index management mode to multiple regions server module into
Row management.
Preferably, system group network is arranged:In underground parking, ZigBee at one is set among every row parking stall and is routed
Device, Roadside Parking field are divided into multiple regions, ZigBee router at each region setting one according to pre-determined distance.
Compared with prior art, the invention has the following beneficial technical effects:
The present invention shares parking management method, while stopping under parking and line on Support Line, as user of stopping on a line
It carries out after being reserved on the line of an empty parking space, server is set to parking stall reservation by semaphore lock database, by parking space state
State, so that user on another line of same time be avoided to reserve the same parking stall, it can avoid using on two lines
Reserve the same parking stall simultaneously in family;Meanwhile corresponding parking space state is set to parking stall locked state by parking position management module,
And parking stall is locked using the berth lock for being connected in cloud, vehicle can be stopped into before parking lot to avoid user on line, be used under line
Vehicle is stopped avoiding at family the conflict stopped on line and stopped under line into the parking stall.
Further, since demand is big, region division is carried out by multiserver mode, realizes the parallel of region,
In the biggish situation of data volume, the problem of can solve data directory inefficiency, and greatly improve system efficiency and
Accuracy realizes service operations integration.
Further, it to increase single server operational efficiency in such a way that segmentation paging system cloud indexes, really realizes shared
Service.
The present invention shares shutdown system and provides double car-parking models that online and offline combine, since current system is
For online service, increases and service the conflict for necessarily leading to online and offline under line, this system is mentioned by empty parking space detection technique
For hardware supported, software support is provided by Semaphore Mechanism, it can be to avoid the conflict of online and offline.The system combining information
Technology, sensor technology, Internet technology, mobile communication technology etc. realize that shutdown system is shared in city, and user is set by movement
Standby log in can inquire road conditions, empty parking space and reach parking site required time and arrive at the destination physical planning route etc.
A series of integrated information services of information reduce waiting time so that citizen be helped to carry out trip planning in advance.
Further, this system is in order to support online and offline parking service to increase empty parking space detection technique, the present invention
The laser sensor technology specifically used is interacted especially by single-chip microcontroller with laser sensor, the WIFI mould of server and monolithic
Block interacts.
Further, in the scene used in this system, amount of user data is big, more demanding to system execution efficiency,
Therefore propose the mode of multiserver, the concurrency of system can be effectively increased.
Detailed description of the invention
Fig. 1 is system integrated stand composition.
Fig. 2 is the flow chart that stops on line.
Fig. 3 is the flow chart that stops under line.
Fig. 4 is system group network layout drawing in underground parking.
Fig. 5 is Roadside Parking field system networking layout drawing.
Fig. 6 is that segmentation paging system indexes flow chart.
Specific embodiment
Below with reference to specific embodiment, the present invention is described in further detail, it is described be explanation of the invention and
It is not to limit.
The design of 1 system architecture
The composition of this system uses " cloud-net-end " three-tier architecture, specifically have berth lock and sensor executed as order and
Information acquisition unit, handheld terminal use unit as parking service, and each parking management server is that parking management cloud platform mentions
For service support, parking management cloud platform externally provides parking management service.This system framework is as shown in Figure 1:
" end " refers to intelligent space lock, empty wagons level detection sensor and hand-held mobile terminal.Intelligent space lock is for acquiring parking stall
Status information simultaneously controls the parking stall right to use, links with empty wagons level detection sensor and realizes that parking user obtains and release parking stall uses
Power.Hand-held mobile terminal is by installing this system parking APP, parking stall resource and other parkings clothes in real-time acquisition system
Business.
" net " includes the wide area network in parking lot between local area network and parking lot and cloud platform, be connection this system " end " and
The data channel of " cloud ".In this system, local area network uses the ZigBee-network of self-organizing, low-power consumption in parking lot, it is ensured that network
Quality reduces cost of arranging net;Wide area network uses WIFI network between parking lot and cloud platform.
" cloud " refers to parking management cloud platform, and each parking position data, processing are stored and handled using cloud computing technology
Predetermined request provides parking management and parking service for parking lot and parking user.
Parking lot and parking user be it is completely isolated, established join by common parking management cloud platform each other
System, parking lot provides parking stall during this process, and user is that parking service obtained pays expense, is consumption between the two
With the relationship consumed.
2 establish database segment page index
The WiFi module of berth lock carry out data transmission to server end and server end to the end APP carry out data biography
When the two defeated stages, the database of server end will be increased, delete, change, looking into four basic operations.However for as this
The server of the such big data type of system, to carry out corresponding data manipulation, efficiency, speed, memory space clearly cannot
Meet user demand.
To solve this contradiction, the invention proposes following solutions:
A kind of big data fast indexing method based on segmentation paging system cloud, including segmentation paging system allocated phase, server cloud
Index generation phase, Lucene accurate search phase:
Step1. segmentation paging system allocated phase need to be completed to configure as follows:
By database according to from different places or other divide table standard to be divided into multiple sections, each section of segment structure is identical.Often
A section manages multiple tables respectively, and the table structure of each segment management is identical, and table quantity is different.
The data structure form for needing to store in every table is:Index value+data.Wherein index value is that server is given birth to automatically
At.
Step2. server cloud indexes generation phase, and main process is as follows:
Due to the irrelevant property between each section and each page, server is easily achieved parallelization data processing.In order to
It realizes big data quick indexing, stores each section of index value in the beginning of the page of every table, this means that this page can be corresponding
Section inquire.
Each computer in a group of planes is each responsible for a part of a page or a page, and which achieves segmentation paging systems
It is nested, it is important to distinguish the standard of segmentation paging.In addition this standard can build table and specially record, when server needs additions and deletions to change
When looking into, this table is loaded first to find corresponding segmentation paging standard.
Whenever there is new data to be inserted into certain one page, a certain in other words section has created a page, server database
It is automatically generated segmentation paging system index value.Generate the method that the technology of index value can use clustered index.Due to the number of segmentation paging system
Big data quantity is divided into compared with toy data base according to storage form, therefore every computer in a group of planes generates the mistake of index
Journey is relatively simple, and it is more satisfactory to directly generate clustered index.
It should be noted that if entire database, which is indexed, to be needed to load 3 times without nesting.It is load for the first time
It is segmented the table of paging standard, finds each standard;Second load is that different sections is loaded from server cloud, and by section
Number find corresponding segment index value;Third time load is inquired using Lucene pages of index, and the data of needs are found.
Further, the segmentation paging system path for recording each step index, in case the return of subsequent data directory result
Journey.
Step3.Lucene accurate search phase, this stage mainly complete quick lookup and index knot to data in page
The return work of fruit.
Full-text index/search function may be implemented in the api interface of Lucene.If to find a certain line number in certain one page
According to can directly inquire the page index value generated in second step and be looked into because index value is sequentially generated according to certain
Workload can be reduced when inquiry, improve search efficiency.It can be directly realized by index function using the api function of Lucene, efficiency is very
It is high.
After finding indexed results, the path for the segmentation paging recorded before, backtracking to server cloud are utilized
?.External APP mobile client can find data required for cloud at this time.
The flow chart of segmentation paging system data directory is as shown in Figure 6.
3 system group networks arrangement
Parking lot is broadly divided into underground parking and two class of Roadside Parking field, and this system internal lan uses ZigBee group
Net according to parking lot physical layout feature, and combines ZigBee-network coverage area and network construction characteristic, respectively for two kinds of parkings
Field carries out network arrangement.
Parking stall multidigit is multiple rows of in underground parking and Column Layout, and often has support column and wall to hide between each row parking stall
Gear.Therefore, underground parking arrangement as shown in figure 4, ZigBee router at one is arranged between in that, in each row, have wall block or certain
Suitably increase router when arranging parking stall length overlength and improves the network information.Finally, respectively the berth lock of row parking stall is routed by each row
The ZigBee coordinator that device access parking management server is linked, to realize networking inside parking management system.
Roadside Parking field parking stall generally along road direction forward or oblique scribing line, Roadside Parking field can on a road
Multiple regions, ZigBee router at each region setting one are divided into according to distance.Finally, berth lock passes through in each region
ZigBee router is connect with the ZigBee coordinator that parking management server is linked, thus by all parking space informations summarize to
Parking management server.Roadside Parking field arrangement is as shown in Figure 5:
4 system deployments.
It is newly-built or increase intelligent bicycle lock and ZigBee local area network on the basis of original managing system of car parking, and by parking lot
Management server accesses parking management cloud platform;Parking management cloud platform is disposed in public network;User installation parking management system hand
Machine APP.
5 workflows
Parking always is divided into four steps and is respectively on-line checking, reserves on line, parks a car, be driven out to automobile on line, stream
Journey figure is as shown in Figure 2.It is respectively to park a car, be driven out to automobile that parking, which is divided into two steps, under line, as shown in figure 3, due to being driven out to
On automobile and line parking, so it will not be repeated.
5.1 on-line checking
Step1. user logs in parking management and uses end, carries out parking stall inquiry.The inquiry of client request empty parking space.Mobile phone
APP sends " parking:Query | position " information to director server.Wherein parking represents parking lot information, query
For inquiry request, position is current user position.
Step2. the request that director server processing client is sent, is forwarded to region server according to position, by area
Domain server handles user's request.
Step3. it is requested according to query, corresponding operating is carried out to database.The information inquired is back to client.
Step4. the data that client is transmitted according to server show corresponding parking space state on APP.
It is reserved on 5.2 lines
Step1. after user completes on-line checking, only have empty parking space that can carry out parking stall reservation in client.It is pre- in user
After about completing parking stall reservation, client sends reserve requests " parking:Order | position " information to director server.Its
Middle parking represents parking lot information, and order is reserve requests, and position is current user position.
Step2. the request that director server processing client is sent, is forwarded to region server according to position, by area
Domain server handles user's request.
Step3. server receives order request, by semaphore lock database, according to order request in information,
Parking space state is set to " place:reserved".Place represents parking stall position, and reserved is to have reserved.Server is to stopping
Parking lot parking stall management module sends locking request.
Parking space state is set to " number by the Step4. parking stall numbering of parking position management module acquisition request:
Lock ", while parking stall being locked.Number is parking stall numbering, and lock is locked state.On parking position management module is sent
Lock completes signal to region server.
Step5. after region server receives completion signal, semaphore unlock operation is carried out.
It parks a car after being reserved on 5.3 lines
Step1. after user completes parking stall reservation, user opens automobile into parking lot, and user carries out parking vehicle on APP
Position request, client send " parking:Stop | position " request to director server.Wherein parking represents parking lot
Information, stop are parking request, and position is current user position.
Step2. the request that director server processing client is sent, is forwarded to region server according to position, by area
Domain server handles user's request.
Step3. region server receives stop request, by semaphore lock database, according to stop request in letter
Breath, is set to " place for parking space state:parked".Place represents parking stall position, and parked representative has been parked, region server
Unlocking request is sent to parking position management module.
Parking space state is set to " number by the Step4. parking stall numbering of parking position management module acquisition request:
Unlock " opens simultaneously berth lock.Number is parking stall numbering, and unlock is parking stall unlocked state.Parking position manages mould
Block sends parking and completes signal to region server.
Step5. after region server receives completion signal, semaphore unlock operation is carried out.
5.4 are driven out to automobile
Step1. user completes to park cars, and automobile is driven out to parking stall.
Step2. empty parking space control module is to empty parking space real-time detection, and when automobile is driven out to empty parking space by user, sensor is examined
Measuring the parking stall is empty parking space, and the signal that will test is sent to region server.Letter is only sent from client to server
Breath just needs to carry out region server switching, since region server directly manages the parking stall of corresponding region, therefore is sent directly to
Region server.
Step3. region server receives the request that parking stall management module is sent, by semaphore lock database, by vehicle
Position state is set to " place:empty".Place represents parking stall position, and empty, which represents the parking stall free time, to be reserved, semaphore unlock.
It directly parks a car under 5.5 lines
It parks a car
Step1. automobile directly is stopped sending information to after empty parking space management module has detected vehicle into parking stall by user
Region server.
Step2. region server receives the information that parking stall management module is sent, by semaphore lock database, according to
Information in stop request, is set to " place for parking space state:parked".Place represents parking stall position, and parked represents vehicle
Position has been parked, and semaphore unlock operation is carried out.
It is driven out to automobile
Step1. user completes to park cars, and automobile is driven out to parking stall.
Step2. empty parking space control module is to empty parking space real-time detection, and when automobile is driven out to empty parking space by user, sensor is examined
Measuring the parking stall is empty parking space, and the signal that will test is sent to region server.
Step3. region server receives the request that parking stall management module is sent, by semaphore lock database, by vehicle
Position state is set to " place:empty".Place represents parking stall position, and empty, which represents the parking stall free time, to be reserved, semaphore unlock.
The present invention shares parking management method, while stopping under parking and line on Support Line, as user of stopping on a line
It carries out after being reserved on the line of an empty parking space, then parking space state is set to parking stall by semaphore lock database by server
Subscription state, so as to avoid user on another line of same time from reserving the same parking stall, it can avoid two
User reserves the same parking stall simultaneously on a line;Meanwhile corresponding parking space state is set to parking stall by parking position management module
Locked state, and parking stall is locked, vehicle can be stopped into before parking lot to avoid user on line, user stops vehicle into this under line
Parking stall avoids the conflict stopped on line and stopped under line.Since demand is big, region is carried out by multiserver mode
Divide, realize the parallel of region, increase single server operational efficiency in such a way that segmentation paging system cloud indexes, data volume compared with
In the case where big, the problem of can solve data directory inefficiency, and the efficiency and accuracy of system are greatly improved, it is real
Show service operations integration, really realizes shared service.
Claims (8)
1. a kind of shared parking management method for supporting online and offline to stop, which is characterized in that parking step includes on line:
(1) on-line checking:Parking user is inquired by client request empty parking space, and server carries out empty parking space inquiry and will inquiry
To information be back to client;
(2) it is reserved on line:Parking user sends the solicited message for reserving empty parking space to server by client, and server passes through
Semaphore lock database, parking space state is set to and has been reserved, and server sends locking request to parking position management module;
Corresponding parking space state is set to parking stall locked state by the parking stall numbering of parking position management module acquisition request, simultaneously will
Parking stall locking, parking position management module send locking and complete signal to server;After server receives completion signal, into
The unlock operation of row semaphore;
(3) it parks a car after being reserved on line
After user completes parking stall reservation, user opens automobile into parking lot, and user sends automobile parking and requests to server;Clothes
Business device receives request, by semaphore lock database, corresponding parking space state is set to and has been parked, server is to parking lot vehicle
Position management module sends unlocking request;The parking stall numbering of parking position management module acquisition request, parking space state is set to and is stopped
Car state, opens simultaneously berth lock, and parking position management module sends parking and completes signal to server;Server receives
After completing signal, semaphore unlock operation is carried out;
(4) it is driven out to automobile
User completes to park cars, and automobile is driven out to parking stall;Parking position management module to empty parking space real-time detection, when with
Sensor detects that the parking stall is empty parking space when automobile is driven out to empty parking space by family, and the signal that will test is sent to server;Clothes
The request that device reception parking position management module of being engaged in is sent, by semaphore lock database, parking space state is set to can be pre-
About, semaphore unlocks;
Parking step includes under line:
(1) it parks a car
User directly stops automobile into parking stall, after parking position management module has detected vehicle, sends parking solicited message
To server;
Server receives the information that parking position management module is sent, by semaphore lock database, according to solicited message,
Parking space state is set to parking stall to have parked, carries out semaphore unlock operation;
(2) it is driven out to automobile
User completes to park cars, and automobile is driven out to parking stall;Parking position management module to empty parking space real-time detection, when with
Sensor detects that the parking stall is empty parking space when automobile is driven out to empty parking space by family, and the signal that will test is sent to server;Clothes
The request that device reception parking position management module of being engaged in is sent, by semaphore lock database, parking space state is set to can be pre-
About, semaphore unlocks.
2. the shared parking management method according to claim 1 for supporting online and offline parking, which is characterized in that on line
Parking specific steps include:
(1) on-line checking
Step1. parking user is inquired by client request empty parking space;
Step2. the request that director server processing client is sent, is forwarded to region server according to current user position;
Step3. region server carries out corresponding operating to database, and the information inquired is back to client;
Step4. the data that client is transmitted according to region server show corresponding parking space state on APP;
(2) it is reserved on line
Step1. parking user sends the solicited message for reserving empty parking space to director server by client;
Step2. the request that director server processing client is sent, is forwarded to region server according to current user position;
Step3. region server receives request, by semaphore lock database, parking space state is set to and has been reserved, region clothes
Business device sends locking request to parking position management module;
Corresponding parking space state is set to locked state by the Step4. parking stall numbering of parking position management module acquisition request,
Parking stall is locked simultaneously, parking position management module sends locking and completes signal to region server;
Step5. after region server receives completion signal, semaphore unlock operation is carried out;
(3) it parks a car after being reserved on line
Step1. after user completes parking stall reservation, user opens automobile into parking lot, and user sends automobile parking and requests to total
Server;
Step2. the request that director server processing client is sent, is forwarded to region server according to current user position;
Step3. region server receives request, will be corresponding according to the information parked in request by semaphore lock database
Parking space state be set to and parked, region server sends unlocking request to parking position management module;
Parking space state is set to unlocked state, beaten simultaneously by the Step4. parking stall numbering of parking position management module acquisition request
Berth lock is opened, parking position management module sends parking and completes signal to region server;
Step5. after region server receives completion signal, semaphore unlock operation is carried out;
(4) it is driven out to automobile
Step1. user completes to park cars, and automobile is driven out to parking stall;
Step2. parking position management module is to empty parking space real-time detection, and when automobile is driven out to empty parking space by user, sensor is examined
Measuring the parking stall is empty parking space, and the signal that will test is sent to region server;
Step3. region server receives the request that parking position management module is sent, will by semaphore lock database
Parking space state, which is set to, to be reserved, semaphore unlock;
Parking specific steps include under line:
(1) it parks a car
Step1. user directly stops automobile into parking stall, after parking position management module has detected vehicle, sends parking and asks
Ask information to region server;
Step2. region server receives the information that parking position management module is sent, and passes through semaphore lock database, root
According to solicited message, parking space state is set to parking stall and has been parked, carries out semaphore unlock operation;
(2) it is driven out to automobile
Step1. user completes to park cars, and automobile is driven out to parking stall;
Step2. parking position management module is to empty parking space real-time detection, and when automobile is driven out to empty parking space by user, sensor is examined
Measuring the parking stall is empty parking space, and the signal that will test is sent to region server;
Step3. region server receives the request that parking position management module is sent, will by semaphore lock database
Parking space state, which is set to, to be reserved, semaphore unlock.
3. the shared parking management method according to claim 2 for supporting online and offline parking, which is characterized in that total clothes
Data retrieval, including segmentation paging system allocated phase, service are carried out using segmentation paging system indexing means when business device is forwarded to region server
Device cloud indexes generation phase, Lucene accurate search phase:
Step1. segmentation paging system allocated phase;Database is divided into multiple sections, each section manages multiple tables respectively, needs in every table
The data structure form of storage is index value and data;
Step2. server cloud indexes generation phase;Each section of index value is stored in the beginning of the page of every table, it is each in a group of planes
A computer is each responsible for a part of a page or a page, realizes the nesting of segmentation paging system;Record each step index
Segmentation paging system path, in case the return course of subsequent data directory result;
Step3.Lucene accurate search phase, this stage mainly complete to search and indexed results the quick of data in page
Return to work.
4. it is a kind of support online and offline stop shared shutdown system, which is characterized in that including parking position management module,
Signal transmission module, parking management server module, client modules;
Parking position management module controls vehicle for acquiring parking stall status information and being sent to parking management server module
The position right to use realizes that parking user obtains and the release parking stall right to use;
Parking management server module stores and handles parking position data, processing reserve requests using cloud computing technology, is
Parking lot and parking user provide parking management and parking service;
Stopping user can be by client modules from the parking stall resource in parking management server module real-time acquisition system
And carry out reservation parking service;
Signal transmission module is for the letter between parking position management module, parking management server module and client modules
Breath interaction;
Parking position management module includes berth lock and empty parking space detection module, and it is defeated that empty parking space detection module acquires parking space information
It is sent to parking management server module, berth lock is for controlling the parking stall right to use;Parking management server module includes semaphore
Conflict resolution module, the conflict for solving on line to stop under parking and line on parking and line.
5. the shared shutdown system according to claim 4 for supporting online and offline parking, which is characterized in that empty parking space inspection
Survey module is laser sensor.
6. the shared shutdown system according to claim 4 for supporting online and offline parking, which is characterized in that parking management
Server module includes director server module and multiple regions server module, and director server module is for managing each regional service
Device module, region server module provide parking management service for the parking lot in corresponding region.
7. the shared shutdown system according to claim 6 for supporting online and offline parking, which is characterized in that director server
Module is managed multiple regions server module using segmentation paging system cloud index management mode.
8. the shared shutdown system according to claim 4 for supporting online and offline parking, which is characterized in that system group network
Arrangement:In underground parking, ZigBee router at one is set among every row parking stall, and Roadside Parking field is according to pre-determined distance
It is divided into multiple regions, ZigBee router at each region setting one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810708412.9A CN108922229A (en) | 2018-07-02 | 2018-07-02 | Support the shared shutdown system and shared parking management method of online and offline parking |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810708412.9A CN108922229A (en) | 2018-07-02 | 2018-07-02 | Support the shared shutdown system and shared parking management method of online and offline parking |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108922229A true CN108922229A (en) | 2018-11-30 |
Family
ID=64424798
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810708412.9A Pending CN108922229A (en) | 2018-07-02 | 2018-07-02 | Support the shared shutdown system and shared parking management method of online and offline parking |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108922229A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101576918A (en) * | 2009-06-19 | 2009-11-11 | 用友软件股份有限公司 | Data buffering system with load balancing function |
CN104809913A (en) * | 2015-05-21 | 2015-07-29 | 重庆云途交通科技有限公司 | Parking management system based on cloud platform and management method thereof |
CN105023463A (en) * | 2015-07-15 | 2015-11-04 | 任文峰 | Intelligent parking stall management system and management method thereof |
CN105575173A (en) * | 2015-12-21 | 2016-05-11 | 应石磊 | Intelligent parking communication system and parking reservation method |
CN106205204A (en) * | 2016-09-12 | 2016-12-07 | 中冶赛迪工程技术股份有限公司 | City-level wisdom parking management system based on big data technique and the Internet |
CN106412923A (en) * | 2015-07-30 | 2017-02-15 | 普天信息技术有限公司 | Conflict avoiding method based on distributed cognitive database, and cognitive database |
CN106683208A (en) * | 2016-11-18 | 2017-05-17 | 安徽超清科技股份有限公司 | Unmanned charge management system and method for parking lot |
CN107577678A (en) * | 2016-06-30 | 2018-01-12 | 华为技术有限公司 | The method of processing data storehouse affairs, client and server |
-
2018
- 2018-07-02 CN CN201810708412.9A patent/CN108922229A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101576918A (en) * | 2009-06-19 | 2009-11-11 | 用友软件股份有限公司 | Data buffering system with load balancing function |
CN104809913A (en) * | 2015-05-21 | 2015-07-29 | 重庆云途交通科技有限公司 | Parking management system based on cloud platform and management method thereof |
CN105023463A (en) * | 2015-07-15 | 2015-11-04 | 任文峰 | Intelligent parking stall management system and management method thereof |
CN106412923A (en) * | 2015-07-30 | 2017-02-15 | 普天信息技术有限公司 | Conflict avoiding method based on distributed cognitive database, and cognitive database |
CN105575173A (en) * | 2015-12-21 | 2016-05-11 | 应石磊 | Intelligent parking communication system and parking reservation method |
CN107577678A (en) * | 2016-06-30 | 2018-01-12 | 华为技术有限公司 | The method of processing data storehouse affairs, client and server |
CN106205204A (en) * | 2016-09-12 | 2016-12-07 | 中冶赛迪工程技术股份有限公司 | City-level wisdom parking management system based on big data technique and the Internet |
CN106683208A (en) * | 2016-11-18 | 2017-05-17 | 安徽超清科技股份有限公司 | Unmanned charge management system and method for parking lot |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105702082B (en) | The method and system of parking stall reservation and parking lot selection are realized based on mobile terminal App | |
CN107341595B (en) | Public service platform for vehicle dynamic information | |
CN108230734A (en) | A kind of outdoor wisdom shutdown system based on V2X communications | |
CN105489057A (en) | Common residential district unoccupied parking space optimized utilization system and method | |
CN204791562U (en) | Parking area vehicle navigation and reverse car system of seeking | |
CN106972954B (en) | A kind of design method of automation of transformation substations equipment wide area O&M framework | |
CN105489060A (en) | Intelligent parking lot system | |
CN205541475U (en) | Intelligent parking lot system | |
CN104616540A (en) | Urban intelligent taxi parking place finding system based on mobile Internet short link communication technology | |
CN103337007A (en) | Cloud platform based smart parking management and service system | |
CN107508888A (en) | A kind of car networking service platform | |
WO2019228400A1 (en) | Data processing system and method | |
CN107240293A (en) | Car method and system are looked in a kind of parking lot | |
CN104809151A (en) | Multi-dimension based traffic heterogeneous data integrating method | |
CN106297368A (en) | Parking lot based on Internet of Things Intelligent vehicle-tracing system | |
CN106205189B (en) | A kind of parking stall shared information service platform | |
CN108922229A (en) | Support the shared shutdown system and shared parking management method of online and offline parking | |
CN108765927A (en) | Management method is parked in a kind of shared bicycle intelligence | |
CN106920149B (en) | Method for supporting multi-party networking ticket business | |
CN206946547U (en) | A kind of Big Dipper carries logistics platform with city without car | |
CN108009659B (en) | Convenient intelligent parking system and working method thereof | |
CN110889975A (en) | Method for hospital parking management | |
CN114141046A (en) | Intelligent parking management system based on cloud platform | |
CN104268196A (en) | Ticket base of ticketing system and updating method thereof | |
CN109727391B (en) | Vehicle leasing system and method based on feature search |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181130 |
|
RJ01 | Rejection of invention patent application after publication |