Embodiment
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, term " first ", " second " etc. in instructions of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged in the appropriate case, so as embodiments of the invention described herein can with except here diagram or describe those except order implement.In addition, term " comprises " and " having " and their any distortion, and intention is to cover not exclusive comprising.
Embodiment 1
According to the embodiment of the present invention, provide a kind of device embodiment of test macro of electronic lock.
Fig. 1 is the schematic diagram of the test macro of a kind of optional electronic lock according to the embodiment of the present invention, and as shown in Figure 1, this system comprises: the proving installation 10 (hereinafter referred to as proving installation) of electronic lock and electronic lock to be measured 20.The proving installation 10 of electronic lock is connected with electronic lock 20 to be measured, for carrying out attribute test to electronic lock 20 to be measured.Wherein, the proving installation 10 of electronic lock comprises: telecommunication circuit 102, control circuit 104, litter 106, lock handle action motor 108 and the first counter 110.
Telecommunication circuit 102, for receiving the unlock command that remote server sends and/or the receipt order of unblanking receiving electronic lock 20 to be measured feedback; Control circuit 104, be connected with telecommunication circuit 102, for receive in telecommunication circuit 102 remote server send unlock command and/or receive electronic lock 20 to be measured feedback unblank receipt order time, generation is unblanked control signal, it should be noted that, telecommunication circuit 102 and control circuit 104 can be arranged in master control circuit board, and this circuit board can also install LCDs, for showing test results and intermediate data etc., as the testing time etc. for showing each counter records; Litter 106; Lock handle action motor 108, be connected with control circuit 104, for rotating forward under the control of control signal of unblanking, the litter 106 be arranged on lock handle action motor 108 is driven to move the lock handle pressing down electronic lock 20 to be measured, and reverse after being pressed down to predeterminated position at lock handle, drive litter 106 to reset, complete a unlock operation; First counter 110, for recording the first actual unlocking times of electronic lock 20 to be measured.Wherein, the first actual unlocking times is the actual number of times pressing down lock handle of litter 106.
By the embodiment of the present invention, automatically can complete the unlock operation of subscribing number of times, such as, automatically carry out 100,000 unlock operations.Further, after completing the unlock operation of subscribing number of times, can also detect the degree of wear of each mechanical part of electronic lock, to assess the mechanical property of electronic lock.
Also, namely, during enforcement, can be unblanked by three kinds of mode Long-distance Control electronic locks to be measured (i.e. intelligent wireless lock):
Mode 1: during test, unlock command is sent to the proving installation 10 of electronic lock 20 to be measured and electronic lock by remote server simultaneously.After electronic lock 20 to be measured receives unlock command, clutch operating, the outer handle of lockset is no longer dallied, and receipt order of unblanking returns remote server, the proving installation 10 of electronic lock receives the unlock command from remote server by the telecommunication circuit 102 of its wireless telecommunications, after receiving unlock command, utilize control circuit 104 (comprising processor and storer) to control lock handle action motor 108 to rotate, litter 106 is driven to move downward, press down the outer handle of electronic lock 20 to be measured, afterwards, control circuit 104 controls lock handle action motor 108 and reverses, litter 106 is driven to move upward, the outer handle resilience of electronic lock 20 to be measured is resetted, complete and once simulate unlock operation, now, first counter 110 counting adds 1, and tale is presented in LCDs.Complete after unblanking, the clutch coupling of electronic lock 20 to be measured can automatically reset, electronic lock 20 to be measured is made to recover the state of locking, electronic lock 20 to be measured itself has outer handle action monitoring function, can from the outer handle action message of trend server feedback after outer handle action being detected, server sends unlock command next time to Wireless electronic lock after receiving outer handle action message, automatically can complete the repeated test of the remote unlocking of electronic lock like this.
Mode 2: during test, electronic lock 20 to be measured receives the unlock command from remote server by the wireless communication function of self, after receiving unlock command, controls the clutch operating of electronic lock 20 to be measured, outer handle is no longer dallied, and receipt order of unblanking return remote server, in this process, the proving installation 10 of electronic lock monitors the wireless communication signal from remote server and electronic lock to be measured 20 by the telecommunication circuit 102 of its wireless telecommunications, after listening to the receipt signal of unblanking of electronic lock 20 to be measured feedback, utilize control circuit 104 to control lock handle action motor 108 to rotate, litter 106 is driven to move downward, press down the outer handle of electronic lock 20 to be measured, afterwards, control circuit 104 controls lock handle action motor 108 and reverses, litter 106 is driven to move upward, the outer handle resilience of electronic lock 20 to be measured resets, complete and once simulate unlock operation, now, first counter 110 counting adds 1, and tale is presented in LCDs, after handle resets, the clutch coupling of electronic lock 20 to be measured can automatically reset, and to remote server feedback reset information, after remote server receives repositioning information, unlock command is next time sent to electronic lock 20 to be measured, automatically the repeated test of the remote unlocking of electronic lock 20 to be measured can be completed like this.
Mode 3: during test, the proving installation 10 of electronic lock receives from after the unlock command of remote server and the receipt order of unblanking from electronic lock 20 feedback to be measured by the telecommunication circuit 102 of its wireless telecommunications simultaneously, utilize control circuit 104 (comprising processor and storer) to control lock handle action motor 108 to rotate, litter 106 is driven to move downward, press down the outer handle of electronic lock 20 to be measured, afterwards, control circuit 104 controls lock handle action motor 108 and reverses, litter 106 is driven to move upward, the outer handle resilience of electronic lock 20 to be measured is resetted, complete and once simulate unlock operation, now, first counter 110 counting adds 1, and tale is presented in LCDs.Complete after unblanking, the clutch coupling of electronic lock 20 to be measured can automatically reset, electronic lock 20 to be measured is made to recover the state of locking, electronic lock 20 to be measured itself has outer handle action monitoring function, can from the outer handle action message of trend server feedback after outer handle action being detected, server sends unlock command next time to Wireless electronic lock after receiving outer handle action message, automatically can complete the repeated test of the remote unlocking of electronic lock like this.
Preferably, as shown in Figure 1, said apparatus also comprises: test circuit 112, for the first actual unlocking times of electronic lock 20 to be measured and the actual number of times sending unlock command of remote server are contrasted, to obtain the communication success ratio of described electronic lock to be measured, further, whether the communication success ratio can testing electronic lock to be measured meets design requirement.During test, remote server can record the number of times sending unlock command, what the first counter 110 recorded is actual unlocking times, also be the number of times of the actual unlock command received of proving installation 10 of electronic lock 20 to be measured or electronic lock, by both contrasts, the Loss Rate of unlock command can be tested out, and then the reliability of the wireless communication function of assessment lockset.
Pass through above-described embodiment, due to test assignment can be automatically performed by Long-distance Control proving installation, automatically complete the Long-distance Control unlocking action of electronic lock, and can Auto-counting, automatically complete up to ten thousand the unlock operations to electronic lock, remote unlocking reliability and the communication reliability of testing electronic lock can be realized.
It should be noted that, the proving installation of the electronic lock in embodiment 1, with the proving installation of the electronic lock in following embodiment 2, herein by introducing the proving installation of electronic lock in example 2 in detail, does not repeat them here.
Alternatively, the test macro of electronic lock can also comprise: stationary installation, for fixing electronic lock to be measured.Wherein, stationary installation can be the simple stationary installation be formed by combining by base and fixed support, or doorframe and door-plate, and the analog gate that fixed support is formed by combining.Simple stationary installation comprises base, lockset fixed support, motor fixed rack, and wherein, electronic lock to be measured is fixed on base by lockset fixed support, and electric machine support is fixed on the electronic lock outer panels side on base.Analog gate comprises the door-plate be arranged in door-plate rotating shaft, and door-plate is arranged on base by door-plate rotating shaft, and can around door-plate axis of rotation, door-plate has dead bolt hole, door-plate side has dead bolt hole, and door-plate aligns with electronic lock, and the oblique dead bolt of electronic lock is arranged in dead bolt hole; During litter squeeze grip, oblique dead bolt is packed up, and doorframe action driven by motor door-plate rotates, and completes simulation opening door operation; After litter resets, door-plate drive motor drives door-plate to rotate reset, collides oblique dead bolt, completes simulation door-closing operation.The crash tests of oblique dead bolt can be completed like this, test physical strength and the collision lifetime of oblique dead bolt.The motor of proving installation is stepper motor, can be controlled the stroke of electric machine rotation by processor, controls the stroke of litter further, completes accurately by operations such as door handle.
Alternatively, the test macro of electronic lock can also comprise: remote server, for return this lock handle action message unblanking to produce at electronic lock to be measured after, sends unlock command next time.
For electronic lock, owing to needing to carry out relaying by radio network gateway with the wireless connections of remote server, and also there is certain delay internet, therefore long distance wireless unlock command non real-time arrival electronic lock, this process has the delay of certain hour, and the time delay that each long distance wireless is unblanked may not be identical, therefore, simply cannot set a time interval, allow remote server automatically send unlock command with the fixed cycle.Therefore, after electronic lock to be measured returns this lock handle action message unblanking to produce, send unlock command next time, the object improving unlocking rate can be reached.
Here, remote server can be Cloud Server, and electronic lock adopts wireless mode to be connected to internet, thus carries out communication with server, and electronic lock proving installation obtains the order from server or electronic lock by the wireless communication mode identical with electronic lock.Preferably, electronic lock is connected to gateway by the first wireless mode (as bluetooth, zigbee, 433mhz, 2.4G etc.), and gateway is connected to internet by the second wireless mode (as WIFI, 4G).
Pass through the embodiment of the present invention, use proving installation, automatically can complete each operation (comprise and unblank, open the door, close the door, lock) to electronic lock, and do and count process accordingly, enable the test of electronic lock realize robotization, sequencing, greatly improve testing efficiency.
Embodiment 2
According to the embodiment of the present invention, provide a kind of device embodiment of proving installation of electronic lock.
Fig. 2 is the schematic diagram of the proving installation of a kind of optional electronic lock according to the embodiment of the present invention, and as shown in Figure 1, 2, this device comprises: telecommunication circuit 102, control circuit 104, litter 106, lock handle action motor 108, first counter 110.Telecommunication circuit 102, for receiving the unlock command that remote server sends and/or the receipt order of unblanking receiving electronic lock to be measured feedback; Control circuit 104, is connected with telecommunication circuit 102, for receive unlock command that remote server sends in telecommunication circuit 102 and/or receive electronic lock to be measured feedback unblank receipt order time, produce and to unblank control signal; Litter 106; Lock handle action motor 108, be connected with control circuit 104, for rotating forward under the control of control signal of unblanking, the litter 106 be arranged on lock handle action motor 108 is driven to move the lock handle pressing down electronic lock to be measured, and reverse after being pressed down to predeterminated position at institute's lock handle, drive litter 106 to reset, complete a unlock operation; First counter 110, for recording electronic lock to be measured first actual unlocking times.
Also, namely, during enforcement, can be unblanked by three kinds of mode Long-distance Control electronic locks to be measured (i.e. intelligent wireless lock):
Mode 1: during test, unlock command is sent to the proving installation 10 of electronic lock 20 to be measured and electronic lock by remote server simultaneously.After electronic lock 20 to be measured receives unlock command, clutch operating, the outer handle of lockset is no longer dallied, and receipt order of unblanking returns remote server, the proving installation 10 of electronic lock receives the unlock command from remote server by the telecommunication circuit 102 of its wireless telecommunications, after receiving unlock command, utilize control circuit 104 (comprising processor and storer) to control lock handle action motor 108 to rotate, litter 106 is driven to move downward, press down the outer handle of electronic lock 20 to be measured, afterwards, control circuit 104 controls lock handle action motor 108 and reverses, litter 106 is driven to move upward, the outer handle resilience of electronic lock 20 to be measured is resetted, complete and once simulate unlock operation, now, first counter 110 counting adds 1, and tale is presented in LCDs.Complete after unblanking, the clutch coupling of electronic lock 20 to be measured can automatically reset, electronic lock 20 to be measured is made to recover the state of locking, electronic lock 20 to be measured itself has outer handle action monitoring function, can from the outer handle action message of trend server feedback after outer handle action being detected, server sends unlock command next time to Wireless electronic lock after receiving outer handle action message, automatically can complete the repeated test of the remote unlocking of electronic lock like this.
Mode 2: during test, electronic lock 20 to be measured receives the unlock command from remote server by the wireless communication function of self, after receiving unlock command, controls the clutch operating of electronic lock 20 to be measured, outer handle is no longer dallied, and receipt order of unblanking return remote server, in this process, the proving installation 10 of electronic lock monitors the wireless communication signal from remote server and electronic lock to be measured 20 by the telecommunication circuit 102 of its wireless telecommunications, after listening to the receipt signal of unblanking of electronic lock 20 to be measured feedback, utilize control circuit 104 to control lock handle action motor 108 to rotate, litter 106 is driven to move downward, press down the outer handle of electronic lock 20 to be measured, afterwards, control circuit 104 controls lock handle action motor 108 and reverses, litter 106 is driven to move upward, the outer handle resilience of electronic lock 20 to be measured resets, complete and once simulate unlock operation, now, first counter 110 counting adds 1, and tale is presented in LCDs, after handle resets, the clutch coupling of electronic lock 20 to be measured can automatically reset, and to remote server feedback reset information, after remote server receives repositioning information, unlock command is next time sent to electronic lock 20 to be measured, automatically the repeated test of the remote unlocking of electronic lock 20 to be measured can be completed like this.
Mode 3: during test, the proving installation 10 of electronic lock receives from after the unlock command of remote server and the receipt order of unblanking from electronic lock 20 feedback to be measured by the telecommunication circuit 102 of its wireless telecommunications simultaneously, utilize control circuit 104 (comprising processor and storer) to control lock handle action motor 108 to rotate, litter 106 is driven to move downward, press down the outer handle of electronic lock 20 to be measured, afterwards, control circuit 104 controls lock handle action motor 108 and reverses, litter 106 is driven to move upward, the outer handle resilience of electronic lock 20 to be measured is resetted, complete and once simulate unlock operation, now, first counter 110 counting adds 1, and tale is presented in LCDs.Complete after unblanking, the clutch coupling of electronic lock 20 to be measured can automatically reset, electronic lock 20 to be measured is made to recover the state of locking, electronic lock 20 to be measured itself has outer handle action monitoring function, can from the outer handle action message of trend server feedback after outer handle action being detected, server sends unlock command next time to Wireless electronic lock after receiving outer handle action message, automatically can complete the repeated test of the remote unlocking of electronic lock like this.
Pass through above-described embodiment, due to test assignment can be automatically performed by Long-distance Control proving installation, automatically complete the Long-distance Control unlocking action of electronic lock, and can Auto-counting, automatically complete up to ten thousand the unlock operations to electronic lock, remote unlocking reliability and the communication reliability of testing electronic lock can be realized.
Optionally, as shown in Figure 1, 2, said apparatus also comprises: test circuit 112, for first of electronic lock to be measured the actual unlocking times and the actual number of times sending unlock command of remote server are contrasted, to obtain the communication success ratio of described electronic lock to be measured, further, the communication success ratio can testing electronic lock to be measured meets design requirement.During test, remote server can record the number of times sending unlock command, what the first counter 110 recorded is actual unlocking times, also be the number of times of the actual unlock command received of proving installation 10 of electronic lock 20 to be measured or electronic lock, by both contrasts, the Loss Rate of unlock command can be tested out, and then the reliability of the wireless communication function of assessment lockset.It should be noted that, can after completing the test of subscribing number of times, then the number of times actual unlocking times and server being sent unlock command contrasts, and completes the calculating of communication success ratio.Same, after completing the test of subscribing number of times, then the calculating of success ratio of carrying out unblanking.
Optionally, control circuit, also for after completing a unlock operation, produces enabling control signal; Accordingly, said apparatus also comprises: doorframe action motor, is connected with control circuit, for rotating forward under the control of enabling control signal, driving the doorframe be mounted opposite with electronic lock to be measured to move to enabling direction, completing and once simulate opening door operation.
By not inventive embodiments, not only can complete the unlock operation of preset times, the opening door operation of preset times can also be completed, proving installation can more comprehensively be simulated unblank, opening door operation.
Optionally, control circuit also for after completing once simulation opening door operation, produces and closes gate control signal; Doorframe action motor, also for reversing under the control of closing gate control signal, driving doorframe to direction motion of closing the door, completing and once simulate door-closing operation.
By the embodiment of the present invention, not only can complete the unblanking of preset times, opening door operation, the door-closing operation of preset times can also be completed, proving installation can more comprehensively be simulated unblank, open the door, door-closing operation.
It should be noted that, in embodiments of the present invention, after completing a unlock operation, can repeatedly produce control signal of repeatedly opening the door, thus after a unlock operation, and before once locking, repeated multiple timesly perform enabling, action of closing the door, complete the crash tests of oblique dead bolt, test physical strength and the collision lifetime of oblique dead bolt.In addition, in embodiments of the present invention, after completing a unlock operation, can also only produce enabling control signal, thus after a unlock operation, and before once locking, only perform once open the door, action of once closing the door, complete the crash tests of oblique dead bolt, test physical strength and the collision lifetime of oblique dead bolt.
Alternatively, said apparatus can also comprise: the second counter, for recording the dead bolt retraction number of times of electronic lock record to be measured electronic lock to be measured; Microswitch, is arranged on dead bolt place, and is connected with the second counter, for when dead bolt action, triggers the second counter records dead bolt retraction number of times.Because electronic lock generally adopts clutch mode to unblank, if unblanked, unsuccessful or clutch coupling does not have correct operation, oblique dead bolt action can not be driven by lower outside handle, by recording oblique dead bolt action frequency and squeeze grip number of times simultaneously, enabling success ratio can be obtained.Also, namely, when unblanking because electronic lock is actual, dead bolt needs to retract.And if electronic lock has in fact performed unlock command, but dead bolt is not retracted, then show to unblank unsuccessfully.Therefore, by arranging microswitch and the second counter, can according to the action situation of dead bolt, the true unlocking times of recorded electronic lock.
Further alternative, test circuit also for the dead bolt retraction number of times of electronic lock to be measured and the first actual unlocking times being contrasted, tests the success ratio of unblanking of electronic lock to be measured.Now, the first actual unlocking times of the true unlocking times of electronic lock and aforesaid electronic lock can be compared, determine the unlocking rate of electronic lock in test process, and then whether the quality of assessment electronic lock is qualified.
Further alternative, said apparatus can also comprise: display, is connected with the first counter, and is connected with the second counter, for showing the count results of the first counter and the second counter.Like this, tester can be made to get more information about test result.
Further alternative, control circuit and the first counter and one of being at least connected in the second counter, in the first actual unlocking times and dead bolt retraction number of times one of at least reach preset times time, finish test procedure.
The hardware configuration of above-mentioned proving installation comprises: radio communication circuit (telecommunication circuit as the aforementioned), processor (control circuit as the aforementioned), counter 1 (the first counter as the aforementioned), counter 2 (the second counter as the aforementioned), LCDs (i.e. display), microswitch and lock handle action motor.Wherein, above-mentioned parts except lock handle action motor can be arranged on control panel.Annexation between each parts as shown in Figure 3.
The present invention is elaborated below with specific embodiment.
As shown in Figure 4, when without simulation enabling, door-closing operation, the flow process using above-mentioned proving installation to carry out testing is as follows:
S102, server (i.e. aforesaid remote server) sends unlock command;
S104, proving installation receives the unlock command from server or the receipt order of unblanking from electronic lock;
S106, generates unlocking signal;
S108, lock handle action electric machine rotation, and drive litter to press down lock handle, dead bolt is retracted;
S110, keeps lock handle to be in depressed position certain hour;
S112, after arriving the schedule time, motor reversal, litter resets, and lock handle resets, and dead bolt ejects again.
Herein, the unlock command of server can send to electronic lock to wirelessly, but has communicating circuit due to proving installation, therefore also can receive this unlock command, same, proving installation also can receive the receipt order that electronic lock wirelessly feeds back to server.When not needing to carry out switch gate and clash into the test of oblique dead bolt, can, pressing down lock handle to actuating motor reversion at once after subscribing position, lock handle be resetted, once unlock operation on carrying out after lock handle reset.
As shown in Figure 5, when comprising simulation enabling, door-closing operation, the flow process using above-mentioned proving installation to carry out testing is as follows:
S202, server (i.e. aforesaid remote server) sends unlock command;
S204, proving installation receives the unlock command from server or the receipt order of unblanking from electronic lock;
S206, generates unlocking signal;
S208, lock handle action electric machine rotation, and drive litter to press down lock handle, dead bolt is retracted;
S210, keeps lock handle to be in depressed position;
S212, produces enabling signal;
S214, doorframe action electric machine rotation, and drive doorframe to rotate, leave dead bolt;
S216, lock handle action motor reversal, litter resets, and lock handle resets, and dead bolt ejects again;
S218, produces and closes gate signal;
S220, doorframe action electric machine rotation, and drive doorframe to reset, come back to pass door state after clashing into oblique dead bolt.
Herein, when adding enabling and closing the door and clash into the test of oblique dead bolt, need to keep lock handle to be in depressed position a period of time, in order to reduce the complexity of proving installation, therefore, the litter of proving installation keeps electronic lock body partial fixing motionless when pressing down lock handle, door frame portion is rotated under the state that dead bolt is retracted, the dead bolt hole of door frame portion and the latch bolt position of electronic lock are staggered, complete simulation opening door operation, after dead bolt leaves dead bolt hole, handle can be made to reset, dead bolt ejects, and completes the oblique dead bolt test of next step simulation shock at closing time.
In actual test, by the microswitch monitoring dead bolt action situation at dead bolt place, only pressing lock handle, and during dead bolt retraction, just producing enabling signal, doorframe action electric machine rotation drives doorframe to rotate.Unsuccessful if unblanked, after pressing down lock handle, dead bolt is not retracted, and so dead bolt is still arranged in the dead bolt hole of doorframe side, and doorframe and lock body are in relative stationary state, cannot be rotated by doorframe drive motor and drive doorframe motion, now make motor action easy motor damage on the contrary by force.Also namely, enabling control signal should monitor after dead bolt is retracted at microswitch and produce, because likely there is pressing down the phenomenon that handle dead bolt do not retract, now dead bolt is also in the dead bolt hole of doorframe, cannot realize simulation and open the door.
In addition, due in practical operation, electronic lock to be measured is fixed on support, therefore need the action keeping pressing down lock handle could realize simulation to open the door, therefore, proving installation and actual enabling situation unlike, keep electronic lock body motionless, the doorframe coordinated with electronic lock body rotates, and the relative motion of electronic lock and doorframe when simulation reality is opened the door, in fact the door-plate in proving installation is equivalent to the part of doorframe.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
In the above embodiment of the present invention, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In several embodiments that the application provides, should be understood that, disclosed technology contents, the mode by other realizes.Wherein, device embodiment described above is only schematic, the such as division of described unit, can be that a kind of logic function divides, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of unit or module or communication connection can be electrical or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed on multiple unit.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.