CN109685996A - Smart lock control method, smart lock and smart lock server - Google Patents

Smart lock control method, smart lock and smart lock server Download PDF

Info

Publication number
CN109685996A
CN109685996A CN201811302947.2A CN201811302947A CN109685996A CN 109685996 A CN109685996 A CN 109685996A CN 201811302947 A CN201811302947 A CN 201811302947A CN 109685996 A CN109685996 A CN 109685996A
Authority
CN
China
Prior art keywords
card
smart
smart lock
unlocking
server
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.)
Pending
Application number
CN201811302947.2A
Other languages
Chinese (zh)
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.)
Beijing Baikeluoke Technology Co Ltd
Original Assignee
Beijing Baikeluoke Technology 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 Beijing Baikeluoke Technology Co Ltd filed Critical Beijing Baikeluoke Technology Co Ltd
Priority to CN201811302947.2A priority Critical patent/CN109685996A/en
Publication of CN109685996A publication Critical patent/CN109685996A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • G06Q20/349Rechargeable cards
    • 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/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • 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

Abstract

The embodiment of the present invention provides a kind of smart lock control method, smart lock and smart lock server, belongs to vehicular field.The described method includes: obtaining the card image of the smart card recognized near field communication range;Request of unlocking is generated, the request of unlocking includes at least the identification information of the card image and the smart lock;Unlocking request is sent to smart lock server;The smart lock server is received according to the feedback information for unlocking and requesting and sending, the feedback information includes the true and false result and/or fee deduction instruction of the smart card;And unlocking operation is executed according to the feedback information.It improves the user experience user come lock that is convenient, quickly opening shared vehicle, by way of swiping the card.

Description

Smart lock control method, smart lock and smart lock server
Technical field
The present invention relates to vehicular fields, more particularly to a kind of smart lock control method, smart lock and smart lock server.
Background technique
With the arriving in " internet+" epoch, the innovation of Internet of Things science and technology is just difficult to expected speed with one kind to change 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.
In the related technology, user needs to open client when using shared vehicle, to the two-dimensional code scanning of vehicle to solve Car locking.The unlocking mode is easy the performance of the mobile terminal used by ambient light intensity and user (for example, mobile terminal Charge condition etc.) etc. influence so that above-mentioned unlocking mode is not very convenient relatively for a user.
Summary of the invention
The purpose of the embodiment of the present invention is that providing a kind of smart lock control method, smart lock and smart lock server, it is used for All unlock or at least partly solution above-mentioned technical problem.
To achieve the goals above, the embodiment of the present invention provides a kind of smart lock control method, and the method is by the intelligence It can lock and execute, which comprises obtain the card image of the smart card recognized near field communication range;It generates to unlock and ask It asks, the request of unlocking includes at least the identification information of the card image and the smart lock;The unlocking is requested to send To smart lock server;The smart lock server is received according to the feedback information for unlocking and requesting and sending, the feedback Information includes the true and false result and/or fee deduction instruction of the smart card;And unlocking operation is executed according to the feedback information.
Optionally, the feedback information includes the true and false of the smart card as a result, described execute according to the feedback information If the true and false result that unlocking operation includes: the smart card is designated as very, controlling the smart lock and unlocking;Otherwise, it generates Unlocking failure prompt information, and outgoing.
Optionally, the feedback information includes the fee deduction instruction, described to execute unlocking operation according to the feedback information It include: to send the fee deduction instruction to the smart card;Receive the fee deduction instruction implementing result that the smart card is sent;It will be described Fee deduction instruction implementing result is sent to the smart lock server;The smart lock server is received to be held according to the fee deduction instruction Row result and the result of deducting fees sent;And the success if the result instruction of deducting fees is deducted fees, it controls the smart lock and unlocks; Otherwise, failure prompt information of unlocking, and outgoing are generated.
Optionally, the feedback information includes the true and false result and the fee deduction instruction of the smart card, described according to institute It is designated as very, sending out to the smart card if stating feedback information and executing the true and false result that unlocking operation includes: the smart card Send the fee deduction instruction;Receive the result of deducting fees that the smart card is sent according to the fee deduction instruction;And the if button Expense result indicates success of deducting fees, then controls the smart lock and unlock;Otherwise, failure prompt information of unlocking, and outgoing are generated.
Optionally, described to request to be sent to smart lock server to include: to add unlocking request by the unlocking It is close;And the encrypted unlocking request is sent to the smart lock server.
Optionally, the card image for obtaining the smart card recognized near field communication range includes: described in reading The identification information of smart card;The area code of the smart card is determined according to the identification information of the smart card;And according to institute It states area code and information corresponding with the area code reads rule to obtain the card image from the smart card.
Optionally, the unlocking request further includes the area code.
Optionally, the method also includes: in response to the smart lock locking, Xiang Suoshu smart lock server sends the statement of account Information.
Correspondingly, the embodiment of the present invention also provides a kind of smart lock control method, and the method is held by smart lock server Row, which comprises receive the unlocking request that the smart lock is sent, the request of unlocking includes at least the card of smart card The identification information of information and the smart lock;Payment corresponding with the smart card is determined according to the card image of the smart card Mode;Smart card, which is sent, to intelligent card server corresponding with the smart card according to the means of payment uses request, it is described Smart card includes testing card request or card consumer requests using request;The intelligent card server is received to be used according to the smart card The feedback information of request and transmission, the feedback information includes the true and false result and/or fee deduction instruction of the smart card;And to The smart lock sends the feedback information.
Optionally, smart card is sent to intelligent card server corresponding with the smart card according to the means of payment to use Request, comprising: if the means of payment is account balance payment, the smart card is tested card including described in using request and asked It asks, the feedback information includes the true and false result of the smart card;If the means of payment is the payment of card remaining sum, the intelligence Can block using request includes the card consumer requests, and the feedback information includes the fee deduction instruction or the feedback information True and false result and the fee deduction instruction including the smart card.
Optionally, it is described unlock request further include the smart card area code, it is described according to the means of payment to It includes: according to the area code determination and institute that intelligence card server corresponding with the smart card, which sends smart card using request, State the corresponding intelligent card server of smart card;And according to the means of payment to described in the intelligent card server transmission Smart card uses request.
Optionally, the unlocking request that the reception smart lock is sent includes: the encrypted described of reception smart lock transmission It unlocks and requests;And the encrypted request of unlocking is decrypted and is requested with the unlocking after being decrypted.
Optionally, the method also includes: receive the statement of account information that the smart lock sends;According to the statement of account information meter Calculation is ridden the amount of money;And the amount of money is ridden and means of payment execution is deducted fees operation according to described.
Optionally, if described ride the amount of money and means of payment execution operation of deducting fees includes: the branch according to The mode of paying is account balance payment, then from the amount of money of riding described in account balance deduction;And if the means of payment is more than card Whether volume payment, the amount of money of riding described in judgement are greater than the predetermined payout deducted from the smart card, if so, more than the account The difference ridden between the amount of money and the predetermined payout described in volume deduction.
Correspondingly, the embodiment of the present invention also provides a kind of smart lock, which includes memory and processor, described to deposit Instruction is stored in reservoir, which enables the processor to execute the above-mentioned smart lock controlling party executed by smart lock Method.
Correspondingly, the embodiment of the present invention also provides a kind of smart lock server, which includes memory and processor, Instruction is stored in the memory, which enables the processor to execute above-mentioned is executed by smart lock server Smart lock control method.
Correspondingly, the embodiment of the present invention also provides a kind of machine readable storage medium, which is characterized in that described machine readable Instruction is stored on storage medium, described instruction enables the processor to execute the above-mentioned smart lock executed by smart lock Control method and/or described instruction enable the processor to execute the above-mentioned smart lock executed by smart lock server Control method.
Through the above technical solutions, smart lock, which can be realized through the card image of identification intelligent card, executes unlocking behaviour Make, user is allowed, come lock that is convenient, quickly opening shared vehicle, to improve user by way of swiping the card and use body It tests.
The other feature and advantage of the embodiment of the present invention will the following detailed description will be given in the detailed implementation section.
Detailed description of the invention
Attached drawing is to further understand for providing to the embodiment of the present invention, and constitute part of specification, under The specific embodiment in face is used to explain the present invention embodiment together, but does not constitute the limitation to the embodiment of the present invention.Attached In figure:
The process that Fig. 1 shows the smart lock control method according to an embodiment of the invention executed by smart lock is illustrated Figure;
Fig. 2 shows the flow diagrams of the card image according to an embodiment of the invention for obtaining smart card;
Fig. 3 shows the flow diagram that smart lock in an embodiment executes unlocking operation;
Fig. 4 shows the smart lock control method according to an embodiment of the invention executed by smart lock server Flow diagram;
Fig. 5 show the smart lock control method according to an embodiment of the invention executed by smart lock server into one The flow diagram of step;
Fig. 6 is shown between smart lock according to an embodiment of the invention, smart lock server and intelligent card server Interaction flow schematic diagram;
Fig. 7 shows the structural block diagram of smart lock according to an embodiment of the invention;And
Fig. 8 shows the structural block diagram of smart lock server according to an embodiment of the invention.
Specific embodiment
It is described in detail below in conjunction with specific embodiment of the attached drawing to the embodiment of the present invention.It should be understood that this Locate described specific embodiment and be merely to illustrate and explain the present invention embodiment, is not intended to restrict the invention embodiment.
The process that Fig. 1 shows the smart lock control method according to an embodiment of the invention executed by smart lock is illustrated Figure.As shown in Figure 1, a kind of smart lock control method of body of the embodiment of the present invention, this method can be executed by smart lock, the intelligence Can lock can be in bicycle lock, electric vehicle lock, electric booster bicycle lock, automotive lock, lease cabinet lock or smart home lock etc. Any one, the embodiment of the present invention is illustrated so that smart lock is the smart lock of shared bicycle as an example.The method can be with The following steps are included:
Step S110 obtains the card image of the smart card recognized near field communication range.
The smart card for example can be transportation card, electronic communication card or any other type of equipment, the equipment packet Containing can recognize and can be used in the label unlocked, which for example can be RFID label tag etc..It can have near field in smart lock Communication module, the near-field communication module for example can be RFID read-write module etc., so that can be between smart card and smart lock Execute near-field communication operation.In user by smart card close to smart lock when, smart lock can with smart card carry out near-field communication, with Obtain the card image of smart card.
Step S120, generates request of unlocking, and the request of unlocking includes at least the card image and the smart lock Identification information.
Smart lock can also generate the mark including at least the card image and smart lock after getting card image Know the unlocking request of information.Optionally, the unlocking request of generation can also include some other relevant information, for example, consumption is just Beginningization order etc..
Unlocking request is sent to smart lock server by step S130.
The smart lock server can be the server that arbitrarily can be used in smart lock, such as vehicle server, shared list Vehicle Operation Server etc..
Step S140 receives the smart lock server and is requested and the feedback information of transmission according to described unlock, described anti- Feedforward information includes the true and false result and/or fee deduction instruction of the smart card.
After server receives the unlocking request of smart lock transmission, the payment that selects when can be according to user's registration Mode to send smart card using request to intelligent card server corresponding with the smart card, and intelligent card server can basis Smart card generates feedback information using request, which may include the true and false result and/or fee deduction instruction of smart card.Intelligence The feedback information of generation is sent to smart lock server after energy card server.Smart lock server receives smart card transmission Feedback information after, which can be sent to smart lock.
Step S150 executes unlocking operation according to the feedback information.
According to the different information for including in feedback information, smart lock can execute different unlocking operations.Accordingly, so that User can improve the user experience by way of swiping the card come lock that is convenient, quickly opening shared vehicle.
Optionally, based on the above embodiment, smart lock can request be added after generating unlocking request with dual lock It is close, pre-stored encryption key pair lock request can be used for example and encrypted, then request to send out by encrypted unlocking It send to smart lock server.Dual lock request is encrypted, and can be increased data between smart lock and smart lock server and be transmitted Safety.
Fig. 2 shows the flow diagrams of the card image according to an embodiment of the invention for obtaining smart card.Such as Fig. 2 institute Show, be based on above-mentioned any embodiment, smart lock can obtain the intelligence recognized near field communication range by following steps The card image that can block:
Step S202 reads the identification information of the smart card.
Smart lock can continuously send scanning information, with the smart card in scanning near-field communication range.When user is by intelligence When can block close to smart lock, smart lock can scan the smart card, and read the identification information of the smart card.
Step S204 determines the area code of the smart card according to the identification information of the smart card.
It may include the area code for having smart card in the identification information of smart card, smart lock is reading smart card After identification information, the area code of smart card can be extracted from the identification information of smart card.Different area codes is corresponding In different city or area.
Step S206 reads rule according to the area code and information corresponding with the area code come from the intelligence Card obtains the card image.
Different types of smart card, catalogue storage organization may be different, after reading the area code of smart card, first It needs to be determined that information corresponding with the area code reads rule.
In an optional embodiment, it can store area code in smart lock and information read the correspondence of rule The area code that look-up table finds out from corresponding table with reads can be used after determining area code in table, smart lock Corresponding information reads rule.It optionally, can also be simultaneously to area code and information when upgrading to intelligent locking part The correspondence table for reading rule is updated.
In another optional embodiment, after smart lock determines area code, which can be sent to Smart lock server, can store area code in smart lock server and information reads the correspondence table of rule.Smart lock clothes Business device receive smart lock transmission area code after, can be used look-up table found out from the corresponding table with it is described The corresponding information of area code reads rule, and information reading rule is then sent to the smart lock.
Smart lock after determining that corresponding with area code information reads rule, can be read according to information rule from The card image that smart card is got in the correspondence storage catalogue of smart card, is then opened according to the card image of smart card Lock.
Through the foregoing embodiment, smart lock control method provided in an embodiment of the present invention is allowed to be compatible with different zones Smart card, so that user can unlock smart lock using the smart card of arbitrary region.
It optionally, can also include the area code of smart card in the unlocking request that smart lock generates, so that smart lock Server can quickly determine intelligent card server corresponding with smart card according to the area code of smart card.
Based on above-mentioned any embodiment, smart lock according to the difference of information in received feedback information can execute not Same unlocking operation, is illustrated the unlocking operation of the smart lock below in conjunction with embodiment.
In one embodiment, smart lock server send feedback information in may include have smart card the true and false as a result, Then smart lock can execute following unlocking operation: if the true and false result indicating intelligent card of smart card is true, smart lock unlocking; If the true and false result indicating intelligent card of smart card is vacation, smart lock can be generated unlocking and unsuccessfully prompt without unlocking Information, and the outgoing prompt information.It may include the information that smart card is vacation in unsuccessfully prompt information of unlocking, smart lock can incite somebody to action Unlocking failure prompt information is sent to smart lock server.Smart lock server receive the unlocking failure prompt information it Afterwards, smart card can be issued to user terminal corresponding to the smart card is false corresponding prompt.Optionally, in failure of unlocking In the case where, smart lock also can control suggestion device and issue the related prompt unlocked and failed, and the suggestion device for example can be with It is voice prompt device and/or light suggestion device etc..
It in another embodiment, may include fee deduction instruction in the feedback information that smart lock server is sent, such as Fig. 3 institute Show, in this embodiment, then smart lock can execute following unlocking operation:
Step S302 sends the fee deduction instruction to smart card.
Predetermined payout is deducted in the fee deduction instruction permission from smart card, which for example can be 1 yuan.
Step S304 receives the fee deduction instruction implementing result that smart card is sent.
The fee deduction instruction implementing result is generated outside simultaneously based on fee deduction instruction for smart card and is sent to smart lock.
The fee deduction instruction implementing result is sent to smart lock server by step S306.
It is alternatively possible to be encrypted using pre-stored encryption key to fee deduction instruction, and deduct fees encrypted Instruction execution result is sent to smart lock server.
Step S308 receives the knot of deducting fees that the smart lock server is sent according to the fee deduction instruction implementing result Fruit.
In this embodiment, smart card do not have deduct fees whether successful authentication function, need through smart card service Whether device succeeds to verify to deduct fees, and therefore, smart lock needs the fee deduction instruction sent to smart lock server outgoing by smart card Implementing result.
After smart lock server receives fee deduction instruction implementing result, which can be sent to Intelligence card server corresponding with smart card.Optionally, if smart lock server receive be encryption fee deduction instruction hold Row is as a result, then smart lock server needs that the fee deduction instruction of the encryption is decrypted first, then the instruction after decryption is held Row result is sent to intelligent card server.Intelligent card server determines to deduct fees according to fee deduction instruction implementing result as a result, the button Expense result is used to indicate to deduct fees whether succeed.
Step S310, the success if the result instruction of deducting fees is deducted fees, controls the smart lock and unlocks, otherwise, generate Unlocking failure prompt information, and outgoing.
If result of deducting fees instruction is deducted fees unsuccessfully, the failure of deducting fees is for instance it can be possible that since Sorry, your ticket has not enough value and causes for smart card , then smart lock is without unlocking, and unlocking failure prompt information can be generated.It may include button in failure prompt information of unlocking Take the information of failure, unlocking failure prompt information can be sent to smart lock server by smart lock.Smart lock server connects After receiving unlocking failure prompt information, the corresponding of failure of deducting fees can be issued to user terminal corresponding to the smart card Prompt.Optionally, in the case where unlocking failure, smart lock also can control suggestion device and issue mentioning for related failure of unlocking Show, the suggestion device for example can be voice prompt device and/or light suggestion device etc..
In another embodiment, smart lock server send feedback information in may include smart card true and false result and Fee deduction instruction, then smart lock can execute following unlocking operation: if the true and false result of smart card is designated as very, can be to intelligence It can block and send the fee deduction instruction, predetermined payout is deducted in the fee deduction instruction permission from smart card, which for example may be used To be 1 yuan;What reception smart card was sent according to the fee deduction instruction deducts fees as a result, in this embodiment, smart card itself has Deduct fees whether successful authentication function, therefore can be deducted fees result based on fee deduction instruction generation;If result of deducting fees instruction button Take successfully, then smart lock is unlocked, if result instruction of deducting fees is deducted fees unsuccessfully, smart lock generates unlocking and lose without unlocking Lose prompt information.It may include the information of failure of deducting fees in failure prompt information of unlocking, smart lock can unsuccessfully mention the unlocking Show that information is sent to smart lock server.Smart lock server receive the unlocking failure prompt information after, can to institute State the corresponding prompt that the corresponding user terminal of smart card issues failure of deducting fees.Optionally, in the case where unlocking failure, smart lock Also it can control suggestion device and issue the prompt in relation to failure of unlocking, the suggestion device for example can be voice prompt device And/or light suggestion device etc..
Further, above-mentioned any embodiment, the intelligent lock control provided in an embodiment of the present invention executed by smart lock are based on Method processed can also include: to generate statement of account information, and send statement of account letter to smart lock server in response to smart lock locking Breath, which for example may include ride time and/or mileage of riding etc., and server can be executed according to the statement of account information Corresponding operation of deducting fees.
Through the above technical solutions, user can bind smart card in the client of shared vehicle, shared vehicle is being used When, can by directly by swiping the card in a manner of come it is convenient, quickly open shared vehicle.
Fig. 4 shows the smart lock control method according to an embodiment of the invention executed by smart lock server Flow diagram.As shown in figure 4, the embodiment of the present invention also provides a kind of smart lock controlling party executed by smart lock server Method, the smart lock server can be the server that arbitrarily can be used in smart lock, such as vehicle server, shared bicycle operation Server etc., the smart lock can be bicycle lock, electric vehicle lock, electric booster bicycle lock, automotive lock, lease cabinet lock or Smart home lock etc. in any one, the embodiment of the present invention be by smart lock be share bicycle smart lock for said It is bright.The method may include following steps:
Step S410, receives the unlocking request that the smart lock is sent, and the request of unlocking includes at least the card of smart card The identification information of piece information and the smart lock.
Unlocking request can be generated in smart lock after the card image for getting smart card, and the unlocking is requested to send To smart lock server, smart lock server receives unlocking request.
Step S420 determines the means of payment corresponding with the smart card according to the card image of the smart card.
User can choose the different means of payment, which includes more than account when client binds smart card The card remaining sum of volume payment and smart card is paid.Smart lock server can be determined and the intelligence according to the card image of smart card Block the corresponding means of payment.
Step S430, sending smart card to intelligent card server corresponding with the smart card according to the means of payment makes With request, the smart card includes testing card request or card consumer requests using request.
It is described to test the card image including smart card in card request and the card consumer requests.
Step S440 receives the feedback information that the intelligent card server is sent according to the smart card using request, The feedback information includes the true and false result and/or fee deduction instruction of the smart card.
Using the difference of request, intelligent card server can execute different the smart card sent according to smart lock server Operation, and different types of feedback information is returned to smart lock server.
Step S450, Xiang Suoshu smart lock sends the feedback information.
After smart lock server receives feedback information, which can be sent to smart lock.Smart lock root Unlocking operation is executed according to the feedback information.Accordingly, allow user by way of swiping the card come it is convenient, quickly open it is shared The lock of vehicle, improves the user experience.
It, can also be including the area code of smart card, then in the unlocking request that smart lock is sent in an alternative embodiment In step S430, smart lock server can determine intelligent card server corresponding with smart card according to the area code, Then smart card is sent to intelligent card server according to the means of payment corresponding with smart card and uses request.
In an alternative embodiment, the unlocking request that smart lock is sent to server is that encrypted unlocking is requested, then takes After business device receives the encrypted unlocking request, need to request after being decrypted to be decrypted encrypted unlocking It unlocks and requests.Dual lock request is encrypted, and the safety that data are transmitted between smart lock and smart lock server can be increased.
Based on above-mentioned any embodiment, the means of payment that user selects when client binds smart card is different, then intelligence Card is also different using the type of request, and the feedback information that intelligent card server generates is also different.Below will to this partial content into Row illustrates.
In one embodiment, if smart lock server determines that the means of payment corresponding with smart card is account balance branch It pays, then the smart card generated includes testing card to request using request, this tests the card image that card request includes smart card.Wherein, account The family remaining sum means of payment is deducted fees after supporting user's first use, deducts gold of riding from the account balance of user after riding Volume, without being deducted to the expense in smart card.For this means of payment, it is only necessary to the true and false of smart card is verified, therefore, Smart lock server, which need to only generate, tests card request.Intelligent card server is tested after card request described in receiving, can basis The card image of smart card judges the true and false of smart card, generates the feedback information of the true and false result including smart card, then should Feedback information is sent to smart lock server.The feedback information can be sent to smart lock, smart lock by smart lock server Determine whether to unlock according to the feedback information.
In another embodiment, if smart lock server determines that the means of payment corresponding with smart card is card remaining sum branch It pays, then the smart card generated includes card consumer requests using request, and card consumer requests include the card image of smart card.Wherein, The card remaining sum means of payment needs first to deduct predetermined payout from smart card, which for example can be 1 yuan.Terminate riding Afterwards, if the amount of money of riding generated is greater than the predetermined payout, from account balance from deduction ride the amount of money and predetermined payout it Between difference.Therefore, smart lock server needs to generate card consumer requests, and sends the card consumption to intelligent card server and ask It asks.After intelligent card server receives the card consumer requests, the feedback information including fee deduction instruction can be generated, this is deducted fees Instruction allows smart card to deduct the predetermined payout.It, can be with alternatively, after intelligent card server receives the card consumer requests The true and false of smart card is judged according to the card image of smart card, and true and false result and fee deduction instruction of the generation including smart card is anti- The predetermined payout is deducted in feedforward information, the fee deduction instruction permission from smart card.Intelligent card server can be by the anti-of generation Feedforward information is sent to smart lock server.The feedback information can be sent to smart lock, smart lock root by smart lock server Determine whether to unlock according to the feedback information.
Smart lock has been described above according to the detailed process that feedback information executes unlocking operation, will not repeat in this.
Fig. 5 show the smart lock control method according to an embodiment of the invention executed by smart lock server into one The flow diagram of step.As shown in figure 5, it is based on above-mentioned any embodiment, it is provided in an embodiment of the present invention by smart lock server The smart lock control method of execution can with the following steps are included:
Step S510 receives the statement of account information that the smart lock is sent.
In response to smart lock locking, statement of account information is can be generated in smart lock, and the statement of account information is sent to smart lock clothes Business device, which for example may include ride time and/or mileage of riding etc..
Step S520 calculates the amount of money of riding according to the statement of account information.
Step S530 rides the amount of money and means of payment execution is deducted fees operation according to described.
If the means of payment is account balance payment, smart lock server can deduct institute from the account balance of user State the amount of money of riding, if the means of payment be card remaining sum payment, judgement ride the amount of money whether be greater than deducted from smart card it is pre- Expense is determined, if so, from the difference ridden between the amount of money and the predetermined payout described in the account balance of user deduction.With described Predetermined payout is for 1 yuan, if the amount of money of riding greater than 1 yuan, deducted from the account balance of user ride the amount of money and 1 yuan it Between difference.
Through the above technical solutions, user can bind smart card in the client of shared vehicle, the user in binding The suitable means of payment can be selected according to the convenience of payment.After the completion of binding, can by directly by swiping the card in a manner of come just Victory quickly opens shared vehicle.
Fig. 6 is shown between smart lock according to an embodiment of the invention, smart lock server and intelligent card server Interaction flow schematic diagram.As shown in fig. 6, the interactive stream between smart lock 10, smart lock server 20 and intelligent card server 30 Journey may comprise steps of:
In step S602, the card image of the available smart card recognized near field communication range of smart lock 10.
In step S604, smart lock 10 can be generated unlocking request, the unlocking request include at least the card image and The identification information of the smart lock.
In step S606, smart lock 10 can request to encrypt to the unlocking.
In step S608, the encrypted unlocking request can be sent to smart lock server 20 by smart lock 10.
In step S610, smart lock server 20 can receive the encrypted unlocking request.
In step S612, smart lock server 20 can be decrypted the encrypted unlocking request.
In step S614, smart lock server 20 can be according to the card image for the smart card for including in the request of unlocking Determine the means of payment corresponding with the smart card.
In step S616, smart lock server 20 can send intelligence to intelligent card server 30 according to the determining means of payment It can block using request.The means of payment is that account balance is paid or the card remaining sum of smart card is paid.If it is determined that payer Formula is account balance payment, then smart card includes testing card to request using request.If it is determined that the means of payment be card remaining sum payment, Then smart card includes card consumer requests using request.
In step S618, intelligent card server 30 receives the smart card and uses request.
In step S620, for intelligent card server 30 according to smart card using the different information for including in request, production is different Feedback information.Specifically, if smart card is requested using request including testing card, the feedback letter includes the true and false of smart card As a result.If smart card includes card consumer requests using request, the feedback information includes fee deduction instruction or the feedback Information includes the true and false result and fee deduction instruction of smart card, and the fee deduction instruction permission deducts subscription fee from the smart card With.
In step S622, intelligent card server 30 sends the feedback information to smart lock server 20.
In step S624, smart lock server 20 receives the feedback information.
In step S626, the feedback information is sent to smart lock 10 by smart lock server 20.
In step S628, smart lock 10 receives the feedback information.
In step S630, smart lock 10 executes unlocking operation according to the feedback information.
The specific implementation procedure or principle of above steps have been described above, and will not be described in great detail here.Above-described embodiment Allow user by way of swiping the card come lock that is convenient, quickly opening shared vehicle, improve user uses body It tests.
Correspondingly, the embodiment of the present invention also provides a kind of machine readable storage medium, on the machine readable storage medium It is stored with instruction, described instruction is used for so that machine is able to carry out described in any embodiment according to the present invention is executed by smart lock Smart lock control method and/or described instruction be used for so that machine is able to carry out described in any embodiment according to the present invention The smart lock control method executed by smart lock server.
Fig. 7 shows the structural block diagram of smart lock according to an embodiment of the invention.As shown in fig. 7, the embodiment of the present invention A kind of smart lock 700 is also provided, smart lock 700 can be bicycle lock, electric vehicle lock, electric booster bicycle lock, lease cabinet lock Or any one in smart home lock etc..Smart lock 700 may include memory 710 and processor 720, the memory It is stored with instruction in 710, it is described by intelligence according to embodiments of the present invention that described instruction is able to carry out the processor 720 Lock the smart lock control method executed.
The concrete operating principle and benefit of smart lock 700 provided in an embodiment of the present invention are corresponding with preceding method, specifically Embodiment can be found in the detailed description in preceding method, and details are not described herein.
Fig. 8 shows the structural block diagram of smart lock server according to an embodiment of the invention.As shown in figure 8, of the invention Embodiment also provides a kind of smart lock server 800, and the smart lock server 800, which can be, arbitrarily can be used in smart lock Server, such as vehicle server, shared bicycle Operation Server.Smart lock server 800 may include memory 810 and place Device 820 is managed, is stored with instruction in the memory 810, described instruction is able to carry out the processor 820 according to the present invention The smart lock control method executed described in embodiment by smart lock server 800.
The concrete operating principle and benefit of smart lock server 800 provided in an embodiment of the present invention are opposite with preceding method It answers, specific embodiment can be found in the detailed description in preceding method, and details are not described herein.
The optional embodiment of the embodiment of the present invention is described in detail in conjunction with attached drawing above, still, the embodiment of the present invention is simultaneously The detail being not limited in 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 scope 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 where shield, it can be combined in any appropriate way.In order to avoid unnecessary repetition, the embodiment of the present invention pair No further explanation will be given for various combinations of possible ways.
It will be appreciated by those skilled in the art that implementing the method for the above embodiments is that can pass through 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 the steps of each embodiment the method for the application.And it is preceding The storage medium stated includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), magnetic or disk.
In addition, any 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, equally should be considered as disclosure of that of the embodiment of the present invention.

Claims (10)

1. a kind of smart lock control method, which is characterized in that the method is executed by the smart lock, which comprises
Obtain the card image of the smart card recognized near field communication range;
Request of unlocking is generated, the request of unlocking includes at least the identification information of the card image and the smart lock;
Unlocking request is sent to smart lock server;
The smart lock server is received according to the feedback information for unlocking and requesting and sending, the feedback information includes described The true and false result and/or fee deduction instruction of smart card;And
Unlocking operation is executed according to the feedback information.
2. the method according to claim 1, wherein the feedback information includes the true and false knot of the smart card Fruit, it is described to include: according to feedback information execution unlocking operation
If the true and false result of the smart card is designated as very, controlling the smart lock and unlocking;Otherwise, it generates to unlock and unsuccessfully mention Show information, and outgoing.
3. the method according to claim 1, wherein the feedback information includes the fee deduction instruction, described Executing unlocking operation according to the feedback information includes:
The fee deduction instruction is sent to the smart card;
Receive the fee deduction instruction implementing result that the smart card is sent;
The fee deduction instruction implementing result is sent to the smart lock server;
Receive the result of deducting fees that the smart lock server is sent according to the fee deduction instruction implementing result;And
The success if the result instruction of deducting fees is deducted fees, controls the smart lock and unlocks;Otherwise, unsuccessfully prompt letter of unlocking is generated Breath, and outgoing.
4. the method according to claim 1, wherein the feedback information includes the true and false result of the smart card It is described to include: according to feedback information execution unlocking operation with the fee deduction instruction
If the true and false result of the smart card is designated as very, the fee deduction instruction is sent to the smart card;
Receive the result of deducting fees that the smart card is sent according to the fee deduction instruction;And
The success if the result instruction of deducting fees is deducted fees, controls the smart lock and unlocks;Otherwise, unsuccessfully prompt letter of unlocking is generated Breath, and outgoing.
5. the method according to claim 1, wherein described obtain the intelligence recognized near field communication range The card image of card includes:
Read the identification information of the smart card;
The area code of the smart card is determined according to the identification information of the smart card;And
Rule is read according to the area code and information corresponding with the area code to obtain the card from the smart card Piece information.
6. according to the method described in claim 5, it is characterized in that, unlocking request further includes the area code.
7. a kind of smart lock control method, which is characterized in that the method is executed by smart lock server, which comprises
The unlocking request that the smart lock is sent is received, the request of unlocking includes at least the card image and the intelligence of smart card The identification information that can be locked;
The means of payment corresponding with the smart card is determined according to the card image of the smart card;
Smart card, which is sent, to intelligent card server corresponding with the smart card according to the means of payment uses request, the intelligence Can block using request includes testing card request or card consumer requests;
Receive the feedback information that the intelligent card server is sent according to the smart card using request, the feedback information packet Include the true and false result and/or fee deduction instruction of the smart card;And
The feedback information is sent to the smart lock.
8. a kind of smart lock, which is characterized in that the smart lock includes memory and processor, and finger is stored in the memory It enables, which enables the processor to execute according to claim 1 to smart lock described in any one of 6 claims Control method.
9. a kind of smart lock server, which is characterized in that the server includes memory and processor, is stored in the memory There is instruction, which enables the processor to execute smart lock control method according to claim 7.
10. a kind of machine readable storage medium, which is characterized in that instruction is stored on the machine readable storage medium, it is described Instruction is for so that machine is able to carry out according to claim 1 to smart lock controlling party described in any one of 6 claims Method and/or described instruction are used for so that machine is able to carry out smart lock control method according to claim 7.
CN201811302947.2A 2018-11-02 2018-11-02 Smart lock control method, smart lock and smart lock server Pending CN109685996A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811302947.2A CN109685996A (en) 2018-11-02 2018-11-02 Smart lock control method, smart lock and smart lock server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811302947.2A CN109685996A (en) 2018-11-02 2018-11-02 Smart lock control method, smart lock and smart lock server

Publications (1)

Publication Number Publication Date
CN109685996A true CN109685996A (en) 2019-04-26

Family

ID=66184557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811302947.2A Pending CN109685996A (en) 2018-11-02 2018-11-02 Smart lock control method, smart lock and smart lock server

Country Status (1)

Country Link
CN (1) CN109685996A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110197545A (en) * 2019-06-03 2019-09-03 凯拔(中国)科技有限公司 A kind of smart lock and its management method, system
CN110246257A (en) * 2019-06-26 2019-09-17 武汉骏腾智拓科技有限公司 A kind of Intellectual lock designed using decentralization based on technology of Internet of things
CN111383371A (en) * 2020-04-29 2020-07-07 珠海格力电器股份有限公司 Unlocking method, door lock, server, system, storage medium and electronic device
CN115471928A (en) * 2021-05-24 2022-12-13 北京骑胜科技有限公司 Information interaction method and device, server, vehicle and user terminal
CN117058794A (en) * 2023-10-13 2023-11-14 广东星云开物科技股份有限公司 Vehicle control method and device, electronic equipment and shared electric vehicle system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110197545A (en) * 2019-06-03 2019-09-03 凯拔(中国)科技有限公司 A kind of smart lock and its management method, system
CN110246257A (en) * 2019-06-26 2019-09-17 武汉骏腾智拓科技有限公司 A kind of Intellectual lock designed using decentralization based on technology of Internet of things
CN111383371A (en) * 2020-04-29 2020-07-07 珠海格力电器股份有限公司 Unlocking method, door lock, server, system, storage medium and electronic device
CN115471928A (en) * 2021-05-24 2022-12-13 北京骑胜科技有限公司 Information interaction method and device, server, vehicle and user terminal
CN117058794A (en) * 2023-10-13 2023-11-14 广东星云开物科技股份有限公司 Vehicle control method and device, electronic equipment and shared electric vehicle system
CN117058794B (en) * 2023-10-13 2023-12-22 广东星云开物科技股份有限公司 Vehicle control method and device, electronic equipment and shared electric vehicle system

Similar Documents

Publication Publication Date Title
CN109685996A (en) Smart lock control method, smart lock and smart lock server
US8196818B2 (en) Apparatus and method for integrated payment and electronic merchandise transfer
US7374082B2 (en) Apparatus and method for integrated payment and electronic merchandise transfer
CN107220828A (en) Payment authorization and the method, system and device paid are carried out by Wearable
KR102300078B1 (en) Universal toll payment and collection system
US20120254029A1 (en) Motor vehicle key and method for implementing a financial transaction
CN110490592A (en) Interior consumption and payment method and cloud server based on recognition of face
CN107689094A (en) A kind of shared bicycle method for unlocking, server, lock and unlocking system
US20220292411A1 (en) Method and system for providing equipment rental service using biometric id card
CN108305338A (en) A kind of non-stop charging method and system
CN110276859A (en) Lockset control method and system
CN107221086A (en) A kind of hire a car method and system of hiring a car, server end based on dynamic code
CN108629587A (en) A kind of method, server and terminal device for realizing parking fee e-payment verification
CN109191128A (en) Interior method of payment and cloud server based on Application on Voiceprint Recognition and static password
CN109690596A (en) Dynamic security code for card transaction
CN110189133B (en) Payment system
CN109598803A (en) Expressway tol lcollection method, server, system and storage medium
CN108492471A (en) Order processing method and device, storage medium
CN113168624A (en) Method for paying fees in motor vehicles by means of a cryptocurrency computer network transaction
CN107464178A (en) A kind of shared bicycle statement of account method, server and statement of account system
JP2013141401A (en) Power supply apparatus and method, and program
US11568403B2 (en) Vehicle toll transponder for enabling multiple transaction cards and securely providing transaction card details
WO2018217124A1 (en) Method for paying for services, primarily transport services, and automated system for carrying out said method
CN115907753A (en) Payment method, system, device and storage medium
CN107341723A (en) A kind of shared bicycle statement of account method, server and statement of account system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190426