KR20230087944A - Apparatus and method for providing internet of things services - Google Patents
Apparatus and method for providing internet of things services Download PDFInfo
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0668—Management 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/70—Services for machine-to-machine communication [M2M] or machine type communication [MTC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/19—Connection 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
본 개시의 다양한 실시예들은 외부 네트워크를 기반으로 사물 인터넷 서비스를 제공하는 장치 및 방법에 관한 것이다.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
일 실시예에 의하면, 전자 장치들(120~124)은 사물 인터넷 기능을 구비한 가전 제품으로서, 네트워크(130)와의 연결에 대한 신뢰도에 따라 대표 전자 장치(120)로 동작하거나, 또는 후보 전자 장치(124)로 동작할 수 있다. 상기 신뢰도에 대하여는 도 3을 참조하여 후술할 것이다. 상기 전자 장치들(120~124)은, 예를 들어, 모바일 의료기기, 스마트폰, 태블릿 PC, 랩탑 PC, 웨어러블 장치와 같은 모바일 기기 중 적어도 하나를 포함할 수 있다.According to an embodiment, the
일 실시예에 의하면, 서버(110)는 전자 장치들(120~124)에 대한 디바이스 타입, 모델명, 제조사와 같은 고유 정보를 등록하고 관리할 수 있다. 상기 서버(110)는 상기 전자 장치들(120~124)에 대한 위치 정보, 네트워크 정보, 성능 정보, 전원 공급 및 배터리 충전 여부, 메모리 및 프로세서 점유율과 같은 리소스 정보를 포함한 상태 정보를 수집하고, 관리할 수 있다. According to an embodiment, the
일 실시예에 의하면, 서버(110)는 사물 인터넷 서비스를 위한 사용자 계정을 관리할 수 있다. 상기 서버(110)는 전자 장치들(120~124)에 대한 사용자 권한 및 정보를 등록 및 승인하고, 상기 사용자 계정에 따른 설정을 수행하여, 다른 사용자 계정의 전자 장치와 구분하여 관리할 수 있다. According to an embodiment, the
일 실시예에 의하면, 서버(110)는 사물 인터넷 서비스를 위한 어플리케이션이 설치되어 있는 사용자 단말을 통해 사용자의 입력을 수신할 수 있다. 상기 서버(110)는 상기 수신한 사용자의 입력에 따라 전자 장치들(120~124)을 제어하거나, 상기 전자 장치들(120~124)로부터 수집한 정보를 분석하고 활용하여 상기 전자 장치들(120~124)을 제어할 수 있다. According to an embodiment, the
일 실시예에 의하면, 서버(110)는 외부에 위치한 별도의 전자 장치일 수 있고, 소프트웨어로 구현되어 사물 인터넷 네트워크의 내부에 존재할 수 있으며, 단일 서버 혹은 복수의 서버로 운용될 수 있다.According to an embodiment, the
일 실시예에 의하면, 대표 전자 장치(120)는 전자 장치들(120~124)의 전원 공급 여부와 네트워크 연결 상태 정보(예: 네트워크 연결 여부 및 연결 유지 시간에 관한 정보) 중 적어도 하나에 기초하여 서버(110)에 의해 결정되거나 사물 인터넷 서비스를 위한 어플리케이션이 설치되어 있는 사용자 단말을 통해 사용자에 의해 결정될 수 있다.According to an embodiment, the representative
일 실시예에 의하면, 서버(110)는 전자 장치들(120~124) 중에서 외부 네트워크(130)로의 접속 기능이 정상적으로 동작하고, 기기간 직접 (D2D: Device-to-Device) 통신 연결 기능이 정상적으로 동작하는 전자 장치를 후보 전자 장치로 선정할 수 있다. 하기에서는 편의를 위하여, 전자 장치(124)가 후보 전자 장치임을 가정하여 설명하도록 한다.According to an embodiment, the
일 실시예에 의하면, 서버(110)는 후보 전자 장치가 복수인 경우, 우선 순위를 할당할 수 있다. 상기 서버(110)는, 예를 들어, 각 후보 전자 장치의 외부 네트워크(130)와의 접속 유지 시간에 관한 정보를 획득하고, 상기 획득한 외부 네트워크(130)와의 접속 유지 시간이 길수록 높은 우선 순위를 할당할 수 있다. 상기 서버(110)는 가장 우선 순위가 높은 후보 전자 장치를 대표 전자 장치(120)로 결정할 수 있다. According to an embodiment, the
일 실시예에 의하면, 대표 전자 장치(120)를 결정할 때, 서버(110)는 후보 전자 장치(124)가 외부 네트워크(130)에 연결되어 있는지 여부를 확인하기 위해 신호 응답 주기 및/또는 응답 성공율을 측정할 수 있다. 상기 서버(110)는 측정한 신호 전송의 응답 주기가 짧고, 상기 응답 주기 동안 신호 전송의 응답 성공율이 높은 후보 전자 장치(124)를 대표 전자 장치(120)로 결정할 수 있다.According to an embodiment, when determining the representative
일 실시예에 의하면, 서버(110)는 전자 장치들(120~124)의 전원 공급 여부나 네트워크 상태 정보의 변화에 따라 대표 전자 장치 및 후보 전자 장치를 동적으로 선정할 수 있다. 상기 서버(110)는 대표 전자 장치의 동작이 비정상적이라고 판단하면, 대표 전자 장치를 다른 전자 장치로 변경할 수 있다. 상기 변경 과정의 일 예는 도 14를 참조하여 후술할 것이다.According to an embodiment, the
일 실시예에 의하면, 네트워크(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
도 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
일 실시예에 의하면, 제1 전자 장치(123)는 서버(110)와 일정한 주기로 통신 상태를 확인하는 신호를 송/수신할 수 있다. 상기 제1 전자 장치(123)는, 일정한 주기 내에서 확인 신호를 일정 횟수 이상 수신하지 못하면, 외부 네트워크(130)와의 연결에 장애가 발생했다고 판단할 수 있다. According to an embodiment, the first
일 실시예에 의하면, 서버(110)는 제1 전자 장치(123)를 포함한 다른 전자 장치들(121,122,124)로 대표 전자 장치(120)에 대한 디바이스 정보를 송신할 수 있다. 상기 제1 전자 장치(123)는 상기 서버(110)로부터 획득한 대표 전자 장치(120)에 대한 디바이스 정보를 활용하여, 대표 전자 장치(120)와의 D2D 연결을 수행할 수 있다. 상기 D2D 연결을 수행하는 과정은 도 9를 참조하여 후술할 것이다. 상기 대표 전자 장치(110)는 도 1을 참조하여 전술하였듯이, 외부 네트워크(130)로의 접속 기능 및 D2D 연결 기능을 정상적으로 수행할 수 있다.According to an embodiment, the
일 실시예에 의하면, 대표 전자 장치(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
일 실시예에 의하면, 대표 전자 장치(120)는 제1 전자 장치(123)의 상태 정보를 서버(110)로 전달할 수 있다. 상기 대표 전자 장치(120)는, 예를 들어, 상기 제1 전자 장치(123)의 전원 상태, 이벤트 정보, 기능 수행 상태, 현재 모드 상태를 포함하는 정보를 상기 서버(110)로 전달할 수 있다. 상기 서버(110)는 상기 대표 전자 장치(120)로부터 수신한 상기 제1 전자 장치(123)의 상태 정보를 분석하고, 활용하여 상기 제1 전자 장치(123)에 관련된 제어를 수행할 수 있다.According to an embodiment, the representative
도 3은, 본 개시의 일 실시예에 따른, 서버(예: 도 1의 서버(110))의 기능 블럭도이다.3 is a functional block diagram of a server (eg,
도 3을 참조하면, 서버(110)는 메모리(111), 통신부(112) 또는 프로세서(113)를 포함할 수 있다. 상기 서버(110)는 도시된 구성 요소외에 추가적인 구성 요소를 포함하거나, 도시된 구성 요소 중 적어도 하나를 생략할 수 있다.Referring to FIG. 3 , the
일 실시예에 의하면, 메모리(111)는 서버(110)가 사용하는 저장 매체로서 하나 이상의 명령어들(instructions)을 포함하는 프로그램을 포함할 수 있다. 프로그램은 운영체제(operating system, OS) 프로그램 및 응용 프로그램을 포함할 수 있다.According to one embodiment, the
일 실시예에 의하면, 메모리(111)는 대표 전자 장치(120)에 대한 정보를 저장할 수 있다. According to an embodiment, the
일 실시예에 의하면, 메모리(111)는 대표 전자 장치(120)와 D2D(Device-to-Device)로 연결된 전자 장치들에 대한 리스트를 저장할 수 있다.According to an embodiment, the
일 실시예에 의하면, 메모리(111)는 IoT 시스템(100)의 전자 장치들(120~124)에 대한 정보를 저장할 수 있다. 상기 메모리(111)는 상기 전자 장치들(120~124)에 대한 디바이스 타입, 모델명, 제조사와 같은 고유 정보를 저장할 수 있다. 상기 메모리(111)는 상기 전자 장치들(120~124)에 대한 위치 정보, 네트워크 정보, 성능 정보, 전원 공급 및 배터리 충전 여부, 메모리 및 프로세서 점유율과 같은 리소스 정보를 포함한 상태 정보를 저장할 수 있다. 상기 전자 장치들(120~124)에 대한 정보를 상기 메모리(111)에 저장 및 관리함으로써, 상기 전자 장치들(120~124)에 분산 저장하는 방식보다 데이터 관리 측면에서 일관성 있고, 빠르며 효율적일 수 있다.According to one embodiment, the
일 실시예에 의하면, 메모리(111)는 사물 인터넷 서비스를 위한 사용자 계정을 저장할 수 있다. 상기 메모리(111)는 상기 사용자 계정에 따른 설정 정보를 저장할 수 있다. According to an embodiment, the
일 실시예에 따르면, 통신부(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
일 실시예에 의하면, 프로세서(113)는 메모리(111), 통신부(112)가 특정 동작을 수행하도록 제어할 수 있다.According to one embodiment, the
일 실시예에 의하면, 프로세서(113)는 IoT 시스템(100)에서 대표 전자 장치(120)를 결정할 수 있다. 상기 프로세서(113)는 상기 IoT 시스템(100)의 전자 장치들(120~124) 중에서 외부 네트워크 접속 기능이 가능하고, D2D 연결 기능이 가능한 전자 장치를 후보 전자 장치로 선정할 수 있다. 상기 후보 전자 장치가 복수인 경우, 상기 프로세서(113)는 메모리(111)에 저장되어 있는 상기 복수의 후보 전자 장치들에 대한 네트워크 정보와 전원 공급 정보를 획득하여, 상기 복수의 후보 전자 장치들에 대한 신뢰도를 산출할 수 있다. 상기 프로세서(113)는 상기 각 후보 전자 장치의 외부 네트워크 접속 유지 시간이 길수록 신뢰도가 높다고 판단할 수 있다. 상기 프로세서(113)는 각 후보 전자 장치의 외부 네트워크와의 접속 연결 확인을 위한 신호 전송의 응답 주기가 짧을수록, 상기 주기 동안 신호 전송의 응답 성공율이 높을수록, 신뢰도가 높다고 판단할 수 있다. 상기 프로세서(113)는, 예를 들어, 일정 주기로 응답을 요구하는 특정 신호를 보낸 뒤, 상기 주기내에 응답 신호가 수신되면 신호 전송의 응답이 성공했다고 판단할 수 있다. 상기 프로세서(113)는 각 후보 전자 장치의 전원 공급이 안정적이면 신뢰도가 높다고 판단할 수 있다. 상기 프로세서(113)는 상기 복수의 후보 전자 장치들 중에서 신뢰도가 가장 높은 후보 전자 장치를 대표 전자 장치(120)로 결정할 수 있다. According to an embodiment, the
일 실시예에 의하면, 프로세서(113)는 통신부(112)를 통해, 대표 전자 장치(120)에게 대표 전자 장치(120)로 결정되었음을 통보할 수 있다. According to an embodiment, the
일 실시예에 의하면, 프로세서(113)는 통신부(112)를 통해, 대표 전자 장치(120)로부터 대표 전자 장치(120)에 대한 디바이스 정보, 예를 들어, SSID(Service Set Identifier), 주파수 정보, IP 정보를 획득할 수 있다. 상기 프로세서(113)는 상기 획득한 상기 대표 전자 장치(120)의 디바이스 정보를 다른 전자 장치들로 전송하도록 상기 통신부(112)를 제어할 수 있다. 상기 프로세서(113)는 상기 획득한 상기 대표 전자 장치(120)의 디바이스 정보를 메모리(111)에 저장할 수 있다. According to an embodiment, the
일 실시예에 의하면, 프로세서(113)는 통신부(112)를 통해, 대표 전자 장치(120)로부터 상기 대표 전자 장치(120)와 D2D로 연결된 전자 장치에 대한 리스트를 수신할 수 있다. 상기 프로세서(113)는 상기 리스트를 메모리(111)에 저장하고, 상기 리스트에 속한 전자 장치에 대한 제어 명령을 상기 대표 전자 장치(120)로 송신할 수 있다.According to an embodiment, the
일 실시예에 의하면, 프로세서(113)는 통신부(112)를 통해, 대표 전자 장치(120)로부터 상기 대표 전자 장치(120)와 D2D로 연결된 전자 장치에 대한 상태 정보를 수신할 수 있다. 상기 프로세서(113)는 상기 수신한 상태 정보를 기초로 메모리(111)에 저장된 전자 장치들에 대한 정보를 갱신할 수 있다.According to an embodiment, the
도 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
일 실시예에 의하면, 메모리(410)는 전자 장치(400)가 사용하는 저장 매체로서 하나 이상의 명령어들(instructions)을 포함하는 프로그램을 포함할 수 있다. 프로그램은 운영체제(operating system, OS) 프로그램 및 응용 프로그램을 포함할 수 있다.According to an embodiment, the
일 실시예에 의하면, 메모리(410)는 대표 전자 장치(120)에 대한 정보를 저장할 수 있다. 상기 대표 전자 장치(120)에 대한 정보는 서버(110)로부터 수신된 정보로서 SSID, 주파수 정보, IP 정보와 같은 디바이스 정보를 포함할 수 있다. According to an embodiment, the
일 실시예에 의하면, 통신부(420)는 전자 장치(400)와 서버(110) 사이의 유선 또는 무선 통신을 가능하게 하는 하나 이상의 모듈을 포함할 수 있다.According to an embodiment, the
일 실시예에 의하면, 통신부(420)는 D2D 통신을 가능하게 하는 하나 이상의 모듈을 포함할 수 있다. 상기 통신부(420)는, 예를 들어, Wifi-Direct, 블루투스(Bluetooth), BLE(Bluetooth Low Energy), Z-웨이브(Z-Wave), 지그비(Zigbee)와 같은 프로토콜을 사용하여, 다른 전자 장치와 D2D 연결을 수행할 수 있다. According to an embodiment, the
일 실시예에 의하면, 프로세서(430)는 전자 장치(400)의 전반적인 동작을 제어하는 모듈을 말하며, 하드웨어 펌웨어 소프트웨어 또는 이들의 결합에 의해 구현될 수 있다.According to one embodiment, the
일 실시예에 의하면, 프로세서(430)는 메모리(410), 통신부(420)가 특정 동작을 수행하도록 제어할 수 있다.According to one embodiment, the
일 실시예에 의하면, 프로세서(430)는 통신부(420)의 외부 네트워크(예: 도 1의 네트워크(130)) 접속 기능의 장애를 감지하면, 메모리(410)에 저장해 놓은 대표 전자 장치(120)에 대한 정보를 참고하여, 상기 대표 전자 장치(120)와 D2D 연결을 수행하도록 상기 통신부(420)를 제어할 수 있다. 상기 프로세서(430)는 상기 D2D 연결을 통해 전자 장치(400)의 상태 정보를 대표 전자 장치(120)로 송신하도록 상기 통신부(420)를 제어할 수 있다.According to an embodiment, when the
일 실시예에 의하면, 프로세서(430)는 서버(110)로부터 수신된 제어 명령에 따라 전자 장치(400)의 동작을 제어할 수 있다. 상기 제어 명령은 상기 서버(110)로부터 직접 수신하거나, 대표 전자 장치(120)의 중계로 수신할 수 있다.According to an embodiment, the
일 실시예에 의하면, 프로세서(430)는 전자 장치(400)가 대표 전자 장치(120)로 선정되었을 때, 상기 전자 장치(400)에 대한 SSID, 주파수 정보, IP 정보와 같은 디바이스 정보를 서버(110)로 송신하도록 통신부(420)를 제어할 수 있다. According to an embodiment, when the
일 실시예에 의하면, 프로세서(430)는 전자 장치(400)가 대표 전자 장치(120)로 선정되었을 때, 제1 전자 장치(예: 도 2의 제1 전자 장치(123))와 D2D 연결을 수행하도록 통신부(420)를 제어할 수 있다. 상기 프로세서(430)는 자신과 D2D로 연결된 전자 장치 리스트를 서버(110)로 송신하도록 상기 통신부(420)를 제어할 수 있다.According to an embodiment, when the
일 실시예에 의하면, 프로세서(430)는 전자 장치(400)가 대표 전자 장치(120)로 선정되었을 때, 서버(110)로부터 수신한, 제1 전자 장치(123)를 제어하는 명령을 상기 제1 전자 장치(123)로 전달하도록 통신부(420)를 제어할 수 있다.According to an embodiment, when the
일 실시예에 의하면, 프로세서(430)는 전자 장치(400)가 대표 전자 장치(120)로 선정되었을 때, 제1 전자 장치(123)로부터 수신한, 상기 제1 전자 장치(123)의 상태 정보를 서버(110)로 전달하도록 상기 통신부(420)를 제어할 수 있다.According to an embodiment, the
도 5는, 본 개시의 일 실시예에 따라, 서버(예: 도 1의 서버(110))가 대표 전자 장치(예: 도 1의 대표 전자 장치(120))를 결정하는 동작 흐름도이다. 5 is a flowchart illustrating an operation in which a server (eg, the
도 5를 참조하면, 일 실시예에 따른 동작 501에서, 서버(110)는 하나 또는 복수의 전자 장치들과 네트워크 연결을 수행할 수 있다. Referring to FIG. 5 , in
일 실시예에 의하면, 서버(110)와 전자 장치들(120~124)간의 네트워크 연결은 사용자가 사물 인터넷 서비스 관련 어플리케이션이 설치되어 있는 사용자 단말을 이용하여 수행하거나, 상기 전자 장치들(120~124)이 자체적으로 수행할 수 있다. 상기 서버(110)는 상기 네트워크 연결을 수행하면서 수행 결과에 대한 정보를 메모리(예: 도 3의 메모리(111))에 저장하여 관리할 수 있다. 상기 서버(110)는 상기 네트워크 연결을 수행하면서, 상기 네트워크 연결에 성공한 전자 장치를 후보 전자 장치로 선정할 수 있다.According to an embodiment, the network connection between the
일 실시예에 따른 동작 503에서, 서버(110)는 메모리(111)에 저장한 전자 장치들(120~124)에 대한 네트워크 관련 정보를 참조하여 상기 전자 장치들(120~124)과의 네트워크 접속 유지 시간을 획득할 수 있다. 상기 서버(110)는 상기 획득한 네트워크 접속 유지 시간에 기초하여 후보 전자 장치의 순위를 판단할 수 있다.In
일 실시예에 따른 동작 505에서, 서버(110)는 대표 전자 장치를 선정할 필요가 있는지 판단할 수 있다. 예를 들어, 상기 서버(110)는 대표 전자 장치가 비정상적으로 동작한다고 판단하거나, 사용자로부터의 대표 전자 장치 교체 요청이 있거나, 대표 전자 장치가 존재하지 않은 상태라고 판단하면, 동작 507을 수행할 수 있다. 상기 서버(110)는 새로운 연결 또는 해제와 같은 갱신 이벤트가 발생할 때마다, 동작 501 및/또는 동작 503을 반복하여 수행할 수 있다.In
일 실시예에 따른 동작 507에서, 사용자가 대표 전자 장치(120)를 선택하는 경우, 서버(110)는 동작 509를 수행하고, 그렇지 않으면 동작 511을 수행할 수 있다.In
도 6은, 도 5에서 서버(예: 도 1의 서버(110))가 사용자 입력에 의한 대표 전자 장치를 결정하는 동작의 흐름도이다.FIG. 6 is a flowchart of an operation in which a server (eg, the
도 6을 참조하면, 일 실시예에 따른 동작 601에서, 서버(110)는 사용자로부터 대표 전자 장치(120) 선택에 대한 입력을 획득할 수 있다. 상기 사용자는 사물 인터넷 서비스 관련 어플리케이션이 설치된 사용자 단말을 통해 대표 전자 장치(120)를 선택할 수 있다.Referring to FIG. 6 , in
일 실시예에 따른 동작 603에서, 서버(110)는 사용자가 선택한 전자 장치가 대표 전자 장치(120)로서의 전제 조건, 즉 외부 네트워크(예: 도 1의 네트워크(130))와의 접속이 가능한지 여부 및/또는 D2D 연결 기능을 제공하는지 여부를 판단할 수 있다. 상기 서버(110)는 메모리(예: 도 3의 메모리(111))에 저장되어 있는, 상기 사용자가 선택한 전자 장치에 대한 정보를 참조하여 대표 전자 장치(120)로서의 전제 조건 만족 여부를 판단할 수 있다. 상기 서버(110)는 상기 사용자가 선택한 전자 장치가 상기 전제 조건을 만족하면, 동작 605를 수행하고, 그렇지 않으면 동작 619를 수행할 수 있다.In
일 실시예에 따른 동작 619에서, 서버(110)는 사용자에게 대표 전자 장치 선택에 대한 오류를 전송한 후, 사용자 입력에 의해 대표 전자 장치가 변경되는 과정을 종료하고 도 5로 복귀할 수 있다. In
일 실시예에 따른 동작 605에서, 서버(110)는 대표 전자 장치가 존재하는지 여부를 판단할 수 있다. 상기 서버(110)는 대표 전자 장치가 존재한다고 판단하면, 동작 607을 수행하고, 그렇지 않으면 동작 609로 진입할 수 있다.In
일 실시예에 따른 동작 607에서, 서버(110)는 대표 전자 장치에게 대표 전자 장치가 새로 변경됨을 통보할 수 있다.In
일 실시예에 따른 동작 609에서, 서버(110)는 사용자가 선택한 전자 장치를 대표 전자 장치로 결정할 수 있다.In
일 실시예에 따른 동작 611에서, 서버(110)는 사용자에 의해 선택된 전자 장치에게 대표 전자 장치로 선정되었음을 전송할 수 있다.In
일 실시예에 따른 동작 613에서, 서버(110)는 대표 전자 장치로부터 디바이스 정보, 예를 들어, SSID(Service Set Identifier), 주파수 정보, IP 정보를 수신할 수 있다.In
일 실시예에 따른 동작 615에서, 서버(110)는 수신한 대표 전자 장치의 디바이스 정보에 기초하여, 상기 서버(110)의 메모리(예: 도 3의 메모리(111))에 저장된 대표 전자 장치 정보를 갱신할 수 있다.In
일 실시예에 따른 동작 617에서, 서버(110)는 전자 장치들(120~124)로 대표 전자 장치의 디바이스 정보를 송신하고, 도 5로 복귀할 수 있다. 상기 대표 전자 장치의 디바이스 정보를 수신한 상기 전자 장치들(120~124)은 상기 디바이스 정보를 메모리(예: 도 4의 메모리(410))에 저장하여 추후 외부 네트워크(130) 접속에 장애가 발생할 시 상기 디바이스 정보를 활용하여 상기 대표 전자 장치와 D2D 연결을 신속히 수행할 수 있다.In
도 7은, 도 5에서 서버(예: 도 1의 서버(110)가 네트워크 접속 유지 시간에 의한 대표 전자 장치를 결정하는 동작의 흐름도이다.FIG. 7 is a flowchart of an operation in which a server (eg, the
도 7을 참조하면, 일 실시예에 따른 동작 701에서, 서버(110)는 도 3을 참조하여 전술한 네트워크 연결 신뢰도에 근거하여, 네트워크(130)를 통해 자신과 연결된 전자 장치 중에서 네트워크 접속 유지 시간이 가장 긴 전자 장치를 대표 전자 장치(120)로 결정할 수 있다.Referring to FIG. 7 , in
일 실시예에 따른 동작 703 내지 동작 709는 도 6을 참조하여 전술한 동작 611 내지 동작 617과 동일하므로 생략하며, 서버(110)는 동작 709를 수행한 후, 도 5로 복귀할 수 있다.
도 8은, 본 개시의 일 실시예에 따른, IoT 시스템(100)에서 D2D 연결시의 메시지 시퀀스 다이어그램이다. 8 is a message sequence diagram during D2D connection in the
도 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
동작 805에서, 상기 대표 전자 장치(120)는 상기 제1 전자 장치(123)로 스캔 신호에 대한 응답 신호(ACK)를 송신할 수 있다. 상기 제1 전자 장치(123)는 자신이 송신한 스캔 신호에 대응하여 상기 대표 전자 장치(120)에 의해 송신된 응답 신호를 수신할 수 있다.In
동작 807에서, 상기 제1 전자 장치(123)는 상기 대표 전자 장치(120)로 D2D 연결을 요청하는 신호를 송신할 수 있다. 상기 제1 전자 장치(123)는 사물 인터넷 서비스 사용자 계정(예: SmartThings 계정) 정보도 상기 대표 전자 장치(120)로 송신할 수 있다. 상기 대표 전자 장치(120)는 상기 제1 전자 장치(123)로부터 D2D 연결 요청 신호를 수신할 수 있다.In
동작 809에서, 상기 대표 전자 장치(120)는 상기 제1 전자 장치(123)로 D2D 연결 요청에 대한 수락 신호(OK)를 송신하여 D2D 연결을 수행할 수 있다. 이 때, 보안을 고려하여, 상기 대표 전자 장치(120)는 자신의 사물 인터넷 서비스 사용자 계정과 상기 제1 전자 장치(123)의 사물 인터넷 서비스 사용자 계정이 서로 동일하다고 판단할 때만 D2D 연결을 수행할 수 있다. 상기 제1 전자 장치(123)는 상기 대표 전자 장치(120)로부터 D2D 연결에 대한 수락 신호를 수신하여 D2D 연결을 수행할 수 있다.In
동작 811에서, 상기 제1 전자 장치(123)는 자신의 디바이스 정보를 상기 대표 전자 장치(120)로 송신할 수 있다. 상기 대표 전자 장치(120)는 상기 제1 전자 장치(123)로부터 상기 제1 전자 장치(123)의 디바이스 정보를 수신할 수 있다.In
동작 813에서, 상기 대표 전자 장치(120)는 서버(110)로 자신의 D2D 연결 정보를 송신할 수 있다. 예를 들어, 상기 대표 전자 장치(120)는 자신과 D2D 연결을 수행한 상기 제1 전자 장치(123)에 대한 디바이스 정보를 상기 서버(110)로 송신할 수 있다. 상기 서버(110)는 상기 대표 전자 장치(120)로부터 상기 대표 전자 장치(120)의 D2D 연결 정보를 수신할 수 있다. 상기 서버(110)는 수신한 상기 D2D 연결 정보에 기초하여, 상기 서버(110)의 메모리(예: 도 3의 메모리(111))에 저장된, D2D로 연결된 전자 장치들에 대한 리스트 정보를 갱신할 수 있다.In
도 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
도 9를 참조하면, 일 실시예에 따라, 서버(110)가 사용자로부터 대표 전자 장치(120)를 변경할 것을 입력 받을 수 있다 (동작 901).Referring to FIG. 9 , according to an embodiment, the
동작 903에서, 상기 서버(110)는 상기 대표 전자 장치(120)로 대표 전자 장치가 변경된다는 메시지를 송신할 수 있다. 상기 대표 전자 장치(120)는 상기 서버(110)로부터 대표 전자 장치가 변경된다는 메시지를 수신할 수 있다. In
동작 905에서, 상기 대표 전자 장치(120)는 제1 전자 장치(123)를 포함한, 자신과 D2D로 연결된 전자 장치로 D2D 연결을 해제할 것을 브로드캐스팅할 수 있다.In
동작 907에서, 상기 서버(110)는 사용자가 선택한 대표 전자 장치(900)에게 대표 전자 장치로 선정되었다는 메시지를 송신할 수 있다. 상기 사용자가 선택한 대표 전자 장치(900)는 상기 서버(110)로부터 대표 전자 장치로 선정되었다는 메시지를 수신할 수 있다.In
동작 909에서, 상기 제1 전자 장치(123)는 대표 전자 장치(900)로 대표 전자 장치를 스캔하는 신호를 송신할 수 있다. 상기 대표 전자 장치(900)는 상기 제1 전자 장치(123)로부터 대표 전자 장치를 스캔하는 신호를 수신할 수 있다.In
동작 911 내지 동작 919는 도 8을 참조하여 전술한 동작 805 내지 동작 813과 동일할 수 있다.
동작 921에서, 상기 서버(110)는 전자 장치들로 상기 대표 전자 장치(900)의 디바이스 정보를 브로드캐스팅할 수 있다.In
도 10은, 본 개시의 일 실시예에 따른, 대표 전자 장치(예: 도 1의 대표 전자 장치(120))의 동작 흐름도이다. 10 is a flowchart illustrating an operation of a representative electronic device (eg, the representative
도 10을 참조하면, 일 실시예에 따른 동작 1001에서, 대표 전자 장치(120)는 서버(110)로부터 대표 전자 장치로 선정되었음을 통보 받을 수 있다.Referring to FIG. 10 , in
일 실시예에 따른 동작 1003에서, 대표 전자 장치(120)는 자신의 SSID, 주파수 정보, IP 정보와 같은 디바이스 정보를 서버(110)로 송신할 수 있다.In
일 실시예에 따른 동작 1005에서, 대표 전자 장치(120)는 제1 전자 장치와의 D2D 연결을 위해, D2D Listen 상태를 활성화할 수 있다.In
일 실시예에 따른 동작 1007에서, 대표 전자 장치(120)는 제1 전자 장치로부터 D2D 연결을 위한 디스커버리(Discovery) 신호를 수신할 수 있다.In
일 실시예에 따른 동작 1009에서, 대표 전자 장치(120)는 제1 전자 장치와 D2D 연결을 수행하고, 상기 D2D 연결된 제1 전자 장치로부터 디바이스 정보를 수신할 수 있다.In
일 실시예에 따른 동작 1011에서, 대표 전자 장치(120)는 자신과 D2D 연결된 제1 전자 장치 리스트와 상기 제1 전자 장치의 디바이스 정보를 서버(110)로 송신할 수 있다.In
일 실시예에 따른 동작 1013에서, 대표 전자 장치(120)는 서버(110)로부터 자신과 D2D 연결된 제1 전자 장치를 제어하는 명령을 수신할 수 있다. 상기 제어하는 명령은, 예를 들어, 미리 설정해 놓은 시간이나 조건에 따라 자동으로 실행되는 명령일 수도 있고, 사용자가 사물 인터넷 서비스 관련 어플리케이션(예: SmartThings)이 설치된 사용자 단말에서 사용자 인터페이스를 통해 입력하는 명령일 수도 있다.In
일 실시예에 따른 동작 1015에서, 대표 전자 장치(120)는 수신한 제어 명령을 자신과 D2D 연결된 하나 이상의 제1 전자 장치 중 상기 명령의 대상이 되는 제1 전자 장치로 전달할 수 있다.In
일 실시예에 따른 동작 1017에서, 대표 전자 장치(120)는 자신과 D2D 연결된 제1 전자 장치의 상태 정보를 수신할 수 있다. 상기 대표 전자 장치(120)는, 예를 들어, 상기 제1 전자 장치가 제어 명령을 수행한 결과를 수신하거나 상기 제1 전자 장치에서 발생한 이벤트나 리소스의 변경과 같은 상태 정보를 수신할 수 있다.In
일 실시예에 따른 동작 1019에서, 대표 전자 장치(120)는 동작 1017에서 수신한 상태 정보를 서버(110)로 전달할 수 있다.In
도 11은, 본 개시의 일 실시예에 따른, 전자 장치(예: 도 1의 전자 장치(123))가 외부 네트워크 접속에 장애가 발생한 전자 장치의 동작 흐름도이다. FIG. 11 is a flowchart illustrating an operation of an electronic device (eg, the
도 11을 참조하면, 일 실시예에 따른 동작 1101에서, 제1 전자 장치(123)는 대표 전자 장치(120)와 D2D 연결을 수행하기 위해 상기 대표 전자 장치(120)를 스캔할 수 있다. 상기 제1 전자 장치(123)는 모든 대역에 대하여 주파수 스캔을 수행하는 전체 대역 스캔을 수행하지 않고, 사전에 서버(110)로부터 수신한 대표 전자 장치(120)의 디바이스 정보를 활용하여 일정한 주파수 대역만 스캔하는 싱글 스캔을 할 수 있다.Referring to FIG. 11 , in
일 실시예에 따른 동작 1103에서, 제1 전자 장치(123)는 대표 전자 장치(120)와 D2D 연결을 수행하고, 자신의 디바이스 정보를 상기 대표 전자 장치(120)로 송신할 수 있다.In
일 실시예에 따른 동작 1105에서, 제1 전자 장치(123)는 서버(110)가 상기 제1 전자 장치(123)를 제어하는 명령을 대표 전자 장치(120)의 중계를 통해 수신할 수 있다. In
일 실시예에 따른 동작 1107에서, 제1 전자 장치(123)는 수신한 명령에 따라 자신의 동작을 제어할 수 있다.In
일 실시예에 따른 동작 1109에서, 제1 전자 장치(123)는 자신의 상태 정보를 대표 전자 장치(120)로 송신할 수 있다. 상기 제1 전자 장치(123)는, 예를 들어, 동작 1107에서 동작을 제어한 결과에 대한 상태 정보 혹은 상기 제1 전자 장치(123)에서 발생한 이벤트나 리소스의 변경과 같은 상태 정보를 상기 대표 전자 장치(120)로 송신할 수 있다. In
도 12는, 본 개시의 일 실시예에 따른, IoT 시스템(예: 도 1의 IoT 시스템(100))에서 사용자 발화의 예를 도시한 도면이다. 12 is a diagram illustrating an example of user speech in an IoT system (eg, the
도 12를 참조하면, 사용자는 사물 인터넷 서비스 관련 어플리케이션(예: SmartThings)이 설치되어 있는 사용자 단말(150)의 사용자 인터페이스를 통해 제1 전자 장치(123)를 제어하는 명령을 입력할 수 있다. 예컨대, “에어컨을 무풍 모드로 해줘”라는 발화를 수행할 수 있다.Referring to FIG. 12 , the user may input a command for controlling the first
일 실시예에 의하면, 서버(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
도 13은, 본 개시의 일 실시예에 따른, IoT 시스템(예: 도 1의 IoT 시스템(100))에서 대표 전자 장치의 변경을 도시한 도면이다. 13 is a diagram illustrating a change of a representative electronic device in an IoT system (eg, the
도 13을 참조하면, 대표 전자 장치(1320)가 정상적으로 동작할 수 없는 상황이 발생할 수 있다. 예를 들어, 상기 대표 전자 장치(1320)의 전원이 오프되거나, 상기 대표 전자 장치(1320)의 외부 네트워크 접속에 장애가 발생할 수 있다.Referring to FIG. 13 , a situation in which the representative
일 실시예에 의하면, 서버(110)가 대표 전자 장치(1320)의 전력 상태에 대한 불안정한 변화를 식별하거나 또는 상기 대표 전자 장치(1320)와의 통신 장애를 감지하면, 상기 서버(110)는 대표 전자 장치를 새롭게 결정할 필요가 있다고 판단할 수 있다. 상기 서버(110)는 우선 순위가 높은 후보 전자 장치를 대표 전자 장치(1324)로 결정할 수 있다.According to an embodiment, when the
일 실시예에 의하면, 제1 전자 장치(1323)는 대표 전자 장치(1320)와의 D2D 연결을 해제하고, 새롭게 결정된 대표 전자 장치(1324)와 D2D 연결을 수행할 수 있다. 상기 대표 전자 장치(1324)와의 D2D 연결 수행 과정은 도 15를 참조하여 후술할 것이다. According to an embodiment, the first
일 실시예에 의하면, 대표 전자 장치(1324)는 자신과 제1 전자 장치(1323)가 D2D 연결되었다는 정보를 서버(110)로 전송할 수 있다. 상기 서버(110)는 상기 대표 전자 장치(1324)로부터 상기 제1 전자 장치(1323)가 D2D 연결되었음을 통보 받고, 상기 제1 전자 장치(1323)를 제어하는 명령을 상기 대표 전자 장치(1324)로 송신할 수 있다. 상기 대표 전자 장치(1324)는 상기 수신한 명령을 상기 제1 전자 장치(1323)로 전달할 수 있다.According to an embodiment, the representative
일 실시예에 의하면, 대표 전자 장치(1324)는 제1 전자 장치(1323)의 상태 정보를 서버(110)로 전달할 수 있다. 상기 서버(110)는 상기 대표 전자 장치(1324)로부터 수신한 상기 제1 전자 장치(1323)의 상태 정보를 분석하고 활용하여 상기 제1 전자 장치(1323)에 관련된 제어를 수행할 수 있다.According to an embodiment, the representative
도 14는, 본 개시의 일 실시예에 따라, 서버(예: 도 1의 서버(110)에서 대표 전자 장치(예: 도 13의 대표 전자 장치(1320))의 변경을 위해 수행하는 동작 흐름도이다. 14 is a flowchart illustrating an operation performed to change a representative electronic device (eg, representative
도 14를 참조하면, 일 실시예에 따른 동작 1401에서, 서버(110)는 대표 전자 장치(1320)의 장애를 감지할 수 있다. 상기 서버(110)는 상기 대표 전자 장치(1320)와의 네트워크 연결에 장애가 발생했음을 감지하거나 혹은 상기 대표 전자 장치(1320)의 전원 공급이 불안정하다고 감지할 수 있다.Referring to FIG. 14 , in
일 실시예에 따른 동작 1403에서, 서버(110)는 후보 전자 장치 중에서 신뢰도가 가장 높은 후보 전자 장치를 대표 전자 장치(예: 도 13의 대표 전자 장치(1324))로 결정할 수 있다.In
일 실시예에 따른 동작 1405에서, 서버(110)는 대표 전자 장치(1324)에게 대표 전자 장치로 선정되었음을 전송할 수 있다.In
일 실시예에 따른 동작 1407에서, 서버(110)는 대표 전자 장치(1324)로부터 대표 전자 장치의 SSID, 주파수 정보, IP 정보와 같은 디바이스 정보를 수신할 수 있다. In
일 실시예에 따른 동작 1409에서, 서버(110)는 수신한 대표 전자 장치의 디바이스 정보에 기초하여, 상기 서버(110)의 메모리(예: 도 3의 메모리(111))에 저장된 대표 전자 장치 정보를 갱신할 수 있다.In
일 실시예에 따른 동작 1411에서, 서버(110)는 대표 전자 장치(1324)의 디바이스 정보를 전자 장치들에게 송신할 수 있다. 상기 대표 전자 장치(1324)의 디바이스 정보를 수신한 상기 전자 장치들은 상기 디바이스 정보를 메모리(예: 도 4의 메모리(410))에 저장하여 추후 외부 네트워크(예: 도 1의 네트워크(130)) 접속에 장애가 발생할 시 상기 디바이스 정보를 활용하여 상기 대표 전자 장치(1324)와 D2D 연결을 신속히 수행할 수 있다.In
도 15는, 본 개시의 일 실시예에 따른, IoT 시스템(예: 도 1의 IoT 시스템(100))에서 대표 전자 장치를 변경하기 위한 메시지 시퀀스 다이어그램이다. 15 is a message sequence diagram for changing a representative electronic device in an IoT system (eg, the
도 15를 참조하면, 일 실시예에 따라, 서버(110)는 외부 네트워크(예: 도 1의 네트워크(130))를 통한 대표 전자 장치(120)와의 연결이 해제되었음을 인지할 있다 (동작 1501). 상기 외부 네트워크(130)를 통한 상기 대표 전자 장치(120)와의 연결 해제는, 상기 서버(110) 및/또는 상기 대표 전자 장치(120) 내부 장애이거나, 또는 상기 서버(110)와 상기 네트워크(130) 사이의 연결 문제이거나, 또는 상기 네트워크(130)와 상기 대표 전자 장치(120) 사이의 연결 문제로 인하여 발생될 수 있다.Referring to FIG. 15 , according to an embodiment, the
동작 1503에서, 상기 대표 전자 장치(120)는 외부 네트워크(130)를 통한 서버(110)와의 연결이 해제되었음을 감지하면, 제1 전자 장치(123)를 포함한, 자신과 D2D 연결된 모든 전자 장치로 D2D 연결을 해제할 것을 브로드캐스팅할 수 있다.In
동작 1505에서, 상기 서버(110)는 후보 전자 장치 중에서 1순위인 후보 전자 장치(124)에게 대표 전자 장치로 선정되었다는 메시지를 송신할 수 있다. 상기 후보 전자 장치(124)는 상기 서버(110)로부터 대표 전자 장치로 선정되었다는 메시지를 수신할 수 있다.In
일 실시예에 의하면, 동작 1501과 동작 1505의 순서는 예시일 뿐, 이에 한정되지 않는다. 즉, 동작 1501과 동작 1505의 순서는 상호 변동될 수 있으며, 동시에 실행될 수 있다According to one embodiment, the order of
동작 1507에서, 상기 제1 전자 장치(123)는 대표 전자 장치를 스캔하는 신호를 송신할 수 있다. 상기 대표 전자 장치(124)는 상기 제1 전자 장치(123)에 의해 송신된 스캔 신호를 수신할 수 있다.In
동작 1509 내지 동작 1517은 도 8을 참조하여 전술한 동작 805 내지 동작 813과 동일할 수 있다.
동작 1519에서, 상기 서버(110)는 전자 장치들로 상기 대표 전자 장치(124)의 디바이스 정보를 브로드캐스팅할 수 있다.In
도 16은, 본 개시의 일 실시예에 따른, IoT 시스템(예: 도 1의 IoT 시스템(100))에 속한 전자 장치(예: 도 1의 전자 장치(120 내지 124))에서 외부 네트워크 접속에 장애가 발생한 상황을 도시한 도면이다. 16 is a diagram for external network access in an electronic device (eg, the
도 16을 참조하면, 전자 장치들(120~124)은 외부 네트워크(130)로의 접속에 장애가 발생할 수 있다. Referring to FIG. 16 ,
일 실시예에 의하면, 게이트웨이 또는 라우터의 고장 혹은 오류로 인해, 전자 장치들(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
일 실시예에 의하면, 전자 장치(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
일 실시예에 의하면, 외부 네트워크(130)의 장애가 복구되면, 대표 전자 장치(120)는 자신을 포함한 다른 전자 장치들(121~124)의 현재 상태 정보와 타임스탬프를 서버(110)로 송신할 수 있다. 상기 서버(110)는 상기 대표 전자 장치(120)로부터 수신한 전자 장치들(120~124)의 상태 정보와 상기 타임스탬프에 근거하여, 자신이 관리하는 상기 전자 장치들(120~124)의 정보를 업데이트함으로써 상기 전자 장치들(120~124)에 대한 정보를 동기화할 수 있다. According to an embodiment, when a failure of the
도 17은, 본 개시의 일 실시예에 따른, IoT 시스템(예: 도 1의 IoT 시스템(100))에 속한 전자 장치(예: 도 1의 전자 장치(120~124)에서 외부 네트워크 접속 장애 발생 및 복구 시 대표 전자 장치(예: 도 1의 대표 전자 장치(120)에서 수행할 동작 흐름도이다. 17 is an external network connection failure in an electronic device (eg, the
도 17을 참조하면, 일 실시예에 따른 동작 1701에서, 대표 전자 장치(120)는 외부 네트워크(130)와의 연결에 장애가 발생하였음을 감지할 수 있다.Referring to FIG. 17 , in
일 실시예에 따른 동작 1703에서, 대표 전자 장치(120)는 자신과 D2D 연결되어 있는 전자 장치들과 D2D 연결을 해제할 수 있다.In
일 실시예에 따른 동작 1705에서, 대표 전자 장치(120)는 새롭게 지정된 대표 전자 장치를 발견하고자 스캔을 시도할 수 있다. 사전에 설정한 임계 시간동안 대표 전자 장치를 스캔하는데 실패하면, 상기 대표 전자 장치(120)는 IoT 시스템(100)에 속한 전자 장치에서 외부 네트워크(130) 연결에 장애가 발생한 것으로 간주할 수 있다.In
일 실시예에 따른 동작 1707에서, 대표 전자 장치(120)는 IoT 시스템(100)에 속한 전자 장치와 D2D 연결을 수행하여, 상기 대표 전자 장치(120)를 중심으로 한 로컬 네트워크를 구성할 수 있다.In
일 실시예에 따른 동작 1709에서, 대표 전자 장치(120)는 D2D 기반의 기초적인 사물 인터넷 서비스를 수행할 수 있다.In
일 실시예에 따른 동작 1711에서, 대표 전자 장치(120)는 외부 네트워크(130) 연결 장애가 해소되었는지 판단할 수 있다. 상기 대표 전자 장치(120)는 외부 네트워크(130) 연결이 복구되었다고 판단하면 동작 1713을 수행하고, 그렇지 않으면 동작 1709로 복귀할 수 있다.In
일 실시예에 따른 동작 1713에서, 대표 전자 장치(120)는 자신과 D2D 연결된 전자 장치들의 현재 상태 정보를 수집할 수 있다.In
일 실시예에 따른 동작 1715에서, 대표 전자 장치(120)는 수집한 정보와 타임스탬프를 서버(110)로 송신할 수 있다. 상기 서버(110)는 상기 대표 전자 장치(120)로부터 수신한 전자 장치들의 상태 정보와 타임스탬프에 근거하여, 자신이 관리하는 전자 장치들의 정보를 업데이트함으로써 상기 전자 장치들에 대한 정보를 동기화할 수 있다. 다른 실시예에 의하면, 대표 전자 장치(120)는 자신과 D2D 연결되어 있는 전자 장치들에 대한 D2D 연결을 일괄적으로 해제하라는 사용자의 명령을 서버(110)로부터 수신하여, 상기 D2D 연결을 해제할 수 있다.In
도 18은, 본 개시의 일 실시예에 따른, 서버(예: 도 1의 서버(110))의 상태 천이도이다. 18 is a state transition diagram of a server (eg, the
도 18을 참조하면, 서버(110)가 천이 가능한 상태는, 개시 모드(start mode)(1800), 아이들 모드(idle mode)(1810), 대표 전자 장치 선택 모드(1820) 또는 후보 전자 장치 추가 모드(1830)를 포함할 수 있다.Referring to FIG. 18 , states in which the
일 실시예에 의하면, 개시 모드(1800)는 서버(110)가 전원이 인가되고 부팅되는 상태일 수 있다. 상기 개시 모드(1800)에서 상기 서버(110)가 사물 인터넷 서비스에 관련된 프로그램 및/또는 데이터 베이스를 초기화하는 동작을 수행(동작 1801)하면, 상기 서버(110)의 상태는 개시 모드(1800)에서 아이들 모드(1810)로 천이될 수 있다.According to one embodiment, the
일 실시예에 의하면, 아이들 모드(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
일 실시예에 의하면, 서버(110)가 사용자로부터 대표 전자 장치(120)의 변경을 요청하는 입력도 없고, 대표 전자 장치(120)를 새롭게 선정할 필요가 없고, 전자 장치들(120~124) 중에 대표 전자 장치(120)가 존재(동작 1815)하는 것으로 판단하면, 상기 서버(110)의 상태는 아이들 모드(1810)에서 후보 전자 장치 추가 모드(1830)로 천이될 수 있다.According to an embodiment, the
일 실시예에 의하면, 대표 전자 장치 선택 모드(1820)는 서버(110)가 네트워크 연결에 대한 신뢰도에 근거하여 대표 전자 장치(120)를 결정하는 상태일 수 있다. 상기 대표 전자 장치 선택 모드(1820)는 아이들 모드(1810)로부터 진입될 수 있다. 상기 서버(110)는 대표 전자 장치 결정을 완료(동작 1821)하면, 다시 상기 아이들 모드(1810)로 복귀할 수 있다.According to an embodiment, the representative electronic
일 실시예에 의하면, 후보 전자 장치 추가 모드(1830)는 서버(110)가 전자 장치들(120~124)중에서 후보 전자 장치(124)를 선정하고, 순위를 매기는 동작 상태일 수 있다. 상기 후보 전자 장치 추가 모드(1830)는 아이들 모드(1810)로부터 진입될 수 있다. 상기 후보 전자 장치(124)를 선정하는 기준은 외부 네트워크 접속이 가능하고, D2D 연결이 가능한 지 여부이며, 신뢰도에 따라 상기 후보 전자 장치(124)의 우선 순위를 매길 수 있다. 상기 후보 전자 장치 추가 모드(1830)는 후보 전자 장치 추가를 완료(동작 1831)하면, 다시 상기 아이들 모드(1810)로 복귀할 수 있다.According to an embodiment, the candidate electronic
도 19는, 본 개시의 일 실시예에 따른, 전자 장치(예: 도 4의 전자 장치(400))의 상태 천이도이다.19 is a state transition diagram of an electronic device (eg, the
도 19를 참조하면, 전자 장치(400)가 천이 가능한 상태는, 일반 모드(1910), 스캔 모드(1920), 대표 전자 장치와 D2D 연결 모드(1930), 후보 전자 장치 모드(1940) 또는 대표 전자 장치 모드(1950)를 포함할 수 있다.Referring to FIG. 19 , states in which the
일 실시예에 의하면, 일반 모드(1910)는 전자 장치(400)가 초기화되고, 가전 제품 본래의 주요 기능을 수행하는 동작 상태일 수 있다. 상기 전자 장치(400)가 대표 전자 장치(120)로서의 전제 조건을 만족(동작 1911)하면, 예를 들어 상기 전자 장치의 외부 네트워크 접속 기능이 정상적으로 동작하고, D2D 연결 기능이 정상적으로 동작하면, 상기 전자 장치(400)의 상태는 상기 일반 모드(1910)에서 후보 전자 장치 모드(1940)로 천이될 수 있다.According to an embodiment, the
일 실시예에 의하면, 전자 장치(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
일 실시예에 의하면, 스캔 모드(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
일 실시예에 의하면, 대표 전자 장치와 D2D 연결 모드(1930)는 전자 장치(400)가 대표 전자 장치(120)의 중계를 통해 서버(110)의 제어 명령을 수신하고, 자신의 상태를 보고하는 동작 상태일 수 있다. 상기 대표 전자 장치(120)의 외부 네트워크 접속에 장애가 발생하거나, 상기 대표 전자 장치(120)의 전원 공급에 이상이 발생하여, 상기 전자 장치(400)와 상기 대표 전자 장치(120)의 D2D 연결이 해제(동작 1931)되면, 상기 전자 장치(400)의 상태는 대표 전자 장치와 D2D 연결 모드(1930)에서 일반 모드(1910)로 천이될 수 있다.According to an embodiment, the
일 실시예에 의하면, 후보 전자 장치 모드(1940)는 전자 장치(400)가 대표 전자 장치(120)로서의 전제 조건을 만족하는 경우, 일반 모드(1910)로부터 진입하는 상태일 수 있다. 상기 전자 장치(400)가 서버(110)에 의해 혹은 사용자의 선택에 의해, 대표 전자 장치(120)로 선정(동작 1941)되면, 상기 전자 장치(400)의 상태는 후보 전자 장치 모드(1940)에서 대표 전자 장치 모드(1950)로 천이될 수 있다.According to an embodiment, the candidate
일 실시예에 의하면, 전자 장치(400)가 외부 네트워크(130)와의 접속에 장애가 발생(동작 1943)하면, 상기 전자 장치(400)의 상태는 후보 전자 장치 모드(1940)에서 스캔 모드(1920)로 천이될 수 있다.According to an embodiment, when a failure occurs in the connection of the
일 실시예에 의하면, 대표 전자 장치 모드(1950)는 전자 장치(400)가 대표 전자 장치(120)로 선정되어, 제1 전자 장치와 서버(110)간의 중계를 수행하는 동작 상태일 수 있다. 상기 서버(110)에 의해 혹은 사용자에 의해 대표 전자 장치 변경 요청이 발생(동작 1951)하면, 상기 전자 장치(400)의 상태는 대표 전자 장치 모드(1950)에서 후보 전자 장치 모드(1940)로 천이될 수 있다. According to an embodiment, the representative
일 실시예에 의하면, 전자 장치(400)가 외부 네트워크(130)와의 접속에 장애가 발생(동작 1953)하면, 상기 전자 장치(400)의 상태는 대표 전자 장치 모드(1950)에서 스캔 모드(1920)로 천이될 수 있다.According to an embodiment, when a failure occurs in the connection of the
본 개시에서 설명된 전자 장치 및 각각의 모듈에 의해 실행되는 기능들은 하드웨어 구성요소, 소프트웨어 구성요소, 및/또는 하드웨어 구성요소 및 소프트웨어 구성요소의 조합에 의해 구현될 수 있다. 소프트웨어는 컴퓨터 프로그램(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.
상기 적어도 하나의 프로세서는,
상기 복수의 전자 장치들 중에서 상기 네트워크와의 접속이 가능한 하나 또는 복수의 후보 전자 장치들을 결정하고,
상기 후보 전자 장치가 하나이면, 상기 하나의 후보 전자 장치를 상기 대표 전자 장치로 결정하며,
상기 후보 전자 장치가 복수이면, 상기 접속 유지 시간을 고려하여 상기 복수의 후보 전자 장치들로부터 상기 대표 전자 장치로 결정하는, 전자 장치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.
상기 적어도 하나의 프로세서는,
상기 대표 전자 장치로 결정되었음을 상기 대표 전자 장치로 통보하는, 전자 장치.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.
상기 적어도 하나의 프로세서는,
상기 네트워크를 통한 상기 대표 전자 장치와의 연결이 끊어지면, 새로운 대표 전자 장치를 결정하는, 전자 장치.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.
상기 적어도 하나의 프로세서는,
상기 복수의 전자 장치들 중에서 상기 네트워크와의 접속이 가능한 하나 또는 복수의 후보 전자 장치들을 결정하고,
상기 후보 전자 장치가 하나이면, 상기 하나의 후보 전자 장치를 상기 대표 전자 장치로 결정하며,
상기 후보 전자 장치가 복수이면, 사용자의 요청에 의해 상기 복수의 후보 전자 장치들로부터 상기 대표 전자 장치로 결정하는, 전자 장치.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.
상기 적어도 하나의 프로세서는,
상기 대표 전자 장치에 관한 정보를 상기 네트워크에 접속하고 있는 전자 장치로 전송하는, 전자 장치.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.
상기 적어도 하나의 프로세서는,
상기 대표 전자 장치로부터 상기 네트워크를 통해, 상기 대표 전자 장치와 직접 통신 방식에 의해 연결된 내부 전자 장치의 목록 정보를 수신하는, 전자 장치.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.
상기 적어도 하나의 프로세서는,
상기 복수의 전자 장치들 중에서 상기 네트워크와의 접속이 가능한 하나 또는 복수의 후보 전자 장치들을 결정하고,
상기 후보 전자 장치가 하나이면, 상기 하나의 후보 전자 장치를 상기 대표 전자 장치로 결정하며,
상기 후보 전자 장치가 복수이면, 상기 복수의 후보 전자 장치들 각각에 대하여 측정된 응답 속도를 고려하여 상기 복수의 후보 전자 장치들 중 하나를 상기 대표 전자 장치로 결정하는, 전자 장치.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.
상기 직접 통신 채널이 설정된 상기 내부 전자 장치는, 상기 네트워크를 통해 상기 외부 전자 장치와의 연결에 실패한 전자 장치임을 특징으로 하는, 전자 장치.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.
상기 직접 통신 채널이 설정된 상기 내부 전자 장치는, 상기 네트워크와의 연결 이력이 존재하지 않는 전자 장치임을 특징으로 하는, 전자 장치.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.
상기 적어도 하나의 프로세서는,
상기 네트워크와의 연결이 끊어지면, 상기 내부 전자 장치와 설정된 상기 직접 통신 채널을 해제하고,
상기 스캔 동작을 수행하여 새로운 대표 전자 장치로 결정된 내부 전자 장치와의 직접 통신 채널을 설정하는, 전자 장치.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.
상기 적어도 하나의 프로세서는,
상기 직접 통신 채널이 설정된 상기 내부 전자 장치에 관한 정보를 상기 네트워크를 통해 상기 외부 전자 장치로 전달하는, 전자 장치.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.
상기 적어도 하나의 프로세서는,
상기 외부 전자 장치에 등록된 상기 내부 전자 장치의 사용자 계정을 획득하고, 자신의 사용자 계정과 상기 획득한 사용자 계정을 비교하여 일치하면, 상기 내부 전자 장치와의 직접 통신 채널을 설정하는, 전자 장치.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.
상기 적어도 하나의 프로세서는,
대표 전자 장치로 결정되었음이 통보되지 않은 상태에서,
상기 외부 전자 장치와의 연결이 끊어졌을 때,
상기 외부 전자 장치로부터 수신한 대표 전자 장치에 대한 정보에 근거하여 싱글 스캔을 수행하여 대표 전자 장치와 직접 통신 채널을 설정하는, 전자 장치.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.
상기 복수의 전자 장치들 중에서 상기 네트워크와의 접속이 가능한 하나 또는 복수의 후보 전자 장치들을 결정하는 동작;
상기 후보 전자 장치가 하나이면, 상기 하나의 후보 전자 장치를 상기 대표 전자 장치로 결정하는 동작; 및
상기 후보 전자 장치가 복수이면, 상기 접속 유지 시간을 고려하여 상기 복수의 후보 전자 장치들로부터 상기 대표 전자 장치를 결정하는 동작을 포함하는, 방법.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.
상기 대표 전자 장치로 결정되었음을 상기 대표 전자 장치로 통보하는 동작을 더 포함하는, 방법.According to claim 16,
The method further comprising notifying the representative electronic device that the representative electronic device has been determined.
상기 네트워크를 통한 상기 대표 전자 장치와의 연결이 끊어지면, 새로운 대표 전자 장치를 결정하는 동작을 더 포함하는, 방법.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.
상기 복수의 전자 장치들 중에서 상기 네트워크와의 접속이 가능한 하나 또는 복수의 후보 전자 장치들을 결정하는 동작;
상기 후보 전자 장치가 하나이면, 상기 하나의 후보 전자 장치를 상기 대표 전자 장치로 결정하는 동작; 및
상기 후보 전자 장치가 복수이면, 사용자의 요청에 의해 상기 복수의 후보 전자 장치들로부터 상기 대표 전자 장치로 결정하는 동작을 포함하는, 방법.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.
상기 대표 전자 장치에 관한 정보를 상기 네트워크에 접속하고 있는 전자 장치로 전송하는 동작을 더 포함하는, 방법.According to claim 16,
The method further comprises transmitting information about the representative electronic device to an electronic device accessing the network.
상기 대표 전자 장치로부터 상기 네트워크를 통해, 상기 대표 전자 장치와 직접 통신 방식에 의해 연결된 내부 전자 장치의 목록 정보를 수신하는 동작을 더 포함하는, 방법.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.
상기 복수의 전자 장치들 중에서 상기 네트워크와의 접속이 가능한 하나 또는 복수의 후보 전자 장치들을 결정하는 동작;
상기 후보 전자 장치가 하나이면, 상기 하나의 후보 전자 장치를 상기 대표 전자 장치로 결정하는 동작; 및
상기 후보 전자 장치가 복수이면, 상기 복수의 후보 전자 장치들 각각에 대하여 측정된 응답 속도를 고려하여 상기 복수의 후보 전자 장치들 중 하나를 상기 대표 전자 장치로 결정하는 동작을 포함하는, 방법.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.
상기 직접 통신 채널이 설정된 상기 내부 전자 장치는, 상기 네트워크를 통해 상기 외부 전자 장치와의 연결에 실패한 전자 장치임을 특징으로 하는, 방법.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.
상기 직접 통신 채널이 설정된 상기 내부 전자 장치는, 상기 네트워크와의 연결 이력이 존재하지 않는 전자 장치임을 특징으로 하는, 방법.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.
상기 네트워크와의 연결이 끊어지면, 상기 내부 전자 장치와 설정된 직접 통신 채널을 해제하고, 상기 스캔 동작을 수행하여 새로운 대표 전자 장치로 결정된 내부 전자 장치와의 직접 통신 채널을 설정하는 동작을 더 포함하는, 방법.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.
상기 직접 통신 채널이 설정된 상기 내부 전자 장치에 관한 정보를 상기 네트워크를 통해 상기 외부 전자 장치로 전달하는 동작을 더 포함하는, 방법.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.
상기 내부 전자 장치와의 직접 통신 채널을 설정하는 동작은, 상기 전자 장치와 상기 내부 전자 장치가 동일한 사용자 계정으로 상기 외부 전자 장치에 등록되어 있는지 확인하는 동작을 포함하는, 방법.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.
상기 직접 통신 채널이 설정된 상기 내부 전자 장치는, 상기 외부 전자 장치와의 연결이 끊어지기 이전에 상기 외부 전자 장치로부터 수신한 상기 대표 전자 장치에 대한 정보에 근거하여, 싱글 스캔을 수행하여 상기 직접 통신 채널을 설정함을 특징으로 하는, 방법.
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.
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) |
-
2021
- 2021-12-10 KR KR1020210176632A patent/KR20230087944A/en unknown
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 |