A kind of shared bicycle control system
Technical field
The utility model is related to a kind of apparatus control system, particularly a kind of shared bicycle control system.
Background technology
In order to advocate Green Travel, while solve the problems, such as that people go on a journey " last one kilometer ";Shared bicycle is to people
Live bring it is very big convenient.
Nowadays the shared bicycle of many brands is provided in society;The unlock of these shared bicycles is roughly divided into:1st, it uses
Family is scanned the two-dimensional code by the APP on smart machine, and connect transmission with high in the clouds is asked with vehicle, obtains the password defensive position that high in the clouds is sent
Dynamic to open lock, high in the clouds starts charging after password is sent, terminates charging after the ending request on smart machine is received;2、
User is scanned the two-dimensional code by the APP on smart machine, and connect transmission with high in the clouds is asked with vehicle, and high in the clouds control is unlocked, and starts to count
Take, terminate charging after shutting;3rd, user is scanned the two-dimensional code by the APP on smart machine, and transmission vehicle is connect with high in the clouds please
It asks, obtains manually opened lock after the password that high in the clouds is sent, high in the clouds starts charging after password is sent, and terminates meter after shutting
Take.
There are the following problems in above-mentioned each scheme:1st, it during terminal user's vehicle, needs first and server establishes connection, send
It is asked with vehicle, server unlocks charging again, and during this, server undertakes this major control function, based at present with vehicle number
Amount, the load of server are serious;2nd, current charging mode is using Fare determined by travel time, and charging is in the form of a single, not humane;3rd, it is above-mentioned
With not there is user to retain the function with vehicle in vehicle scheme, user entirely is both needed to rest near bicycle with vehicle process, lives to user
It is dynamic to have very big limitation;4th, vehicle mode is used for above-mentioned, the maintenance for bicycle equipment is all artificial maintenance.
Utility model content
The goal of the invention of the utility model is:In view of the above problems, a kind of list based on base station communication is provided
Vehicle locating scheme, solve bicycle equipment automatic test problems, several charging mode is provided, be supplied to user midway leave but
Retain the scheme with vehicle permission to bicycle, management, charging during bicycle use etc. is worked and is carried out by bicycle, mitigate clothes
A kind of shared bicycle control system of business device load.
The technical solution adopted in the utility model is as follows:
A kind of shared bicycle control system, including:Mobile terminal, vehicle electronic device and server, the vehicle electronics
Equipment is connected with burglar-proof mechanism, and the vehicle electronic device and burglar-proof mechanism are set on shared bicycle;
The mobile terminal is used for:It is asked to vehicle electronic device transmission foundation with vehicle and the vehicle electronics is set
It is standby to establish connection;Request of returning the car is sent to the vehicle electronic device;
The vehicle electronic device is connected to server, for the user identity carried in connection request of establishing to be believed
Breath is sent to server;Server is received to the verification result of subscriber identity information, according to the verification result control whether with
Connection is established between the mobile terminal;It is controlled whether to open the burglar-proof mechanism according to the verification result, be verified
When store it is described asked with vehicle in the user account information that carries, start charging;The request of returning the car of mobile terminal is received, terminates meter
Take, taken off to user account information progress expense and produce bill;The bill is sent to server, removes storage
The user account information;
The server, is used for:The subscriber identity information that vehicle electronic device is sent is received, to the subscriber identity information
It is verified, transmits verification result to the vehicle electronic device;Receive and store the account that the vehicle electronic device is sent
It is single.
Using the above scheme, it realizes that mobile terminal first authenticates to be reruned afterwards with wagon flow journey, saves the system operations time;Together
When, mobile terminal is interacted with car owner's electric room, is reduced server and is met;Subscriber identity information is deleted in time, is kept away
Exempt from the possibility that subscriber identity information is revealed when with vehicle, improve user experience;Bill management is established, convenient for follow-up as bill is different
The processing of situations such as view.
Further, the vehicle electronic device includes:Main control unit and difference are connected to it:Communication unit, unlock
Unit, storage unit and Charging Detail Record unit, the unlocking unit connect burglar-proof mechanism;
The communication unit, is used for:Receive being asked with vehicle for the mobile terminal, by it is described asked with vehicle in the use that carries
Family identity information is sent to server;Verification result of the server to the subscriber identity information is received, by the verification result
It is sent to main control unit;The request of returning the car of mobile terminal is received, the request of returning the car is sent to main control unit, is sent out to server
Send bill;
The user account information that the storage unit carries in being asked for store and clear with vehicle;
The main control unit receives the verification result that the communication unit is sent, is controlled according to the verification result
Whether communication unit establishes connection between the mobile terminal;What receiving communication unit was sent is asked with vehicle, and vehicle is used by described
The user account information carried in request is sent to storage unit and is stored, and control unlocking unit opens the burglar-proof mechanism,
Control Charging Detail Record unit starts charging;The request of returning the car that receiving communication unit is sent, control Charging Detail Record unit terminate charging;Obtain charging
The bill is sent to server by the bill of unit generation by communication unit, and control storage unit removes the described of storage
User account information;
The Charging Detail Record unit connects storage unit, is used for:The user account information of the storage unit storage is obtained,
After terminating charging, taken off to user account information progress expense and generate bill.
Further, the vehicle electronic device further includes:Timing unit is connected to main control unit, described for recording
T1 at the time of main control unit controls the unlocking unit unlatching burglar-proof mechanism records the main control unit and receives described lead to
The request moment T2 that returns the car of letter unit transmission, calculates the time difference between the moment T1 and moment T2;
The Charging Detail Record unit is connected to the timing unit, and the time difference for being calculated according to the timing unit, which calculates, to be taken
With.
Using the above scheme, it realizes in a manner that charging is realized in timing.
Alternatively, the vehicle electronic device further includes:It has the records of distance by the log unit, main control unit is connected to, for recording the master control
Unit controls the unlocking unit to open the burglar-proof mechanism and receives going back for the communication unit transmission to the main control unit
Between vehicle request, the mileage of bicycle is shared;
The Charging Detail Record unit is connected to the unit of having the records of distance by the log, in the shared bicycle for unit record of having the records of distance by the log according to
Journey computational costs.
Using aforesaid way, provide with the billing scheme of mileage charging.
Further, system may include timing unit and Charging Detail Record unit, and the Charging Detail Record unit is according to the timing unit meter
The mileage calculation expense of the shared bicycle of the time difference of calculation and/or the unit record of having the records of distance by the log.
Using the above scheme, it is possible to provide several billing scheme realizes the flexibility of charging.
Further, included with vehicle request:It is asked with vehicle and is asked again with vehicle for the first time;
After the mobile terminal establishes connection with the vehicle electronic device, it is additionally operable to:It sends and protects to the communication unit
Continue to employ vehicle request;
The communication unit is additionally operable to:Reservation vehicle request is sent to main control unit;
The main control unit is additionally operable to:The reservation that receiving communication unit is sent is asked with vehicle, and the reservation is asked with vehicle
The subscriber identity information of middle carrying is stored to the storage unit;The unlock is controlled according to the comparing result that authentication unit is sent
Whether unit opens the burglar-proof mechanism;
The vehicle electronic device further includes:Authentication unit is connected to storage unit and main control unit, is used for:Acquisition is deposited
The subscriber identity information of storage unit storage;Obtain what main control unit received:During what communication unit received is asked again with vehicle
The subscriber identity information of carrying;To it is described asked again with vehicle in the subscriber identity information that carries and the use obtained from storage unit
Family identity information is sent to main control unit to comparison, and by comparing result.
Using the above scheme, realize user midway from vehicle but the function of reservation vehicle permission.
Further, above-mentioned main control unit is after receiving reservation and being asked with vehicle, and after the predetermined time is ended, control understands institute
State the subscriber identity information of memory cell storage.
Using the above scheme, the management for retaining user the time of using cars is realized, so as to fulfill the reasonable utilization of bicycle resource.
Further, the vehicle electronic device further includes:Sensing unit is connected to burglar-proof mechanism and main control unit, uses
In the state by unlatching to closing for sensing the burglar-proof mechanism;And sensing that the burglar-proof mechanism changes to closing by opening
When, send antitheft enabling signal to main control unit;
If the reservation that the main control unit receives communication unit transmission is asked with vehicle, the main control unit will be described anti-
Enabling signal is stolen to filter out;If the reservation that the main control unit does not receive communication unit transmission is asked with vehicle, the master control
Unit judges the antitheft enabling signal for request of returning the car.
Using the above scheme, it realizes not return the car by terminal transmission and asks also terminate the function with vehicle;It solves in terminal
User forgets the problem of request returns the car or can not terminate charging after terminal out of power.
Further, the vehicle electronic device further includes:Detection unit is connected to the main control unit, for real-time
The vehicle electronic device is detected with the presence or absence of failure;And detection is recorded a demerit by predetermined rule and is sent to main control unit, so that its
Server is sent to by communication unit;
The main control unit, is additionally operable to, and is the vehicle electronics in the testing result for receiving the detection unit transmission
Equipment sends fault cues by communication unit there are during failure to the mobile terminal;Control communication unit refusal with it is described
Mobile terminal foundation connects or disconnects the connection with the mobile terminal.
Using the above scheme, it realizes the automatic detection of shared bicycle equipment, reduces the former cost for needing artificial detection;Simultaneously
Also the situation that protoplast's power can not be inside detection device is solved.
Further, the vehicle electronic device further includes:Power supply unit and charhing unit;The power supply unit is connected to
Other units in the vehicle electronic device, for providing power supply;The charhing unit is used to charge for the power supply unit.
Using the above scheme, the powerup issue of shared bicycle equipment is solved.
Further, the charhing unit is solar panel or wheel power-generating device.
Using the above scheme, several charging modes are provided, are used for different structure or the bicycle of usage scenario.
Further, the vehicle electronic device is connect with base station, so that the server can obtain the vehicle electronics
Device geographical location, so as to obtain shared bicycle geographical location;
The mobile terminal connects the server;The server by the global positioning information of the mobile terminal,
Identification information or the identification information of access gateway in a mobile network obtain the geographical location of the mobile terminal;Inquiry institute
State the geographical location of at least one shared bicycle in mobile terminal geographic vicinity preset range;The shared list that will be inquired
The geographical location of vehicle is sent to the mobile terminal.
Using the above scheme, it realizes terminal user and vehicle problem is sought to shared bicycle, bicycle is determined by base station
The positioning to sharing bicycle is realized, without the equipment such as additional GP configuring S, drop in position that is, in bicycle and server real-time Communication for Power
Low shared single vehicle cost.
In conclusion by adopting the above-described technical solution, the beneficial effects of the utility model are:
1st, it realizes to shared bicycle with being positioned in server real-time Communication for Power to shared bicycle;
2nd, the self-test of electronic equipment on shared bicycle is realized;
3rd, it realizes that user leaves the midway during sharing bicycle use, but retains with vehicle privilege feature;
The 4th, several charging mode is provided;
5th, the work such as the charging that shared bicycle end electronic equipment needs server to carry out original are realized, server is reduced and bears
Lotus;
The 6th, several charging modes are provided, selected for the bicycle of different structure
7th, this system is simple and reasonable for structure.
Description of the drawings
Fig. 1 is a kind of structure chart of shared bicycle control system;
Fig. 2 is a kind of one embodiment of shared bicycle control system;
Fig. 3 is a kind of another embodiment of shared bicycle control system.
Specific embodiment
Below in conjunction with the accompanying drawings, the utility model is described in detail.
In order to make the purpose of the utility model, technical solutions and advantages more clearly understood, below in conjunction with attached drawing and implementation
Example, the present invention is further described in detail.It should be appreciated that specific embodiment described herein is only used to explain
The utility model is not used to limit the utility model.
With reference to attached drawing 1, present embodiment discloses a kind of shared bicycle control system, including:Mobile terminal, vehicle electronics are set
Standby and server, the vehicle electronic device are connected with burglar-proof mechanism, and the vehicle electronic device and burglar-proof mechanism are set to altogether
It enjoys on bicycle;
The mobile terminal is used for:It is asked to vehicle electronic device transmission foundation with vehicle and the vehicle electronics is set
It is standby to establish connection;Request of returning the car is sent to the vehicle electronic device;
The vehicle electronic device is connected to server, for the user identity carried in connection request of establishing to be believed
Breath is sent to server;Server is received to the verification result of subscriber identity information, according to the verification result control whether with
Connection is established between the mobile terminal;It is controlled whether to open the burglar-proof mechanism according to the verification result, be verified
When store it is described asked with vehicle in the user account information that carries, start charging;The request of returning the car of mobile terminal is received, terminates meter
Take, taken off to user account information progress expense and produce bill;The bill is sent to server, removes storage
The user account information;
The server, is used for:The subscriber identity information that vehicle electronic device is sent is received, to the subscriber identity information
It is verified, transmits verification result to the vehicle electronic device;Receive and store the account that the vehicle electronic device is sent
It is single.
Based on embodiment one, with reference to attached drawing 2, the present embodiment two discloses another shared bicycle control system:
The vehicle electronic device includes:Main control unit and difference are connected to it:Communication unit, unlocking unit, storage
Unit, timing unit, Charging Detail Record unit, power supply unit and charhing unit, the unlocking unit connect burglar-proof mechanism;
The communication unit, is used for:Receive being asked with vehicle for the mobile terminal, by it is described asked with vehicle in the use that carries
Family identity information is sent to server;Verification result of the server to the subscriber identity information is received, by the verification result
It is sent to main control unit;The request of returning the car of mobile terminal is received, the request of returning the car is sent to main control unit, is sent out to server
Send bill;
The user account information that the storage unit carries in being asked for store and clear with vehicle;
The main control unit receives the verification result that the communication unit is sent, is controlled according to the verification result
Whether communication unit establishes connection between the mobile terminal;What receiving communication unit was sent is asked with vehicle, and vehicle is used by described
The user account information carried in request is sent to storage unit and is stored, and control unlocking unit opens the burglar-proof mechanism,
Control Charging Detail Record unit starts charging;The request of returning the car that receiving communication unit is sent, control Charging Detail Record unit terminate charging;Obtain charging
The bill is sent to server by the bill of unit generation by communication unit, and control storage unit removes the described of storage
User account information;
The timing unit, is connected to main control unit, the unlocking unit is controlled to open for recording the main control unit
The T1 at the time of burglar-proof mechanism records the main control unit and receives the request moment T2 that returns the car that the communication unit is sent,
Calculate the time difference between the moment T1 and moment T2;
The Charging Detail Record unit is connected to the timing unit, and the time difference for being calculated according to the timing unit calculates
Expense;Storage unit is connected, is used for:The user account information of storage unit storage is obtained, after charging is terminated, to described
User account information carries out expense and takes off and generate bill.
The power supply unit is connected to other units in the vehicle electronic device, for providing power supply;The charging
Unit is used to charge for the power supply unit.The charhing unit is solar panel or wheel power-generating device.
Based on embodiment one, with reference to attached drawing 2, the present embodiment three discloses another shared bicycle control system:
The vehicle electronic device includes:Main control unit and difference are connected to it:Communication unit, unlocking unit, storage
Unit, unit of having the records of distance by the log, Charging Detail Record unit, power supply unit and charhing unit, the unlocking unit connect burglar-proof mechanism;
The communication unit, is used for:Receive being asked with vehicle for the mobile terminal, by it is described asked with vehicle in the use that carries
Family identity information is sent to server;Verification result of the server to the subscriber identity information is received, by the verification result
It is sent to main control unit;The request of returning the car of mobile terminal is received, the request of returning the car is sent to main control unit, is sent out to server
Send bill;
The user account information that the storage unit carries in being asked for store and clear with vehicle;
The main control unit receives the verification result that the communication unit is sent, is controlled according to the verification result
Whether communication unit establishes connection between the mobile terminal;What receiving communication unit was sent is asked with vehicle, and vehicle is used by described
The user account information carried in request is sent to storage unit and is stored, and control unlocking unit opens the burglar-proof mechanism,
Control Charging Detail Record unit starts charging;The request of returning the car that receiving communication unit is sent, control Charging Detail Record unit terminate charging;Obtain charging
The bill is sent to server by the bill of unit generation by communication unit, and control storage unit removes the described of storage
User account information;
The unit of having the records of distance by the log, is connected to main control unit, the unlocking unit is controlled to open for recording the main control unit
Between the burglar-proof mechanism receives the request of returning the car that the communication unit is sent to the main control unit, share in bicycle
Journey;
The Charging Detail Record unit is connected to the unit of having the records of distance by the log, according to the mileage of the shared bicycle of the unit record of having the records of distance by the log
Computational costs;Storage unit is connected, is used for:The user account information of the storage unit storage is obtained, after charging is terminated, to
The user account information carries out expense and takes off and generate bill.
The power supply unit is connected to other units in the vehicle electronic device, for providing power supply;The charging
Unit is used to charge for the power supply unit.The charhing unit is solar panel or wheel power-generating device.
With reference to attached drawing 2, based on embodiment two or three, the present embodiment four discloses another shared bicycle control system:
Above-mentioned vehicle electronic device includes:Timing unit and unit of having the records of distance by the log;Charging Detail Record unit is connected to timing unit and has the records of distance by the log
Unit;The time difference calculated according to the timing unit and/or the mileage calculation expense of the shared bicycle of the unit record of having the records of distance by the log
With.
Above-mentioned vehicle request includes:It is asked with vehicle and is asked again with vehicle for the first time;
After the mobile terminal establishes connection with the vehicle electronic device, it is additionally operable to:It sends and protects to the communication unit
Continue to employ vehicle request;
The communication unit is additionally operable to:Reservation vehicle request is sent to main control unit;
The main control unit is additionally operable to:The reservation that receiving communication unit is sent is asked with vehicle, and the reservation is asked with vehicle
The subscriber identity information of middle carrying is stored to the storage unit;The unlock is controlled according to the comparing result that authentication unit is sent
Whether unit opens the burglar-proof mechanism;
The vehicle electronic device further includes:Authentication unit is connected to storage unit and main control unit, is used for:Acquisition is deposited
The subscriber identity information of storage unit storage;Obtain what main control unit received:During what communication unit received is asked again with vehicle
The subscriber identity information of carrying;To it is described asked again with vehicle in the subscriber identity information that carries and the use obtained from storage unit
Family identity information is sent to main control unit to comparison, and by comparing result.
Further, above-mentioned main control unit is after receiving reservation and being asked with vehicle, after the predetermined time is ended, is such as receiving guarantor
After continuing to employ vehicle request 5-15 minutes, the subscriber identity information of the clear memory cell storage of control is retained with releasing original and used
Vehicle requesting terminal is to the occupancy of shared bicycle.
With reference to attached drawing 3, based on above-described embodiment, the present embodiment five discloses another shared bicycle control system:
The vehicle electronic device further includes:Sensing unit is connected to burglar-proof mechanism and main control unit, described for sensing
Burglar-proof mechanism by open to closing state;And when sensing that the burglar-proof mechanism changes to closing by opening, to master control list
Member sends antitheft enabling signal;
If the reservation that the main control unit receives communication unit transmission is asked with vehicle, the main control unit will be described anti-
Enabling signal is stolen to filter out;If the reservation that the main control unit does not receive communication unit transmission is asked with vehicle, the master control
Unit judges the antitheft enabling signal for request of returning the car.
The vehicle electronic device further includes:Detection unit is connected to the main control unit, for detecting the vehicle in real time
It carries electronic equipment and whether there is failure;And detection is recorded a demerit by predetermined rule and is sent to main control unit, to make it through communication unit
Member is sent to server;
The main control unit, is additionally operable to, and is the vehicle electronics in the testing result for receiving the detection unit transmission
Equipment sends fault cues by communication unit there are during failure to the mobile terminal;Control communication unit refusal with it is described
Mobile terminal foundation connects or disconnects the connection with the mobile terminal.
The above is only the preferred embodiment of the utility model only, is not intended to limit the utility model, all at this
All any modification, equivalent and improvement made within the spirit and principle of utility model etc., should be included in the utility model
Protection domain within.