Equipment management system, equipment management apparatus, relay apparatus, equipment management method, and program
The device management system addresses the issue of unauthorized device operation by associating and managing device and user identification information across networks, ensuring secure and authorized device control.
Patent Information
- Application Number
- PCT/JP2023/020152
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-05-30
- Publication Date
- 2024-12-05
AI Technical Summary
Existing device management systems lack effective mechanisms to prevent unauthorized operation of devices, particularly when the ownership of a relay device is changed, leading to potential inappropriate device control.
A device management system that associates device identification information, relay device identification information, and user identification information, storing them in a storage unit to ensure that only authorized users can operate devices, by transmitting and managing these identifiers across different networks to prevent unauthorized access.
The system effectively prevents inappropriate operations by users other than the identified owner by managing relay device identification information and user identification information in association, ensuring secure device control.
Smart Images

Figure JP2023020152_05122024_PF_FP_ABST
Abstract
Description
Equipment management system, equipment management device, relay device, equipment management method and program
[0001] The present disclosure relates to a device management system, a device management device, a relay device, a device management method, and a program.
[0002] A system has been proposed that includes a relay device that can connect to multiple devices and a device control device connected to the relay device (see, for example, Patent Document 1). In this system, the relay device searches for devices connected to the relay device and transmits address information of the found devices to the device control device. The device control device manages the address information of the found devices received from the relay device in association with the address information of the relay device. In response to a user input, the device control device transmits a control message to the relay device that includes address information of a device that controls one of the found devices. The relay device converts the control message received from the device control device into a control message addressed to the device using a predetermined method and transmits the control message to the device.
[0003] JP 2010-204808 A
[0004] Incidentally, in the system described in Patent Document 1, there is a demand for associating a relay device with a user of a device, so that when, for example, the owner of the relay device is changed, the device control device can be restricted from controlling the device via the relay device, thereby preventing the device from being operated inappropriately.
[0005] The present disclosure has been made in consideration of the above-mentioned reasons, and aims to provide a device management system, a device management device, a relay device, a device management method, and a program that can prevent devices from being operated inappropriately.
[0006] In order to achieve the above object, a device management system according to the present disclosure includes: a first relay device capable of communicating with a device via a first network; a device management device capable of communicating with the first relay device via a second network different from the first network and managing the device; and a terminal device capable of communicating with the first relay device via the first network, wherein the device management device has a device information storage unit that stores device identification information that identifies the device, first relay device identification information that identifies the first relay device, and user identification information that identifies a user of the device, in association with each other, and transmits device search request information to the first relay device, requesting a search for the device that can communicate with the first relay device via the first network, and receives first device information including the device identification information and the first relay device identification information transmitted from the first relay device. and stores the device identification information and the first relay device identification information included in the acquired first device information in the device information storage unit in association with each other, and when acquiring the user identification information, the first relay device identification information, and device identification information transmitted from the terminal device, stores the acquired user identification information, the first relay device identification information, and device identification information in the device information storage unit in association with each other; when the first relay device acquires the device search request information, it transmits device information request information to the device that can communicate with the first relay device via the first network, requesting the device to transmit second device information including the device identification information, thereby acquiring the second device information transmitted from the device via the first network, generates first device information including the device identification information and the first relay device identification information included in the acquired second device information, and transmits it to the device management device; when it acquires relay device information request information transmitted from the terminal device, requesting the first relay device to transmit relay device information including the first relay device identification information, it transmits the relay device information to the terminal device; When the relay device information is acquired, the first relay device identification information included in the acquired relay device information, the device identification information included in the acquired first device information, and the user identification information are transmitted to the device management device.
[0007] According to the present disclosure, when a relay device receives relay device information request information transmitted from a terminal device, it transmits the relay device information to the terminal device. When the terminal device receives the relay device information, it transmits the first relay device identification information and user identification information included in the received relay device information to a device management device. Then, when the device management device receives the user identification information and the first relay device identification information transmitted from the terminal device, it stores the received user identification information and the first relay device identification information in a device information storage unit in association with each other. This allows the first relay device identification information and the device identification information to be managed in association with the user identification information, thereby preventing a device identified by the device identification information from being improperly operated by a user other than the user identified by the user identification information associated with the device identification information.
[0008] Schematic configuration diagram of a device management system according to a first embodiment of the present disclosure. Block diagram showing a hardware configuration of a device management system according to the first embodiment. Block diagram showing a functional configuration of a device management system according to the first embodiment. Diagram showing an example of information stored in a device information storage unit according to the first embodiment. Diagram showing an example of information stored in a device information storage unit according to the first embodiment. Sequence diagram showing the operation of the device management system according to the first embodiment. Sequence diagram showing the operation of the device management system according to the first embodiment. Sequence diagram showing the operation of the device management system according to the first embodiment. Flowchart showing an example of the flow of relay processing performed by a relay device according to the first embodiment. Flowchart showing an example of the flow of device management processing performed by a cloud server according to the first embodiment. Schematic configuration diagram of a device management system according to a second embodiment of the present disclosure. Block diagram showing a functional configuration of a device management system according to the second embodiment. Diagram showing an example of information stored in a device information storage unit according to the second embodiment. 3 is a sequence diagram showing the operation of a device management system according to the third embodiment; FIG. 4 is a sequence diagram showing the operation of a device management system according to the third embodiment; FIG. 5 is a flow chart showing an example of the flow of relay processing performed by a relay device according to the third embodiment; FIG. 6 is a block diagram showing the functional configuration of a device management system according to the third embodiment; FIG. 7 is a diagram showing an example of information stored in a communication quality storage unit according to the third embodiment; FIG. 8 is a sequence diagram showing the operation of a device management system according to the third embodiment;
[0009] A device management system according to an embodiment of the present disclosure will be described below with reference to the accompanying drawings. The device management system according to the embodiment includes a first relay device capable of communicating with devices via a first network, a device management device capable of communicating with the first relay device via a second network different from the first network and controlling the devices, and a terminal device capable of communicating with the first relay device via the first network. The device management device has a device information storage unit that stores device identification information that identifies the device, first relay device identification information that identifies the first relay device, and user identification information that identifies the user of the device, in correspondence with each other.The device management device acquires first device information including the device identification information and first relay device identification information transmitted from the first relay device by transmitting device search request information to the first relay device, requesting a search for the device that can communicate with the first relay device via the first network, and stores the device identification information and first relay device identification information contained in the acquired first device information in correspondence with each other in the device information storage unit.The device management device also acquires user identification information and relay device identification information transmitted from the terminal device, and stores the acquired user identification information and relay device identification information in correspondence with each other in the device information storage unit. When the first relay device acquires the device discovery request information, it transmits device information request information to devices that can communicate with the first relay device via the first network, requesting that the devices transmit second device information including device identification information, thereby acquiring the second device information transmitted from the devices via the first network, generating first device information including the device identification information contained in the acquired second device information and transmitting it to the device management device, and when it acquires relay device information request information transmitted from the terminal device, requesting that the first relay device transmit relay device information including the first relay device identification information, it transmits the relay device information to the terminal device. When the terminal device acquires the relay device information, it transmits the first relay device identification information and user identification information contained in the acquired relay device information to the device management device.
[0010] As shown in FIG. 1 , the device management system according to this embodiment includes a cloud server 2 and a relay device 1 that acquires control information transmitted from the cloud server 2 and transmits the acquired control information to a device 3. The cloud server 2 is capable of communicating with the relay device 1 via a wide area network NW1 and a gateway device 8, and is a device management device that manages the device 3. The device 3 and the relay device 1 can communicate with each other via local area networks NW21 and NW22. The wide area network NW1 is, for example, the Internet. The local area networks NW21 and NW22 are, for example, wireless local area networks (LANs). Furthermore, a terminal device 4 owned by a user can communicate with the cloud server 2 via the wide area network NW1.
[0011] The device 3 is, for example, an air conditioner equipped with a wireless module, and communicates with the relay device 1 via the local networks NW21 and NW22 using communication middleware such as ECHONET Lite (registered trademark). When the device 3 receives device information request information from the relay device 1, the device 3 transmits device information including device identification information that identifies the device itself to the relay device 1 in response to the request. Here, the device identification information is, for example, IP address information assigned to the device 3 within the local networks NW21 and NW22 to which the device 3 belongs. The device 3 also transmits device status information indicating its own status to the cloud server 2 via the relay device 1. When a preset device status notification time arrives, the device 3 generates device status information in response to the request and transmits the generated device status information to the cloud server 2 via the relay device 1.
[0012] The terminal device 4 is, for example, a smartphone, and as shown in FIG. 2 , includes a CPU (Central Processing Unit) 401, a main memory 402, an auxiliary memory 403, a display 404, an input unit 405, a wide-area communication unit 406, a local communication unit 407, and a bus 409 connecting these units to one another. The main memory 402 has a volatile memory such as a RAM (Random Access Memory) and is used as a work area for the CPU 401. The auxiliary memory 403 is a non-volatile memory such as a semiconductor flash memory and stores programs for the CPU 401 to execute various processes. The display 404 is a display device such as a liquid crystal display or an organic EL (Electro-Luminescence) display. The input unit 405 is, for example, a transparent touchpad placed on top of the display 404. The local communication unit 407 is connected to the local networks NW21 and NW22 and transmits information transferred from the CPU 401 to the relay device 1 via the local networks NW21 and NW22, and forwards information received from the relay device 1 via the local networks NW21 and NW22 to the CPU 401. The local communication unit 407 communicates with the relay device 1 based on a first communication protocol conforming to, for example, the ECHONET Lite standard. The wide area communication unit 406 is connected to the wide area network NW1 and transmits information transferred from the CPU 401 to the cloud server 2 via the wide area network NW1, and forwards information received from the cloud server 2 via the wide area network NW1 to the CPU 401. Note that the first communication protocol is not limited to the communication protocol conforming to the ECHONET Lite standard, and a preset communication protocol dedicated to the device management system according to this embodiment may be used. The wide area communication unit 406 communicates with the cloud server 2 based on a second communication protocol such as HTTP (Hypertext Transfer Protocol) or MQTT (Message Queuing Telemetry Transport).
[0013] The CPU 401 reads out the programs stored in the auxiliary storage unit 403 into the main storage unit 402 and executes them, thereby functioning as a device registration request unit 411, a relay device searching unit 412, a connected device information acquiring unit 413, a display control unit 414, a registered device notification unit 415, a user information setting unit 416, an operation information notification unit 417, and a device status acquiring unit 418, as shown in Fig. 3. The auxiliary storage unit 403 shown in Fig. 2 also includes a connected device information storage unit 431, a user information storage unit 432 that stores user information related to the user of the terminal device 4, and a device status storage unit 433, as shown in Fig. 3. The connected device information storage unit 431 stores device identification information for each of the relay device 1 that can communicate with the terminal device 4 and the devices 3 that can communicate with the terminal device 4 via the local networks NW21 and NW22.
[0014] The user information storage unit 432 stores user identification information that identifies the user of the terminal device 4 and authentication information for authenticating the user in the cloud server 2. Here, the authentication information may be, for example, password information that is preset for the user. The device status storage unit 433 stores parameter information that indicates at least one of the operating status of each device 3 used by the user and the surrounding environment of the device 3, in association with the device identification information of the device 3.
[0015] When the user performs a device registration start operation on input unit 405, relay device searching unit 412 accepts the device registration start operation and generates relay device information request information that requests relay devices 1 connected to local networks NW21 and NW22 to which terminal device 4 is connected to transmit relay device information including relay device identification information that identifies relay device 1. Here, relay device identification information is, for example, IP address information that identifies relay device 1 in wide area network NW1. Then, relay device searching unit 412 broadcasts the generated relay device information request information via local networks NW21 and NW22 to acquire the relay device information transmitted from relay device 1. Furthermore, relay device searching unit 412 notifies device registration request unit 411 and connected device information acquisition unit 413 of the relay device identification information included in the acquired relay device information.
[0016] The connected device information acquisition unit 413 generates connected device information request information that includes the relay device identification information notified from the relay device searching unit 412 and requests the cloud server 2 to transmit connected device information. Here, the connected device information includes device identification information of the relay device 1 identified by the relay device identification information included in the connected device information request information and of each of the devices 3 that can communicate via the local networks NW21 and NW22. The connected device information acquisition unit 413 then transmits the generated connected device information request information to the cloud server 2 to acquire the connected device information transmitted from the cloud server 2, and stores the device identification information included in the acquired connected device information in the connected device information storage unit 431.
[0017] When a user performs an operation to request an update of a device to be registered using input unit 405, device registration request unit 411 accepts the operation to request an update of the device to be registered and generates connected device information update request information including relay device identification information. Then, connected device information acquisition unit 413 transmits the generated connected device information update request information to cloud server 2. Cloud server 2 identifies a relay device whose connected device information update is to be updated based on the relay device identification information included in the connected device information update request information, and transmits device search request information to the relay device. While the present embodiment illustrates an example in which cloud server 2 manages connected device information, a configuration may also be adopted in which a relay device manages connected device information and terminal device 4 acquires connected device information from relay device 1.
[0018] The display control unit 414 forms a connected device notification image for notifying the user of the relay devices 1 (1A, 1B) with which the terminal device 4 can communicate via the local networks NW21, NW22 and the devices 3 with which the terminal device 4 can communicate, based on the device identification information stored in the connected device information storage unit 431, and causes the display unit 404 to display the image. Furthermore, when the user performs a device status viewing operation on the input unit 405 to view the status of the device 3, the display control unit 414 accepts the device status viewing operation and forms a device status notification image using parameter information stored in the device status storage unit 433 and causes the display unit 404 to display the image.
[0019] For example, when the user performs a registration device selection operation on input unit 405 to select a device 3 to be registered on cloud server 2 as a device 3 that the user can operate while a connected device notification image is displayed on display unit 404, registered device notification unit 415 accepts the registration device selection operation and generates registration target device notification information including device identification information, user identification information, authentication information, and relay device identification information of relay devices 1 that can communicate with terminal device 4. Then, registered device notification unit 415 transmits the generated registration target device notification information to cloud server 2. When the user performs a user registration operation on input unit 405 to register user identification information and authentication information, user information setting unit 416 accepts the user registration operation and stores the user identification information and authentication information in user information storage unit 432.
[0020] When the user performs a device operation on the input unit 405 to change the settings of the device 3, the operation information notifying unit 417 accepts the device operation and generates operation information that includes user identification information, authentication information, and device identification information of the device 3 to be operated and indicates device details for the device 3. The operation information notifying unit 417 then transmits the generated operation information to the cloud server 2. When the device status acquiring unit 418 acquires device status notification information transmitted from the cloud server 2, the device status acquiring unit 418 updates the parameter information stored in the device status storage unit 433 using the parameter information and device identification information of each device 3 included in the acquired device status notification information.
[0021] Returning to Fig. 2, the cloud server 2 includes a CPU 201, a main memory unit 202, an auxiliary memory unit 203, a communication unit 206, and a bus 209 connecting the various units. The CPU 201 is, for example, a multi-core processor. The main memory unit 202 is made up of volatile memory and is used as a work area for the CPU 201. The auxiliary memory unit 203 is made up of large-capacity non-volatile memory and stores programs for realizing various functions of the cloud server 2. The communication unit 206 is connected to the wide area network NW1.
[0022] The CPU 201 loads the programs stored in the auxiliary storage unit 203 into the main storage unit 202 and executes them, thereby functioning as a device search request unit 211, a device information acquisition unit 212, a connected device information notification unit 213, a device information setting unit 214, an operation information acquisition unit 216, an authentication unit 217, a control information generation unit 218, and a control information notification unit 219, as shown in FIG. 3 . The auxiliary storage unit 203 shown in FIG. 2 also includes a device information storage unit 231, as shown in FIG. 3 . As shown in FIG. 4A , the device information storage unit 231 stores device identification information of the device 3, relay device identification information of the relay device 1 that can be notified via the device 3 and the local networks NW21 and NW22, user identification information, and authentication information, in association with each other. The device information storage unit 231 may store only the user identification information. In this case, an authentication information storage unit (not shown) that stores the authentication information in association with the user identification information may be provided. The device state storage unit 232 stores parameter information indicating at least one of the operating state of each device 3 and the environment surrounding the device 3 in association with the device identification information of the device 3, as shown in FIG. 4B, for example.
[0023] 3 , when the device discovery request unit 211 receives device registration request information transmitted from the terminal device 4, it generates device discovery request information that requests the relay device 1 to search for devices 3 that can communicate with the relay device 1 via the local networks NW21 and NW22. The device discovery request unit 211 then transmits the generated device discovery request information to the relay device 1. The device information acquisition unit 212 acquires the device information transmitted from the relay device 1 in response to the device discovery request information being transmitted to the relay device 1, extracts device identification information of the device 3 and relay device identification information of the relay device 1 that transmitted the device information, and stores the extracted device identification information and relay device identification information in the device information storage unit 231 in association with each other.
[0024] When the connected device information notification unit 213 acquires the above-mentioned connected device information request information transmitted from the terminal device 4, it identifies device identification information corresponding to the relay device identification information included in the acquired connected device information request information from the device identification information stored in the device information storage unit 231. Then, the connected device information notification unit 213 generates connected device information including the identified device identification information and transmits it to the terminal device 4. When the device information setting unit 214 acquires the above-mentioned registration target device notification information transmitted from the terminal device 4, it stores the user identification information and authentication information included in the acquired registration target device notification information in the device information storage unit 231 in association with the combination of the device identification information and relay device identification information included in the acquired registration target device notification information.
[0025] When the operation information acquisition unit 216 acquires operation information transmitted from the terminal device 4, it notifies the authentication unit 217 of the acquired operation information. The authentication unit 217 references the user identification information and authentication information stored in the device information storage unit 231 and performs authentication processing based on the user identification information and authentication information included in the operation information. Here, the authentication unit 217 determines that authentication has been successful if the combination of the device identification information, user identification information, and authentication information of the device 3 to be operated, included in the operation information, exists among these combinations stored in the device information storage unit 231. On the other hand, the authentication unit 217 determines that authentication has failed if the combination of the device identification information, user identification information, and authentication information of the device 3 to be operated, included in the operation information, does not exist among these combinations stored in the device information storage unit 231. Then, when the authentication unit 217 determines that authentication has been successful, it notifies the control information generation unit 218 of the operation information. Based on the operation content indicated in the notified operation information and the device identification information, the control information generation unit 218 generates control information for controlling the device 3. The control information notification unit 219 identifies relay device identification information corresponding to the device identification information of the device 3 to be controlled stored in the device information storage unit 231, encapsulates the generated control information by adding header information for transmission to the relay device 1 identified by the identified relay device identification information, and transmits the encapsulated control information to the relay device 1.
[0026] When the device status acquisition unit 226 acquires encapsulated device status information transmitted from the relay device 1, it extracts parameter information of the device 3 included in the acquired device status information and stores the extracted parameter information in association with the device identification information of the device 3 that transmitted the device status information. When the device status notification unit 227 acquires operation information indicating the above-mentioned device status viewing operation transmitted from the terminal device 4, it notifies the authentication unit 217 of the acquired operation information. Then, when the authentication unit 217 determines that the authentication is successful, the device status notification unit 227 generates device status notification information including the parameter information and device identification information of the device 3 stored in the device status storage unit 232, and transmits the generated device status notification information to the terminal device 4.
[0027] 2 , the relay device 1 includes a CPU 101, a main memory unit 102, an auxiliary memory unit 103, a communication unit 106, and a bus 109 connecting the various units. The main memory unit 102 is a volatile memory and is used as a work area for the CPU 101, while the auxiliary memory unit 103 has a nonvolatile memory and stores programs for realizing various functions of the relay device 1. The communication unit 106 communicates with the device 3 and the gateway device 8 via local networks NW21 and NW22.
[0028] In the relay device 1, the CPU 101 loads the program stored in the auxiliary storage unit 103 into the main storage unit 102 and executes it, thereby functioning as a search request acquisition unit 111, a device search unit 112, a device information notification unit 113, a relay device information notification unit 114, a control information acquisition unit 115, and a control information transmission unit 116, as shown in FIG. 3 . The auxiliary storage unit 103 shown in FIG. 2 also includes a device information storage unit 131 and a relay device information storage unit 132, as shown in FIG. 3 . The device information storage unit 131 stores device identification information for each of the devices 3 that can communicate with the relay device 1 via the local networks NW21 and NW22. The relay device information storage unit 132 stores relay device identification information that identifies the relay device 1 and that is preset in the relay device 1.
[0029] When the search request acquisition unit 111 acquires the above-mentioned device search request information transmitted from the cloud server 2, it notifies the device search unit 112 of the acquired device search request information. When the device search unit 112 acquires the device search request information, it broadcasts device information request information requesting the transmission of device information to all devices 3 connected to the local networks NW21 and NW22 to which the relay device 1 is connected. As a result, the device search unit 112 acquires the device information transmitted from each of the devices 3 and stores the device identification information included in the acquired device information in the device information storage unit 131. The device information notification unit 113 generates device information including the device identification information stored in the device information storage unit 131 and transmits the generated device information to the cloud server 2. When the relay device information notification unit 114 acquires the above-mentioned relay device information request information from the terminal device 4 via the local networks NW21 and NW22, it transmits relay device information including the relay device identification information stored in the relay device information storage unit 132 to the terminal device 4 in response to the acquisition.
[0030] When the control information acquisition unit 115 acquires the encapsulated control information transmitted from the cloud server 2, it performs a decapsulation process to remove header information from the acquired control information. Then, the control information acquisition unit 115 notifies the control information transmission unit 116 of the decapsulated control information. Based on the device identification information included in the notified control information, the control information transmission unit 116 transmits the control information to the device 3 identified by the device identification information. When the device status acquisition unit 121 acquires device status information transmitted from the device 3, it notifies the device status notification unit 122 of the acquired device status information. When notified of the device status information, the device status notification unit 122 encapsulates the notified device status information by adding header information for transmission to the cloud server 2, and transmits the encapsulated device status information to the cloud server 2.
[0031] Next, the operation of the device management system according to this embodiment will be described with reference to FIGS. 5 and 6. First, as shown in FIG. 5, when a user performs the device registration start operation via terminal device 4, terminal device 4 accepts the device registration start operation and generates relay device information request information requesting relay devices 1A and 1B, with which terminal device 4 can communicate via local networks NW21 and NW22, to transmit relay device information (step S1). Next, the generated relay device information request information is transmitted from terminal device 4 to relay devices 1A and 1B (step S2). Meanwhile, when relay devices 1A and 1B receive the relay device information request information, relay device information including relay device identification information stored in relay device information storage unit 132 is transmitted from relay devices 1A and 1B to terminal device 4 in response (step S3).
[0032] Furthermore, when the terminal device 4 acquires the relay device information, it extracts the relay device identification information included in the acquired relay device information and generates the aforementioned device registration request information including the extracted relay device identification information (step S4). Next, the generated device registration request information is transmitted from the terminal device 4 to the cloud server 2 (step S5). Meanwhile, when the cloud server 2 acquires the device registration request information from the terminal device 4, it generates the aforementioned device discovery request information in response to the information (step S6). Next, the generated device discovery request information is transmitted from the cloud server 2 to the relay devices 1A and 1B (step S7). Meanwhile, when the relay devices 1A and 1B each acquire the device discovery request information, the aforementioned device information request information is broadcast from the relay devices 1A and 1B to the devices 3A and 3B that can communicate with them via the local networks NW21 and NW22 (steps S8 and S9). On the other hand, when the devices 3A and 3B each acquire the device information request information, the devices 3A and 3B transmit device information including the device identification information of the devices 3A and 3B to the relay devices 1A and 1B (steps S10 and S11). On the other hand, when the relay devices 1A and 1B acquire the device information, the relay devices 1A and 1B store the device identification information of the devices 3A and 3B included in the acquired device information in the device information storage unit 131, and generate device information including the device identification information and the relay device identification information of the relay devices 1A and 1B (step S12). The generated device information is then transmitted from the relay devices 1A and 1B to the cloud server 2 (step S13). On the other hand, when the cloud server 2 acquires the device information, the cloud server 2 extracts the device identification information and the relay device identification information included in the acquired device information, and stores the extracted device identification information and the relay device identification information in the device information storage unit 231 in association with each other (step S14).
[0033] The terminal device 4 also generates the aforementioned connection device information request information including the relay device identification information (step S15). The generated connection device information request information is then transmitted from the terminal device 4 to the cloud server 2 (step S16). Meanwhile, upon receiving the connection device information request information, the cloud server 2 extracts the relay device identification information included in the received connection device information request information and identifies the device identification information corresponding to the extracted relay device identification information from the device identification information stored in the device information storage unit 231. The cloud server 2 then generates connection device information including the identified device identification information (step S17). Thereafter, as shown in FIG. 6 , the generated connection device information is transmitted from the cloud server 2 to the terminal device 4 (step S18). Meanwhile, upon receiving the connection device information, the terminal device 4 uses the connection device identification information included in the received connection device information to form a connection device notification image and display it on the display unit 404 (step S19).
[0034] Here, assume that a user of the terminal device 4 performs a registration device selection operation to select devices 3A and 3B to be registered with the cloud server 2 while the above-described connected device notification image is displayed on the display unit 404 of the terminal device 4. In this case, the terminal device 4 accepts the registration device selection operation and generates registration target device notification information including the device identification information of the devices 3A and 3B selected by the registration device selection operation and the user identification information and authentication information stored in the user information storage unit 432 (step S20). Next, the generated registration target device notification information is transmitted from the terminal device 4 to the cloud server 2 (step S21). Meanwhile, upon acquiring the registration target device notification information, the cloud server 2 extracts the device identification information, user identification information, and authentication information included in the acquired registration target device notification information and stores the extracted user identification information and authentication information in the device information storage unit 231 in association with the extracted device identification information (step S22).
[0035] Assume also that the user performs a device operation on the input unit 405 of the terminal device 4 to change the settings of the devices 3A and 3C. In this case, the terminal device 4 accepts the device operation and generates operation information including information indicating the changed settings of the devices 3A and 3C, device identification information, user identification information, and authentication information (step S23). The generated operation information is then transmitted from the terminal device 4 to the cloud server 2 (step S24). Meanwhile, upon receiving the operation information, the cloud server 2 performs authentication processing using the user identification information and authentication information included in the operation information. If the cloud server 2 determines that the authentication is successful (step S25), it generates control information for changing the settings of the devices 3A and 3C based on the operation information (step S26). The generated control information is then encapsulated and transmitted from the cloud server 2 to the relay devices 1A and 1B (step S27). On the other hand, when the relay devices 1A and 1B acquire the control information, they decapsulate the acquired control information and transmit the decapsulated control information from the relay devices 1A and 1B to the devices 3A and 3C (step S28).On the other hand, when the devices 3A and 3C acquire the control information, they start operating with the changed settings based on the acquired control information (step S29).
[0036] 7, when the aforementioned device status notification time arrives, the devices 3A and 3C generate device status information (step S30), and the generated device status information is transmitted from the devices 3A and 3C to the relay devices 1A and 1B (step S31). Meanwhile, upon receiving the device status information, the relay devices 1A and 1B encapsulate the received device status information for transmission to the cloud server 2, and then transmit the encapsulated device status information from the relay devices 1A and 1B to the cloud server 2 (step S32). Meanwhile, upon receiving the device status information, the cloud server 2 updates the parameter information of the devices 3A and 3C stored in the device status storage unit 232 using the parameter information and device identification information of the devices 3A and 3C included in the received device status information (step S33). Similarly, the devices 3B and 3D generate device status information (step S34), and transmit the generated device status information from the devices 3B and 3D to the relay devices 1A and 1B (step S35). On the other hand, when the relay devices 1A and 1B acquire the device status information, they encapsulate the acquired device status information for transmission to the cloud server 2, and then transmit the encapsulated device status information from the relay devices 1A and 1B to the cloud server 2 (step S36). On the other hand, when the cloud server 2 acquires the device status information, it updates the parameter information of the devices 3B and 3D stored in the device status storage unit 232 by using the parameter information and device identification information of the devices 3B and 3D included in the acquired device status information (step S37).
[0037] Next, assume that the user performs a device status viewing operation on the input unit 405 of the terminal device 4 to view the status of the devices 3A and 3C (3B and 3D). In this case, the terminal device 4 accepts the device status viewing operation and generates operation information including device identification information, user identification information, and authentication information (step S38). The generated operation information is then transmitted from the terminal device 4 to the cloud server 2 (step S39). Meanwhile, upon acquiring the operation information, the cloud server 2 performs authentication processing using the user identification information and authentication information included in the acquired operation information. Then, upon determining that the authentication is successful (step S40), the cloud server 2 generates, based on the operation information, device status notification information including parameter information and device identification information of the devices 3A and 3C (3B and 3D) stored in the device status storage unit 232 (step S41). The generated device status notification information is then transmitted from the cloud server 2 to the terminal device 4 (step S42). On the other hand, when the terminal device 4 acquires the device status notification information, it uses the parameter information and device identification information of the devices 3A and 3C (3B and 3D) contained in the acquired device status notification information to store the parameter information of the devices 3A and 3C (3B and 3D) in the device status memory unit 433, and forms a device status notification image based on the parameter information and device identification information stored in the device status memory unit 433 and displays it on the display unit 404 (step S43).
[0038] Next, the relay process executed by the relay device 1 according to this embodiment will be described with reference to FIG. 8 . This relay process is initiated, for example, when the relay device 1 is powered on and the connection of the relay device 1 to the local networks NW21 and NW22 is completed. First, the search request acquisition unit 111 determines whether or not it has acquired device search request information transmitted from the cloud server 2 (step S101). If the search request acquisition unit 111 determines that it has not acquired device search request information (step S101: No), it executes the process of step S105, which will be described later. On the other hand, if the search request acquisition unit 111 determines that it has acquired device search request information (step S101: Yes), it notifies the device searching unit 112 of the acquired device search request information. Then, the device searching unit 112 broadcasts the device information request information to all devices 3 connected to the local networks NW21 and NW22 to which the relay device 1 is connected (step S102). As a result, the device searching unit 112 acquires the device information transmitted from each device 3, and stores the device identification information included in the acquired device information in the device information storage unit 131 (step S103). Next, the device information notifying unit 113 generates device information including the device identification information stored in the device information storage unit 131, and transmits the generated device information to the cloud server 2 (step S104).
[0039] Next, the relay device information notifying unit 114 determines whether the relay device information request information has been acquired from the terminal device 4 via the local networks NW21 and NW22 (step S105). If the relay device information notifying unit 114 determines that the relay device information request information has not been acquired (step S105: No), the process of step S107 described below is executed. On the other hand, if the relay device information notifying unit 114 determines that the relay device information request information has been acquired (step S105: Yes), the relay device information notifying unit 114 transmits the relay device information including the relay device identification information stored in the relay device information storage unit 132 to the terminal device 4 (step S106).
[0040] Thereafter, the control information acquisition unit 115 determines whether or not the encapsulated control information transmitted from the cloud server 2 has been acquired (step S107). If the control information acquisition unit 115 determines that the control information has not been acquired (step S107: No), the process of step S109, which will be described later, is executed. On the other hand, if the control information acquisition unit 115 determines that the control information has been acquired (step S107: Yes), the control information acquisition unit 115 executes a decapsulation process to remove header information from the acquired control information. Then, based on the device identification information included in the decapsulated control information, the control information is transmitted to the device 3 identified by the device identification information (step S108).
[0041] Next, the device status acquisition unit 121 determines whether or not device status information transmitted from the device 3 has been acquired (step S109). If the device status acquisition unit 121 determines that device status information has not been acquired (step S109: No), the process of step S101 is executed again. On the other hand, if the device status acquisition unit 121 determines that device status information has been acquired (step S109: Yes), the device status acquisition unit 121 notifies the device status notification unit 122 of the acquired device status information. Then, the device status notification unit 122 encapsulates the notified device status information by adding header information for setting the destination to the cloud server 2, and then transmits the encapsulated information to the cloud server 2 (step S110). Here, the header information includes the relay device identification information of the relay device 1. Next, the process of step S101 is executed again.
[0042] Next, the device management process executed by the cloud server 2 according to the present embodiment will be described with reference to FIG. 9 . This device management process is initiated, for example, when a program for executing the device management process is launched in the cloud server 2. First, the device discovery request unit 211 determines whether or not the device registration request information transmitted from the terminal device 4 has been acquired (step S201). If the device discovery request unit 211 determines that the device registration request information has not been acquired (step S201: No), the device discovery request unit 211 executes the process of step S204, which will be described later. On the other hand, if the device discovery request unit 211 determines that the device registration request information has been acquired (step S201: Yes), the device discovery request unit 211 generates the device discovery request information and transmits it to the relay device 1 (step S202). As a result, the device information acquisition unit 212 acquires the device information transmitted from the relay device 1, extracts the device identification information of the device 3 contained in the acquired device information and the relay device identification information of the relay device 1 that transmitted the device information, and stores the extracted device identification information and relay device identification information in correspondence with each other in the device information storage unit 231 (step S203).
[0043] Next, the connected device information notification unit 213 determines whether or not the connected device information request information transmitted from the terminal device 4 has been acquired (step S204). If the connected device information notification unit 213 determines that the connected device information request information has not been acquired (step S204: No), the process of step S206, which will be described later, is executed. On the other hand, if the connected device information notification unit 213 determines that the connected device information request information has been acquired (step S204: Yes), the connected device information notification unit 213 identifies device identification information corresponding to the relay device identification information included in the acquired connected device information request information from the device identification information stored in the device information storage unit 231. Then, the connected device information notification unit 213 generates connected device information including the identified device identification information and transmits it to the terminal device 4 (step S205).
[0044] Next, the device information setting unit 214 determines whether or not the above-described registration target device notification information transmitted from the terminal device 4 has been acquired (step S206). If the device information setting unit 214 determines that the registration target device notification information has not been acquired (step S206: No), the process of step S208, which will be described later, is executed. On the other hand, if the device information setting unit 214 determines that the registration target device notification information has been acquired (step S206: Yes), the device information setting unit 214 extracts the user identification information and authentication information included in the acquired registration target device notification information, and stores the extracted user identification information and authentication information in the device information storage unit 231 in association with the combination of the device identification information and relay device identification information included in the registration target device notification information (step S207).
[0045] Thereafter, the device status acquisition unit 226 determines whether or not the encapsulated device status information transmitted from the relay device 1 has been acquired (step S208). If the device status acquisition unit 226 determines that the device status information has not been acquired (step S208: No), the process of step S210, which will be described later, is executed. On the other hand, if the device status acquisition unit 226 determines that the device status information has been acquired (step S208: Yes), the device status storage unit 232 updates the parameter information of the device 3 corresponding to the device identification information of the device 3 that has transmitted the acquired device status information with the parameter information of the device 3 included in the device status information (step S209).
[0046] Next, the operation information acquisition unit 216 determines whether or not it has acquired operation information indicating the device operation transmitted from the terminal device 4 (step S210). If the operation information acquisition unit 216 determines that it has not acquired operation information indicating the device operation (step S210: No), it executes the processing of step S213 described below. On the other hand, if the operation information acquisition unit 216 determines that it has acquired operation information indicating the device operation (step S210: Yes), it notifies the authentication unit 217 of the acquired operation information. Then, the authentication unit 217 references the user identification information and authentication information stored in the device information storage unit 231, performs authentication processing based on the user identification information and authentication information included in the operation information, and determines whether the authentication is successful (step S211). If the authentication unit 217 determines that the authentication is unsuccessful (step S211: No), it executes the processing of step S213 described below. On the other hand, if the authentication unit 217 determines that the authentication is successful (step S211: Yes), the control information generation unit 218 generates control information for controlling the device 3 based on the operation content indicated by the operation information and the device identification information. Then, the control information notification unit 219 identifies relay device identification information corresponding to the device identification information of the device 3 to be controlled stored in the device information storage unit 231, encapsulates the generated control information by adding header information for transmission to the relay device 1 identified by the identified relay device identification information, and transmits the encapsulated control information to the relay device 1 (step S212).
[0047] Next, the device status notification unit 227 determines whether or not it has acquired operation information indicating the device status viewing operation transmitted from the terminal device 4 (step S213). If the device status notification unit 227 determines that it has not acquired operation information indicating the device status viewing operation (step S213: No), it executes the process of step S201 again. On the other hand, if the device status notification unit 227 determines that it has acquired operation information indicating the device status viewing operation (step S213: Yes), it notifies the authentication unit 217 of the acquired operation information. The authentication unit 217 then references the user identification information and authentication information stored in the device information storage unit 231, performs authentication processing based on the user identification information and authentication information included in the operation information, and determines whether the authentication is successful (step S214). If the authentication unit 217 determines that the authentication is unsuccessful (step S214: No), it executes the process of step S201 again. On the other hand, if the authentication unit 217 determines that the authentication is successful (step S214: Yes), the device status notification unit 227 generates device status notification information including the parameter information and device identification information of the device 3 stored in the device status storage unit 232, and transmits the generated device status notification information to the terminal device 4 (step S215). Thereafter, the process of step S201 is executed again.
[0048] As described above, in the device management system according to the present embodiment, when relay device information notifier 114 of relay device 1 receives relay device information request information transmitted from terminal device 4, it transmits the relay device information to terminal device 4. When terminal device 4 receives the relay device information, it transmits registration target device notification information, including the relay device identification information and user identification information included in the received relay device information, to cloud server 2. When device information setting unit 214 of cloud server 2 receives the registration target device notification information transmitted from terminal device 4, it associates the user identification information and the relay device identification information included in the received registration target device notification information with each other and stores them in device information storage unit 231. This allows relay device identification information and device identification information to be managed in association with the user identification information, thereby preventing device 3 identified by the device identification information from being improperly operated by a user other than the user identified by the user identification information associated with the device identification information.
[0049] (Embodiment 2) An equipment management system according to this embodiment differs from Embodiment 1 in that it includes a second relay device capable of communicating with a device and a first relay device via the first network. Here, the device information storage unit according to this embodiment stores, along with device identification information, second relay device identification information for identifying the second relay device in association with the first relay device identification information. Furthermore, the device management device transmits, to the first relay device, first device discovery request information requesting a search for devices and the second relay device capable of communicating with the first relay device via the first network, and transmits, via the first relay device, second device discovery request information requesting a search for devices capable of communicating with the second relay device via the first network. Then, by transmitting the first device discovery request information to the first relay device, the device management device acquires first device information including the device identification information, the first relay device identification information, and the second relay device identification information transmitted from the first relay device, and stores the device identification information and the second relay device identification information included in the acquired first device information in association with the first relay device identification information in the device information storage unit. Furthermore, when the second device discovery request information is transmitted to the second relay, the device management device acquires third device information including the device identification information and the second relay identification information transmitted from the second relay, and stores the device identification information and the second relay identification information in the device information storage unit in association with each other. When the first relay acquires the first device discovery request information, the first relay transmits device information request information to the device and the second relay, thereby acquiring second device information transmitted from the device and the second relay via the first network. The first relay generates first device information including the device identification information and the second relay identification information transmitted in the acquired second device information and transmits it to the device management device. When the first relay acquires relay information request information transmitted from the terminal device, requesting the first relay to transmit relay information including the first relay identification information, the first relay transmits relay information to the terminal.When the second relay device acquires the device discovery request information, it transmits device information request information to a device that can communicate with the second relay device via the first network, requesting that the device transmit fourth device information including device identification information, thereby acquiring the fourth device information transmitted from the device via the first network, generating third device information including the device identification information contained in the acquired fourth device information, and transmitting the third device information to the device management device. Also, when the second relay device acquires relay device information request information transmitted from the terminal device, requesting that the second relay device transmit relay device information including the second relay device identification information, it transmits the relay device information to the terminal device.
[0050] As shown in FIG. 10 , the device management system according to this embodiment includes a cloud server 2002, a relay device 1, and a relay device 2005 that can communicate with the relay device 1 via a local network NW21. Note that in FIG. 10 , components similar to those in the first embodiment are denoted by the same reference numerals as in FIG. 1 . The relay device 1 can communicate with devices 3 (3A and 3B), the relay device 2005, and the gateway device 8 via the local network NW21. The relay device 2005 can communicate with the relay device 1 and the gateway device 8 via the local network NW21, and can communicate with devices 3 (3C and 3D) via the local network NW22. The cloud server 2002 can communicate with the relay devices 1 and 2005 via the wide area network NW1 and the gateway device 8. The hardware configurations of the cloud server 2002 and the relay device 2005 are similar to those of the cloud server 2 and the relay device 1 described in the first embodiment, respectively. Therefore, the hardware configuration of the cloud server 2002 and the relay device 2005 according to this embodiment will be described using the reference numerals in FIG. 2 as appropriate.
[0051] The CPU 201 of the cloud server 2002 loads the programs stored in the auxiliary storage unit 203 into the main storage unit 202 and executes them, thereby functioning as a device search request unit 211, a device information acquisition unit 212, a connected device information notification unit 213, a device information setting unit 214, an operation information acquisition unit 216, an authentication unit 217, a control information generation unit 218, a control information notification unit 219, a device status acquisition unit 226, and a device status notification unit 227, as shown in Fig. 11. Note that in Fig. 11, the same components as those in the first embodiment are denoted by the same reference numerals as in Fig. 3. The auxiliary storage unit 203 also includes a device information storage unit 2231 and a device status storage unit 232. As shown in FIG. 12, the device information storage unit 2231 stores the device identification information of the device 3 and the relay device identification information "RADDR[1]" of the relay device 2005 that can communicate with the relay device 1 via the local network NW2, in association with the relay device identification information of the relay device 1 that can notify the device 3 and the relay device 2005 via the local network NW2, the user identification information, and the authentication information.
[0052] 11 , in the relay device 2005, the CPU 101 loads the programs stored in the auxiliary storage unit 103 into the main storage unit 102 and executes them, thereby functioning as a search request acquisition unit 111, a device search unit 112, a device information notification unit 113, a relay device information notification unit 514, a control information acquisition unit 115, a control information transmission unit 116, a device status acquisition unit 121, and a device status notification unit 522. The auxiliary storage unit 103 shown in FIG. 2 also includes a device information storage unit 131 and a relay device information storage unit 132, as shown in FIG. 3 . When the relay device information notification unit 514 acquires the above-mentioned relay device information request information from the terminal device 4 via the local network NW2, the relay device information notification unit 514 transmits relay device information including the relay device identification information stored in the relay device information storage unit 132 to the terminal device 4 in response to the request. Furthermore, when the relay device information notification unit 514 receives device information request information transmitted from the relay device 1, the relay device information notification unit 514 transmits device information including the relay device identification information stored in the relay device information storage unit 132 to the relay device 1 in response to the request. When the device status notification unit 522 receives device status information from the device status acquisition unit 121, the device status notification unit 522 transfers the received device status information to the relay device 1 as is.
[0053] Next, the operation of the device management system according to this embodiment will be described with reference to Figures 13 and 14. First, as shown in Figure 13, a series of processes from step S1 to step S7 are executed. When relay device 1 acquires device search request information, the relay device 1 broadcasts the device information request information to devices 3A, 3B, and relay device 2005 that can communicate with the relay device 1 via local network NW2 (steps S8 and S2001). Meanwhile, when devices 3A and 3B acquire the device information request information, the devices 3A and 3B transmit device information including device identification information of devices 3A and 3B to the relay device 1 (step S10). Furthermore, when relay device 2005 acquires the device information request information, the relay device 2005 transmits device information including the relay device identification information of the relay device 2005 to the relay device 1 (step S2002). On the other hand, when the relay device 1 acquires the device information, the relay device 1 stores the device identification information of the devices 3A and 3B or the relay device identification information of the relay device 2005 included in the acquired device information in the device information storage unit 131, and generates device information including the device identification information, the relay device identification information, and the relay device identification information of the relay device 1 (step S12). Then, a series of processes in steps S13 and S14 are executed.
[0054] The device discovery request information is also transmitted from cloud server 2002 to relay device 2005 via relay device 1 (step S2003). When relay device 2005 acquires the device discovery request information, the device information request information is broadcast from relay device 2005 to devices 3C and 3D that can communicate with relay device 2005 via local network NW22 (step 2004). When devices 3C and 3D acquire the device information request information, devices 3C and 3D transmit device information including their respective device identification information to relay device 2005 (step S2005). When relay device 2005 acquires the device information, it stores the device identification information of devices 3C and 3D included in the acquired device information in device information storage unit 131 and generates device information including the device identification information and the relay device identification information of relay device 2005 (step S2006). Thereafter, the generated device information is transmitted from relay device 2005 to cloud server 2002 via relay device 1 (step S2007). Meanwhile, upon acquiring the device information, cloud server 2002 extracts the device identification information and relay device identification information included in the acquired device information, and stores the extracted device identification information and relay device identification information in association with each other in device information storage unit 2231 (step S2008).
[0055] 14 , assume that the user performs a device operation on the input unit 405 of the terminal device 4 to change the settings of the devices 3C and 3D. In this case, the series of processes in steps S23 and S24 described in the first embodiment are executed. If the cloud server 2002 determines that the authentication is successful (step S25), it generates control information for changing the settings of the devices 3C and 3D based on the operation information (step S2009). The generated control information is then encapsulated and transmitted from the cloud server 2002 to the relay device 1 (step S2010). Meanwhile, when the relay device 1 acquires the control information, the acquired control information is transmitted from the relay device 1 to the relay device 2005 (step S2011). Meanwhile, when the relay device 2005 acquires the control information, the acquired control information is decapsulated, and the decapsulated control information is transmitted from the relay device 2005 to the devices 3C and 3D (step S2012). On the other hand, upon acquiring the control information, the devices 3C and 3D start operating with the changed settings based on the acquired control information (step S2013).
[0056] Next, the relay process executed by the relay device 2005 according to this embodiment will be described with reference to FIG. 15 . Note that in FIG. 15 , the same processes as those in the first embodiment are denoted by the same reference numerals as those in FIG. 8 . First, after a series of processes from steps S101 to S104 are executed, the relay device information notification unit 514 determines whether or not it has received device information request information transmitted from the relay device 1 (step S2101). If the relay device information notification unit 514 determines that it has not received device information request information (step S2101: No), it executes the process of step S105, which will be described later. On the other hand, if the relay device information notification unit 514 determines that it has received device information request information (step S2101: Yes), it transmits device information including relay device identification information stored in the relay device information storage unit 132 to the relay device 1 (step S2102). Subsequently, a series of processes from steps S105 to S108 are executed.
[0057] Thereafter, the device status acquisition unit 121 determines whether or not device status information transmitted from the device 3 has been acquired (step S2103). If the device status acquisition unit 121 determines that device status information has not been acquired (step S2103: No), the process of step S101 is executed again. On the other hand, if the device status acquisition unit 121 determines that device status information has been acquired (step S2103: Yes), the device status acquisition unit 121 notifies the device status notification unit 522 of the acquired device status information. Then, the device status notification unit 522 transmits the notified device status information as is to the relay device 1 (step S2104). Next, the process of step S101 is executed again.
[0058] As described above, according to the device management system of this embodiment, even when multiple relay devices 1, 2005 form a so-called mesh network, it is possible to associate each relay device 1, 2005 with user identification information.
[0059] (Embodiment 3) The device management system of this embodiment differs from embodiment 1 in that there are multiple first relay devices that can communicate with the device via the first network, and the device management device selects one of the multiple first relay devices based on communication quality information that indicates the communication quality of communication between the multiple first relay devices and the device.
[0060] As shown in FIG. 16 , the communication system according to the present embodiment includes a cloud server 3002, a plurality of relay devices 3001 (3001A, 3001B), and a terminal device 4. In FIG. 16 , components similar to those in the first embodiment are denoted by the same reference numerals as those in FIG. 1 . The relay devices 3001 (3001A, 3001B) are capable of communicating with devices 3 (3A, 3B) and a gateway device 8 via a local network NW2. The cloud server 3002 is also capable of communicating with the relay device 3001 via a wide area network NW1 and the gateway device 8. The hardware configurations of the cloud server 3002 and the relay device 3001 according to the present embodiment are similar to those of the cloud server 2 and the relay device 1 described in the first embodiment, respectively. Therefore, the hardware configurations of the cloud server 3002 and the relay device 3001 according to the present embodiment will be described using the reference numerals in FIG. 2 as appropriate. When device 3 acquires the control information transmitted from relay device 3001, it transmits response information to relay device 3001, the source of the control information, which includes device identification information of device 3 and notifies that the control information has been acquired.
[0061] 17 , the CPU 201 of the cloud server 3002 loads the programs stored in the auxiliary storage unit 203 into the main storage unit 202 and executes them, thereby functioning as a device search request unit 3211, a device information acquisition unit 212, a connected device information notification unit 213, a device information setting unit 214, an operation information acquisition unit 216, an authentication unit 217, a control information generation unit 218, a control information notification unit 3219, a communication quality acquisition unit 3220, a relay device selection unit 3221, a response acquisition unit 3222, a connection status management unit 3223, a recovery monitoring unit 3224, a device status acquisition unit 226, and a device status notification unit 227. In FIG. 17 , the same components as those in the first embodiment are denoted by the same reference numerals as those in FIG. 3 . The auxiliary storage unit 203 also includes a device information storage unit 231, a communication quality storage unit 3232, a connection status storage unit 3233, and a device status storage unit 232. 18 , for each of the plurality of relay devices 3001, the communication quality storage unit 3232 stores communication quality information indicating the quality of communication between the device 3 and the gateway device 8 in association with the relay device identification information of each of the plurality of relay devices 3001. Here, as the communication quality information, for example, information indicating the received signal strength indication (RSSI) of the wireless signals arriving from the device 3 and the gateway device 8 for each of the plurality of relay devices 3001 can be used.
[0062] 17 , the connection status storage unit 3233 stores connection status information indicating the connection status between the device 3 and the gateway device 8 for each of the multiple relay devices 3001 in association with the relay device identification information for each of the multiple relay devices 3001. When the device discovery request unit 3211 acquires device registration request information transmitted from the terminal device 4, the device discovery request unit 3211 generates device discovery request information in response to the device registration request information, requesting the relay device 3001 to search for devices 3 that can communicate with the relay device 3001 via the local network NW2. The device discovery request unit 3211 then transmits the generated device discovery request information to the relay device 3001 selected by the relay device selection unit 3221. When the control information is notified from the control information generation unit 218, the control information notification unit 3219 notifies the relay device selection unit 3221 of the device identification information included in the notified control information. The control information notification unit 3219 then transmits the control information to the relay device 3001 selected by the relay device selection unit 3221.
[0063] When the communication quality acquisition unit 3220 acquires communication quality information transmitted from each of the plurality of relay devices 3001, the communication quality acquisition unit 3220 stores the acquired communication quality information in the communication quality storage unit 3232 in association with the relay device identification information of the relay device 3001 that is the sender of the communication quality information, which is added to the communication quality information. The relay device selection unit 3221 selects one of the plurality of relay devices 3001 based on the communication quality information stored in the communication quality storage unit 3232. Here, when the relay device selection unit 3221 is notified of the device identification information included in the control information from the control information notifying unit 3219, the relay device selection unit 3221 identifies the relay device identification information corresponding to the notified device identification information from the relay device identification information stored in the device information storage unit 231. Then, the relay device selection unit 3221 selects, for example, the relay device 3001 having the largest RSSI indicated by the communication quality information from the plurality of relay devices 3001 identified by the identified relay device identification information. Then, relay device selection unit 3221 notifies control information notification unit 3219 of the relay device identification information of selected relay device 3001. Furthermore, relay device selection unit 3221 references the connection status information stored in connection status storage unit 3233, and excludes from selection candidates relay devices 3001 identified by relay device identification information corresponding to connection status information indicating that communication is blocked.
[0064] When response acquisition unit 3222 acquires response information (described below) transmitted from relay device 3001, it notifies connection status management unit 3223 of the acquired response information. If connection status management unit 3223 acquires response information transmitted from relay device 3001 within a predetermined response waiting time after control information notification unit 3219 transmits control information to relay device 3001, connection status management unit 3223 determines that communication between cloud server 3002 and device 3 via relay device 3001 is possible. Then, connection status management unit 3223 stores connection status information indicating that communication via relay device 3001 is normal in connection status storage unit 3233 in association with the relay device identification information of relay device 3001. On the other hand, if connection status management unit 3223 fails to acquire response information transmitted from relay device 3001 within the response waiting time after control information notification unit 3219 transmits control information to relay device 3001, it determines that communication between cloud server 3002 and device 3 via relay device 3001 is interrupted. Then, connection status management unit 3223 stores connection status information indicating that communication via relay device 3001 has been cut off in connection status storage unit 3233 in association with relay device identification information of relay device 3001. Recovery monitoring unit 3224 periodically encapsulates response request information that requests device 3 to transmit response information by adding header information for setting relay device 3001, with which communication has been determined to be cut off, as the destination, and transmits the encapsulated information to relay device 3001.
[0065] In the relay device 3001, the CPU 101 loads the programs stored in the auxiliary storage unit 103 into the main storage unit 102 and executes them, thereby functioning as a search request acquisition unit 111, a device searching unit 112, a device information notification unit 113, a relay device information notification unit 114, a control information acquisition unit 115, a control information transmission unit 116, a communication quality detection unit 3117, a communication quality notification unit 3118, a response acquisition unit 3119, and a response notification unit 3120. The auxiliary storage unit 103 also includes a device information storage unit 131 and a relay device information storage unit 132.
[0066] For example, when communication unit 106 has a wireless module, communication quality detection unit 3117 detects the RSSI of a wireless signal arriving from device 3 or gateway device 8, generates communication quality information indicating the detected RSSI, and notifies communication quality notification unit 3118. Communication quality notification unit 3118 adds relay device identification information of relay device 3001 to the notified communication quality information, and then transmits the notified communication quality information to cloud server 3002. Upon receiving response information transmitted from device 3, response acquisition unit 3119 notifies response notification unit 3120 of the acquired response information. Response notification unit 3120 adds the relay device identification information of relay device 3001 to the notified response information, performs encapsulation processing to add header information for setting the destination to cloud server 3002, and then transmits the notified response information to cloud server 3002.
[0067] Next, the operation of the communication system according to this embodiment will be described with reference to FIGS. 18 and 19 . Note that in FIGS. 19 and 20 , the same processes as those in the first embodiment are denoted by the same reference numerals as those in FIGS. 5 to 7 . Also, assume that cloud server 3002 acquires communication quality information transmitted from relay devices 3001A and 3001B at a preset period and sequentially stores the acquired communication quality information in communication quality storage unit 3232. Assume that a user performs a device operation on input unit 405 of terminal device 4 to change the settings of device 3B while a communication failure is occurring in relay device 3001A. In this case, terminal device 4 accepts the device operation and generates the aforementioned operation information (step S23). The generated operation information is then transmitted from terminal device 4 to cloud server 3002 (step S24). Meanwhile, cloud server 3002 performs authentication processing using the user identification information and authentication information included in the acquired operation information. If cloud server 3002 determines that authentication is successful (step S25), it generates control information for changing the settings of device 3B based on the operation information (step S26). Next, cloud server 3002 selects one of multiple relay devices 3001A and 3001B based on the communication quality information stored in communication quality storage unit 3232 (step S3001). The generated control information is then encapsulated and transmitted from cloud server 3002 to selected relay device 3001A (step S3002). After that, cloud server 3002 determines that a preset response waiting time has elapsed without receiving response information from relay device 3001A (step S3003). In this case, cloud server 3002 determines that communication between cloud server 3002 and devices 3A and 3B via relay device 3001A has been interrupted, and updates connection status information corresponding to the relay device identification information of relay device 3001A to connection status information indicating that communication via relay device 3001A has been interrupted (step S3004).
[0068] Next, cloud server 3002 again selects relay device 3001B based on the updated connection status information stored in connection status storage unit 3233 (step S3005). Subsequently, the control information is encapsulated and transmitted from cloud server 3002 to selected relay device 3001B (step S3006). Meanwhile, upon receiving the control information, relay device 3001B decapsulates the control information, and the decapsulated control information is transmitted from relay device 3001B to device 3B (step S3007). Meanwhile, upon receiving the control information, device 3B starts operating with the updated settings based on the received control information (step S3008). Furthermore, upon receiving the control information, device 3B transmits response information to relay device 3001B, the source of the control information (step S3009). On the other hand, when the relay device 3001B acquires the response information, the relay device 3001B encapsulates the acquired response information and transmits the encapsulated response information from the relay device 3001B to the cloud server 3002 (step S3010). After the control information is transmitted from the cloud server 3002 to the relay device 3001B, the cloud server 3002 periodically transmits the response request information to the relay device 3001A (step S3011).
[0069] Thereafter, when relay device 3001A is restored, cloud server 3002 transmits response request information to relay device 3001A (step S3012). The response request information is decapsulated and then transmitted from cloud server 3002 to device 3B (step S3013). When device 3B acquires the response request information, device 3B transmits response information to relay device 3001A in response to the response request information (step S3014). When relay device 3001A acquires the response information, it encapsulates the acquired response information, and the encapsulated response information is transmitted from relay device 3001A to cloud server 3002 (step S3015). On the other hand, when the cloud server 3002 receives the response information sent from the relay device 3001A, it determines that communication between the cloud server 3002 and the device 3B via the relay device 3001A has been restored, and updates the connection status information corresponding to the relay device identification information of the relay device 3001A to connection status information indicating that communication via the relay device 3001A is normal (step S3016).
[0070] Next, suppose the user again operates the input unit 405 of the terminal device 4 to change the settings of the device 3B. In this case, the terminal device 4 accepts the device operation and generates the aforementioned operation information (step S23). The generated operation information is then transmitted from the terminal device 4 to the cloud server 3002 (step S24). Meanwhile, the cloud server 3002 performs authentication processing using the user identification information and authentication information included in the acquired operation information. If the authentication is determined to be successful (step S25), the cloud server 3002 generates control information based on the operation information (step S26). Next, suppose the cloud server 3002 selects the relay device 3001A based on the communication quality information stored in the communication quality storage unit 3232 (step S3017). In this case, the generated control information is encapsulated and transmitted from the cloud server 3002 to the selected relay device 3001A (step S3018). On the other hand, when the relay device 3001A acquires the control information, it decapsulates the acquired control information and transmits the decapsulated control information from the relay device 3001A to the device 3B (step S3019). On the other hand, when the device 3B acquires the control information, it starts operating with the changed settings based on the acquired control information (step S3020).
[0071] Next, the relay process executed by the relay device 3001 according to this embodiment will be described with reference to FIG. 21 . Note that in FIG. 21 , the same processes as those in the first embodiment are denoted by the same reference numerals as those in FIG. 8 . First, after a series of processes from steps S101 to S106 are executed, the control information acquisition unit 115 determines whether or not encapsulated control information or response request information transmitted from the cloud server 3002 has been acquired (step S3101). If the control information acquisition unit 115 determines that neither control information nor response request information has been acquired (step S3101: No), the process of step S3103, which will be described later, is executed. On the other hand, if the control information acquisition unit 115 determines that control information or response request information has been acquired (step S3101: Yes), the control information acquisition unit 115 executes a decapsulation process to remove header information from the acquired control information or response request information to set the information addressed to the relay device 3001. Then, based on the device identification information included in the decapsulated control information or response request information, the control information or response request information is transmitted to the device 3 identified by the device identification information (step S3102).
[0072] Next, the response acquisition unit 3119 and the device status acquisition unit 121 determine whether or not they have acquired the response information and the device status information transmitted from the device 3 (step S3013). If the response acquisition unit 3119 and the device status acquisition unit 121 determine that they have not acquired the response information and the device status information (step S3013: No), the process of step S101 is executed again. On the other hand, if the response acquisition unit 3119 and the device status acquisition unit 121 determine that they have acquired the response information and the device status information (step S3013: Yes), they notify the response notification unit 3120 and the device status notification unit 122 of the acquired response information and the device status information, respectively. Then, the response notification unit 3120 and the device status notification unit 122 add the relay device identification information of the relay device 3001 to the notified response information and the device status information, encapsulate the information, and add header information for setting the destination to the cloud server 3002, and transmit the information to the cloud server 3002 (step S3014). Subsequently, the process of step S101 is executed again.
[0073] Next, a device management process executed by the cloud server 3002 according to this embodiment will be described with reference to FIG. 22 . Note that in FIG. 22 , processes similar to those in the first embodiment are denoted by the same reference numerals as those in FIG. 9 . In parallel with this device management process, the communication quality acquisition unit 3220 acquires communication quality information periodically transmitted from the relay devices 3001A and 3001B, and stores the acquired communication quality information in the communication quality storage unit 3232 in association with the relay device identification information of the relay device 3001 that transmitted the communication quality information and that is added to the communication quality information. First, the device discovery request unit 211 determines whether or not the device registration request information transmitted from the terminal device 4 has been acquired (step S201). If it is determined that the device registration request information has been acquired (step S201: Yes), the device discovery request unit 211 generates device discovery request information accordingly (step S3201). Next, relay device selection unit 3221 selects one of multiple relay devices 3001 based on the communication quality information stored in communication quality storage unit 3232, and device discovery request unit 3211 transmits the generated device discovery request information to relay device 3001 selected by relay device selection unit 3221 (step S3202). Subsequently, a series of processes from steps S203 to S210 is executed.
[0074] Thereafter, if the operation information acquisition unit 216 determines in step S210 that it has acquired operation information indicating a device operation (step S210: Yes), the authentication unit 217 references the user identification information and authentication information stored in the device information storage unit 231, performs authentication processing based on the user identification information and authentication information included in the operation information, and determines that the authentication is successful (step S211: Yes). In this case, the control information generation unit 218 generates control information for controlling the device 3 based on the operation content indicated by the operation information and the device identification information (step S3203). Next, the relay device selection unit 3221 selects one of the multiple relay devices 3001 based on the communication quality information stored in the communication quality storage unit 3232. Then, the control information notification unit 3219 transmits the control information to the relay device 3001 selected by the relay device selection unit 3221 (step S3204).
[0075] Next, the response acquisition unit 3222 determines whether response information transmitted from the relay device 3001 has been acquired (step S3205). If the response acquisition unit 3222 determines that response information has not been acquired (step S3205: No), it determines whether the response waiting time has elapsed (step S3206). If the response acquisition unit 3222 determines that the response waiting time information has not yet elapsed (step S3206: No), the process of step S3205 is executed again. On the other hand, if the response acquisition unit 3222 determines that the response waiting time information has elapsed (step S3206: Yes), the connection status management unit 3223 determines that communication between the cloud server 3002 and the device 3 via the relay device 3001 has been interrupted, and updates the connection status information stored in the connection status storage unit 3233 and corresponding to the relay device identification information of the relay device 3001 to connection status information indicating that communication via the relay device 3001 has been interrupted (step S3207). Next, the recovery monitoring unit 3224 starts periodically transmitting response request information to the relay device 3001 for which communication has been determined to be cut off (step S3208), after which the process of step S3203 is executed.
[0076] Furthermore, if the response acquisition unit 3222 determines in step S3205 that response information has been acquired (step S3205: Yes), a series of processes from steps S213 to S215 is executed. Next, the recovery monitoring unit 3224 determines whether response information has been acquired from the relay device 3001, which is the destination of the response request information (step S3209). Here, if the response acquisition unit 3222 determines that response information has not been acquired from the relay device 3001, which is the destination of the response request information (step S3209: No), the process of step S201 is executed again. On the other hand, if the response acquisition unit 3222 determines that response information has been acquired from the relay device 3001, which is the destination of the response request information (step S3209: Yes), the recovery monitoring unit 3224 determines that communication between the cloud server 3002 and the device 3 via the relay device 3001 has been restored, and stops sending the response request information. Furthermore, connection status management unit 3223 updates the connection status information stored in connection status storage unit 3233, which corresponds to the relay device identification information of relay device 3001 that is the destination of the response request information, to connection status information indicating that communication via relay device 3001 is normal (step S3210). Next, the process of step S201 is executed again.
[0077] As described above, the device management system according to this embodiment can maintain the quality of communication between the cloud server 3002 and the device 3 via the relay device 3001 at a relatively high level.
[0078] Furthermore, cloud server 3002 according to this embodiment monitors whether communication with device 3 via each of multiple relay devices 3001 has been interrupted, and when it is determined that communication with device 3 via a selected relay device 3001 has been interrupted, selects another relay device 3001. This allows cloud server 3001 to maintain communication with device 3 via any of multiple relay devices 3001, thereby preventing a situation in which operation of device 3 or acquisition of parameter information of device 3 cannot be performed due to a communication failure with device 3.
[0079] Although the embodiments of the present disclosure have been described above, the present disclosure is not limited to the above-described embodiments. For example, the cloud server may calculate, for each relay device, a delay time from when it transmits device discovery request information to the relay device until it acquires device information transmitted from the relay device, and select a relay device based on the calculated delay time.
[0080] As shown in Fig. 23, the device management system according to this modification includes a cloud server 4002, a relay device 4001, and a terminal device 4. In Fig. 23, the same components as those in the third embodiment are denoted by the same reference numerals as those in Fig. 17. The hardware configurations of the cloud server 4002 and the relay device 4001 are similar to the hardware configurations of the cloud server 2 and the relay device 1 described in the first embodiment, respectively. Therefore, the hardware configurations of the cloud server 4002 and the relay device 4001 according to this embodiment will be described using the reference numerals in Fig. 2 as appropriate.
[0081] The CPU 201 of the cloud server 4002 loads the programs stored in the auxiliary storage unit 203 into the main storage unit 202 and executes them, thereby functioning as a device search request unit 4211, a device information acquisition unit 4212, a connected device information notification unit 213, a device information setting unit 214, an operation information acquisition unit 216, an authentication unit 217, a control information generation unit 218, a control information notification unit 219, a relay device selection unit 4221, a response acquisition unit 3222, a connection status management unit 3223, a recovery monitoring unit 3224, a delay time calculation unit 4225, a device status acquisition unit 226, and a device status notification unit 227. The auxiliary storage unit 203 also includes a device information storage unit 231, a connection status storage unit 3233, a delay time history storage unit 4234, and a device status storage unit 232. 24 , for example, the delay time history storage unit 4234 stores a history of delay time information indicating the delay time for each of the plurality of relay devices 4001 in association with the relay device identification information of each of the plurality of relay devices 4001. Returning to FIG. 23 , when the device discovery request unit 4211 transmits device discovery request information to the relay device 4001, it notifies the delay time calculation unit 4225 of the relay device identification information of the relay device 4001 that is the destination of the device discovery request information. Furthermore, when the device information acquisition unit 4212 acquires the device information, it notifies the delay time calculation unit 4225 of the relay device identification information of the relay device 4001 that is the source of the device information.
[0082] Delay time calculation unit 4225 calculates, for each relay device 4001, a delay time from when device discovery request unit 4211 transmits device discovery request information to relay device 4001 until device information acquisition unit 4212 acquires device information transmitted from relay device 4001. Here, delay time calculation unit 4225 calculates a delay time from when relay device identification information is notified from device discovery request unit 4211 until the same relay device identification information is notified from device information acquisition unit 4212. Delay time calculation unit 4225 stores delay time information indicating the calculated delay time in delay time history storage unit 4234 in association with the relay device identification information that identifies the corresponding relay device 4001.
[0083] The relay device selection unit 4221 selects one of the multiple relay devices 4001 based on the delay time for each of the multiple relay devices 4001 stored in the delay time history storage unit 4234. Specifically, the relay device selection unit 4221 calculates the average value of the delay time for each of the multiple relay devices 4001, and selects the relay device 4001 with the smallest average value of the calculated delay times. Then, the relay device selection unit 4221 notifies the control information notification unit 3219 of relay device identification information that identifies the selected relay device 4001.
[0084] In the relay device 4001, the CPU 101 loads the program stored in the auxiliary storage unit 103 into the main storage unit 102 and executes it, thereby functioning as a search request acquisition unit 111, a device search unit 112, a device information notification unit 113, a relay device information notification unit 114, a control information acquisition unit 115, a control information transmission unit 116, a response acquisition unit 3119, and a response notification unit 3120. The auxiliary storage unit 103 also includes a device information storage unit 131 and a relay device information storage unit 132.
[0085] Next, a device management process executed by the cloud server 4002 according to this modification will be described with reference to FIG. 25 . Note that in FIG. 25 , processes similar to those in the first embodiment are denoted by the same reference numerals as those in FIG. 9 . First, the device discovery request unit 4211 determines whether the device registration request information transmitted from the terminal device 4 has been acquired (step S201). If it is determined that the device registration request information has been acquired (step S201: Yes), the device discovery request unit 4211 accordingly generates the device discovery request information and transmits it to the relay device 4001 (step S202). As a result, the device information acquisition unit 4212 acquires the device information transmitted from the relay device 4001, extracts the device identification information of the device 3 included in the acquired device information and the relay device identification information of the relay device 4001 that transmitted the device information, and stores the extracted device identification information and relay device identification information in association with each other in the device information storage unit 231 (step S203). Next, the delay time calculation unit 4225 calculates the delay time for each relay device 4001, and stores delay time information indicating the calculated delay time in the delay time history storage unit 4234 in association with relay device identification information that identifies the corresponding relay device 4001 (step S4201). Subsequently, a series of processes from steps S204 to S210 is executed.
[0086] Then, if the operation information acquisition unit 216 determines in step S210 that it has acquired operation information indicating a device operation (step S210: Yes), the authentication unit 217 references the user identification information and authentication information stored in the device information storage unit 231, performs authentication processing based on the user identification information and authentication information included in the operation information, and determines that the authentication is successful (step S211: Yes). In this case, the control information generation unit 218 generates control information for controlling the device 3 based on the operation content indicated by the operation information and the device identification information (step S3203). Next, the relay device selection unit 4221 selects one of the multiple relay devices 4001 based on the delay times for each of the multiple relay devices 4001 stored in the delay time history storage unit 4234. Then, the control information notification unit 3219 transmits the control information to the relay device 4001 selected by the relay device selection unit 4221 (step S4202). Subsequently, a series of processes from steps S3205 to S3210 are executed.
[0087] According to this configuration, it is possible to reduce the delay time of communication between the cloud server 4002 and the device 3 via the relay device 4001, thereby improving the responsiveness of the device 3.
[0088] In each embodiment, the cloud server 2, 3002 may include a relay device communication availability storage unit (not shown) that stores communication availability information indicating whether a user can communicate with the device 3 via the relay device 1, 2005, 3001 in association with user identification information. Here, the communication availability information is determined, for example, based on the specifications of the relay device 1, 2005, 3001. The device discovery request unit 211 may select the relay device 1, 2005, 3001 to which the device discovery request information is to be sent, based on the communication availability information stored in the relay device communication availability storage unit, and transmit the device discovery request information only to the selected relay device 1, 2005, 3001.
[0089] Furthermore, the various functions of relay devices 1, 2005, 3001, and 4001 and cloud servers 2, 2002, 3002, and 4002 according to the present disclosure may be implemented by software, firmware, or a combination of software and firmware. In this case, the software or firmware may be written as a program, and the program may be stored and distributed on a computer-readable recording medium such as a flexible disk, CD-ROM (Compact Disc Read Only Memory), DVD (Digital Versatile Disc), or MO (Magneto-Optical Disc). A computer capable of implementing the aforementioned functions may be configured by loading and installing the program on a computer. Furthermore, if the functions are implemented by sharing the responsibilities of an operating system (OS) and an application, or by collaboration between an OS and an application, only the parts other than the OS may be stored on the recording medium.
[0090] Furthermore, each program may be superimposed on a carrier wave and distributed via a communication network. For example, the program may be posted on a bulletin board system (BBS) on the communication network and distributed via the network. These programs may then be started and executed under the control of the OS in the same way as other application programs, thereby enabling the above-described processing to be performed.
[0091] The present disclosure is suitable as a device management system that remotely controls devices from a cloud server via a relay device.
[0092] 1, 1A, 1B, 2005, 3001, 3001A, 3001B, 4001 Relay device, 2, 2002, 3002, 4002 Cloud server, 3, 3A, 3B, 3C, 3D Device, 4 Terminal device, 8 Gateway device, 101, 201, 401 CPU, 102, 202, 402 Main memory unit, 103, 203, 403 Auxiliary memory unit, 106, 206 Communication unit, 109, 209, 409 Bus, 111 Search request acquisition unit, 112 Device search unit, 113 Device information notification unit, 114, 514 Relay device information notification unit, 115 Control information acquisition unit, 116 Control information transmission unit, 121 Device status acquisition unit, 122, 522 Device status notification unit, 131, 231, 2231 Device information storage unit, 132 Relay device information storage unit, 211, 3211, 4211 Device search request unit, 212, 4212 Device information acquisition unit, 213 Connected device information notification unit, 214 Device information setting unit, 216 Operation information acquisition unit, 217 Authentication unit, 218 Control information generation unit, 219, 3219 Control information notification unit, 226 Device status acquisition unit, 227 Device status notification unit, 232 Device status storage unit, 404 Display unit, 405 Input unit, 406 Wide area communication unit, 407 Local communication unit, 411 Device registration request unit, 412 Relay device search unit, 413 Connected device information acquisition unit, 414 Display control unit, 415 Registered device notification unit, 416 User information setting unit, 417 Operation information notification unit, 418 Device status acquisition unit, 431: connected device information storage unit, 432: user information storage unit, 433: device status storage unit, 3117: communication quality detection unit, 3118: communication quality notification unit, 3119, 3222: response acquisition unit, 3120: response notification unit, 3220: communication quality acquisition unit, 3221, 4221: relay device selection unit, 3222: response acquisition unit, 3223: connection status management unit, 3224: recovery monitoring unit, 3232: communication quality storage unit, 3233: connection status storage unit, 4225: delay time calculation unit, 4234: delay time history storage unit, NW1: wide area network, NW2: NW21: NW22: local network
Claims
a device management device that is capable of communicating with the first relay device via a first network, and that manages the device; and a terminal device that is capable of communicating with the first relay device via the first network, wherein the device management device has a device information storage unit that stores device identification information that identifies the device, first relay device identification information that identifies the first relay device, and user identification information that identifies a user of the device, in association with each other; the device management device transmits device search request information to the first relay device, requesting a search for the device that is capable of communicating with the first relay device via the first network, to the first relay device, thereby acquiring first device information including the device identification information and the first relay device identification information transmitted from the first relay device, and stores the device identification information and the first relay device identification information contained in the acquired first device information in association with each other in the device information storage unit; and upon acquiring the user identification information, the first relay device identification information, and the device identification information transmitted from the terminal device, stores the acquired user identification information, the first relay device identification information, and the device identification information in association with each other in the device information storage unit; a device management device for receiving the device information request information from the first relay device via the first network, the device information request information being transmitted to the device capable of communicating with the first relay device via the first network, the device information request information being transmitted to the device, the device information request information being transmitted to the device, the device information being transmitted to the device management device, the device information being transmitted to the device management device, the device information request information being transmitted to the device management device, the device information request information being transmitted to the device management device, the device information request information being transmitted to the device management device, the device information request information being transmitted to the device management device, the device information request information being transmitted to the device management device, the device information request information being transmitted to the device management device, the device information request information being transmitted to the device management device, the device information request information being transmitted to the device management device, the device information request information being transmitted to the device management device, the device information request information being transmitted to the device management device, the device information request information being transmitted to the device management device, the device information request information being transmitted to the device management device, the device information request information being transmitted to the device management device, 2. The method further includes a second relay device capable of communicating with the device and the first relay device via a first network, and the device information storage unit stores second relay device identification information identifying the second relay device in association with the first relay device identification information, the device management device transmits, to the first relay device, first device search request information requesting a search for the device and the second relay device capable of communicating with the first relay device via the first network, and transmits, to the second relay device, second device search request information requesting a search for the device capable of communicating with the second relay device via the first network, thereby acquiring the first device information including the device identification information, the first relay device identification information, and the second relay device identification information transmitted from the first relay device, and stores the device identification information and the second relay device identification information included in the acquired first device information and the first relay device identification information in association with each other in the device information storage unit, and acquires third device information including the device identification information and the second relay device identification information transmitted from the second relay device, and stores the device identification information and the second relay device identification information included in the acquired third device information in association with each other in the device information storage unit; When the first relay device acquires the first device search request information, the first relay device acquires the second device information transmitted from the device and the second relay device via the first network by transmitting the device information request information to the device and the second relay device that are capable of communicating with the first relay device via the first network, generates the first device information including the device identification information and the second relay device identification information included in the acquired second device information, and transmits it to the device management device, and when the first relay device acquires relay device information request information transmitted from the terminal device, requesting the first relay device to transmit relay device information including the first relay device identification information, transmits the relay device information to the terminal device;2. The device management system of claim 1, wherein, when the second relay device acquires the device discovery request information, the second relay device acquires the fourth device information transmitted from the device via the first network by transmitting device information request information to the device that can communicate with the second relay device via the first network, requesting the device to transmit fourth device information including the device identification information, and generates and transmits the third device information including the device identification information included in the acquired fourth device information to the device management device, and when the second relay device acquires relay device information request information transmitted from the terminal device, requesting the second relay device to transmit relay device information including the second relay device identification information, the second relay device transmits the relay device information to the terminal device.
3. An equipment management system as described in claim 1 or 2, wherein there are a plurality of first relay devices capable of communicating with an equipment via a first network, and the equipment management device has a communication quality memory unit that stores communication quality information indicating the communication quality of communication between the plurality of first relay devices and the equipment in correspondence with first relay device identification information of each of the plurality of first relay devices, selects one of the plurality of first relay devices based on the communication quality information, and, when operation information including the user identification information transmitted from the terminal device is obtained, generates control information for controlling the equipment based on the operation information, and transmits the generated control information to the selected first relay device.
4. An equipment management system as described in claim 1 or 2, wherein there are a plurality of first relay devices capable of communicating with an equipment via a first network, and the equipment management device calculates, for each of the plurality of first relay devices, a delay time until acquiring the first equipment information transmitted from the plurality of first relay devices after transmitting the equipment search request information to the plurality of first relay devices, selects one of the plurality of first relay devices based on the delay time for each of the plurality of first relay devices, and, when operation information including the user identification information transmitted from the terminal device is acquired, generates control information for controlling the equipment based on the operation information, and transmits the generated control information to the selected first relay device.
5. An equipment management system as described in claim 3 or 4, wherein the equipment management device monitors whether communication between the multiple first relay devices and the equipment has been interrupted, and when it is determined that communication between a selected first relay device and the equipment has been interrupted, selects another first relay device from among the multiple first relay devices.
6. An equipment management system as described in any one of claims 1 to 5, wherein the equipment management device communicates with the first relay device based on a first communication protocol, and the terminal device communicates with the first relay device based on a second communication protocol different from the first communication protocol.
7. A device management device that is capable of communicating with a device via a first network and a first relay device via a second network different from the first network and controls the device, comprising: a device information storage unit that stores device identification information that identifies the device, relay device identification information that identifies the first relay device, and user identification information that identifies a user of the device, in association with each other; a search request unit that transmits device search request information to the first relay device, requesting a search for the device that is capable of communicating with the first relay device via the first network; and a device information acquisition unit that acquires first device information including the device identification information and the relay device identification information transmitted from the first relay device by transmitting the device search request information to the first relay device, and stores the device identification information and the relay device identification information included in the acquired first device information in the device information storage unit in association with each other; a device information setting unit that, when acquiring the user identification information, the relay device identification information, and the device identification information transmitted from a terminal device that can communicate with the first relay device via the first network, stores the acquired user identification information, the relay device identification information, and the device identification information in the device information storage unit in association with each other.
8. A relay device capable of communicating with a device via a first network and capable of communicating with a device management device managing the device via a second network different from the first network, the relay device comprising: a first device searching unit that, upon receiving device search request information transmitted from the device management device requesting a search for the device capable of communicating via the first network, transmits device information request information to the device, requesting the device capable of communicating via the first network to transmit second device information including device identification information identifying the device, thereby acquiring the second device information transmitted from the device via the first network; a first device information notification unit that generates first device information including the device identification information contained in the acquired second device information and transmits it to the device management device; and a first relay device information notification unit that, upon receiving relay device information request information transmitted from a terminal device capable of communicating via the first network, requesting the transmission of relay device information including relay device identification information identifying the device itself, transmits the relay device information to the terminal device.
9. A device management method executed by a device management system including a first relay device capable of communicating with a device via a first network, a device management device capable of communicating with the first relay device via a second network different from the first network and controlling the device, and a terminal device capable of communicating with the first relay device via the first network, comprising: a step in which the device management device stores device identification information identifying the device, first relay device identification information identifying the first relay device, and user identification information identifying a user of the device in a device information storage unit in association with each other; a step in which the device management device transmits device search request information to the first relay device, requesting a search for the device capable of communicating with the first relay device via the first network; and a step in which the first relay device, upon receiving the device search request information, transmits device information request information to the device capable of communicating with the first relay device via the first network, requesting the device to transmit second device information including the device identification information, thereby receiving the second device information transmitted from the device via the first network; a step of the first relay device generating first device information including the device identification information and the first relay device identification information included in the acquired second device information and transmitting the first device information to the device management device; a step of the device management device acquiring the first device information transmitted from the first relay device, and storing the device identification information and the first relay device identification information included in the acquired first device information in the device information storage unit in association with each other; a step of the first relay device transmitting the relay device information to the terminal device when it acquires relay device information request information transmitted from the terminal device, which requests the first relay device to transmit relay device information including the relay device identification information; a step of the terminal device transmitting the relay device identification information included in the acquired relay device information and the device identification information and the user identification information included in the acquired first device information to the device management device when it acquires the relay device information;when the device management device acquires the user identification information, the relay device identification information, and the device identification information transmitted from the terminal device, the device management device stores the acquired user identification information, the relay device identification information, and the device identification information in the device information storage unit in association with each other.
10. A program for causing a computer to function as: a device information storage unit that stores device identification information identifying a device, relay device identification information identifying a first relay device capable of communicating with the device via a first network, and user identification information identifying a user of the device, in association with each other; a search request unit that transmits device search request information to the first relay device, requesting a search for the device capable of communicating with the first relay device via the first network; a device information acquisition unit that acquires first device information including the device identification information and relay device identification information transmitted from the first relay device when the device search request information is transmitted to the first relay device via a second network different from the first network, and stores the device identification information and the relay device identification information contained in the acquired first device information in association with each other in the device information storage unit; and a device information setting unit that acquires the user identification information, relay device identification information, and device identification information transmitted from a terminal device capable of communicating with the first relay device via the first network, and stores the acquired user identification information, relay device identification information, and device identification information in association with each other in the device information storage unit.
11. A program for causing a computer to function as: a first device search unit that, upon receiving device search request information transmitted from a device management device that manages devices, requests a search for the device capable of communicating via a first network, thereby acquiring, via the first network, second device information transmitted from the device; a first device information notification unit that generates first device information including the device identification information contained in the acquired second device information and transmits it to the device management device; and a first relay device information notification unit that, upon receiving relay device information request information transmitted from a terminal device capable of communicating via the first network, requests the transmission of relay device information including relay device identification information that identifies the device itself, and transmits the relay device information to the terminal device.
Citation Information
Patent Citations
Control system, server, control device, communication control method, and program
WO2022074727A1
Control system, control apparatus, device controlling method and program
WO2022091405A1
Cited By
Device access method, communication system, electronic device, storage medium and program product
CN119728203A
