CN107862768A - A kind of intelligent bicycle lock control method and device - Google Patents

A kind of intelligent bicycle lock control method and device Download PDF

Info

Publication number
CN107862768A
CN107862768A CN201711071835.6A CN201711071835A CN107862768A CN 107862768 A CN107862768 A CN 107862768A CN 201711071835 A CN201711071835 A CN 201711071835A CN 107862768 A CN107862768 A CN 107862768A
Authority
CN
China
Prior art keywords
intelligent bicycle
bicycle lock
data message
unlocking
signal strength
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
CN201711071835.6A
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.)
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 CN201711071835.6A priority Critical patent/CN107862768A/en
Publication of CN107862768A publication Critical patent/CN107862768A/en
Pending legal-status Critical Current

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
    • 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
    • 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/00896Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses

Abstract

The invention provides a kind of intelligent bicycle lock control method and device, wherein, this method includes:Receive user's unlocking request;Wherein, the data message including at least account identification is carried in user's unlocking request;Detect the wireless signal strength for the background server being connected with intelligent bicycle lock;Judge whether wireless signal strength is less than the first predetermined threshold value, and opened based on judged result control intelligent bicycle lock;Wherein, opened based on judged result control intelligent bicycle lock, including:If wireless signal strength is less than the first predetermined threshold value, intelligent bicycle lock is controlled to open according to data message.The present invention is based on judged result corresponding to current radio signal strength and determines directly to be unlocked using data message, or the unlocking control instruction returned using background server is unlocked, by the switching of two kinds of unlocking modes, the using experience degree of user is lifted, practicality is more preferably.

Description

A kind of intelligent bicycle lock control method and device
Technical field
The present invention relates to lock technology field, in particular to a kind of intelligent bicycle lock control method and device.
Background technology
Gradually strengthen with the environmental consciousness of people, healthy low-carbon, which is gone on a journey, becomes the selection of more and more people.It is same with this When, increasing city provides largely shared vehicle, and, so that citizen use, this brings greatly to the life of people It is convenient.Wherein, intelligent bicycle lock is equipped with for each shared vehicle to ensure the security of bicycle, also generally use electronics The means of payment realizes the unlatching of above-mentioned intelligent bicycle lock.
With wireless radio-frequency especially wireless near field communication (Near Field Communication, NFC) skill The payment products application of the shaping such as the rapid development of art, the ApplePay of Apple Inc., the UnionPay of China Unionpay and It is raw.For sharing the application scenarios of bicycle, a kind of online lock control method is proposed in correlation technique, this method needs Above-mentioned intelligent bicycle lock keeps real-time business with background server and the background server with third party backstage payment system Communication could realize that funds transfer is merchandised.After merchandising successfully, then by above-mentioned background server lock can be controlled to perform and opened The operation such as lock.
Wherein, above-mentioned online lock control method is realized using wireless mode, and there is speed due to being wirelessly transferred The defects of rate is relatively slow, be easily interfered, power limited, causes above-mentioned online lock control method to there are networking and fails very Big possibility.
However, perfect solution there is no can not ensure to realize pay down after networking fails in correlation technique The normal use of intelligent bicycle lock, cause the car experience degree of user poor.
The content of the invention
In view of this, it is an object of the invention to provide a kind of intelligent bicycle lock control method and device, to improve user's Car experience degree.
In a first aspect, the invention provides a kind of intelligent bicycle lock control method, methods described includes:
Receive user's unlocking request;Wherein, the data including at least account identification are carried in user's unlocking request Information;
Detect the wireless signal strength for the background server being connected with intelligent bicycle lock;
Judge whether the wireless signal strength is less than the first predetermined threshold value, and the intelligent vehicle is controlled based on judged result Lock is opened;
Wherein, it is described to control the intelligent bicycle lock to open based on judged result, including:
If the wireless signal strength is less than first predetermined threshold value, the intelligence is controlled according to the data message Lock is opened.
With reference in a first aspect, the invention provides the possible embodiment of the first of first aspect, wherein, it is described to be based on Judged result controls the intelligent bicycle lock to open, in addition to:
If the wireless signal strength is more than or equal to first predetermined threshold value, the user is unlocked and asks to send To the background server;
Judge whether that the request that the background server is received in preset duration responds;Wherein, the request response In carry obtained unlocking control instruction after pre-authorization trading processing carried out to the data message;
When it is determined that receiving the unlocking control instruction in the preset duration, controlled according to the unlocking control instruction The intelligent bicycle lock is opened.
With reference to the first possible embodiment of first aspect, the invention provides second of first aspect is possible Embodiment, wherein, in addition to:
When it is determined that not receiving the unlocking control instruction in the preset duration, institute is controlled according to the data message State intelligent bicycle lock unlatching.
With reference to first aspect or second of possible embodiment of first aspect, the invention provides the of first aspect Three kinds of possible embodiments, wherein, before the intelligent bicycle lock unlatching according to data message control, also wrap Include:
Obtain black list information;
The data message is verified based on the black list information;
If checking is not by performing described the step of controlling the intelligent bicycle lock to open according to the data message.
With reference in a first aspect, the invention provides the possible embodiment of the 4th of first aspect kind, wherein, the basis After the data message controls the intelligent bicycle lock unlatching, in addition to:
Record uncaging time information, blocking time information, and the data message.
With reference to the 4th kind of possible embodiment of first aspect, the invention provides the 5th of first aspect kind is possible Embodiment, wherein, in addition to:
When judging that the wireless signal strength is more than the second predetermined threshold value, by the uncaging time information of record, The blocking time information, and the data message are uploaded to the background server, so as to the background server according to The uncaging time information, the blocking time information, and the data message carry out knot expense trading processing;Wherein, it is described Second predetermined threshold value is more than first predetermined threshold value.
With reference to the first possible embodiment of first aspect, the invention provides the 6th of first aspect kind is possible Embodiment, wherein, pre-authorization trading processing is carried out to the data message according to following steps and obtains unlocking control instruction:
The background server initiates to carry the transaction request of the first pre- information of withholing to third-party payment system;
Receive the transaction results that the third-party payment system is sent;Wherein, the transaction results are third party's branch The system of paying is according to the described first pre- information of withholing to raw after the account balance progress pre-authorization Fail Transaction in the data message Into;
The user bound in advance with the account identification is obtained according to the transaction results to identify;
According to the user balance progress pre-authorization transaction corresponding with user mark of the second pre- information pair of withholing, and handing over Easily after success, unlocking control instruction corresponding to generation.
Second aspect, present invention also offers a kind of intelligent bicycle lock control device, described device includes:
Receiving module, for receiving user's unlocking request;Wherein, carried in user's unlocking request including at least account The data message of family mark;
Detection module, for detecting the wireless signal strength for the background server being connected with intelligent bicycle lock;
Control module, for judging whether the wireless signal strength is less than the first predetermined threshold value, and it is based on judged result The intelligent bicycle lock is controlled to open;
Wherein, the control module includes:
First control unit, if being less than first predetermined threshold value for the wireless signal strength, according to the number It is believed that breath controls the intelligent bicycle lock to open.
With reference to second aspect, the invention provides the possible embodiment of the first of second aspect, wherein, the control Module also includes:
Transmitting element, if being more than or equal to first predetermined threshold value for the wireless signal strength, by the use Family, which is unlocked, asks to send to the background server;
Judging unit, for judging whether that the request that the background server is received in preset duration responds;Wherein, The unlocking control instruction to being obtained after data message progress pre-authorization trading processing is carried in the request response;
Second control unit, for when it is determined that receiving the unlocking control instruction in the preset duration, according to institute Stating unlocking control instruction controls the intelligent bicycle lock to open.
With reference to the first possible embodiment of second aspect, the invention provides second of second aspect is possible Embodiment, wherein, the control module also includes:
3rd control unit, for when it is determined that not receiving the unlocking control instruction in the preset duration, according to The data message controls the intelligent bicycle lock to open.
Intelligent bicycle lock control method and device provided by the invention, user's unlocking request is received first;Wherein, user unlocks The data message including at least account identification is carried in request;Then the nothing for the background server that detection is connected with intelligent bicycle lock Line signal intensity;Secondly judge whether wireless signal strength is less than the first predetermined threshold value, and based on judged result control intelligent vehicle Lock is opened;Wherein, opened based on judged result control intelligent bicycle lock, including, if wireless signal strength is less than the first predetermined threshold value, Then control intelligent bicycle lock to open according to data message, determined that is, it is based on judged result corresponding to current radio signal strength Directly unlocked using data message, or the unlocking control instruction returned using background server is unlocked, and passes through two The switching of kind unlocking mode, lifts the using experience degree of user, practicality is more preferably.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by embodiment it is required use it is attached Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore be not construed as pair The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 shows the flow chart for the intelligent bicycle lock control method that the embodiment of the present invention one is provided;
Fig. 2 shows the flow chart for another intelligent bicycle lock control method that the embodiment of the present invention one is provided;
Fig. 3 shows the flow chart for another intelligent bicycle lock control method that the embodiment of the present invention one is provided;
Fig. 4 shows a kind of module composition schematic diagram for intelligent bicycle lock control device that the embodiment of the present invention two is provided;
Fig. 5 shows the module group of control module in a kind of intelligent bicycle lock control device that the embodiment of the present invention two is provided Into schematic diagram.
Main element symbol description:
11st, receiving module;22nd, detection module;33rd, control module;331st, the first control unit;332nd, transmitting element; 333rd, judging unit;334th, the second control unit.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention Middle accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only It is part of the embodiment of the present invention, rather than whole embodiments.The present invention being generally described and illustrated herein in the accompanying drawings is real Applying the component of example can be configured to arrange and design with a variety of.Therefore, it is of the invention to what is provided in the accompanying drawings below The detailed description of embodiment is not intended to limit the scope of claimed invention, but is merely representative of the selected reality of the present invention Apply example.Based on embodiments of the invention, institute that those skilled in the art are obtained on the premise of creative work is not made There is other embodiment, belong to the scope of protection of the invention.
Realized in view of the online lock control method in correlation technique using wireless mode, and due to being wirelessly transferred There is speed it is relatively slow, be easily interfered, power limited the defects of, cause above-mentioned lock control method online to there are networking The very big possibility of failure.Based on this, the invention provides a kind of intelligent bicycle lock control method and device, below by several realities Example is applied to be described in detail.
Embodiment one:
Referring to Fig. 1, the embodiments of the invention provide a kind of intelligent bicycle lock control method, the executive agent of this method is intelligence The controller of lock or other control chips, the above method specifically comprise the following steps:
S101, receive user's unlocking request;Wherein, the data including at least account identification are carried in user's unlocking request Information;
It is excellent in view of the concrete application scene of intelligent bicycle lock control method provided in an embodiment of the present invention, the embodiment of the present invention Choosing based on wireless near field communication (Near Field Communication, NFC) technology carry out user and intelligent bicycle lock it Between data communication, in addition, user also need to by pay part to intelligent bicycle lock send corresponding to user unlock request.Its In, above-mentioned payment part can be card, can also be the terminal devices such as mobile phone, tablet personal computer, intelligent watch, in addition, above-mentioned Card includes but is not limited to master cards, visa cards, mass transit card etc..It is excellent in view of the extensive use of mobile phone, the embodiment of the present invention Being used as using mobile phone for choosing pays part, and therefore, above-mentioned mobile phone needs to support NFC function, and can be chosen for Passive Mode, intelligence NFC reader on energy lock, which can then correspond to, be chosen for aggressive mode.Wherein, should in order to reduce the power consumption of NFC reader NFC reader is operated using low-power consumption mode and normal mode, and under the conditions of general work, above-mentioned NFC reader is in Low-power consumption mode, only just enter normal mode of operation in the case where meeting corresponding trigger condition (such as mobile phone close to when).
Next the particular content of above-mentioned data message is illustrated, by taking visa cards as an example, the account in the data message Mark is the card number information of visa cards, and except above-mentioned card number information, above-mentioned data message can also include opening an account for visa cards Information (name information of such as holder, and corresponding certificate information etc.), can also include other information.
The wireless signal strength of S102, detection and intelligent bicycle lock connection background server;
For the embodiment of the present invention after user's unlocking request is received, the wireless signal that detection intelligent bicycle lock is received is strong Degree, wherein, wireless signal corresponding to above-mentioned wireless signal strength can be that background server sends or taken with backstage It is engaged in what the base station that device connects was sent.In view of wireless signal in spatial, it is easy to it is affected by the ambient, such as hinder The factors such as thing, weather, distance are hindered to be had an impact to wireless signal, wireless signal strength then can be due to by above-mentioned each The interference of factor produces certain decay, and testing result of the embodiment of the present invention based on the wireless signal strength determines intelligent bicycle lock Whether effectively connected.
S103, judge whether wireless signal strength is less than the first predetermined threshold value, and based on judged result control intelligent bicycle lock Open;Wherein, opened based on judged result control intelligent bicycle lock, including:If wireless signal strength is less than the first predetermined threshold value, Intelligent bicycle lock is controlled to open according to data message.
Above-mentioned intelligent bicycle lock control method also by wireless signal strength compared with the first predetermined threshold value, if wireless signal Intensity is less than the first predetermined threshold value, judges that intelligent bicycle lock fails with background server networking, now, will be straight according to data message Control intelligent bicycle lock is connect to open.
What deserves to be explained is above-mentioned intelligent bicycle lock can be the locksets such as bicycle lock, electric vehicle lock, electric booster bicycle lock In any one.
Intelligent bicycle lock control method provided in an embodiment of the present invention, user's unlocking request is received first;Wherein, user unlocks The data message including at least account identification is carried in request;Then the nothing for the background server that detection is connected with intelligent bicycle lock Line signal intensity;Secondly judge whether wireless signal strength is less than the first predetermined threshold value, and based on judged result control intelligent vehicle Lock is opened;Wherein, opened based on judged result control intelligent bicycle lock, including, if wireless signal strength is less than the first predetermined threshold value, Then control intelligent bicycle lock to open according to data message, determined that is, it is based on judged result corresponding to current radio signal strength Directly unlocked using data message, or the unlocking control instruction returned using background server is unlocked, and passes through two The switching of kind unlocking mode, lifts the using experience degree of user, practicality is more preferably.
Intelligent bicycle lock control method provided in an embodiment of the present invention is also judging that wireless signal strength is pre- not less than first If during threshold value, the above-mentioned user for carrying data message is unlocked and asks to send to background server so as to according to background server The unlocking control instruction after pre-authorization trading processing is returned to be unlocked.Referring to Fig. 2, above-mentioned intelligent bicycle lock control method passes through such as Lower step is specifically realized:
If S201, wireless signal strength are more than or equal to the first predetermined threshold value, user is unlocked into request transmission to from the background Server;
S202, judge whether to receive the request response of background server in preset duration;Wherein, taken in request response With the unlocking control instruction for data message obtain after pre-authorization trading processing;
S203, when it is determined that receiving unlocking control instruction in preset duration, according to unlocking control instruction control intelligent vehicle Lock is opened.
Specifically, above-mentioned intelligent bicycle lock control method is it is determined that wireless signal strength is more than or equal to the first predetermined threshold value When, user is unlocked into request transmission to background server progress pre-authorization trading processing, and judging to receive above-mentioned backstage During the unlocking control instruction carried in the request response of server, intelligent bicycle lock is controlled to open according to unlocking control instruction.Wherein, Above-mentioned pre-authorization transaction is the default button that third-party payment system and/or Accounting system send background server before unlocking Money is freezed in order to can be convenient fast from a kind of default inner transaction form for directly deducting vehicle cost of withholing after locking It is prompt.
Wherein, above-mentioned background server carries out pre-authorization trading processing to data message can individually use Third-party payment System is paid, and be can be combined with user account and is carried out binding payment.Next specifically illustrate in two kinds of situation:
First aspect:
Intelligent bicycle lock control method provided in an embodiment of the present invention is led to after third-party payment system pre-authorization is merchandised successfully Third-party payment system is crossed directly to be paid.Specifically, above-mentioned intelligent bicycle lock control method is receiving Third-party payment system The transaction results that system carries out generating after pre-authorization is merchandised successfully according to the first pre- information of withholing to the account balance in data message Afterwards, will according to corresponding to generating the transaction results unlocking control instruction, wherein, it is pre- in the first pre- information of withholing under normal circumstances If volume of withholing is less than or equal to the account balance in data message, can just merchandise success, that is, paying part has enough money Vehicle cost, which can be paid, can just generate corresponding unlocking control instruction, it is ensured that with the security of car.
Second aspect:
Referring to Fig. 3, intelligent bicycle lock control method provided in an embodiment of the present invention is merchandised in third-party payment system pre-authorization It can also be traded after failure by the pre-authorization of Accounting system, unlocking control instruction is generated especially by following steps:
S301, initiate to third-party payment system to carry the transaction request of the first pre- information of withholing;
S302, receive the transaction results that third-party payment system is sent;Wherein, transaction results are third-party payment system roots Carry out what is generated after pre-authorization Fail Transaction to the account balance in data message according to the first pre- information of withholing;
S303, the user's mark bound in advance with account identification is obtained according to transaction results;
S304, information pair user balance progress pre-authorization transaction corresponding with user's mark of being withholdd in advance according to second, and After merchandising successfully, unlocking control instruction corresponding to generation.
Specifically, above-mentioned intelligent bicycle lock control method is receiving third-party payment system according to the first pre- information pair of withholing After the transaction results generated after account balance progress pre-authorization Fail Transaction in data message, it will be obtained according to the transaction results Identified with the user that account identification is bound in advance, and default volume pair and the user's mark pair of withholing in the second pre- information of withholing The user balance answered carries out pre-authorization transaction, and the unlocking control instruction corresponding to generation after merchandising successfully, that is, above-mentioned intelligence Lock control method is traded processing using the pre-authorization combination of third-party payment system and Accounting system, with further Ensure the security and reasonability with car.
Intelligent bicycle lock control method provided in an embodiment of the present invention is also determining that not receiving backstage in preset duration takes Be engaged in device return pre-authorization trading processing after unlocking control instruction when, directly control intelligent bicycle lock to open according to data message.
Intelligent bicycle lock control method provided in an embodiment of the present invention directly controls the mode that lock is opened for data message It is that off line is completed, therefore, above-mentioned intelligent bicycle lock control method can also record uncaging time information, blocking time information, and Data message, and can believe the uncaging time of above-mentioned record when judging that wireless signal strength is more than the second predetermined threshold value Breath, blocking time information, and data message is uploaded to background server, so as to background server according to uncaging time information, Blocking time information, and data message carry out knot expense trading processing, that is, above-mentioned intelligent bicycle lock control method fails in networking When, also can off line unlock, and background server can be easy to when networking successfully according to corresponding to uncaging time and blocking time Driving duration carries out corresponding knot to data message and takes operation, convenient and swift, and lifts the using experience degree of user.
In order to further ensure that the security under above-mentioned directly unlocking mode, the embodiment of the present invention is in above-mentioned unlocking controlling party Before formula is realized, also data message is verified by the black list information of acquisition.Wherein, the embodiment of the present invention provides Intelligent bicycle lock control method user tie expense operation failure number reach default highest number after, blacklist corresponding to foundation The letter such as information, the user's mark associated by the black list information to the account identification in data message and with account mark Cease and verified, and it is obstructed out-of-date verifying, just control intelligent bicycle lock to open according to data message, it is ensured that the safety that off line is unlocked Property.In addition, above-mentioned black list information can also be from other intelligent bicycle locks of background server acquisition from local acquisition Black list information.
There are some sensitive datas in view of covering in above-mentioned data message, therefore, intelligent vehicle provided in an embodiment of the present invention Lock control method can extract data message, Ran Houneng first after the user for carrying data message unlocking request is received It is enough to be authenticated to paying part and/or its data message read.Next individually it is authenticated, to data to paying part Information is individually authenticated and the detailed process to paying part and data message progress double authentication does following analysis:
First aspect:
Intelligent bicycle lock control method provided in an embodiment of the present invention is based on the data message for paying part reading, to above-mentioned branch Pay part and carry out effective certification.Wherein, the payment part for card form, above-mentioned certification specifically include true and false card certification, The certification of type of card, the certification of card expiration etc..Based on the effective card of certification, the data of above-mentioned reading can just be believed Cease and be transmitted to the server day after tomorrow, that is, above-mentioned intelligent bicycle lock control method is just led under the premise of ensuring that card is effective The traffic channel data message of intelligent bicycle lock and background server is crossed, further ensures the security of data link.
Second aspect:
Intelligent bicycle lock control method provided in an embodiment of the present invention also carries out safety certification to the data message of reading.Its In, above-mentioned safety certification process can be realized by the safety element (SE) built in intelligent bicycle lock, in addition, the present invention is implemented Example can be specifically authenticated using offline data certification (DDA).That is, above-mentioned intelligent bicycle lock control method is to ensure data Just by intelligent bicycle lock and the traffic channel data message of background server on the premise of safety, data are further ensured The security of link.
The third aspect:
Effective certification is carried out to paying part based on first aspect, and safety is carried out to data message based on second aspect Certification, it is determined that payment part effectively and on the premise of data message is not tampered with, just send data to background server Information, so as to be further ensured that the security of data link transmission data and integrality.
Intelligent bicycle lock control method provided in an embodiment of the present invention, user's unlocking request is received first;Wherein, user unlocks The data message including at least account identification is carried in request;Then the nothing for the background server that detection is connected with intelligent bicycle lock Line signal intensity;Secondly judge whether wireless signal strength is less than the first predetermined threshold value, and based on judged result control intelligent vehicle Lock is opened;Wherein, opened based on judged result control intelligent bicycle lock, including, if wireless signal strength is less than the first predetermined threshold value, Then control intelligent bicycle lock to open according to data message, determined that is, it is based on judged result corresponding to current radio signal strength Directly unlocked using data message, or the unlocking control instruction returned using background server is unlocked, and passes through two The switching of kind unlocking mode, lifts the using experience degree of user, practicality is more preferably.
Embodiment two:
The embodiments of the invention provide a kind of intelligent bicycle lock control device, the control device is used to perform above-described embodiment one Corresponding control method, referring to Fig. 4, above-mentioned intelligent bicycle lock control device specifically includes:
Receiving module 11, for receiving user's unlocking request;Wherein, carried in user's unlocking request including at least account The data message of mark;
Detection module 22, for detecting the wireless signal strength for the background server being connected with intelligent bicycle lock;
Control module 33, for judging whether wireless signal strength is less than the first predetermined threshold value, and it is based on judged result control Intelligent bicycle lock processed is opened;
Wherein, control module 33 includes:
First control unit 331, if being less than the first predetermined threshold value for wireless signal strength, controlled according to data message Intelligent bicycle lock is opened.
Intelligent bicycle lock control device provided in an embodiment of the present invention is also judging that wireless signal strength is pre- not less than first If during threshold value, the above-mentioned user for carrying data message is unlocked and asks to send to background server so that background server returns Unlocking control instruction after pre-authorization trading processing is unlocked.Referring to Fig. 5, above-mentioned control module 33 also includes:
Transmitting element 332, if being more than or equal to the first predetermined threshold value for wireless signal strength, user is unlocked and asked Send to background server;
Judging unit 333, for judging whether that the request that background server is received in preset duration responds;Wherein, The unlocking control instruction to being obtained after data message progress pre-authorization trading processing is carried in request response;
Second control unit 334, for when it is determined that receiving unlocking control instruction in preset duration, being controlled according to unlocking Instruction control intelligent bicycle lock is opened.
Specifically, above-mentioned intelligent bicycle lock control device is it is determined that wireless signal strength is more than or equal to the first predetermined threshold value When, user is unlocked into request transmission to background server progress pre-authorization trading processing, and judging to receive above-mentioned backstage During the unlocking control instruction carried in the request response of server, intelligent bicycle lock is controlled to open according to unlocking control instruction.Wherein, Above-mentioned pre-authorization transaction is the default button that third-party payment system and/or Accounting system send background server before unlocking Money is freezed in order to can be convenient fast from a kind of default inner transaction form for directly deducting vehicle cost of withholing after locking It is prompt.
Wherein, above-mentioned background server carries out pre-authorization trading processing to data message can individually use Third-party payment System is paid, and be can be combined with user account and is carried out binding payment.Next specifically illustrate in two kinds of situation:
First aspect:
Background server provided in an embodiment of the present invention passes through the 3rd after third-party payment system pre-authorization is merchandised successfully Square payment system is directly paid.Specifically, above-mentioned background server is to receive third-party payment system pre- according to first , will be according to the friendship after the transaction results that information of withholing generates after being merchandised successfully to the account balance progress pre-authorization in data message Unlocking control instruction corresponding to easy result generation, wherein, the default volume of withholing in the first pre- information of withholing is less than under normal circumstances Or during equal to account balance in data message, can just merchandise success, there is enough money to pay driving that is, paying part Expense can just generate corresponding unlocking control instruction, it is ensured that with the security of car.
Second aspect:
Background server in the embodiment of the present invention can also pass through after third-party payment system pre-authorization Fail Transaction The pre-authorization of Accounting system is traded, above-mentioned background server, is additionally operable to initiate to carry first to third-party payment system The transaction request of pre- information of withholing;Receive the transaction results that third-party payment system is sent;Wherein, transaction results are third party's branch The system of paying carries out what is generated after pre-authorization Fail Transaction to the account balance in data message according to the first pre- information of withholing;According to Transaction results obtain the user bound in advance with account identification and identified;According to the second pre- information pair and user's mark pair of withholing The user balance answered carries out pre-authorization transaction, and after merchandising successfully, unlocking control instruction corresponding to generation.
Specifically, above-mentioned background server receive third-party payment system according to first it is pre- withhold information logarithm it is believed that , will be according to transaction results acquisition and account after the transaction results generated after account balance progress pre-authorization Fail Transaction in breath Identify the user's mark bound in advance, and default volume pair of the withholing use corresponding with user's mark in the second pre- information of withholing Family remaining sum carries out pre-authorization transaction, and the unlocking control instruction corresponding to generation after merchandising successfully, that is, the above-mentioned server day after tomorrow Processing is traded using the pre-authorization combination of third-party payment system and Accounting system, to further ensure that the peace for using car Full property and reasonability.
Control module 33 in intelligent bicycle lock control device provided in an embodiment of the present invention also includes the 3rd control unit, with For in the unlocking control instruction after determining not receive background server in preset duration and returning to pre-authorization trading processing, Directly intelligent bicycle lock is controlled to open according to data message.
Intelligent bicycle lock control device provided in an embodiment of the present invention directly controls the mode that lock is opened for data message It is that off line is completed, therefore, above-mentioned intelligent bicycle lock control device also records uncaging time information, blocking time by logging modle Information, and data message, and by uploading module when judging that wireless signal strength is more than the second predetermined threshold value, will be above-mentioned Uncaging time information, the blocking time information of record, and data message are uploaded to background server, so as to background server root Knot expense trading processing is carried out according to uncaging time information, blocking time information, and data message, that is, above-mentioned intelligent vehicle lock control Device processed when networking failure, also can off line unlock, and background server can be easy to when networking successfully according to uncaging time With blocking time corresponding to duration of driving a vehicle corresponding knot is carried out to data message take operation, it is convenient and swift, and lifting user makes Use Experience Degree.
In order to further ensure that the security under above-mentioned directly unlocking mode, the embodiment of the present invention is in above-mentioned unlocking controlling party Before formula is realized, black list information is also obtained by acquisition module, authentication module is verified to the data message of acquisition. Wherein, intelligent bicycle lock control device provided in an embodiment of the present invention reaches default most high order in the number of user's knot expense operation failure After number, black list information corresponding to foundation, by the black list information to the account identification in data message and and the account The information such as user's mark of association are identified to be verified, and, first control unit 331 or threeth control list obstructed out-of-date verifying It is first just to control intelligent bicycle lock to open according to data message, it is ensured that the security that off line is unlocked.In addition, above-mentioned black list information can be with From local acquisition, the black list information of other intelligent bicycle locks obtained from background server can also be.
Intelligent bicycle lock control device provided in an embodiment of the present invention, user's unlocking request is received first;Wherein, user unlocks The data message including at least account identification is carried in request;Then the nothing for the background server that detection is connected with intelligent bicycle lock Line signal intensity;Secondly judge whether wireless signal strength is less than the first predetermined threshold value, and based on judged result control intelligent vehicle Lock is opened;Wherein, opened based on judged result control intelligent bicycle lock, including, if wireless signal strength is less than the first predetermined threshold value, Then control intelligent bicycle lock to open according to data message, determined that is, it is based on judged result corresponding to current radio signal strength Directly unlocked using data message, or the unlocking control instruction returned using background server is unlocked, and passes through two The switching of kind unlocking mode, lifts the using experience degree of user, practicality is more preferably.
The computer program product of the method for the progress intelligent bicycle lock control that the embodiment of the present invention is provided, including store The computer-readable recording medium of program code, the instruction that described program code includes can be used for performing in previous methods embodiment Described method, specific implementation can be found in embodiment of the method, will not be repeated here.
The device for the intelligent bicycle lock control that the embodiment of the present invention is provided can be specific hardware or installation in equipment In the software in equipment or firmware etc..The device that the embodiment of the present invention is provided, its realization principle and caused technique effect and Preceding method embodiment is identical, and to briefly describe, device embodiment part does not refer to part, refers in preceding method embodiment Corresponding contents.It is apparent to those skilled in the art that for convenience and simplicity of description, described above is The specific work process of system, device and unit, may be referred to the corresponding process in above method embodiment, no longer superfluous herein State.
In embodiment provided by the present invention, it should be understood that disclosed apparatus and method, can be by others side Formula is realized.Device embodiment described above is only schematical, for example, the division of the unit, only one kind are patrolled Function division is collected, there can be other dividing mode when actually realizing, in another example, multiple units or component can combine or can To be integrated into another system, or some features can be ignored, or not perform.Another, shown or discussed is mutual Coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some communication interfaces, device or unit Connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in embodiment provided by the invention can be integrated in a processing unit, also may be used To be that unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined, then it further need not be defined and explained in subsequent accompanying drawing in individual accompanying drawing, in addition, term " the One ", " second ", " the 3rd " etc. are only used for distinguishing description, and it is not intended that instruction or hint relative importance.
Finally it should be noted that:Embodiment described above, it is only the embodiment of the present invention, to illustrate the present invention Technical scheme, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, it will be understood by those within the art that:Any one skilled in the art The invention discloses technical scope in, it can still modify to the technical scheme described in previous embodiment or can be light Change is readily conceivable that, or equivalent substitution is carried out to which part technical characteristic;And these modifications, change or replacement, do not make The essence of appropriate technical solution departs from the spirit and scope of technical scheme of the embodiment of the present invention.The protection in the present invention should all be covered Within the scope of.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (10)

  1. A kind of 1. intelligent bicycle lock control method, it is characterised in that including:
    Receive user's unlocking request;Wherein, the data message including at least account identification is carried in user's unlocking request;
    Detect the wireless signal strength for the background server being connected with intelligent bicycle lock;
    Judge whether the wireless signal strength is less than the first predetermined threshold value, and control the intelligent bicycle lock to open based on judged result Open;
    Wherein, it is described to control the intelligent bicycle lock to open based on judged result, including:
    If the wireless signal strength is less than first predetermined threshold value, the intelligent bicycle lock is controlled according to the data message Open.
  2. 2. according to the method for claim 1, it is characterised in that described to control the intelligent bicycle lock to open based on judged result Open, in addition to:
    If the wireless signal strength is more than or equal to first predetermined threshold value, the user is unlocked and asks to send to institute State background server;
    Judge whether that the request that the background server is received in preset duration responds;Wherein, taken in the request response With the unlocking control instruction for the data message obtain after pre-authorization trading processing;
    When it is determined that receiving the unlocking control instruction in the preset duration, according to unlocking control instruction control Intelligent bicycle lock is opened.
  3. 3. according to the method for claim 2, it is characterised in that also include:
    When it is determined that not receiving the unlocking control instruction in the preset duration, the intelligence is controlled according to the data message Can lock unlatching.
  4. 4. the method according to claim 1 or 3, it is characterised in that the intelligence is controlled according to the data message described Before energy lock is opened, in addition to:
    Obtain black list information;
    The data message is verified based on the black list information;
    If checking is not by performing described the step of controlling the intelligent bicycle lock to open according to the data message.
  5. 5. according to the method for claim 1, it is characterised in that described that the intelligent bicycle lock is controlled according to the data message After unlatching, in addition to:
    Record uncaging time information, blocking time information, and the data message.
  6. 6. according to the method for claim 5, it is characterised in that also include:
    When judging that the wireless signal strength is more than the second predetermined threshold value, by the uncaging time information of record, described Blocking time information, and the data message are uploaded to the background server, so that the background server is according to Uncaging time information, the blocking time information, and the data message carry out knot expense trading processing;Wherein, described second Predetermined threshold value is more than first predetermined threshold value.
  7. 7. according to the method for claim 2, it is characterised in that pre-authorization is carried out to the data message according to following steps Trading processing obtains unlocking control instruction:
    The background server initiates to carry the transaction request of the first pre- information of withholing to third-party payment system;
    Receive the transaction results that the third-party payment system is sent;Wherein, the transaction results are the Third-party payment systems System carries out what is generated after pre-authorization Fail Transaction to the account balance in the data message according to the described first pre- information of withholing;
    The user bound in advance with the account identification is obtained according to the transaction results to identify;
    According to the user balance progress pre-authorization transaction corresponding with user mark of the second pre- information pair of withholing, and merchandise into After work(, unlocking control instruction corresponding to generation.
  8. A kind of 8. intelligent bicycle lock control device, it is characterised in that including:
    Receiving module, for receiving user's unlocking request;Wherein, carried in user's unlocking request including at least account mark The data message of knowledge;
    Detection module, for detecting the wireless signal strength for the background server being connected with intelligent bicycle lock;
    Control module, controlled for judging whether the wireless signal strength is less than the first predetermined threshold value, and based on judged result The intelligent bicycle lock is opened;
    Wherein, the control module includes:
    First control unit, if being less than first predetermined threshold value for the wireless signal strength, believed according to the data Breath controls the intelligent bicycle lock to open.
  9. 9. device according to claim 8, it is characterised in that the control module also includes:
    Transmitting element, if being more than or equal to first predetermined threshold value for the wireless signal strength, the user is opened Lock request is sent to the background server;
    Judging unit, for judging whether that the request that the background server is received in preset duration responds;Wherein, it is described The unlocking control instruction to being obtained after data message progress pre-authorization trading processing is carried in request response;
    Second control unit, for when it is determined that receiving the unlocking control instruction in the preset duration, being opened according to described Lock control instruction controls the intelligent bicycle lock to open.
  10. 10. device according to claim 9, it is characterised in that the control module also includes:
    3rd control unit, for when it is determined that not receiving the unlocking control instruction in the preset duration, according to described Data message controls the intelligent bicycle lock to open.
CN201711071835.6A 2017-11-03 2017-11-03 A kind of intelligent bicycle lock control method and device Pending CN107862768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711071835.6A CN107862768A (en) 2017-11-03 2017-11-03 A kind of intelligent bicycle lock control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711071835.6A CN107862768A (en) 2017-11-03 2017-11-03 A kind of intelligent bicycle lock control method and device

Publications (1)

Publication Number Publication Date
CN107862768A true CN107862768A (en) 2018-03-30

Family

ID=61700744

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711071835.6A Pending CN107862768A (en) 2017-11-03 2017-11-03 A kind of intelligent bicycle lock control method and device

Country Status (1)

Country Link
CN (1) CN107862768A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111009060A (en) * 2019-12-18 2020-04-14 宁波博太科智能科技股份有限公司 Method and system for area real-time control of entrance guard
CN111524256A (en) * 2019-02-02 2020-08-11 北京骑胜科技有限公司 Unlocking method and device
CN113589062A (en) * 2021-06-17 2021-11-02 珠海汇金科技股份有限公司 Lock body detection method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106335572A (en) * 2016-08-31 2017-01-18 武汉大学 Low-power-consumption Bluetooth intelligent bicycle lock and public bicycle system adopting bicycle lock under Internet of things technology based on time-space safety
CN106713644A (en) * 2016-12-28 2017-05-24 北京拜克洛克科技有限公司 Public rental bicycle service method and device
CN106991844A (en) * 2017-06-01 2017-07-28 周雷文 Method and system of putting together, the user terminal of shared bicycle
CN106991807A (en) * 2017-05-23 2017-07-28 周雷文 A kind of shared bicycle dispatching method and system
CN107274256A (en) * 2017-05-17 2017-10-20 南京昱立信息科技有限公司 Shared bicycle user identification system and stage division

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106335572A (en) * 2016-08-31 2017-01-18 武汉大学 Low-power-consumption Bluetooth intelligent bicycle lock and public bicycle system adopting bicycle lock under Internet of things technology based on time-space safety
CN106713644A (en) * 2016-12-28 2017-05-24 北京拜克洛克科技有限公司 Public rental bicycle service method and device
CN107274256A (en) * 2017-05-17 2017-10-20 南京昱立信息科技有限公司 Shared bicycle user identification system and stage division
CN106991807A (en) * 2017-05-23 2017-07-28 周雷文 A kind of shared bicycle dispatching method and system
CN106991844A (en) * 2017-06-01 2017-07-28 周雷文 Method and system of putting together, the user terminal of shared bicycle

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111524256A (en) * 2019-02-02 2020-08-11 北京骑胜科技有限公司 Unlocking method and device
CN111009060A (en) * 2019-12-18 2020-04-14 宁波博太科智能科技股份有限公司 Method and system for area real-time control of entrance guard
CN111009060B (en) * 2019-12-18 2022-04-15 宁波博太科智能科技股份有限公司 Method and system for area real-time control of entrance guard
CN113589062A (en) * 2021-06-17 2021-11-02 珠海汇金科技股份有限公司 Lock body detection method and device

Similar Documents

Publication Publication Date Title
CN104836780B (en) Data interactive method, checking terminal, server and system
CN107578503B (en) Method for unlocking, unlocking terminal and the smart lock of shared vehicle
CN103035078B (en) Payment security monitoring method based on position
CN106785146A (en) The charging method and system of the electric automobile charging pile with bluetooth
CN102005088B (en) Based on the contactless payment method and system of stored value card, mobile terminal
CN106548555A (en) A kind of method for unlocking and user terminal of intelligent bicycle lock
CN106997527A (en) Credit payment method and device based on mobile terminal P2P
CN107016741A (en) ETC system and ETC service authentication methods
CN108010137A (en) A kind of urban track traffic system of real name carrier ticket-checking system and method
CN107862768A (en) A kind of intelligent bicycle lock control method and device
CN107871353A (en) A kind of intelligent bicycle lock control method and device
CN107154116A (en) Bicycle leasing system and its control method and device
CN206684807U (en) gate and gate system
CN105868978A (en) NFC mobile payment method and system thereof
CN106780867A (en) Gate control system, identity recognition device and personal identification method
CN107689094A (en) A kind of shared bicycle method for unlocking, server, lock and unlocking system
CN107707527A (en) A kind of detection method, read-write terminal and the system of smart card relay attack
CN107507309A (en) A kind of shared bicycle method for unlocking and server
CN106897874A (en) Method of mobile payment, apparatus and system
CN106696749A (en) Charging method and system for electric automobile charging pile with Zigbee
CN108109238A (en) A kind of smart lock shuts method and system
CN101256695A (en) Method for automatically charging of near-field communication terminal
CN106408293A (en) Riding information processing method and terminal equipment
CN106127462A (en) Method of mobile payment under the line of prepaid card account carrier
CN108280358A (en) Information reminding method and device and electronic equipment

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