The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of control intelligent bicycle lock to shut method, device, intelligence
Lock and bicycle, in the case of preventing from there is on wheel spoke or other barriers due to dead bolt moving direction, directly shut
And cause spoke to damage or certain damage is caused to intelligent bicycle lock.
In a first aspect, embodiments providing a kind of control intelligent bicycle lock shuts method, the intelligent bicycle lock includes master
Controller, switch lock detection module, machine driving module and infrared detection module, fingerprint identification module, the switch lock detection module, the machinery
Transmission module and the infrared detection module, fingerprint identification module are connected with the master controller, and methods described includes:
What receive user terminal sent shuts instruction;
The switch lock detection module detection intelligent bicycle lock is controlled whether in unlocking condition, is if so, then controlled described red
Outer detection module detection dead bolt moving direction whether there is barrier;
If not existing, drive the machine driving module that the intelligent bicycle lock is switched to into the state of shutting;
If existing, to the user terminal information that dead bolt moving direction has barrier is sent.
With reference in a first aspect, embodiments provide the first possible embodiment of first aspect, wherein, institute
State shut instruction for the user terminal according to the user for receiving start touch-control length by shut button generate;
It is described to drive the machine driving module that the intelligent bicycle lock is switched to into the state of shutting, including:
Persistently drive the machine driving module that the intelligent bicycle lock is switched to into the state of shutting, until receiving described opening
Shut the detection module return intelligent bicycle lock and be in the instruction that sets back for shutting state or receiving user terminal transmission;
When receive the switch lock detection module return the intelligent bicycle lock in shut state when, send intelligence to the user terminal
Energy lock shuts successful information;When receive user terminal transmission set back instruction when, to the user terminal
The information that intelligent bicycle lock shuts failure is sent, the instruction that sets back stops for user terminal according to the user for receiving
Touch-control length by shut button and do not receive that the intelligent bicycle lock returns shut what successful information was generated.
With reference to the first possible embodiment of first aspect, second of first aspect is embodiments provided
Possible embodiment, wherein, methods described also includes:
Instruct or determine that dead bolt moving direction has barrier and do not receive described opening when receiving to set back
Shut detection module and return the intelligent bicycle lock in when shutting state, driving the machine driving module by the intelligent bicycle lock
Recover to unlocking condition.
With reference to the first possible embodiment of first aspect, the third of first aspect is embodiments provided
Possible embodiment, wherein, methods described also includes:
Judgement persistently shuts whether number of times is more than the first predetermined threshold value or persistently shuts whether the time presets more than second
Threshold value;
When shutting number of times more than the first predetermined threshold value or shutting the time more than the second predetermined threshold value, it is determined that the intelligence
Energy lock shuts exception, and shuts abnormal information to user terminal transmission, and/or sends pass to far-end server
Lock abnormal information, lock mark and one or more be presently in positional information.
Second aspect, the embodiment of the present invention additionally provides a kind of control intelligent bicycle lock locking device, and the device includes:
Wireless communication module, for what receive user terminal sent instruction is shut;
Control module, for controlling whether the switch lock detection module detection intelligent bicycle lock is in unlocking condition, if so,
Then control the infrared detection module, fingerprint identification module detection dead bolt moving direction and whether there is barrier;If not existing, the machinery is driven
The intelligent bicycle lock is switched to the state of shutting by transmission module;If existing, the wireless communication module is controlled to the user
Terminal sends the information that dead bolt moving direction has barrier.
With reference to second aspect, the first possible embodiment of second aspect is embodiments provided, wherein, institute
State shut instruction for the user terminal according to the user for receiving start touch-control length by shut button generate;
The control module, shuts specifically for persistently driving the machine driving module to switch to the intelligent bicycle lock
State, the intelligent bicycle lock is returned in shutting state or receive user's end until receiving the switch lock detection module
The instruction that sets back that end sends;When the switch lock detection module is received the intelligent bicycle lock is returned in shutting state
When, control the wireless communication module and shut successful information to user terminal transmission intelligent bicycle lock;When receiving
During instruction that what user terminal sent set back, control the wireless communication module and send intelligent bicycle lock to the user terminal to close
Lock failure information, it is described set back instruction for user terminal according to receive user stopping touch-control length by shut by
Key and do not receive that the intelligent bicycle lock returns shut what successful information was generated.
With reference to the first possible embodiment of second aspect, second of second aspect is embodiments provided
Possible embodiment, wherein, the control module, be additionally operable to when receive set back instruction or determine dead bolt move
Be present barrier and do not receive the switch lock detection module return intelligent bicycle lock in when shutting state in direction, drive
The machine driving module recovers the intelligent bicycle lock to unlocking condition.
With reference to the first possible embodiment of second aspect, the third of second aspect is embodiments provided
Possible embodiment, wherein, the control module, be additionally operable to judge persistently to shut number of times whether more than the first predetermined threshold value or
Whether person persistently shuts the time more than the second predetermined threshold value;When shutting number of times more than the first predetermined threshold value or shut the time and be more than
During the second predetermined threshold value, it is determined that the intelligent bicycle lock shuts exception, and controls the wireless communication module to user's end
End sends and shuts abnormal information, and/or send to far-end server shut abnormal information, lock mark, with
And one or more be presently in positional information.
The third aspect, the embodiment of the present invention additionally provides a kind of intelligent bicycle lock, including master controller, switch lock detection mould
Block, machine driving module and infrared detection module, fingerprint identification module, the switch lock detection module, the machine driving module and the infrared inspection
Survey module to be connected with the master controller, the master controller include second aspect to second aspect the third is possible
The control intelligent bicycle lock locking device of any one of embodiment.
Fourth aspect, the embodiment of the present invention additionally provides a kind of intelligent bicycle, and the bicycle includes:Intelligence in the third aspect
Lock;The intelligent bicycle lock is connected with the user terminal by wireless communication module with communication, wherein, it is described
Wireless communication module includes:One or more in bluetooth communication, NFC communication module, wifi module.
Method, device, intelligent bicycle lock and bicycle, the method bag are shut in control intelligent bicycle lock provided in an embodiment of the present invention
Include:What receive user terminal sent shuts instruction;Whether controlling switch lock detection module detection intelligent bicycle lock is in unlocking condition,
If so, then control infrared detection module, fingerprint identification module detection dead bolt moving direction and whether there is barrier;If not existing, machine driving is driven
Intelligent bicycle lock is switched to the state of shutting by module;If existing, send dead bolt moving direction to user terminal and there is barrier
Information.Before execution shuts action, first pass through infrared detection module, fingerprint identification module detection dead bolt moving direction is the embodiment of the present invention
No to there is barrier, only when determining that dead bolt moving direction does not have barrier, ability control machinery transmission module performs pass
Lock action, in the case of so can preventing from there is on wheel spoke or other barriers due to dead bolt moving direction, directly closes
Lock and cause spoke to damage or certain damage is caused to intelligent bicycle lock.
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.
Specific embodiment
To make purpose, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
Middle accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only
It is a part of embodiment of the invention, rather than the embodiment of whole.The present invention generally described and illustrated in accompanying drawing herein is real
Applying the component of example can be arranged and be designed with a variety of configurations.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, the 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.
In in view of correlation technique either by the way of manual locking, or using the direct side of car locking automatically
Formula, shuts in course of action in execution, if in the case that dead bolt moving direction has on wheel spoke or other barriers, directly
Connecing to shut may cause spoke to damage or intelligent bicycle lock is caused necessarily to damage.Based on this, one is embodiments provided
Plant control intelligent bicycle lock and shut method, device, intelligent bicycle lock and bicycle, be described below by embodiment.
As shown in figure 1, embodiments providing a kind of control intelligent bicycle lock shuts method, the intelligent bicycle lock includes master
Controller, switch lock detection module, machine driving module and infrared detection module, fingerprint identification module, above-mentioned switch lock detection module, machine driving
Module and above-mentioned infrared detection module, fingerprint identification module are connected with above-mentioned master controller, and the above-mentioned method that shuts is including step S102-S108, tool
Body is as follows:
Step S102:What receive user terminal sent shuts instruction;
Step S104:Whether controlling switch lock detection module detection intelligent bicycle lock is in unlocking condition, if so, then in control
Infrared detection module, fingerprint identification module detection dead bolt moving direction is stated with the presence or absence of barrier, wherein, the infrared detection module, fingerprint identification module can be infrared biography
Sensor;
Step S106:When it is there is no barrier to detect dead bolt moving direction, the above-mentioned machine driving module of driving will
Above-mentioned intelligent bicycle lock switches to the state of shutting;
Step S108:When it is the presence of barrier to detect dead bolt moving direction, sends dead bolt to above-mentioned user terminal and move
There is the information of barrier in dynamic direction.
In the embodiment that the present invention is provided, before execution shuts action, infrared detection module, fingerprint identification module detection dead bolt is first passed through
Moving direction whether there is barrier, only when determining that dead bolt moving direction does not have barrier, the transmission of ability control machinery
Module is performed and shuts action, can so prevent the situation that there are spoke or other barriers on wheel due to dead bolt moving direction
Under, directly shut and cause spoke to damage or certain damage is caused to intelligent bicycle lock.
Further, it is contemplated that may cause to shut mistake due to there is the empty pass of intelligent bicycle lock or certain unit exception
Lose and user is mistakenly considered the problem for having shut, based on this, above-mentioned to shut instruction be above-mentioned user terminal according to the user for receiving
Start touch-control length by shut button generation;
Above-mentioned intelligent bicycle lock is switched to the state of shutting by the above-mentioned machine driving module of above-mentioned driving, including:
Persistently drive above-mentioned machine driving module that above-mentioned intelligent bicycle lock is switched to into the state of shutting, until receiving above-mentioned opening
Shut the above-mentioned intelligent bicycle lock of detection module return and be in the instruction that sets back for shutting state or receiving user terminal transmission;
When receive above-mentioned switch lock detection module return above-mentioned intelligent bicycle lock in shut state when, to above-mentioned user's end
End sends intelligent bicycle lock and shuts successful information;
When receive user terminal transmission set back instruction when, to above-mentioned user terminal send intelligent bicycle lock shut mistake
The information for losing, it is above-mentioned set back instruction for user terminal according to receive user stopping touch-control length by shut button and
Do not receive above-mentioned intelligent bicycle lock return shuts what successful information was generated.
Specifically, user terminal (APP ends) is provided with " long by shut " button, user by it is long by should " long by shut " press
Key, user terminal is sent to intelligent bicycle lock by way of radio communication and shuts instruction, can cause receiving terminal (intelligent bicycle lock
End) automatically control intelligent bicycle lock and perform and shut action, and this shuts action and continuously carries out, rather than be only performed once shut it is dynamic
Make, and the final situation that shuts is back to into user terminal, so that till user guarantees to shut success, in addition, work as determining
When shutting unsuccessfully, please intelligent bicycle lock is checked to user terminal transmission and again touch-control length is believed by the prompting for shutting button
Breath, for example, points out user to check for the empty pass of intelligent bicycle lock or the problem of certain unit exception.
In the embodiment that the present invention is provided, driving mechanical transmission module to switch to intelligent bicycle lock state procedure is shut
In, by starting touch-control length by button is shut to touch-control length is stopped by during shutting button in user, continuously carry out and shut action
And persistently detect whether lock switches to the state of shutting, while final lock on off state is fed back to into user, so as to i.e. can
Realization shuts automatically, reduces again and shuts mortality, it is to avoid user occurs and be mistakenly considered to shut successful phenomenon.
Further, it is contemplated that there may be dead bolt during shutting and be not moved to shut at the locked position of coupler for finishing, and
User stops touch-control length by the situation for shutting button, or, detect that dead bolt moving direction has obstacle again during shutting
The situation of thing, so as to affect shut action next time, based on this, said method also includes:
Drive above-mentioned machine driving module to switch to above-mentioned intelligent bicycle lock in execution to shut in state procedure, Sustainable Control
Above-mentioned infrared detection module, fingerprint identification module detection dead bolt moving direction whether there is barrier;
When receive set back instruction or determine that dead bolt moving direction has barrier and do not receive above-mentioned opening
Shut detection module and return above-mentioned intelligent bicycle lock in when shutting state, driving above-mentioned machine driving module by above-mentioned intelligent bicycle lock
Recover to unlocking condition.
In the embodiment that the present invention is provided, when intelligent bicycle lock shuts unsuccessfully, user terminal to the intelligent bicycle lock sends
Set back instruction, intelligent bicycle lock receive this set back instruction when, or, detect that dead bolt is moved again during shutting
When direction has the situation of barrier, intelligent bicycle lock is recovered to unlocking condition automatically, so as to normally perform shut next time
Action, meanwhile, if in the case of causing to shut failure because of spoke on cycle wheel or other barrier obstructions, being easy to use
Spoke on cycle wheel or other barriers are removed to dead bolt shift position by family.
Specifically, it is above-mentioned persistently to drive mechanical transmission module that above-mentioned intelligent bicycle lock is switched to into the state of shutting, including:
Drive above-mentioned machine driving module that above-mentioned intelligent bicycle lock is switched to into the state of shutting;
Control above-mentioned switch lock detection module and detect above-mentioned intelligent bicycle lock whether in shutting state, if, it is determined that on
State intelligent bicycle lock to shut successfully;
If it is not, then continue to drive above-mentioned machine driving module that above-mentioned intelligent bicycle lock is switched to into the state of shutting, until it is determined that
Number of times is shut more than the first predetermined threshold value or the time is shut more than the second predetermined threshold value.
Further, it is contemplated that in the case that the exceptions such as damage parts occurs in intelligent bicycle lock, even if user always press by length
Length on user terminal cannot make intelligent bicycle lock be switched to the state of shutting by button is shut, also, now, illustrate that intelligent bicycle lock is different
Often, need to carry out keeping in repair the intelligent bicycle lock, based on this, said method also includes:
Judgement persistently shuts whether number of times is more than the first predetermined threshold value or persistently shuts whether the time presets more than second
Threshold value;
When shutting number of times more than the first predetermined threshold value or shutting the time more than the second predetermined threshold value, it is determined that above-mentioned intelligence
Energy lock shuts exception, and shuts abnormal information to the transmission of above-mentioned user terminal, and/or sends pass to far-end server
Lock abnormal information, lock mark and one or more be presently in positional information.
Wherein, above-mentioned lock mark can be lock serial number, in addition, when it is determined that intelligent bicycle lock shuts abnormal, may be used also
With send to specified maintenance terminal according to default information sender formula shut abnormal information, lock mark and
One or more be presently in positional information, so that the corresponding maintainer of the maintenance terminal examines to the intelligent bicycle lock
Repair, the information sender formula include it is following in any one:Note, wechat, QQ or phone.
Further, when server receive shut abnormal information, lock mark and lock be presently in position
When confidence ceases, the Auto-matching maintenance terminal nearest away from the intelligent bicycle lock, and the information sender formula of the maintenance terminal is issued
The information sender formula of the maintenance terminal sent to intelligent bicycle lock, the intelligent bicycle lock the reception server, and according to the letter for receiving
Breath sending method sends to shut abnormal information, lock mark and be presently in position to corresponding maintenance terminal to be believed
One or more in breath, so that maintenance terminal can reach abnormal lock position the very first time, enters to the abnormal lock
Row maintenance.
In the embodiment that the present invention is provided, when determining that intelligent bicycle lock shuts abnormal, it is automatically stopped and shuts action, and
Corresponding information is sent to user terminal, maintenance terminal or remote terminal, so that maintainer is to abnormal intelligent bicycle lock
Keeped in repair, meanwhile, reduction shuts the damage that action brings to lock parts because continuously carrying out.
As shown in Fig. 2 the schematic flow sheet that a kind of preferred control intelligent bicycle lock shuts method is given, specially:
Instruction is shut by what wireless communication module receive user terminal sent;
Whether controlling switch lock detection module detection intelligent bicycle lock is in unlocking condition, if so, then controls infrared detection mould
Block detection dead bolt moving direction whether there is barrier;
If not existing, drive mechanical transmission module to perform and shut action, will intelligent bicycle lock switch to the state of shutting, and
The locking that reception switch lock detection module is detected judges signal, it is determined that car locking success;
If existing and determining, switch lock detection module is not detected by locking and judges signal, and control machinery transmission module will
Dead bolt is back to lockset position of coupler, and sends the information that dead bolt moving direction has barrier to user terminal;Secondary control again
Infrared detection module, fingerprint identification module detection dead bolt moving direction whether there is barrier.
The control intelligent bicycle lock provided in the present invention is shut in method, and the method includes:The pass that receive user terminal sends
Lock instruction;Whether controlling switch lock detection module detection intelligent bicycle lock is in unlocking condition, if so, then controls infrared detection module, fingerprint identification module
Detection dead bolt moving direction whether there is barrier;If not existing, drive mechanical transmission module that intelligent bicycle lock is switched to into pass
Lock status;If existing, to user terminal the information that dead bolt moving direction has barrier is sent.The embodiment of the present invention exists
Execution is shut before action, first passes through infrared detection module, fingerprint identification module detection dead bolt moving direction with the presence or absence of barrier, only it is determined that
When going out dead bolt moving direction and there is no barrier, ability control machinery transmission module is performed and shuts action, so can prevent due to
In the case that dead bolt moving direction has on wheel spoke or other barriers, directly shut and cause spoke to damage or to intelligence
Energy lock causes certain damage.
The embodiment of the present invention additionally provides a kind of control intelligent bicycle lock locking device, as shown in figure 3, the device includes:
Wireless communication module 302, for what receive user terminal sent instruction is shut;
Whether control module 304, be in unlocking condition, if so, for controlling switch lock detection module detection intelligent bicycle lock
Then control above-mentioned infrared detection module, fingerprint identification module detection dead bolt moving direction and whether there is barrier;If not existing, above-mentioned machinery is driven
Above-mentioned intelligent bicycle lock is switched to the state of shutting by transmission module;If existing, above-mentioned wireless communication module 302 is controlled to above-mentioned use
Family terminal sends the information that dead bolt moving direction has barrier.
In the embodiment that the present invention is provided, before execution shuts action, infrared detection module, fingerprint identification module detection dead bolt is first passed through
Moving direction whether there is barrier, only when determining that dead bolt moving direction does not have barrier, the transmission of ability control machinery
Module is performed and shuts action, can so prevent the situation that there are spoke or other barriers on wheel due to dead bolt moving direction
Under, directly shut and cause spoke to damage or certain damage is caused to intelligent bicycle lock.
Further, it is above-mentioned shut instruction for above-mentioned user terminal according to the user for receiving start touch-control length by shut by
What key was generated;
Above-mentioned control module 304, specifically for persistently driving above-mentioned machine driving module to switch to above-mentioned intelligent bicycle lock
State is shut, above-mentioned intelligent bicycle lock is returned in shutting state or receive use until receiving above-mentioned switch lock detection module
The instruction that sets back that family terminal sends;When above-mentioned switch lock detection module is received above-mentioned intelligent bicycle lock is returned in shutting shape
During state, control above-mentioned wireless communication module 302 and shut successful information to above-mentioned user terminal transmission intelligent bicycle lock;When connecing
Receive user terminal transmission set back instruction when, control above-mentioned wireless communication module 302 and send intelligence to above-mentioned user terminal
Energy lock shuts the information of failure, and the above-mentioned instruction that sets back is that user terminal is long according to the user's stopping touch-control for receiving
By shut button and do not receive that above-mentioned intelligent bicycle lock returns shut what successful information was generated.
In the embodiment that the present invention is provided, driving mechanical transmission module to switch to intelligent bicycle lock state procedure is shut
In, by starting touch-control length by button is shut to touch-control length is stopped by during shutting button in user, continuously carry out and shut action
And persistently detect whether lock switches to the state of shutting, while final lock on off state is fed back to into user, so as to i.e. can
Realization shuts automatically, reduces again and shuts mortality, it is to avoid user occurs and be mistakenly considered to shut successful phenomenon.
Further, above-mentioned control module 304, is additionally operable to performing the above-mentioned machine driving module of driving by above-mentioned intelligent vehicle
Lock is switched to and shut in state procedure, and the above-mentioned infrared detection module, fingerprint identification module detection dead bolt moving direction of Sustainable Control whether there is obstacle
Thing;Examine when receiving to set back instruction or determine that dead bolt moving direction has barrier and do not receive above-mentioned switch lock
Survey module return above-mentioned intelligent bicycle lock in when shutting state, drive above-mentioned machine driving module by above-mentioned intelligent bicycle lock recover to
Unlocking condition.
In the embodiment that the present invention is provided, when intelligent bicycle lock shuts unsuccessfully, user terminal to the intelligent bicycle lock sends
Set back instruction, intelligent bicycle lock receive this set back instruction when, or, detect that dead bolt is moved again during shutting
When direction has the situation of barrier, intelligent bicycle lock is recovered to unlocking condition automatically, so as to normally perform shut next time
Action, meanwhile, if in the case of causing to shut failure because of spoke on cycle wheel or other barrier obstructions, being easy to use
Spoke on cycle wheel or other barriers are removed to dead bolt shift position by family.
Further, above-mentioned control module 304, specifically for driving above-mentioned machine driving module to cut above-mentioned intelligent bicycle lock
Shift to shut state;Control above-mentioned switch lock detection module and whether detect above-mentioned intelligent bicycle lock in state is shut, it is if so, then true
Fixed above-mentioned intelligent bicycle lock shuts successfully;If it is not, then continuing to drive above-mentioned machine driving module that above-mentioned intelligent bicycle lock is switched to into pass
Lock status, until it is determined that shutting number of times more than the first predetermined threshold value or shutting the time more than the second predetermined threshold value.
Further, above-mentioned control module 304, be additionally operable to judge persistently to shut number of times whether more than the first predetermined threshold value or
Whether person persistently shuts the time more than the second predetermined threshold value;When shutting number of times more than the first predetermined threshold value or shut the time and be more than
During the second predetermined threshold value, it is determined that above-mentioned intelligent bicycle lock shuts exception, and controls above-mentioned wireless communication module 302 to above-mentioned user
Terminal sends and shuts abnormal information, and/or send to far-end server shut abnormal information, lock mark,
And one or more be presently in positional information.
In the embodiment that the present invention is provided, when determining that intelligent bicycle lock shuts abnormal, it is automatically stopped and shuts action, and
Corresponding information is sent to user terminal, maintenance terminal or remote terminal, so that maintainer is to abnormal intelligent bicycle lock
Keeped in repair, meanwhile, reduction shuts the damage that action brings to lock parts because continuously carrying out.
In control intelligent bicycle lock locking device provided in an embodiment of the present invention, before execution shuts action, first pass through
Infrared detection module, fingerprint identification module detection dead bolt moving direction whether there is barrier, only there is no obstacle determining dead bolt moving direction
During thing, ability control machinery transmission module is performed and shuts action, so can be prevented because dead bolt moving direction has spoke on wheel
In the case of bar or other barriers, directly shut and cause spoke to damage or certain damage is caused to intelligent bicycle lock;Enter one
Step, shut in state procedure driving mechanical transmission module to switch to intelligent bicycle lock, by user start touch-control length by
Shut button to stop touch-control length by during shutting button, continuously carry out shut action and persistently detect lock whether switch to pass
Lock status, while final lock on off state is fed back to into user, so as to realize shutting automatically, reduces and shuts mistake again
Lose rate, it is to avoid user occur and be mistakenly considered to shut successful phenomenon;Further, when intelligent bicycle lock shuts unsuccessfully, user's end
Hold to the intelligent bicycle lock and send the instruction that sets back, intelligent bicycle lock receives this and sets back when instructing, or, shutting process
In when detecting that dead bolt moving direction has the situation of barrier again, intelligent bicycle lock is recovered to unlocking condition automatically, so that just
Often perform and shut action next time, meanwhile, if causing to shut because of spoke on cycle wheel or other barrier obstructions
In the case of failure, it is easy to user that spoke on cycle wheel or other barriers are removed to into dead bolt shift position;Enter again
One step, when determining that intelligent bicycle lock shuts abnormal, be automatically stopped and shut action, and to user terminal, maintenance terminal or
Remote terminal sends corresponding information, so that maintainer is keeped in repair to abnormal intelligent bicycle lock, meanwhile, reduce because continuing
Execution shuts the damage that action brings to lock parts.
The embodiment of the present invention additionally provides a kind of intelligent bicycle lock, such as Fig. 4, including master controller 110, switch lock detection module
120th, machine driving module 130 and infrared detection module, fingerprint identification module 140, above-mentioned switch lock detection module 120, above-mentioned machine driving module
130 and above-mentioned infrared detection module, fingerprint identification module 140 be connected with above-mentioned master controller 110, above-mentioned master controller 110 is included as in Fig. 3
Control intelligent bicycle lock locking device.
Wherein, above-mentioned intelligent bicycle lock also includes:Supply module 160, the supply module 160 respectively with above-mentioned master controller
110th, switch lock detection module 120, machine driving module 130 are connected with infrared detection module, fingerprint identification module 140, and provide for modules
Power supply.
Specifically, above-mentioned supply module 160 is mainly powered using 18650 rechargeable battery to whole intelligent bicycle lock;
Wireless communication module 302 in above-mentioned master controller 110 can completely shut action by bluetooth and user terminal communication;On
It is mobile phone A PP end to state user terminal;The action that mainly responsible dead bolt shuts of above-mentioned machine driving module 130 is realized;Above-mentioned switch
Lock detection module 120 is responsible for the state-detection and feedback of status of switch lock;Above-mentioned infrared detection module, fingerprint identification module 140 is mainly responsible for detection lock
Whether tongue exit has barrier obstruction..
As shown in figure 5, a kind of frame for movement schematic diagram of intelligent bicycle lock is given, specially:Also set inside intelligent bicycle lock
Dead bolt 210 is equipped with, intelligent bicycle lock outer surface is provided with dead bolt outlet, if master controller 110 receives the pass of user terminal transmission
Lock is instructed, then control machinery transmission module 130 drives dead bolt 210 to extend out to locked position of coupler from dead bolt outlet.By taking Fig. 5 as an example, lock
Protrusion of the tongue mouth is that in Fig. 5 shown in label A, locked position of coupler is shown in label B in Fig. 5.
As shown in figure 5, machine driving module 130 includes motor 220, worm gear 230 and worm screw 240, motor 220 is in main control
Drive worm gear 230 rotates along the first locking direction under the control of device 110 (i.e. circuit board 270), and worm gear 230 is along the first locking direction
During rotation, drive worm screw 240 to rotate along the second locking direction, when worm screw 240 rotates along the second locking direction, drive dead bolt 210
Locked position of coupler is extend out to from dead bolt outlet, so as to realize shutting action.
Above-mentioned switch lock detection module 120 includes:Unlocking detector and locking detector, the unlocking detector includes first
Microswitch 250, the first microswitch 250 is used to detect whether the dead bolt 210 of intelligent bicycle lock contacts with the first contact, if inspection
The dead bolt 210 for measuring intelligent bicycle lock contacts with the first contact, it is determined that intelligent bicycle lock is in unlocking condition.
Locking detector includes the second microswitch 260, for detect the dead bolt 210 of intelligent bicycle lock whether with the second contact
Contact, if the dead bolt 210 for detecting intelligent bicycle lock contacts with the second contact, it is determined that intelligent bicycle lock is in and shuts state.
Specifically, as shown in figure 5, being provided with the first contact, the second microswitch on the shell fragment of the first microswitch 250
The second contact is provided with 260 shell fragment, when intelligent bicycle lock is unlocked, first in the microswitch 250 of dead bolt 210 and first touches
Point contacts, and departs from the second contact in the second microswitch 260, and the first microswitch 250 sends to master controller 110 and opens
Lock status signal.When intelligent bicycle lock locking, the first contact in the microswitch 250 of dead bolt 210 and first departs from, micro- with second
The second contact on dynamic switch 260 contacts, and the second microswitch 260 sends to master controller 110 and shuts status signal.
As shown in Figure 6 a, there is no the structural representation of barrier in the dead bolt moving direction for giving intelligent bicycle lock, and
Shown in Fig. 6 b, there is the structural representation of barrier in the dead bolt moving direction for giving intelligent bicycle lock, wherein, above-mentioned infrared detection
Module 140 includes RF transmitter 1402 and infrared receiver 1401, and the RF transmitter 1402 is arranged at dead bolt and goes out
Mouth goes out, and the infrared receiver 1401 is arranged at locked position of coupler,
In Fig. 6 a, due to there is no barrier between RF transmitter 1402 and infrared receiver 1401, now
Infrared receiver 1401 can receive the infrared ray that RF transmitter 1402 sends, and feed back to master controller 110
Receive infrared signal, it is determined that dead bolt moving direction does not have barrier;
In figure 6b, it is now red due to there is barrier between RF transmitter 1402 and infrared receiver 1401
Outer line receiver 1401 can not receive the infrared ray that RF transmitter 1402 sends, and feed back to master controller 110 and do not connect
Receive infrared signal, it is determined that dead bolt moving direction has barrier;
It should be noted that above-mentioned RF transmitter 1402 and infrared receiver 1401 can with exchange position, as long as
Can carry out detecting that dead bolt moving direction whether there is barrier.
The embodiment of the present invention additionally provides a kind of intelligent bicycle, and the intelligent bicycle includes:Such as Fig. 4 or as shown in Figure 5
Intelligent bicycle lock;
The intelligent bicycle lock is connected with above-mentioned user terminal 10 by wireless communication module 302 with communication, its
In, above-mentioned wireless communication module 302 includes:One or more in bluetooth communication, NFC communication module, wifi module.
The embodiment of the present invention additionally provides a kind of control intelligent bicycle lock and shuts system, as shown in fig. 7, the system includes:With
Family terminal 10 and above-mentioned intelligent bicycle 20, the intelligent bicycle 20 is led to by above-mentioned intelligent bicycle lock with the user terminal 10
Letter.
Intelligent bicycle lock, intelligent bicycle 20 and the control intelligent bicycle lock provided in the present invention is shut in system, is shut in execution
Before action, the detection dead bolt moving direction of infrared detection module, fingerprint identification module 140 is first passed through with the presence or absence of barrier, only determining dead bolt
When moving direction does not have barrier, ability control machinery transmission module 130 is performed and shuts action, so can be prevented due to dead bolt
In the case that moving direction has on wheel spoke or other barriers, directly shut and cause spoke to damage or to intelligent vehicle
Lock causes certain damage;Further, intelligent bicycle lock is switched in driving mechanical transmission module 130 and is shut in state procedure,
Shut action and hold by during shutting button, continuously carrying out to touch-control length is stopped by shutting button by starting touch-control length in user
Whether continuous detection lock switches to the state of shutting, while final lock on off state is fed back to into user, so as to realize
Automatically shut, reduce again and shut mortality, it is to avoid user occur and be mistakenly considered to shut successful phenomenon;Further, intelligence is worked as
When energy lock shuts unsuccessfully, user terminal to the intelligent bicycle lock sends the instruction that sets back, and it is former that intelligent bicycle lock receives the recovery
During bit instruction, or, when detecting that dead bolt moving direction has the situation of barrier again during shutting, automatically by intelligent vehicle
Lock recovers to unlocking condition, so as to normally perform shut action next time, meanwhile, if because spoke on cycle wheel or its
His barrier obstruction and in the case of causing to shut failure, be easy to user to move spoke on cycle wheel or other barriers
Open to dead bolt shift position;Further, when determining that intelligent bicycle lock shuts abnormal, it is automatically stopped and shuts action, and to
User terminal, maintenance terminal or remote terminal send corresponding information, so that maintainer is locked into abnormal intelligent vehicle
Row maintenance, meanwhile, reduction shuts the damage that action brings to lock parts because continuously carrying out.
The control intelligent bicycle lock locking device that the embodiment of the present invention is provided can be specific hardware or peace on equipment
Loaded on software or firmware on equipment etc..The device that the embodiment of the present invention is provided, it realizes the technique effect of principle and generation
It is identical with preceding method embodiment, it is brief description, device embodiment part does not refer to part, refers to preceding method embodiment
Middle corresponding contents.Those skilled in the art can be understood 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 said method embodiment, and here is no longer gone to live in the household of one's in-laws on getting married
State.
In embodiment provided by the present invention, it should be understood that disclosed apparatus and method, other sides can be passed through
Formula is realized.Device embodiment described above is only schematic, and for example, the division of the unit, only one kind are patrolled
Volume function is divided, and can have other dividing mode when actually realizing, and for example, multiple units or component can with reference to or can
To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other
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 as separating component explanation can be or may not be it is physically separate, it is aobvious as unit
The part for showing 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 according to the actual needs be selected to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in the embodiment that the present invention is provided can be integrated in a processing unit, also may be used
Being that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is realized and as independent production marketing or when using using in the form of SFU software functional unit, can be with
In being stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part 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 used so that a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention.
And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (Read-Only Memory, ROM), random access memory are deposited
Reservoir (Random Access Memory, RAM), 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 in individual accompanying drawing, then it need not be further defined and is explained in subsequent accompanying drawing, additionally, term " the
One ", " second ", " the 3rd " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
Finally it should be noted that:Embodiment described above, specific embodiment only of the invention, to illustrate the present invention
Technical scheme, rather than a limitation, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this
It is bright to be described in detail, it will be understood by those within the art that:Any those familiar with the art
The invention discloses technical scope in, it still can modify to the technical scheme described in previous embodiment or can be light
Change is readily conceivable that, or equivalent 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 embodiment of the present invention technical scheme.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.