METHOD, SYSTEM AND PROGRAM FOR CONTROLLING IoT DEVICE USING MESSENGER BOT

The integration of IoT device control through a messenger bot allows users to manage multiple IoT devices via a single application, addressing the inconvenience of separate applications and improving usability and efficiency.

JP2025010530AActive Publication Date: 2025-01-21LINE PLUS
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2024147103
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2018-10-04
Filing Date
2024-08-29
Publication Date
2025-01-21
Estimated Expiration
2039-09-06

AI Technical Summary

Technical Problem

Existing IoT device control methods require separate applications for each device, which is cumbersome and inconvenient for users.

Method used

A method and system that integrates IoT device control through a messenger bot, allowing users to manage multiple IoT devices via a single application by adding a bot to the messenger for interaction with an IoT server, enabling registration, control, and management of devices without the need for individual applications.

Benefits of technology

Enables seamless control and management of various IoT devices using a common messenger application, enhancing usability, efficiency, and reducing the inconvenience of installing multiple applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025010530000001_ABST
    Figure 2025010530000001_ABST
Patent Text Reader

Abstract

To provide techniques of controlling an IoT (Internet of Things) device.SOLUTION: A method of controlling an IoT device using a messenger bot includes: adding, to a messenger, a chatroom with a bot for interaction between an IoT server and a user of the messenger; and controlling the IoT device by transmitting a control signal of the IoT device to the IoT server according to a control input that is input from the user to the chatroom.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The following description relates to a technique for controlling IoT (Internet of Things) devices. [Background technology]

[0002] IoT refers to connecting all things that can communicate with each other through a network. All objects that can be recognized by the system are classified as "Things" or "Objects," and this includes things or people that are equipped with short-range and long-range communication functions and can generate and use data such as sensors.

[0003] IoT can be seen as infrastructure for realizing a ubiquitous space. Such a ubiquitous space will begin with embedding computing devices with specific functions into the environment and objects, making the environment and objects themselves intelligent.

[0004] IoT services are a technology that will bring us a safer and more convenient life. As a result, various mobile communication companies and device manufacturers are focusing on developing devices and services that support IoT, which is considered to be the next generation of mobile services.

[0005] Patent Document 1 discloses a method for systematically providing IoT services to various things. [Prior art documents] [Patent documents]

[0006] [Patent Document 1] Korean Patent Publication No. 10-2014-0008667 Summary of the Invention

[0007] Provided is an IoT control method executed by a computer system including at least one processor configured to execute computer-readable instructions contained in a memory, the IoT control method including a step of the at least one processor adding a chat room with a bot to a messenger installed on the computer system for linking a user of the messenger with an IoT server, and a step of the at least one processor controlling the IoT server by sending a control signal for the IoT server in accordance with a control input entered by the user in the chat room.

[0008] According to one aspect, the adding step may include adding a chat room with the bot to a chat room list on the messenger in response to user input to add an official account of the IoT server.

[0009] According to another aspect, the adding step may include providing a user interface for receiving user information from the user, and adding a chat room with the bot after verifying whether the user is a registered user on the IoT server using the user information received from the user.

[0010] According to another aspect, the adding step may include a step of transmitting user information registered on the messenger to the IoT server so that the IoT server can newly register the user information or match the user information with existing user information registered on the IoT server.

[0011] According to another aspect, the adding step may include a step of registering at least one IoT device found by a device search using short-range communication as a device to be controlled in a chat room with the bot.

[0012] According to another aspect, the adding step may include a step of associating identification information of the IoT device or a unique identifier matching the identification information of the IoT device with the user and recording it as information of the IoT device to be controlled through a chat room with the bot.

[0013] According to another aspect, the adding step may include adding a friend user selected by the messenger user from a friend list on the messenger to a chat room with the bot.

[0014] According to another aspect, the added friend user may be granted authority to control the IoT device for a predetermined period of time from the time they are added to a chat room with the bot.

[0015] According to another aspect, the controlling step may include a step of associating the control signal, including information of the IoT device identified based on the control input and a control command, with the user and transmitting the control signal to the IoT server.

[0016] According to another aspect, the controlling step may include providing a list of IoT devices that can be controlled via a chat room with the bot and a menu list for controlling functions of the IoT devices included in the IoT device list, receiving the control input from the user using the IoT device list and the menu list, and identifying the IoT device to be controlled and a control command based on the control input.

[0017] According to another aspect, the controlling step may include identifying the IoT device and the control command by analyzing a sentence entered by the user as a conversation message in a chat room with the bot.

[0018] According to yet another aspect, the IoT control method may further include a step in which the at least one processor records the control content of the IoT device by recording at least one message sent and received in a chat room with the bot.

[0019] The present invention provides a program for causing a computer system to execute the IoT control method, and a recording medium having the program recorded thereon.

[0020] Provided is a computer system including at least one processor configured to execute computer-readable instructions contained in a memory, the at least one processor adding a chat room with a bot to a messenger installed on the computer system for linking a user of the messenger with an IoT server, an IoT registration unit registering at least one IoT device controllable by the IoT server, and an IoT control unit controlling the IoT device by sending a control signal of the IoT device to the IoT server in accordance with a control input entered into the chat room by the user. [Brief description of the drawings]

[0021] [Figure 1] FIG. 1 illustrates an example of a network environment in accordance with an embodiment of the present invention. [Diagram 2] 2 is a block diagram illustrating the internal configuration of an electronic device and a server according to an embodiment of the present invention. FIG. [Diagram 3] FIG. 2 illustrates example components that may be included in a processor of an electronic device in accordance with an embodiment of the present invention. [Figure 4] 4 is a flowchart illustrating an example of a method that can be performed by an electronic device in accordance with an embodiment of the present invention. [Diagram 5] FIG. 11 is a diagram illustrating an example of a process for adding a bot to a messenger for linking with an IoT server in one embodiment of the present invention. [Figure 6] FIG. 13 is a diagram illustrating an example of a process for registering an IoT device that can be controlled by a bot in one embodiment of the present invention. [Figure 7] FIG. 1 is a diagram illustrating an example of a process for controlling an IoT device by a bot in one embodiment of the present invention. [Figure 8] FIG. 13 is a diagram showing an example of a chat room screen with a bot in one embodiment of the present invention. [Figure 9] FIG. 13 is a diagram showing an example of a chat room screen with a bot in one embodiment of the present invention. [Figure 10] FIG. 13 is a diagram showing an example of a chat room screen with a bot in one embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0022] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[0023] An embodiment of the present invention relates to a technology for controlling IoT devices using a messenger bot.

[0024] An embodiment including the matters specifically disclosed in this specification adds a bot for interfacing with an IoT server to a messenger, and the bot can control IoT devices under the IoT server, thereby achieving significant advantages in terms of usability, efficiency, convenience, cost reduction, etc.

[0025] Fig. 1 is a diagram showing an example of a network environment in one embodiment of the present invention. The network environment in Fig. 1 shows an example including a plurality of electronic devices 110, 120, 130, 140, a plurality of servers 150, 160, and a network 170. Fig. 1 is merely an example for explaining the invention, and the number of electronic devices and the number of servers are not limited to those shown in Fig. 1.

[0026] The electronic devices 110, 120, 130, and 140 may be fixed terminals or mobile terminals realized by computer systems. Examples of the electronic devices 110, 120, 130, and 140 include smartphones, mobile phones, navigation systems, personal computers (PCs), notebook PCs, digital broadcasting terminals, personal digital assistants (PDAs), portable multimedia players (PMPs), tablets, game consoles, wearable devices, IoT devices, virtual reality (VR) devices, and augmented reality (AR) devices. As an example, FIG. 1 shows a smartphone as an example of the electronic device 110, but in the embodiment of the present invention, the electronic device 110 may mean one of various physical computer systems that can communicate with other electronic devices 120, 130, and 140 and / or servers 150 and 160 via a network 170 using a substantially wireless or wired communication method.

[0027] The communication method is not limited, and may include not only a communication method using a communication network (for example, a mobile communication network, a wired Internet, a wireless Internet, a broadcast network, a satellite network, etc.) that the network 170 can include, but also short-range wireless communication between devices. For example, the network 170 may include any one or more of a personal area network (PAN), a local area network (LAN), a campus area network (CAN), a metropolitan area network (MAN), a wide area network (WAN), a broadband network (BBN), the Internet, etc. Furthermore, the network 170 may include any one or more of a network topology including, but not limited to, a bus network, a star network, a ring network, a mesh network, a star-bus network, a tree or a hierarchical network, etc.

[0028] Each of the servers 150 and 160 may be realized by one or more computer devices that communicate with the multiple electronic devices 110, 120, 130, and 140 via the network 170 to provide instructions, codes, files, content, services, and the like. For example, the server 150 may be a system that provides a first service to the multiple electronic devices 110, 120, 130, and 140 connected via the network 170, and the server 160 may be a system that provides a second service to the multiple electronic devices 110, 120, 130, and 140 connected via the network 170. As a more specific example, the server 150 may provide a service (e.g., a messenger service, for example) targeted by an application, which is a computer program installed and executed in the multiple electronic devices 110, 120, 130, and 140, as a first service to the multiple electronic devices 110, 120, 130, and 140. As another example, the server 160 may provide, as a second service, a service of distributing files for installing and executing the above-mentioned application to the multiple electronic devices 110, 120, 130, and 140.

[0029] Fig. 2 is a block diagram for explaining the internal configuration of an electronic device and a server in an embodiment of the present invention. In Fig. 2, the internal configuration of electronic device 110 and the internal configuration of server 150 are explained as examples of electronic devices. In addition, other electronic devices 120, 130, 140 and server 160 may have the same or similar internal configuration as electronic device 110 or server 150 described above.

[0030] The electronic device 110 and the server 150 may include memories 211 and 221, processors 212 and 222, communication modules 213 and 223, and input / output interfaces 214 and 224. The memories 211 and 221 may be non-transitory computer-readable recording media and may include persistent mass storage devices such as random access memory (RAM), read only memory (ROM), disk drives, solid state drives (SSD), flash memories, and the like. Here, persistent mass storage devices such as ROM, SSD, flash memories, and disk drives may be included in the electronic device 110 and the server 150 as persistent storage devices separate from the memories 211 and 221. In addition, the memories 211 and 221 may store an operating system and at least one program code (for example, a code for a browser installed and executed in the electronic device 110, an application installed in the electronic device 110 to provide a specific service, and the like). Such software components may be loaded from a computer-readable recording medium separate from the memories 211 and 221. Such another computer-readable recording medium may include a computer-readable recording medium such as a floppy drive, a disk, a tape, a DVD / CD-ROM drive, a memory card, etc. In another embodiment, the software components may be loaded into the memory 211, 221 through a communication module 213, 223 that is not a computer-readable recording medium. For example, at least one program may be loaded into the memory 211, 221 based on a computer program (for example, the above-mentioned application) that is installed by a file provided via the network 170 by a developer or a file distribution system that distributes an installation file of the application (for example, the above-mentioned server 160).

[0031] The processors 212, 222 may be configured to process instructions of a computer program by performing basic arithmetic, logic, and input / output operations. The instructions may be provided to the processors 212, 222 by the memory 211, 221 or the communication modules 213, 223. For example, the processors 212, 222 may be configured to execute instructions received according to program code recorded in a recording device such as the memory 211, 221.

[0032] The communication modules 213 and 223 may provide a function for the electronic device 110 and the server 150 to communicate with each other via the network 170, or may provide a function for the electronic device 110 and / or the server 150 to communicate with other electronic devices (for example, the electronic device 120) or other servers (for example, the server 160). For example, a request generated by the processor 212 of the electronic device 110 according to a program code recorded in a recording device such as the memory 211 may be transmitted to the server 150 via the network 170 under the control of the communication module 213. Conversely, a control signal, an instruction, a content, a file, etc. provided under the control of the processor 222 of the server 150 may be received by the electronic device 110 through the communication module 213 of the electronic device 110 via the communication module 223 and the network 170. For example, control signals, instructions, content, files, etc. from the server 150 received through the communication module 213 may be transmitted to the processor 212 or memory 211, and the content, files, etc. may be recorded on a recording medium (the above-mentioned permanent recording device) that the electronic device 110 may further include.

[0033] The input / output interface 214 may be a means for interfacing with the input / output device 215. For example, the input device may include a device such as a keyboard, a mouse, a microphone, or a camera, and the output device may include a device such as a display, a speaker, or a haptic feedback device. As another example, the input / output interface 214 may be a means for interfacing with a device in which functions for input and output are integrated into one, such as a touch screen. The input / output device 215 may be configured as one device together with the electronic device 110. Also, the input / output interface 224 of the server 150 may be a means for interfacing with a device for input or output (not shown) that may be connected to the server 150 or included in the server 150. As a more specific example, when the processor 212 of the electronic device 110 processes the instructions of the computer program loaded in the memory 211, a service screen or content configured using data provided by the server 150 or the electronic device 120 may be displayed on a display through the input / output interface 214.

[0034] Also, in other embodiments, the electronic device 110 and the server 150 may include more components than those in FIG. 2. However, it is not necessary to clearly show most of the conventional technical components in the figure. For example, the electronic device 110 may be realized to include at least some of the above-mentioned input / output devices 215, and may further include other components such as a transceiver, a GPS (Global Positioning System) module, a camera, various sensors, a database, etc. As a more specific example, if the electronic device 110 is a smartphone, various components such as an acceleration sensor, a gyro sensor, a camera module, various physical buttons, a button using a touch panel, an input / output port, a vibrator for vibration, etc., which are generally included in a smartphone, may be realized to be further included in the electronic device 110.

[0035] Specific embodiments of a method and system for controlling an IoT device will be described below.

[0036] IoT devices may refer to all smart devices and sensors that are the subject of IoT technology-based services, such as smart grid systems that manage energy including electricity / gas and water supply and sewerage, home network systems that provide integrated management of home cooling and heating, and smart keys that can automatically unlock car door locks and start the engine without inserting the key.

[0037] FIG. 3 is a block diagram illustrating an example of components that may be included in a processor of an electronic device in one embodiment of the present invention, and FIG. 4 is a flowchart illustrating an example of a method that may be performed by an electronic device in one embodiment of the present invention.

[0038] The electronic device 110 according to the present embodiment may be configured with an IoT control system implemented by a computer. For example, the IoT control system may be implemented in the form of an independently operating program, or may be implemented as an in-app form for a specific application so as to be operable on the specific application. In particular, the IoT control system provides a function of adding a bot for interlocking with an IoT server (for example, the above-mentioned server 160) to a messenger installed in the electronic device 110, and registering and controlling an IoT device under the IoT server through the corresponding bot.

[0039] The IoT control system implemented in the electronic device 110 based on instructions provided by an application installed on the electronic device 110 may execute the IoT control method shown in FIG.

[0040] To execute the IoT control method according to Fig. 4, the processor 212 of the electronic device 110 may include an IoT registration unit 310, an IoT control unit 320, and an IoT management unit 330, as shown in Fig. 3. Depending on the embodiment, the components of the processor 212 may be selectively included or excluded from the processor 212. Also, depending on the embodiment, the components of the processor 212 may be separated or combined for expressing the functions of the processor 212.

[0041] Such processor 212 and components of processor 212 may control electronic device 110 to execute steps 410 to 440 included in the IoT control method of Fig. 4. For example, processor 212 and components of processor 212 may be realized to execute instructions according to the code of an operating system and the code of at least one program included in memory 211.

[0042] Here, the components of the processor 212 may represent different functions of the processor 212 executed by the processor 212 according to instructions provided by a program code recorded in the electronic device 110 (for example, instructions provided by an application executed on the electronic device 110). For example, the IoT registration unit 310 may be used as a functional representation of the processor 212 that controls the electronic device 110 according to the above-mentioned instructions so that the electronic device 110 registers an IoT device.

[0043] In order for the electronic device 110 to control IoT devices, a dedicated application corresponding to each IoT device must be installed in the electronic device 110. It can be said that it is extremely troublesome and inconvenient to operate IoT devices by installing an application for each IoT device.

[0044] In contrast, the present invention provides a function that allows various IoT devices to be controlled by a single common application, such as a messenger installed on electronic device 110, rather than installing individual applications to control the IoT devices.

[0045] In step 410, the processor 212 may read necessary instructions from the memory 211 in which instructions related to the control of the electronic device 110 are loaded. In this case, the read instructions may include instructions for controlling the processor 212 to execute steps 420 to 440 described below.

[0046] In step 420, the IoT registration unit 310 may add a bot for interlocking with the IoT server to the messenger installed in the electronic device 110, and register at least one IoT device that the IoT server can control by the bot. In this case, the IoT registration unit 310 may interlock with the corresponding IoT server by adding an official account, which is an account in the form of a bot, of the IoT server as a friend on the messenger. That is, the IoT registration unit 310 may add a chat room with the bot to a chat room list on the messenger in response to a user input for adding the official account of the IoT server. Here, the official account of the IoT server is one of the accounts on the messenger related to the IoT server, and may include an account that is opened or operated based on a request of an entity related to the IoT server (e.g., an IoT service provider, a manufacturer of the IoT device, or a supplier of the IoT device). As an example, the IoT registration unit 310 may receive user information (e.g., information for user identification such as an ID) registered on the IoT server from the user of the electronic device 110 in the process of adding the user as a friend on the messenger using the official account of the IoT server, and may add a chat room with the bot after performing user authentication based on the user information. The IoT registration unit 310 may provide a user interface for receiving user information from the user of the electronic device 110 as an interface on the messenger, and may add a chat room with the bot after confirming whether the user is a user registered on the IoT server using the user information input by the user. As another example, the IoT registration unit 310 may share user information registered on the messenger with the IoT server for the user of the electronic device 110, and may add a chat room with the bot after newly registering the user information on the IoT server or matching the user information with existing user information registered on the IoT server.In other words, the IoT registration unit 310 may transmit the user information registered on the messenger to the IoT server so that the IoT server can newly register the user information entered by the user of the electronic device 110 or match it with existing user information registered on the IoT server.

[0047] In addition, when a chat room (or a bot) with a bot for linking with an IoT server is added to the messenger installed in the electronic device 110, the IoT registration unit 310 may selectively register an IoT device to be controlled by the bot. Since a bot is provided for each manufacturer or supplier of an IoT device, when a bot is added to the messenger, the IoT device used by the user of the electronic device 110 must be registered as a target device to be controlled by the chat room with the bot added to the messenger. As an example, the IoT registration unit 310 may receive a list of IoT devices used by the user and registered on the IoT server from the IoT server, and register at least one IoT device included in the IoT device list as a target device. As another example, the IoT registration unit 310 may search for IoT devices in the vicinity of the electronic device 110 by device search using short-distance communication (for example, Wi-Fi (registered trademark) and the like), and register at least one IoT device found as a target device. The IoT registration unit 310 records information about an IoT device to be controlled through a chat room with a bot added to the messenger in association with the bot. At this time, instead of general information about the IoT device, the IoT registration unit 310 records identification information of the IoT device or a unique identifier matched to the identification information of the IoT device in association with the user of the electronic device 110. This allows the messenger to maintain only the minimum information required to identify the device in the IoT server as information required for control using a bot.

[0048] When a bot for linking with the IoT server is added to the messenger installed in the electronic device 110, the IoT registration unit 310 may generate a chat room in which the account of the user of the electronic device 110 and the official account of the IoT server are matched. Furthermore, the IoT registration unit 310 may provide a friend addition function in the chat room with the bot, and may add a friend user selected by the user of the electronic device 110 from a friend list on the messenger (i.e., a list of other users who can send and receive messages on the messenger) to the chat room with the bot. At this time, the IoT registration unit 310 may designate the user of the electronic device 110 as a host user in the chat room with the bot, and designate the added friend user as a guest user. The friend user added to the chat room with the bot may be granted the authority to control the IoT device for a predetermined period from the time of addition to the chat room with the bot. In the case of a guest user, the guest user may be added to a chat room with the bot including the host user, or a chat room in which the guest user's account and the official account of the IoT server are matched may be newly generated. The host user, as well as the guest user, may be granted the authority to control IoT devices through a chat room with a bot. In the case of a guest user designated by a host user, when a predetermined period of time has elapsed or when there is an individual command from the host user, the guest user leaves the chat room with the bot in which the guest user is included and automatically loses the authority to control the IoT device. The period during which the guest user is granted the authority to control the IoT device may be set by default or may be set directly by the host user at the time of adding the guest user.

[0049] In step 430, the IoT control unit 320 may control the IoT device by the bot by transmitting to the IoT server a control signal of the IoT device identified based on the control input input by the user of the electronic device 110 in the chat room with the bot. The IoT control unit 320 may transmit to the IoT server a control signal including information and a control command of the IoT device identified based on the control input input in the chat room with the bot, in association with the user of the electronic device 110. In other words, the IoT control unit 320 may transmit to the IoT server a control signal of a specific IoT device via a communication session set for the user's account on the messenger and the official account of the IoT server. The user of the electronic device 110 may identify an IoT device to be controlled by the chat room with the bot, and may specify a control command for the IoT device. The chat room with the bot may include an interface such as a list of IoT devices controllable by the bot and a menu list for controlling the functions of the IoT devices included in the IoT device list. In other words, the control input may be received from the user of the electronic device 110 using the IoT device list and the menu list provided in the chat room with the bot, and the IoT device and the control command to be controlled may be identified based on the received control input. As another example, the IoT control unit 320 may identify the IoT device and the control command to be controlled by analyzing the contents of the conversation entered by the user in the chat room with the bot. In other words, the IoT control unit 320 may grasp the IoT device and the control command to be controlled from the corresponding sentence by using a syntax analysis based on natural language processing or an AI (artificial intelligence)-based conversation analysis technology for the sentence entered as a conversation message in the chat room. At this time, the IoT control unit 320 may transmit to the IoT server a control signal including identification information of the IoT device identified by the user of the electronic device 110 in the chat room with the bot or a unique classifier matched to the identification information of the IoT device, and a control command for some functions of the IoT device.As a result, when the IoT server receives a control signal from the electronic device 110 via the messenger server, it may identify the IoT device based on the identification information or unique identifier contained in the control signal, and control each IoT device by transmitting a control command contained in the control signal to the identified IoT device.

[0050] In step 440, the IoT management unit 330 may record and manage the control contents of the IoT device by the bot in the form of a conversation message of the chat room including the corresponding bot. The IoT management unit 330 may record the control contents of the IoT device by the bot in the memory 221 as a conversation message of the chat room including the corresponding bot, and may manage the control contents by deleting, modifying, or associating the recorded message with another user. The IoT management unit 330 may record and display the IoT device and the control command identified as the control signal of the IoT device in the chat room with the bot as a conversation message of the corresponding chat room, so that the user may check the control history of the IoT device from the conversation message displayed in the chat room with the bot. At this time, the control history of the IoT device may be recorded by classifying the chat room according to the identification information of the chat room (e.g., a chat room ID). In addition, the IoT management unit 330 may classify the IoT devices by the identification information or classifier of the IoT devices, record and manage the control history of the IoT devices in the chat room with the bot for each IoT device, and use this as data for maintaining and repairing the IoT devices. It is also possible to record and manage the control history of the IoT devices in the IoT server as data for maintaining and repairing the IoT devices.

[0051] Furthermore, the chat room with the bot may include an interface for consulting such as an AS (after sales service) regarding the IoT device as well as providing an interface for controlling the IoT device. For example, when a consultation regarding an IoT device specified in the chat room with the bot is input, the IoT management unit 330 may provide a chat environment with a counselor in a communication session set between the user's account and the official account of the IoT server. Therefore, by using the chat room with the bot, it becomes possible to control and consult regarding the IoT device in the same space.

[0052] Therefore, even if there is no separate application for controlling IoT devices, the present invention adds a bot for linking with an IoT server to a messenger and allows the bot to be used to control various IoT devices under the IoT server.

[0053] FIG. 5 is a diagram illustrating an example of a process for adding a bot to a messenger for linking with an IoT server in an embodiment of the present invention.

[0054] Referring to FIG. 5, a user may call up an official account addition screen in a messenger installed on the electronic device 110 (S51), and then input account information of the IoT server to be added to the official account addition screen (S52).

[0055] The electronic device 110 may add a bot of the IoT server corresponding to the account information inputted on the official account addition screen to the messenger (S53).

[0056] The electronic device 110 may be linked to the corresponding IoT server (IoT_Server) via the bot added to the messenger (S54).

[0057] In this case, the electronic device 110 may add a bot for linking with the IoT server after receiving user information registered on the IoT server from the user and authenticating the user. Alternatively, the electronic device 110 may add a bot for linking with the IoT server related to the user by sharing user information registered on the messenger with the IoT server and newly registering the user information on the IoT server, or by matching the user information with existing user information registered on the IoT server.

[0058] FIG. 6 is a diagram illustrating an example of a process for registering an IoT device controlled by a bot in an embodiment of the present invention.

[0059] When a bot for linking with an IoT server is added to the messenger, the electronic device 110 may register a target device to be controlled by the bot.

[0060] Referring to FIG. 6, the electronic device 110 may search for peripheral devices using short-range communication such as Wi-Fi (registered trademark) (S61).

[0061] The electronic device 110 may transmit a registration signal for at least one IoT device found by the device search to the IoT server via the bot added to the messenger (S62). At this time, the registration signal may include information for identifying the user of the electronic device 110 and identification information of the IoT device.

[0062] Based on the registration signal from the electronic device 110, the IoT server may register the corresponding IoT device in a list of IoT devices used by the user of the electronic device 110, and when the device registration is complete, may transmit a registration completion signal to the electronic device 110 (S63).

[0063] Therefore, the electronic device 110 can perform a device search using short-range communication and register an IoT device that is to be controlled by a bot added to the messenger.

[0064] FIG. 7 is a diagram showing an example of a process of controlling an IoT device by a bot in one embodiment of the present invention.

[0065] Referring to FIG. 7, a user may specify an IoT device that the user wishes to control through a chat room with a bot in a messenger on the electronic device 110, and may specify a control command for the IoT device (S71).

[0066] The electronic device 110 may transmit to the IoT server a control signal including identification information of the IoT device identified by the user through a chat room with the bot or a unique identifier matched to the identification information of the IoT device, and a control command for some functions of the IoT device (S72).

[0067] When the IoT server receives a control signal from the electronic device 110 via the bot, it may identify the IoT device to be controlled based on the identification information or unique identifier contained in the control signal, and control the IoT device by transmitting a control command contained in the control signal to the identified IoT device (S73).

[0068] The electronic device 110 may provide an interface for identifying an IoT device and a control command to be controlled through a chat room with a bot. As shown in FIG. 8, a chat room 800 with a bot may provide an IoT device list 810 that can be controlled by the bot, and a menu list 820 for controlling functions of the IoT devices included in the IoT device list. The menu list 820 may provide a menu configured with at least one depth according to the IoT device. In other words, a user may identify an IoT device and a control command to be controlled by using the IoT device list 810 and the menu list 820 provided in the chat room 800 with a bot.

[0069] When an IoT device and a control command are identified in chat room 800 with a bot, electronic device 110 transmits a control signal including information on the IoT device and a control command by the corresponding bot to an IoT server, and at this time, as shown in Fig. 9, the IoT device and the control command identified as the control signal for the IoT device may be displayed as a conversation message 930 in the corresponding chat room. In other words, electronic device 110 may record and manage the control content of the IoT device by the bot as conversation message 930 in chat room 800, and thus a user may check the control history of the IoT device from conversation message 930 displayed in chat room 800 with the bot when necessary.

[0070] In order to identify an IoT device and a control command, the electronic device 110 can use the IoT device list 810 and the menu list 820 provided in the chat room 800 with the bot, and can also identify the IoT device and the control command to be controlled by analyzing a sentence entered by the user. As shown in Fig. 10, the user may freely enter a sentence 1010 in a colloquial style or the like, which indicates an intention to control an IoT device, into the chat room 1000 with the bot. At this time, the electronic device 110 may grasp and identify an IoT device 1001 and a control command 1002 to be controlled by the sentence 1010 based on a syntax analysis of the input sentence 1010 or the like.

[0071] In addition, the chat room 800, 1000 with the bot may include a friend addition menu 850, 1050 for adding a friend selected by the user of the electronic device 110. The user of the electronic device 110 may add a friend selected from a friend list on the messenger to the corresponding chat room 800, 1000 by using the friend addition menu 850, 1050 in the chat room 800, 1000 with the bot. At this time, the user of the electronic device 110 may be designated as a host user, and the added friend may be designated as a guest user. The host user as well as the guest user are granted the authority to control the IoT device through the chat room 800, 1000 with the bot. In the case of a guest user, when a certain period of time has passed or when there is an exit command from the host user, the guest user exits the chat room 800, 1000 with the bot and automatically loses the authority to control the IoT device.

[0072] Furthermore, the chat rooms 800, 1000 with the bot may include consultation menus 860, 1060 for consultation regarding IoT devices. When a user of the electronic device 110 requests consultation regarding an IoT device using the consultation menus 860, 1060 in the chat rooms 800, 1000 with the bot, a chat function with a counselor may be provided using a communication session established between the user's account and the official account of the IoT server.

[0073] In the above, it has been described that the electronic device 110 executes the IoT control method based on an instruction provided by an application installed in the electronic device 110, but the present invention is not limited thereto, and in some embodiments, the messenger server (the above-mentioned server 150 as an example) or the IoT server (the above-mentioned server 160 as an example) may directly execute at least some of the steps of the above-mentioned IoT control method in conjunction with the application installed in the electronic device 110. Furthermore, in the above, the messenger server and the IoT server are described as independent and separate server systems, but the present invention is not limited thereto, and in some embodiments, the messenger server may be realized in a form combined with the IoT server, or the messenger server may include at least some of the functions of the IoT server.

[0074] Specifically, in order for the server 150 to execute all or part of the IoT control method shown in Fig. 4, the processor 222 of the server 150 may include an IoT registration unit, an IoT control unit, and an IoT management unit. Depending on the embodiment, the IoT registration unit, the IoT control unit, and the IoT management unit may be selectively included or excluded in the processor 222. Also, depending on the embodiment, the components of the processor 222 may be separated or combined for expressing the functions of the processor 222.

[0075] Such processor 222 and components of processor 222 may control server 150 to execute steps 420 to 440 of Fig. 4. For example, processor 222 and components of processor 222 may be implemented to execute instructions from operating system code and at least one program code contained in memory 221.

[0076] The IoT registration unit, IoT control unit, and IoT management unit included in the processor 222 of the server 150 execute steps 420 to 440 of FIG. 4 in a manner that is the same as or corresponds to the IoT registration unit 310, IoT control unit 320, and IoT management unit 330 described with reference to FIG. 3, and therefore detailed description of the components of the processor 222 will be omitted.

[0077] As described above, according to the embodiment of the present invention, even without a separate application, various IoT devices under the corresponding IoT server can be controlled by linking with the IoT server through the bot added to the messenger, and the control contents of the IoT device by the IoT bot can be recorded and managed in the form of conversation messages in the messenger chat room. Also, according to the embodiment of the present invention, a friend can be invited to a chat room with the IoT bot, and the control authority of the IoT device can be provided to the friend. Furthermore, according to the embodiment of the present invention, the control history of the IoT device through the chat room with the IoT bot can be used as data for maintaining and repairing the IoT device, and the chat room with the IoT bot can be used as an interface for controlling the IoT device as well as an interface for inquiries and consultations regarding the IoT device.

[0078] The above-mentioned devices may be realized by hardware components, software components, and / or a combination of hardware and software components. For example, the devices and components described in the embodiments may be realized using one or more general-purpose or special-purpose computers, such as a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate array (FPGA), a programmable logic unit (PLU), a microprocessor, or various devices capable of executing and responding to instructions. The processing device may execute an operating system (OS) and one or more software applications that run on the OS. The processing device may also respond to the execution of the software to access, record, manipulate, process, and generate data. For convenience of understanding, a single processing device may be described as being used, but those skilled in the art will understand that the processing device may include multiple processing elements and / or multiple types of processing elements. For example, the processing device may include multiple processors or one processor and one controller. Other processing configurations, such as parallel processors, are also possible.

[0079] The software may include computer programs, codes, instructions, or a combination of one or more of these, and may configure a processing device to operate as desired or instruct the processing device, either independently or collectively. The software and / or data may be embodied in any type of machine, component, physical device, computer storage medium, or device to be interpreted by the processing device or to provide instructions or data to the processing device. The software may be distributed and stored or executed in a distributed manner on computer systems connected by a network. The software and data may be stored on one or more computer-readable storage media.

[0080] The method according to the embodiment may be realized in the form of program instructions executable by various computer means and recorded on a computer-readable medium. Here, the medium may be one that continuously records the computer-executable program or one that temporarily records it for execution or download. The medium may be one of various recording means or storage means in the form of a single or multiple hardware combined, and is not limited to a medium directly connected to a certain computer system, but may be one that is distributed on a network. Examples of the medium include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, and ROMs, RAMs, flash memories, etc., configured to record program instructions. Other examples of the medium include recording media or storage media managed by application stores that distribute applications, or sites, servers, etc. that supply or distribute various other software.

[0081] Although the embodiments have been described based on the limited embodiments and drawings as above, those skilled in the art will be able to make various modifications and variations from the above description. For example, the described techniques may be performed in an order different from that described, and / or the components of the described systems, structures, devices, circuits, etc. may be combined or combined in a manner different from that described, or may be counterbalanced or replaced by other components or equivalents, and still achieve suitable results.

[0082] Therefore, different embodiments are within the scope of the appended claims provided they are equivalent to the claims. [Explanation of symbols]

[0083] 212: Processor 310: IoT Registration Department 320: IoT control unit 330: IoT Management Department

Claims

1. An IoT control method executed by a computer system, comprising: The computer system includes at least one processor configured to execute computer-readable instructions contained in a memory; The IoT control method includes: Adding, by the at least one processor, to a messenger installed in the computer system, a chat room with a bot for interfacing between a user of the messenger and an IoT server; and and controlling the IoT device by transmitting, by the at least one processor, a control signal for the IoT device to the IoT server according to a control input input by the user through the chat room. Including, The adding step includes: According to a user input for adding an official account, which is a bot-type account that can be linked with the IoT server, a bot corresponding to the official account is added as a friend on the messenger, thereby adding a chat room with the bot to a chat room list on the messenger, and the user's account on the messenger is matched with an account on the IoT server. IoT control method.

2. The controlling step includes: The computer system communicates with the IoT server through the bot added to the messenger, and transmits the control signal to the IoT server through a communication session established between the user's account on the messenger and an account of the IoT server. The IoT control method according to claim 1 .

3. The step of adding a chat room with the bot to a chat room list on the messenger includes: Providing a user interface for receiving user information from the user, and using the user information received from the user to confirm whether the user is a user registered on the IoT server, and then adding a chat room with the bot. The IoT control method according to claim 1 .

4. The step of adding a chat room with the bot to a chat room list on the messenger includes: The IoT control method of claim 3, further comprising a step of transmitting user information registered on the messenger to the IoT server so that the IoT server can newly register the user information or match the user information with existing user information registered on the IoT server.

5. The step of adding a chat room with the bot to a chat room list on the messenger includes: storing, as information about the IoT device to be controlled through a chat room with the bot, identification information of the IoT device or a unique identifier that matches the identification information of the IoT device in association with the user; The IoT control method according to claim 1 , comprising:

6. The controlling step includes: transmitting the control signal, including information and a control command regarding the IoT device identified according to the control input, to the IoT server in association with the user; The IoT control method according to claim 1 .

7. The controlling step includes: Providing a list of controllable IoT devices through a chat room with the bot and a menu list for controlling functions of the IoT devices for each IoT device included in the IoT device list; receiving the control input from the user using the IoT device list and the menu list; and identifying the IoT device to be controlled according to the control input and the control command; The IoT control method according to claim 6 .

8. The controlling step includes: Analyzing a sentence input as a chat message from the user through a chat room with the bot to identify the IoT device to be controlled and the control command. The IoT control method according to claim 6 .

9. The IoT control method includes: Recording control content regarding the IoT device by storing at least one message transmitted or received through a chat room with the bot by the at least one processor. The IoT control method of claim 1 , further comprising:

10. A computer program stored on a non-transitory computer-readable recording medium for causing the computer system to execute the IoT control method according to any one of claims 1 to 9.

11. In a computer system, At least one processor configured to execute computer-readable instructions contained in the memory. Including, The at least one processor Adding a chat room with a bot for linking a user of the messenger with an IoT server to a messenger installed in the computer system; Controlling the IoT device by transmitting a control signal for the IoT device to the IoT server according to a control input input by the user through the chat room; The at least one processor According to a user input for adding an official account, which is a bot-type account that can be linked with the IoT server, a bot corresponding to the official account is added as a friend on the messenger, thereby adding a chat room with the bot to a chat room list on the messenger; A computer system, characterized in that the user's account on the messenger is matched with an account on the IoT server.

Citation Information

Patent Citations

  • Method for providing a chat service using a client bot and apparatus for performing the method

    JP2018515842A

  • Terminal apparatus and controlling method thereof

    KR1020170112556A

  • Method and System for Controlling Internet of Things (IoT) Device

    US20160105292A1

  • Method for providing internet of things service

    KR1020140008667A