CN111751143A - Intelligent lock testing system, method, device and storage medium - Google Patents
Intelligent lock testing system, method, device and storage medium Download PDFInfo
- Publication number
- CN111751143A CN111751143A CN202010694308.6A CN202010694308A CN111751143A CN 111751143 A CN111751143 A CN 111751143A CN 202010694308 A CN202010694308 A CN 202010694308A CN 111751143 A CN111751143 A CN 111751143A
- Authority
- CN
- China
- Prior art keywords
- intelligent lock
- test
- tested
- power consumption
- power supply
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 388
- 238000000034 method Methods 0.000 title claims abstract description 16
- 238000004891 communication Methods 0.000 claims abstract description 33
- 238000004458 analytical method Methods 0.000 claims abstract description 9
- 230000006870 function Effects 0.000 description 29
- 238000010586 diagram Methods 0.000 description 8
- 238000013522 software testing Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01M—TESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
- G01M99/00—Subject matter not provided for in other groups of this subclass
- G01M99/008—Subject matter not provided for in other groups of this subclass by doing functionality tests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The embodiment of the invention discloses an intelligent lock testing system, method, device and storage medium. The system comprises: the system comprises a mobile power supply and an upper computer; the mobile power supply comprises a power consumption testing module, a power consumption testing module and a power consumption testing module, wherein the power consumption testing module is used for performing power consumption testing on the intelligent lock to be tested while supplying power to the intelligent lock to be tested; the upper computer is in communication connection with the mobile power supply and is used for sending a power consumption test instruction to the mobile power supply to indicate the mobile power supply to carry out power consumption test on the intelligent lock to be tested and carry out test analysis on the intelligent lock to be tested based on a power consumption test result fed back by the mobile power supply. By the technical scheme of the embodiment of the invention, the intelligent lock can be efficiently and accurately tested, and the quality of the intelligent lock is improved.
Description
Technical Field
The embodiment of the invention relates to a testing technology, in particular to an intelligent lock testing system, method, device and storage medium.
Background
Along with the development of the internet of things technology, the intelligent lock is more and more popular, and in the face of sales volume of more than ten million grades per year, how to improve the testing efficiency and the product consistency in the production link becomes an important content.
In the prior art, all testing links of the intelligent lock are tested manually, so that the testing efficiency is low, and the testing is not accurate enough.
Disclosure of Invention
The embodiment of the invention provides an intelligent lock testing system, method, device and storage medium, which are used for realizing the effects of efficiently and accurately testing an intelligent lock and improving the quality of the intelligent lock.
In a first aspect, an embodiment of the present invention provides an intelligent lock testing system, where the system includes: the system comprises a mobile power supply and an upper computer;
the mobile power supply comprises a power consumption testing module, a power consumption testing module and a power consumption testing module, wherein the power consumption testing module is used for performing power consumption testing on the intelligent lock to be tested while supplying power to the intelligent lock to be tested;
the upper computer is in communication connection with the mobile power supply and is used for sending a power consumption test instruction to the mobile power supply to indicate the mobile power supply to carry out power consumption test on the intelligent lock to be tested and carry out test analysis on the intelligent lock to be tested based on a power consumption test result fed back by the mobile power supply.
In a second aspect, an embodiment of the present invention further provides an intelligent lock testing method, where the method includes:
establishing communication connection with a mobile power supply for supplying power to the intelligent lock to be tested;
sending a power consumption test instruction to the mobile power supply to indicate the mobile power supply to perform power consumption test on the intelligent lock to be tested while supplying power to the intelligent lock to be tested;
and receiving a power consumption test result fed back by the mobile power supply, and testing and analyzing the intelligent lock to be tested based on the power consumption test result.
In a third aspect, an embodiment of the present invention further provides an intelligent lock testing apparatus, where the apparatus includes:
the communication connection establishing module is used for establishing communication connection with a mobile power supply for supplying power to the intelligent lock to be tested;
the test instruction issuing module is used for sending a power consumption test instruction to the mobile power supply so as to instruct the mobile power supply to carry out power consumption test on the intelligent lock to be tested while supplying power to the intelligent lock to be tested;
and the test data receiving module is used for receiving a power consumption test result fed back by the mobile power supply and carrying out test analysis on the intelligent lock to be tested based on the power consumption test result.
In a fourth aspect, embodiments of the present invention further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the intelligent lock testing method according to any one of the embodiments of the present invention.
According to the technical scheme of the embodiment of the invention, through the designed intelligent lock testing system, the power consumption of the intelligent lock to be tested is tested while the intelligent lock to be tested is powered by the mobile power supply in the intelligent lock testing system, and the power consumption is fed back to the upper computer, the upper computer sends a power consumption testing instruction to the mobile power supply to indicate the mobile power supply to perform power consumption testing on the intelligent lock to be tested, and the intelligent lock to be tested is tested and analyzed based on the power consumption testing result fed back by the mobile power supply to determine whether the power consumption of the intelligent lock to be tested is good or not, so that if the intelligent lock to be tested has a problem, the problem can be timely found, corresponding measures can be taken for the intelligent lock to be tested, the completeness of the intelligent lock flowing out of the market is ensured, and the factory quality and consistency. Simultaneously, this scheme can test the consumption of the intelligent lock that awaits measuring automatically, has solved among the prior art and has need artificially to test it, and the efficiency of software testing that leads to is low, and the test is accurate problem inadequately, has improved the efficiency of software testing and the accuracy of intelligent lock.
Drawings
FIG. 1 is a schematic structural diagram of an intelligent lock testing system according to a first embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a connection between a mobile power supply and an intelligent lock to be tested according to a first embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an intelligent lock testing system according to a second embodiment of the present invention;
FIG. 4 is a flowchart of a method for testing an intelligent lock according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of an intelligent lock testing apparatus in the fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a schematic structural diagram of an intelligent lock testing system according to an embodiment of the present invention, where the system 100 is applicable to a situation of testing power consumption of an intelligent lock, as shown in fig. 1, the intelligent lock testing system includes: the mobile power supply 10 and the upper computer 20.
The mobile power supply 10 comprises a power consumption testing module 11, which is used for testing the power consumption of the intelligent lock to be tested while supplying power to the intelligent lock to be tested; the upper computer 20 is in communication connection with the mobile power supply 10 and is used for sending a power consumption test instruction to the mobile power supply 10 to instruct the mobile power supply 10 to perform power consumption test on the intelligent lock to be tested, and performing test analysis on the intelligent lock to be tested based on a power consumption test result fed back by the mobile power supply 10.
For example, the power consumption test may be the power consumption of the mobile power supply consumed by the smart lock to be tested.
Referring to fig. 2, a schematic connection diagram of a mobile power supply and an intelligent lock to be tested is described, where 40 in fig. 2 is the intelligent lock to be tested, where the mobile power supply may be mounted on the intelligent lock to be tested, and used for performing a power consumption test on the intelligent lock to be tested while supplying power to the intelligent lock to be tested.
Referring to fig. 1, here, the upper computer 20 is in communication connection with the mobile power supply 10, and may be that the mobile power supply 10 includes a first bluetooth module 12, the upper computer 20 includes a second bluetooth module 21, and the upper computer 20 and the mobile power supply 10 establish communication connection based on the first bluetooth module 12 and the second bluetooth module 21.
The power consumption test instruction may be an instruction for performing power consumption test on the smart lock to be tested, and the instruction is used for instructing the mobile power supply 10 to perform power consumption test on the smart lock to be tested.
When power consumption testing needs to be carried out on the intelligent lock to be tested, the upper computer is in communication connection with the mobile power supply, after the intelligent lock to be tested is connected with the mobile power supply, the mobile power supply sends an instruction of successful connection with the intelligent lock to be tested to the upper computer, the upper computer sends a power consumption testing instruction to the mobile power supply after receiving the instruction, after the mobile power supply receives the power consumption testing instruction, a power consumption testing module inside the mobile power supply carries out power consumption testing on the intelligent lock to be tested and feeds back a power consumption testing result to the upper computer, and after the upper computer receives the power consumption testing result fed back by the mobile power supply, the power consumption testing result is analyzed to determine whether the power consumption testing of the intelligent lock to be tested is complete.
It should be noted that, here, analyzing the power consumption test result to determine whether the power consumption test of the to-be-tested intelligent lock is complete may be determined according to the electric quantity of the mobile power supply consumed by the intelligent lock, for example, a power consumption test module in the mobile power supply may obtain the current of the intelligent lock, when the upper computer receives the current fed back by the mobile power supply, the situation of the electric quantity consumed by the to-be-tested intelligent lock may be determined according to the current value, and according to the electric quantity situation, it may be determined whether the power consumption test of the to-be-tested intelligent lock is complete. For example, the electric quantity consumed by the intelligent lock to be tested within 10 minutes should be 1 °, and if the upper computer analyzes that the electric quantity consumed by the intelligent lock to be tested within 10 minutes is about 1 °, it can be determined that the power consumption test of the intelligent lock to be tested is complete; if the upper computer analyzes that the electric quantity consumed by the intelligent lock to be tested within 10 minutes is about 5 degrees, the power consumption test of the intelligent lock to be tested can be determined to be not complete.
Besides judging whether the power consumption test of the intelligent lock to be tested is good or not according to the electric quantity, the power consumption test can be directly determined through the current fed back by the mobile power supply. For example, under the condition that the function of the intelligent lock to be tested is not used, namely under the condition of standing, the current is between 1 and 2A, and if the upper computer analyzes that the current of the intelligent lock to be tested under the condition of standing is 1.2A, the power consumption test of the intelligent lock to be tested can be determined to be complete; if the upper computer analyzes that the current of the intelligent lock to be tested is 5A under the condition of standing, the power consumption test of the intelligent lock to be tested can be determined to be not complete.
The above two conditions that can be used to evaluate whether the power consumption test of the to-be-tested smart lock is complete are listed, but the present invention is not limited thereto, and any one or more other conditions that can be used to evaluate whether the power consumption test of the to-be-tested smart lock is complete may also be listed, and the present invention is not limited herein. Any condition that can be used for evaluating whether the power consumption test of the intelligent lock to be tested is complete belongs to the protection scope of the embodiment of the invention.
Whether the power consumption of the intelligent lock to be tested is intact or not is determined by testing the power consumption mechanical energy of the intelligent lock to be tested, so that if the intelligent lock to be tested has a problem, the problem can be found in time, corresponding measures are taken for the intelligent lock, the integrity of the intelligent lock flowing out of the market is guaranteed, and the factory quality and consistency of the intelligent lock are improved. Simultaneously, this scheme can test the consumption of the intelligent lock that awaits measuring automatically, has solved among the prior art and has need artificially to test it, and the efficiency of software testing that leads to is low, and the test is accurate problem inadequately, has improved the efficiency of software testing and the accuracy of intelligent lock.
It should be noted that, the mobile power supply 10 may further include a display module, and the display module may display a test result of the power consumption test of the to-be-tested smart lock in real time, so that a user may visually know the power consumption of the to-be-tested smart lock in real time.
According to the technical scheme of the embodiment of the invention, through the designed intelligent lock testing system, the power consumption of the intelligent lock to be tested is tested while the intelligent lock to be tested is powered by the mobile power supply in the intelligent lock testing system, and the power consumption is fed back to the upper computer, the upper computer sends a power consumption testing instruction to the mobile power supply to indicate the mobile power supply to perform power consumption testing on the intelligent lock to be tested, and the intelligent lock to be tested is tested and analyzed based on the power consumption testing result fed back by the mobile power supply to determine whether the power consumption of the intelligent lock to be tested is good or not, so that if the intelligent lock to be tested has a problem, the problem can be timely found, corresponding measures can be taken for the intelligent lock to be tested, the completeness of the intelligent lock flowing out of the market is ensured, and the factory quality and consistency. Simultaneously, this scheme can test the consumption of the intelligent lock that awaits measuring automatically, has solved among the prior art and has need artificially to test it, and the efficiency of software testing that leads to is low, and the test is accurate problem inadequately, has improved the efficiency of software testing and the accuracy of intelligent lock.
Example two
Fig. 3 is a schematic structural diagram of an intelligent lock testing system according to a second embodiment of the present invention, where the second embodiment of the present invention and various alternatives in the first embodiment of the present invention may be combined. In the embodiment of the present invention, optionally, the system further includes: and each test clamping position 30 of the test pipeline workbench is in communication connection with the upper computer.
Referring to fig. 3, the test line workbench is provided with a plurality of test cards 30, such as test card 1, test card 2, … …, and test card N, each of which is used for testing different functions of the smart lock to be tested. And each test card position is respectively provided with a communication module for communication connection with an upper computer. The communication module here may be, for example, a bluetooth communication module.
It can be understood that the number of the test detents may be related to the number of the functions to be tested by the smart lock to be tested, and the number of the test detents may be greater than or equal to the number of the functions to be tested by the smart lock to be tested. The setting can be carried out according to the requirements, and is not limited here.
It should be noted that, the upper computer here may also be directly in communication connection with the intelligent lock to be tested, so as to facilitate information transmission between the upper computer and the intelligent lock to be tested.
Optionally, the upper computer is further configured to: when a preset notice sent by a target test card position is received, sending a target link test instruction to the intelligent lock to be tested so as to instruct the intelligent lock to be tested to carry out target link test; and testing and analyzing the intelligent lock to be tested based on the target link test result fed back by the intelligent lock to be tested.
For example, the target test card position may be a test card position corresponding to a current function test to be performed by the to-be-tested intelligent lock, for example, a test is currently performed on the to-be-tested intelligent lock, and the to-be-tested intelligent lock is placed on the test card position 1 of the test assembly line workbench performing the a test, so that the test card position 1 is the target test card position.
The preset notification may be that when the intelligent lock to be tested is placed in a target test card position of the test line workbench corresponding to a certain test, the communication module in the target test card position may perform communication connection with the second bluetooth module of the intelligent lock to be tested, and after the target test card position is connected with the intelligent lock to be tested, the target test card position may generate an instruction that the target test card position is successfully connected with the intelligent lock to be tested, where the instruction that the target test card position is successfully connected with the intelligent lock to be tested is the preset notification.
The target link test instruction can be a test instruction of a test link corresponding to the target test card position sent by the upper computer according to a preset notice after the upper computer receives the preset notice sent by the target test card position. For example, the target test card position is a card position for performing a-function test on the to-be-tested intelligent lock, and the upper computer can send a test instruction for performing the a-function test on the intelligent lock to be tested to the to-be-tested intelligent lock after receiving the preset notification. The A function test is the target link test.
The target link test result may be a result fed back for the target test link.
When a certain test needs to be carried out on the intelligent lock to be tested, the intelligent lock to be tested is placed on the corresponding target test card position and is in communication connection with the corresponding target test card position, when the host computer is informed of the completion of the communication connection between the target test card position and the intelligent lock to be tested, the host computer can issue a test instruction corresponding to the target test card position to the intelligent lock to be tested, the intelligent lock to be tested is tested based on the received test instruction and feeds back a test result to the host computer, and the host computer analyzes the test result based on the received test result to determine whether the test carried out on the intelligent lock to be tested is complete.
Optionally, the target link test instruction includes at least any one of the following: the system comprises a card test instruction, a touch keyboard function test instruction, a light test instruction and a fingerprint test instruction.
For example, when the smart lock to be tested is tested, at least any one of the following may be performed on the smart lock to be tested: card test, touch keyboard function test, light test and fingerprint test. Correspondingly, the target test link instruction may include at least any one of the following: the system comprises a card test instruction, a touch keyboard function test instruction, a light test instruction and a fingerprint test instruction.
Use to await measuring the intelligent lock and carry out the card test as an example, the intelligent lock that awaits measuring is arranged in and is carried out on the test screens 1 that the card tested, the intelligent lock that awaits measuring establishes communication connection with test screens 1, the host computer receives the notice of predetermineeing that test screens 1 sent, issue card test instruction to the intelligent lock that awaits measuring, the intelligent lock that awaits measuring carries out the card test according to card test instruction, for example, can be the information on the card that reads to set up on the test screens 1, the information feedback on the card that the intelligent lock that awaits measuring will read is to the host computer, the host computer judges whether the information on the card that the intelligent lock that awaits measuring fed back is correct, whether the card test function of the intelligent lock that await.
Taking the touch keyboard function test of the intelligent lock to be tested as an example, the intelligent lock to be tested is placed on a test card position 2 for performing the touch keyboard function test, the intelligent lock to be tested establishes communication connection with the test card position 2, after the upper computer receives a preset notice sent by the test card position 2, a touch keyboard function test instruction is issued to the intelligent lock to be tested, the intelligent lock to be tested performs the touch keyboard function test according to the touch keyboard function test instruction, for example, a hand model arranged on the test card position 2 can be used for touching the keyboard of the intelligent lock to be tested, the intelligent lock to be tested feeds back the capacitance change value of each channel in the keyboard of the intelligent lock to be tested to the upper computer, and the upper computer judges the capacitance change value of each channel in the keyboard of the intelligent lock to be tested, so as to determine whether the touch keyboard function test of the intelligent lock to be tested is complete. For example, the upper computer may determine whether the touch keyboard of the smart lock to be tested is intact by determining whether the capacitance of each channel in the keyboard changes, because the capacitance of each channel on the keyboard changes when the touch keyboard detects that an object touches the touch keyboard.
For example, after the upper computer receives the preset notice sent by the test card 3, a light test instruction is issued to the intelligent lock to be tested, the intelligent lock to be tested performs light test according to the light test instruction, for example, the specific light sensing jig arranged on the upper computer can be used for reading the light intensity information of each lamp position on the test board on the intelligent lock to be tested, the intelligent lock to be tested feeds back the light intensity information of each lamp position on the test board on the intelligent lock to be tested to the upper computer, and the upper computer judges the light intensity information of each lamp position on the test board on the intelligent lock to be tested, so as to determine whether the light test of the intelligent lock to be tested is complete.
Use to carry out the fingerprint test to the intelligent lock that awaits measuring as an example, the intelligent lock that awaits measuring is arranged in and is carried out on the test screens 4 of fingerprint test, the intelligent lock that awaits measuring establishes communication connection with test screens 4, the host computer receives the notice of predetermineeing that test screens 4 sent, issue the fingerprint test instruction to the intelligent lock that awaits measuring, the intelligent lock that awaits measuring carries out the fingerprint test according to the fingerprint test instruction, for example, can be the fingerprint interface that utilizes the hand former that sets up on test screens 4 to touch the intelligent lock that awaits measuring, the intelligent lock that awaits measuring feeds back the fingerprint information that obtains to the host computer, the host computer judges the fingerprint information that the intelligent lock that awaits measuring feedbacks, confirm with this whether the fingerprint test of the. For example, the upper computer may determine whether the fingerprint interface of the to-be-detected smart lock is intact by determining whether a fingerprint is generated.
Therefore, the intelligent lock to be tested can be automatically and efficiently tested for different functions, a more accurate test result is obtained, the integrity of the intelligent lock flowing out of the market is guaranteed, and the factory quality and consistency of the intelligent lock are improved.
It should be noted that, the test line workbench can be sequentially provided with test clamps to be tested in sequence, so that when one test is completed, the next test can be automatically performed. Therefore, the testing efficiency of the intelligent lock to be tested is improved.
It should be noted that, a test card position for power consumption test may be further disposed on the test line workbench, and the power consumption test, the card test, the touch keyboard function test, the light test and the fingerprint test may be performed on the test line workbench together.
Optionally, the upper computer 20 is further configured to: and correspondingly storing the test result of each link of the intelligent lock to be tested and the identification information of the intelligent lock to be tested.
For example, the identification information of the to-be-tested smart lock may be information for identifying the to-be-tested smart lock, and each to-be-tested smart lock has unique identification information, where the identification information may be a two-dimensional code identification of the to-be-tested smart lock or a serial number of the to-be-tested smart lock, for example.
After the upper computer obtains the test result of a certain intelligent lock to be tested, the upper computer can read the identification information of the intelligent lock to be tested, such as the two-dimensional code information of the intelligent lock to be tested, and correspondingly store the identification information of the intelligent lock to be tested and each test result corresponding to the equipment to be tested. For example, there are two to-be-tested intelligent locks, where the to-be-tested intelligent lock a performs card testing and light testing, and the to-be-tested intelligent lock B performs touch keyboard function testing and fingerprint testing, and then stores the identification information of the to-be-tested intelligent lock a, the test result of the card testing and the test result of the light testing, and stores the identification information of the to-be-tested intelligent lock B, the test result of the touch keyboard function testing and the test result of the fingerprint testing. Therefore, each test result of each intelligent lock to be tested can be inquired in the following process.
It should be noted that, the host computer may also not correspondingly store the identification information of the to-be-tested smart lock and the test results corresponding to the to-be-tested device, but upload the identification information of the to-be-tested smart lock and the test results corresponding to the to-be-tested device to the cloud, and correspondingly store the identification information and the test results in the cloud.
According to the technical scheme of the embodiment of the invention, through the test assembly line workbench arranged in the intelligent lock test system, the test assembly line workbench is provided with a plurality of test clamping positions, and the intelligent lock to be tested is correspondingly tested through each test clamping position, so that the intelligent lock to be tested can be automatically and efficiently tested for different functions, more accurate test results are obtained, the integrity of the intelligent lock flowing out of the market is ensured, and the delivery quality and consistency of the intelligent lock are improved.
EXAMPLE III
Fig. 4 is a flowchart of an intelligent lock testing method according to a third embodiment of the present invention, where the method is applicable to a situation of testing power consumption of an intelligent lock, and the method may be executed by an intelligent lock testing apparatus, where the intelligent lock testing apparatus may be implemented by software and/or hardware, and the intelligent lock testing apparatus may be configured on a computing device.
Wherein explanations of the same or corresponding terms as those of the above embodiments are omitted. Referring to fig. 4, the specific method includes the steps of:
and S110, establishing communication connection with a mobile power supply for supplying power to the intelligent lock to be tested.
And S120, sending a power consumption test instruction to the mobile power supply to indicate the mobile power supply to carry out power consumption test on the intelligent lock to be tested while supplying power to the intelligent lock to be tested.
And S130, receiving a power consumption test result fed back by the mobile power supply, and testing and analyzing the intelligent lock to be tested based on the power consumption test result.
Optionally, when the target link test includes at least any one of the following: when preset notice sent by a target test card position is received during card test, touch keyboard function test, light test and fingerprint test, sending a target link test instruction to the intelligent lock to be tested so as to indicate the intelligent lock to be tested to carry out target link test; testing and analyzing the intelligent lock to be tested based on the target link test result fed back by the intelligent lock to be tested; correspondingly storing the test results of all links of the intelligent lock to be tested and the identification information of the intelligent lock to be tested; the intelligent lock to be tested sequentially flows into each test clamping position of the test assembly line workbench based on a preset test flow.
For example, the preset test flow may be a preset test flow, for example, the test sequence of each target link may be, for example: card test-touch keyboard function test-light test-fingerprint test, it can also be: card test-light test-fingerprint test-touch keyboard function test, etc.
Optionally, when the target link test includes at least any one of the following: when the card test, the touch keyboard function test, the light test and the fingerprint test are carried out, the target link test instruction correspondingly comprises at least one of the following items: the system comprises a card test instruction, a touch keyboard function test instruction, a light test instruction and a fingerprint test instruction.
According to the preset test flow, the intelligent lock to be tested is subjected to various tests, so that the intelligent lock to be tested can be automatically and efficiently tested for different functions, a more accurate test result is obtained, the integrity of the intelligent lock flowing out of the market is guaranteed, and the factory quality and consistency of the intelligent lock are improved.
According to the technical scheme of the embodiment of the invention, the communication connection is established with the mobile power supply for supplying power to the intelligent lock to be tested, the power consumption test instruction is sent to the mobile power supply to indicate the mobile power supply to perform power consumption test on the intelligent lock to be tested while supplying power to the intelligent lock to be tested, the power consumption test result fed back by the mobile power supply is received, and the intelligent lock to be tested is tested and analyzed based on the power consumption test result. Whether the power consumption of the intelligent lock to be tested is intact is determined, so that if the intelligent lock to be tested has a problem, the problem can be found in time, corresponding measures can be taken conveniently, the integrity of the intelligent lock flowing out of the market is guaranteed, and the factory quality and consistency of the intelligent lock are improved. Simultaneously, this scheme can test the consumption of the intelligent lock that awaits measuring automatically, has solved among the prior art and has need artificially to test it, and the efficiency of software testing that leads to is low, and the test is accurate problem inadequately, has improved the efficiency of software testing and the accuracy of intelligent lock.
Example four
Fig. 5 is a schematic structural diagram of an intelligent lock testing apparatus according to a fourth embodiment of the present invention, and as shown in fig. 5, the apparatus includes: a communication connection establishing module 51, a test instruction issuing module 52 and a test data receiving module 53.
The communication connection establishing module 51 is used for establishing communication connection with a mobile power supply for supplying power to the intelligent lock to be tested;
the test instruction issuing module 52 is configured to send a power consumption test instruction to the mobile power supply to instruct the mobile power supply to perform a power consumption test on the to-be-tested smart lock while supplying power to the to-be-tested smart lock;
and the test data receiving module 53 is configured to receive a power consumption test result fed back by the mobile power supply, and perform test analysis on the to-be-tested smart lock based on the power consumption test result.
On the basis of the technical scheme of the embodiment, the device further comprises:
the target link test instruction sending module is used for sending a target link test instruction to the intelligent lock to be tested when a preset notice sent by a target test card position is received so as to instruct the intelligent lock to be tested to carry out target link test; the intelligent lock to be tested sequentially flows into each test clamping position of the test assembly line workbench based on a preset test flow;
the test analysis module is used for carrying out test analysis on the intelligent lock to be tested based on the target link test result fed back by the intelligent lock to be tested;
and the storage module is used for correspondingly storing the test results of all links of the intelligent lock to be tested and the identification information of the intelligent lock to be tested.
Optionally, the target link test instruction includes at least any one of the following: the system comprises a card test instruction, a touch keyboard function test instruction, a light test instruction and a fingerprint test instruction.
The intelligent lock testing device provided by the embodiment of the invention can execute the intelligent lock testing method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE five
Fifth, an embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a smart lock testing method.
Of course, the storage medium containing the computer-executable instructions provided by the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in the intelligent lock testing method provided by any embodiments of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the intelligent lock testing device, the units and modules included in the embodiment are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (10)
1. An intelligent lock testing system, comprising: the system comprises a mobile power supply and an upper computer;
the mobile power supply comprises a power consumption testing module, a power consumption testing module and a power consumption testing module, wherein the power consumption testing module is used for performing power consumption testing on the intelligent lock to be tested while supplying power to the intelligent lock to be tested;
the upper computer is in communication connection with the mobile power supply and is used for sending a power consumption test instruction to the mobile power supply to indicate the mobile power supply to carry out power consumption test on the intelligent lock to be tested and carry out test analysis on the intelligent lock to be tested based on a power consumption test result fed back by the mobile power supply.
2. The system of claim 1, wherein the mobile power supply comprises a first Bluetooth module, the upper computer comprises a second Bluetooth module, and the upper computer and the mobile power supply establish communication connection based on the first Bluetooth module and the second Bluetooth module.
3. The system according to claim 1, wherein the upper computer is further in communication connection with each test card position of the test pipeline workbench and the intelligent lock to be tested, and is configured to send a target link test instruction to the intelligent lock to be tested to instruct the intelligent lock to be tested to perform a target link test when a preset notification sent by a target test card position is received;
and the upper computer is also used for testing and analyzing the intelligent lock to be tested based on the target link test result fed back by the intelligent lock to be tested.
4. The system of claim 3, wherein the target link test instructions include at least any one of: the system comprises a card test instruction, a touch keyboard function test instruction, a light test instruction and a fingerprint test instruction.
5. The system of claim 3, wherein the upper computer is further configured to correspondingly store the test results of the links of the intelligent lock to be tested and the identification information of the intelligent lock to be tested.
6. An intelligent lock testing method is characterized by comprising the following steps:
establishing communication connection with a mobile power supply for supplying power to the intelligent lock to be tested;
sending a power consumption test instruction to the mobile power supply to indicate the mobile power supply to perform power consumption test on the intelligent lock to be tested while supplying power to the intelligent lock to be tested;
and receiving a power consumption test result fed back by the mobile power supply, and testing and analyzing the intelligent lock to be tested based on the power consumption test result.
7. The method of claim 6, further comprising:
when a preset notice sent by a target test card position is received, sending a target link test instruction to the intelligent lock to be tested so as to instruct the intelligent lock to be tested to carry out target link test;
testing and analyzing the intelligent lock to be tested based on the target link test result fed back by the intelligent lock to be tested;
correspondingly storing the test result of each link of the intelligent lock to be tested and the identification information of the intelligent lock to be tested;
the intelligent lock to be tested sequentially flows into each test clamping position of the test assembly line workbench based on a preset test flow.
8. The method of claim 7, wherein the target link test instructions include at least any one of: the system comprises a card test instruction, a touch keyboard function test instruction, a light test instruction and a fingerprint test instruction.
9. An intelligent lock testing arrangement, its characterized in that includes:
the communication connection establishing module is used for establishing communication connection with a mobile power supply for supplying power to the intelligent lock to be tested;
the test instruction issuing module is used for sending a power consumption test instruction to the mobile power supply so as to instruct the mobile power supply to carry out power consumption test on the intelligent lock to be tested while supplying power to the intelligent lock to be tested;
and the test data receiving module is used for receiving a power consumption test result fed back by the mobile power supply and carrying out test analysis on the intelligent lock to be tested based on the power consumption test result.
10. A storage medium containing computer-executable instructions for performing the smart lock testing method of any one of claims 6-8 when executed by a computer processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010694308.6A CN111751143A (en) | 2020-07-17 | 2020-07-17 | Intelligent lock testing system, method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010694308.6A CN111751143A (en) | 2020-07-17 | 2020-07-17 | Intelligent lock testing system, method, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111751143A true CN111751143A (en) | 2020-10-09 |
Family
ID=72710356
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010694308.6A Pending CN111751143A (en) | 2020-07-17 | 2020-07-17 | Intelligent lock testing system, method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111751143A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112595956A (en) * | 2020-12-02 | 2021-04-02 | 北京紫光安芯科技有限公司 | Test system of intelligence lock PCBA board |
CN113064012A (en) * | 2021-03-29 | 2021-07-02 | 万晖五金(深圳)有限公司 | Electronic lock test method, test system, test device, equipment and medium |
CN113282490A (en) * | 2021-05-17 | 2021-08-20 | 深圳Tcl新技术有限公司 | Intelligent door lock testing method and electronic equipment |
WO2022214347A1 (en) * | 2021-04-09 | 2022-10-13 | Assa Abloy Ab | Finding faults in firmware for a lock device |
CN118549743A (en) * | 2024-07-24 | 2024-08-27 | 一脉通(深圳)智能科技有限公司 | Intelligent lock production test method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105652183A (en) * | 2015-12-30 | 2016-06-08 | 惠州市德赛西威汽车电子股份有限公司 | Vehicle-mounted system PCB mainboard automated testing method |
CN109918241A (en) * | 2019-02-21 | 2019-06-21 | 广州技象科技有限公司 | A kind of smart lock production test method |
CN110456259A (en) * | 2019-08-19 | 2019-11-15 | 深圳坚朗海贝斯智能科技有限公司 | PCBA single-board testing method and test macro |
CN210626561U (en) * | 2019-08-02 | 2020-05-26 | 浙江蚂蚁精密科技有限公司 | Power consumption testing arrangement of intelligence lock |
CN212513656U (en) * | 2020-07-17 | 2021-02-09 | 苏州琨山智能科技有限公司 | Intelligent lock test system |
-
2020
- 2020-07-17 CN CN202010694308.6A patent/CN111751143A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105652183A (en) * | 2015-12-30 | 2016-06-08 | 惠州市德赛西威汽车电子股份有限公司 | Vehicle-mounted system PCB mainboard automated testing method |
CN109918241A (en) * | 2019-02-21 | 2019-06-21 | 广州技象科技有限公司 | A kind of smart lock production test method |
CN210626561U (en) * | 2019-08-02 | 2020-05-26 | 浙江蚂蚁精密科技有限公司 | Power consumption testing arrangement of intelligence lock |
CN110456259A (en) * | 2019-08-19 | 2019-11-15 | 深圳坚朗海贝斯智能科技有限公司 | PCBA single-board testing method and test macro |
CN212513656U (en) * | 2020-07-17 | 2021-02-09 | 苏州琨山智能科技有限公司 | Intelligent lock test system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112595956A (en) * | 2020-12-02 | 2021-04-02 | 北京紫光安芯科技有限公司 | Test system of intelligence lock PCBA board |
CN113064012A (en) * | 2021-03-29 | 2021-07-02 | 万晖五金(深圳)有限公司 | Electronic lock test method, test system, test device, equipment and medium |
WO2022214347A1 (en) * | 2021-04-09 | 2022-10-13 | Assa Abloy Ab | Finding faults in firmware for a lock device |
CN113282490A (en) * | 2021-05-17 | 2021-08-20 | 深圳Tcl新技术有限公司 | Intelligent door lock testing method and electronic equipment |
CN118549743A (en) * | 2024-07-24 | 2024-08-27 | 一脉通(深圳)智能科技有限公司 | Intelligent lock production test method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111751143A (en) | Intelligent lock testing system, method, device and storage medium | |
CN105279090A (en) | Test script generating method and test script generating device applied in financial field | |
CN105138461A (en) | Interface testing method and device for application program | |
CN105680960A (en) | Automatic test method for Bluetooth card reader, test upper computer and test system | |
CN101996117A (en) | Computer test system and method thereof | |
CN108664372A (en) | Monitoring device, method and the computer readable storage medium of test process | |
CN117421217B (en) | Automatic software function test method, system, terminal and medium | |
CN108897765A (en) | A kind of batch data introduction method and its system | |
CN115963379A (en) | Automatic test method, device, equipment and storage medium for circuit board | |
CN103309807B (en) | program testing method and platform | |
CN212513656U (en) | Intelligent lock test system | |
CN108093118A (en) | The test method of device, test device and computer readable storage medium on mainboard | |
CN110990285A (en) | UI automation test method and device | |
CN101662519B (en) | System and method for controlling current test of mobile telephone | |
CN109783361A (en) | The method and apparatus for determining code quality | |
CN109324145A (en) | On-line monitoring equipment automatic calibration method and terminal device | |
CN115907391A (en) | Scheduling method and system for electric energy meter verification task | |
CN111008140B (en) | Cross-platform UI (user interface) automatic testing method and device | |
CN115080328A (en) | Board card testing method and system | |
CN112328951B (en) | Processing method of experimental data of analysis sample | |
CN114061646A (en) | Automatic verification equipment for universal instrument and meter | |
CN102340572A (en) | Method and equipment for carrying out black box test on mobile phone mainboard | |
CN105740114A (en) | Fault tolerance test method and apparatus for mobile terminal | |
CN110609225A (en) | PCBA general test platform based on raspberry group | |
CN106855841B (en) | System memory analysis method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |