1. Field of the Invention
The present invention relates to an electric lock and a method for adding a user of the same. More particularly, the present invention relates to an electric lock which does not need a manager to operate in person for adding a new user and a method for adding the new user of the same.
2. Description of the Prior Art
In convention, when an electric lock needs to add a user, a manager of the electric lock has to establish a connection between a portable device thereof and the electric lock, and the manager inputs a manager password via the portable device to enter the electric lock for adding the information related to the user. Afterwards, the electric lock stores a MAC address of a portable device of the user, so that the portable device of the user is allowed to unlock the electric lock. In other words, when setting the electric lock, the portable devices of the manager and the user must be in front of the electric lock at the same time, which results in inconvenience in management for the manager.
A purpose of the present invention is to provide an electric lock and a method for adding a user of the electric lock for solving above drawbacks.
According to an embodiment of the present invention, a method for adding a user of an electric lock includes receiving a temporary code; establishing a connection between a portable device of the user and the electric lock; inputting and transmitting the temporary code to the electric lock via the portable device; the electric lock determining if the temporary code matches a default password; inputting a user information of the portable device via the portable device when the temporary code matches the default password; and storing the user information in the electric lock, so that the portable device is allowed to drive the electric lock to perform an action.
According to an embodiment of the present invention, an electric lock, when establishing a connection with a portable device of a user being added, being configured to receive a temporary code transmitted from the portable device; determine if the temporary code matches a default password; receive a user information of the portable device inputted via the portable device when the temporary code matches the default password; and store the user information, so that the portable device is allowed to drive the electric lock to perform an action.
According to the aforementioned embodiments, the user who is desired/needed to be added as a new user of the electric lock can add himself/herself as the new user of the electric lock via the user's own portable device, and it does not require the manager to operate in person at the same time. Accordingly, the convenience for managing the electric lock can be enhanced.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Please refer to
Please refer to
According to an example of the present disclosure, the default password (temporary code) can be a manager password for entering a manager mode of the electric lock 100, i.e., the manager can notify the user the manager password and use the manager password as the temporary code. Please refer to
Please refer to
According to another example of the present disclosure, the default password (temporary code) can be an authentication code for entering a user mode of the electric lock 100. The manager can use the electric lock 100 to generate the authentication code in advance. For example, the manager can enter the manager mode of the electric lock 100 via a portable device of the manager, and select the item of “Generating Authentication Code” (shown in
Please refer to
The items and the layouts of the aforementioned interfaces of manager mode, add user and user mode are only exemplary and can be adjusted accordingly to practical needs, and the present invention is not limited thereto. The manager can further set the valid time of the temporary code. When the time inputting the temporary code exceeds the valid time, the processing unit 140 of the electric lock 100 controls the wireless module 110 to stop the connection with the portable device 200, so that the user is not allow to input the user information of the portable device 200 via the portable device 200, and thus is not allowed to add himself/herself as the user of the electric lock 100. Specifically, when the user information is not stored in the storage unit 120 of the electric lock 100 within a predetermined time (i.e., within the valid time), the processing unit 140 of the electric lock 100 controls the wireless module 110 of the electric lock 100 to stop the connection with the portable device 200. The user information not being stored in the storage unit 120 of the electric lock 100 includes the processing unit 140 of the electric lock 100 determining that the time inputting the temporary code exceeds the valid time, or the processing unit 140 of the electric lock 100 determining that the temporary code does not match the default password or the user does not input and transmit the temporary code to the electric lock 100 via the portable device 200 (for example, the portable device 200 is idle for a period of time, i.e., the user does not perform the input to the portable device 200).
With the valid time of the temporary code, the manager only allow other people to add user of the electric lock 100 in a predetermined time, which can ensure the safety of the electric lock 100. Furthermore, when the temporary code is the manager code, the storage unit 120 can store the unique identification information of the portable device of the manager in advance for preventing the manager cannot enter the manager mode with the manager password when exceeding the valid time. As such, the manager can enter the manager mode of the electric lock 100 with the unique identification information of the portable device thereof, and can select the item of “Setting” so as to enter an interface of setting (not shown) to set a new manager password.
The connection between the portable device 200 and the electric lock 100 can be through a wireless personal area network (WPAN), such as Bluetooth module. That is, the connection between the portable device 200 and the electric lock 100 is point to point, and thus does not need the wireless local area network (WLAN). As such, the electric lock 100 can be operated in an environment without the wireless local area network, which can reduce the standard for the operation environment of the electric lock 100.
When the user information is stored in the electric lock 100, the electric lock 100 can further receive and store a unique identification information of the portable device 200. Therefore, when the connection between the portable device 200 and the electric lock 100 is established, the electric lock 100 can determine if the portable device 200 is allowed to drive the electric lock 100 to perform an action by the unique identification information of the portable device 200. Accordingly, the user needs not to input the user information via the application program AP, which can significantly enhance the convenience. The unique identification information can be a universally unique identifier (UUID).
Please refer to
In Step 910, a temporary code is received.
In Step 920, a connection is established between a portable device of the user and the electric lock.
In Step 930, the temporary code is inputted and transmitted to the electric lock via the portable device.
In Step 940, the electric lock determines if the temporary code matches a default password.
In Step 950, a user information of the portable device is inputted via the portable device when the temporary code matches the default password.
In Step 960, the user information is stored in the electric lock, so that the portable device is allowed to drive the electric lock to perform an action.
Comparing to the prior art, the user who is desired/needed to be added as a new user of the electric lock can add himself/herself as the new user of the electric lock via the user's own portable device, and it does not require the manager to operate in person at the same time. Accordingly, the convenience for managing the electric lock can be enhanced. Furthermore, when the connection between the electric lock and the portable device is through the wireless personal area network, the electric lock can be operated in the environment without wireless local area network, which can reduce the standard for the operation environment of the electric lock.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
107100342 A | Jan 2018 | TW | national |
107146949 A | Dec 2018 | TW | national |
This application is a continuation-in-part of U.S. application Ser. No. 15/966,001, filed Apr. 30, 2018. This application claims the benefit of U.S. application Ser. No. 15/966,001, which was filed on Apr. 30, 2018, and is incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
8990927 | Al-Azzawi | Mar 2015 | B2 |
9728022 | Gengler | Aug 2017 | B2 |
20070197261 | Humbel | Aug 2007 | A1 |
20120272301 | LoBean | Oct 2012 | A1 |
20120306617 | Tung | Dec 2012 | A1 |
20130191908 | Klein | Jul 2013 | A1 |
20140375422 | Huber | Dec 2014 | A1 |
20160217637 | Gengler | Jul 2016 | A1 |
20190122293 | Minsely | Apr 2019 | A1 |
Number | Date | Country |
---|---|---|
2 955 795 | Feb 2016 | CA |
201232417 | Aug 2012 | TW |
201439991 | Oct 2014 | TW |
1491790 | Jul 2015 | TW |
M557769 | Apr 2018 | TW |
201837764 | Oct 2018 | TW |
20161028697 | Feb 2016 | WO |
Number | Date | Country | |
---|---|---|---|
20190206167 A1 | Jul 2019 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 15966001 | Apr 2018 | US |
Child | 16232055 | US |