KR20220118097A - Method, apparatus and storage medium for generating control information - Google Patents

Method, apparatus and storage medium for generating control information Download PDF

Info

Publication number
KR20220118097A
KR20220118097A KR1020210021807A KR20210021807A KR20220118097A KR 20220118097 A KR20220118097 A KR 20220118097A KR 1020210021807 A KR1020210021807 A KR 1020210021807A KR 20210021807 A KR20210021807 A KR 20210021807A KR 20220118097 A KR20220118097 A KR 20220118097A
Authority
KR
South Korea
Prior art keywords
information
electronic device
external electronic
event
time
Prior art date
Application number
KR1020210021807A
Other languages
Korean (ko)
Inventor
김태은
김가혜
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020210021807A priority Critical patent/KR20220118097A/en
Priority to PCT/KR2021/019384 priority patent/WO2022177119A1/en
Publication of KR20220118097A publication Critical patent/KR20220118097A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/2809Exchanging configuration information on appliance services in a home automation network indicating that an appliance service is present in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2823Reporting information sensed by appliance or service execution status of appliance services in a home automation network

Abstract

According to various embodiments of the present invention, an electronic device comprises: a memory; a communication circuit; and at least one processor operatively coupled with the memory and the communication circuit. The memory can store instructions to allow the processor, on execution, to obtain first control information usable by a plurality of users from at least one device of a cloud through the communication circuit, wherein the first control information includes event information and operation information on a first external electronic device related to the event information, to identify at least one of information on at least one event related to an event occurring before or after a time point of the occurrence of the event and context information on at least one user related to the event among the users when the event information-based event occurs, to update at least one of the event information and the operation information on the basis of identified information, and to generate second control information by updating the first control information to include at least one of the updated event information and the updated operation information. Other embodiments may also be possible. Therefore, cloud load and maintenance costs can be reduced.

Description

제어 정보를 생성하기 위한 방법, 장치 및 저장 매체{METHOD, APPARATUS AND STORAGE MEDIUM FOR GENERATING CONTROL INFORMATION}METHOD, APPARATUS AND STORAGE MEDIUM FOR GENERATING CONTROL INFORMATION

다양한 실시예들은 제어 정보를 생성하기 위한 방법, 장치 및 저장 매체에 관한 것이다.Various embodiments relate to a method, apparatus and storage medium for generating control information.

사물 인터넷(internet of things: IoT)은 연결된 사물들 간에 생성되는 데이터를 수집하고 분석하여 사용자에게 새로운 지능형 인터넷 기술 서비스를 제공할 수 있다. IoT는 기존 정보 기술(information technology: IT)과의 다양한 융합을 통해 스마트 홈, 스마트 빌딩, 스마트 시티, 스마트 카 또는 커넥티드 카, 스마트 그리드, 헬스 케어, 스마트 가전, 첨단 의료 서비스 등 다양한 분야에 적용될 수 있다.The Internet of things (IoT) may provide a new intelligent Internet technology service to a user by collecting and analyzing data generated between connected things. IoT can be applied to various fields such as smart home, smart building, smart city, smart car or connected car, smart grid, healthcare, smart home appliance, and advanced medical service through various convergence with existing information technology (IT). can

홈 IoT 시스템은 통신망에 연결된 가전 제품(예: TV, 에어컨, 냉장고 등), 에너지 소비 장치(예: 수도, 전기, 냉난방 등), 또는 보안 기기(예: 도어록, 감시 카메라 등) 등의 전자 장치들을 모니터링 또는 제어할 수 있도록 하는 시스템이다. 사용자는 이동 단말을 이용하여 집 안의 전자 장치들을 연결하고 제어할 수 있다. 홈 IoT 시스템은 원격 제어에서 발전하여 인공 지능(artificial intelligence: AI) 장치가 상황과 사용자의 취향을 학습하고, 이에 맞는 결과를 스스로 제공하는 방향으로 발전하고 있다. Home IoT systems are electronic devices such as home appliances (eg TVs, air conditioners, refrigerators, etc.), energy consuming devices (eg water, electricity, air conditioning, etc.), or security devices (eg door locks, surveillance cameras, etc.) connected to a communication network. It is a system that allows you to monitor or control them. A user may connect and control electronic devices in the house using a mobile terminal. Home IoT systems have evolved from remote control, so that artificial intelligence (AI) devices learn the situation and the user's preferences, and provide the appropriate results by themselves.

일반적인 홈 IoT 시스템에서는 전자 장치의 사용 패턴 추론 또는 연관 관계 분석을 위한 데이터가 모두 클라우드에 저장될 수 있다. 사용자 정보가 사용되는 경우 사용자 정보 역시 클라우드에 저장될 수 있기 때문에, 일반적인 홈 IoT 시스템에서는 프라이버시 침해의 문제가 발생할 수 있다. In a typical home IoT system, all data for inference of a usage pattern or correlation analysis of an electronic device may be stored in the cloud. When user information is used, since user information may also be stored in the cloud, a problem of privacy infringement may occur in a typical home IoT system.

프라이버시 침해의 문제를 방지하기 위해 사용자 정보를 클라우드에 저장하지 않을 수 있다. 하지만, 이 경우 홈 IoT 시스템이 사용자의 취향을 학습하거나 사용자의 특성에 맞는 서비스를 제공하는 것이 어려울 수 있다.User information may not be stored in the cloud to avoid the issue of privacy invasion. However, in this case, it may be difficult for the home IoT system to learn the user's taste or to provide a service that suits the user's characteristics.

클라우드에 저장된 사용자 정보를 보안 정보를 기반으로 보호하는 방법이 사용될 수 있으나, 비용 및 리소스 효율을 고려할 때 적절하지 않을 수 있다. 예를 들어, 클라우드에 사용자 정보 및 전자 장치와 관련된 모든 정보가 저장될 경우 클라우드에 저장되는 데이터의 양이 방대해질 수 있다. 또한, 분석을 위해 필요한 데이터를 유지하기 위한 클라우드 스토리지(storage) 비용이 증가할 수 있고, 보안을 위해 필요한 비용이 추가적으로 발생할 수 있다. 아울러, 전자 장치가 증가할수록 분석을 위한 리소스 비용이 기하 급수적으로 증가할 수 있다. A method of protecting user information stored in the cloud based on security information may be used, but may not be appropriate in consideration of cost and resource efficiency. For example, when user information and all information related to the electronic device are stored in the cloud, the amount of data stored in the cloud may be enormous. In addition, a cloud storage cost for maintaining data required for analysis may increase, and a cost required for security may be additionally incurred. In addition, as the number of electronic devices increases, the cost of resources for analysis may increase exponentially.

다양한 실시예들에 따르면, 클라우드의 적어도 하나의 장치는 클라우드에 저장된 적어도 하나의 외부 전자 장치와 관련된 데이터를 기반으로 다수의 사용자들에 의해 사용 가능한 제어 정보를 생성하고, 생성된 제어 정보를 에지(edge) 장치로 송신할 수 있다. 에지(edge) 장치는 생성된 제어 정보를 수신하고, 수신된 제어 정보를 사용자 별 컨텍스트 정보를 기반으로 업데이트하여 사용자에게 제공할 수 있다.According to various embodiments, at least one device in the cloud generates control information usable by a plurality of users based on data related to at least one external electronic device stored in the cloud, and uses the generated control information to the edge ( edge) to the device. The edge device may receive the generated control information, update the received control information based on user-specific context information, and provide it to the user.

다양한 실시예들에 따르면, 전자 장치는, 메모리; 통신 회로; 상기 메모리 및 상기 통신 회로와 작동적으로 연결된 적어도 하나의 프로세서를 포함하고, 상기 메모리는, 실행 시에, 상기 적어도 하나의 프로세서로 하여금, 상기 통신 회로를 통해, 클라우드의 적어도 하나의 장치로부터 다수의 사용자들에 의해 사용 가능한 제 1 제어 정보를 획득하고, 상기 제 1 제어 정보는 이벤트 정보 및 상기 이벤트 정보와 관련된 제 1 외부 전자 장치의 동작 정보를 포함하며, 상기 이벤트 정보에 기반한 이벤트가 발생되면, 상기 이벤트가 발생된 시점 이전 또는 이후에 발생된 상기 이벤트와 연관된 적어도 하나의 이벤트에 대한 정보, 또는 상기 다수의 사용자들 중 상기 이벤트와 연관된 적어도 하나의 사용자에 대한 컨텍스트 정보 중 적어도 하나를 식별하고, 상기 식별된 정보를 기반으로 상기 이벤트 정보 또는 상기 동작 정보 중 적어도 하나를 업데이트하고, 업데이트된 이벤트 정보 또는 업데이트된 동작 정보 중 적어도 하나를 포함하도록 상기 제 1 제어 정보를 업데이트 하여 제 2 제어 정보를 생성하는 인스트럭션들을 저장할 수 있다.According to various embodiments, an electronic device may include a memory; communication circuit; at least one processor operatively coupled with the memory and the communication circuitry, wherein the memory, when executed, causes the at least one processor to: obtains first control information usable by users, the first control information includes event information and operation information of a first external electronic device related to the event information, and when an event based on the event information occurs, Identifies at least one of information about at least one event related to the event that occurred before or after the time when the event occurred, or context information about at least one user related to the event among the plurality of users, Updates at least one of the event information or the operation information based on the identified information, and updates the first control information to include at least one of the updated event information or the updated operation information to generate second control information instructions can be stored.

다양한 실시예들에 따르면, 전자 장치에서 외부 전자 장치에 대한 제어 정보를 생성하는 방법은, 클라우드의 적어도 하나의 장치로부터 다수의 사용자들에 의해 사용 가능한 제 1 제어 정보를 획득하는 동작; 상기 제 1 제어 정보는 이벤트 정보 및 상기 이벤트 정보와 관련된 제 1 외부 전자 장치의 동작 정보를 포함하며, 상기 이벤트 정보에 기반한 이벤트가 발생되면, 상기 이벤트가 발생된 시점 이전 또는 이후에 발생된 상기 이벤트와 연관된 적어도 하나의 이벤트에 대한 정보, 또는 상기 다수의 사용자들 중 상기 이벤트와 연관된 적어도 하나의 사용자에 대한 컨텍스트 정보 중 적어도 하나를 식별하는 동작; 상기 식별된 정보를 기반으로 상기 이벤트 정보 또는 상기 동작 정보 중 적어도 하나를 업데이트하는 동작; 및 업데이트된 이벤트 정보 또는 업데이트된 동작 정보 중 적어도 하나를 포함하도록 상기 제 1 제어 정보를 업데이트하여 제 2 제어 정보를 생성할 수 있다. According to various embodiments, a method of generating control information for an external electronic device in an electronic device includes: acquiring first control information usable by a plurality of users from at least one device in a cloud; The first control information includes event information and operation information of a first external electronic device related to the event information. When an event based on the event information occurs, the event is generated before or after the event occurs identifying at least one of information on at least one event associated with , or context information on at least one user associated with the event among the plurality of users; updating at least one of the event information and the operation information based on the identified information; and updating the first control information to include at least one of updated event information and updated operation information to generate second control information.

다양한 실시예들에 따르면, 명령들을 저장하고 있는 비일시적 저장 매체에 있어서, 상기 명령들은 적어도 하나의 프로세서에 의하여 실행될 때에 상기 적어도 하나의 프로세서로 하여금 적어도 하나의 동작을 수행하도록 설정된 것으로서, 상기 적어도 하나의 동작은, 클라우드의 적어도 하나의 장치로부터 다수의 사용자들에 의해 사용 가능한 제 1 제어 정보를 획득하는 동작; 상기 제 1 제어 정보는 이벤트 정보 및 상기 이벤트 정보와 관련된 제 1 외부 전자 장치의 동작 정보를 포함하며, 상기 이벤트 정보에 기반한 이벤트가 발생되면, 상기 이벤트가 발생된 시점 이전 또는 이후에 발생된 상기 이벤트와 연관된 적어도 하나의 이벤트에 대한 정보, 또는 상기 다수의 사용자들 중 상기 이벤트와 연관된 적어도 하나의 사용자에 대한 컨텍스트 정보 중 적어도 하나를 식별하는 동작; 상기 식별된 정보를 기반으로 상기 이벤트 정보 또는 상기 동작 정보 중 적어도 하나를 업데이트하는 동작; 및 업데이트된 이벤트 정보 또는 업데이트된 동작 정보 중 적어도 하나를 포함하도록 상기 제 1 제어 정보를 업데이트하여 제 2 제어 정보를 생성할 수 있다. According to various embodiments, in a non-transitory storage medium storing instructions, the instructions are configured to cause the at least one processor to perform at least one operation when executed by the at least one processor, wherein the at least one The operation may include: acquiring first control information usable by a plurality of users from at least one device in the cloud; The first control information includes event information and operation information of a first external electronic device related to the event information. When an event based on the event information occurs, the event is generated before or after the event occurs identifying at least one of information on at least one event associated with , or context information on at least one user associated with the event among the plurality of users; updating at least one of the event information and the operation information based on the identified information; and updating the first control information to include at least one of updated event information and updated operation information to generate second control information.

다양한 실시예들에 따르면, 다수의 사용자들에 의해 사용될 수 있는 정보는 클라우드에 저장하여 이용하고, 각 사용자 별 컨텍스트 정보는 에지 장치에서 저장 및 이용할 수 있도록 함으로써, 프라이버시 침해 우려를 줄이고 효율적으로 리소스를 사용하면서 클라우드의 부하와 유지 비용을 줄일 수 있다.According to various embodiments, information that can be used by multiple users is stored and used in the cloud, and context information for each user is stored and used in an edge device, thereby reducing privacy concerns and efficiently using resources. You can reduce the load and maintenance cost of the cloud while using it.

다양한 실시예들에 따르면, 적어도 하나의 외부 전자 장치와 관련한, 각 사용자의 상황과 특성에 기반한 제어 정보를 실시간으로 사용자에게 제공할 수 있다.According to various embodiments, control information related to at least one external electronic device based on the situation and characteristics of each user may be provided to the user in real time.

도 1은 일 실시예에 따른 IoT(internet of things) 시스템을 도시한 도면이다.
도 2는 다양한 실시예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 3은 다양한 실시예들에 따른 전자 장치의 블록도이다.
도 4는 다양한 실시예들에 따른 프로세서에 포함될 수 있는 모듈들을 도시한 도면이다.
도 5a는 다양한 실시예들에 따른 에지 그래프의 일 예를 도시한 도면이다.
도 5b는 다양한 실시예들에 따른 에지 그래프에서 연관 관계가 있는 노드들 간의 링크를 예시한 도면이다.
도 6은 다양한 실시예들에 따른 외부 전자 장치들 간 상관 그래프를 도시한 도면이다.
도 7은 다양한 실시예들에 따른 제어 정보를 생성하기 위한 방법을 나타낸 흐름도이다.
도 8은 다양한 실시예들에 따른 제어 정보를 생성하여 사용자에게 제공하기 위한 방법을 나타낸 흐름도이다.
1 is a diagram illustrating an Internet of things (IoT) system according to an embodiment.
2 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure;
3 is a block diagram of an electronic device according to various embodiments of the present disclosure;
4 is a diagram illustrating modules that may be included in a processor according to various embodiments.
5A is a diagram illustrating an example of an edge graph according to various embodiments.
5B is a diagram illustrating a link between nodes having a relationship in an edge graph according to various embodiments of the present disclosure;
6 is a diagram illustrating a correlation graph between external electronic devices according to various embodiments of the present disclosure;
7 is a flowchart illustrating a method for generating control information according to various embodiments.
8 is a flowchart illustrating a method for generating and providing control information to a user according to various embodiments of the present disclosure;

도 1은 일 실시예에 따른 IoT(internet of things) 시스템(100)을 도시한 도면이다. 한편, 도 1의 구성 요소 중 적어도 일부는 생략될 수도 있으며, 도시되지 않은 구성 요소가 더 포함되도록 구현될 수도 있다.1 is a diagram illustrating an Internet of things (IoT) system 100 according to an embodiment. Meanwhile, at least some of the components of FIG. 1 may be omitted, and components not shown may be further included.

도 1을 참조하면, 일 실시예에 따른 IoT 시스템(100)은, 데이터 네트워크(116 또는 146)에 연결 가능한 복수의 전자 장치들을 포함한다. 예를 들어, IoT 시스템(100)은 제 1 IoT 서버(110), 제 1 노드(node)(120), 보이스 어시스턴트(voice assistance) 서버(130), 제 2 IoT 서버(140), 제 2 노드(150), 또는 디바이스들(121,122,123,124,125,136,137,151,152,153) 중 적어도 하나를 포함할 수 있다. Referring to FIG. 1 , an IoT system 100 according to an embodiment includes a plurality of electronic devices connectable to a data network 116 or 146 . For example, the IoT system 100 includes a first IoT server 110 , a first node 120 , a voice assistance server 130 , a second IoT server 140 , and a second node. 150 , or at least one of devices 121 , 122 , 123 , 124 , 125 , 136 , 137 , 151 , 152 and 153 .

일 실시예에 따라서, 제 1 IoT 서버(110)는, 통신 인터페이스(111), 프로세서(112), 또는 저장부(113) 중 적어도 하나를 포함할 수 있다. 제 2 IoT 서버(140)는, 통신 인터페이스(141), 프로세서(142), 또는 저장부(143) 중 적어도 하나를 포함할 수 있다. 본 문서에서의 “IoT 서버”는, 예를 들어 데이터 네트워크(예: 데이터 네트워크(116) 또는 데이터 네트워크(146))에 기반하여, 중계 디바이스(예: 제 1 노드(120) 또는 제 2 노드(150))를 통하거나, 또는 중계 디바이스 없이 직접적으로(directly), 하나 또는 그 이상의 디바이스들(예: 디바이스들(121,122,123,124,125,151,152,153))을 원격으로 제어 및/또는 모니터링할 수 있다. 여기에서의 “디바이스”는, 예를 들어 가택, 사무실, 공장, 빌딩, 외부 지점, 또는 다른 타입의 부지들과 같은 로컬 환경 내에 배치되는(또는, 위치하는) 센서, 가전, 사무용 전자 디바이스, 또는 공정 수행을 위한 디바이스로, 그 종류에는 제한이 없다. 제어 명령을 수신하여 제어 명령에 대응하는 동작을 수행하는 디바이스를 “타겟 디바이스”로 명명할 수 있다. IoT 서버는, 복수의 디바이스들 중 타겟 디바이스를 선택하고 제어 명령을 제공하는 점에서, 중앙 서버(central server)로 명명될 수도 있다.According to an embodiment, the first IoT server 110 may include at least one of a communication interface 111 , a processor 112 , and a storage unit 113 . The second IoT server 140 may include at least one of a communication interface 141 , a processor 142 , and a storage unit 143 . “IoT server” in this document is, for example, based on a data network (eg, data network 116 or data network 146), a relay device (eg, the first node 120 or the second node ( 150)), or directly without a relay device, one or more devices (eg, devices 121,122,123,124,125,151,152,153) may be remotely controlled and/or monitored. A “device” herein means a sensor, home appliance, office electronic device, or A device for performing a process, the type is not limited. A device that receives the control command and performs an operation corresponding to the control command may be called a “target device”. The IoT server may be referred to as a central server in that it selects a target device from among a plurality of devices and provides a control command.

일 실시예에 따라서, 제 1 IoT 서버(110)는, 데이터 네트워크(116)를 통하여 디바이스들(121,122,123)과 통신을 수행할 수 있다. 데이터 네트워크(116)는, 예를 들어 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신을 위한 네트워크를 의미할 수 있으며, 또는 셀룰러 네트워크를 포함할 수도 있다. According to an embodiment, the first IoT server 110 may communicate with the devices 121 , 122 , and 123 through the data network 116 . The data network 116 may refer to a network for long-distance communication, such as, for example, the Internet, or a computer network (eg, LAN or WAN), or may include a cellular network.

일 실시예에 따라서, 제 1 IoT 서버(110)는, 통신 인터페이스(111)를 통하여 데이터 네트워크(116)에 연결될 수 있다. 통신 인터페이스(111)는, 데이터 네트워크(116)의 통신을 지원하기 위한 통신 디바이스(또는, 통신 모듈)를 포함할 수 있으며, 하나의 구성 요소(예: 단일 칩)로 통합되거나, 또는 별도의 복수의 구성 요소들(예: 복수 칩들)로 구현될 수 있다. 제 1 IoT 서버(110)는, 제 1 노드(120)를 통하여 디바이스들(121,122,123)와 통신을 수행할 수 있다. 제 1 노드(120)는, 제 1 IoT 서버(110)로부터의 데이터를 데이터 네트워크(116)를 통하여 수신하고, 수신한 데이터를 디바이스들(121,122,123) 중 적어도 일부로 송신할 수 있다. 또는, 제 1 노드(120)는, 디바이스들(121,122,123) 중 적어도 일부로부터 데이터를 수신하고, 수신한 데이터를 데이터 네트워크(116)를 통하여 제 1 IoT 서버(110)로 송신할 수 있다. 제 1 노드(120)는, 데이터 네트워크(116) 및 디바이스들(121,122,123) 사이의 브릿지(bridge)로서 기능할 수 있다. 한편, 도 1에서는 제 1 노드(120)가 하나인 것과 같이 도시되어 있지만 이는 단순히 예시적인 것으로, 그 숫자에는 제한이 없다. According to an embodiment, the first IoT server 110 may be connected to the data network 116 through the communication interface 111 . The communication interface 111 may include a communication device (or communication module) for supporting communication of the data network 116 , and may be integrated into one component (eg, a single chip), or a plurality of separate components. may be implemented with components (eg, a plurality of chips). The first IoT server 110 may communicate with the devices 121 , 122 , and 123 through the first node 120 . The first node 120 may receive data from the first IoT server 110 through the data network 116 and transmit the received data to at least some of the devices 121 , 122 , and 123 . Alternatively, the first node 120 may receive data from at least some of the devices 121 , 122 , and 123 , and transmit the received data to the first IoT server 110 through the data network 116 . The first node 120 may serve as a bridge between the data network 116 and the devices 121 , 122 , 123 . Meanwhile, in FIG. 1 , the first node 120 is illustrated as one, but this is merely exemplary, and the number is not limited.

본 문서에서의 “노드”는, 엣지 컴퓨팅 시스템(edge computing system)일 수 있거나, 또는 허브(hub) 디바이스일 수 있다. 일 실시예에 따라서, 제 1 노드(120)는, 데이터 네트워크(116)의 유선 및/또는 무선의 통신을 지원하며, 아울러 디바이스들(121,122,123)과의 유선 및/또는 무선의 통신을 지원할 수 있다. 예를 들어, 제 1 노드(120)는, 블루투스, Wi-Fi, Wi-Fi direct, Z-wave, Zig-bee, INSETEON, X10 등) 또는 IrDA(infrared data association 중 적어도 하나와 같은 근거리 통신 네트워크를 통하여 디바이스들(121,122,123)과 연결될 수 있으나, 통신 종류에는 제한이 없다. 제 1 노드(120)는, 예를 들어 가택, 사무실, 공장, 빌딩, 외부 지점, 또는 다른 타입의 부지들과 같은 환경 내에 배치(또는, 위치)될 수 있다. 이에 따라, 디바이스들(121,122,123)은, 제 1 IoT 서버(110)에 의하여 제공되는 서비스에 의하여 모니터링 및/또는 제어될 수 있으며, 디바이스들(121,122,123)은 제 1 IoT 서버(110)로의 직접 연결을 위한 완전한 네트워크 통신(예: 인터넷 통신)의 캐퍼빌리티(capability)를 갖출 것이 요구되지 않을 수 있다. 디바이스들(121,122,123)은, 예를 들어 전등 스위치, 근접 센서, 온도 센서 등으로 가택 환경 내의 전자 장치로 구현된 것과 같이 도시되었지만, 이는 예시적인 것으로 제한은 없다.A “node” in this document may be an edge computing system, or may be a hub device. According to an embodiment, the first node 120 may support wired and/or wireless communication of the data network 116 , and may also support wired and/or wireless communication with the devices 121 , 122 , and 123 . . For example, the first node 120 is a short-range communication network such as at least one of Bluetooth, Wi-Fi, Wi-Fi direct, Z-wave, Zig-bee, INSETEON, X10, etc.) or IrDA (infrared data association). may be connected to the devices 121, 122, 123 through Accordingly, the devices 121 , 122 , and 123 may be monitored and/or controlled by the service provided by the first IoT server 110 , and the devices 121 , 122 , 123 may It may not be required to have the capability of a complete network communication (eg, Internet communication) for direct connection to the first IoT server 110. The devices 121 , 122 , and 123 may include, for example, a light switch, proximity Although shown as implemented as an electronic device in a home environment as a sensor, a temperature sensor, etc., this is illustrative and not limited.

일 실시예에 따라서, 제 1 IoT 서버(110)는, 디바이스들(124,125)과의 직접 통신(direct communication)을 지원할 수도 있다. 여기에서, “직접 통신”은, 예를 들어 제 1 노드(120)와 같은 중계 디바이스를 통하지 않은 통신으로, 예를 들어 셀룰러 통신 네트워크 및/또는 데이터 네트워크를 통한 통신을 의미할 수 있다. According to an embodiment, the first IoT server 110 may support direct communication with the devices 124 and 125 . Here, “direct communication” is, for example, communication without a relay device such as the first node 120 , and may mean communication through a cellular communication network and/or a data network.

일 실시예에 따라서, 제 1 IoT 서버(110)는, 디바이스들(121,122,123,124,125) 중 적어도 일부로 제어 명령을 송신할 수 있다. 여기에서, “제어 명령”은, 제어 가능한 디바이스가 특정 동작을 수행하도록 야기하는 데이터를 의미할 수 있으며, 특정 동작은 디바이스에 의하여 수행되는 동작으로, 정보의 출력, 정보의 센싱, 정보의 보고, 정보의 관리(예: 삭제, 또는 생성)를 포함할 수 있으며, 그 종류에는 제한이 없다. 예를 들어, 프로세서(112)는, 외부(예: 보이스 어시스턴트 서버(130), 제 2 IoT 서버(140), 외부 시스템(160), 또는 디바이스들(121,122,123,124,125) 중 적어도 일부)로부터 제어 명령을 생성하기 위한 정보(또는, 요청)를 획득하고, 획득한 정보에 기반하여 제어 명령을 생성할 수 있다. 또는, 프로세서(112)는, 디바이스들(121,122,123,124,125) 중 적어도 일부의 모니터링 결과가 지정된 조건을 만족함에 기반하여 제어 명령을 생성할 수 있다. 프로세서(112)는, 제어 명령을, 타겟 디바이스로 송신하도록 통신 인터페이스(111)를 제어할 수 있다.According to an embodiment, the first IoT server 110 may transmit a control command to at least some of the devices 121 , 122 , 123 , 124 and 125 . Here, the “control command” may mean data that causes a controllable device to perform a specific operation, and the specific operation is an operation performed by the device, including output of information, sensing of information, reporting of information, It may include management (eg, deletion or creation) of information, and there is no limitation on the type. For example, the processor 112 generates a control command from an external (eg, at least some of the voice assistant server 130 , the second IoT server 140 , the external system 160 , or the devices 121 , 122 , 123 , 124 , 125 ). It is possible to obtain information (or a request) to perform the operation, and generate a control command based on the obtained information. Alternatively, the processor 112 may generate a control command based on a result of monitoring at least some of the devices 121 , 122 , 123 , 124 and 125 satisfying a specified condition. The processor 112 may control the communication interface 111 to transmit a control command to the target device.

일 실시예에 따라서, 프로세서(112), 또는 프로세서(132), 프로세서(142)는, CPU(central processing unit), DSP(digital signal processor), AP(application processor), CP(communication processor) 등과 같은 범용 프로세서, GPU(graphical processing unit), VPU(vision processing Unit)와 같은 그래픽 전용 프로세서 또는 NPU(neural processing unit)와 같은 인공 지능 전용 프로세서 중 하나 이상의 조합으로 구현될 수 있다. 상술한 처리 유닛은 단순히 예시적인 것으로, 프로세서(112)는, 예를 들어 메모리(113)에 저장된 인스트럭션을 실행하여, 실행된 결과를 출력할 수 있는 연산 수단이라면 제한이 없음을 당업자는 이해할 것이다. According to an embodiment, the processor 112 , or the processor 132 , the processor 142 may include a central processing unit (CPU), a digital signal processor (DSP), an application processor (AP), a communication processor (CP), or the like. It may be implemented as a combination of one or more of a general-purpose processor, a graphic processing unit (GPU), a graphics-only processor such as a vision processing unit (VPU), or an artificial intelligence-specific processor such as a neural processing unit (NPU). Those skilled in the art will understand that the above-described processing unit is merely an example, and the processor 112 executes instructions stored in the memory 113, for example, and there is no limitation as long as it is an arithmetic means capable of outputting the executed result.

일 실시예에 따라서, 프로세서(112)는, API(114)에 기반하여 웹-기반 인터페이스를 구성하거나, 또는 제 1 IoT 서버(110)에 의하여 관리되는 리소스(resource)를 외부에 노출시킬 수 있다. 웹-기반 인터페이스는, 예를 들어 제 1 IoT 서버(110) 및 외부 웹 서비스 사이의 통신을 지원할 수 있다. 프로세서(112)는, 예를 들어 외부 시스템(160)으로 하여금 디바이스들(121,122,123)의 제어 및/또는 억세스를 허용할 수도 있다. 외부 시스템(160)은, 예를 들어 시스템(100)과 연관이 없거나, 또는 일부가 아닌 독립적인 시스템일 수 있다. 외부 시스템(160)은, 예를 들어 외부 서버이거나, 또는 웹 사이트일 수 있다. 하지만, 외부 시스템(160)으로부터의 디바이스들(121,122,123), 또는 제 1 IoT 서버(110)의 리소스로의 억세스에 대한 보안이 요구된다. 일 실시예에 따라서, 프로세서(112)는, 자동화 어플리케이션은 API(114)에 기반한 API 엔드 포인트(예: URL(universal resource locator))을 외부에 노출할 수 있다. 상술한 바에 따라서, 제 1 IoT 서버(110)는, 제어 명령을 디바이스들(121,122,123) 중 타겟 디바이스에게 전달할 수 있다. 한편, 제 2 IoT 서버(140)의 통신 인터페이스(141), 프로세서(142), 저장부(143)의 API(144), 데이터베이스(145)에 대한 설명은, 제 1 IoT 서버(110)의 통신 인터페이스(111), 프로세서(112), 저장부(113)의 API(114), 데이터베이스(115)에 대한 설명과 실질적으로 동일할 수 있다. 아울러, 제 2 노드(150)에 대한 설명은, 제 1 노드(120)에 대한 설명과 실질적으로 동일할 수 있다. 제 2 IoT 서버(140)는, 제어 명령을 디바이스들(151,152,153) 중 타겟 디바이스에게 전달할 수 있다. 제 1 IoT 서버(110) 및 제 2 IoT 서버(140)는, 하나의 실시예에서는 동일한 서비스 제공자에 의하여 운영될 수 있으나, 다른 실시예에서는 상이한 서비스 제공자들에 의하여 각각 운영될 수도 있다. According to an embodiment, the processor 112 may configure a web-based interface based on the API 114 or expose a resource managed by the first IoT server 110 to the outside. . The web-based interface may support communication between the first IoT server 110 and an external web service, for example. The processor 112 may, for example, allow an external system 160 to control and/or access the devices 121 , 122 , and 123 . External system 160 may be, for example, an independent system that is not associated with, or is not part of, system 100 . The external system 160 may be, for example, an external server or a web site. However, security is required for access to the resources of the devices 121 , 122 , 123 , or the first IoT server 110 from the external system 160 . According to an embodiment, the processor 112 may expose the automation application to an API endpoint (eg, a universal resource locator (URL)) based on the API 114 to the outside. As described above, the first IoT server 110 may transmit a control command to a target device among the devices 121 , 122 , and 123 . On the other hand, the description of the communication interface 141 of the second IoT server 140 , the processor 142 , the API 144 of the storage unit 143 , and the database 145 , the communication of the first IoT server 110 . The description of the interface 111 , the processor 112 , the API 114 of the storage 113 , and the database 115 may be substantially the same. In addition, the description of the second node 150 may be substantially the same as the description of the first node 120 . The second IoT server 140 may transmit a control command to a target device among the devices 151 , 152 , and 153 . The first IoT server 110 and the second IoT server 140 may be operated by the same service provider in one embodiment, but may be operated by different service providers in another embodiment.

일 실시예에 따라서, 보이스 어시스턴트 서버(130)는, 데이터 네트워크(116)를 통하여 제 1 IoT 서버(110)와 데이터를 송수신할 수 있다. 일 실시예에 따른 보이스 어시스턴트 서버(130)는, 통신 인터페이스(131), 프로세서(132), 또는 저장부(133) 중 적어도 하나를 포함할 수 있다. 통신 인터페이스(131)는, 데이터 네트워크(미도시) 및/또는 셀룰러 네트워크(미도시)를 통하여 스마트 폰(136) 또는 AI 스피커(137)와 통신을 수행할 수 있다. 스마트 폰(136) 또는 AI 스피커(137)는 마이크를 포함할 수 있으며, 사용자 음성(user voice)을 획득하여 음성 신호로 변환하여, 음성 신호를 보이스 어시스턴트 서버(130)로 송신할 수 있다. 프로세서(132)는, 통신 인터페이스(131)를 통하여 스마트 폰(136) 또는 AI 스피커(137)로부터 음성 신호를 수신할 수 있다. 프로세서(132)는, 수신한 음성 신호를 저장된 모델(134)에 기반하여 처리할 수 있다. 프로세서(132)는, 데이터베이스(135)에 저장된 정보에 기반하여, 처리 결과를 이용하여 제어 명령을 생성(또는, 확인)할 수 있다. 일 실시예에 따라서, 저장부(113,133,143)는, 플래시 메모리 타입(flash memory type), 하드디스크 타입(hard disk type), 멀티미디어 카드 마이크로 타입(multimedia card micro type), 카드 타입의 메모리(예를 들어 SD 또는 XD 메모리 등), 램(RAM, Random Access Memory) SRAM(Static Random Access Memory), 롬(ROM, Read-Only Memory), EEPROM(Electrically Erasable Programmable Read-Only Memory), PROM(Programmable Read-Only Memory), 자기 메모리, 자기 디스크, 광디스크 중 적어도 하나의 타입의 비 일시적(non-transitory) 저장매체를 포함할 수 있으며, 그 종류에는 제한이 없다.According to an embodiment, the voice assistant server 130 may transmit/receive data to and from the first IoT server 110 through the data network 116 . The voice assistant server 130 according to an embodiment may include at least one of a communication interface 131 , a processor 132 , and a storage unit 133 . The communication interface 131 may communicate with the smart phone 136 or the AI speaker 137 through a data network (not shown) and/or a cellular network (not shown). The smart phone 136 or the AI speaker 137 may include a microphone, obtain a user voice, convert it into a voice signal, and transmit the voice signal to the voice assistant server 130 . The processor 132 may receive a voice signal from the smart phone 136 or the AI speaker 137 through the communication interface 131 . The processor 132 may process the received voice signal based on the stored model 134 . The processor 132 may generate (or confirm) a control command using the processing result based on information stored in the database 135 . According to an exemplary embodiment, the storage units 113 , 133 , and 143 may include a flash memory type, a hard disk type, a multimedia card micro type, and a card type memory (eg, SD or XD memory, etc.), RAM (RAM, Random Access Memory) SRAM (Static Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), PROM (Programmable Read-Only Memory) Memory), a magnetic memory, a magnetic disk, and an optical disk may include at least one type of non-transitory storage medium, and the type is not limited.

도 2는 다양한 실시예들에 따른 네트워크 환경(200) 내의 전자 장치(201)의 블록도이다. 도 2을 참조하면, 네트워크 환경(200)에서 전자 장치(201)는 제 1 네트워크(298)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(202)와 통신하거나, 또는 제 2 네트워크(299)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(204) 또는 서버(208)와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(201)는 서버(208)를 통하여 전자 장치(204)와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(201)는 프로세서(220), 메모리(230), 입력 모듈(250), 음향 출력 모듈(255), 디스플레이 모듈(260), 오디오 모듈(270), 센서 모듈(276), 인터페이스(277), 연결 단자(278), 햅틱 모듈(279), 카메라 모듈(280), 전력 관리 모듈(288), 배터리(289), 통신 모듈(290), 가입자 식별 모듈(296), 또는 안테나 모듈(297)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(201)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(278))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(276), 카메라 모듈(280), 또는 안테나 모듈(297))은 하나의 구성요소(예: 디스플레이 모듈(260))로 통합될 수 있다.2 is a block diagram of an electronic device 201 in a network environment 200 according to various embodiments. Referring to FIG. 2 , in a network environment 200 , the electronic device 201 communicates with the electronic device 202 through a first network 298 (eg, a short-range wireless communication network) or a second network 299 . It may communicate with the electronic device 204 or the server 208 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 201 may communicate with the electronic device 204 through the server 208 . According to an embodiment, the electronic device 201 includes a processor 220 , a memory 230 , an input module 250 , a sound output module 255 , a display module 260 , an audio module 270 , and a sensor module ( 276), interface 277, connection terminal 278, haptic module 279, camera module 280, power management module 288, battery 289, communication module 290, subscriber identification module 296 , or an antenna module 297 . In some embodiments, at least one of these components (eg, the connection terminal 278 ) may be omitted or one or more other components may be added to the electronic device 201 . In some embodiments, some of these components (eg, sensor module 276 , camera module 280 , or antenna module 297 ) are integrated into one component (eg, display module 260 ). can be

프로세서(220)는, 예를 들면, 소프트웨어(예: 프로그램(240))를 실행하여 프로세서(220)에 연결된 전자 장치(201)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(220)는 다른 구성요소(예: 센서 모듈(276) 또는 통신 모듈(290))로부터 수신된 명령 또는 데이터를 휘발성 메모리(232)에 저장하고, 휘발성 메모리(232)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(234)에 저장할 수 있다. 일 실시예에 따르면, 프로세서(220)는 메인 프로세서(221)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(223)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(201)가 메인 프로세서(221) 및 보조 프로세서(223)를 포함하는 경우, 보조 프로세서(223)는 메인 프로세서(221)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(223)는 메인 프로세서(221)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 220, for example, executes software (eg, a program 240) to execute at least one other component (eg, a hardware or software component) of the electronic device 201 connected to the processor 220 It can control and perform various data processing or operations. According to one embodiment, as at least part of data processing or computation, the processor 220 converts commands or data received from other components (eg, the sensor module 276 or the communication module 290 ) to the volatile memory 232 . may be stored in the volatile memory 232 , may process commands or data stored in the volatile memory 232 , and may store the result data in the non-volatile memory 234 . According to an embodiment, the processor 220 includes the main processor 221 (eg, a central processing unit or an application processor) or a secondary processor 223 (eg, a graphic processing unit, a neural network processing unit (eg, a graphic processing unit) capable of operating independently or together with the main processor 221 . a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, when the electronic device 201 includes the main processor 221 and the sub-processor 223 , the sub-processor 223 uses less power than the main processor 221 or is set to be specialized for a specified function. can The auxiliary processor 223 may be implemented separately from or as a part of the main processor 221 .

보조 프로세서(223)는, 예를 들면, 메인 프로세서(221)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(221)를 대신하여, 또는 메인 프로세서(221)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(221)와 함께, 전자 장치(201)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(260), 센서 모듈(276), 또는 통신 모듈(290))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시예에 따르면, 보조 프로세서(223)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(280) 또는 통신 모듈(290))의 일부로서 구현될 수 있다. 일 실시예에 따르면, 보조 프로세서(223)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능이 수행되는 전자 장치(201) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(208))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.The auxiliary processor 223 may, for example, act on behalf of the main processor 221 while the main processor 221 is in an inactive (eg, sleep) state, or when the main processor 221 is active (eg, executing an application). ), together with the main processor 221 , at least one of the components of the electronic device 201 (eg, the display module 260 , the sensor module 276 , or the communication module 290 ). It is possible to control at least some of the related functions or states. According to one embodiment, the coprocessor 223 (eg, an image signal processor or a communication processor) may be implemented as part of another functionally related component (eg, the camera module 280 or the communication module 290). have. According to an embodiment, the auxiliary processor 223 (eg, a neural network processing device) may include a hardware structure specialized for processing an artificial intelligence model. Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 201 itself on which artificial intelligence is performed, or may be performed through a separate server (eg, the server 208). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but in the above example not limited The artificial intelligence model may include a plurality of artificial neural network layers. Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the above example. The artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.

메모리(230)는, 전자 장치(201)의 적어도 하나의 구성요소(예: 프로세서(220) 또는 센서 모듈(276))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(240)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(230)는, 휘발성 메모리(232) 또는 비휘발성 메모리(234)를 포함할 수 있다. The memory 230 may store various data used by at least one component (eg, the processor 220 or the sensor module 276 ) of the electronic device 201 . The data may include, for example, input data or output data for software (eg, the program 240 ) and instructions related thereto. The memory 230 may include a volatile memory 232 or a non-volatile memory 234 .

프로그램(240)은 메모리(230)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(242), 미들 웨어(244) 또는 어플리케이션(246)을 포함할 수 있다. The program 240 may be stored as software in the memory 230 , and may include, for example, an operating system 242 , middleware 244 , or an application 246 .

입력 모듈(250)은, 전자 장치(201)의 구성요소(예: 프로세서(220))에 사용될 명령 또는 데이터를 전자 장치(201)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(250)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input module 250 may receive a command or data to be used by a component (eg, the processor 220 ) of the electronic device 201 from the outside (eg, a user) of the electronic device 201 . The input module 250 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).

음향 출력 모듈(255)은 음향 신호를 전자 장치(201)의 외부로 출력할 수 있다. 음향 출력 모듈(255)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 255 may output a sound signal to the outside of the electronic device 201 . The sound output module 255 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.

디스플레이 모듈(260)은 전자 장치(201)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(260)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시예에 따르면, 디스플레이 모듈(260)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 260 may visually provide information to the outside (eg, a user) of the electronic device 201 . The display module 260 may include, for example, a control circuit for controlling a display, a hologram device, or a projector and a corresponding device. According to an embodiment, the display module 260 may include a touch sensor configured to sense a touch or a pressure sensor configured to measure the intensity of a force generated by the touch.

오디오 모듈(270)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시예에 따르면, 오디오 모듈(270)은, 입력 모듈(250)을 통해 소리를 획득하거나, 음향 출력 모듈(255), 또는 전자 장치(201)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(202))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 270 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 270 acquires a sound through the input module 250 , or an external electronic device (eg, a sound output module 255 ) connected directly or wirelessly with the electronic device 201 . The sound may be output through the electronic device 202 (eg, a speaker or headphones).

센서 모듈(276)은 전자 장치(201)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시예에 따르면, 센서 모듈(276)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 276 detects an operating state (eg, power or temperature) of the electronic device 201 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the sensed state. can do. According to an embodiment, the sensor module 276 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.

인터페이스(277)는 전자 장치(201)가 외부 전자 장치(예: 전자 장치(202))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시예에 따르면, 인터페이스(277)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 277 may support one or more specified protocols that may be used for the electronic device 201 to directly or wirelessly connect with an external electronic device (eg, the electronic device 202 ). According to an embodiment, the interface 277 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

연결 단자(278)는, 그를 통해서 전자 장치(201)가 외부 전자 장치(예: 전자 장치(202))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시예에 따르면, 연결 단자(278)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 278 may include a connector through which the electronic device 201 can be physically connected to an external electronic device (eg, the electronic device 202 ). According to an embodiment, the connection terminal 278 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).

햅틱 모듈(279)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시예에 따르면, 햅틱 모듈(279)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 279 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense. According to an embodiment, the haptic module 279 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

카메라 모듈(280)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시예에 따르면, 카메라 모듈(280)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 280 may capture still images and moving images. According to an embodiment, the camera module 280 may include one or more lenses, image sensors, image signal processors, or flashes.

전력 관리 모듈(288)은 전자 장치(201)에 공급되는 전력을 관리할 수 있다. 일 실시예에 따르면, 전력 관리 모듈(288)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 288 may manage power supplied to the electronic device 201 . According to an embodiment, the power management module 288 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).

배터리(289)는 전자 장치(201)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일 실시예에 따르면, 배터리(289)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 289 may supply power to at least one component of the electronic device 201 . According to one embodiment, battery 289 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.

통신 모듈(290)은 전자 장치(201)와 외부 전자 장치(예: 전자 장치(202), 전자 장치(204), 또는 서버(208)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(290)은 프로세서(220)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 실시예에 따르면, 통신 모듈(290)은 무선 통신 모듈(292)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(294)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(298)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(299)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(204)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(292)은 가입자 식별 모듈(296)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(298) 또는 제 2 네트워크(299)와 같은 통신 네트워크 내에서 전자 장치(201)를 확인 또는 인증할 수 있다. The communication module 290 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 201 and an external electronic device (eg, the electronic device 202, the electronic device 204, or the server 208). It can support establishment and communication performance through the established communication channel. The communication module 290 may include one or more communication processors that operate independently of the processor 220 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 290 is a wireless communication module 292 (eg, a cellular communication module, a short-range communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 294 (eg, : It may include a local area network (LAN) communication module, or a power line communication module). A corresponding communication module among these communication modules is a first network 298 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 299 (eg, legacy It may communicate with the external electronic device 204 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a telecommunication network such as a computer network (eg, LAN or WAN). These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented as a plurality of components (eg, multiple chips) separate from each other. The wireless communication module 292 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 296 within a communication network, such as the first network 298 or the second network 299 . The electronic device 201 may be identified or authenticated.

무선 통신 모듈(292)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(292)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(292)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(292)은 전자 장치(201), 외부 전자 장치(예: 전자 장치(204)) 또는 네트워크 시스템(예: 제 2 네트워크(299))에 규정되는 다양한 요구사항을 지원할 수 있다. 일 실시예에 따르면, 무선 통신 모듈(292)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 292 may support a 5G network after a 4G network and a next-generation communication technology, for example, a new radio access technology (NR). NR access technology includes high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency) -latency communications)). The wireless communication module 292 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 292 uses various technologies for securing performance in a high-frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna. The wireless communication module 292 may support various requirements specified in the electronic device 201 , an external electronic device (eg, the electronic device 204 ), or a network system (eg, the second network 299 ). According to an embodiment, the wireless communication module 292 may include a peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency for realizing URLLC ( Example: Downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less) can be supported.

안테나 모듈(297)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시예에 따르면, 안테나 모듈(297)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일 실시예에 따르면, 안테나 모듈(297)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(298) 또는 제 2 네트워크(299)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(290)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(290)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(297)의 일부로 형성될 수 있다. The antenna module 297 may transmit or receive a signal or power to the outside (eg, an external electronic device). According to an embodiment, the antenna module 297 may include an antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern. According to an embodiment, the antenna module 297 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 298 or the second network 299 is connected from the plurality of antennas by, for example, the communication module 290 . can be selected. A signal or power may be transmitted or received between the communication module 290 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, a radio frequency integrated circuit (RFIC)) other than the radiator may be additionally formed as a part of the antenna module 297 .

다양한 실시예들에 따르면, 안테나 모듈(297)은 mmWave 안테나 모듈을 형성할 수 있다. 일 실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 297 may form a mmWave antenna module. According to one embodiment, the mmWave antenna module comprises a printed circuit board, an RFIC disposed on or adjacent to a first side (eg, underside) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, an array antenna) disposed on or adjacent to a second side (eg, top or side) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and a signal ( e.g. commands or data) can be exchanged with each other.

일 실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(299)에 연결된 서버(208)를 통해서 전자 장치(201)와 외부의 전자 장치(204)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(202, 또는 204) 각각은 전자 장치(201)와 동일한 또는 다른 종류의 장치일 수 있다. 일 실시예에 따르면, 전자 장치(201)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(202, 204, 또는 208) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(201)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(201)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(201)로 전달할 수 있다. 전자 장치(201)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(201)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(204)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(208)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일 실시예에 따르면, 외부의 전자 장치(204) 또는 서버(208)는 제 2 네트워크(299) 내에 포함될 수 있다. 전자 장치(201)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to an embodiment, the command or data may be transmitted or received between the electronic device 201 and the external electronic device 204 through the server 208 connected to the second network 299 . Each of the external electronic devices 202 or 204 may be the same as or different from the electronic device 201 . According to an embodiment, all or part of the operations executed by the electronic device 201 may be executed by one or more external electronic devices 202 , 204 , or 208 . For example, when the electronic device 201 is to perform a function or service automatically or in response to a request from a user or other device, the electronic device 201 may perform the function or service itself instead of executing the function or service itself. Alternatively or additionally, one or more external electronic devices may be requested to perform at least a part of the function or the service. One or more external electronic devices that have received the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 201 . The electronic device 201 may process the result as it is or additionally and provide it as at least a part of a response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device 201 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 204 may include an Internet of things (IoT) device. The server 208 may be an intelligent server using machine learning and/or neural networks. According to an embodiment, the external electronic device 204 or the server 208 may be included in the second network 299 . The electronic device 201 may be applied to an intelligent service (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.The electronic device according to various embodiments disclosed in this document may have various types of devices. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device. The electronic device according to the embodiment of the present document is not limited to the above-described devices.

본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, but it should be understood to include various modifications, equivalents, or substitutions of the embodiments. In connection with the description of the drawings, like reference numerals may be used for similar or related components. The singular form of the noun corresponding to the item may include one or more of the item, unless the relevant context clearly dictates otherwise. As used herein, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "A , B, or C," each of which may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as "first", "second", or "first" or "second" may simply be used to distinguish an element from other elements in question, and may refer elements to other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is “coupled” or “connected” to another (eg, second) component, with or without the terms “functionally” or “communicatively”. When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.

본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term “module” used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logic block, component, or circuit. can be used as A module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions. For example, according to an embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(201)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(236) 또는 외장 메모리(238))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(240))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(201))의 프로세서(예: 프로세서(220))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of the present document include one or more instructions stored in a storage medium (eg, internal memory 236 or external memory 238) readable by a machine (eg, electronic device 201). may be implemented as software (eg, the program 240) including For example, the processor (eg, the processor 220 ) of the device (eg, the electronic device 201 ) may call at least one command among one or more commands stored from a storage medium and execute it. This makes it possible for the device to be operated to perform at least one function according to the called at least one command. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term is used in cases where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.

일 실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in this document may be provided in a computer program product (computer program product). Computer program products may be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg Play Store™) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly, online between smartphones (eg: smartphones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.

다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, a module or a program) of the above-described components may include a singular or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. have. According to various embodiments, one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg, a module or a program) may be integrated into one component. In this case, the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, or omitted. , or one or more other operations may be added.

도 3은 다양한 실시예들에 따른 전자 장치의 블록도(300)이다.3 is a block diagram 300 of an electronic device according to various embodiments.

도 3을 참조하면, 전자 장치(301)는 메모리(310), 통신 회로(320), 및 프로세서(330)를 포함할 수 있다. Referring to FIG. 3 , the electronic device 301 may include a memory 310 , a communication circuit 320 , and a processor 330 .

다양한 실시예들에 따르면, 전자 장치(301)는 도 3에 도시된 구성들에 국한되지 않고, 더 많은 구성들을 포함하거나 더 적은 구성들을 포함하도록 구현될 수도 있다. 예를 들어, 전자 장치(301)는 도 1 또는 도 2에서 상술한 구성들을 더 포함하도록 구현될 수 있다. 다양한 실시예들에 따른 전자 장치(301)는 에지 컴퓨팅을 이용하여 서비스를 제공하는 장치일 수 있으며, 도 1의 제 1 IoT 서버(110), 보이스 어시스턴트 서버(130), 또는 제 2 IoT 서버(140) 중 하나, 또는 도 2의 전자 장치(201), 또는 후술될 전자 장치 중 적어도 하나일 수 있다.According to various embodiments, the electronic device 301 is not limited to the configurations illustrated in FIG. 3 , and may be implemented to include more or fewer configurations. For example, the electronic device 301 may be implemented to further include the components described above with reference to FIG. 1 or FIG. 2 . The electronic device 301 according to various embodiments may be a device that provides a service using edge computing, and may include the first IoT server 110 , the voice assistant server 130 of FIG. 1 , or the second IoT server ( 140), the electronic device 201 of FIG. 2, or at least one of an electronic device to be described later.

일 실시예에서, 메모리(310)는 통신 회로(320)를 통해 송신된 정보 또는 통신 회로(320)를 통해 수신된 정보 중 적어도 하나와, 프로세서(330)에 의해 생성된 정보를 저장할 수 있다. 일 실시예에 따라, 메모리(310)는 하나 이상의 외부 전자 장치들(예: 도 1의 디바이스들(121,122,123,124,125,151,152,153) 또는 도 2의 전자 장치(204) 중 적어도 하나) 각각을 제어하기 위한 이벤트 정보 및 각 이벤트 정보와 관련된 하나 이상의 외부 전자 장치들 각각의 동작 정보를 포함하는 제어 정보, 또는 하나 이상의 외부 전자 장치들 각각의 식별자(identifier: ID) 정보 중 적어도 하나를 저장할 수 있다. In an embodiment, the memory 310 may store at least one of information transmitted through the communication circuit 320 or information received through the communication circuit 320 , and information generated by the processor 330 . According to an embodiment, the memory 310 includes event information for controlling each of one or more external electronic devices (eg, at least one of the devices 121,122,123,124,125,151,152,153 of FIG. 1 or the electronic device 204 of FIG. 2 ) and each At least one of control information including operation information of each of the one or more external electronic devices related to event information or identifier (ID) information of each of the one or more external electronic devices may be stored.

일 실시예에 따라, 메모리(310)는 발생된 이벤트와 연관된 컨텍스트 정보를 저장할 수 있다. 일 실시예에서, 컨텍스트 정보는 발생된 이벤트와 연관된 외부 전자 장치의 위치 관련 정보, 발생된 이벤트와 연관된 사용자 정보, 발생된 이벤트와 연관된 환경 정보, 또는 발생된 이벤트의 이전 또는 이후 시점에 발생된 이벤트와 연관되어 동작한 다른 외부 전자 장치에 대한 정보 중 적어도 하나를 포함할 수 있다.According to an embodiment, the memory 310 may store context information related to the generated event. In an embodiment, the context information includes location-related information of an external electronic device related to the generated event, user information related to the generated event, environment information related to the generated event, or an event generated before or after the generated event. It may include at least one of information on other external electronic devices operated in association with the .

일 실시예에서, 메모리(310)는 휘발성 메모리 또는 비휘발성 메모리를 포함할 수 있고, 도 1의 저장부(113), 저장부(133), 또는 저장부(143) 중 하나, 또는 도 2의 메모리(230) 중 적어도 하나에 포함될 수 있다.In one embodiment, memory 310 may include volatile memory or non-volatile memory, one of storage 113 , 133 , or 143 of FIG. 1 , or of FIG. 2 . It may be included in at least one of the memories 230 .

일 실시예에 따라, 통신 회로(320)는 클라우드의 적어도 하나의 장치로부터 하나 이상의 외부 전자 장치들 각각을 제어하기 위한 이벤트 정보 및 각 이벤트 정보와 관련된 하나 이상의 외부 전자 장치들 각각의 동작 정보를 포함하는 제어 정보를 수신할 수 있다. According to an embodiment, the communication circuit 320 includes event information for controlling each of one or more external electronic devices from at least one device in the cloud and operation information of each of the one or more external electronic devices related to each event information. control information can be received.

일 실시예에 따라, 통신 회로(320)는 프로세서(330)에 의해 업데이트된 제어 정보를 사용자 단말로 송신할 수 있다. 사용자 단말은 예를 들어, 전자 장치와 연결되어 각 외부 전자 장치를 제어할 수 있는 스마트 폰, 태블릿 단말, 또는 웨어러블 장치 중 하나일 수 있다. 적어도 하나의 외부 전자 장치는 예를 들어, 가전 제품(예: TV, 에어컨, 냉장고 등), 에너지 소비 장치(예: 수도, 전기, 냉난방 등), 또는 보안 기기(예: 도어록, 감시 카메라 등) 중 적어도 하나일 수 있다.According to an embodiment, the communication circuit 320 may transmit the control information updated by the processor 330 to the user terminal. The user terminal may be, for example, one of a smart phone, a tablet terminal, or a wearable device connected to an electronic device to control each external electronic device. The at least one external electronic device may be, for example, a home appliance (eg TV, air conditioner, refrigerator, etc.), an energy consuming device (eg water, electricity, air conditioning, etc.), or a security device (eg door lock, surveillance camera, etc.) may be at least one of

일 실시예에서, 통신 회로(320)는 도 1의 통신 인터페이스(111), 통신 인터페이스(131), 또는 통신 인터페이스(141) 중 하나, 또는 도 2의 통신 모듈(290) 중 적어도 하나에 포함될 수 있다.In one embodiment, the communication circuit 320 may be included in at least one of the communication interface 111 , the communication interface 131 , or the communication interface 141 of FIG. 1 , or the communication module 290 of FIG. 2 . have.

일 실시예에서, 프로세서(330)는 하나 이상의 프로세서들을 포함할 수 있다.In one embodiment, processor 330 may include one or more processors.

일 실시예에서, 프로세서(330)는 도 1의 프로세서(112), 프로세서(132), 또는 프로세서(142) 중 하나, 또는 도 2의 프로세서(220) 중 적어도 하나에 포함될 수 있다. In one embodiment, the processor 330 may be included in at least one of the processor 112 , the processor 132 , or the processor 142 of FIG. 1 , or the processor 220 of FIG. 2 .

일 실시예에서, 프로세서(330)는 메모리(310) 및 통신 회로(320)를 제어할 수 있고, 후술될 다양한 실시예들에 따른 전자 장치에서 수행되는 동작들을 수행할 수 있다. In an embodiment, the processor 330 may control the memory 310 and the communication circuit 320 , and may perform operations performed in an electronic device according to various embodiments to be described later.

일 실시예에서, 전자 장치(301)는 도 4에 도시된 바와 같은 모듈들을 포함할 수 있다. 이하 사용되는 '~모듈' 등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어나 소프트웨어, 또는, 하드웨어 및 소프트웨어의 결합으로 구현될 수 있다.In an embodiment, the electronic device 301 may include modules as shown in FIG. 4 . Terms such as '~module' used below mean a unit that processes at least one function or operation, which may be implemented as hardware or software, or a combination of hardware and software.

도 4는 다양한 실시예들에 따른 제어 정보를 생성하기 위한 전자 장치를 도시한 도면(400)이다. 전자 장치(401)는 도 1 내지 도 3에 도시된 전자 장치(예: 제 1 IoT 서버(110), 전자 장치(201), 전자 장치(301)), 프로세서(330), 또는 이들의 조합에 의해 구현되거나 이를 포함할 수 있다.4 is a diagram 400 illustrating an electronic device for generating control information according to various embodiments of the present disclosure. The electronic device 401 is connected to the electronic device (eg, the first IoT server 110 , the electronic device 201 , the electronic device 301 ), the processor 330 , or a combination thereof shown in FIGS. 1 to 3 . may be implemented by or include.

도 4를 참조하면, 전자 장치(401)는 제어 정보 필터 모듈(410), 제어 정보 업데이트 모듈(420), 에지 그래프 생성 모듈(430), 이벤트 데이터 수집 모듈(441), 분석 및 추론 모듈(443), 및 업데이트된 제어 정보 제공 모듈(450)을 포함할 수 있다. Referring to FIG. 4 , the electronic device 401 includes a control information filter module 410 , a control information update module 420 , an edge graph generation module 430 , an event data collection module 441 , and an analysis and inference module 443 . ), and an updated control information providing module 450 .

도 4에서는 제어 정보 필터 모듈(410), 제어 정보 업데이트 모듈(420), 에지 그래프 생성 모듈(430), 이벤트 데이터 수집 모듈(441), 분석 및 추론 모듈(443), 및 업데이트된 제어 정보 제공 모듈(450)이 독립된 모듈들인 것으로 예시하고 있으나 이에 제한되지 않을 수 있다. 예를 들어, 제어 정보 필터 모듈(410), 제어 정보 업데이트 모듈(420), 에지 그래프 생성 모듈(430), 이벤트 데이터 수집 모듈(441), 분석 및 추론 모듈(443), 및 업데이트된 제어 정보 제공 모듈(450) 중 적어도 하나는 하나의 모듈로서 통합될 수 있다. In FIG. 4 , a control information filter module 410 , a control information update module 420 , an edge graph generation module 430 , an event data collection module 441 , an analysis and inference module 443 , and an updated control information providing module Although 450 is illustrated as independent modules, it may not be limited thereto. For example, the control information filter module 410 , the control information update module 420 , the edge graph generation module 430 , the event data collection module 441 , the analysis and inference module 443 , and the updated control information provide At least one of the modules 450 may be integrated as one module.

일 실시예에서, 제어 정보 필터 모듈(410)은 통신 회로(320)를 통해, 클라우드의 적어도 하나의 장치로부터 다수의 사용자들에 의해 사용 가능한 클라우드 데이터 기반 제어 정보(405)를 수신할 수 있다. 제어 정보 필터 모듈(410)은 수신된 클라우드 데이터 기반 제어 정보(405)로부터 전자 장치에 연결된 적어도 하나의 외부 전자 장치에 대한 제어 정보를 필터링할 수 있다. In an embodiment, the control information filter module 410 may receive the cloud data-based control information 405 usable by a plurality of users from at least one device in the cloud through the communication circuit 320 . The control information filter module 410 may filter control information on at least one external electronic device connected to the electronic device from the received cloud data-based control information 405 .

다른 실시예에서, 제어 정보 필터 모듈(410)은 전자 장치에 연결된 적어도 하나의 외부 전자 장치에 대한 제어 정보를 클라우드의 적어도 하나의 장치에 요청하도록 통신 회로(320)를 제어할 수 있다. 제어 정보 필터 모듈(410)은 요청에 대한 응답으로, 통신 회로(320)를 통해, 적어도 하나의 외부 전자 장치에 대한 제어 정보를 클라우드의 적어도 하나의 장치로부터 수신할 수 있다. In another embodiment, the control information filter module 410 may control the communication circuit 320 to request control information on at least one external electronic device connected to the electronic device from at least one device in the cloud. The control information filter module 410 may receive control information on at least one external electronic device from at least one device in the cloud through the communication circuit 320 in response to the request.

일 실시예에서, 클라우드의 적어도 하나의 장치로부터 수신된 제어 정보는 클라우드에 저장된 정보를 기반으로 분석된 이벤트 정보 및 이벤트 정보와 관련된 적어도 하나의 외부 전자 장치의 동작 정보를 포함할 수 있다. In an embodiment, the control information received from at least one device in the cloud may include event information analyzed based on information stored in the cloud and operation information of at least one external electronic device related to the event information.

일 실시예에서, 클라우드에 저장된 정보는 적어도 하나의 외부 전자 장치와 관련된 정보를 포함할 수 있다. 예를 들어, 적어도 하나의 외부 전자 장치와 관련된 정보는 적어도 하나의 외부 전자 장치의 ID 정보, 적어도 하나의 외부 전자 장치의 타입 정보, 적어도 하나의 외부 전자 장치의 동작 모드 정보, 적어도 하나의 외부 전자 장치가 동작한 시간 정보, 또는 적어도 하나의 외부 전자 장치의 위치 정보 중 적어도 하나를 포함할 수 있다. In an embodiment, the information stored in the cloud may include information related to at least one external electronic device. For example, the information related to at least one external electronic device includes ID information of at least one external electronic device, type information of at least one external electronic device, operation mode information of at least one external electronic device, and at least one external electronic device. It may include at least one of information about the time when the device was operated and location information of at least one external electronic device.

일 실시예에 따라, 적어도 하나의 외부 전자 장치가 동작할 때마다 적어도 하나의 외부 전자 장치와 관련된 정보는 클라우드에 저장될 수 있다. 적어도 하나의 장치는 클라우드에 저장된 정보를 기반으로 적어도 하나의 외부 전자 장치의 동작 패턴 또는 적어도 하나의 외부 전자 장치의 동작과 관련하여 발생하거나 발생된 이벤트를 분석하여 클라우드 데이터 기반 제어 정보(405)를 생성할 수 있다. According to an embodiment, whenever the at least one external electronic device operates, information related to the at least one external electronic device may be stored in the cloud. At least one device analyzes an operation pattern of at least one external electronic device or an event that occurs or occurs in connection with an operation of at least one external electronic device based on information stored in the cloud to generate cloud data-based control information 405 can create

일 실시예에 따라, 제어 정보 필터 모듈(410)에 의해 필터링된 제어 정보(415)는 제어 정보 업데이트 모듈(420)에서 업데이트 될 수 있다. 일 실시예에서, 필터링된 제어 정보(415)는 다음 표 1과 같을 수 있다. According to an embodiment, the control information 415 filtered by the control information filter module 410 may be updated in the control information update module 420 . In an embodiment, the filtered control information 415 may be as shown in Table 1 below.

Figure pat00001
Figure pat00001

일 실시예에서, 제어 정보 업데이트 모듈(420)은 필터링된 제어 정보(415)를 업데이트하기 위해 에지 그래프 생성 모듈(430)에 의해 생성된 에지 그래프(425)를 이용할 수 있다. In an embodiment, the control information update module 420 may use the edge graph 425 generated by the edge graph generation module 430 to update the filtered control information 415 .

일 실시예에서, 에지 그래프 생성 모듈(430)은 메타 데이터(431), 이벤트 정보(433), 사용자 정보(435), 연관성 정보(437), 및 하이 레벨(high level) 컨텍스트 정보(439) 중 적어도 하나를 저장하고, 저장된 적어도 하나의 정보를 기반으로 에지 그래프(425)를 생성할 수 있다. In an embodiment, the edge graph generating module 430 may include one of metadata 431 , event information 433 , user information 435 , association information 437 , and high-level context information 439 . At least one may be stored, and the edge graph 425 may be generated based on the stored at least one piece of information.

일 실시예에 따라, 메타 데이터(431)는 전자 장치에 연결된 적어도 하나의 외부 전자 장치에 대한 정보, 적어도 하나의 외부 전자 장치와 관련된 IoT 환경 정보(예: 홈 IoT 시스템의 경우 룸(room), 거실, 주방 등의 정보), 또는 적어도 하나의 외부 전자 장치를 이용할 수 있는 구성원에 대한 정보 중 적어도 하나를 포함할 수 있다. According to an embodiment, the metadata 431 includes information about at least one external electronic device connected to the electronic device, IoT environment information related to at least one external electronic device (eg, a room in the case of a home IoT system); information on living room, kitchen, etc.) or information on a member who can use at least one external electronic device.

일 실시예에 따라, 이벤트 정보(433)는 적어도 하나의 외부 전자 장치가 동작한 동작 시점에 발생한 이벤트, 동작 시점 이전에 발생한 이벤트, 또는 동작 시점 이후에 발생한 이벤트 중 적어도 하나와 관련된 정보를 포함할 수 있다. According to an embodiment, the event information 433 may include information related to at least one of an event occurring at an operation time point when at least one external electronic device is operated, an event occurring before the operation time point, or an event occurring after the operation time point. can

일 실시예에 따라, 사용자 정보(435)는 적어도 하나의 외부 전자 장치를 동작시킨 사용자에 대한 정보, 이벤트를 발생시킨 사용자 정보, 또는 이벤트 발생시 IoT 시스템 내 존재하는 사용자 정보 중 적어도 하나를 포함할 수 있다. According to an embodiment, the user information 435 may include at least one of information about a user who operated at least one external electronic device, user information that generates an event, or user information that exists in the IoT system when an event occurs. have.

일 실시예에서, 이벤트 정보(433)와 사용자 정보(435)는 이벤트 데이터 수집 모듈(441)에 의해 수집된 정보일 수 있다. 이벤트 데이터 수집 모듈(441)은 이벤트가 발생할 때마다 또는 실시간으로, 이벤트 정보(433)와 사용자 정보(435)를 수집하여 에지 그래프 생성 모듈(430)로 제공할 수 있다. In an embodiment, the event information 433 and the user information 435 may be information collected by the event data collection module 441 . The event data collection module 441 may collect event information 433 and user information 435 whenever an event occurs or in real time and provide the collected event information 433 and user information 435 to the edge graph generation module 430 .

일 실시예에 따라, 연관성 정보(437)는 분석 및 추론 모듈(443)에 의해 생성될 수 있다. 예를 들어, 연관성 정보(437)는 메타 데이터(431), 이벤트 정보(433), 사용자 정보(435), 또는 하이 레벨 컨텍스트 정보(439) 중 적어도 하나를 기반으로 분석되거나 추론된, 발생된 이벤트와 적어도 하나의 외부 전자 장치의 동작 간의 연관 관계에 대한 정보를 포함할 수 있다. According to an embodiment, the association information 437 may be generated by the analysis and inference module 443 . For example, the association information 437 may be analyzed or inferred based on at least one of the metadata 431 , the event information 433 , the user information 435 , or the high-level context information 439 , the generated event and information on a correlation between the operation of the at least one external electronic device.

연관성 정보(437)는 메타 데이터(431), 이벤트 정보(433), 사용자 정보(435), 또는 하이 레벨 컨텍스트 정보(439) 중 적어도 하나를 기반으로 분석되거나 추론된, 적어도 하나의 외부 전자 장치와 사용자 간의 관계, 사용자와 사용자 간의 관계, 또는 적어도 하나의 외부 전자 장치의 개수가 다수개인 경우 다수개의 외부 전자 장치들 간의 관계에 대한 정보 중 적어도 하나를 포함할 수 있다.The association information 437 includes at least one external electronic device analyzed or inferred based on at least one of metadata 431 , event information 433 , user information 435 , and high-level context information 439 . At least one of information about a relationship between users, a relationship between a user and a user, or a relationship between a plurality of external electronic devices when the number of at least one external electronic device is plural may be included.

연관성 정보(437)는 적어도 하나의 외부 전자 장치의 사용 패턴에 대한 정보(예: 주 사용 시간 또는 사용 주기에 대한 정보)를 포함할 수 있다. The association information 437 may include information on a usage pattern of at least one external electronic device (eg, information on a main use time or use period).

일 실시예에 따라, 하이 레벨 컨텍스트 정보(439)는 메타 데이터(431), 이벤트 정보(433), 사용자 정보(435), 또는 연관성 정보(437) 중 적어도 하나를 기반으로 분석되거나 추론된 IoT 환경에 대한 특성 정보를 포함할 수 있다. 하이 레벨 컨텍스트 정보(439)는 분석 및 추론 모듈(443)에 의해 생성될 수 있다.According to an embodiment, the high-level context information 439 is an IoT environment analyzed or inferred based on at least one of metadata 431 , event information 433 , user information 435 , or association information 437 . It may include characteristic information for . High level context information 439 may be generated by analysis and inference module 443 .

예를 들어, 분석 및 추론 모듈(443)은 메타 데이터(431), 이벤트 정보(433), 사용자 정보(435), 또는 연관성 정보(437) 중 적어도 하나를 기반으로, 사용자가 쿡탑을 동작시킨 이후에 공기 청정기를 동작시킨 것이 식별되면,"사용자가 주방에서 요리 중임"을 나타내는 정보를 하이 레벨 컨텍스트 정보(439)로서 생성할 수 있다.For example, after the user operates the cooktop, the analysis and inference module 443 may be configured to operate the cooktop based on at least one of the metadata 431 , the event information 433 , the user information 435 , and the association information 437 . When it is identified that the air purifier has been operated in , information indicating “the user is cooking in the kitchen” may be generated as the high-level context information 439 .

다른 예로, 분석 및 추론 모듈(443)은 메타 데이터(431), 이벤트 정보(433), 사용자 정보(435), 또는 연관성 정보(437) 중 적어도 하나를 기반으로, 특정 위치에서 세탁기의 동작이 끝난 이후에 건조기의 동작이 시작됨이 분석되면, "특정 위치는 세탁과 건조가 수행되는 장소임"을 나타내는 정보를 하이 레벨 컨텍스트 정보(439)로서 생성할 수 있다. As another example, the analysis and inference module 443 performs the operation of the washing machine at a specific location based on at least one of the metadata 431 , the event information 433 , the user information 435 , and the association information 437 . After it is analyzed that the operation of the dryer is started, information indicating “a specific location is a place where washing and drying are performed” may be generated as the high-level context information 439 .

또 다른 예로, 분석 및 추론 모듈(443)은 메타 데이터(431), 이벤트 정보(433), 사용자 정보(435), 또는 연관성 정보(437) 중 적어도 하나를 기반으로, TV에서 특정 시간대에 선택된 채널이 유아 프로그램, 만화, 또는 교육방송 관련 채널이면 "특정 시간대에 어린이들이 존재함"을 나타내는 정보를 하이 레벨 컨텍스트 정보(439)로서 생성할 수 있다. As another example, the analysis and inference module 443 may configure a channel selected at a specific time on the TV based on at least one of metadata 431 , event information 433 , user information 435 , and association information 437 . If it is a channel related to an infant program, a cartoon, or an educational broadcast, information indicating "there are children in a specific time period" may be generated as the high-level context information 439 .

일 실시예에서, 에지 그래프 생성 모듈(430)은 메타 데이터(431), 이벤트 정보(433), 사용자 정보(435), 연관성 정보(437), 및 하이 레벨 컨텍스트 정보(439) 중 적어도 하나를 기반으로 에지 그래프(425)를 생성하고, 생성된 에지 그래프(425)를 제어 정보 업데이트 모듈(420)로 제공할 수 있다. In an embodiment, the edge graph generating module 430 based on at least one of metadata 431 , event information 433 , user information 435 , association information 437 , and high-level context information 439 . may generate an edge graph 425 , and provide the generated edge graph 425 to the control information update module 420 .

일 실시예에서, 제어 정보 업데이트 모듈(420)은 에지 그래프(425)를 기반으로, 필터링된 제어 정보(415)를 업데이트하여 업데이트된 제어 정보(445)를 생성할 수 있다. 일 실시예에서, 필터링된 제어 정보(415) 가 표 1과 같을 경우, 업데이트된 제어 정보(445)는 다음 표 2와 같이 업데이트된 이벤트 정보 및 동작 정보를 포함할 수 있다. In an embodiment, the control information update module 420 may generate the updated control information 445 by updating the filtered control information 415 based on the edge graph 425 . In an embodiment, when the filtered control information 415 is as shown in Table 1, the updated control information 445 may include updated event information and operation information as shown in Table 2 below.

Figure pat00002
Figure pat00002

업데이트된 제어 정보(445)는 제어 정보 제공 모듈(450)로 제공될 수 있고, 제어 정보 제공 모듈(450)은 업데이트된 제어 정보(445)를 사용자 단말에게 송신하도록 통신 회로(320)를 제어할 수 있다. 업데이트된 제어 정보(445)는 사용자 단말에서 사용자의 선택에 따라 사용되거나 사용되지 않을 수 있다. The updated control information 445 may be provided to the control information providing module 450 , and the control information providing module 450 may control the communication circuit 320 to transmit the updated control information 445 to the user terminal. can The updated control information 445 may or may not be used according to a user's selection in the user terminal.

다양한 실시예들에 따르면, 전자 장치는, 메모리; 통신 회로; 상기 메모리 및 상기 통신 회로와 작동적으로 연결된 적어도 하나의 프로세서를 포함하고, 상기 메모리는, 실행 시에, 상기 적어도 하나의 프로세서로 하여금, 상기 통신 회로를 통해, 클라우드의 적어도 하나의 장치로부터 다수의 사용자들에 의해 사용 가능한 제 1 제어 정보를 획득하고, 상기 제 1 제어 정보는 이벤트 정보 및 상기 이벤트 정보와 관련된 제 1 외부 전자 장치의 동작 정보를 포함하며, 상기 이벤트 정보에 기반한 이벤트가 발생되면, 상기 이벤트가 발생된 시점 이전 또는 이후에 발생된 상기 이벤트와 연관된 적어도 하나의 이벤트에 대한 정보, 또는 상기 다수의 사용자들 중 상기 이벤트와 연관된 적어도 하나의 사용자에 대한 컨텍스트 정보 중 적어도 하나를 식별하고, 상기 식별된 정보를 기반으로 상기 이벤트 정보 또는 상기 동작 정보 중 적어도 하나를 업데이트하고, 업데이트된 이벤트 정보 또는 업데이트된 동작 정보 중 적어도 하나를 포함하도록 상기 제 1 제어 정보를 업데이트 하여 제 2 제어 정보를 생성하는 인스트럭션들을 저장할 수 있다.According to various embodiments, an electronic device may include a memory; communication circuit; at least one processor operatively coupled with the memory and the communication circuitry, wherein the memory, when executed, causes the at least one processor to: obtains first control information usable by users, the first control information includes event information and operation information of a first external electronic device related to the event information, and when an event based on the event information occurs, Identifies at least one of information about at least one event related to the event that occurred before or after the time when the event occurred, or context information about at least one user related to the event among the plurality of users, Updates at least one of the event information or the operation information based on the identified information, and updates the first control information to include at least one of the updated event information or the updated operation information to generate second control information instructions can be stored.

다양한 실시예들에 따르면, 상기 컨텍스트 정보는 상기 적어도 하나의 사용자에 대한 정보, 상기 이벤트가 발생된 시점의 상기 제 1 외부 전자 장치의 위치 관련 정보, 상기 이벤트와 연관된 환경 정보, 또는 상기 이벤트와 연관된 적어도 하나의 제 2 외부 전자 장치에 대한 정보 중 적어도 하나를 포함할 수 있다. According to various embodiments, the context information may include information about the at least one user, location-related information of the first external electronic device at a time when the event occurs, environment information related to the event, or information related to the event. It may include at least one of information on at least one second external electronic device.

다양한 실시예들에 따르면, 상기 제 1 외부 전자 장치의 위치 관련 정보는 상기 제 1 외부 전자 장치가 위치한 장소에 포함된 외부 전자 장치들의 수, 상기 장소에 포함된 외부 전자 장치들 각각의 상태 정보, 상기 장소의 온도 정보, 상기 장소의 습도 정보, 상기 장소의 공기 질(air quality) 정보, 상기 장소의 냄새 정보, 또는 상기 장소의 소음 정보 중 적어도 하나를 포함할 수 있다. According to various embodiments, the location-related information of the first external electronic device includes: the number of external electronic devices included in the location where the first external electronic device is located, status information of each of the external electronic devices included in the location; It may include at least one of temperature information of the place, humidity information of the place, air quality information of the place, smell information of the place, and noise information of the place.

다양한 실시예들에 따르면, 상기 적어도 하나의 사용자에 대한 정보는 적어도 하나의 이동 단말을 기반으로 식별되며, 상기 이벤트가 발생한 시점에 상기 적어도 하나의 이동 단말이 존재하는지 여부에 대한 정보, 또는 상기 적어도 하나의 이동 단말이 존재하는 경우 상기 적어도 하나의 이동 단말이 상기 전자 장치로부터 서비스를 제공받기 위해 네트워크에 접속한 시점으로부터 상기 이벤트가 발생한 시점까지의 시간 정보 중 적어도 하나를 포함할 수 있다. According to various embodiments, the information on the at least one user is identified based on at least one mobile terminal, and information on whether the at least one mobile terminal exists at the time when the event occurs, or the at least When there is one mobile terminal, it may include at least one of time information from a point in time when the at least one mobile terminal accesses a network to receive a service from the electronic device to a point in time when the event occurs.

다양한 실시예들에 따르면, 상기 이벤트와 연관된 환경 정보는 상기 이벤트가 발생한 시간 정보, 상기 이벤트가 발생한 위치 내의 사용자 수에 대한 정보, 상기 이벤트가 발생한 위치의 사용 특성 정보, 상기 이벤트가 발생한 시점의 날씨 정보, 또는 상기 이벤트가 발생한 시점의 공기 질(air quality) 정보 중 적어도 하나를 포함할 수 있다. According to various embodiments, the environment information related to the event may include time information at which the event occurred, information on the number of users in the location where the event occurred, information on usage characteristics of the location where the event occurred, and weather at the time the event occurred. It may include at least one of information or air quality information at the time the event occurred.

다양한 실시예들에 따르면, 상기 적어도 하나의 제 2 외부 전자 장치는 상기 전자 장치와 연결된 복수개의 외부 전자 장치들 중 상기 제 1 외부 전자 장치와 상관도가 임계값 이상 높은 적어도 하나의 외부 전자 장치를 나타내며, 상기 복수개의 외부 전자 장치들 중 i번째 외부 전자 장치와 상기 제 1 외부 전자 장치의 상관도는 상기 i번째 외부 전자 장치가 상기 제 1 외부 전자 장치와 동일한 장소에 위치하는지 여부, 설정된 시간 동안 상기 i번째 외부 전자 장치가 상기 제 1 외부 전자 장치와 동시에 실행된 시간의 누적 평균값, 상기 이벤트가 발생한 시점과 상기 i번째 외부 전자 장치와 관련된 이벤트가 발생한 시점 간의 시간 상의 거리 정보, 상기 제 1 외부 전자 장치가 동작하는 경우 상기 복수개의 외부 전자 장치들 각각이 동작한 횟수 대비 상기 i번째 외부 전자 장치가 동작한 횟수의 비율, 또는 상기 i번째 외부 전자 장치가 동작하는 경우 상기 복수개의 외부 전자 장치들 각각이 동작한 총 횟수 대비 상기 제 1 외부 전자 장치가 동작한 횟수의 비율 중 적어도 하나를 기반으로 결정될 수 있다. According to various embodiments, the at least one second external electronic device selects at least one external electronic device having a high correlation with the first external electronic device among a plurality of external electronic devices connected to the electronic device by a threshold value or more. of the plurality of external electronic devices, the correlation between the i-th external electronic device and the first external electronic device is determined by determining whether the i-th external electronic device is located in the same location as the first external electronic device, and for a set time period. The cumulative average value of the time the i-th external electronic device is executed simultaneously with the first external electronic device, information on the distance in time between the time when the event occurs and the time when the event related to the i-th external electronic device occurs, and the first external electronic device When the electronic device operates, a ratio of the number of times the i-th external electronic device operates to the number of times each of the plurality of external electronic devices operates, or when the i-th external electronic device operates, the plurality of external electronic devices It may be determined based on at least one of a ratio of the number of times the first external electronic device has operated to the total number of times each operation is performed.

이하 도 5a 및 도 5b를 참조하여 에지 그래프에 대해 상세히 설명하기로 한다.Hereinafter, the edge graph will be described in detail with reference to FIGS. 5A and 5B .

도 5a는 다양한 실시예들에 따른 에지 그래프의 일 예를 도시한 도면(500)이다. 5A is a diagram 500 illustrating an example of an edge graph according to various embodiments.

에지 그래프는 다양한 타입의 노드들을 기반으로 생성될 수 있다. 다양한 타입의 노드들은 예를 들어, 홈 IoT 시스템의 경우 "위치", "룸", "사용자", 또는 "외부 전자 장치"의 노드들 중 적어도 하나를 포함할 수 있고, 각 노드 타입 별로 다음 표 3에 나타난 바와 같은 속성값을 가질 수 있다. The edge graph may be generated based on various types of nodes. Various types of nodes may include, for example, at least one of nodes of “location”, “room”, “user”, or “external electronic device” in the case of a home IoT system, and the following table for each node type It can have attribute values as shown in Fig. 3.

Figure pat00003
Figure pat00003

도 5a를 참조하면, 위치 노드(510)는 룸, 사용자, 또는 외부 전자 장치 중 적어도 하나가 포함된 위치에 대한 정보를 포함하는 노드로서, 홈 IoT 시스템에서는 집을 나타내는 노드가 될 수 있다. Referring to FIG. 5A , a location node 510 is a node including information on a location including at least one of a room, a user, and an external electronic device, and may be a node representing a house in the home IoT system.

도 5a에 도시된 에지 그래프에서 위치 노드(510)는 위치 노드(510)의 ID 정보(9319e8effc63), 위치 노드(510)의 타입 정보(type: Location), 위치 노드(510)의 이름 정보(name: 집), 및 위치 노드(510)의 상태 정보(status: {'total': 2, 'present': 2, 'not present': 0, 'm_state': 'everyone'})를 포함할 수 있다. 위치 노드(510)의 상태 정보인 “status: {'total': 2, 'present': 2, 'not present': 0, 'm_state': 'everyone'}”는 “집 안에 총 2명의 구성원이 있고, 존재하는 구성원은 2명이며, 존재하지 않는 구성원은 없고, 구성원 모두가 존재한다”는 것을 나타낼 수 있다. In the edge graph shown in FIG. 5A , the location node 510 includes ID information 9319e8effc63 of the location node 510, type information of the location node 510 (type: Location), and name information of the location node 510 (name). : house), and state information of the location node 510 (status: {'total': 2, 'present': 2, 'not present': 0, 'm_state': 'everyone'}). . "status: {'total': 2, 'present': 2, 'not present': 0, 'm_state': 'everyone'}", which is the state information of the location node 510, means "a total of two members in the house exists, there are two members, there is no non-existent member, and all members exist”.

도 5a에 도시되지는 않았으나, 일 실시예에 따라, 위치 노드(510)는 날짜 정보, 시간 정보, 또는 날씨 정보 중 적어도 하나를 더 포함할 수 있다. 이 경우, 위치 노드(510)의 상태 정보는 특정 날짜, 특정 시간, 또는 특정 날씨 중 적어도 하나에 대응하는 상태 정보를 포함할 수 있다. Although not shown in FIG. 5A , according to an embodiment, the location node 510 may further include at least one of date information, time information, and weather information. In this case, the status information of the location node 510 may include status information corresponding to at least one of a specific date, a specific time, or specific weather.

일 실시예에서, 위치 노드(510)는 하나 이상의 룸 노드들, 하나 이상의 사용자 노드들, 또는 하나 이상의 외부 전자 장치 노드들 중 적어도 하나와 연결될 수 있다. 예를 들어, 위치 노드(510)는 제 1 룸 노드(522), 제 2 룸 노드(524), 제 3 룸 노드(526), 및 제 4 룸 노드(528)와 연결될 수 있다. 위치 노드(510)가 제 1 룸 노드(522), 제 2 룸 노드(524), 제 3 룸 노드(526), 및 제 4 룸 노드(528)와 연결될 수 있다는 것은 위치 노드(510)에 의해 지시되는 집 안에 제 1 룸 노드(522), 제 2 룸 노드(524), 제 3 룸 노드(526), 및 제 4 룸 노드(528)에 의해 지시되는 4개의 룸들이 포함됨을 의미할 수 있다. In one embodiment, location node 510 may be coupled to at least one of one or more room nodes, one or more user nodes, or one or more external electronic device nodes. For example, the location node 510 may be connected to a first room node 522 , a second room node 524 , a third room node 526 , and a fourth room node 528 . Location node 510 can be connected with first room node 522 , second room node 524 , third room node 526 , and fourth room node 528 by location node 510 . This may mean that the indicated house includes four rooms indicated by the first room node 522 , the second room node 524 , the third room node 526 , and the fourth room node 528 . .

제 1 룸 노드(522)는 제 1 룸 노드(522)의 ID 정보(068db0133ea3), 제 1 룸 노드(522)의 타입 정보(type: Room), 제 1 룸 노드(522)의 이름 정보(name: 드레스 룸), 및 제 1 룸 노드(522)의 상태 정보(status: {'total': 1, 'on': 1, 'off': 0})를 포함할 수 있다. 제 1 룸 노드(522)의 상태 정보인 “status: {'total': 1, 'on': 1, 'off': 0}”는 “드레스 룸에 총 1개의 외부 전자 장치들이 있고, 1개의 외부 전자 장치는 전원이 켜진 상태이며, 전원이 꺼진 외부 전자 장치는 없다”는 것을 나타낼 수 있다. The first room node 522 includes ID information (068db0133ea3) of the first room node 522, type information (type: Room) of the first room node 522, and name information (name) of the first room node 522 : dressing room), and status information (status: {'total': 1, 'on': 1, 'off': 0}) of the first room node 522 . “status: {'total': 1, 'on': 1, 'off': 0}”, which is the status information of the first room node 522 , indicates that “there are a total of one external electronic device in the dressing room and one The external electronic device is in a power-on state, and there is no external electronic device that is powered off”.

제 2 룸 노드(524)는 제 2 룸 노드(524)의 ID 정보(8b60b7d51), 제 2 룸 노드(524)의 타입 정보(type: Room), 제 2 룸 노드(524)의 이름 정보(name: 세탁실), 및 제 2 룸 노드(524)의 상태 정보(status: {'total': 1, 'on': 1, 'off': 1})를 포함할 수 있다. 제 2 룸 노드(524)의 상태 정보인 “status: {'total': 1, 'on': 1, 'off': 1}”은 “세탁실에 총 2개의 외부 전자 장치들이 있고, 하나의 외부 전자 장치는 전원이 켜진 상태이며, 다른 하나의 외부 전자 장치는 전원이 꺼진 상태이다”는 것을 나타낼 수 있다. The second room node 524 includes ID information (8b60b7d51) of the second room node 524, type information (type: Room) of the second room node 524, and name information (name) of the second room node 524 : laundry room), and status information (status: {'total': 1, 'on': 1, 'off': 1}) of the second room node 524 . “status: {'total': 1, 'on': 1, 'off': 1}”, which is the status information of the second room node 524, indicates that “there are a total of two external electronic devices in the laundry room and one external The electronic device is in a power-on state, and the other external electronic device is in a power-off state”.

제 3 룸 노드(526)는 제 3 룸 노드(526)의 ID 정보(d9f2dae7b090), 제 3 룸 노드(526)의 타입 정보(type: Room), 제 3 룸 노드(526)의 이름 정보(name: 침실), 및 제 3 룸 노드(526)의 상태 정보(status: {'total': 1, 'on': 0, 'off': 1})를 포함할 수 있다. 제 3 룸 노드(526)의 상태 정보인 “status: {'total': 1, 'on': 0, 'off': 1}”은 “침실에 총 1개의 외부 전자 장치들이 있고, 전원이 켜진 외부 전자 장치는 없고, 1개의 외부 전자 장치는 전원이 꺼진 상태이다”는 것을 나타낼 수 있다. The third room node 526 includes ID information (d9f2dae7b090) of the third room node 526, type information (type: Room) of the third room node 526, and name information (name) of the third room node 526 : bedroom), and status information (status: {'total': 1, 'on': 0, 'off': 1}) of the third room node 526 . “status: {'total': 1, 'on': 0, 'off': 1}”, which is the status information of the third room node 526, indicates that “there are a total of one external electronic device in the bedroom, and the There is no external electronic device, and one external electronic device is in a power off state”.

제 4 룸 노드(528)는 제 4 룸 노드(528)의 ID 정보(de1d856eaa72), 제 4 룸 노드(528)의 타입 정보(type: Room), 제 4 룸 노드(528)의 이름 정보(name: 거실), 및 제 4 룸 노드(528)의 상태 정보(status: {'total': 4, 'on': 3, 'off': 1})를 포함할 수 있다. 제 4 룸 노드(528)의 상태 정보인 “status: {'total': 4, 'on': 3, 'off': 1}”은 “거실에 총 4개의 외부 전자 장치들이 있고, 3개의 외부 전자 장치는 전원이 켜진 상태이며, 1개의 외부 전자 장치는 전원이 꺼진 상태이다”는 것을 나타낼 수 있다. The fourth room node 528 includes ID information (de1d856eaa72) of the fourth room node 528, type information (type: Room) of the fourth room node 528, and name information (name) of the fourth room node 528 : living room), and status information (status: {'total': 4, 'on': 3, 'off': 1}) of the fourth room node 528 . “status: {'total': 4, 'on': 3, 'off': 1}”, which is the status information of the fourth room node 528, indicates that “there are a total of four external electronic devices in the living room, and three external electronic devices are present in the living room. The electronic device is in a power-on state, and one external electronic device is in a power-off state”.

도 5a에 도시되지는 않았으나, 일 실시예에 따라, 제 1 룸 노드(522), 제 2 룸 노드(524), 제 3 룸 노드(526), 및 제 4 룸 노드(528) 각각은 해당 룸의 환경 정보(예: 센서에 의해 측정된 온도 정보, 습도 정보, 공기 질 정보, 냄새 정보, 또는 소음 정보 중 적어도 하나)를 더 포함할 수 있다. Although not shown in FIG. 5A , according to an embodiment, each of the first room node 522 , the second room node 524 , the third room node 526 , and the fourth room node 528 is a corresponding room. may further include environmental information (eg, at least one of temperature information, humidity information, air quality information, odor information, and noise information measured by a sensor).

일 실시예에 따라, 위치 노드(510), 또는 제 1 룸 노드(522), 제 2 룸 노드(524), 제 3 룸 노드(526), 및 제 4 룸 노드(528) 각각은 하이 레벨 컨텍스트 정보(예: 해당 위치 또는 룸이 요리를 위한 장소인지, 세탁을 위한 장소인지, 또는 취침을 위한 장소인지를 분석 또는 추론한 정보)를 더 포함할 수 있다. 또한, 위치 노드(510), 또는 제 1 룸 노드(522), 제 2 룸 노드(524), 제 3 룸 노드(526), 및 제 4 룸 노드(528) 각각은 사용 특성 정보(예: 해당 위치 또는 룸이 빈번하게 식사가 이루어지는 장소인지, 빈번하게 세탁이 이루어지는 장소인지, 또는 아이들이 주로 이용하는 장소인지를 분석 또는 추론한 정보)를 더 포함할 수 있다. According to one embodiment, location node 510 , or first room node 522 , second room node 524 , third room node 526 , and fourth room node 528 each has a high level context It may further include information (eg, information analyzed or inferred whether the corresponding location or room is a place for cooking, washing, or sleeping). In addition, each of the location node 510 , or the first room node 522 , the second room node 524 , the third room node 526 , and the fourth room node 528 includes usage characteristic information (eg, corresponding It may further include information that is analyzed or inferred whether the location or room is a place where meals are frequently made, a place where laundry is frequently performed, or a place mainly used by children).

일 실시예에 따라, 제 1 룸 노드(522), 제 2 룸 노드(524), 제 3 룸 노드(526), 및 제 4 룸 노드(528) 각각은 적어도 하나의 외부 전자 장치 노드에 연결될 수 있다. 제 1 룸 노드(522), 제 2 룸 노드(524), 제 3 룸 노드(526), 및 제 4 룸 노드(528) 각각이 적어도 하나의 외부 전자 장치 노드에 연결될 수 있다는 것은 제 1 룸 노드(522), 제 2 룸 노드(524), 제 3 룸 노드(526), 및 제 4 룸 노드(528)에 의해 지시되는 4개의 룸들 각각에 적어도 하나의 외부 전자 장치가 포함될 수 있음을 나타낼 수 있다. According to an embodiment, each of the first room node 522 , the second room node 524 , the third room node 526 , and the fourth room node 528 may be connected to at least one external electronic device node. have. The first room node 522 , the second room node 524 , the third room node 526 , and the fourth room node 528 may each be connected to at least one external electronic device node is the first room node. 522 , may indicate that at least one external electronic device may be included in each of the four rooms indicated by the second room node 524 , the third room node 526 , and the fourth room node 528 . have.

제 1 룸 노드(522)는 제 1 외부 전자 장치 노드(532)에 연결될 수 있다. 제 1 외부 전자 장치 노드(532)는 제 1 외부 전자 장치 노드(532)의 ID 정보(848882612), 제 1 외부 전자 장치 노드(532)의 타입 정보(type: steamcloset), 및 제 1 외부 전자 장치 노드(532)의 상태 정보(status: on (전원 켜짐))를 포함할 수 있다. The first room node 522 may be connected to the first external electronic device node 532 . The first external electronic device node 532 includes ID information 848882612 of the first external electronic device node 532 , type information (type: steamcloset) of the first external electronic device node 532 , and the first external electronic device It may include status information (status: on (power on)) of the node 532 .

제 2 룸 노드(524)는 제 2 외부 전자 장치 노드(534) 및 제 3 외부 전자 장치 노드(536)에 연결될 수 있다. 제 2 외부 전자 장치 노드(534)는 제 2 외부 전자 장치 노드(534)의 ID 정보(999795058), 제 2 외부 전자 장치 노드(534)의 타입 정보(type: dryer), 및 제 2 외부 전자 장치 노드(534)의 상태 정보(status: on (전원 켜짐))를 포함할 수 있다.The second room node 524 may be connected to the second external electronic device node 534 and the third external electronic device node 536 . The second external electronic device node 534 includes ID information 999795058 of the second external electronic device node 534, type information (type: dryer) of the second external electronic device node 534, and a second external electronic device. It may include status information (status: on (power on)) of the node 534 .

제 3 외부 전자 장치 노드(536)는 제 3 외부 전자 장치 노드(536)의 ID 정보(1791928441), 제 3 외부 전자 장치 노드(536)의 타입 정보(type: washer), 및 제 3 외부 전자 장치 노드(536)의 상태 정보(status: off (전원 꺼짐))를 포함할 수 있다.The third external electronic device node 536 includes ID information 1791928441 of the third external electronic device node 536, type information (type: washer) of the third external electronic device node 536, and the third external electronic device It may include status information (status: off (power off)) of the node 536 .

제 3 룸 노드(526)는 제 4 외부 전자 장치 노드(538)에 연결될 수 있다. 제 4 외부 전자 장치 노드(538)는 제 4 외부 전자 장치 노드(538)의 ID 정보(397448516), 제 4 외부 전자 장치 노드(538)의 타입 정보(type: airconditioner), 및 제 4 외부 전자 장치 노드(538)의 상태 정보(status: off (전원 꺼짐))를 포함할 수 있다.The third room node 526 may be connected to the fourth external electronic device node 538 . The fourth external electronic device node 538 includes ID information 397448516 of the fourth external electronic device node 538, type information (type: airconditioner) of the fourth external electronic device node 538, and the fourth external electronic device It may include status information (status: off (power off)) of the node 538 .

제 4 룸 노드(528)는 제 5 외부 전자 장치 노드(542), 제 6 외부 전자 장치 노드(544), 제 7 외부 전자 장치 노드(546) 및 제 8 외부 전자 장치 노드(548)에 연결될 수 있다. The fourth room node 528 may be connected to a fifth external electronic device node 542 , a sixth external electronic device node 544 , a seventh external electronic device node 546 , and an eighth external electronic device node 548 . have.

제 5 외부 전자 장치 노드(542)는 제 5 외부 전자 장치 노드(542)의 ID 정보(804745802), 제 5 외부 전자 장치 노드(542)의 타입 정보(type: networkaudio), 및 제 5 외부 전자 장치 노드(542)의 상태 정보(status: on (전원 켜짐))를 포함할 수 있다.The fifth external electronic device node 542 includes ID information 804745802 of the fifth external electronic device node 542 , type information (type: networkaudio) of the fifth external electronic device node 542 , and a fifth external electronic device It may include status information (status: on (power on)) of the node 542 .

제 6 외부 전자 장치 노드(544)는 제 6 외부 전자 장치 노드(544)의 ID 정보(2564883440), 제 6 외부 전자 장치 노드(544)의 타입 정보(type: tv), 및 제 6 외부 전자 장치 노드(544)의 상태 정보(status: on (전원 켜짐))를 포함할 수 있다.The sixth external electronic device node 544 includes ID information 2564883440 of the sixth external electronic device node 544, type information (type: tv) of the sixth external electronic device node 544, and the sixth external electronic device It may include status information (status: on (power on)) of the node 544 .

제 7 외부 전자 장치 노드(546)는 제 7 외부 전자 장치 노드(546)의 ID 정보(4270813037), 제 7 외부 전자 장치 노드(546)의 타입 정보(type: robotcleaner), 및 제 7 외부 전자 장치 노드(546)의 상태 정보(status: stop (동작 중지))를 포함할 수 있다.The seventh external electronic device node 546 includes ID information 4270813037 of the seventh external electronic device node 546, type information (type: robotcleaner) of the seventh external electronic device node 546, and the seventh external electronic device It may include status information (status: stop (stop operation)) of the node 546 .

제 8 외부 전자 장치 노드(548)는 제 8 외부 전자 장치 노드(548)의 ID 정보(926139825), 제 8 외부 전자 장치 노드(548)의 타입 정보(type: airconditioner), 및 제 8 외부 전자 장치 노드(548)의 상태 정보(status: on (전원 켜짐))를 포함할 수 있다.The eighth external electronic device node 548 includes ID information 926139825 of the eighth external electronic device node 548, type information (type: airconditioner) of the eighth external electronic device node 548, and the eighth external electronic device. It may include status information (status: on (power on)) of the node 548 .

도 5a에 도시되지는 않았으나, 일 실시예에 따라, 제 1 외부 전자 장치 노드(532) 내지 제 8 외부 전자 장치 노드(548)는 각각 이벤트 정보(예: 가장 최근 발생한 이벤트 정보 또는 가장 자주 발생한 이벤트 정보 중 적어도 하나), 이벤트 발생 시간 정보, 또는 사용 통계 정보(예: 주 사용 시간 정보, 사용 사이클 정보, 또는 사용 패턴 정보 중 적어도 하나) 중 적어도 하나를 더 포함할 수 있다. Although not shown in FIG. 5A , according to an exemplary embodiment, the first external electronic device node 532 to the eighth external electronic device node 548 each have event information (eg, the most recent event information or the most frequently occurring event). at least one of information), event occurrence time information, and usage statistics information (eg, at least one of main usage time information, usage cycle information, and usage pattern information).

일 실시예에서, 위치 노드(510)는 적어도 하나의 사용자 노드와 연결될 수 있다. 예를 들어, 위치 노드(510)는 제 1 사용자 노드(552) 및 제 2 사용자 노드(554)와 연결될 수 있다. 위치 노드(510)가 제 1 사용자 노드(552) 및 제 2 사용자 노드(554)와 연결될 수 있다는 것은 위치 노드(510)에 의해 지시되는 집 안에 제 1 사용자 노드(552) 및 제 2 사용자 노드(554) 각각에 의해 지시되는 제 1 사용자와 제 2 사용자가 존재함을 의미할 수 있다. In one embodiment, the location node 510 may be connected to at least one user node. For example, location node 510 may be coupled to first user node 552 and second user node 554 . The fact that a location node 510 can be coupled with a first user node 552 and a second user node 554 means that a first user node 552 and a second user node 552 in the house indicated by the location node 510 ( 554) may mean that the first user and the second user indicated by each exist.

제 1 사용자 노드(552)는 제 1 사용자 노드(552)의 ID 정보(4239056017), 제 1 사용자 노드(552)의 타입 정보(type: mobilepresence), 및 제 1 사용자 노드(552)의 상태 정보(status: present (존재함))를 포함할 수 있다.The first user node 552 includes ID information 4239056017 of the first user node 552, type information (type: mobilepresence) of the first user node 552, and state information of the first user node 552 ( status: present).

제 2 사용자 노드(554)는 제 2 사용자 노드(554)의 ID 정보(2519291677), 제 2 사용자 노드(554)의 타입 정보(type: mobilepresence), 및 제 2 사용자 노드(554)의 상태 정보(status: present (존재함))를 포함할 수 있다.The second user node 554 includes ID information 2519291677 of the second user node 554, type information (type: mobilepresence) of the second user node 554, and state information of the second user node 554 ( status: present).

도 5a에 나타난 바와 같이 각 노드 별로 속성 정보가 결정되면, 각 노드 별 속성 정보는 이벤트 발생시 컨텍스트 별로 분류될 수 있다. 예를 들어, 이벤트가 발생하면, 이벤트가 발생된 시점의 각 노드 별 속성 정보는 표 4에 나타난 바와 같은 “홈 컨텍스트”, “룸 컨텍스트”, “사용자 컨텍스트”, 또는 “장치 컨텍스트” 중 적어도 하나로 분류될 수 있고, 분류된 각 컨텍스트는 이벤트와 연관된 컨텍스트로 저장될 수 있다. As shown in FIG. 5A , when attribute information for each node is determined, the attribute information for each node may be classified according to context when an event occurs. For example, when an event occurs, the attribute information for each node at the time the event occurs is at least one of “home context”, “room context”, “user context”, or “device context” as shown in Table 4 It may be classified, and each classified context may be stored as a context associated with the event.

Figure pat00004
Figure pat00004

일 실시예에 따라, 이벤트와 연관된 컨텍스트를 기반으로 연관 관계가 있는 노드들이 식별될 수 있고, 식별된 노드들 간의 링크가 에지 그래프에 표시될 수 있다.According to an embodiment, related nodes may be identified based on the context associated with the event, and links between the identified nodes may be displayed on the edge graph.

도 5b는 다양한 실시예들에 따른 에지 그래프에서 연관 관계가 있는 노드들 간의 링크를 예시한 도면(560)이다.5B is a diagram 560 illustrating a link between nodes having a relationship in an edge graph according to various embodiments.

다양한 실시예들에 따르면, 연관 관계가 있는 노드들 간의 링크는 표 5에 나타난 바와 같이, 외부 전자 장치 노드들 간의 링크(링크 타입 A), 사용자 노드와 외부 전자 장치 간의 링크(링크 타입 B), 사용자 노드들 간의 링크(링크 타입 C)의 3가지 타입들로 구분될 수 있다. According to various embodiments, as shown in Table 5, the links between nodes having an association relationship include a link between external electronic device nodes (link type A), a link between a user node and an external electronic device (link type B), It can be divided into three types of links between user nodes (link type C).

Figure pat00005
Figure pat00005

도 5b를 참조하면, 일 실시예에서, 제 2 외부 전자 장치 노드(534)와 제 3 외부 전자 장치 노드(536)는 링크 타입 A의 링크(572)를 가질 수 있다. 링크(572)는 제 2 외부 전자 장치 노드(534)(예: 건조기)의 동작과 제 3 외부 전자 장치 노드(536)(예: 세탁기)의 동작 간에 연관 관계가 있음을 나타낼 수 있다. Referring to FIG. 5B , in an embodiment, the second external electronic device node 534 and the third external electronic device node 536 may have a link 572 of link type A. Referring to FIG. The link 572 may indicate that there is a correlation between the operation of the second external electronic device node 534 (eg, a dryer) and the operation of the third external electronic device node 536 (eg, a washing machine).

일 실시예에서, 제 5 외부 전자 장치 노드(542)와 제 6 외부 전자 장치 노드(544)는 링크 타입 A의 링크(574)를 가질 수 있다. 링크(574)는 제 5 외부 전자 장치 노드(542)(예: 네트워크 오디오)의 동작과 제 6 외부 전자 장치 노드(544)(예: TV)의 동작 간에 연관 관계가 있음을 나타낼 수 있다.In an embodiment, the fifth external electronic device node 542 and the sixth external electronic device node 544 may have a link 574 of link type A. The link 574 may indicate that there is a correlation between the operation of the fifth external electronic device node 542 (eg, network audio) and the operation of the sixth external electronic device node 544 (eg, TV).

일 실시예에서, 제 1 사용자 노드(552)와 제 1 외부 전자 장치 노드(532)는 링크 타입 B의 링크(582)를 가질 수 있다. 링크(582)는 제 1 사용자 노드(552)에 의해 지시되는 사용자가 제 1 외부 전자 장치 노드(532)에 대한 설정 정보(예: 의류 관리기의 설정 코스 정보)를 가지고 있음을 나타낼 수 있다. In an embodiment, the first user node 552 and the first external electronic device node 532 may have a link 582 of type B link. The link 582 may indicate that the user indicated by the first user node 552 has setting information for the first external electronic device node 532 (eg, setting course information of the clothing manager).

일 실시예에서, 제 2 사용자 노드(554)와 제 5 외부 전자 장치 노드(542)는 링크 타입 B의 링크(584)를 가질 수 있다. 링크(584)는 제 2 사용자 노드(554)에 의해 지시되는 사용자가 제 5 외부 전자 장치 노드(542)에 대한 설정 정보(예: 네트워크 오디오의 볼륨 설정 정보)를 가지고 있음을 나타낼 수 있다. In one embodiment, the second user node 554 and the fifth external electronic device node 542 may have a link 584 of type B link. The link 584 may indicate that the user indicated by the second user node 554 has setting information for the fifth external electronic device node 542 (eg, volume setting information of network audio).

일 실시예에서, 제 2 사용자 노드(554)와 제 8 외부 전자 장치 노드(548)는 링크 타입 B의 링크(586)를 가질 수 있다. 링크(586)는 제 2 사용자 노드(554)에 의해 지시되는 사용자가 제 8 외부 전자 장치 노드(548)에 대한 설정 정보(예: 에어컨의 온도 설정 정보)를 가지고 있음을 나타낼 수 있다.In one embodiment, the second user node 554 and the eighth external electronic device node 548 may have a link 586 of type B link. The link 586 may indicate that the user indicated by the second user node 554 has setting information for the eighth external electronic device node 548 (eg, temperature setting information of the air conditioner).

일 실시예에서, 제 1 사용자 노드(552)와 제 2 사용자 노드(554)는 링크 타입 C의 링크(590)를 가질 수 있다. 링크(590)는 제 1 사용자 노드(552)에 의해 지시되는 사용자와 제 2 사용자 노드(554)에 의해 지시되는 사용자가 특정 관계(예: 부부, 친구, 또는 부모-자식 간 관계)가 있음을 나타낼 수 있다. 링크(590)는 제 1 사용자 노드(552)에 대응하는 이동 단말 사용자의 프로필 정보 및 제 2 사용자 노드(554)에 대응하는 이동 단말 사용자의 프로필 정보를 기반으로 생성될 수 있다.In one embodiment, the first user node 552 and the second user node 554 may have a link 590 of type C link. Link 590 indicates that the user indicated by first user node 552 and the user indicated by second user node 554 have a specific relationship (eg, a couple, friend, or parent-child relationship). can indicate The link 590 may be generated based on profile information of the mobile terminal user corresponding to the first user node 552 and profile information of the mobile terminal user corresponding to the second user node 554 .

일 실시예에 따라, 링크 타입 A는 하기의 수학식 1을 사용한 외부 전자 장치 노드들 간의 연관성 계산 결과를 기반으로 생성될 수 있다. According to an embodiment, the link type A may be generated based on the result of calculating the association between the external electronic device nodes using Equation 1 below.

Figure pat00006
Figure pat00006

수학식 1에서, Eij는 노드 i와 노드 j 간 에지의 가중치(weight)를 나타낼 수 있고, Lij는 노드 i와 노드 j 간의 위치 유사도(similarity)를 나타낼 수 있고, Tij는 노드 i와 노드 j 간의 시간 유사도를 나타내고, Gij는 노드 i와 노드 j가 설정된 시간 동안(예: 최근 2주 동안) 동시에 실행된 시간의 누적 시간 평균을 나타낼 수 있고, Cij는 노드 i와 노드 j가 연관되어 사용되는 비율을 나타낼 수 있다. In Equation 1, E ij may represent the weight of the edge between the node i and the node j, L ij may represent the positional similarity between the node i and the node j, T ij is the node i and Represents the time similarity between node j, G ij may represent the cumulative time average of the time that node i and node j were executed simultaneously for a set time (eg, during the last two weeks), and C ij is the time between node i and node j It can indicate the ratio used in association.

일 실시예에서, 위치 유사도인 Lij는 다음 표 6에 나타난 바와 같은 3가지 값 중 하나로 결정될 수 있다. In an embodiment, the location similarity L ij may be determined as one of three values as shown in Table 6 below.

Figure pat00007
Figure pat00007

표 6을 참조하면, Lij는 노드 i와 노드 j가 동일한 위치(또는 룸)에 있는 경우 1로 설정될 수 있고, 노드 i 또는 노드 j 중 적어도 하나의 위치 정보가 없는 경우 0.5로 설정될 수 있고, 노드 i와 노드 j가 다른 위치(또는 룸)에 있는 경우 0으로 설정될 수 있다. Referring to Table 6, L ij may be set to 1 when node i and node j are in the same location (or room), and can be set to 0.5 when there is no location information of at least one of node i or node j. and may be set to 0 if node i and node j are in different locations (or rooms).

일 실시예에서, 시간 유사도인 Tij는 하기의 수학식 2를 사용하여 결정될 수 있다.In an embodiment, the temporal similarity T ij may be determined using Equation 2 below.

Figure pat00008
Figure pat00008

수학식 2에서, Ti는 노드 i에 대한 이벤트 발생 시간(예: 분 단위의 시간)을 나타내고, Tj는 노드 j에 대한 이벤트 발생 시간(예: 분 단위의 시간)을 나타내고, Lo││는 소수점 이하의 값을 제외하고 정수값을 출력하는 연산자를 나타낼 수 있다. In Equation 2, T i denotes an event occurrence time (eg, time in minutes) for node i, T j denotes event occurrence time (eg, time in minutes) for node j, Lo││ may represent an operator that outputs an integer value excluding values after the decimal point.

일 실시예에서, 노드 i와 노드 j가 연관되어 사용되는 비율을 나타내는 Cij는 클라우드의 적어도 하나의 장치로부터 수신된 제어 정보를 기반으로 결정될 수 있다. 클라우드의 적어도 하나의 장치로부터 수신된 제어 정보는 예를 들어, 각 외부 전자 장치와 관련된 이벤트 정보 및 이벤트 정보와 관련된 각 외부 전자 장치의 동작 정보를 포함할 수 있다.In an embodiment, C ij representing a ratio in which node i and node j are associated and used may be determined based on control information received from at least one device in the cloud. The control information received from at least one device in the cloud may include, for example, event information related to each external electronic device and operation information of each external electronic device related to the event information.

아래의 표 7은 클라우드로부터 수신된 제어 정보를 기반으로, 하나의 외부 전자 장치의 동작을 조건으로 다른 하나의 외부 전자 장치의 동작이 수행된 횟수를 예시한 표이다. 일 실시예에서, 조건으로 사용될 수 있는 하나의 외부 전자 장치의 동작은 수신된 제어 정보에 포함된 이벤트 정보를 기반으로 검출될 수 있고, 다른 하나의 외부 전자 장치의 동작은 수신된 제어 정보에 포함된 동작 정보를 기반으로 검출될 수 있다. Table 7 below is a table exemplifying the number of times an operation of one external electronic device is performed as a condition of operation of one external electronic device based on control information received from the cloud. In an embodiment, the operation of one external electronic device that can be used as a condition may be detected based on event information included in the received control information, and the operation of the other external electronic device is included in the received control information. It can be detected based on the detected motion information.

Figure pat00009
Figure pat00009

표 7을 참조하면, 홈 IoT 시스템에서 사용될 수 있는 외부 전자 장치들(예: 에어컨, 공기청정기, TV, 네트워크 오디오, 로봇 청소기, 쿡탑, 냉장고, 세탁기, 건조기, 에어드레서(의류관리기), Mobile Presence (이동 단말 존재)) 간의 조건/동작 관계가 발생한 횟수를 기반으로 외부 전자 장치들 간의 연관 관계를 판단할 수 있다.Referring to Table 7, external electronic devices that can be used in the home IoT system (eg, air conditioner, air purifier, TV, network audio, robot cleaner, cooktop, refrigerator, washing machine, dryer, air dresser (clothing manager), mobile presence (Existence of mobile terminal))), a relationship between external electronic devices may be determined based on the number of occurrences of a condition/operation relationship.

예를 들어, 에어컨 동작의 조건으로 동작하는 외부 전자 장치는 에어컨을 제외한 다른 외부 전자 장치들이 동작한 횟수를 기반으로 식별될 수 있다. 다른 외부 전자 장치들이 동작한 횟수는 에어컨이 동작한 시점으로부터 설정된 시간 앞선 시간에 동작한 횟수를 나타낼 수 있다. 단, 이동 단말의 경우는 동작 횟수가 아닌, 존재하는 이동 단말의 수(존재하는 사용자 수)를 나타낼 수 있다. For example, the external electronic device operating under the condition of the air conditioner operation may be identified based on the number of times the external electronic devices other than the air conditioner have operated. The number of times that the other external electronic devices have been operated may indicate the number of times that the air conditioner has been operated before a preset time. However, in the case of a mobile terminal, the number of existing mobile terminals (the number of existing users) may be indicated, not the number of operations.

에어컨이 동작하기 전 동작한 외부 전자 장치들은 공기 청정기(9회 동작), TV(2회 동작), 쿡탑(1회 동작), 냉장고(2회 동작), 및 에어드레서(3회 동작)가 있고, 에어컨이 동작할 때 존재하는 이동 단말의 수는 2개일 수 있다. 이 경우 공기 청정기, TV, 쿡탑, 냉장고, 및 에어드레서 각각의 동작 횟수와 이동 단말의 수를 합산한 수는 19일 수 있고, 이를 고려하여 각 외부 전자 장치가 동작한 횟수 또는 개수가 차지하는 비율은 다음과 같이 계산될 수 있다. External electronic devices that operated before the air conditioner operated include an air purifier (operates 9 times), TV (operates twice), cooktop (operations once), refrigerator (operates twice), and air dresser (operations 3 times). , the number of mobile terminals present when the air conditioner operates may be two. In this case, the sum of the number of operations of each of the air purifier, TV, cooktop, refrigerator, and air dresser and the number of mobile terminals may be 19, and in consideration of this, the number or ratio of the number of operations of each external electronic device It can be calculated as

공기 청정기 = 9/19Air Purifier = 9/19

TV = 2/19TV = 2/19

쿡탑 = 1/19Cooktop = 1/19

냉장고 = 2/19Refrigerator = 2/19

에어드레서 = 3/19Air Dresser = 3/19

이동 단말 = 2/19mobile terminal = 2/19

위와 같은 계산 결과, 공기 청정기가 가장 높은 비율을 가지므로 에어컨의 동작의 조건으로 동작하는 외부 전자 장치는 공기 청정기로 식별될 수 있고, 공기 청정기가 동작하면 에어컨이 동작할 가능성이 높다는 정보가 추론될 수 있다.As a result of the above calculation, since the air purifier has the highest ratio, the external electronic device operating under the condition of the operation of the air conditioner can be identified as the air purifier, and when the air purifier operates, information that the air conditioner is highly likely to operate can be inferred. can

상기와 다르게, 에어컨의 동작이 어떠한 외부 전자 장치의 동작에 대한 조건이 될 수 있는지가 식별될 수 있다. 에어컨의 동작과 연관되어 동작하는 외부 전자 장치는 에어컨을 제외한 다른 외부 전자 장치들이 동작한 횟수를 기반으로 식별될 수 있다. 다른 외부 전자 장치들이 동작한 횟수는 에어컨이 동작한 시점으로부터 설정된 시간 이후의 시간에 동작한 횟수를 나타낼 수 있다. Unlike the above, it may be identified whether the operation of the air conditioner may be a condition for the operation of any external electronic device. An external electronic device that operates in association with the operation of the air conditioner may be identified based on the number of times that external electronic devices other than the air conditioner have operated. The number of times that the other external electronic devices have been operated may indicate the number of times that the air conditioner has been operated for a time after a set time from the time when the air conditioner is operated.

에어컨이 동작한 다음에 동작한 외부 전자 장치들은 공기 청정기(4회 동작)와 네트워크 오디오(1회 동작)일 수 있다. 이 경우 공기 청정기와 네트워크 오디오의 동작 횟수를 합산한 수는 5가 될 수 있고, 이를 고려하여 각 외부 전자 장치가 동작한 횟수가 차지하는 비율은 다음과 같이 계산될 수 있다.External electronic devices operated after the air conditioner operates may be an air purifier (operation 4 times) and network audio (operation 1 time). In this case, the sum of the number of operations of the air purifier and the network audio may be 5, and in consideration of this, the ratio of the number of operations of each external electronic device may be calculated as follows.

공기 청정기 = 4/5Air purifier = 4/5

네트워크 오디오 = 1/5Network Audio = 1/5

위와 같은 계산 결과, 공기 청정기가 가장 높은 비율을 가지므로 에어컨의 동작은 공기 청정기가 동작하는 조건으로 식별될 수 있고, 에어컨이 동작하면 공기 청정기가 동작할 가능성이 높다는 정보가 추론될 수 있다.As a result of the above calculation, since the air purifier has the highest ratio, the operation of the air conditioner may be identified as a condition in which the air purifier operates, and information indicating that the air purifier is likely to operate may be inferred when the air purifier operates.

상기와 같은 방식으로 추론된 외부 전자 장치들 간 조건/동작 관계는 일 예로 다음 표 8에 나타난 바와 같을 수 있다. As an example, the condition/operation relationship between the external electronic devices deduced in the above manner may be as shown in Table 8 below.

Figure pat00010
Figure pat00010

도 6은 다양한 실시예들에 따른 외부 전자 장치들 간 상관 그래프를 도시한 도면(600)이다.6 is a diagram 600 illustrating a correlation graph between external electronic devices according to various embodiments of the present disclosure.

표 7에 나타난 바와 같은 외부 전자 장치들 간 조건/동작 횟수는 도 6에 도시된 바와 같은 상관 그래프로 표현될 수 있다.As shown in Table 7, the number of conditions/operations between external electronic devices may be expressed as a correlation graph as shown in FIG. 6 .

도 6을 참조하면, 일 실시예에서, 세탁기(602)가 동작한 경우 건조기(604)가 동작한 횟수는 5회일 수 있다. Referring to FIG. 6 , in an embodiment, when the washing machine 602 is operated, the number of times the dryer 604 is operated may be 5 times.

일 실시예에서, 냉장고(606)가 동작한 경우 에어컨(610)이 동작한 횟수는 2회일 수 있고, 냉장고(606)가 동작한 경우 TV(616)가 동작한 횟수는 2회일 수 있다.In an embodiment, when the refrigerator 606 operates, the number of times the air conditioner 610 operates may be two, and when the refrigerator 606 operates, the number of times the TV 616 operates may be two.

일 실시예에서, 에어드레서(608)가 동작한 경우 에어컨(610)이 동작한 횟수는 3회일 수 있다.In an embodiment, when the air dresser 608 operates, the number of times the air conditioner 610 operates may be three times.

일 실시예에서, 에어컨(610)이 동작한 경우 공기 청정기(612)가 동작한 횟수는 4회일 수 있고, 공기 청정기(612)가 동작한 경우 에어컨(610)이 동작한 횟수는 9회일 수 있다. In one embodiment, when the air conditioner 610 operates, the number of times the air purifier 612 operates may be 4 times, and when the air purifier 612 operates, the number of times the air conditioner 610 operates may be 9 times. .

일 실시예에서, 에어컨(610)이 동작한 경우 TV(616)가 동작한 횟수는 4회일 수 있고, TV(616)가 동작한 경우 에어컨(610)이 동작한 횟수는 2회일 수 있다. In an embodiment, when the air conditioner 610 is operated, the number of times the TV 616 is operated may be four times, and when the TV 616 is operated, the number of times the air conditioner 610 has been operated may be two times.

일 실시예에서, 공기 청정기(612)가 동작한 경우 로봇 청소기(614)가 동작한 횟수는 1회일 수 있고, 로봇 청소기(614)가 동작한 경우 공기 청정기(612)가 동작한 횟수는 1회일 수 있다.In one embodiment, when the air purifier 612 operates, the number of times the robot cleaner 614 operates may be one, and when the robot cleaner 614 operates, the number of times the air cleaner 612 operates is one can

일 실시예에서, 공기 청정기(612)가 동작한 경우 TV(616)가 동작한 횟수는 9회일 수 있고, TV(616)가 동작한 경우 공기 청정기(612)가 동작한 횟수는 2회일 수 있다. In one embodiment, when the air purifier 612 is operated, the number of times the TV 616 operates may be 9 times, and when the TV 616 operates, the number of times the air purifier 612 operates may be 2 times. .

일 실시예에서, TV(616)가 동작한 경우 네트워크 오디오(618)가 동작한 횟수는 12회일 수 있고, 네트워크 오디오(618)가 동작한 TV(616)가 동작한 횟수는 12회일 수 있다. In an embodiment, when the TV 616 is operated, the number of times that the network audio 618 is operated may be 12 times, and the number of times that the TV 616 that the network audio 618 is operated is operated may be 12 times.

일 실시예에서, TV(616)가 동작한 경우 쿡탑(620)이 동작한 횟수는 1회일 수 있다.In an embodiment, when the TV 616 is operated, the number of times the cooktop 620 is operated may be one.

일 실시예에서, 쿡탑(620)이 동작한 경우 에어컨(610)이 동작한 횟수는 1회일 수 있다.In an embodiment, when the cooktop 620 is operated, the number of times the air conditioner 610 is operated may be one.

일 실시예에서, 이동 단말이 존재하는 경우(622) 에어컨(610)이 동작한 횟수는 2회일 수 있고, 이동 단말이 존재하는 경우(622) 공기 청정기(612)가 동작한 경우는 4회일 수 있고, 이동 단말이 존재하는 경우(622) TV(616)가 동작한 경우는 2회일 수 있고, 이동 단말이 존재하는 경우(622) 네트워크 오디오(618)가 동작한 경우는 1회일 수 있다. In an embodiment, when the mobile terminal is present (622), the number of times the air conditioner 610 operates may be two times, and when the mobile terminal is present (622), the air purifier 612 operates four times. In addition, when the mobile terminal is present (622), the TV 616 is operated twice, and when the mobile terminal is present (622), the network audio 618 is operated once.

도 6에 도시된 바와 같은 상관 그래프를 이용하면, 연관 관계가 높은 외부 전자 장치들이 좀 더 빠르게 식별될 수 있다. 예를 들어, 세탁기(602)와 건조기(604)는 서로 연관 관계가 있으며, 에어드레서(608)는 에어컨(610)에 대해서만 연관 관계가 있음이 식별될 수 있다. 또한, 다른 외부 전자 장치들과 연관 관계가 가장 많은 외부 전자 장치는 TV(616)이고, 다른 외부 전자 장치들과 연관 관계가 가장 적은 외부 전자 장치는 에어드레서(608)임이 식별될 수 있다. If the correlation graph as shown in FIG. 6 is used, external electronic devices having a high correlation may be identified more quickly. For example, it may be identified that the washing machine 602 and the dryer 604 are related to each other, and the air dresser 608 is related only to the air conditioner 610 . In addition, it may be identified that the external electronic device having the highest correlation with other external electronic devices is the TV 616 , and the external electronic device having the lowest correlation with other external electronic devices is the air dresser 608 .

이하 다양한 실시예들에 따른 제어 정보를 생성하기 위한 방법을 설명하기로 한다. 다양한 실시예들에 따른 도 7 및 도 8에 도시된 동작들은 전자 장치(예: 도 1의 제 1 IoT 서버(110), 보이스 어시스턴트 서버(130), 또는 제 2 IoT 서버(140) 중 하나, 도 2의 전자 장치(201), 도 3의 전자 장치(301), 또는 도 4의 전자 장치(401)), 적어도 하나의 프로세서(예: 도 1의 프로세서(112), 프로세서(132), 또는 프로세서(142) 중 하나, 도 2의 프로세서(220), 또는 도 3의 프로세서(330) 중 적어도 하나), 또는 이들의 조합에 의해 수행될 수 있다. 이하에서는 도 7 및 도 8에 도시된 동작들이 전자 장치에 의해 수행되는 것을 일 예로 설명하기로 한다. Hereinafter, a method for generating control information according to various embodiments will be described. The operations shown in FIGS. 7 and 8 according to various embodiments are performed by an electronic device (eg, one of the first IoT server 110 of FIG. 1 , the voice assistant server 130 , or the second IoT server 140 , The electronic device 201 of FIG. 2 , the electronic device 301 of FIG. 3 , or the electronic device 401 of FIG. 4 ), at least one processor (eg, the processor 112 , the processor 132 of FIG. 1 ), or at least one of the processors 142 , the processor 220 of FIG. 2 , or the processor 330 of FIG. 3 ), or a combination thereof. Hereinafter, an example in which the operations shown in FIGS. 7 and 8 are performed by an electronic device will be described.

도 7은 다양한 실시예들에 따른 제어 정보를 생성하기 위한 방법을 나타낸 흐름도(700)이다. 7 is a flowchart 700 illustrating a method for generating control information according to various embodiments.

다양한 실시예들에 따르면, 도 7에 도시되는 동작들은 도시되는 순서에 국한되지 않고 다양한 순서로 수행될 수 있다. 다양한 실시예들에 따르면 도 7에 도시되는 동작들 보다 더 많은 동작들이 수행되거나, 더 적은 적어도 하나의 동작이 수행될 수도 있다.According to various embodiments, the operations illustrated in FIG. 7 are not limited to the illustrated order and may be performed in various orders. According to various embodiments, more operations than those illustrated in FIG. 7 or at least one fewer operations may be performed.

도 7을 참조하면, 710 동작에서, 전자 장치는 클라우드의 적어도 하나의 장치로부터 다수의 사용자들에 의해 사용 가능한 제 1 제어 정보를 획득할 수 있다. 일 실시예에서, 제 1 제어 정보는 이벤트 정보 및 이벤트 정보와 관련된 제 1 외부 전자 장치의 동작 정보를 포함할 수 있다. Referring to FIG. 7 , in operation 710 , the electronic device may obtain first control information usable by a plurality of users from at least one device in the cloud. In an embodiment, the first control information may include event information and operation information of the first external electronic device related to the event information.

720 동작에서, 전자 장치는 이벤트 정보에 기반한 이벤트가 발생되면, 이벤트가 발생된 시점 이전 또는 이후에 발생된, 이벤트와 연관된 적어도 하나의 이벤트에 대한 정보, 또는 다수의 사용자들 중 이벤트와 연관된 적어도 하나의 사용자에 대한 컨텍스트 정보 중 적어도 하나를 식별할 수 있다. In operation 720, when an event based on the event information is generated, the electronic device generates information on at least one event related to the event, which occurred before or after the time when the event occurred, or at least one event related event among a plurality of users. at least one of context information for a user of .

730 동작에서, 전자 장치는 식별된 정보를 기반으로 이벤트 정보 또는 동작 정보 중 적어도 하나를 업데이트할 수 있다. In operation 730, the electronic device may update at least one of event information and operation information based on the identified information.

740 동작에서, 전자 장치는 업데이트된 이벤트 정보 또는 업데이트된 동작 정보 중 적어도 하나를 포함하도록 제 1 제어 정보를 업데이트하여 제 2 제어 정보를 생성할 수 있다. In operation 740, the electronic device may generate second control information by updating the first control information to include at least one of the updated event information and the updated operation information.

이하 도 8을 참조하여, 다양한 실시예들에 따른 제어 정보 생성 방법을 구체적인 예를 들어 설명하기로 한다. Hereinafter, with reference to FIG. 8 , a method for generating control information according to various embodiments will be described with specific examples.

도 8은 다양한 실시예들에 따른 제어 정보를 생성하여 사용자에게 제공하기 위한 방법을 나타낸 흐름도(800)이다. 8 is a flowchart 800 illustrating a method for generating and providing control information to a user according to various embodiments of the present disclosure.

다양한 실시예들에 따르면, 도 8에 도시되는 동작들은 도시되는 순서에 국한되지 않고 다양한 순서로 수행될 수 있다. 다양한 실시예들에 따르면 도 8에 도시되는 동작들 보다 더 많은 동작들이 수행되거나, 더 적은 적어도 하나의 동작이 수행될 수도 있다.According to various embodiments, the operations illustrated in FIG. 8 are not limited to the illustrated order and may be performed in various orders. According to various embodiments, more operations than those illustrated in FIG. 8 or at least one fewer operations may be performed.

도 8을 참조하면, 802 동작에서, 전자 장치는 클라우드의 적어도 하나의 장치로부터 제어 정보를 수신할 수 있다. 일 실시예에서, 수신된 제어 정보는 클라우드에 저장된 적어도 하나의 외부 전자 장치에 대한 정보를 기반으로 생성된, 적어도 하나의 외부 전자 장치의 동작 정보 및 적어도 하나의 외부 전자 장치의 동작과 관련된 이벤트 정보를 포함하는 클라우드 데이터 기반 제어 정보일 수 있다.Referring to FIG. 8 , in operation 802 , the electronic device may receive control information from at least one device in the cloud. In an embodiment, the received control information includes operation information of at least one external electronic device and event information related to the operation of at least one external electronic device, which is generated based on information on at least one external electronic device stored in the cloud. It may be cloud data-based control information including

804 동작에서, 전자 장치는 클라우드의 적어도 하나의 장치로부터 수신된 제어 정보를 필터링할 수 있다. 일 실시예에서, 필터링된 제어 정보는 전자 장치와 TV가 연결된 경우 다음 표 9에 나타난 바와 같을 수 있다. In operation 804 , the electronic device may filter control information received from at least one device in the cloud. In an embodiment, the filtered control information may be as shown in Table 9 below when the electronic device and the TV are connected.

Figure pat00011
Figure pat00011

표 9를 참조하면, 이벤트 정보는 "TV 스위치 켜짐"을 나타내는 정보로서 "2564883440, tv_switch_on"를 포함할 수 있고, 동작 정보는 "네트워크 오디오 스위치 켜짐"을 나타내는 정보로서 "804745802, networkaudio_switch_on"를 포함할 수 있다. "2564883440"는 TV의 ID 정보일 수 있고, "tv_switch_on"는 TV의 스위치가 켜진 동작을 지시하는 정보일 수 있다. "804745802"는 네트워크 오디오의 ID 정보일 수 있고, "networkaudio_switch_on"는 네트워크 오디오의 스위치가 켜진 동작을 지시하는 정보일 수 있다. 표 9에 나타난 바와 같은 제어 정보를 기반으로 "TV 스위치가 켜지면 네트워크 오디오 스위치가 켜진다"는 정보가 식별될 수 있다. Referring to Table 9, event information may include “2564883440, tv_switch_on” as information indicating “TV switch on”, and operation information may include “804745802, networkaudio_switch_on” as information indicating “network audio switch on”. can “2564883440” may be ID information of the TV, and “tv_switch_on” may be information indicating an operation in which the TV is switched on. “804745802” may be ID information of network audio, and “networkaudio_switch_on” may be information indicating an operation in which network audio is switched on. Based on the control information as shown in Table 9, information that "the network audio switch is turned on when the TV switch is turned on" can be identified.

806 동작에서, 전자 장치는 필터링된 제어 정보를 기반으로 하는 제 1 이벤트가 발생했는지 판단할 수 있다. 일 실시예에서, 전자 장치는 제 1 이벤트로서 "TV 스위치 켜짐"이벤트가 발생한 것을 판단할 수 있다. 전자 장치는, 제 1 이벤트가 발생한 경우에 808 동작을 수행하고, 제 1 이벤트가 발생하지 않은 경우에 806 동작을 반복할 수 있다.In operation 806, the electronic device may determine whether a first event based on the filtered control information has occurred. In an embodiment, the electronic device may determine that a “TV switch on” event has occurred as the first event. The electronic device may perform operation 808 when the first event occurs, and repeat operation 806 when the first event does not occur.

808 동작에서, 전자 장치는 발생된 제 1 이벤트와 연관된 컨텍스트 정보를 식별할 수 있다. 일 실시예에서, 전자 장치는 에지 그래프를 기반으로 발생된 제 1 이벤트와 연관된 컨텍스트 정보로서 "A.M.8:00, LivingRoom, All, 4239056017_present, 21min, Morning, Light_on"를 식별할 수 있다. "A.M.8:00, LivingRoom, All, 4239056017_present, 21min, Morning, Light_on"은 "오전 8시에 거실에 모든 구성원이 존재하며, 4239056017의 ID를 갖는 이동 단말이 존재한지 21분이 경과된 후 아침에 조명이 켜져있다"는 것을 의미할 수 있다. In operation 808, the electronic device may identify context information related to the first event that has occurred. In an embodiment, the electronic device may identify "A.M.8:00, LivingRoom, All, 4239056017_present, 21min, Morning, Light_on" as context information related to the first event generated based on the edge graph. "A.M.8:00, LivingRoom, All, 4239056017_present, 21min, Morning, Light_on" means "All members are present in the living room at 8:00 am, and the mobile terminal with ID 4239056017 is lit in the morning after 21 minutes have elapsed. is turned on".

810 동작에서, 전자 장치는 제 1 이벤트가 발생된 시점 이전 또는 이후에 발생된 적어도 하나의 제 2 이벤트를 식별할 수 있다. 일 실시예에서, 적어도 하나의 제 2 이벤트는 4239056017의 ID를 갖는 이동 단말이 존재함을 나타내는"4239056017_present" 및 926139825의 ID를 갖는 에어컨의 스위치가 주말에 켜졌음을 나타내는"926139825, airconditioner_switch_on, weekday"를 포함할 수 있다. In operation 810, the electronic device may identify at least one second event that is generated before or after the point in time at which the first event occurs. In one embodiment, the at least one second event is "4239056017_present" indicating that the mobile terminal with ID of 4239056017 exists and "926139825, airconditioner_switch_on, weekday" indicating that the switch of the air conditioner with ID of 926139825 is turned on on the weekend. may include.

812 동작에서, 전자 장치는 식별된 컨텍스트 정보, 제1이벤트, 및 적어도 하나의 제2이벤트 간의 연관 관계를 분석할 수 있다. 일 실시예에서, 식별된 컨텍스트 정보, 제1이벤트, 및 적어도 하나의 제2이벤트 간의 연관 관계를 분석한 결과는 다음 표 10에 나타난 바와 같을 수 있다.In operation 812 , the electronic device may analyze a correlation between the identified context information, the first event, and at least one second event. In an embodiment, a result of analyzing the correlation between the identified context information, the first event, and the at least one second event may be as shown in Table 10 below.

Figure pat00012
Figure pat00012

814 동작에서, 전자 장치는 분석된 연관 관계를 기반으로 제어 정보를 업데이트할 수 있다. 일 실시예에서, 전자 장치는 표 10에 나타난 바와 같은 각 연관 관계 별 발생 확률을 계산할 수 있고, 계산된 발생 확률을 기반으로 검출된 연관 관계를 이용하여 제어 정보 업데이트를 수행할 수 있다. In operation 814 , the electronic device may update control information based on the analyzed correlation. In an embodiment, the electronic device may calculate an occurrence probability for each association relationship as shown in Table 10, and may update control information using the association relationship detected based on the calculated occurrence probability.

예를 들어, 전자 장치는 TV 스위치 켜짐과 관련된 연관 관계 중 발생 확률이 가장 높은 연관 관계(('weekend', "'2519291677_present'") ==> ("'2564883440_tv_switch_on'",): 주말에 사용자 2가 존재하는 경우 ==> TV 스위치 켜짐)를 기반으로 표 9에 나타난 바와 같은 제어 정보를 업데이트할 수 있다. 업데이트된 제어 정보는 일 예로 표 11에 나타난 바와 같을 수 있다. For example, the electronic device has the highest probability of occurrence among association relationships related to TV switch on (('weekend', "'2519291677_present'") ==>("'2564883440_tv_switch_on'",): User 2 on the weekend If ==> TV switch on ), the control information as shown in Table 9 may be updated. The updated control information may be as shown in Table 11 as an example.

Figure pat00013
Figure pat00013

동작 816에서 전자 장치는 업데이트된 제어 정보를 사용자에게 추천할 수 있다. 일 실시예에 따라, 전자 장치는 업데이트된 제어 정보를 사용할 것인지를 문의하는 정보를 사용자 단말로 송신할 수 있다. In operation 816, the electronic device may recommend updated control information to the user. According to an embodiment, the electronic device may transmit information inquiring whether to use the updated control information to the user terminal.

동작 818에서 전자 장치는 업데이트된 제어 정보를 사용할 것을 사용자가 수락한 경우, 동작 820에서 업데이트된 제어 정보에 포함된 이벤트 정보 및 동작 정보를 기반으로 적어도 하나의 외부 전자 장치를 제어할 수 있다. When the user accepts to use the updated control information in operation 818, the electronic device may control at least one external electronic device based on event information and operation information included in the updated control information in operation 820.

다양한 실시예들에 따르면, 전자 장치에서 외부 전자 장치에 대한 제어 정보를 생성하는 방법은, 클라우드의 적어도 하나의 장치로부터 다수의 사용자들에 의해 사용 가능한 제 1 제어 정보를 획득하는 동작; 상기 제 1 제어 정보는 이벤트 정보 및 상기 이벤트 정보와 관련된 제 1 외부 전자 장치의 동작 정보를 포함하며, 상기 이벤트 정보에 기반한 이벤트가 발생되면, 상기 이벤트가 발생된 시점 이전 또는 이후에 발생된 상기 이벤트와 연관된 적어도 하나의 이벤트에 대한 정보, 또는 상기 다수의 사용자들 중 상기 이벤트와 연관된 적어도 하나의 사용자에 대한 컨텍스트 정보 중 적어도 하나를 식별하는 동작; 상기 식별된 정보를 기반으로 상기 이벤트 정보 또는 상기 동작 정보 중 적어도 하나를 업데이트하는 동작; 및 업데이트된 이벤트 정보 또는 업데이트된 동작 정보 중 적어도 하나를 포함하도록 상기 제 1 제어 정보를 업데이트하여 제 2 제어 정보를 생성하는 동작을 포함할 수 있다.According to various embodiments, a method of generating control information for an external electronic device in an electronic device includes: acquiring first control information usable by a plurality of users from at least one device in a cloud; The first control information includes event information and operation information of a first external electronic device related to the event information. When an event based on the event information occurs, the event is generated before or after the event occurs identifying at least one of information on at least one event associated with , or context information on at least one user associated with the event among the plurality of users; updating at least one of the event information and the operation information based on the identified information; and updating the first control information to include at least one of updated event information and updated operation information to generate second control information.

다양한 실시예들에 따르면, 상기 컨텍스트 정보는 상기 적어도 하나의 사용자에 대한 정보, 상기 이벤트가 발생된 시점의 상기 제 1 외부 전자 장치의 위치 관련 정보, 상기 이벤트와 연관된 환경 정보, 또는 상기 이벤트와 연관된 적어도 하나의 제 2 외부 전자 장치에 대한 정보 중 적어도 하나를 포함할 수 있다.According to various embodiments, the context information may include information about the at least one user, location-related information of the first external electronic device at a time when the event occurs, environment information related to the event, or information related to the event. It may include at least one of information on at least one second external electronic device.

다양한 실시예들에 따르면, 상기 제 1 외부 전자 장치의 위치 관련 정보는 상기 제 1 외부 전자 장치가 위치한 장소에 포함된 외부 전자 장치들의 수, 상기 장소에 포함된 외부 전자 장치들 각각의 상태 정보, 상기 장소의 온도 정보, 상기 장소의 습도 정보, 상기 장소의 공기 질(air quality) 정보, 상기 장소의 냄새 정보, 또는 상기 장소의 소음 정보 중 적어도 하나를 포함할 수 있다. According to various embodiments, the location-related information of the first external electronic device includes: the number of external electronic devices included in the location where the first external electronic device is located, status information of each of the external electronic devices included in the location; It may include at least one of temperature information of the place, humidity information of the place, air quality information of the place, smell information of the place, and noise information of the place.

다양한 실시예들에 따르면, 상기 적어도 하나의 사용자에 대한 정보는 적어도 하나의 이동 단말을 기반으로 식별되며, 상기 이벤트가 발생한 시점에 상기 적어도 하나의 이동 단말이 존재하는지 여부에 대한 정보, 또는 상기 적어도 하나의 이동 단말이 존재하는 경우 상기 적어도 하나의 이동 단말이 상기 전자 장치로부터 서비스를 제공받기 위해 네트워크에 접속한 시점으로부터 상기 이벤트가 발생한 시점까지의 시간 정보 중 적어도 하나를 포함할 수 있다. According to various embodiments, the information on the at least one user is identified based on at least one mobile terminal, and information on whether the at least one mobile terminal exists at the time when the event occurs, or the at least When there is one mobile terminal, it may include at least one of time information from a point in time when the at least one mobile terminal accesses a network to receive a service from the electronic device to a point in time when the event occurs.

다양한 실시예들에 따르면, 상기 이벤트와 연관된 환경 정보는 상기 이벤트가 발생한 시간 정보, 상기 이벤트가 발생한 위치 내의 사용자 수에 대한 정보, 상기 이벤트가 발생한 위치의 사용 특성 정보, 상기 이벤트가 발생한 시점의 날씨 정보, 또는 상기 이벤트가 발생한 시점의 공기 질(air quality) 정보 중 적어도 하나를 포함할 수 있다. According to various embodiments, the environment information related to the event may include time information at which the event occurred, information on the number of users in the location where the event occurred, information on usage characteristics of the location where the event occurred, and weather at the time the event occurred. It may include at least one of information or air quality information at the time the event occurred.

다양한 실시예들에 따르면, 상기 적어도 하나의 제 2 외부 전자 장치는 상기 전자 장치와 연결된 복수개의 외부 전자 장치들 중 상기 제 1 외부 전자 장치와 상관도가 임계값 이상 높은 적어도 하나의 외부 전자 장치를 나타내며, 상기 복수개의 외부 전자 장치들 중 i번째 외부 전자 장치와 상기 제 1 외부 전자 장치의 상관도는 상기 i번째 외부 전자 장치가 상기 제 1 외부 전자 장치와 동일한 장소에 위치하는지 여부, 설정된 시간 동안 상기 i번째 외부 전자 장치가 상기 제 1 외부 전자 장치와 동시에 실행된 시간의 누적 평균값, 상기 이벤트가 발생한 시점과 상기 i번째 외부 전자 장치와 관련된 이벤트가 발생한 시점 간의 시간 상의 거리 정보, 상기 제 1 외부 전자 장치가 동작하는 경우 상기 복수개의 외부 전자 장치들 각각이 동작한 횟수 대비 상기 i번째 외부 전자 장치가 동작한 횟수의 비율, 또는 상기 i번째 외부 전자 장치가 동작하는 경우 상기 복수개의 외부 전자 장치들 각각이 동작한 총 횟수 대비 상기 제 1 외부 전자 장치가 동작한 횟수의 비율 중 적어도 하나를 기반으로 결정될 수 있다. According to various embodiments, the at least one second external electronic device selects at least one external electronic device having a high correlation with the first external electronic device among a plurality of external electronic devices connected to the electronic device by a threshold value or more. of the plurality of external electronic devices, the correlation between the i-th external electronic device and the first external electronic device is determined by determining whether the i-th external electronic device is located in the same location as the first external electronic device, and for a set time period. The cumulative average value of the time the i-th external electronic device is executed simultaneously with the first external electronic device, information on the distance in time between the time when the event occurs and the time when the event related to the i-th external electronic device occurs, and the first external electronic device When the electronic device operates, a ratio of the number of times the i-th external electronic device operates to the number of times each of the plurality of external electronic devices operates, or when the i-th external electronic device operates, the plurality of external electronic devices It may be determined based on at least one of a ratio of the number of times the first external electronic device has operated to the total number of times each operation is performed.

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.The electronic device according to various embodiments disclosed in this document may have various types of devices. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device. The electronic device according to the embodiment of the present document is not limited to the above-described devices.

본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, but it should be understood to include various modifications, equivalents, or substitutions of the embodiments. In connection with the description of the drawings, like reference numerals may be used for similar or related components. The singular form of the noun corresponding to the item may include one or more of the item, unless the relevant context clearly dictates otherwise. As used herein, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "A , B, or C," each of which may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as "first", "second", or "first" or "second" may simply be used to distinguish an element from other elements in question, and may refer elements to other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is “coupled” or “connected” to another (eg, second) component, with or without the terms “functionally” or “communicatively”. When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.

본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term “module” used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logic block, component, or circuit. can be used as A module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions. For example, according to an embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서,‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of the present document include one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101). may be implemented as software (eg, the program 140) including For example, the processor (eg, the processor 120 ) of the device (eg, the electronic device 101 ) may call at least one of the one or more instructions stored from the storage medium and execute it. This makes it possible for the device to be operated to perform at least one function according to the called at least one command. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term is different from the case where data is semi-permanently stored in the storage medium. It does not distinguish between temporary storage cases.

일 실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in this document may be provided in a computer program product (computer program product). Computer program products may be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg Play Store™) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly, online between smartphones (eg: smartphones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.

다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, a module or a program) of the above-described components may include a singular or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. have. According to various embodiments, one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg, a module or a program) may be integrated into one component. In this case, the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, or omitted. , or one or more other operations may be added.

Claims (20)

전자 장치에 있어서,
메모리;
통신 회로;
상기 메모리 및 상기 통신 회로와 작동적으로 연결된 적어도 하나의 프로세서를 포함하고,
상기 메모리는, 실행 시에, 상기 적어도 하나의 프로세서로 하여금,
상기 통신 회로를 통해, 클라우드의 적어도 하나의 장치로부터 다수의 사용자들에 의해 사용 가능한 제 1 제어 정보를 획득하고, 상기 제 1 제어 정보는 이벤트 정보 및 상기 이벤트 정보와 관련된 제 1 외부 전자 장치의 동작 정보를 포함하며,
상기 이벤트 정보에 기반한 이벤트가 발생되면, 상기 이벤트가 발생된 시점 이전 또는 이후에 발생된 상기 이벤트와 연관된 적어도 하나의 이벤트에 대한 정보, 또는 상기 다수의 사용자들 중 상기 이벤트와 연관된 적어도 하나의 사용자에 대한 컨텍스트 정보 중 적어도 하나를 식별하고,
상기 식별된 정보를 기반으로 상기 이벤트 정보 또는 상기 동작 정보 중 적어도 하나를 업데이트하고,
업데이트된 이벤트 정보 또는 업데이트된 동작 정보 중 적어도 하나를 포함하도록 상기 제 1 제어 정보를 업데이트 하여 제 2 제어 정보를 생성하는 인스트럭션들을 저장하는 전자 장치.
In an electronic device,
Memory;
communication circuit;
at least one processor operatively coupled with the memory and the communication circuitry;
The memory, when executed, causes the at least one processor to:
Acquire first control information usable by a plurality of users from at least one device in the cloud through the communication circuit, wherein the first control information includes event information and an operation of a first external electronic device related to the event information contains information;
When an event based on the event information is generated, information on at least one event related to the event that occurs before or after the time when the event occurs, or at least one user related to the event among the plurality of users Identifies at least one of the context information for
update at least one of the event information or the operation information based on the identified information,
An electronic device for storing instructions for generating second control information by updating the first control information to include at least one of updated event information and updated operation information.
제1항에 있어서,
상기 컨텍스트 정보는 상기 적어도 하나의 사용자에 대한 정보, 상기 이벤트가 발생된 시점의 상기 제 1 외부 전자 장치의 위치 관련 정보, 상기 이벤트와 연관된 환경 정보, 또는 상기 이벤트와 연관된 적어도 하나의 제 2 외부 전자 장치에 대한 정보 중 적어도 하나를 포함하는 전자 장치.
According to claim 1,
The context information may include information about the at least one user, location-related information of the first external electronic device at the time when the event occurs, environment information related to the event, or at least one second external electronic device related to the event. An electronic device including at least one of information about the device.
제2항에 있어서,
상기 제 1 외부 전자 장치의 위치 관련 정보는 상기 제 1 외부 전자 장치가 위치한 장소에 포함된 외부 전자 장치들의 수, 상기 장소에 포함된 외부 전자 장치들 각각의 상태 정보, 상기 장소의 온도 정보, 상기 장소의 습도 정보, 상기 장소의 공기 질(air quality) 정보, 상기 장소의 냄새 정보, 또는 상기 장소의 소음 정보 중 적어도 하나를 포함하는 전자 장치.
3. The method of claim 2,
The location-related information of the first external electronic device includes the number of external electronic devices included in the location where the first external electronic device is located, status information of each of the external electronic devices included in the location, temperature information of the location, and the An electronic device comprising at least one of humidity information of a place, air quality information of the place, smell information of the place, and noise information of the place.
제2항에 있어서,
상기 적어도 하나의 사용자에 대한 정보는 적어도 하나의 이동 단말을 기반으로 식별되며, 상기 이벤트가 발생한 시점에 상기 적어도 하나의 이동 단말이 존재하는지 여부에 대한 정보, 또는 상기 적어도 하나의 이동 단말이 존재하는 경우 상기 적어도 하나의 이동 단말이 상기 전자 장치로부터 서비스를 제공받기 위해 네트워크에 접속한 시점으로부터 상기 이벤트가 발생한 시점까지의 시간 정보 중 적어도 하나를 포함하는 전자 장치.
3. The method of claim 2,
The information on the at least one user is identified based on at least one mobile terminal, and information on whether the at least one mobile terminal exists at the time the event occurs, or information on whether the at least one mobile terminal exists case, the electronic device including at least one of time information from a point in time when the at least one mobile terminal accesses a network to receive a service from the electronic device to a point in time when the event occurs.
제2항에 있어서,
상기 이벤트와 연관된 환경 정보는 상기 이벤트가 발생한 시간 정보, 상기 이벤트가 발생한 위치 내의 사용자 수에 대한 정보, 상기 이벤트가 발생한 위치의 사용 특성 정보, 상기 이벤트가 발생한 시점의 날씨 정보, 또는 상기 이벤트가 발생한 시점의 공기 질(air quality) 정보 중 적어도 하나를 포함하는 전자 장치.
3. The method of claim 2,
The environment information associated with the event may include time information at which the event occurred, information on the number of users in the location where the event occurred, usage characteristic information of the location where the event occurred, weather information at the time the event occurred, or information on the number of users in the location where the event occurred. An electronic device including at least one of air quality information at the time.
제2항에 있어서,
상기 적어도 하나의 제 2 외부 전자 장치는 상기 전자 장치와 연결된 복수개의 외부 전자 장치들 중 상기 제 1 외부 전자 장치와 상관도가 임계값 이상 높은 적어도 하나의 외부 전자 장치를 나타내며,
상기 복수개의 외부 전자 장치들 중 i번째 외부 전자 장치와 상기 제 1 외부 전자 장치의 상관도는 상기 i번째 외부 전자 장치가 상기 제 1 외부 전자 장치와 동일한 장소에 위치하는지 여부, 설정된 시간 동안 상기 i번째 외부 전자 장치가 상기 제 1 외부 전자 장치와 동시에 실행된 시간의 누적 평균값, 상기 이벤트가 발생한 시점과 상기 i번째 외부 전자 장치와 관련된 이벤트가 발생한 시점 간의 시간 상의 거리 정보, 상기 제 1 외부 전자 장치가 동작하는 경우 상기 복수개의 외부 전자 장치들 각각이 동작한 횟수 대비 상기 i번째 외부 전자 장치가 동작한 횟수의 비율, 또는 상기 i번째 외부 전자 장치가 동작하는 경우 상기 복수개의 외부 전자 장치들 각각이 동작한 총 횟수 대비 상기 제 1 외부 전자 장치가 동작한 횟수의 비율 중 적어도 하나를 기반으로 결정되는 전자 장치.
3. The method of claim 2,
the at least one second external electronic device represents at least one external electronic device having a high correlation with the first external electronic device among a plurality of external electronic devices connected to the electronic device by a threshold value or higher;
The correlation between the i-th external electronic device and the first external electronic device among the plurality of external electronic devices is determined by determining whether the i-th external electronic device is located in the same place as the first external electronic device, and the i-th external electronic device for a set time. The cumulative average value of the time that the ith external electronic device is executed simultaneously with the first external electronic device, the distance information between the time when the event occurs and the time when the event related to the i-th external electronic device occurs, and the first external electronic device is a ratio of the number of times the i-th external electronic device operates to the number of times each of the plurality of external electronic devices operates, or when the i-th external electronic device operates, each of the plurality of external electronic devices operates An electronic device determined based on at least one of a ratio of the number of times the first external electronic device has been operated to the total number of operations.
제1항에 있어서,
상기 인스트럭션들은 실행 시, 상기 적어도 하나의 프로세서가,
상기 제 2 제어 정보를 사용할지 여부를 지시하는 메시지를 적어도 하나의 단말로 송신하도록 상기 통신 회로를 제어하고,
상기 통신 회로를 통해, 상기 적어도 하나의 단말로부터 상기 제 2 제어 정보를 사용할 것임을 나타내는 정보가 수신되면, 상기 업데이트된 이벤트 정보 또는 상기 업데이트된 동작 정보 중 적어도 하나에 기반한 동작을 수행하도록 상기 제 1 외부 전자 장치를 제어하도록 구성된 전자 장치.
According to claim 1,
When the instructions are executed, the at least one processor,
controlling the communication circuit to transmit a message indicating whether to use the second control information to at least one terminal;
When information indicating that the second control information is to be used is received from the at least one terminal through the communication circuit, the first external device to perform an operation based on at least one of the updated event information or the updated operation information An electronic device configured to control an electronic device.
전자 장치에서 외부 전자 장치에 대한 제어 정보를 생성하는 방법에 있어서,
클라우드의 적어도 하나의 장치로부터 다수의 사용자들에 의해 사용 가능한 제 1 제어 정보를 획득하는 동작; 상기 제 1 제어 정보는 이벤트 정보 및 상기 이벤트 정보와 관련된 제 1 외부 전자 장치의 동작 정보를 포함하며,
상기 이벤트 정보에 기반한 이벤트가 발생되면, 상기 이벤트가 발생된 시점 이전 또는 이후에 발생된 상기 이벤트와 연관된 적어도 하나의 이벤트에 대한 정보, 또는 상기 다수의 사용자들 중 상기 이벤트와 연관된 적어도 하나의 사용자에 대한 컨텍스트 정보 중 적어도 하나를 식별하는 동작;
상기 식별된 정보를 기반으로 상기 이벤트 정보 또는 상기 동작 정보 중 적어도 하나를 업데이트하는 동작; 및
업데이트된 이벤트 정보 또는 업데이트된 동작 정보 중 적어도 하나를 포함하도록 상기 제 1 제어 정보를 업데이트하여 제 2 제어 정보를 생성하는 동작을 포함하는 방법.
A method of generating control information for an external electronic device in an electronic device, the method comprising:
obtaining first control information usable by a plurality of users from at least one device in the cloud; The first control information includes event information and operation information of a first external electronic device related to the event information,
When an event based on the event information is generated, information on at least one event related to the event that occurs before or after the time when the event occurs, or at least one user related to the event among the plurality of users identifying at least one of context information for
updating at least one of the event information and the operation information based on the identified information; and
and generating second control information by updating the first control information to include at least one of updated event information or updated operation information.
제8항에 있어서,
상기 컨텍스트 정보는 상기 적어도 하나의 사용자에 대한 정보, 상기 이벤트가 발생된 시점의 상기 제 1 외부 전자 장치의 위치 관련 정보, 상기 이벤트와 연관된 환경 정보, 또는 상기 이벤트와 연관된 적어도 하나의 제 2 외부 전자 장치에 대한 정보 중 적어도 하나를 포함하는 방법.
9. The method of claim 8,
The context information may include information about the at least one user, location-related information of the first external electronic device at the time when the event occurs, environment information related to the event, or at least one second external electronic device related to the event. A method comprising at least one of information about the device.
제9항에 있어서,
상기 제 1 외부 전자 장치의 위치 관련 정보는 상기 제 1 외부 전자 장치가 위치한 장소에 포함된 외부 전자 장치들의 수, 상기 장소에 포함된 외부 전자 장치들 각각의 상태 정보, 상기 장소의 온도 정보, 상기 장소의 습도 정보, 상기 장소의 공기 질(air quality) 정보, 상기 장소의 냄새 정보, 또는 상기 장소의 소음 정보 중 적어도 하나를 포함하는 방법.
10. The method of claim 9,
The location-related information of the first external electronic device includes the number of external electronic devices included in the location where the first external electronic device is located, status information of each of the external electronic devices included in the location, temperature information of the location, and the A method comprising at least one of humidity information of a place, air quality information of the place, smell information of the place, and noise information of the place.
제9항에 있어서,
상기 적어도 하나의 사용자에 대한 정보는 적어도 하나의 이동 단말을 기반으로 식별되며, 상기 이벤트가 발생한 시점에 상기 적어도 하나의 이동 단말이 존재하는지 여부에 대한 정보, 또는 상기 적어도 하나의 이동 단말이 존재하는 경우 상기 적어도 하나의 이동 단말이 상기 전자 장치로부터 서비스를 제공받기 위해 네트워크에 접속한 시점으로부터 상기 이벤트가 발생한 시점까지의 시간 정보 중 적어도 하나를 포함하는 방법.
10. The method of claim 9,
The information on the at least one user is identified based on at least one mobile terminal, and information on whether the at least one mobile terminal exists at the time the event occurs, or information on whether the at least one mobile terminal exists case, at least one of time information from a time when the at least one mobile terminal accesses a network to receive a service from the electronic device to a time when the event occurs.
제9항에 있어서,
상기 이벤트와 연관된 환경 정보는 상기 이벤트가 발생한 시간 정보, 상기 이벤트가 발생한 위치 내의 사용자 수에 대한 정보, 상기 이벤트가 발생한 위치의 사용 특성 정보, 상기 이벤트가 발생한 시점의 날씨 정보, 또는 상기 이벤트가 발생한 시점의 공기 질(air quality) 정보 중 적어도 하나를 포함하는 방법.
10. The method of claim 9,
The environment information associated with the event may include time information at which the event occurred, information on the number of users in the location where the event occurred, usage characteristic information of the location where the event occurred, weather information at the time the event occurred, or information on the number of users in the location where the event occurred. A method comprising at least one of air quality information at the time.
제9항에 있어서,
상기 적어도 하나의 제 2 외부 전자 장치는 상기 전자 장치와 연결된 복수개의 외부 전자 장치들 중 상기 제 1 외부 전자 장치와 상관도가 임계값 이상 높은 적어도 하나의 외부 전자 장치를 나타내며,
상기 복수개의 외부 전자 장치들 중 i번째 외부 전자 장치와 상기 제 1 외부 전자 장치의 상관도는 상기 i번째 외부 전자 장치가 상기 제 1 외부 전자 장치와 동일한 장소에 위치하는지 여부, 설정된 시간 동안 상기 i번째 외부 전자 장치가 상기 제 1 외부 전자 장치와 동시에 실행된 시간의 누적 평균값, 상기 이벤트가 발생한 시점과 상기 i번째 외부 전자 장치와 관련된 이벤트가 발생한 시점 간의 시간 상의 거리 정보, 상기 제 1 외부 전자 장치가 동작하는 경우 상기 복수개의 외부 전자 장치들 각각이 동작한 횟수 대비 상기 i번째 외부 전자 장치가 동작한 횟수의 비율, 또는 상기 i번째 외부 전자 장치가 동작하는 경우 상기 복수개의 외부 전자 장치들 각각이 동작한 총 횟수 대비 상기 제 1 외부 전자 장치가 동작한 횟수의 비율 중 적어도 하나를 기반으로 결정되는 방법.
10. The method of claim 9,
the at least one second external electronic device represents at least one external electronic device having a high correlation with the first external electronic device among a plurality of external electronic devices connected to the electronic device by a threshold value or higher;
The correlation between the i-th external electronic device and the first external electronic device among the plurality of external electronic devices is determined by determining whether the i-th external electronic device is located in the same place as the first external electronic device, and the i-th external electronic device for a set time. The cumulative average value of the time that the ith external electronic device is executed simultaneously with the first external electronic device, the distance information between the time when the event occurs and the time when the event related to the i-th external electronic device occurs, and the first external electronic device is a ratio of the number of times the i-th external electronic device operates to the number of times each of the plurality of external electronic devices operates, or when the i-th external electronic device operates, each of the plurality of external electronic devices operates The method is determined based on at least one of a ratio of the number of times the first external electronic device has been operated to the total number of operations.
제8항에 있어서,
상기 제 2 제어 정보를 사용할지 여부를 지시하는 메시지를 적어도 하나의 단말로 송신하는 동작;
상기 적어도 하나의 단말로부터 상기 제 2 제어 정보를 사용할 것임을 나타내는 정보가 수신되면, 상기 업데이트된 이벤트 정보 또는 상기 업데이트된 동작 정보 중 적어도 하나에 기반한 동작을 수행하도록 상기 제 1 외부 전자 장치를 제어하는 동작을 더 포함하는 방법.
9. The method of claim 8,
transmitting a message indicating whether to use the second control information to at least one terminal;
When information indicating that the second control information is to be used is received from the at least one terminal, controlling the first external electronic device to perform an operation based on at least one of the updated event information and the updated operation information How to include more.
명령들을 저장하고 있는 비일시적 저장 매체에 있어서, 상기 명령들은 적어도 하나의 프로세서에 의하여 실행될 때에 상기 적어도 하나의 프로세서로 하여금 적어도 하나의 동작을 수행하도록 설정된 것으로서, 상기 적어도 하나의 동작은,
클라우드의 적어도 하나의 장치로부터 다수의 사용자들에 의해 사용 가능한 제 1 제어 정보를 획득하는 동작; 상기 제 1 제어 정보는 이벤트 정보 및 상기 이벤트 정보와 관련된 제 1 외부 전자 장치의 동작 정보를 포함하며,
상기 이벤트 정보에 기반한 이벤트가 발생되면, 상기 이벤트가 발생된 시점 이전 또는 이후에 발생된 상기 이벤트와 연관된 적어도 하나의 이벤트에 대한 정보, 또는 상기 다수의 사용자들 중 상기 이벤트와 연관된 적어도 하나의 사용자에 대한 컨텍스트 정보 중 적어도 하나를 식별하는 동작;
상기 식별된 정보를 기반으로 상기 이벤트 정보 또는 상기 동작 정보 중 적어도 하나를 업데이트하는 동작; 및
업데이트된 이벤트 정보 또는 업데이트된 동작 정보 중 적어도 하나를 포함하도록 상기 제 1 제어 정보를 업데이트하여 제 2 제어 정보를 생성하는 동작을 포함하는 저장 매체.
A non-transitory storage medium storing instructions, wherein the instructions are configured to cause the at least one processor to perform at least one operation when executed by the at least one processor, the at least one operation comprising:
obtaining first control information usable by a plurality of users from at least one device in the cloud; The first control information includes event information and operation information of a first external electronic device related to the event information,
When an event based on the event information is generated, information on at least one event related to the event that occurs before or after the time when the event occurs, or at least one user related to the event among the plurality of users identifying at least one of context information for
updating at least one of the event information and the operation information based on the identified information; and
and generating second control information by updating the first control information to include at least one of updated event information and updated operation information.
제15항에 있어서,
상기 컨텍스트 정보는 상기 적어도 하나의 사용자에 대한 정보, 상기 이벤트가 발생된 시점의 상기 제 1 외부 전자 장치의 위치 관련 정보, 상기 이벤트와 연관된 환경 정보, 또는 상기 이벤트와 연관된 적어도 하나의 제 2 외부 전자 장치에 대한 정보 중 적어도 하나를 포함하는 저장 매체.
16. The method of claim 15,
The context information may include information about the at least one user, location-related information of the first external electronic device at the time when the event occurs, environment information related to the event, or at least one second external electronic device related to the event. A storage medium comprising at least one of information about a device.
제16항에 있어서,
상기 제 1 외부 전자 장치의 위치 관련 정보는 상기 제 1 외부 전자 장치가 위치한 장소에 포함된 외부 전자 장치들의 수, 상기 장소에 포함된 외부 전자 장치들 각각의 상태 정보, 상기 장소의 온도 정보, 상기 장소의 습도 정보, 상기 장소의 공기 질(air quality) 정보, 상기 장소의 냄새 정보, 또는 상기 장소의 소음 정보 중 적어도 하나를 포함하는 저장 매체.
17. The method of claim 16,
The location-related information of the first external electronic device includes the number of external electronic devices included in the location where the first external electronic device is located, status information of each of the external electronic devices included in the location, temperature information of the location, and the A storage medium comprising at least one of humidity information of a place, air quality information of the place, smell information of the place, and noise information of the place.
제16항에 있어서,
상기 적어도 하나의 사용자에 대한 정보는 적어도 하나의 이동 단말을 기반으로 식별되며, 상기 이벤트가 발생한 시점에 상기 적어도 하나의 이동 단말이 존재하는지 여부에 대한 정보, 또는 상기 적어도 하나의 이동 단말이 존재하는 경우 상기 적어도 하나의 이동 단말이 상기 전자 장치로부터 서비스를 제공받기 위해 네트워크에 접속한 시점으로부터 상기 이벤트가 발생한 시점까지의 시간 정보 중 적어도 하나를 포함하는 저장 매체.
17. The method of claim 16,
The information on the at least one user is identified based on at least one mobile terminal, and information on whether the at least one mobile terminal exists at the time the event occurs, or information on whether the at least one mobile terminal exists case, the storage medium comprising at least one of time information from a time when the at least one mobile terminal accesses a network to receive a service from the electronic device to a time when the event occurs.
제16항에 있어서,
상기 이벤트와 연관된 환경 정보는 상기 이벤트가 발생한 시간 정보, 상기 이벤트가 발생한 위치 내의 사용자 수에 대한 정보, 상기 이벤트가 발생한 위치의 사용 특성 정보, 상기 이벤트가 발생한 시점의 날씨 정보, 또는 상기 이벤트가 발생한 시점의 공기 질(air quality) 정보 중 적어도 하나를 포함하는 저장 매체.
17. The method of claim 16,
The environment information related to the event may include time information at which the event occurred, information on the number of users in the location where the event occurred, usage characteristic information of the location where the event occurred, weather information at the time the event occurred, or the event occurred A storage medium comprising at least one of air quality information at the time.
제16항에 있어서,
상기 적어도 하나의 제 2 외부 전자 장치는 상기 전자 장치와 연결된 복수개의 외부 전자 장치들 중 상기 제 1 외부 전자 장치와 상관도가 임계값 이상 높은 적어도 하나의 외부 전자 장치를 나타내며,
상기 복수개의 외부 전자 장치들 중 i번째 외부 전자 장치와 상기 제 1 외부 전자 장치의 상관도는 상기 i번째 외부 전자 장치가 상기 제 1 외부 전자 장치와 동일한 장소에 위치하는지 여부, 설정된 시간 동안 상기 i번째 외부 전자 장치가 상기 제 1 외부 전자 장치와 동시에 실행된 시간의 누적 평균값, 상기 이벤트가 발생한 시점과 상기 i번째 외부 전자 장치와 관련된 이벤트가 발생한 시점 간의 시간 상의 거리 정보, 상기 제 1 외부 전자 장치가 동작하는 경우 상기 복수개의 외부 전자 장치들 각각이 동작한 횟수 대비 상기 i번째 외부 전자 장치가 동작한 횟수의 비율, 또는 상기 i번째 외부 전자 장치가 동작하는 경우 상기 복수개의 외부 전자 장치들 각각이 동작한 총 횟수 대비 상기 제 1 외부 전자 장치가 동작한 횟수의 비율 중 적어도 하나를 기반으로 결정되는 저장 매체.
17. The method of claim 16,
the at least one second external electronic device represents at least one external electronic device having a high correlation with the first external electronic device among a plurality of external electronic devices connected to the electronic device by a threshold value or higher;
The correlation between the i-th external electronic device and the first external electronic device among the plurality of external electronic devices is determined by determining whether the i-th external electronic device is located in the same place as the first external electronic device, and the i-th external electronic device for a set time. The cumulative average value of the time that the ith external electronic device is executed simultaneously with the first external electronic device, the distance information between the time when the event occurs and the time when the event related to the i-th external electronic device occurs, and the first external electronic device is a ratio of the number of times the i-th external electronic device operates to the number of times each of the plurality of external electronic devices operates, or when the i-th external electronic device operates, each of the plurality of external electronic devices operates A storage medium determined based on at least one of a ratio of the number of times the first external electronic device has been operated to the total number of operations.
KR1020210021807A 2021-02-18 2021-02-18 Method, apparatus and storage medium for generating control information KR20220118097A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020210021807A KR20220118097A (en) 2021-02-18 2021-02-18 Method, apparatus and storage medium for generating control information
PCT/KR2021/019384 WO2022177119A1 (en) 2021-02-18 2021-12-20 Method, device, and storage medium for generating control information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210021807A KR20220118097A (en) 2021-02-18 2021-02-18 Method, apparatus and storage medium for generating control information

Publications (1)

Publication Number Publication Date
KR20220118097A true KR20220118097A (en) 2022-08-25

Family

ID=82931401

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210021807A KR20220118097A (en) 2021-02-18 2021-02-18 Method, apparatus and storage medium for generating control information

Country Status (2)

Country Link
KR (1) KR20220118097A (en)
WO (1) WO2022177119A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8352546B1 (en) * 2011-12-08 2013-01-08 Google Inc. Contextual and location awareness for device interaction
US9413827B2 (en) * 2013-02-25 2016-08-09 Qualcomm Incorporated Context aware actions among heterogeneous internet of things (IOT) devices
US10708147B2 (en) * 2017-03-07 2020-07-07 International Business Machines Corporation Monitoring dynamic quality of service based on changing user context
KR101975681B1 (en) * 2017-12-28 2019-05-07 호남대학교 산학협력단 Environment monitoring system of internet of things in cloud computing environment
KR20200084743A (en) * 2019-01-03 2020-07-13 네이버랩스 주식회사 Three-way communication system comprising end device, edge server controlling end device and cloud server, and operating method of the same

Also Published As

Publication number Publication date
WO2022177119A1 (en) 2022-08-25

Similar Documents

Publication Publication Date Title
US10140100B2 (en) Device common model interface
CN109672720B (en) Electronic device for controlling IoT devices and method of operating the same
US20230141055A1 (en) Edge computing system and method for recommending connection device
CN108063701B (en) Method and device for controlling intelligent equipment
US11651673B2 (en) Electronic device for supporting task management service and operating method thereof
US20230300197A1 (en) Hub device of iot environment, and method for processing event based on local network
Vastardis et al. A user behaviour-driven smart-home gateway for energy management
KR20220118097A (en) Method, apparatus and storage medium for generating control information
KR20220017057A (en) Electronic device for controlling target electronic device in iot environment and method thereof
US20230254178A1 (en) Server for controlling home network based on sleep state and method for operating the same
KR20220136625A (en) Electronic device, and method for performing task with dynamic conditions in electronic device
US20230362259A1 (en) Electronic device for controlling internet of things device and method of operating the same
US20230171124A1 (en) Electronic device and operation method of electronic device controlling external device
KR20230115194A (en) Electronic device for providing internet of things service and operating method thereof
EP4344139A1 (en) Wearable electronic device for controlling plurality of internet-of-things devices, operation method thereof, and storage medium
Huang et al. Distributed energy management system within residential sensor-based heterogeneous network structure
KR20220138744A (en) Elecronic device and method for sharing iot control information thereof
KR20230119566A (en) Server for controlling home network based on sleeping state and method of operating the same
US20230171123A1 (en) Electronic device for controlling external device based on occupant monitoring system, and method thereof
KR20240018290A (en) Method for providing notification and electronic device for supporting the same
KR20240043024A (en) ELECTRONIC DEVICE FOR SHARING EXPERIENCE OF IoT DEVICES
US20230132283A1 (en) Electronic device communicating with external electronic device and method for operating the same
US20230224053A1 (en) Method of determining device location and electronic device performing the method
KR20230078437A (en) Electronic device for controlling external electronic device based on occupant monitoring system and method thereof
KR20220119892A (en) System for providing function information, electronic device, and method for providing function information in electronic device