KR20230087944A - Apparatus and method for providing internet of things services - Google Patents

Apparatus and method for providing internet of things services Download PDF

Info

Publication number
KR20230087944A
KR20230087944A KR1020210176632A KR20210176632A KR20230087944A KR 20230087944 A KR20230087944 A KR 20230087944A KR 1020210176632 A KR1020210176632 A KR 1020210176632A KR 20210176632 A KR20210176632 A KR 20210176632A KR 20230087944 A KR20230087944 A KR 20230087944A
Authority
KR
South Korea
Prior art keywords
electronic device
representative
network
candidate
electronic devices
Prior art date
Application number
KR1020210176632A
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 KR1020210176632A priority Critical patent/KR20230087944A/en
Publication of KR20230087944A publication Critical patent/KR20230087944A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment

Abstract

본 개시의 다양한 실시예는, 사물 인터넷 서비스를 제공하는 장치 및 방법에 관한 것으로, 외부 네트워크 통신 기능에 장애가 생긴 전자 장치에서도 대표 전자 장치의 중계를 통해 사물 인터넷 서버와 통신함으로써 사물 인터넷 서비스를 안정적으로 제공할 수 있다.Various embodiments of the present disclosure relate to a device and method for providing an Internet of Things service, in which an electronic device having a failure in an external network communication function communicates with an Internet of Things server through relaying of a representative electronic device, thereby stably providing the Internet of Things service. can provide

Description

사물 인터넷 서비스 제공 장치 및 방법{APPARATUS AND METHOD FOR PROVIDING INTERNET OF THINGS SERVICES}Apparatus and method for providing Internet of Things service {APPARATUS AND METHOD FOR PROVIDING INTERNET OF THINGS SERVICES}

본 개시의 다양한 실시예들은 외부 네트워크를 기반으로 사물 인터넷 서비스를 제공하는 장치 및 방법에 관한 것이다.Various embodiments of the present disclosure relate to an apparatus and method for providing an IoT service based on an external network.

사물 인터넷(IoT: Internet of Things)은 복수의 기기들이 종류에 상관없이 상호작용할 수 있는 기술이다. IoT 기술은 인공 지능(AI: Artificial Intelligence)의 발달과 무선 기술의 진화로 인해 더 빠르게 자동화되고, 사람들의 생활을 편리하게 만들어 주고 있다. 이러한 IoT 기술은 난방과 조명을 자동으로 조절하는 스마트 홈 또는 스마트 빌딩으로부터 산업 장비를 모니터링하여 고장을 자동으로 감지하고 해결하는 스마트 팩토리에 이르기까지 다양한 분야에 활용될 수 있다.The Internet of Things (IoT) is a technology that allows multiple devices to interact regardless of type. Due to the development of artificial intelligence (AI) and the evolution of wireless technology, IoT technology is automating faster and making people's lives more convenient. These IoT technologies can be used in a variety of fields, from smart homes or smart buildings that automatically adjust heating and lighting to smart factories that automatically detect and resolve faults by monitoring industrial equipment.

기기간 직접 (D2D: Device-to-Device) 통신은 기지국이나 무선접속 공유기와 같은 전파 중계 설비의 도움 없이, 인접한 기기간에 직접 통신하는 기술이다. 예를 들어, 태블릿 PC와 프린터를 기기간 직접 통신으로 연결하면, 태블릿 PC에 저장된 문서와 사진을 프린터를 통해 출력할 수 있다. D2D 통신은 다양한 이점을 제공할 수 있는데, 셀룰러 네트워크 인프라의 커버리지 밖에서도 데이터 전송이 가능하고, 낮은 전송 전력 수준을 요구한다. 특히 LTE 기기간 직접 통신의 경우는 면허 대역(licensed band)을 사용하므로, 간섭을 덜 받고 안정적인 통신이 가능하다.Device-to-Device (D2D) communication is a technology for direct communication between adjacent devices without the help of a radio relay facility such as a base station or a wireless access router. For example, if a tablet PC and a printer are connected through direct device-to-device communication, documents and photos stored in the tablet PC can be output through the printer. D2D communication can provide various advantages, such as enabling data transmission outside the coverage of a cellular network infrastructure and requiring a low transmission power level. In particular, since direct communication between LTE devices uses a licensed band, stable communication is possible with less interference.

사물 인터넷 서비스 환경에 있어서, IoT 기기의 외부 네트워크 접속 기능에 장애가 생겨서 서버와의 통신이 불가하게 되면, 상기 IoT 기기에서는 사물 인터넷 서비스가 중단될 수 있다.In an IoT service environment, when communication with a server becomes impossible due to a failure in an external network access function of an IoT device, the IoT device may stop providing the IoT service.

본 개시의 다양한 실시예들은, 외부 네트워크로의 접속 장애를 고려한 사물 인터넷 서비스를 지원하는 장치와 방법을 제공할 수 있다.Various embodiments of the present disclosure may provide an apparatus and method for supporting an IoT service in consideration of an access failure to an external network.

본 개시의 일 측면에 따르면, 전자 장치는, 하나 이상의 다른 전자 장치와 네트워크를 통해 데이터를 송수신하는 통신부와 적어도 하나의 프로그램을 저장하는 메모리 및 상기 메모리 또는 상기 통신부와 전기적으로 연결되고, 상기 메모리에 저장된 프로그램의 하나 이상의 명령어를 실행하는 적어도 하나의 프로세서를 포함하며, 상기 적어도 하나의 프로세서는, 복수의 전자 장치들의 상기 네트워크와의 접속 가능 여부 또는 상기 네트워크와의 접속 유지 시간을 획득하고, 상기 네트워크와의 접속 가능 여부 또는 상기 접속 유지 시간 중 적어도 하나를 고려하여 상기 복수의 전자 장치들로부터 대표 전자 장치를 결정할 수 있다.According to one aspect of the present disclosure, an electronic device is electrically connected to a communication unit for transmitting and receiving data with one or more other electronic devices through a network, a memory for storing at least one program, and the memory or the communication unit, and the memory and at least one processor that executes one or more instructions of a stored program, wherein the at least one processor obtains whether or not a plurality of electronic devices can connect to the network or a time for maintaining a connection to the network, and A representative electronic device may be determined from among the plurality of electronic devices in consideration of at least one of whether connection with the electronic device is possible or the connection maintenance time.

본 개시의 다른 측면에 따르면, 전자 장치는, 네트워크를 통해 외부 전자 장치와 데이터를 송수신하거나, 직접 통신 방식에 의해 내부 전자 장치와 데이터를 송수신하는 통신부와 적어도 하나의 프로그램을 저장하는 메모리 및 상기 메모리 또는 상기 통신부와 전기적으로 연결되고, 상기 메모리에 저장된 프로그램의 하나 이상의 명령어를 실행하는 적어도 하나의 프로세서를 포함하며, 상기 적어도 하나의 프로세서는 상기 외부 전자 장치로부터 상기 네트워크를 통해 대표 전자 장치로 결정되었음이 통보되면, 스캔 동작을 수행하여 상기 내부 전자 장치와의 직접 통신 채널을 설정하고, 상기 외부 전자 장치로부터 상기 내부 전자 장치로 전송된 하향 데이터를 상기 네트워크를 통해 수신하면, 상기 하향 데이터를 상기 직접 통신 채널을 통해 상기 내부 전자 장치로 전송하며, 상기 내부 전자 장치로부터 상기 외부 전자 장치로 전송된 상향 데이터를 상기 직접 통신 채널을 통해 수신하면, 상기 상향 데이터를 상기 네트워크를 통해 상기 외부 전자 장치로 전송할 수 있다.According to another aspect of the present disclosure, an electronic device includes a communication unit that transmits and receives data with an external electronic device through a network or data with an internal electronic device through a direct communication method, and a memory for storing at least one program, and the memory or at least one processor electrically connected to the communication unit and executing one or more instructions of a program stored in the memory, wherein the at least one processor is determined as a representative electronic device from the external electronic device through the network When this is notified, a scan operation is performed to establish a direct communication channel with the internal electronic device, and when downstream data transmitted from the external electronic device to the internal electronic device is received through the network, the downlink data is sent to the direct electronic device. is transmitted to the internal electronic device through a communication channel, and when upstream data transmitted from the internal electronic device to the external electronic device is received through the direct communication channel, the uplink data is transmitted to the external electronic device through the network. can

본 개시의 또 다른 측면에 따르면, 전자 장치에서의 동작 방법은, 복수의 전자 장치들의 네트워크와의 접속 가능 여부 또는 상기 네트워크와의 접속 유지 시간을 획득하는 동작 및 상기 네트워크와의 접속 가능 여부 또는 상기 접속 유지 시간 중 적어도 하나를 고려하여 상기 복수의 전자 장치들로부터 대표 전자 장치를 결정하는 동작을 포함할 수 있다.According to another aspect of the present disclosure, an operating method in an electronic device may include an operation of obtaining whether or not a plurality of electronic devices can connect to a network or maintaining a connection to the network, and whether or not a plurality of electronic devices can connect to the network or the An operation of determining a representative electronic device from the plurality of electronic devices in consideration of at least one of the connection maintenance times.

본 개시의 또 다른 측면에 따르면, 전자 장치에서의 동작 방법은, 외부 전자 장치로부터 네트워크를 통해 대표 전자 장치로 결정되었음이 통보되면, 스캔 동작을 수행하여 내부 전자 장치와의 직접 통신 채널을 설정하는 동작과 상기 외부 전자 장치로부터 상기 내부 전자 장치로 전송된 하향 데이터를 상기 네트워크를 통해 수신하면, 상기 하향 데이터를 상기 직접 통신 채널을 통해 상기 내부 전자 장치로 전송하는 동작 및 상기 내부 전자 장치로부터 상기 외부 전자 장치로 전송된 상향 데이터를 상기 직접 통신 채널을 통해 수신하면, 상기 상향 데이터를 상기 네트워크를 통해 상기 외부 전자 장치로 전송하는 동작을 포함할 수 있다.According to another aspect of the present disclosure, an operation method in an electronic device includes, when an external electronic device notifies that it has been determined as a representative electronic device through a network, performing a scan operation to establish a direct communication channel with an internal electronic device. and when receiving downlink data transmitted from the external electronic device to the internal electronic device through the network, transmitting the downstream data to the internal electronic device through the direct communication channel and from the internal electronic device to the external electronic device. and transmitting the uplink data to the external electronic device through the network when receiving uplink data transmitted to the electronic device through the direct communication channel.

본 개시의 다양한 실시예들에 따르면, 외부 네트워크로의 접속 장애가 발생한 IoT 기기에서도 사물 인터넷 서비스를 안정적으로 유지할 수 있으며, 스마트 홈, 스마트 팩토리, 스마트 빌딩과 같은 다양한 스마트 라이프 서비스에 활용이 가능할 수 있다.According to various embodiments of the present disclosure, even an IoT device having an access failure to an external network can stably maintain the Internet of Things service, and can be used for various smart life services such as smart homes, smart factories, and smart buildings. .

도 1은, 본 개시의 다양한 실시예에 따른, 사물 인터넷 서비스 제공 시스템의 구성도이다.
도 2는, 본 개시의 일 실시예에 따라, 사물 인터넷 서비스 제공 시스템을 구성하는 하나의 전자 장치에서 외부 네트워크 접속에 장애가 발생한 상황을 도시한 도면이다.
도 3은, 본 개시의 일 실시예에 따른, 서버의 기능 블럭도이다.
도 4는, 본 개시의 일 실시예에 따른, 전자 장치의 기능 블럭도이다.
도 5는, 본 개시의 일 실시예에 따라, 서버가 대표 전자 장치를 결정하는 동작 흐름도이다.
도 6은, 도 5에서 사용자 입력에 의한 대표 전자 장치를 결정하는 동작의 흐름도이다.
도 7은, 도 5에서 네트워크 접속 유지 시간에 의한 대표 전자 장치를 결정하는 동작의 흐름도이다.
도 8은, 본 개시의 일 실시예에 따른, D2D 연결시의 메시지 시퀀스 다이어그램이다.
도 9는, 본 개시의 일 실시예에 따른, 사용자 입력에 의한 대표 전자 장치 변경시의 메시지 시퀀스 다이어그램이다.
도 10은, 본 개시의 일 실시예에 따른, 대표 전자 장치의 동작 흐름도이다.
도 11은, 본 개시의 일 실시예에 따른, 외부 네트워크 접속에 장애가 발생한 전자 장치의 동작 흐름도이다.
도 12는, 본 개시의 일 실시예에 따른, 사물 인터넷 서비스 제공 시스템에서 사용자 발화의 예를 도시한 도면이다.
도 13은, 본 개시의 일 실시예에 따른, 대표 전자 장치의 변경을 도시한 도면이다.
도 14는, 본 개시의 일 실시예에 따라, 대표 전자 장치의 장애로 인해 대표 전자 장치가 변경되는 경우의 서버의 동작 흐름도이다.
도 15는, 본 개시의 일 실시예에 따른, 장애에 의한 대표 전자 장치 변경시의 메시지 시퀀스 다이어그램이다.
도 16은, 본 개시의 일 실시예에 따른, 사물 인터넷 서비스 제공 시스템에 속한 모든 전자 장치에서 외부 네트워크 접속에 장애가 발생한 상황을 도시한 도면이다.
도 17은, 본 개시의 일 실시예에 따른, 사물 인터넷 서비스 제공 시스템에 속한 모든 전자 장치에서 외부 네트워크 접속 장애 발생 및 복구시의 대표 전자 장치의 동작 흐름도이다.
도 18은, 본 개시의 일 실시예에 따른, 서버의 상태 천이도이다.
도 19는, 본 개시의 일 실시예에 따른, 전자 장치의 상태 천이도이다.
1 is a block diagram of an Internet of Things service providing system according to various embodiments of the present disclosure.
2 is a diagram illustrating a situation in which an external network connection failure occurs in one electronic device constituting an Internet of Things service providing system according to an embodiment of the present disclosure.
3 is a functional block diagram of a server, according to one embodiment of the present disclosure.
4 is a functional block diagram of an electronic device according to an embodiment of the present disclosure.
5 is a flowchart illustrating an operation in which a server determines a representative electronic device according to an embodiment of the present disclosure.
FIG. 6 is a flowchart of an operation of determining a representative electronic device based on a user input in FIG. 5 .
FIG. 7 is a flowchart of an operation of determining a representative electronic device according to a network connection maintenance time in FIG. 5 .
8 is a message sequence diagram during D2D connection according to an embodiment of the present disclosure.
9 is a message sequence diagram when a representative electronic device is changed by a user input according to an embodiment of the present disclosure.
10 is a flowchart illustrating an operation of a representative electronic device according to an embodiment of the present disclosure.
11 is a flowchart illustrating an operation of an electronic device in which an external network access failure occurs, according to an embodiment of the present disclosure.
12 is a diagram illustrating an example of user speech in the IoT service providing system according to an embodiment of the present disclosure.
13 is a diagram illustrating a change of a representative electronic device according to an embodiment of the present disclosure.
14 is a flowchart illustrating an operation of a server when a representative electronic device is changed due to a failure of the representative electronic device according to an embodiment of the present disclosure.
15 is a message sequence diagram when a representative electronic device is changed due to failure, according to an embodiment of the present disclosure.
16 is a diagram illustrating a situation in which an external network access failure occurs in all electronic devices belonging to an Internet of Things service providing system according to an embodiment of the present disclosure.
17 is a flowchart illustrating an operation of a representative electronic device when an external network connection failure occurs and is restored in all electronic devices belonging to the Internet of Things service providing system according to an embodiment of the present disclosure.
18 is a state transition diagram of a server according to an embodiment of the present disclosure.
19 is a state transition diagram of an electronic device according to an embodiment of the present disclosure.

이하 첨부된 도면을 참고하여 다양한 실시예들을 상세히 설명한다. 후술될 설명에서, 상세한 구성 및 구성 요소와 같은 특정 세부 사항은 단지 본 개시의 실시예들에 대한 전반적인 이해를 돕기 위해 제공될 것이다. 도면의 설명과 관련하여, 동일하거나 유사한 구성요소에 대해서는 동일하거나 유사한 참조 부호가 사용될 수 있다. 또한, 도면 및 관련된 설명에서는, 잘 알려진 기능 및 구성에 대한 설명이 명확성과 간결성을 위해 생략될 수 있다.Hereinafter, various embodiments will be described in detail with reference to the accompanying drawings. In the following description, specific details such as detailed configurations and elements are provided merely to facilitate a general understanding of embodiments of the present disclosure. In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar elements. Also, in the drawings and related descriptions, descriptions of well-known functions and constructions may be omitted for clarity and conciseness.

도 1은, 본 개시의 다양한 실시예에 따른, IoT 시스템의 구성도이다.1 is a block diagram of an IoT system according to various embodiments of the present disclosure.

도 1을 참조하면, 일 실시예에 따른 IoT 시스템(100)은 서버(110) 또는 복수의 전자 장치들(120~124)을 포함할 수 있다. 상기 복수의 전자 장치들(120~124)은 네트워크(130)를 통해 서버(110)와 신호를 직접적으로 송/수신하거나, 중계 장치의 도움을 받아 상기 네트워크(130)를 통해 상기 서버(110)와 신호를 간접적으로 송/수신할 수 있다. 상기 복수의 전자 장치들(120~124)은, 예를 들어, 하나의 대표 전자 장치(예: TV(120)) 및 하나 또는 복수의 내부 전자 장치들(예: 냉장고(121), 세탁기(122), 에어컨(123) 또는 로봇청소기(124))을 포함할 수 있다. 상기 복수의 내부 전자 장치들(121, 122, 123, 124)은 후보 전자 장치를 포함할 수 있다. 상기 후보 전자 장치는, 예를 들어, 내부 전자 장치들 중에서 네트워크(130)를 통해 서버(110)와 직접 통신을 수행할 수 있는 전자 장치일 수 있다. 도시된 전자 장치들의 조합은 이해를 돕기 위해 제시된 것일 뿐이며, 본 개시가 이로써 제한되는 것은 아니다. Referring to FIG. 1 , an IoT system 100 according to an embodiment may include a server 110 or a plurality of electronic devices 120 to 124 . The plurality of electronic devices 120 to 124 directly transmit/receive signals to and from the server 110 through the network 130, or transmit/receive signals to/from the server 110 through the network 130 with the help of a relay device. and signals can be transmitted/received indirectly. The plurality of electronic devices 120 to 124 include, for example, one representative electronic device (eg, TV 120) and one or a plurality of internal electronic devices (eg, refrigerator 121, washing machine 122). ), an air conditioner 123 or a robot cleaner 124). The plurality of internal electronic devices 121, 122, 123, and 124 may include candidate electronic devices. The candidate electronic device may be, for example, an electronic device capable of directly communicating with the server 110 through the network 130 among internal electronic devices. Combinations of the illustrated electronic devices are only presented for ease of understanding, and the present disclosure is not limited thereto.

일 실시예에 의하면, 전자 장치들(120~124)은 사물 인터넷 기능을 구비한 가전 제품으로서, 네트워크(130)와의 연결에 대한 신뢰도에 따라 대표 전자 장치(120)로 동작하거나, 또는 후보 전자 장치(124)로 동작할 수 있다. 상기 신뢰도에 대하여는 도 3을 참조하여 후술할 것이다. 상기 전자 장치들(120~124)은, 예를 들어, 모바일 의료기기, 스마트폰, 태블릿 PC, 랩탑 PC, 웨어러블 장치와 같은 모바일 기기 중 적어도 하나를 포함할 수 있다.According to an embodiment, the electronic devices 120 to 124 are home appliances having an Internet of Things (IoT) function, and operate as representative electronic devices 120 or candidate electronic devices according to reliability of connection to the network 130. (124). The reliability will be described later with reference to FIG. 3 . The electronic devices 120 to 124 may include, for example, at least one of mobile devices such as a mobile medical device, a smart phone, a tablet PC, a laptop PC, and a wearable device.

일 실시예에 의하면, 서버(110)는 전자 장치들(120~124)에 대한 디바이스 타입, 모델명, 제조사와 같은 고유 정보를 등록하고 관리할 수 있다. 상기 서버(110)는 상기 전자 장치들(120~124)에 대한 위치 정보, 네트워크 정보, 성능 정보, 전원 공급 및 배터리 충전 여부, 메모리 및 프로세서 점유율과 같은 리소스 정보를 포함한 상태 정보를 수집하고, 관리할 수 있다. According to an embodiment, the server 110 may register and manage unique information such as device type, model name, and manufacturer of the electronic devices 120 to 124 . The server 110 collects and manages state information including location information, network information, performance information, power supply and battery charging status, and resource information such as memory and processor occupancy for the electronic devices 120 to 124. can do.

일 실시예에 의하면, 서버(110)는 사물 인터넷 서비스를 위한 사용자 계정을 관리할 수 있다. 상기 서버(110)는 전자 장치들(120~124)에 대한 사용자 권한 및 정보를 등록 및 승인하고, 상기 사용자 계정에 따른 설정을 수행하여, 다른 사용자 계정의 전자 장치와 구분하여 관리할 수 있다. According to an embodiment, the server 110 may manage user accounts for IoT services. The server 110 registers and approves user authority and information on the electronic devices 120 to 124, performs settings according to the user account, and manages them separately from electronic devices of other user accounts.

일 실시예에 의하면, 서버(110)는 사물 인터넷 서비스를 위한 어플리케이션이 설치되어 있는 사용자 단말을 통해 사용자의 입력을 수신할 수 있다. 상기 서버(110)는 상기 수신한 사용자의 입력에 따라 전자 장치들(120~124)을 제어하거나, 상기 전자 장치들(120~124)로부터 수집한 정보를 분석하고 활용하여 상기 전자 장치들(120~124)을 제어할 수 있다. According to an embodiment, the server 110 may receive a user's input through a user terminal in which an application for an Internet of Things service is installed. The server 110 controls the electronic devices 120 to 124 according to the received user input, or analyzes and utilizes information collected from the electronic devices 120 to 124 to control the electronic devices 120 to 120. ~124) can be controlled.

일 실시예에 의하면, 서버(110)는 외부에 위치한 별도의 전자 장치일 수 있고, 소프트웨어로 구현되어 사물 인터넷 네트워크의 내부에 존재할 수 있으며, 단일 서버 혹은 복수의 서버로 운용될 수 있다.According to an embodiment, the server 110 may be a separate electronic device located outside, may be implemented as software, may exist inside the IoT network, and may be operated as a single server or a plurality of servers.

일 실시예에 의하면, 대표 전자 장치(120)는 전자 장치들(120~124)의 전원 공급 여부와 네트워크 연결 상태 정보(예: 네트워크 연결 여부 및 연결 유지 시간에 관한 정보) 중 적어도 하나에 기초하여 서버(110)에 의해 결정되거나 사물 인터넷 서비스를 위한 어플리케이션이 설치되어 있는 사용자 단말을 통해 사용자에 의해 결정될 수 있다.According to an embodiment, the representative electronic device 120 is configured based on at least one of whether power is supplied to the electronic devices 120 to 124 and network connection state information (eg, network connection status and connection maintenance time information). It may be determined by the server 110 or by the user through a user terminal in which an application for the Internet of Things service is installed.

일 실시예에 의하면, 서버(110)는 전자 장치들(120~124) 중에서 외부 네트워크(130)로의 접속 기능이 정상적으로 동작하고, 기기간 직접 (D2D: Device-to-Device) 통신 연결 기능이 정상적으로 동작하는 전자 장치를 후보 전자 장치로 선정할 수 있다. 하기에서는 편의를 위하여, 전자 장치(124)가 후보 전자 장치임을 가정하여 설명하도록 한다.According to an embodiment, the server 110 normally operates a connection function to the external network 130 among electronic devices 120 to 124 and normally operates a device-to-device (D2D) communication connection function between devices. An electronic device may be selected as a candidate electronic device. In the following description, for convenience, it is assumed that the electronic device 124 is a candidate electronic device.

일 실시예에 의하면, 서버(110)는 후보 전자 장치가 복수인 경우, 우선 순위를 할당할 수 있다. 상기 서버(110)는, 예를 들어, 각 후보 전자 장치의 외부 네트워크(130)와의 접속 유지 시간에 관한 정보를 획득하고, 상기 획득한 외부 네트워크(130)와의 접속 유지 시간이 길수록 높은 우선 순위를 할당할 수 있다. 상기 서버(110)는 가장 우선 순위가 높은 후보 전자 장치를 대표 전자 장치(120)로 결정할 수 있다. According to an embodiment, the server 110 may assign priorities when there are a plurality of candidate electronic devices. The server 110, for example, obtains information about the duration of each candidate electronic device's connection to the external network 130, and assigns a higher priority as the obtained connection duration to the external network 130 increases. can be assigned The server 110 may determine a candidate electronic device having the highest priority as the representative electronic device 120 .

일 실시예에 의하면, 대표 전자 장치(120)를 결정할 때, 서버(110)는 후보 전자 장치(124)가 외부 네트워크(130)에 연결되어 있는지 여부를 확인하기 위해 신호 응답 주기 및/또는 응답 성공율을 측정할 수 있다. 상기 서버(110)는 측정한 신호 전송의 응답 주기가 짧고, 상기 응답 주기 동안 신호 전송의 응답 성공율이 높은 후보 전자 장치(124)를 대표 전자 장치(120)로 결정할 수 있다.According to an embodiment, when determining the representative electronic device 120, the server 110 checks whether the candidate electronic device 124 is connected to the external network 130, the signal response period and/or the response success rate. can measure The server 110 may determine, as the representative electronic device 120, a candidate electronic device 124 having a short response period of measured signal transmission and a high success rate of signal transmission response during the response period.

일 실시예에 의하면, 서버(110)는 전자 장치들(120~124)의 전원 공급 여부나 네트워크 상태 정보의 변화에 따라 대표 전자 장치 및 후보 전자 장치를 동적으로 선정할 수 있다. 상기 서버(110)는 대표 전자 장치의 동작이 비정상적이라고 판단하면, 대표 전자 장치를 다른 전자 장치로 변경할 수 있다. 상기 변경 과정의 일 예는 도 14를 참조하여 후술할 것이다.According to an embodiment, the server 110 may dynamically select a representative electronic device and a candidate electronic device according to whether power is supplied to the electronic devices 120 to 124 or changes in network state information. When the server 110 determines that the operation of the representative electronic device is abnormal, the server 110 can change the representative electronic device to another electronic device. An example of the change process will be described later with reference to FIG. 14 .

일 실시예에 의하면, 네트워크(130)는 복수의 전자 장치들(120~124) 전체 또는 일부를 서버(110)와 연결할 수 있다. 상기 네트워크(130)는 WiFi(Wireless Fidelity), LAN(Local Area Network) 또는 WAN(Wide Area Network)과 같은 네트워크 중 하나일 수 있다. 상기 네트워크(130)는, 예를 들어, 이더넷(Ethernet), GSM(Global System for Mobile Communications), EDGE(Enhanced Data GSM Environment), CDMA(Code Division Multiple Access), TDMA(Time Division Multiplexing Access), 5G, LTE(Long Term Evolution), LTE-A(LTE Advance), 블루투스, VoIP, WiMAX 또는 WiBro(Wireless Broadband)와 같은 임의의 다양한 유선 또는 무선 통신 프로토콜을 이용하여 구현될 수 있다.According to an embodiment, the network 130 may connect all or part of the plurality of electronic devices 120 to 124 with the server 110 . The network 130 may be one of networks such as WiFi (Wireless Fidelity), LAN (Local Area Network), or WAN (Wide Area Network). The network 130, for example, Ethernet, Global System for Mobile Communications (GSM), Enhanced Data GSM Environment (EDGE), Code Division Multiple Access (CDMA), Time Division Multiplexing Access (TDMA), 5G , Long Term Evolution (LTE), LTE Advance (LTE-A), Bluetooth, VoIP, WiMAX, or WiBro (Wireless Broadband).

도 2는, 본 개시의 일 실시예에 따라, 사물 인터넷 서비스 제공 시스템을 구성하는 하나의 전자 장치에서 외부 네트워크 접속에 장애가 발생한 상황을 도시한 도면이다.2 is a diagram illustrating a situation in which an external network connection failure occurs in one electronic device constituting an Internet of Things service providing system according to an embodiment of the present disclosure.

도 2를 참조하면, 전자 장치(123)(예: 에어컨)의 외부 네트워크(130) 접속에 장애가 발생할 수 있다. 이후 설명에서는 편의를 위하여, 외부 네트워크(130) 접속에 장애가 발생한 전자 장치를 제1 전자 장치(123)라고 지칭할 것이다.Referring to FIG. 2 , a failure may occur in accessing an external network 130 of an electronic device 123 (eg, an air conditioner). In the following description, for convenience, an electronic device in which a failure occurs in connecting to the external network 130 will be referred to as the first electronic device 123 .

일 실시예에 의하면, 제1 전자 장치(123)는 서버(110)와 일정한 주기로 통신 상태를 확인하는 신호를 송/수신할 수 있다. 상기 제1 전자 장치(123)는, 일정한 주기 내에서 확인 신호를 일정 횟수 이상 수신하지 못하면, 외부 네트워크(130)와의 연결에 장애가 발생했다고 판단할 수 있다. According to an embodiment, the first electronic device 123 may transmit/receive a signal for checking a communication state with the server 110 at regular intervals. If the first electronic device 123 does not receive a confirmation signal more than a certain number of times within a certain period, it may be determined that a failure has occurred in connection with the external network 130 .

일 실시예에 의하면, 서버(110)는 제1 전자 장치(123)를 포함한 다른 전자 장치들(121,122,124)로 대표 전자 장치(120)에 대한 디바이스 정보를 송신할 수 있다. 상기 제1 전자 장치(123)는 상기 서버(110)로부터 획득한 대표 전자 장치(120)에 대한 디바이스 정보를 활용하여, 대표 전자 장치(120)와의 D2D 연결을 수행할 수 있다. 상기 D2D 연결을 수행하는 과정은 도 9를 참조하여 후술할 것이다. 상기 대표 전자 장치(110)는 도 1을 참조하여 전술하였듯이, 외부 네트워크(130)로의 접속 기능 및 D2D 연결 기능을 정상적으로 수행할 수 있다.According to an embodiment, the server 110 may transmit device information about the representative electronic device 120 to other electronic devices 121 , 122 , and 124 including the first electronic device 123 . The first electronic device 123 may perform a D2D connection with the representative electronic device 120 by utilizing device information about the representative electronic device 120 obtained from the server 110 . A process of performing the D2D connection will be described later with reference to FIG. 9 . As described above with reference to FIG. 1 , the representative electronic device 110 can normally perform a function of connecting to an external network 130 and a function of D2D connection.

일 실시예에 의하면, 대표 전자 장치(120)는 자신과 D2D로 연결된 전자 장치의 리스트를 서버(110)로 전송할 수 있다. 예컨대, 상기 대표 전자 장치(120)는 자신과 제1 전자 장치(123)가 D2D로 연결되었다는 정보를 상기 서버(110)로 전송할 수 있다. 상기 서버(110)는 상기 대표 전자 장치(120)로부터 상기 제1 전자 장치(123)가 상기 대표 전자 장치(120)와 D2D로 연결되었음을 인지하면, 상기 제1 전자 장치(123)를 제어하는 명령을 상기 대표 전자 장치(120)로 송신할 수 있다. 상기 대표 전자 장치(120)는 상기 수신한 명령을 상기 제1 전자 장치(123)로 전달할 수 있다.According to an embodiment, the representative electronic device 120 may transmit a list of electronic devices connected to it through D2D to the server 110 . For example, the representative electronic device 120 may transmit information indicating that it and the first electronic device 123 are connected in D2D to the server 110 . When recognizing from the representative electronic device 120 that the first electronic device 123 is connected to the representative electronic device 120 through D2D, the server 110 commands to control the first electronic device 123. may be transmitted to the representative electronic device 120. The representative electronic device 120 may transfer the received command to the first electronic device 123 .

일 실시예에 의하면, 대표 전자 장치(120)는 제1 전자 장치(123)의 상태 정보를 서버(110)로 전달할 수 있다. 상기 대표 전자 장치(120)는, 예를 들어, 상기 제1 전자 장치(123)의 전원 상태, 이벤트 정보, 기능 수행 상태, 현재 모드 상태를 포함하는 정보를 상기 서버(110)로 전달할 수 있다. 상기 서버(110)는 상기 대표 전자 장치(120)로부터 수신한 상기 제1 전자 장치(123)의 상태 정보를 분석하고, 활용하여 상기 제1 전자 장치(123)에 관련된 제어를 수행할 수 있다.According to an embodiment, the representative electronic device 120 may transmit state information of the first electronic device 123 to the server 110 . The representative electronic device 120 may transmit information including, for example, the power state, event information, function execution state, and current mode state of the first electronic device 123 to the server 110 . The server 110 may perform control related to the first electronic device 123 by analyzing and utilizing state information of the first electronic device 123 received from the representative electronic device 120 .

도 3은, 본 개시의 일 실시예에 따른, 서버(예: 도 1의 서버(110))의 기능 블럭도이다.3 is a functional block diagram of a server (eg, server 110 of FIG. 1 ), according to one embodiment of the present disclosure.

도 3을 참조하면, 서버(110)는 메모리(111), 통신부(112) 또는 프로세서(113)를 포함할 수 있다. 상기 서버(110)는 도시된 구성 요소외에 추가적인 구성 요소를 포함하거나, 도시된 구성 요소 중 적어도 하나를 생략할 수 있다.Referring to FIG. 3 , the server 110 may include a memory 111 , a communication unit 112 , or a processor 113 . The server 110 may include additional components in addition to the illustrated components, or may omit at least one of the illustrated components.

일 실시예에 의하면, 메모리(111)는 서버(110)가 사용하는 저장 매체로서 하나 이상의 명령어들(instructions)을 포함하는 프로그램을 포함할 수 있다. 프로그램은 운영체제(operating system, OS) 프로그램 및 응용 프로그램을 포함할 수 있다.According to one embodiment, the memory 111 is a storage medium used by the server 110 and may include a program including one or more instructions. The program may include an operating system (OS) program and an application program.

일 실시예에 의하면, 메모리(111)는 대표 전자 장치(120)에 대한 정보를 저장할 수 있다. According to an embodiment, the memory 111 may store information about the representative electronic device 120 .

일 실시예에 의하면, 메모리(111)는 대표 전자 장치(120)와 D2D(Device-to-Device)로 연결된 전자 장치들에 대한 리스트를 저장할 수 있다.According to an embodiment, the memory 111 may store a list of electronic devices connected to the representative electronic device 120 through device-to-device (D2D).

일 실시예에 의하면, 메모리(111)는 IoT 시스템(100)의 전자 장치들(120~124)에 대한 정보를 저장할 수 있다. 상기 메모리(111)는 상기 전자 장치들(120~124)에 대한 디바이스 타입, 모델명, 제조사와 같은 고유 정보를 저장할 수 있다. 상기 메모리(111)는 상기 전자 장치들(120~124)에 대한 위치 정보, 네트워크 정보, 성능 정보, 전원 공급 및 배터리 충전 여부, 메모리 및 프로세서 점유율과 같은 리소스 정보를 포함한 상태 정보를 저장할 수 있다. 상기 전자 장치들(120~124)에 대한 정보를 상기 메모리(111)에 저장 및 관리함으로써, 상기 전자 장치들(120~124)에 분산 저장하는 방식보다 데이터 관리 측면에서 일관성 있고, 빠르며 효율적일 수 있다.According to one embodiment, the memory 111 may store information about the electronic devices 120 to 124 of the IoT system 100 . The memory 111 may store unique information such as device type, model name, and manufacturer of the electronic devices 120 to 124 . The memory 111 may store state information including resource information such as location information, network information, performance information, power supply and battery charging status, and memory and processor occupancy rates for the electronic devices 120 to 124 . By storing and managing information about the electronic devices 120 to 124 in the memory 111, it can be more consistent, faster, and more efficient in terms of data management than a method of distributing and storing information on the electronic devices 120 to 124. .

일 실시예에 의하면, 메모리(111)는 사물 인터넷 서비스를 위한 사용자 계정을 저장할 수 있다. 상기 메모리(111)는 상기 사용자 계정에 따른 설정 정보를 저장할 수 있다. According to an embodiment, the memory 111 may store a user account for an IoT service. The memory 111 may store setting information according to the user account.

일 실시예에 따르면, 통신부(112)는 IoT 시스템(100)의 전자 장치들(120~124) 및 사물 인터넷 서비스 관련 어플리케이션이 설치된 사용자 단말과의 통신을 위한 인터페이스를 제공할 수 있다. 상기 통신부(112)는 외부 망(예: 도 1의 네트워크(130))을 통한 통신을 가능하게 하는 네트워크 인터페이스 카드 또는 무선 송/수신부를 포함할 수 있다. 상기 통신부(112)는 무선 통신망에 접속하기 위한 신호 처리를 수행할 수 있다. 상기 무선 통신망은, 예를 들어, GSM(Global System for Mobile Communications), EDGE(Enhanced Data GSM Environment), CDMA(Code Division Multiple Access), TDMA(Time Division Multiplexing Access), 5G, LTE(Long Term Evolution), LTE-A(LTE Advance), 블루투스, VoIP, WiMAX 또는 WiBro(Wireless Broadband)와 같은 통신망일 수 있으며, 이에 제한되는 것은 아니다.According to an embodiment, the communication unit 112 may provide an interface for communication between the electronic devices 120 to 124 of the IoT system 100 and a user terminal in which an IoT service related application is installed. The communication unit 112 may include a network interface card or a wireless transmission/reception unit enabling communication through an external network (eg, the network 130 of FIG. 1). The communication unit 112 may perform signal processing for access to a wireless communication network. The wireless communication network, for example, GSM (Global System for Mobile Communications), EDGE (Enhanced Data GSM Environment), CDMA (Code Division Multiple Access), TDMA (Time Division Multiplexing Access), 5G, LTE (Long Term Evolution) , LTE-A (LTE Advance), Bluetooth, VoIP, WiMAX, or a communication network such as WiBro (Wireless Broadband), but is not limited thereto.

일 실시예에 의하면, 프로세서(113)는 메모리(111), 통신부(112)가 특정 동작을 수행하도록 제어할 수 있다.According to one embodiment, the processor 113 may control the memory 111 and the communication unit 112 to perform a specific operation.

일 실시예에 의하면, 프로세서(113)는 IoT 시스템(100)에서 대표 전자 장치(120)를 결정할 수 있다. 상기 프로세서(113)는 상기 IoT 시스템(100)의 전자 장치들(120~124) 중에서 외부 네트워크 접속 기능이 가능하고, D2D 연결 기능이 가능한 전자 장치를 후보 전자 장치로 선정할 수 있다. 상기 후보 전자 장치가 복수인 경우, 상기 프로세서(113)는 메모리(111)에 저장되어 있는 상기 복수의 후보 전자 장치들에 대한 네트워크 정보와 전원 공급 정보를 획득하여, 상기 복수의 후보 전자 장치들에 대한 신뢰도를 산출할 수 있다. 상기 프로세서(113)는 상기 각 후보 전자 장치의 외부 네트워크 접속 유지 시간이 길수록 신뢰도가 높다고 판단할 수 있다. 상기 프로세서(113)는 각 후보 전자 장치의 외부 네트워크와의 접속 연결 확인을 위한 신호 전송의 응답 주기가 짧을수록, 상기 주기 동안 신호 전송의 응답 성공율이 높을수록, 신뢰도가 높다고 판단할 수 있다. 상기 프로세서(113)는, 예를 들어, 일정 주기로 응답을 요구하는 특정 신호를 보낸 뒤, 상기 주기내에 응답 신호가 수신되면 신호 전송의 응답이 성공했다고 판단할 수 있다. 상기 프로세서(113)는 각 후보 전자 장치의 전원 공급이 안정적이면 신뢰도가 높다고 판단할 수 있다. 상기 프로세서(113)는 상기 복수의 후보 전자 장치들 중에서 신뢰도가 가장 높은 후보 전자 장치를 대표 전자 장치(120)로 결정할 수 있다. According to an embodiment, the processor 113 may determine the representative electronic device 120 in the IoT system 100 . The processor 113 may select an electronic device capable of an external network access function and a D2D connection function among the electronic devices 120 to 124 of the IoT system 100 as a candidate electronic device. When the number of candidate electronic devices is plural, the processor 113 obtains network information and power supply information about the plurality of candidate electronic devices stored in the memory 111, and provides information to the plurality of candidate electronic devices. reliability can be calculated. The processor 113 may determine that reliability is high as the duration of each candidate electronic device's connection to the external network increases. The processor 113 may determine that the reliability is high as the response period of signal transmission for checking the connection connection with the external network of each candidate electronic device is short and the response success rate of signal transmission during the period is high. The processor 113 may, for example, send a specific signal requesting a response at regular intervals, and then determine that the signal transmission response is successful if the response signal is received within the interval. The processor 113 may determine that the reliability is high when the power supply of each candidate electronic device is stable. The processor 113 may determine a candidate electronic device having the highest reliability among the plurality of candidate electronic devices as the representative electronic device 120 .

일 실시예에 의하면, 프로세서(113)는 통신부(112)를 통해, 대표 전자 장치(120)에게 대표 전자 장치(120)로 결정되었음을 통보할 수 있다. According to an embodiment, the processor 113 may notify the representative electronic device 120 of being determined as the representative electronic device 120 through the communication unit 112 .

일 실시예에 의하면, 프로세서(113)는 통신부(112)를 통해, 대표 전자 장치(120)로부터 대표 전자 장치(120)에 대한 디바이스 정보, 예를 들어, SSID(Service Set Identifier), 주파수 정보, IP 정보를 획득할 수 있다. 상기 프로세서(113)는 상기 획득한 상기 대표 전자 장치(120)의 디바이스 정보를 다른 전자 장치들로 전송하도록 상기 통신부(112)를 제어할 수 있다. 상기 프로세서(113)는 상기 획득한 상기 대표 전자 장치(120)의 디바이스 정보를 메모리(111)에 저장할 수 있다. According to an embodiment, the processor 113 transmits device information about the representative electronic device 120 from the representative electronic device 120 through the communication unit 112, for example, Service Set Identifier (SSID), frequency information, IP information can be obtained. The processor 113 may control the communication unit 112 to transmit the obtained device information of the representative electronic device 120 to other electronic devices. The processor 113 may store the acquired device information of the representative electronic device 120 in the memory 111 .

일 실시예에 의하면, 프로세서(113)는 통신부(112)를 통해, 대표 전자 장치(120)로부터 상기 대표 전자 장치(120)와 D2D로 연결된 전자 장치에 대한 리스트를 수신할 수 있다. 상기 프로세서(113)는 상기 리스트를 메모리(111)에 저장하고, 상기 리스트에 속한 전자 장치에 대한 제어 명령을 상기 대표 전자 장치(120)로 송신할 수 있다.According to an embodiment, the processor 113 may receive a list of electronic devices connected to the representative electronic device 120 through D2D from the representative electronic device 120 through the communication unit 112 . The processor 113 may store the list in the memory 111 and transmit a control command for an electronic device belonging to the list to the representative electronic device 120 .

일 실시예에 의하면, 프로세서(113)는 통신부(112)를 통해, 대표 전자 장치(120)로부터 상기 대표 전자 장치(120)와 D2D로 연결된 전자 장치에 대한 상태 정보를 수신할 수 있다. 상기 프로세서(113)는 상기 수신한 상태 정보를 기초로 메모리(111)에 저장된 전자 장치들에 대한 정보를 갱신할 수 있다.According to an embodiment, the processor 113 may receive status information about an electronic device connected to the representative electronic device 120 through D2D from the representative electronic device 120 through the communication unit 112 . The processor 113 may update information about electronic devices stored in the memory 111 based on the received status information.

도 4는, 본 개시의 일 실시예에 따른, 전자 장치의 기능 블럭도이다. 4 is a functional block diagram of an electronic device according to an embodiment of the present disclosure.

도 4를 참조하면, 전자 장치(400)(예: 도 1의 대표 전자 장치(120) 또는 나머지 전자 장치(121~124) 중 하나)는 메모리(410), 통신부(420) 및 프로세서(430)를 포함할 수 있다. 상기 전자 장치(400)는 도시된 구성 요소외에 추가적인 구성 요소를 포함하거나, 도시된 구성 요소 중 적어도 하나를 생략할 수 있다.Referring to FIG. 4 , an electronic device 400 (eg, one of the representative electronic device 120 of FIG. 1 or the other electronic devices 121 to 124) includes a memory 410, a communication unit 420, and a processor 430. can include The electronic device 400 may include additional components in addition to the illustrated components or may omit at least one of the illustrated components.

일 실시예에 의하면, 메모리(410)는 전자 장치(400)가 사용하는 저장 매체로서 하나 이상의 명령어들(instructions)을 포함하는 프로그램을 포함할 수 있다. 프로그램은 운영체제(operating system, OS) 프로그램 및 응용 프로그램을 포함할 수 있다.According to an embodiment, the memory 410 is a storage medium used by the electronic device 400 and may include a program including one or more instructions. The program may include an operating system (OS) program and an application program.

일 실시예에 의하면, 메모리(410)는 대표 전자 장치(120)에 대한 정보를 저장할 수 있다. 상기 대표 전자 장치(120)에 대한 정보는 서버(110)로부터 수신된 정보로서 SSID, 주파수 정보, IP 정보와 같은 디바이스 정보를 포함할 수 있다. According to an embodiment, the memory 410 may store information about the representative electronic device 120 . The information on the representative electronic device 120 is information received from the server 110 and may include device information such as SSID, frequency information, and IP information.

일 실시예에 의하면, 통신부(420)는 전자 장치(400)와 서버(110) 사이의 유선 또는 무선 통신을 가능하게 하는 하나 이상의 모듈을 포함할 수 있다.According to an embodiment, the communication unit 420 may include one or more modules enabling wired or wireless communication between the electronic device 400 and the server 110 .

일 실시예에 의하면, 통신부(420)는 D2D 통신을 가능하게 하는 하나 이상의 모듈을 포함할 수 있다. 상기 통신부(420)는, 예를 들어, Wifi-Direct, 블루투스(Bluetooth), BLE(Bluetooth Low Energy), Z-웨이브(Z-Wave), 지그비(Zigbee)와 같은 프로토콜을 사용하여, 다른 전자 장치와 D2D 연결을 수행할 수 있다. According to an embodiment, the communication unit 420 may include one or more modules enabling D2D communication. The communication unit 420 uses, for example, protocols such as Wifi-Direct, Bluetooth, Bluetooth Low Energy (BLE), Z-Wave, and Zigbee to communicate with other electronic devices. and D2D connection can be performed.

일 실시예에 의하면, 프로세서(430)는 전자 장치(400)의 전반적인 동작을 제어하는 모듈을 말하며, 하드웨어 펌웨어 소프트웨어 또는 이들의 결합에 의해 구현될 수 있다.According to one embodiment, the processor 430 refers to a module that controls the overall operation of the electronic device 400, and may be implemented by hardware, firmware, software, or a combination thereof.

일 실시예에 의하면, 프로세서(430)는 메모리(410), 통신부(420)가 특정 동작을 수행하도록 제어할 수 있다.According to one embodiment, the processor 430 may control the memory 410 and the communication unit 420 to perform a specific operation.

일 실시예에 의하면, 프로세서(430)는 통신부(420)의 외부 네트워크(예: 도 1의 네트워크(130)) 접속 기능의 장애를 감지하면, 메모리(410)에 저장해 놓은 대표 전자 장치(120)에 대한 정보를 참고하여, 상기 대표 전자 장치(120)와 D2D 연결을 수행하도록 상기 통신부(420)를 제어할 수 있다. 상기 프로세서(430)는 상기 D2D 연결을 통해 전자 장치(400)의 상태 정보를 대표 전자 장치(120)로 송신하도록 상기 통신부(420)를 제어할 수 있다.According to an embodiment, when the processor 430 detects a failure in the connection function of the communication unit 420 to an external network (eg, the network 130 of FIG. 1 ), the representative electronic device 120 stored in the memory 410 The communication unit 420 may be controlled to perform a D2D connection with the representative electronic device 120 by referring to the information on . The processor 430 may control the communication unit 420 to transmit state information of the electronic device 400 to the representative electronic device 120 through the D2D connection.

일 실시예에 의하면, 프로세서(430)는 서버(110)로부터 수신된 제어 명령에 따라 전자 장치(400)의 동작을 제어할 수 있다. 상기 제어 명령은 상기 서버(110)로부터 직접 수신하거나, 대표 전자 장치(120)의 중계로 수신할 수 있다.According to an embodiment, the processor 430 may control the operation of the electronic device 400 according to a control command received from the server 110 . The control command may be received directly from the server 110 or relayed through the representative electronic device 120 .

일 실시예에 의하면, 프로세서(430)는 전자 장치(400)가 대표 전자 장치(120)로 선정되었을 때, 상기 전자 장치(400)에 대한 SSID, 주파수 정보, IP 정보와 같은 디바이스 정보를 서버(110)로 송신하도록 통신부(420)를 제어할 수 있다. According to an embodiment, when the electronic device 400 is selected as the representative electronic device 120, the processor 430 transmits device information such as SSID, frequency information, and IP information of the electronic device 400 to a server ( The communication unit 420 may be controlled to transmit to 110.

일 실시예에 의하면, 프로세서(430)는 전자 장치(400)가 대표 전자 장치(120)로 선정되었을 때, 제1 전자 장치(예: 도 2의 제1 전자 장치(123))와 D2D 연결을 수행하도록 통신부(420)를 제어할 수 있다. 상기 프로세서(430)는 자신과 D2D로 연결된 전자 장치 리스트를 서버(110)로 송신하도록 상기 통신부(420)를 제어할 수 있다.According to an embodiment, when the electronic device 400 is selected as the representative electronic device 120, the processor 430 establishes a D2D connection with the first electronic device (eg, the first electronic device 123 of FIG. 2). It is possible to control the communication unit 420 to perform. The processor 430 may control the communication unit 420 to transmit a list of electronic devices connected to the processor 430 through D2D to the server 110 .

일 실시예에 의하면, 프로세서(430)는 전자 장치(400)가 대표 전자 장치(120)로 선정되었을 때, 서버(110)로부터 수신한, 제1 전자 장치(123)를 제어하는 명령을 상기 제1 전자 장치(123)로 전달하도록 통신부(420)를 제어할 수 있다.According to an embodiment, when the electronic device 400 is selected as the representative electronic device 120, the processor 430 transmits a command for controlling the first electronic device 123 received from the server 110 to the first electronic device 120. 1 The communication unit 420 may be controlled to be transmitted to the electronic device 123 .

일 실시예에 의하면, 프로세서(430)는 전자 장치(400)가 대표 전자 장치(120)로 선정되었을 때, 제1 전자 장치(123)로부터 수신한, 상기 제1 전자 장치(123)의 상태 정보를 서버(110)로 전달하도록 상기 통신부(420)를 제어할 수 있다.According to an embodiment, the processor 430 receives state information of the first electronic device 123 from the first electronic device 123 when the electronic device 400 is selected as the representative electronic device 120. It is possible to control the communication unit 420 to deliver to the server 110.

도 5는, 본 개시의 일 실시예에 따라, 서버(예: 도 1의 서버(110))가 대표 전자 장치(예: 도 1의 대표 전자 장치(120))를 결정하는 동작 흐름도이다. 5 is a flowchart illustrating an operation in which a server (eg, the server 110 of FIG. 1 ) determines a representative electronic device (eg, the representative electronic device 120 of FIG. 1 ) according to an embodiment of the present disclosure.

도 5를 참조하면, 일 실시예에 따른 동작 501에서, 서버(110)는 하나 또는 복수의 전자 장치들과 네트워크 연결을 수행할 수 있다. Referring to FIG. 5 , in operation 501 according to an embodiment, the server 110 may perform a network connection with one or a plurality of electronic devices.

일 실시예에 의하면, 서버(110)와 전자 장치들(120~124)간의 네트워크 연결은 사용자가 사물 인터넷 서비스 관련 어플리케이션이 설치되어 있는 사용자 단말을 이용하여 수행하거나, 상기 전자 장치들(120~124)이 자체적으로 수행할 수 있다. 상기 서버(110)는 상기 네트워크 연결을 수행하면서 수행 결과에 대한 정보를 메모리(예: 도 3의 메모리(111))에 저장하여 관리할 수 있다. 상기 서버(110)는 상기 네트워크 연결을 수행하면서, 상기 네트워크 연결에 성공한 전자 장치를 후보 전자 장치로 선정할 수 있다.According to an embodiment, the network connection between the server 110 and the electronic devices 120 to 124 is performed by a user using a user terminal in which an application related to the Internet of Things service is installed, or the electronic devices 120 to 124 ) can be performed on its own. While performing the network connection, the server 110 may store and manage information about the execution result in a memory (eg, the memory 111 of FIG. 3 ). While performing the network connection, the server 110 may select an electronic device that has successfully connected to the network as a candidate electronic device.

일 실시예에 따른 동작 503에서, 서버(110)는 메모리(111)에 저장한 전자 장치들(120~124)에 대한 네트워크 관련 정보를 참조하여 상기 전자 장치들(120~124)과의 네트워크 접속 유지 시간을 획득할 수 있다. 상기 서버(110)는 상기 획득한 네트워크 접속 유지 시간에 기초하여 후보 전자 장치의 순위를 판단할 수 있다.In operation 503 according to an embodiment, the server 110 refers to the network-related information about the electronic devices 120 to 124 stored in the memory 111 for network connection with the electronic devices 120 to 124. retention time can be obtained. The server 110 may determine the order of candidate electronic devices based on the obtained network connection maintenance time.

일 실시예에 따른 동작 505에서, 서버(110)는 대표 전자 장치를 선정할 필요가 있는지 판단할 수 있다. 예를 들어, 상기 서버(110)는 대표 전자 장치가 비정상적으로 동작한다고 판단하거나, 사용자로부터의 대표 전자 장치 교체 요청이 있거나, 대표 전자 장치가 존재하지 않은 상태라고 판단하면, 동작 507을 수행할 수 있다. 상기 서버(110)는 새로운 연결 또는 해제와 같은 갱신 이벤트가 발생할 때마다, 동작 501 및/또는 동작 503을 반복하여 수행할 수 있다.In operation 505 according to an embodiment, the server 110 may determine whether it is necessary to select a representative electronic device. For example, the server 110 may perform operation 507 when it is determined that the representative electronic device is operating abnormally, there is a request for replacement of the representative electronic device from the user, or it is determined that the representative electronic device does not exist. there is. The server 110 may repeatedly perform operations 501 and/or 503 whenever an update event such as new connection or disconnection occurs.

일 실시예에 따른 동작 507에서, 사용자가 대표 전자 장치(120)를 선택하는 경우, 서버(110)는 동작 509를 수행하고, 그렇지 않으면 동작 511을 수행할 수 있다.In operation 507 according to an embodiment, when the user selects the representative electronic device 120, the server 110 may perform operation 509, and otherwise perform operation 511.

도 6은, 도 5에서 서버(예: 도 1의 서버(110))가 사용자 입력에 의한 대표 전자 장치를 결정하는 동작의 흐름도이다.FIG. 6 is a flowchart of an operation in which a server (eg, the server 110 of FIG. 1 ) in FIG. 5 determines a representative electronic device based on a user input.

도 6을 참조하면, 일 실시예에 따른 동작 601에서, 서버(110)는 사용자로부터 대표 전자 장치(120) 선택에 대한 입력을 획득할 수 있다. 상기 사용자는 사물 인터넷 서비스 관련 어플리케이션이 설치된 사용자 단말을 통해 대표 전자 장치(120)를 선택할 수 있다.Referring to FIG. 6 , in operation 601 according to an embodiment, the server 110 may obtain an input for selecting the representative electronic device 120 from the user. The user may select the representative electronic device 120 through a user terminal in which an IoT service related application is installed.

일 실시예에 따른 동작 603에서, 서버(110)는 사용자가 선택한 전자 장치가 대표 전자 장치(120)로서의 전제 조건, 즉 외부 네트워크(예: 도 1의 네트워크(130))와의 접속이 가능한지 여부 및/또는 D2D 연결 기능을 제공하는지 여부를 판단할 수 있다. 상기 서버(110)는 메모리(예: 도 3의 메모리(111))에 저장되어 있는, 상기 사용자가 선택한 전자 장치에 대한 정보를 참조하여 대표 전자 장치(120)로서의 전제 조건 만족 여부를 판단할 수 있다. 상기 서버(110)는 상기 사용자가 선택한 전자 장치가 상기 전제 조건을 만족하면, 동작 605를 수행하고, 그렇지 않으면 동작 619를 수행할 수 있다.In operation 603 according to an embodiment, the server 110 determines whether or not the electronic device selected by the user can be connected to an external network (eg, the network 130 of FIG. 1) as a representative electronic device 120; /or It may be determined whether a D2D connection function is provided. The server 110 may determine whether or not the precondition as the representative electronic device 120 is satisfied by referring to information about the electronic device selected by the user stored in a memory (eg, the memory 111 of FIG. 3 ). there is. The server 110 may perform operation 605 if the electronic device selected by the user satisfies the precondition, and may perform operation 619 otherwise.

일 실시예에 따른 동작 619에서, 서버(110)는 사용자에게 대표 전자 장치 선택에 대한 오류를 전송한 후, 사용자 입력에 의해 대표 전자 장치가 변경되는 과정을 종료하고 도 5로 복귀할 수 있다. In operation 619 according to an embodiment, the server 110 may transmit an error regarding the representative electronic device selection to the user, then terminate the process of changing the representative electronic device according to the user input, and return to FIG. 5 .

일 실시예에 따른 동작 605에서, 서버(110)는 대표 전자 장치가 존재하는지 여부를 판단할 수 있다. 상기 서버(110)는 대표 전자 장치가 존재한다고 판단하면, 동작 607을 수행하고, 그렇지 않으면 동작 609로 진입할 수 있다.In operation 605 according to an embodiment, the server 110 may determine whether a representative electronic device exists. If it is determined that the representative electronic device exists, the server 110 performs operation 607, and otherwise proceeds to operation 609.

일 실시예에 따른 동작 607에서, 서버(110)는 대표 전자 장치에게 대표 전자 장치가 새로 변경됨을 통보할 수 있다.In operation 607 according to an embodiment, the server 110 may notify the representative electronic device that the representative electronic device is newly changed.

일 실시예에 따른 동작 609에서, 서버(110)는 사용자가 선택한 전자 장치를 대표 전자 장치로 결정할 수 있다.In operation 609 according to an embodiment, the server 110 may determine the electronic device selected by the user as the representative electronic device.

일 실시예에 따른 동작 611에서, 서버(110)는 사용자에 의해 선택된 전자 장치에게 대표 전자 장치로 선정되었음을 전송할 수 있다.In operation 611 according to an embodiment, the server 110 may transmit that the electronic device selected by the user has been selected as the representative electronic device.

일 실시예에 따른 동작 613에서, 서버(110)는 대표 전자 장치로부터 디바이스 정보, 예를 들어, SSID(Service Set Identifier), 주파수 정보, IP 정보를 수신할 수 있다.In operation 613 according to an embodiment, the server 110 may receive device information, eg, Service Set Identifier (SSID), frequency information, and IP information from the representative electronic device.

일 실시예에 따른 동작 615에서, 서버(110)는 수신한 대표 전자 장치의 디바이스 정보에 기초하여, 상기 서버(110)의 메모리(예: 도 3의 메모리(111))에 저장된 대표 전자 장치 정보를 갱신할 수 있다.In operation 615 according to an embodiment, the server 110 based on the received device information of the representative electronic device, the representative electronic device information stored in the memory of the server 110 (eg, the memory 111 of FIG. 3). can be updated.

일 실시예에 따른 동작 617에서, 서버(110)는 전자 장치들(120~124)로 대표 전자 장치의 디바이스 정보를 송신하고, 도 5로 복귀할 수 있다. 상기 대표 전자 장치의 디바이스 정보를 수신한 상기 전자 장치들(120~124)은 상기 디바이스 정보를 메모리(예: 도 4의 메모리(410))에 저장하여 추후 외부 네트워크(130) 접속에 장애가 발생할 시 상기 디바이스 정보를 활용하여 상기 대표 전자 장치와 D2D 연결을 신속히 수행할 수 있다.In operation 617 according to an embodiment, the server 110 may transmit device information of the representative electronic device to the electronic devices 120 to 124 and return to FIG. 5 . The electronic devices 120 to 124 that have received the device information of the representative electronic device store the device information in a memory (eg, the memory 410 of FIG. 4 ) so that when a failure occurs in connecting to the external network 130 later A D2D connection with the representative electronic device may be quickly performed by utilizing the device information.

도 7은, 도 5에서 서버(예: 도 1의 서버(110)가 네트워크 접속 유지 시간에 의한 대표 전자 장치를 결정하는 동작의 흐름도이다.FIG. 7 is a flowchart of an operation in which a server (eg, the server 110 of FIG. 1 ) in FIG. 5 determines a representative electronic device according to a network connection maintenance time.

도 7을 참조하면, 일 실시예에 따른 동작 701에서, 서버(110)는 도 3을 참조하여 전술한 네트워크 연결 신뢰도에 근거하여, 네트워크(130)를 통해 자신과 연결된 전자 장치 중에서 네트워크 접속 유지 시간이 가장 긴 전자 장치를 대표 전자 장치(120)로 결정할 수 있다.Referring to FIG. 7 , in operation 701 according to an embodiment, the server 110, among electronic devices connected to the server 110 through the network 130, maintains network connection time based on the network connection reliability described above with reference to FIG. 3 This longest electronic device may be determined as the representative electronic device 120 .

일 실시예에 따른 동작 703 내지 동작 709는 도 6을 참조하여 전술한 동작 611 내지 동작 617과 동일하므로 생략하며, 서버(110)는 동작 709를 수행한 후, 도 5로 복귀할 수 있다.Operations 703 to 709 according to an embodiment are the same as operations 611 to 617 described above with reference to FIG. 6 and thus omitted, and the server 110 may return to FIG. 5 after performing operation 709 .

도 8은, 본 개시의 일 실시예에 따른, IoT 시스템(100)에서 D2D 연결시의 메시지 시퀀스 다이어그램이다. 8 is a message sequence diagram during D2D connection in the IoT system 100 according to an embodiment of the present disclosure.

도 8을 참조하면, 일 실시예에 따라, 제1 전자 장치(123)에서 외부 네트워크 접속에 장애가 발생할 수 있다 (동작 801).Referring to FIG. 8 , according to an embodiment, an external network connection failure may occur in the first electronic device 123 (operation 801).

동작 803에서, 상기 제1 전자 장치(123)는 대표 전자 장치를 발견하기 위한 스캔 신호를 송신할 수 있다. 상기 대표 전자 장치(120)는 대표 전자 장치로 선정된 이후로 D2D 연결을 위해 D2D Listen 상태를 활성화시킨 상태이므로, 상기 제1 전자 장치(123)로부터 스캔 신호를 수신할 수 있다.In operation 803, the first electronic device 123 may transmit a scan signal for discovering a representative electronic device. Since the representative electronic device 120 has activated the D2D Listen state for D2D connection after being selected as the representative electronic device, it can receive a scan signal from the first electronic device 123 .

동작 805에서, 상기 대표 전자 장치(120)는 상기 제1 전자 장치(123)로 스캔 신호에 대한 응답 신호(ACK)를 송신할 수 있다. 상기 제1 전자 장치(123)는 자신이 송신한 스캔 신호에 대응하여 상기 대표 전자 장치(120)에 의해 송신된 응답 신호를 수신할 수 있다.In operation 805, the representative electronic device 120 may transmit a response signal ACK to the scan signal to the first electronic device 123. The first electronic device 123 may receive a response signal transmitted by the representative electronic device 120 in response to the scan signal transmitted by the first electronic device 123 .

동작 807에서, 상기 제1 전자 장치(123)는 상기 대표 전자 장치(120)로 D2D 연결을 요청하는 신호를 송신할 수 있다. 상기 제1 전자 장치(123)는 사물 인터넷 서비스 사용자 계정(예: SmartThings 계정) 정보도 상기 대표 전자 장치(120)로 송신할 수 있다. 상기 대표 전자 장치(120)는 상기 제1 전자 장치(123)로부터 D2D 연결 요청 신호를 수신할 수 있다.In operation 807, the first electronic device 123 may transmit a D2D connection request signal to the representative electronic device 120. The first electronic device 123 may also transmit Internet of Things service user account (eg, SmartThings account) information to the representative electronic device 120 . The representative electronic device 120 may receive a D2D connection request signal from the first electronic device 123 .

동작 809에서, 상기 대표 전자 장치(120)는 상기 제1 전자 장치(123)로 D2D 연결 요청에 대한 수락 신호(OK)를 송신하여 D2D 연결을 수행할 수 있다. 이 때, 보안을 고려하여, 상기 대표 전자 장치(120)는 자신의 사물 인터넷 서비스 사용자 계정과 상기 제1 전자 장치(123)의 사물 인터넷 서비스 사용자 계정이 서로 동일하다고 판단할 때만 D2D 연결을 수행할 수 있다. 상기 제1 전자 장치(123)는 상기 대표 전자 장치(120)로부터 D2D 연결에 대한 수락 신호를 수신하여 D2D 연결을 수행할 수 있다.In operation 809, the representative electronic device 120 may transmit an acceptance signal (OK) for the D2D connection request to the first electronic device 123 to perform D2D connection. At this time, in consideration of security, the representative electronic device 120 performs D2D connection only when it is determined that its IoT service user account and the IoT service user account of the first electronic device 123 are the same. can The first electronic device 123 may perform a D2D connection by receiving an acceptance signal for a D2D connection from the representative electronic device 120 .

동작 811에서, 상기 제1 전자 장치(123)는 자신의 디바이스 정보를 상기 대표 전자 장치(120)로 송신할 수 있다. 상기 대표 전자 장치(120)는 상기 제1 전자 장치(123)로부터 상기 제1 전자 장치(123)의 디바이스 정보를 수신할 수 있다.In operation 811, the first electronic device 123 may transmit its own device information to the representative electronic device 120. The representative electronic device 120 may receive device information of the first electronic device 123 from the first electronic device 123 .

동작 813에서, 상기 대표 전자 장치(120)는 서버(110)로 자신의 D2D 연결 정보를 송신할 수 있다. 예를 들어, 상기 대표 전자 장치(120)는 자신과 D2D 연결을 수행한 상기 제1 전자 장치(123)에 대한 디바이스 정보를 상기 서버(110)로 송신할 수 있다. 상기 서버(110)는 상기 대표 전자 장치(120)로부터 상기 대표 전자 장치(120)의 D2D 연결 정보를 수신할 수 있다. 상기 서버(110)는 수신한 상기 D2D 연결 정보에 기초하여, 상기 서버(110)의 메모리(예: 도 3의 메모리(111))에 저장된, D2D로 연결된 전자 장치들에 대한 리스트 정보를 갱신할 수 있다.In operation 813, the representative electronic device 120 may transmit its own D2D connection information to the server 110. For example, the representative electronic device 120 may transmit device information about the first electronic device 123 that has performed the D2D connection with itself to the server 110 . The server 110 may receive D2D connection information of the representative electronic device 120 from the representative electronic device 120 . Based on the received D2D connection information, the server 110 updates list information about electronic devices connected by D2D stored in the memory of the server 110 (eg, the memory 111 of FIG. 3 ). can

도 9는, 본 개시의 일 실시예에 따른, IoT 시스템(예: 도 1의 IoT 시스템(100))사용자 입력에 의한 대표 전자 장치 변경시의 메시지 시퀀스 다이어그램이다. 9 is a message sequence diagram when a representative electronic device is changed by a user input of an IoT system (eg, the IoT system 100 of FIG. 1 ) according to an embodiment of the present disclosure.

도 9를 참조하면, 일 실시예에 따라, 서버(110)가 사용자로부터 대표 전자 장치(120)를 변경할 것을 입력 받을 수 있다 (동작 901).Referring to FIG. 9 , according to an embodiment, the server 110 may receive an input from the user to change the representative electronic device 120 (operation 901).

동작 903에서, 상기 서버(110)는 상기 대표 전자 장치(120)로 대표 전자 장치가 변경된다는 메시지를 송신할 수 있다. 상기 대표 전자 장치(120)는 상기 서버(110)로부터 대표 전자 장치가 변경된다는 메시지를 수신할 수 있다. In operation 903, the server 110 may transmit a message indicating that the representative electronic device is changed to the representative electronic device 120. The representative electronic device 120 may receive a message indicating that the representative electronic device is changed from the server 110 .

동작 905에서, 상기 대표 전자 장치(120)는 제1 전자 장치(123)를 포함한, 자신과 D2D로 연결된 전자 장치로 D2D 연결을 해제할 것을 브로드캐스팅할 수 있다.In operation 905 , the representative electronic device 120 may broadcast a D2D connection release request to electronic devices connected to it through D2D, including the first electronic device 123 .

동작 907에서, 상기 서버(110)는 사용자가 선택한 대표 전자 장치(900)에게 대표 전자 장치로 선정되었다는 메시지를 송신할 수 있다. 상기 사용자가 선택한 대표 전자 장치(900)는 상기 서버(110)로부터 대표 전자 장치로 선정되었다는 메시지를 수신할 수 있다.In operation 907, the server 110 may transmit a message indicating that the representative electronic device 900 has been selected as the representative electronic device selected by the user. The representative electronic device 900 selected by the user may receive a message indicating that it has been selected as the representative electronic device from the server 110 .

동작 909에서, 상기 제1 전자 장치(123)는 대표 전자 장치(900)로 대표 전자 장치를 스캔하는 신호를 송신할 수 있다. 상기 대표 전자 장치(900)는 상기 제1 전자 장치(123)로부터 대표 전자 장치를 스캔하는 신호를 수신할 수 있다.In operation 909 , the first electronic device 123 may transmit a signal for scanning the representative electronic device to the representative electronic device 900 . The representative electronic device 900 may receive a signal for scanning the representative electronic device from the first electronic device 123 .

동작 911 내지 동작 919는 도 8을 참조하여 전술한 동작 805 내지 동작 813과 동일할 수 있다.Operations 911 to 919 may be the same as operations 805 to 813 described above with reference to FIG. 8 .

동작 921에서, 상기 서버(110)는 전자 장치들로 상기 대표 전자 장치(900)의 디바이스 정보를 브로드캐스팅할 수 있다.In operation 921, the server 110 may broadcast device information of the representative electronic device 900 to electronic devices.

도 10은, 본 개시의 일 실시예에 따른, 대표 전자 장치(예: 도 1의 대표 전자 장치(120))의 동작 흐름도이다. 10 is a flowchart illustrating an operation of a representative electronic device (eg, the representative electronic device 120 of FIG. 1 ) according to an embodiment of the present disclosure.

도 10을 참조하면, 일 실시예에 따른 동작 1001에서, 대표 전자 장치(120)는 서버(110)로부터 대표 전자 장치로 선정되었음을 통보 받을 수 있다.Referring to FIG. 10 , in operation 1001 according to an embodiment, the representative electronic device 120 may be notified of being selected as the representative electronic device from the server 110 .

일 실시예에 따른 동작 1003에서, 대표 전자 장치(120)는 자신의 SSID, 주파수 정보, IP 정보와 같은 디바이스 정보를 서버(110)로 송신할 수 있다.In operation 1003 according to an embodiment, the representative electronic device 120 may transmit device information such as its SSID, frequency information, and IP information to the server 110 .

일 실시예에 따른 동작 1005에서, 대표 전자 장치(120)는 제1 전자 장치와의 D2D 연결을 위해, D2D Listen 상태를 활성화할 수 있다.In operation 1005 according to an embodiment, the representative electronic device 120 may activate a D2D Listen state for D2D connection with the first electronic device.

일 실시예에 따른 동작 1007에서, 대표 전자 장치(120)는 제1 전자 장치로부터 D2D 연결을 위한 디스커버리(Discovery) 신호를 수신할 수 있다.In operation 1007 according to an embodiment, the representative electronic device 120 may receive a discovery signal for D2D connection from the first electronic device.

일 실시예에 따른 동작 1009에서, 대표 전자 장치(120)는 제1 전자 장치와 D2D 연결을 수행하고, 상기 D2D 연결된 제1 전자 장치로부터 디바이스 정보를 수신할 수 있다.In operation 1009 according to an embodiment, the representative electronic device 120 may perform a D2D connection with the first electronic device and receive device information from the D2D connected first electronic device.

일 실시예에 따른 동작 1011에서, 대표 전자 장치(120)는 자신과 D2D 연결된 제1 전자 장치 리스트와 상기 제1 전자 장치의 디바이스 정보를 서버(110)로 송신할 수 있다.In operation 1011 according to an embodiment, the representative electronic device 120 may transmit a list of first electronic devices D2D-connected to itself and device information of the first electronic device to the server 110 .

일 실시예에 따른 동작 1013에서, 대표 전자 장치(120)는 서버(110)로부터 자신과 D2D 연결된 제1 전자 장치를 제어하는 명령을 수신할 수 있다. 상기 제어하는 명령은, 예를 들어, 미리 설정해 놓은 시간이나 조건에 따라 자동으로 실행되는 명령일 수도 있고, 사용자가 사물 인터넷 서비스 관련 어플리케이션(예: SmartThings)이 설치된 사용자 단말에서 사용자 인터페이스를 통해 입력하는 명령일 수도 있다.In operation 1013 according to an embodiment, the representative electronic device 120 may receive a command from the server 110 to control the first electronic device connected to it by D2D. The command to control may be, for example, a command that is automatically executed according to a preset time or condition, and is input by a user through a user interface in a user terminal in which an application related to the Internet of Things (e.g., SmartThings) is installed. It could be a command.

일 실시예에 따른 동작 1015에서, 대표 전자 장치(120)는 수신한 제어 명령을 자신과 D2D 연결된 하나 이상의 제1 전자 장치 중 상기 명령의 대상이 되는 제1 전자 장치로 전달할 수 있다.In operation 1015 according to an embodiment, the representative electronic device 120 may transfer the received control command to a first electronic device that is the target of the command among one or more first electronic devices connected to the representative electronic device 120 by D2D.

일 실시예에 따른 동작 1017에서, 대표 전자 장치(120)는 자신과 D2D 연결된 제1 전자 장치의 상태 정보를 수신할 수 있다. 상기 대표 전자 장치(120)는, 예를 들어, 상기 제1 전자 장치가 제어 명령을 수행한 결과를 수신하거나 상기 제1 전자 장치에서 발생한 이벤트나 리소스의 변경과 같은 상태 정보를 수신할 수 있다.In operation 1017 according to an embodiment, the representative electronic device 120 may receive state information of the first electronic device connected to itself by D2D. The representative electronic device 120 may receive, for example, a result of executing a control command by the first electronic device or status information such as an event occurring in the first electronic device or a resource change.

일 실시예에 따른 동작 1019에서, 대표 전자 장치(120)는 동작 1017에서 수신한 상태 정보를 서버(110)로 전달할 수 있다.In operation 1019 according to an embodiment, the representative electronic device 120 may transmit the state information received in operation 1017 to the server 110 .

도 11은, 본 개시의 일 실시예에 따른, 전자 장치(예: 도 1의 전자 장치(123))가 외부 네트워크 접속에 장애가 발생한 전자 장치의 동작 흐름도이다. FIG. 11 is a flowchart illustrating an operation of an electronic device (eg, the electronic device 123 of FIG. 1 ) in which a failure occurs in connecting to an external network, according to an embodiment of the present disclosure.

도 11을 참조하면, 일 실시예에 따른 동작 1101에서, 제1 전자 장치(123)는 대표 전자 장치(120)와 D2D 연결을 수행하기 위해 상기 대표 전자 장치(120)를 스캔할 수 있다. 상기 제1 전자 장치(123)는 모든 대역에 대하여 주파수 스캔을 수행하는 전체 대역 스캔을 수행하지 않고, 사전에 서버(110)로부터 수신한 대표 전자 장치(120)의 디바이스 정보를 활용하여 일정한 주파수 대역만 스캔하는 싱글 스캔을 할 수 있다.Referring to FIG. 11 , in operation 1101 according to an embodiment, the first electronic device 123 may scan the representative electronic device 120 to perform a D2D connection with the representative electronic device 120 . The first electronic device 123 does not perform a frequency scan for all bands, but uses device information of the representative electronic device 120 received from the server 110 in advance to perform a predetermined frequency band. You can do a single scan that only scans.

일 실시예에 따른 동작 1103에서, 제1 전자 장치(123)는 대표 전자 장치(120)와 D2D 연결을 수행하고, 자신의 디바이스 정보를 상기 대표 전자 장치(120)로 송신할 수 있다.In operation 1103 according to an embodiment, the first electronic device 123 may perform a D2D connection with the representative electronic device 120 and transmit its own device information to the representative electronic device 120 .

일 실시예에 따른 동작 1105에서, 제1 전자 장치(123)는 서버(110)가 상기 제1 전자 장치(123)를 제어하는 명령을 대표 전자 장치(120)의 중계를 통해 수신할 수 있다. In operation 1105 according to an embodiment, the first electronic device 123 may receive a command for the server 110 to control the first electronic device 123 through relaying of the representative electronic device 120 .

일 실시예에 따른 동작 1107에서, 제1 전자 장치(123)는 수신한 명령에 따라 자신의 동작을 제어할 수 있다.In operation 1107 according to an embodiment, the first electronic device 123 may control its own operation according to the received command.

일 실시예에 따른 동작 1109에서, 제1 전자 장치(123)는 자신의 상태 정보를 대표 전자 장치(120)로 송신할 수 있다. 상기 제1 전자 장치(123)는, 예를 들어, 동작 1107에서 동작을 제어한 결과에 대한 상태 정보 혹은 상기 제1 전자 장치(123)에서 발생한 이벤트나 리소스의 변경과 같은 상태 정보를 상기 대표 전자 장치(120)로 송신할 수 있다. In operation 1109 according to an embodiment, the first electronic device 123 may transmit its status information to the representative electronic device 120 . For example, the first electronic device 123 transmits state information about a result of controlling an operation in operation 1107 or state information such as an event or resource change occurring in the first electronic device 123 to the representative electronic device 123 . device 120.

도 12는, 본 개시의 일 실시예에 따른, IoT 시스템(예: 도 1의 IoT 시스템(100))에서 사용자 발화의 예를 도시한 도면이다. 12 is a diagram illustrating an example of user speech in an IoT system (eg, the IoT system 100 of FIG. 1 ) according to an embodiment of the present disclosure.

도 12를 참조하면, 사용자는 사물 인터넷 서비스 관련 어플리케이션(예: SmartThings)이 설치되어 있는 사용자 단말(150)의 사용자 인터페이스를 통해 제1 전자 장치(123)를 제어하는 명령을 입력할 수 있다. 예컨대, “에어컨을 무풍 모드로 해줘”라는 발화를 수행할 수 있다.Referring to FIG. 12 , the user may input a command for controlling the first electronic device 123 through the user interface of the user terminal 150 in which an IoT service related application (eg, SmartThings) is installed. For example, it is possible to perform an utterance, “Put the air conditioner into a windless mode”.

일 실시예에 의하면, 서버(110)는 사용자 단말(150)로부터 제1 전자 장치(123)를 제어하는 사용자의 명령을 획득할 수 있다 (동작 ①). 상기 서버(110)는 사전에 대표 전자 장치(120)로부터 상기 제1 전자 장치(123)와 D2D 연결되어 있음을 통보 받았으므로, 상기 제1 전자 장치(123)를 제어하는 명령을 네트워크(130)를 통해 상기 대표 전자 장치(120)로 송신할 수 있다 (동작 ②, 동작 ③). 상기 대표 전자 장치(120)는 상기 서버(110)로부터 수신된 상기 제1 전자 장치(123)를 제어하는 명령을 D2D 연결을 통해 상기 제1 전자 장치(123)로 전달할 수 있다 (동작 ④). 상기 제1 전자 장치(123)는 상기 대표 전자 장치(120)로부터 수신된 제어 명령에 따라, 예컨대 무풍 모드를 수행하도록 동작을 제어할 수 있다. According to an embodiment, the server 110 may obtain a user command for controlling the first electronic device 123 from the user terminal 150 (operation ①). Since the server 110 has been notified in advance from the representative electronic device 120 that it is D2D connected to the first electronic device 123, the server 110 sends a command to control the first electronic device 123 to the network 130. It can be transmitted to the representative electronic device 120 through (Operation ②, Operation ③). The representative electronic device 120 may transfer the command for controlling the first electronic device 123 received from the server 110 to the first electronic device 123 through a D2D connection (operation ④). The first electronic device 123 may control an operation to perform, for example, a windless mode according to a control command received from the representative electronic device 120 .

도 13은, 본 개시의 일 실시예에 따른, IoT 시스템(예: 도 1의 IoT 시스템(100))에서 대표 전자 장치의 변경을 도시한 도면이다. 13 is a diagram illustrating a change of a representative electronic device in an IoT system (eg, the IoT system 100 of FIG. 1 ) according to an embodiment of the present disclosure.

도 13을 참조하면, 대표 전자 장치(1320)가 정상적으로 동작할 수 없는 상황이 발생할 수 있다. 예를 들어, 상기 대표 전자 장치(1320)의 전원이 오프되거나, 상기 대표 전자 장치(1320)의 외부 네트워크 접속에 장애가 발생할 수 있다.Referring to FIG. 13 , a situation in which the representative electronic device 1320 cannot normally operate may occur. For example, the power of the representative electronic device 1320 may be turned off or a failure may occur in accessing the representative electronic device 1320 to an external network.

일 실시예에 의하면, 서버(110)가 대표 전자 장치(1320)의 전력 상태에 대한 불안정한 변화를 식별하거나 또는 상기 대표 전자 장치(1320)와의 통신 장애를 감지하면, 상기 서버(110)는 대표 전자 장치를 새롭게 결정할 필요가 있다고 판단할 수 있다. 상기 서버(110)는 우선 순위가 높은 후보 전자 장치를 대표 전자 장치(1324)로 결정할 수 있다.According to an embodiment, when the server 110 identifies an unstable change in the power state of the representative electronic device 1320 or detects a communication failure with the representative electronic device 1320, the server 110 sends the representative electronic device 1320 It may be determined that it is necessary to newly determine the device. The server 110 may determine a candidate electronic device having a high priority as the representative electronic device 1324 .

일 실시예에 의하면, 제1 전자 장치(1323)는 대표 전자 장치(1320)와의 D2D 연결을 해제하고, 새롭게 결정된 대표 전자 장치(1324)와 D2D 연결을 수행할 수 있다. 상기 대표 전자 장치(1324)와의 D2D 연결 수행 과정은 도 15를 참조하여 후술할 것이다. According to an embodiment, the first electronic device 1323 may release the D2D connection with the representative electronic device 1320 and perform a D2D connection with the newly determined representative electronic device 1324 . A process of performing a D2D connection with the representative electronic device 1324 will be described later with reference to FIG. 15 .

일 실시예에 의하면, 대표 전자 장치(1324)는 자신과 제1 전자 장치(1323)가 D2D 연결되었다는 정보를 서버(110)로 전송할 수 있다. 상기 서버(110)는 상기 대표 전자 장치(1324)로부터 상기 제1 전자 장치(1323)가 D2D 연결되었음을 통보 받고, 상기 제1 전자 장치(1323)를 제어하는 명령을 상기 대표 전자 장치(1324)로 송신할 수 있다. 상기 대표 전자 장치(1324)는 상기 수신한 명령을 상기 제1 전자 장치(1323)로 전달할 수 있다.According to an embodiment, the representative electronic device 1324 may transmit information indicating that it and the first electronic device 1323 are D2D connected to the server 110 . The server 110 receives notification from the representative electronic device 1324 that the first electronic device 1323 is D2D connected, and sends a command to control the first electronic device 1323 to the representative electronic device 1324. can be sent The representative electronic device 1324 may transmit the received command to the first electronic device 1323 .

일 실시예에 의하면, 대표 전자 장치(1324)는 제1 전자 장치(1323)의 상태 정보를 서버(110)로 전달할 수 있다. 상기 서버(110)는 상기 대표 전자 장치(1324)로부터 수신한 상기 제1 전자 장치(1323)의 상태 정보를 분석하고 활용하여 상기 제1 전자 장치(1323)에 관련된 제어를 수행할 수 있다.According to an embodiment, the representative electronic device 1324 may transmit state information of the first electronic device 1323 to the server 110 . The server 110 may perform control related to the first electronic device 1323 by analyzing and utilizing state information of the first electronic device 1323 received from the representative electronic device 1324 .

도 14는, 본 개시의 일 실시예에 따라, 서버(예: 도 1의 서버(110)에서 대표 전자 장치(예: 도 13의 대표 전자 장치(1320))의 변경을 위해 수행하는 동작 흐름도이다. 14 is a flowchart illustrating an operation performed to change a representative electronic device (eg, representative electronic device 1320 of FIG. 13 ) in a server (eg, server 110 of FIG. 1 ) according to an embodiment of the present disclosure. .

도 14를 참조하면, 일 실시예에 따른 동작 1401에서, 서버(110)는 대표 전자 장치(1320)의 장애를 감지할 수 있다. 상기 서버(110)는 상기 대표 전자 장치(1320)와의 네트워크 연결에 장애가 발생했음을 감지하거나 혹은 상기 대표 전자 장치(1320)의 전원 공급이 불안정하다고 감지할 수 있다.Referring to FIG. 14 , in operation 1401 according to an embodiment, the server 110 may detect a failure of the representative electronic device 1320 . The server 110 may detect that a failure has occurred in the network connection with the representative electronic device 1320 or that the power supply of the representative electronic device 1320 is unstable.

일 실시예에 따른 동작 1403에서, 서버(110)는 후보 전자 장치 중에서 신뢰도가 가장 높은 후보 전자 장치를 대표 전자 장치(예: 도 13의 대표 전자 장치(1324))로 결정할 수 있다.In operation 1403 according to an embodiment, the server 110 may determine a candidate electronic device having the highest reliability among candidate electronic devices as a representative electronic device (eg, the representative electronic device 1324 of FIG. 13 ).

일 실시예에 따른 동작 1405에서, 서버(110)는 대표 전자 장치(1324)에게 대표 전자 장치로 선정되었음을 전송할 수 있다.In operation 1405 according to an embodiment, the server 110 may transmit to the representative electronic device 1324 that it has been selected as the representative electronic device.

일 실시예에 따른 동작 1407에서, 서버(110)는 대표 전자 장치(1324)로부터 대표 전자 장치의 SSID, 주파수 정보, IP 정보와 같은 디바이스 정보를 수신할 수 있다. In operation 1407 according to an embodiment, the server 110 may receive device information such as the SSID, frequency information, and IP information of the representative electronic device from the representative electronic device 1324 .

일 실시예에 따른 동작 1409에서, 서버(110)는 수신한 대표 전자 장치의 디바이스 정보에 기초하여, 상기 서버(110)의 메모리(예: 도 3의 메모리(111))에 저장된 대표 전자 장치 정보를 갱신할 수 있다.In operation 1409 according to an embodiment, the server 110 based on the received device information of the representative electronic device, the representative electronic device information stored in the memory of the server 110 (eg, the memory 111 of FIG. 3). can be updated.

일 실시예에 따른 동작 1411에서, 서버(110)는 대표 전자 장치(1324)의 디바이스 정보를 전자 장치들에게 송신할 수 있다. 상기 대표 전자 장치(1324)의 디바이스 정보를 수신한 상기 전자 장치들은 상기 디바이스 정보를 메모리(예: 도 4의 메모리(410))에 저장하여 추후 외부 네트워크(예: 도 1의 네트워크(130)) 접속에 장애가 발생할 시 상기 디바이스 정보를 활용하여 상기 대표 전자 장치(1324)와 D2D 연결을 신속히 수행할 수 있다.In operation 1411 according to an embodiment, the server 110 may transmit device information of the representative electronic device 1324 to the electronic devices. The electronic devices that have received the device information of the representative electronic device 1324 store the device information in a memory (eg, the memory 410 of FIG. 4 ), and later connect to an external network (eg, the network 130 of FIG. 1 ). When a connection failure occurs, a D2D connection with the representative electronic device 1324 can be quickly performed using the device information.

도 15는, 본 개시의 일 실시예에 따른, IoT 시스템(예: 도 1의 IoT 시스템(100))에서 대표 전자 장치를 변경하기 위한 메시지 시퀀스 다이어그램이다. 15 is a message sequence diagram for changing a representative electronic device in an IoT system (eg, the IoT system 100 of FIG. 1 ) according to an embodiment of the present disclosure.

도 15를 참조하면, 일 실시예에 따라, 서버(110)는 외부 네트워크(예: 도 1의 네트워크(130))를 통한 대표 전자 장치(120)와의 연결이 해제되었음을 인지할 있다 (동작 1501). 상기 외부 네트워크(130)를 통한 상기 대표 전자 장치(120)와의 연결 해제는, 상기 서버(110) 및/또는 상기 대표 전자 장치(120) 내부 장애이거나, 또는 상기 서버(110)와 상기 네트워크(130) 사이의 연결 문제이거나, 또는 상기 네트워크(130)와 상기 대표 전자 장치(120) 사이의 연결 문제로 인하여 발생될 수 있다.Referring to FIG. 15 , according to an embodiment, the server 110 may recognize that the connection with the representative electronic device 120 through an external network (eg, the network 130 of FIG. 1 ) has been released (operation 1501). . The disconnection from the representative electronic device 120 through the external network 130 is an internal failure of the server 110 and/or the representative electronic device 120, or the server 110 and the network 130 ), or a connection problem between the network 130 and the representative electronic device 120.

동작 1503에서, 상기 대표 전자 장치(120)는 외부 네트워크(130)를 통한 서버(110)와의 연결이 해제되었음을 감지하면, 제1 전자 장치(123)를 포함한, 자신과 D2D 연결된 모든 전자 장치로 D2D 연결을 해제할 것을 브로드캐스팅할 수 있다.In operation 1503, when the representative electronic device 120 detects that the connection with the server 110 through the external network 130 is disconnected, it transmits all D2D-connected electronic devices including the first electronic device 123 to the representative electronic device 120. You can broadcast to disconnect.

동작 1505에서, 상기 서버(110)는 후보 전자 장치 중에서 1순위인 후보 전자 장치(124)에게 대표 전자 장치로 선정되었다는 메시지를 송신할 수 있다. 상기 후보 전자 장치(124)는 상기 서버(110)로부터 대표 전자 장치로 선정되었다는 메시지를 수신할 수 있다.In operation 1505, the server 110 may transmit a message indicating that the electronic device has been selected as a representative electronic device to the candidate electronic device 124, which ranks first among the candidate electronic devices. The candidate electronic device 124 may receive a message indicating that it has been selected as a representative electronic device from the server 110 .

일 실시예에 의하면, 동작 1501과 동작 1505의 순서는 예시일 뿐, 이에 한정되지 않는다. 즉, 동작 1501과 동작 1505의 순서는 상호 변동될 수 있으며, 동시에 실행될 수 있다According to one embodiment, the order of operation 1501 and operation 1505 is only an example, but is not limited thereto. That is, the order of operation 1501 and operation 1505 may be mutually changed and may be executed simultaneously.

동작 1507에서, 상기 제1 전자 장치(123)는 대표 전자 장치를 스캔하는 신호를 송신할 수 있다. 상기 대표 전자 장치(124)는 상기 제1 전자 장치(123)에 의해 송신된 스캔 신호를 수신할 수 있다.In operation 1507, the first electronic device 123 may transmit a signal for scanning a representative electronic device. The representative electronic device 124 may receive the scan signal transmitted by the first electronic device 123 .

동작 1509 내지 동작 1517은 도 8을 참조하여 전술한 동작 805 내지 동작 813과 동일할 수 있다.Operations 1509 to 1517 may be the same as operations 805 to 813 described above with reference to FIG. 8 .

동작 1519에서, 상기 서버(110)는 전자 장치들로 상기 대표 전자 장치(124)의 디바이스 정보를 브로드캐스팅할 수 있다.In operation 1519, the server 110 may broadcast device information of the representative electronic device 124 to electronic devices.

도 16은, 본 개시의 일 실시예에 따른, IoT 시스템(예: 도 1의 IoT 시스템(100))에 속한 전자 장치(예: 도 1의 전자 장치(120 내지 124))에서 외부 네트워크 접속에 장애가 발생한 상황을 도시한 도면이다. 16 is a diagram for external network access in an electronic device (eg, the electronic devices 120 to 124 of FIG. 1 ) belonging to an IoT system (eg, the IoT system 100 of FIG. 1 ) according to an embodiment of the present disclosure. It is a diagram showing a situation in which a failure occurs.

도 16을 참조하면, 전자 장치들(120~124)은 외부 네트워크(130)로의 접속에 장애가 발생할 수 있다. Referring to FIG. 16 , electronic devices 120 to 124 may experience failures in accessing the external network 130 .

일 실시예에 의하면, 게이트웨이 또는 라우터의 고장 혹은 오류로 인해, 전자 장치들(120~124)과 서버(110)의 연결에 장애가 발생할 수 있다. 다른 실시예에 의하면, 네트워크 사업자 시스템의 오류로 인해, 전자 장치들(120~124)과 서버(110)의 연결에 장애가 발생할 수 있다. 상기 전자 장치들(120~124)은 외부 네트워크(130)로의 접속 장애를 감지하고, 서버(110)로부터 장애 발생 전에 수신된 대표 전자 장치(120)에 대한 디바이스 정보에 근거하여, 상기 대표 전자 장치(120)와 D2D 연결을 수행할 수 있다. 상기 전자 장치들(120~124)은 상기 대표 전자 장치(120)를 중심으로 D2D 연결을 통한 로컬 네트워크를 구성하여 기초적인 사물 인터넷 서비스를 수행할 수 있다.According to an embodiment, a connection failure between the electronic devices 120 to 124 and the server 110 may occur due to a failure or error of a gateway or router. According to another embodiment, a connection failure between the electronic devices 120 to 124 and the server 110 may occur due to an error in the network operator's system. The electronic devices 120 to 124 detect a connection failure to the external network 130, and based on device information about the representative electronic device 120 received before the failure occurs from the server 110, the representative electronic device 120 and D2D connection can be performed. The electronic devices 120 to 124 can form a local network centered on the representative electronic device 120 through a D2D connection to perform a basic IoT service.

일 실시예에 의하면, 전자 장치(122)(예: 세탁기)는 세탁 작업이 완료되면, 대표 전자 장치(120)로 세탁 작업이 완료되었다는 정보를 송신하고, 상기 대표 전자 장치(120)는 자신의 디스플레이를 통해 세탁 작업이 완료되었음을 표시할 수 있다.According to an embodiment, when the laundry operation is completed, the electronic device 122 (eg, the washing machine) transmits information indicating that the laundry operation has been completed to the representative electronic device 120, and the representative electronic device 120 transmits information indicating that the laundry operation has been completed. The completion of the washing operation may be indicated through the display.

일 실시예에 의하면, 외부 네트워크(130)의 장애가 복구되면, 대표 전자 장치(120)는 자신을 포함한 다른 전자 장치들(121~124)의 현재 상태 정보와 타임스탬프를 서버(110)로 송신할 수 있다. 상기 서버(110)는 상기 대표 전자 장치(120)로부터 수신한 전자 장치들(120~124)의 상태 정보와 상기 타임스탬프에 근거하여, 자신이 관리하는 상기 전자 장치들(120~124)의 정보를 업데이트함으로써 상기 전자 장치들(120~124)에 대한 정보를 동기화할 수 있다. According to an embodiment, when a failure of the external network 130 is restored, the representative electronic device 120 transmits current state information and timestamps of the other electronic devices 121 to 124 including itself to the server 110. can The server 110 manages information on the electronic devices 120 to 124 based on the status information of the electronic devices 120 to 124 received from the representative electronic device 120 and the timestamp. Information on the electronic devices 120 to 124 may be synchronized by updating.

도 17은, 본 개시의 일 실시예에 따른, IoT 시스템(예: 도 1의 IoT 시스템(100))에 속한 전자 장치(예: 도 1의 전자 장치(120~124)에서 외부 네트워크 접속 장애 발생 및 복구 시 대표 전자 장치(예: 도 1의 대표 전자 장치(120)에서 수행할 동작 흐름도이다. 17 is an external network connection failure in an electronic device (eg, the electronic devices 120 to 124 of FIG. 1) belonging to an IoT system (eg, the IoT system 100 of FIG. 1) according to an embodiment of the present disclosure. and a flowchart of an operation to be performed in the representative electronic device (eg, the representative electronic device 120 of FIG. 1 ) upon recovery.

도 17을 참조하면, 일 실시예에 따른 동작 1701에서, 대표 전자 장치(120)는 외부 네트워크(130)와의 연결에 장애가 발생하였음을 감지할 수 있다.Referring to FIG. 17 , in operation 1701 according to an embodiment, the representative electronic device 120 may detect that a failure has occurred in connection with the external network 130 .

일 실시예에 따른 동작 1703에서, 대표 전자 장치(120)는 자신과 D2D 연결되어 있는 전자 장치들과 D2D 연결을 해제할 수 있다.In operation 1703 according to an embodiment, the representative electronic device 120 may disconnect the D2D connection from electronic devices that are D2D connected to the representative electronic device 120 .

일 실시예에 따른 동작 1705에서, 대표 전자 장치(120)는 새롭게 지정된 대표 전자 장치를 발견하고자 스캔을 시도할 수 있다. 사전에 설정한 임계 시간동안 대표 전자 장치를 스캔하는데 실패하면, 상기 대표 전자 장치(120)는 IoT 시스템(100)에 속한 전자 장치에서 외부 네트워크(130) 연결에 장애가 발생한 것으로 간주할 수 있다.In operation 1705 according to an embodiment, the representative electronic device 120 may attempt a scan to discover a newly designated representative electronic device. If the representative electronic device fails to scan for a predetermined threshold time, the representative electronic device 120 may consider that an electronic device belonging to the IoT system 100 has a connection failure to the external network 130.

일 실시예에 따른 동작 1707에서, 대표 전자 장치(120)는 IoT 시스템(100)에 속한 전자 장치와 D2D 연결을 수행하여, 상기 대표 전자 장치(120)를 중심으로 한 로컬 네트워크를 구성할 수 있다.In operation 1707 according to an embodiment, the representative electronic device 120 may configure a local network centered on the representative electronic device 120 by performing a D2D connection with an electronic device belonging to the IoT system 100. .

일 실시예에 따른 동작 1709에서, 대표 전자 장치(120)는 D2D 기반의 기초적인 사물 인터넷 서비스를 수행할 수 있다.In operation 1709 according to an embodiment, the representative electronic device 120 may perform a D2D-based basic IoT service.

일 실시예에 따른 동작 1711에서, 대표 전자 장치(120)는 외부 네트워크(130) 연결 장애가 해소되었는지 판단할 수 있다. 상기 대표 전자 장치(120)는 외부 네트워크(130) 연결이 복구되었다고 판단하면 동작 1713을 수행하고, 그렇지 않으면 동작 1709로 복귀할 수 있다.In operation 1711 according to an embodiment, the representative electronic device 120 may determine whether a connection failure with the external network 130 is resolved. The representative electronic device 120 may perform operation 1713 if it is determined that the connection to the external network 130 is restored, and otherwise return to operation 1709.

일 실시예에 따른 동작 1713에서, 대표 전자 장치(120)는 자신과 D2D 연결된 전자 장치들의 현재 상태 정보를 수집할 수 있다.In operation 1713 according to an embodiment, the representative electronic device 120 may collect current state information of electronic devices connected to it by D2D.

일 실시예에 따른 동작 1715에서, 대표 전자 장치(120)는 수집한 정보와 타임스탬프를 서버(110)로 송신할 수 있다. 상기 서버(110)는 상기 대표 전자 장치(120)로부터 수신한 전자 장치들의 상태 정보와 타임스탬프에 근거하여, 자신이 관리하는 전자 장치들의 정보를 업데이트함으로써 상기 전자 장치들에 대한 정보를 동기화할 수 있다. 다른 실시예에 의하면, 대표 전자 장치(120)는 자신과 D2D 연결되어 있는 전자 장치들에 대한 D2D 연결을 일괄적으로 해제하라는 사용자의 명령을 서버(110)로부터 수신하여, 상기 D2D 연결을 해제할 수 있다.In operation 1715 according to an embodiment, the representative electronic device 120 may transmit the collected information and timestamp to the server 110 . The server 110 may synchronize information on the electronic devices by updating information on the electronic devices managed by the server 110 based on the status information and timestamp of the electronic devices received from the representative electronic device 120. there is. According to another embodiment, the representative electronic device 120 receives a user command from the server 110 to collectively release the D2D connection of the electronic devices that are D2D connected to the representative electronic device 120, and releases the D2D connection. can

도 18은, 본 개시의 일 실시예에 따른, 서버(예: 도 1의 서버(110))의 상태 천이도이다. 18 is a state transition diagram of a server (eg, the server 110 of FIG. 1 ) according to an embodiment of the present disclosure.

도 18을 참조하면, 서버(110)가 천이 가능한 상태는, 개시 모드(start mode)(1800), 아이들 모드(idle mode)(1810), 대표 전자 장치 선택 모드(1820) 또는 후보 전자 장치 추가 모드(1830)를 포함할 수 있다.Referring to FIG. 18 , states in which the server 110 can transition include a start mode 1800, an idle mode 1810, a representative electronic device selection mode 1820, or a candidate electronic device addition mode. (1830).

일 실시예에 의하면, 개시 모드(1800)는 서버(110)가 전원이 인가되고 부팅되는 상태일 수 있다. 상기 개시 모드(1800)에서 상기 서버(110)가 사물 인터넷 서비스에 관련된 프로그램 및/또는 데이터 베이스를 초기화하는 동작을 수행(동작 1801)하면, 상기 서버(110)의 상태는 개시 모드(1800)에서 아이들 모드(1810)로 천이될 수 있다.According to one embodiment, the start mode 1800 may be a state in which the server 110 is powered on and booted. When the server 110 performs an operation (operation 1801) of initializing a program and/or a database related to the IoT service in the initiation mode 1800, the state of the server 110 changes in the initiation mode 1800. A transition may be made to idle mode 1810 .

일 실시예에 의하면, 아이들 모드(1810)는 서버(110)가 전자 장치들(120~124)과 네트워크 연결을 수행(동작 1811)하는 상태일 수 있다. 상기 네트워크 연결을 수행(동작 1811)하는 동작은, 사용자가 사물 인터넷 서비스 관련 어플리케이션이 설치되어 있는 사용자 단말을 이용하여 수행하거나, 상기 전자 장치들(120~124)이 자체적으로 수행할 수 있다. 상기 서버(110)가 상기 네트워크 연결을 수행한 상기 전자 장치 중에 대표 전자 장치(120)가 존재하지 않은 것으로 판단하거나, 사용자로부터 대표 전자 장치 입력 요청이 있거나, 대표 전자 장치를 선정할 필요가 있다고 판단하면(동작 1813)하면, 상기 서버(110)의 상태는 대표 전자 장치 선택 모드(1820)로 천이할 수 있다. 예를 들어, 상기 서버(110)가 상기 대표 전자 장치(120)의 장애를 감지하고 상기 대표 전자 장치(120)의 변경이 필요하다고 판단하면, 상기 서버(110)의 상태는 상기 대표 전자 장치 선택 모드(1820)로 천이할 수 있다. 또는 상기 서버(110)는 상기 사용자가 직접 상기 대표 전자 장치(120)를 선택할 때 상기 아이들 모드(1810)에서 상기 대표 전자 장치 선택 모드(1820)로 천이할 수 있다.According to an embodiment, the idle mode 1810 may be a state in which the server 110 performs network connection with the electronic devices 120 to 124 (operation 1811). The operation of performing the network connection (operation 1811) can be performed by the user using a user terminal in which an application related to the IoT service is installed, or can be performed by the electronic devices 120 to 124 themselves. The server 110 determines that the representative electronic device 120 does not exist among the electronic devices that have connected to the network, or that there is a request to input a representative electronic device from the user, or that it is necessary to select a representative electronic device. If so (operation 1813), the state of the server 110 may transition to a representative electronic device selection mode 1820. For example, when the server 110 detects a failure of the representative electronic device 120 and determines that the representative electronic device 120 needs to be changed, the state of the server 110 determines that the representative electronic device is selected. Mode 1820 may be transitioned. Alternatively, the server 110 may transition from the idle mode 1810 to the representative electronic device selection mode 1820 when the user directly selects the representative electronic device 120 .

일 실시예에 의하면, 서버(110)가 사용자로부터 대표 전자 장치(120)의 변경을 요청하는 입력도 없고, 대표 전자 장치(120)를 새롭게 선정할 필요가 없고, 전자 장치들(120~124) 중에 대표 전자 장치(120)가 존재(동작 1815)하는 것으로 판단하면, 상기 서버(110)의 상태는 아이들 모드(1810)에서 후보 전자 장치 추가 모드(1830)로 천이될 수 있다.According to an embodiment, the server 110 does not receive an input requesting a change of the representative electronic device 120 from the user, there is no need to newly select the representative electronic device 120, and the electronic devices 120 to 124 If it is determined that the representative electronic device 120 exists (operation 1815), the state of the server 110 may transition from the idle mode 1810 to the candidate electronic device addition mode 1830.

일 실시예에 의하면, 대표 전자 장치 선택 모드(1820)는 서버(110)가 네트워크 연결에 대한 신뢰도에 근거하여 대표 전자 장치(120)를 결정하는 상태일 수 있다. 상기 대표 전자 장치 선택 모드(1820)는 아이들 모드(1810)로부터 진입될 수 있다. 상기 서버(110)는 대표 전자 장치 결정을 완료(동작 1821)하면, 다시 상기 아이들 모드(1810)로 복귀할 수 있다.According to an embodiment, the representative electronic device selection mode 1820 may be a state in which the server 110 determines the representative electronic device 120 based on the reliability of the network connection. The representative electronic device selection mode 1820 may be entered from the idle mode 1810 . When the server 110 completes determining the representative electronic device (operation 1821), it may return to the idle mode 1810 again.

일 실시예에 의하면, 후보 전자 장치 추가 모드(1830)는 서버(110)가 전자 장치들(120~124)중에서 후보 전자 장치(124)를 선정하고, 순위를 매기는 동작 상태일 수 있다. 상기 후보 전자 장치 추가 모드(1830)는 아이들 모드(1810)로부터 진입될 수 있다. 상기 후보 전자 장치(124)를 선정하는 기준은 외부 네트워크 접속이 가능하고, D2D 연결이 가능한 지 여부이며, 신뢰도에 따라 상기 후보 전자 장치(124)의 우선 순위를 매길 수 있다. 상기 후보 전자 장치 추가 모드(1830)는 후보 전자 장치 추가를 완료(동작 1831)하면, 다시 상기 아이들 모드(1810)로 복귀할 수 있다.According to an embodiment, the candidate electronic device addition mode 1830 may be an operating state in which the server 110 selects and ranks the candidate electronic device 124 among the electronic devices 120 to 124 . The candidate electronic device addition mode 1830 may be entered from the idle mode 1810 . The criterion for selecting the candidate electronic device 124 is whether external network access is possible and D2D connection is possible, and the candidate electronic device 124 can be prioritized according to reliability. When the candidate electronic device addition mode 1830 completes adding the candidate electronic device (operation 1831), it may return to the idle mode 1810 again.

도 19는, 본 개시의 일 실시예에 따른, 전자 장치(예: 도 4의 전자 장치(400))의 상태 천이도이다.19 is a state transition diagram of an electronic device (eg, the electronic device 400 of FIG. 4 ) according to an embodiment of the present disclosure.

도 19를 참조하면, 전자 장치(400)가 천이 가능한 상태는, 일반 모드(1910), 스캔 모드(1920), 대표 전자 장치와 D2D 연결 모드(1930), 후보 전자 장치 모드(1940) 또는 대표 전자 장치 모드(1950)를 포함할 수 있다.Referring to FIG. 19 , states in which the electronic device 400 can transition include a normal mode 1910, a scan mode 1920, a representative electronic device and D2D connection mode 1930, a candidate electronic device mode 1940, or a representative electronic device mode 1940. device mode 1950.

일 실시예에 의하면, 일반 모드(1910)는 전자 장치(400)가 초기화되고, 가전 제품 본래의 주요 기능을 수행하는 동작 상태일 수 있다. 상기 전자 장치(400)가 대표 전자 장치(120)로서의 전제 조건을 만족(동작 1911)하면, 예를 들어 상기 전자 장치의 외부 네트워크 접속 기능이 정상적으로 동작하고, D2D 연결 기능이 정상적으로 동작하면, 상기 전자 장치(400)의 상태는 상기 일반 모드(1910)에서 후보 전자 장치 모드(1940)로 천이될 수 있다.According to an embodiment, the normal mode 1910 may be an operating state in which the electronic device 400 is initialized and performs main functions inherent in the home appliance. If the electronic device 400 satisfies the prerequisites as the representative electronic device 120 (operation 1911), for example, if the external network connection function of the electronic device normally operates and the D2D connection function normally operates, the electronic device 400 operates normally. The state of the device 400 may transition from the normal mode 1910 to the candidate electronic device mode 1940 .

일 실시예에 의하면, 전자 장치(400)의 외부 네트워크 접속에 장애가 발생(동작 1913)하면, 상기 전자 장치(400)의 상태는 일반 모드(1910)에서 스캔 모드(1920)로 천이될 수 있다.According to an embodiment, when a failure occurs in the external network connection of the electronic device 400 (operation 1913), the state of the electronic device 400 may transition from the normal mode 1910 to the scan mode 1920.

일 실시예에 의하면, 스캔 모드(1920)는, 전자 장치(400)가 대표 전자 장치(120)와 D2D 연결을 하기 위해 상기 대표 전자 장치(120)를 발견하는(Discovery) 동작일 수 있다. 상기 전자 장치(400)가 상기 대표 전자 장치(120)를 발견하고 상기 대표 전자 장치(120)와 D2D 연결(동작 1921)을 수행하면, 상기 전자 장치(400)의 상태는 상기 스캔 모드(1920)에서 대표 전자 장치와 D2D 연결 모드(1930)로 천이될 수 있다. 상기 전자 장치(400)가 상기 대표 전자 장치(120)와 D2D 연결이 불가(동작 1923)하면, 상기 전자 장치(400)의 상태는 상기 스캔 모드(1920)에서 일반 모드(1910)로 복귀할 수 있다.According to an embodiment, the scan mode 1920 may be an operation in which the electronic device 400 discovers the representative electronic device 120 in order to establish a D2D connection with the representative electronic device 120 . When the electronic device 400 discovers the representative electronic device 120 and performs a D2D connection (operation 1921) with the representative electronic device 120, the state of the electronic device 400 is the scan mode 1920. In , transition may be made to a representative electronic device and D2D connection mode (1930). If the electronic device 400 cannot establish a D2D connection with the representative electronic device 120 (operation 1923), the state of the electronic device 400 may return from the scan mode 1920 to the normal mode 1910. there is.

일 실시예에 의하면, 대표 전자 장치와 D2D 연결 모드(1930)는 전자 장치(400)가 대표 전자 장치(120)의 중계를 통해 서버(110)의 제어 명령을 수신하고, 자신의 상태를 보고하는 동작 상태일 수 있다. 상기 대표 전자 장치(120)의 외부 네트워크 접속에 장애가 발생하거나, 상기 대표 전자 장치(120)의 전원 공급에 이상이 발생하여, 상기 전자 장치(400)와 상기 대표 전자 장치(120)의 D2D 연결이 해제(동작 1931)되면, 상기 전자 장치(400)의 상태는 대표 전자 장치와 D2D 연결 모드(1930)에서 일반 모드(1910)로 천이될 수 있다.According to an embodiment, the D2D connection mode 1930 with the representative electronic device is such that the electronic device 400 receives a control command from the server 110 through the relay of the representative electronic device 120 and reports its own status. It may be in an operating state. A failure occurs in the representative electronic device 120's connection to an external network or an error occurs in the power supply of the representative electronic device 120, resulting in a D2D connection between the electronic device 400 and the representative electronic device 120. When released (operation 1931), the state of the electronic device 400 may transition from the representative electronic device and D2D connection mode (1930) to the normal mode (1910).

일 실시예에 의하면, 후보 전자 장치 모드(1940)는 전자 장치(400)가 대표 전자 장치(120)로서의 전제 조건을 만족하는 경우, 일반 모드(1910)로부터 진입하는 상태일 수 있다. 상기 전자 장치(400)가 서버(110)에 의해 혹은 사용자의 선택에 의해, 대표 전자 장치(120)로 선정(동작 1941)되면, 상기 전자 장치(400)의 상태는 후보 전자 장치 모드(1940)에서 대표 전자 장치 모드(1950)로 천이될 수 있다.According to an embodiment, the candidate electronic device mode 1940 may be a state entered from the normal mode 1910 when the electronic device 400 satisfies prerequisites as the representative electronic device 120 . When the electronic device 400 is selected as the representative electronic device 120 by the server 110 or by a user's selection (operation 1941), the state of the electronic device 400 is a candidate electronic device mode (1940). In the representative electronic device mode (1950) can be transitioned.

일 실시예에 의하면, 전자 장치(400)가 외부 네트워크(130)와의 접속에 장애가 발생(동작 1943)하면, 상기 전자 장치(400)의 상태는 후보 전자 장치 모드(1940)에서 스캔 모드(1920)로 천이될 수 있다.According to an embodiment, when a failure occurs in the connection of the electronic device 400 to the external network 130 (operation 1943), the state of the electronic device 400 changes from the candidate electronic device mode 1940 to the scan mode 1920. can be transitioned to

일 실시예에 의하면, 대표 전자 장치 모드(1950)는 전자 장치(400)가 대표 전자 장치(120)로 선정되어, 제1 전자 장치와 서버(110)간의 중계를 수행하는 동작 상태일 수 있다. 상기 서버(110)에 의해 혹은 사용자에 의해 대표 전자 장치 변경 요청이 발생(동작 1951)하면, 상기 전자 장치(400)의 상태는 대표 전자 장치 모드(1950)에서 후보 전자 장치 모드(1940)로 천이될 수 있다. According to an embodiment, the representative electronic device mode 1950 may be an operating state in which the electronic device 400 is selected as the representative electronic device 120 and relays between the first electronic device and the server 110 . When a representative electronic device change request is generated by the server 110 or by the user (operation 1951), the state of the electronic device 400 transitions from the representative electronic device mode 1950 to the candidate electronic device mode 1940. It can be.

일 실시예에 의하면, 전자 장치(400)가 외부 네트워크(130)와의 접속에 장애가 발생(동작 1953)하면, 상기 전자 장치(400)의 상태는 대표 전자 장치 모드(1950)에서 스캔 모드(1920)로 천이될 수 있다.According to an embodiment, when a failure occurs in the connection of the electronic device 400 to the external network 130 (operation 1953), the state of the electronic device 400 changes from the representative electronic device mode 1950 to the scan mode 1920. can be transitioned to

본 개시에서 설명된 전자 장치 및 각각의 모듈에 의해 실행되는 기능들은 하드웨어 구성요소, 소프트웨어 구성요소, 및/또는 하드웨어 구성요소 및 소프트웨어 구성요소의 조합에 의해 구현될 수 있다. 소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령어(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 제어할 수 있다. 소프트웨어는, 컴퓨터 판독가능 저장 매체(computer-readable storage media)에 저장된 명령어를 포함하는 컴퓨터 프로그램으로 구현될 수 있다. 컴퓨터 판독가능 저장 매체에는, 예를 들어 ROM(Read-Only Memory), RAM(Random-Access Memory), 플로피 디스크, 하드 디스크 등의 마그네틱 저장 매체, CD-ROM, DVD(Digital Versatile Disc) 등의 광학 저장 매체 등이 포함될 수 있다. 컴퓨터 판독가능 저장 매체는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장매체가 신호(signal)를 포함하지 않으며 실재(tangible)한다는 것을 의미할 뿐 데이터가 저장매체에 반영구적 또는 임시적으로 저장됨을 구분하지 않는다.Functions executed by the electronic device and each module described in this disclosure may be implemented by hardware components, software components, and/or a combination of hardware components and software components. Software may include a computer program, code, instructions, or a combination of one or more of these, and may configure or control the processing device to operate as desired. Software may be implemented as a computer program including instructions stored in computer-readable storage media. Computer readable storage media include, for example, magnetic storage media such as ROM (Read-Only Memory), RAM (Random-Access Memory), floppy disks and hard disks, optical media such as CD-ROM and DVD (Digital Versatile Disc) A storage medium and the like may be included. The computer readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-temporary' only means that the storage medium does not contain a signal and is tangible, but does not distinguish whether data is stored semi-permanently or temporarily in the storage medium.

또한, 본 개시의 실시예들에 따른 프로그램은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 소프트웨어 프로그램, 소프트웨어 프로그램이 저장된 컴퓨터 판독가능 저장 매체를 포함할 수 있다. 예를 들어, 컴퓨터 프로그램 제품은 디바이스의 제조사 또는 전자 마켓(예를 들어, 구글 플레이스토어, 앱 스토어)을 통해 전자적으로 배포되는 소프트웨어 프로그램 형태의 상품(예를 들어, 다운로드 가능한 애플리케이션 (downloadable application))을 포함할 수 있다. 전자적 배포를 위하여, 소프트웨어 프로그램의 적어도 일부는 저장 매체에 저장되거나, 임시적으로 생성될 수 있다. 이 경우, 저장 매체는 제조사의 서버, 전자 마켓의 서버, 또는 소프트웨어 프로그램을 임시적으로 저장하는 중계 서버의 저장 매체가 될 수 있다.In addition, the program according to the embodiments of the present disclosure may be provided by being included in a computer program product. A computer program product may include a software program and a computer readable storage medium having the software program stored thereon. For example, a computer program product is a product in the form of a software program (eg, a downloadable application) that is distributed electronically through a manufacturer of a device or an electronic marketplace (eg, Google Play Store, App Store). can include For electronic distribution, at least a portion of the software program may be stored on a storage medium or may be temporarily created. In this case, the storage medium may be a storage medium of a manufacturer's server, an electronic market server, or a relay server temporarily storing a software program.

컴퓨터 프로그램 제품은, 서버 및 디바이스로 구성되는 시스템에서, 서버의 저장 매체 또는 디바이스의 저장 매체를 포함할 수 있다. 또는, 서버 또는 디바이스와 통신 연결되는 제3의 디바이스(예, 스마트폰)가 존재하는 경우, 컴퓨터 프로그램 제품은 제3의 디바이스의 저장 매체를 포함할 수 있다. 또는, 컴퓨터 프로그램 제품은 서버로부터 디바이스 또는 제3 디바이스로 전송되거나, 제3 디바이스로부터 디바이스로 전송되는 소프트웨어 프로그램 자체를 포함할 수 있다. 이 경우, 서버, 디바이스 및 제3 디바이스 중 하나가 컴퓨터 프로그램 제품을 실행하여 개시된 실시예들에 따른 방법을 수행할 수 있다. 또는, 서버, 디바이스 및 제3 디바이스 중 둘 이상이 컴퓨터 프로그램 제품을 실행하여 개시된 실시예들에 따른 방법을 분산하여 실시할 수 있다. 예를 들면, 서버가 서버에 저장된 컴퓨터 프로그램 제품을 실행하여, 서버와 통신 연결된 디바이스가 개시된 실시예들에 따른 방법을 수행하도록 제어할 수 있다. 또 다른 예로, 제3 디바이스가 컴퓨터 프로그램 제품을 실행하여, 제3 디바이스와 통신 연결된 디바이스가 개시된 실시예에 따른 방법을 수행하도록 제어할 수 있다. 제3 디바이스가 컴퓨터 프로그램 제품을 실행하는 경우, 제3 디바이스는 서버로부터 컴퓨터 프로그램 제품을 다운로드하고, 다운로드된 컴퓨터 프로그램 제품을 실행할 수 있다. 또는, 제3 디바이스는 프리로드(pre-loaded)된 상태로 제공된 컴퓨터 프로그램 제품을 실행하여 개시된 실시예들에 따른 방법을 수행할 수도 있다.A computer program product, in a system composed of a server and a device, may include a storage medium of a server or a storage medium of a device. Alternatively, if there is a third device (eg, a smart phone) that is communicatively connected to the server or device, the computer program product may include a storage medium of the third device. Alternatively, the computer program product may include a software program itself transmitted from the server to the device or the third device or from the third device to the device. In this case, one of the server, the device and the third device may execute the computer program product to perform the method according to the disclosed embodiments. Alternatively, two or more of the server, the device, and the third device may execute the computer program product to implement the method according to the disclosed embodiments in a distributed manner. For example, a server may execute a computer program product stored on the server to control a device communicatively connected to the server to perform a method according to the disclosed embodiments. As another example, the third device may execute a computer program product to control a device communicatively connected to the third device to perform a method according to the disclosed embodiment. When the third device executes the computer program product, the third device may download the computer program product from the server and execute the downloaded computer program product. Alternatively, the third device may perform the method according to the disclosed embodiments by executing a computer program product provided in a pre-loaded state.

본 개시에서 사용되는 용어는 단지 특정한 실시예를 설명하기 위해 사용되는 것으로 본 개시를 한정하려는 의도에서 사용된 것이 아니다. 예를 들면, 단수로 표현된 구성요소는 문맥상 명백하게 단수만을 의미하지 않는다면 복수의 구성요소를 포함하는 개념으로 이해되어야 한다. 본 개시에서 사용되는 '및/또는'이라는 용어는, 열거되는 항목들 중 하나 이상의 항목에 의한 임의의 가능한 모든 조합들을 포괄하는 것임이 이해되어야 한다. 본 개시에서 사용되는 '포함하다,' '가지다,' '구성되다' 등의 용어는 본 개시 상에 기재된 특징, 구성 요소, 부분품 또는 이들을 조합한 것이 존재함을 지정하려는 것일 뿐이고, 이러한 용어의 사용에 의해 하나 또는 그 이상의 다른 특징들이나 구성 요소, 부분품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 배제하려는 것은 아니다. 본 개시에서 사용된 '제1,' '제2' 등의 표현은 다양한 구성요소들을, 순서 및/또는 중요도에 상관없이 수식할 수 있고, 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 뿐 해당 구성요소들을 한정하지 않는다. Terms used in the present disclosure are used only to describe specific embodiments and are not intended to limit the present disclosure. For example, a component expressed in the singular number should be understood as a concept including a plurality of components unless the context clearly means only the singular number. It should be understood that the term 'and/or' as used in this disclosure encompasses any and all possible combinations of one or more of the listed items. Terms such as 'include,' 'have,' and 'consist of' used in this disclosure are only intended to designate that the features, components, parts, or combinations thereof described in this disclosure exist, and the use of these terms is not intended to exclude the possibility of the presence or addition of one or more other features, components, parts or combinations thereof. Expressions such as 'first' and 'second' used in the present disclosure may modify various elements regardless of order and/or importance, and are used only to distinguish one element from another element. components are not limited.

본 개시에서 전술한 설명은 구체적인 실시예들을 중심으로 이루어졌으나, 본 개시가 그러한 특정 실시예들로 한정되는 것은 아니며, 다양한 실시예들의 다양한 변경, 균등물, 및/또는 대체물을 모두 포괄하는 것으로 이해되어야 한다.Although the foregoing description in the present disclosure has been made based on specific embodiments, it is understood that the present disclosure is not limited to such specific embodiments, and covers various modifications, equivalents, and/or substitutes of various embodiments. It should be.

Claims (30)

전자 장치에 있어서,
하나 이상의 다른 전자 장치와 네트워크를 통해 데이터를 송수신하는 통신부;
적어도 하나의 프로그램을 저장하는 메모리; 및
상기 메모리 또는 상기 통신부와 전기적으로 연결되고, 상기 메모리에 저장된 프로그램의 하나 이상의 명령어를 실행하는 적어도 하나의 프로세서를 포함하며;
상기 적어도 하나의 프로세서는,
복수의 전자 장치들의 상기 네트워크와의 접속 가능 여부 또는 상기 네트워크와의 접속 유지 시간을 획득하고, 상기 네트워크와의 접속 가능 여부 또는 상기 접속 유지 시간 중 적어도 하나를 고려하여 상기 복수의 전자 장치들로부터 대표 전자 장치를 결정하는, 전자 장치.
In electronic devices,
a communication unit that transmits and receives data to and from one or more other electronic devices through a network;
a memory for storing at least one program; and
including at least one processor electrically connected to the memory or the communication unit and executing one or more instructions of a program stored in the memory;
The at least one processor,
Obtaining whether or not a plurality of electronic devices can connect to the network or maintaining a connection with the network, and considering at least one of whether or not a plurality of electronic devices can connect to the network or maintaining the connection time, is represented by the plurality of electronic devices. An electronic device that determines an electronic device.
제1항에 있어서,
상기 적어도 하나의 프로세서는,
상기 복수의 전자 장치들 중에서 상기 네트워크와의 접속이 가능한 하나 또는 복수의 후보 전자 장치들을 결정하고,
상기 후보 전자 장치가 하나이면, 상기 하나의 후보 전자 장치를 상기 대표 전자 장치로 결정하며,
상기 후보 전자 장치가 복수이면, 상기 접속 유지 시간을 고려하여 상기 복수의 후보 전자 장치들로부터 상기 대표 전자 장치로 결정하는, 전자 장치
According to claim 1,
The at least one processor,
determining one or a plurality of candidate electronic devices capable of accessing the network from among the plurality of electronic devices;
If the number of candidate electronic devices is one, determining the one candidate electronic device as the representative electronic device;
If the number of candidate electronic devices is plural, determining the representative electronic device from among the plurality of candidate electronic devices in consideration of the connection maintenance time.
제1항에 있어서,
상기 적어도 하나의 프로세서는,
상기 대표 전자 장치로 결정되었음을 상기 대표 전자 장치로 통보하는, 전자 장치.
According to claim 1,
The at least one processor,
An electronic device that notifies the representative electronic device that the representative electronic device has been determined.
제1항에 있어서,
상기 적어도 하나의 프로세서는,
상기 네트워크를 통한 상기 대표 전자 장치와의 연결이 끊어지면, 새로운 대표 전자 장치를 결정하는, 전자 장치.
According to claim 1,
The at least one processor,
The electronic device determining a new representative electronic device when the connection with the representative electronic device through the network is disconnected.
제1항에 있어서,
상기 적어도 하나의 프로세서는,
상기 복수의 전자 장치들 중에서 상기 네트워크와의 접속이 가능한 하나 또는 복수의 후보 전자 장치들을 결정하고,
상기 후보 전자 장치가 하나이면, 상기 하나의 후보 전자 장치를 상기 대표 전자 장치로 결정하며,
상기 후보 전자 장치가 복수이면, 사용자의 요청에 의해 상기 복수의 후보 전자 장치들로부터 상기 대표 전자 장치로 결정하는, 전자 장치.
According to claim 1,
The at least one processor,
determining one or a plurality of candidate electronic devices capable of accessing the network from among the plurality of electronic devices;
If the number of candidate electronic devices is one, determining the one candidate electronic device as the representative electronic device;
When the number of candidate electronic devices is plural, determining the representative electronic device from among the plurality of candidate electronic devices according to a user's request.
제1항에 있어서,
상기 적어도 하나의 프로세서는,
상기 대표 전자 장치에 관한 정보를 상기 네트워크에 접속하고 있는 전자 장치로 전송하는, 전자 장치.
According to claim 1,
The at least one processor,
An electronic device that transmits information about the representative electronic device to an electronic device accessing the network.
제1항에 있어서,
상기 적어도 하나의 프로세서는,
상기 대표 전자 장치로부터 상기 네트워크를 통해, 상기 대표 전자 장치와 직접 통신 방식에 의해 연결된 내부 전자 장치의 목록 정보를 수신하는, 전자 장치.
According to claim 1,
The at least one processor,
The electronic device receiving list information of internal electronic devices connected to the representative electronic device through a direct communication method from the representative electronic device through the network.
제1항에 있어서,
상기 적어도 하나의 프로세서는,
상기 복수의 전자 장치들 중에서 상기 네트워크와의 접속이 가능한 하나 또는 복수의 후보 전자 장치들을 결정하고,
상기 후보 전자 장치가 하나이면, 상기 하나의 후보 전자 장치를 상기 대표 전자 장치로 결정하며,
상기 후보 전자 장치가 복수이면, 상기 복수의 후보 전자 장치들 각각에 대하여 측정된 응답 속도를 고려하여 상기 복수의 후보 전자 장치들 중 하나를 상기 대표 전자 장치로 결정하는, 전자 장치.
According to claim 1,
The at least one processor,
determining one or a plurality of candidate electronic devices capable of accessing the network from among the plurality of electronic devices;
If the number of candidate electronic devices is one, determining the one candidate electronic device as the representative electronic device;
If the number of candidate electronic devices is plural, determining one of the plurality of candidate electronic devices as the representative electronic device in consideration of a response speed measured for each of the plurality of candidate electronic devices.
전자 장치에 있어서,
네트워크를 통해 외부 전자 장치와 데이터를 송수신하거나, 직접 통신 방식에 의해 내부 전자 장치와 데이터를 송수신하는 통신부;
적어도 하나의 프로그램을 저장하는 메모리; 및
상기 메모리 또는 상기 통신부와 전기적으로 연결되고, 상기 메모리에 저장된 프로그램의 하나 이상의 명령어를 실행하는 적어도 하나의 프로세서를 포함하며;
상기 적어도 하나의 프로세서는
상기 외부 전자 장치로부터 상기 네트워크를 통해 대표 전자 장치로 결정되었음이 통보되면, 스캔 동작을 수행하여 상기 내부 전자 장치와의 직접 통신 채널을 설정하고,
상기 외부 전자 장치로부터 상기 내부 전자 장치로 전송된 하향 데이터를 상기 네트워크를 통해 수신하면, 상기 하향 데이터를 상기 직접 통신 채널을 통해 상기 내부 전자 장치로 전송하며,
상기 내부 전자 장치로부터 상기 외부 전자 장치로 전송된 상향 데이터를 상기 직접 통신 채널을 통해 수신하면, 상기 상향 데이터를 상기 네트워크를 통해 상기 외부 전자 장치로 전송하는, 전자 장치.
In electronic devices,
a communication unit that transmits and receives data with an external electronic device through a network or transmits and receives data with an internal electronic device through a direct communication method;
a memory for storing at least one program; and
including at least one processor electrically connected to the memory or the communication unit and executing one or more instructions of a program stored in the memory;
the at least one processor
When the external electronic device notifies that the representative electronic device has been determined through the network, a scan operation is performed to establish a direct communication channel with the internal electronic device;
When receiving downlink data transmitted from the external electronic device to the internal electronic device through the network, transmits the downlink data to the internal electronic device through the direct communication channel;
and transmitting the uplink data to the external electronic device through the network when receiving upward data transmitted from the internal electronic device to the external electronic device through the direct communication channel.
제9항에 있어서,
상기 직접 통신 채널이 설정된 상기 내부 전자 장치는, 상기 네트워크를 통해 상기 외부 전자 장치와의 연결에 실패한 전자 장치임을 특징으로 하는, 전자 장치.
According to claim 9,
The electronic device of claim 1 , wherein the internal electronic device to which the direct communication channel is established is an electronic device that fails to connect to the external electronic device through the network.
제9항에 있어서,
상기 직접 통신 채널이 설정된 상기 내부 전자 장치는, 상기 네트워크와의 연결 이력이 존재하지 않는 전자 장치임을 특징으로 하는, 전자 장치.
According to claim 9,
The electronic device, characterized in that the internal electronic device for which the direct communication channel is established is an electronic device having no connection history with the network.
제9항에 있어서,
상기 적어도 하나의 프로세서는,
상기 네트워크와의 연결이 끊어지면, 상기 내부 전자 장치와 설정된 상기 직접 통신 채널을 해제하고,
상기 스캔 동작을 수행하여 새로운 대표 전자 장치로 결정된 내부 전자 장치와의 직접 통신 채널을 설정하는, 전자 장치.
According to claim 9,
The at least one processor,
When the connection with the network is disconnected, the direct communication channel established with the internal electronic device is released;
and establishing a direct communication channel with an internal electronic device determined as a new representative electronic device by performing the scan operation.
제9항에 있어서,
상기 적어도 하나의 프로세서는,
상기 직접 통신 채널이 설정된 상기 내부 전자 장치에 관한 정보를 상기 네트워크를 통해 상기 외부 전자 장치로 전달하는, 전자 장치.
According to claim 9,
The at least one processor,
The electronic device that transfers information about the internal electronic device through which the direct communication channel is established to the external electronic device through the network.
제9항에 있어서,
상기 적어도 하나의 프로세서는,
상기 외부 전자 장치에 등록된 상기 내부 전자 장치의 사용자 계정을 획득하고, 자신의 사용자 계정과 상기 획득한 사용자 계정을 비교하여 일치하면, 상기 내부 전자 장치와의 직접 통신 채널을 설정하는, 전자 장치.
According to claim 9,
The at least one processor,
Acquiring a user account of the internal electronic device registered to the external electronic device, and comparing its own user account with the acquired user account and establishing a direct communication channel with the internal electronic device if they match.
제9항에 있어서,
상기 적어도 하나의 프로세서는,
대표 전자 장치로 결정되었음이 통보되지 않은 상태에서,
상기 외부 전자 장치와의 연결이 끊어졌을 때,
상기 외부 전자 장치로부터 수신한 대표 전자 장치에 대한 정보에 근거하여 싱글 스캔을 수행하여 대표 전자 장치와 직접 통신 채널을 설정하는, 전자 장치.
According to claim 9,
The at least one processor,
In a state where it has not been notified that it has been determined as a representative electronic device,
When the connection with the external electronic device is disconnected,
The electronic device configured to establish a direct communication channel with the representative electronic device by performing a single scan based on information about the representative electronic device received from the external electronic device.
전자 장치에서의 동작 방법에 있어서,
복수의 전자 장치들의 네트워크와의 접속 가능 여부 또는 상기 네트워크와의 접속 유지 시간을 획득하는 동작; 및
상기 네트워크와의 접속 가능 여부 또는 상기 접속 유지 시간 중 적어도 하나를 고려하여 상기 복수의 전자 장치들로부터 대표 전자 장치를 결정하는 동작을 포함하는, 방법.
In the operating method in an electronic device,
obtaining whether or not a plurality of electronic devices can connect to a network or maintaining a connection to the network; and
and determining a representative electronic device from among the plurality of electronic devices in consideration of at least one of whether or not access to the network is possible or the connection maintenance time.
제16항에 있어서,
상기 복수의 전자 장치들 중에서 상기 네트워크와의 접속이 가능한 하나 또는 복수의 후보 전자 장치들을 결정하는 동작;
상기 후보 전자 장치가 하나이면, 상기 하나의 후보 전자 장치를 상기 대표 전자 장치로 결정하는 동작; 및
상기 후보 전자 장치가 복수이면, 상기 접속 유지 시간을 고려하여 상기 복수의 후보 전자 장치들로부터 상기 대표 전자 장치를 결정하는 동작을 포함하는, 방법.
According to claim 16,
determining one or a plurality of candidate electronic devices capable of accessing the network from among the plurality of electronic devices;
if the number of candidate electronic devices is one, determining the one candidate electronic device as the representative electronic device; and
and if the number of candidate electronic devices is plural, determining the representative electronic device from the plurality of candidate electronic devices in consideration of the connection maintenance time.
제16항에 있어서,
상기 대표 전자 장치로 결정되었음을 상기 대표 전자 장치로 통보하는 동작을 더 포함하는, 방법.
According to claim 16,
The method further comprising notifying the representative electronic device that the representative electronic device has been determined.
제16항에 있어서,
상기 네트워크를 통한 상기 대표 전자 장치와의 연결이 끊어지면, 새로운 대표 전자 장치를 결정하는 동작을 더 포함하는, 방법.
According to claim 16,
The method further comprising determining a new representative electronic device when the connection with the representative electronic device through the network is disconnected.
제16항에 있어서,
상기 복수의 전자 장치들 중에서 상기 네트워크와의 접속이 가능한 하나 또는 복수의 후보 전자 장치들을 결정하는 동작;
상기 후보 전자 장치가 하나이면, 상기 하나의 후보 전자 장치를 상기 대표 전자 장치로 결정하는 동작; 및
상기 후보 전자 장치가 복수이면, 사용자의 요청에 의해 상기 복수의 후보 전자 장치들로부터 상기 대표 전자 장치로 결정하는 동작을 포함하는, 방법.
According to claim 16,
determining one or a plurality of candidate electronic devices capable of accessing the network from among the plurality of electronic devices;
if the number of candidate electronic devices is one, determining the one candidate electronic device as the representative electronic device; and
and determining the representative electronic device from among the plurality of candidate electronic devices at the request of a user, when the number of candidate electronic devices is plural.
제16항에 있어서,
상기 대표 전자 장치에 관한 정보를 상기 네트워크에 접속하고 있는 전자 장치로 전송하는 동작을 더 포함하는, 방법.
According to claim 16,
The method further comprises transmitting information about the representative electronic device to an electronic device accessing the network.
제16항에 있어서,
상기 대표 전자 장치로부터 상기 네트워크를 통해, 상기 대표 전자 장치와 직접 통신 방식에 의해 연결된 내부 전자 장치의 목록 정보를 수신하는 동작을 더 포함하는, 방법.
According to claim 16,
The method further comprising receiving list information of internal electronic devices connected to the representative electronic device through the network from the representative electronic device through a direct communication method.
제16항에 있어서,
상기 복수의 전자 장치들 중에서 상기 네트워크와의 접속이 가능한 하나 또는 복수의 후보 전자 장치들을 결정하는 동작;
상기 후보 전자 장치가 하나이면, 상기 하나의 후보 전자 장치를 상기 대표 전자 장치로 결정하는 동작; 및
상기 후보 전자 장치가 복수이면, 상기 복수의 후보 전자 장치들 각각에 대하여 측정된 응답 속도를 고려하여 상기 복수의 후보 전자 장치들 중 하나를 상기 대표 전자 장치로 결정하는 동작을 포함하는, 방법.
According to claim 16,
determining one or a plurality of candidate electronic devices capable of accessing the network from among the plurality of electronic devices;
if the number of candidate electronic devices is one, determining the one candidate electronic device as the representative electronic device; and
and determining one of the plurality of candidate electronic devices as the representative electronic device in consideration of a response speed measured for each of the plurality of candidate electronic devices, if the number of candidate electronic devices is plural.
전자 장치에서의 동작 방법에 있어서,
외부 전자 장치로부터 네트워크를 통해 대표 전자 장치로 결정되었음이 통보되면, 스캔 동작을 수행하여 내부 전자 장치와의 직접 통신 채널을 설정하는 동작;
상기 외부 전자 장치로부터 상기 내부 전자 장치로 전송된 하향 데이터를 상기 네트워크를 통해 수신하면, 상기 하향 데이터를 상기 직접 통신 채널을 통해 상기 내부 전자 장치로 전송하는 동작; 및
상기 내부 전자 장치로부터 상기 외부 전자 장치로 전송된 상향 데이터를 상기 직접 통신 채널을 통해 수신하면, 상기 상향 데이터를 상기 네트워크를 통해 상기 외부 전자 장치로 전송하는 동작을 포함하는, 방법.
In the operating method in an electronic device,
setting a direct communication channel with the internal electronic device by performing a scan operation when the external electronic device notifies that the representative electronic device has been determined through the network;
transmitting the downlink data to the internal electronic device through the direct communication channel when downstream data transmitted from the external electronic device to the internal electronic device is received through the network; and
and transmitting the uplink data to the external electronic device through the network when receiving uplink data transmitted from the internal electronic device to the external electronic device through the direct communication channel.
제24항에 있어서,
상기 직접 통신 채널이 설정된 상기 내부 전자 장치는, 상기 네트워크를 통해 상기 외부 전자 장치와의 연결에 실패한 전자 장치임을 특징으로 하는, 방법.
According to claim 24,
The method of claim 1 , wherein the internal electronic device to which the direct communication channel is established is an electronic device that fails to connect to the external electronic device through the network.
제24항에 있어서,
상기 직접 통신 채널이 설정된 상기 내부 전자 장치는, 상기 네트워크와의 연결 이력이 존재하지 않는 전자 장치임을 특징으로 하는, 방법.
According to claim 24,
The method of claim 1 , wherein the internal electronic device to which the direct communication channel is established is an electronic device having no connection history with the network.
제24항에 있어서,
상기 네트워크와의 연결이 끊어지면, 상기 내부 전자 장치와 설정된 직접 통신 채널을 해제하고, 상기 스캔 동작을 수행하여 새로운 대표 전자 장치로 결정된 내부 전자 장치와의 직접 통신 채널을 설정하는 동작을 더 포함하는, 방법.
According to claim 24,
When the connection with the network is disconnected, releasing the direct communication channel established with the internal electronic device and performing the scan operation to establish a direct communication channel with the internal electronic device determined as the new representative electronic device Further comprising , method.
제24항에 있어서,
상기 직접 통신 채널이 설정된 상기 내부 전자 장치에 관한 정보를 상기 네트워크를 통해 상기 외부 전자 장치로 전달하는 동작을 더 포함하는, 방법.
According to claim 24,
The method further comprises transmitting information about the internal electronic device through which the direct communication channel is established to the external electronic device through the network.
제24항에 있어서,
상기 내부 전자 장치와의 직접 통신 채널을 설정하는 동작은, 상기 전자 장치와 상기 내부 전자 장치가 동일한 사용자 계정으로 상기 외부 전자 장치에 등록되어 있는지 확인하는 동작을 포함하는, 방법.
According to claim 24,
The setting of the direct communication channel with the internal electronic device includes checking whether the electronic device and the internal electronic device are registered with the external electronic device with the same user account.
제25항에 있어서,
상기 직접 통신 채널이 설정된 상기 내부 전자 장치는, 상기 외부 전자 장치와의 연결이 끊어지기 이전에 상기 외부 전자 장치로부터 수신한 상기 대표 전자 장치에 대한 정보에 근거하여, 싱글 스캔을 수행하여 상기 직접 통신 채널을 설정함을 특징으로 하는, 방법.
According to claim 25,
The internal electronic device to which the direct communication channel is established performs a single scan based on the information about the representative electronic device received from the external electronic device before the connection with the external electronic device is disconnected, thereby performing the direct communication. Characterized by setting a channel, the method.
KR1020210176632A 2021-12-10 2021-12-10 Apparatus and method for providing internet of things services KR20230087944A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210176632A KR20230087944A (en) 2021-12-10 2021-12-10 Apparatus and method for providing internet of things services

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210176632A KR20230087944A (en) 2021-12-10 2021-12-10 Apparatus and method for providing internet of things services

Publications (1)

Publication Number Publication Date
KR20230087944A true KR20230087944A (en) 2023-06-19

Family

ID=86988640

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210176632A KR20230087944A (en) 2021-12-10 2021-12-10 Apparatus and method for providing internet of things services

Country Status (1)

Country Link
KR (1) KR20230087944A (en)

Similar Documents

Publication Publication Date Title
JP2019509703A (en) Cloud-based control of Wi-Fi networks
CN112584364A (en) Bluetooth network, communication method, device and storage medium thereof
US20100083356A1 (en) System and method for intelligent automated remote management of electromechanical devices
US11726762B2 (en) Method of and devices for performing an over-the-air, OTA, upgrade in a network of communicatively interconnected devices
US20120331156A1 (en) Wireless control system, methods and apparatus
WO2017040534A1 (en) Management of gateway device using virtual gateway device
CN107005443A (en) Relaying residential gateway between terminal installation and server
CN107659889B (en) Data forwarding method and device
CN112512059A (en) Network optimization method, server, network side equipment, system and storage medium
CN110601871A (en) Virtual equipment testing method and device
US10966107B2 (en) Methods and apparatus for configuring and/or managing communications devices
EP4066441B1 (en) Management of iot devices in wireless communication networks
CN110427220B (en) Configuration method and device of device command, electronic device and storage medium
JP5190543B2 (en) Method for updating network element software in a communication network
CN111026426B (en) Repeater upgrading method and device
US20130311611A1 (en) Method and device for executing a device management command based on an execution time
JP6337891B2 (en) Communication system, communication timing control device, connection control device, communication timing control method, and program
CN109245974A (en) Household electrical appliance distribution method, apparatus and computer readable storage medium
KR101772097B1 (en) Multiple access controller for boiler
KR20230087944A (en) Apparatus and method for providing internet of things services
CN105578453B (en) addressing method and device
US20230180026A1 (en) Node control unit and network-service device
CN110611589B (en) Control method and device of regional control system and air conditioning system
JP2022553529A (en) Apparatus, method and computer program for operating network devices
KR20110033385A (en) Method for test protocol of wibro access system, and system therefor