Intelligent padlock based on NB-IoT

文档序号:797558 发布日期:2021-04-13 浏览:25次 中文

阅读说明:本技术 一种基于NB-IoT的智能挂锁 (Intelligent padlock based on NB-IoT ) 是由 颜飞勇 吴滨 张全锋 于 2020-11-11 设计创作,主要内容包括:本发明提供一种基于NB-IoT的智能挂锁,涉及挂锁技术领域。该基于NB-IoT的智能挂锁,包括:锁体,所述锁体外表面的两侧均开设有放置槽,两个所述放置槽的内壁一侧均固定安装有限位筒,两个所述限位筒的内部均滑动连接有移动杆。该基于NB-IoT的智能挂锁,位置模块在接收到指令后,进行挂锁的位置报告,发送模块分析模块发送的指令进行接收,记录模块,用于记录挂锁被打开的时间和关闭的时候,还要记录打开次数和没打开的次数,可以及时记录和传输,在安装的时候,向里侧按压两个卡块,卡块带动移动杆在限位筒的内部进行滑动,使顶紧弹簧压缩,将锁插入到安装的位置,顶紧弹簧将卡块复位,顶紧安装的位置,使装置便于安装。(The invention provides an intelligent padlock based on NB-IoT, and relates to the technical field of padlocks. The NB-IoT based intelligent padlock includes: the lock body, the standing groove has all been seted up to the both sides of lock body surface, two equal fixed mounting in inner wall one side of standing groove has a spacing section of thick bamboo, two equal sliding connection in the inside of a spacing section of thick bamboo has the carriage release lever. This intelligence padlock based on NB-IoT, the position module is after receiving the instruction, carry out the position report of padlock, the instruction that sending module analysis module sent is received, record module, be used for taking notes the time that the padlock was opened and when closing, still take notes open the number of times and do not have the number of times of opening, can in time record and transmission, in the installation, press two fixture blocks inwards, the fixture block drives the carriage release lever and slides in the inside of spacing section of thick bamboo, make the compression of top tight spring, insert the position of installation with the lock, top tight spring resets the fixture block, the position of top tight installation, make the device be convenient for the installation.)

1. An NB-IoT based intelligent padlock, comprising: the lock comprises a lock body (1), wherein both sides of the outer surface of the lock body (1) are respectively provided with a placing groove (2), one side of the inner wall of each of the two placing grooves (2) is fixedly provided with a limiting cylinder (3), the insides of the two limiting cylinders (3) are respectively connected with a moving rod (4) in a sliding manner, one end of each of the two moving rods (4) opposite to each other is respectively fixedly provided with a clamping block (5), the outer surface of each of the two moving rods (4) is respectively wound with a tightening spring (6), the front surface of the lock body (1) is provided with a rotating groove (7), the inside of each rotating groove (7) is rotatably connected with a rotating rod (8), the outer surface of each rotating rod (8) is fixedly provided with a baffle (9), and the outer surface of each;

the lock body (1) comprises a lock column (101), an inner cavity (102) is formed in the lock column (101), a motor (103) is connected to the inner portion of the inner cavity (102) in a pin mode, a semi-toothed disc (104) is fixedly installed at the output end of the motor (103), a limiting block (105) is fixedly installed on one side of the inner portion of the inner cavity (102), a fixed column (106) is connected to the inner portion of the limiting block (105) in a sliding mode, a toothed plate (107) is fixedly installed on one side, close to the motor (103), of the fixed column (106), a moving block (108) is fixedly installed on one side, far away from the motor (103), of the toothed plate (107), a reset spring (109) is fixedly installed on one side, close to the motor (103), a rectangular through hole matched with the fixed column (106) is formed in one side of the inner wall of the inner cavity (102), and, the lock cylinder (101) is internally provided with an inserting hole (111), and one side inside the inserting hole (111) is fixedly provided with a functional module (11).

2. An NB-IoT based intelligent padlock as claimed in claim 1, wherein: the baffle (9) comprises a circular plate (901), an installation through hole (902) is formed in the circular plate (901), a sealing gasket (903) is glued to one side, close to the lock cylinder (101), of the circular plate (901), and a second magnet (904) is fixedly installed to one side, close to the lock cylinder (101), of the circular plate (901).

3. An NB-IoT based intelligent padlock as claimed in claim 1, wherein: the function module (11) comprises a communication module (1101), an ID module (1102), an analysis module (1103), a correction module (1104), a position module (1105), a sending module (1106), a receiving module (1107), a determining module (1108), a driving module (1109) and a recording module (1110).

4. An NB-IoT based intelligent padlock as claimed in claim 3, characterized in that:

the communication module (1101) is used for connecting the key and the lock and transmitting current;

the ID module (1102) is used for transmitting the ID of the padlock, the ID module (1102) writes the ID of the padlock into the module and cannot be changed when the padlock leaves a factory, encrypts the ID of the padlock, and then packages and sends the encrypted ID;

the analysis module (1103) is used for receiving the file of the ID module (1102), analyzing the file, analyzing whether the encrypted file is matched with the ID module (1102) or not, and sending an instruction;

the proofreading module (1104) is used for performing a proofreading instruction and then sending the instruction;

the location module (1105) is configured to report the location of the padlock after receiving the instruction;

the sending module (1106) is used for receiving the instruction sent by the analysis module (1103) and then sending the instruction to the key;

a receiving module (1107) for receiving the message of the key feedback and then transmitting the message;

a determining module (1108) for receiving the message of the receiving module (1107), determining whether the key is matched, and then sending an instruction;

the driving module (1109) is used for receiving the instruction of the determining module (1108), analyzing the instruction, driving the motor (103) to work if the instruction is correct, and driving the motor (103) to work if the instruction is incorrect;

and the recording module (1110) is used for recording the time when the padlock is opened and the time when the padlock is closed, and also recording the opening times and the non-opening times.

5. An NB-IoT based intelligent padlock as claimed in claim 3, characterized in that: the output end of the communication module (1101) is electrically connected with the input end of the ID module (1102) in a bidirectional mode through a wire, the output end of the ID module (1102) is electrically connected with the input end of the analysis module (1103) through a wire, the output end of the analysis module (1103) is electrically connected with the input end of the checking module (1104), the output end of the checking module (1104) is electrically connected with the input end of the position module (1105) through a wire, the output end of the position module (1105) is electrically connected with the input end of the sending module (1106) through a wire, the output end of the sending module (1106) is electrically connected with the input end of the communication module (1101) through a wire, the input end of the receiving module (1107) at the output end of the communication module (1101) is electrically connected with the input end of the determining module (1108) through a wire, the output end of the determining module (1108) is electrically connected with the input end of the driving module (1109) through a conducting wire, and the output end of the driving module (1109) is electrically connected with the input end of the recording module (1110) through a conducting wire.

6. An NB-IoT based intelligent padlock as claimed in claim 1, wherein: the two ends of the jacking spring (6) are respectively welded on one side of the limiting cylinder (3) opposite to the clamping block (5), the two placing grooves (2) are respectively arranged on two sides of the outer surface of the lock column (101), and one end of the torsion spring (10) is welded on one side of the inner wall of the rotating groove (7).

7. An NB-IoT based intelligent padlock as claimed in claim 2, wherein: the other end of the torsion spring (10) is welded on one side, close to the lock body (1), of the circular plate (901), and the second magnet (904) is opposite to the first magnet (110) in terms of different magnetic poles.

8. An NB-IoT based intelligent padlock as claimed in claim 2, wherein: the teeth on the semi-toothed disc (104) are meshed with the teeth on the top of the toothed plate (107), and the other end of the return spring (109) is welded on one side, close to the moving block (108), of the limiting block (105).

Technical Field

The invention relates to the technical field of padlocks, in particular to an NB-IoT-based intelligent padlock.

Background

One intelligent lock can be unlocked by one key, and the unlocking record is well made and uploaded to a server! The key unlocking record in the prior scheme is communicated by a Bluetooth technology, the authority of the lock which can be unlocked by one key is set firstly, and the record is uploaded to a server after the unlocking is finished.

The defects and shortcomings of the prior art are as follows: because bluetooth transmission distance is limited, the padlock can't upload the server with data when using, need use the completion after, with bluetooth equipment networking just can upload data, the real-time performance is not good, can not accurately know the time of unblanking to and real time monitoring.

Disclosure of Invention

The invention aims to provide an intelligent padlock based on NB-IoT, and solves the problems in the background technology.

In order to achieve the purpose, the invention is realized by the following technical scheme: an NB-IoT based intelligent padlock comprising: the lock body, the standing groove has all been seted up to the both sides of lock body surface, two the equal fixed mounting in inner wall one side of standing groove has a spacing section of thick bamboo, two the equal sliding connection in inside of a spacing section of thick bamboo has the carriage release lever, two the equal fixed mounting and the fixture block of one end that the carriage release lever carried on the back mutually, two the surface of carriage release lever all twines and is provided with the puller spring, the swivelling chute has been seted up on the positive surface of lock body, the inside swivelling joint of swivelling chute has the bull stick, the fixed surface of bull stick installs the baffle, the surface winding of bull stick is provided.

The lock body comprises a lock cylinder, an inner cavity is formed in the lock cylinder, a motor is in pin connection with the inner part of the inner cavity, a semi-fluted disc is fixedly mounted at the output end of the motor, a limiting block is fixedly mounted at one side of the inner cavity, a fixed column is in sliding connection with the inner part of the limiting block, a toothed plate is fixedly mounted at one side of the fixed column close to the motor, a moving block is fixedly mounted at one side of the toothed plate far away from the motor, a reset spring is fixedly mounted at one side of the moving block close to the motor, a rectangular through hole matched with the fixed column is formed at one side of the inner wall of the inner cavity, a first magnet is fixedly mounted on the front surface of the lock cylinder, an inserting hole is formed in the lock cylinder, a function module is fixedly mounted at one side of the inserting hole and comprises a circular plate, and a second magnet is fixedly arranged on one side of the circular plate close to the lock cylinder.

As a further proposal of the device: the function module comprises a communication module, an ID module, an analysis module, a correction module, a position module, a sending module, a receiving module, a determination module, a driving module and a recording module.

As a further proposal of the device: and the communication module is used for connecting the key and the lock and transmitting current.

The ID module is used for transmitting the ID of the padlock, the ID of the padlock is written into the module by the ID module when the padlock leaves a factory and cannot be changed, the ID of the padlock is encrypted, and then the padlock is packaged and sent.

The analysis module is used for receiving the file of the ID module, analyzing the file, analyzing whether the encrypted file is matched with the ID module or not, and then sending an instruction.

And the correction module is used for correcting the instruction and then sending the instruction.

And the position module is used for reporting the position of the padlock after receiving the instruction.

And the sending module is used for receiving the instruction sent by the analysis module and then sending the instruction to the key.

And the receiving module is used for receiving the message fed back by the key and then transmitting the message.

And the determining module is used for receiving the message of the receiving module, determining whether the message is matched with the key or not and then sending an instruction.

And the driving module is used for receiving the instruction of the determining module, analyzing the instruction, driving the motor to work if the instruction is correct, and driving the motor to work if the instruction is incorrect.

And the recording module is used for recording the time when the padlock is opened and the time when the padlock is closed, and also recording the opening times and the times when the padlock is not opened.

As a further proposal of the device: the output end of the communication module is electrically connected with the input end of the ID module in a bidirectional way through a lead, the output end of the ID module is electrically connected with the input end of the analysis module through a lead, the output end of the analysis module is electrically connected with the input end of the correction module through a lead, the output end of the correction module is electrically connected with the input end of the position module through a lead, the output end of the position module is electrically connected with the input end of the sending module through a lead, the output end of the sending module is electrically connected with the input end of the communication module through a lead, the output end of the communication module is electrically connected with the input end of the receiving module through a lead, the output end of the receiving module is electrically connected with the input end of the determining module through a lead, the output end of the determining module is electrically connected with the input end of the driving module through a wire, and the output end of the driving module is electrically connected with the input end of the recording module through a wire.

As a further proposal of the device: the two ends of the jacking spring are respectively welded on one side of the limiting cylinder opposite to the clamping block, the two placing grooves are respectively arranged on two sides of the outer surface of the lock column, and one end of the torsion spring is welded on one side of the inner wall of the rotating groove.

As a further scheme of the system: the other end of the torsion spring is welded on one side, close to the lock body, of the circular plate, and the second magnet and the first magnet are opposite in different magnetic poles.

As a further scheme of the system: the teeth on the half toothed disc are meshed with the teeth at the top of the toothed plate, and the other end of the return spring is welded on one side, close to the moving block, of the limiting block.

The invention provides an NB-IoT based intelligent padlock. The method has the following beneficial effects:

(1) according to the intelligent padlock based on the NB-IoT, the position module carries out position reporting of the padlock after receiving the instruction, real-time monitoring is carried out, the instruction sent by the sending module analysis module is received, and the recording module is used for recording the time when the padlock is opened and the time when the padlock is closed, also recording the opening times and the times when the padlock is not opened, and can record and transmit the times in time.

(2) This intelligence padlock based on NB-IoT when the installation, presses two fixture blocks inwards, and the fixture block drives the carriage release lever and slides in the inside of a spacing section of thick bamboo, makes the compression of top tension spring, inserts the position of installation with the lock, and top tension spring resets the fixture block, and the position of top tension installation makes the device be convenient for install.

(3) This intelligent padlock based on NB-IoT, the key supplies power, receive the instruction that functional module sent, the input of motor passes through wire and drive module's output electric connection, it is rotatory to make the motor drive half fluted disc, half fluted disc drives the pinion rack and removes, the pinion rack drives the movable block and removes, make reset spring draw the god, the pinion rack drives the removal post and removes, the stopper carries on spacingly with the fixed column, the fixed column indents the inside of lock post, when tooth on the half fluted disc is contactless with the tooth at pinion rack top, reset spring drives the pinion rack through the movable block and resets, make the fixed column reset, make the device in the lock, need not the key, more convenient.

Drawings

FIG. 1 is a schematic top cross-sectional view of the present invention;

FIG. 2 is a schematic cross-sectional view of the lock body of the present invention;

FIG. 3 is a schematic view of the rear side structure of the baffle of the present invention;

FIG. 4 is a structural diagram of a functional module system according to the present invention;

FIG. 5 is a circuit diagram of a lock cylinder key interface of the present invention;

fig. 6 is a circuit diagram of the circuit board of the lock cylinder of the present invention.

In the figure: 1. a lock body; 101. a lock cylinder; 102. an inner cavity; 103. a motor; 104. a half fluted disc; 105. a limiting block; 106. fixing a column; 107. a toothed plate; 108. a moving block; 109. a return spring; 110. a first magnet; 111. inserting the holes; 2. a placement groove; 3. a limiting cylinder; 4. a travel bar; 5. a clamping block; 6. the spring is tightly propped; 7. a rotating tank; 8. a rotating rod; 9. a baffle plate; 901. a circular plate; 902. mounting a through hole; 903. a gasket; 904. a second magnet; 10. a torsion spring; 11. a functional module; 1101. a communication module; 1102. an ID module; 1103. an analysis module; 1104. a proofreading module; 1105. a location module; 1106. a sending module; 1107. a receiving module; 1108. a determination module; 1109. a drive module; 1110. and a recording module.

Detailed Description

The invention will be further illustrated with reference to the following examples and drawings:

referring to FIGS. 1-6: an intelligent padlock based on NB-IoT comprises a lock body 1, wherein both sides of the outer surface of the lock body 1 are respectively provided with a placing groove 2, one side of the inner wall of each of the two placing grooves 2 is fixedly provided with a limiting cylinder 3, the insides of the two limiting cylinders 3 are respectively connected with a moving rod 4 in a sliding manner, one ends of the two moving rods 4 opposite to each other are respectively fixedly provided with a clamping block 5, the outer surfaces of the two moving rods 4 are respectively wound with a jacking spring 6, the front surface of the lock body 1 is provided with a rotating groove 7, the inside of the rotating groove 7 is rotatably connected with a rotating rod 8, the outer surface of the rotating rod 8 is fixedly provided with a baffle 9, the outer surface of the rotating rod 8 is wound with a torsion spring 10, the lock body 1 comprises a lock column 101, the inside of the lock column 101 is provided with an inner cavity 102, the inside of the inner cavity 102 is pinned with, generally, charges move under force in an electric field, and when a medium exists between conductors, the charges are prevented from moving and accumulated on the conductors, so that the charges are accumulated and stored. Because the capacitor is one of the electronic components used in a large number of electronic devices, the capacitor is widely applied to aspects of blocking, coupling, bypassing, filtering, tuning loops, energy conversion, control circuits and the like, the capacitor is divided into an electrolytic capacitor, a solid capacitor and the like, the capacitor filters input electricity of the motor 103 and stabilizes the circuit, the output end of the motor 103 is fixedly provided with a semi-fluted disc 104, one side inside the inner cavity 102 is fixedly provided with a limiting block 105, the inside of the limiting block 105 is slidably connected with a fixed column 106, one side of the fixed column 106 close to the motor 103 is fixedly provided with a toothed plate 107, one side of the toothed plate 107 far away from the motor 103 is fixedly provided with a moving block 108, one side of the moving block 108 close to the motor 103 is fixedly provided with a return spring 109, one side of the inner wall of the inner cavity 102 is provided with a rectangular through, the inside of lock post 101 is seted up and is inserted and establish hole 111, inserts one side fixed mounting that establishes the hole 111 inside and has function module 11, and the both ends of top tight spring 6 are welded respectively in spacing section of thick bamboo 3 and the relative one side of fixture block 5, and two standing grooves 2 are seted up respectively in the both sides of lock post 101 surface, and the one end welding of torsional spring 10 is in one side of 7 inner walls of swivelling chute.

Specifically, the baffle 9 includes a circular plate 901, an installation through hole 902 is formed in the circular plate 901, a sealing gasket 903 is glued to one side of the circular plate 901 close to the lock cylinder 101, a second magnet 904 is fixedly installed to one side of the circular plate 901 close to the lock cylinder 101, the other end of the torsion spring 10 is welded to one side of the circular plate 901 close to the lock body 1, the second magnet 904 is opposite to the first magnet 110 in different magnetic poles, teeth on the half toothed disc 104 are engaged with teeth on the top of the toothed plate 107, and the other end of the return spring 109 is welded to one side of the limiting block 105 close to the moving block 108.

The working principle of the device is that the circular plate 901 is rotated to enable the circular plate 901 to drive the rotating rod 8 to rotate in the rotating groove 7, so that the torsion spring 10 is twisted, when the circular plate 901 rotates, the first magnet 904 and the second magnet 110 are separated, a key is inserted into the inserting hole 111 to supply power, the key receives an instruction sent by the functional module 11, the input end of the motor 103 is electrically connected with the output end of the driving module 1109 through a lead, so that the motor 103 drives the half-toothed disc 104 to rotate, the half-toothed disc 104 drives the toothed plate 107 to move, the toothed plate 107 drives the moving block 108 to move, so that the return spring 109 draws the power, the toothed plate 107 drives the fixed column 106 to move, the limit block 105 limits the fixed column 106, the fixed column 106 retracts into the locking column 101, when teeth on the half-toothed disc 104 are not in contact with teeth on the top of the toothed plate 107, the return spring 109 drives the toothed plate 107 to return through the moving block 108, the fixing column 106 is reset, when the fixing column is installed, the two clamping blocks 5 are pressed inwards, the clamping blocks 5 drive the moving rod 4 to slide inside the limiting barrel 3, the jacking spring 6 is compressed, the lock is inserted into the installation position, and the jacking spring 6 resets the clamping blocks 5 to jack the installation position.

Specifically, the function module 11 includes a communication module 1101, an ID module 1102, an analysis module 1103, a calibration module 1104, a location module 1105, a sending module 1106, a receiving module 1107, a determination module 1108, a driving module 1109 and a recording module 1110, where the communication module 1101 is configured to connect a key and a lock and transmit a current, the ID module 1102 is configured to transmit an ID of a padlock, the ID module 1102 is configured to write the ID of the lock into the module at a time of factory shipment and cannot be changed, encrypt the ID of the padlock, and then package and send the encrypted ID, the analysis module 1103 is configured to receive a file of the ID module 1102, analyze the file, then analyze whether the encrypted file matches with the ID module 1102, then send an instruction, the calibration module 1104, perform a calibration instruction, then send an instruction, the location module 1105 is configured to perform a location report of the padlock after receiving the instruction, a sending module 1106, configured to receive the instruction sent by the analysis module 1103 and then send the instruction to the key, a receiving module 1107, configured to receive a message fed back by the key and then transmit the message, a determining module 1108, configured to receive the message of the receiving module 1107 and determine whether the message matches the key or not, and then send the instruction, a driving module 1109, configured to receive the instruction of the determining module 1108 and analyze the instruction, where the instruction is correct, the driving motor 103 operates, the instruction is not correct, and the driving motor 103 cannot operate, a recording module 1110, configured to record the time when the padlock is opened and closed, and also record the number of times the padlock is opened and not opened, an output end of the communication module 1101 is bidirectionally and electrically connected to an input end of the ID module 1102 through a wire, an output end of the ID module 1102 is electrically connected to an input end of the analysis module 1103 through a wire, and an output end of the analysis module 1103 is electrically connected to an input, the output end of the calibration module 1104 is electrically connected to the input end of the position module 1105 through a wire, the output end of the position module 1105 is electrically connected to the input end of the sending module 1106 through a wire, the output end of the sending module 1106 is electrically connected to the input end of the communication module 1101 through a wire, the output end of the receiving module 1107 is electrically connected to the input end of the determining module 1108 through a wire, the output end of the determining module 1108 is electrically connected to the input end of the driving module 1109 through a wire, the output end of the driving module 1109 is electrically connected to the input end of the recording module 1110 through a wire, the input end of the function module 11 is electrically connected to a diode circuit, a diode, and among electronic components, a device with two electrodes only allows current to flow in a single direction, and many applications are rectification functions thereof, and the varactor is used as an electronically tunable capacitor. Most of the diodes have a current directivity which is generally called as a Rectifying (Rectifying) function, and the most common function of the diodes is to allow current to pass through from a single direction (called forward bias) and block current from the reverse direction (called reverse bias), so the diodes can be thought of as check valves of electronic versions to prevent current from flowing in the reverse direction of the functional module 11.

The working principle of the whole system is as follows: the communication module 1101 connects a key and a lock and transmits current, the ID module 1102 is used for transmitting the ID of the padlock to start identification, the ID module 1102 writes the ID of the lock into the module when leaving a factory and cannot be changed, encrypts the ID of the padlock, packages and sends the encrypted ID, identified signals are transmitted to the analysis module 1103, the file is analyzed, whether the encrypted file is matched with the ID module 1102 or not is analyzed, then an instruction is sent, the verification module 1104 carries out verification instructions and sends the instruction, the position module 1105 carries out position reporting of the padlock after receiving the instruction, the instruction sent by the analysis module 1103 of the sending module 1106 is received, then the instruction is sent to the key, the receiving module 1107 receives a message fed back by the key and then transmits the message, the determining module 1108 receives the message of the receiving module 1107 and determines whether the message is matched with the key or not, then, a command is sent, the driving module 1109 receives the command of the determining module 1108, analyzes the command, if the command is correct, the driving motor 103 works, if the command is incorrect, the driving motor 103 cannot work, and the recording module 1110 is used for recording the time when the padlock is opened and the time when the padlock is closed, and also recording the opening times and the times when the padlock is not opened.

The above is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, many variations and modifications can be made without departing from the inventive concept of the present invention, which falls into the protection scope of the present invention.

13页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种电子脚镣

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!