Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
EMERGENCY DELEGATION
Document Type and Number:
WIPO Patent Application WO/2020/127212
Kind Code:
A1
Abstract:
It is provided a method for controlling access to a physical space using an emergency delegation. The method is performed in a lock device and comprises the steps of: receiving an access request from an electronic key; obtaining a plurality of delegations, wherein each delegation is a delegation from a delegator to a delegatee, the plurality of delegations collectively forming a chain of delegations wherein when two delegations are chained together, the delegatee of one delegation is the delegator of the next delegation; determining that a delegation in the chain of delegations is an emergency delegation, the emergency delegation indicating that access should only be granted when an emergency situation occurs; determining when an emergency situation occurs; and granting access to the physical space when the chain of delegations starts in the lock device and ends in the electronic key; and when the emergency situation occurs.

Inventors:
JONSSON TOMAS (SE)
EINBERG FREDRIK (SE)
SINGH SONA (SE)
VON MATERN JOHAN (SE)
LUNDBERG FRANS (SE)
Application Number:
PCT/EP2019/085577
Publication Date:
June 25, 2020
Filing Date:
December 17, 2019
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ASSA ABLOY AB (SE)
International Classes:
G07C9/00; G07C9/20
Foreign References:
EP3291183A12018-03-07
US20060072755A12006-04-06
GB2517527A2015-02-25
Other References:
ANKUR TALY ET AL: "Distributed Authorization in Vanadium", ARXIV.ORG, CORNELL UNIVERSITY LIBRARY, 201 OLIN LIBRARY CORNELL UNIVERSITY ITHACA, NY 14853, 8 July 2016 (2016-07-08), XP080712818
Attorney, Agent or Firm:
KRANSELL & WENNBORG KB (SE)
Download PDF:
Claims:
CLAIMS

1. A method for controlling access to a physical space (16) using an emergency delegation, the method being performed in a lock device (1) and comprising the steps of: receiving (40) an access request from an electronic key (2);

obtaining (42) a plurality of delegations, wherein each delegation is a delegation from a delegator to a delegatee, the plurality of delegations collectively forming a chain of delegations wherein when two delegations are chained together, the delegatee of one delegation is the delegator of the next delegation;

determining (44) that a delegation in the chain of delegations is an emergency delegation, the emergency delegation indicating that access should only be granted when an emergency situation occurs, wherein one or more types of emergency situation are specified in the emergency delegation;

determining (46) when an emergency situation occurs; and

granting (48) access to the physical space (12) when the chain of delegations starts in the lock device (1) and ends in the electronic key (2); and when the emergency situation of the occurs.

2. The method according to claim 1, wherein the one or more types of emergency situation is any one of break-in, fire, water leak, health emergency.

3. The method according to claim 1 or 2, wherein the step of determining (46) when an emergency situation occurs comprises communicating with an emergency service provider (S) forming part of the chain of delegations.

4. The method according to any one of the preceding claims, wherein the step of determining (46) when an emergency situation occurs comprises communicating with a sensor device in the physical space (16).

5. The method according to claim 4, wherein the sensor device is any one of a wearable device, a fire detector, or water leak detector.

6. The method according to any one of the preceding claims, wherein the step of determining (46) when an emergency situation occurs comprises communicating with a monitoring device collecting data from one or more sensor devices in the physical space (16).

7. The method according to claim 6, wherein the step of determining (46) when an emergency situation occurs comprises finding a mapping between the one or more emergency situations specified in the emergency delegation and one or more monitoring devices.

8. The method according to claim 6 or 7, wherein the step of determining (46) when an emergency situation occurs comprises communicating with a smart home system.

9. A lock device (1) for controlling access to a physical space (16) using an emergency delegation, the lock device (1) comprising:

a processor (60); and

a memory (64) storing instructions (67) that, when executed by the processor, cause the lock device (1) to:

receive an access request from an electronic key (2);

obtain a plurality of delegations, wherein each delegation is a delegation from a delegator to a delegatee, the plurality of delegations collectively forming a chain of delegations wherein when two delegations are chained together, the delegatee of one delegation is the delegator of the next delegation;

determine that a delegation in the chain of delegations is an emergency delegation, the emergency delegation indicating that access should only be granted when an emergency situation occurs, wherein one or more types of emergency situation are specified in the emergency delegation;

determine when an emergency situation occurs; and

grant access to the physical space (12) when the chain of delegations starts in the lock device (1) and ends in the electronic key (2); and when the emergency situation occurs.

10. The lock device (1) according to claim 9, wherein the type of emergency situation is any one of break-in, fire, water leak, health emergency.

11. The lock device (1) according to claim 9 or 10, wherein the instructions to determine when an emergency situation occurs comprise instructions (67) that, when executed by the processor, cause the lock device (1) to communicate with an emergency service provider (S) forming part of the chain of delegations.

12. The lock device (l) according to any one of claims 9 to 11, wherein the instructions to determine when an emergency situation occurs comprise instructions (67) that, when executed by the processor, cause the lock device (1) to communicate with a sensor device in the physical space (16).

13. The lock device (1) according to claim 12, wherein the sensor device is any one of a wearable device, a fire detector, or water leak detector.

14. The lock device (1) according to any one of claims 9 to 13, wherein the instructions to determine when an emergency situation occurs comprise instructions (67) that, when executed by the processor, cause the lock device (1) to communicate with a monitoring device collecting data from one or more sensor devices in the physical space (16).

15. The lock device (1) according to claim 14, wherein the instructions to determine when an emergency situation occurs comprise instructions (67) that, when executed by the processor, cause the lock device (1) to find a mapping between the one or more emergency situations specified in the emergency delegation and one or more monitoring devices.

16. The lock device (1) according to claim 14 or 15, wherein the instructions to determine when an emergency situation occurs comprise instructions (67) that, when executed by the processor, cause the lock device (1) to communicate with a smart home system.

17. A computer program (67, 91) for controlling access to a physical space (16) using an emergency delegation, the computer program comprising computer program code which, when run on a lock device (1) causes the lock device (1) to:

receive an access request from an electronic key (2);

obtain a plurality of delegations, wherein each delegation is a delegation from a delegator to a delegatee, the plurality of delegations collectively forming a chain of delegations wherein when two delegations are chained together, the delegatee of one delegation is the delegator of the next delegation;

determine that a delegation in the chain of delegations is an emergency delegation, the emergency delegation indicating that access should only be granted when an emergency situation occurs;

determine when an emergency situation occurs; and grant access to the physical space (12) when the chain of delegations starts in the lock device (1) and ends in the electronic key (2); and when the emergency situation occurs.

18. A computer program product (64, 90) comprising a computer program according to claim 17 and a computer readable means on which the computer program is stored.

Description:
EMERGENCY DELEGATION

TECHNICAL FIELD

[0001] The present disclosure relates to the field of controlling access to physical space using delegated access, where at least one delegation in a delegation chain needs to be co-signed by an access controller.

BACKGROUND

[0002] Locks and keys are evolving from the traditional pure mechanical locks.

These days, electronic locks are becoming increasingly common. For electronic locks, no mechanical key profile is needed for authentication of a user. The electronic locks can e.g. be opened using an electronic key stored on a special carrier (fob, card, etc.) or in a smartphone. The electronic key and electronic lock can e.g. communicate over a wireless interface. Such electronic locks provide a number of benefits, including improved flexibility in management of access rights, audit trails, key management, etc.

[0003] In general, the lock owner give access to the lock those that are trusted with such privileges, such as family members, cleaning personnel, etc. In emergency situations, access might need to be granted to an additional set of people. For instance, in the situation of a break-in, when a burglar alarm is set off, access should be granted for neighbours or the police, saving the police from having to break open the door. If there is a fire, access should be granted for the fire brigade, saving the fire brigade from having to break open the door.

[0004] However, granting access to neighbours and emergency services can also pose a security risk, since any one of these people can walk right up to the premises and enter.

SUMMARY

[0005] It an object of the present disclosure to enable a lock owner to grant access to certain people for an offline lock in an emergency situation without giving blanket access.

[0006] According to a first aspect, it is provided a method for controlling access to a physical space using an emergency delegation. The method is performed in a lock device and comprises the steps of: receiving an access request from an electronic key; obtaining a plurality of delegations, wherein each delegation is a delegation from a delegator to a delegatee, the plurality of delegations collectively forming a chain of delegations wherein when two delegations are chained together, the delegatee of one delegation is the delegator of the next delegation; determining that a delegation in the chain of delegations is an emergency delegation, the emergency delegation indicating that access should only be granted when an emergency situation occurs, wherein one or more types of emergency situation are specified in the emergency delegation; determining when an emergency situation occurs; and granting access to the physical space when the chain of delegations starts in the lock device and ends in the electronic key; and when the emergency situation of the occurs.

[0007] The one or more types of emergency situation may be any one of break-in, fire, water leak, health emergency.

[0008] The step of determining when an emergency situation occurs may comprise communicating with an emergency service provider forming part of the chain of delegations.

[0009] The step of determining when an emergency situation occurs may comprise communicating with a sensor device in the physical space.

[0010] The sensor device maybe any one of a wearable device, a fire detector, or water leak detector.

[0011] The step of determining when an emergency situation occurs may comprise communicating with a monitoring device collecting data from one or more sensor devices in the physical space.

[0012] The step of determining when an emergency situation occurs may comprises finding a mapping between the one or more emergency situations specified in the emergency delegation and one or more monitoring devices.

[0013] The step of determining when an emergency situation occurs may comprise communicating with a smart home system.

[0014] According to a second aspect, it is provided a lock device for controlling access to a physical space using an emergency delegation. The lock device comprises: a processor; and a memory storing instructions that, when executed by the processor, cause the lock device to: receive an access request from an electronic key; obtain a plurality of delegations, wherein each delegation is a delegation from a delegator to a delegatee, the plurality of delegations collectively forming a chain of delegations wherein when two delegations are chained together, the delegatee of one delegation is the delegator of the next delegation; determine that a delegation in the chain of delegations is an emergency delegation, the emergency delegation indicating that access should only be granted when an emergency situation occurs, wherein one or more types of emergency situation are specified in the emergency delegation; determine when an emergency situation occurs; and grant access to the physical space when the chain of delegations starts in the lock device and ends in the electronic key; and when the emergency situation occurs.

[0015] The type of emergency situation may be any one of break-in, fire, water leak, health emergency.

[0016] The instructions to determine when an emergency situation occurs may comprise instructions that, when executed by the processor, cause the lock device to communicate with an emergency service provider forming part of the chain of delegations.

[0017] The instructions to determine when an emergency situation occurs may comprise instructions that, when executed by the processor, cause the lock device to communicate with a sensor device in the physical space.

[0018] The sensor device maybe any one of a wearable device, a fire detector, or water leak detector.

[0019] The instructions to determine when an emergency situation occurs may comprise instructions that, when executed by the processor, cause the lock device to communicate with a monitoring device collecting data from one or more sensor devices in the physical space.

[0020] The instructions to determine when an emergency situation occurs may comprise instructions that, when executed by the processor, cause the lock device to find a mapping between the one or more emergency situations specified in the emergency delegation and one or more monitoring devices.

[0021] The step of determining when an emergency situation occurs may comprise communicating with a smart home system.

[0022] According to a third aspect, it is provided a computer program for controlling access to a physical space using an emergency delegation. The computer program comprises computer program code which, when run on a lock device causes the lock device to: receive an access request from an electronic key; obtain a plurality of delegations, wherein each delegation is a delegation from a delegator to a delegatee, the plurality of delegations collectively forming a chain of delegations wherein when two delegations are chained together, the delegatee of one delegation is the delegator of the next delegation; determine that a delegation in the chain of delegations is an emergency delegation, the emergency delegation indicating that access should only be granted when an emergency situation occurs; determine when an emergency situation occurs; and grant access to the physical space when the chain of delegations starts in the lock device and ends in the electronic key; and when the emergency situation occurs.

[0023] According to a fourth aspect, it is provided a computer program product comprising a computer program according to the third aspect and a computer readable means on which the computer program is stored.

[0024] Generally, all terms used in the claims are to be interpreted according to their ordinary meaning in the technical field, unless explicitly defined otherwise herein. All references to "a/an/the element, apparatus, component, means, step, etc." are to be interpreted openly as referring to at least one instance of the element, apparatus, component, means, step, etc., unless explicitly stated otherwise. The steps of any method disclosed herein do not have to be performed in the exact order disclosed, unless explicitly stated.

BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Aspects and embodiments are now described, by way of example, with refer ence to the accompanying drawings, in which:

[0026] Fig 1 is a schematic diagram showing an environment in which embodiments presented herein can be applied; [0027] Fig 2 is a flow chart illustrating method for controlling access to a physical space;

[0028] Fig 3 is a schematic diagram illustrating components of the lock device of Fig 1; and

[0029] Fig 4 shows one example of a computer program product 90 comprising computer readable means.

DETAILED DESCRIPTION

[0030] The aspects of the present disclosure will now be described more fully hereinafter with reference to the accompanying drawings, in which certain

embodiments of the invention are shown. These aspects may, however, be embodied in many different forms and should not be construed as limiting; rather, these

embodiments are provided by way of example so that this disclosure will be thorough and complete, and to fully convey the scope of all aspects of invention to those skilled in the art. Like numbers refer to like elements throughout the description.

[0031] Embodiments presented herein are based on delegation chains from the lock device. The delegation chain allows the lock device to be offline. Additionally, the delegation chain here comprises an emergency delegation, whereby the delegation can only be used at the lock device when an emergency situation occurs. This allows the lock owner to grant access to a great number of people and/ or organisations who may be of great help in an emergency situation, but for which the lock owner does not want to give general access. This improves the ability of the lock owner to give emergency access with minimal security risk.

[0032] Fig 1 is a schematic diagram showing an environment in which embodiments presented herein can be applied. Access to a physical space 16 is restricted by a physical barrier 15 which is selectively unlockable using a lock device 10. The barrier 15 can be a door, gate, hatch, cabinet door, drawer, window, etc. The physical barrier 15 is provided in a surrounding physical structure (being a wall, fence, ceiling, floor, etc.) and stands between the restricted physical space 16 and an accessible physical space 14. Note that the accessible physical space 14 can be a restricted physical space in itself, but in relation to this physical barrier 15, the accessible physical space 14 is accessible. The restricted physical space 14 can be part of a home, a commercial property, etc. [0033] The owner L or user of the lock device 10 is here denoted a lock owner L. The lock owner L may carry a lock owner device, which is any suitable electronic device, e.g. a smartphone, mobile phone, tablet computer, laptop computer, desktop computer, smart television, set top box, etc.

[0034] The lock device 10 can communicate with electronic keys. Such electronic keys may be implemented as part of a mobile phone, a smartphone, a key fob, wearable device, smart phone case, access card, electronic physical key, etc. The electronic key can communicate with the lock device 10 over a wired or wireless interface, e.g. using Bluetooth, Bluetooth Low Energy (BLE), any of the IEEE 802.15 standards, Radio Frequency Identification (RFID), Near Field Communication (NFC).

[0035] There may also an emergency service provider S. The emergency service provider S can e.g. be a security company, the police, the fire brigade or an ambulance service. The emergency service provider S uses a service provider agent A to deliver the (emergency) service when needed. The service provider agent A is a physical person and can be an employee or a sub-contractor of the emergency service provider S.

[0036] Additionally, there can be private individuals I, such as neighbours or friends of the lock owner L.

[0037] As explained in more detail below, the lock owner L wants to give access to the restricted space 16 to suitable persons or organisations, but only under the condition that an emergency situation occurs.

[0038] Communication between the different nodes in Fig 1 can occur using local communication, e.g. using Bluetooth, Bluetooth Low Energy (BLE), any of the IEEE 802.15 standards, any of the IEEE 802.11 standards, wireless USB (Universal Serial Bus), USB, Ethernet, serial connection (e.g. RS-485), etc. and/or over wide area communication such as cellular networks and the Internet. On a higher layer, Internet Protocol (IP) could be used for the communication.

[0039] Now the concept of delegation of access rights will be explained and how this is employed in embodiments presented herein. Each delegation is a delegation from a delegator to a delegatee. A plurality of delegations collectively form a chain of delegations. For each link in the chain, when two delegations are chained together, the delegatee of one delegation is the delegator of the next delegation. Each entity in the delegation chain, i.e. all delegators and delegatees use physical devices such as portable devices or computers/ servers in the operations using delegations. In other words, whenever it is mentioned that a party is a delegator or delegatee in this document, this is implemented in such a physical device.

[0040] The plurality of delegations may form a chain. For instance, consider the following example of a chain of delegation:

[0041] L --> S --> A

[0042] Using the reference signs used above, L denotes the lock owner, S denotes the emergency service provider and A denotes the service provider agent. Hence, this chain of delegations starts in the lock owner, and proceeds from the lock owner, to the emergency service provider, and to the service provider agent. When this delegation is valid, the service provider agent A is delegated access, indirectly, by the lock owner L.

[0043] Each arrow is a delegation and each delegation is a data item which can be communicated over a digital communication channel and can be stored in memory.

Each delegation contains (references to) a delegator and a delegatee. All delegations can use the same data format, making extensions to the delegation chain or structure of delegations simple, thereby improving flexibility in the delegation chain. Moreover, by employing the same data format for all the delegations, it is easier and more consistent for the lock device, which eventually checks the validity of the delegation chain, to check the delegations in the delegation chain.

[0044] The delegation can be cryptographically signed by the delegator, using any suitable signing algorithm and a private key of the delegator. The signature can be verified using a public key (corresponding to the private key) of the delegator. The cryptographical signature can be appended to the delegation.

[0045] In the following, a signed delegation is indicated by a double line delegation. For instance, the following denotes a delegation from the emergency service provider S to the service provider agent A, where the delegation is cryptographically signed by emergency service provider S.

[0046] S ==> A

[0047] When the service provider agent arrives and needs the lock device to unlock, the service provider agent (or more specifically, a device of the service provider agent) transmits at least the last delegation in the chain of delegations to the lock device. In one embodiment, only the first delegation (from the lock device) is stored in the lock device. All later delegations in the chain of delegations are transmitted from the service provider agent.

[0048] According to embodiments herein, a delegation can also contain an emergency condition, stipulating that access should only be granted when an emergency situation occurs. Such a delegation is here denoted (e:ET), where ΈT’ denotes one or more emergency types that are valid for grant to be granted.

[0049] The following example denotes a delegation from the lock owner to an individual, e.g. neighbour, where the delegation is an emergency delegation that access should only be granted when there is break-in (BI) or fire (F),

[0050] L — (e:BI, F)--> C

[0051] A slightly more detailed example is a delegation to an emergency service provider, the police (Sp) in this case, with the condition that access is only granted when there is a break-in:

[0052] L — (e:BI)—> Sp ==(e:BI)==> A

[0053] In the delegation chain, when there is an emergency delegation, any further delegations after the emergency delegation are also emergency delegations.

[0054] When the service provider agent A arrives at the lock device, the service provider agent A sends an access request to the lock device 10. The service provider agent A also provides, from the chain of delegations, the delegation by the emergency service provider Sp (the police in this case).

[0055] The lock device 10 also obtains the first delegation, from the lock owner L to the coordinator, e.g. from local memory or from the service provider agent A.

[0056] The use of the chain of delegations allow the lock device 10 to verify the authority of any service provider agent A or individual I, to thereby determine whether the lock device 10 should change state to allow access to a privileged function that is defined in the emergency delegation, e.g. by setting itself in an unlocked state to allow access to the restricted space 16. The privileged function could also be e.g. to find out whether there are persons in the property. This verification is based on the delegations of the delegation chain, i.e. data provided by the service provider agent A and optionally locally stored data. Hence, the lock device 10 does not need to have network access to perform this verification. Furthermore, the lock determines when an emergency situation occurs by communicating with an external entity X. The external entity can e.g. be a smart home system which can contain e.g. an alarm system, a fire detector, water leak sensors, health detection system, etc.

[0057] Fig 2 is a flow chart illustrating method for controlling access to a physical space. The method being performed in a lock device.

[0058] In a receive access request step 40, the lock device receives an access request from an electronic key. The electronic key can e.g. belong to the service provider agent A or the individual I of Fig 1.

[0059] In an obtain delegations step 42, the lock device obtains a plurality of delegations. As explained above, each delegation is a delegation from a delegator to a delegatee. The plurality of delegations collectively form a chain of delegations. For each link in the chain, when two delegations are chained together, the delegatee of one delegation is the delegator of the next delegation.

[0060] At least part of the delegations in chain of delegations can be received from the electronic key. In one embodiment, all delegations (in the chain of delegations), except the first delegation (by the lock owner) are received from the electronic key.

[0061] In a determine emergency delegation step 44, the lock device determines that a delegation in the chain of delegations is an emergency delegation. As mentioned above, the emergency delegation indicates that access should only be granted when an emergency situation occurs, at the site of the physical space. The emergency delegation can specify an emergency situation which is a necessary condition for granting access with this delegation. Moreover, the emergency delegation optionally specifies an address with which to communicate to determine whether the emergency situation occurs.

[0062] In a determine when emergency situation occurs step 46, the lock device determines when an emergency situation (currently) occurs. The type of emergency situation can e.g. be any one of break-in, fire, water leak, health emergency. Health emergency can e.g. be if a person has fallen down or is critically ill. In such a situation, ambulance personnel or care workers may need access. The detection of health emergency can e.g. be based on accelerometer data of a wearable device indicating that a person has fallen down or has not moved for a period of time longer than a threshold time. Alternatively or additionally, the health emergency can be determined if a person presses a health alarm button, e.g. on a bracelet or other wearable device. Alternatively or additionally, the health emergency can be based on health sensors, e.g. pulse meters, etc. The emergency situation can be determined by the lock device (1) communicating with a sensor device (e.g. fire detector, wearable device, water leak detector, etc.) in the physical space. Alternatively ore additionally, the emergency situation can be

determined by communicating with a monitoring device (e.g. fire detector, wearable device, water leak detector, etc.) hub within the physical space or remote server) collecting data one or more sensor devices (in the physical space. Such a device can e.g. be a smart home system hub.

[0063] Optionally, the lock device finds a mapping between the one or more emergency situations specified in the emergency delegation and one or more monitoring devices, to derive which monitoring device(s) to communicate with to determine if an emergency situation currently occurs.

[0064] Optionally, the emergency situation is determined to currently occur a predefined time after a detected event. For instance, the emergency situation of a break- in may be considered to occur for two hours after a burglary alarm is triggered. After a fire alarm is triggered, the emergency situation may be considered to occur for six hours, etc. Alternatively or additionally, the emergency situation is inactivated (in the system) by a person who has been given the emergency delegation. For instance, a care worker has entered a home to help a person who has fallen down. After the person has been helped and is in a stable, safe situation, the care worker can deactivate the emergency situation, securing the lock again to a normal state and may leave.

[0065] In a grant access when authorised step 48, the lock device grants access to the physical space, or to a privileged lock function, when the chain of delegations starts in the lock device and ends in the electronic key and when the emergency situation (e.g. specified in the emergency delegation) occurs.

[0066] Fig 3 is a schematic diagram illustrating components of the lock device 10 of Fig 1. A processor 60 is provided using any combination of one or more of a suitable central processing unit (CPU), multiprocessor, microcontroller, digital signal processor (DSP), etc., capable of executing software instructions 67 stored in a memory 64, which can thus be a computer program product. The processor 60 could alternatively be implemented using an application specific integrated circuit (ASIC), field programmable gate array (FPGA), etc. The processor 60 can be configured to execute the method described with reference to Fig 2 above.

[0067] The memory 64 can be any combination of random-access memory (RAM) and/or read only memory (ROM). The memory 64 also comprises persistent storage, which, for example, can be any single one or combination of magnetic memory, optical memory, solid-state memory or even remotely mounted memory.

[0068] A data memory 66 is also provided for reading and/ or storing data during execution of software instructions in the processor 60. The data memory 66 can be any combination of RAM and/or ROM.

[0069] The lock device further comprises an I/O interface 62 for communicating with external entities, such as a key device. Optionally, the I/O interface 62 also includes a user interface.

[0070] Other components of the lock device 10 are omitted in order not to obscure the concepts presented herein.

[0071] Fig 4 shows one example of a computer program product 90 comprising computer readable means. On this computer readable means, a computer program 91 can be stored, which computer program can cause a processor to execute a method according to 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 explained above, the computer program product could also be embodied in a memory of a device, such as the computer program product 64 of Fig 3. While the computer program 91 is here schematically shown as a track on the depicted optical disk, the computer program can be stored in any way which is suitable for the computer program product, such as a removable solid-state memory, e.g. a Universal Serial Bus (USB) drive.

[0072] Here now follows a list of embodiments from another perspective,

enumerated with roman numerals.

[0073] i. A method for controlling access to a physical space using an emergency delegation, the method being performed in a lock device and comprising the steps of: receiving an access request from an electronic key;

obtaining a plurality of delegations, wherein each delegation is a delegation from a delegator to a delegatee, the plurality of delegations collectively forming a chain of delegations wherein when two delegations are chained together, the delegatee of one delegation is the delegator of the next delegation;

determining that a delegation in the chain of delegations is an emergency delegation, the emergency delegation indicating that access should only be granted when an emergency situation occurs;

determining when an emergency situation occurs; and

granting access to the physical space when the chain of delegations starts in the lock device and ends in the electronic key; and when the emergency situation of the occurs.

[0074] ii. The method according to embodiment i, wherein one or more types of emergency situation are specified in the emergency delegation.

[0075] iii. The method according to embodiment ii, wherein the type of emergency situation is any one of break-in, fire, water leak, health emergency.

[0076] iv. The method according to any one of the preceding embodiments, wherein the step of determining when an emergency situation occurs comprises communicating with a smart home system.

[0077] v. A lock device for controlling access to a physical space using an emergency delegation, the lock device comprising:

a processor; and

a memory storing instructions that, when executed by the processor, cause the lock device to:

receive an access request from an electronic key;

obtain a plurality of delegations, wherein each delegation is a delegation from a delegator to a delegatee, the plurality of delegations collectively forming a chain of delegations wherein when two delegations are chained together, the delegatee of one delegation is the delegator of the next delegation;

determine that a delegation in the chain of delegations is an emergency delegation, the emergency delegation indicating that access should only be granted when an emergency situation occurs;

determine when an emergency situation occurs; and

grant access to the physical space when the chain of delegations starts in the lock device and ends in the electronic key; and when the emergency situation occurs. [0078] vi. The lock device according to embodiment v, wherein one or more types of emergency situation are specified in the emergency delegation.

[0079] vii. The lock device according to embodiment vi, wherein the type of emergency situation is any one of break-in, fire, water leak, health emergency.

[0080] viii. The lock device according to any one of embodiments v to vii, wherein the instructions to determine when an emergency situation occurs comprise instructions that, when executed by the processor, cause the lock device to: communicate with a smart home system.

[0081] ix. A computer program for controlling access to a physical space using an emergency delegation, the computer program comprising computer program code which, when run on a lock device causes the lock device to:

receive an access request from an electronic key;

obtain a plurality of delegations, wherein each delegation is a delegation from a delegator to a delegatee, the plurality of delegations collectively forming a chain of delegations wherein when two delegations are chained together, the delegatee of one delegation is the delegator of the next delegation;

determine that a delegation in the chain of delegations is an emergency delegation, the emergency delegation indicating that access should only be granted when an emergency situation occurs;

determine when an emergency situation occurs; and

grant access to the physical space when the chain of delegations starts in the lock device and ends in the electronic key; and when the emergency situation occurs.

[0082] x. A computer program product comprising a computer program

according to embodiment ix and a computer readable means on which the computer program is stored.

[0083] The aspects of the present disclosure have 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.