The content of the invention
The purpose of the embodiment of the present invention is to provide the enabled code synchronous method of shared vehicle a kind of, terminal, client and altogether
Vehicle server is enjoyed, at least to solve above-mentioned at least one technical problem of the prior art.
To achieve these goals, on the one hand the embodiment of the present invention provides the enabled code synchronous method of a kind of shared vehicle,
This method is applied to the unlocking terminal for being pre-configured with unlocking code, wherein the unlocking code can be shared the smart lock identification of vehicle
To make the smart lock perform unlocking action, and methods described includes:Detect the inventory that code is enabled in the unlocking terminal
Amount, wherein the enabled code is used to enable the unlocking terminal transmission unlocking code to the smart lock;Established with client
Wireless near field communication connects, and is sent the stockpile number to the client based on wireless near field communication connection
End;And the enabled code is obtained from the client based on wireless near field communication connection, and it is acquired according to this
The enabled code updates the stockpile number of the enabled code.
On the other hand the embodiment of the present invention provides a kind of enabled code synchronous method of shared vehicle, this method is applied to client
End, methods described include:Short-range communication is established with unlocking terminal to be connected;Connected based on the short-range communication and opened described in obtaining
The stockpile number that code is enabled in terminal is locked, wherein the enabled code is used to enable the unlocking terminal transmission unlocking code to the intelligence
It can lock to make the smart lock perform corresponding unlocking action;User profile and the stockpile number are sent to shared vehicle service
Device;The enabled code is obtained from the shared vehicle server;The acquired enabled code is sent to the unlocking terminal.
The another aspect of the embodiment of the present invention provides a kind of enabled code synchronous method of shared vehicle, and this method is applied to shared
Vehicle server, methods described include:The stockpile number that code is enabled in user profile and unlocking terminal is obtained from client, wherein
The enabled code sends unlocking code to the smart lock to make the smart lock perform accordingly for enabling the unlocking terminal
Unlocking action;It is determined that the authorized quantity on the enabled code corresponding to the user profile;And send corresponding to described
The enabled code of the quantity of authorized quantity and the difference of the stockpile number is to the client.
Optionally, the user profile includes user credit information and/or customer consumption record information, described to determine to correspond to
Include in the authorized quantity on enabling code of the user profile:The user credit information included according to the user profile
And/or customer consumption record information, determine the user class corresponding to the user profile;And the user by determined by
Authorized quantity corresponding to rank is defined as the authorized quantity for corresponding to the user profile.
On the one hand the embodiment of the present invention provides a kind of unlocking terminal, the unlocking terminal is used for the unlocking of above-mentioned shared vehicle
Method.
Optionally, the unlocking terminal is comprising having short-range communication function selected from one or more of following
Portable set:Wearable product, card and mini player.
Optionally, the wearable product is included selected from one or more of following:Bracelet, wrist-watch, gloves and extension
Button.
On the other hand the embodiment of the present invention provides a kind of client, the client is used to perform being total to for above-mentioned shared vehicle
Enjoy the enabled code synchronous method of vehicle.
Optionally, the client includes mobile phone and/or tablet personal computer.
The another aspect of the embodiment of the present invention provides a kind of shared vehicle server, and the shared vehicle server is used to perform
The enabled code synchronous method for the shared vehicle stated.
Pass through above-mentioned technical proposal, on the one hand, near radio unlocking technology is applied to shared vehicle so that unlock eventually
End can send the unlocking code for making it unlock under the enabled effect of enabled code to smart lock, thus first, not needing user couple
The operation bidirectional of mobile phone only needs to realize that shared vehicle is unlocked and used to off line by above-mentioned unlocking terminal can, improves use
Experience at family;Second, using unblock scheme closely during unblock, long-range high in the clouds data interaction is eliminated
Journey, greatly improve unlocking efficiency;Third, due to referring to automatic knowledge of the smart lock with unlocking code during releasing process
Not, and unlocking action is accordingly performed, it is not necessary to which user inputs unlocking information, that is, need not be by the Quick Response Code of shared vehicle
Or vehicle ID can be realized as unlocking vehicle, ensure the normal operation of shared vehicle.On the other hand, detected by unlocking terminal
For the stockpile number for the enabled code for indicating remaining off line unlocking times, and send it to client and enable a user to
Client synchronization knows the enabled code stock of unlocking terminal, facilitates the remaining off line unlocking times of user management unlocking terminal,
And it can also be improved by obtaining enabled code from the client to enable the stockpile number of code in synchronized update unlocking terminal
The Consumer's Experience of the real-time synchronization management of enabled code.
The further feature and advantage of the embodiment of the present invention will be described in detail in subsequent specific embodiment part.
Embodiment
The embodiment of the embodiment of the present invention is described in detail below in conjunction with accompanying drawing.It should be appreciated that this
The embodiment of place description is merely to illustrate and explain the present invention embodiment, is not intended to limit the invention embodiment.
System framework figure using one embodiment of the invention shown in Figure 1, wherein including shared vehicle server
10, the smart lock 40 of client 20, unlocking terminal 30 and shared bicycle is, it is necessary to explanation, shown client in Fig. 1
20 form is mobile phone, but the mobile phone is replaced into the protection domain that tablet personal computer should also be as belonging to the embodiment of the present invention;In Fig. 1
Shown in the form of unlocking terminal 30 be bracelet, but the bracelet is replaced into wrist-watch, gloves, buckled etc. there is short-range communication
The wearable product of intelligence of function, or the bracelet is replaced into intelligent cards (such as the bank with short-range communication function
Card), the portable set such as mini player should also be as being deemed to be the protection domain of the embodiment of the present invention.Although also, in Fig. 1
The form of shown shared vehicle is shared bicycle (namely shared bicycle), but it is understood that other shared vehicles
Form, such as shared motorcycle, shared automobile etc. also should all belong to the protection domain of the embodiment of the present invention.For simplifying and clearly
The purpose of Chu's description, may just select specific term to carry out expansion description to the technical scheme of the embodiment of the present invention below, but
It is understood that the simple form change as escribed above made to following selected term should belong to of the invention real
Apply the protection domain of example.In embodiment framework as shown in Figure 1, between unlocking terminal 30 and smart lock 40 closely
The mode of radio communication connection can select the close range wireless communication modes such as bluetooth, wifi, NFC, ZigBee, of the invention real
Apply in example and be not construed as limiting, it is possible thereby to realize based on wireless near field communication connection to unlock shared vehicle, on the present embodiment
The details of framework more specifically is deployed to illustrate hereinafter in conjunction with other specific embodiment methods.
The schematic flow sheet of the method for unlocking of the shared vehicle of one embodiment of the invention is illustrated that referring to Fig. 2, wherein can
To be to establish short-range communication connection between unlocking bracelet 30 and smart lock 40 first, being then based on short-range communication connection makes
Unlocking bracelet 30 can send unlocking code to smart lock 40, and last smart lock 40 identifies the unlocking code to ensure that unlocking code is not usurped
Change and its legitimacy, and unlocking action is performed after being identified by, and be achieved in closely unlocking the intelligence of shared vehicle
40 can be locked.On the explanation of the unlocking code, as an example, the unlocking code, which can be shared car operation business, is directed to shared vehicle
Smart lock pre-configured (such as being just configured when unlocking terminal is dispatched from the factory) so that shared vehicle is recognizing
Unlocking action is able to carry out after unlocking code, such as:When unlocking terminal 30 is unlocking bracelet, unlocking bracelet can be selected
Bracelet condition code (such as bracelet ID) to be connect based on short-range communication when smart lock 40 identifies as unlocking code
Can performs unlocking action when the packet received contains bracelet ID.Preferably, can judge to meet necessarily in unlocking terminal
Condition (determine shared vehicle can use) after just send unlocking code, to ensure the safety and reliability of unlocking code, it is more
Concrete details, which will combine hereafter other embodiment, to be deployed.
A kind of preferred embodiment of embodiment illustrated in fig. 2 is illustrated that referring to Fig. 3, mainly due to the peace of split code-locked
Entirely, the purpose reliably used, and the optimization made by dual lock terminal 30 is intended to, that is, judge to meet necessarily in unlocking terminal
Condition after just send unlocking code.More specifically, as shown in figure 3, include before unlocking code is sent to smart lock:
Step 201:Unlocking terminal 30 obtains information of vehicles from smart lock 40;
Step 202:Unlocking terminal 30 determines whether shared vehicle can use according to information of vehicles;
Step 203:Unlocking terminal 30 just sends unlocking code to smart lock 40 in the case of it is determined that shared vehicle is available.
And step 204:In the case of unlocking terminal 30 determines that shared vehicle is disabled, unlocking code is not sent to intelligence
Lock 40.
, can be with it should be noted that available and disabled implication and explanation on the shared vehicle that closely connects
Refer to whether shared vehicle is that the shared vehicle of target that shared car operation business is authorized (can be by smart lock and unlocking
Between terminal interaction on encryption lock information and corresponding public key verifications come what is realized, specifically will hereinafter deploy),
Whether the state that shared vehicle can be referred to is available, for example the shared vehicle is subscribed by other users, again
For example there is multiple report for repairment and have using hidden danger etc. (specifically also will hereinafter deploy) in the shared vehicle.
In the present embodiment, unlocking terminal 30 can be verified before unlocking code is sent from shared received by smart lock 40
Whether the information of vehicles of vehicle disclosure satisfy that certain condition to determine whether shared vehicle can use, and only when shared vehicle is available
Unlocking code can just be sent to unlock smart lock.Thus on the one hand, by setting up condition of the triggering unlocking code at shared vehicle,
Avoid the random unofficial biography of unlocking code and ensure the security of unlocking code;On the other hand so that the unlocking that unlocking terminal is sent
Code can unlock to available shared vehicle, ensure the reliability of unlocking terminal unlocking.
As the further open and optimization of embodiment illustrated in fig. 3, triggering hair can also be set up at unlocking terminal 30
The condition of unlocking code is sent, such as when it is determined that shared vehicle is available, unlocking terminal 30 continues to detect user in the given time
Operation;If user's operation is matched with presetting user's operation standard, unlocking terminal 30 sends unlocking code to smart lock 40;
And if user's operation does not match user's operation standard, then unlocking terminal 30 does not send unlocking code to smart lock 40.Can be with
Understand, the action type operated for the user of unlocking terminal should be not construed as limiting, and for example, unlocking terminal is configured with dynamic
Make sensor, now user's operation can be action, and correspondingly user's operation standard can be certain action, such as:When opening
When lock terminal is bracelet, user's operation can be gesture motion, and also only (such as in 10 seconds) are detected within a certain period of time
The gesture motion of user just determines to send out when meeting prearranged gesture action (for example whether detecting that left and right is rocked twice)
Code-locked.According to the preferred embodiment of the present invention, under a kind of application scenarios, when user has on unlocking bracelet and passes by shared vehicle, no
Carefully carry out being connected and also identifying that shared vehicle can use with shared vehicle, but due to not detecting corresponding user behaviour
To make, unlocking terminal is still that will not send the unlocking code, and only after user's execution specific operation carrys out secondary-confirmation
Send unlocking code, thus, it is possible to avoid occurring undesired unlocking and and ensure user's right.
As the further open and optimization of embodiment illustrated in fig. 3, the disclosure of the details mainly performed to step 202
And example, wherein information of vehicles include encryption lock information, the thus execution of step 202 can be:Unlocking terminal 30 is based on pre-
Configuration attempts to decrypt the encryption lock information in the information of vehicles for the lock decipherment algorithm of smart lock 40, and when should plus
When close lock information is not successfully decrypted, it may be determined that smart lock is unavailable.More specifically, because lock decipherment algorithm is for shared
It is known for car operation business, so the lock decipherment algorithm, which can be shared car operation business, is pre-configured in unlocking eventually
In end 30 so that unlocking terminal 30 can decrypt when receiving encryption lock information under normal circumstances to it, it is possible thereby to
It is determined that whether shared vehicle is whether vehicle that shared car operation business is authorized and received encryption lock information close
Method (for example whether have be tampered or bug risk);Calculated more specifically, unlocking terminal 30 can be decrypted by preset lock
Method, go out lock id information with public key decryptions and the legitimacy of smart lock is verified with this.Preferably, when unlocking terminal 30 receives
During the concurrent smart lock checking request of multiple smart locks, it can select all to refuse the concurrent checking request.
It is highly preferred that the information of vehicles that unlocking terminal is received can also include vehicle maintenance information, vehicle maintenance letter
Breath can be maintenance record that the user before sharing vehicle by this is fed back, such as its user before being is fed back
Brake failure record information, cushion damage record information etc..The method for unlocking includes:When encryption lock information is successfully decrypted
When, judge whether the use state of shared vehicle is normal based on vehicle maintenance information;Can be simply by the presence of vehicle maintenance information,
The use state that shared vehicle should just be determined is the abnormal or quantity based on vehicle maintenance information or type to define
The normal operating condition or abnormal using state of the vehicle.If the judged result on use state is abnormal, it is determined that altogether
It is unavailable to enjoy vehicle;If the judged result on use state is normal, it is determined that shared vehicle can use.
A kind of preferred embodiment of embodiment illustrated in fig. 2 is illustrated that referring to Fig. 4, is directed primarily to the excellent of smart lock 40
Change, on the one hand considered for the electric energy continuation of the journey to sharing vehicle, the short-range communication function of smart lock 40 can not be always
In the state enabled, and can be smart lock 40 detect user operation, and when detect user operation meet it is presetting
The wireless near field communication function of smart lock 40 is just activated during user's operating condition;More specifically, received on smart lock 40
To user operation can be by induced intelligent lock 40 on button whether be pressed to realize.Preferably, in shared car
Wireless near field communication function be activated after, smart lock 40 is searched for attachable at least one wireless near field communication and set
It is standby, and identify that matching request that wireless near field communication equipment launched in a manner of wireless near field communication signal is (such as blue
Tooth pairing request), wherein matching request includes the signal identification information of wireless near field communication signal;Matching request is met pre-
The wireless near field communication equipment of fixed Signal Matching standard is defined as unlocking terminal, and sends what is fitted through to unlocking terminal
Response, thus smart lock 40 is established wireless near field communication with unlocking terminal 30 and is connected.For example, can be according to smart lock
It is predetermined whether the signal identification information of the received matching request and signal intensity on the matching request meet
Signal Matching standard come determine connection;More specifically, the signal identification information can be attachable wireless near field communication
The device name (such as whether it corresponds to the title of shared car operation business) of equipment, can also also be asked by the matching is judged
Whether the signal intensity asked filters out the wireless near field communication equipment to be connected enough, and is defined as unlocking eventually
End.On the other hand, after the lock of shared vehicle performs unlocking action, unlocking statistical information is generated, by statistical information of unlocking
Send to shared vehicle server and unlocking terminal, the unlocking statistical information includes uncaging time information, unlocking code or unlocks ground
Point information etc., it is possible thereby to know at shared vehicle server 10 and in unlocking terminal 30 and record the unlocking shape of shared vehicle
Condition, convenient shared vehicle service business make follow-up operation operation.
Although the above method can have been able to realize the implementation of the unlocking scheme of shared vehicle, in order to more convenient common
Operation maintenance of the car operation business to shared vehicle is enjoyed, can be divided also for operator can be allowed to the unlocking user of shared vehicle
Unlocking authority with finite number of time is to manage the customer group of shared vehicle, and the embodiment of the invention also discloses making on unlocking code
Can code, the wherein enabled code can be used to enabled unlocking terminal 30 and connect to smart lock 40 by wireless near field communication send
The unlocking code, and the enabled transmission unlocking synchronous codes number of quantity instruction of enabled code, such as can be often enabled transmission
Once the quantity of enabled code is just subtracted 1 (or subtracting other numerical value) by unlocking code.As described above, the use on enabling code can
To be that configuration (the especially configuration of quantity) in unlocking terminal, and on enabling code can be completed based on operator
, for example, operator can according to user profile (such as be used to refer to the passing level of consumption of user customer consumption record information,
User credit information etc.) the enabled code is configured, it is possible thereby to realize having for the customer group to sharing vehicle by enabling code
Effect operation, on this enable code more specifically configure and using hereinafter in conjunction with specific embodiment expansion be described.
The service stage of registration phase, enabled code below with reference to enabled code and enabled code synchronous phase etc. are on enabled
The details expansion in multiple stages of code and the multiple stages used in shared vehicle is described.
It is illustrated that the method for unlocking of the shared vehicle of one embodiment of the invention in enabled code registration phase referring to Fig. 5 A
Wireless near field communication connection is established between schematic flow sheet, wherein unlocking terminal 30 and client 20, and by unlocking terminal 30
Terminal feature code is sent to client 20, such as when unlocking terminal 30 be bracelet, the terminal feature code can be that bracelet is believed
Breath, and it should be noted that the terminal feature code can be exactly unlock code or with unlocking code-phase close and be used to refer to
The information of the unlocking code, is not limited thereto;Then, user operates client 20, and client 20 can be comprising mobile phone, flat board
The portable user smart machine such as computer, it can be pre-configured with user profile, such as be logged in by user on mobile phone
The APP of shared car operation business obtains user profile;On client 20 user operation can be for example by with client
The display interface interaction (such as click on content control) in application program of the application program at end 20, or pressed with client 20
The hardware such as key are interacted to realize that the user operates;Afterwards, client 20 sends user profile and terminal feature code to shared car
Server 10 so that shared vehicle server 10 can be bound user profile and terminal feature code, in the mistake of binding
Can first judge whether unlocking terminal has bound other users in journey, and can only it is determined that the unlocking terminal and it is unbound its
Follow-up operation is carried out in the case of his user;Then, shared vehicle server can correspond to according to user profile mandate and use
The authorized quantity of family information is N number of enabled code, such as:User profile can be customer consumption record information and/or user credit
Information, server 10 can determine the user corresponding to user according to customer consumption record information and/or user credit information
Grade, different user gradations correspond to the enabled code of varying number, such as user credit value makes corresponding between A~B
The quantity of energy code is S bars, and the quantity of enabled code of the user credit value corresponding between C~D is T bars;Based on user etc.
Level distributes N number of enabled code for the user profile, and N number of enabled code is sent into client 20 afterwards so that the base of client 20
Connected in wireless near field communication and send N number of enabled code to unlocking terminal 20;As further optimization and openly, enable
Code can have effective and invalid two states, and only effective enabled code is just with the work(started or activation unlocking code is sent
Can, unlocking terminal 20, which often sends a unlocking code, need to use an effectively enabled code, correspondingly describe in the present embodiment
The enabled code registered can refer to effectively enable code, and it can be marked as after at this, effectively enabled code is by use
Invalid, this preferred embodiment is not used as the restriction to the embodiment of the present invention, such as can be that enabled code only has a kind of shape
State, the work that can is completed to start when enabled code be present or activation unlocking code is sent, embodiment of above belong to this hair
The protection domain of bright embodiment.In embodiments of the present invention, share vehicle server 10 can according to user profile come for binding
In the enabled code of the unlocking terminal distribution respective numbers of user profile, and the quantity of enabled code corresponds to and uses unlocking code smart lock
Unlocking times;Such as can be corresponding user for the more unlocking times of the high unlocking terminal distribution of corresponding user credit value
The low small number of unlocking times of unlocking terminal distribution of credit value so that unlocking terminal can be based only upon wireless near field communication
Connection can be realized as the unlocking smart lock of certain number.
It is illustrated that the method for unlocking of the shared vehicle of another embodiment of the present invention in enabled code registration phase referring to Fig. 5 B
Schematic flow sheet, Fig. 5 B show the another way on enabling code registration, and the main distinction is:On the one hand, car is shared
Server 10 can determine the legitimacy of unlocking terminal according to terminal feature code, that is, determine whether client is to authorize
Unlocking terminal, and it is determined that just performing follow-up operation in the case of legal, thus guarantee enables the orientation legitimacy that code division is matched somebody with somebody;
It should be noted that the terminal feature code for being used to verify unlocking terminal legality in embodiments of the present invention can be unlocking code
A kind of form, such as when unlocking terminal is unlocking bracelet, the terminal feature code and unlocking code can be bracelet ID or hand
Ring other information;On the other hand, sharing vehicle server 10 can be corresponding for its distribution according to the unlocking times that user asks
The quantity for the enabled code that the enabled code of desired amt, wherein server 10 are distributed can directly be exactly that user's operation is selected
Unlocking times (unlocking times of desired amt), but more preferably, it is also contemplated that to the user profile institute shown in Fig. 5 A
Corresponding unlocking times (unlocking times of authorized quantity), such as:The authorized quantity N of enabled code corresponding to user credit information
It is 20, then the higher limit that can represent the exercisable unlocking times of user is just 20, that is, even if user's request makes
The desired amt of energy code is more than 20, and the size for being the quantity A of its allocated enabled code also should not be more than 20.By this hair
Bright embodiment so that user can participate in setting the quantity of enabled code, that is, user can actively set the de- of unlocking terminal
Machine unlocking times, it can reduce and be lost after unlocking terminal (such as bracelet of unlocking) is lost to caused by user, such as:One
Under kind application scenarios, share vehicle server 10 and determine that the unlocking code N of corresponding unlocking terminal is 20, in order to reduce loss wind
Unlocking times can be arranged to 15 of desired amt by danger, user.
Flow signal of the method for unlocking in the stage of unlocking of the shared vehicle of one embodiment of the invention is illustrated that referring to Fig. 6
Figure, the schematic flow sheet shown in the Fig. 6 can be deemed to be a kind of preferred embodiment of embodiment illustrated in fig. 4 method, mainly change
Enter to be to have used enabled code in figure 6 and send unlocking code to enable to complete to unlock, more specifically improve and optimization is:When
Unlocking terminal 30 complete to encrypt lock information unblock checking after or after determining that shared vehicle is available, judge to unlock eventually
With the presence or absence of enabled code in end 30;If enabled code is not present in unlocking terminal 30, do not start or deactivate the hair of unlocking code
Send;And code is enabled if existed in unlocking terminal 30, for example, it is pre-configured by registration phase, then opened using enabled code
Dynamic or activation sends unlocking code to smart lock, can also jointly the enabled code used be also sent into smart lock 40, by
This is realized based on enabled code to control the transmission of unlocking code.Need it is once more emphasized that, the enabled code in the embodiment of the present invention is
Unlocking code is sent for enabled, it does not indicate consumption information directly typically, because consumption information is typically after it is determined that successfully unlock
Just start to count (the more specifically details on the charging in the present embodiment for sharing vehicle will hereinafter be deployed), and
As long as user attempts to go to unlock in the present embodiment, as long as that is, user unlocked using enabled code enable transmission unlocking code
, whether the quantity that should just reduce the enabled code in unlocking terminal be successfully opened but regardless of smart lock, and it can be
For failure or can also be that the enabled code used directly deleted to (such as unlocking code issues intelligence by the enabled code labeling used
After locking, smart lock None- identified unlocking code and normal unlocking are caused because of failure cause);Unlocking code is identified in smart lock 40
(including enabled code, unlocking result, unlocking code, uncaging time, opened by performing unlocking action afterwards, and by unlocking statistical information
Lock place etc.) send to shared vehicle server 10 so that knowing unlocking result to start charging when unlocking successfully, and accordingly
Ground can be using partly or entirely sending to client to enter in client in the unlocking statistical information as unlocking end message
Row display.
It is illustrated that flow of the method for unlocking of the shared vehicle of one embodiment of the invention in the car locking stage is illustrated referring to Fig. 7
Figure, after user operates car locking, smart lock generation car locking information, and notify car locking information to shared vehicle server 10 and open
Terminal 30 is locked, bill of riding is generated at shared vehicle server 10, server 10 sends the bill to unlocking eventually afterwards
The client 20 of binding is held, client 20 can be that the bill is shown into user to make its payment, and complete to pay in user
Just finish whole ride afterwards.As a result, unlocking result and the notice for end of riding is notified to touch by smart lock
Send out charging project corresponding, can also supervise user ride complete after timely car locking, optimize the operation plan of shared vehicle
Slightly.
As the continuous consumption of the enabled code in unlocking terminal 30 is, it is necessary to which user and operator can be synchronously split in real time
The quantity of enabled code in lock terminal 30 safeguarded and updated, such as:Enabled code in the unlocking terminal 30 of first registers
Quantity is 20, but is used for unlocking terminal 15 times, is just only left 5 enabled codes, at this moment can be with user actively
And/or operator refills 20 enabled codes for bracelet automatically.It is specific as an example, can be as illustrated in FIG. 8 be to unlock
For method in the schematic flow sheet of synchronous phase, user can generate synchronization request at client 20 by user's operation, and one
Aspect, user's synchronization request can be sent to unlocking terminal 30, so that counting enabled code at unlocking terminal 30
Stock and send it to client 20, then client 20 can inform the user or show the enabled code stock, such as
This is enabled into code stock to be shown.On the other hand, user's synchronization request can be sent together with user profile to shared car
Server 10, and (detail can be by other be specific real herein for N number of enabled code according to corresponding to generating user profile
Apply the description of example), then server 10 sends the individual enabled codes of the N ' to unlocking terminal 30 via client 20 so that unlocking terminal
30 can update the stockpile number of enabled code.It should be noted that in the synchronous phase, user need again according to user profile come
The quantity of the enabled code corresponding with current user information is redistributed, for example, if being changed (example in user credit information
When such as reducing), the quantity N ' of the enabled code can be caused to be different from enabling corresponding to user profile during (being less than) registration phase
The quantity N of code.
In application scenes, user less may it is expected to be continuing with unlocking terminal to unlock, or want to use
Other users information binds unlocking terminal, it is necessary to unbinding relation between dual lock terminal and user profile, and empty
Enabled code in unlocking terminal and cause unlocking terminal that no longer there is unlocking function.It is specific as shown in figure 9, being based on and client 20
Interaction unbind request to produce user's operation to generate, and send to unbind in client 20 and ask to opening after unlocking terminal 30
The lock checking of terminal 30 unbinds request, is then unbinding requests verification by emptying the enabled code of stock in unlocking terminal afterwards, it
Afterwards the situation that empties of enabled code is notified, to server 10, to receive in server 10 via client 20 after enabled code is emptied
What client 20 was sent unbinds enabled code binding information of the renewal on the user profile after notice, and is sent out for client 20
Send confirmation to unbind information and can be shown at client 20 and inform that user unbinds success, thus complete to unbind operation.
One embodiment of the invention also provides a kind of client, smart lock, unlocking terminal and shared vehicle server respectively, should
Client, smart lock, unlocking terminal and shared vehicle server are stored with application program so that the client, smart lock, unlocking
Terminal and shared vehicle server are able to carry out the shared vehicle that foregoing embodiments are illustrated when running corresponding application program
Method for unlocking, such as the application program carried on the client can be the APP that shared car operation business is runed.
More specifically, the client for being suitable to be used for realizing the embodiment of the present application, smart lock are shown referring to Figure 10, is unlocked eventually
The structural representation of the hardware system of end or shared vehicle server, wherein computer system include CPU (CPU)
301, it can be loaded into random access according to the program being stored in read-only storage (ROM) 302 or from storage part 308
Program in memory (RAM) 303 and perform various appropriate actions and processing.In RAM303, system operatio is also stored with
Required various programs and data.CPU301, ROM 302 and RAM 303 are connected with each other by bus 304.Input/output
(I/O) interface 305 is also connected to bus 304.
I/O interfaces 305 are connected to lower component:Importation 306 including keyboard, mouse etc.;Penetrated including such as negative electrode
The output par, c 307 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage part 308 including hard disk etc.;
And the communications portion 309 of the NIC including LAN card, modem etc..Communications portion 309 via such as because
The network of spy's net performs communication process.Driver 310 is also according to needing to be connected to I/O interfaces 305.Detachable media 311, such as
Disk, CD, magneto-optic disk, semiconductor memory etc., it is arranged on as needed on driver 310, in order to read from it
Computer program be mounted into as needed storage part 308.
Especially, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product, it includes being tangibly embodied in machine readable
Computer program on medium, above computer program bag contain the program code for being used for the method shown in execution flow chart.At this
In the embodiment of sample, the computer program can be downloaded and installed by communications portion 309 from network, and/or from removable
Medium 311 is unloaded to be mounted.
The optional embodiment of the embodiment of the present invention is described in detail above in association with accompanying drawing, still, the embodiment of the present invention is simultaneously
The detail being not limited in above-mentioned embodiment, can be to of the invention real in the range of the technology design of the embodiment of the present invention
The technical scheme for applying example carries out a variety of simple variants, and these simple variants belong to the protection domain of the embodiment of the present invention.
It is further to note that each particular technique feature described in above-mentioned embodiment, in not lance
In the case of shield, it can be combined by any suitable means.In order to avoid unnecessary repetition, the embodiment of the present invention pair
Various combinations of possible ways no longer separately illustrate.
It will be appreciated by those skilled in the art that realize that all or part of step in above-described embodiment method is to pass through
Program instructs the hardware of correlation to complete, and the program storage is in the storage medium, including some instructions are causing list
Piece machine, chip or processor (processor) perform all or part of step for the method that each embodiment of the application is illustrated.
And foregoing storage medium includes:USB flash disk, mobile hard disk, 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.
In addition, it can also be combined between a variety of embodiments of the embodiment of the present invention, as long as it is not
The thought of the embodiment of the present invention is run counter to, it should equally be considered as disclosure of that of the embodiment of the present invention.