Manage the administrative rights of electronic locks

By receiving and matching the code of the mobile device in the electronic lock, combined with electronic signature verification, the security and efficiency of the electronic lock management permission transfer is solved, and a safe and efficient permission transfer process is achieved.

CN111954883BActive Publication Date: 2024-11-08ASSA ABLOY AB
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980024804.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-04-11
Filing Date
2019-04-10
Publication Date
2024-11-08
Estimated Expiration
2039-04-10

AI Technical Summary

Technical Problem

When the electronic lock management permission is transferred, after the mobile device is lost or stolen, the electronic lock needs to be reconfigured to grant new device management permissions. It is difficult for the existing technology to achieve safe and efficient permission transfer.

Method used

By receiving the identifier and the code entered by the user from the first mobile device, its management permissions are determined, and the code is stored in the memory of the electronic lock; receiving the identifier and the code entered by the user from the second mobile device is only if the second When the code matches the first code, it is granted administrative permissions and enhances security through electronic signature verification.

Benefits of technology

It realizes that when a mobile device is lost or stolen, it safely re-grants new device management permissions, enhances the security and user experience of the system, and avoids the need for physical access locks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111954883B_ABST
    Figure CN111954883B_ABST
Patent Text Reader

Abstract

A method for managing management rights of an electronic lock is provided. The method is performed in the electronic lock and includes the following steps: receiving a first signal from a first mobile device, the first signal including an identifier of the first mobile device and a first code input by a user to the first mobile device; determining that the first mobile device has management rights to the electronic lock; storing the first code in a memory of the electronic lock; receiving a second signal from a second mobile device, the second signal including an identifier of the second mobile device and a second code input by a user to the second mobile device; and granting management rights to the lock to the second mobile device only when the second code matches the first code.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method for managing management rights of an electronic lock, an electronic lock, a computer program and a computer program product. Background Art

[0002] Locks and keys have evolved from traditional purely mechanical locks. Recently, there are wireless interfaces for electronic locks, for example, by interacting with mobile devices that act as electronic keys. Such wireless interfaces improve usability, while electronic key management is significantly more flexible in terms of the management of access rights compared to purely mechanical locks.

[0003] The electronic lock can be configured to a mobile device with administrative rights. The mobile device with administrative rights can then configure access rights for another mobile device, for example, add, delete or edit access rights. However, it may happen that a mobile device is lost or stolen. Then, the electronic lock needs to be reconfigured so that the new mobile device is given administrative rights.

[0004] US 2014 / 0375422 A1 discloses techniques and methods for secure access. US 2012 / 0280783 A1 discloses systems and methods for controlling a locking mechanism using a portable electronic device. Summary of the invention

[0005] One goal is to improve how new mobile devices gain administrative access to electronic locks.

[0006] According to a first aspect, a method for managing management rights of an electronic lock is provided. The method is performed in the electronic lock and includes the following steps: receiving a first signal from a first mobile device, the first signal including an identifier of the first mobile device and a first code input by a user to the first mobile device; determining that the first mobile device has management rights to the electronic lock; storing the first code in a memory of the electronic lock; receiving a second signal from a second mobile device, the second signal including an identifier of the second mobile device and a second code input by a user to the second mobile device; and granting management rights to the lock to the second mobile device only when the second code matches the first code.

[0007] The step of determining that the first mobile device has administrative rights may include reading from a local storage device an indication that the first mobile device has administrative rights.

[0008] The step of granting management authority may include storing an indication that the second mobile device has management authority in a local storage device when granting management authority.

[0009] The method may further include the step of removing the management authority of the first mobile device over the lock when the management authority over the lock has been granted to the second mobile device.

[0010] The method may also include the steps of transmitting the first data set to a second mobile device; receiving a second data set from the second mobile device; and determining when the second data set includes a verification electronic signature of the first data set, the verification electronic signature being applied by a server of an electronic access control system associated with the electronic lock. In this case, the step of granting management authority includes granting management authority only when the second data set includes the verification electronic signature.

[0011] The first signal may comprise a code electronic signature of the first code, in which case the step of storing the first code is performed only if the code electronic signature is verified as applied by a server of an electronic access control system associated with the electronic lock.

[0012] The step of determining that the first mobile device has administrative rights may be based on the absence of another mobile device configured to have administrative rights to the electronic lock.

[0013] The electronic lock device requires administrative privileges to allow a mobile device to configure access permissions for another mobile device.

[0014] According to a second aspect, an electronic lock configured to operate its management rights is provided. The electronic lock includes: a processor; and a memory storing instructions that, when executed by the processor, cause the electronic lock to perform the following operations: receiving a first signal from a first mobile device, the first signal including an identifier of the first mobile device and a first code input by a user to the first mobile device; determining that the first mobile device has management rights to the electronic lock; storing the first code in the memory of the electronic lock; receiving a second signal from a second mobile device, the second signal including an identifier of the second mobile device and a second code input by a user to the second mobile device; and granting management rights to the lock to the second mobile device only when the second code matches the first code.

[0015] The instructions for determining that the first mobile device has administrative rights include instructions that, when executed by the processor, cause the electronic lock to read from a local storage device an indication that the first mobile device has administrative rights.

[0016] The instructions for granting administrative rights include instructions that, when executed by the processor, cause the electronic lock to store an indication in a local storage device that the second mobile device has administrative rights when the administrative rights are granted.

[0017] The electronic lock may further include instructions that, when executed by the processor, cause the electronic lock to perform the following operations: when management rights over the lock have been granted to the second mobile device, remove management rights over the lock from the first mobile device.

[0018] The electronic lock may also include instructions that, when executed by the processor, cause the electronic lock to: transmit the first data set to the second mobile device; receive the second data set from the second mobile device; and determine when the second data set includes a verification electronic signature of the first data set, the verification electronic signature being applied by a server of an electronic access control system associated with the electronic lock. In this case, the instructions to grant administrative rights include instructions that, when executed by the processor, cause the electronic lock to grant administrative rights only when the second data set includes the verification electronic signature.

[0019] The first signal may include a code electronic signature of the first code, in which case the instruction to store the first code is executed only if the code electronic signature is verified as being applied by a server of an electronic access control system associated with the electronic lock.

[0020] The step of determining that the first mobile device has administrative rights may be based on the absence of another mobile device configured to have administrative rights to the electronic lock.

[0021] The electronic lock may be configured to require administrative privileges of the mobile device to allow configuration of access rights by the mobile device for another mobile device.

[0022] According to a third aspect, a computer program for managing management rights of an electronic lock is provided. The computer program includes computer program code, which, when executed on the electronic lock, causes the electronic lock to perform the following operations: receiving a first signal from a first mobile device, the first signal including an identifier of the first mobile device and a first code input by a user to the first mobile device; determining that the first mobile device has management rights to the electronic lock; storing the first code in a memory of the electronic lock; receiving a second signal from a second mobile device, the second signal including an identifier of the second mobile device and a second code input by a user to the second mobile device; and granting management rights to the lock to the second mobile device only when the second code matches the first code.

[0023] According to a fourth aspect, a computer program product is provided, the computer program product comprising the computer program according to the third aspect and a computer readable device storing the computer program.

[0024] Generally, unless otherwise expressly defined herein, all terms used in the claims should be interpreted according to their ordinary meaning in the art. Unless otherwise expressly stated, all references to "a / an / the element, device, part, means, step, etc." are to be openly interpreted as referring to at least one instance of an element, device, part, means, step, etc. Unless expressly stated otherwise, the steps of any method disclosed herein do not have to be performed in the exact order disclosed. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The present invention will now be described by way of example with reference to the accompanying drawings, in which:

[0026] Figure 1 is a schematic diagram showing an electronic access control system as an environment in which the embodiments presented herein may be applied;

[0027] Figure 2 It shows the management authority for managing electronic locks. Figure 1 Sequence diagrams of the communication between different entities;

[0028] Figure 3 is a flow chart illustrating an embodiment of a method for managing management rights of an electronic lock;

[0029] Figure 4 It shows Figure 1 A schematic diagram of some components of the electronic lock 1; and

[0030] Figure 5 An example of a computer program product comprising computer readable means is shown. DETAILED DESCRIPTION

[0031] The present invention will now be described more fully below with reference to the accompanying drawings, in which certain embodiments of the present invention are shown. However, the present invention can be implemented in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided as examples so that the present disclosure will be thorough and complete and fully convey the scope of the present invention to those skilled in the art. Throughout the specification, the same reference numerals refer to the same elements.

[0032] Figure 1 is a schematic diagram of an electronic access control system 10 for an environment in which the embodiments presented herein may be applied. Access to a physical space 16 is restricted by a selectively unlockable physical barrier 15. The physical barrier 15 is located between the restricted physical space 16 and the accessible physical space 14. Note that the accessible physical space 14 may itself be a restricted physical space, but the accessible physical space 14 is accessible relative to the particular physical barrier 15. The barrier 15 may be a door, a gate, a hatch, a window, a drawer, a lockable package, etc. In order to unlock the barrier 15, an electronic lock 1 is provided. The electronic lock 1 may be in an unlocked state or a locked state. The barrier 15 is provided in a surrounding fixed structure such as a wall or a fence.

[0033] The electronic lock 1 can receive signals from and send signals to mobile devices 2a to 2b through a communication channel, which can be a short-range wireless interface or a conductive (i.e., galvanic / electrical) connection. In this example, there are a first mobile device 2a and a second mobile device 2b. Mobile devices 2a to 2b do not need to be close to the electronic lock 1 at the same time. As described later, the user first uses the first mobile device 2a. When the first mobile device 2a is lost by the user 4, the second mobile device 2b is used to regain control of the electronic lock 1. Mobile devices 2a to 2b are implemented using any suitable device that can be portable by the user 4 and can be used for authentication through a communication channel. Mobile devices 2a to 2b are usually carried or worn by users and can be implemented as smartphones, wearable devices, etc. Mobile devices 2a to 2b include code input devices, such as touch-sensitive displays or keyboards.

[0034] The short-range wireless interface between the mobile device 2a to 2b and the electronic lock 1 is a radio frequency wireless interface, and can be, for example, Bluetooth, Bluetooth Low Energy (BLE), ZigBee, Radio Frequency Identification (RFID), any IEEE 802.11 standard, any IEEE802.15 standard, wireless Universal Serial Bus (USB), etc. The mobile devices 2a to 2b can also be regarded as credentials. Using the communication channel, the identity of the mobile device 2a to 2b can be obtained. In addition, the authenticity of the identity of the mobile device 2a to 2b can be checked. In any case, the electronic lock 1 communicates with the mobile device 2a to 2b and evaluates whether to grant or deny access.

[0035] When access is granted, the electronic lock 1 is set to an unlocked state. When the electronic lock 1 is in the unlocked state, the barrier 15 can be opened, and when the electronic lock 1 is in the locked state, the barrier 15 cannot be opened. In this way, access to the enclosed space 16 is controlled by the electronic lock 1. It should be noted that the electronic lock 1 can be installed in a fixed structure through the physical barrier 15 (as shown) or installed in the physical barrier 15 itself (not shown).

[0036] The mobile devices 2a-2b comprise communication capabilities to connect to a server 6 of the electronic access control system 10 via a network 5. The network may be a wide area network such as the Internet to which the mobile devices 2a-2b may connect, for example, via WiFi (e.g. any IEEE 802.11x standard), or a cellular network such as LTE (Long Term Evolution), next generation mobile networks (fifth generation, 5G), UMTS (Universal Mobile Telecommunications System) using W-CDMA (Wideband Code Division Multiplexing), etc.

[0037] Figure 2 It shows the management authority for managing electronic locks. Figure 1 A sequence diagram of the communication between different entities.

[0038] First, the user 4 inputs the first code 20 to the first mobile device 2a, for example, using the touch screen or keyboard of the first mobile device 2a. The first mobile device 2a sends a first signal 21 to the electronic lock 1, wherein the first signal 21 includes the first code. The electronic lock 1 determines, for example, that the first mobile device 2a is allowed to manage the electronic lock 1 when no other device is registered with management authority, or the first mobile device 2a is registered as having management authority (in the local storage device of the electronic lock 1), and stores 44 the first code of the first signal 21.

[0039] If the user 4 loses the first mobile device 2a or the first mobile device 2a is stolen, the user 4 needs to regain management rights over the electronic lock 1 with a new second mobile device 2b. In order to regain control, the user now enters the second code 23 into the second mobile device 2b. The second mobile device 2b sends a second signal 24 to the electronic lock 1, wherein the second signal 24 contains the second code. The electronic lock 1 compares the second code of the second signal 24 with the first code stored in the memory. If there is a match, the sequence continues, otherwise the sequence ends.

[0040] In one embodiment, the code comparison is sufficient to determine that the second device should be granted 50 administrative privileges.

[0041] In one embodiment, further steps are performed to enhance security. The electronic lock 1 then sends the first data set 25 to the second mobile device 2b. The first data set may be any bit sequence.

[0042] The second mobile device 2b ensures that it is logged into the server 6, or prompts the user to log into the server 4. Once the second mobile device 2b is logged into the server, the first data set 25 is forwarded to the server 6 for signing. At this stage, the server 6 verifies that the second mobile device 2b is effectively logged into the server 6 (this can be implicitly verified by only accepting such messages from logged-in mobile devices), and if this is the case, the first data set is electronically signed 26 using the private key of the server's encryption key pair. The server transmits a second data set 27 containing the electronic signature of the first data set to the second mobile device 2b. The second mobile device 2b forwards the second data set 27 to the electronic lock 1.

[0043] The electronic lock 1 has the public key of the server's encryption key pair stored in memory. In this way, the electronic lock 1 can verify whether the electronic signature of the second data set 27 is indeed a valid signature of the first data set made by the server 6. If the signature is valid, this indicates that the user of the second mobile device is logged in to the server, which provides an additional layer of protection. When the electronic signature is checked, if the electronic signature is valid, then management rights are granted 50.

[0044] Figure 3 is a flow chart showing an embodiment of a method for managing management rights of an electronic lock. The method is performed in the electronic lock. The method corresponds to Figure 2 The management rights may be, for example, registered as the owner of the lock, thereby allowing any configuration of the lock to be performed, such as adding / removing / editing access rights of other key devices, etc. In other words, the electronic lock device may require management rights to allow a mobile device to configure access rights for another mobile device. When management rights are not registered for a mobile device, the mobile device is not allowed to configure access rights for another mobile device, or indeed for itself.

[0045] In a receive first signal step 40, the electronic lock receives a first signal from a first mobile device. The first signal includes a first code input by a user into the first mobile device. The code may be, for example, a numerical sequence of numbers, such as an eight-digit PIN (personal identification number) code, a PIN of other length, or an alphanumeric code. The first signal also includes an identifier of the first mobile device. The identifier may be any data item that allows the first mobile device to be identified, such as an alphanumeric sequence or a numeric sequence.

[0046] In a determine management rights step 42, the electronic lock determines that the first mobile device has management rights for the electronic lock. For example, this may be based on the absence of another mobile device configured to have management rights for the electronic lock. This may be the case if the electronic lock has just been installed and has not yet been configured with respect to access rights. Alternatively or additionally, the electronic lock has stored that the first mobile device has management rights.

[0047] The determination of the management authority may be based on reading an indication from a local storage device that the first mobile device has the management authority. Then, the local storage device (see, for example, Figure 4 The data storage 65) contains one or more entries of mobile device identifiers that are allowed to manage permissions.

[0048] In the step 44 of storing the first code, the electronic lock stores the first code in the memory of the electronic lock. This step is conditional on the first mobile device having management rights to the electronic lock. Optionally, the first signal includes a code electronic signature of the first code. The code electronic signature is an electronic signature that has been applied to verify that the first mobile device has logged into the server. In this case, the electronic lock, for example, uses the public key of the server to verify to see if the code electronic signature has been applied by the server of the electronic access control system associated with the electronic lock. When this is verified, this indicates that the first mobile device has logged into the server, which increases the assurance that a valid user of the system is using the first device.

[0049] In a receive second signal step 45, the electronic lock receives a second signal from the second mobile device. This step may be performed long after the previous step when the user has lost his / her first mobile device and wishes to regain control of the electronic lock using the second mobile device. The second signal includes a second code input by the user to the second mobile device. The second signal also includes an identifier of the second mobile device.

[0050] The second mobile device can also collect the public key of the electronic lock from the back end or another source. As part of the connection with the electronic lock, the second mobile device verifies that the electronic lock has the corresponding private key. Optionally, the second signal is encrypted with the public key of the electronic lock. In this way, the second signal including the second code can be decrypted only by the owner of the corresponding private key, that is, only by the legitimate electronic lock. This prevents a man-in-the-middle attack in which a separate device will disguise itself as an electronic lock and place itself between the electronic lock and the second device, and thereby intercept the second code.

[0051] In a conditional code matching step 46, the electronic lock determines whether the first code matches the second code, i.e., whether the first code and the second code are identical. If this is the case, the method continues with an optional first data set transmission step 47 or a management rights granting step 50. Otherwise, the method ends.

[0052] In the optional step 47 of transmitting the first data set, the electronic lock transmits the first data set to the second mobile device. The first data set can be any suitable data set, such as binary data or a string. The first data set is sent to the electronic lock to be forwarded to the server for signing.

[0053] In an optional receiving second data set step 48, the electronic lock receives a second data set from the second mobile device. The second data set is used to verify whether it contains a valid signature of the first data set made by the server.

[0054] In an optional conditional verify electronic signature step 49, the electronic lock determines when the second data set includes the verify electronic signature of the first data set. The electronic lock then verifies that the verify electronic signature has been applied by a server of an electronic access control system associated with the electronic lock. The verification may be based on a public key of the server, which is stored in a memory of the electronic lock. If the verification is positive, the method proceeds to grant management authority step 50. Otherwise, the method ends.

[0055] In the granting management authority step 50, the electronic lock grants management authority to the second mobile device for the lock, which includes storing in a memory that the second mobile device has the management authority.

[0056] This step may include storing an indication that the second mobile device has management authority in a local storage device (eg, Figure 4 in the data storage device 65).

[0057] In an optional remove old permissions step 52, the electronic lock removes the management permissions of the first mobile device to the lock. In this way, for example, in the event that the first mobile device has been lost / stolen and an attacker attempts to use the first mobile device to gain access to the electronic lock, the first mobile device is prevented from managing the electronic lock. In this case, the electronic lock can be configured to have only one mobile device registered (in its local storage device) as having management permissions.

[0058] Optionally, any access rights of the first mobile device are also removed from the electronic lock.

[0059] Using embodiments of the methods presented herein, a user can safely regain control of an electronic lock if the mobile device used to configure the lock is lost or stolen. Furthermore, the electronic lock does not require access to a network to run the process. Additionally, no physical access to the interior of the lock is required, such as to reach a reset button or the like.

[0060] Figure 4 It shows Figure 1 Schematic diagram of some components of the electronic lock 1. The processor 60 is provided using any combination of one or more of a suitable central processing unit (CPU), a multiprocessor, a microcontroller, a digital signal processor (DSP), an application specific integrated circuit, etc. capable of executing software instructions 66 stored in a memory 64, which memory 64 can therefore be a computer program product. The processor 60 can be configured to execute the above reference Figure 3 Describe the method.

[0061] The memory 64 may be any combination of read-write memory (RAM) and read-only memory (ROM). The memory 64 also includes a persistent storage device, which may be any one or combination of magnetic memory, optical memory, solid-state memory or even remotely mounted memory.

[0062] The data memory 65 is a local memory configured to read and / or store data during execution of software instructions in the processor 60. The data memory 65 may be any combination of random access memory (RAM) and read-only memory (ROM), which may be persistent and / or volatile memory. As described above, the data memory 65 may store a first code. The first code may be stored in a persistent portion of the data memory 65, such as in flash memory. The data memory 65 may also store in a persistent portion of the data memory 65 (e.g., in flash memory) an indication of one or more mobile devices that will be allowed to manage permissions.

[0063] The electronic lock 1 also includes an I / O interface 67 for communicating with other external entities such as mobile devices 2a to 2b. The I / O interface 67 can support wireless communication using, for example, Bluetooth, BLE, ZigBee, RFID and / or any IEEE 802.11 standard, any IEEE 802.15 standard, wireless USB, etc., for example, communicating with mobile devices 2a to 2b.

[0064] In order not to obscure the concept presented herein, other components of the electronic lock 1 are omitted.

[0065] Figure 5 An example of a computer program product comprising a computer readable device is shown. On the computer readable device, a computer program 91 may be stored, which computer program may cause a processor to perform a method according to the embodiments described herein. In this example, the computer program product is an optical disc, such as a CD (Compact Disc) or a DVD (Digital Versatile Disc) or a Blu-ray Disc. As mentioned above, the computer program product may also be implemented in a memory of a device, such as Figure 4 Computer program product 64. Although computer program 91 is schematically shown here as tracks on an optical disc, the computer program may be stored in any manner suitable for a computer program product, such as a removable solid-state memory, for example a Universal Serial Bus (USB) drive.

[0066] Here, a list of embodiments using Roman numerals is now presented from a different perspective.

[0067] i. A method for managing management rights of an electronic lock (1), the method being executed in the electronic lock (1) and comprising the following steps:

[0068] receiving (40) a first signal from a first mobile device (2a), the first signal comprising an identifier of the first mobile device (2a) and a first code input into the first mobile device by a user (4);

[0069] Determining (42) that the first mobile device (2a) has management authority over the electronic lock;

[0070] storing (44) the first code in a memory (65) of the electronic lock (1);

[0071] receiving (45) a second signal from a second mobile device (2b), the second signal comprising an identifier of the second mobile device and a second code input into the second mobile device by a user (4); and

[0072] Only if the second code matches the first code, management rights to the lock are granted (50) to the second mobile device.

[0073] ii. The method according to embodiment i further comprises the following steps:

[0074] When the management authority for the lock has been granted to the second mobile device, the management authority for the lock by the first mobile device is removed (52).

[0075] iii. The method according to embodiment i or ii, further comprising the following steps:

[0076] transmitting (47) the first data set to the second mobile device;

[0077] receiving (48) a second data set from the second mobile device; and

[0078] determining (49) when the second data set includes a verification electronic signature of the first data set, the verification electronic signature being applied by a server of an electronic access control system associated with the electronic lock; and

[0079] Therein, the step of granting (50) management rights comprises granting management rights only if the second data set includes the verification electronic signature.

[0080] iv. A method according to any one of the preceding embodiments, wherein the first signal comprises a code electronic signature of the first code;

[0081] And wherein the step of storing (44) said first code is performed only if said code electronic signature is verified as being applied by a server of an electronic access control system associated with said electronic lock.

[0082] v. The method according to any of the preceding embodiments, wherein the step of determining that the first mobile device has management rights is based on the absence of another mobile device configured to have management rights for the electronic lock.

[0083] vi. An electronic lock (1) configured to manage its management rights, the electronic lock (1) comprising:

[0084] a processor (60); and

[0085] A memory (64) storing instructions (67) that, when executed by the processor, cause the electronic lock (1) to perform the following operations:

[0086] receiving a first signal from a first mobile device, the first signal including an identifier of the first mobile device and a first code entered by a user into the first mobile device;

[0087] Determining that the first mobile device has management authority over the electronic lock;

[0088] storing the first code in a memory of the electronic lock;

[0089] receiving a second signal from a second mobile device, the second signal comprising an identifier of the second mobile device and a second code input by a user into the second mobile device; and

[0090] Only if the second code matches the first code, management rights over the lock are granted to the second mobile device.

[0091] vii. The electronic lock (1) according to embodiment vi further comprises instructions (67) that, when executed by the processor, cause the electronic lock (1) to perform the following operations:

[0092] When the management authority for the lock has been granted to the second mobile device, the management authority for the lock of the first mobile device is removed.

[0093] viii. The electronic lock (1) according to embodiment vi or vii, further comprising instructions (67) that, when executed by the processor, cause the electronic lock (1) to perform the following operations:

[0094] transmitting the first data set to the second mobile device;

[0095] receiving a second data set from the second mobile device; and

[0096] determining when the second data set includes a verifying electronic signature of the first data set, the verifying electronic signature being applied by a server of an electronic access control system associated with the electronic lock; and

[0097] The instructions for granting management rights include instructions (67) which, when executed by the processor, cause the electronic lock (1) to grant management rights only when the second data set includes the verification electronic signature.

[0098] ix. The electronic lock (1) according to any one of embodiments vi to viii, wherein the first signal comprises a code electronic signature of the first code;

[0099] and wherein the instructions to store the first code are executed only if the electronic signature of the code is verified as being applied by a server of an electronic access control system associated with the electronic lock.

[0100] x. The electronic lock (1) according to any one of embodiments vi to ix, wherein the step of determining that the first mobile device has management authority is based on the absence of another mobile device configured to have management authority for the electronic lock.

[0101] xi. A computer program (67, 91) for managing management rights of an electronic lock (1), the computer program comprising computer program code, which, when executed on the electronic lock (1), causes the electronic lock (1) to perform the following operations:

[0102] receiving a first signal from a first mobile device, the first signal including an identifier of the first mobile device and a first code entered by a user into the first mobile device;

[0103] Determining that the first mobile device has management authority over the electronic lock;

[0104] storing the first code in a memory of the electronic lock;

[0105] receiving a second signal from a second mobile device, the second signal comprising an identifier of the second mobile device and a second code input by a user into the second mobile device; and

[0106] Only if the second code matches the first code, management rights over the lock are granted to the second mobile device.

[0107] xii. A computer program product (64, 90), comprising the computer program according to embodiment xi and a computer readable device storing the computer program.

[0108] The invention has mainly been described above with reference to a few embodiments. However, as is readily appreciated by a person skilled in the art, other embodiments than the ones disclosed above are equally possible within the scope of the invention, as defined by the appended patent claims.

Claims

1. A method for managing management rights of an electronic lock, the method being executed in the electronic lock, and The following steps are involved: receiving a first signal from a first mobile device, the first signal including an identifier of the first mobile device and a first code entered by a user into the first mobile device; Determining that the first mobile device has management rights for the electronic lock, so that the first mobile device has the right to configure access rights for another mobile device, wherein the step of determining that the first mobile device has management rights comprises reading an indication that the first mobile device has management rights from a local storage device of the electronic lock based on an identifier of the first mobile device, the local storage device containing one or more entries of identifiers of mobile devices that are allowed management rights; storing the first code from the first signal in a persistent portion of a local storage device of the electronic lock; receiving a second signal from a second mobile device, the second signal comprising an identifier of the second mobile device and a second code input by a user into the second mobile device; and Only when the second code matches the first code, management authority over the electronic lock is granted to the second mobile device.

2. The method according to claim 1, in, The step of granting management authority includes storing an indication that the second mobile device has management authority in the local storage device when granting management authority.

3. The method according to claim 1 or 2, further comprising: The following steps are involved: When the management authority for the electronic lock has been granted to the second mobile device, the management authority for the electronic lock of the first mobile device is removed.

4. The method according to claim 1 or 2, further comprising: The following steps are involved: transmitting the first data set to the second mobile device; receiving a second data set from the second mobile device; as well as determining when the second data set includes a verification electronic signature of the first data set, the verification electronic signature applied by a server of an electronic access control system associated with the electronic lock; as well as The step of granting management authority includes granting management authority only when the second data set includes the verification electronic signature.

5. The method according to claim 1 or 2, in, The first signal includes a code electronic signature of the first code; And wherein the step of storing said first code is performed only if said code electronic signature is verified as being applied by a server of an electronic access control system associated with said electronic lock.

6. The method according to claim 1 or 2, in, The step of determining that the first mobile device has administrative rights is based on the absence of another mobile device configured to have administrative rights to the electronic lock.

7. The method according to claim 1 or 2, in, The electronic lock requires administrative privileges to allow a mobile device to configure access permissions for another mobile device.

8. An electronic lock configured to manage its management authority, the electronic lock include: processor; as well as A memory storing instructions that, when executed by the processor, cause the electronic lock to perform the following operations: receiving a first signal from a first mobile device, the first signal including an identifier of the first mobile device and a first code entered by a user into the first mobile device; Determining that the first mobile device has management rights for the electronic lock, wherein determining that the first mobile device has management rights comprises reading an indication that the first mobile device has management rights from a local storage device of the electronic lock based on an identifier of the first mobile device, the local storage device containing one or more entries of identifiers of mobile devices that are allowed management rights; storing the first code from the first signal in a persistent portion of a local storage device of the electronic lock so that the first mobile device has authority to configure access rights for another mobile device; receiving a second signal from a second mobile device, the second signal comprising an identifier of the second mobile device and a second code input by a user into the second mobile device; and Only when the second code matches the first code, management authority over the electronic lock is granted to the second mobile device.

9. The electronic lock according to claim 8, in, The instructions for granting administrative rights include instructions that, when executed by the processor, cause the electronic lock to store an indication in the local storage device that the second mobile device has administrative rights when granting administrative rights.

10. The electronic lock according to claim 8 or 9, further comprising instructions that, when executed by the processor, cause the electronic lock to perform the following operations: When the management authority for the electronic lock has been granted to the second mobile device, the management authority for the electronic lock of the first mobile device is removed.

11. The electronic lock according to claim 8 or 9, further comprising instructions that, when executed by the processor, cause the electronic lock to perform the following operations: transmitting the first data set to the second mobile device; Receiving a second data set from the second mobile device ; as well as determining when the second data set includes a verification electronic signature of the first data set, the verification electronic signature applied by a server of an electronic access control system associated with the electronic lock; as well as The instructions for granting management authority include instructions which, when executed by the processor, cause the electronic lock to grant management authority only when the second data set includes the verification electronic signature.

12. The electronic lock according to claim 8 or 9, in, The first signal includes a code electronic signature of the first code; and wherein the instructions to store the first code are executed only if the electronic signature of the code is verified as being applied by a server of an electronic access control system associated with the electronic lock.

13. The electronic lock according to claim 8 or 9, in, The step of determining that the first mobile device has administrative rights is based on the absence of another mobile device configured to have administrative rights to the electronic lock.

14. The electronic lock according to claim 8 or 9, in, The electronic lock is configured to require administrative privileges of a mobile device to allow configuration of access rights for another mobile device by the mobile device.

15. A computer program product, comprising a computer program for managing management rights of an electronic lock and a computer readable device storing the computer program, the computer program comprising computer program code, which, when executed on the electronic lock, causes the electronic lock to perform the following operations: receiving a first signal from a first mobile device, the first signal including an identifier of the first mobile device and a first code entered by a user into the first mobile device; Determining that the first mobile device has management rights for the electronic lock, wherein determining that the first mobile device has management rights comprises reading an indication that the first mobile device has management rights from a local storage device of the electronic lock based on an identifier of the first mobile device, the local storage device containing one or more entries of identifiers of mobile devices that are allowed management rights; storing the first code from the first signal in a persistent portion of a local storage device of the electronic lock so that the first mobile device has authority to configure access rights for another mobile device; receiving a second signal from a second mobile device, the second signal comprising an identifier of the second mobile device and a second code input by a user into the second mobile device; and Only when the second code matches the first code, management authority over the electronic lock is granted to the second mobile device.