Invention content
The purpose of the embodiment of the present invention is to provide a kind of enabled code introduction method, client and the shared vehicle of shared vehicle
Server, to solve the above-mentioned at least one technical problem illustrated in the prior art.
To achieve the goals above, on the one hand the embodiment of the present invention provides a kind of enabled code introduction method of shared vehicle,
The enabled code introduction method is applied to client, and this method includes:User information is sent to shared vehicle server;From described total
It enjoys vehicle server and obtains enabled code;Wireless near field communication is established between the unlocking terminal of the smart lock for sharing vehicle
Connection;And the enabled code is sent to the unlocking terminal based on wireless near field communication connection, wherein described enabled
Code is pre-configured in the unlocking eventually for enabling unlocking terminal transmission unlocking code to the smart lock and the unlocking code
End, and can be identified by the smart lock to enable the smart lock execute unlocking action.
Optionally, before the enabled code from the shared vehicle server acquisition, this method further includes:It obtains
The terminal feature code of the unlocking terminal;And the terminal feature code is sent to shared vehicle server.
Optionally, the enabled code acquired in the shared vehicle server is awarding corresponding to the user information
The enabled code of flexible strategy amount.
Optionally, before obtaining the enabled code from the shared vehicle server, the method further includes:Send user
The desired amt of desired enabled code is to the shared vehicle server, wherein the institute obtained from the shared vehicle server
The enabled code that enabled code is the desired amt is stated, which is less than or equal to the enabled code corresponding to the user information
Authorized quantity.
Optionally, the mode of the wireless near field communication connection includes and is selected to lead to one or more of following
Letter mode:Bluetooth, wifi, NFC and ZigBee.
Optionally, the unlocking terminal is comprising having near field communication (NFC) function just selected from one or more of following
Portable device:Wearable product, card and mini player.
Optionally, the wearable product includes selected from one or more of following:Bracelet, wrist-watch, gloves and extension
Button.
Optionally, the shared vehicle includes selected from one or more of following:Shared bicycle, shared motorcycle with
And shared automobile.
On the other hand the embodiment of the present invention provides a kind of enabled code introduction method of shared vehicle, which is applied to
Shared vehicle server, the method for unlocking include:Received from the user information transmitted by client;It determines and corresponds to the use
The enabled code of family information;And the enabled code is sent to the client;Wherein, the enabled code is for enabling the unlocking
Terminal sends unlocking code to the smart lock and the unlocking code and is pre-configured in the unlocking terminal, and can be by the intelligence
Identification can be locked to enable the smart lock execute unlocking action.
Optionally, before the transmission enabled code to the client, this method further includes:Obtain the unlocking eventually
The terminal feature code at end;Verify whether the unlocking terminal is authorized to according to the terminal feature code;And if the unlocking
Terminal is authorized to, it is determined that is sent to the client and enables code.
Optionally, the determination correspond to the user information enabled code include:It determines corresponding to the user information
User class;Determine the authorized quantity of the enabled code corresponding to the user class;And determine making for the authorized quantity
It can code.
Optionally, the determination correspond to the user information enabled code include:Being received from client makes about described
The desired amt of energy code;Compare the desired amt and the authorized quantity;When the desired amt is more than the authorized quantity
When, the enabled code of the authorized quantity is determined as the enabled code for corresponding to the user information;And work as the expectation
When quantity is less than or equal to the authorized quantity, the enabled code of the desired amt is determined as described corresponding to user letter
The enabled code of breath.
Optionally, the user information includes that user credit information and/or customer consumption record information.
On the one hand the embodiment of the present invention provides a kind of client, the enabled code importing side for executing above-mentioned shared vehicle
Method.
Optionally, the client includes mobile phone and/or tablet computer.
On the other hand the embodiment of the present invention provides a kind of shared vehicle server, for executing making for above-mentioned shared vehicle
It can code introduction method.
The another aspect of the embodiment of the present invention provides a kind of machine readable storage medium, is stored on the machine readable storage medium
There is instruction, the instruction is for so that machine executes the enabled code introduction method of above-mentioned shared vehicle.
Through the above technical solutions, on the one hand, near radio unlocking technology is applied to shared vehicle so that unlock eventually
End can send the unlocking code for enabling 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, improves use
It experiences at family;Second, using the unlock scheme of short distance during unlock, long-range high in the clouds data interaction is omitted
Journey greatly improves 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 executed, does not need user and input unlocking information, that is, need not be by the Quick Response Code of shared vehicle
Or vehicle ID can be realized as unlock vehicle, ensure the normal operation of shared vehicle.On the other hand, logical based near radio
Letter will be distributed for the enabled enabled code unlocked to unlocking terminal, be realized for user information binding registration for enabled unlock
Enabled code so that shared car operation quotient can be based on being unlocked to enabling the configuration of code to manage the off line of shared vehicle
The operation management of shared vehicle provides a kind of new strategy.
The other feature and advantage of the embodiment of the present invention will be described in detail in subsequent specific embodiment part.
Specific implementation mode
The specific implementation mode of the embodiment of the present invention is described in detail below in conjunction with attached drawing.It should be understood that this
The described specific implementation mode in place is merely to illustrate and explain the present invention embodiment, is not intended to restrict 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, it should be noted that client shown in Fig. 1
20 form is mobile phone, but the mobile phone is replaced into tablet computer and should also be as the protection domain for belonging to the embodiment of the present invention;In Fig. 1
Shown in unlocking terminal 30 form be bracelet, but by the bracelet be replaced into wrist-watch, gloves, hanging buckle etc. have 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 devices such as mini player should also be as the protection domain for being deemed to be the embodiment of the present invention.Although also, in Fig. 1
Shown in share the form of vehicle be 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 solution of the embodiment of the present invention below, but
It is understood that should belong to of the invention real to the simple form variation as escribed above that following selected term is made
Apply the protection domain of example.In embodiment framework as shown in Figure 1, about the short distance between unlocking terminal 30 and smart lock 40
The mode of wireless communication connection can select the close range wireless communication modes such as bluetooth, wifi, NFC, ZigBee, of the invention real
It applies in example and is not construed as limiting, shared vehicle is unlocked based on wireless near field communication connection it is possible thereby to realize, about the present embodiment
The details of framework more specifically is unfolded to illustrate hereinafter in conjunction with other specific embodiment methods.
Referring to Fig. 2 shows be one embodiment of the invention shared vehicle method for unlocking flow diagram, 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 execute unlocking action after being identified by, and is achieved in the intelligence for closely unlocking and sharing vehicle
40 can be locked.About the explanation of the unlocking code, as an example, the unlocking code, which can be shared car operation quotient, 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
It is able to carry out unlocking action 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 is identified as unlocking code
The information received can execute unlocking action when including bracelet ID.Preferably, can judge to meet in unlocking terminal certain
Condition (determine shared vehicle available) after just send unlocking code, to ensure the safety and reliability of unlocking code, more
Concrete details will be unfolded in conjunction with hereafter other embodiment.
A kind of preferred embodiment of embodiment illustrated in fig. 2 is shown referring to Fig. 3, mainly due to the peace of split code-locked
Entirely, the purpose reliably used, and it is intended to the optimization made by dual lock terminal 30, that is, judge to meet centainly in unlocking terminal
Condition after just send unlocking code.More specifically, as shown in figure 3, including before sending unlocking code 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 be used according to information of vehicles;
Step 203:Unlocking terminal 30 is determining that shared vehicle is available, just sends unlocking code to smart lock 40.
And step 204:It determines that shared vehicle is not available in unlocking terminal 30, does not send unlocking code to intelligence
Lock 40.
It, can be with it should be noted that available and not available meaning and the explanation of the shared vehicle about short distance connection
Refer to whether shared vehicle is that share vehicle (can be by smart lock and unlocking for target that shared car operation quotient is authorized
Between terminal interaction about encryption lock information and corresponding public key verifications come what is realized, specifically will hereinafter be unfolded),
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 be unfolded) in the shared vehicle.
In the present embodiment, unlocking terminal 30 can be verified shared received by the smart lock 40 before sending unlocking code
Whether the information of vehicles of vehicle disclosure satisfy that certain condition to determine whether shared vehicle can be used, and only when shared vehicle is available
Unlocking code can just be sent to unlock smart lock.Thus on the one hand, by adding condition of the triggering unlocking code at shared vehicle,
It avoids the random unofficial biography of unlocking code and ensures the safety of unlocking code;On the other hand so that the unlocking that unlocking terminal is sent out
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 added at unlocking terminal 30
The condition of unlocking code is sent, such as when determining 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, terminal of unlocking 30 sends unlocking code to smart lock 40;
And if user's operation does not match user's operation standard, terminal of unlocking 30 does not send unlocking code to smart lock 40.It can be with
Understand, the action type of the user's operation of unlocking terminal should be not construed as limiting, for example, unlocking terminal is configured with dynamic
Make sensor, user's operation can be action at this time, 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
Ability determination can be sent open when the gesture motion of user meets prearranged gesture action (for example whether detecting that left and right is shaken 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
It has carefully carried out connecting and also identifying that shared vehicle is available with shared vehicle, but due to not detecting corresponding user behaviour
Make, unlocking terminal be still will not send the unlocking code, and can only user execute specific operation come secondary-confirmation it
Just send unlocking code afterwards, 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 executed to step 202
And example, wherein information of vehicles includes encryption lock information, and 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 quotient, so the lock decipherment algorithm, which can be shared car operation quotient, is pre-configured in unlocking eventually
In end 30 so that unlocking terminal 30 can decrypt it when receiving encryption lock information under normal circumstances, it is possible thereby to
Determine whether shared vehicle is whether vehicle that shared car operation quotient is authorized and received encryption lock information close
Method (for example whether have be tampered or the risk of bug);It is calculated more specifically, unlocking terminal 30 can be decrypted by preset lock
Method is gone out lock id information with public key decryptions and is verified the legitimacy of smart lock with this.Preferably, when unlocking terminal 30 receives
When 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 records information, cushion damage record information etc..The method for unlocking includes:When encryption lock information is successfully decrypted
When, judge whether the use state for sharing vehicle is normal based on vehicle maintenance information;Can be simply by the presence of vehicle maintenance information,
It should just determine that the use state of shared vehicle is abnormal, can also be to be defined based on the quantity of vehicle maintenance information or type
The normal operating condition or abnormal using state of the vehicle.If the judging result about use state is abnormal, it is determined that altogether
It is unavailable to enjoy vehicle;If the judging result about use state is normal, it is determined that shared vehicle is available.
A kind of preferred embodiment that embodiment illustrated in fig. 2 is shown referring to Fig. 4, is directed primarily to the excellent of smart lock 40
Change, is on the one hand considered for the electric energy continuation of the journey for sharing vehicle, the short-range communication function of smart lock 40 can not be always
State in enabling, and can be that smart lock 40 detects user's operation, and when the user's operation that detect meet it is presetting
The wireless near field communication function of smart lock 40 is just activated when user's operation condition;More specifically, being received about smart lock 40
To user's operation can be realized by the way that whether the button on induced intelligent lock 40 is pressed.Preferably, in shared vehicle
Wireless near field communication function be activated after, smart lock 40 is searched for attachable at least one wireless near field communication and is set
It is standby, and identify that matching request that wireless near field communication equipment emitted 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 determined as unlocking terminal, and sends out and fit through to unlocking terminal
Response, thus smart lock 40 is established wireless near field communication with unlocking terminal 30 and is connect.For example, can be according to smart lock
It is scheduled whether the signal identification information of the received matching request and signal strength about the matching request meet
Signal Matching standard determines 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 quotient) of equipment, can also also be asked by the matching is judged
Whether the signal strength asked filters out the wireless near field communication equipment to be connected enough, and is determined as unlocking eventually
End.On the other hand, after the lock of shared vehicle executes unlocking action, unlocking statistical information is generated, by statistical information of unlocking
It is sent to shared vehicle server and unlocking terminal, which includes uncaging time information, unlocking code or unlock ground
Point information etc., it is possible thereby to know and record the unlocking shape of shared vehicle at shared vehicle server 10 and in unlocking terminal 30
Condition, convenient shared vehicle service quotient make subsequent 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 total
Operation maintenance of the car operation quotient to shared vehicle is enjoyed, can be divided to the unlocking user of shared vehicle also for operator can be allowed
Unlocking authority with finite number of time is to manage the user group of shared vehicle, and the embodiment of the invention also discloses making about unlocking code
Energy code, the wherein enabled code can be used to enabled unlocking terminal 30 and be connected to the transmission of smart lock 40 by wireless near field communication
The instruction of the quantity of the unlocking code and enabled code is enabled to send the unlocking synchronous codes number, such as can be often enabled transmission
The quantity of enabled code is just subtracted 1 (or subtracting other numerical value) by primary unlocking code.As described above, the use about enabled code can
Can be completed based on operator to be in unlocking terminal, and about the configuration of enabled code (the especially configuration of quantity)
, for example, operator can according to user information (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 user group to sharing vehicle by enabling code
Effect operation enables code more specifically configuration and application about this and is described hereinafter in conjunction with specific embodiment expansion.
Below with reference to the registration phase of enabled code, the service stage of enabled code and enabled code synchronous phase etc. about enabled
The details expansion in multiple stages of code and the multiple stages used in shared vehicle is described.
Show 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 flow diagram, 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 is bracelet, which can be bracelet letter
Breath, and it should be noted that the terminal feature code can be exactly code of unlocking, can also be relevant with unlocking code and be used to refer to
The information of the unlocking code, is not limited thereto;Then, user's operation client 20, client 20 can be comprising mobile phone, tablet
The portable users smart machine such as computer can be pre-configured with user information, such as logged on mobile phone by user
The APP of car operation quotient is shared to obtain user information;User's operation about client 20 can be for example by with client
The display interface interaction (such as click content control) in application program of the application program at end 20, or pressed with client 20
The hardware such as key interact to realize the user's operation;Later, user information and terminal feature code are sent to shared vehicle by client 20
Server 10 so that shared vehicle server 10 can bind user information and terminal feature code, in the mistake of binding
Can first judge whether unlocking terminal has bound other users in journey, and can only determine the unlocking terminal and it is unbound its
Subsequent operation is carried out in the case of his user;Then, shared vehicle server can correspond to according to user information mandate and use
The authorized quantity of family information is N number of enabled code, such as:User information can be customer consumption record information and/or user credit
Information, server 10 can record information and/or user credit information to determine the user corresponding to user according to customer consumption
Grade, different user gradations correspond to different number enabled code, such as user credit value for A~B between corresponding to make
The quantity of energy code is that the quantity of S items and user credit value enabled code corresponding between C~D is T items;Based on user etc.
Grade is that the user information distributes N number of enabled code, and N number of enabled code is sent to client 20 later so that 20 base of client
It is connected in wireless near field communication and N number of enabled code is sent 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, it can be marked as after at this, effectively enabled code is by use
In vain, this preferred embodiment is not used as the restriction to the embodiment of the present invention, such as can enable code only to have a kind of shape
State can complete the work for starting or activating unlocking code to send when there is the when of enabling code, and embodiment of above belongs to this hair
The protection domain of bright embodiment.In embodiments of the present invention, sharing vehicle server 10 can be according to user information come for binding
In the enabled code of the unlocking terminal distribution respective numbers of user information, 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.
Show 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
Flow diagram, Fig. 5 B show that the another way registered about enabled code, the main distinction are:On the one hand, vehicle 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 subsequent operation is just executed in the case where determining legal, thus ensure the orientation legitimacy for enabling code distribution;
It should be noted that in embodiments of the present invention for verify the terminal feature code of unlocking terminal legality can be unlocking code
A kind of form, such as when unlocking terminal be unlocking bracelet when, 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 user information 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 upper limit value that can represent the operable 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 the quantity that enabled code is arranged, that is, the de- of unlocking terminal can be actively arranged in user
Machine unlocking times can be reduced to loss caused by user after unlocking terminal (such as bracelet of unlocking) is lost, such as:One
Under kind application scenarios, shares vehicle server 10 and determine that the unlocking code N of corresponding unlocking terminal is 20, in order to reduce loss wind
Danger, user can set unlocking times to 15 of desired amt.
Flow signal of the method for unlocking in the stage of unlocking of the shared vehicle of one embodiment of the invention is shown referring to Fig. 6
Figure, the flow diagram shown in fig. 6 can be deemed to be a kind of preferred embodiment of embodiment illustrated in fig. 4 method, mainly change
It enables to send unlocking code to complete to unlock into being to have used enabled code in figure 6, more specifically improves and optimization is:When
After unlocking terminal 30 completes after verifying the unlock for encrypting lock information or determine that shared vehicle is available, judge to unlock whole
With the presence or absence of enabled code in end 30;If not starting or deactivating the hair of unlocking code there is no enabled code in unlocking terminal 30
It send;And code is enabled if existed in unlocking terminal 30, such as be pre-configured by registration phase, then it is opened using enabled code
Dynamic or activation sends unlocking code to smart lock, jointly can also the used enabled code be also sent to smart lock 40, by
This realizes the transmission that unlocking code is controlled based on enabled 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, does not indicate consumption information directly generally, because consumption information is generally after determining successfully unlocking
Just start to count (the more specific details for closing the charging for sharing vehicle in this present embodiment will be hereinafter unfolded), 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, can be
By used enabled code labeling be failure or can also be directly will used enabled code deletion (such as unlocking code issues intelligence
After capable of locking, smart lock None- identified unlocking code and normal unlocking are led to because of failure cause);Unlocking code is identified in smart lock 40
It (including enabled code, unlocking result, unlocking code, uncaging time, is opened by executing unlocking action later, and by unlocking statistical information
Lock place etc.) it is sent to shared vehicle server 10 so that start charging when knowing that unlocking result is to unlock successfully, and corresponding
Ground can will some or all of in the unlocking statistical information as unlocking end message be sent to client with client into
Row display.
Show 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's operation car locking, smart lock generates car locking information, and notifies car locking information to shared vehicle server 10 and open
Terminal 30 is locked, bill of riding is generated at shared vehicle server 10, the bill is sent to and unlocks eventually by server 10 later
It can the bill is shown to user to enable its payment, and complete to pay in user to hold the client 20 of binding, client 20
Just finish entire ride later.As a result, notifying unlocking result and the notice for end of riding 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.
With the continuous consumption of the enabled code in unlocking terminal 30, need user can be synchronous split in real time with operator
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 is that bracelet refills 20 enabled codes automatically.Specifically as an example, can be to unlock as illustrated in FIG. 8
For method in the flow diagram 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, and code is enabled so that being counted at unlocking terminal 30
Inventory and send it to client 20, then client 20 can inform the user or show the enabled code inventory, such as
This is enabled code inventory to show.On the other hand, which can be sent to shared vehicle together with user information
Server 10, and corresponding N number of enabled code generated according to user information (detail can be by other be specific real herein
Apply the description of example), then server 10 sends a 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 information come
The quantity of enabled code corresponding with current user information is redistributed, for example, if changing (example in user credit information
When such as reducing), it is enabled corresponding to user information when (being less than) registration phase can so that the quantity N ' of the enabled code is different from
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 relationship between dual lock terminal and user information, and empty
Enabled code in unlocking terminal and make unlocking terminal that no longer there is unlocking function.It is specific as shown in figure 9, being based on and client 20
Interaction generate user's operation to generate unbundlings request, and send unbundlings request to opening after unlocking terminal 30 in client 20
The verification unbundlings request of terminal 30 is locked, then empties the enabled code of inventory in unlocking terminal after in unbundlings requests verification, it
Afterwards the situation that empties of enabled code is notified, to server 10, to receive in server 10 via client 20 after emptying enabled code
Enabled code binding information of the update about the user information after the unbundlings notice that client 20 is sent, and sent out for client 20
It send confirmation unbundlings information and can be shown at client 20 and inform that user unbinds successfully, thus complete unbundlings 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 it can be the APP that shared car operation quotient is runed to carry application program on the client.
More specifically, showing the client for being suitable for being used for realizing the embodiment of the present application referring to Figure 10, smart lock, unlocking eventually
The structural schematic diagram of the hardware system of end or shared vehicle server, wherein computer system includes central processing unit (CPU)
301, random access can be loaded into according to the program being stored in read-only memory (ROM) 302 or from storage section 308
Program in memory (RAM) 303 and execute various actions appropriate and processing.In RAM303, it is also stored with system operatio
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.
It is connected to I/O interfaces 305 with lower component:Importation 306 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 307 of spool (CRT), liquid crystal display (LCD) etc. and loud speaker etc.;Storage section 308 including hard disk etc.;
And the communications portion 309 of the network interface card including LAN card, modem etc..Communications portion 309 via such as because
The network of spy's net executes 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. are mounted on driver 310, as needed in order to be read from thereon
Computer program be mounted into storage section 308 as needed.
Particularly, 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 comprising be tangibly embodied in machine readable
Computer program on medium, above computer program include the program code for method shown in execution flow chart.At this
In the embodiment of sample, which 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 attached drawing, still, the embodiment of the present invention is simultaneously
The detail being not limited in the above embodiment can be to of the invention real in the range of the technology design of the embodiment of the present invention
The technical solution for applying example carries out a variety of simple variants, these simple variants belong to the protection domain of the embodiment of the present invention.
It is further to note that specific technical features described in the above specific embodiments, 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 it is that can pass through to implement the method for the above embodiments
Program is completed to instruct relevant hardware, which is stored in a storage medium, including some instructions are used so that single
Piece machine, chip or processor (processor) execute all or part of step for the method that each embodiment of the application is illustrated.
And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.
In addition, arbitrary combination can also be carried out between a variety of different embodiments of the embodiment of the present invention, as long as it is not
The thought of the embodiment of the present invention is violated, disclosure of that of the embodiment of the present invention is equally should be considered as.