KR20230115194A - Electronic device for providing internet of things service and operating method thereof - Google Patents

Electronic device for providing internet of things service and operating method thereof Download PDF

Info

Publication number
KR20230115194A
KR20230115194A KR1020220056665A KR20220056665A KR20230115194A KR 20230115194 A KR20230115194 A KR 20230115194A KR 1020220056665 A KR1020220056665 A KR 1020220056665A KR 20220056665 A KR20220056665 A KR 20220056665A KR 20230115194 A KR20230115194 A KR 20230115194A
Authority
KR
South Korea
Prior art keywords
electronic device
external electronic
event
signal
function
Prior art date
Application number
KR1020220056665A
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 PCT/KR2022/021176 priority Critical patent/WO2023146137A1/en
Publication of KR20230115194A publication Critical patent/KR20230115194A/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/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/282Controlling appliance services of a home automation network by calling their functionalities based on user interaction within the home
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/80Homes; Buildings
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/30Control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • 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
    • H04L2012/284Home automation networks characterised by the type of medium used
    • H04L2012/2841Wireless
    • 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
    • H04L2012/2847Home automation networks characterised by the type of home appliance used
    • H04L2012/285Generic home appliances, e.g. refrigerators

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Medical Informatics (AREA)
  • Structural Engineering (AREA)
  • Automation & Control Theory (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Architecture (AREA)
  • Civil Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Telephone Function (AREA)

Abstract

다양한 실시 예에 따르면, 전자 장치가 제공되고, 상기 전자 장치는 통신 회로, 및 상기 통신 회로와 작동적으로 연결되는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 통신 회로를 통해, 제1 외부 전자 장치로부터, 상기 제 1 외부 전자 장치에서 발생한 이벤트와 관련된 정보를 포함하는 제1 신호를 수신하고, 상기 제 1 외부 전자 장치와 관련된 기능을 수행하기 위한 제 1 어플리케이션을 사용하여, 상기 이벤트에 대응되는 적어도 하나의 제 2 외부 전자 장치의 기능을 수행하기 위하여 설정된 조건이 만족되는지 여부를 확인하고, 상기 조건이 만족됨을 확인함에 기반하여, 상기 제 1 어플리케이션을 사용하여, 상기 이벤트에 대응되는 상기 적어도 하나의 제 2 외부 전자 장치의 기능을 확인하고, 상기 적어도 하나의 제 2 외부 전자 장치를 제어하기 위한 제 2 어플리케이션을 사용하여, 상기 적어도 하나의 제 2 외부 전자 장치가 상기 확인된 기능을 수행하도록, 상기 적어도 하나의 제2 외부 전자 장치를 제어하도록 구성될 수 있다.
그 외에도 다양한 실시 예들이 가능할 수 있다.
According to various embodiments, an electronic device is provided, and the electronic device includes a communication circuit and at least one processor operatively connected to the communication circuit, wherein the at least one processor, through the communication circuit, Receiving a first signal including information related to an event occurring in the first external electronic device from a first external electronic device and using a first application for performing a function related to the first external electronic device, Checking whether a condition set to perform a function of at least one second external electronic device corresponding to an event is satisfied, and responding to the event using the first application based on checking that the condition is satisfied Checking the function of the at least one second external electronic device, and using a second application for controlling the at least one second external electronic device, the at least one second external electronic device determines the checked function. It may be configured to control the at least one second external electronic device to perform.
In addition, various embodiments may be possible.

Description

사물 인터넷 서비스를 제공하는 전자 장치 및 그 동작 방법{ELECTRONIC DEVICE FOR PROVIDING INTERNET OF THINGS SERVICE AND OPERATING METHOD THEREOF}Electronic device providing Internet of Things service and its operating method

본 개시의 다양한 실시 예들은 사물 인터넷(internet of things: IoT) 서비스를 제공하는 전자 장치 및 그 동작 방법에 관한 것이다.Various embodiments of the present disclosure relate to an electronic device providing Internet of Things (IoT) services and an operating method thereof.

인터넷은 인간이 정보를 생성하고 소비하는 인간 중심의 연결 네트워크에서, 사물과 같은 분산된 구성 요소들 간에 정보를 교환하여 처리하는 사물 인터넷(internet of things: IoT) 네트워크로 진화하고 있다. IoE(internet of everything) 기술은 클라우드 서버와의 연결을 통한 빅 데이터(big data) 처리 기술이 IoT 기술에 결합된 하나의 예가 될 수 있다.The Internet is evolving from a human-centered connection network in which humans create and consume information to an internet of things (IoT) network in which information is exchanged and processed between distributed components such as things. Internet of everything (IoE) technology can be an example in which big data processing technology through connection with a cloud server is combined with IoT technology.

IoT 기술을 구현하기 위해서, 센싱 기술, 유무선 통신 및 네트워크 인프라, 서비스 인터페이스 기술, 및 보안 기술과 같은 기술 요소들이 요구되어, 최근에는 사물들간의 연결을 위한 센서 네트워크(sensor network), 머신 대 머신 통신(machine to machine: M2M), 머신 타입 통신(machine type communication: MTC)과 같은 다양한 기술들이 연구되고 있다.In order to implement IoT technology, technology elements such as sensing technology, wired/wireless communication and network infrastructure, service interface technology, and security technology are required, and recently, sensor networks for connection between objects, machine-to-machine communication Various technologies such as (machine to machine: M2M) and machine type communication (MTC) are being studied.

IoT 환경에서는 연결된 사물들에서 생성된 데이터를 수집 및 분석하여 인간의 삶에 새로운 가치를 창출하는 지능형 인터넷 기술(internet technology: IT) 서비스가 제공될 수 있다. IoT 기술은 기존의 IT 기술과 다양한 산업들 간의 융합 및 복합을 통하여 스마트 홈 서비스, 스마트 빌딩 서비스, 스마트 시티 서비스, 스마트 카 서비스 혹은 커넥티드 카(connected car) 서비스, 스마트 그리드(smart grid) 서비스, 헬스 케어 서비스, 스마트 가전 서비스, 첨단 의료 서비스와 같은 다양한 서비스들에 응용될 수 있다.In an IoT environment, an intelligent internet technology (IT) service that creates new values in human life by collecting and analyzing data generated from connected objects may be provided. IoT technology is a smart home service, smart building service, smart city service, smart car service or connected car service, smart grid service, It can be applied to various services such as health care service, smart home appliance service, and advanced medical service.

IoT 기술이 응용되는 다양한 서비스들 중에서 스마트 홈 서비스의 경우 다양한 IoT 장치들을 사용하여 IoT 기반의 다양한 서비스들을 제공할 수 있다.Among various services to which IoT technology is applied, in the case of smart home service, various IoT-based services can be provided using various IoT devices.

스마트 홈 서비스에서 제공되는 다양한 서비스들 중 하나인 오토메이션(automation) 서비스에서, 제2 외부 전자 장치(예: 사물 인터넷(internet of things: IoT) 장치)를 설정 조건(예: 특정 시점이나 특정 이벤트(event)가 발생하는 시점)에 기반하여 동작시키기 위해서는, 전자 장치(예: 스마트 폰)의 제2 외부 전자 장치를 제어 및/또는 관리하는 IoT 기반의 어플리케이션(application)(예: 삼성TM 스마트싱스(SmartThings) 어플리케이션)이 해당 기능을 지원해야만 한다. 추가적으로, 해당 기능이 사용되기 위해서는 사용자가 IoT 기반의 어플리케이션 상에서 설정 조건과 설정 조건에 해당하는 제2 외부 전자 장치의 동작을 모두 설정해야만 하는 번거로움이 있다.In the automation service, which is one of the various services provided by the smart home service, a second external electronic device (e.g., internet of things (IoT) device) is set to a setting condition (e.g., a specific point in time or a specific event ( In order to operate based on the time point when an event) occurs, an IoT-based application (eg, Samsung TM SmartThings (eg, Samsung TM SmartThings) SmartThings) application) must support the function. Additionally, in order to use the corresponding function, the user has to set both the setting condition and the operation of the second external electronic device corresponding to the setting condition on the IoT-based application.

사용자는 이러한 오토메이션 서비스를 주로 기상 시점, 및/또는 취침 시점에서 사용하는데, 오토메이션 서비스는 IoT 기반의 어플리케이션을 통해서 설정해야 하고, 기상 및/또는 취침 시간은 전자 장치의 제 1 어플리케이션(예: 시계 어플리케이션)을 통해서 설정해야만 한다. 따라서, 사용자는 오토메이션 서비스를 사용하기 위해서 제 1 어플리케이션 및 IoT 기반의 어플리케이션을 모두 사용해야만 하는 번거로움이 있다. The user mainly uses this automation service at the time of waking up and/or going to bed. The automation service must be set through an IoT-based application, and the waking up and/or going to bed time is determined by the first application of the electronic device (eg, a clock application). ) must be set. Accordingly, the user has the inconvenience of having to use both the first application and the IoT-based application in order to use the automation service.

추가적으로, 취침 시점 및/또는 기상 시점에서 제2 외부 전자 장치를 제어하기를 원하는 사용자가 사용자 상태(예: 취침 상태, 기상 상태, 운동 상태, 코골이 상태, 및/또는 위험 상태)와 관련되는 정보를 획득할 수 있는 제1 외부 전자 장치(예: 웨어러블 전자 장치)를 가지고 있을 경우, 제1 외부 전자 장치에서 획득되는 사용자 상태와 관련되는 정보에 기반하여 제2 외부 전자 장치를 제어하기 위해서는 전자 장치에서와 마찬가지로, 제1 외부 전자 장치를 제어 및/또는 관리할 수 있는 제3 어플리케이션에서 해당 기능을 제공해야만 한다. 또한, 해당 기능이 사용되기 위해서는 사용자는 제3 어플리케이션 상에서도 설정 조건과 설정 조건에 해당하는 제1 외부 전자 장치의 동작을 모두 설정해야만 하는 번거로움이 있다.Additionally, information related to a user state (eg, sleeping state, waking state, exercise state, snoring state, and/or dangerous state) by a user who wants to control the second external electronic device at the time of going to bed and/or waking up. If you have a first external electronic device (eg, a wearable electronic device) capable of obtaining , in order to control the second external electronic device based on information related to the user status obtained from the first external electronic device, the electronic device As in, a corresponding function must be provided in a third application capable of controlling and/or managing the first external electronic device. In addition, in order to use the corresponding function, the user has to set both the setting condition and the operation of the first external electronic device corresponding to the setting condition in the third application, which is inconvenient.

이렇게, 제1 외부 전자 장치에서 획득되는 사용자 상태와 관련되는 정보는 제1 외부 전자 장치를 제어 및/또는 관리할 수 있는 제3 어플리케이션에서 의해서만 제공될 수 있고, 오토메이션 서비스는 제2 외부 전자 장치를 제어 및/또는 관리할 수 있는 IoT 기반의 어플리케이션에 의해서만 제공될 수 있고, 오토메이션 서비스와 관련되는 설정은 IoT 기반의 어플리케이션에 의해서만 수행될 수 있다. 따라서, 오토메이션 서비스를 사용하기 위해서는 별도로 동작되고 있는 다수의 어플리케이션들이 별도로 조작되어야만 하는 번거로움이 있어 사용자의 불편함을 초래할 뿐만 아니라, 다수의 어플리케이션들에 대한 통합 관리 역시 불가능하므로 사용자의 불편함을 초래할 수 있다.In this way, information related to the user status obtained from the first external electronic device may be provided only by a third application capable of controlling and/or managing the first external electronic device, and the automation service may be provided through the second external electronic device. It can be provided only by an IoT-based application capable of controlling and/or managing, and settings related to automation services can be performed only by an IoT-based application. Therefore, in order to use the automation service, it is inconvenient for a number of separately operated applications to be operated separately, causing user inconvenience, and integrated management of multiple applications is also impossible, resulting in user inconvenience. can

본 개시의 다양한 실시 예들은IoT 서비스를 제공하는 전자 장치 및 그 동작 방법을 제공할 수 있다.Various embodiments of the present disclosure may provide an electronic device providing an IoT service and an operating method thereof.

본 개시의 다양한 실시 예들은 제1 외부 장치에서 획득되는 적어도 하나의 제2 외부 전자 장치의 동작을 트리거하기 위한 이벤트에 기반하여 IoT 서비스를 제공하는 전자 장치 및 그 동작 방법을 제공할 수 있다.Various embodiments of the present disclosure may provide an electronic device that provides an IoT service based on an event for triggering an operation of at least one second external electronic device obtained from a first external device and an operating method thereof.

본 개시의 다양한 실시 예들은 제1 외부 장치에서 획득되는 사용자 상태와 관련되는 정보에 기반하여 IoT 서비스를 제공하는 전자 장치 및 그 동작 방법을 제공할 수 있다.Various embodiments of the present disclosure may provide an electronic device that provides an IoT service based on information related to a user state obtained from a first external device and an operating method thereof.

본 개시의 다양한 실시 예에 따르면, 전자 장치가 제공되고, 상기 전자 장치는 통신 회로, 및 상기 통신 회로와 작동적으로 연결되는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 통신 회로를 통해, 제1 외부 전자 장치로부터, 상기 제 1 외부 전자 장치에서 발생한 이벤트와 관련된 정보를 포함하는 제1 신호를 수신하고, 상기 제 1 외부 전자 장치와 관련된 기능을 수행하기 위한 제 1 어플리케이션을 사용하여, 상기 이벤트에 대응되는 적어도 하나의 제 2 외부 전자 장치의 기능을 수행하기 위하여 설정된 조건이 만족되는지 여부를 확인하고, 상기 조건이 만족됨을 확인함에 기반하여, 상기 제 1 어플리케이션을 사용하여, 상기 이벤트에 대응되는 상기 적어도 하나의 제 2 외부 전자 장치의 기능을 확인하고, 및 상기 적어도 하나의 제 2 외부 전자 장치를 제어하기 위한 제 2 어플리케이션을 사용하여, 상기 적어도 하나의 제 2 외부 전자 장치가 상기 확인된 기능을 수행하도록, 상기 적어도 하나의 제2 외부 전자 장치를 제어하도록 구성된다.According to various embodiments of the present disclosure, an electronic device is provided, and the electronic device includes a communication circuit and at least one processor operatively connected to the communication circuit, wherein the at least one processor includes the communication circuit Receiving a first signal including information related to an event occurring in the first external electronic device from a first external electronic device and using a first application for performing a function related to the first external electronic device through to determine whether a condition set to perform the function of at least one second external electronic device corresponding to the event is satisfied, and based on the confirmation that the condition is satisfied, using the first application, The at least one second external electronic device determines the function of the at least one second external electronic device corresponding to the event and uses a second application for controlling the at least one second external electronic device. and to control the at least one second external electronic device to perform the identified function.

본 개시의 다양한 실시 예에 따르면, 전자 장치에서 사물 인터넷 서비스를 제공하는 방법이 제공되고, 상기 전자 장치의 동작 방법은, 제1 외부 전자 장치로부터, 상기 제 1 외부 전자 장치에서 발생한 이벤트와 관련된 정보를 포함하는 제1 신호를 수신하는 동작, 상기 제 1 외부 전자 장치와 관련된 기능을 수행하기 위한 제 1 어플리케이션을 사용하여, 상기 이벤트에 대응되는 적어도 하나의 제 2 외부 전자 장치의 기능을 수행하기 위하여 설정된 조건이 만족되는지 여부를 확인하는 동작, 상기 조건이 만족됨을 확인함에 기반하여, 상기 제 1 어플리케이션을 사용하여, 상기 이벤트에 대응되는 상기 적어도 하나의 제 2 외부 전자 장치의 기능을 확인하는 동작, 및 상기 적어도 하나의 제 2 외부 전자 장치를 제어하기 위한 제 2 어플리케이션을 사용하여, 상기 적어도 하나의 제 2 외부 전자 장치가 상기 확인된 기능을 수행하도록, 상기 적어도 하나의 제2 외부 전자 장치를 제어하는 동작을 포함한다. According to various embodiments of the present disclosure, a method of providing an Internet of Things service in an electronic device is provided, and the method of operating the electronic device includes information related to an event occurring in the first external electronic device, from a first external electronic device. To perform a function of at least one second external electronic device corresponding to the event by using a first application for performing a function related to the first external electronic device. An operation of checking whether a set condition is satisfied, an operation of checking a function of the at least one second external electronic device corresponding to the event, using the first application based on the confirmation that the condition is satisfied; and using a second application for controlling the at least one second external electronic device to control the at least one second external electronic device so that the at least one second external electronic device performs the identified function. includes the action of

본 개시의 다양한 실시 예들에 따르면, 전자 장치는 제1 외부 장치에서 획득되는 적어도 하나의 제2 외부 전자 장치의 동작을 트리거하기 위한 이벤트에 기반하여 사물 인터넷(internet of things: IoT) 서비스를 제공할 수 있다. According to various embodiments of the present disclosure, an electronic device may provide an internet of things (IoT) service based on an event for triggering an operation of at least one second external electronic device obtained from a first external device. can

본 개시의 다양한 실시 예들에 따르면, 전자 장치는 제1 외부 장치에서 획득되는 사용자 상태와 관련되는 정보에 기반하여 IoT 서비스를 제공할 수 있다. According to various embodiments of the present disclosure, an electronic device may provide an IoT service based on information related to a user state obtained from a first external device.

본 개시의 다양한 실시 예들에 따르면, 전자 장치는 제1 외부 장치에서 획득되는 적어도 하나의 제2 외부 전자 장치의 동작을 트리거하기 위한 이벤트에 기반하여 IoT 서비스를 제공함으로써 전자 장치 및 제1 외부 전자 장치에서 적어도 하나의 제2 외부 전자 장치에 대한 IoT 서비스를 제공하기 위해 사용되는 다수의 어플리케이션들을 통합 관리할 수 있고, 따라서 사용자의 편의성을 향상시킬 수 있다. According to various embodiments of the present disclosure, an electronic device provides an IoT service based on an event for triggering an operation of at least one second external electronic device obtained from a first external device, thereby providing the electronic device and the first external electronic device. A plurality of applications used to provide an IoT service for at least one second external electronic device may be integrated and managed, and thus user convenience may be improved.

본 개시에서 얻을 수 있는 효과는 이상에서 언급한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.Effects obtainable in the present disclosure are not limited to the effects mentioned above, and other effects not mentioned may be clearly understood by those skilled in the art from the description below. will be.

도 1은 다양한 실시 예들에 따른 네트워크 환경 내의 전자 장치의 블럭도이다.
도 2는 다양한 실시 예들에 따른 무선 통신 네트워크에서 사물 인터넷(internet of things: IoT) 서비스를 제공하는 프로세스를 도시한 도면이다.
도 3은 다양한 실시 예들에 따른 전자 장치의 내부 구성을 도시한 블록도이다.
도 4는 다양한 실시 예들에 따른 제1 외부 전자 장치의 내부 구성을 도시한 블록도이다.
도 5는 다양한 실시 예들에 따른 제3 외부 전자 장치의 내부 구성을 도시한 블록도이다.
도 6은 다양한 실시 예들에 따른 무선 통신 네트워크에서 전자 장치의 동작 과정을 도시한 흐름도이다.
도 7은 다양한 실시 예들에 따른 무선 통신 네트워크에서 IoT 서비스를 제공하기 위한 전자 장치, 제1 외부 전자 장치, 제2 외부 전자 장치들, 및 제3 외부 전자 장치의 동작 과정을 도시한 신호 흐름도이다.
도 8은 다양한 실시 예들에 따른 무선 통신 네트워크에서 취침 상태 이벤트에 기반하는 IoT 서비스가 제공될 경우 전자 장치에서 표시되는 화면 및 제2 외부 전자 장치들에서 수행되는 기능을 설명하기 위한 예시 도면이다.
도 9는 다양한 실시 예들에 따른 무선 통신 네트워크에서 취침 상태 이벤트에 기반하는 IoT 서비스가 제공될 경우 전자 장치에서 표시되는 화면을 설명하기 위한 예시 도면이다.
도 10은 다양한 실시 예들에 따른 무선 통신 네트워크에서 운동 상태 이벤트에 기반하는 IoT 서비스가 제공될 경우 전자 장치에서 표시되는 화면 및 제2 외부 전자 장치들에서 수행되는 기능을 설명하기 위한 예시 도면이다.
도 11은 다양한 실시 예들에 따른 무선 통신 네트워크에서 코골이 상태 이벤트에 기반하는 IoT 서비스가 제공될 경우 제2 외부 전자 장치들에서 수행되는 기능을 설명하기 위한 예시 도면이다.
1 is a block diagram of an electronic device in a network environment according to various embodiments.
2 is a diagram illustrating a process of providing an internet of things (IoT) service in a wireless communication network according to various embodiments.
3 is a block diagram illustrating an internal configuration of an electronic device according to various embodiments.
4 is a block diagram illustrating an internal configuration of a first external electronic device according to various embodiments.
5 is a block diagram illustrating an internal configuration of a third external electronic device according to various embodiments.
6 is a flowchart illustrating an operation process of an electronic device in a wireless communication network according to various embodiments.
7 is a signal flow diagram illustrating operation processes of an electronic device, a first external electronic device, a second external electronic device, and a third external electronic device for providing an IoT service in a wireless communication network according to various embodiments of the present disclosure.
8 is an exemplary diagram for explaining a screen displayed on an electronic device and functions performed by second external electronic devices when an IoT service based on a sleeping state event is provided in a wireless communication network according to various embodiments.
9 is an exemplary diagram for explaining a screen displayed on an electronic device when an IoT service based on a sleeping state event is provided in a wireless communication network according to various embodiments.
10 is an exemplary diagram for explaining a screen displayed on an electronic device and functions performed by second external electronic devices when an IoT service based on an exercise state event is provided in a wireless communication network according to various embodiments.
11 is an exemplary diagram for explaining functions performed by second external electronic devices when an IoT service based on a snoring state event is provided in a wireless communication network according to various embodiments.

도 1은 다양한 실시 예들에 따른 네트워크 환경(100) 내의 전자 장치(101)를 개략적으로 도시한 블록도이다. 1 is a block diagram schematically illustrating an electronic device 101 within a network environment 100 according to various embodiments.

도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시 예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시 예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.Referring to FIG. 1 , in a network environment 100, an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or through a second network 199. It is possible to communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120, a memory 130, an input module 150, an audio output module 155, a display module 160, an audio module 170, a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or the antenna module 197 may be included. In some embodiments, in the electronic device 101, at least one of these components (eg, the connection terminal 178) may be omitted or one or more other components may be added. In some embodiments, some of these components (eg, sensor module 176, camera module 180, or antenna module 197) are integrated into one component (eg, display module 160). It can be.

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

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일 실시 예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(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 secondary processor 123 may, for example, take the place of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, running an application). ) state, together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to one embodiment, the auxiliary processor 123 (eg, an image signal processor or a communication processor) may be implemented as part of other functionally related components (eg, the camera module 180 or the communication module 190). there is. According to an embodiment, the auxiliary processor 123 (eg, a neural network processing device) may include a hardware structure specialized for processing an artificial intelligence model. AI models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself where artificial intelligence is performed, or may be performed through a separate server (eg, the server 108). 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 foregoing, but is not limited to the foregoing examples. The artificial intelligence model may include, in addition or alternatively, software structures in addition to hardware structures.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시 예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. 다양한 실시 예들에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일 실시 예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.The antenna module 197 may transmit or receive signals or power to the outside (eg, an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (eg, PCB). According to one embodiment, the antenna module 197 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 198 or the second network 199 is selected from the plurality of antennas by the communication module 190, for example. can be chosen A signal or power may be transmitted or received between the communication module 190 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)) may be additionally formed as a part of the antenna module 197 in addition to the radiator. According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, the mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first surface (eg, a lower surface) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, array antennas) disposed on or adjacent to a second surface (eg, a top surface or a side surface) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, 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 signal ( e.g. commands or data) can be exchanged with each other.

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

본 문서에 개시된 다양한 실시 예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시 예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be devices of various types. 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. An electronic device according to an embodiment of this document is not limited to the aforementioned devices.

본 문서의 다양한 실시 예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시 예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.Various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, like reference numbers may be used for like or related elements. The singular form of a noun corresponding to an item may include one item or a plurality of items, unless the relevant context clearly dictates otherwise. In this document, "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 Each of the phrases such as "at least one of , B, or C" may include any one of the items listed together in that phrase, or all possible combinations thereof. Terms such as "first", "second", or "first" or "secondary" may simply be used to distinguish a given component from other corresponding components, and may be used to refer to a given component in another aspect (eg, importance or order) is not limited. A (e.g., first) component is said to be "coupled" or "connected" to another (e.g., second) component, with or without the terms "functionally" or "communicatively." When mentioned, it means that the certain component may 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 interchangeably interchangeable with terms such as, for example, logic, logic blocks, components, or circuits. can be used A module may be an integrally constituted part or a minimum unit or part of the above parts that performs one or two or more functions. For example, according to one 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 this document describe 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). It may be implemented as software (eg, the program 140) including them. For example, a processor (eg, the processor 120 ) of a device (eg, the electronic device 101 ) may call at least one command among one or more instructions stored from a storage medium and execute it. This enables the device to be operated to perform at least one function according to the at least one command invoked. 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-temporary' only means that the storage medium is a tangible device and does not contain a signal (e.g. electromagnetic wave), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.

일 실시 예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(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 included and provided in a computer program product. Computer program products may be traded between sellers and buyers as commodities. A computer program product is distributed in the form of a device-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg Play Store TM ) or on two user devices ( It can be distributed (eg downloaded or uploaded) online, directly between smart phones. In the case of online distribution, at least part of the computer program product may be temporarily stored or temporarily created in a device-readable storage medium such as a manufacturer's server, an application store server, or a relay server's memory.

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

도 2는 다양한 실시 예들에 따른 무선 통신 네트워크(200)에서 IoT 서비스를 제공하는 프로세스를 도시한 도면이다. 2 is a diagram illustrating a process of providing an IoT service in a wireless communication network 200 according to various embodiments.

도 2를 참조하면, 무선 통신 네트워크(200)는 IoT 네트워크(예: 스마트 홈(smart home) 네트워크)일 수 있다. 일 실시 예에 따르면, 전자 장치(101)(예: 도 1의 전자 장치(101))는 스마트 폰일 수 있다. 일 실시 예에 따르면, 제1 외부 전자 장치(210)(예: 도 1의 전자 장치(102))는 전자 장치(101)와 연동하여 IoT 서비스(예: 오토메이션(automation) 서비스)를 제공할 수 있는 전자 장치일 수 있다. 제 1 외부 전자 장치(210)는, 사용자(예: 사용자의 신체)에 착용 가능한 전자 장치 또는 사용자에 착용 가능하지 않은 전자 장치일 수 있다. 예를 들어, 제1 외부 전자 장치(210)는 사용자에 착용 가능한 웨어러블 전자 장치(예: 스마트 와치, 스마트 안경, 및/또는 이어 버즈(ear buds)), 스마트 베게, 수면 측정 메트리스, 및/또는 링을 포함할 수 있다. 다른 예를 들어, 제1 외부 전자 장치(210)는 사용자에 의해 착용 가능하지 않은 영유아용 관찰 모니터, 및/또는 비접촉식 수면 모니터를 포함할 수 있다. 일 실시 예에 따르면, 제3 외부 전자 장치(230)(예 도 1의 서버(108))는 서버(예: IoT 서비스 서버) 또는 허브(hub)일 수 있다. 일 실시 예에서, 허브는 홈 공간에 위치할 수 있다. 일 실시 예에 따르면, 제2 외부 전자 장치들(220) 각각은 전자 장치(101), 제1 외부 전자 장치(210), 및/또는 제3 외부 전자 장치(230)와 연동하여 IoT 서비스를 제공하는 장치일 수 있다. 일 실시 예에 따르면, 제2 외부 전자 장치들(200) 각각은 IoT 장치(예: TV, 라이트, 에어 컨디셔너, 블라인드, 공기 청정기, 카메라, 오븐, 및/또는 스피커와 같은 가전 제품)일 수 있다. 일 실시 예에 따르면, 제2 외부 전자 장치들(200) 각각은 홈(home) 공간에 위치할 수 있다. 일 실시 예에서, 무선 통신 네트워크(200)에는 다른 외부 전자 장치들(예: 클라우드 서버, 및/또는 어플리케이션 마켓 서버)이 더 존재할 수 있다.Referring to FIG. 2 , the wireless communication network 200 may be an IoT network (eg, a smart home network). According to an embodiment, the electronic device 101 (eg, the electronic device 101 of FIG. 1) may be a smart phone. According to an embodiment, the first external electronic device 210 (eg, the electronic device 102 of FIG. 1 ) may interwork with the electronic device 101 to provide an IoT service (eg, an automation service). It may be an electronic device. The first external electronic device 210 may be an electronic device wearable on the user (eg, the user's body) or an electronic device not wearable on the user. For example, the first external electronic device 210 may be a wearable electronic device wearable by a user (eg, a smart watch, smart glasses, and/or ear buds), a smart pillow, a sleep measurement mattress, and/or may contain rings. For another example, the first external electronic device 210 may include an observation monitor for infants and young children not wearable by a user, and/or a non-contact type sleep monitor. According to an embodiment, the third external electronic device 230 (eg, server 108 of FIG. 1 ) may be a server (eg, IoT service server) or a hub. In one embodiment, the hub may be located in the home space. According to an embodiment, each of the second external electronic devices 220 interworks with the electronic device 101, the first external electronic device 210, and/or the third external electronic device 230 to provide an IoT service. It may be a device that According to an embodiment, each of the second external electronic devices 200 may be an IoT device (eg, a TV, a light, an air conditioner, a blind, an air purifier, a camera, an oven, and/or home appliances such as a speaker). . According to an embodiment, each of the second external electronic devices 200 may be located in a home space. In one embodiment, other external electronic devices (eg, a cloud server and/or an application market server) may further exist in the wireless communication network 200 .

일 실시 예에서, 전자 장치(101)는 저전력 블루투스(Bluetooth low energy: BLE) 방식, 초광대역(ultra wide band: UWB) 방식, 또는 전세계 측위 시스템(global positioning system: GPS) 방식 중 적어도 하나에 기반하여 제1 외부 전자 장치(210)의 위치 및 제1 외부 전자 장치(210)가 지향하는 방향을 획득할 수 있다. 일 실시 예에서, 전자 장치(101)는 UWB 방식에 기반하여 제1 외부 전자 장치(210)가 지향하는 방향을 획득할 수 있다. 일 실시 예에서, 전자 장치(101)는 BLE 방식, 또는 UWB 방식 중 적어도 하나에 기반하여 전자 장치(101)와 제1 외부 전자 장치(210)간의 거리를 획득할 (또는 측정할) 수 있다. 일 실시 예에서, 무선 통신 네트워크(200)에는 적어도 하나의 제4 외부 전자 장치(예: 앵커(anchor))가 더 존재할 수 있으며, 전자 장치(101)는 적어도 하나의 제4 외부 전자 장치로부터 수신되는, 적어도 하나의 제4 외부 전자 장치와 제1 외부 전자 장치(210)간의 거리 및 제1 외부 전자 장치(210)가 지향하는 방향에 대한 정보에 기반하여 제1 외부 전자 장치(210)의 위치 및 제1 외부 전자 장치(210)가 지향하는 방향을 획득할 수 있다. 제1 외부 전자 장치(210)의 위치, 제1 외부 전자 장치(210)가 지향하는 방향, 또는 전자 장치(101)와 제1 외부 전자 장치(210) 간의 거리를 획득하는데 사용되는 방식은 BLE 방식, UWB 방식, 또는 GPS 방식으로 한정되는 것은 아니다.In one embodiment, the electronic device 101 is based on at least one of a Bluetooth low energy (BLE) method, an ultra wide band (UWB) method, or a global positioning system (GPS) method. Thus, the location of the first external electronic device 210 and the direction the first external electronic device 210 is facing may be acquired. In an embodiment, the electronic device 101 may obtain the direction the first external electronic device 210 is pointing based on the UWB scheme. In an embodiment, the electronic device 101 may obtain (or measure) a distance between the electronic device 101 and the first external electronic device 210 based on at least one of a BLE method and a UWB method. In an embodiment, at least one fourth external electronic device (eg, an anchor) may further exist in the wireless communication network 200, and the electronic device 101 receives information from the at least one fourth external electronic device. The location of the first external electronic device 210 based on information about the distance between at least one fourth external electronic device and the first external electronic device 210 and the direction in which the first external electronic device 210 is directed. and a direction in which the first external electronic device 210 is directed. The method used to obtain the location of the first external electronic device 210, the direction the first external electronic device 210 is facing, or the distance between the electronic device 101 and the first external electronic device 210 is a BLE method. , UWB method, or GPS method is not limited.

다양한 실시 예들에 따르면, 제3 외부 전자 장치(230)는 제2 외부 전자 장치들(220) 각각으로부터 데이터를 수신할 수 있다. 일 실시 예에 따르면, 제3 외부 전자 장치(230)는 제1 통신 방식 및/또는 제2 통신 방식에 기반하여 제2 외부 전자 장치들(220) 및 전자 장치(101)와 통신할 수 있다. 다른 실시 예에 따르면, 제3 외부 전자 장치(230)는 제1 통신 방식에 기반하여 제2 외부 전자 장치들(220)과 통신하고, 제2 통신 방식에 기반하여 전자 장치(101)와 통신할 수 있다. 일 실시 예에서, 제1 통신 방식은 제2 통신 방식과 다를 수도 있고, 또는 동일할 수도 있다. 제1 통신 방식이 제2 통신 방식과 다를 경우, 제1 통신 방식은 제2 통신 방식에 비해 상대적으로 전력 소모가 작은 통신 방식일 수 있다. 예를 들면, 제2 외부 전자 장치들(220)과 제3 외부 전자 장치(230) 간의 통신에는 지그비(Zigbee) 방식이 사용될 수 있고, 전자 장치(101)와 제3 외부 전자 장치(230) 간의 통신에는 와이파이(Wi-Fi) 방식이 사용될 수 있다. 일 실시 예에 따르면, 제3 외부 전자 장치(230)는 제2 외부 전자 장치들(220) 중 적어도 일부와는 제1 통신 방식이 아닌 제3 통신 방식에 기반하여 통신할 수도 있다. 예를 들면, 제2 외부 전자 장치들(220) 중 적어도 일부와 제3 외부 전자 장치(230) 간의 통신에는 지그비 방식이 사용되고, 제2 외부 전자 장치들(220) 중 다른 일부와 제3 외부 전자 장치(230) 간의 통신에는 지-웨이브(Z-Wave) 방식이 사용될 수도 있다. 예를 들어, 지그비 방식에 기반하여 통신하는 제2 외부 전자 장치들(220)은 비교적 저전력으로 제3 외부 전자 장치(230)와 통신할 수 있는데, 지-웨이브 방식에 기반하여 통신하는 제2 외부 전자 장치들(220)은 지그비 방식에 기반하여 통신하는 제2 외부 전자 장치들(220)에 비해 더 높은 전력 효율을 획득할 수 있다. According to various embodiments, the third external electronic device 230 may receive data from each of the second external electronic devices 220 . According to an embodiment, the third external electronic device 230 may communicate with the second external electronic devices 220 and the electronic device 101 based on the first communication method and/or the second communication method. According to another embodiment, the third external electronic device 230 communicates with the second external electronic devices 220 based on the first communication method and communicates with the electronic device 101 based on the second communication method. can In one embodiment, the first communication method may be different from or identical to the second communication method. When the first communication method is different from the second communication method, the first communication method may be a communication method that consumes less power than the second communication method. For example, a Zigbee method may be used for communication between the second external electronic devices 220 and the third external electronic device 230, and communication between the electronic device 101 and the third external electronic device 230 may be performed. A Wi-Fi method may be used for communication. According to an embodiment, the third external electronic device 230 may communicate with at least some of the second external electronic devices 220 based on a third communication method other than the first communication method. For example, a ZigBee method is used for communication between at least some of the second external electronic devices 220 and the third external electronic device 230, and another part of the second external electronic devices 220 and the third external electronic device 230 are used. A Z-Wave method may be used for communication between devices 230 . For example, the second external electronic devices 220 communicating based on the ZigBee method can communicate with the third external electronic device 230 with relatively low power, and the second external electronic device communicating based on the Z-Wave method. The electronic devices 220 may obtain higher power efficiency than the second external electronic devices 220 that communicate based on the ZigBee method.

예를 들어, 제3 외부 전자 장치(230)는 지그비 통신 또는 지-웨이브 통신에 기반하여 무선 통신 네트워크(200)에 존재하는 제2 외부 전자 장치들(220) 각각으로부터 수신되는 데이터를 수집할 수 있으며, 수집된 데이터를 전자 장치(101) 또는 다른 외부 전자 장치(예: 허브)로 송신할 수 있다. For example, the third external electronic device 230 may collect data received from each of the second external electronic devices 220 existing in the wireless communication network 200 based on ZigBee communication or G-Wave communication. and may transmit the collected data to the electronic device 101 or another external electronic device (eg, a hub).

다양한 실시 예들에 따르면, 제2 외부 전자 장치들(220)은 무선 통신 네트워크(200) 내의 다양한 공간들(예: 홈 공간의 리빙 룸(living room), 패밀리 룸(family room), 키친(kitchen), 현관(entrance), 세탁실(laundry storage), 및 오피스(office) 공간의 제1 오피스 내지 제N 오피스, 키친, 및 현관))에 위치되어 있을 수 있으며, 제3 외부 전자 장치(230)를 통해 전자 장치(101)와 통신할 수 있다. According to various embodiments, the second external electronic devices 220 may be used in various spaces within the wireless communication network 200 (eg, a living room in a home space, a family room, and a kitchen). , an entrance, a laundry room, and a first to Nth office of an office space, a kitchen, and a porch)), through a third external electronic device 230. It can communicate with the electronic device 101 .

일 실시 예에 따르면, 제2 외부 전자 장치들(220)은 IoT 서비스를 기반으로 동작하는 다양한 타입들의 전자 장치들을 포함할 수 있다. 일 실시 예에서, 제2 외부 전자 장치들(220) 각각은 주변 환경을 감지하기 위한 센서나 스위치를 포함할 수 있다. 제2 외부 전자 장치들(220)이 직접 통신을 수행할 수 없을 경우, 제2 외부 전자 장치들(220)은 전자 장치(101)에 연결된 다른 외부 전자 장치를 통해 전자 장치(101)와 통신할 수 있다. 다양한 실시 예들에 따른 제2 외부 전자 장치들(220)은 전자 장치(101)와 통신할 수 있는 모든 전자 장치들을 포함할 수 있다. 전자 장치(101)는 제2 외부 전자 장치들(220)과 1:N 통신을 수행할 수 있다.According to an embodiment, the second external electronic devices 220 may include various types of electronic devices that operate based on the IoT service. In one embodiment, each of the second external electronic devices 220 may include a sensor or switch for sensing the surrounding environment. When the second external electronic devices 220 cannot perform direct communication, the second external electronic devices 220 can communicate with the electronic device 101 through other external electronic devices connected to the electronic device 101. can The second external electronic devices 220 according to various embodiments may include all electronic devices capable of communicating with the electronic device 101 . The electronic device 101 may perform 1:N communication with the second external electronic devices 220 .

일 실시 예에 따르면, 제2 외부 전자 장치들(220)은 사용자 입력에 기반하여 동작하거나 또는 설정된 조건이 만족되는 경우 자동으로 동작할 수 있다. 예를 들어, 설정된 조건이 만족되는 경우, 제2 외부 전자 장치들(220)은 설정된 조건이 만족되는 것에 응답하여 데이터(또는 신호)를 제3 외부 전자 장치(230)로 송신할 수 있다. 예를 들어, 설정된 조건이 만족되는 것에 응답하는 데이터는 해당 제2 외부 전자 장치의 장치 식별자(identifier: ID)를 포함할 수 있으며, 장치 ID는 해당 제2 외부 전자 장치를 제조하는 시점에서 설정될 수 있다. According to an embodiment, the second external electronic devices 220 may operate based on a user input or may automatically operate when set conditions are satisfied. For example, when a set condition is satisfied, the second external electronic devices 220 may transmit data (or a signal) to the third external electronic device 230 in response to the set condition being satisfied. For example, data responding to satisfaction of a set condition may include a device identifier (ID) of the corresponding second external electronic device, and the device ID may be set at the time of manufacturing the corresponding second external electronic device. can

다양한 실시 예들에 따르면, 전자 장치(101)는 제2 외부 전자 장치들(220)로부터 데이터를 수신하고, 수신한 데이터에 상응하는 화면을 표시할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 무선 통신 네트워크(200) 내의 다양한 공간들에 배치되어 있는 제2 외부 전자 장치들(220)을 제어하기 위한 IoT 기반의 어플리케이션(예: 삼성 스마트싱스(SmartThings) 어플리케이션)이 실행되면, 실행되는 IoT 기반의 어플리케이션과 관련되는 사용자 인터페이스(user interface: UI)를 표시할 수 있다.According to various embodiments, the electronic device 101 may receive data from the second external electronic devices 220 and display a screen corresponding to the received data. According to an embodiment, the electronic device 101 is an IoT-based application (eg, Samsung SmartThings (eg, Samsung SmartThings) for controlling the second external electronic devices 220 disposed in various spaces within the wireless communication network 200. When the SmartThings application) is executed, a user interface (UI) related to the IoT-based application being executed may be displayed.

일 실시 예에서, 전자 장치(101)의 프로세서(예: 도 1의 프로세서(120))는 통신 회로를 통해 제3 외부 전자 장치(230)로부터 제 2 외부 전자 장치들(210) 각각에 대한 정보를 포함하는 신호를 수신할 수 있다. 전자 장치(101)의 프로세서는 제2 어플리케이션을 사용하여 제3 외부 전자 장치(230)로부터 수신된 신호로부터 제 2 외부 전자 장치들(210) 각각에 대한 정보를 획득할 수 있다. 일 실시 예에서, 제 2 외부 전자 장치들(210) 각각은 제1 외부 전자 장치(210) 및 전자 장치(101)와 동일한 계정(예: 동일한 사용자 계정)을 사용하여 제 3 외부 전자 장치(230)에 등록되어 있을 수 있다. 일 실시 예에서, 제 2 외부 전자 장치들(210) 각각에 대한 정보는 제 2 외부 전자 장치들(210) 각각의 장치 식별자(identifier: ID) 및/또는 제 2 외부 전자 장치들(210) 각각에서 지원되는 기능(capability)에 관련된 정보를 포함할 수 있다. In one embodiment, the processor of the electronic device 101 (eg, the processor 120 of FIG. 1 ) information on each of the second external electronic devices 210 from the third external electronic device 230 through a communication circuit. It is possible to receive a signal including. The processor of the electronic device 101 may obtain information about each of the second external electronic devices 210 from a signal received from the third external electronic device 230 using the second application. In an embodiment, each of the second external electronic devices 210 uses the same account (eg, the same user account) as the first external electronic device 210 and the electronic device 101, and the third external electronic device 230 ) may be registered. In one embodiment, the information on each of the second external electronic devices 210 includes a device identifier (ID) of each of the second external electronic devices 210 and/or each of the second external electronic devices 210. It may include information related to capabilities supported by .

일 실시 예에서, 전자 장치(101)에서 실행 가능한 제1 어플리케이션(이하, "제1 어플리케이션"으로 지칭함)은, 전자 장치(101)가 제1 외부 전자 장치(210)와 연동하여 기능을 실행하도록 하는, 어플리케이션(예: 알람 어플리케이션, 헬스(health) 어플리케이션, 및/또는 SOS 어플리케이션)일 수 있다. In one embodiment, a first application executable on the electronic device 101 (hereinafter referred to as “first application”) causes the electronic device 101 to interwork with the first external electronic device 210 to execute a function. It may be an application (eg, an alarm application, a health application, and/or an SOS application).

일 실시 예에서, 전자 장치(101)에서 실행 가능한 제2 어플리케이션(이하, "제2 어플리케이션"으로 지칭함)은, 제2 외부 전자 장치들(220)을 제어 및/또는 관리하기 위한 어플리케이션일 수 있다. In one embodiment, the second application (hereinafter referred to as “second application”) executable in the electronic device 101 may be an application for controlling and/or managing the second external electronic devices 220. .

일 실시 예에서, 제2 어플리케이션은 제1 어플리케이션과 연동하여 제2 외부 전자 장치들(220) 각각의 기능을 제어하기 위해 사용될 수 있다. 일 실시 예에서, 제2 어플리케이션은 프레임워크 계층(framework layer)에 포함되는 시스템 어플리케이션일 수 있다. 일 실시 예에서, 제2 어플리케이션은 히든 어플리케이션(hidden application)일 수 있다. 제2 어플리케이션은 히든 어플리케이션이므로 사용자의 아이콘 입력을 통해 실행되거나, 사용자에 의해 임의로 설치되거나, 또는 사용자에 의해 임의로 삭제되는 것은 불가능할 수 있다. 일 실시 예에서, 제2 어플리케이션은 필요에 따라 업데이트될 수 있다. 전자 장치(101)의 프로세서는 제2 어플리케이션을 사용하여 획득한 제 2 외부 전자 장치들(210) 각각에 대한 정보를 메모리(예: 도 1의 메모리(130))의 데이터베이스에 저장하여 관리할 수 있다.In one embodiment, the second application may be used to control each function of the second external electronic devices 220 in association with the first application. In one embodiment, the second application may be a system application included in a framework layer. In one embodiment, the second application may be a hidden application. Since the second application is a hidden application, it may be impossible to be executed through a user's icon input, arbitrarily installed by the user, or arbitrarily deleted by the user. In one embodiment, the second application may be updated as needed. The processor of the electronic device 101 may store and manage information about each of the second external electronic devices 210 acquired using the second application in a database of a memory (eg, the memory 130 of FIG. 1 ). there is.

일 실시 예에서, 제 2 외부 전자 장치들(220) 각각에 대한 정보가 저장되어 있는 상태에서, 전자 장치(101)의 프로세서는 제1 어플리케이션을 사용하여 이벤트(event)에 기반하는 IoT 서비스를 설정할 수 있다. 이하, 이벤트에 기반하는 IoT 서비스를 "이벤트 기반 IoT 서비스"라 칭하기로 한다. 일 실시 예에서, 이벤트 기반 IoT 서비스는 이벤트가 발생할 경우, 제 2 외부 전자 장치들(220) 중 발생된 이벤트와 관련되는 적어도 하나의 제2 외부 전자 장치의 기능을 제공할 수 있다. 전자 장치(101)의 프로세서는 제1 어플리케이션을 사용하여 제 2 외부 전자 장치들(220) 중 제1 어플리케이션에 대응되는 이벤트와 관련되는 적어도 하나의 제2 외부 전자 장치의 기능을 설정할 수 있다. In an embodiment, in a state in which information on each of the second external electronic devices 220 is stored, the processor of the electronic device 101 sets an IoT service based on an event using the first application. can Hereinafter, an IoT service based on an event will be referred to as an “event-based IoT service”. In an embodiment, when an event occurs, the event-based IoT service may provide a function of at least one second external electronic device related to the generated event among the second external electronic devices 220 . The processor of the electronic device 101 may use the first application to set a function of at least one second external electronic device related to an event corresponding to the first application among the second external electronic devices 220 .

일 실시 예에서, 제1 외부 전자 장치(210)에서 발생하는 이벤트(이하, "이벤트"로 지칭함)는 제1 외부 전자 장치(210)에 의해 획득된(예: 검출된) 사용자의 상태를 나타낼 수 있다. 예를 들어, 이벤트는 취침 상태, 기상 상태, 운동 상태, 코골이 상태, 및/또는 위험 상태와 같이, 제1 외부 전자 장치(210)에 의해 획득되는 사용자의 상태를 나타낼 수 있다. In an embodiment, an event (hereinafter, referred to as an "event") occurring in the first external electronic device 210 represents a user state obtained (eg, detected) by the first external electronic device 210. can For example, the event may represent a state of the user acquired by the first external electronic device 210, such as a sleeping state, a wake-up state, an exercise state, a snoring state, and/or a dangerous state.

일 실시 예에서, 제1 외부 전자 장치(210)는 사용자 상태에 관련된 정보를 획득할 수 있는 적어도 하나의 센서, 카메라, 및/또는 마이크를 포함할 수 있다. 일 실시 예에서, 적어도 하나의 센서는 자이로 센서, 가속도 센서, 심박수 모니터링(heart rate monitoring: HRM) 센서, 제스처 센서, 기압 센서, 마그네틱 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 및/또는 습도 센서를 포함할 수 있다. 일 실시 예에서, HRM 센서는 심전도(electrocardiography: ECG) 센서, 광용적맥파(photoplethysmogram: PPG) 센서, 및/또는 심박수 측정 센서를 포함할 수 있다. In one embodiment, the first external electronic device 210 may include at least one sensor, a camera, and/or a microphone capable of obtaining information related to a user state. In one embodiment, the at least one sensor may include a gyro sensor, an acceleration sensor, a heart rate monitoring (HRM) sensor, a gesture sensor, a barometric pressure sensor, a magnetic sensor, a grip sensor, a proximity sensor, a color sensor, and an infrared (IR) sensor. , a biometric sensor, a temperature sensor, and/or a humidity sensor. In one embodiment, the HRM sensor may include an electrocardiography (ECG) sensor, a photoplethysmogram (PPG) sensor, and/or a heart rate measurement sensor.

일 실시 예에서, 취침 상태(예: 사용자가 수면 중에 있는 상태)는 자이로 센서, 가속도 센서, 및/또는 지자기 센서를 통해 획득되는 센싱 값들에 기반하여 확인될 수 있다. 예를 들어, 제1 외부 전자 장치(210)의 프로세서는 설정 주기(예: 20분)로 자이로 센서, 가속도 센서, 및/또는 지자기 센서를 통해 센싱 값들을 획득하고, 자이로 센서, 가속도 센서, 및/또는 지자기 센서를 통해 획득된 센싱 값들 각각이 설정된 임계 값 미만일 경우, 사용자 상태를 취침 상태로 확인할 수 있다. 일 실시 예에서, 취침 상태를 나타내는 이벤트를 "취침 상태 이벤트"라 칭하기로 한다.In an embodiment, a sleeping state (eg, a state in which the user is sleeping) may be determined based on sensing values obtained through a gyro sensor, an acceleration sensor, and/or a geomagnetic sensor. For example, the processor of the first external electronic device 210 obtains sensing values through a gyro sensor, an acceleration sensor, and/or a geomagnetic sensor at a set period (eg, 20 minutes), and uses the gyro sensor, the acceleration sensor, and the /or When each of the sensing values obtained through the geomagnetic sensor is less than a set threshold value, the user state may be determined as a sleeping state. In one embodiment, an event indicating a sleeping state will be referred to as a “sleeping state event”.

일 실시 예에서, 기상 상태(예: 수면 상태로부터 전환된 비수면 상태)는 자이로 센서, 가속도 센서, 및/또는 지자기 센서를 통해 획득되는 센싱 값들에 기반하여 확인될 수 있다. 예를 들어, 제1 외부 전자 장치(210)의 프로세서는 사용자 상태가 취침 상태인 동안(예: 취침 상태 이벤트가 발생된 후), 설정 주기(예: 20분)로 자이로 센서, 가속도 센서, 및/또는 지자기 센서를 통해 센싱 값들을 획득하고, 자이로 센서, 가속도 센서, 및/또는 지자기 센서를 통해 획득된 센싱 값들 각각이 설정된 임계 값 이상일 경우, 사용자 상태를 기상 상태로 확인할 수 있다. 일 실시 예에서, 기상 상태를 나타내는 이벤트를 "기상 상태 이벤트"라 칭하기로 한다.In an embodiment, a wake-up state (eg, a non-sleep state converted from a sleep state) may be identified based on sensing values obtained through a gyro sensor, an acceleration sensor, and/or a geomagnetic sensor. For example, while the user is in a sleeping state (eg, after a sleeping state event occurs), the processor of the first external electronic device 210 operates a gyro sensor, an acceleration sensor, and a gyro sensor at a set period (eg, 20 minutes). When sensing values are obtained through the geomagnetic sensor and each of the sensing values obtained through the gyro sensor, the acceleration sensor, and/or the geomagnetic sensor is equal to or greater than a set threshold value, the user state may be identified as a wake-up state. In one embodiment, an event indicating a weather condition is referred to as a “weather condition event”.

일 실시 예에서, 코골이 상태(예: 수면 무호흡 상태)는 자이로 센서, 가속도 센서, 및/또는 지자기 센서를 통해 획득되는 센싱 값들, 및/또는 마이크를 통해 획득되는 소리 값에 기반하여 확인될 수 있다. 예를 들어, 제1 외부 전자 장치(210)의 프로세서는 사용자 상태가 취침 상태인 동안(예: 취침 상태 이벤트가 발생된 후), 설정 주기(예: 20분)로 마이크를 통해 획득되는 소리 값이 임계 값 이상일 경우, 사용자 상태를 코골이 상태로 확인할 수 있다. 일 실시 예에서, 코골이 상태를 나타내는 이벤트를 "코골이 상태 이벤트"라 칭하기로 한다.In one embodiment, the snoring state (eg, sleep apnea state) may be identified based on sensing values obtained through a gyro sensor, an acceleration sensor, and/or a geomagnetic sensor, and/or a sound value obtained through a microphone. there is. For example, the processor of the first external electronic device 210 acquires a sound value through a microphone at a set period (eg, 20 minutes) while the user is in a sleeping state (eg, after a sleeping state event occurs). If it is greater than or equal to this threshold value, the user state may be confirmed as a snoring state. In one embodiment, an event indicating a snoring condition is referred to as a “snoring condition event”.

일 실시 예에서, 운동 상태는 자이로 센서, 가속도 센서, 및/또는 심박수 측정 센서를 통해 획득되는 센싱 값들에 기반하여 확인될 수 있다. 예를 들어, 제1 외부 전자 장치(210)의 프로세서는 설정 주기(예: 1분)로 자이로 센서, 가속도 센서, 및/또는 심박수 측정 센서를 통해 센싱 값들을 획득하고, 자이로센서, 가속도센서, 및/또는 심박수 측정 센서를 통해 획득된 센싱 값들 각각이 설정된 임계 값 이상일 경우, 사용자 상태를 운동 상태로 확인할 수 있다. 일 실시 예에서, 운동 상태를 나타내는 이벤트를 "운동 상태 이벤트"라 칭하기로 한다.In an embodiment, the exercise state may be identified based on sensing values obtained through a gyro sensor, an acceleration sensor, and/or a heart rate sensor. For example, the processor of the first external electronic device 210 acquires sensing values through a gyro sensor, an acceleration sensor, and/or a heart rate sensor at a set period (eg, 1 minute), and/or when each of the sensing values acquired through the heart rate sensor is equal to or greater than a set threshold value, the user state may be identified as an exercise state. In one embodiment, an event representing an exercise state is referred to as an “exercise state event”.

일 실시 예에서, 위험 상태는 가속도센서, 및/또는 심박수 측정 센서를 통해 획득되는 센싱 값들에 기반하여 확인될 수 있다. 예를 들어, 제1 외부 전자 장치(210)는 설정 주기(예: 1분)로 자이로 센서 및/또는 가속도 센서를 통해 센싱 값들을 획득하고, 자이로 센서, 및/또는 가속도 센서를 통해 획득된 센싱 값들 각각이 설정된 임계값을 초과함을 확인할 수 있다. 이렇게 자이로 센서, 및/또는 가속도 센서를 통해 획득된 센싱 값들 각각이 설정된 임계값을 초과하는 상태에서, 설정 주기(예: 1분)로 심박수 측정 센서를 통해 센싱 값을 획득하고, 심박수 측정 센서를 통해 획득된 센싱 값이 임계 값 미만일 경우, 사용자 상태를 위험 상태로 확인할 수 있다. 일 실시 예에서, 위험 상태를 나타내는 이벤트를 "위험 상태 이벤트"라 칭하기로 한다.In an embodiment, the dangerous state may be identified based on sensing values obtained through an acceleration sensor and/or a heart rate sensor. For example, the first external electronic device 210 obtains sensing values through the gyro sensor and/or acceleration sensor at a set period (eg, 1 minute), and obtains sensing values through the gyro sensor and/or acceleration sensor. It can be confirmed that each of the values exceeds the set threshold. In this way, in a state where each of the sensing values obtained through the gyro sensor and/or the acceleration sensor exceeds a set threshold, a sensing value is obtained through the heart rate measurement sensor at a set period (eg, 1 minute), and the heart rate measurement sensor When the sensing value obtained through the above is less than the threshold value, the user state may be identified as a dangerous state. In one embodiment, an event indicating a dangerous state will be referred to as a “dangerous state event”.

전자 장치(101)의 프로세서는 제 2 외부 전자 장치들(220) 중 제1 어플리케이션에 대응되는 이벤트와 관련되는 적어도 하나의 제2 외부 전자 장치의 기능을 설정하기 위해, 제2 어플리케이션을 사용하여 제1 어플리케이션 상에서 설정 메뉴를 제공할 수 있다. 전자 장치(101)의 프로세서는 제1 어플리케이션 상의 설정 메뉴 상에서 입력되는 설정에 기반하여 제 2 외부 전자 장치들(220) 중 제1 어플리케이션에 대응되는 이벤트와 관련되는 적어도 하나의 제2 외부 전자 장치의 기능을 설정할 수 있다. 일 실시 예에 따르면, 전자 장치(101)의 프로세서는 다수의 이벤트들에 대응되는 제1 어플리케이션들을 사용하여 다수의 이벤트들 각각과 관련되는 적어도 하나의 제2 외부 전자 장치의 기능을 설정할 수 있다. 예를 들어, 전자 장치(101)의 프로세서는 다수의 이벤트들에 대응되는 제1 어플리케이션들을 사용하여 다수의 이벤트들 각각과 관련되는 이벤트 기반 IoT 서비스를 설정할 수 있다. 전자 장치(101)의 프로세서는 다수의 제1 어플리케이션들을 사용하여 설정된 이벤트 기반 IoT 서비스들 각각에 대한 정보를 메모리에 저장할 수 있다. The processor of the electronic device 101 uses the second application to set the function of at least one second external electronic device related to an event corresponding to the first application among the second external electronic devices 220 . 1 A setting menu can be provided on the application. The processor of the electronic device 101 configures at least one second external electronic device related to an event corresponding to the first application among the second external electronic devices 220 based on the setting input on the setting menu of the first application. function can be set. According to an embodiment, the processor of the electronic device 101 may set a function of at least one second external electronic device related to each of the multiple events by using first applications corresponding to the multiple events. For example, the processor of the electronic device 101 may set an event-based IoT service related to each of a plurality of events by using first applications corresponding to the plurality of events. The processor of the electronic device 101 may store information on each event-based IoT service set using a plurality of first applications in a memory.

일 실시 예에서, 이벤트 기반 IoT 서비스에 대한 정보는 해당 이벤트 기반 IoT 서비스에 대응되는 이벤트의 타입, 해당 이벤트 기반 IoT 서비스와 관련되는 적어도 하나의 제2 외부 전자 장치의 기능에 대한 정보를 포함할 수 있다. 일 실시 예에서, 이벤트의 타입은 취침 상태 이벤트, 기상 상태 이벤트, 운동 상태 이벤트, 코골이 상태 이벤트, 또는 위험 상태 이벤트 중 하나를 나타낼 수 있다. 예를 들어, 제1 외부 전자 장치(210)에서 총 5개의 타입들의 이벤트들이 발생할 수 있을 경우, 총 5개의 타입들의 이벤트들은 취침 상태 이벤트, 기상 상태 이벤트, 운동 상태 이벤트, 코골이 상태 이벤트, 및 위험 상태 이벤트를 포함할 수 있다. In one embodiment, the information on the event-based IoT service may include information about the type of event corresponding to the corresponding event-based IoT service and the function of at least one second external electronic device related to the corresponding event-based IoT service. there is. In one embodiment, the type of event may indicate one of a sleeping state event, a wake-up state event, an exercise state event, a snoring state event, or a dangerous state event. For example, when a total of 5 types of events can occur in the first external electronic device 210, the 5 types of events include a sleeping state event, a wake-up state event, an exercise state event, a snoring state event, and Critical status events can be included.

이렇게, 제1 외부 전자 장치(210)에서 발생될 수 있는 이벤트들 각각에 대한 이벤트 기반 IoT 서비스가 설정되어 있는 상태에서, 전자 장치(101)의 프로세서는 통신 회로를 통해 제1 외부 전자 장치(210)로부터 제1 외부 전자 장치(210)에서 발생한 이벤트에 관련된 정보를 포함하는 제1 신호를 수신할 수 있다. 일 실시 예에서, 제1 외부 전자 장치(210)는 자이로센서, 가속도센서, 및/또는 지자기 센서를 통해 획득되는 센싱 값들에 기반하여 취침 상태 이벤트가 발생하는지 여부를 확인할 수 있거나, 자이로센서, 가속도센서, 및/또는 지자기 센서를 통해 획득되는 센싱 값들에 기반하여 기상 상태 이벤트가 발생하는지 여부를 확인할 수 있거나, 자이로센서, 가속도센서, 및/또는 지자기 센서를 통해 획득되는 센싱 값들, 및/또는 마이크를 통해 획득되는 소리 값에 기반하여 코골이 상태 이벤트가 발생하는지 여부를 확인할 수 있거나, 자이로센서, 가속도센서, 및/또는 심박수 측정 센서를 통해 획득되는 센싱 값들에 기반하여 운동 상태 이벤트가 발생하는지 여부를 확인할 수 있거나, 또는 가속도센서, 및/또는 심박수 측정 센서를 통해 획득되는 센싱 값들에 기반하여 위험 상태 이벤트가 발생하는지 여부를 확인할 수 있다. In this way, in a state where the event-based IoT service for each of the events that may occur in the first external electronic device 210 is set, the processor of the electronic device 101 transmits the first external electronic device 210 through a communication circuit. A first signal including information related to an event occurring in the first external electronic device 210 may be received from ). In an embodiment, the first external electronic device 210 may determine whether a sleeping state event occurs based on sensing values obtained through a gyro sensor, an acceleration sensor, and/or a geomagnetic sensor, or may determine whether a gyro sensor or acceleration sensor occurs. Based on the sensing values obtained through the sensor and/or the geomagnetic sensor, whether or not a meteorological condition event occurs may be determined, or the sensing values obtained through the gyro sensor, the acceleration sensor, and/or the geomagnetic sensor, and/or the microphone It is possible to determine whether a snoring state event occurs based on the sound value obtained through the gyro sensor, an acceleration sensor, and/or whether an exercise state event occurs based on sensing values obtained through a heart rate sensor. , or whether a dangerous state event occurs based on sensing values obtained through an acceleration sensor and/or a heart rate sensor.

제1 외부 전자 장치(210)의 프로세서는 취침 상태 이벤트, 기상 상태 이벤트, 운동 상태 이벤트, 코골이 상태 이벤트, 또는 위험 상태 이벤트 중 적어도 하나가 발생함을 확인할 경우, 다수의 제3 어플리케이션들(예: 알람 어플리케이션, 헬스(health) 어플리케이션, 및/또는 SOS 어플리케이션) 중 발생된 적어도 하나의 이벤트에 대응되는 제3 어플리케이션을 사용하여, 통신 회로를 통해 발생된 적어도 하나의 이벤트에 관련된 정보를 포함하는 제1 신호를 전자 장치(101)로 송신할 수 있다. 일 실시 예에 따르면, 제1 어플리케이션과 제3 어플리케이션은 전자 장치(101)의 OS와 제1 외부 전자 장치(210)의 OS간의 companion 컨셉(concept)에 기반하여 동작할 수 있다. 제1 외부 전자 장치(210)에서 전자 장치(101)로 송신되는 제1 외부 전자 장치(210)에서 발생된 이벤트에 관련된 정보는 제1 외부 전자 장치(210)에서 발생된 이벤트의 타입을 포함할 수 있다.When it is determined that at least one of a sleeping state event, a wake-up state event, an exercise state event, a snoring state event, or a dangerous state event occurs, the processor of the first external electronic device 210 executes a plurality of third applications (eg : A third application including information related to at least one event generated through a communication circuit by using a third application corresponding to at least one event generated among an alarm application, a health application, and/or an SOS application) 1 signal can be transmitted to the electronic device 101 . According to an embodiment, the first application and the third application may operate based on a companion concept between the OS of the electronic device 101 and the OS of the first external electronic device 210 . The information related to the event generated in the first external electronic device 210 transmitted from the first external electronic device 210 to the electronic device 101 may include the type of event generated in the first external electronic device 210. can

제1 외부 전자 장치(210)로부터 제1 외부 전자 장치(210)에서 발생된 이벤트에 관련된 정보를 수신한 전자 장치(101)의 프로세서는 제1 어플리케이션을 사용하여 제1 외부 전자 장치(210)에서 이벤트가 발생하였음을 확인할 수 있다. 제1 외부 전자 장치(210)에서 이벤트가 발생하였음을 확인한 전자 장치(101)의 프로세서는 발생된 이벤트에 대응되는 제1 어플리케이션을 사용하여 발생된 이벤트에 대응되는 이벤트 기반 IoT 서비스를 수행하기 위해 설정된 조건이 만족되는지 여부를 확인할 수 있다. The processor of the electronic device 101 that has received the information related to the event generated in the first external electronic device 210 from the first external electronic device 210 uses the first application in the first external electronic device 210. You can confirm that an event has occurred. After confirming that an event has occurred in the first external electronic device 210, the processor of the electronic device 101 is set to perform an event-based IoT service corresponding to the event using the first application corresponding to the event. You can check whether the condition is satisfied.

일 실시 예에서, 제1 외부 전자 장치(210)에서 발생된 이벤트에 대응되는 이벤트 기반 IoT 서비스를 수행하기 위해 설정된 조건은 다음과 같은 조건들을 포함할 수 있다.In one embodiment, conditions set to perform an event-based IoT service corresponding to an event generated by the first external electronic device 210 may include the following conditions.

(1) 조건 1(1) condition 1

제1 외부 전자 장치(210)에서 발생된 이벤트에 관련된 정보를 수신하는 조건Conditions for receiving information related to an event generated in the first external electronic device 210

예를 들어, 제1 외부 전자 장치(210)에서 발생된 이벤트가 위험 상태 이벤트일 경우 전자 장치(101)는 조건 1이 만족될 경우 위험 상태 이벤트 기반 IoT 서비스를 수행하기 위해 설정된 조건이 만족된다고 확인할 수 있다.For example, when the event generated by the first external electronic device 210 is a dangerous state event, the electronic device 101 determines that the condition set to perform the dangerous state event-based IoT service is satisfied when condition 1 is satisfied. can

(2) 조건 2(2) condition 2

제1 외부 전자 장치(210)에서 발생된 이벤트에 관련된 정보를 수신하고, 제1 외부 전자 장치(210)에서 발생된 이벤트에 관련된 정보를 수신한 시점이 설정 시간 대에 포함되는 조건A condition in which information related to an event generated in the first external electronic device 210 is received and a time point at which information related to an event generated in the first external electronic device 210 is received is included in the set time zone

예를 들어, 제1 외부 전자 장치(210)에서 발생된 이벤트가 취침 상태 이벤트 또는 기상 상태 이벤트일 경우 전자 장치(101)는 취침 상태 이벤트 또는 기상 상태 이벤트에 관련된 정보를 수신한 시점이 설정 시간 대(예: 오후 9시에서 오전 6시까지의 시간 대)에 포함될 경우 취침 상태 이벤트 기반 IoT 서비스 또는 기상 상태 이벤트 기반 IoT 서비스를 수행하기 위해 설정된 조건이 만족된다고 확인할 수 있다. For example, when the event generated by the first external electronic device 210 is a sleeping event or a wake-up event, the electronic device 101 receives information related to the sleeping event or wake-up event within a set time range. (eg, from 9:00 PM to 6:00 AM), it can be confirmed that the condition set to perform the sleeping state event-based IoT service or wake-up event-based IoT service is satisfied.

(3) 조건 3 (3) condition 3

제1 외부 전자 장치(210)에서 발생된 이벤트에 관련된 정보를 수신하고, 제1 외부 전자 장치(210)에서 이벤트가 발생된 지역이 설정 지역에 포함되는 조건A condition in which information related to an event generated in the first external electronic device 210 is received and an area in which an event occurs in the first external electronic device 210 is included in the set area

예를 들어, 제1 외부 전자 장치(210)에서 발생된 이벤트가 취침 상태 이벤트 또는 기상 상태 이벤트일 경우 전자 장치(101)는 취침 상태 이벤트 또는 기상 상태 이벤트가 발생된 지역이 설정 지역(예: 홈(home))에 포함될 경우 취침 상태 이벤트 기반 IoT 서비스 또는 기상 상태 이벤트 기반 IoT 서비스를 수행하기 위해 설정된 조건이 만족된다고 확인할 수 있다. For example, when an event generated by the first external electronic device 210 is a sleeping state event or a wake-up event, the electronic device 101 determines that the area where the sleeping state event or wake-up event occurs is a set region (eg, home). (home)), it can be confirmed that the condition set to perform the sleeping state event-based IoT service or wake-up event-based IoT service is satisfied.

(4) 조건 4 (4) condition 4

제1 외부 전자 장치(210)에서 발생된 이벤트에 관련된 정보를 수신하고, 제2 외부 전자 장치들(220) 중 발생된 이벤트와 관련되는 적어도 하나의 제2 외부 전자 장치의 상태가 설정된 상태인 조건A condition in which information related to an event generated in the first external electronic device 210 is received and the state of at least one second external electronic device related to the event generated among the second external electronic devices 220 is set.

예를 들어, 제1 외부 전자 장치(210)에서 발생된 이벤트가 운동 상태 이벤트일 경우 전자 장치(101)는 운동 상태 이베트와 관련되는 적어도 하나의 제2 외부 전자 장치(예: 에어 컨디셔너)의 상태가 설정된 상태(예: 오프(off) 상태)일 경우 운동 상태 이벤트 기반 IoT 서비스를 수행하기 위해 설정된 조건이 만족된다고 확인할 수 있다. For example, when the event generated in the first external electronic device 210 is an exercise state event, the electronic device 101 determines the state of at least one second external electronic device (eg, air conditioner) related to the exercise state event. When is in a set state (eg, off state), it can be confirmed that the set condition for performing the exercise state event-based IoT service is satisfied.

일 실시 예에서, 발생된 이벤트에 대응되는 이벤트 기반 IoT 서비스를 수행하기 위해 설정된 조건이 만족될 경우, 전자 장치(101)의 프로세서는 제1 어플리케이션을 사용하여 발생된 이벤트에 대응되는 이벤트 기반 IoT 서비스와 관련되는 적어도 하나의 제2 외부 전자 장치의 기능을 확인할 수 있다. 전자 장치(101)의 프로세서는 제2 어플리케이션을 사용하여 이벤트 기반 IoT 서비스와 관련되는 적어도 하나의 제2 외부 전자 장치의 기능을 수행하도록 요청하는 신호를 생성할 수 있다. 일 실시 예에서, 이벤트 기반 IoT 서비스와 관련되는 적어도 하나의 제2 외부 전자 장치의 기능을 수행하도록 요청하는 신호는 적어도 하나의 제2 외부 전자 장치에 대한 제어 정보를 포함할 수 있다. 적어도 하나의 제2 외부 전자 장치에 대한 제어 정보는 적어도 하나의 제2 외부 전자 장치의 장치 ID, 및/또는 적어도 하나의 제2 외부 전자 장치에 의해 수행될 기능에 대한 정보를 포함할 수 있다. In one embodiment, when a condition set to perform an event-based IoT service corresponding to a generated event is satisfied, the processor of the electronic device 101 uses the first application to perform an event-based IoT service corresponding to the generated event. A function of at least one second external electronic device related to may be identified. The processor of the electronic device 101 may use the second application to generate a signal for requesting at least one second external electronic device to perform a function related to the event-based IoT service. In an embodiment, a signal requesting to perform a function of at least one second external electronic device related to an event-based IoT service may include control information about the at least one second external electronic device. The control information on the at least one second external electronic device may include a device ID of the at least one second external electronic device and/or information about a function to be performed by the at least one second external electronic device.

이벤트 기반 IoT 서비스와 관련되는 적어도 하나의 제2 외부 전자 장치의 기능을 수행하도록 요청하는 신호를 생성한 전자 장치(101)의 프로세서는 통신 회로를 통해 이벤트 기반 IoT 서비스와 관련되는 적어도 하나의 제2 외부 전자 장치의 기능을 수행하도록 요청하는 신호를 제3 외부 전자 장치(230)로 송신할 수 있다. The processor of the electronic device 101 that generates the signal requesting the function of at least one second external electronic device related to the event-based IoT service to be performed is configured to transmit at least one second external electronic device related to the event-based IoT service through a communication circuit. A signal requesting the external electronic device to perform a function may be transmitted to the third external electronic device 230 .

전자 장치(101)로부터 이벤트 기반 IoT 서비스와 관련되는 적어도 하나의 제2 외부 전자 장치의 기능을 수행하도록 요청하는 신호를 수신할 경우, 제3 외부 전자 장치(230)의 프로세서는 통신 회로를 통해 이벤트 기반 IoT 서비스와 관련되는 적어도 하나의 제2 외부 전자 장치의 기능을 수행하도록 요청하는 신호에 기반하여 적어도 하나의 제2 외부 전자 장치로 해당하는 기능을 수행하도록 요청하는 신호를 송신할 수 있다. When receiving a signal requesting a function of at least one second external electronic device related to an event-based IoT service from the electronic device 101 to be performed, the processor of the third external electronic device 230 transmits an event through a communication circuit. A signal requesting the at least one second external electronic device to perform a corresponding function may be transmitted based on the signal requesting the at least one second external electronic device to perform the function related to the underlying IoT service.

제3 외부 전자 장치(230)로부터 해당하는 기능을 수행하도록 요청하는 신호를 수신할 경우, 적어도 하나의 제2 전자 장치는 요청된 해당 기능을 수행할 수 있다. When receiving a signal requesting the third external electronic device 230 to perform a corresponding function, at least one second electronic device may perform the requested corresponding function.

도 2에서는 1개의 제1 외부 전자 장치(210)가 전자 장치(101)와 연동하여 이벤트 기반 IoT 서비스를 제공하는 경우를 일 예로 하여 이벤트 기반 IoT 서비스를 제공하는 경우에 대해서 설명하였지만, 전자 장치(101)는 다수의 제1 외부 전자 장치들과 연동하여 이벤트 IoT 서비스를 제공할 수 있다. 이 경우, 전자 장치(101)는 다수의 제1 외부 전자 장치들 각각과 도 2에서 설명한 바와 유사한, 또는 실질적으로 동일한 방식으로 이벤트 기반 IoT 서비스를 제공할 수 있다. In FIG. 2, the case of providing an event-based IoT service is described by taking the case where one first external electronic device 210 interworks with the electronic device 101 to provide an event-based IoT service as an example, but the electronic device ( 101) may provide an event IoT service in conjunction with a plurality of first external electronic devices. In this case, the electronic device 101 may provide an event-based IoT service to each of the plurality of first external electronic devices in a method similar to or substantially the same as described in FIG. 2 .

도 2에서는 제1 외부 전자 장치(210)가 전자 장치(101)와 연동하여 이벤트 기반 IoT 서비스를 제공하는 경우를 일 예로 하여 이벤트 기반 IoT 서비스를 제공하는 경우에 대해서 설명하였지만, 제1 외부 전자 장치(210)가 전자 장치(101)의 다수의 제1 어플리케이션들 및 제2 어플리케이션과 유사하거나 실질적으로 동일한 어플리케이션들을 사용하여 이벤트 기반 IoT 서비스를 제공할 수 있다.In FIG. 2, the case where the event-based IoT service is provided by taking the case where the first external electronic device 210 interworks with the electronic device 101 to provide the event-based IoT service is described as an example, but the first external electronic device In operation 210 , an event-based IoT service may be provided using applications similar to or substantially the same as a plurality of first applications and second applications of the electronic device 101 .

도 2에서는 제1 외부 전자 장치(210)가 발생된 이벤트 타입에 기반하여 제3 어플리케이션들 각각을 사용하여 대응되는 전자 장치(101)의 제1 어플리케이션이 선택되는 경우를 일 예로 하여 이벤트 기반 IoT 서비스를 제공하는 경우에 대해서 설명하였지만, 제1 외부 전자 장치(210)는 이벤트가 발생함을 전자 장치(101)로 통보하고, 전자 장치(101)가 다수의 제1 어플리케이션들 중 제1 외부 전자 장치(210)로부터 통보 받은 이벤트에 대응되는 제1 어플리케이션을 선택하여 이벤트 기반 IoT 서비스를 제공할 수 있다. In FIG. 2 , a case in which the first application of the corresponding electronic device 101 is selected using each of the third applications based on the event type generated by the first external electronic device 210 is an example of an event-based IoT service Although the case of providing has been described, the first external electronic device 210 notifies the electronic device 101 that an event occurs, and the electronic device 101 determines that the first external electronic device among a plurality of first applications An event-based IoT service may be provided by selecting the first application corresponding to the event notified from (210).

예를 들어, 제1 외부 전자 장치(210)로부터 취침 상태 이벤트가 발생함을 통보 받은 전자 장치(101)는 취침 상태 이벤트 및 기상 상태 이벤트에 대응되는 알람 어플리케이션을 사용하여 취침 상태 이벤트 기반 IoT 서비스 및 기상 상태 이벤트 기반 IoT 서비스를 제공할 수 있다. 다른 예를 들어, 제1 외부 전자 장치(210)로부터 운동 상태 이벤트가 발생함을 통보 받은 전자 장치(101)는 운동 상태 이벤트 및 코골이 이벤트에 대응되는 헬스 어플리케이션을 사용하여 운동 상태 이벤트 기반 IoT 서비스 및 코골이 이벤트 기반 IoT 서비스를 제공할 수 있다. 또 다른 예를 들어, 제1 외부 전자 장치(210)로부터 위험 상태 이벤트가 발생함을 통보 받은 전자 장치(101)는 위험 상태 이벤트에 대응되는 SOS 어플리케이션을 사용하여 위험 상태 이벤트 기반 IoT 서비스를 제공할 수 있다.For example, the electronic device 101 notified of the occurrence of a sleeping state event by the first external electronic device 210 uses an alarm application corresponding to the sleeping state event and wake-up state event to provide a sleeping state event-based IoT service and Weather condition event based IoT service can be provided. For another example, the electronic device 101 notified of the occurrence of an exercise state event from the first external electronic device 210 uses a health application corresponding to the exercise state event and the snoring event to provide an IoT service based on the exercise state event. and a snoring event-based IoT service. As another example, the electronic device 101 notified of occurrence of a dangerous state event from the first external electronic device 210 may provide a dangerous state event-based IoT service by using an SOS application corresponding to the dangerous state event. can

도 3은 다양한 실시 예들에 따른 전자 장치(101)의 내부 구성을 도시한 블록도이다.3 is a block diagram illustrating an internal configuration of an electronic device 101 according to various embodiments.

도 3을 참조하면, 전자 장치(101)(예: 도 1 또는 도 2의 전자 장치(101))는 무선 통신 네트워크(예: IoT 네트워크)에서 IoT 서비스(예: 이벤트 기반 IoT 서비스)를 구현하는 장치일 수 있다. 예를 들어, IoT 네트워크는 스마트 홈 네트워크일 수 있고, IoT 서비스는 오토메이션 서비스일 수 있다. Referring to FIG. 3 , an electronic device 101 (eg, the electronic device 101 of FIG. 1 or 2 ) implements an IoT service (eg, an event-based IoT service) in a wireless communication network (eg, an IoT network). may be a device. For example, the IoT network may be a smart home network, and the IoT service may be an automation service.

전자 장치(101)(예: 스마트 폰)는 안테나들(301), 통신 회로(302), 프로세서(304), 메모리(306), 인터페이스(308), 및/또는 디스플레이(310)을 포함할 수 있다. Electronic device 101 (eg, smart phone) may include antennas 301 , communication circuitry 302 , processor 304 , memory 306 , interface 308 , and/or display 310 . there is.

전자 장치(101)는 롱 텀 에볼루션(long term evolution: LTE) 방식, 지그비(Zigbee), 지-웨이브(Z-Wave), Wi-Fi 방식, 저전력 블루투스(Bluetooth low energy: BLE) 방식, UWB 방식, 및/또는 GPS 방식을 지원하는 장치일 수 있다. 전자 장치(101)는 제1 외부 전자 장치(예: 도 1의 전자 장치(102) 또는 도 2의 제1 외부 전자 장치(210)), 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220)), 및/또는 제3 외부 전자 장치(예: 도 1의 서버(108)), 및/또는 도 2의 제3 외부 전자 장치(230))와 하나 또는 두 개 이상의 안테나들(301)을 사용하여 신호들을 송수신하는 통신 회로(302)(예: 도 1의 통신 모듈(190))를 포함할 수 있다. 일 실시 예에서, 하나 또는 두 개 이상의 안테나들(301)은 도 1의 안테나 모듈(198)의 일부로 구현될 수 있다.The electronic device 101 uses a long term evolution (LTE) method, a Zigbee method, a Z-Wave method, a Wi-Fi method, a Bluetooth low energy (BLE) method, and a UWB method. , and/or may be a device supporting a GPS scheme. The electronic device 101 includes a first external electronic device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 210 of FIG. 2 ) and at least one second external electronic device (eg, the electronic device 102 of FIG. 2 ). second external electronic devices 220), and/or third external electronic devices (e.g., server 108 in FIG. 1), and/or third external electronic device 230 in FIG. 2) and one or two It may include a communication circuit 302 (eg, the communication module 190 of FIG. 1 ) for transmitting and receiving signals using one or more antennas 301 . In one embodiment, one or more antennas 301 may be implemented as part of antenna module 198 of FIG. 1 .

일 실시 예에 따르면, 통신 회로(302)는 다수의 통신 회로들을 포함할 수 있으며, 다수의 통신 회로들은 LTE 방식, BLE 방식, UWB 방식, 지그비 방식, 지-웨이브 방식, 및/또는 Wi-Fi 방식에 기반하는 통신 회로를 포함할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 LTE 방식, BLE 방식, UWB 방식, 지그비 방식, 지-웨이브 방식, 및/또는 Wi-Fi 방식 각각에 기반하는 별도의 통신 회로를 포함하지 않고, LTE 방식, BLE 방식, UWB 방식, 지그비 방식, 지-웨이브 방식, 및/또는 Wi-Fi 방식 중 적어도 두 개, 또는 LTE 방식, BLE 방식, UWB 방식, 지그비 방식, 지-웨이브 방식, 및/또는 Wi-Fi 방식 모두에 기반하는 통신 회로를 포함할 수도 있다. 일 실시 예에 따르면, LTE 방식, BLE 방식, UWB 방식, 지그비 방식, 지-웨이브 방식, 및/또는 Wi-Fi 방식 중 적어도 두 개, 또는 LTE 방식, BLE 방식, UWB 방식, 지그비 방식, 지-웨이브 방식, 및/또는 Wi-Fi 방식 모두에 기반하는 통신 회로는 통신 회로(302)일 수 있다.According to an embodiment, the communication circuit 302 may include a plurality of communication circuits, which may be LTE, BLE, UWB, ZigBee, Z-Wave, and/or Wi-Fi. communication circuitry based on the scheme. According to an embodiment, the electronic device 101 does not include separate communication circuits based on the LTE method, the BLE method, the UWB method, the ZigBee method, the Z-Wave method, and/or the Wi-Fi method, respectively, and uses the LTE method, BLE method, UWB method, ZigBee method, Z-Wave method, and/or Wi-Fi method, or LTE method, BLE method, UWB method, ZigBee method, Z-Wave method, and/or Wi-Fi method. It may also include a communication circuit based on both -Fi schemes. According to an embodiment, at least two of the LTE method, the BLE method, the UWB method, the ZigBee method, the G-Wave method, and/or the Wi-Fi method, or the LTE method, the BLE method, the UWB method, the ZigBee method, and the G- The communication circuitry based on both wave mode and/or Wi-Fi mode may be communication circuitry 302 .

전자 장치(101)는 네트워크 외부의 구성 요소(component)들과 통신하기 위한 유선 및/또는 무선 인터페이스를 제공하는 인터페이스(308)(예: 도 1의 인터페이스(177))를 포함할 수 있다. 일 실시 예에서, 하나 또는 두 개 이상의 안테나들(301), 통신 회로(302), 또는 인터페이스(308) 중 적어도 일부는 도 1의 통신 모듈(190) 및 안테나 모듈(198)의 적어도 일부로 구현될 수 있다.The electronic device 101 may include an interface 308 (eg, interface 177 of FIG. 1 ) providing a wired and/or wireless interface for communication with components outside the network. In one embodiment, at least some of the one or more antennas 301, communication circuitry 302, or interface 308 may be implemented as at least part of the communication module 190 and antenna module 198 of FIG. can

전자 장치(101)는 하나 또는 두 개 이상의 단일 코어 프로세서들 또는 하나 또는 두 개 이상의 다중 코어 프로세서들로 구현될 수 있는 프로세서(304)(예: 도 1의 프로세서(120))와, 전자 장치(101)의 동작을 위한 인스트럭션(instruction)들을 저장하는 메모리(306)(예: 도 1의 메모리(130))를 포함할 수 있다. The electronic device 101 includes a processor 304 (eg, the processor 120 of FIG. 1 ), which may be implemented as one or more single-core processors or one or more multi-core processors, and an electronic device ( A memory 306 (eg, the memory 130 of FIG. 1 ) for storing instructions for the operation of 101 may be included.

다양한 실시 예들에 따르면, 메모리(306)는 이벤트 기반 IoT 서비스를 실행시키기 위한 어플리케이션들(예: 제1 어플리케이션들 및 제2 어플리케이션)과 관련된 UI 및 UI를 제공하기 위한 이미지들, 사용자 정보, 문서, 데이터베이스들 또는 관련 데이터를 저장할 수 있다. 다양한 실시 예들에 따르면, 디스플레이(310)(예: 도 1의 디스플레이 모듈(160))는 프로세서(304)의 제어 하에 이벤트 기반 IoT 서비스를 실행시키기 위한 해당 어플리케이션이 실행되면, 실행되는 해당 어플리케이션과 관련된 UI를 표시할 수 있다. According to various embodiments, the memory 306 may store a UI related to applications (eg, first applications and second applications) for executing an event-based IoT service and images for providing a UI, user information, documents, Databases or related data may be stored. According to various embodiments, when a corresponding application for executing an event-based IoT service is executed under the control of the processor 304, the display 310 (eg, the display module 160 of FIG. 1 ) related to the executed corresponding application UI can be displayed.

도 4는 다양한 실시 예들에 따른 제1 외부 전자 장치(210)의 내부 구성을 도시한 블록도이다.4 is a block diagram illustrating an internal configuration of a first external electronic device 210 according to various embodiments.

도 4를 참조하면, 제1 외부 전자 장치(210)(예: 도 1의 전자 장치(102) 또는 도 2의 제1 외부 전자 장치(210))는 무선 통신 네트워크(예: IoT 네트워크)에서 IoT 서비스(예: 이벤트 기반 IoT 서비스)를 구현하는 장치일 수 있다. 예를 들어, IoT 네트워크는 스마트 홈 네트워크일 수 있고, IoT 서비스는 오토메이션 서비스일 수 있다. 제1 외부 전자 장치(210)(예: 사용자에 착용 가능한 전자 장치 또는 사용자에 착용 가능하지 않은 전자 장치)는 안테나들(401), 통신 회로(402), 프로세서(404), 메모리(406), 인터페이스(408), 및/또는 디스플레이(410)을 포함할 수 있다. Referring to FIG. 4 , a first external electronic device 210 (eg, the electronic device 102 of FIG. 1 or the first external electronic device 210 of FIG. 2 ) is connected to a wireless communication network (eg, an IoT network). It may be a device that implements a service (eg, an event-based IoT service). For example, the IoT network may be a smart home network, and the IoT service may be an automation service. The first external electronic device 210 (eg, a user wearable electronic device or a non-user wearable electronic device) includes antennas 401, a communication circuit 402, a processor 404, a memory 406, interface 408 , and/or display 410 .

일 실시 예에서, 안테나들(401), 통신 회로(402), 프로세서(404), 메모리(406), 인터페이스(408), 및/또는 디스플레이(410)는 각각 도 3에서 설명한 안테나들(301), 통신 회로(302), 프로세서(304), 메모리(306), 인터페이스(308), 및/또는 디스플레이(310)와 유사하거나 또는 실질적으로 동일하게 구현될 수 있으며, 따라서 그 상세한 설명은 생략하기로 한다. In one embodiment, the antennas 401, communication circuitry 402, processor 404, memory 406, interface 408, and/or display 410 are each antennas 301 described in FIG. , the communication circuit 302, the processor 304, the memory 306, the interface 308, and/or the display 310 may be implemented similarly or substantially the same, and thus detailed description thereof will be omitted. do.

일 실시 예에서, 제1 외부 전자 장치(210)는 센서 모듈(412), 카메라 모듈(414), 및/또는 입력 모듈(416)을 더 포함할 수 있다. In one embodiment, the first external electronic device 210 may further include a sensor module 412 , a camera module 414 , and/or an input module 416 .

일 실시 예에서, 센서 모듈(412)은 적어도 하나의 센서를 포함할 수 있으며, 적어도 하나의 센서는 자이로 센서, 가속도 센서, HRM 센서, 제스처 센서, 기압 센서, 마그네틱 센서, 그립 센서, 근접 센서, 컬러 센서, IR 센서, 생체 센서, 온도 센서, 및/또는 습도 센서를 포함할 수 있다. 일 실시 예에서, HRM 센서는 ECG 센서, PPG 센서, 및/또는 심박수 측정 센서를 포함할 수 있다. 일 실시 예에서, 카메라 모듈(414)은 카메라를 포함할 수 있고, 입력 모듈(416)은 마이크를 포함할 수 있다.In one embodiment, the sensor module 412 may include at least one sensor, the at least one sensor being a gyro sensor, an acceleration sensor, an HRM sensor, a gesture sensor, a barometric pressure sensor, a magnetic sensor, a grip sensor, a proximity sensor, It may include a color sensor, an IR sensor, a bio sensor, a temperature sensor, and/or a humidity sensor. In one embodiment, the HRM sensor may include an ECG sensor, a PPG sensor, and/or a heart rate sensor. In one embodiment, the camera module 414 may include a camera, and the input module 416 may include a microphone.

다양한 실시 예들에 따르면, 별도의 도면으로 도시되어 있지는 않으나, 제2 외부 전자들 각각 장치 역시 제1 외부 전자 장치(210)와 유사하게 통신 회로, 프로세서, 메모리, 인터페이스 모듈, 및/또는 디스플레이를 포함할 수 있으며, 제2 외부 전자 장치가 포함하는 통신 회로, 프로세서, 메모리, 인터페이스 모듈, 및/또는 디스플레이 역시 도 4에서 설명한 통신 회로(402), 프로세서(404), 메모리(406), 인터페이스 모듈(408), 및/또는 디스플레이(410)와 유사하거나 또는 실질적으로 동일하게 구현될 수 있으며, 따라서 그 상세한 설명은 생략하기로 한다.According to various embodiments, although not shown as a separate drawing, each device of the second external electronic devices also includes a communication circuit, a processor, a memory, an interface module, and/or a display similar to the first external electronic device 210. The communication circuit, processor, memory, interface module, and/or display included in the second external electronic device may also include the communication circuit 402, processor 404, memory 406, and interface module ( 408), and/or the display 410 may be implemented similarly or substantially the same, and thus detailed description thereof will be omitted.

도 5는 다양한 실시 예들에 따른 제3 외부 전자 장치(230)의 내부 구성을 도시한 블록도이다.5 is a block diagram illustrating an internal configuration of a third external electronic device 230 according to various embodiments.

도 5를 참조하면, 제3 외부 전자 장치(230)(예: 도 1의 서버(108) 또는 도 2의 제3 외부 전자 장치(230))는 무선 통신 네트워크(예: IoT 네트워크)에서 IoT 서비스(예: 이벤트 기반 IoT 서비스)를 구현하는 장치일 수 있다. 예를 들어, IoT 네트워크는 스마트 홈 네트워크일 수 있고, IoT 서비스는 오토메이션 서비스일 수 있다. 제2 외부 전자 장치(230)는 통신 회로(502), 프로세서(504), 메모리(506), 인터페이스(508), 및/또는 디스플레이(510)를 포함할 수 있다. 일 실시 예에서, 통신 회로(502), 프로세서(504), 메모리(506), 인터페이스(508), 및/또는 디스플레이(510)는 각각 도 3에서 설명한 통신 회로(302), 프로세서(304), 메모리(306), 인터페이스(308), 및/또는 디스플레이(310)와 유사하게 또는 실질적으로 동일하게 구현될 수 있으며, 따라서 그 상세한 설명은 생략하기로 한다. Referring to FIG. 5 , a third external electronic device 230 (eg, the server 108 of FIG. 1 or the third external electronic device 230 of FIG. 2 ) provides IoT service in a wireless communication network (eg, IoT network). (e.g. event-based IoT service). For example, the IoT network may be a smart home network, and the IoT service may be an automation service. The second external electronic device 230 may include a communication circuit 502 , a processor 504 , a memory 506 , an interface 508 , and/or a display 510 . In one embodiment, the communication circuitry 502, processor 504, memory 506, interface 508, and/or display 510 are each the communication circuitry 302, processor 304, and/or display 510 described in FIG. The memory 306, the interface 308, and/or the display 310 may be implemented similarly or substantially the same, and thus detailed description thereof will be omitted.

도 6은 다양한 실시 예들에 따른 무선 통신 네트워크에서 전자 장치(101)의 동작 과정을 도시한 흐름도이다. 6 is a flowchart illustrating an operation process of the electronic device 101 in a wireless communication network according to various embodiments.

도 6을 참조하면, 동작 611에서, 전자 장치(예: 도 1, 도2 또는 도 3의 전자 장치(101))의 프로세서(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(302))는 통신 회로(예: 도 1의 통신 모듈(190) 또는 도 3의 통신 회로(302))를 통해, 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 2 또는 도 4의 제1 외부 전자 장치(210))로부터, 제1 외부 전자 장치에서 발생한 이벤트에 관련된 정보를 포함하는 제1 신호를 수신할 수 있다. 일 실시 예에서, 제1 외부 전자 장치에서 발생한 이벤트에 관련된 정보는 제1 외부 전자 장치에서 발생한 이벤트의 타입을 포함할 수 있다. 일 실시 예에서, 이벤트의 타입은 취침 상태 이벤트, 기상 상태 이벤트, 운동 상태 이벤트, 코골이 상태 이벤트, 또는 위험 상태 이벤트 중 하나를 나타낼 수 있다. 취침 상태 이벤트, 기상 상태 이벤트, 운동 상태 이벤트, 코골이 상태 이벤트, 및/또는 위험 상태 이벤트는 도 2에서 설명한 취침 상태 이벤트, 기상 상태 이벤트, 운동 상태 이벤트, 코골이 상태 이벤트, 및/또는 위험 상태 이벤트와 유사하거나 실질적으로 동일하게 구현될 수 있으며, 따라서 그 상세한 설명은 생략하기로 한다. Referring to FIG. 6 , in operation 611, a processor (eg, the processor 120 of FIG. 1 or the processor 302 of FIG. 3 ) of an electronic device (eg, the electronic device 101 of FIGS. 1, 2, or 3) ) is transmitted through a communication circuit (eg, the communication module 190 of FIG. 1 or the communication circuit 302 of FIG. 3 ) through a first external electronic device (eg, the electronic device 102 of FIG. 1 , or the communication module 102 of FIG. 2 or FIG. 3 ). A first signal including information related to an event occurring in the first external electronic device may be received from the first external electronic device 210 of Fig. 4 . In an embodiment, information related to an event occurring in the first external electronic device may include a type of event occurring in the first external electronic device. In one embodiment, the type of event may indicate one of a sleeping state event, a wake-up state event, an exercise state event, a snoring state event, or a dangerous state event. A sleeping state event, awake state event, exercise state event, snoring state event, and/or a dangerous state event may be a sleeping state event, awake state event, exercise state event, snoring state event, and/or a dangerous state described in FIG. 2 . It may be implemented similarly or substantially the same as the event, and thus a detailed description thereof will be omitted.

동작 613에서, 프로세서는 제1 외부 전자 장치와 관련된 기능을 수행하기 위한 제1 어플리케이션을 사용하여, 제1 외부 전자 장치에서 발생한 이벤트에 대응되는 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))의 기능을 수행하기 위하여 설정된 조건이 만족되는지 여부를 확인할 수 있다. 일 실시 예에서, 발생한 이벤트에 대응되는 적어도 하나의 제2 외부 전자 장치의 기능은 발생한 이벤트에 대응되는 이벤트 기반 IoT 서비스와 관련되는 적어도 하나의 제2 외부 전자 장치의 기능일 수 있다. 발생한 이벤트에 대응되는 적어도 하나의 제2 외부 전자 장치의 기능을 수행하기 위하여 설정된 조건은 도 2에서 설명한 조건 1 내지 조건 4와 유사하거나 실질적으로 동일하게 구현될 수 있으며, 따라서 그 상세한 설명은 생략하기로 한다. In operation 613, the processor uses a first application for performing a function related to the first external electronic device to select at least one second external electronic device corresponding to an event generated in the first external electronic device (eg, FIG. 2 ). It may be checked whether conditions set to perform the functions of the second external electronic devices 220 are satisfied. In an embodiment, the function of at least one second external electronic device corresponding to the occurred event may be a function of at least one second external electronic device related to the event-based IoT service corresponding to the occurred event. Conditions set to perform the function of at least one second external electronic device corresponding to the occurred event may be implemented similarly or substantially the same as Conditions 1 to 4 described in FIG. 2 , and thus detailed description thereof will be omitted. do it with

발생한 이벤트에 대응되는 적어도 하나의 제2 외부 전자 장치의 기능을 수행하기 위하여 설정된 조건이 만족될 경우(동작 613-예), 동작 615에서, 프로세서는 제1 어플리케이션을 사용하여, 발생한 이벤트에 대응되는 적어도 하나의 제2 외부 전자 장치의 기능을 확인할 수 있다. 발생한 이벤트에 대응되는 적어도 하나의 제2 외부 전자 장치의 기능을 수행하기 위하여 설정된 조건이 만족되지 않을 경우(동작 613-아니오), 프로세서는 더 이상의 동작을 수행하지 않고 해당 동작을 종료할 수 있다.When the condition set for performing the function of at least one second external electronic device corresponding to the event that has occurred is satisfied (operation 613-yes), in operation 615, the processor uses the first application to perform the function corresponding to the event that has occurred. A function of at least one second external electronic device may be identified. When the condition set for performing the function of at least one second external electronic device corresponding to the occurred event is not satisfied (operation 613 - No), the processor may end the corresponding operation without performing any further operation.

동작 617에서, 프로세서는 발생한 이벤트에 대응되는 적어도 하나의 제2 외부 전자 장치를 제어하기 위한 제2 어플리케이션을 사용하여, 적어도 하나의 제2 외부 전자 장치가 해당 기능을 수행하도록 요청하는 제2 신호를 생성할 수 있다. 적어도 하나의 제2 외부 전자 장치가 해당 기능을 수행하도록 요청하는 제2 신호는 도 2에서 설명한 적어도 하나의 제2 외부 전자 장치가 해당 기능을 수행하도록 요청하는 제2 신호와 유사하거나 실질적으로 동일하게 구현될 수 있으며, 따라서 그 상세한 설명은 생략하기로 한다.In operation 617, the processor transmits a second signal for requesting the at least one second external electronic device to perform a corresponding function by using a second application for controlling the at least one second external electronic device corresponding to the generated event. can create The second signal requesting the at least one second external electronic device to perform the corresponding function is similar to or substantially the same as the second signal requesting the at least one second external electronic device to perform the corresponding function described in FIG. 2 . It may be implemented, and thus a detailed description thereof will be omitted.

동작 619에서, 프로세서는 통신 회로를 통해, 생성된 제2 신호를 제3 외부 전자 장치(예: 도 1의 서버(108), 또는 도 2 또는 도 5의 제3 외부 전자 장치(230))로 송신할 수 있다. 이렇게 제3 외부 전자 장치로 제2 신호가 송신됨에 따라, 제3 외부 전자 장치는 제2 신호에 기반하여 적어도 하나의 제2 외부 전자 장치의 기능이 수행되도록 제어할 수 있다. In operation 619, the processor transmits the generated second signal to a third external electronic device (eg, the server 108 of FIG. 1 or the third external electronic device 230 of FIGS. 2 or 5) through the communication circuit. can be sent As the second signal is transmitted to the third external electronic device in this way, the third external electronic device can control at least one function of the second external electronic device to be performed based on the second signal.

도 7은 다양한 실시 예들에 따른 무선 통신 네트워크에서 IoT 서비스를 제공하기 위한 전자 장치(101), 제1 외부 전자 장치(210), 제2 외부 전자 장치들(220), 및 제3 외부 전자 장치(230)의 동작 과정을 도시한 신호 흐름도이다. 7 illustrates an electronic device 101, a first external electronic device 210, second external electronic devices 220, and third external electronic devices for providing an IoT service in a wireless communication network according to various embodiments ( 230) is a signal flow diagram illustrating the operation process.

도 7을 참조하면, 무선 통신 네트워크는 IoT 네트워크(예: 스마트 홈(smart home) 네트워크)일 수 있다. 일 실시 예에 따르면, 전자 장치(101)(예: 도 1, 도 2, 또는 도 3의 전자 장치(101))는 스마트 폰일 수 있다. 일 실시 예에 따르면, 제1 외부 전자 장치(210)(예: 도 1의 전자 장치(102), 또는 도 2 또는 도 4의 제1 외부 전자 장치(210))는 전자 장치(101)와 연동하여 IoT 서비스(예: 오토메이션(automation) 서비스)를 제공할 수 있는 전자 장치일 수 있다. 제 1 외부 전자 장치(210)는, 사용자(예: 사용자의 신체)에 착용 가능한 전자 장치 또는 사용자에 착용 가능하지 않은 전자 장치일 수 있다. 일 실시 예에 따르면, 제3 외부 전자 장치(230)(예 도 1의 서버(108), 또는 도 2 또는 도 5의 제3 외부 전자 장치(230))는 서버(예: IoT 서비스 서버) 또는 허브일 수 있다. 일 실시 예에 따르면, 제2 외부 전자 장치들(220)(예: 도 2의 제2 외부 전자 장치들(220)) 각각은 전자 장치(101), 제1 외부 전자 장치(210), 및/또는 제3 외부 전자 장치(230)와 연동하여 IoT 서비스를 제공하는 장치일 수 있다. 일 실시 예에서, 무선 통신 네트워크에는 다른 외부 전자 장치들(예: 클라우드 서버, 및/또는 어플리케이션 마켓 서버)이 더 존재할 수 있다.Referring to FIG. 7 , the wireless communication network may be an IoT network (eg, a smart home network). According to an embodiment, the electronic device 101 (eg, the electronic device 101 of FIG. 1, 2, or 3) may be a smart phone. According to an embodiment, the first external electronic device 210 (eg, the electronic device 102 of FIG. 1 or the first external electronic device 210 of FIG. 2 or 4) interworks with the electronic device 101. It may be an electronic device capable of providing an IoT service (eg, an automation service) by doing so. The first external electronic device 210 may be an electronic device wearable on the user (eg, the user's body) or an electronic device not wearable on the user. According to one embodiment, the third external electronic device 230 (eg, the server 108 of FIG. 1 or the third external electronic device 230 of FIG. 2 or 5) is a server (eg, IoT service server) or It can be herbs. According to an embodiment, each of the second external electronic devices 220 (eg, the second external electronic devices 220 of FIG. 2 ) includes the electronic device 101, the first external electronic device 210, and/or Alternatively, it may be a device that provides an IoT service by interworking with the third external electronic device 230 . In one embodiment, other external electronic devices (eg, a cloud server and/or an application market server) may further exist in the wireless communication network.

동작 711에서, 제1 외부 전자 장치(210)는 이벤트가 발생함을 확인할 수 있다. 제1 외부 전자 장치(210)가 이벤트가 발생함을 확인하는 방식은 도 2에서 설명한 방식과 유사하거나 실질적으로 동일할 수 있으며, 따라서 그 상세한 설명을 생략하기로 한다. 이벤트가 발생함을 확인한 제1 외부 전자 장치(210)는 동작 713에서 전자 장치(101)로 제1 외부 전자 장치(210)에서 발생한 이벤트에 관련된 정보를 포함하는 제1 신호를 송신할 수 있다. 일 실시 예에서, 제1 외부 전자 장치(210)에서 발생한 이벤트에 관련된 정보는 제1 외부 전자 장치(210)에서 발생한 이벤트의 타입을 포함할 수 있다. 일 실시 예에서, 이벤트의 타입은 취침 상태 이벤트, 기상 상태 이벤트, 운동 상태 이벤트, 코골이 상태 이벤트, 또는 위험 상태 이벤트 중 하나를 나타낼 수 있다. 취침 상태 이벤트, 기상 상태 이벤트, 운동 상태 이벤트, 코골이 상태 이벤트, 및/또는 위험 상태 이벤트는 도 2에서 설명한 취침 상태 이벤트, 기상 상태 이벤트, 운동 상태 이벤트, 코골이 상태 이벤트, 및/또는 위험 상태 이벤트와 유사하거나 실질적으로 동일하게 구현될 수 있으며, 따라서 그 상세한 설명은 생략하기로 한다. In operation 711, the first external electronic device 210 may confirm that an event occurs. A method of confirming that an event occurs by the first external electronic device 210 may be similar to or substantially the same as the method described in FIG. 2 , and thus a detailed description thereof will be omitted. After confirming that an event has occurred, the first external electronic device 210 may transmit a first signal including information related to the event occurring in the first external electronic device 210 to the electronic device 101 in operation 713 . In one embodiment, information related to an event occurring in the first external electronic device 210 may include a type of event occurring in the first external electronic device 210 . In one embodiment, the type of event may indicate one of a sleeping state event, a wake-up state event, an exercise state event, a snoring state event, or a dangerous state event. A sleeping state event, awake state event, exercise state event, snoring state event, and/or a dangerous state event may be a sleeping state event, awake state event, exercise state event, snoring state event, and/or a dangerous state described in FIG. 2 . It may be implemented similarly or substantially the same as the event, and thus a detailed description thereof will be omitted.

제1 외부 전자 장치(210)로부터 제1 신호를 수신한 전자 장치(101)는, 동작 715에서, 제1 외부 전자 장치(210)와 관련된 기능을 수행하기 위한 제1 어플리케이션을 사용하여, 제1 외부 전자 장치(210)에서 발생한 이벤트에 대응되는 적어도 하나의 제2 외부 전자 장치(220)(예: 도 2의 제2 외부 전자 장치들(220))의 기능을 수행하기 위하여 설정된 조건이 만족되는지 여부를 확인할 수 있다. 일 실시 예에서, 발생한 이벤트에 대응되는 적어도 하나의 제2 외부 전자 장치(220)의 기능은 발생한 이벤트에 대응되는 이벤트 기반 IoT 서비스와 관련되는 적어도 하나의 제2 외부 전자 장치(220)의 기능일 수 있다. 발생한 이벤트에 대응되는 적어도 하나의 제2 외부 전자 장치(220)의 기능을 수행하기 위하여 설정된 조건은 도 2에서 설명한 조건 1 내지 조건 4와 유사하거나 실질적으로 동일하게 구현될 수 있으며, 따라서 그 상세한 설명은 생략하기로 한다. Upon receiving the first signal from the first external electronic device 210, the electronic device 101, in operation 715, uses a first application for performing a function related to the first external electronic device 210 to generate the first external electronic device 210. Whether a condition set to perform the function of at least one second external electronic device 220 (eg, the second external electronic devices 220 of FIG. 2 ) corresponding to an event occurring in the external electronic device 210 is satisfied. can check whether In an embodiment, the function of the at least one second external electronic device 220 corresponding to the occurred event may be a function of the at least one second external electronic device 220 related to the event-based IoT service corresponding to the occurred event. can Conditions set to perform the function of the at least one second external electronic device 220 corresponding to the occurred event may be implemented similarly or substantially the same as Conditions 1 to 4 described in FIG. 2 , and thus detailed description thereof will be omitted.

발생한 이벤트에 대응되는 적어도 하나의 제2 외부 전자 장치(220)의 기능을 수행하기 위하여 설정된 조건이 만족될 경우(동작 715-예), 동작 717에서, 전자 장치(101)는 제1 어플리케이션을 사용하여, 발생한 이벤트에 대응되는 적어도 하나의 제2 외부 전자 장치(220)의 기능을 확인할 수 있다. 발생한 이벤트에 대응되는 적어도 하나의 제2 외부 전자 장치(220)의 기능을 수행하기 위하여 설정된 조건이 만족되지 않을 경우(동작 715-아니오), 전자 장치(101)는 더 이상의 동작을 수행하지 않고 해당 동작을 종료할 수 있다.When the condition set for performing the function of the at least one second external electronic device 220 corresponding to the occurred event is satisfied (Operation 715-Yes), in Operation 717, the electronic device 101 uses the first application. Thus, it is possible to check the function of at least one second external electronic device 220 corresponding to the occurred event. When the condition set to perform the function of the at least one second external electronic device 220 corresponding to the occurred event is not satisfied (operation 715 - No), the electronic device 101 does not perform any further operation and the corresponding action can be terminated.

동작 719에서, 전자 장치(101)는 발생한 이벤트에 대응되는 적어도 하나의 제2 외부 전자 장치(220)를 제어하기 위한 제2 어플리케이션을 사용하여, 적어도 하나의 제2 외부 전자 장치(220)가 해당 기능을 수행하도록 요청하는 제2 신호를 생성할 수 있다. 적어도 하나의 제2 외부 전자 장치(220)가 해당 기능을 수행하도록 요청하는 제2 신호는 도 2에서 설명한 적어도 하나의 제2 외부 전자 장치(220)가 해당 기능을 수행하도록 요청하는 제2 신호와 유사하거나 실질적으로 동일하게 구현될 수 있으며, 따라서 그 상세한 설명은 생략하기로 한다.In operation 719, the electronic device 101 uses a second application for controlling the at least one second external electronic device 220 corresponding to the generated event so that the at least one second external electronic device 220 corresponds to the corresponding event. A second signal requesting a function to be performed may be generated. The second signal requesting the at least one second external electronic device 220 to perform the corresponding function is the same as the second signal requesting the at least one second external electronic device 220 described in FIG. 2 to perform the corresponding function. It may be implemented similarly or substantially the same, and therefore detailed description thereof will be omitted.

동작 721에서, 전자 장치(101)는 생성된 제2 신호를 제3 외부 전자 장치(230)로 송신할 수 있다. 전자 장치(101)로부터 제2 신호를 수신한 제3 외부 전자 장치(230)는 동작 723에서 제2 신호에 기반하여 발생한 이벤트에 대응되는(예: 이벤트 기반 IoT 서비스에 대응되는) 적어도 하나의 제2 외부 전자 장치(220)를 확인할 수 있다. 동작 725에서, 제3 외부 전자 장치(230)는 확인된 적어도 하나의 제2 외부 전자 장치(220)의 기능을 수행하도록 제어하기 위한 제3 신호를 생성하고, 생성된 제3 신호를 적어도 하나의 제2 외부 전자 장치(220)로 송신할 수 있다. In operation 721, the electronic device 101 may transmit the generated second signal to the third external electronic device 230. Upon receiving the second signal from the electronic device 101, the third external electronic device 230 responds to an event generated based on the second signal in operation 723 (eg, corresponding to an event-based IoT service). 2 The external electronic device 220 can be checked. In operation 725, the third external electronic device 230 generates a third signal for controlling the identified at least one second external electronic device 220 to perform a function, and converts the generated third signal to at least one second external electronic device 220. It can be transmitted to the second external electronic device 220 .

제3 외부 전자 장치(230)로부터 제3 신호를 수신한 적어도 하나의 제2 외부 전자 장치(220)는 동작 727에서 제3 신호에 기반하여, 발생한 이벤트에 대응하여 설정되어 있는 기능을 수행할 수 있다. Upon receiving the third signal from the third external electronic device 230, the at least one second external electronic device 220 may perform a function set in response to the event based on the third signal in operation 727. there is.

도 7에서는 1개의 제1 외부 전자 장치(210)가 전자 장치(101)와 연동하여 이벤트 기반 IoT 서비스를 제공하는 경우를 일 예로 하여 이벤트 기반 IoT 서비스를 제공하는 경우에 대해서 설명하였지만, 전자 장치(101)는 다수의 제1 외부 전자 장치들과 연동하여 이벤트 IoT 서비스를 제공할 수 있다. 이 경우, 전자 장치(101)는 다수의 제1 외부 전자 장치들 각각과 도 7에서 설명한 바와 유사한, 또는 실질적으로 동일한 방식으로 이벤트 기반 IoT 서비스를 제공할 수 있다. In FIG. 7 , a case in which an event-based IoT service is provided by taking a case in which one first external electronic device 210 interworks with the electronic device 101 to provide an event-based IoT service is described as an example, but the electronic device ( 101) may provide an event IoT service in conjunction with a plurality of first external electronic devices. In this case, the electronic device 101 may provide an event-based IoT service to each of the plurality of first external electronic devices in a method similar to or substantially the same as described in FIG. 7 .

도 7에서는 제1 외부 전자 장치(210)가 전자 장치(101)와 연동하여 이벤트 기반 IoT 서비스를 제공하는 경우를 일 예로 하여 이벤트 기반 IoT 서비스를 제공하는 경우에 대해서 설명하였지만, 제1 외부 전자 장치(210)가 전자 장치(101)의 다수의 제1 어플리케이션들 및 제2 어플리케이션과 유사하거나 실질적으로 동일한 어플리케이션들을 사용하여 이벤트 기반 IoT 서비스를 제공할 수 있다.In FIG. 7, the case where the event-based IoT service is provided by taking the case where the first external electronic device 210 interworks with the electronic device 101 to provide the event-based IoT service is described as an example, but the first external electronic device In operation 210 , an event-based IoT service may be provided using applications similar to or substantially the same as a plurality of first applications and second applications of the electronic device 101 .

도 7에서는 제1 외부 전자 장치(210)가 발생된 이벤트 타입에 기반하여 제3 어플리케이션들 각각을 사용하여 대응되는 전자 장치(101)의 제1 어플리케이션이 선택되는 경우를 일 예로 하여 이벤트 기반 IoT 서비스를 제공하는 경우에 대해서 설명하였지만, 제1 외부 전자 장치(210)는 이벤트가 발생함을 전자 장치(101)로 통보하고, 전자 장치(101)가 다수의 제1 어플리케이션들 중 제1 외부 전자 장치(210)로부터 통보 받은 이벤트에 대응되는 제1 어플리케이션을 선택하여 이벤트 기반 IoT 서비스를 제공할 수 있다. In FIG. 7 , a case in which the first application of the corresponding electronic device 101 is selected using each of the third applications based on the event type generated by the first external electronic device 210 is an example of an event-based IoT service Although the case of providing has been described, the first external electronic device 210 notifies the electronic device 101 that an event occurs, and the electronic device 101 determines that the first external electronic device among a plurality of first applications An event-based IoT service may be provided by selecting the first application corresponding to the event notified from (210).

예를 들어, 제1 외부 전자 장치(210)로부터 취침 상태 이벤트가 발생함을 통보 받은 전자 장치(101)는 취침 상태 이벤트 및 기상 상태 이벤트에 대응되는 알람 어플리케이션을 사용하여 취침 상태 이벤트 기반 IoT 서비스 및 기상 상태 이벤트 기반 IoT 서비스를 제공할 수 있다. 다른 예를 들어, 제1 외부 전자 장치(210)로부터 운동 상태 이벤트가 발생함을 통보 받은 전자 장치(101)는 운동 상태 이벤트 및 코골이 이벤트에 대응되는 헬스 어플리케이션을 사용하여 운동 상태 이벤트 기반 IoT 서비스 및 코골이 이벤트 기반 IoT 서비스를 제공할 수 있다. 또 다른 예를 들어, 제1 외부 전자 장치(210)로부터 위험 상태 이벤트가 발생함을 통보 받은 전자 장치(101)는 위험 상태 이벤트에 대응되는 SOS 어플리케이션을 사용하여 위험 상태 이벤트 기반 IoT 서비스를 제공할 수 있다.For example, the electronic device 101 notified of the occurrence of a sleeping state event by the first external electronic device 210 uses an alarm application corresponding to the sleeping state event and wake-up state event to provide a sleeping state event-based IoT service and Weather condition event based IoT service can be provided. For another example, the electronic device 101 notified of the occurrence of an exercise state event from the first external electronic device 210 uses a health application corresponding to the exercise state event and the snoring event to provide an IoT service based on the exercise state event. and a snoring event-based IoT service. As another example, the electronic device 101 notified of occurrence of a dangerous state event from the first external electronic device 210 may provide a dangerous state event-based IoT service by using an SOS application corresponding to the dangerous state event. can

다양한 실시 예들에 따르면, 전자 장치(예: 도 1, 또는 도 2 또는 도 3의 전자 장치(101))가 제공될 수 있으며, 상기 전자 장치(예: 도 1, 또는 도 2 또는 도 3의 전자 장치(101))는 통신 회로(예: 도 1의 통신 모듈(190) 또는 도 3의 통신 회로(302)), 및 상기 통신 회로(예: 도 1의 통신 모듈(190) 또는 도 3의 통신 회로(302))와 작동적으로 연결되는 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(304))를 포함할 수 있고, 상기 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(304))는, 상기 통신 회로(예: 도 1의 통신 모듈(190) 또는 도 3의 통신 회로(302))를 통해, 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 2 또는 도 4의 제1 외부 전자 장치(210))로부터, 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 2 또는 도 4의 제1 외부 전자 장치(210))에서 발생한 이벤트와 관련된 정보를 포함하는 제1 신호를 수신하고, 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 2 또는 도 4의 제1 외부 전자 장치(210))와 관련된 기능을 수행하기 위한 제1 어플리케이션을 사용하여, 상기 이벤트에 대응되는 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))의 기능을 수행하기 위하여 설정된 조건이 만족되는지 여부를 확인하고, 상기 조건이 만족됨을 확인함에 기반하여, 상기 제1 어플리케이션을 사용하여, 상기 이벤트에 대응되는 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))의 기능을 확인하고, 및 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))를 제어하기 위한 제2 어플리케이션을 사용하여, 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))가 상기 확인된 기능을 수행하도록, 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))를 제어하도록 구성될 수 있다.According to various embodiments, an electronic device (eg, the electronic device 101 of FIG. 1 or 2 or 3) may be provided, and the electronic device (eg, the electronic device 101 of FIG. 1 or 2 or 3) may be provided. Device 101 includes communication circuitry (eg, communication module 190 of FIG. 1 or communication circuitry 302 of FIG. 3 ), and the communication circuitry (eg, communication module 190 of FIG. 1 or communication circuitry 302 of FIG. 3 ). circuitry 302 and at least one processor (eg, processor 120 of FIG. 1 or processor 304 of FIG. 3 ), the at least one processor (eg, processor 120 of FIG. 1 ). The processor 120 of or the processor 304 of FIG. 3 , through the communication circuit (eg, the communication module 190 of FIG. 1 or the communication circuit 302 of FIG. 3 ), the first external electronic device (eg : From the electronic device 102 of FIG. 1 or the first external electronic device 210 of FIG. 2 or 4 , the first external electronic device (eg, the electronic device 102 of FIG. 1 , or the first external electronic device 210 of FIG. 2 or 4 ). Receiving a first signal including information related to an event occurring in the first external electronic device 210 of FIG. 4 , and receiving the first external electronic device (eg, the electronic device 102 of FIG. 1 or FIG. 2 or At least one second external electronic device (eg, the second external electronic device of FIG. 2 ) corresponding to the event is selected by using the first application for performing a function related to the first external electronic device 210 of FIG. 4 . 220), and based on the confirmation that the condition is satisfied, the at least one second corresponding to the event is performed using the first application. The functions of external electronic devices (eg, the second external electronic devices 220 of FIG. 2 ) are checked, and the at least one second external electronic device (eg, the second external electronic devices 220 of FIG. 2 ) is checked. ), so that the at least one second external electronic device (eg, the second external electronic devices 220 of FIG. 2 ) performs the identified function, It may be configured to control second external electronic devices (eg, the second external electronic devices 220 of FIG. 2 ).

다양한 실시 예들에 따르면, 상기 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(304))는, 상기 제2 어플리케이션을 사용하여, 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))가 상기 확인된 기능을 수행하도록 요청하는 제2 신호를 생성하고, 및 상기 통신 회로(예: 도 1의 통신 모듈(190) 또는 도 3의 통신 회로(302))를 통해, 상기 제2 신호를 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))의 기능을 제어하는 제3 외부 전자 장치(예: 도 1의 서버(108), 또는 도 2 또는 도 5의 제3 외부 전자 장치(230))로 송신하도록 구성될 수 있다.According to various embodiments, the at least one processor (eg, the processor 120 of FIG. 1 or the processor 304 of FIG. 3 ) uses the second application to perform the at least one second external electronic device ( Example: The second external electronic devices 220 of FIG. 2 generate a second signal requesting to perform the identified function, and the communication circuit (eg, the communication module 190 of FIG. 1 or FIG. 3 A third external electronic device that controls the function of the at least one second external electronic device (eg, the second external electronic devices 220 of FIG. 2 ) through the communication circuit 302 of FIG. (eg, the server 108 of FIG. 1 or the third external electronic device 230 of FIG. 2 or 5).

다양한 실시 예들에 따르면, 상기 설정된 조건은, 상기 제1 신호가 수신되는 조건, 상기 제1 신호가 수신되고, 상기 제1 신호가 수신된 시점이 설정 시간 대에 포함되는 조건, 상기 제1 신호가 수신되고, 상기 이벤트가 발생된 지역이 설정 지역에 포함되는 조건, 또는 상기 제1 신호가 수신되고, 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))의 상태가 설정된 상태인 조건 중 적어도 하나를 포함할 수 있다.According to various embodiments, the set condition is a condition in which the first signal is received, a condition in which the first signal is received, and a time point at which the first signal is received is included in a set time zone, the first signal is received, and a condition in which the region where the event occurred is included in a set region, or the first signal is received, and the at least one second external electronic device (eg, the second external electronic devices 220 of FIG. 2 ) ) may include at least one of the conditions in which the state is set.

다양한 실시 예들에 따르면, 상기 제2 신호는 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))에 대한 제어 정보를 포함할 수 있으며, 및 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))에 대한 제어 정보는 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))의 장치 식별자(identifier: ID), 또는 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))에 의해 수행될 기능에 대한 정보 중 적어도 하나를 포함할 수 있다.According to various embodiments, the second signal may include control information for the at least one second external electronic device (eg, the second external electronic devices 220 of FIG. 2 ), and the at least one The control information for the second external electronic device (eg, the second external electronic devices 220 of FIG. 2 ) is the at least one second external electronic device (eg, the second external electronic devices 220 of FIG. 2 ). )), or at least one of information about a function to be performed by the at least one second external electronic device (eg, the second external electronic devices 220 of FIG. 2 ). can do.

다양한 실시 예들에 따르면, 상기 전자 장치(예: 도 1, 또는 도 2 또는 도 3의 전자 장치(101))는 메모리(예: 도 1의 메모리(130) 또는 도 3의 메모리(306))를 더 포함할 수 있고, 상기 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(304))는, 상기 통신 회로(예: 도 1의 통신 모듈(190) 또는 도 3의 통신 회로(302))를 통해, 상기 제3 외부 전자 장치(예: 도 1의 서버(108), 또는 도 2 또는 도 5의 제3 외부 전자 장치(230))로부터 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))를 포함하는 다수의 제2 외부 전자 장치들(예: 도 2의 제2 외부 전자 장치들(220)) 각각에 대한 정보를 수신하고, 및 상기 제2 어플리케이션을 사용하여 상기 수신된 상기 다수의 제2 외부 전자 장치들(예: 도 2의 제2 외부 전자 장치들(220)) 각각에 대한 정보를 상기 메모리(예: 도 1의 메모리(130) 또는 도 3의 메모리(306))에 저장하도록 더 구성될 수 있다.According to various embodiments, the electronic device (eg, the electronic device 101 of FIG. 1 or 2 or 3) may include a memory (eg, the memory 130 of FIG. 1 or the memory 306 of FIG. 3). The at least one processor (eg, the processor 120 of FIG. 1 or the processor 304 of FIG. 3 ) may further include, the communication circuit (eg, the communication module 190 of FIG. 1 or the processor 304 of FIG. 3 ). The at least one second external electronic device (eg, the server 108 of FIG. 1 or the third external electronic device 230 of FIG. 2 or 5) is transmitted through the communication circuit 302). Information on each of a plurality of second external electronic devices (eg, the second external electronic devices 220 of FIG. 2 ) including the electronic device (eg, the second external electronic devices 220 of FIG. 2 ) receiving information on each of the plurality of second external electronic devices (eg, the second external electronic devices 220 of FIG. memory 130 in 1 or memory 306 in FIG. 3).

다양한 실시 예들에 따르면, 상기 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(304))는, 상기 제2 어플리케이션을 사용하여 상기 다수의 제2 외부 전자 장치들(예: 도 2의 제2 외부 전자 장치들(220)) 각각에 대한 정보를 확인하고, 및 상기 제1 어플리케이션을 사용하여, 상기 다수의 제2 외부 전자 장치들(예: 도 2의 제2 외부 전자 장치들(220)) 각각에 대한 정보에 기반하여, 상기 이벤트에 대응하는 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))의 기능을 설정하도록 더 구성될 수 있다.According to various embodiments, the at least one processor (eg, the processor 120 of FIG. 1 or the processor 304 of FIG. 3 ) uses the second application to control the plurality of second external electronic devices (eg, the processor 120 of FIG. 1 or the processor 304 of FIG. 3 ). : Checking information on each of the second external electronic devices 220 of FIG. 2 , and using the first application, the plurality of second external electronic devices (eg, the second external electronic devices 220 of FIG. 2 ) Further, based on information about each of the devices 220, a function of the at least one second external electronic device (eg, the second external electronic devices 220 of FIG. 2) corresponding to the event is set. can be configured.

다양한 실시 예들에 따르면, 상기 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(304))는, 상기 제2 신호를 상기 제3 외부 전자 장치(예: 도 1의 서버(108), 또는 도 2 또는 도 5의 제3 외부 전자 장치(230))로 송신하기 전에, 상기 통신 회로(예: 도 1의 통신 모듈(190) 또는 도 3의 통신 회로(302))를 통해, 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 2 또는 도 4의 제1 외부 전자 장치(210))로 상기 이벤트에 대응되는 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))의 기능을 수행하도록 요청할지 여부를 확인하기 위한 제3 신호를 송신하고, 및 상기 제3 신호의 송신에 응답하여, 상기 통신 회로(예: 도 1의 통신 모듈(190) 또는 도 3의 통신 회로(302))를 통해, 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 2 또는 도 4의 제1 외부 전자 장치(210))로부터 상기 이벤트에 대응되는 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))의 기능을 수행하도록 요청하는 제4 신호를 수신하도록 더 구성될 수 있다. According to various embodiments, the at least one processor (eg, the processor 120 of FIG. 1 or the processor 304 of FIG. 3 ) transmits the second signal to the third external electronic device (eg, the server of FIG. 1 ). 108, or the third external electronic device 230 of FIG. 2 or 5), the communication circuit (eg, the communication module 190 of FIG. 1 or the communication circuit 302 of FIG. 3) through the at least one second external electronic device corresponding to the event to the first external electronic device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 210 of FIG. 2 or 4). Transmits a third signal for determining whether to request a device (eg, the second external electronic devices 220 of FIG. 2 ) to perform a function, and in response to transmission of the third signal, the communication circuit (eg, the communication module 190 of FIG. 1 or the communication circuit 302 of FIG. 3), the first external electronic device (eg, the electronic device 102 of FIG. 1 or the third electronic device of FIG. 2 or 4) 1 receives a fourth signal requesting the at least one second external electronic device (eg, the second external electronic devices 220 of FIG. 2 ) to perform the function corresponding to the event from the external electronic device 210 It may be further configured to receive.

다양한 실시 예들에 따르면, 상기 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(304))는, 상기 통신 회로(예: 도 1의 통신 모듈(190) 또는 도 3의 통신 회로(302))를 통해, 상기 제3 외부 전자 장치(예: 도 1의 서버(108), 또는 도 2 또는 도 5의 제3 외부 전자 장치(230))로부터 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))에 의해 수행된 상기 기능에 따라 획득된 결과 데이터를 포함하는 제5 신호를 수신하도록 더 구성될 수 있다.According to various embodiments, the at least one processor (eg, the processor 120 of FIG. 1 or the processor 304 of FIG. 3 ) may include the communication circuit (eg, the communication module 190 of FIG. 1 or the processor 304 of FIG. 3 ). The at least one second external electronic device (eg, the server 108 of FIG. 1 or the third external electronic device 230 of FIG. 2 or 5) is transmitted through the communication circuit 302). It may be further configured to receive a fifth signal including result data obtained according to the function performed by the electronic device (eg, the second external electronic devices 220 of FIG. 2 ).

다양한 실시 예들에 따르면, 상기 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(304))는, 상기 제1 신호의 수신에 기반하여, 다수의 제1 어플리케이션들 중 상기 이벤트에 대응되는 상기 제1 어플리케이션을 선택하도록 더 구성될 수 있으며, 및 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 2 또는 도 4의 제1 외부 전자 장치(210))에서 발생한 이벤트에 관련된 정보는 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 2 또는 도 4의 제1 외부 전자 장치(210))에서 발생한 이벤트의 타입을 포함할 수 있다. According to various embodiments of the present disclosure, the at least one processor (eg, the processor 120 of FIG. 1 or the processor 304 of FIG. 3 ) selects the one of a plurality of first applications based on reception of the first signal. It may be further configured to select the first application corresponding to the event, and the first external electronic device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 210 of FIG. 2 or 4 ). )) includes the type of event that occurred in the first external electronic device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 210 of FIG. 2 or 4) can do.

다양한 실시 예들에 따르면, 상기 이벤트는 사용자의 상태에 대응될 수 있으며, 및 상기 사용자 상태는 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 2 또는 도 4의 제1 외부 전자 장치(210))의 적어도 하나의 센서, 카메라, 또는 마이크 중 적어도 하나를 통해 획득되는 값에 기반하여 확인될 수 있다.According to various embodiments, the event may correspond to a user state, and the user state may correspond to the first external electronic device (eg, the electronic device 102 of FIG. 1 or the first electronic device 102 of FIG. 2 or FIG. 4 ). It may be confirmed based on a value obtained through at least one of at least one sensor, camera, or microphone of the external electronic device 210 .

도 8은 다양한 실시 예들에 따른 무선 통신 네트워크에서 취침 상태 이벤트에 기반하는 IoT 서비스가 제공될 경우 전자 장치(101)에서 표시되는 화면 및 제2 외부 전자 장치들(220)에서 수행되는 기능을 설명하기 위한 예시 도면이다.8 illustrates a screen displayed on the electronic device 101 and functions performed by the second external electronic devices 220 when an IoT service based on a sleeping state event is provided in a wireless communication network according to various embodiments of the present disclosure. This is an example drawing for

도 8에 도시되어 있는 전자 장치(101)(예: 도 1, 도 2, 또는 도 3의 전자 장치(101))의 화면들(810, 820)은 취침 상태 이벤트에 기반하는 IoT 서비스가 제공될 경우 표시되는 화면들일 수 있다. 도 8에서는, 취침 상태 이벤트와 관련되는 제2 외부 전자 장치들(220)이 TV, 블라인드, 라이트, 에어 컨디셔너라고 가정될 수 있다. 제1 외부 전자 장치(210)(예: 도 1의 전자 장치(102), 또는 도 2 또는 도 4의 제1 외부 전자 장치(210))는 취침 상태 이벤트가 발생됨을 확인할 수 있다(sleep detected). 일 실시 예에서, 제1 외부 전자 장치(210)는 자이로센서, 가속도센서, 및/또는 지자기 센서를 통해 획득되는 센싱 값들에 기반하여 취침 상태 이벤트가 발생됨을 확인할 수 있다. 제1 외부 전자 장치(210)는 취침 상태 이벤트가 발생함을 확인함에 따라 전자 장치(101)로 제1 외부 전자 장치(210)에서 발생된 취침 상태 이벤트에 관련된 정보를 포함하는 제1 신호를 송신할 수 있다. 제1 외부 전자 장치(210)로부터 제1 신호를 수신한 전자 장치(101)는 제1 외부 전자 장치(210)에서 취침 상태 이벤트가 발생함을 확인하고, 취침 상태 이벤트에 대응되는 제2 외부 전자 장치들(220)(예: TV, 블라인드, 라이트, 에어 컨디셔너)의 기능을 수행하기 위하여 설정된 조건이 만족되는지 여부를 확인할 수 있다. 도 8에서는 설정된 조건이, 취침 상태 이벤트에 관련된 정보를 포함하는 제1 신호를 수신하고, 제1 신호가 수신된 시점이 설정 시간 대(예: 오후 9시부터 오전 6시까지의 시간대)에 포함되고, 취침 상태 이벤트가 발생된 지역이 설정 지역(예: 홈)인 조건일 수 있다. 일 실시 예에서, 전자 장치(101)는 BLE 방식, UWB 방식, 또는 GPS 방식에 기반하여 제1 외부 전자 장치(210)의 위치를 확인할 수 있고, 따라서 취침 상태 이벤트가 발생된 지역 역시 확인할 수 있다. 일 실시 예에서, 제1 외부 전자 장치(210)는 BLE 방식, UWB 방식, 또는 GPS 방식에 기반하여 제1 외부 전자 장치(210)의 자신의 위치를 확인할 수 있고, 확인된 제1 외부 전자 장치(210)의 자신의 위치에 대한 정보를 제1 신호에 포함시킬 수 있고, 전자 장치(101)는 제1 신호에 기반하여 취침 상태 이벤트가 발생된 지역을 확인할 수 있다.The screens 810 and 820 of the electronic device 101 shown in FIG. 8 (eg, the electronic device 101 of FIG. 1, 2, or 3) are used to provide an IoT service based on a sleeping state event. may be screens that are displayed. In FIG. 8 , it may be assumed that the second external electronic devices 220 related to the sleeping state event are a TV, blinds, lights, and an air conditioner. The first external electronic device 210 (eg, the electronic device 102 of FIG. 1 or the first external electronic device 210 of FIGS. 2 or 4 ) can confirm that a sleep state event has occurred (sleep detected). . In an embodiment, the first external electronic device 210 may confirm that a sleeping state event occurs based on sensing values obtained through a gyro sensor, an acceleration sensor, and/or a geomagnetic sensor. Upon confirming that the sleeping state event occurs, the first external electronic device 210 transmits a first signal including information related to the sleeping state event generated by the first external electronic device 210 to the electronic device 101 . can do. Upon receiving the first signal from the first external electronic device 210, the electronic device 101 confirms that a sleeping state event occurs in the first external electronic device 210, and second external electronic device corresponding to the sleeping state event. It may be checked whether conditions set to perform the functions of the devices 220 (eg, TVs, blinds, lights, and air conditioners) are satisfied. In FIG. 8 , the set condition is that a first signal including information related to a sleeping state event is received, and a time point at which the first signal is received is included in a set time zone (eg, a time zone from 9:00 pm to 6:00 am), , It may be a condition that the region in which the sleeping state event has occurred is a set region (eg, home). In an embodiment, the electronic device 101 may determine the location of the first external electronic device 210 based on a BLE method, a UWB method, or a GPS method, and thus may also determine an area where a sleeping state event has occurred. . In an embodiment, the first external electronic device 210 may determine its location based on a BLE method, a UWB method, or a GPS method, and the identified first external electronic device Information on the location of the person 210 may be included in the first signal, and the electronic device 101 may identify an area where a sleeping state event has occurred based on the first signal.

설정된 조건이 만족될 경우, 전자 장치(101)는 취침 상태 이벤트에 대응되는 제2 외부 전자 장치들(220)(예: TV, 블라인드, 라이트, 에어 컨디셔너)의 기능을 확인할 수 있다. 전자 장치(101)는 제3 외부 전자 장치(예: 도 1의 서버(108), 또는 도 2 또는 도 5의 제3 외부 전자 장치(230))로 확인된 취침 상태 이벤트에 대응되는 제2 외부 전자 장치들(220)의 기능을 수행하도록 요청하는 제2 신호를 송신할 수 있다. 도 8에서는, 취침 상태 이벤트에 대응되는 TV, 블라인드, 라이트, 에어 컨디셔너의 기능들이 각각 오프(off), 클로즈드(closed), 오프, 열대야 쾌면 모드/무풍 모드라고 가정될 수 있다. 전자 장치(101)로부터 취침 상태 이벤트에 대응되는 제2 외부 전자 장치들(220)의 기능을 수행하도록 요청하는 제2 신호를 수신한 제3 외부 전자 장치는 해당 기능을 수행하도록 제2 외부 전자 장치들(220)을 제어할 수 있다. When the set conditions are satisfied, the electronic device 101 can check the functions of the second external electronic devices 220 (eg, TV, blinds, lights, and air conditioners) corresponding to the sleeping state event. The electronic device 101 is a second external electronic device corresponding to the sleeping state event identified by the third external electronic device (eg, the server 108 of FIG. 1 or the third external electronic device 230 of FIG. 2 or 5 ). A second signal requesting the electronic devices 220 to perform functions may be transmitted. In FIG. 8 , it may be assumed that functions of the TV, blinds, lights, and air conditioners corresponding to the sleeping state event are off, closed, off, and a tropical night sleep mode/no wind mode, respectively. Upon receiving the second signal requesting the electronic device 101 to perform the function of the second external electronic devices 220 corresponding to the sleeping state event, the third external electronic device performs the corresponding function. 220 can be controlled.

일 실시 예에서, 화면(810)은 전자 장치(101)의 제1 어플리케이션(예: 알람 어플리케이션)이 실행된 경우의 화면일 수 있으며, 제1 어플리케이션에서 설정 메뉴(예: "more" 메뉴)가 입력될 경우 취침 및 기상 시간 설정 메뉴로 진입할 수 있다. 취침 및 기상 시간 설정 메뉴에서 취침 상태 이벤트 기반 IoT 서비스에 대응되는 제2 외부 전자 장치들(220)에 대한 정보가 표시되는 메뉴(811)(예: "Sleep with smart devices" 메뉴)를 사용하여 취침 상태 이벤트와 관련되는 제2 외부 전자 장치들(220)의 기능을 설정할 수 있는 설정 메뉴(821)(예: "Watch sleep detection" 메뉴)로 진입할 수 있다. In one embodiment, the screen 810 may be a screen when a first application (eg, an alarm application) of the electronic device 101 is executed, and a setting menu (eg, a “more” menu) is displayed in the first application. When entered, it is possible to enter the sleep and wake-up time setting menu. Go to bed using a menu 811 (eg, “Sleep with smart devices” menu) displaying information about the second external electronic devices 220 corresponding to the sleeping state event-based IoT service in the bedtime and wake-up time setting menu. A setting menu 821 (eg, “Watch sleep detection” menu) capable of setting functions of the second external electronic devices 220 related to state events may be entered.

도 9는 다양한 실시 예들에 따른 무선 통신 네트워크에서 취침 상태 이벤트에 기반하는 IoT 서비스가 제공될 경우 전자 장치(101)에서 표시되는 화면을 설명하기 위한 예시 도면이다.9 is an exemplary diagram for explaining a screen displayed on the electronic device 101 when an IoT service based on a sleeping state event is provided in a wireless communication network according to various embodiments.

도 9에 도시되어 있는 전자 장치(101)(예: 도 1, 또는 도 2 또는 도 3의 전자 장치(101))의 화면들(910, 920)은 취침 상태 이벤트에 기반하는 IoT 서비스가 제공될 경우 표시되는 화면들일 수 있다. 도 8에서 설명한 바와 같이 전자 장치(101)에서 제1 어플리케이션이 실행될 경우, 제1 어플리케이션에서 설정 메뉴(예: "more" 메뉴)가 입력되면 취침 및 기상 시간 설정 메뉴로 진입할 수 있다. 취침 및 기상 시간 설정 메뉴에서 취침 상태 이벤트 기반 IoT 서비스에 대응되는 제2 외부 전자 장치들(예: 도 2의 제2 외부 전자 장치들(220))에 대한 정보가 표시되는 메뉴(911)(예: "Sleep with smart devices" 메뉴)를 사용하여 취침 상태 이벤트와 관련되는 제2 외부 전자 장치들의 기능을 설정할 수 있는 설정 메뉴(821)(예: "Watch sleep detection" 메뉴)로 진입할 수 있다.Screens 910 and 920 of the electronic device 101 shown in FIG. 9 (eg, the electronic device 101 of FIG. 1 , 2 , or 3 ) may provide IoT services based on a sleeping state event. may be screens that are displayed. As described with reference to FIG. 8 , when the first application is executed in the electronic device 101, when a setting menu (eg, “more” menu) is input in the first application, a sleep and wake-up time setting menu may be entered. A menu 911 displaying information about second external electronic devices (eg, the second external electronic devices 220 of FIG. 2 ) corresponding to the sleeping state event-based IoT service in the bedtime and wake-up time setting menu (eg, the menu 911) A setting menu 821 (eg, a "Watch sleep detection" menu) capable of setting functions of second external electronic devices related to a sleeping state event may be entered using the "Sleep with smart devices" menu.

도 10은 다양한 실시 예들에 따른 무선 통신 네트워크에서 운동 상태 이벤트에 기반하는 IoT 서비스가 제공될 경우 전자 장치(101)에서 표시되는 화면 및 제2 외부 전자 장치들(220)에서 수행되는 기능을 설명하기 위한 예시 도면이다.10 illustrates a screen displayed on an electronic device 101 and functions performed by second external electronic devices 220 when an IoT service based on an exercise state event is provided in a wireless communication network according to various embodiments of the present disclosure. This is an example drawing for

도 10에 도시되어 있는 전자 장치(101)(예: 도 1, 또는 도 2 또는 도 3의 전자 장치(101))의 화면(1010)은 운동 상태 이벤트에 기반하는 IoT 서비스가 제공될 경우 표시되는 화면일 수 있다. 도 10에서는, 운동 상태 이벤트와 관련되는 제2 외부 전자 장치들(220)이 에어 컨디셔너(air conditioner: AC), 공기 청정기(air purifier: AP)라고 가정될 수 있다. 제1 외부 전자 장치(210)(예: 도 1의 전자 장치(102), 또는 도 2 또는 도 4의 제1 외부 전자 장치(210))는 운동 상태 이벤트가 발생됨을 확인할 수 있다. 일 실시 예에서, 제1 외부 전자 장치(210)는 자이로센서, 가속도센서, 및/또는 심박수 측정 센서를 통해 획득되는 센싱 값들에 기반하여 운동 상태 이벤트가 발생됨을 확인할 수 있다. 제1 외부 전자 장치(210)는 운동 상태 이벤트가 발생함을 확인함에 따라 전자 장치(101)로 제1 외부 전자 장치(210)에서 발생된 운동 상태 이벤트에 관련된 정보를 포함하는 제1 신호를 송신할 수 있다. 제1 외부 전자 장치(210)로부터 제1 신호를 수신한 전자 장치(101)는 제1 외부 전자 장치(210)에서 운동 상태 이벤트가 발생함을 확인하고, 운동 상태 이벤트에 대응되는 제2 외부 전자 장치들(220)(예: 에어 컨티셔너, 공기 청정기)의 기능을 수행하기 위하여 설정된 조건이 만족되는지 여부를 확인할 수 있다. 도 10에서는 설정된 조건이 운동 상태 이벤트에 관련된 정보를 포함하는 제1 신호를 수신하고, 운동 상태 이벤트가 발생된 지역이 설정 지역(예: 홈)인 조건일 수 있다. 일 실시 예에서, 일 예로, 전자 장치(101)는 BLE 방식, UWB 방식, 또는 GPS 방식에 기반하여 제1 외부 전자 장치(210)의 위치를 확인할 수 있고, 따라서 운동 상태 이벤트가 발생된 지역 역시 확인할 수 있다. 다른 예로, 제1 외부 전자 장치(210)는 BLE 방식, UWB 방식, 또는 GPS 방식에 기반하여 제1 외부 전자 장치(210)의 자신의 위치를 확인할 수 있고, 확인된 제1 외부 전자 장치(210)의 자신의 위치에 대한 정보를 제1 신호에 포함시킬 수 있고, 전자 장치(101)는 제1 신호에 기반하여 운동 상태 이벤트가 발생된 지역을 확인할 수 있다.The screen 1010 of the electronic device 101 shown in FIG. 10 (eg, the electronic device 101 of FIG. 1, 2, or 3) is displayed when an IoT service based on an exercise state event is provided. It could be a screen. In FIG. 10 , it may be assumed that the second external electronic devices 220 related to the exercise state event are an air conditioner (AC) and an air purifier (AP). The first external electronic device 210 (eg, the electronic device 102 of FIG. 1 or the first external electronic device 210 of FIGS. 2 or 4 ) may confirm that an exercise state event has occurred. In an embodiment, the first external electronic device 210 may check that an exercise state event is generated based on sensing values obtained through a gyro sensor, an acceleration sensor, and/or a heart rate sensor. The first external electronic device 210 transmits a first signal including information related to the exercise state event generated in the first external electronic device 210 to the electronic device 101 upon confirming that an exercise state event has occurred. can do. Upon receiving the first signal from the first external electronic device 210, the electronic device 101 confirms that an exercise state event has occurred in the first external electronic device 210, and the second external electronic device corresponding to the exercise state event It may be checked whether conditions set for performing the functions of the devices 220 (eg, air conditioners and air cleaners) are satisfied. In FIG. 10 , the set condition may be a condition in which a first signal including information related to an exercise state event is received and an area in which the exercise state event is generated is a set area (eg, home). In one embodiment, for example, the electronic device 101 may check the location of the first external electronic device 210 based on the BLE method, the UWB method, or the GPS method, and accordingly, the area where the exercise state event has occurred is also determined. You can check. As another example, the first external electronic device 210 may determine its location based on the BLE method, the UWB method, or the GPS method, and the identified first external electronic device 210 ) may include information on its own location in the first signal, and the electronic device 101 may identify a region where an exercise state event has occurred based on the first signal.

설정된 조건이 만족될 경우, 전자 장치(101)는 운동 상태 이벤트에 대응되는 제2 외부 전자 장치들(220)(예: 에어 컨디셔너, 공기 청정기)의 기능을 확인할 수 있다. 제2 외부 전자 장치들(220)(예: 에어 컨티셔너, 공기 청정기)의 기능을 확인한 후, 전자 장치(101)는 제1 외부 전자 장치(210)로 운동 상태 이벤트에 대응되는 제2 외부 전자 장치들(220)(예: 에어 컨티셔너, 공기 청정기)의 기능을 수행하도록 요청할지 여부를 확인하는 제3 신호를 송신할 수 있다. 전자 장치(101)로부터 제3 신호를 수신한 제1 외부 전자 장치(210)는 운동 상태 이벤트에 대응되는 제2 외부 전자 장치들(220)의 기능을 수행하도록 요청할지 여부를 확인하는 메시지(You started working out! Turn on A/C & Turn on A/P)를 UI를 통해 표시할 수 있다. 제1 외부 전자 장치(210)는 UI를 통해 운동 상태 이벤트에 대응되는 제2 외부 전자 장치들(220)의 기능을 수행하도록 요청될 경우, 전자 장치(101)로 운동 상태 이벤트에 대응되는 제2 외부 전자 장치들(220)의 기능을 수행하도록 요청하는 제4 신호를 송신할 수 있다. When the set conditions are satisfied, the electronic device 101 may check the functions of the second external electronic devices 220 (eg, air conditioners and air purifiers) corresponding to the exercise state event. After checking the functions of the second external electronic devices 220 (eg, air conditioner, air purifier), the electronic device 101 sends the first external electronic device 210 to the second external electronic device 210 corresponding to the exercise state event. A third signal for confirming whether to request the electronic devices 220 (eg, air conditioners and air purifiers) to perform their functions may be transmitted. Upon receiving the third signal from the electronic device 101, the first external electronic device 210 sends a message (You started working out! Turn on A/C & Turn on A/P) can be displayed through the UI. When the first external electronic device 210 is requested to perform the function of the second external electronic devices 220 corresponding to the exercise state event through the UI, the second external electronic device 210 corresponding to the exercise state event is sent to the electronic device 101. A fourth signal requesting the external electronic devices 220 to perform functions may be transmitted.

제1 외부 전자 장치(210)로부터 제4 신호를 수신한 전자 장치(101)는 제3 외부 전자 장치(예: 도 1의 서버(108) ,또는 도 2 또는 도 5의 제3 외부 전자 장치(230))로 확인된 운동 상태 이벤트에 대응되는 제2 외부 전자 장치들(220)의 기능을 수행하도록 요청하는 제2 신호를 송신할 수 있다. 도 10에서는, 운동 상태 이벤트에 대응되는 에어 컨디셔너 및 공기 청정기의 기능들 각각이 각각 온(on)이라고 가정될 수 있다. 전자 장치(101)로부터 운동 상태 이벤트에 대응되는 제2 외부 전자 장치들(220)의 기능을 수행하도록 요청하는 제2 신호를 수신한 제3 외부 전자 장치는 해당 기능을 수행하도록 제2 외부 전자 장치들(220)을 제어할 수 있다. 일 실시 예에서, 화면(1010)은 전자 장치(101)의 제1 어플리케이션(예: 헬스 어플리케이션)이 실행된 경우의 화면일 수 있다. 아이콘(1000)은 IoT 기반의 어플리케이션(예: 삼성 스마트싱스 어플리케이션) 아이콘 일 수 있다. IoT 기반의 어플리케이션은 사용자의 아이콘(1000)에 대한 입력을 통해 실행될 수 있으며, 제2 외부 전자 장치들(220)을 제어 및/또는 관리할 수 있다. 예를 들어, 아이콘(1000)에 대한 입력이 검출될 경우, 전자 장치(101)는 IoT 기반의 어플리케이션을 사용하여(예: 제2 외부 전자 장치들(220)을 제어 및/관리할 수 있는 UI를 디스플레이하여) 제2 외부 전자 장치들(220)을 제어 및/또는 관리할 수 있다.Upon receiving the fourth signal from the first external electronic device 210, the electronic device 101 sends a third external electronic device (eg, the server 108 of FIG. 1 or the third external electronic device of FIG. 2 or 5 ( In 230), a second signal requesting the second external electronic devices 220 to perform functions corresponding to the confirmed exercise state event may be transmitted. In FIG. 10 , it may be assumed that functions of the air conditioner and the air cleaner corresponding to the exercise state event are turned on. Upon receiving the second signal requesting the electronic device 101 to perform the function of the second external electronic devices 220 corresponding to the exercise state event, the third external electronic device performs the corresponding function. 220 can be controlled. In an embodiment, the screen 1010 may be a screen when a first application (eg, a health application) of the electronic device 101 is executed. The icon 1000 may be an icon for an IoT-based application (eg, Samsung SmartThings application). The IoT-based application can be executed through a user's input to the icon 1000 and can control and/or manage the second external electronic devices 220 . For example, when an input to the icon 1000 is detected, the electronic device 101 uses an IoT-based application (eg, a UI capable of controlling and/or managing the second external electronic devices 220). By displaying), the second external electronic devices 220 may be controlled and/or managed.

도 10에 별도로 도시되어 있지는 않으나, 도 8에서 설명한 취침 상태 이벤트 기반 IoT 서비스에 대응되는 제2 외부 전자 장치들(220)의 기능을 설정하는 경우와 유사하게, 제1 어플리케이션에서 설정 메뉴(예: "more" 메뉴)가 입력될 경우 운동 상태 이벤트 기반 IoT 서비스에 대응되는 제2 외부 전자 장치들(220)에 대한 정보가 표시되는 메뉴가 표시될 수 있다. 운동 상태 이벤트 기반 IoT 서비스에 대응되는 제2 외부 전자 장치들(220)에 대한 정보가 표시되는 메뉴를 사용하여 운동 상태 이벤트와 관련되는 제2 외부 전자 장치들(220)의 기능을 설정할 수 있는 설정 메뉴로 진입할 수 있다. Although not separately shown in FIG. 10 , similar to the case of setting functions of the second external electronic devices 220 corresponding to the sleeping state event-based IoT service described in FIG. 8 , a setting menu (eg: When “more” menu) is input, a menu displaying information about the second external electronic devices 220 corresponding to the exercise state event-based IoT service may be displayed. Settings in which functions of the second external electronic devices 220 related to the exercise state event can be set using a menu displaying information on the second external electronic devices 220 corresponding to the exercise state event-based IoT service. You can enter the menu.

도 10에서는, 일 예로, 제1 어플리케이션이 헬스 어플리케이션인 경우에 대해서 설명하였으나, 헬스 어플리케이션과 마찬가지로 알람 어플리케이션 및/또는 SOS 어플리케이션 각각 역시 해당하는 제2 외부 전자 장치들의 기능을 제어할 수 있다. 도 10에서는 제2 외부 전자 장치들이 헬스 어플리케이션과 관련되므로 에어 컨디셔너 및 공기 청정기를 포함하지만, 알람 어플리케이션 및/또는 SOS 어플리케이션이 사용될 경우 해당하는 제2 외부 전자 장치들은 헬스 어플리케이션이 사용될 경우의 제2 외부 전자 장치들과 다를 수 있다. In FIG. 10 , as an example, the case where the first application is a health application has been described. However, like the health application, each of the alarm application and/or the SOS application may also control functions of corresponding second external electronic devices. In FIG. 10 , the second external electronic devices are related to the health application and thus include the air conditioner and the air purifier. However, when the alarm application and/or the SOS application are used, the corresponding second external electronic devices are the second external electronic devices when the health application is used. It may be different from electronic devices.

도 11은 다양한 실시 예들에 따른 무선 통신 네트워크에서 코골이 상태 이벤트에 기반하는 IoT 서비스가 제공될 경우 제2 외부 전자 장치들(220)에서 수행되는 기능을 설명하기 위한 예시 도면이다.11 is an exemplary diagram for explaining functions performed by second external electronic devices 220 when an IoT service based on a snoring state event is provided in a wireless communication network according to various embodiments.

도 11을 참조하면, 코골이 상태 이벤트와 관련되는 제2 외부 전자 장치들(220)은 IoT 카메라라고 가정될 수 있다. 제1 외부 전자 장치(210)(예: 도 1의 전자 장치(102), 또는 도 2 또는 도 4의 제1 외부 전자 장치(210))는 코골이 상태 이벤트가 발생됨을 확인할 수 있다(Snoring Detected). 일 실시 예에서, 제1 외부 전자 장치(210)는 자이로센서, 가속도센서, 및/또는 지자기 센서를 통해 획득되는 센싱 값들, 및/또는 마이크를 통해 획득되는 소리 값에 기반하여 코골이 상태 이벤트가 발생됨을 확인할 수 있다. 제1 외부 전자 장치(210)는 코골이 상태 이벤트가 발생함을 확인함에 따라 전자 장치(예: 도 1, 도 2, 또는 도 3의 전자 장치(101))로 제1 외부 전자 장치(210)에서 발생된 코골이 상태 이벤트에 관련된 정보를 포함하는 제1 신호를 송신할 수 있다. 제1 외부 전자 장치(210)로부터 제1 신호를 수신한 전자 장치는 제1 신호에 포함되어 있는 제1 외부 전자 장치(210)에서 발생한 이벤트와 관련된 정보로부터 제1 외부 전자 장치(210)에서 발생한 이벤트의 타입을 확인할 수 있고, 확인된 이벤트의 타입에 기반하여 제1 외부 전자 장치(210)와 관련된 기능을 수행하기 위한 제1 어플리케이션을 결정할 수 있다. 전자 장치는 제1 어플리케이션을 사용하여 제1 외부 전자 장치(210)에서 코골이 상태 이벤트가 발생함을 확인하고, 코골이 상태 이벤트에 대응되는 제2 외부 전자 장치들(220)(예: IoT 카메라)의 기능을 수행하기 위하여 설정된 조건이 만족되는지 여부를 확인할 수 있다. 도 11에서는 설정된 조건이 코골이 상태 이벤트에 관련된 정보를 포함하는 제1 신호를 수신하고, 코골이 상태 이벤트가 발생된 지역이 설정 지역(예: 홈)인 조건일 수 있다. 일 실시 예에서, 일 예로, 전자 장치는 BLE 방식, UWB 방식, 또는 GPS 방식에 기반하여 제1 외부 전자 장치(210)의 위치를 확인할 수 있고, 따라서 코골이 상태 이벤트가 발생된 지역 역시 확인할 수 있다. 다른 예로, 제1 외부 전자 장치(210)는 BLE 방식, UWB 방식, 또는 GPS 방식에 기반하여 제1 외부 전자 장치(210)의 자신의 위치를 확인할 수 있고, 확인된 제1 외부 전자 장치(210)의 자신의 위치에 대한 정보를 제1 신호에 포함시킬 수 있고, 전자 장치는 제1 신호에 기반하여 코골이 상태 이벤트가 발생된 지역을 확인할 수 있다.Referring to FIG. 11 , it may be assumed that the second external electronic devices 220 related to the snoring state event are IoT cameras. The first external electronic device 210 (eg, the electronic device 102 of FIG. 1 or the first external electronic device 210 of FIG. 2 or 4 ) can confirm that a snoring state event has occurred (Snoring Detected ). In one embodiment, the first external electronic device 210 generates a snoring state event based on sensing values obtained through a gyro sensor, acceleration sensor, and/or a geomagnetic sensor, and/or sound values obtained through a microphone. occurrence can be confirmed. When the first external electronic device 210 confirms that the snoring state event occurs, the electronic device (eg, the electronic device 101 of FIGS. 1, 2, or 3) sends the first external electronic device 210 A first signal including information related to the snoring state event generated in may be transmitted. Upon receiving the first signal from the first external electronic device 210, the electronic device receives the information related to the event that occurred in the first external electronic device 210 included in the first signal. The type of event may be identified, and a first application for performing a function related to the first external electronic device 210 may be determined based on the identified event type. The electronic device confirms that a snoring state event occurs in the first external electronic device 210 using the first application, and the second external electronic devices 220 (eg, IoT camera) corresponding to the snoring state event ), it is possible to check whether the set conditions are satisfied in order to perform the function. In FIG. 11 , the set condition may be a condition in which a first signal including information related to a snoring state event is received and an area in which the snoring state event occurs is a set region (eg, home). In one embodiment, for example, the electronic device may determine the location of the first external electronic device 210 based on a BLE method, a UWB method, or a GPS method, and thus may also determine an area where a snoring state event has occurred. there is. As another example, the first external electronic device 210 may determine its location based on the BLE method, the UWB method, or the GPS method, and the identified first external electronic device 210 ) may include information about its own location in the first signal, and the electronic device may identify a region where a snoring state event has occurred based on the first signal.

설정된 조건이 만족될 경우, 전자 장치는 코골이 상태 이벤트에 대응되는 제2 외부 전자 장치들(220)(예: IoT 카메라)의 기능을 확인할 수 있다. 제2 외부 전자 장치들(220)(예: IoT 카메라)의 기능을 확인한 후, 전자 장치는 제3 외부 전자 장치(예: 도 1의 서버(108), 또는 도 2 또는 도 5의 제3 외부 전자 장치(230))로 확인된 코골이 상태 이벤트에 대응되는 제2 외부 전자 장치들(220)의 기능을 수행하도록 요청하는 제2 신호를 송신할 수 있다. 도 10에서는, 코골이 상태 이벤트에 대응되는 카메라의 기능이 온(on)이고, 설정 시간(예: 20분) 동안 촬영 및 보고하는 기능이라고 가정될 수 있다. 전자 장치로부터 코골이 상태 이벤트에 대응되는 제2 외부 전자 장치들(220)의 기능을 수행하도록 요청하는 제2 신호를 수신한 제3 외부 전자 장치는 해당 기능을 수행하도록 제2 외부 전자 장치들(220)을 제어할 수 있다. 제3 외부 전자 장치의 제어에 따라 제2 외부 전자 장치들(220)은 코골이 상태 이벤트에 대응되는 기능을 수행할 수 있다. 예를 들어, IoT 카메라는 설정 시간 동안 촬영하고, 촬영된 영상을 제3 외부 전자 장치로 송신할 수 있다. 제3 외부 전자 장치는 IoT 카메라로부터 수신한 촬영된 영상을 전자 장치로 송신할 수 있다. 따라서, 전자 장치는 IoT 카메라에 의해 촬영된 영상을 수신할 수 있고, 필요에 따라(예: 촬영된 영상에 대한 재생이 요구될 경우) IoT 카메라에 의해 촬영된 영상을 출력할 수 있다.When the set condition is satisfied, the electronic device may check the function of the second external electronic devices 220 (eg, IoT camera) corresponding to the snoring state event. After checking the functions of the second external electronic devices 220 (eg, IoT cameras), the electronic device determines the third external electronic device (eg, the server 108 of FIG. 1 or the third external electronic device of FIG. 2 or 5 ). A second signal requesting the electronic device 230 to perform a function of the second external electronic devices 220 corresponding to the confirmed snoring state event may be transmitted. In FIG. 10 , it may be assumed that the function of the camera corresponding to the snoring state event is on, and is a function of photographing and reporting for a set time (eg, 20 minutes). Upon receiving the second signal requesting the electronic device to perform the function of the second external electronic devices 220 corresponding to the snoring state event, the third external electronic device sends the second external electronic device to perform the corresponding function ( 220) can be controlled. According to the control of the third external electronic device, the second external electronic devices 220 may perform functions corresponding to the snoring state event. For example, the IoT camera may take pictures for a set time and transmit the captured images to a third external electronic device. The third external electronic device may transmit the photographed image received from the IoT camera to the electronic device. Accordingly, the electronic device may receive an image captured by the IoT camera and output the image captured by the IoT camera as needed (eg, when reproduction of the captured image is requested).

일 실시 예에서, 도 11에 별도로 도시되어 있지는 않으나, 도 8에서 설명한 취침 상태 이벤트 기반 IoT 서비스에 대응되는 제2 외부 전자 장치들(220)의 기능을 설정하는 경우와 유사하게, 제1 어플리케이션에서 설정 메뉴(예: "more" 메뉴)가 입력될 경우 코골이 상태 이벤트 기반 IoT 서비스에 대응되는 제2 외부 전자 장치들(220)에 대한 정보가 표시되는 메뉴가 표시될 수 있다. 코골이 상태 이벤트 기반 IoT 서비스에 대응되는 제2 외부 전자 장치들(220)에 대한 정보가 표시되는 메뉴를 사용하여 코골이 상태 이벤트와 관련되는 제2 외부 전자 장치들(220)의 기능을 설정할 수 있는 설정 메뉴로 진입할 수 있다. In one embodiment, although not separately shown in FIG. 11, similar to the case of setting the function of the second external electronic devices 220 corresponding to the sleeping state event-based IoT service described in FIG. 8, in the first application When a setting menu (eg, “more” menu) is input, a menu displaying information about the second external electronic devices 220 corresponding to the snoring state event-based IoT service may be displayed. Functions of the second external electronic devices 220 related to the snoring state event can be set using a menu displaying information on the second external electronic devices 220 corresponding to the snoring state event-based IoT service. You can enter the settings menu in

일 실시 예에서, 다양한 실시 예들에 따른 무선 통신 네트워크에서 위험 상태 이벤트에 기반하는 IoT 서비스가 제공될 경우 제2 외부 전자 장치들에서 수행되는 기능에 대해서 설명하면 다음과 같다. In one embodiment, when an IoT service based on a dangerous state event is provided in a wireless communication network according to various embodiments, functions performed by second external electronic devices will be described below.

제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 2 또는 도 4의 제1 외부 전자 장치(210))는 위험 상태 이벤트가 발생됨을 확인할 수 있다. 일 실시 예에서, 제1 외부 전자 장치는 가속도센서, 및/또는 심박수 측정 센서를 통해 획득되는 센싱 값들에 기반하여 위험 상태 이벤트가 발생됨을 확인할 수 있다. 제1 외부 전자 장치는 위험 상태 이벤트가 발생함을 확인함에 따라 전자 장치(예: 도 1, 도 2, 또는 도 3의 전자 장치(101))로 제1 외부 전자 장치에서 발생된 위험 상태 이벤트에 관련된 정보를 포함하는 제1 신호를 송신할 수 있다. 제1 외부 전자 장치로부터 제1 신호를 수신한 전자 장치는 제1 외부 전자 장치에서 위험 상태 이벤트가 발생함을 확인하고, 위험 상태 이벤트에 대응되는 제2 외부 전자 장치들(예: 도 2의 제2 외부 전자 장치들(220))(예: 현관 도어(door))의 기능을 수행하기 위하여 설정된 조건이 만족되는지 여부를 확인할 수 있다. 설정된 조건은 위험 상태 이벤트에 관련된 정보를 포함하는 제1 신호를 수신한 조건일 수 있다.The first external electronic device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 210 of FIGS. 2 or 4 ) may confirm that a dangerous state event has occurred. In an embodiment, the first external electronic device may determine that a dangerous state event is generated based on sensing values obtained through an acceleration sensor and/or a heart rate sensor. As the first external electronic device confirms that a dangerous state event has occurred, the electronic device (eg, the electronic device 101 of FIG. 1 , FIG. 2 , or FIG. 3 ) responds to the dangerous state event generated by the first external electronic device. A first signal including related information may be transmitted. Upon receiving the first signal from the first external electronic device, the electronic device determines that a dangerous state event occurs in the first external electronic device, and sends second external electronic devices corresponding to the dangerous state event (eg, the first external electronic device in FIG. 2 ). 2 It may be checked whether conditions set to perform the function of the external electronic devices 220 (eg, a front door) are satisfied. The set condition may be a condition in which the first signal including information related to the dangerous state event is received.

설정된 조건이 만족될 경우, 전자 장치는 위험 상태 이벤트에 대응되는 제2 외부 전자 장치들(예: 현관 도어)의 기능을 확인할 수 있다. 제2 외부 전자 장치들(예: 현관 도어)의 기능을 확인한 후, 전자 장치는 제3 외부 전자 장치(예: 도 1의 서버(108), 또는 도 2 또는 도 5의 제3 외부 전자 장치(230))로 확인된 위험 상태 이벤트에 대응되는 제2 외부 전자 장치들의 기능을 수행하도록 요청하는 제2 신호를 송신할 수 있다. 일 실시 예에서, 위험 상태 이벤트에 대응되는 현관 도어의 기능이 오픈(open)이라고 가정될 수 있다. 전자 장치로부터 위험 상태 이벤트에 대응되는 제2 외부 전자 장치들의 기능을 수행하도록 요청하는 제2 신호를 수신한 제3 외부 전자 장치는 해당 기능을 수행하도록 제2 외부 전자 장치들을 제어할 수 있다. 제3 외부 전자 장치의 제어에 따라 제2 외부 전자 장치들은 위험 상태 이벤트에 대응되는 기능을 수행할 수 있다. 일 실시 예에 따르면, 위험 상태 이벤트가 발생함을 확인한 전자 장치는 설정된 전화번호(예: 긴급 구조 전화 번호)로 긴급 구조 요청을 위한 통화를 시도할 수 있다.When the set condition is satisfied, the electronic device may check the functions of the second external electronic devices (eg, front door) corresponding to the dangerous state event. After checking the functions of the second external electronic devices (eg, the front door), the electronic device determines the third external electronic device (eg, the server 108 of FIG. 1 or the third external electronic device of FIG. 2 or 5 ( In operation 230), a second signal requesting the second external electronic devices to perform functions corresponding to the identified dangerous state event may be transmitted. In one embodiment, it may be assumed that the function of the front door corresponding to the dangerous state event is open. Upon receiving a second signal requesting the electronic device to perform the function of the second external electronic devices corresponding to the dangerous state event, the third external electronic device may control the second external electronic devices to perform the corresponding function. According to the control of the third external electronic device, the second external electronic devices may perform functions corresponding to the dangerous state event. According to an embodiment, the electronic device that has confirmed that a dangerous state event has occurred may attempt to make a call for an emergency rescue request to a set phone number (eg, an emergency rescue phone number).

일 실시 예에서, 도 8에서 설명한 취침 상태 이벤트 기반 IoT 서비스에 대응되는 제2 외부 전자 장치들의 기능을 설정하는 경우와 유사하게, 제1 어플리케이션에서 설정 메뉴(예: "more" 메뉴)가 입력될 경우 위험 상태 이벤트 기반 IoT 서비스에 대응되는 제2 외부 전자 장치들에 대한 정보가 표시되는 메뉴가 표시될 수 있다. 위험 상태 이벤트 기반 IoT 서비스에 대응되는 제2 외부 전자 장치들에 대한 정보가 표시되는 메뉴를 사용하여 위험 상태 이벤트와 관련되는 제2 외부 전자 장치들의 기능을 설정할 수 있는 설정 메뉴로 진입할 수 있다. In one embodiment, similar to the case of setting functions of second external electronic devices corresponding to the sleeping state event-based IoT service described in FIG. 8 , a setting menu (eg, “more” menu) is input in the first application. In this case, a menu displaying information on second external electronic devices corresponding to the dangerous state event-based IoT service may be displayed. Using a menu displaying information on the second external electronic devices corresponding to the dangerous state event-based IoT service, a setting menu for setting functions of the second external electronic devices related to the dangerous state event may be entered.

다양한 실시 예들에 따르면, 전자 장치(예: 도 1, 또는 도 2 또는 도 3의 전자 장치(101))에서 사물 인터넷 서비스를 제공하는 방법이 제공될 수 있으며, 상기 방법은, 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 2 또는 도 4의 제1 외부 전자 장치(210))로부터, 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 2 또는 도 4의 제1 외부 전자 장치(210))에서 발생한 이벤트와 관련된 정보를 포함하는 제1 신호를 수신하는 동작, 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 2 또는 도 4의 제1 외부 전자 장치(210))와 관련된 기능을 수행하기 위한 제1 어플리케이션을 사용하여, 상기 이벤트에 대응되는 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))의 기능을 수행하기 위하여 설정된 조건이 만족되는지 여부를 확인하는 동작, 상기 조건이 만족됨을 확인함에 기반하여, 상기 제1 어플리케이션을 사용하여, 상기 이벤트에 대응되는 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))의 기능을 확인하는 동작, 및 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))를 제어하기 위한 제2 어플리케이션을 사용하여, 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))가 상기 확인된 기능을 수행하도록, 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))를 제어하는 동작을 포함할 수 있다.According to various embodiments, a method for providing an IoT service in an electronic device (eg, the electronic device 101 of FIG. 1 , 2 or 3 ) may be provided, the method comprising: a first external electronic device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 210 of FIG. 2 or 4), the first external electronic device (eg, the electronic device 102 of FIG. 1, or the first external electronic device 210 of FIG. 2 or an operation of receiving a first signal including information related to an event occurring in the first external electronic device 210 of FIG. 4 , the first external electronic device (eg, the electronic device 102 of FIG. 1 , or At least one second external electronic device (eg, the second external electronic device 210 of FIG. 2 or 4) corresponding to the event is used by using a first application for performing a function related to An operation of checking whether a condition set to perform a function of the external electronic devices 220 is satisfied, and based on checking that the condition is satisfied, the at least one corresponding to the event is performed using the first application. An operation of checking a function of one second external electronic device (eg, the second external electronic devices 220 of FIG. 2 ), and the at least one second external electronic device (eg, the second external electronic device of FIG. 2 ) Using a second application for controlling the devices 220, the at least one second external electronic device (eg, the second external electronic devices 220 of FIG. 2) performs the identified function. , an operation of controlling the at least one second external electronic device (eg, the second external electronic devices 220 of FIG. 2 ).

다양한 실시 예들에 따르면, 상기 제2 어플리케이션을 사용하여, 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))가 상기 확인된 기능을 수행하도록, 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))를 제어하는 동작은, 상기 제2 어플리케이션을 사용하여, 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))가 상기 확인된 기능을 수행하도록 요청하는 제2 신호를 생성하는 동작, 및 상기 제2 신호를 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))의 기능을 제어하는 제3 외부 전자 장치(예: 도 1의 서버(108), 또는 도 2 또는 도 5의 제3 외부 전자 장치(230))로 송신하는 동작을 포함할 수 있다. According to various embodiments, the at least one second external electronic device (eg, the second external electronic devices 220 of FIG. 2 ) performs the identified function by using the second application. An operation of controlling one second external electronic device (eg, the second external electronic devices 220 of FIG. 2 ) is performed using the second application to control the at least one second external electronic device (eg, the second external electronic device 220 of FIG. 2 ). An operation of generating a second signal requesting the second external electronic devices 220 of 2 to perform the identified function, and transmitting the second signal to the at least one second external electronic device (eg, FIG. 2 ). transmitted to a third external electronic device (eg, the server 108 of FIG. 1 or the third external electronic device 230 of FIG. 2 or 5) that controls the functions of the second external electronic devices 220 of action may be included.

다양한 실시 예들에 따르면, 상기 설정된 조건은, 상기 제1 신호가 수신되는 조건, 상기 제1 신호가 수신되고, 상기 제1 신호가 수신된 시점이 설정 시간 대에 포함되는 조건, 상기 제1 신호가 수신되고, 상기 이벤트가 발생된 지역이 설정 지역에 포함되는 조건, 또는 상기 제1 신호가 수신되고, 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))를 포함하는 다수의 제2 외부 전자 장치들(예: 도 2의 제2 외부 전자 장치들(220)) 중 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))의 상태가 설정된 상태인 조건 중 적어도 하나를 포함할 수 있다. According to various embodiments, the set condition is a condition in which the first signal is received, a condition in which the first signal is received, and a time point at which the first signal is received is included in a set time zone, the first signal is received, and a condition in which the region where the event occurred is included in a set region, or the first signal is received, and the at least one second external electronic device (eg, the second external electronic devices 220 of FIG. 2 ) ) Among a plurality of second external electronic devices (eg, the second external electronic devices 220 of FIG. 2 ) including the at least one second external electronic device (eg, the second external electronic devices of FIG. 2 ) The state of (220)) may include at least one of the set state conditions.

다양한 실시 예들에 따르면, 상기 제2 신호는 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))에 대한 제어 정보를 포함할 수 있으며, 및 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))에 대한 제어 정보는 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))의 장치 식별자(identifier: ID), 또는 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))에 의해 수행될 기능에 대한 정보 중 적어도 하나를 포함할 수 있다.According to various embodiments, the second signal may include control information for the at least one second external electronic device (eg, the second external electronic devices 220 of FIG. 2 ), and the at least one The control information for the second external electronic device (eg, the second external electronic devices 220 of FIG. 2 ) is the at least one second external electronic device (eg, the second external electronic devices 220 of FIG. 2 ). )), or at least one of information about a function to be performed by the at least one second external electronic device (eg, the second external electronic devices 220 of FIG. 2 ). can do.

다양한 실시 예들에 따르면, 상기 방법은, 상기 제3 외부 전자 장치(예: 도 1의 서버(108), 또는 도 2 또는 도 5의 제3 외부 전자 장치(230))로부터 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))를 포함하는 다수의 제2 외부 전자 장치들(예: 도 2의 제2 외부 전자 장치들(220)) 각각에 대한 정보를 수신하는 동작, 및 상기 제2 어플리케이션을 사용하여 상기 수신된 상기 다수의 제2 외부 전자 장치들(예: 도 2의 제2 외부 전자 장치들(220)) 각각에 대한 정보를 저장하는 동작을 더 포함할 수 있다. According to various embodiments, the method may include the at least one second electronic device from the third external electronic device (eg, the server 108 of FIG. 1 or the third external electronic device 230 of FIG. 2 or 5). Information on each of a plurality of second external electronic devices (eg, the second external electronic devices 220 of FIG. 2 ) including the external electronic device (eg, the second external electronic devices 220 of FIG. 2 ). and storing the received information on each of the plurality of second external electronic devices (eg, the second external electronic devices 220 of FIG. 2 ) using the second application. can include more.

다양한 실시 예들에 따르면, 상기 방법은, 상기 제2 어플리케이션을 사용하여 상기 다수의 제2 외부 전자 장치들(예: 도 2의 제2 외부 전자 장치들(220)) 각각에 대한 정보를 확인하는 동작, 및 상기 제1 어플리케이션을 사용하여, 상기 다수의 제2 외부 전자 장치들(예: 도 2의 제2 외부 전자 장치들(220)) 각각에 대한 정보에 기반하여, 상기 이벤트에 대응하는 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))의 기능을 설정하는 동작을 더 포함할 수 있다.According to various embodiments, the method may include checking information on each of the plurality of second external electronic devices (eg, the second external electronic devices 220 of FIG. 2 ) using the second application. , and the at least one corresponding to the event based on information on each of the plurality of second external electronic devices (eg, the second external electronic devices 220 of FIG. 2 ) using the first application. An operation of setting a function of one second external electronic device (eg, the second external electronic devices 220 of FIG. 2 ) may be further included.

다양한 실시 예들에 따르면, 상기 방법은, 상기 제2 신호를 상기 제3 외부 전자 장치(예: 도 1의 서버(108), 또는 도 2 또는 도 5의 제3 외부 전자 장치(230))로 송신하기 전에, 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 2 또는 도 4의 제1 외부 전자 장치(210))로 상기 이벤트에 대응되는 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))의 기능을 수행하도록 요청할지 여부를 확인하기 위한 제3 신호를 송신하는 동작, 및 상기 제3 신호의 송신에 응답하여, 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 2 또는 도 4의 제1 외부 전자 장치(210))로부터 상기 이벤트에 대응되는 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))의 기능을 수행하도록 요청하는 제4 신호를 수신하는 동작을 더 포함할 수 있다. According to various embodiments, the method transmits the second signal to the third external electronic device (eg, the server 108 of FIG. 1 or the third external electronic device 230 of FIG. 2 or 5) Before the first external electronic device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 210 of FIG. 2 or 4 ), the at least one second external electronic device corresponding to the event An operation of transmitting a third signal for determining whether to request a function of an electronic device (eg, the second external electronic devices 220 of FIG. 2 ), and in response to transmitting the third signal, The at least one second external electronic device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 210 of FIG. 2 or 4) corresponding to the event from the first external electronic device (eg, the electronic device 102 of FIG. 1 ) : An operation of receiving a fourth signal requesting the second external electronic devices 220 of FIG. 2 to perform functions may be further included.

다양한 실시 예들에 따르면, 상기 방법은 상기 제3 외부 전자 장치(예: 도 1의 서버(108), 또는 도 2 또는 도 5의 제3 외부 전자 장치(230))로부터 상기 적어도 하나의 제2 외부 전자 장치(예: 도 2의 제2 외부 전자 장치들(220))에 의해 수행된 상기 기능에 따라 획득된 결과 데이터를 포함하는 제5 신호를 수신하는 동작을 더 포함할 수 있다. According to various embodiments, the method may include the at least one second external electronic device from the third external electronic device (eg, the server 108 of FIG. 1 or the third external electronic device 230 of FIG. 2 or 5). An operation of receiving a fifth signal including result data obtained according to the function performed by the electronic device (eg, the second external electronic devices 220 of FIG. 2 ) may be further included.

다양한 실시 예들에 따르면, 상기 제1 신호의 수신에 기반하여, 다수의 제1 어플리케이션들 중 상기 이벤트에 대응되는 상기 제1 어플리케이션을 선택하는 동작을 더 포함할 수 있으며, 및 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 2 또는 도 4의 제1 외부 전자 장치(210))에서 발생한 이벤트에 관련된 정보는 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 2 또는 도 4의 제1 외부 전자 장치(210))에서 발생한 이벤트의 타입을 포함할 수 있다.According to various embodiments, the method may further include selecting the first application corresponding to the event from among a plurality of first applications based on reception of the first signal, and the first external electronic device (eg, the electronic device 102 of FIG. 1 or the first external electronic device 210 of FIG. 2 or 4) information related to an event is the first external electronic device (eg, the electronic device of FIG. 1 ( 102) or the type of event that occurred in the first external electronic device 210 of FIG. 2 or 4).

다양한 실시 예들에 따르면, 상기 이벤트는 사용자의 상태에 대응될 수 있으며, 및 상기 사용자 상태는 상기 제1 외부 전자 장치(예: 도 1의 전자 장치(102), 또는 도 2 또는 도 4의 제1 외부 전자 장치(210))의 적어도 하나의 센서, 카메라, 또는 마이크 중 적어도 하나를 통해 획득되는 값에 기반하여 확인될 수 있다.According to various embodiments, the event may correspond to a user state, and the user state may correspond to the first external electronic device (eg, the electronic device 102 of FIG. 1 or the first electronic device 102 of FIG. 2 or FIG. 4 ). It may be confirmed based on a value obtained through at least one of at least one sensor, camera, or microphone of the external electronic device 210 .

Claims (20)

전자 장치에 있어서,
통신 회로; 및
상기 통신 회로와 작동적으로 연결되는 적어도 하나의 프로세서를 포함하고,
상기 적어도 하나의 프로세서는,
상기 통신 회로를 통해, 제1 외부 전자 장치로부터, 상기 제1 외부 전자 장치에서 발생한 이벤트와 관련된 정보를 포함하는 제1 신호를 수신하고,
상기 제1 외부 전자 장치와 관련된 기능을 수행하기 위한 제1 어플리케이션을 사용하여, 상기 이벤트에 대응되는 적어도 하나의 제2 외부 전자 장치의 기능을 수행하기 위하여 설정된 조건이 만족되는지 여부를 확인하고,
상기 조건이 만족됨을 확인함에 기반하여, 상기 제1 어플리케이션을 사용하여, 상기 이벤트에 대응되는 상기 적어도 하나의 제2 외부 전자 장치의 기능을 확인하고, 및
상기 적어도 하나의 제2 외부 전자 장치를 제어하기 위한 제2 어플리케이션을 사용하여, 상기 적어도 하나의 제2 외부 전자 장치가 상기 확인된 기능을 수행하도록, 상기 적어도 하나의 제2 외부 전자 장치를 제어하도록 구성된 전자 장치.
In electronic devices,
communication circuit; and
at least one processor in operative connection with the communication circuitry;
The at least one processor,
Receiving a first signal including information related to an event generated in the first external electronic device from a first external electronic device through the communication circuit;
Checking whether a condition set to perform a function of at least one second external electronic device corresponding to the event is satisfied by using a first application for performing a function related to the first external electronic device;
Based on confirming that the condition is satisfied, using the first application, checking the function of the at least one second external electronic device corresponding to the event, and
Control the at least one second external electronic device so that the at least one second external electronic device performs the identified function by using the second application for controlling the at least one second external electronic device. configured electronics.
제1항에 있어서,
상기 적어도 하나의 프로세서는:
상기 제2 어플리케이션을 사용하여, 상기 적어도 하나의 제2 외부 전자 장치가 상기 확인된 기능을 수행하도록 요청하는 제2 신호를 생성하고, 및
상기 통신 회로를 통해, 상기 제2 신호를 상기 적어도 하나의 제2 외부 전자 장치의 기능을 제어하는 제3 외부 전자 장치로 송신하도록 구성되는 전자 장치.
According to claim 1,
The at least one processor is:
generating a second signal requesting the at least one second external electronic device to perform the identified function by using the second application; and
An electronic device configured to transmit, through the communication circuit, the second signal to a third external electronic device that controls a function of the at least one second external electronic device.
제1항에 있어서,
상기 설정된 조건은:
상기 제1 신호가 수신되는 조건,
상기 제1 신호가 수신되고, 상기 제1 신호가 수신된 시점이 설정 시간 대에 포함되는 조건,
상기 제1 신호가 수신되고, 상기 이벤트가 발생된 지역이 설정 지역에 포함되는 조건, 또는
상기 제1 신호가 수신되고, 상기 적어도 하나의 제2 외부 전자 장치의 상태가 설정된 상태인 조건 중 적어도 하나를 포함하는 전자 장치.
According to claim 1,
The conditions set above are:
a condition in which the first signal is received;
a condition in which the first signal is received and the time when the first signal is received is included in a set time zone;
A condition in which the first signal is received and the area where the event occurs is included in a set area; or
The electronic device including at least one of conditions in which the first signal is received and a state of the at least one second external electronic device is set.
제2항에 있어서,
상기 제2 신호는 상기 적어도 하나의 제2 외부 전자 장치에 대한 제어 정보를 포함하며, 및
상기 적어도 하나의 제2 외부 전자 장치에 대한 제어 정보는 상기 적어도 하나의 제2 외부 전자 장치의 장치 식별자(identifier: ID), 또는 상기 적어도 하나의 제2 외부 전자 장치에 의해 수행될 기능에 대한 정보 중 적어도 하나를 포함하는 전자 장치.
According to claim 2,
The second signal includes control information for the at least one second external electronic device, and
The control information on the at least one second external electronic device may include a device identifier (ID) of the at least one second external electronic device or information about a function to be performed by the at least one second external electronic device. An electronic device including at least one of
제2항에 있어서,
메모리를 더 포함하고,
상기 적어도 하나의 프로세서는:
상기 통신 회로를 통해, 상기 제3 외부 전자 장치로부터 상기 적어도 하나의 제2 외부 전자 장치를 포함하는 다수의 제2 외부 전자 장치들 각각에 대한 정보를 수신하고, 및
상기 제2 어플리케이션을 사용하여 상기 수신된 상기 다수의 제2 외부 전자 장치들 각각에 대한 정보를 상기 메모리에 저장하도록 더 구성되는 전자 장치.
According to claim 2,
contain more memory;
The at least one processor is:
receiving information on each of a plurality of second external electronic devices including the at least one second external electronic device from the third external electronic device through the communication circuit; and
The electronic device further configured to store the received information on each of the plurality of second external electronic devices in the memory by using the second application.
제5항에 있어서,
상기 적어도 하나의 프로세서는:
상기 제2 어플리케이션을 사용하여 상기 다수의 제2 외부 전자 장치들 각각에 대한 정보를 확인하고, 및
상기 제1 어플리케이션을 사용하여, 상기 다수의 제2 외부 전자 장치들 각각에 대한 정보에 기반하여, 상기 이벤트에 대응하는 상기 적어도 하나의 제2 외부 전자 장치의 기능을 설정하도록 더 구성되는 전자 장치.
According to claim 5,
The at least one processor is:
Checking information on each of the plurality of second external electronic devices using the second application; and
The electronic device further configured to set a function of the at least one second external electronic device corresponding to the event, based on information on each of the plurality of second external electronic devices, using the first application.
제2항에 있어서,
상기 적어도 하나의 프로세서는:
상기 제2 신호를 상기 제3 외부 전자 장치로 송신하기 전에, 상기 통신 회로를 통해, 상기 제1 외부 전자 장치로 상기 이벤트에 대응되는 상기 적어도 하나의 제2 외부 전자 장치의 기능을 수행하도록 요청할지 여부를 확인하기 위한 제3 신호를 송신하고, 및
상기 제3 신호의 송신에 응답하여, 상기 통신 회로를 통해, 상기 제1 외부 전자 장치로부터 상기 이벤트에 대응되는 상기 적어도 하나의 제2 외부 전자 장치의 기능을 수행하도록 요청하는 제4 신호를 수신하도록 더 구성되는 전자 장치.
According to claim 2,
The at least one processor is:
Before transmitting the second signal to the third external electronic device, whether to request the first external electronic device to perform the function of the at least one second external electronic device corresponding to the event through the communication circuit. Transmitting a third signal for confirming whether, and
In response to transmission of the third signal, receive a fourth signal requesting the at least one second external electronic device to perform a function corresponding to the event from the first external electronic device through the communication circuit. Electronic devices that are further configured.
제2항에 있어서,
상기 적어도 하나의 프로세서는:
상기 통신 회로를 통해, 상기 제3 외부 전자 장치로부터 상기 적어도 하나의 제2 외부 전자 장치에 의해 수행된 상기 기능에 따라 획득된 결과 데이터를 포함하는 제5 신호를 수신하도록 더 구성되는 전자 장치.
According to claim 2,
The at least one processor is:
The electronic device further configured to receive a fifth signal including result data obtained according to the function performed by the at least one second external electronic device from the third external electronic device through the communication circuit.
제1항에 있어서,
상기 적어도 하나의 프로세서는:
상기 제1 신호의 수신에 기반하여, 다수의 제1 어플리케이션들 중 상기 이벤트에 대응되는 상기 제1 어플리케이션을 선택하도록 더 구성되며, 및
상기 제1 외부 전자 장치에서 발생한 이벤트에 관련된 정보는 상기 제1 외부 전자 장치에서 발생한 이벤트의 타입을 포함하는 전자 장치.
According to claim 1,
The at least one processor is:
Based on reception of the first signal, further configured to select the first application corresponding to the event from among a plurality of first applications, and
The information related to the event occurring in the first external electronic device includes a type of event occurring in the first external electronic device.
제1항에 있어서,
상기 이벤트는 사용자의 상태에 대응되며, 및
상기 사용자 상태는 상기 제1 외부 전자 장치의 적어도 하나의 센서, 카메라, 또는 마이크 중 적어도 하나를 통해 획득되는 값에 기반하여 확인되는 전자 장치.
According to claim 1,
The event corresponds to the state of the user, and
The user state is checked based on a value obtained through at least one of at least one sensor, camera, or microphone of the first external electronic device.
전자 장치에서 사물 인터넷 서비스를 제공하는 방법에 있어서,
제1 외부 전자 장치로부터, 상기 제1 외부 전자 장치에서 발생한 이벤트와 관련된 정보를 포함하는 제1 신호를 수신하는 동작;
상기 제1 외부 전자 장치와 관련된 기능을 수행하기 위한 제1 어플리케이션을 사용하여, 상기 이벤트에 대응되는 적어도 하나의 제2 외부 전자 장치의 기능을 수행하기 위하여 설정된 조건이 만족되는지 여부를 확인하는 동작;
상기 조건이 만족됨을 확인함에 기반하여, 상기 제1 어플리케이션을 사용하여, 상기 이벤트에 대응되는 상기 적어도 하나의 제2 외부 전자 장치의 기능을 확인하는 동작; 및
상기 적어도 하나의 제2 외부 전자 장치를 제어하기 위한 제2 어플리케이션을 사용하여, 상기 적어도 하나의 제2 외부 전자 장치가 상기 확인된 기능을 수행하도록, 상기 적어도 하나의 제2 외부 전자 장치를 제어하는 동작을 포함하는 전자 장치에서 사물 인터넷 서비스를 제공하는 방법.
A method for providing an Internet of Things service in an electronic device,
receiving, from a first external electronic device, a first signal including information related to an event occurring in the first external electronic device;
checking whether a condition set for performing a function of at least one second external electronic device corresponding to the event is satisfied, by using a first application for performing a function related to the first external electronic device;
checking a function of the at least one second external electronic device corresponding to the event, using the first application, based on confirmation that the condition is satisfied; and
Controlling the at least one second external electronic device so that the at least one second external electronic device performs the identified function by using a second application for controlling the at least one second external electronic device. A method for providing Internet of Things services in an electronic device that includes an operation.
제11항에 있어서,
상기 제2 어플리케이션을 사용하여, 상기 적어도 하나의 제2 외부 전자 장치가 상기 확인된 기능을 수행하도록, 상기 적어도 하나의 제2 외부 전자 장치를 제어하는 동작은:
상기 제2 어플리케이션을 사용하여, 상기 적어도 하나의 제2 외부 전자 장치가 상기 확인된 기능을 수행하도록 요청하는 제2 신호를 생성하는 동작; 및
상기 제2 신호를 상기 적어도 하나의 제2 외부 전자 장치의 기능을 제어하는 제3 외부 전자 장치로 송신하는 동작을 포함하는 전자 장치에서 사물 인터넷 서비스를 제공하는 방법.
According to claim 11,
The operation of controlling the at least one second external electronic device so that the at least one second external electronic device performs the identified function by using the second application:
generating a second signal requesting the at least one second external electronic device to perform the identified function by using the second application; and
and transmitting the second signal to a third external electronic device that controls a function of the at least one second external electronic device.
제11항에 있어서,
상기 설정된 조건은:
상기 제1 신호가 수신되는 조건,
상기 제1 신호가 수신되고, 상기 제1 신호가 수신된 시점이 설정 시간 대에 포함되는 조건,
상기 제1 신호가 수신되고, 상기 이벤트가 발생된 지역이 설정 지역에 포함되는 조건, 또는
상기 제1 신호가 수신되고, 상기 적어도 하나의 제2 외부 전자 장치를 포함하는 다수의 제2 외부 전자 장치들 중 상기 적어도 하나의 제2 외부 전자 장치의 상태가 설정된 상태인 조건 중 적어도 하나를 포함하는 전자 장치에서 사물 인터넷 서비스를 제공하는 방법.
According to claim 11,
The conditions set above are:
a condition in which the first signal is received;
a condition in which the first signal is received and the time when the first signal is received is included in a set time zone;
A condition in which the first signal is received and the area where the event occurs is included in a set area; or
at least one of conditions in which the first signal is received and the state of the at least one second external electronic device among a plurality of second external electronic devices including the at least one second external electronic device is set; A method for providing Internet of Things services in an electronic device.
제12항에 있어서,
상기 제2 신호는 상기 적어도 하나의 제2 외부 전자 장치에 대한 제어 정보를 포함하며, 및
상기 적어도 하나의 제2 외부 전자 장치에 대한 제어 정보는 상기 적어도 하나의 제2 외부 전자 장치의 장치 식별자(identifier: ID), 또는 상기 적어도 하나의 제2 외부 전자 장치에 의해 수행될 기능에 대한 정보 중 적어도 하나를 포함하는 전자 장치에서 사물 인터넷 서비스를 제공하는 방법.
According to claim 12,
The second signal includes control information for the at least one second external electronic device, and
The control information on the at least one second external electronic device may include a device identifier (ID) of the at least one second external electronic device or information about a function to be performed by the at least one second external electronic device. A method for providing an Internet of Things (IoT) service in an electronic device comprising at least one of:
제12항에 있어서,
상기 제3 외부 전자 장치로부터 상기 적어도 하나의 제2 외부 전자 장치를 포함하는 다수의 제2 외부 전자 장치들 각각에 대한 정보를 수신하는 동작; 및
상기 제2 어플리케이션을 사용하여 상기 수신된 상기 다수의 제2 외부 전자 장치들 각각에 대한 정보를 저장하는 동작을 더 포함하는 전자 장치에서 사물 인터넷 서비스를 제공하는 방법.
According to claim 12,
receiving information on each of a plurality of second external electronic devices including the at least one second external electronic device from the third external electronic device; and
The method of providing an IoT service in an electronic device further comprising storing the received information on each of the plurality of second external electronic devices by using the second application.
제15항에 있어서,
상기 제2 어플리케이션을 사용하여 상기 다수의 제2 외부 전자 장치들 각각에 대한 정보를 확인하는 동작; 및
상기 제1 어플리케이션을 사용하여, 상기 다수의 제2 외부 전자 장치들 각각에 대한 정보에 기반하여, 상기 이벤트에 대응하는 상기 적어도 하나의 제2 외부 전자 장치의 기능을 설정하는 동작을 더 포함하는 전자 장치에서 사물 인터넷 서비스를 제공하는 방법.
According to claim 15,
checking information on each of the plurality of second external electronic devices using the second application; and
and setting a function of the at least one second external electronic device corresponding to the event based on the information on each of the plurality of second external electronic devices using the first application. How devices provide internet of things services.
제12항에 있어서,
상기 제2 신호를 상기 제3 외부 전자 장치로 송신하기 전에, 상기 제1 외부 전자 장치로 상기 이벤트에 대응되는 상기 적어도 하나의 제2 외부 전자 장치의 기능을 수행하도록 요청할지 여부를 확인하기 위한 제3 신호를 송신하는 동작; 및
상기 제3 신호의 송신에 응답하여, 상기 제1 외부 전자 장치로부터 상기 이벤트에 대응되는 상기 적어도 하나의 제2 외부 전자 장치의 기능을 수행하도록 요청하는 제4 신호를 수신하는 동작을 더 포함하는 전자 장치에서 사물 인터넷 서비스를 제공하는 방법.
According to claim 12,
Before transmitting the second signal to the third external electronic device, a first step for determining whether to request the first external electronic device to perform a function of the at least one second external electronic device corresponding to the event Sending 3 signals; and
In response to transmission of the third signal, receiving a fourth signal requesting the at least one second external electronic device to perform a function corresponding to the event from the first external electronic device. How devices provide internet of things services.
제12항에 있어서,
상기 제3 외부 전자 장치로부터 상기 적어도 하나의 제2 외부 전자 장치에 의해 수행된 상기 기능에 따라 획득된 결과 데이터를 포함하는 제5 신호를 수신하는 동작을 더 포함하는 전자 장치에서 사물 인터넷 서비스를 제공하는 방법.
According to claim 12,
and receiving a fifth signal including result data obtained according to the function performed by the at least one second external electronic device from the third external electronic device. How to.
제11항에 있어서,
상기 제1 신호의 수신에 기반하여, 다수의 제1 어플리케이션들 중 상기 이벤트에 대응되는 상기 제1 어플리케이션을 선택하는 동작을 더 포함하며, 및
상기 제1 외부 전자 장치에서 발생한 이벤트에 관련된 정보는 상기 제1 외부 전자 장치에서 발생한 이벤트의 타입을 포함하는 전자 장치에서 사물 인터넷 서비스를 제공하는 방법.
According to claim 11,
Based on reception of the first signal, selecting the first application corresponding to the event from among a plurality of first applications, and
The method of claim 1 , wherein information related to an event occurring in the first external electronic device includes a type of event occurring in the first external electronic device.
제11항에 있어서,
상기 이벤트는 사용자의 상태에 대응되며, 및
상기 사용자 상태는 상기 제1 외부 전자 장치의 적어도 하나의 센서, 카메라, 또는 마이크 중 적어도 하나를 통해 획득되는 값에 기반하여 확인되는 전자 장치에서 사물 인터넷 서비스를 제공하는 방법.
According to claim 11,
The event corresponds to the state of the user, and
The user state is checked based on a value obtained through at least one of at least one sensor, camera, or microphone of the first external electronic device.
KR1020220056665A 2022-01-26 2022-05-09 Electronic device for providing internet of things service and operating method thereof KR20230115194A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/KR2022/021176 WO2023146137A1 (en) 2022-01-26 2022-12-23 Electronic device for providing internet of things service, and operating method therefor

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20220011846 2022-01-26
KR1020220011846 2022-01-26

Publications (1)

Publication Number Publication Date
KR20230115194A true KR20230115194A (en) 2023-08-02

Family

ID=87566809

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220056665A KR20230115194A (en) 2022-01-26 2022-05-09 Electronic device for providing internet of things service and operating method thereof

Country Status (1)

Country Link
KR (1) KR20230115194A (en)

Similar Documents

Publication Publication Date Title
CN107148786B (en) Method of controlling transmission power and electronic device thereof
CN105519203A (en) Method of controlling short-range wireless communication and apparatus supporting same
CN116686257A (en) Method for providing user interface and electronic device thereof
CN114327332A (en) Internet of things equipment setting method and device, electronic equipment and storage medium
KR20220012042A (en) Edge computing system and method
KR20230115194A (en) Electronic device for providing internet of things service and operating method thereof
US20230254178A1 (en) Server for controlling home network based on sleep state and method for operating the same
KR20230018946A (en) The home appliance device and the method for operating the same
KR20220017057A (en) Electronic device for controlling target electronic device in iot environment and method thereof
KR20220036136A (en) Edge computing system and method for handover of edge computing device
EP4344139A1 (en) Wearable electronic device for controlling plurality of internet-of-things devices, operation method thereof, and storage medium
KR20230119566A (en) Server for controlling home network based on sleeping state and method of operating the same
US20230362259A1 (en) Electronic device for controlling internet of things device and method of operating the same
KR20230057098A (en) Electronic device for providing location-based service and operating method thereof
KR20220136625A (en) Electronic device, and method for performing task with dynamic conditions in electronic device
KR20220118097A (en) Method, apparatus and storage medium for generating control information
KR20240048428A (en) Electronic device for providing emergency service, operating method thereof, and storage medium
WO2023146137A1 (en) Electronic device for providing internet of things service, and operating method therefor
KR20240018290A (en) Method for providing notification and electronic device for supporting the same
KR20230039996A (en) Wearable electronic device for controlling a plurality of iot devices, method for operating thereof and storage medium
EP4276672A1 (en) Electronic device and method for providing private information on expanded screen
EP4319062A1 (en) Home appliance and method for operating home appliance
KR20230078437A (en) Electronic device for controlling external electronic device based on occupant monitoring system and method thereof
KR20240050223A (en) Electronic device for generating video summary and method of operating the same
KR20240029476A (en) Electronic device for providing location-based service and operating method thereof