DEVICE OF WIRELESS CONTROLLING A LOCK AND A METHOD OF PREVENTING UNLOCKING FROM OUTER SIDE

Disclosed is a device of wireless controlling a lock, which comprises a main body, the main body comprises: an open unit (1010), one end of the open unit (1010) is inserted to a key hole at the side of the door lock faced to the locked space and is disposed at an initial position; the initial position is a position when the open unit is inserted to the key hole; a driving unit (1020), the driving unit (1020) is linked to the open unit (10100) to drive the insert end of the open unit (1010) to rotate in the key hole; a start unit, the start unit is wireless connected to the driving unit, the start unit transmits control signal to make the driving unit drive the insert end of the open unit to rotate. The present invention further discloses a method of preventing unlocking from outer side

TECHNICAL FIELD

The present invention relates to a unlocking mechanism and a method of preventing unlocking from outer side.

RELATED ART

With the rise of the concept of smart home, more and more home supplies are electronized and intelligentized. Detailed in the lock aspect, to release the disadvantage of carry-on key, fingerprint locks are developing in the recent years. The user can use their unique fingerprint to unlock the lock but not the key. The fingerprint unlocking way is convenient and fast with high security. However, the fingerprint lock costs high, and it can not assemble to the original lock, the user has to change the door lock. The high costs stop people's feet. So if there is a technique that can wireless operate the older door lock and eliminate the trouble of key carrying, the cost can be reduced to benefit more people.

SUMMARY OF THE INVENTION

The present invention is mainly provided with a device of wireless controlling a lock that the user can wireless unlock the door lock without the key. The mechanism can be widely used in various door lock, and the door lock needn't to be changed.

The present invention is further provided with a device of wireless controlling a lock that the user can record the motions of unlocking and locking by the App in the smart device. The unlocking command or locking command can be accurately sent out by operating the App.

The present invention is further provided with a device of wireless controlling a lock that the device inserted to the lock hole can be reset to the initial position after finishing the unlocking or locking motion.

The present invention is further provided with a device of wireless controlling a lock that a reset unit can be used to manually insert the device of the lock hole after a part of the device is pushed out.

To solve above mentioned problems, the present invention is provided with a device of wireless controlling a lock, which comprises:an open unit, one end of the open unit is inserted to a key hole at the side of the door lock faced to the locked space and is disposed at an initial position; the initial position is a position when the open unit is inserted to the key hole;a driving unit, the driving unit is linked to the open unit to drive the insert end of the open unit to rotate in the key hole;a start unit, the start unit is wireless connected to the driving unit, the start unit transmits control signal to make the driving unit drive the insert end of the open unit to rotate;the insert end of the open unit rotates in clockwise direction or in counter-clockwise direction under the driving of the driving unit.

In another preferred embodiment, further comprising a mechanical rotating unit and a motion record unit, the motion record unit records the forwardly rotating or backwardly rotating of the mechanical rotating unit to control the open unit to lock or unlock correspondingly by the driving unit.

In another preferred embodiment, the position calibrating device comprises a rotating element, a target position detection unit keeping still relative to the rotating element, an induction unit linked to the rotating element and a position control unit; when the rotating element is located at the target position, the detection unit and the induction unit couple to send indication signal out;the position control unit outputs a first position driving current to the rotating element to drive the rotating element to rotate and position; when the response unit and the induction unit coupled to send an indication signal out, the first position driving current is cut off;if the induction unit does not continuously send the signal out after the first position driving current is cut off, the position control unit outputs a second position driving current to the rotating unit, the second position driving current is reverse to the first position driving current, and the absolute value of the second position driving current is lower than that of the first position driving current; when the detection unit and the induction unit couple to send an indication signal out, the second position driving current is cut off;if the induction unit does not continuously send the indication signal out after the second position driving current is cut off, the position control unit outputs a third position driving current to the rotating element; the third position driving current is reverse to the first position driving current, the absolute value of the third position driving current is lower than that of the second position driving current; when the response unit and the induction unit couple to send an indication signal out, the third position driving current is cut off;and so forth, the induction unit sends a continuous indication signal out until a N position driving unit is cut off.

The present invention is further provided with a method of preventing unlocking from the outer side.

To solve above mentioned problem, the present invention is provided with a method of preventing unlocking from the outer side:

A rotating element: comprising an open unit, one end of the open unit is inserted to the lock hole of the door lock at the side facing to the locked space and is located at an initial position; the initial position is the position the open unit inserted to the lock hole; a driving unit, the driving unit is linked to the open unit to drive the insert end of the open unit to rotate in the lock hole;a start unit, the start unit is wireless controlled to the driving unit, the start unit transmits a control signal to make the drive unit drive the insert end of the open unit to rotate.the rotating element receives a burglary resistant command, the rotating element is controlled to rotate to a lock angle besides the unlocking angle and the locking angle.

In another preferred embodiment, the rotating element rotates towards the commanded direction after received a unlocking command or a locking command to make the door lock located in unlocking state or locking state; the rotating element rotates in a corresponding direction to be located at the lock angle besides the unlocking angle and the locking angle after received a burglary resistant command

Compared to the existing known technology, the present invention has following advantages:1. The present invention is provided with a device of wireless controlling a lock that a key spindle is inserted to the lock hole at the side of the traditional lock door facing the locked space, the App wireless controls the key spindle to rotate in the clockwise direction or counter-clockwise direction to achieve wireless unlocking or locking. Therefore, the preset invention is provided with a wireless unlocking or locking mechanism that it needn't change the structure of the traditional door lock nor replacing by a new door lock to achieve the wireless locking or unlocking functions. The usage is simple and fast, the assembly is also simple and convenient.2. The present invention is provided that the forward rotation and the reverse rotation are taken in mechanical way before the usage, and the rotating track of the open unit under the two motions are recorded and correspond to the corresponding commands of the start unit. After that, the user can make the key spindle rotate forwardly or reversely by the App to operate the unlocking or locking.3. The present invention is provided that three Hall sensors are coupled to the magnet, the order of the Hall sensors sending the induction signal out is recorded, namely recording the rotating track of the key spindle. By the conduction of different Hall sensors, the forward rotation and the reverse rotation of the key are separated. The structure is simple, the components are less and the record is accurate. After the forward rotation and the reverse rotation of the key are defined, the user can send the forward rotation or reverse rotation command by the App of the phone, so the open unit can rotate forwardly or reversely in the lock hole to the end to achieve locking or unlocking.4. The present invention is provided that after the key spindle finishes its locking or unlocking motion, the key spindle is rotated reversely to the initial position, that is to say, the key spindle is always located at the initial position after the unlocking or locking motion. So the user can insert the key to the key hole at the side facing the open space and push the key spindle out thus to use the traditional key to mechanically unlock. So the user can still use the traditional key to open the door even in an accident of electrical fault or power off.5. The present invention is provided with an initial position indication unit, which comprises a photoelectricity generation mechanism; when the key spindle rotates reversely until the photoelectricity generation mechanism sends an optical signal out, the App judges that the key spindle is located at the initial position and sends a control signal to make the key spindle stop rotating.6. The initial position indication unit of the present invention further comprises an initial position calibrating mechanism. When the wireless unlocking or locking mechanism is assembled, the key spindle is limited in the initial position by the lock hole, the photoelectricity generation mechanism can not be accurately located at the initial position due to deviation. The initial position calibrating mechanism can change the relative position of the photoelectricity generation mechanism and the gap, the photoelectricity generation mechanism is not located at the initial position unless the mechanism sends an indication signal out.7. The present invention further comprises a reset mechanism. When the key spindle is partially pushed out of the key hole, the reset mechanism is operated to make the key spindle inserted to the key hole again. So the mechanism needn't to be disassembled and re-assembled.8. The present invention is provided with a method of preventing unlocking from the outer side, the key is inserted from the inner side, the angle of the inner side of the key is located at a not-pulled out angle, making the key unable to be inserted form the outer side, so the lock can not be unlocked from the outer side. By remote method, in unlocking state or locking state, the lock is locked up to prevent a risk of trespass from the outer side. The present invention keeps the locking and unlocking function by an internal key and an external key that it is convenient and safe.

DETAILED DESCRIPTION OF THE EMBODIMENTS

The first embodiment: referring toFIGS. 1-5, a device of wireless controlling a lock comprises:an open unit1010, one end of the open unit1010is inserted to a key hole at the side of the door lock faced to the locked space and is disposed at an initial position; the initial position is a position when the open unit1010is inserted to the key hole;a driving unit1020, the driving unit1020is linked to the open unit1010to drive the insert end of the open unit1010to rotate in the key hole;a start unit, the start unit is wireless connected to the driving unit1020. In this embodiment, the start unit is wireless controlled to the driving unit1020by Bluetooth or WiFi. The start unit transmits control signal to make the driving unit1020drive the insert end of the open unit1010to rotate.

In this embodiment, the open unit1010comprises a key spindle1101and a rotating plate1102coaxially rotatable; one end of the key spindle1101is the insert end, the other end is disposed with a first insert hole1021at the center of circle of the front side of the rotating plate1102. The user can choose corresponding size of key spindle1101according to his lock type, and then polish the same key hole or key groove with the original key in the key spindle1101. Therefore, above wireless locking or unlocking mechanism is provided that the open unit1010is inserted to the key hole at the side of the traditional door lock facing the locked space and a start unit is used to wireless control the open unit1010to rotate in the key hole to achieve wireless unlocking or locking. In essence, the unlocking is achieved by rotating a key. But the portion of driving the key to rotate is changed from traditional manual control to the driving unit101wireless controlled by the start unit. Therefore, the wireless locking or unlocking mechanism doesn't need to change the traditional door lock nor force to change a new door lock. The usage is simple and fast, and the assembly is simple and convenient.

To achieve unlocking or locking, the key spindle1101rotates forwards or reversely by the driving of the driving unit1020, therein, the forward rotation is defined unlocking, and the reverse rotation is defined locking.

To achieve above motion, the mechanism further comprises a motion record unit1040, the motion record unit1040records the rotation track of the key spindle1101. Detailed, the motion record unit1040comprises three Hall sensors1401arranged on the same plane and distributed of 120° and a magnet1103linked to the key spindle1101; in this embodiment ,when the magnet1103is disposed at the external periphery of the rotating plate1102and is parallel to the motion record unit1040.

When the key spindle1101rotates, the magnet1103faces to the three Hall sensors1401in order to make the sensors transmit sensing signals, recording the order of the Hall sensors1401transmitting sensing signals is recording the rotating trajectory of the key spindle1101.

And a mechanical rotating unit1050, the mechanical rotating unit1050is operated to drive the rotating plate1102to rotate so as to drive the key spindle1101to coaxially rotate. When the mechanism rotating unit1050is operated to drive the key spindle1101to rotate, the start unit records the order of the three Hall sensors1401transmitting the sensing signals, different motions corresponds to different operation of the start unit.

Namely, after the user assembles the device of wireless controlling a lock, he needs to define the motion of forward rotation and reverse rotation. The mechanical rotating unit1050is operated one time to unlock and one time to lock respectively. Each motion provides part or all of the three Hall sensors1401to transmit sensing signals, the order of the Hall sensors1401transmitting signal in different motions is recorded and the order corresponds to the operation of the start unit, so the start unit sends forward rotation or reverse rotation commands to the key spindle1101to control the driving unit1020to drive the key spindle1101to rotate forwardly or rotate reversely to accomplish unlocking or locking. When the key spindle1101rotates forwardly or reversely to the end and keeps for seconds, the judgment of forward rotation or reverse rotation is finished. Therefore, when the key spindle1101rotates forwardly or reversely to the end, the driving unit1020doesn't drive the key spindle1101to keep rotating forwardly or reversely that avoids the driving unit1020from continuously driving the key spindle1101to rotate that leads the key hole from damage by the key spindle1101.

In this embodiment, the mechanical rotating unit1050comprises a hand wheel1501and a gear driving mechanism1502, the gear driving mechanism1502achieves the synchronously rotating of the rotating plate1102and the hand wheel1501. The detailed combination and distribution of the gear driving mechanism1502are traditional designation in the mechanical field that it will not be further described hereafter.

Above mention device of wireless controlling a lock is driven by electrical signal. It is unavoidable that the user can not lock or unlock the lock by wireless method due to power off or software fault of the start unit. As the existing door lock has lock holes at two sides, when the lock hole is located at the initial position, if the key is inserted to the key hole at one side, the key at the other key hole can be pushed out. The closing condition of the motion is that the key hole and the key inserted at the key hole are located in the initial state.

Therefore, after the key spindle1101finishes its locking or unlocking motion, the key spindle is rotated reversely to the initial position, that is to say, the key spindle1101is always located at the initial position after the unlocking or locking motion. So the user can insert the key to the key hole at the side facing the open space and push the key spindle1101out thus to use the traditional key to mechanically unlock. So the user can still use the traditional key to open the door even in an accident of electrical fault or power off.

To achieve the function, the device of wireless controlling a lock further comprises an initial position indication unit1060which indicates when the key spindle1101is located at the initial position. The start unit controls the key spindle1101to stop rotating reversely after received the indication signal.

The initial position indication unit1060comprises a photoelectricity generation device1601oppositely arranged, if no block is between the photoelectricity generation device, the photoelectricity generation device transmits an indication signal.

The edge of the rotating plate1102is disposed with a surrounding portion1022extending along the rotating shaft, the photoelectricity generation device1601is disposed at the interior and external sides of the surrounding portion1022; the surrounding portion1022is disposed with a gap1023; when the key spindle1101is not located at the initial position, the photoelectricity generation device1601is blocked by the surrounding portion1022; when the key spindle1101is located at the initial position, the photoelectricity generation device1601is connected by the gap1023. So only when the key spindle1101is located at the initial position, the photoelectricity generation device1601sends an optical indication signal out,

In this embodiment, there are two gaps1023distributed at an angle of 180°. So no matter the key spindle1101rotates reversely in the clockwise direction or in the counter-clockwise direction, the photoelectricity generation device1601can detect when the key spindle1101returns to the initial position at the first time.

As the device of wireless controlling a lock has deviation unavoidably due to personal error, which makes the photoelectricity generation device1601not at the initial position, when the photoelectricity generation device1601sends an indication signal out, the key spindle is actually not at the initial position. To eliminate this error, the initial position indication unit1060further comprises an initial position calibration mechanism1602; when the key spindle1101is inserted to the key hole, as the key spindle1101is restricted by the lock hole, the key spindle1101and the rotating plate1102are at the initial position. At this time, the initial position of the photoelectricity generation device1602is calibrated to the initial position by the initial position calibration mechanism changing the position of the photoelectricity generation device1601relative to the gap1022until the photoelectricity generation device1602sends an indication signal out.

In this embodiment, the initial position calibrating mechanism1602is a dial button linked to the photoelectricity generation device1601, and the dial button is exposed out of the wireless unlocking or locking mechanism. The user needn't to open the housing of the mechanism to calibrate the initial position.

Furthermore, when the user uses a traditional key to push the key spindle1101out for mechanically unlocking at the other side of the door lock due to some reasons, if the wireless unlocking or locking function is needed to be used again, the key spindle1101is needed to be inserted to the key hole again. To accomplish above mentioned motion, the wireless unlocking or locking mechanism further comprises a resetting unit1070, which is operated to make the key spindle1101inserted to the key hole again when the key spindle1101is partially pushed out.

Moreover, the resetting unit1070comprises a lever1701; when a part of the key spindle1101is pushed out, one end of the lever1701is squeezed to move, the other end of the lever1701is linked to drive a dial button1702to move from a first position to a second position, when the dial button1702is dialed back to the first position by external force, the key spindle1101is inserted to the key hole again. To reduce the force dialing the dial button1702, a spring1703is further provide; when the dial button1702moves from the first position to the second position, the spring1703is compressed to restore elastic potential energy; after the dial button1702is dialed, the dial button1702returns to the first position by the elastic resetting force.

In this embodiment, the driving unit1020comprises a motor1201, a motor control circuit and a power mechanism1202; the rotating shaft of the motor1201is inserted to a second insert hole1024at the center of circle at the back side of the rotating plate1102; the motor control circuit receives the control signal from the start unit to control the motor1201to rotate forwardly or reversely.

The power mechanism1202is a lithium battery, which can be charged by an USB interface.

The open unit is an App installed in a personal smart device, and is wireless connected to the drive unit1020by Bluetooth or WiFi.

The second embodiment, referring toFIGS. 6-10, a device of wireless controlling a lock is the same as the first embodiment, the lock comprises a main body, which comprises:an open unit2010, a driving unit2020and a start unit. The start unit is wireless connected to the driving unit; the start unit transmits control signal to control the driving unit2020to drive the insert end of the open unit2010to rotate.

In this embodiment, the start unit2010comprises a key spindle2101and a key sleeve2102coaxially rotatable. One end of the key spindle2101is the insert end, the other end is inserted to the insert hole of the key sleeve2102to accomplish coaxial rotation. The user can user can choose corresponding size of key spindle2101according to his lock type, and then polish the same key hole or key groove with the original key in the key spindle2101.

To achieve unlocking or locking, the key spindle2101rotates forwards or reversely by the driving of the driving unit2201, therein, the forward rotation is defined unlocking, and the reverse rotation is defined locking.

To achieve above motion, the mechanism further comprises a mechanical rotating unit2050and a motion record unit2040, the motion record unit2040records the forward rotation or the reverse rotation of the mechanical rotating unit2050, so as to control the key spindle2101to rotate forwardly or rotate reversely correspondingly by the motor2201. Detailed, the motion record unit2040comprises two Hall sensors2401and a magnet2402linked to the mechanical rotating unit2050; when the mechanical rotating unit2050is operated to drive the magnet2402to rotate, the motion record unit2040records which Hall sensor2402is conducted in different motions, different motions corresponds to different operation of the start unit. After that, the user can just make the start unit to send corresponding operation commands to make the key spindle2101to rotate forwardly or reversely by the driving of the driving unit.

The mechanical rotating unit2050comprises a hand wheel20501and a hand wheel fixing base20502; the hand wheel2501is sleeved on the hand wheel fixing base2502and is rotatable with respect to the hand wheel fixing base2502; the Hall sensors2401are fixedly disposed in the hand wheel fixing base2502; the external periphery of the hand wheel fixing base2502is disposed with a groove2503, the internal periphery of the hand wheel2501is disposed with a limit rib2504at a position corresponding to the groove2503, the bottom portion of the groove2503is disposed with the magnet2402; the hand wheel fixing base2502is further disposed with a fixing shaft2505, which is assembled with a torsion spring2506, the side surface of the fixing shaft2505is disposed with a limit protruding trip2507; when the hand wheel2501is located at the initial position, the limit protruding trip2507abuts against and limits the limit rib2504.

By the arrangement, when the hand wheel2501is rotated, as the travel switch2503is fixedly hand wheel fixing base2502, the magnet2402at the bottom portion of the limit rib2504rotates with respect to the Hall sensor2401; when the hand wheel2501rotates in the clockwise direction, the magnet2402is opposite to the Hall sensor2401at the right side to make the Hall sensor2401inducted. When the hand wheel2501rotates in the counter-clockwise, the magnet2402is opposite to the Hall sensor2401at the left side to make the Hall sensor2401inducted. Making the induction order of the Hall sensors taking above two motions corresponds to the operation of the start operation can provide the user to just send corresponding operation commands in the start unit to make the key spindle2101rotate forwardly or reversely by the driving of the driving unit.

In addition, when the user is in the house, he can manually rotate the hand wheel2501to make different Hall sensor2401inducted to trigger the locking or unlocking command. When the user releases the hand wheel2501, the hand wheel2501returns to the limit rib2505to abut against the limit protruding trip2507again under the action of the torsion spring2506, thus achieving resetting.

Above mention device of wireless controlling a lock is driven by electrical signal. When there is a failure that the motor2201can not drive the open unit2010to rotate, the user needs to unlock by the traditional mechanical key. As the existing door lock has lock holes at two sides, when the lock hole is located at the initial position, if the key is inserted to the key hole at one side, the key at the other key hole can be pushed out. The closing condition of the motion is that the key hole and the key inserted at the key hole are located in the initial state.

Therefore, after the key spindle2101finishes its locking or unlocking motion, the key spindle is rotated reversely to the initial position, that is to say, the key spindle2101is always located at the initial position after the unlocking or locking motion. So the user can insert the key to the key hole at the side facing the open space and push the key spindle2101out thus to use the traditional key to mechanically unlock. So the user can still use the traditional key to open the door even in an accident of electrical fault or power off.

To achieve the function, the wireless locking or unlocking device further comprises an initial position indication unit2060which indicates when the key spindle2101is located at the initial position.

The initial position indication unit2060comprises a pair of photoelectricity generation devices oppositely arranged, if no block is between the photoelectricity generation devices, the photoelectricity generation device transmits an indication signal. The front end of the motor shaft sleeve2204is disposed with a hem2205, the hem2205is disposed with two gaps206faced to the shaft axis of the motor shaft sleeve2204and arranged at an angle of 180°; when the key spindle2101is not located at the initial position, the first photoelectricity generation device2601is blocked by the hem2205; when the key spindle2101is located at the initial position, the first photoelectricity generation device2601is connected by the gaps. Therefore, whether the key spindle2101is located at the initial position or not is judged by whether the first photoelectricity generation device2601sends an indication signal out.

In this embodiment, there are two gaps2206distributed at an angle of 180°. So no matter the key spindle2101rotates reversely in the clockwise direction or in the counter-clockwise direction, the photoelectricity generation device2601can detect when the key spindle2101returns to the initial position at the first time.

As the wireless locking or unlocking device has deviation unavoidably due to personal error, which makes the photoelectricity generation device2601not at the initial position, when the photoelectricity generation device2601sends an indication signal out, the key spindle is actually not at the initial position. To eliminate this error, the initial position indication unit2060further comprises an initial position calibration dial button2602; when the key spindle2101is at the initial position, the initial position of the photoelectricity generation device2602is calibrated to the initial position by the initial position calibration dial button2602changing the position of the first photoelectricity generation device2601relative to the gap2206until the photoelectricity generation device2601sends an indication signal out.

It is such a trouble for the user to manually reset the key spindle to the initial position after each time of locking or unlocking. Therefore, the mechanism further comprises a reset unit; when key spindle2101is rotated forwardly or reversely to the end, the reset unit makes the key spindle2101rotate reversely to the initial position.

The reset unit comprises a PWM module to make the motor drive the key spindle2101to rotate and decelerate, the open unit stops rotating unit the first photoelectricity generation device2601sends an indication signal out. The PWM module reduces the rotating speed of the key spindle2101to ensure that the period of the gap2206passing through the first photoelectricity generation device2601is long enough and ensures the normal induction of the first photoelectricity generation device2601.

The wireless locking or unlocking device can not normally work after the key spindle2101is pushed out. So the user needs to insert the key spindle2101to the key hole again. The device further comprises a push detection unit2070; when the key spindle2101is pushed out, the push detection unit2070sends an indication signal out.

The push detection unit2070comprises a moving board2701linked to the open unit2070; the moving board2701is fixedly dispose with a pair of second photoelectricity generation devices7202oppositely arranged; the main body is fixedly disposed with a detection trip2703perpendicularly passing through the second photoelectricity generation devices2702, the detection trip2703is disposed with a plurality of grooves7204arranged with space; when the key spindle2101is pushed out, the second photoelectricity generation devices2702move towards the detection trip2703to make the second photoelectricity generation devices blocked by the spaces between the grooves2704and connected by the grooves2704, the open unit is determined to be pushed out, the push detection unit2070alarms with sound and light to indicate.

To make it convenient for the user to insert the key spindle2101to the key hole again, the device further comprises a push reset unit with a push rod2801fixedly disposed at the moving board2701, the end of the push rod2801is disposed with a reset button2802; when the key spindle2101is pushed out, the moving board2701drives the push rod2801to push the reset button2802out. User can just press the reset button2802down, the key spindle2101is inserted to the key hole again.

This embodiment further comprises the preferred designations:

The power mechanism1202is a lithium battery, which can be charged by an USB interface.

The open unit is an App installed in a personal smart device, and is wireless connected to the drive unit2020by Bluetooth or WiFi.

The third embodiment, referring toFIG. 9andFIG. 11, the position calibrating device of the device of wireless controlling a lock comprises:a rotating element4010, comprising a key spindle2101, a motor2201, a motor shaft sleeve2204; a detection unit4020, which keeps still with respect to the rotating element4010; an induction unit4030, which is linked to the rotating element4010, and a position control unit; when the rotating element is located at the target position, the detection unit4020and the induction unit4030couple to send indication signal out;the position control unit outputs a first position driving current, a second position driving current, a N position driving current reverse in order and the absolute value thereof reduced in order, until the rotating element stops rotating, the detection unit and the induction unit couple to sends an indication signal out.

Detailed, the detection unit4020comprises a pair of photoelectricity generation devices2601oppositely arranged; if no block is between the photoelectricity generation devices2601, the photoelectricity generation device transmits an indication signal. The key spindle2101is driven by a motor2101, the output shaft of the motor2101drives the key2103to rotate by the motor shaft sleeve2204.

The front end of the motor shaft sleeve2204is disposed with a hem2205, the induction unit4030is two gaps2206disposed at the hem2205, the two gaps2206are faced to the shaft axis of the motor shaft sleeve2204and arranged at an angle of 180°. The position of the gaps2206and the initial position of the key spindle2101are on the same plane.

With this configuration, when the key spindle2101is not located at the initial position, the photoelectricity generation device2601is blocked by the hem2205; when the key spindle2101is located at the initial position, the photoelectricity generation device2601is connected by the gaps. So the user can just observe whether the photoelectricity generation device2601sends an optical signal out, he can know whether the key spindle2101is located at the initial position. So even the key is inserted at one side of the doo lock, a human at the other side can still insert the other key to push the original key out, thus avoiding from unlocking failure. In addition, this judgment result is very reliable.

When the key spindle2101is not at the initial position, the user can operate the position control unit to provide a first position driving current to the motor to make the motor rotate in a direction; when the photoelectricity device2601sends a sound-light indication, the position control unit cuts off the first position driving current. But as the motor2201has rotation inertia, the key spindle2101continuously rotates a certain angle; when the motor2201stops rotating, the key spindle2101deviates from the initial position; so when the motor2201stops rotating, the photoelectricity generation device2601does not send a sound-light indication out. At this time, the position control unit provides a second position driving current to the motor, the absolute value is lower than that of the first position driving current, and the directions are opposite. The motor2201rotates reversely. When the photoelectricity generation device2601sends a sound-light indication out, the position control unit cuts off the second position driving current . . . and so forth, the photoelectricity device2601sends continuous sound-light indication until the motor2201stops rotating. The key spindle2101is now accurately positioned.

The fourth embodiment: a method of preventing unlocking from outer side, comprising:a rotating element4010for locking and unlocking is inserted to a lock hole at the interior of the door lock, the rotating element4010receives a burglary resistant command, the rotating element4010is controlled to rotate to a lock-up angle besides the unlocking angle and the locking angle. As a accomplishment method of controlling the rotating element4010to unlock and lock the lock, the commands can be sent by wireless communication methods such as Bluetooth. The rotating element4010receives the commands by a receiving device, the rotating element4010responses to the command and rotates. The commands are achieved by an APP installed in a smart device.

The unlocking angle and the locking angle can be arranged in a certain range. For example, the unlocking angle can be 90° ranged from the angle of the key relative to the plane when the key unlocks the lock spindle to the locking direction. The locking angle can be 90° ranged from the angle of the key relative to the plane when the key locks the lock spindle to the unlocking direction. The present invention is provided that the unlocking angle and the locking angle have certain of margin to avoid a failure of open the door from the outer side by a key due to mechanical error.

To make the method of the present invention available to all door lock operated by keys, the lock-up angle is between the unlocking angle and the locking angle. It is considered that the unlocking angle and the locking angle of part of door locks are their limit angle that rotation can no longer be taken. Therefore, when the rotating element4010is located at the unlocking angle, the rotating element4010rotates towards the locking direction; when the rotating element detection unit is located at the locking angle, the rotating element4010rotates towards the unlocking direction. That is to say, the rotating element4010is in the lock-up angle by rotating back a certain angle after the unlocking or the locking.

In this embodiment, the unlocking command, the locking command and the lock-up command can be individual. So from unlock to lock or from lock to unlock, there are two steps. That is to say, the rotating element4010rotates to the corresponding direction of the command to make the lock placed in the unlocking state or the locking state after received the unlocking command or the locking command; then the rotating element4010rotates in the corresponding direction to make the lock placed in the lock-up angle besides of the unlocking angle and the locking angle after received the burglar resistant command.

As a lock releasing method, when the rotating element4010is at the lock-up angle and receives a unlock command, the rotating element4010is reset to the angle at the last state. That is to say, if the current operation is first unlocking and then lock-up, the rotating element4010is reset to the unlocking angle after received the unlocking command; if the current operation is first locking and then lock-up, the rotating element4010is reset to the locking angle after received the unlocking command After that, a person can use a key to unlock or lock.

As another lock releasing method, when the rotating element4010is at the lock-up angle and receives a state switch command, the rotating element4010is reset to the angle at the next state with respect to the last state. That is to say, if the current operation is first unlocking and then lock-up, the rotating element4010rotates to the unlocking angle after received the state switch command; if the current operation is first locking and then lock-up, the rotating element4010rotates to the locking angle after received the state switch command.

The lock-up releasing method can be applied that:

If a person unlocks the door and gets in the house and lock-up the lock, when he wants to sleep or get out and unlock the door, the last state is the unlocking state, the next state is the locking state. The unlocking state is switched to locking state after received the state switch command, and the rotating element4010rotates to the lock-up angle again.

If a person locks the door and gets out of the house and lock-up the lock, when he wants to unlock the door and gets in, the last state is the locking state, the next state is the unlocking state. The unlocking state is switched to unlocking state after received the state switch command, and the rotating element4010rotates to the lock-up angle again.

To simplify the operation process, the unlocking command, the locking command can be continuously transmitted with the burglar resistant command. When the rotating element4010receives a locking command or a unlocking command and is located at the corresponding angle, the rotating element responses to the burglary resistant command automatically and executes corresponding to the burglary resistant command. If a person wants to unlock to get in the house, the rotating element4010is firstly situated in unlocking state, then in lock-up state, but at this time, the lock is unlocked, the rotating element4010is in lock-up state, the door can be open without influence. If a person wants to get out the house and lock, the rotating element4010is firstly in the locking state, then in the lock-up state, but at this time, the door is closed, the lock is locked, the rotating element4010is in the lock-up state, the door can be closed without influence.

The structure of the rotating element4010can be the driving unit and the open unit in the second embodiment, it comprises a key spindle2101, a motor2201, a motor shaft sleeve2204, as figured inFIG. 9andFIG. 11. A lock position is added to the driving unit, the start unit is further disposed with a burglar resistant command.

The rotating element4010of this embodiment is assembled to an existing door lock, the motor2201of the driving unit thereof controls the key spindle2101of the open unit. The rotating element4010is judged to be located at the unlocking angle, the locking angle or the lock-up angle by detecting the angle of the internal key spindle2101.

To detect the internal key spindle2101, the rotating element4010is judged to be located at the unlocking angle, the locking angle or the lock-up angle by detecting the absolute angle of the internal key spindle2101or the relative angle with the unlocking angle and locking angle after rotated.

The absolute angle takes the horizontal angle for reference and combines with the character of the current door lock (for example, the unlocking angle is horizontal, the locking angle is the horizontal angle after two rounds of rotating), the initial angel of the internal key spindle2101is the start angle, the rotating angle of the internal key spindle2101is the absolute angle.

The relative angle is a difference of the angle of the key12after rotated to the start angle of the internal key.

As an embodiment of the detection angle, as figured inFIG. 1andFIG. 2, the present invention is disposed with a target position detection unit4020keeping still with respect to the rotating element4010(referring to the initial position indication unit2060in the second embodiment) and an induction unit4030linked to the internal key spindle2101; when the internal key spindle2101is at the unlocking angle, the locking angle or the lock-up angle, the induction unit4030and the detection unit4020couple, the detection unit4020feedbacks the state information: unlocking state, locking state, or lock-up state.

In this embodiment, the detection unit4020comprises a pair of photoelectricity generation devices2601oppositely arranged, the motor shaft sleeve2204is disposed with a hem2205synchronously rotating with the internal key spindle2101, the induction unit4030is disposed with a gap2206at the hem2205; therein, the internal key spindle2101is fixed to the motor shaft sleeve2204and the hem2205extends outward from the periphery of the motor shaft sleeve2204.

The hem2205is disposed between the photoelectricity generation devices2601; when the internal key spindle2101is located at the locking angle and the unlocking angle, the gap2206is located at the optical path between the photoelectricity generation devices2601; when no block is between the photoelectricity generation devices2601, the detection unit4020feedbacks unlocking state or locking state; when the internal key spindle2101is located at the lock-up angle, the hem2205blocks the optical path of the photoelectricity generation devices2601, when block exists between the photoelectricity generation devices2601, the detection unit4020feedbacks lock-up state.

INDUSTRIAL APPLICABILITY

Disclosed are a device of wireless controlling a lock and a method of preventing unlocking from the outer side. One end of the open unit is inserted to the lock hole of the door lock at the side facing the locked space and is at the initial position. The start unit is wireless connected to the driving unit, the start unit transmits control signal to make the driving unit drive the insert end of the open unit to rotate. The device and the method of the present invention is provided that the user can wireless open the door without a key. And the device is not only widely available for various door lock that the user needn't to change the door lock, but also prevents unlocking from the outer side.