A kind of bicycle sharing method and system
Technical field
The present invention relates to communication technical field, in particular to a kind of bicycle sharing method and system.
Background technology
For convenience people trip and response green low-carbon (LC) life idea, many cities all establish bicycle share
System, for citizen substantial amounts of public bicycles are provided, and the life for giving people brings greatly convenient.
At present, bicycle shared system both domestic and external is usually taken spud pile and borrows the pattern of bicycle of going back, it is existing from
Driving shared system includes the bicycle of the webserver, spud pile and customization specification.When nobody uses, bicycle lock is scheduled on
On spud pile.When user needs to use bicycle, the card that user is approved by leasing system is enterprising in the equipment of spud pile
Row swiping card, to unlock bicycle.User has been used after bicycle, needs the position that bicycle is delivered to spud pile, then
Bicycle lock is scheduled on spud pile.
In prior art, with spud pile as approach, the bicycle to customizing specification carries out the formality borrowed car and return the car, due to
User has to look for the position of spud pile to carry out borrowing car and return the car, therefore greatly limit the Travel Range of user, reduces
The utilization rate of bicycle shared system.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of bicycle sharing method and system, by service
Device to bicycle issue unlocking cipher and to hair car password under user terminal come realize borrow car, by the car locking on bicycle
Plectrum realizes car locking, it is to avoid restriction of the spud pile to user's Travel Range, improves the convenient journey that user uses public bicycles
Degree, improves the utilization rate of bicycle shared system.
In a first aspect, embodiments providing a kind of bicycle sharing method, methods described includes:
Receiving user's input uses car password;The unlocking cipher that checking car password and the server are issued whether one
Cause;
When verifying that the use car password is consistent with the unlocking cipher, lock is opened, record the corresponding use of the user
The car time started;
When the car locking for detecting the triggering of car locking plectrum is instructed, lock is closed, record the corresponding car of the user and terminate
Time;
By the use car time started, the use car end time, the use car password with lock set of serial numbers into user
Sequence information is sent to the server.
With reference in a first aspect, embodiments provide the first possible implementation of above-mentioned first aspect, its
In, also include:
Before the use car password of the receiving user's input, the unlocking cipher that the reception server sends;
After the closing lock, the locally stored unlocking cipher is deleted;Receive and store the server to send out
The unlocking cipher for unlocking next time for sending.
With reference in a first aspect, embodiments provide second possible implementation of above-mentioned first aspect, its
In, also include:
Itself current latitude and longitude information, lock information about power and internal circuit failure information are obtained, by the longitude and latitude
Information, the lock information about power and the internal circuit failure information are sent to the server.
With reference in a first aspect, embodiments provide the third possible implementation of above-mentioned first aspect, its
In, also include:
The server time information that the server sends is received, local zone time is entered according to the server time information
Row calibration.
Second aspect, embodiments provides a kind of bicycle sharing method, and methods described includes:
The corresponding unlocking cipher of lock sequence number is generated, the unlocking cipher is sent corresponding certainly to the lock sequence number
Driving, so that the bicycle stores the unlocking cipher and uses car password according to unlocking cipher checking user input;
The vehicles identifications that receive user terminal sends, send the corresponding use car password of the vehicles identifications to user's end
End;
Receive user's sequence information that the user of the bicycle transmission is produced using the bicycle, user's order
Information is included with the car time started, with car end time, the use car password and lock sequence number.
With reference to second aspect, the first possible implementation of above-mentioned second aspect is embodiments provided, its
In, methods described also includes:
Latitude and longitude information, lock information about power and internal circuit failure information that the bicycle sends are received, according to institute
Latitude and longitude information, the lock information about power and the internal circuit failure information are stated, maintenance is scheduled to the bicycle.
With reference to second aspect, second possible implementation of above-mentioned second aspect is embodiments provided, its
In, methods described also includes:
After user's sequence information that the bicycle sends is received, the generation lock sequence number is corresponding to be used for
The unlocking cipher of lock is again turned on, the unlocking cipher and server time information for being again turned on lock is sent to institute
State bicycle.
The third aspect, embodiments provides a kind of bicycle shared system, and the system includes:Server, from
Driving and user terminal;
The user terminal, for sending the vehicles identifications of the bicycle to the server, receives the server
Car password is used in transmission;
The bicycle, for receiving and stores the unlocking cipher that the server sends;Receiving user's input it is described
Car password is used, when the checking use car password is consistent with the unlocking cipher lock is opened, record being opened with car for the user
Time beginning;Lock is closed when the car locking for detecting the triggering of car locking plectrum is instructed, record the user uses the car end time;Will
The use car time started, the use car end time, the use car password and lock set of serial numbers are sent out into user's sequence information
Give the server;
The server, for sending the use car password to the user terminal, sends the unlocking cipher to described
Bicycle, receives user's sequence information that the bicycle sends.
With reference to the third aspect, the first possible implementation of the above-mentioned third aspect is embodiments provided, its
In, the bicycle is additionally operable to obtain itself current latitude and longitude information, lock information about power and internal circuit failure information,
The latitude and longitude information, the lock information about power and the internal circuit failure information are sent into the server;
The server, is additionally operable to according to the event of the latitude and longitude information, the lock information about power and the internal circuit
Barrier information is scheduled maintenance to the bicycle.
With reference to the third aspect, second possible implementation of the above-mentioned third aspect is embodiments provided, its
In, the server is additionally operable to after user's sequence information is received, and sends the unlocking cipher for being again turned on lock
And server time information gives the bicycle;
The bicycle, is additionally operable to after performing car locking instruction and closing lock, deletes the unlocking cipher of storage, connects
Receive server time information and the unlocking cipher for being again turned on lock that the server sends;Storage is described for again
The unlocking cipher of lock is opened, local zone time is calibrated according to the server time information.
In method and system provided in an embodiment of the present invention, receiving user's input uses car password;Car password is used in checking
It is whether consistent with the unlocking cipher that server is issued;When checking is consistent with unlocking cipher with car password, lock is opened, record is used
Family is corresponding to use the car time started;When the triggering car locking instruction of car locking plectrum is detected, lock, the corresponding use of record user are closed
The car end time;To send out into user's sequence information with lock set of serial numbers with the car time started, with the car end time, with car password
Give server.The present invention issues unlocking cipher and to hair car password under user terminal come real by server to bicycle
Car is now borrowed, car locking is realized by the car locking plectrum on bicycle, by bicycle upload user sequence information, be not required to by spud pile
Realize borrowing car and return the car, it is to avoid restriction of the spud pile to user's Travel Range, improve user and use the convenient of public bicycles
Degree, improves the utilization rate of bicycle shared system.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate
Appended accompanying drawing, is described in detail below.
Description of the drawings
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be attached to what is used needed for embodiment
Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, thus be not construed as it is right
The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can be with according to this
A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 shows a kind of flow chart of bicycle sharing method that the embodiment of the present invention 1 is provided;
Fig. 2 shows a kind of shared schematic flow sheet of bicycle that the embodiment of the present invention 1 is provided;
Fig. 3 shows a kind of structural representation of bicycle shared system that the embodiment of the present invention 2 is provided;
Fig. 4 shows a kind of flow chart of bicycle sharing method that the embodiment of the present invention 3 is provided;
Fig. 5 shows a kind of flow chart of bicycle sharing method that the embodiment of the present invention 4 is provided.
Specific embodiment
To make purpose, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
Middle accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only
It is a part of embodiment of the invention, rather than the embodiment of whole.The present invention generally described and illustrated in accompanying drawing herein is real
Applying the component of example can be arranged and be designed with a variety of configurations.Therefore, it is of the invention to what is provided in the accompanying drawings below
The detailed description of embodiment is not intended to limit the scope of claimed invention, but is merely representative of the selected reality of the present invention
Apply example.Based on embodiments of the invention, the institute that those skilled in the art are obtained on the premise of creative work is not made
There is other embodiment, belong to the scope of protection of the invention.
In in view of prior art, with spud pile as approach, the bicycle to customizing specification carries out the hand borrowed car and return the car
It is continuous, have to look for the position of spud pile to carry out borrowing car and return the car due to user, therefore greatly limit the trip model of user
Enclose, reduce the utilization rate of bicycle shared system.Based on this, embodiments provide a kind of bicycle sharing method and
System, is described below by embodiment.
Embodiment 1
Embodiments provide a kind of bicycle sharing method.
In embodiments of the present invention, intelligent terminal is installed on bicycle, the intelligent terminal is integrated with communication module, positioning
System, flash (flash memory) internal memories and single-chip microcomputer etc..The intelligent terminal can be the lock of bicycle.The lock of each bicycle
Lock sequence number is equipped with, the lock sequence number is stored in the single-chip microcomputer in lock.It is also equipped with for only on bicycle
The vehicles identifications of one mark bicycle, vehicles identifications can be license plate number or Quick Response Code of bicycle etc..
When bicycle shared system is set up, preset location throws in a large amount of bicycles in city.As shown in figure 1, being directed to
In each bicycle thrown in, can as follows 101-109 operation come realize bicycle by means of car and returning the car
Journey.
Step 101:Server generates the corresponding unlocking cipher of lock sequence number of bicycle, sends the unlocking cipher to car
The corresponding bicycle of lock sequence number.
Server also safeguards the corresponding relation of lock sequence number as shown in table 1 and unlocking cipher, deposits in the corresponding relation
The current unlocking cipher of the lock sequence number and bicycle of all bicycles is stored up.
Table 1
Lock sequence number |
Unlocking cipher |
Lock001 |
135780 |
Lock002 |
237051 |
…… |
…… |
Step 102:The unlocking cipher that bicycle the reception server sends, stores the unlocking cipher.
When bicycle receives the unlocking cipher of server transmission, the unlocking cipher is stored in single-chip microcomputer.Bicycle
Lock in integrated monolithic machine and flash internal memories, unlocking cipher can also be stored in single-chip microcomputer in resting state.
When user needs to borrow the bicycle thrown in, user selectes a bicycle, when the vehicle arranged on bicycle
When being designated license plate number, in user terminals such as the mobile phones or PAD (Portable Android Device, panel computer) of oneself
The middle license plate number for being input into the bicycle.When the vehicles identifications arranged on bicycle are Quick Response Code, the user that user passes through oneself
The terminal scanning Quick Response Code.User terminal receives by the way the license plate number of user input, or scanning to bicycle
Quick Response Code after, that is, obtain the vehicles identifications of bicycle, then user terminal as follows 102 operation by vehicle mark
Knowledge is sent to server.
Step 103:User terminal transmission car is asked to server, and this asks the vehicles identifications for carrying the bicycle with car
And the ID of the user.
Above-mentioned ID can be the user account that user registers in the server, or the terminal of user terminal
Mark.In the embodiment of the present invention, the applications client shared for bicycle can be on the subscriber terminal installed, user terminal can
Asked with sending above-mentioned car by the applications client.User terminal directly can also be sent in the form of note and above-mentioned use car
Request.
Step 104:What server receive user terminal sent is asked with car, the vehicles identifications pair that transmission asks to carry with car
The use car password answered is to user terminal.
In embodiments of the present invention, server is also safeguarded that vehicles identifications as shown in table 2 are corresponding with lock sequence number and is closed
System.Server receive user terminal transmission with car request after, according to this with car ask carry vehicles identifications, from vehicle mark
Know and corresponding lock sequence number is obtained in the corresponding relation of lock sequence number, then according to the lock sequence number from lock sequence
Number corresponding unlocking cipher is obtained with the corresponding relation of unlocking cipher, this is borrowed voluntarily using the unlocking cipher of acquisition as this
Car uses car password, and this is sent into the ID corresponding user terminal that above-mentioned car request is carried with car password.
Table 2
Vehicles identifications |
Lock sequence number |
JA546 |
Lock001 |
JA547 |
Lock002 |
…… |
…… |
For example, it is assumed that it is " JA546 " to ask the vehicles identifications for carrying with car, then vehicles identifications " JA546 " are corresponding voluntarily
The lock Serial No. " Lock001 " of car.According to lock sequence number " Lock001 ", from the lock sequence number shown in table 1 and unlocking
The unlocking cipher obtained in the corresponding relation of password is " 135780 ".Unlocking cipher " 135780 " is borrowed into this voluntarily as this
Car with car password is sent to user terminal.
In embodiments of the present invention, server also safeguards ID as shown in table 3 and the corresponding relation with car password.
When server receives being asked with car for user terminal transmission, and after transmission car password is to the user terminal, also this is used into car
ID that request is carried and this with car password storage above-mentioned ID with the corresponding relation of car password.
Table 3
ID |
Use car password |
User1 |
135780 |
…… |
…… |
When user terminal receives the use car password of server transmission, show this with car password to user.User passes through
The physical button arranged on bicycle, input this and uses car password to bicycle.
Step 105:Bicycle receiving user's input uses car password, verifies the unlocking issued with car password and server
Whether password is consistent, if it is, execution step 106, if it is not, then prompting user cipher mistake.
Bicycle is received after the use car password of user input from physical button, and the unlocking that storage is obtained from single-chip microcomputer is close
Code, compares this with car password and the unlocking cipher of storage, if the two is identical, is entered by the operation of subsequent step 106-109
Row borrows car and process of returning the car.If the two is differed, that points out user input uses car code error.
When user cipher mistake is pointed out, bicycle can be sent for prompt cipher by the stereo set that itself is installed
The acoustic information of mistake.Bicycle can also send optical signal by the indicator lamp that itself is installed, to point out user cipher mistake.
Step 106:Bicycle opens lock, and user is corresponding uses the car time started for record.
When the use car password of user input is correct, the Single-chip Controlling in bicycle opens lock, and records now certainly
The system time of driving uses the car time started as the user is corresponding.From this moment on user borrows the bicycle, due to certainly
The unlocking cipher that itself issued according to server of driving controlling the unlatching of lock, so bicycle shared system need not be arranged
Controlling the locking and unlatching of bicycle, after lock is opened, user need not take the position of spud pile when returning the car, user into account to spud pile
Can be more convenient to the trip for Anywhere, making user by the cycling.
Step 107:When the car locking that bicycle detects the triggering of car locking plectrum is instructed, the corresponding car of record user terminates
Time.
In embodiments of the present invention, be provided with car locking plectrum on bicycle, user can by stir the car locking plectrum come
Locking bicycle.When user stirs car locking plectrum, lock is momentarily turned off, while triggering car locking instruction.In bicycle opening vehicle
After lock, bicycle real-time detection car locking plectrum, when the car locking for detecting the triggering of car locking plectrum is instructed, records now bicycle
System time use the car end time as user is corresponding.
In view of user during using bicycle, existing needs the situation of temporary transient locking bicycle, such as user to exist
Go to supermarket to do shopping during cycling, need to be continuing with the bicycle after doing shopping.Therefore in the embodiment of the present invention voluntarily
It is also provided with temporarily locking plectrum on car, when user needs temporary transient locking bicycle, user stirs the temporary lock plectrum.Bicycle
When detecting that temporarily lock plectrum is struck, control lock is closed.When user needs to be continuing with the bicycle, user stirs again
The temporary lock plectrum, bicycle detects the temporary lock plectrum when being struck again, and control lock is opened.
When user is by car locking plectrum car locking, complete to return the car process when, also as follows 108 and 109 operation comes
This time charging is carried out with car to user.
Step 108:Bicycle will with the car time started, with the car end time, with car password and lock set of serial numbers into
Family sequence information is sent to server.
In embodiments of the present invention, unlocking cipher is disposal password.After user returns the car and bicycle closes lock, from
The unlocking cipher driven a vehicle the local middle storage of single-chip microcomputer is deleted.
Step 109:Server receives user's sequence information that the user of bicycle transmission is produced using the bicycle, according to
User's sequence information generates charge information, sends the charge information to user terminal.
In the embodiment of the present invention, the charging regulation for borrowing bicycle is pre-set in the server.Server is received
When stating user's sequence information, use car time started for including according to user's sequence information and the car end time is used, calculate user
Use car duration.According to car duration and the charging regulation for pre-setting, being used with fare for user is determined.Will be with car duration, use
Fare constitutes charge information with vehicles identifications.Car password is used according to what user's sequence information included, is marked from the user shown in table 3
Knowledge obtains corresponding ID with the corresponding relation with car password.According to the ID, charge information is sent into this
The corresponding user terminal of ID.User terminal is received after the charge information, and user is paid according to the charge information.
In the embodiment of the present invention, when server receives user's sequence information, determine that user returns the car, according to user's order
The lock sequence number that information includes, deleting from the corresponding relation of the lock sequence number shown in table 1 above and unlocking cipher should
The corresponding unlocking cipher of lock sequence number.Then server generate the lock sequence number it is corresponding for next time unlock unlocking it is close
Code, and the unlocking cipher unlocked for next time is stored in corresponding relation of the lock sequence number with unlocking cipher.
For example, it is assumed that user has borrowed the corresponding bicycle of lock sequence number " Lock001 ", and this has been locked after use
Bicycle, then server delete table 1 in the corresponding unlocking cipher " 135780 " of lock sequence number " Lock001 ".Assume server
The unlocking cipher for unlocking next time for generating is " 349062 ", then " 349062 " are stored in table 1, the car after storage operation
Lock sequence number is as shown in table 4 with the corresponding relation of unlocking cipher
Table 4
Lock sequence number |
Unlocking cipher |
Lock001 |
349062 |
Lock002 |
237051 |
…… |
…… |
The above-mentioned unlocking cipher unlocked for next time is also sent to the corresponding bicycle of lock sequence number by server.Should
The unlocking cipher for unlocking next time that bicycle is received and storage server sends.When another user needs to use this voluntarily
The bicycle can be borrowed during car for the unlocking cipher unlocked next time by above-mentioned.
In embodiments of the present invention, alignment system is additionally provided with bicycle, bicycle can be by alignment system to certainly
Body position is positioned, and obtains itself current latitude and longitude information.Single-chip microcomputer in bicycle can also obtain current lock
Information about power, and fault detect is carried out to the circuit inside lock and each functional module, the internal circuit of lock is obtained in real time
Fault message.Bicycle obtains itself current latitude and longitude information, lock information about power and internal circuit every preset time period
Fault message, by latitude and longitude information, lock information about power and internal circuit failure information server is sent to.
Server receives latitude and longitude information, lock information about power and the internal circuit failure information that bicycle sends, according to
Latitude and longitude information, lock information about power and internal circuit failure information, maintenance is scheduled to bicycle.Server is according to input
The latitude and longitude information of all bicycles determine distribution situation of the bicycle in city, it is possible thereby to determine that bicycle is used
The higher area of rate, can increase and throw in the quantity of bicycle in these areas.Server can count the position of bicycle
Vehicle can be implemented precisely scheduling by information, administrative staff using above-mentioned positional information, and satisfaction is more parked in vehicle more
Need the place of car rental.
Server determines lock whether not enough power supply according to lock information about power, concurrently send the Jing of the bicycle of not enough power supply
, to administrative staff, administrative staff go to change before the latitude and longitude information according to the bicycle of not enough power supply for latitude information and vehicles identifications
The battery of bicycle lock.Server is also by internal circuit failure information and the vehicles identifications and longitude and latitude of out of order bicycle
Information is sent to administrative staff, and administrative staff are according to the vehicles identifications of out of order bicycle, latitude and longitude information and internal circuit
Go to keep in repair the bicycle before fault message.
In embodiments of the present invention, at set intervals, server also sends server time information and gives each bicycle.
The server time information that bicycle the reception server sends, calibrates according to server time information to local zone time.I.e.
Bicycle compares local system time and the time in server time information, if the two is consistent, is not operated.If the two
It is inconsistent, then local system time is revised as into the time in server time information.So keep server with each voluntarily
The time synchronized of car.
Because in swinging of signal timing, the communication connection between bicycle and server may be interrupted.In communication connection
When disconnected, above-mentioned user's sequence information, latitude and longitude information, lock information about power, internal circuit failure information and server time letter
Breath will be unable to be transmitted between bicycle and server.Now bicycle will first store user's sequence information, longitude and latitude letter
Breath, lock information about power and internal circuit failure information, server is then forwarded to when communication connection is re-established.Service
Device also retransmits server time information to bicycle when communication connection is re-established.Even if so can ensure that user
Terminate lease in the obstructed place of communicating, user's sequence information unobstructed place that also can communicate after uploads onto the server,
User's sequence information will not be lost;
In embodiments of the present invention, user can be entered to by way of server request password user terminal to bicycle
Row lease, and park bicycle parking a little self-defining in end car, then terminate to vehicle with server communication
Lease.Restriction of the spud pile for bicycle parking position is so broken away from, has allowed user to pass through the company of user terminal and server
Connect and complete leasing and returning for vehicle.
The embodiment of the present invention keeps in advance the unlocking cipher for using next time in lock, it is ensured that user is not smooth in network
Under logical environment, it is also possible to rapidly unlock on vehicle, and start to lease bicycle, user's sequence information can be when communicating unimpeded
Time is sent in the lump to server.In order to further readily appreciate bicycle sharing method provided in an embodiment of the present invention, tie below
Close accompanying drawing to illustrate, as shown in Fig. 2 S1:User sends vehicles identifications by mobile terminal to server.S2:Under server
Send out unlocking cipher corresponding to mobile terminal.S3:User is input into password by the physical button on bicycle to lock.S4:Car
Whether lock verification password matches, if it is, execution step S6, if it is not, then execution step S5.S5:Lock sends acousto-optic and carries
Show, be then back to execution step S3.S6:Lock is unlocked and starts timing.Then user rides.S7:User passes through car locking plectrum
Locking lock.S8:Lock is attempted setting up and is connected with server.S9:Judge whether connection is successful, if it is, execution step
S11, if it is not, then execution step S10.S10:Lock preserves user's sequence information in internal memory, is then back to S1.S11:Lock
The data such as upload user sequence information.S12:Server issues the information such as next unlocking cipher, is then back to S1.
In embodiments of the present invention, receiving user's input uses car password;Checking car password and opening that server is issued
Whether lock cipher is consistent;When checking is consistent with unlocking cipher with car password, lock is opened, the corresponding car of record user starts
Time;When detecting car locking plectrum triggering car locking and instructing, lock is closed, user is corresponding uses the car end time for record;To use
The car time started, it is sent to server into user's sequence information with lock set of serial numbers with the car end time, with car password.This
It is bright by server to bicycle issue unlocking cipher and to hair car password under user terminal come realize borrow car, by voluntarily
Car locking plectrum on car realizes car locking, by bicycle upload user sequence information, is not required to be realized borrowing car and returned the car by spud pile,
Restriction of the spud pile to user's Travel Range is avoided, the convenient degree that user uses public bicycles is improve, is improve voluntarily
The utilization rate of car shared system.
Embodiment 2
Referring to Fig. 3, a kind of bicycle shared system is embodiments provided, the system is used to perform above-described embodiment
The 1 bicycle sharing method for being provided, the system includes:Server 201, bicycle 202 and user terminal 203;
User terminal 203, for sending the vehicles identifications of bicycle 202 to server 201, the reception server 201 sends
Use car password;
Bicycle 202, for the unlocking cipher for receiving and storage server 201 sends;The use car of receiving user's input is close
Code, lock is opened when checking car password is consistent with unlocking cipher, and record user uses the car time started;When detecting car locking
Record user's uses the car end time when car locking of plectrum triggering is instructed;Will be with the car time started, with car end time, close with car
Code is sent to server 201 with lock set of serial numbers into user's sequence information;
Server 201, for transmission with car password to user terminal 203, sends unlocking cipher to bicycle 202, receives
User's sequence information that bicycle 202 sends.
Wherein, bicycle 202, are additionally operable to obtain itself current latitude and longitude information, lock information about power and internal circuit
Fault message, by latitude and longitude information, lock information about power and internal circuit failure information server 201 is sent to;
Server 201, is additionally operable to according to latitude and longitude information, lock information about power and internal circuit failure information to bicycle
202 are scheduled maintenance.
Server 201, is additionally operable to after user's sequence information is received, and sends the unlocking cipher for being again turned on lock
And the temporal information of server 201 is to bicycle 202;
Bicycle 202, is additionally operable to after performing car locking instruction and closing lock, deletes the unlocking cipher of storage, receives clothes
The temporal information of server 201 and the unlocking cipher for being again turned on lock that business device 201 sends;Store for being again turned on car
The unlocking cipher of lock, calibrates according to the temporal information of server 201 to local zone time.
In embodiments of the present invention, receiving user's input uses car password;Checking car password and opening that server is issued
Whether lock cipher is consistent;When checking is consistent with unlocking cipher with car password, lock is opened, the corresponding car of record user starts
Time;When detecting car locking plectrum triggering car locking and instructing, lock is closed, user is corresponding uses the car end time for record;To use
The car time started, it is sent to server into user's sequence information with lock set of serial numbers with the car end time, with car password.This
It is bright by server to bicycle issue unlocking cipher and to hair car password under user terminal come realize borrow car, by voluntarily
Car locking plectrum on car realizes car locking, by bicycle upload user sequence information, is not required to be realized borrowing car and returned the car by spud pile,
Restriction of the spud pile to user's Travel Range is avoided, the convenient degree that user uses public bicycles is improve, is improve voluntarily
The utilization rate of car shared system.
Embodiment 3
Referring to Fig. 4, a kind of bicycle sharing method is embodiments provided, the executive agent of the method can be certainly
Driving.The method specifically includes following steps:
Step 301:Receiving user's input uses car password;Whether the unlocking cipher that checking car password is issued with server
Unanimously.
Step 302:When checking is consistent with unlocking cipher with car password, lock is opened, the corresponding car of record user is opened
Time beginning.
Step 303:When the car locking for detecting the triggering of car locking plectrum is instructed, user is corresponding uses the car end time for record.
Step 304:Will with the car time started, with the car end time, with car password with lock set of serial numbers into user's order
Information is sent to server.
Before the use car password of receiving user's input, the unlocking cipher that the reception server sends;After lock is closed,
Delete locally stored unlocking cipher;Receive the unlocking cipher for unlocking next time that simultaneously storage server sends.
In embodiments of the present invention, bicycle also obtains itself current latitude and longitude information, lock information about power and inside
Fault information, by latitude and longitude information, lock information about power and internal circuit failure information server is sent to.Receive service
The server time information that device sends, calibrates according to server time information to local zone time.
In embodiments of the present invention, receiving user's input uses car password;Checking car password and opening that server is issued
Whether lock cipher is consistent;When checking is consistent with unlocking cipher with car password, lock is opened, the corresponding car of record user starts
Time;When detecting car locking plectrum triggering car locking and instructing, lock is closed, user is corresponding uses the car end time for record;To use
The car time started, it is sent to server into user's sequence information with lock set of serial numbers with the car end time, with car password.This
It is bright by server to bicycle issue unlocking cipher and to hair car password under user terminal come realize borrow car, by voluntarily
Car locking plectrum on car realizes car locking, by bicycle upload user sequence information, is not required to be realized borrowing car and returned the car by spud pile,
Restriction of the spud pile to user's Travel Range is avoided, the convenient degree that user uses public bicycles is improve, is improve voluntarily
The utilization rate of car shared system.
Embodiment 4
Referring to Fig. 5, a kind of bicycle sharing method is embodiments provided, the executive agent of the method can be clothes
Business device.The method specifically includes following steps:
Step 401:The corresponding unlocking cipher of lock sequence number is generated, unlocking cipher is sent corresponding certainly to lock sequence number
Driving, so that bicycle stores unlocking cipher and uses car password according to unlocking cipher checking user input.
Step 402:The vehicles identifications that receive user terminal sends, send the corresponding use car password of vehicles identifications to user's end
End.
Step 403:Receive user's sequence information that the user of bicycle transmission is produced using bicycle, user's sequence information
Including with the car time started, with the car end time, with car password and lock sequence number.
In embodiments of the present invention, server also receives the latitude and longitude information of bicycle transmission, lock information about power and interior
Portion's fault information, according to latitude and longitude information, lock information about power and internal circuit failure information, is scheduled to bicycle
Safeguard.
After user's sequence information that bicycle sends is received, lock sequence number is generated corresponding for being again turned on lock
Unlocking cipher, send the unlocking cipher and server time information for being again turned on lock to bicycle.
In embodiments of the present invention, receiving user's input uses car password;Checking car password and opening that server is issued
Whether lock cipher is consistent;When checking is consistent with unlocking cipher with car password, lock is opened, the corresponding car of record user starts
Time;When detecting car locking plectrum triggering car locking and instructing, lock is closed, user is corresponding uses the car end time for record;To use
The car time started, it is sent to server into user's sequence information with lock set of serial numbers with the car end time, with car password.This
It is bright by server to bicycle issue unlocking cipher and to hair car password under user terminal come realize borrow car, by voluntarily
Car locking plectrum on car realizes car locking, by bicycle upload user sequence information, is not required to be realized borrowing car and returned the car by spud pile,
Restriction of the spud pile to user's Travel Range is avoided, the convenient degree that user uses public bicycles is improve, is improve voluntarily
The utilization rate of car shared system.
The system that the embodiment of the present invention is provided, it realizes the technique effect and preceding method embodiment phase of principle and generation
Together, it is brief description, system embodiment part does not refer to part, refers to corresponding contents in preceding method embodiment.Affiliated neck
The technical staff in domain can be understood that, for convenience and simplicity of description, the specific work process of system described above,
The corresponding process in said method embodiment is may be referred to, be will not be described here.
In embodiment provided by the present invention, it should be understood that disclosed system and method, other sides can be passed through
Formula is realized.System embodiment described above is only schematic.
If the function is realized and as independent production marketing or when using using in the form of SFU software functional unit, can be with
In being stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention.
And aforesaid storage medium includes:USB flash disk, portable hard drive, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined in individual accompanying drawing, then it need not be further defined and is explained in subsequent accompanying drawing, additionally, term " the
One ", " second ", " the 3rd " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
Finally it should be noted that:Embodiment described above, specific embodiment only of the invention, to illustrate the present invention
Technical scheme, rather than a limitation, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this
It is bright to be described in detail, it will be understood by those within the art that:Any those familiar with the art
The invention discloses technical scope in, it still can modify to the technical scheme described in previous embodiment or can be light
Change is readily conceivable that, or equivalent is carried out to which part technical characteristic;And these modifications, change or replacement, do not make
The essence of appropriate technical solution departs from the spirit and scope of embodiment of the present invention technical scheme.The protection in the present invention should all be covered
Within the scope of.Therefore, protection scope of the present invention should be defined by the scope of the claims.