A kind of bicycle sharing method and systemTechnical 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 shareSystem, 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 fromDriving shared system includes the bicycle of the webserver, spud pile and customization specification.When nobody uses, bicycle lock is scheduled onOn spud pile.When user needs to use bicycle, the card that user is approved by leasing system is enterprising in the equipment of spud pileRow swiping card, to unlock bicycle.User has been used after bicycle, needs the position that bicycle is delivered to spud pile, thenBicycle 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 toUser 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, reducesThe 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 serviceDevice to bicycle issue unlocking cipher and to hair car password under user terminal come realize borrow car, by the car locking on bicyclePlectrum 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 bicyclesDegree, 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 oneCause;
When verifying that the use car password is consistent with the unlocking cipher, lock is opened, record the corresponding use of the userThe 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 terminateTime;
By the use car time started, the use car end time, the use car password with lock set of serial numbers into userSequence information is sent to the server.
With reference in a first aspect, embodiments provide the first possible implementation of above-mentioned first aspect, itsIn, 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 outThe unlocking cipher for unlocking next time for sending.
With reference in a first aspect, embodiments provide second possible implementation of above-mentioned first aspect, itsIn, also include:
Itself current latitude and longitude information, lock information about power and internal circuit failure information are obtained, by the longitude and latitudeInformation, 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, itsIn, also include:
The server time information that the server sends is received, local zone time is entered according to the server time informationRow 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 numberDriving, 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 endEnd;
Receive user's sequence information that the user of the bicycle transmission is produced using the bicycle, user's orderInformation 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, itsIn, 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 instituteLatitude 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, itsIn, 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 forThe unlocking cipher of lock is again turned on, the unlocking cipher and server time information for being again turned on lock is sent to instituteState bicycle.
The third aspect, embodiments provides a kind of bicycle shared system, and the system includes:Server, fromDriving and user terminal;
The user terminal, for sending the vehicles identifications of the bicycle to the server, receives the serverCar password is used in transmission;
The bicycle, for receiving and stores the unlocking cipher that the server sends;Receiving user's input it is describedCar 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 userTime 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;WillThe 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 informationGive the server;
The server, for sending the use car password to the user terminal, sends the unlocking cipher to describedBicycle, 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, itsIn, 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 circuitBarrier 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, itsIn, the server is additionally operable to after user's sequence information is received, and sends the unlocking cipher for being again turned on lockAnd 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, connectsReceive server time information and the unlocking cipher for being again turned on lock that the server sends;Storage is described for againThe 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 checkingIt 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 usedFamily 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 closedThe 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 passwordGive server.The present invention issues unlocking cipher and to hair car password under user terminal come real by server to bicycleCar 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 pileRealize 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 bicyclesDegree, 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 coordinateAppended 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 embodimentFigure 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 rightThe restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can be with according to thisA 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 inventionMiddle 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 onlyIt 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 realApplying 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 belowThe 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 inventionApply 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 madeThere 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 carIt 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 userEnclose, reduce the utilization rate of bicycle shared system.Based on this, embodiments provide a kind of bicycle sharing method andSystem, 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, positioningSystem, flash (flash memory) internal memories and single-chip microcomputer etc..The intelligent terminal can be the lock of bicycle.The lock of each bicycleLock 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 bicycleThe 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 toIn each bicycle thrown in, can as follows 101-109 operation come realize bicycle by means of car and returning the carJourney.
Step 101:Server generates the corresponding unlocking cipher of lock sequence number of bicycle, sends the unlocking cipher to carThe 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 relationThe 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.BicycleLock 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 bicycleWhen being designated license plate number, in user terminals such as the mobile phones or PAD (Portable Android Device, panel computer) of oneselfThe 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 oneselfThe terminal scanning Quick Response Code.User terminal receives by the way the license plate number of user input, or scanning to bicycleQuick Response Code after, that is, obtain the vehicles identifications of bicycle, then user terminal as follows 102 operation by vehicle markKnowledge 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 carAnd the ID of the user.
Above-mentioned ID can be the user account that user registers in the server, or the terminal of user terminalMark.In the embodiment of the present invention, the applications client shared for bicycle can be on the subscriber terminal installed, user terminal canAsked 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 carRequest.
Step 104:What server receive user terminal sent is asked with car, the vehicles identifications pair that transmission asks to carry with carThe 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 closedSystem.Server receive user terminal transmission with car request after, according to this with car ask carry vehicles identifications, from vehicle markKnow and corresponding lock sequence number is obtained in the corresponding relation of lock sequence number, then according to the lock sequence number from lock sequenceNumber corresponding unlocking cipher is obtained with the corresponding relation of unlocking cipher, this is borrowed voluntarily using the unlocking cipher of acquisition as thisCar 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 voluntarilyThe lock Serial No. " Lock001 " of car.According to lock sequence number " Lock001 ", from the lock sequence number shown in table 1 and unlockingThe unlocking cipher obtained in the corresponding relation of password is " 135780 ".Unlocking cipher " 135780 " is borrowed into this voluntarily as thisCar 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 carID 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 throughThe 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 serverWhether 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 closeCode, 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-109Row 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 installedThe 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 certainlyThe system time of driving uses the car time started as the user is corresponding.From this moment on user borrows the bicycle, due to certainlyThe unlocking cipher that itself issued according to server of driving controlling the unlatching of lock, so bicycle shared system need not be arrangedControlling 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 pileCan 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 terminatesTime.
In embodiments of the present invention, be provided with car locking plectrum on bicycle, user can by stir the car locking plectrum comeLocking bicycle.When user stirs car locking plectrum, lock is momentarily turned off, while triggering car locking instruction.In bicycle opening vehicleAfter lock, bicycle real-time detection car locking plectrum, when the car locking for detecting the triggering of car locking plectrum is instructed, records now bicycleSystem 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 existGo 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 voluntarilyIt is also provided with temporarily locking plectrum on car, when user needs temporary transient locking bicycle, user stirs the temporary lock plectrum.BicycleWhen detecting that temporarily lock plectrum is struck, control lock is closed.When user needs to be continuing with the bicycle, user stirs againThe 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 comesThis 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 intoFamily 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, fromThe 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 toUser'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 receivedWhen 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 userUse 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, useFare 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 3Knowledge obtains corresponding ID with the corresponding relation with car password.According to the ID, charge information is sent into thisThe 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 orderThe lock sequence number that information includes, deleting from the corresponding relation of the lock sequence number shown in table 1 above and unlocking cipher shouldThe corresponding unlocking cipher of lock sequence number.Then server generate the lock sequence number it is corresponding for next time unlock unlocking it is closeCode, 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 useBicycle, then server delete table 1 in the corresponding unlocking cipher " 135780 " of lock sequence number " Lock001 ".Assume serverThe unlocking cipher for unlocking next time for generating is " 349062 ", then " 349062 " are stored in table 1, the car after storage operationLock 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.ShouldThe unlocking cipher for unlocking next time that bicycle is received and storage server sends.When another user needs to use this voluntarilyThe 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 certainlyBody position is positioned, and obtains itself current latitude and longitude information.Single-chip microcomputer in bicycle can also obtain current lockInformation 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 timeFault message.Bicycle obtains itself current latitude and longitude information, lock information about power and internal circuit every preset time periodFault 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 toLatitude and longitude information, lock information about power and internal circuit failure information, maintenance is scheduled to bicycle.Server is according to inputThe latitude and longitude information of all bicycles determine distribution situation of the bicycle in city, it is possible thereby to determine that bicycle is usedThe higher area of rate, can increase and throw in the quantity of bicycle in these areas.Server can count the position of bicycleVehicle can be implemented precisely scheduling by information, administrative staff using above-mentioned positional information, and satisfaction is more parked in vehicle moreNeed 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 identificationsThe battery of bicycle lock.Server is also by internal circuit failure information and the vehicles identifications and longitude and latitude of out of order bicycleInformation 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 circuitGo 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 twoIt is inconsistent, then local system time is revised as into the time in server time information.So keep server with each voluntarilyThe time synchronized of car.
Because in swinging of signal timing, the communication connection between bicycle and server may be interrupted.In communication connectionWhen disconnected, above-mentioned user's sequence information, latitude and longitude information, lock information about power, internal circuit failure information and server time letterBreath will be unable to be transmitted between bicycle and server.Now bicycle will first store user's sequence information, longitude and latitude letterBreath, lock information about power and internal circuit failure information, server is then forwarded to when communication connection is re-established.ServiceDevice also retransmits server time information to bicycle when communication connection is re-established.Even if so can ensure that userTerminate 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 bicycleRow lease, and park bicycle parking a little self-defining in end car, then terminate to vehicle with server communicationLease.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 serverConnect 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 networkUnder logical environment, it is also possible to rapidly unlock on vehicle, and start to lease bicycle, user's sequence information can be when communicating unimpededTime 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 belowClose accompanying drawing to illustrate, as shown in Fig. 2 S1:User sends vehicles identifications by mobile terminal to server.S2:Under serverSend out unlocking cipher corresponding to mobile terminal.S3:User is input into password by the physical button on bicycle to lock.S4:CarWhether lock verification password matches, if it is, execution step S6, if it is not, then execution step S5.S5:Lock sends acousto-optic and carriesShow, be then back to execution step S3.S6:Lock is unlocked and starts timing.Then user rides.S7:User passes through car locking plectrumLocking lock.S8:Lock is attempted setting up and is connected with server.S9:Judge whether connection is successful, if it is, execution stepS11, if it is not, then execution step S10.S10:Lock preserves user's sequence information in internal memory, is then back to S1.S11:LockThe 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 issuedWhether lock cipher is consistent;When checking is consistent with unlocking cipher with car password, lock is opened, the corresponding car of record user startsTime;When detecting car locking plectrum triggering car locking and instructing, lock is closed, user is corresponding uses the car end time for record;To useThe 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.ThisIt is bright by server to bicycle issue unlocking cipher and to hair car password under user terminal come realize borrow car, by voluntarilyCar 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 voluntarilyThe 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 embodimentThe 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 sendsUse car password;
Bicycle 202, for the unlocking cipher for receiving and storage server 201 sends;The use car of receiving user's input is closeCode, lock is opened when checking car password is consistent with unlocking cipher, and record user uses the car time started;When detecting car lockingRecord 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 carCode 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, receivesUser'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 circuitFault 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 bicycle202 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 lockAnd 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 clothesThe 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 carThe 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 issuedWhether lock cipher is consistent;When checking is consistent with unlocking cipher with car password, lock is opened, the corresponding car of record user startsTime;When detecting car locking plectrum triggering car locking and instructing, lock is closed, user is corresponding uses the car end time for record;To useThe 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.ThisIt is bright by server to bicycle issue unlocking cipher and to hair car password under user terminal come realize borrow car, by voluntarilyCar 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 voluntarilyThe 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 certainlyDriving.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 serverUnanimously.
Step 302:When checking is consistent with unlocking cipher with car password, lock is opened, the corresponding car of record user is openedTime 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 orderInformation 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 insideFault information, by latitude and longitude information, lock information about power and internal circuit failure information server is sent to.Receive serviceThe 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 issuedWhether lock cipher is consistent;When checking is consistent with unlocking cipher with car password, lock is opened, the corresponding car of record user startsTime;When detecting car locking plectrum triggering car locking and instructing, lock is closed, user is corresponding uses the car end time for record;To useThe 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.ThisIt is bright by server to bicycle issue unlocking cipher and to hair car password under user terminal come realize borrow car, by voluntarilyCar 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 voluntarilyThe 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 clothesBusiness 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 numberDriving, 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 endEnd.
Step 403:Receive user's sequence information that the user of bicycle transmission is produced using bicycle, user's sequence informationIncluding 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 interiorPortion's fault information, according to latitude and longitude information, lock information about power and internal circuit failure information, is scheduled to bicycleSafeguard.
After user's sequence information that bicycle sends is received, lock sequence number is generated corresponding for being again turned on lockUnlocking 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 issuedWhether lock cipher is consistent;When checking is consistent with unlocking cipher with car password, lock is opened, the corresponding car of record user startsTime;When detecting car locking plectrum triggering car locking and instructing, lock is closed, user is corresponding uses the car end time for record;To useThe 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.ThisIt is bright by server to bicycle issue unlocking cipher and to hair car password under user terminal come realize borrow car, by voluntarilyCar 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 voluntarilyThe 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 generationTogether, it is brief description, system embodiment part does not refer to part, refers to corresponding contents in preceding method embodiment.Affiliated neckThe 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 throughFormula 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 withIn being stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other wordsThe part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meterCalculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be individualPeople'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 depositedReservoir (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 YiIt is defined in individual accompanying drawing, then it need not be further defined and is explained in subsequent accompanying drawing, additionally, term " theOne ", " 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 inventionTechnical scheme, rather than a limitation, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to thisIt is bright to be described in detail, it will be understood by those within the art that:Any those familiar with the artThe invention discloses technical scope in, it still can modify to the technical scheme described in previous embodiment or can be lightChange is readily conceivable that, or equivalent is carried out to which part technical characteristic;And these modifications, change or replacement, do not makeThe 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 coveredWithin the scope of.Therefore, protection scope of the present invention should be defined by the scope of the claims.