Summary of the invention
The vehicles while passing system based on bluetooth recognition that it is an object of that present invention to provide a kind of, system solves the problem the prior arts
In the specific parking area such as existing cell, unit can not carry out efficient parking management, can not the method based on Internet of Things it is flexible
Control the technical problems such as vehicles while passing.
In order to solve these problems in the prior art, present invention provide the technical scheme that
A kind of vehicles while passing system based on bluetooth recognition, it is characterised in that the system comprises:
Server, which is stored with limits with vehicle ring authorization message, banister information and the banister of the binding of user's vehicle
The vehicles while passing in region records, and for carrying out vehicle ring empowerment management and communicating with banister, sends banister limited area to banister
The white list that interior vehicle freely enters and leaves;
Che Huan, the vehicle ring group are communicated in Bluetooth protocol and banister, are used for radio diffusion van ring authorization message, are opened to banister request
Open banister;
Banister, the banister receives the vehicle ring authorization message of the white list that server is sent and the broadcast of vehicle ring, according to white name
It is determined whether to enable banisters, and corresponding vehicle to be allowed to pass in and out banister limited area for single or itself storage vehicle ring authorization message, and will
The record information of corresponding vehicle disengaging banister limited area is sent to server.
Preferred technical solution is: the vehicle ring includes for detecting the three-axis sensor of user's car speed, for root
Vehicle-state is judged according to car speed, sends the first micro process of broadcasting instructions to the first bluetooth transceiver according to vehicle-state
Device, for according to the first bluetooth transceiver of the command broadcast vehicle ring authorization message of first microprocessor, give all parts to provide
First power supply of electric power and the first information warning light that flash for prompting is carried out according to the instruction of first microprocessor.
Preferred technical solution is: the banister includes for limiting the limitation bar of vehicles while passing banister limited area, using
According to the order-driven of the second microprocessor limit bar opening and closing driving device, the white list for being sent according to server and
Vehicle ring authorization message judges whether to open and close banister, and sends the second microprocessor of driving instruction to driving device, is used for and vehicle
Ring carry out communication receive the second bluetooth transceiver of vehicle ring authorization message, the wireless transceiver for being communicated with server and
The second source of electric power is provided to all parts.
Preferred technical solution is: the banister further includes that flash for prompting is carried out according to the instruction of the second microprocessor
Two information alert lamps and memory for storing white list and vehicle ring authorization message;Second bluetooth transceiver receives vehicle
After ring authorization message, vehicle ring authorization message is stored in memory;After the wireless transceiver receives the information of server, it will take
The information that device is sent of being engaged in is stored in memory.
Preferred technical solution is: the system also includes intelligent movable equipment, the intelligent movable equipment be selected from mobile phone,
PDA, tablet computer, pocket personal computers, tablet PC, GPS, e-book, laptop, computer, TV or intelligence
TV.
Preferred technical solution is: agreement of the Intelligent mobile equipment based on bluetooth 4.0 is communicated with vehicle ring, is used for
Vehicle ring id information is obtained, and vehicle ring id information is sent to server;The server is carried out according to the vehicle ring id information of acquisition
The vehicle ring ID of authorization and authorization ID are added white list, and authorization ID and vehicle ring id information are sent to intelligent sliding by vehicle ring authorization
Dynamic equipment.
Preferred technical solution is: after the Intelligent mobile equipment gets authorization ID and vehicle ring id information, the vehicle ring
It communicates, obtain authorization ID and vehicle ring id information and is bound with Intelligent mobile equipment;Each vehicle ring is only capable of saving a binding
Record, the binding record include authorization ID and vehicle ring ID;After Che Huanyu corresponding with vehicle ring ID specifically authorizes ID to bind,
Before unbinding with the vehicle ring, the bind request of other vehicle rings is no longer responded.
Preferred technical solution is: the vehicle ring passes through the first bluetooth transceiver to Intelligent mobile equipment radio diffusion van ring ID;
After user's Intelligent mobile equipment obtains vehicle ring ID, vehicle ring id information is sent to server;When user's Intelligent mobile equipment obtains
After vehicle ring ID and authorization id information that server is sent, ID to vehicle ring Bluetooth broadcast vehicle ring ID and is authorized by Intelligent mobile equipment
Information.
Preferred technical solution is: after the server receives vehicle ring id information, if server judgement does not license to
The vehicle ring of corresponding vehicle ring ID, then be added blacklist for the vehicle ring ID of unauthorized.
Preferred technical solution is: when vehicle is in halted state, vehicle ring is broadcasted outward by the first bluetooth transceiver
Vehicle ring ID and authorization id information;When banister receive vehicle ring ID and authorization id information, according to itself storage whitelisted content or
Person and server carry out the vehicle ring authorization message of the corresponding vehicle ring ID of communication acquisition, and it is determined whether to enable banisters to allow corresponding vehicle ring
Vehicle pass-through.
Preferred technical solution is: including vehicle ring ID and authorization ID when user is sent by Intelligent mobile equipment to server
Unbundlings information, after server receives unbundlings information, corresponding vehicle ring ID and authorization ID are deleted from white list, and to intelligence
Mobile device push unbundlings result notice;After the Intelligent mobile equipment obtains unbundlings result notice, pass through bluetooth and Che Huantong
Letter deletes vehicle ring ID and the binding of ID is authorized to record.
Scheme in compared with the existing technology, the invention has the advantages that
Technical solution of the present invention is bound using bluetooth vehicle ring substitution card or chip with automobile, and banister can be known automatically
Not Bei Shouquan automobile free in and out related places.It has the following characteristics that
1) vehicle ring has uniqueness:
Each vehicle ring is unique, once bound with automobile, then can not manual contact, unless the pressure that uses force is torn open
It removes.But once remove, vehicle ring does not work at once.Vehicle ring and the one-to-one relationship of automobile are thus accomplished;
2) Internet of Things thought is used:
Road brake system directly passes through internet and is connected with Cloud Server.Any unit or cell do not need setting host,
As long as directly being managed by computer;
3) authorization function is provided:
If someone wants to visit certain unit personnel or cell owner.It can answering by Intelligent mobile equipment by visit people
Visit people is licensed to program transmission.Visit people is sent to authorization message by the application program of the Intelligent mobile equipment of oneself
Che Huanhou, so that it may be directly entered, the intervention without entrance guard or security personnel;
4) powerful back-stage management function is provided:
Server administrators are able to enter the white list of vehicle by increase/editor/deletion that network can be convenient, and
The period that can be freed in and out is set.The vehicles while passing record of inquiry certain day or the in and out records of certain automobile can also be facilitated.Very
Can extremely check whose authorization disengaging certain vehicle is by;
5) automatic managing parking region can accommodate vehicle:
If there are 100 parking stalls in administrator setting parking area, and there are 100 vehicles to enter, that is subsequent
Even vehicle, in white list, banister will not play bar.Only the inside has vehicle to go out, and system can just let pass;
6) value-added service is provided:
Car owner can check the vehicle number that some place can also accommodate at present by application program of mobile phone.If do not had
There is parking stall, he can consider to call a taxi or change a period after going.
Embodiment
As shown in Figure 1, the vehicles while passing system based on bluetooth recognition of being somebody's turn to do, comprising:
Server, which is stored with limits with vehicle ring authorization message, banister information and the banister of the binding of user's vehicle
The vehicles while passing in region records, and for carrying out vehicle ring empowerment management and communicating with banister, sends banister limited area to banister
The white list that interior vehicle freely enters and leaves;
Che Huan, the vehicle ring group are communicated in Bluetooth protocol and banister, are used for radio diffusion van ring authorization message, are opened to banister request
Open banister;
Banister, the banister receives the vehicle ring authorization message of the white list that server is sent and the broadcast of vehicle ring, according to white name
It is determined whether to enable banisters, and corresponding vehicle to be allowed to pass in and out banister limited area for single or itself storage vehicle ring authorization message, and will
The record information of corresponding vehicle disengaging banister limited area is sent to server;
Intelligent movable equipment, the intelligent movable equipment are communicated with vehicle ring, server respectively, on the server for vehicle ring
Authorization.
Wherein agreement of the Intelligent mobile equipment based on bluetooth 4.0 is communicated with vehicle ring, for obtaining vehicle ring ID letter
Breath, and vehicle ring id information is sent to server;The server carries out the authorization of vehicle ring according to the vehicle ring id information of acquisition, will award
White list is added in the vehicle ring ID and authorization ID of power, and authorization ID and vehicle ring id information are sent to Intelligent mobile equipment.
After Intelligent mobile equipment gets authorization ID and vehicle ring id information, the Che Huanyu Intelligent mobile equipment communication is obtained
It takes authorization ID and vehicle ring id information and is bound;Each vehicle ring is only capable of saving a binding record, and the binding record includes
Authorize ID and vehicle ring ID;After Che Huanyu corresponding with vehicle ring ID specifically authorizes ID to bind, before being unbinded with the vehicle ring,
He no longer responds the bind request of vehicle ring.
After the server receives vehicle ring id information, if server determines the vehicle ring for not licensing to corresponding vehicle ring ID,
Blacklist then is added in the vehicle ring ID of unauthorized.
When vehicle is in halted state, vehicle ring passes through the outside radio diffusion van ring ID of the first bluetooth transceiver and authorization ID letter
Breath;When banister receives vehicle ring ID and authorization id information, led to according to the whitelisted content of itself storage or with server
News obtain the vehicle ring authorization message of corresponding vehicle ring ID, and it is determined whether to enable the vehicle pass-throughs that banister allows corresponding vehicle ring.
It include vehicle ring ID and the unbundlings information for authorizing ID, server when user is sent by Intelligent mobile equipment to server
After receiving unbundlings information, corresponding vehicle ring ID and authorization ID are deleted from white list, and push and unbind to Intelligent mobile equipment
Result notice;It after the Intelligent mobile equipment obtains unbundlings result notice, is communicated by bluetooth with vehicle ring, deletes vehicle ring ID and award
Weigh the binding record of ID.
Vehicle ring includes for detecting the three-axis sensor of user's car speed, for judging vehicle shape according to car speed
State sends the first microprocessor of broadcasting instructions, for according to the first micro process to the first bluetooth transceiver according to vehicle-state
First bluetooth transceiver of the command broadcast vehicle ring authorization message of device provides the first power supply of electric power to all parts and according to the
The instruction of one microprocessor carries out the first information warning light of flash for prompting.The vehicle ring passes through the first bluetooth transceiver to intelligence
Mobile device radio diffusion van ring ID;After user's Intelligent mobile equipment obtains vehicle ring ID, vehicle ring id information is sent to server;When with
After family Intelligent mobile equipment obtains the vehicle ring ID that server is sent and authorization id information, by Intelligent mobile equipment to vehicle ring bluetooth
Radio diffusion van ring ID and authorization id information.
Each vehicle ring is unique, once binding with automobile, then can not be removed manually, unless the pressure that uses force is torn open
It removes.But once remove, vehicle ring does not work immediately.Thus accomplish that vehicle ring and automobile determine relationship correspondingly.
The process that vehicle ring is bound is to carry out in accordance with the following steps:
1) vehicle ring Bluetooth broadcast vehicle ring id information;
2) a certain user obtains vehicle ring id information by Intelligent mobile equipment A, sends authorization requests (including vehicle to server
The user information of ring ID and Intelligent mobile equipment A);
3) after server receives authorization requests, user information is verified, id information will be authorized to be pushed to intelligence according to verification result
It can mobile device A;And server is sent to banister, road authorization id information or by the white list with updated authorization ID
Lock saves authorization id information or white list;
4) after Intelligent mobile equipment A receives authorization id information, vehicle ring id information and authorization ID are believed by Bluetooth broadcast
Breath is sent to vehicle ring;
5) vehicle environmental protection bicycle parking ring id information and authorization id information, realize vehicle ring id information and authorize the binding of id information, lead to
It crosses bluetooth and broadcasts binding information outward.
The process that vehicle ring is unbinded is to carry out in accordance with the following steps:
1) vehicle ring Bluetooth broadcast binding information (such as vehicle ring id information and authorization id information);
2) a certain user obtains binding information by Intelligent mobile equipment A, sends unbundlings request (including vehicle ring to server
ID, the user information for authorizing id information and Intelligent mobile equipment A);
3) after server receives unbundlings request, user information is verified, intelligence is pushed to for result is unbinded according to verification result
Mobile device A;And server unbundlings result or will have updated white list to be sent to banister, banister saves unbundlings letter
Cease result or white list;
4) after Intelligent mobile equipment A receives unbundlings information, vehicle ring is sent to for information is unbinded by Bluetooth broadcast;
5) it after vehicle ring gets unbundlings information, removes vehicle ring id information and authorizes the binding of id information, it is outside by bluetooth
Radio diffusion van ring id information.
Intelligent mobile equipment A does not have operating right to vehicle ring;Intelligent mobile equipment B has operating right to vehicle ring.If existing
Operation vehicle ring is wanted in Intelligent mobile equipment A, is then passed through server and is requested to authorize to Intelligent mobile equipment B.Intelligent mobile is set
After standby B receives the request of Intelligent mobile equipment A, Intelligent mobile equipment A can operate vehicle ring.
Assuming that vehicle ring has caching can be with local cache authorization message: i.e. this hardware device of vehicle ring has specific memory to set
Standby (memory), the authorization message that can save server transmission (can store by way of storing white list or directly
Authorization message record).It can carry out in accordance with the following steps authorization conversion process:
1) Intelligent mobile equipment that a certain user passes through the Intelligent mobile equipment A(Che Huanfang for needing to authorize) it is sent out to server
Send authorization requests;
2) after server receives authorization requests, push authorization requests give Intelligent mobile equipment B(authorized Che Huanfang
Intelligent mobile equipment);
3) another user receives authorization requests by Intelligent mobile equipment B;
4) server receive Intelligent mobile equipment B receive result after, server push Intelligent mobile equipment B receives request
Result and authorization id information give Intelligent mobile equipment A;
5) Intelligent mobile equipment A will authorize id information to be sent to the vehicle ring for needing to authorize, and the vehicle environmental protection for needing to authorize, which is deposited, awards
Weigh information.
Vehicle ring can not cache authorization message, as vehicle ring does not have specific memory device to save the authorization letter that server is sent
Breath, the vehicle ring id information that each banister receives the broadcast of vehicle ring require whether server-side confirmation user has operating right.Such as
Fruit vehicle ring has caching can be with local cache authorization message: i.e. this hardware device of vehicle ring has the (storage of specific memory device
Device), the authorization message of server transmission can be saved.
Vehicle ring obtains the speed of vehicle by three-axis sensor, if detecting that vehicle stops, judging that vehicle is in quiet
Only state;If detecting that vehicle has certain speed, judge that vehicle is kept in motion.When vehicle remains static
When, then vehicle ring stops bluetooth transmission.When vehicle is kept in motion, then vehicle ring is every the blue-teeth data of transmission in 1 second.Such as figure
Shown in 2, for the work flow diagram of bluetooth vehicle ring in the vehicles while passing system based on bluetooth recognition.Detailed process is as follows:
1) vehicle loop system is initially powered up starting;
2) vehicle ring clock, peripheral port and vehicle ring system initialization, LED light flash three times, expression initialized
At;
3) three-axis sensor of vehicle ring starts to detect the speed of vehicle, if it is determined that the speed of vehicle is zero, then adds up inspection
The time for being in halted state is surveyed, if the time in halted state is greater than 10s, starts suspend mode, opens in outside
It is disconnected;Carry out step 5);
4) if the three-axis sensor of vehicle ring detects halted state or if is less than in time of halted state
10s, then bluetooth vehicle ring broadcasts primary information, and LED light flashing is primary;Carry out step 6);
5) speed of the three-axis sensor detection automobile of vehicle ring, if the speed of automobile is not zero, i.e., three-axis sensor is examined
Interrupting movement signal is measured, then the system of vehicle ring is waken up, and into normal operating conditions, closes external interrupt;Otherwise, continue to stop
It sleeps;
6) suspend mode 1s, the system for waking up vehicle ring close external interrupt into normal operating conditions;
7) according to 3)~6) circulation, until vehicle power-off terminates.
The banister includes for limiting the limitation bar of vehicles while passing banister limited area, for according to the second microprocessor
Order-driven limitation bar opening and closing driving device, the white list for being sent according to server and vehicle ring authorization message judgement be
No opening and closing banister, and the second microprocessor of driving instruction is sent, for carrying out communication reception vehicle ring with vehicle ring to driving device
Second bluetooth transceiver of authorization message, the wireless transceiver for being communicated with server and all parts is given to provide electric power
Second source, according to the second microprocessor instruction carry out flash for prompting the second information alert lamp and for storing white list
With the memory of vehicle ring authorization message;After second bluetooth transceiver receives vehicle ring authorization message, by vehicle ring authorization message
It is stored in memory;After the wireless transceiver receives the information of server, the information that server is sent is stored in memory.
The communication of Che Huanyu banister, which carries out the process that banister is turned on or off, to be carried out in accordance with the following steps:
1) vehicle ring passes through Bluetooth broadcast solicited message (such as authorization id information and vehicle ring id information);
2) after banister receives solicited message, banister is inquired relevant to solicited message in the white list of storage inside
Authorize ID and vehicle ring id information;
If 3) do not find associated authorization ID and vehicle ring id information in white list, banister does not make any reaction;Otherwise
Banister opens limitation bar (allowing vehicle to pass through as increased gag lever post), and at this moment user's vehicle can arbitrarily pass in and out banister and limit area
Domain.
Vehicle sensor has can be set in banister, and when vehicle crosses, banister is closed limitation bar and (forbidden as reduced gag lever post
Vehicle passes through).The function of banister includes: 1, connection server, downloads white list;2, bluetooth vehicle ring is detected;3, judge bluetooth vehicle
Whether ring is legal;4, rising and falling for banister is controlled, vehicles while passing is made;5, information of vehicles is sent to server.Its functional flow diagram is such as
Shown in Fig. 3, for the work flow diagram of bluetooth banister in the vehicles while passing system based on bluetooth recognition.Detailed process is as follows:
1) road brake system is initially powered up starting;
2) road brake system, port and GPRS module initialization, initialization terminate;
3) information that banister starts to detect vehicle ring carries out step 4) if detecting vehicle ring information;Otherwise continue step
3) it recycles;
4) banister judges whether vehicle ring is legal vehicle ring;If the legal vehicle ring of Che Huanwei, banister unlatching is controlled, banister
LED light carries out flash for prompting, and the information of vehicles while passing is sent to server;Otherwise, banister does not have any reaction;
5) banister wireless transceiver (GPRS module) sends to server and requests, and obtains the vehicle ring white list of server end;
Judge whether vehicle ring is legal vehicle ring by the vehicle ring authority record of vehicle ring white list or banister memory;
6) according to 3)~5) circulation, until terminating.
The intelligent movable equipment is selected from mobile phone, PDA, tablet computer, pocket personal computers, tablet PC, GPS, electricity
Philosophical works nationality, laptop, computer, TV or smart television.The main function of Intelligent mobile equipment is to provide the authorization of vehicle ring
Certification.The mode taken is usually to formulate corresponding application program.Application program, ios system such as Android system exploitation
Application program, the application program of windows phone system development of system exploitation.User can be by pacifying on Intelligent mobile equipment
These application programs of dress authorize vehicle ring.
User first is by needing these application programs to register on the server, such as the process of user's registration can be with
Be: user's input handset number, after clicking " obtaining registration code " button, server can send registration code short message.Registration code is inputted,
After password and confirmation password, so that it may register account number.Using phone number as account, a phone number can only register one
It is secondary.The uniqueness of user can be determined in this way.After user's registration, user's input handset number and password are logged in.
, can be with input handset number if user forgets Password, after clicking " obtaining identifying code " button, it is short that server can send identifying code
Letter.Identifying code is inputted, server can be sent on resetting password short message to mobile phone.
User can be increased by application program, be edited, and vehicle is deleted.Information of vehicles includes license plate, brand, model, face
Color etc..One user can possess more vehicles.There is one wherein to default vehicle.
When, user presses the button got off on ring, the continuous vehicle ring of transmission in 5 seconds of vehicle ring at the binding vehicle ring interface of application program
ID.After the application program of Intelligent mobile equipment obtains vehicle ring ID, vehicle ring ID, license plate number are sent to server-side and are bound.This
One vehicle ring of sample can only bind a vehicle.
It, can be vehicle ring with the unbinding relationship of license plate if vehicle ring is broken.User can also pass through application program.Such as
User can search unit or cell by inputting keyword, check still remaining vacant parking stall in this parking area.Such as such as
The license plate number of fruit vehicle is added into the white list of some unit or cell, becomes in the application program of car owner and can be appreciated which ground
Side oneself is allowed to pass in and out, the period including free entry and exit.Car owner can carry out remarks to these places, and set and certain be
General regions.
User is sent by binding and unbundlings and licenses to other people.Assuming that user A wants the family visitor of user B
B, but user A is not the owner of user's B cell.User B can by application program of mobile phone, input user A cell-phone number (or
Person is according to obtaining phone number after name look-up address list), select A vehicle (if there is more vehicles under user's A account, default
The default vehicle of user A can be chosen), the place for selecting authorized user A that can enter --- (the user B binding of cell where user B
The vehicle of vehicle ring may have several places that can free in and out), after authorization message is arranged, user A just will receive user B hair
The authorization sent.As shown in Figure 4 and Figure 5.Fig. 4 is the situation that banister has caching.And Fig. 5 is the situation that banister does not cache.
Authorization message includes authorization number and authorization validity period.It is unlimited multiple if authorization number is not set.Authorization has
The effect phase is defaulted as 1 day, up to 1 year.User can be checked by application program, modify the information for oneself licensing to other people,
It can also check the information that oneself is licensed to by people.After user receives authorization message, " setting authorization message " button, application are clicked
Program can be sent to authorization message on vehicle ring.Vehicle ring can only save an authorized information.User might have multiple authorizations, use
In going to different places.An authorized place is gone to every time, needs that being authorized to for this place is arranged to vehicle ring with application program
Information.
Server can be selected such as 86 server of non-x, x86 server.Including mainframe, minicomputer and unix server,
PC server.Server preferably uses PC server.Details are not described herein again.The system can be held in managing parking region automatically
Vehicle of receiving facilitates user to open banister or license to other people and opens banister, self may be implemented using Internet of Things thought is based on
Management.
The foregoing examples are merely illustrative of the technical concept and features of the invention, its object is to allow the person skilled in the art to be
It cans understand the content of the present invention and implement it accordingly, it is not intended to limit the scope of the present invention.It is all smart according to the present invention
The equivalent transformation or modification that refreshing essence is done, should be covered by the protection scope of the present invention.