CN114760223A - Door lock testing method and device, intelligent terminal and computer readable storage medium - Google Patents

Door lock testing method and device, intelligent terminal and computer readable storage medium Download PDF

Info

Publication number
CN114760223A
CN114760223A CN202011565868.8A CN202011565868A CN114760223A CN 114760223 A CN114760223 A CN 114760223A CN 202011565868 A CN202011565868 A CN 202011565868A CN 114760223 A CN114760223 A CN 114760223A
Authority
CN
China
Prior art keywords
door lock
test
target
intelligent door
test result
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.)
Granted
Application number
CN202011565868.8A
Other languages
Chinese (zh)
Other versions
CN114760223B (en
Inventor
王耀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Danbay Technology Co ltd
Original Assignee
Shenzhen Danbay Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Danbay Technology Co ltd filed Critical Shenzhen Danbay Technology Co ltd
Priority to CN202011565868.8A priority Critical patent/CN114760223B/en
Publication of CN114760223A publication Critical patent/CN114760223A/en
Application granted granted Critical
Publication of CN114760223B publication Critical patent/CN114760223B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a door lock testing method, a door lock testing device, an intelligent terminal and a computer readable storage medium, wherein the method comprises the following steps: acquiring a target test program; acquiring a target intelligent door lock; performing an internet of things function test on the target intelligent door lock according to the target test program to obtain a test result; and outputting the test result. According to the scheme, the Internet of things function test is performed on the intelligent door lock based on the target test program, the test result is obtained and output, and therefore the scheme for performing the Internet of things function test on the intelligent door lock before delivery is provided, and testers can know whether the Internet of things function of the intelligent door lock has problems or not according to the test result. Therefore, the intelligent door lock with the abnormal function of the Internet of things is favorably helped by a tester to screen out the intelligent door lock with the abnormal function of the Internet of things, the normal function of the Internet of things of the intelligent door lock leaving the factory is ensured, and the user experience is improved.

Description

Door lock testing method and device, intelligent terminal and computer readable storage medium
Technical Field
The invention relates to the field of locks, in particular to a door lock testing method, a door lock testing device, an intelligent terminal and a computer readable storage medium.
Background
With the progress of science and technology and the improvement of living standard of people, more and more intelligent door locks are applied to life. Particularly, with the continuous advance of the technology of the internet of things, more and more apartments, hotels or families in life choose to use the intelligent door lock based on the internet of things. The intelligent door lock based on the Internet of Things is additionally provided with an Internet of Things module on the basis of the traditional electronic door lock to realize the networking function, and realizes the functions of door lock password synchronization, remote door opening and the like through a network, such as an intelligent Narrow-Band Internet of Things (NB-IOT, Narrow Band Internet of Things) door lock. The thing networking intelligence lock that uses intelligence NB-IOT lock as representative can let the user no longer need unblank with the key, and can look over the state of lock through smart machine such as cell-phone, computer, manages the lock etc. has promoted user experience.
For a production seller of the intelligent door lock of the internet of things, such as a manufacturer, each door lock needs to be tested when the door lock leaves a factory so as to ensure that each function of the door lock is normal. However, in the prior art, only the traditional electronic door lock function test is usually performed on the intelligent door lock of the internet of things, and a scheme for performing the internet of things function test on the door lock is lacked. The problem of prior art lies in, does not carry out thing networking function test to thing networking intelligent lock when leaving the factory, and the thing networking function of unable thing networking intelligent lock is normal, can appear thing networking intelligent lock and can't normally join in marriage the phenomenon that net used after arriving the user scene, very big influence user experience.
Thus, there is still a need for improvement and development of the prior art.
Disclosure of Invention
The invention provides a door lock testing method, a door lock testing device, an intelligent terminal and a computer readable storage medium, which are used for solving the problems that in the prior art, the function test of the Internet of things is not carried out on an Internet of things intelligent door lock when the door lock leaves a factory, the normal function of the Internet of things intelligent door lock cannot be ensured, the network distribution of the Internet of things intelligent door lock cannot be normally carried out after the Internet of things intelligent door lock reaches a user site, and the user experience is influenced.
In order to achieve the above technical effects, a first aspect of the present invention provides a door lock testing method, including:
acquiring a target test program;
acquiring a target intelligent door lock;
performing the function test of the internet of things on the target intelligent door lock according to the target test program to obtain a test result;
and outputting the test result.
A second aspect of the present invention provides a door lock testing apparatus, including:
the target test program acquisition module is used for acquiring a target test program;
the target intelligent door lock acquisition module is used for acquiring a target intelligent door lock;
the testing module is used for carrying out the function test of the Internet of things on the target intelligent door lock according to the target testing program to obtain a testing result;
and the test result output module is used for outputting the test result.
A third aspect of the present invention provides an intelligent terminal, where the intelligent terminal includes a memory, a processor, and a door lock test program stored in the memory and executable on the processor, and the processor implements any one of the door lock test methods when executing the door lock test program.
A fourth aspect of the present invention provides a computer-readable storage medium, where a door lock test program is stored on the computer-readable storage medium, and when being executed by a processor, the door lock test program implements the steps of any one of the door lock test methods.
In the above, the scheme of the invention obtains the target test program; acquiring a target intelligent door lock; performing an internet of things function test on the target intelligent door lock according to the target test program to obtain a test result; and outputting the test result. According to the scheme, the Internet of things function test is performed on the intelligent door lock based on the target test program, the test result is obtained and output, and therefore the scheme for performing the Internet of things function test on the intelligent door lock before delivery is provided, and testers can know whether the Internet of things function of the intelligent door lock has problems or not according to the test result. Therefore, compared with the prior art, the scheme provided by the invention is beneficial to helping testers to screen out the intelligent door lock with abnormal functions of the Internet of things, so that the normal functions of the Internet of things of the intelligent door lock leaving the factory are ensured, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of a door lock testing method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a detailed process of step S200 in FIG. 1 according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a detailed process of step S300 in FIG. 1 according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating the step S301 in FIG. 3 according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating the step S302 in FIG. 3 according to an embodiment of the present invention;
fig. 6 is a schematic diagram illustrating a door lock testing process in an application scenario according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a door lock testing device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of the target intelligent door lock acquiring module 720 in fig. 7 according to an embodiment of the present invention;
fig. 9 is a schematic block diagram of an internal structure of an intelligent terminal according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when …" or "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted depending on the context to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
The technical solutions in the embodiments of the present invention are clearly and completely described below with reference to the drawings of the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced otherwise than as specifically described and similarly intended by those of ordinary skill in the art without departing from the spirit of the present invention, which is not limited to the specific embodiments disclosed below.
At present, the development of the technology of the internet of things tends to be mature, the application is more and more extensive, and more internet of things equipment are emerged. Among them, the intelligent lock based on the internet of things receives wide attention. Because the intelligent door lock based on the Internet of things can enable a user to unlock the door lock without relying on a key, the user can check the state of the door lock and manage the password of the door lock by using intelligent equipment such as a mobile phone, a computer and the like at any time and any place in a network environment, the life quality of the user is improved, and a lot of convenience is brought to the user. Currently, more and more apartments, hotels or families choose to use smart door locks based on the internet of things. The intelligent NB-IOT door lock is widely applied to the intelligent door lock based on the Internet of things. The narrowband Internet of Things (NB-IOT, Narrow Band Internet of Things) is an important branch of the world wide Internet. The NB-IOT is constructed in a cellular network, only consumes about 180kHz bandwidth, and can be directly deployed in a GSM network, a UMTS network or an LTE network so as to reduce the deployment cost and realize smooth upgrade, so that the NB-IOT is widely applied.
For a production seller of the internet-of-things intelligent door lock, such as a manufacturer, the instruction of an intelligent NB-IOT door lock which leaves a factory is required to be guaranteed to reach the standard, and whether the door lock is normal or not is confirmed when the intelligent NB-IOT door lock leaves the factory so as to avoid the situation that the distribution network cannot be normally used after the door lock reaches a client site, and unnecessary problems and losses (such as transportation loss caused by goods return and exchange) are caused. However, in the prior art, only the traditional electronic door lock function test is performed on the intelligent door lock of the internet of things, and a scheme for performing the internet of things function test on the door lock is lacked. The problem of prior art lies in, does not carry out thing networking function test to thing networking intelligent lock when leaving the factory, and the thing networking function of unable thing networking intelligent lock is normal, can appear thing networking intelligent lock and can't normally join in marriage the phenomenon that net used after arriving the user scene, very big influence user experience. Therefore, there is a need for a better door lock testing method.
In order to solve the problems in the prior art, the invention provides a door lock testing method, in the embodiment of the invention, a target testing program is obtained; acquiring a target intelligent door lock; performing an internet of things function test on the target intelligent door lock according to the target test program to obtain a test result; and outputting the test result. According to the scheme, the Internet of things function test is performed on the intelligent door lock based on the target test program, the test result is obtained and output, and therefore the scheme for performing the Internet of things function test on the intelligent door lock before delivery is provided, and testers can know whether the Internet of things function of the intelligent door lock has problems or not according to the test result. Therefore, compared with the prior art, the scheme provided by the invention is beneficial to helping testers to screen out the intelligent door lock with abnormal functions of the Internet of things, so that the normal functions of the Internet of things of the intelligent door lock leaving the factory are ensured, and the user experience is improved. Meanwhile, the intelligent door lock can be normally used after reaching a user site, and cost loss caused by abnormity of the intelligent door lock is avoided.
Exemplary method
As shown in fig. 1, an embodiment of the present invention provides a door lock testing method, where the method includes the following steps:
and S100, the intelligent terminal acquires a target test program.
The target test program is a preset program for testing the functions of the intelligent door lock in the internet of things. Alternatively, the target test program may be a separate program, or may be an applet or a plug-in (i.e., as a part of other software or program) depending on other software or program, and is not limited herein. In this embodiment, a production test applet is taken as an example for explanation. This production test applet matches with the intelligent lock that needs the test, can be connected to above-mentioned intelligent lock and test through high in the clouds and bluetooth. Specifically, the production test applet may be designed or adjusted based on a bluetooth SDK provided by the manufacturer that corresponds to the smart door lock. In this embodiment, the intelligent terminal tests the intelligent door lock based on the door lock testing method, and optionally, the method may also be executed by other testing subjects, such as a device for testing the door lock, and the like, which is not specifically limited herein.
And step S200, the intelligent terminal acquires the target intelligent door lock.
The target intelligent door lock is an intelligent door lock based on the Internet of things, and the function test of the Internet of things is required. In this embodiment, an intelligent NB-IOT door lock is taken as an example for specific description, and in an actual application scenario, the target intelligent door lock may also be an internet of things intelligent door lock of other types, which is not specifically limited herein.
And S300, the intelligent terminal performs Internet of things function test on the target intelligent door lock according to the target test program to obtain a test result.
And S400, outputting the test result by the intelligent terminal.
Optionally, the above-mentioned test of internet of things function can include the test of functions such as lock bluetooth connection, bluetooth acquisition information, bluetooth operation password, password open the door, join in marriage long-range opening the door after the net, can adjust according to actual demand and the actual function of above-mentioned target intelligence lock, does not do specifically and prescribes a limit here.
In this embodiment, the production test applet that can be used to carry out the internet of things function to the target intelligent door lock is obtained based on the design or adjustment of the bluetooth SDK corresponding to the intelligent door lock provided by the manufacturer, and the development cost can be reduced. The target intelligent door lock is tested through the production testing small program, and meanwhile, the operation of a tester is facilitated. The test result is output after the test result is obtained, so that the intelligent door lock with the abnormal function of the Internet of things can be conveniently screened out by a tester, the normal function of the Internet of things of the intelligent door lock leaving the factory is ensured, and the user experience is improved. Meanwhile, the intelligent door lock can be normally used after reaching a user site, and cost loss caused by abnormity of the intelligent door lock is avoided.
Optionally, the outputting the test result may include visually outputting the test result or broadcasting the abnormal target intelligent door lock by voice, and other output modes may also be provided, which are not specifically limited herein. In this embodiment, the tester may manually record to output the test result, or may record and output the test result through other auxiliary devices (e.g., a computer). Meanwhile, the test result can be directly output through the target test program, if the internet of things function of the corresponding target intelligent door lock is directly displayed on the production test applet to be abnormal, the test result can also be output through other display equipment or voice broadcast equipment and the like which are in communication connection with the target test program, and specific limitation is not made herein.
As can be seen from the above, the door lock testing method provided by the embodiment of the invention obtains a target testing program; acquiring a target intelligent door lock; performing the function test of the internet of things on the target intelligent door lock according to the target test program to obtain a test result; and outputting the test result. According to the scheme, the Internet of things function test is performed on the intelligent door lock based on the target test program, the test result is obtained and output, and therefore the scheme for performing the Internet of things function test on the intelligent door lock before delivery is provided, and testers can know whether the Internet of things function of the intelligent door lock has problems or not according to the test result. Therefore, compared with the prior art, the scheme provided by the invention is beneficial to helping testers to screen out the intelligent door lock with abnormal functions of the Internet of things, so that the normal functions of the Internet of things of the intelligent door lock leaving the factory are ensured, and the user experience is improved. Meanwhile, the intelligent door lock can be normally used after reaching a user site, and cost loss caused by abnormity of the intelligent door lock is avoided.
Optionally, as shown in fig. 2, in this embodiment, the step S200 includes:
step S201, the intelligent terminal obtains a test batch.
And step S202, the intelligent terminal acquires the target intelligent door lock according to the test batch.
The test batch may be determined according to the factory time, the manufacturing time, or the test time of the target intelligent door lock, and other determination manners may also be used, which are not specifically limited herein. In this embodiment, the test batches are obtained based on the test time, and further, the test batches may be obtained based on the date of the test and the number of batches of the test performed together on the same day. For example, if there are three tests in a total of 11/20/2020, the test lot corresponding to the first test is "20201120 first lot". Further, when a corresponding test batch is not obtained, a test batch may be created based on the target test program, for example, a "20201120 first batch" may be created based on a production test applet.
And after the test batch is obtained, obtaining the corresponding target intelligent door lock according to the test batch. For example, when the test batch is "20201120 first batch", all the intelligent door locks that need to be tested in the first batch at 11/20/2020 are obtained as target intelligent door locks. Optionally, the test batch may be added to the target test program, and the target intelligent door lock is associated with the test batch in the target test program, for example, each target intelligent door lock is added under the corresponding "20201120 first batch", so that a tester can conveniently search and obtain the test result of each target intelligent door lock, and perform statistical analysis on the test result of each batch. The target intelligent door locks can be identified and recorded through the unique identification codes.
In this embodiment, before the step S300, the door lock testing method further includes: and the intelligent terminal controls the target intelligent door lock to enter a configurable mode. For an intelligent door lock with a configurable mode, a typical manufacturer provides a method for entering the configurable mode of the corresponding intelligent door lock, for example, pressing a button to open the configurable mode. And controlling the target intelligent door lock to enter the configurable mode based on the corresponding method for entering the configurable mode so as to further perform configuration and test.
Specifically, as shown in fig. 3, in this embodiment, the step S300 includes:
and S301, the intelligent terminal controls the Bluetooth to be connected with the target intelligent door lock based on the target test program and obtains a Bluetooth test result.
And S302, adding a password to the target intelligent door lock by the intelligent terminal based on the target test program, performing a door opening test based on the password, and acquiring a password door opening test result.
And step S303, the intelligent terminal performs cloud remote door opening test on the target intelligent door lock based on the target test program and acquires a cloud remote door opening test result.
And step S304, the intelligent terminal obtains the test result according to the Bluetooth test result, the password door opening test result and the cloud remote door opening test result.
In this embodiment, the thing networking functional test to above-mentioned target intelligence lock includes that bluetooth functional test, password open the door functional test and the long-range functional test that opens the door in high in the clouds, and in-service use can also adjust based on the actual function and the actual test demand of above-mentioned target intelligence lock, does not do specific limit here.
In this embodiment, after the respective tests, the test results are obtained according to the bluetooth test result, the password door opening test result, and the cloud remote door opening test result, and the test results may specifically indicate which function is normal or abnormal, so that a tester may check and classify an abnormal door lock. For example, the above test result may be "the bluetooth function is normal, the password door opening function is normal, and the cloud remote door opening function is abnormal".
Specifically, as shown in fig. 4, in this embodiment, the step S301 includes:
and S3011, the intelligent terminal controls the Bluetooth to be connected with the target intelligent door lock based on the target test program.
And S3012, when the Bluetooth is successfully connected with the target intelligent door lock, the intelligent terminal acquires basic information of the target intelligent door lock based on the Bluetooth.
And S3013, when the basic information of the target intelligent door lock is successfully acquired, the intelligent terminal takes the normal Bluetooth function as the Bluetooth test result.
Specifically, the bluetooth function includes bluetooth connection and obtains the basic information of the intelligent door lock based on bluetooth. Therefore, in this embodiment, the target intelligent door lock can be connected by using the bluetooth, the basic information of the intelligent door lock is acquired and displayed when the connection is successful, and if the basic information is acquired successfully, the bluetooth function is normal. The basic information may include a name, a model, a remaining power, and the like of the intelligent door lock, and is not specifically limited herein.
Specifically, as shown in fig. 5, in this embodiment, the step S302 includes:
and step S3021, adding an administrator password to the target intelligent door lock by the intelligent terminal based on the target test program, performing a door opening test based on the administrator password, and obtaining an administrator password door opening test result.
And S3022, adding a housekeeper password to the target intelligent door lock by the intelligent terminal based on the target test program, performing a door opening test based on the housekeeper password, and acquiring a door opening test result of the housekeeper password.
And step S3023, the intelligent terminal obtains the password door opening test result based on the administrator password door opening test result and the housekeeper password door opening test result.
The manager password is a password with all control authorities of the intelligent door lock, the housekeeper password is a password with partial control authorities of the intelligent door lock, and the control authorities of the housekeeper password can be preset and adjusted.
Specifically, after the administrator password is added, a corresponding administrator password addition result may be obtained, and whether the administrator password is successfully added is determined. And when the addition is successful, further performing a door opening test based on the administrator password, acquiring an administrator password door opening test result, and judging whether the administrator password can be successfully opened. The administrator password door opening test result may reflect whether the administrator password addition is successful or not and whether the administrator password door opening is successful or not, for example, the administrator password door opening test result may be "administrator password addition fails" or "administrator password addition is successful and administrator password door opening fails". The process of performing the door opening test based on the housekeeper password may be similar to the process of performing the door opening test based on the administrator password, and is not described herein again.
Optionally, a visitor password, a one-time password and the like may be added, and a door opening test is performed based on the visitor password and the one-time password, which is not described herein again, where the visitor password may be a password that defines a use period and a number of uses.
Specifically, the embodiment of the invention further describes the door lock testing method based on a specific application scenario. Fig. 6 is a schematic diagram of a door lock testing process in a specific application scenario provided in an embodiment of the present invention, and as shown in fig. 6, in this embodiment, a door lock is tested based on a production test applet. And creating a corresponding production test batch (namely a test batch) in the corresponding production test applet and sending the corresponding production test batch to the cloud, and returning a creation result by the cloud. And after the door lock is successfully created, the door lock is controlled to enter a configurable mode by pressing a distribution network key corresponding to the door lock. Furthermore, the Bluetooth is used for connecting the door lock, and the door lock is triggered to return basic information after the connection is successful, so that the basic information of the door lock is acquired and displayed. And after the connection is successful, the corresponding door lock is added, the cloud end is triggered to return an adding result, and after the addition is successful, the details of the door lock can be checked. Wherein, the above-mentioned precedence order of using bluetooth to connect the lock and adding the lock is not fixed, can adjust according to actual demand, does not do specific restriction here. Further, an administrator password and a housekeeper password are added to the door lock through the production testing applet, the door lock is triggered to return an adding result, when the adding is successful, a door opening test is carried out based on the administrator password and the housekeeper password respectively, and a corresponding door opening result is returned. Furthermore, the cloud is called to open the door through the production testing applet, for example, an NB door opening button is clicked, a door opening instruction is issued to the door lock through the cloud, a door opening result is obtained, and the door opening result is returned to the production testing program through the cloud, so that the cloud door opening test is completed.
Exemplary device
As shown in fig. 7, corresponding to the door lock testing method, an embodiment of the present invention further provides a door lock testing apparatus, where the door lock testing apparatus includes:
and an object test program obtaining module 710, configured to obtain the object test program.
The target test program is a preset program for testing the function of the internet of things of the intelligent door lock. Alternatively, the target test program may be a separate program, or may be an applet or a plug-in (i.e. as a part of other software or program) depending on other software or program, which is not limited herein. In this embodiment, a production test applet is taken as an example for explanation. This production test applet matches with the intelligent lock that needs the test, can be connected to above-mentioned intelligent lock and test through high in the clouds and bluetooth. Specifically, the production test applet may be designed or adjusted based on a bluetooth SDK provided by the manufacturer that corresponds to the smart door lock.
And a target intelligent door lock acquisition module 720, configured to acquire the target intelligent door lock.
The target intelligent door lock is an intelligent door lock based on the Internet of things and needing the function test of the Internet of things. In this embodiment, an intelligent NB-IOT door lock is taken as an example for specific description, and in an actual application scenario, the target intelligent door lock may also be an internet of things intelligent door lock of other types, which is not specifically limited herein.
And the test module 730 is used for performing the internet of things function test on the target intelligent door lock according to the target test program to obtain a test result.
And a test result output module 740 for outputting the test result.
Optionally, the above-mentioned test of internet of things function can include the test of functions such as lock bluetooth connection, bluetooth acquisition information, bluetooth operation password, password open the door, join in marriage long-range opening the door after the net, can adjust according to actual demand and the actual function of above-mentioned target intelligence lock, does not do specifically and prescribes a limit here.
In this embodiment, the production test applet that can be used to carry out the internet of things function to the target intelligent door lock is obtained based on the design or adjustment of the bluetooth SDK corresponding to the intelligent door lock provided by the manufacturer, and the development cost can be reduced. The target intelligent door lock is tested through the production testing small program, and meanwhile, the operation of a tester is facilitated. The test result is output after the test result is obtained, so that the intelligent door lock with the abnormal function of the Internet of things can be conveniently screened out by a tester, the normal function of the Internet of things of the intelligent door lock leaving the factory is ensured, and the user experience is improved. Meanwhile, the intelligent door lock can be normally used after reaching a user site, and cost loss caused by abnormity of the intelligent door lock is avoided.
Optionally, the outputting the test result may include visually outputting the test result or broadcasting the abnormal target intelligent door lock by voice, and other output modes may also be provided, which are not specifically limited herein. Meanwhile, the test result can be directly output through the target test program, if the internet of things function of the corresponding target intelligent door lock is directly displayed on the production test applet to be abnormal, the test result can also be output through other display equipment or voice broadcast equipment and the like which are in communication connection with the target test program, and specific limitation is not made herein.
As can be seen from the above, the door lock testing apparatus provided in the embodiment of the present invention obtains the target test program through the target test program obtaining module 710; acquiring a target intelligent door lock through a target intelligent door lock acquisition module 720; performing an internet of things function test on the target intelligent door lock through the test module 730 according to the target test program to obtain a test result; the test result is output through the test result output module 740. According to the scheme, the Internet of things function test is performed on the intelligent door lock based on the target test program, the test result is obtained and output, and therefore the device for performing the Internet of things function test on the intelligent door lock before delivery is provided, and a tester can know whether the Internet of things function of the intelligent door lock has a problem or not according to the test result. Therefore, compared with the prior art, the scheme provided by the invention is beneficial to helping testers to screen out the intelligent door lock with abnormal functions of the Internet of things, so that the normal functions of the Internet of things of the intelligent door lock leaving the factory are ensured, and the user experience is improved. Meanwhile, the intelligent door lock can be normally used after reaching a user site, and cost loss caused by abnormity of the intelligent door lock is avoided.
Optionally, as shown in fig. 8, in this embodiment, the target intelligent door lock acquiring module 720 includes:
the test lot acquiring unit 721 acquires a test lot.
And a target intelligent door lock obtaining unit 722, configured to obtain the target intelligent door lock according to the test batch.
The test batch may be determined according to the factory time, the manufacturing time, or the test time of the target intelligent door lock, and other determination manners may also be used, which are not specifically limited herein. In this embodiment, the test batches are obtained based on the test time, and further, the test batches may be obtained based on the date of the test and the number of batches of the test performed together on the same day. For example, if there are three tests in 20 days 11/2020, the test lot corresponding to the first test is "20201120 first lot". Further, when a corresponding test batch is not obtained, a test batch may be created based on the target test program, for example, a "20201120 first batch" may be created based on a production test applet.
And after the test batch is obtained, obtaining the corresponding target intelligent door lock according to the test batch. For example, when the test batch is "20201120 first batch", all the intelligent door locks that need to be tested in the first batch at 11/20/2020 are obtained as target intelligent door locks. Optionally, the test batch may be added to the target test program, and the target intelligent door lock is associated with the test batch in the target test program, for example, each target intelligent door lock is added under the corresponding "20201120 first batch", so that a tester can conveniently search and obtain the test result of each target intelligent door lock, and perform statistical analysis on the test result of each batch. The target intelligent door locks can be identified and recorded through the unique identification codes.
In this embodiment, the door lock testing device is further configured to: and controlling the target intelligent door lock to enter a configurable mode. For an intelligent door lock with a configurable mode, a typical manufacturer provides a method for entering the configurable mode of the corresponding intelligent door lock, for example, pressing a button to open the configurable mode. And controlling the target intelligent door lock to enter the configurable mode based on the corresponding method for entering the configurable mode so as to further perform configuration and test.
Optionally, the door lock testing module 730 is specifically configured to: controlling Bluetooth to connect the target intelligent door lock based on the target test program, and acquiring a Bluetooth test result; adding a password to the target intelligent door lock based on the target test program, performing a door opening test based on the password, and acquiring a password door opening test result; performing a cloud remote door opening test on the target intelligent door lock based on the target test program, and acquiring a cloud remote door opening test result; and obtaining the test result according to the Bluetooth test result, the password door opening test result and the cloud remote door opening test result.
In this embodiment, the thing networking functional test to above-mentioned target intelligence lock includes that bluetooth functional test, password open the door functional test and the long-range functional test that opens the door in high in the clouds, and in-service use can also adjust based on the actual function and the actual test demand of above-mentioned target intelligence lock, does not do specific limit here.
In this embodiment, after the respective tests, the test results are obtained according to the bluetooth test result, the password door opening test result, and the cloud remote door opening test result, and the test results may specifically indicate which function is normal or abnormal, so that a tester may check and classify an abnormal door lock. For example, the above test result may be "the bluetooth function is normal, the password door opening function is normal, and the cloud remote door opening function is abnormal".
Further, in this embodiment, the test module 730 is specifically configured to: controlling Bluetooth to be connected with the target intelligent door lock based on the target test program; when the Bluetooth is successfully connected with the target intelligent door lock, acquiring basic information of the target intelligent door lock based on the Bluetooth; and when the basic information of the target intelligent door lock is successfully acquired, normally taking the Bluetooth function as the Bluetooth test result.
Specifically, the bluetooth function includes bluetooth connection and obtains the basic information of the intelligent door lock based on bluetooth. Therefore, in the embodiment, the target intelligent door lock can be connected by using the Bluetooth, the basic information of the intelligent door lock is acquired and displayed when the connection is successful, and the Bluetooth function is normal if the basic information is acquired successfully. The basic information may include a name, a model, a remaining power, and the like of the intelligent door lock, which is not specifically limited herein.
Further, in this embodiment, the test module 730 is specifically configured to: adding an administrator password to the target intelligent door lock based on the target test program, performing a door opening test based on the administrator password, and obtaining an administrator password door opening test result; adding a housekeeper password to the target intelligent door lock based on the target test program, performing a door opening test based on the housekeeper password, and obtaining a housekeeper password door opening test result; and acquiring the password door opening test result based on the administrator password door opening test result and the housekeeper password door opening test result.
Specifically, after the administrator password is added, a corresponding administrator password addition result may be obtained, and whether the administrator password is successfully added is determined. And when the addition is successful, further performing a door opening test based on the administrator password, acquiring an administrator password door opening test result, and judging whether the administrator password can be successfully opened. The administrator password door opening test result may reflect whether the administrator password addition is successful or not and whether the administrator password door opening is successful or not, for example, the administrator password door opening test result may be "administrator password addition fails" or "administrator password addition is successful and administrator password door opening fails". The process of performing the door opening test based on the housekeeper password may be similar to the process of performing the door opening test based on the administrator password, and is not described herein again.
Optionally, a visitor password, a one-time password and the like may be added, and a door opening test is performed based on the visitor password and the one-time password, which is not described herein again, where the visitor password may be a password that defines a use period and a number of uses.
Based on the above embodiment, the present invention further provides an intelligent terminal, and a schematic block diagram thereof may be as shown in fig. 9. The intelligent terminal comprises a processor, a memory, a network interface and a display screen which are connected through a system bus. Wherein, the processor of the intelligent terminal is used for providing calculation and control capability. The memory of the intelligent terminal comprises a nonvolatile storage medium and an internal memory. The nonvolatile storage medium stores an operating system and a door lock test program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the intelligent terminal is used for being connected and communicated with an external terminal through a network. The door lock test program realizes the steps of any one of the door lock test methods when being executed by the processor. The display screen of the intelligent terminal can be a liquid crystal display screen or an electronic ink display screen.
It will be understood by those skilled in the art that the block diagram of fig. 9 is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation to the intelligent terminal to which the solution of the present invention is applied, and a specific intelligent terminal may include more or less components than those shown in the figure, or combine some components, or have different arrangements of components.
In one embodiment, an intelligent terminal is provided, where the intelligent terminal includes a memory, a processor, and a door lock test program stored in the memory and executable on the processor, and the processor executes the following operation instructions when executing the door lock test program:
acquiring a target test program;
acquiring a target intelligent door lock;
performing an internet of things function test on the target intelligent door lock according to the target test program to obtain a test result;
and outputting the test result.
The embodiment of the present invention further provides a computer-readable storage medium, where a door lock test program is stored on the computer-readable storage medium, and when the door lock test program is executed by a processor, the steps of any one of the door lock test methods provided in the embodiments of the present invention are implemented.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to implement all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the description of each embodiment has its own emphasis, and reference may be made to the related description of other embodiments for parts that are not described or recited in any embodiment.
Those of ordinary skill in the art would appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the above modules or units is only one logical division, and the actual implementation may be implemented by another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed.
The integrated modules/units described above, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium and can implement the steps of the embodiments of the method when the computer program is executed by a processor. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate form. The computer readable medium may include: any entity or device capable of carrying the above-mentioned computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, software distribution medium, etc. It should be noted that the contents contained in the computer-readable storage medium can be increased or decreased as required by legislation and patent practice in the jurisdiction.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art; the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein.

Claims (10)

1. A method of testing a door lock, comprising:
acquiring a target test program;
acquiring a target intelligent door lock;
performing Internet of things function test on the target intelligent door lock according to the target test program to obtain a test result;
and outputting the test result.
2. The method of claim 1, wherein obtaining the target smart door lock comprises:
obtaining a test batch;
and acquiring the target intelligent door lock according to the test batch.
3. The method according to claim 1 or 2, wherein before the target smart door lock is subjected to the internet of things function test according to the target test program to obtain a test result, the method further comprises:
and controlling the target intelligent door lock to enter a configurable mode.
4. The method according to claim 3, wherein the performing the function test of the internet of things on the target intelligent door lock according to the target test program to obtain a test result comprises:
controlling Bluetooth to connect the target intelligent door lock based on the target test program, and acquiring a Bluetooth test result;
adding a password to the target intelligent door lock based on the target test program, performing a door opening test based on the password, and acquiring a password door opening test result;
performing cloud remote door opening test on the target intelligent door lock based on the target test program, and acquiring a cloud remote door opening test result;
and obtaining the test result according to the Bluetooth test result, the password door opening test result and the cloud remote door opening test result.
5. The method according to claim 4, wherein the controlling the Bluetooth to connect to the target smart door lock based on the target test program and obtaining the Bluetooth test result comprises:
controlling Bluetooth to connect the target intelligent door lock based on the target test program;
when the Bluetooth is successfully connected with the target intelligent door lock, acquiring basic information of the target intelligent door lock based on the Bluetooth;
and when the basic information of the target intelligent door lock is successfully acquired, normally taking the Bluetooth function as the Bluetooth test result.
6. The method of claim 4, wherein the adding a password to the target smart door lock based on the target test program, performing a door opening test based on the password, and obtaining a password door opening test result comprises:
adding an administrator password to the target intelligent door lock based on the target test program, performing a door opening test based on the administrator password, and obtaining an administrator password door opening test result;
adding a housekeeper password to the target intelligent door lock based on the target test program, performing a door opening test based on the housekeeper password, and obtaining a housekeeper password door opening test result;
and acquiring the password door opening test result based on the administrator password door opening test result and the housekeeper password door opening test result.
7. A door lock testing device, comprising:
the target test program acquisition module is used for acquiring a target test program;
the target intelligent door lock acquisition module is used for acquiring a target intelligent door lock;
the testing module is used for carrying out the function test of the Internet of things on the target intelligent door lock according to the target testing program to obtain a testing result;
and the test result output module is used for outputting the test result.
8. The apparatus of claim 7, wherein the target smart door lock acquisition module comprises:
a test batch acquisition unit for acquiring a test batch;
and the target intelligent door lock acquisition unit is used for acquiring the target intelligent door lock according to the test batch.
9. An intelligent terminal, characterized in that the intelligent terminal comprises a memory, a processor and a door lock test program stored in the memory and operable on the processor, and the processor executes the door lock test program to implement the steps of the method according to any one of claims 1 to 6.
10. A computer-readable storage medium, having a door lock test program stored thereon, which, when executed by a processor, performs the steps of the method of any one of claims 1-6.
CN202011565868.8A 2020-12-25 2020-12-25 Door lock testing method and device, intelligent terminal and computer readable storage medium Active CN114760223B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011565868.8A CN114760223B (en) 2020-12-25 2020-12-25 Door lock testing method and device, intelligent terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011565868.8A CN114760223B (en) 2020-12-25 2020-12-25 Door lock testing method and device, intelligent terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114760223A true CN114760223A (en) 2022-07-15
CN114760223B CN114760223B (en) 2024-02-06

Family

ID=82324441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011565868.8A Active CN114760223B (en) 2020-12-25 2020-12-25 Door lock testing method and device, intelligent terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114760223B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115856483A (en) * 2023-02-03 2023-03-28 云丁网络技术(北京)有限公司 Fault diagnosis method and device of intelligent door lock, electronic equipment and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020132381A1 (en) * 2001-03-16 2002-09-19 Tomohiro Taira Fabrication method of semiconductor integrated circuit device and testing method
CN104317704A (en) * 2014-09-30 2015-01-28 中国电子科技集团公司第四十一研究所 Measuring software integration method for production line automatic test system
WO2017024743A1 (en) * 2015-08-10 2017-02-16 张泽 Electronic lock test apparatus and system
CN107103664A (en) * 2016-12-27 2017-08-29 上海多灵建筑科技有限公司 Wide area Internet of Things intelligent door lock system and its control method
CN107316359A (en) * 2017-06-22 2017-11-03 深圳旦倍科技有限公司 Intelligent door lock test system and method
CN107483254A (en) * 2017-08-23 2017-12-15 绵阳美菱软件技术有限公司 A kind of production test method and device of Internet of Things intelligent object
CN109269781A (en) * 2018-08-22 2019-01-25 黎庆佳 A kind of stability test device of the household Fingerprint Lock with remote operation function
CN109886709A (en) * 2019-02-22 2019-06-14 福州昌宇五金锁具制品有限公司 A kind of intelligence lock management method, system, computer equipment and storage medium
CN110907206A (en) * 2019-11-07 2020-03-24 珠海格力智能装备有限公司 Intelligent door lock testing device
CN111679652A (en) * 2020-06-11 2020-09-18 深圳创维-Rgb电子有限公司 Test method and device based on smart screen, smart screen and readable storage medium
CN111798594A (en) * 2020-06-30 2020-10-20 德施曼机电(中国)有限公司 Intelligent door lock and unlocking control method and storage medium thereof

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020132381A1 (en) * 2001-03-16 2002-09-19 Tomohiro Taira Fabrication method of semiconductor integrated circuit device and testing method
CN104317704A (en) * 2014-09-30 2015-01-28 中国电子科技集团公司第四十一研究所 Measuring software integration method for production line automatic test system
WO2017024743A1 (en) * 2015-08-10 2017-02-16 张泽 Electronic lock test apparatus and system
CN107103664A (en) * 2016-12-27 2017-08-29 上海多灵建筑科技有限公司 Wide area Internet of Things intelligent door lock system and its control method
CN107316359A (en) * 2017-06-22 2017-11-03 深圳旦倍科技有限公司 Intelligent door lock test system and method
CN107483254A (en) * 2017-08-23 2017-12-15 绵阳美菱软件技术有限公司 A kind of production test method and device of Internet of Things intelligent object
CN109269781A (en) * 2018-08-22 2019-01-25 黎庆佳 A kind of stability test device of the household Fingerprint Lock with remote operation function
CN109886709A (en) * 2019-02-22 2019-06-14 福州昌宇五金锁具制品有限公司 A kind of intelligence lock management method, system, computer equipment and storage medium
CN110907206A (en) * 2019-11-07 2020-03-24 珠海格力智能装备有限公司 Intelligent door lock testing device
CN111679652A (en) * 2020-06-11 2020-09-18 深圳创维-Rgb电子有限公司 Test method and device based on smart screen, smart screen and readable storage medium
CN111798594A (en) * 2020-06-30 2020-10-20 德施曼机电(中国)有限公司 Intelligent door lock and unlocking control method and storage medium thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
DAN-LOAN GOTA,ETAL: "smart home automation system using Arduino microcontrollers", 《2020 IEEE INTERNATIONAL CONFERENCE ON AUTOMATION,QUALITY AND TESTING,ROBOTICS(AQTR)》 *
张天奇,等: "基于窄带物联网的智能门禁锁的设计与实现", 《南通大学学报(自然科学版)》, vol. 19, no. 02 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115856483A (en) * 2023-02-03 2023-03-28 云丁网络技术(北京)有限公司 Fault diagnosis method and device of intelligent door lock, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114760223B (en) 2024-02-06

Similar Documents

Publication Publication Date Title
US8676256B2 (en) System and method for user profiling from gathering user data through interaction with a wireless communication device
CN104091376B (en) Intelligent lock control method and apparatus thereof
CN108399132A (en) A kind of scheduling tests method, apparatus and storage medium
CN105577879B (en) A kind of book management method and mobile terminal
CN104965778A (en) Method and device for game test
CN110493812A (en) Processing method, device, system, processor and the main control device of distribution test
CN105988925A (en) Method, device and system for testing start-up time of application program
CN106093635A (en) Mobile terminal ageing testing method, Apparatus and system
CN114760223A (en) Door lock testing method and device, intelligent terminal and computer readable storage medium
CN106201852A (en) A kind of distributed test method and test system
CN107548083A (en) WAP function test method and equipment
CN109815121B (en) Interface automation test case generation method and related equipment
CN116015881B (en) Penetration test method, device, equipment and storage medium
CN105630503B (en) A kind of application and development mobile device choosing method based on user operation records
CN109471916A (en) Weather forecast generation method and device
CN107222633A (en) A kind of sales statistics method of testing, device, terminal
CA3080563A1 (en) Test instrument for software communications architecture device testing
CN113312254A (en) Kernel code testing method and device, storage medium and processor
CN106405430B (en) Lithium ion battery on-line detection conversion control equipment, system and method
CN109559013A (en) Method for testing risk and device, electronic equipment and readable storage medium storing program for executing based on trivial games
CN109842684A (en) Measure control method, apparatus and system
CN114866603B (en) Information pushing method and device, electronic equipment and storage medium
CN111400147B (en) Service quality testing method, device and system
CN111858316A (en) Scene publishing method and device, storage medium and electronic device
CN113486329B (en) Unlocking method and device for evaluation supervision task

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
GR01 Patent grant
GR01 Patent grant