Method for associating a gateway and a device in a communication network, and associated device

The method secures device association and data exchange in communication networks by using a device-specific code to generate a cryptographic key and identifier for encrypted transmission, addressing security gaps in existing methods.

JP2026538992APending Publication Date: 2026-11-19LEGRAND FRANCE SA +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2026523131
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-10-30
Filing Date
2024-10-21
Publication Date
2026-11-19

AI Technical Summary

Technical Problem

Existing methods for associating devices with communication networks lack effective security measures during the data exchange phase, particularly when new devices are installed and need to communicate with network control devices.

Method used

A method involving a gateway and a device that utilizes a unique device-specific code to generate a cryptographic key and identifier, encrypts this information, and transmits it securely over the network, ensuring secure association and subsequent data exchange using point-to-point encryption.

Benefits of technology

Ensures secure exchange during association and subsequent data transmission by encrypting the initial transmission with a device-specific code and using a unique identifier, enhancing network security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026538992000001_ABST
    Figure 2026538992000001_ABST
Patent Text Reader

Abstract

The present invention relates to a method for associating a gateway (101) and a device (103a-c) in a communication network, wherein the device's memory includes a device-specific code. The method includes: reading the device-specific code (201); providing the device-specific code to the gateway (202); generating an encryption key and a device identifier (203) by the gateway, the identifier being unique in the communication network and constituting the address of a device on the network; encrypting a message containing the encryption key and the identifier, the encryption being a function of the device-specific code; broadcasting the encrypted message; receiving and decrypting the encrypted message by the device; encrypting the data to be transmitted by the gateway using the encryption key; and transmitting the encrypted data to the device in point-to-point mode by the gateway using the identifier, the transmission of the encrypted data to the device by the gateway being performed in point-to-point mode using the identifier.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] A method for association between a gateway and a device in a communication network, and an associated device are described

BACKGROUND ART

[0002] In many applications, installation of a device in a network may involve risks to the security of data associated with this installation. This is particularly true when a new device has to exchange data with a network control device during the association phase of the new device.

[0003] There is a need for an effective association method that takes these aspects into account.

SUMMARY OF THE INVENTION

[0004] One or more embodiments relate to a method for association between a gateway and a device in a communication network, the gateway and the device are configured to communicate with each other, the device has a memory, the memory of the device has a unique code specific to the device, and the method comprises a) reading the unique code specific to the device, b) providing the unique code specific to the device to the gateway, characterized in that c) generating, by the gateway, a cryptographic key and an identifier of the device, wherein the identifier is unique in the communication network and constitutes the address of the device on the network d) encrypting, by the gateway, a message comprising the cryptographic key and the identifier, wherein the encryption is a function of the unique code specific to the device e) broadcasting, by the gateway, the encrypted message over the communication network f) receiving, by the device, the encrypted message g) The device decrypts the encrypted message using a device-specific code, h) Transmitting encrypted data between the gateway and the device, the transmission of encrypted data by the gateway to the device being performed in point-to-point mode using an identifier, including sending data.

[0005] Therefore, the exchange during the association process and the subsequent data exchange are secure.

[0006] The transmitting encryption key is sent by the gateway as soon as the device is associated, simultaneously with the assignment of an identifier to this device. This transmission itself is encrypted using a code unique to the device. However, this unique code is no longer used to encrypt subsequent exchanges, which are then encrypted using the transmitting encryption key.

[0007] According to one or more exemplary embodiments, device-specific code is provided to the gateway via the user.

[0008] According to one or more embodiments, a device-specific code is associated with the device in a way that is visible to the user, and the provision of the code to the gateway is - User code input via the gateway's user interface, and - Includes one of the following: reading a code using a user-operated reading device, and sending the code from the reading device to a gateway.

[0009] According to one or more exemplary embodiments, the device-specific code is a fixed random code stored by the device.

[0010] According to one or more exemplary embodiments, the gateway and the device are: -Within the same power strip, or - They are integrated into separate power strips.

[0011] According to one or more exemplary embodiments, the method includes applying a random algorithm to generate a cryptographic key.

[0012] According to one or more exemplary embodiments, the method includes applying a first algorithm for encrypting and decrypting a message and a second algorithm for encrypting and decrypting data.

[0013] According to one or more embodiments, the first algorithm and the second algorithm are 128-bit AES algorithms.

[0014] According to one or more embodiments, the device-specific code is: - In plain text, or - Provided to the encrypted gateway.

[0015] One or more embodiments also relate to a system comprising a gateway and at least one device, wherein the gateway and at least one device are configured to communicate with each other, and each gateway and at least one device comprises its own processor, its own memory, and its own software code, wherein a given memory of the at least one device contains code specific to that given device, and the gateway and at least one device are configured to implement one of the methods described.

[0016] According to one or more embodiments, the gateway and devices are integrated within a separate power strip.

[0017] One or more embodiments also relate to a method for associating a gateway and a device in a communication network, wherein the gateway and the device are configured to communicate with each other, and the method is a) The gateway receives a device-specific code, which is provided to the gateway by the user. It has the following characteristics: b) The gateway generates an encryption key and a device identifier, the identifier being unique within the communication network and constituting the address of a device on the network. c) The gateway encrypts a message including an encryption key and an identifier, wherein encryption is a function of a device-specific code, d) The gateway broadcasts encrypted messages over the communication network, e) The gateway uses an encryption key to encrypt the data to be transmitted. This includes, and, by using an identifier, the gateway transmitting encrypted data to the device in point-to-point mode.

[0018] According to one or more embodiments, a device-specific code is associated with the device in a way that is visible to the user, and the provision of the code to the gateway is - User code input via the gateway's user interface, and - Includes one of the following: reading a code using a user-operated reading device, and sending the code from the reading device to a gateway.

[0019] One or more embodiments also relate to a gateway in a system of communication devices comprising devices other than the gateway, wherein the gateway is configured to communicate with the devices, and the gateway comprises a processor and memory containing software code, the processor being configured to implement one of the described methods when executing the software code.

[0020] One or more embodiments relate to a computer program product that, when the program is executed by a processor of a device, causes the device to implement at least one of the described methods.

[0021] One or more embodiments relate to a storage medium readable by a device comprising a processor, the medium containing instructions that, when the program is executed by the processor of the device, cause the device to implement at least one of the described methods. [Brief Description of the Drawings]

[0022] Further features and advantages will become apparent from the following detailed description, which may be understood with reference to the accompanying drawings. [Figure 1] 1 is a block diagram of a system comprising a gateway and one or more devices according to one or more embodiments. [Figure 2] 1 is a sequence diagram illustrating a communication method according to one or more embodiments. [Figure 3] 1 is a functional block diagram of a device according to one or more exemplary embodiments. [Mode for Carrying Out the Invention]

[0023] In the following description, identical, same, or similar elements are referred to by the same reference numerals.

[0024] The block diagrams, flowcharts, and message sequence diagrams in the drawings illustrate the architecture, functionality, and operation of systems, devices, methods, and computer program products according to one or more exemplary embodiments. Each block in a block diagram or each step in a flowchart may represent a module or portion of software code containing instructions for implementing one or more functions. According to a particular embodiment, the order of blocks or steps may be changed, or corresponding functions may be implemented in parallel. Blocks or steps of a method may be implemented, in whole or in part, using circuits, software, or a combination of circuits and software in a centralized or distributed manner. The described systems, devices, processes, and methods may be modified or added and / or deleted, while remaining within the scope of this disclosure. For example, components of a device or system may be integrated or separated. Similarly, disclosed features may be implemented using more or fewer components or steps, or together with other components, or even by other steps. Any suitable data processing system may be used for implementation. A suitable data processing system or device may be, for example, a combination of software code and circuits such as a processor, controller, or other circuitry suitable for executing the software code. This includes combinations. When the software code is executed, the processor or controller prompts the system or device to implement all or part of the functions of the blocks and / or steps of a process or method according to an exemplary embodiment. The software code may be stored in memory or a readable medium accessible by the processor or controller directly or through other modules.

[0025] Figure 1 is a schematic diagram of system 100 according to one or more embodiments. The illustrated system includes a gateway 101 connected to an external communication network (not shown) by connection 106. The system further comprises one or more power strips 102a-102c. Each power strip comprises control modules 103a-103c and one or more electrical outlets (104a_1-104a_i, 104b_1-104b_j, 104c_1-104c_k, where i, j, and k are integers of 0 or greater). The role of modules 103a-103c is to ensure communication with gateway 101. Depending on the implementation, the modules may also have the role of controlling the electrical outlets of the power strip in which the modules are integrated. A communication bus 107 linking gateway 101 and the control modules of power strips 102a-102c is schematically shown in Figure 1. It is possible to communicate with all control modules of the system via the gateway.

[0026] Each of the power strips 102a to 102c is associated with its own code, which is referenced in 105a to 105c. This code uniquely distinguishes one power strip from another. This code is associated with the power strip, for example, during manufacturing.

[0027] The code can be accessed by the user directly or via a reading device. For example, the code may be easily accessible for each power strip. This can take the form of numbers, barcodes, or QR codes (registered trademarks) on the power strip itself or in documentation associated with the power strip. In the exemplary system shown in Figure 1, the quick response code is attached to each power strip 102a-102c in the form of a label.

[0028] In the example shown in Figure 1, the gateway 101 and power strips 102a-102c are separate devices. However, it is also possible to integrate the gateway into one of the power strips.

[0029] Element 108 in Figure 1 functions as a communication vector from codes 105a to 105c to gateway 101. This element may vary depending on the implementation.

[0030] For example, element 108 is a natural person (such as an operator, installer, or user) who reads a code and provides it to the gateway via a suitable user interface. For example, the code is entered into the gateway's web page via a computer (not shown) connected to the gateway. According to another embodiment, the person uses a reading device that, after reading the code, transmits it to the gateway, for example, via a wireless link. This device is, for example, a handheld device with barcode, quick response code, or plain text reader capabilities. For example, the device is a mobile phone or tablet with a camera and a dedicated application. According to another embodiment, element 108 operates completely automatically.

[0031] The gateway-specific code is provided securely (e.g., encrypted) or in plain text. The fact that this communication is mediated by a person ensures a certain level of security. The device-specific code is provided for handheld devices such as those mentioned above. When communication is conducted using this tool, the communication can be encrypted. This is particularly useful for wireless communication.

[0032] The communication bus 107 may be wired or wireless. A wired bus may use, for example, an RS485 cable. Connection 106 may be, for example, an Ethernet-type wired connection, but may be of different nature depending on the circumstances.

[0033] According to certain terminology, a gateway may also be called a "node," and 103a-c modules may also be called "bases." A power strip is also called a "distribution unit" (PDU). An outlet is also called a "socket."

[0034] The code unique to each module 103a-c is, for example, a 128-bit installation code defined by the ZigBee standard (registered trademark) and stored in the module during manufacturing.

[0035] Figure 2 is a sequence diagram showing a method according to one or more exemplary embodiments between gateway 101, module 103x, and element 108.

[0036] According to 201 and 202, a code specific to module 103x is provided to the gateway. In the illustration, this provision is made via element 108, which may be a user or a user with an appropriate device.

[0037] In step 203, the gateway determines the transmission encryption key and module identifier 103x.

[0038] The transmitting encryption key is used to encrypt and decrypt communication between the gateway and module 103x. For example, it is a symmetric key.

[0039] According to one embodiment, for example, a 128-bit "AES" key is used.

[0040] For example, the transmission encryption key may be randomly generated by the gateway.

[0041] The module identifier is used to uniquely identify a module on the communication bus 107. This identifier constitutes the address of module 103x on the network.

[0042] This identifier can be generated, for example, by taking the value of a counter long enough to account for the maximum number of modules on bus 107, and incrementing for each module 103x.

[0043] In step 204, the gateway transmits the encrypted encryption key and identifier to module 103x. This transmission is performed, for example, by broadcasting a message containing this information over the communication bus 107, and this message is encrypted using a code unique to module 103x as the encryption key. Only module 103x possessing this code can decrypt the message and obtain the transmitted encryption key and identifier.

[0044] In one variation, the encryption key is derived from a code specific to module 103x using an algorithm known to both the gateway and module 103x.

[0045] At step 205, module 103x confirms receipt of the message. At this point, module 103x is considered to be associated with gateway 101.

[0046] The gateway can then use the identifier to send a message to module 103x in point-to-point mode. Module 103x can identify the message based on this identifier, which is used as the destination address. Both the gateway and module 103x use the transmit encryption key to encrypt and decrypt at least the payload of the exchanged message (206).

[0047] Figure 3 is a block diagram of a device 300 comprising a processor 301, memory 302, a communication interface 303, and a communication bus 304 connecting these components. The memory 302 contains software code 305. The device may include other functional components. The communication interface is adapted to communicate over one or more media (wireless network, wired network, etc.) depending on the function of the device 300. When the processor 301 executes the software code, it causes the device to implement one of the described methods, or one of the described methods from the perspective of a particular device. For example, device 300 is a simple possible implementation for communication modules 103a-c or gateway 101. The communication module communicates with the outlets of its power strip in a manner known by itself.

Claims

1. A method for associating a gateway (101) and devices (103a-c) in a communication network, wherein the gateway and the devices are configured to communicate with each other, the devices have a memory, the memory of the devices has a code specific to the devices, and the method is a) Reading the code specific to the device (201), b) Providing the device-specific code to the gateway (202), It has the following characteristics: c) The gateway generates an encryption key and an identifier for the device (203), wherein the identifier is unique in the communication network and constitutes the address of the device on the network. d) Encrypting a message including the encryption key and the identifier by the gateway, wherein the encryption is a function of the code specific to the device, e) The gateway broadcasts the encrypted message over the communication network (204), f) The device receives the encrypted message, g) The device decrypts the encrypted message using the code specific to the device, A method comprising transmitting encrypted data using the encryption key between the gateway and the device, wherein the transmission of the encrypted data by the gateway to the device is performed in point-to-point mode using the identifier.

2. The method according to claim 1, wherein the code specific to the device is read and provided via the user.

3. The code specific to the device is associated with the device in a way that is visible to the user, and the provision of the code to the Gateway is - Code input by the user via the gateway's user interface, The method according to claim 2, comprising: reading the code using a reading device operated by the user; and transmitting the code from the reading device to the gateway.

4. The method according to any one of claims 1 to 3, wherein the code specific to the device is a fixed random code stored by the device.

5. The gateway and the device are - Within the same power strip or - The method according to any one of claims 1 to 4, which is integrated within separate power strips.

6. The method according to any one of claims 1 to 5, comprising applying a random algorithm to generate the encryption key.

7. The method according to any one of claims 1 to 6, comprising applying a first algorithm for encrypting and decrypting the message and a second algorithm for encrypting and decrypting the data.

8. The method according to claim 7, wherein the first algorithm and the second algorithm are 128-bit AES algorithms.

9. The code specific to the aforementioned device is, - In plain text, or - The method according to any one of claims 1 to 8, provided to a gateway to be encrypted.

10. A system comprising a gateway (101) and at least one device (103a to c), wherein the gateway and the at least one device are configured to communicate with each other, the gateway and the at least one device each comprise their respective processors, their respective memories, and their respective software code, the memory of one of the at least one device comprises code specific to that given device, and the gateway and the at least one device are configured to implement the method according to any one of claims 1 to 9.

11. The system according to claim 10, wherein the gateway and the device are integrated within a separate power strip.

12. A method for associating a gateway (101) and a device (103a) in a communication network, wherein the gateway and the device are configured to communicate with each other, and the method is a) The gateway (202) receives a code specific to the device, the code being provided to the gateway by the user, It has the following characteristics: b) The gateway generates an encryption key and an identifier for the device (203), wherein the identifier is unique in the communication network and constitutes the address of the device on the network. c) The gateway encrypts the message including the encryption key and the identifier, wherein the encryption is a function of the code specific to the device, d) The gateway broadcasts the message encrypted by the gateway over the communication network (204), e) A method comprising: the gateway encrypting the data to be transmitted using the encryption key (206); and the gateway transmitting the encrypted data to the device in point-to-point mode using the identifier.

13. The code specific to the device is associated with the device in a way that is visible to the user, and the provision of the code to the Gateway is - Code input by the user via the gateway's user interface, The method according to claim 12, comprising: reading the code using a reading device operated by the user; and transmitting the code from the reading device to the gateway.

14. A gateway (101) in a communication device system comprising devices other than the gateway (103a), wherein the gateway is configured to communicate with the devices. A gateway (101) comprising a processor and a memory containing software code, wherein the processor is configured to implement the method according to any one of claims 12 or 13 when executing the software code.