LIGHTING DEVICE FOR COMMUNICATION WITH A MOBILE DEVICE

DE502016016708D1Inactive Publication Date: 2024-09-26OSRAM GMBH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
DE502016016708
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Priority Date
2015-11-13
Filing Date
2016-11-03
Publication Date
2024-09-26
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing lighting devices that communicate with mobile terminals lack secure data transmission methods, allowing third parties to intercept and misuse identification data for services, thereby undermining the exclusivity of infrastructure-financed services.

Method used

Incorporating a data storage unit with a stored key for encryption, a program-controlled computing unit for encryption operations, and a sending unit to encrypt measured value and identification data before transmission to the mobile terminal, ensuring secure communication through light-based channels with separate forward and reverse channels.

Benefits of technology

This solution prevents unauthorized access and misuse of data by third parties, maintaining the exclusivity of infrastructure-financed services and ensuring secure data transmission between lighting devices and mobile terminals.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader
Need to check novelty before this filing date? Find Prior Art

Description

[0001] The invention relates to a lighting device for communication with a mobile terminal according to the preamble of patent claim 1. Furthermore, the invention relates to a lighting system with such a lighting device. Furthermore, the invention relates to a method for operating a lighting device according to the preamble of patent claim 14.

[0002] A lighting device that communicates with a mobile terminal is known, for example, from WO 2015 / 148696 A1. This discloses techniques for position-based actions using light-based communication. Furthermore, EP 1 263 150 B1 discloses a data transmission system with a local beacon that, on the one hand, is in communication connection with controlling and / or information-transmitting infrastructure devices, for example a central service server or the Internet, and / or with one or more other local beacons, and that, on the other hand, contains a combined transmitting / receiving device or, in special cases, only a pure transmitting device for wireless communication with one or more terminals located in its vicinity, and that is arranged in, on, or at the location of an electrical lighting device.The local beacon is provided with an intelligently operated storage and / or processing functionality relating to the data to be transmitted wirelessly, wherein the storage functionality of the local beacon consists in holding information so that this information can then be repeatedly provided to users equipped with a suitable terminal device without having to be retrieved from the infrastructure facilities each time, and the processing functionality consists in outsourcing certain processing operations that would otherwise be carried out in a central processing unit of the infrastructure facilities or in the terminal device itself to the local beacon.

[0003] The communication channels known from the state of the art, in particular the communication channel via a light emitted by a luminaire, can be used by third parties to create their own services.

[0004] It is therefore an object of the present invention to provide a lighting device, a lighting system and a method by which a more secure transmission of data from the lighting device to a mobile terminal can be ensured.

[0005] This object is achieved by a lighting device having the features of patent claim 1, a lighting system having the features of patent claim 8 and by a method having the features of patent claim 14. Advantageous developments of the present invention are the subject of the dependent claims.

[0006] The invention is based on a lighting device for communication with a mobile terminal, comprising a light source and an electronic operating device for operating the light source. In addition to a lighting-technically effective component in the form of a lamp, the lighting device can comprise further components arranged outside the actual lamp. The light source can be an LED or a low-pressure discharge lamp (fluorescent lamp). The electronic operating device can comprise a program-controlled processing unit, for example in the form of a microprocessor or a microcontroller.

[0007] According to the invention, the lighting device is further developed in that it further comprises a data storage unit in which a first key is stored in a reserved memory area, an encryption unit designed to read the first key from the reserved memory area and to convert measured value data and / or identification data intended for transmission to the mobile terminal into a message encrypted with the first key according to a predeterminable encryption operation, and a transmission unit designed to send the encrypted message to the mobile terminal. The encryption unit is advantageously implemented on a program-controlled computing unit.The encryption operation is defined by a mathematical formula for generating an encrypted ciphertext from an unencrypted plaintext by mapping the plaintext onto the ciphertext. The resulting mapping function depends on the initial key used for the encryption operation.

[0008] The inventors recognized that dynamic measurement data and / or static identification data emitted by a lighting device can be read and used by any user. The data, especially the identification data, can thus be read by a third party and entered into their own maps, creating a link between the identification data and, for example, the position. This allows services to be developed by third parties without having to build their own lighting system comprising individual lighting devices with corresponding information and transmission sources, or without having to contribute to the costs of the specific infrastructure. Thus, this service is no longer exclusive to the person who finances the infrastructure, i.e., the lighting devices or the lighting system.Therefore, according to the invention, the transmission of measurement data and / or identification data is not statically open, but rather carried out in encrypted form. This prevents a third-party provider from using the existing infrastructure to incur the expense of building their own infrastructure, which they require to provide their services.

[0009] The storage of one or more initial keys intended for later local use in connection with the installation location of the respective lighting device when installed in a lighting system can already take place during the production of the lighting device.

[0010] Storing one or more initial keys can be done together with programming the identification data, such as a luminaire ID. The luminaire ID can be used not only to commission and locate a lighting device at a specific location, but also to assign keys.

[0011] According to an advantageous development, the lighting device can have an interface which is designed to provide write access to the reserved memory area. In this way, additional or initial alternative keys can be imported subsequently, i.e. after production of the lighting device, which supplement or replace the existing key set. New keys can thus be imported into the lighting device, particularly during operation. This can be done manually via a wired or wireless interface. An existing lighting control network is particularly suitable for this purpose, since only a small volume of data needs to be transferred to import a new key. A further advantage of using an existing lighting control network is that it is not publicly accessible.

[0012] According to an advantageous development, the interface is part of the electronic operating device, wherein the electronic operating device is designed, during intended operation of the lighting device, to operate the light source as a function of a control signal fed into the interface. The interface can preferably be designed as a wired interface, in particular as a two-wire interface. The interface can preferably be a DALI interface or a powerline interface. An I2C interface or a USB interface can also be provided. Alternatively, the interface can be designed as a wireless interface, in particular as a radio interface. The interface can preferably be designed as a WLAN interface, Bluetooth interface, or ZigBee interface.It can also be provided that the wireless interface is designed as an infrared interface.

[0013] Radio-based transmitting and receiving units coupled to the lighting device can be used to import the keys. Beacons coupled to the lighting device, particularly the lighting device's operating device, are suitable for this purpose. These can also be used as data receivers and thus offer a data path for key distribution. The receivers can establish a wireless network (mesh) among themselves, whereby it may be sufficient to import the keys collectively at one access point, particularly at a single access point. Such an access point can be implemented, for example, by a gateway that has a data-technical connection between the wireless network and an existing network, such as a public network. Provision can be made for the keys to be transmitted from a server to the local gateway.It can also be provided that the keys are transmitted to the gateway on a mobile device.

[0014] According to a further advantageous embodiment, the lighting device has a transceiver unit, in particular a radio beacon, wherein the transceiver unit is designed to provide write access to the reserved memory area. The transceiver unit can be used particularly advantageously, when light-based communication is used for communication with the mobile terminal, to provide a return channel via which the mobile terminal can send data back to the lighting device. The advantage of such a separation of the forward channel and the reverse channel into two different physical channels thus offers increased protection against possible unauthorized access to the transmitted data.

[0015] According to an advantageous development, the transmitting unit is formed by the transmitting / receiving unit, with the data storage unit and the encryption unit being formed on components of the transmitting / receiving unit. The transmitting / receiving unit can thus be implemented by a beacon, which, in addition to sending the message to the mobile device, also provides a return channel for transmitting data to the lighting device.

[0016] The transceiver units also transmit a static, unprotected luminaire ID. To protect this luminaire ID for these transceiver units, the same key distribution method can be used. However, the key is advantageously not passed directly to the luminaire, in other words, to the electronic control gear that operates the light source, but is stored directly within the transceiver units. Thus, the data exchange between the luminaire (the control gear) and the transceiver unit is unencrypted, while the data traffic between the transceiver unit and the mobile device is encrypted.

[0017] According to a further advantageous embodiment, the transmitting unit comprises the illuminant, which is designed to transmit the message by means of light-based communication, wherein the data storage unit and the encryption unit are formed on components of the electronic operating device. The light-based communication preferably covers the same solid angle that is specified according to the primary purpose of the lighting device for illumination with the illuminant, namely achieving a predeterminable brightness in the respective effective range of the lighting device. In particular, it can be provided that the light-based communication takes place by means of light in the same wavelength range as the light emitted by the illuminant for the primary purpose of illumination.

[0018] Communication via light essentially provides a very secure channel, as access to this channel is only possible with direct line of sight to the light source. It thus represents a point-to-point connection and thus offers a very secure channel that is largely protected against unauthorized access from outside.

[0019] According to a further advantageous embodiment, the reserved memory area comprises a plurality of first keys, wherein the encryption unit is configured to use one of the plurality of first keys for the encryption operation depending on a key activation signal that can be provided to the lighting device. The key activation signal can be provided centrally by an external key server or controlled according to a predetermined assignment rule depending on a clock or calendar function.

[0020] Alternatively, the lighting device itself can select the key to be activated. This can be done cyclically, for example, by activating the keys in the order in which they are stored in the reserved memory area. Likewise, a key can be randomly selected from the existing key set. The times at which a new key from the existing key set is activated can occur at consistent, predefined intervals. Alternatively, the activation time of a new key can be randomly controlled.

[0021] A lighting system preferably comprises at least one lighting device according to the invention, wherein the lighting system further comprises a central key server that is in communication with the at least one lighting device, resulting in a lighting system according to the invention. The central key server is advantageously available for the distribution and management of the keys assigned to the at least one lighting device.

[0022] According to an advantageous development, the key server is designed to send a key generation signal to the at least one lighting device via the communication connection, wherein the at least one lighting device is designed to generate an individual local second key depending on the key generation signal received via the communication connection. Particularly preferably, it can be provided that the at least one lighting device is designed to include a key previously used as a first key for use in the encryption operation to generate a new local key, so that a new key is generated on the lighting device based on this key generation principle by providing a single generation key transported via the key generation signal.Particularly if the lighting system comprises a large number of lighting devices, this ensures that by providing a single central generation key to each lighting device, an individual local key is generated in each of the respective lighting devices. The previously first key in the lighting devices can thus be used as a so-called "seat key." When key generation is triggered by the central key server, the key generation signal can be sent to all lighting devices. Ideally, this process is carried out at times when the lighting system is not in use or when there is little or no data traffic, for example, at night.

[0023] According to an advantageous development, the at least one lighting device is designed to start a timer with an individually predeterminable expiration period at the time the individual local second key is generated, and after the timer has expired, to report the second key as the new first key used for the encryption operation to the key server via the communication connection. This allows the data volume generated during the feedback of the new keys to be distributed over a wider time window, thereby avoiding a temporary overload of the communication, which can be provided in particular by a network for lighting control. Thus, an individual time offset between the generation and activation of a new key can be defined.To avoid having to communicate an individual time offset between the signal for new key generation and the transmission of the new key to the key server to each lighting device, this time offset can be programmed into the lighting device during manufacture. Alternatively, a specific luminaire ID or manufacturer number, which is fixed for each lighting device, can be used as the basis for determining an individual time offset.

[0024] According to a further advantageous embodiment, the at least one lighting device is designed to generate an individual local second key depending on a timer internal to the lighting device. Instead of a central request for key generation, a local, individual, randomly controlled key generation can thus take place. This random control can be triggered via internal counters that start with random values. The time base can be selected so that key generation can take place within hours, days, or weeks. As soon as a new key has been generated, it can be transmitted to the central key server. As long as the key server has not yet received and assigned the key, it is advantageous if the old key is temporarily retained to ensure uninterrupted data provision.The old and new keys are known on the key server and can therefore be made available for a request for both a message encrypted with the old key and a message encrypted with the new key.

[0025] According to a further advantageous embodiment, the at least one lighting device comprises a first and a second lighting device, wherein the central key server is designed to generate a first individual key and to send it via the communication connection in such a way that the first individual key is written in the memory area of ​​the first lighting device reserved for the first key, and to generate a second individual key and to send it via the communication connection in such a way that the second individual key is written in the memory area of ​​the second lighting device reserved for the first key, wherein the second individual key is different from the first individual key.In this case, there is no central key for key distribution that is uniformly valid for all lighting devices, but rather an individual key for each lighting device. This requires individual key assignment. It is important to send the correct key to the intended lighting device. This can be done via a routing table that maps all lighting devices locally. This routing table lists the possible communication paths through which a key can be transferred to the correct location.

[0026] Preferably, the communication connection can be implemented via a lighting management system or a building management system. The interface to the respective lighting management system or building management system can be a DALI interface, ZigBee interface, WLAN interface, Bluetooth interface, KNX interface, LON interface, or Ethernet interface.

[0027] According to a further advantageous embodiment, the at least one lighting device comprises a plurality of lighting devices, in particular a first and a second lighting device, wherein the respective transmitting units of the plurality of lighting devices are designed as transmitting / receiving units for bidirectional communication, and wherein the plurality of lighting devices are designed to jointly operate a mesh network via the respective transmitting / receiving units for communication between the individual lighting devices of the plurality of lighting devices. In this way, the lighting devices can establish a wireless network (mesh) with each other, wherein the key provision can take place at an access point in the form of a gateway.

[0028] The invention further relates to a method for operating a lighting device by communication with a mobile terminal. According to the invention, the method is further developed by storing a first key in a reserved memory area of ​​a data storage unit of the lighting device, reading the first key from the reserved memory area, converting measured value data and / or identification data intended for transmission to the mobile terminal according to a predefinable encryption operation into a message encrypted with the first key, and sending the encrypted message to the mobile terminal via a transmission unit of the lighting device. The method can be used advantageously in particular for lighting devices that do not have a return channel accessible during normal operation of the lighting device.Particularly advantageously, it can be provided that the first key is programmed into the data storage unit of the lighting device during its manufacture. In particular, it can be provided that the first key is stored before the lighting device is put into operation for its intended purpose. Particularly preferably, it can be provided that the first key is stored before the lighting device is mounted in a lighting system, i.e., before the system is installed. This circumvents the problem that light does not have a direct return channel for standard lighting. Therefore, conventional methods based on the principle of bidirectional communication cannot be used.

[0029] According to an advantageous development, the method comprises using one of a plurality of first keys contained in the reserved memory area for the encryption operation depending on a key activation signal provided to the lighting device. Such a key activation signal can be provided, for example, by a central key server via a communication channel, for example, via a lighting control network. The key activation signal can be configured to merely contain the request to generate a new key.It can also be provided that the key activation signal itself already includes a key, in particular a generation key, which is designed to be used with an already existing first key on the lighting device according to a predeterminable generation rule to calculate a new first key. In this way, by transmitting a single, uniform central generation key, a plurality of individual keys can be generated on different lighting devices within a lighting system.

[0030] According to a further advantageous embodiment, the method comprises sending a key generation signal via a communication connection to the lighting device by a key server, and, depending on the key generation signal received via the communication connection, generating a local individual key by the lighting device for use for the encryption operation.

[0031] The advantages and features, as well as embodiments, described for the lighting device according to the invention apply equally to corresponding methods and vice versa. Consequently, corresponding method features can be provided for device features and vice versa.

[0032] The features and feature combinations mentioned above in the description, as well as the features and feature combinations mentioned below in the description of the figures and / or shown alone in the figures, can be used not only in the respective combinations specified, but also in other combinations or on their own, without departing from the scope of the invention. Thus, embodiments that are not explicitly shown or explained in the figures, but which emerge and can be produced through separate feature combinations from the explained embodiments, are also to be considered disclosed by the invention.

[0033] Further advantages and features will become apparent from the following description of exemplary embodiments, taking into account the accompanying figures. In the figures, identical reference numerals designate identical features and functions.

[0034] They show: Fig. 1 shows a simplified schematic representation of a lighting system with local client-based decryption, Fig. 2 shows a simplified schematic representation of a lighting system with an asymmetric cryptosystem, Fig. 3 shows a simplified schematic representation of a lighting system with server-based decryption, Fig. 4 shows a simplified schematic representation of the application and transport of the keys according to a first embodiment of the invention for use in a lighting system, Fig. 5 shows a simplified schematic representation of an exemplary key distribution via a wireless network for key distribution constructed using a beacon functionality according to a second embodiment of the invention for use in a lighting system, Fig.Fig. 6 is a schematic representation of a simplified example of symmetric encryption of a luminaire identification number and its decryption, Fig. 7 is a simplified schematic representation of an exemplary composition of an encrypted message, Fig. 8 is a simplified schematic representation of the selection of a key for use in the invention, Fig. 9 is a simplified schematic representation of an exemplary assignment of meaning to the signaling bits for rotation and direction of rotation of a key for use with the invention, Fig. 10 is a simplified schematic representation of the generation of new keys by bit-by-bit rotation of an existing key for use with the invention, and Fig. 11 is a simplified schematic representation of the generation of a new key from two existing keys for use with the invention.

[0035] A lighting system 100 comprises at least one luminaire 12, for example in the form of a ceiling light. The luminaire 12 comprises a light source 13. The lighting system 100 further comprises a mobile terminal 14.

[0036] The lighting system 100 may further comprise, independently of one another and in any combination, at least one of the following components: a beacon 16, a WLAN router 18, and a server unit 20. A beacon 16, which is in a direct data connection with the luminaire 12, as well as the illuminant 13 and an associated operating device (driver), is considered part of the respective lighting device.

[0037] The light source 13 can be designed for light-based communication. This is suitable, for example, for navigation inside buildings, so-called indoor navigation. Light-based indoor navigation is based on the transmission of a light ID (LID), which can be received and detected using the mobile device 14. For this purpose, the light ID is modulated into the luminous flux – invisible to the human eye. In order to detect the signal with the mobile device 14, a line-of-sight connection must exist between the detector, for example a camera of the mobile device 14, and the light source 13, which represents the modulated light source. The light ID is filtered out of the light by the mobile device 14 and demodulated.

[0038] The invention is based on the further finding that transmitting units which are used for the local emission of signals containing location-specific measured value data and / or identification data often do not have a return channel, as is the case with light-based communication via the illuminant 13, whereby encryptions based on bidirectional communication cannot be used.

[0039] The light ID itself can directly contain position information of the light source or be determined indirectly via a look-up table. For this purpose, the light ID and position information of the light source are assigned in the look-up table. To further increase positioning accuracy, an optical evaluation can be performed using an image sensor (camera). For this purpose, the different angles at which the image sensor receives the various light IDs are determined. From three different light IDs, a unique position in space can thus be determined via triangulation. The own position of the receiver, for example the camera, in the mobile terminal 14 is determined in the receiver using sensors (3D acceleration sensors) in order to detect its own position and compensate for any resulting position-dependent error in the position determination.

[0040] In addition to the position information, any other metadata, such as location-specific measurement data provided by the luminaire 12, can be linked to the light ID. The lookup table can be stored as an integrated part of an application running on the mobile device 14 or stored on the external server unit 20 accessed by the mobile device 14.

[0041] Conversely, the lookup table can also record dynamic information, for example, which mobile device 14 requested which position information. This allows a dynamic movement profile to be recorded (tracking) and saved with a timestamp (tracing). This movement information forms the basis for a wide variety of location-based services and analyses.

[0042] There are various wireless radio-based systems such as WLAN or Bluetooth that can be used for indoor positioning. The position of the transmitter (WLAN access point) in the Fig. 1 This is represented by an optional WLAN router 18 or a beacon 16—also known as a beacon in Bluetooth-based radio systems—and based on the received signal strength (RSSI), the distance between the transmitter and the mobile receiver can be estimated. At least three different transmission sources are required for a clear positioning determination (trilateration).

[0043] To make matters worse, the light ID, which can be an identification number for a light, for example, always assumes a static value. The same applies to (transmitting) beacons 16, which, for the sake of simplicity, is described below using the example of a light ID (hereinafter used synonymously with light ID) and the associated encryption. If a fixed light ID is encrypted with a fixed encryption key EKey, a fixed code sequence is created, namely the encrypted message Code. This fixed code sequence can also be used as a pseudo-ID. A pseudo-ID-based positioning system can be set up without knowing the actual underlying light ID.

[0044] According to the invention, the light ID is not transmitted statically openly in the lighting system 100, but encrypted. A particular challenge is that light does not have a direct return channel for standard lighting. Therefore, traditional methods based on the principle of bidirectional communication cannot be used. Fig. 1 various ways are shown of how a decryption key DKey can be obtained for decrypting an encrypted message code, which is provided via the illuminant 13 by means of light-based communication.

[0045] To prevent unauthorized use, changing encryption keys EKey can be used. Thus, the signal transporting the encrypted message Code changes with each new encryption key EKey. If, for example, the encryption key EKey is changed weekly, it is not worthwhile for an unauthorized user to repeatedly convert their parasitic application to the new pseudo-IDs. For this purpose, a series of encryption keys EKey[1...m] can be maintained in the lighting system 100, which are then used according to a predetermined pattern. The currently active encryption key EKey[n] and the pattern must then be kept synchronized on the transmitting and receiving sides.

[0046] When using symmetric cryptography, the first key, i.e. the encryption key EKey, and the second key, i.e. the decryption key DKey, are identical.

[0047] Below, a dependency of the encryption key EKey on location is denoted by Ekey[loc], a dependency of the encryption key EKey on time is denoted by Ekey[temp], and a dependency of both time and location is denoted by EKey[temp,loc]. For example, EKey[n,loc] denotes a currently activated encryption key used for the encryption operation of the respective local lighting devices, which share the same key—in the extreme case, this denotes a single lighting device each, if all lighting devices within the lighting system use their own keys. In the latter case, loc represents a running index from 1 to the number of individual lighting devices in the lighting system.

[0048] An encryption key EKey[n-1,loc] denotes a key that was active before the encryption key EKey[n,loc] and has been replaced by the latter. Similarly, EKey[n+1,loc] denotes an encryption key that is not yet active but is intended to replace the current encryption key EKey[n,loc].

[0049] The same applies to decryption keys DKey, which - unless they are identical when using symmetric encryption - must be assigned to the respective encryption key EKey.

[0050] For client-side decryption, i.e., decryption on the mobile device 14, the mobile device 14 requires the decryption key DKey to decrypt the encrypted message Code. The decryption key DKey can already be part of the application that runs on the mobile device, for example, as a smartphone app.

[0051] Alternatively, the decryption key DKey can be provided to the mobile terminal 14 or the application running thereon during operation. The decryption key DKey can be provided i.) via an external server unit 20, whereby either a locally valid decryption key DKey[loc], which is assigned individually for each luminaire 12, or a global decryption key DKey, which is the same for all luminaires 12 within the lighting system 100 but may only be valid for a limited time, can be provided. According to ii.), the decryption key DKey can be provided via the luminaire 12 itself. Additionally or alternatively, according to iii.), the decryption key DKey can be provided via a local information source, for example, via the beacon 16 or via the WLAN router 18.

[0052] Preferably, it can be provided that a key provided locally is also only valid locally. The decryption key DKey is provided only after prior authentication of the mobile device 14 and for a limited time. The decryption key DKey is transmitted via secure connections, for example, Bluetooth or WLAN.

[0053] Encryption can also be done as shown in Fig. 2 individually for each mobile device 14. For this purpose, the mobile device 14 generates a key pair consisting of a public key PuKey and a private key PrKey, wherein in a first step the public key PuKey is transmitted to the light 12. The public key PuKey can be transmitted to the light 12, for example, via the beacon 16, the WLAN router 18, or the server unit 20. The identification data ID is encrypted by the light 12 and sent via the light source 13, so that only the mobile device 14, which has the associated private key PrKey, can decrypt this identification data ID.

[0054] A data connection between the server unit 20 and the lamp 12 is as shown in the Fig. 2 via a lighting management system or building management system 21.

[0055] A server-side decryption and retransmission to the mobile terminal 14 is in the Fig. 3 The encrypted message code is transmitted to the server unit 20 and decrypted there. From there, the identification data ID obtained from the encrypted message code is transmitted back to the mobile terminal 14. This has the advantage that the encryption can be modified as required and the decryption key DKey does not have to be transmitted to multiple local terminals 14 or other comparable clients, thus creating a more secure system. The identification data ID can be used locally to activate additional services, such as lighting control.

[0056] To further increase security, "local authentication" can be performed. Additional local signals and information sources can be used to ensure that requests to server unit 20 with the local identification data ID are actually made locally and that the data is not read by third parties, for example, through automated queries. Local authentication LocAuth can be performed, for example, by performing a location verification VerLoc on server unit 20 via beacon 16 or WLAN router 18.

[0057] With server-side decryption of the encrypted message Code, position information Pos can also be sent directly back to the mobile device 14. For this purpose, the encrypted message Code is transmitted to the server unit 20 and decrypted there using the decryption key DKey. Furthermore, the identification data ID is converted into the position information Pos, whereby the position information Pos also represents any other data that can be uniquely assigned to the identification data ID. Thus, the position data Pos can be considered representative of any other data that can be assigned to the light 12. The position data Pos (or other data that can be assigned to the light 12) is then transmitted back to the mobile device 14.The advantage of this embodiment is that on the side of the mobile terminal 14 no connection can be established between the encrypted message code and the unencrypted identification data ID, since only the encrypted message code is known to the mobile terminal 14.

[0058] The transmission of an encryption key EKey into a luminaire 12 is in the Fig. 4 The transmission of the encryption key EKey can, for example, occur statically during the production of the respective luminaire 12. The storage of one or more local encryption keys EKey in a luminaire 12 or in a driver 11 (operating device) of a luminaire 12 can already occur during production. In particular, the transmission of the local encryption key EKey can occur together with the programming of a luminaire ID in the form of the identification data ID. Based on the identification data ID, the key assignment can also take place during commissioning and localization of a luminaire 12 at a specific position.

[0059] During operation of a luminaire 12 in a lighting system 100, the transmission of an encryption key EKey can also occur dynamically. During operation, new encryption keys EKey can be loaded into the driver 11 of the luminaire 12. The loading can take place manually via a wired or wireless interface.

[0060] An existing lighting control network is particularly suitable for this purpose, as it generally requires only minimal data and is a private network. This lighting control network is accessible via a building or lighting management system 21 with appropriate authorization. For example, the server unit 20 can access the building or lighting management system 21 as a key server.

[0061] Radio-based transmitting and receiving units connected to the driver 11, such as the beacon 16, which in this case is conveniently designed for bidirectional radio transmission, can also be used to import the EKey encryption keys. Beacons connected to the light driver 11 are suitable for this purpose. These can also be used as data receivers and thus also as a data path for key distribution. The transmitting and receiving units in the form of the bidirectionally operating beacons 16 can establish a wireless network (mesh) among themselves, so that a gateway 22 is provided at just one access point of this wireless network, where the EKey encryption keys can be imported.

[0062] In the Fig. 5 , several lights 12 and several beacons 16 are shown, forming a wireless communication network. Such a network is referred to as a mesh network. The gateway 22 is provided for access to this wireless communication network. The distribution of the decryption keys DKey to the various lights 12 occurs according to the meshing of the network, from one beacon 16 to a subsequent beacon 16 in the mesh network.

[0063] The encryption keys EKey can be transmitted from a server unit 20 to the local gateway 22 or transmitted to the gateway 22 via the mobile terminal 14.

[0064] Likewise, it can also be provided to transmit the encryption key EKey to a transceiver unit, for example, a bidirectionally operable beacon 16. Such transceiver units can also transmit static identification data ID that is not protected. To protect the identification data ID in these transceiver units as well, the same key distribution method can be used. However, the decryption key DKey is not passed on to the light 12, but is used directly by the transceiver units (beacon 16).

[0065] If a central encryption key EKey is not to be used that is uniformly valid for all luminaires 12 and / or transmitting-receiving units, but individual encryption keys EKey are to be distributed for each luminaire 12 / transmitting-receiving unit, it can be provided for the addressing of the decryption keys DKey during distribution, to assign the keys individually, as in the Fig. 2 shown. It is important to send the correct encryption key EKey to the intended luminaire 12 or the transceiver units (which are considered part of the lighting device with which they are in direct communication). This can be done via a routing table where all luminaires 12 or transceiver units are mapped locally. This routing table shows the possible communication paths via which an encryption key EKey can be brought to the correct position. The synchronization of the key selection and sequence can be achieved through time synchronization, which requires a uniform time base on both sides. This has the disadvantage that both components (transmitter and receiver) require a synchronous clock, which entails considerable effort.

[0066] The synchronization of the keys can advantageously be carried out via the data stream of the encrypted message Code itself. For this purpose, in addition to the actual encrypted identification data ID, additional signaling bits x are used in a signaling bit sequence KeySig of the encrypted message Code, as shown in the Fig. 6 These signaling bits x can be used to inform the receiver which of the respective decryption keys DKey[1...m] must be used for decryption.

[0067] According to the presentation in the Fig. 6 A luminaire ID with the binary value 1010101 can be encoded with an encryption key EKey with the binary value 1110000 using an XOR operation to obtain the binary value 0100101. A signaling bit sequence KeySig consisting of three signaling bits x is also appended to the encoded value, which tells the receiver which key to use to decrypt the message Code. The example shown is a form of symmetric encryption, where the encryption key EKey is equal to the decryption key DKey. The bitwise application of an XOR operator to the message Code and the decryption key DKey results in the original luminaire ID L-ID.

[0068] Fig. 7 shows an example of the information that can be provided to a recipient of an encrypted message using a KeySig signaling bit sequence. For example, the bit sequence can signal that encryption is active (EncryptionActive), reference a key underlying the current encryption from a pool of available keys (KeySelection), and indicate a possible shift of the respective initial key through a bitwise rotation into a predefined number of bits with a predefined direction (Shift&Direction).

[0069] Fig. 8 shows the possibility of selecting the respective key from a pool of predefined keys Key_000, Key_001, Key_010, Key_011 ... Key_111 depending on the signaling bit sequence KeySig. With a number N = 3 of the signaling bits x, this results in N < = 8 possible keys over 2.

[0070] Furthermore, the generation of a unique encryption key EKey can be carried out in the local light 12, in particular in its driver 11, or in the respective local transmitting-receiving unit, representatively in the Fig. 5 represented by the beacons 16. If the encryption keys EKey[loc] are generated locally and these individually generated local encryption keys EKey[loc] are transmitted to the server unit 20 for management, the complexity is significantly reduced, as there is only one receiver and thus no routing table needs to be created and maintained. Each luminaire 12 transmits its own individually generated encryption key EKey[loc] together with the respective fixed identification data ID assigned to the luminaire 12. Instead of the identification data ID, the exact local position of the luminaire 12 can also be transmitted, where this key is used. In this way, a table is created on the server unit 20 which contains the local keys and the individual identification data ID or the position of the luminaire 12 / the beacon 16 (transmitting-receiving unit).

[0071] To further protect the lighting system 100, the key generation can be triggered by the server unit 20. For this purpose, a signal is sent to all beacons 16 / lights 12 / transceiver units, as shown in the Fig. 5 Ideally, this process is performed at times when the lighting system 100 is not in use or when there is little or no data traffic, for example, at night. Thus, on the server unit 20 side, the encryption key EKey[temp] changes only once, while the luminaires 12 or the beacons 16 then locally generate an independent encryption key EKey[temp,loc] from it.

[0072] To distribute the data volume generated when the new encryption key (EKey) is returned, an individual time offset can be defined. To avoid having to communicate an individual time offset between the signal for new key generation and the transmission of the new encryption key (EKey) to the server unit 20 to each unit—that is, the components integrated into the mesh network, such as the light 12, beacons 16, and other transmit / receive units such as the WLAN router 18, each of which has its own key generator—which would entail considerable addressing and communication overhead, this time offset can be programmed into the respective devices during manufacture.

[0073] Alternatively or additionally, a permanently stored individual identification number or manufacturer number can be used as an offset. This means that not all participants in the network change the encryption key (EKey) at the same time, but rather activate it at a later time and then transmit it. The key can thus be generated and activated separately.

[0074] The number N of signaling bits x determines the number of possible keys m = 2 N< . For N = 8, this results in a selection of m=256 different keys, or for N = 3 as in the Fig. 8 m = 8. To further increase the number of keys, but not allow the number of signaling bits x to increase further or to further reduce the address space for the actual identification data ID, entire groups of keys can be used, addressed via the signaling bits x. Using 256 groups of 100 keys each, this results in 25,600 different keys. With a transmission rate of 100 milliseconds per encrypted identification data ID, a key would repeat every 2,560 seconds, or approximately every 42 minutes, so reading it would take a correspondingly long time.

[0075] To further increase the protection of the lighting system 100, instead of a central key generation request, a local, individual, randomly controlled key generation can also be performed. This random control can be triggered via internal counters that start with random values. The time base can be selected so that key generation can occur within hours, days, or weeks. As soon as a new local encryption key EKey[n+1,loc] is generated, it is transmitted to the server unit 20.

[0076] As long as the server unit 20 has not yet received and assigned the new individual encryption key EKey[n,loc], in other words, an individual local second key, it is advantageous if the old encryption key EKey[n-1,loc], in other words, the previous first key, is temporarily retained to ensure uninterrupted service. The old and new encryption keys EKey[n-1,loc], EKey[n,loc] are known on the server unit 20 and can thus, for example, answer both an old and a new query for the identification data ID.

[0077] To detect and locate unauthorized service requests or location requests, the "old" encryption keys EKey[n-1,loc], EKey[n-2,loc], EKey[n-2,loc], etc., can continue to be stored on the server unit 20, creating a key history. If a query is made for identification data ID that was encrypted with an outdated encryption key EKey[n-2,loc], this is an indication that this is unauthenticated access. This can lead to further measures, such as the targeted deactivation of a possibly outdated app on the mobile device 14 that does not yet support encryption, or the offering of a new app version. Likewise, the mobile device 14 that is performing the unauthenticated access can be localized.

[0078] Alternatively or additionally, the signaling bits x can be distributed locally via another channel, for example via a beacon 16 connected to the respective driver 11 of a luminaire 12 or via a mobile radio channel between the server unit 20 or the mobile terminal 14 and the luminaire 12.

[0079] The effort required to access such a lighting system 100 without knowledge of the decryption key DKey can be further increased if the validity of the decryption keys DKey is made locally dependent, i.e., a specific set of decryption keys DKey[loc] is only valid for parts of the lighting system 100 within a specific room. A beacon 16 can thus be used to determine a rough location. From this, it can be deduced which decryption key DKey[loc] is valid in this area.

[0080] In order to restrict the access possibilities to a static luminaire ID by static encryption keys EKey - especially in the case of symmetric encryption - in addition to increasing the number N of keys and rotating these keys, the key itself can also be Fig. 9 The length of the key and the number and type of key shifts determine the additional encryption space. Assuming that the identification data ID is 10 bits and the key is also 10 bits long, the key repeats after ten steps in a shift register. For the example above, this means that each of the 100 keys can be used ten times before it repeats. This increases the time until a key repeats to 420 minutes.

[0081] By increasing the key length from 10 bits to 1024 bits, the duration also increases linearly to 1,224 times (1,024 * 420 minutes = 7,168 hours = approximately 300 days).

[0082] New keys can be created from existing keys by combining them. If a key Key_1 is linked to another key Key_2 using a calculation rule, for example an XOR operation, a new key Key_12 is created as shown in the Fig. 11 With 100 keys, 4,950 new keys can be generated (N * (N-1) / 2) where N = number of keys). In this more advanced example, this would increase the time until the same message code, which contains the encrypted identification data (ID), is repeated approximately 50 times, or 15,000 days or 41 years.

[0083] These methods for encrypting a luminaire ID as identification data ID can also be extended to data that could also be transmitted via light and can be transmitted securely using this method.

[0084] Fig. 9 shows possible operations that can be applied to an existing key. For example, the left bit can indicate that a key should be shifted to the left (key shift left, KSL) and / or the right bit in the signaling bit sequence KeySig can indicate that the key should be shifted to the right (key shift right, KSR). In fact, at the bit level, shifting means rotating the bits in a shift register, where a bit shifted out of the shift register is pushed back in on the opposite side. The middle bit can be used to indicate that a predefined algorithm Calc should be executed to change the key or the parameters for applying a calculation rule.

[0085] Fig. 10 shows how, starting from an initial key Key0, a first key Key1, a second key Key2, a third key Key3, a fourth key Key4, and so on are generated by bitwise rotation of the key. Applying the first key Key1 to the identification data ID thus results in a first message Code_1; applying the second key Key2 to the identification data ID accordingly results in a second message Code_2, and so on.

[0086] Fig. 11 Finally, shows how the new key Key_12 can be generated from the key Key_1 and the key Key_2 by bitwise application of an XOR operator.

[0087] The exemplary embodiments serve merely to illustrate the invention and are not limiting. In particular, the allocation of the data storage unit, the encryption unit, and the transmission unit within the lighting device can be configured as desired without departing from the spirit of the invention.

[0088] Thus, it has been shown above how a key transport for the encryption of location-based information can be designed to ensure protected communication.

Claims

1. Lighting device (12) for the encrypted transmission of measurement data and / or identification data (ID) to a mobile device (14), comprising: - a light source (13), and - an electronic control device (11) for operating the light source (13), - a data storage unit in which a first key (EKey) is stored in a therefore reserved memory area, - an encryption unit which is configured to read a first key (EKey) from the reserved memory area and to convert measurement data and / or identification data (ID), which are intended for transmission to the mobile device (14), into a message (code) encrypted with the first key (EKey) in accordance with a predeterminable encryption operation, and - a transmission unit (13, 16) for local transmission of signals which contain the measurement data and / or identification data and which has no return channel, and which is configured to transmit the encrypted message (code) to the mobile device (14), wherein: - a plurality of first keys (EKey) is stored in the reserved memory area, - the encryption unit reads a first key from the reserved memory area, wherein the first keys are used according to a predefined pattern, - the first key is dependent on the location and / or time, - the lighting device comprises an interface having write access to the reserved memory area for changing the plurality of first keys, and - the encrypted transmission of an identification number of a luminaire (ID) to a mobile device (14) takes place for the purpose of position determination.

2. The lighting device (12) according to claim 1, characterized in that that the lighting device comprises an interface which is configured for write access to the reserved memory area.

3. The lighting device (12) according to claim 2, characterized in that in that the interface is part of the electronic control device (11), the electronic control device (11) being configured to operate the light source (13) as a function of a control signal fed in at the interface when the lighting device (12) is operating as intended.

4. The lighting device (12) according to any one of the preceding claims, characterized in that the lighting device (12) comprises a transceiver unit (16), in particular a radio beacon, the transceiver unit (16) being configured for write access to the reserved memory area.

5. The lighting device (12) according to claim 4, characterized in that in that the transmission unit (13, 16) is formed by the transceiver unit (16), wherein the data storage unit and the encryption unit are formed on components of the transceiver unit (16).

6. The lighting device (12) according to any one of claims 1 to 5, characterized in that in that the transmission unit (13, 16) comprises the light source (13), which is configured to transmit the message (code) by means of light-based communication, the data storage unit and the encryption unit being formed on components of the electronic control device (11).

7. The lighting device (12) according to any one of the preceding claims, characterized in that the reserved memory area comprises a plurality of first keys (EKey), wherein the encryption unit is configured to use one of the plurality of first keys for the encryption operation in dependence on a key activation signal that can be provided to the lighting device (12).

8. A lighting system (100) with at least one lighting device (12) according to any one of the preceding claims, wherein the lighting system (100) further comprises a central key server (20) which is in a communication connection with the at least one lighting device (12).

9. The lighting system (100) according to claim 8, characterized in that the key server (20) is configured to send a key activation signal to the at least one lighting device (12) via the communication connection, the at least one lighting device (12) being configured to generate an individual local second key as a function of the key activation signal received via the communication connection.

10. The lighting system (100) according to claim 9, characterized in that the at least one lighting device (12) is configured to start a timer with an individually predeterminable expiry duration at the time of generation of the individual local second key, and to report the second key as a new first key used for the encryption operation to the key server (20) via the communication connection after the timer has expired.

11. The lighting system (100) according to claim 8, characterized in that the at least one lighting device (12) is configured to generate an individual local second key as a function of a timer internal the lighting device.

12. The lighting system (100) according to claim 8, characterized in that the at least one lighting device (12) comprises a first and a second lighting device, the central key server (20) being configured to generate a first individual key and to transmit it via the communication connection in such a way that the first individual key is written to the memory area of the first lighting device reserved for the first key (EKey), and to generate a second individual key and to transmit it via the communication connection in such a way that the second individual key is written to the memory area of the second lighting device reserved for the first key (EKey), the second individual key being different from the first individual key.

13. The lighting system (100) according to any one of the preceding claims 10 to 14, characterized in that the at least one lighting device (12) comprises a plurality of lighting devices, in particular a first and a second lighting device, the respective transmission units (13, 16) of the plurality of lighting devices being configured as transceiver units for bidirectional communication, and the plurality of lighting devices being configured to jointly operate a mesh network via the respective transceiver unit for communication between the individual lighting devices of the plurality of lighting devices.

14. A method for operating a lighting device (12) for the encrypted transmission of measurement data and / or identification data (ID) to a mobile device (14), comprising: - Storing a plurality of first keys in a memory area reserved for this purpose in a data storage unit of the lighting device, - Reading a first key (EKey) from the reserved memory area, wherein the first keys are used according to a predetermined pattern, and wherein the first key is dependent on location and / or time, - Conversion of measurement data and / or identification data (ID), which are intended for transmission to the mobile device (14), into a message (code) encrypted with the first key (EKey) in accordance with a predeterminable encryption operation, and - Transmission of the encrypted message (code) to the mobile device (14) by a transmission unit (13, 16) of the lighting device (12) for local emission of signals which contain the measurement data and / or identification data and which has no return channel, wherein the encrypted transmission of an identification number of a luminaire to a mobile device is carried out for the purpose of determining its position.

15. The method according to claim 14, characterized by: - utilizing one of a plurality of first keys (EKey) comprising the reserved memory area for the encryption operation in response to a key activation signal provided to the lighting device (12).

16. The method according to claim 14 or 15, characterized by: - transmission of a key activation signal via a communication connection to the lighting device (12) by a key server (20), and - generating, in response to the key activation signal received via the communication connection, a local individual key by the lighting device (12) for use in the encryption operation.