CN107492174B - Enabled code introduction method, client and the shared vehicle server of shared vehicle - Google Patents

Enabled code introduction method, client and the shared vehicle server of shared vehicle Download PDF

Info

Publication number
CN107492174B
CN107492174B CN201710737770.8A CN201710737770A CN107492174B CN 107492174 B CN107492174 B CN 107492174B CN 201710737770 A CN201710737770 A CN 201710737770A CN 107492174 B CN107492174 B CN 107492174B
Authority
CN
China
Prior art keywords
code
unlocking
enabled
shared vehicle
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710737770.8A
Other languages
Chinese (zh)
Other versions
CN107492174A (en
Inventor
潘卫平
薛辰宇
姜磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongxia Datong Beijing Management Consulting Co Ltd
Original Assignee
Dongxia Datong Beijing Management Consulting Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongxia Datong Beijing Management Consulting Co Ltd filed Critical Dongxia Datong Beijing Management Consulting Co Ltd
Priority to CN201710737770.8A priority Critical patent/CN107492174B/en
Publication of CN107492174A publication Critical patent/CN107492174A/en
Application granted granted Critical
Publication of CN107492174B publication Critical patent/CN107492174B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/0042Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects
    • G07F17/0057Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects for the hiring or rent of vehicles, e.g. cars, bicycles or wheelchairs

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The embodiment of the present invention provides a kind of enabled code introduction method, client and the shared vehicle server of shared vehicle, belongs to shared vehicular field.The enabled code introduction method of the shared vehicle applied to client includes:User information is sent to shared vehicle server;It is obtained from the shared vehicle server and enables code;Wireless near field communication is established between the unlocking terminal of the smart lock for sharing vehicle to connect;And the enabled code is sent to the unlocking terminal based on wireless near field communication connection, wherein, the enabled code sends unlocking code to the smart lock for enabling the unlocking terminal, and the unlocking code is pre-configured in the unlocking terminal, and can be identified by the smart lock to enable the smart lock execute unlocking action.Thus, it can be achieved that off line, which is unlocked, shares vehicle, and the enabled code for user information binding registration for enabled unlock, the operation management to share vehicle provide a kind of new strategy.

Description

Enabled code introduction method, client and the shared vehicle server of shared vehicle
Technical field
The present invention relates to shared technical field of vehicle, more particularly to a kind of enabled code introduction method of shared vehicle, visitor Family end, shared vehicle server and machine readable storage medium.
Background technology
With the arriving in " internet+" epoch, the innovation of Internet of Things science and technology being just difficult to expected speed to change with one kind People’s lives mode, wherein with share vehicle (such as shared bicycle, shared automobile etc.) be the technology of Internet of things of representative More successfully it has been dissolved into daily life.
The open and close control of the lock of shared vehicle is the important link of shared bicycle operation, to shared in presently relevant technology The open and close control of vehicle can be mainly:User scans the two-dimensional code or is manually entered shared information of vehicles using mobile phone app, so After send it to shared car operation quotient cloud platform to verify and be authorized from it, and with this come shared vehicle of unlocking .
Present inventor has found in the implementation of the present invention, the said program of presently relevant technology at least have with Lower defect:On the one hand, user is needed by carrying out corresponding operation to mobile phone to input shared information of vehicles so that operation is compared It is cumbersome, user experience is affected, and there are many illegal users and damaged to the Quick Response Code or information of vehicles of sharing vehicle, Cause other users that can not get Quick Response Code and shared information of vehicles about shared vehicle to be used, and has seriously affected altogether Enjoy the normal operation of vehicle;On the other hand, it needs to complete authentication vs. authorization in cloud server end so that residing for shared vehicle When networked environments are poor or abnormal, it can seriously spend user stand-by period even it is also possible to can lead to not open shared vehicle .
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.
Description of the drawings
Attached drawing is further understood to the embodiment of the present invention for providing, an and part for constitution instruction, under The specific implementation mode in face is used to explain the embodiment of the present invention together, but does not constitute the limitation to the embodiment of the present invention.Attached In figure:
Attached drawing is further understood to the embodiment of the present invention for providing, an and part for constitution instruction, under The specific implementation mode in face is used to explain the embodiment of the present invention together, but does not constitute the limitation to the embodiment of the present invention.Attached In figure:
Fig. 1 is the system framework schematic diagram using the method for unlocking of the shared vehicle of one embodiment of the invention;
Fig. 2 is the flow diagram of the method for unlocking of the shared vehicle of one embodiment of the invention;
Fig. 3 is the flow diagram of the method for unlocking of the shared vehicle of one embodiment of the invention;
Fig. 4 is the flow diagram of the method for unlocking of the shared vehicle of one embodiment of the invention;
Fig. 5 A are flow diagram of the method for unlocking in enabled code registration phase of the shared vehicle of one embodiment of the invention;
Fig. 5 B are flow signal of the method for unlocking in enabled code registration phase of the shared vehicle of another embodiment of the present invention Figure;
Fig. 6 is that the method for unlocking of the shared vehicle of one embodiment of the invention enables the flow signal in code unlocking stage in application Figure;
Fig. 7 shows flow diagram of the method for unlocking in the car locking stage of the shared vehicle of one embodiment of the invention;
Fig. 8 shows that the method for unlocking of the shared vehicle of one embodiment of the invention shows in the flow of enabled code synchronous phase It is intended to;
Fig. 9 is flow signal of the method for unlocking in the enabled code unbinding stage of the shared vehicle of one embodiment of the invention Figure;
Figure 10 shows client, smart lock, unlocking terminal or shared vehicle suitable for being used for realizing the embodiment of the present application The structural schematic diagram of the hardware system of server.
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.

Claims (17)

1. a kind of enabled code introduction method of shared vehicle, which is characterized in that the enabled code introduction method is applied to client, should Method includes:
User information is sent to shared vehicle server;
It is obtained from the shared vehicle server and enables code;
Wireless near field communication is established between the unlocking terminal of the smart lock for sharing vehicle to connect;And
The enabled code is sent based on wireless near field communication connection to the unlocking terminal,
Wherein, the enabled code sends unlocking code to the smart lock and the unlocking code for enabling the unlocking terminal It is pre-configured in the unlocking terminal, and can be identified by the smart lock to enable the smart lock execute unlocking action.
2. according to the method described in claim 1, it is characterized in that, enabling code in described obtained from the shared vehicle server Before, this method further includes:
Obtain the terminal feature code of the unlocking terminal;And
The terminal feature code is sent to shared vehicle server.
3. according to the method described in claim 1, it is characterized in that, described enabled acquired in the shared vehicle server Code is the enabled code corresponding to the authorized quantity of the user information.
4. according to the method described in claim 1, it is characterized in that, obtained before enabling code from the shared vehicle server, This method further includes:
The desired amt of the desired enabled code of user is sent to the shared vehicle server,
Wherein, the enabled code obtained from the shared vehicle server is the enabled code of the desired amt, the expectation number Amount is less than or equal to the authorized quantity of the enabled code corresponding to the user information.
5. according to the method described in claim 1, it is characterized in that, the mode of wireless near field communication connection includes to be selected from With one or more of following communication mode:Bluetooth, wifi, NFC and ZigBee.
6. method according to any one of claims 1-5, which is characterized in that the unlocking terminal is comprising selected from following One or more of the portable device near field communication (NFC) function:Wearable product, card and mini player.
7. according to the method described in claim 6, it is characterized in that, the wearable product include selected from one of following or More persons:Bracelet, wrist-watch, gloves and hanging buckle.
8. according to the method described in claim 1, it is characterized in that, the shared vehicle includes selected from one of following or more Person:Shared bicycle, shared motorcycle and shared automobile.
9. a kind of enabled code introduction method of shared vehicle, which is characterized in that this method is applied to shared vehicle server, described Method includes:
Received from the user information transmitted by client;
Determine the enabled code corresponding to the user information;And
The enabled code is sent to the client;
Wherein, the enabled code is pre-configured in for enabling unlocking terminal transmission unlocking code to smart lock and the unlocking code The unlocking terminal, and can be identified by the smart lock to enable the smart lock execute unlocking action.
10. according to the method described in claim 9, it is characterized in that, it is described send the enabled code to the client before, This method further includes:
Obtain the terminal feature code of the unlocking terminal;
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 sent to the client and enable code.
11. according to the method described in claim 9, it is characterized in that, the determination corresponds to the enabled code of the user information Including:
Determine the user class corresponding to the user information;
Determine the authorized quantity of the enabled code corresponding to the user class;And
Determine the enabled code of the authorized quantity.
12. according to the method for claim 11, which is characterized in that the determination corresponds to the enabled code of the user information Including:
The desired amt about the enabled code is received from client;
Compare the desired amt and the authorized quantity;
When the desired amt is more than the authorized quantity, the enabled code of the authorized quantity is determined as described corresponding to institute State the enabled code of user information;And
When the desired amt is less than or equal to the authorized quantity, it is described right that the enabled code of the desired amt is determined as The enabled code of user information described in Ying Yu.
13. according to the method described in claim 9, it is characterized in that, the user information includes user credit information and/or use Family consumption recording information.
14. a kind of client, which is characterized in that require the enabled of the shared vehicle described in any one of 1-8 for perform claim Code introduction method.
15. client according to claim 14, which is characterized in that the client includes mobile phone and/or tablet computer.
16. a kind of shared vehicle server, which is characterized in that require the shared vehicle described in any one of 9-13 for perform claim Enabled code introduction method.
17. a kind of machine readable storage medium, which is characterized in that be stored with instruction on the machine readable storage medium, the instruction For making machine perform claim require the enabled code introduction method of the shared vehicle described in any one of 1-13.
CN201710737770.8A 2017-08-24 2017-08-24 Enabled code introduction method, client and the shared vehicle server of shared vehicle Active CN107492174B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710737770.8A CN107492174B (en) 2017-08-24 2017-08-24 Enabled code introduction method, client and the shared vehicle server of shared vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710737770.8A CN107492174B (en) 2017-08-24 2017-08-24 Enabled code introduction method, client and the shared vehicle server of shared vehicle

Publications (2)

Publication Number Publication Date
CN107492174A CN107492174A (en) 2017-12-19
CN107492174B true CN107492174B (en) 2018-07-27

Family

ID=60646645

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710737770.8A Active CN107492174B (en) 2017-08-24 2017-08-24 Enabled code introduction method, client and the shared vehicle server of shared vehicle

Country Status (1)

Country Link
CN (1) CN107492174B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737772A (en) * 2019-10-14 2020-01-31 北京首汽智行科技有限公司 question text processing method
CN112124247B (en) * 2020-09-18 2022-04-22 上海钧正网络科技有限公司 Vehicle lock control method and device and computer readable storage medium
CN112530094B (en) * 2020-11-18 2021-08-24 深圳易马达科技有限公司 Lease control method and device, equipment side and client side

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799960A (en) * 2009-02-10 2010-08-11 上海永久自行车有限公司 Vehicle-leasing system capable of simultaneously leasing a plurality of vehicles with one card, and vehicle leasing-returning method therefor
JP5299828B2 (en) * 2000-08-18 2013-09-25 清昭 河西 Bicycle rental system
CN106534080A (en) * 2016-10-20 2017-03-22 雷飏 Object access authority management method and corresponding background system, device and user terminal
CN106548555A (en) * 2016-12-28 2017-03-29 北京拜克洛克科技有限公司 A kind of method for unlocking and user terminal of intelligent bicycle lock
CN106600797A (en) * 2017-01-25 2017-04-26 北京信通力创科技有限公司 Dynamic graphic password lock, server, sharing system and unlocking and locking methods thereof
CN106875223A (en) * 2017-02-21 2017-06-20 上海量明科技发展有限公司 Share implementation, client and the system of vehicle
CN106997632A (en) * 2017-05-24 2017-08-01 长兴芯科物联科技有限公司 A kind of locking device and method for unlocking based on low coverage wireless technology

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020118095A1 (en) * 2001-02-26 2002-08-29 Lance Estes Shared access personal storage locker apparatus, system and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5299828B2 (en) * 2000-08-18 2013-09-25 清昭 河西 Bicycle rental system
CN101799960A (en) * 2009-02-10 2010-08-11 上海永久自行车有限公司 Vehicle-leasing system capable of simultaneously leasing a plurality of vehicles with one card, and vehicle leasing-returning method therefor
CN106534080A (en) * 2016-10-20 2017-03-22 雷飏 Object access authority management method and corresponding background system, device and user terminal
CN106548555A (en) * 2016-12-28 2017-03-29 北京拜克洛克科技有限公司 A kind of method for unlocking and user terminal of intelligent bicycle lock
CN106600797A (en) * 2017-01-25 2017-04-26 北京信通力创科技有限公司 Dynamic graphic password lock, server, sharing system and unlocking and locking methods thereof
CN106875223A (en) * 2017-02-21 2017-06-20 上海量明科技发展有限公司 Share implementation, client and the system of vehicle
CN106997632A (en) * 2017-05-24 2017-08-01 长兴芯科物联科技有限公司 A kind of locking device and method for unlocking based on low coverage wireless technology

Also Published As

Publication number Publication date
CN107492174A (en) 2017-12-19

Similar Documents

Publication Publication Date Title
CN107578503B (en) Method for unlocking, unlocking terminal and the smart lock of shared vehicle
CN105308607B (en) Trusted device
CN107293057B (en) Article uses control method, equipment, system, article and server
CN107492174B (en) Enabled code introduction method, client and the shared vehicle server of shared vehicle
JP2019526199A (en) Method and system realized by blockchain
CN108235291A (en) A kind of safety certification device and method for vehicle anti-theft
CN100583114C (en) System and method for remote security enablement
CN108665337A (en) A kind of Vehicular system and its virtual key authentication method
US20190392543A1 (en) System and method for managing access to parking zone
CN110535950B (en) Intelligent lock control method, device, system and storage medium
JP2019191753A (en) Sharing system
CN110267269A (en) Auth method and device, storage medium, the electronic device of mobile terminal
CN105320880B (en) The control method and device of terminal
CN104709238A (en) Vehicle remote control method and mobile device
CN105992125B (en) Method and device for protecting safety of electronic equipment
CN103065242A (en) Method and device for communication between an automobile vehicle and payment means
CN109840972A (en) Relay, storage are for the storage medium of the program of relay and the control method of relay
CN110033538A (en) A kind of method for unlocking and its device of shared automobile
CN109754505B (en) Unlocking method and device based on IC card
CN110414699A (en) A kind of hotel occupancy method and system, computer readable storage medium
CN109711945A (en) A kind of vehicle sharing method and relevant apparatus
CN110852851B (en) Block chain-based vehicle sharing method, device and readable storage medium
CA2800939C (en) A method of authorizing a person, an authorizing architecture and a computer program product
CN107393100B (en) Enabled code synchronous method, client and the shared vehicle server of shared vehicle
CN115009076A (en) Charging method and device for charging pile, server and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20190430

Granted publication date: 20180727

PD01 Discharge of preservation of patent
PD01 Discharge of preservation of patent

Date of cancellation: 20190830

Granted publication date: 20180727

PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20190830

Granted publication date: 20180727

PD01 Discharge of preservation of patent
PD01 Discharge of preservation of patent

Date of cancellation: 20220830

Granted publication date: 20180727

PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20220830

Granted publication date: 20180727