Communication device, communication system, communication method, and program
The communication system ensures secure access to IoT devices by using BLE and proximity determination, preventing unauthorized access even with static information, and supporting devices without displays.
Patent Information
- Application Number
- PCT/JP2025/025286
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-05-20
- Filing Date
- 2025-07-15
- Publication Date
- 2026-11-26
AI Technical Summary
Existing technologies for securing IoT devices using two-dimensional codes are vulnerable to unauthorized access if the static access information is leaked, particularly for devices without display units.
A communication system employing peer-to-peer short-range wireless communication with proximity determination and access permission mechanisms, utilizing Bluetooth Low Energy (BLE) and RSSI measurement to ensure access is granted only when the user and device are in close proximity.
Prevents unauthorized access to IoT devices even if static access information is compromised, enhancing security and usability for devices without display units.
Smart Images

Figure JP2025025286_26112026_PF_FP_ABST
Abstract
Description
Communication Device, Communication System, Communication Method and Program
[0001] The present disclosure relates to a communication device, a communication system, a communication method, and a program.
[0002] In recent years, technologies have become widespread in which home appliances, referred to as IoT (Internet of Things) devices, information home appliances, network home appliances, smart home appliances, and the like, are accessed from an operation terminal such as a smartphone or tablet terminal via Bluetooth (registered trademark) communication to perform communication settings and the like. In this type of technology, a technique is well known in which communication with a home appliance is established using information read from a two-dimensional code such as a QR code (registered trademark) printed on paper, plastic, or the like attached to the housing or the like of the home appliance (for example, see paragraph
[0060] of Patent Document 1).
[0003] Japanese Unexamined Patent Application Publication No. 2014-60623
[0004] In the above technique, the user needs to approach the target home appliance and photograph the two-dimensional code with the camera of the operation terminal. If the two-dimensional code has not been leaked, it can be said that unauthorized access to the home appliance by a third party from outside the home is difficult.
[0005] However, if the two-dimensional code is leaked and once obtained by a malicious third party, there is a concern that the third party can easily access the home appliance from outside the home.
[0006] As a countermeasure against the above, a configuration is conceivable in which, in response to a user operation, the home appliance newly generates information for accessing itself and displays a two-dimensional code indicating the information. However, this configuration is limited to home appliances provided with a display unit capable of displaying a two-dimensional code, and has a problem in that it cannot be applied to home appliances that do not have a display function.
[0007] Therefore, the actual situation is that there is a demand for a proposal of a new technology that can prevent unauthorized access by a third party to a home appliance even if the information for accessing the home appliance is static information.
[0008] This disclosure is made in view of the above circumstances and aims to provide communication equipment, communication systems, communication methods, and programs that can prevent unauthorized access by third parties to communication equipment, even if the information used to access the communication equipment is static information.
[0009] To achieve the above objective, the communication device relating to this disclosure is a communication device equipped with communication means for performing peer-to-peer short-range wireless communication with an operating terminal, comprising: proximity determination means for determining whether the communication device and a user operating the operating terminal are in close proximity; and access permission means for allowing the user to access the communication device via the operating terminal if the proximity determination means determines that the communication device and the user are in close proximity.
[0010] According to this disclosure, even if the information used to access the communication device is static information, it becomes possible to prevent unauthorized access to the communication device by a third party.
[0011] A diagram showing the overall configuration of the communication system according to Embodiment 1. A block diagram showing the hardware configuration of the equipment according to Embodiment 1. A diagram for explaining the information holder of the equipment according to Embodiment 1. A block diagram showing the hardware configuration of the operation terminal according to Embodiment 1. A block diagram showing the hardware configuration of the server according to Embodiment 1. A diagram showing the functional configuration of the equipment according to Embodiment 1. A diagram showing the functional configuration of the operation terminal according to Embodiment 1. A diagram showing an example of the approach request screen according to Embodiment 1. A flowchart showing the procedure for issuing access rights according to Embodiment 1. A flowchart showing the procedure for issuing access rights according to Embodiment 1. A flowchart showing the procedure for acquiring access rights according to Embodiment 1. A flowchart showing the procedure for acquiring access rights according to Embodiment 1. A diagram showing the overall configuration of the communication system according to Embodiment 2. A diagram showing the functional configuration of the equipment according to Embodiment 2. A diagram showing the functional configuration of the operation terminal according to Embodiment 2. A flowchart showing the procedure for issuing access rights according to Embodiment 2.
[0012] The embodiments of this disclosure will be described in detail below with reference to the drawings. The communication system according to this disclosure can be applied to various buildings such as houses, office buildings, shops, and public facilities, but the following embodiments will be described using the case where it is applied to a house as an example.
[0013] (Embodiment 1) Figure 1 is a diagram showing the overall configuration of the communication system 1 according to this embodiment. The communication system 1 is an example of a communication system according to the present disclosure. The communication system 1 is a system that provides a user with a service for remote monitoring and remote control of equipment 2 installed in the user's residence H (hereinafter referred to as the "remote monitoring and control service"), and enables operations such as setting various settings and controlling the operation of equipment 2 using an operation terminal 3. As shown in Figure 1, the communication system 1 comprises equipment 2 installed in residence H, an operation terminal 3 used by the user, a router 4 installed in residence H, and a server 5 connected to a wide-area network N1 such as the Internet. Although Figure 1 illustrates a configuration in which one piece of equipment 2 is installed in residence H, there is no limit to the number of pieces of equipment 2 installed in residence H, and there may be two or more.
[0014] <Hardware Configuration of Device 2> Device 2 is an example of a communication device according to this disclosure. Device 2 is a home appliance that is referred to as an IoT device, information appliance, network appliance, smart appliance, etc., and is an example of an air conditioner, refrigerator, ventilation fan, etc. As shown in Figure 2, Device 2 comprises a control unit 20, a first communication unit 21, a second communication unit 22, a main component unit 23, and an auxiliary storage device 24.
[0015] The control unit 20 is composed of a CPU (Central Processing Unit), ROM (Read-Only Memory), RAM (Random-Access Memory), etc., and comprehensively controls the device 2. Details of the functions of the device 2 realized by the control unit 20 will be described later. The first communication unit 21 is an example of a communication means according to this disclosure. The first communication unit 21 is a communication interface composed of a communication driver IC (Integrated Circuit), etc., and performs peer-to-peer short-range wireless communication with the operation terminal 3, etc., according to instructions from the control unit 20. In this embodiment, the first communication unit 21 performs BLE (Bluetooth® Low Energy) communication with the operation terminal 3, etc. Hereinafter, the communication between the first communication unit 21 and the operation terminal 3 will be referred to as P2P communication.
[0016] The second communication unit 22 is a communication interface that includes a communication driver IC and the like, and performs wireless LAN (Local Area Network) communication (for example, Wi-Fi® communication) with the router 4 which has been set as a communication connection destination in advance by the operation terminal 3, according to the instructions of the control unit 20. The main component 23 is a component that realizes the original function of the device 2. For example, if the device 2 is an indoor unit of an air conditioner, the main component 23 includes, for example, actuators such as a fan and solenoid valve, a heat exchanger, and sensors such as a temperature sensor, a thermal image sensor, and a refrigerant temperature sensor.
[0017] The auxiliary storage device 24 is a storage device composed of read-write non-volatile semiconductor memory, an HDD (Hard Disk Drive), etc. Examples of read-write non-volatile semiconductor memory include EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory, etc. The auxiliary storage device 24 stores various programs, including programs related to processing during P2P communication (hereinafter referred to as "P2P communication processing programs"), and data used when these programs are executed. Device 2 can obtain and install the P2P communication processing programs or update programs for updating the P2P communication processing programs via communication from server 5, or other servers, terminals, etc. (not shown).
[0018] Furthermore, these programs can also be distributed by storing them on computer-readable storage media such as CD-ROMs (Compact Disc Read-Only Memory), DVDs (Digital Versatile Discs), magneto-optical disks, USB (Universal Serial Bus) memory, HDDs, SSDs (Solid-State Drives), and memory cards. When such a storage media is directly or indirectly attached to device 2, it can also read the P2P communication processing program or update program from the storage media and install it on itself.
[0019] Furthermore, as shown in Figure 3, an information holder 25 made of paper, plastic, or the like is attached to the surface of the device 2's casing. The information holder 25 has a matrix-type two-dimensional code 250 printed on it that contains device information, including the device's identifier (e.g., UUID (Universally Unique Identifier)) and password.
[0020] <Hardware Configuration of Operation Terminal 3> Operation terminal 3 is an example of an operation terminal according to this disclosure. Operation terminal 3 is a smart device such as a smartphone or tablet terminal that is owned and operated by a user who is a resident of residence H and the owner of equipment 2. As shown in Figure 4, operation terminal 3 comprises a CPU 30, ROM 31, RAM 32, operation reception unit 33, display unit 34, camera 35, first communication unit 36, second communication unit 37, third communication unit 38, and auxiliary storage device 39. These components are interconnected via a bus 40. The CPU 30 is a processor that comprehensively controls operation terminal 3. Details of the functions of operation terminal 3 realized by the CPU 30 will be described later.
[0021] ROM 31 is a memory device that stores programs that cannot be rewritten, such as BIOS (Basic Input / Output System). RAM 32 is a memory device used as a working area for the CPU 30. The operation reception unit 33 is composed of one or more input devices such as push buttons, touch panels, and touchpads, and receives operation input from the user and outputs signals related to the received operation to the CPU 30. The display unit 34 is composed of display devices such as liquid crystal displays and organic EL (Electroluminescence) displays, and under the control of the CPU 30, displays various screens, etc., according to the user's operation. The camera 35 is composed of an image sensor such as a CCD (Charge-Coupled Device) or CMOS (Complementary Metal Oxide Semiconductor), and captures a subject and acquires image data obtained from the capture.
[0022] The first communication unit 36 is a communication interface that includes a communication driver IC and the like, and performs P2P communication with device 2 according to instructions from the CPU 30. The second communication unit 37 is a communication interface that includes a communication driver IC and the like, and performs wireless LAN communication (for example, Wi-Fi® communication) with router 4 according to instructions from the CPU 30. The third communication unit 38 is a communication interface that includes a communication driver IC and the like, and performs cellular communication (for example, LTE (Long-Term Evolution), LPWA (Low Power, Wide Area), etc.) with server 5 according to instructions from the CPU 30.
[0023] The auxiliary storage device 39 is a storage device composed of read-write non-volatile semiconductor memory. Examples of read-write non-volatile semiconductor memory include EPROM, EEPROM, and flash memory. The auxiliary storage device 39 stores a device operation application, which is an application program for operating the device 2 via P2P communication, and data used when the device operation application is executed. The operation terminal 3 can obtain and install the device operation application or an update program for updating the device operation application from the server 5 or other servers, terminals, etc. (not shown) via communication.
[0024] Furthermore, these programs can also be distributed by storing them on computer-readable recording media such as CD-ROMs, DVDs, magneto-optical disks, USB memory sticks, HDDs, SSDs, and memory cards. When such a recording media is directly or indirectly attached to the operating terminal 3, it can also read the device operation application or update program from the recording media and install it on itself.
[0025] <Router 4> Router 4 is a broadband router that establishes a wireless LAN network N2 in the house H. It transmits frames addressed to server 5 received from device 2 via network N2 to server 5 via network N1, and transmits frames addressed to device 2 received from server 5 via network N1 to device 2 via network N2. Similarly, Router 4 transmits frames addressed to server 5 received from operating terminal 3 via network N2 to server 5 via network N1, and transmits frames addressed to operating terminal 3 received from server 5 via network N1 to operating terminal 3 via network N2.
[0026] <Hardware Configuration of Server 5> Server 5 is a so-called cloud server operated by the manufacturer, sales company, etc., of Equipment 2, and is connected to network N1. As shown in Figure 5, Server 5 has a hardware configuration consisting of a CPU 50, ROM 51, RAM 52, communication unit 53, and auxiliary storage device 54. These components are interconnected via a bus 55. The CPU 50 is a processor that comprehensively controls Server 5. The ROM 51 is a storage device that stores programs that cannot be rewritten, such as the BIOS. The RAM 52 is a storage device used as a working area for the CPU 50. The communication unit 53 is a communication interface that includes a communication driver IC, etc., and communicates with other devices via network N1.
[0027] The auxiliary storage device 54 is a storage device composed of read-write non-volatile semiconductor memory, HDD, etc. Examples of read-write non-volatile semiconductor memory include EPROM, EEPROM, flash memory, etc. The auxiliary storage device 54 stores a server program that includes a program for remotely monitoring and remotely operating equipment (equipment 2 in this example) in the customer user's house (house H in this example), and data used when the server program is executed.
[0028] <Functional Configuration of Device 2> As shown in Figure 6, Device 2 includes, as a characteristic function of this disclosure, an advertisement transmission unit 200, a connection establishment unit 201, a password authentication unit 202, an RSSI (Received Signal Strength Indicator) measurement unit 203, a proximity determination unit 204, an access permission unit 205, and a user notification unit 206. These functional units are realized by the control unit 20 of Device 2 executing the above-described P2P communication processing program stored in the auxiliary storage device 24. The advertisement transmission unit 200 periodically broadcasts an advertisement frame containing its own identifier (e.g., Device 2) (e.g., UUID). For example, the advertisement transmission unit 200 broadcasts an advertisement frame at a 50ms period.
[0029] When the connection establishment unit 201 receives a connection request frame indicating a connection request from the operation terminal 3 via P2P communication, it establishes a connection with the operation terminal 3. After the connection is established, when the password authentication unit 202 receives a password authentication request frame from the operation terminal 3, it authenticates the password stored in the password authentication request frame. Specifically, the password authentication unit 202 determines whether the password stored in the password authentication request frame (i.e., the password presented by the operation terminal 3) matches the password held by itself (i.e., the device 2). The legitimate password corresponding to the device 2 is the same as the password shown in the two-dimensional code 250 (see Figure 3) described above, and is stored by the manufacturer in the ROM of the control unit 20 or the auxiliary storage device 24 before shipment.
[0030] The password authentication unit 202 determines that the password presented from the operation terminal 3 is valid if both passwords match (this allows the device 2 to confirm that the operation terminal 3 has read the two-dimensional code 250), and determines that the password presented from the operation terminal 3 is invalid if both passwords do not match. The RSSI measurement unit 203 measures the RSSI (received signal strength) when it receives a frame transmitted from the operation terminal 3. The proximity determination unit 204 is an example of proximity determination means according to this disclosure. The proximity determination unit 204 determines whether the device 2 and the user operating the operation terminal 3 are in close proximity, in other words, whether the user operating the operation terminal 3 is in a position close to the device 2. Specifically, the proximity determination unit 204 determines that the device 2 and the user operating the operation terminal 3 are in close proximity if the RSSI when it receives the access permission request frame transmitted from the operation terminal 3 is above a predetermined threshold (hereinafter referred to as the "proximity determination threshold").
[0031] More specifically, the proximity determination unit 204 determines that the device 2 and the user are in close proximity if the average value of the RSSI over a certain period of time (e.g., 10 seconds) when it receives access permission request frames periodically sent from the operation terminal 3 after password authentication is greater than or equal to the proximity determination threshold. On the other hand, the proximity determination unit 204 determines that the device 2 and the user are not in close proximity if the average value of the RSSI over a certain period of time is less than the proximity determination threshold. If the proximity determination unit 204 determines that the device 2 and the user are in close proximity, it notifies the access permission unit 205 of this. On the other hand, if the proximity determination unit 204 determines that the device 2 and the user are not in close proximity, it sends a response frame to the operation terminal 3 indicating that proximity has been denied. This response frame contains information about the RSSI. Specifically, the response frame contains the average value of the most recent RSSI and the proximity determination threshold.
[0032] If the proximity determination unit 204 fails to determine that the device 2 and the user are in close proximity within a certain period of time (for example, 2 minutes) after password authentication, it disconnects the connection with the operation terminal 3 and instructs the user notification unit 206 to perform notification.
[0033] The access permission unit 205 is an example of an access permission means relating to this disclosure. The access permission unit 205 grants the user access to itself (i.e., device 2) via the operation terminal 3 if the password authentication unit 202 determines that the password presented from the operation terminal 3 is valid and the proximity determination unit 204 determines that the device 2 and the user operating the operation terminal 3 are in close proximity. In detail, the access permission unit 205 issues access rights to the operation terminal 3 if the password authentication unit 202 determines that the password presented from the operation terminal 3 is valid and the proximity determination unit 204 determines that the device 2 and the user operating the operation terminal 3 are in close proximity. For example, the access permission unit 205 generates a random number and issues the generated random number to the operation terminal 3 as information indicating access rights.
[0034] The user notification unit 206 is an example of a user notification means related to this disclosure. When the user notification unit 206 receives the above instruction from the proximity determination unit 204, that is, when the proximity determination unit 204 determines that the device 2 and the user operating the operation terminal 3 are not in close proximity for a certain period of time, it notifies the legitimate user of the device 2 that there is a high possibility that unauthorized access has been performed. In detail, if the device 2 is already able to communicate with the router 4, the user notification unit 206 sends a notification to the server 5 indicating that there is a high possibility that unauthorized access has been performed (hereinafter referred to as "unauthorized access notification"). When the server 5 receives such unauthorized access notification, it sends an email to the email address of the legitimate user of the device 2, which has been registered in advance, indicating that there is a high possibility that unauthorized access has been performed.
[0035] Furthermore, if the device 2 is equipped with a display such as a liquid crystal display or an organic EL display, the user notification unit 206 may provide notification by displaying a notification screen on the display, or if the device 2 is equipped with an LED (Light Emitting Diode), it may provide notification by illuminating the LED in a predetermined manner, or it may provide notification by buzzer sound, voice, etc.
[0036] <Functional Configuration of Operation Terminal 3> As shown in Figure 7, the operation terminal 3 includes, as a characteristic function of this disclosure, a device information acquisition unit 300, an advertisement receiving unit 301, a device connection unit 302, an authentication request unit 303, an access rights acquisition unit 304, and a proximity request screen display unit 305. These functional units are realized when the CPU 30 of the operation terminal 3 executes the above-mentioned device operation application stored in the auxiliary storage device 39. The device information acquisition unit 300 acquires device information of device 2 by decoding a two-dimensional code 250 (see Figure 3) captured by the camera 35 in response to user operation. As described above, the device information includes the identifier of device 2 (e.g., UUID) and a password. The device information acquisition unit 300 stores the acquired device information in the RAM 32 or the auxiliary storage device 39.
[0037] The advertisement receiving unit 301 receives the advertisement frame transmitted from the device 2. The advertisement receiving unit 301 notifies the device connection unit 302 that it has received the advertisement frame. The device connection unit 302 compares the identifier contained in the advertisement frame received by the advertisement receiving unit 301 with the identifier obtained by the device information acquisition unit 300. If the two identifiers match, it sends a connection request frame, which is a frame for requesting a connection via P2P communication, to the device 2 and establishes a connection with the device 2.
[0038] When the authentication request unit 303 establishes a connection with device 2, it requests password authentication from device 2. Specifically, the authentication request unit 303 sends a password authentication request frame to device 2 containing the password included in the device information acquired by the device information acquisition unit 300. The access authority acquisition unit 304 acquires access authority to enable various operations on device 2 from device 2. Specifically, when the password presented by the authentication request unit 303 is authenticated as valid by device 2, the access authority acquisition unit 304 begins periodically sending access authority request frames, which are frames requesting the issuance of access authority to device 2. After the access authority acquisition unit 304 begins sending access authority request frames, when access authority is issued by device 2, it receives it and stops sending access authority request frames.
[0039] The proximity request screen display unit 305 generates a screen (hereinafter referred to as the "proximity request screen") to prompt the user to approach the device 2 and displays it on the display unit 34. Specifically, after the access permission acquisition unit 304 starts transmitting an access permission request frame, the proximity request screen display unit 305 receives a response frame from the device 2 indicating that proximity has been denied. Based on the average value of RSSI and the proximity determination threshold stored in the received response frame, the proximity request screen display unit 305 generates a proximity request screen as shown in Figure 8, and displays the generated proximity request screen on the device operation application screen displayed on the display unit 34.
[0040] <Access Rights Issuance Process> Figures 9 and 10 are flowcharts showing the procedure for the access rights issuance process performed by device 2. The access rights issuance process starts when a connection with the operation terminal 3 is established.
[0041] (Step S101) Device 2 determines whether or not it has received a password authentication request frame from the operating terminal 3. If it has received a password authentication request frame from the operating terminal 3 (Step S101; YES), the processing of device 2 proceeds to step S102. If it has not received a password authentication request frame from the operating terminal 3 (Step S101; NO), device 2 continues to perform the determination in step S101.
[0042] (Step S102) The device 2 determines whether the password presented by the operation terminal 3 matches the password held by itself. If the two passwords match (Step S102; YES), the process of the device 2 proceeds to Step S103. If the two passwords do not match (Step S102; NO), the process of the device 2 proceeds to Step S107.
[0043] (Step S103) The device 2 transmits, to the operation terminal 3, a response frame indicating that the password authentication has been affirmed. Thereafter, the process of the device 2 proceeds to Step S104. As described above, when the password is authenticated by the device 2, the operation terminal 3 starts periodically transmitting the access authority request frame.
[0044] (Step S104) The device 2 determines whether or not the device 2 and a user who operates the operation terminal 3 are in proximity. As described above, the device 2 determines whether or not the device 2 and the user who operates the operation terminal 3 are in proximity, based on the RSSI when the access authority request frame is received. If the device 2 and the user are in proximity (Step S104; YES), the process of the device 2 proceeds to Step S105. If the device 2 and the user are not in proximity (Step S104; NO), the process of the device 2 proceeds to Step S109 in FIG. 10.
[0045] (Step S105) The device 2 transmits, to the operation terminal 3, a response frame indicating that the proximity has been affirmed. Thereafter, the process of the device 2 proceeds to Step S106.
[0046] (Step S106) The device 2 issues an access authority to the operation terminal 3. Thereafter, the device 2 ends the access authority issue process.
[0047] (Step S107) The device 2 transmits, to the operation terminal 3, a response frame indicating that the password authentication has been denied. Thereafter, the process of the device 2 proceeds to Step S108.
[0048] (Step S108) The device 2 disconnects the connection with the operation terminal 3. Thereafter, the device 2 ends the access authority issue process.
[0049] (Step S109) The device 2 determines whether a predetermined time (for example, 2 minutes) has elapsed since the password authentication. If the predetermined time has not elapsed since the password authentication (Step S109; NO), the process of the device 2 proceeds to Step S110. If the predetermined time has elapsed since the password authentication (Step S109; YES), the process of the device 2 proceeds to Step S111.
[0050] (Step S110) The device 2 transmits, to the operation terminal 3, a response frame indicating that the proximity is denied. The latest average RSSI value and the proximity determination threshold are stored in this response frame. Thereafter, the process of the device 2 returns to Step S104 in FIG. 9.
[0051] (Step S111) The device 2 performs user notification. Specifically, when the device 2 is already in a state capable of communication connection with the router 4, the device 2 transmits the above-described unauthorized access notification to the server 5. The server 5 having received the unauthorized access notification transmits, to the mail address of the authorized user of the device 2 registered in advance, an e-mail indicating that there is a high possibility that unauthorized access has been performed. In addition, the device 2 may perform notification by displaying a notification screen, causing an LED to emit light, outputting a buzzer sound, outputting voice, or the like. Thereafter, the process of the device 2 proceeds to Step S112.
[0052] (Step S112) The device 2 transmits, to the operation terminal 3, a response frame indicating that issuance of the access authority is denied. Thereafter, the process of the device 2 proceeds to Step S108 in FIG. 9.
[0053] <Access Authority Acquisition Process> FIGS. 11 and 12 are flowcharts illustrating the procedure of the access authority acquisition process executed by the operation terminal 3. The access authority acquisition process is started when the device operation application is activated by the user and a predetermined operation is performed on the device operation application.
[0054] (Step S201) In response to the user's operation to acquire device information, the operating terminal 3 acquires device information from the two-dimensional code 250 printed on the information holder 25 attached to the device 2. After that, the processing of the operating terminal 3 proceeds to step S202.
[0055] (Step S202) The operating terminal 3 establishes a connection with device 2 by sending a connection request frame via P2P communication (i.e., BLE communication) to the device (i.e., device 2) that transmits an advertisement frame containing an identifier that matches the identifier included in the acquired device information. After that, the processing of the operating terminal 3 proceeds to step S203.
[0056] (Step S203) The operating terminal 3 requests password authentication from the device 2. Specifically, the operating terminal 3 sends a password authentication request frame containing the password included in the device information to the device 2. After that, the processing of the operating terminal 3 proceeds to step S204.
[0057] (Step S204) The operating terminal 3 determines whether it has received a response frame from the device 2 for sending a password authentication request frame. If it has received the response frame (Step S204; YES), the operating terminal 3 proceeds to step S205. If it has not received the response frame (Step S204; NO), the operating terminal 3 continues to make the determination in step S204.
[0058] (Step S205) The operating terminal 3 determines whether the received response frame indicates affirmation of password authentication. If the received response frame indicates affirmation of password authentication (Step S205; YES), the processing of the operating terminal 3 proceeds to step S206. If the received response frame does not indicate affirmation of password authentication, that is, it indicates denial of password authentication (Step S205; NO), the processing of the operating terminal 3 proceeds to step S211.
[0059] (Step S206) The operating terminal 3 begins periodically sending access permission request frames. After that, the processing of the operating terminal 3 proceeds to step S207.
[0060] (Step S207) The operating terminal 3 determines whether it has received a response frame from the device 2 for sending an access permission request frame. If it has received the response frame (Step S207; YES), the operating terminal 3 proceeds to step S208. If it has not received the response frame (Step S207; NO), the operating terminal 3 continues to make the determination in step S207.
[0061] (Step S208) The operating terminal 3 determines whether the received response frame indicates proximity affirmation or not. If the received response frame indicates proximity affirmation (Step S208; YES), the processing of the operating terminal 3 proceeds to step S209. If the received response frame does not indicate proximity affirmation, that is, indicates proximity negation (Step S208; NO), the processing of the operating terminal 3 proceeds to step S213 in Figure 12.
[0062] (Step S209) The operating terminal 3 stops sending access permission request frames. After that, the processing of the operating terminal 3 proceeds to step S210.
[0063] (Step S210) The operating terminal 3 acquires the access rights issued by the device 2. After that, the operating terminal 3 terminates the access rights acquisition process. As a result, the user can perform operations on the device 2 via the operating terminal 3, such as setting connection information to the router 4 (e.g., SSID (Service Set Identifier) and password), turning the device on and off, changing modes, etc.
[0064] (Step S211) The operating terminal 3 stops sending access permission request frames. After that, the processing of the operating terminal 3 proceeds to step S212.
[0065] (Step S212) The operating terminal 3 excludes the device 2 from the list of connection partners and attempts to connect with another device 2 via BLE communication. For example, if there are multiple devices 2 with the same identifier in the house H, there is a possibility that a connection may be established with the wrong device 2. Therefore, if the password is rejected by the device 2 with which a connection has been established, the operating terminal 3 attempts to connect with another device 2, excludes the BLE communication address of the device 2 from the list of connection partners, and returns to the process in step S202. If a certain period of time has elapsed since the password was initially rejected and no device 2 that affirms the password is detected, the operating terminal 3 displays a message on the device operation application screen indicating that the target device 2 could not be found and terminates the access permission acquisition process.
[0066] (Step S213) The operating terminal 3 determines whether the received response frame indicates a denial of proximity. If the received response frame indicates a denial of proximity (Step S213; YES), the processing of the operating terminal 3 proceeds to step S214. If the received response frame does not indicate a denial of proximity, that is, if it indicates a denial of issuing access rights (Step S213; NO), the processing of the operating terminal 3 proceeds to step 215.
[0067] (Step S214) Based on the average value of RSSI and the proximity determination threshold stored in the received response frame, the operating terminal 3 generates an approach request screen (see Figure 8) to prompt the user to approach the device 2 and displays it on the device operation application screen. After that, the processing of the operating terminal 3 returns to step S207 in Figure 11.
[0068] (Step S215) The operating terminal 3 stops sending access permission request frames. The processing of the operating terminal 3 then proceeds to step S216.
[0069] (Step S216) The operating terminal 3 notifies the user that obtaining access rights has failed. For example, the operating terminal 3 displays a message on the device operation application screen indicating that obtaining access rights has failed. After that, the operating terminal 3 terminates the access rights acquisition process.
[0070] As explained above, in the communication system 1 of this embodiment, access rights are issued on the condition that the user operating the operation terminal 3 is in close proximity to the device 2. Therefore, even if a malicious third party obtains the device information (identification information and password) of device 2, it is possible to prevent access to device 2 from outside the home. In other words, according to the communication system 1 of this embodiment, it is possible to prevent unauthorized access to device 2 by a third party even if the information for accessing device 2 is static information.
[0071] Furthermore, since the device information can be static, various devices that do not have a display unit can be used as device 2, making it highly versatile.
[0072] Furthermore, if device 2 determines that device 2 and the user operating the control terminal 3 are not in close proximity, it sends a response frame containing the average value of the most recent RSSI and the proximity detection threshold to the control terminal 3. Upon receiving this response frame, the control terminal 3 displays a proximity request screen (see Figure 8) on the device operation application screen prompting the user to approach device 2.
[0073] Therefore, the user can immediately recognize the need to move closer to device 2, resulting in excellent usability.
[0074] Furthermore, if device 2 determines for a certain period of time that device 2 and the user operating terminal 3 are not in close proximity, it will notify the legitimate user of device 2 that there is a high probability that unauthorized access has been attempted. This will allow the legitimate user to take appropriate action immediately.
[0075] (Modification 1) In the above embodiment, device 2, which is a home appliance, was given as an example of a communication device according to the present disclosure. However, the communication module provided in device 2 may also be an example of a communication device according to the present disclosure.
[0076] (Modification 2) In the above embodiment, BLE communication was used as an example of P2P communication, but the embodiment is not limited to this, and P2P communication may be, for example, Wi-Fi® communication.
[0077] (Modification 3) The two-dimensional code 250 indicating the device information may be directly drawn on the surface of the device 2's casing by paint, engraving, etc., or, if the device 2 is equipped with a display device, it may be displayed on the display device. Furthermore, the two-dimensional code 250 is not limited to a matrix-type two-dimensional code, but may also be a stack-type two-dimensional code. In addition, the information holder 25 may indicate the device information as a one-dimensional code or an unencoded string. If the device information is indicated as an unencoded string, the user may input the device information to the operation terminal 3 via the operation reception unit 33, or the string may be automatically read from the image data obtained by shooting by image recognition using a device operation application.
[0078] (Modification 4) An IC tag (also called an RF tag) or an NFC (Near Field Communication) tag may be used as the information holder. In this case, the RFID (Radio Frequency Identification) reader function or NFC reader function provided by the operating terminal 3 is used to read the device information from the information holder.
[0079] (Modification 5) In the above embodiment, if a valid password is presented from the operating terminal 3 and the user operating the operating terminal 3 is in close proximity to the device 2, the access permission unit 205 issues access permission to the operating terminal 3. However, it is also possible to configure the system to allow subsequent access to the operating terminal 3 that has met the above conditions without issuing access permission. In this configuration, for example, the access permission unit 205 registers the identification information of the operating terminal 3 that has met the above conditions in an authenticated operating terminal list table (not shown) stored in the auxiliary storage device 24. The authenticated operating terminal list table is a data table in which the identification information of authenticated operating terminals that have been determined to be able to be allowed access is registered.
[0080] (Modification 6) The proximity request screen display unit 305 of the operating terminal 3 may display the current proximity (%) with the target value set to 100%, based on the average value of RSSI and the proximity determination threshold acquired from the device 2.
[0081] (Modification 7) The proximity request screen display unit 305 may estimate a target distance (cm) that the user should approach based on the average value of RSSI and the proximity determination threshold acquired from the device 2, and display the estimated target value on the proximity request screen.
[0082] (Modification 8) The proximity detection threshold may be pre-embedded in the device operation application. Alternatively, the operation terminal 3 may obtain the proximity detection threshold from the server 5 using information such as model information and firmware version obtained from the device 2 as keys. In these cases, the operation terminal 3 does not need to obtain the proximity detection threshold from the device 2, and the device 2 does not need to transmit the proximity detection threshold to the operation terminal 3.
[0083] (Modification 9) If device 2 sends a response frame to the operating terminal 3 indicating that the issuance of access rights has been refused (step S112 in Figure 10), and terminates the access rights issuance process by disconnecting the connection with the operating terminal 3 (step S108 in Figure 9), it may further include a locking unit (not shown) that locks the P2P communication. The locking unit is an example of a locking means according to this disclosure. For example, the locking unit automatically stops the transmission of advertise frames, stops accepting connection requests, etc. Alternatively, a legitimate user who has received notification from the server 5 that there is a high possibility that unauthorized access has been performed may instruct device 2 via the server 5 to execute the above lock, and the locking unit may perform the lock. The locking unit may release the lock after a certain period of time has elapsed, or it may release the lock by instruction from a legitimate user via the server 5 or by instruction from an operating terminal 3 that has access rights.
[0084] (Modification 10) In the above embodiment, the proximity determination unit 204 determined the proximity of the user operating the operation terminal 3 based on the RSSI when it received the access permission request frame transmitted from the operation terminal 3. Alternatively, the proximity of the user operating the operation terminal 3 may be determined based on whether or not the user has made an operation via an operation reception unit (not shown) provided in the device 2 that directly receives operations from the user. This operation reception unit is an example of the operation reception means according to the present disclosure, and is, for example, an input device provided on the main body of the device 2, a dedicated remote control for the device 2, etc. In detail, the proximity determination unit 204 of this modification determines that the device 2 and the user operating the operation terminal 3 are in close proximity if a predetermined operation is performed by the user via the operation reception unit within a certain period of time (for example, 2 minutes) after the connection with the operation terminal 3 is established.
[0085] On the other hand, if the proximity determination unit 204 has not performed a predetermined operation via the operation reception unit within a certain period of time after establishing a connection with the operation terminal 3, it determines that the device 2 and the user operating the operation terminal 3 are not in close proximity. In this case, the proximity determination unit 204 disconnects the connection with the operation terminal 3 and instructs the user notification unit 206 to perform notification. Furthermore, in this case, as in Modification 9, the lock unit may lock the P2P communication automatically or by instruction of a legitimate user after the completion of the access rights issuance process. The lock unit in this Modification may release the lock under the conditions shown in Modification 9, or it may release the lock when a predetermined operation is performed by the user via the operation reception unit.
[0086] (Modification 11) All or part of the functional unit of device 2 (see Figure 6) may be implemented with dedicated hardware. Also, all or part of the functional unit of operation terminal 3 (see Figure 7) may be implemented with dedicated hardware. Dedicated hardware includes, for example, a single circuit, a composite circuit, a programmed processor, an ASIC (Application-Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or a combination thereof.
[0087] The technical concepts related to each of the above-described modifications may be implemented individually or in combination as appropriate.
[0088] (Embodiment 2) Next, Embodiment 2 of the present disclosure will be described. In the following description, components and the like that are common to Embodiment 1 will be denoted by the same reference numerals, and their descriptions will be omitted.
[0089] Figure 13 shows the overall configuration of the communication system 1' according to this embodiment. The communication system 1' is an example of a communication system according to the present disclosure. The communication system 1' provides a remote monitoring and control service to a user, which remotely monitors and remotely controls equipment 2' installed in the user's residence H, and also enables operations such as setting various settings and controlling the operation of equipment 2' using an operation terminal 3'. As shown in Figure 13, the communication system 1' comprises equipment 2' installed in the residence H, an operation terminal 3' used by the user, a router 4 installed in the residence H, and a server 5 connected to a wide-area network N1 such as the Internet. The configuration of the communication system 1' differs from the communication system 1 according to Embodiment 1 (see Figure 1) in that it includes equipment 2' and an operation terminal 3' instead of equipment 2 and an operation terminal 3, but the configurations of both are similar in other respects.
[0090] <Configuration of Device 2'> The hardware configuration of Device 2' is the same as that of Device 2 according to Embodiment 1 (see Figure 2). Also, similar to Device 2, an information holder 25 made of paper, plastic, etc. is attached to the surface of the housing of Device 2' (see Figure 3). A matrix-type two-dimensional code 250 containing device information, including the identifier of Device 2' (e.g., UUID) and the password, is printed on the information holder 25.
[0091] As shown in Figure 14, device 2' includes, as a characteristic function of this disclosure, an advertisement transmission unit 200, a connection establishment unit 201, a password authentication unit 202, a proximity determination unit 204', and an access permission unit 205'. These functional units are realized when the control unit 20 of device 2' executes a P2P communication processing program, which is a program related to processing during P2P communication, stored in the auxiliary storage device 24. The functional configuration of device 2' differs from device 2 according to Embodiment 1 (see Figure 6) in that it includes a proximity determination unit 204' and an access permission unit 205' instead of a proximity determination unit 204 and an access permission unit 205, and does not include an RSSI measurement unit 203 and a user notification unit 206, but the functional configurations of both are the same in all other respects.
[0092] The proximity determination unit 204' is an example of proximity determination means according to the present disclosure. The proximity determination unit 204' determines whether the device 2' and the user operating the operation terminal 3' are in close proximity, or in other words, whether the user operating the operation terminal 3' is in a position close to the device 2'. In detail, the proximity determination unit 204' determines that the device 2' and the user operating the operation terminal 3' are in close proximity if, after a predetermined operation on the device 2' has been performed by the user via an operation reception unit (not shown, an input device provided on the main body of the device 2', a dedicated remote control for the device 2', etc.) that directly receives operations from the user, a connection request has been received from the operation terminal 3' within a certain period of time (for example, 3 minutes) (i.e., a connection request frame has been received). The operation reception unit is an example of operation reception means according to the present disclosure.
[0093] Access permission unit 205' is an example of an access permission means relating to this disclosure. The access permission unit 205' issues access permission to the operating terminal 3' when the proximity determination unit 204' determines that the device 2' and the user operating the operating terminal 3' are in close proximity, and the password authentication unit 202 determines that the password presented from the operating terminal 3' is valid. For example, the access permission unit 205' generates a random number and issues the generated random number to the operating terminal 3' as information indicating access permission.
[0094] <Configuration of Operation Terminal 3'> The hardware configuration of operation terminal 3' is the same as that of operation terminal 3 according to Embodiment 1 (see Figure 4). As shown in Figure 15, operation terminal 3' includes, as a characteristic function of this disclosure, a device information acquisition unit 300, an advertisement receiving unit 301, a device connection unit 302, an authentication request unit 303, and an access rights acquisition unit 304'. These functional units are realized when the CPU 30 of operation terminal 3' executes a device operation application, which is an application program for operating device 2' via P2P communication, stored in the auxiliary storage device 39. The functional configuration of operation terminal 3' differs from that of operation terminal 3 according to Embodiment 1 (see Figure 7) in that it includes an access rights acquisition unit 304' instead of an access rights acquisition unit 304, and does not include an approach request screen display unit 305, but the functional configurations of both are the same in all other respects.
[0095] The access rights acquisition unit 304' acquires access rights to enable various operations on device 2' from device 2'. In detail, the access rights acquisition unit 304' receives access rights issued by device 2' via P2P communication when the password presented by the authentication request unit 303 is authenticated as valid.
[0096] <Access Rights Issuance Process> Figure 16 is a flowchart showing the procedure for the access rights issuance process performed by device 2'. The access rights issuance process starts when device 2' is powered on.
[0097] (Step S301) Device 2' determines whether a predetermined operation has been performed by the user via an operation reception unit (not shown) that it has. If the user has performed the operation (Step S301; YES), the processing of device 2' proceeds to step S302. If the user has not performed the operation (Step S301; NO), device 2' continues to perform the determination in step S301.
[0098] (Step S302) Device 2' begins periodic broadcast transmission of an advertisement frame containing its own identifier (e.g., UUID). The communication period in this case is, for example, 50 ms. After that, the processing of device 2' proceeds to step S303.
[0099] (Step S303) Device 2' determines whether it has received a connection request frame from the operation terminal 3' within a certain period of time since it started transmitting the advertisement frame (i.e., since the user performed a predetermined operation via the operation reception unit). If it has received a connection request frame from the operation terminal 3' within a certain period of time (Step S303; YES), device 2' proceeds to step S304. In this case, device 2' determines that device 2' and the user operating the operation terminal 3' are in close proximity. If it has not received a connection request frame from the operation terminal 3' within a certain period of time (Step S303; NO), device 2' proceeds to step S308. In this case, device 2' determines that device 2' and the user operating the operation terminal 3' are not in close proximity.
[0100] (Step S304) Device 2' establishes a connection with the operating terminal 3'. After that, the processing of device 2' proceeds to step S305.
[0101] (Step S305) Device 2' determines whether or not it has received a password authentication request frame from the operating terminal 3'. If it has received a password authentication request frame from the operating terminal 3' (Step S305; YES), device 2' proceeds to step S306. If it has not received a password authentication request frame from the operating terminal 3' (Step S305; NO), device 2' continues to perform the determination in step S305.
[0102] (Step S306) Device 2' determines whether the password presented by the operating terminal 3' matches the password it holds. If both passwords match (Step S306; YES), device 2' proceeds to step S307. If both passwords do not match (Step S306; NO), device 2' proceeds to step S309.
[0103] (Step S307) Device 2' issues access authority to the operating terminal 3'. After that, device 2' terminates the access authority issuance process.
[0104] (Step S308) Device 2' stops transmitting the advertised frame. Then, the processing of device 2' returns to step S301.
[0105] (Step S309) Device 2' sends a response frame to the operating terminal 3' indicating that password authentication has been denied. After that, device 2' proceeds to step S310.
[0106] (Step S310) Device 2' disconnects from the operating terminal 3'. After that, device 2' terminates the access rights issuance process.
[0107] As explained above, in the communication system 1' of this embodiment, access rights are issued on the condition that the user operating the operation terminal 3' is in close proximity to the device 2'. Therefore, even if a malicious third party obtains the device information (identification information and password) of device 2', access to device 2' from outside the home can be prevented. In other words, according to the communication system 1' of this embodiment, even if the information for accessing device 2' is static information, it is possible to prevent unauthorized access to device 2' by a third party.
[0108] Furthermore, since the device information can be static, various devices without a display unit can be used as device 2', making it highly versatile.
[0109] (Modification 1) The configurations of Modifications 1 to 5 of Embodiment 1 can also be applied to the communication system 1' according to this embodiment.
[0110] (Modification 2) If device 2' is started without having issued access rights even once (for example, when it is started for the first time after being installed in house H), it may immediately start sending an advertisement frame, and may also remove the time limit for receiving connection requests from the operating terminal 3. By doing so, the workload on the user (for example, the workload during installation) can be reduced in situations where the possibility of unauthorized access is low.
[0111] (Modification 3) All or part of the functional unit of device 2' (see Figure 14) may be implemented with dedicated hardware. Also, all or part of the functional unit of the operating terminal 3' (see Figure 15) may be implemented with dedicated hardware. Dedicated hardware may be, for example, a single circuit, a composite circuit, a programmed processor, an ASIC, an FPGA, or a combination thereof.
[0112] The technical concepts related to each of the above-described modifications may be implemented individually or in combination as appropriate.
[0113] This disclosure can be implemented in various forms and variations without departing from its broad spirit and scope. Furthermore, the embodiments described above are for illustrative purposes only and do not limit the scope of this disclosure. In other words, the scope of this disclosure is indicated by the claims, not by the embodiments. Various variations implemented within the scope of the claims and the equivalent significance of the disclosure are considered to be within the scope of this disclosure.
[0114] This application is based on Japanese Patent Application No. 2025-083691, filed on 20 May 2025. The entire specification, claims, and drawings of the same are incorporated herein by reference.
[0115] This disclosure can be suitably adopted in technologies relating to wireless communication between terminals and consumer electronics.
[0116] 1,1' Communication system, 2,2' Equipment, 3,3' Operation terminal, 4 Router, 5 Server, 20 Control unit, 21,36 First communication unit, 22,37 Second communication unit, 23 Main component unit, 24,39,54 Auxiliary storage unit, 25 Information holder, 30,50 CPU, 31,51 ROM, 32,52 RAM, 33 Operation reception unit, 34 Display unit, 35 Camera, 38 Third communication unit, 40,55 Bus, 53 Communication unit, 200 Advertisement transmission unit, 201 Connection establishment unit, 202 Password authentication unit, 203 RSSI measurement unit, 204,204' Proximity determination unit, 205,205' Access permission unit, 206 User notification unit, 250 Two-dimensional code, 300 Equipment information acquisition unit, 301 Advertisement receiving unit, 302 Device connection unit, 303 Authentication request unit, 304, 304' Access rights acquisition unit, 305 Approach request screen display unit
Claims
1. A communication device equipped with communication means for performing peer-to-peer short-range wireless communication with an operating terminal, comprising: proximity determination means for determining whether the communication device and a user operating the operating terminal are in close proximity; and access permission means for allowing the user to access the communication device via the operating terminal if the proximity determination means determines that the communication device and the user are in close proximity.
2. The communication device according to claim 1, wherein the proximity determination means determines whether the communication device and the user operating the operating terminal are in close proximity based on the received signal strength when a frame is received from the operating terminal.
3. The communication device according to claim 2, wherein the proximity determination means determines that the communication device and the user operating the operating terminal are not in close proximity, and transmits a frame containing information regarding the received signal strength to the operating terminal.
4. The communication device according to claim 1, further comprising an operation receiving means for directly receiving operations from a user, wherein the proximity determination means determines that the communication device and the user operating the operation terminal are in close proximity if a predetermined operation is performed by the user via the operation receiving means within a certain period of time after a connection with the operation terminal is established.
5. The communication device according to any one of claims 1 to 4, further comprising a user notification means that, if the proximity determination means determines for a certain period of time that the communication device and the user operating the operating terminal are not in close proximity, notifies the legitimate user that there is a high probability that unauthorized access has been performed.
6. The communication device according to claim 5, further comprising a locking means for locking the short-range wireless communication after notification by the user notification means.
7. The communication device according to claim 1, further comprising an operation receiving means for directly receiving operations from a user, wherein the proximity determination means determines that the communication device and the user operating the operation terminal are in close proximity if a connection request is received from the operation terminal within a certain period of time after a predetermined operation has been performed by the user via the operation receiving means.
8. A communication system comprising an operating terminal and a communication device, wherein the communication device includes: communication means for performing peer-to-peer short-range wireless communication with the operating terminal; proximity determination means for determining whether the communication device and a user operating the operating terminal are in close proximity; and access permission means for allowing the user to access the communication device via the operating terminal if the proximity determination means determines that the communication device and the user are in close proximity.
9. The communication system according to claim 8, wherein the proximity determination means determines whether the communication device and the user operating the operating terminal are in close proximity based on the received signal strength when a frame is received from the operating terminal.
10. The communication system according to claim 9, wherein if the proximity determination means determines that the communication device and the user operating the operating terminal are not in close proximity, it transmits a frame containing information regarding the received signal strength to the operating terminal, and when the operating terminal receives the frame, it displays a screen prompting the user to approach the device.
11. A communication method comprising a communication device equipped with communication means for performing peer-to-peer short-range wireless communication with an operating terminal, which determines whether the communication device and a user operating the operating terminal are in close proximity, and if it is determined that the communication device and the user are in close proximity, permits the user to access the communication device via the operating terminal.
12. A program that causes a communication device equipped with communication means for performing peer-to-peer short-range wireless communication with an operating terminal to function as proximity determination means for determining whether the communication device and the user operating the operating terminal are in close proximity, and access permission means for allowing the user to access the communication device via the operating terminal if the proximity determination means determines that the communication device and the user are in close proximity.
