KR102325323B1 - Apparatus and method for pairing between an electronic device with a lighting device - Google Patents
Apparatus and method for pairing between an electronic device with a lighting device Download PDFInfo
- Publication number
- KR102325323B1 KR102325323B1 KR1020150089064A KR20150089064A KR102325323B1 KR 102325323 B1 KR102325323 B1 KR 102325323B1 KR 1020150089064 A KR1020150089064 A KR 1020150089064A KR 20150089064 A KR20150089064 A KR 20150089064A KR 102325323 B1 KR102325323 B1 KR 102325323B1
- Authority
- KR
- South Korea
- Prior art keywords
- lighting device
- identification data
- pairing
- electronic device
- value
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/175—Controlling the light source by remote control
- H05B47/19—Controlling the light source by remote control via wireless transmission
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F21—LIGHTING
- F21S—NON-PORTABLE LIGHTING DEVICES; SYSTEMS THEREOF; VEHICLE LIGHTING DEVICES SPECIALLY ADAPTED FOR VEHICLE EXTERIORS
- F21S10/00—Lighting devices or systems producing a varying lighting effect
- F21S10/02—Lighting devices or systems producing a varying lighting effect changing colors
- F21S10/023—Lighting devices or systems producing a varying lighting effect changing colors by selectively switching fixed light sources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/105—Controlling the light source in response to determined parameters
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/16—Controlling the light source by timing means
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
Abstract
본 개시는 센서 네트워크(Sensor Network), 사물 통신(Machine to Machine, M2M), MTC(Machine Type Communication) 및 사물 인터넷(Internet of Things, IoT)을 위한 기술과 관련된 것이다. 본 개시는 상기 기술을 기반으로 하는 지능형 서비스(스마트 홈, 스마트 빌딩, 스마트 시티, 스마트 카 혹은 커넥티드 카, 헬스 케어, 디지털 교육, 소매업, 보안 및 안전 관련 서비스 등)에 활용될 수 있다. 본 발명은 전자 장치와 조명 장치의 페어링에 관한 것으로서, 조명 장치와 페어링을 위한 전자 장치의 방법은, 페어링할 조명 장치를 촬영하는 과정과, 촬영된 이미지로부터 상기 조명 장치에 대한 식별 데이터를 획득하는 과정과, 상기 식별 데이터를 상기 조명 장치로 전송하여 상기 조명 장치와 페어링을 수행하는 과정을 포함하며, 전자 장치와 페어링을 위한 조명 장치의 방법은, 조명 장치의 식별 데이터를 기반으로 조명을 출력하는 과정과, 전자 장치로부터 식별 데이터를 수신하는 과정과, 상기 조명 장치의 식별 데이터와 상기 수신된 식별 데이터를 비교하여 상기 전자 장치와의 페어링 여부를 결정하는 과정과, 상기 전자 장치와의 페어링이 결정될 경우, 상기 전자 장치와 페어링을 수행하는 과정을 포함할 수 있다.The present disclosure relates to a technology for a sensor network, a machine to machine (M2M), a machine type communication (MTC), and the Internet of Things (IoT). The present disclosure can be used for intelligent services (smart home, smart building, smart city, smart car or connected car, healthcare, digital education, retail business, security and safety related services, etc.) based on the above technology. The present invention relates to pairing of an electronic device and a lighting device, and a method of the electronic device for pairing with a lighting device includes photographing a lighting device to be paired, and obtaining identification data for the lighting device from the photographed image. A method of a lighting device for pairing with an electronic device, comprising a step of performing pairing with the lighting device by transmitting the identification data to the lighting device, and outputting lighting based on the identification data of the lighting device A process, a process of receiving identification data from an electronic device, a process of determining whether to pair with the electronic device by comparing the identification data of the lighting device with the received identification data, and a process of determining whether to pair with the electronic device In this case, it may include a process of performing pairing with the electronic device.
Description
본 발명은 전자 장치와 조명 장치의 페어링에 관한 것이다.The present invention relates to pairing of an electronic device and a lighting device.
인터넷은 인간이 정보를 생성하고 소비하는 인간 중심의 연결 망에서, 사물 등 분산된 구성 요소들 간에 정보를 주고 받아 처리하는 IoT(Internet of Things, 사물인터넷) 망으로 진화하고 있다. 클라우드 서버 등과의 연결을 통한 빅데이터(Big data) 처리 기술 등이 IoT 기술에 결합된 IoE (Internet of Everything) 기술도 대두되고 있다. IoT를 구현하기 위해서, 센싱 기술, 유무선 통신 및 네트워크 인프라, 서비스 인터페이스 기술, 및 보안 기술과 같은 기술 요소 들이 요구되어, 최근에는 사물간의 연결을 위한 센서 네트워크(sensor network), 사물 통신(Machine to Machine, M2M), MTC(Machine Type Communication)등의 기술이 연구되고 있다.The Internet is evolving from a human-centered connection network where humans create and consume information, to an Internet of Things (IoT) network that exchanges and processes information between distributed components such as objects. Internet of Everything (IoE) technology, which combines big data processing technology through connection with cloud servers, etc. with IoT technology, is also emerging. In order to implement IoT, technology elements such as sensing technology, wired and wireless communication and network infrastructure, service interface technology, and security technology are required. , M2M), and MTC (Machine Type Communication) are being studied.
IoT 환경에서는 연결된 사물들에서 생성된 데이터를 수집, 분석하여 인간의 삶에 새로운 가치를 창출하는 지능형 IT(Internet Technology) 서비스가 제공될 수 있다. IoT는 기존의 IT(information technology)기술과 다양한 산업 간의 융합 및 복합을 통하여 스마트홈, 스마트 빌딩, 스마트 시티, 스마트 카 혹은 커넥티드 카, 스마트 그리드, 헬스 케어, 스마트 가전, 첨단의료서비스 등의 분야에 응용될 수 있다.In the IoT environment, an intelligent IT (Internet Technology) service that collects and analyzes data generated from connected objects and creates new values in human life can be provided. IoT is a field of smart home, smart building, smart city, smart car or connected car, smart grid, health care, smart home appliance, advanced medical service, etc. can be applied to
최근 통신 기술이 발전함에 따라, 다양한 통신 장치와 사물 인터넷(internet of thing) 및/혹은 만물 인터넷(internet of everything)을 연계하는 통신 방식에 대한 관심이 증가하고 있다. 일 예로, 사용자의 스마트 폰과 블루투스 기술이 적용된 조명 장치가 페어링을 수행하여 스마트 폰에서 조명 장치를 제어하는 기술이 제공되고 있다.As communication technology develops in recent years, interest in a communication method linking various communication devices with the Internet of Things and/or the Internet of Everything is increasing. For example, a technology for controlling a lighting device from a smart phone by performing pairing between a user's smart phone and a lighting device to which Bluetooth technology is applied has been provided.
도 1a 및 도 1b는 종래 기술에 따른 스마트 폰과 조명 장치 사이의 페어링 방안을 도시하고 있다. 도 1a는 제 1 사용자의 가정 내에 3개의 조명 장치(1, 2 및 3)가 존재하고, 제 1 사용자의 가정과 인접한 제 2 사용자의 가정 내에 3개의 조명 장치(A,B 및 C)가 존재하는 상황을 나타낸다. 도 1a에 도시된 바와 같은 상황에서, 제 1 사용자가 스마트폰(100)을 통해 제 1 사용자의 가정 내에 위치한 특정 조명을 제어하고자 하는 경우, 종래의 기술에 따른 스마트폰(100)은 특정 조명과의 페어링을 위해, 주변의 조명 장치들로부터의 신호 수신 세기를 측정한 후, 측정된 수신 세기에 대한 정보를 사용자에게 제공하여, 사용자로 하여금 페어링할 조명을 선택하도록 한다. 예를 들어, 도 1a에 도시된 바와 같은 상황에서 스마트폰(100)은 제 1 사용자의 가정 내에 위치한 3개의 조명 장치 및 제 2 사용자의 가정 내에 위치한 3개의 조명 장치들로부터의 신호 수신 세기를 측정한 후, 도 1b에 도시된 바와 같이, 다수 개의 조명 장치들 각각에 대한 신호 수신 세기를 화면에 표시하여 사용자에게 페어링 하고자 하는 조명 장치를 선택할 것을 요청한다. 그러나, 스마트 폰에서 측정되는 각 조명 장치의 수신 신호 세기는 시간 및 주변 상황(예: 장애물 변경) 등에 의해 변경되므로, 조명 장치의 신호 수신 세기만으로 사용자가 원하는 특정 조명 장치를 정확히 선택하는 것은 어렵다. 더욱이, 종래의 스마트 폰과 조명 장치는 종래에 알려진 페어링 모델 중에서 "Just Work" 모델을 이용하므로, 중간자 공격(Man-In-The-Middle attack)에 노출될 수 있는 단점이 있다.1A and 1B show a pairing method between a smart phone and a lighting device according to the prior art. 1A shows three
따라서, 본 발명의 실시 예는 전자 장치와 조명 장치 사이의 페어링 시, 보안성을 향상시키기 위한 방법 및 장치를 제공함에 있다.Accordingly, an embodiment of the present invention is to provide a method and apparatus for improving security when pairing between an electronic device and a lighting device.
본 발명의 다른 실시 예는 전자 장치에서 페어링할 조명 장치를 선택하기 위한 방법 및 장치를 제공함에 있다.Another embodiment of the present invention is to provide a method and apparatus for selecting a lighting device to be paired in an electronic device.
본 발명의 또 다른 실시 예는 전자 장치에서 페어링하고자 하는 조명 장치를 촬영하여 해당 조명 장치에 대한 식별 데이터를 획득하고, 획득한 식별 데이터를 주변 조명 장치들로 전송하여 페어링하고자 하는 조명 장치를 알리는 방법 및 장치를 제공함에 있다.Another embodiment of the present invention is a method of notifying a lighting device to be paired by photographing a lighting device to be paired in an electronic device, acquiring identification data for the corresponding lighting device, and transmitting the obtained identification data to surrounding lighting devices and to provide an apparatus.
본 발명의 다른 실시 예는 전자 장치에서 조명 장치의 색상 및 주기를 기반으로 조명 장치를 선택하여 페어링 절차를 수행하기 위한 방법 및 장치를 제공함에 있다.Another embodiment of the present invention is to provide a method and apparatus for performing a pairing procedure by selecting a lighting device based on a color and a cycle of the lighting device in an electronic device.
본 발명의 또 다른 실시 예는 전자 장치에서 조명 장치의 촬영을 통해 획득된 데이터를 기반으로 임시 키(TK: Temporary Key)를 생성하고, 생성된 임시 키를 이용하여 페어링 시에 암호화를 수행하는 방법 및 장치를 제공함에 있다.Another embodiment of the present invention is a method of generating a temporary key (TK) based on data obtained through photographing of a lighting device in an electronic device, and performing encryption during pairing using the generated temporary key and to provide an apparatus.
본 발명의 또 다른 실시 예는 조명 장치에서 조명 색상 및/혹은 조명 주기를 제어하고, 전자 장치로부터 수신된 조명 색상 및/혹은 조명 주기를 기반으로 해당 전자 장치와의 페어링 여부를 결정하는 방법 및 장치를 제공함에 있다.Another embodiment of the present invention is a method and apparatus for controlling a lighting color and/or lighting cycle in a lighting device, and determining whether to pair with a corresponding electronic device based on a lighting color and/or lighting cycle received from an electronic device is to provide.
본 발명의 또 다른 실시 예는 조명 장치에서 조명 색상 및/혹은 조명 주기 기반으로 임시 키를 생성하고, 생성된 임시 키를 이용하여 페어링 시에 암호화를 수행하는 방법 및 장치를 제공함에 있다.Another embodiment of the present invention is to provide a method and apparatus for generating a temporary key based on a lighting color and/or lighting cycle in a lighting device, and performing encryption during pairing using the generated temporary key.
본 발명의 실시 예에 따르면, 조명 장치와 페어링을 위한 전자 장치의 방법은, 페어링할 조명 장치를 촬영하는 과정과, 촬영된 이미지로부터 상기 조명 장치에 대한 식별 데이터를 획득하는 과정과, 상기 식별 데이터를 상기 조명 장치로 전송하여 상기 조명 장치와 페어링을 수행하는 과정을 포함할 수 있다. According to an embodiment of the present invention, a method of an electronic device for pairing with a lighting device includes photographing a lighting device to be paired, acquiring identification data for the lighting device from a photographed image, and the identification data to the lighting device to perform pairing with the lighting device.
본 발명의 실시 예에 따르면, 전자 장치와 페어링을 위한 조명 장치의 방법은, 조명 장치의 식별 데이터를 기반으로 조명을 출력하는 과정과, 전자 장치로부터 식별 데이터를 수신하는 과정과, 상기 조명 장치의 식별 데이터와 상기 수신된 식별 데이터를 비교하여 상기 전자 장치와의 페어링 여부를 결정하는 과정과, 상기 전자 장치와의 페어링이 결정될 경우, 상기 전자 장치와 페어링을 수행하는 과정을 포함할 수 있다. According to an embodiment of the present invention, a method of a lighting device for pairing with an electronic device includes the steps of outputting lighting based on identification data of the lighting device, receiving identification data from the electronic device, and The method may include comparing identification data with the received identification data to determine whether to pair with the electronic device, and performing pairing with the electronic device when pairing with the electronic device is determined.
본 발명의 실시 예에 따르면, 조명 장치와 페어링을 위한 전자 장치는, 조명 장치와 페어링을 위한 신호를 송수신하는 통신 모듈; 조명 장치를 촬영하는 카메라 모듈; 및 상기 카메라 모듈에 의해 촬영된 이미지로부터 상기 조명 장치에 대한 식별 데이터를 획득하고, 상기 식별 데이터를 상기 조명 장치로 전송하여 상기 조명 장치와 페어링을 수행하는 프로세서를 포함할 수 있다.According to an embodiment of the present invention, an electronic device for pairing with a lighting device includes: a communication module for transmitting and receiving a signal for pairing with a lighting device; a camera module for photographing the lighting device; and a processor for obtaining identification data for the lighting device from the image captured by the camera module, and transmitting the identification data to the lighting device to perform pairing with the lighting device.
본 발명의 실시 예에 따르면, 전자 장치와 페어링을 위한 조명 장치는, 전자 장치와 페어링을 위한 신호를 송수신하는 통신 모듈; 조명 장치의 식별 데이터를 기반으로 조명을 출력하는 조명 출력 모듈; 및 상기 통신 모듈에 의해 상기 전자 장치로부터 수신되는 식별 데이터와 상기 조명 장치의 식별 데이터를 비교하여 상기 전자 장치와의 페어링 여부를 결정하고, 상기 전자 장치와의 페어링이 결정될 경우, 상기 전자 장치와 페어링을 수행하는 프로세서를 포함할 수 있다.According to an embodiment of the present invention, a lighting device for pairing with an electronic device includes: a communication module for transmitting and receiving a signal for pairing with an electronic device; a lighting output module for outputting lighting based on the identification data of the lighting device; and comparing the identification data received from the electronic device by the communication module with the identification data of the lighting device to determine whether to pair with the electronic device, and when pairing with the electronic device is determined, pairing with the electronic device It may include a processor that performs
본 발명은 전자 장치에서 페어링하고자 하는 조명 장치를 촬영하여 해당 조명 장치에 대한 식별 데이터를 획득하고, 획득한 식별 데이터를 주변 조명 장치들로 전송하여 페어링하고자 하는 조명 장치를 알림으로써, 사용자가 원하는 기기를 정확하게 선정하여 페어링을 수행할 수 있는 효과가 있다. 또한, 본 발명은 전자 장치와 조명 장치에서 조명 장치의 촬영을 통해 획득 가능한 데이터를 기반으로 임시 키(TK: Temporary Key)를 생성하고, 생성된 임시 키를 이용하여 페어링 시에 암호화를 수행함으로써, 중간자 공격(Man-In-The-Middle attack)을 회피하고, 보안성을 향상시킬 수 있는 효과가 있다.The present invention captures a lighting device to be paired in an electronic device, acquires identification data for the lighting device, transmits the acquired identification data to surrounding lighting devices, and notifies a lighting device to be paired, thereby providing a device desired by a user There is an effect that pairing can be performed by accurately selecting . In addition, the present invention generates a temporary key (TK) based on data obtainable through photographing of the lighting device in the electronic device and the lighting device, and performs encryption during pairing using the generated temporary key, It has the effect of evading a man-in-the-middle attack and improving security.
도 1a 및 도 1b는 종래 기술에 따른 스마트 폰과 조명 장치 사이의 페어링 방안을 도시하는 도면,
도 2는 본 발명의 실시 예에 따른 전자 장치와 조명 장치의 페어링 방안을 개략적으로 도시하는 도면,
도 3a는 본 발명의 실시 예에 따른 전자 장치의 페어링 절차를 도시하는 도면,
도 3b는 본 발명의 실시 예에 따른 조명 장치의 페어링 절차를 도시하는 도면,
도 4는 본 발명의 실시 예에 따른 페어링 요청 메시지 및 페어링 응답 메시지의 구성을 도시하는 도면,
도 5는 본 발명의 실시 예에 따라 조명 장치의 색상 데이터를 기반으로 임시 키를 생성하는 예를 도시하는 도면,
도 6은 본 발명의 실시 예에 따른 전자 장치에서 페어링을 수행하는 상세한 절차를 도시하는 도면,
도 7은 본 발명의 실시 예에 따른 조명 장치에서 페어링을 수행하는 상세한 절차를 도시하는 도면,
도 8은 본 발명의 실시 예에 따른 전자 장치의 블럭 구성을 도시하는 도면,
도 9는 본 발명의 실시 예에 따른 전자 장치에 포함된 페어링 모듈의 구성을 도시하는 도면, 및
도 10은 본 발명의 실시 예에 따른 조명 장치의 블럭 구성을 도시하는 도면.1A and 1B are diagrams illustrating a pairing scheme between a smart phone and a lighting device according to the prior art;
2 is a diagram schematically illustrating a method for pairing an electronic device and a lighting device according to an embodiment of the present invention;
3A is a diagram illustrating a pairing procedure of an electronic device according to an embodiment of the present invention;
3B is a diagram illustrating a pairing procedure of a lighting device according to an embodiment of the present invention;
4 is a diagram illustrating the configuration of a pairing request message and a pairing response message according to an embodiment of the present invention;
5 is a diagram illustrating an example of generating a temporary key based on color data of a lighting device according to an embodiment of the present invention;
6 is a diagram illustrating a detailed procedure for performing pairing in an electronic device according to an embodiment of the present invention;
7 is a diagram illustrating a detailed procedure for performing pairing in a lighting device according to an embodiment of the present invention;
8 is a diagram illustrating a block configuration of an electronic device according to an embodiment of the present invention;
9 is a diagram illustrating a configuration of a pairing module included in an electronic device according to an embodiment of the present invention; and
10 is a diagram illustrating a block configuration of a lighting device according to an embodiment of the present invention.
이하에서는 본 발명의 실시 예들을 첨부된 예시적인 도면을 참조하여 설명한다. 각 도면의 구성요소들에 참조부호를 부가함에 있어서, 서로 다른 도면상에 표시되더라도 동일한 구성요소들에 대해서는 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 그리고, 본 발명을 설명함에 있어서, 관련된 공지기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단된 경우 그 상세한 설명은 생략할 것이다. 또한, 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.Hereinafter, embodiments of the present invention will be described with reference to the accompanying exemplary drawings. In adding reference numerals to the components of each drawing, it should be noted that even though they are displayed on different drawings, the same components are given the same reference numerals as much as possible. And, in describing the present invention, if it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the gist of the present invention, the detailed description thereof will be omitted. In addition, the terms to be described later are terms defined in consideration of functions in the present invention, which may vary according to intentions or customs of users and operators. Therefore, the definition should be made based on the content throughout this specification.
본 발명의 다양한 실시예에서 사용될 수 있는“포함한다” 또는 “포함할 수 있다” 등의 표현은 개시(disclosure)된 해당 기능, 동작 또는 구성요소 등의 존재를 가리키며, 추가적인 하나 이상의 기능, 동작 또는 구성요소 등을 제한하지 않는다. 또한, 본 발명의 다양한 실시예에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다. Expressions such as “include” or “may include” that may be used in various embodiments of the present invention indicate the existence of a disclosed corresponding function, operation, or component, and may include one or more additional functions, operations, or components, etc. are not limited. In addition, in various embodiments of the present invention, terms such as "comprise" or "have" are intended to designate that a feature, number, step, action, component, part, or combination thereof described in the specification is present, It should be understood that it does not preclude the possibility of addition or existence of one or more other features or numbers, steps, operations, components, parts, or combinations thereof.
본 발명의 다양한 실시예에서 “또는”, "혹은" 등의 표현은 함께 나열된 단어들의 어떠한, 그리고 모든 조합을 포함한다. 예를 들어, “A 또는 B”는, A를 포함할 수도, B를 포함할 수도, 또는 A 와 B 모두를 포함할 수도 있다.In various embodiments of the present invention, expressions such as “or”, “or” and the like include any and all combinations of words listed together. For example, “A or B” may include A, may include B, or include both A and B.
본 발명의 다양한 실시예에서 사용된 “제 1,”“제2,”“첫째,”또는“둘째,”등의 표현들은 다양한 실시예들의 다양한 구성요소들을 수식할 수 있지만, 해당 구성요소들을 한정하지 않는다. 예를 들어, 상기 표현들은 해당 구성요소들의 순서 및/또는 중요도 등을 한정하지 않는다. 상기 표현들은 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 수 있다. 예를 들어, 제 1 사용자 기기와 제 2 사용자 기기는 모두 사용자 기기이며, 서로 다른 사용자 기기를 나타낸다. 예를 들어, 본 발명의 다양한 실시예의 권리 범위를 벗어나지 않으면서 제 1 구성요소는 제 2 구성요소로 명명될 수 있고, 유사하게 제 2 구성요소도 제 1 구성요소로 명명될 수 있다.Expressions such as “first,” “second,” “first,” or “second,” used in various embodiments of the present invention may modify various components of various embodiments, but limit the components. I never do that. For example, the above expressions do not limit the order and/or importance of corresponding components. The above expressions may be used to distinguish one component from another. For example, the first user device and the second user device are both user devices, and represent different user devices. For example, a first component may be referred to as a second component, and similarly, a second component may also be referred to as a first component without departing from the scope of the various embodiments of the present disclosure.
어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 상기 어떤 구성요소와 상기 다른 구성요소 사이에 새로운 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소와 상기 다른 구성요소 사이에 새로운 다른 구성요소가 존재하지 않는 것으로 이해될 수 있어야 할 것이다. When a component is referred to as being “connected” or “connected” to another component, the component may be directly connected or connected to the other component, but the component and It should be understood that other new components may exist between the other components. On the other hand, when an element is referred to as being "directly connected" or "directly connected" to another element, it will be understood that no new element exists between the element and the other element. should be able to
본 발명의 다양한 실시예에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명의 다양한 실시예를 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. Terms used in various embodiments of the present invention are used only to describe specific embodiments, and are not intended to limit the various embodiments of the present invention. The singular expression includes the plural expression unless the context clearly dictates otherwise.
다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명의 다양한 실시예가 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 발명의 다양한 실시예에서 명백하게 정의되지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present invention pertain. Terms such as those defined in a commonly used dictionary should be interpreted as having a meaning consistent with the meaning in the context of the related art, and unless explicitly defined in various embodiments of the present invention, ideal or excessively formal terms not interpreted as meaning
본 발명의 다양한 실시예에 따른 전자 장치는, 통신 기능이 포함된 장치일 수 있다. 예를 들면, 전자 장치는 스마트 폰(smartphone), 태블릿 PC(tablet personal computer), 이동 전화기(mobile phone), 화상전화기, 전자북 리더기(e-book reader), 데스크탑 PC(desktop personal computer), 랩탑 PC(laptop personal computer), 넷북 컴퓨터(netbook computer), PDA(personal digital assistant), PMP(portable multimedia player), MP3 플레이어, 모바일 의료기기, 카메라(camera), 또는 웨어러블 장치(wearable device)(예: 전자 안경과 같은 head-mounted-device(HMD), 전자 의복, 전자 팔찌, 전자 목걸이, 전자 앱세서리(appcessory), 전자 문신, 또는 스마트 와치(smart watch))중 적어도 하나를 포함할 수 있다. An electronic device according to various embodiments of the present disclosure may be a device including a communication function. For example, the electronic device includes a smart phone, a tablet personal computer (PC), a mobile phone, a video phone, an e-book reader, a desktop personal computer (PC), and a laptop computer. PC (laptop personal computer), netbook computer (netbook computer), PDA (personal digital assistant), PMP (portable multimedia player), MP3 player, mobile medical device, camera, or wearable device (eg: It may include at least one of a head-mounted-device (HMD) such as electronic glasses, electronic clothing, an electronic bracelet, an electronic necklace, an electronic accessory, an electronic tattoo, or a smart watch.
어떤 실시예들에 따르면, 전자 장치는 통신 기능을 갖춘 스마트 가전 제품(smart home appliance)일 수 있다. 스마트 가전 제품은, 예를 들자면, 전자 장치는 텔레비전, DVD(digital video disk) 플레이어, 오디오, 냉장고, 에어컨, 청소기, 오븐, 전자레인지, 세탁기, 공기 청정기, 셋톱 박스(set-top box), TV 박스(예를 들면, 삼성 HomeSync™, 애플TV™, 또는 구글 TV™), 게임 콘솔(game consoles), 전자 사전, 전자 키, 캠코더(camcorder), 또는 전자 액자 중 적어도 하나를 포함할 수 있다.According to some embodiments, the electronic device may be a smart home appliance having a communication function. Smart home appliances include, for example, a television, a digital video disk (DVD) player, an audio device, a refrigerator, an air conditioner, a vacuum cleaner, an oven, a microwave oven, a washing machine, an air purifier, a set-top box, and a TV. It may include at least one of a box (eg, Samsung HomeSync™, Apple TV™, or Google TV™), game consoles, an electronic dictionary, an electronic key, a camcorder, or an electronic picture frame.
어떤 실시예들에 따르면, 전자 장치는 각종 의료기기(예: MRA(magnetic resonance angiography), MRI(magnetic resonance imaging), CT(computed tomography), 촬영기, 초음파기 등), 네비게이션(navigation) 장치, GPS 수신기(global positioning system receiver), EDR(event data recorder), FDR(flight data recorder), 자동차 인포테인먼트(infotainment) 장치, 선박용 전자 장비(예: 선박용 항법 장치 및 자이로 콤파스 등), 항공 전자기기(avionics), 보안 기기, 차량용 헤드 유닛, 산업용 또는 가정용 로봇, 금융 기관의 ATM(automatic teller's machine) 또는 상점의 POS(point of sales) 중 적어도 하나를 포함할 수 있다.According to some embodiments, the electronic device includes various medical devices (eg, magnetic resonance angiography (MRA), magnetic resonance imaging (MRI), computed tomography (CT), imagers, ultrasound machines, etc.), navigation devices, and GPS receivers. (global positioning system receiver), EDR (event data recorder), FDR (flight data recorder), automotive infotainment device, marine electronic equipment (eg, marine navigation system and gyro compass, etc.), avionics, It may include at least one of a security device, a head unit for a vehicle, an industrial or household robot, an automatic teller's machine (ATM) of a financial institution, or a point of sales (POS) of a store.
어떤 실시예들에 따르면, 전자 장치는 통신 기능을 포함한 가구(furniture) 또는 건물/구조물의 일부, 전자 보드(electronic board), 전자 사인 입력장치(electronic signature receiving device), 프로젝터(projector), 또는 각종 계측기기(예: 수도, 전기, 가스, 또는 전파 계측 기기 등) 중 적어도 하나를 포함할 수 있다. 본 발명의 다양한 실시예에 따른 전자 장치는 전술한 다양한 장치들 중 하나 또는 그 이상의 조합일 수 있다. 또한, 본 발명의 다양한 실시예에 따른 전자 장치는 플렉서블 장치일 수 있다. 또한, 본 발명의 다양한 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않음은 당업자에게 자명하다.According to some embodiments, the electronic device is a piece of furniture or building/structure including a communication function, an electronic board, an electronic signature receiving device, a projector, or various It may include at least one of measuring devices (eg, water, electricity, gas, or radio wave measuring devices, etc.). The electronic device according to various embodiments of the present invention may be a combination of one or more of the various devices described above. Also, the electronic device according to various embodiments of the present disclosure may be a flexible device. Also, it is apparent to those skilled in the art that the electronic device according to various embodiments of the present disclosure is not limited to the above-described devices.
이하, 첨부된 도면을 참조하여 다양한 실시예에 따른 전자 장치에 대해서 살펴본다. 다양한 실시예에서 이용되는 사용자라는 용어는 전자 장치를 사용하는 사람 또는 전자 장치를 사용하는 장치(예: 인공지능 전자 장치)를 지칭할 수 있다.Hereinafter, an electronic device according to various embodiments will be described with reference to the accompanying drawings. The term user used in various embodiments may refer to a person who uses an electronic device or a device (eg, an artificial intelligence electronic device) using the electronic device.
또한, 이하 본 명세서에서 조명 장치는 조명 출력 기능을 구비하고, 전자 장치와 통신 가능한 기능을 구비한 장치를 의미한다.In addition, in the present specification, a lighting device means a device having a lighting output function and a function capable of communicating with an electronic device.
도 2는 본 발명의 실시 예에 따른 전자 장치와 조명 장치의 페어링 방안을 개략적으로 도시하고 있다. 본 발명의 실시 예에서는, 3개의 전자 장치들, 즉 제 1 조명 장치(210-1), 제 2 조명 장치(210-2), 제 3 조명 장치(210-3)가 존재하는 상황에서 전자 장치(200)가 제 2 조명 장치(210-2)와 페어링하고자 하는 경우를 가정하여 설명한다. 그러나, 본 발명의 실시 예는 적어도 하나의 조명 장치가 존재하는 상황에서 동일하게 적용될 수 있다.2 schematically illustrates a method for pairing an electronic device and a lighting device according to an embodiment of the present invention. In an embodiment of the present invention, in a situation where three electronic devices, that is, the first lighting device 210-1, the second lighting device 210-2, and the third lighting device 210-3 exist, the electronic device A case in which 200 intends to pair with the second lighting device 210 - 2 will be described. However, the embodiment of the present invention may be equally applied to a situation in which at least one lighting device exists.
도 2를 참조하면, 본 발명의 실시 예에 따른 전자 장치(200)는 페어링할 대상이 되는 제 2 조명 장치(210-2)를 촬영한다. 이때 전자 장치(200)는 제 2 조명 장치(210-2)의 촬영을 통해 제 2 조명 장치(210-2)를 식별할 수 있는 데이터를 획득할 수 있다(220단계). 예를 들어, 전자 장치(200)는 제 2 조명 장치(210-2)의 촬영 이미지로부터 제 2 조명 장치(210-2)의 RGB(Red Green Blue) 값을 획득할 수 있다. 다른 예로, 전자 장치(200)는 제 2 조명 장치(210-2)를 소정 시간 동안 촬영하여, 제 2 조명 장치(210-2)의 조명 출력이 온/오프되는 횟수를 나타내는 주기 값을 획득할 수 있다. 예를 들어, 전자 장치(200)는 10초 동안 조명 장치가 온/오프되는 횟수를 측정할 수 있다. 즉, 전자 장치(200)는 제 2 조명 장치(210-2)의 식별 데이터로, 조명 장치의 RGB 값 혹은 조명 주기 값을 획득할 수 있다. Referring to FIG. 2 , the
제 2 조명 장치(210-2)의 식별 데이터를 획득한 전자 장치(100)는 획득된 식별 데이터를 주변 제 1 조명 장치(210-1), 제 2 조명 장치(210-2), 제 3 조명 장치(210-3)로 전송한다(222단계). 예컨대, 전자 장치(200)는 광고 채널(advertising channel)을 통해 전송되는 광고 메시지에 획득된 식별 데이터를 포함시켜 주변 제 1 조명 장치(210-1), 제 2 조명 장치(210-2), 제 3 조명 장치(210-3)로 전송할 수 있다. 다른 실시 예에 따라, 전자 장치(200)는 광고 채널을 통해 전송되는 광고 메시지 이외에, 다른 채널을 통해 전송되는 다른 타입의 메시지에 식별 데이터를 포함시켜 주변 제 1 조명 장치(210-1), 제 2 조명 장치(210-2), 제 3 조명 장치(210-3)로 전송할 수도 있다.The
각 제 1 조명 장치(210-1), 제 2 조명 장치(210-2), 제 3 조명 장치(210-3)는 전자 장치(200)로부터 수신된 식별 데이터를 기반으로 인증 과정을 수행할 수 있다(224단계). 즉, 각 제 1 조명 장치(210-1), 제 2 조명 장치(210-2), 제 3 조명 장치(210-3)는 전자 장치(200)로부터 수신된 식별 데이터와 자신의 식별 데이터를 비교하여 전자 장치(200)가 페어링하고자 하는 조명 장치가 자신인지 여부를 판단할 수 있다. 예를 들어, 제 2 조명 장치(210-2)는 전자 장치(200)로부터 수신된 식별 데이터와 자신의 식별 데이터를 비교하여, 수신된 식별 데이터와 자신의 식별 데이터가 동일한 것을 확인하고, 전자 장치(200)가 페어링하고자 하는 조명 장치가 자신임을 판단한다. 이에 따라, 제 2 조명 장치(210-2)는 전자 장치(200)로 응답 신호를 전송하여 페어링 과정을 수행할 수 있다. 다른 예로, 제 1 조명 장치(210-1)와 제 3 조명 장치(210-3) 각각은 전자 장치(200)로부터 수신된 식별 데이터와 자신의 식별 데이터를 비교하여, 수신된 식별 데이터와 자신의 식별 데이터가 다른 것을 확인하고, 전자 장치(200)가 페어링하고자 하는 조명 장치가 자신이 아닌 것으로 판단한다. 이에 따라, 제 1 조명 장치(210-1)와 제 3 조명 장치(210-3) 각각은 어떠한 응답 동작도 수행하지 않을 수 있다. Each of the first lighting device 210-1, the second lighting device 210-2, and the third lighting device 210-3 may perform an authentication process based on the identification data received from the
추가적으로, 전자 장치(200)와 제 2 조명 장치(210-2)는 인증에 이용된 식별 데이터(예: 조명의 RGB 값, 혹은 조명의 주기 값)을 기반으로 임시 키(TK: Temporary Key)를 생성하여, 페어링 과정에 이용할 수 있다. 예를 들어, 전자 장치(200)와 제 2 조명 장치(210-2)는 식별 데이터를 기반으로 생성된 TK를 이용하여 페어링 시에 링크 계층 암호화를 수행할 수 있다.Additionally, the
도 3a는 본 발명의 실시 예에 따른 전자 장치의 페어링 절차를 도시하고 있다.3A illustrates a pairing procedure of an electronic device according to an embodiment of the present invention.
도 3a를 참조하면, 전자 장치(200)는 301단계에서 블루투스 페어링 이벤트가 발생되는지 여부를 감지한다. 블루투스 페어링 이벤트는 사용자 입력 혹은 특정 애플리케이션 실행 등에 의해 발생될 수 있다. 예를 들어, 본 발명의 실시 예에서는 특정 조명 장치를 제어하기 위한 사용자 입력 혹은 조명 장치를 제어하기 위한 애플리케이션 실행 등에 의해 블루투스 페어링 이벤트가 발생될 수 있다. 보다 상세한 예로, 블루투스를 지원하는 조명 장치를 제어하기 위한 애플리케이션에서, 조명 장치와의 페어링 메뉴 혹은 페어링 모드가 선택될 시, 블루투스 페어링 이벤트가 발생됨을 감지할 수 있다.Referring to FIG. 3A , the
전자 장치(200)는 블루투스 페어링 이벤트 발생이 감지될 시, 303단계에서 카메라를 자동으로 구동시키고, 페어링 요청 신호를 전송한다. 예를 들어, 전자 장치(200)는 블루투스 페어링 이벤트 발생이 감지될 시, 주변 조명 장치를 촬영하기 위해 카메라를 자동으로 구동시키고, 주변 조명 장치들로 페어링 요청 신호를 전송할 수 있다. 예를 들어, 전자 장치(200)는 도 4에 도시된 바와 같이, IO capability가 keyboard/Display(411)이고, MITM(Man-In-The-Middle attack)이 Yes(412)인 페어링 요청 신호(410)를 전송할 수 있다. 여기서, IO capability는 전자 장치(200)는 입력 및 출력이 가능한지 여부를 나타내는 것으로서, 도 4의 실시 예에서는 전자 장치(200)가 키보드를 통한 입력이 가능하고 화면 디스플레이가 가능함을 나타낸다. 또한, MITM은 TK 키를 이용하여 중간자 공격으로부터 보호가 가능한지 여부를 나타내는 것으로서, 도 4의 실시 예에서는 전자 장치(200)가 TK키를 이용하여 중간자 공격이 가능함을 나타낸다. When the occurrence of a Bluetooth pairing event is detected, the
이후, 전자 장치(200)는 305단계에서 조명 장치를 촬영하여 식별 데이터를 획득한다. 예를 들어, 전자 장치(200)는 자동으로 구동된 카메라를 통해 조명 장치를 촬영하여 캡처 이미지(정지 이미지)를 획득하고, 캡처 이미지로부터 조명 장치의 RGB 값을 추출할 수 있다. 다른 예로, 전자 장치(200)는 자동으로 구동된 카메라를 통해 소정 시간 동안 조명 장치를 촬영하여 동영상을 획득하고, 획득된 동영상에 포함된 다수의 이미지들을 분석하여 조명의 주기 값을 획득할 수 있다. 여기서, 전자 장치(200)는 카메라가 자동으로 구동된 상태에서 사용자의 입력에 의해 조명 장치를 촬영하여 캡처 이미지 혹은 동영상을 획득할 수 있다.Thereafter, the
이후, 전자 장치(200)는 307단계로 진행하여 촬영에 의해 획득된 식별 데이터를 조명 장치로 전송한다. 예를 들어, 전자 장치(200)는 캡처 이미지로부터 획득된 조명 장치의 RGB 값 혹은 동영상으로부터 획득된 조명 장치의 주기 값을 광고 메시지에 포함시켜, 광고 채널을 통해 주변에 위치한 적어도 하나의 조명 장치로 전송한다.Thereafter, the
이후, 전자 장치(200)는 조명 장치로부터 페어링 응답 신호를 수신한다. 예를 들어, 전자 장치(200)는 전자 장치(200)에서 촬영한 조명 장치(210)로부터 페어링 응답 신호를 수신할 수 있다. 도 4에 도시된 바와 같이, 페어링 응답 신호(420)는 IO capability가 keyboard/Display(421)이고, MITM(Man-In-The-Middle attack)이 Yes(422)일 수 있다. 여기서, IO capability는 조명 장치(210)의 입력 및 출력이 가능한지 여부를 나타내고, MITM은 TK 키를 이용하여 중간자 공격으로부터 보호가 가능한지 여부를 나타낸다. 실질적으로 조명 장치(210)는 키보드를 통한 입력 및 화면 디스플레이가 불가능하고 TK를 입력받을 수 없는 상황이나, 본 발명의 실시 예에서는 조명 장치(210)의 제어에 의해 페어링 응답 신호(420)의 IO capability는 keyboard/Display(421)를 나타내고, MITM은 Yes를 나타낼 수 있다. 이는 조명 장치의 식별 데이터를 기반으로 TK 값을 생성하여 패스키 앤트리(Passkey Entry) 모드로 페어링을 진행하기 위함이다. 여기서, 패스키 앤트리 모드는 공지된 블루투스 페어링 모드 중 하나이다. Thereafter, the
이후, 전자 장치(200)는 식별 데이터를 기반으로 TK를 생성한다. 예를 들어, 전자 장치(200)는 조명 장치의 RGB 값 혹은 조명 주기를 기반으로 6자리의 TK를 생성할 수 있다. 실시 예에 따라, 전자 장치(200)는 조명 주기에 임의의 고정된 값(k)를 곱하여 6자리 숫자로 구성된 TK 값을 생성할 수 있다. 다른 실시 예에 따라, 전자 장치(200)는 도 5에 도시된 바와 같이, 조명 장치의 RGB 값 중에서 R 값을 이용하여 6자리의 TK값 중 2자리의 값을 생성하고, G 값을 이용하여 다른 2자리의 값을 생성하고, B 값을 이용하여 나머지 2자리의 값을 생성할 수 있다. 실시 예에 따라, 전자 장치(200)는 공지된 컬러 양자화(color quantization) 방식을 이용하여 RGB를 6자리의 TK로 변경할 수 있다. 예를 들어, 전자 장치(200)는 255단계로 표현되는 R값, G값, B값 각각을 임의의 레벨(예: 10단계 레벨)로 변환하는 컬러 양자화 방식을 이용하여, RGB를 TK로 변경할 수 있다. 예를 들어, 공지된 컬러 양자화 방식으로는 균일한 컬러 양자화(uniform color quantization), 대중성 알고리즘(popularity algorithm), 미디언 컷 알고리즘(median cut algorithm), 및 옥트리 알고리즘(Octree algorithm)이 있다. 균일한 컬러 양자화는 R, G, B 값 각각을 일정한 간격으로 나누는 방식이다. 예를 들어, 균일한 컬러 양자화는 R값과 G값을 8계의 단계로 구분하고, B값을 4개의 단계로 구분하여 RGB 값을 총 256단계로 분리하는 방식이다. 대중성 알고리즘은 스캔 이미지로부터 획득된 컬러와 컬러의 횟수에 대한 목록을 생성하고, 생성된 목록에서 횟수를 기반으로 컬러를 정렬하여 상위 256개를 선택하는 방식이다. 미디언 컷 알고리즘 방식은 R, G, B값의 축을 3D 평면도로 변환한 후, 원하는 색의 수만큼을 분리하는 방식이다. 옥트리 알고리즘은 깊이가 N인 트리를 생성하고, 트리의 깊이를 조절하여 원하는 컬러의 수를 선택하는 방식이다.Thereafter, the
이후, 전자 장치(200)는 313단계에서 생성된 TK 값을 기반으로 조명 장치와 페어링 과정을 수행한다. 예를 들어, 전자 장치(200)는 TK 값을 기반으로 인증과정을 수행하고, TK 값을 기반으로 STK(Short Term Key) 값을 생성하여 링크 계층 암호화를 수행하고, TK 값 및/혹은 STK 값을 기반을 LTK(Long Term Key) 값을 생성하여 전자 장치(200)와 조명 장치(210)의 통신에 이용할 수 있다.Thereafter, the
이후, 전자 장치(200)는 본 발명의 실시 예에 따른 페어링 절차를 종료할 수 있다.Thereafter, the
도 3b는 본 발명의 실시 예에 따른 조명 장치의 페어링 절차를 도시하고 있다.3B illustrates a pairing procedure of a lighting device according to an embodiment of the present invention.
도 3b를 참조하면, 조명 장치(210)는 321단계에서 전자 장치(200)로부터 페어링 요청 신호를 수신하고, 323단계에서 조명 장치의 식별 데이터를 전자 장치(200)로 알리기 위한 기능을 수행한다. 예를 들어, 조명 장치(210)는 전자 장치(200)와 페어링되지 않은 상태에서, 전자 장치(200)와의 페어링을 위해 자신의 맥 주소(MAC address)를 기반으로 랜덤한 RGB 값 혹은 주기 값을 생성하고, 생성된 RGB 값 혹은 주기 값에 따라 조명을 출력할 수 있다. 여기서, RGB 값 혹은 주기 값은 조명 장치(210)의 맥주소를 기반으로 생성되므로, 다수의 조명 장치들 중에서 해당 조명 장치(210)를 구분해낼 수 있도록 하는 식별 데이터로 이용될 수 있다.Referring to FIG. 3B , the
이후, 조명 장치(210)는 325단계에서 전자 장치(200)로부터 식별 데이터를 수신하고, 327단계에서 전자 장치(200)로부터 수신된 식별 데이터와 자신의 식별 데이터가 일치하는지 여부를 검사한다. 예를 들어, 조명 장치(210)는 전자 장치(200)로부터 수신되는 RGB 값이 323단계에서 생성된 RGB값과 동일한지 여부를 비교할 수 있다. 또 다른 예로, 조명 장치(210)는 전자 장치(200)로부터 수신되는 조명의 주기 값이 323단계에서 생성된 조명 주기 값과 동일한지 여부를 비교할 수 있다. 조명 장치(210)는 전자 장치(200)로부터 수신된 식별 데이터와 자신의 식별 데이터가 일치하지 않을 시, 전자 장치(200)가 자신이 아닌 다른 조명 장치와 페어링을 원하는 것으로 인식하고, 본 발명의 실시 예에 따른 절차를 종료할 수 있다.Thereafter, the
조명 장치(210)는 전자 장치(200)로부터 수신된 식별 데이터와 자신의 식별 데이터가 일치할 시, 전자 장치(200)가 자신과 페어링을 원하는 것으로 인식하고, 329단계로 진행하여 전자 장치로 페어링 응답 신호를 전송한다. 페어링 응답 신호(420)는 도 4에 도시된 바와 같이, IO capability가 keyboard/Display(421)이고, MITM(Man-In-The-Middle attack)이 Yes(422)일 수 있다. 여기서, IO capability는 조명 장치(210)의 입력 및 출력이 가능한지 여부를 나타내고, MITM은 TK 키를 이용하여 중간자 공격으로부터 보호가 가능한지 여부를 나타낸다. 실질적으로 조명 장치(210)는 키보드를 통한 입력 및 화면 디스플레이가 불가능하고 TK를 입력받을 수 없는 상황이나, 본 발명의 실시 예에 따른 조명 장치(210)는 페어링 응답 신호(420)의 IO capability를 keyboard/Display(421)로 설정하고, MITM를 Yes로 설정한다. 이는 조명 장치(210)의 식별 데이터를 기반으로 TK 값을 생성하여 패스키 앤트리(Passkey Entry) 모드로 페어링을 진행하기 위함이다.When the identification data received from the
이후, 조명 장치(210)는 331단계에서 식별 데이터를 기반으로 TK를 생성한다. 예를 들어, 조명 장치(210)는 자신의 맥주소를 기반으로 생성된 RBG 값 혹은 조명 주기를 이용하여 TK를 생성할 수 있다. 실시 예에 따라, 조명 장치(210)는 조명 주기에 임의의 고정된 값(k)를 곱하여 6자리 숫자로 구성된 TK 값을 생성할 수 있다. 여기서, 임의의 고정된 값(k)은 전자 장치(200)와 미리 약속된 값일 수 있다. 다른 실시 예에 따라, 조명 장치(210)는 도 5에 도시된 바와 같이, 조명 장치의 RGB 값 중에서 R 값을 이용하여 6자리의 TK값 중 2자리의 값을 생성하고, G 값을 이용하여 다른 2자리의 값을 생성하고, B 값을 이용하여 나머지 2자리의 값을 생성할 수 있다. 실시 예에 따라, 조명 장치(210)는 공지된 컬러 양자화(color quantization) 방식을 이용하여 RGB를 6자리의 TK로 변경할 수 있다. 여기서, 조명 장치(210)는 전자 장치(200)와 동일한 컬러 양자화 방식을 이용하여 TK 값을 생성할 수 있다.Thereafter, the
이후, 조명 장치(210)는 333단계로 진행하여 생성된 TK 값을 기반으로 전자 장치(200)와 페어링 과정을 수행한다. 예를 들어, 조명 장치(210)는 TK 값을 기반으로 인증과정을 수행하고, TK 값을 기반으로 STK(Short Term Key) 값을 생성하여 링크 암호화를 수행한 후, TK 값 및/혹은 STK 값을 기반을 LTK(Long Term Key) 값을 생성하여 전자 장치(200)와 조명 장치(210)의 통신에 이용할 수 있다.Thereafter, the
이후, 조명 장치(210)는 본 발명의 실시 예에 따른 페어링 절차를 종료할 수 있다.Thereafter, the
도 6은 본 발명의 실시 예에 따른 전자 장치에서 페어링을 수행하는 상세한 절차를 도시하고 있다.6 illustrates a detailed procedure for performing pairing in an electronic device according to an embodiment of the present invention.
도 6을 참조하면, 전자 장치(200)는 601단계에서 블루투스 페어링 이벤트가 발생되는지 여부를 감지한다. 블루투스 페어링 이벤트는 사용자 입력 혹은 특정 애플리케이션 실행 등에 의해 발생될 수 있다. 예를 들어, 본 발명의 실시 예에서는 특정 조명 장치를 제어하기 위한 사용자 입력 혹은 조명 장치를 제어하기 위한 애플리케이션 실행 등에 의해 블루투스 페어링 이벤트가 발생될 수 있다. 보다 상세한 예로, 블루투스를 지원하는 조명 장치를 제어하기 위한 애플리케이션에서, 조명 장치와의 페어링 메뉴 혹은 페어링 모드가 선택될 시, 블루투스 페어링 이벤트가 발생됨을 감지할 수 있다.Referring to FIG. 6 , the
전자 장치(200)는 블루투스 페어링 이벤트 발생이 감지될 시, 603단계에서 카메라를 자동으로 구동시키고, 페어링 요청 신호를 전송한다. 예를 들어, 전자 장치(200)는 블루투스 페어링 이벤트 발생이 감지될 시, 주변 조명 장치를 촬영하기 위해 카메라를 자동으로 구동시키고, 주변 조명 장치들로 페어링 요청 신호를 전송할 수 있다. 예를 들어, 전자 장치(200)는 도 4에 도시된 바와 같이, IO capability가 keyboard/Display(411)이고, MITM(Man-In-The-Middle attack)이 Yes(412)인 페어링 요청 신호(410)를 전송할 수 있다. When the occurrence of a Bluetooth pairing event is detected, the
이후, 전자 장치(200)는 페어링할 조명 장치의 타입을 확인한다. 예를 들어, 전자 장치(200)는 페어링할 조명 장치가 컬러 타입의 조명 장치인지 혹은 화이트 타입의 조명 장치인지 확인할 수 있다. 전자 장치(200)는 사용자의 입력에 의해 페어링할 조명 장치의 타입을 확인할 수 있다. 예를 들어, 전자 장치(200)는 화면에 페어링할 조명 장치의 타입을 선택하도록 요구하는 인터페이스를 디스플레이하여, 사용자 입력에 의해 페어링할 조명 장치의 타입을 확인할 수 있다. 이때, 전자 장치(200)는 페어링할 조명 장치가 컬러 타입인 것으로 확인될 시, 카메라 촬영 모드를 정지 이미지를 획득하는 사진 촬영 모드로 구동 혹은 전환할 수 있고, 페어링할 조명 장치가 화이트 타입인 것으로 확인될 시, 카메라 촬영 모드를 동영상 이미지를 획득하는 동영상 촬영 모드로 구동 혹은 전환할 수 있다. 다른 예로, 전자 장치(200)는 페어링할 조명 장치의 촬영 방식을 선택하도록 요구하는 인터페이스를 디스플레이하여, 사용자의 촬영 방식 선택에 의해 페어링할 조명 장치의 타입을 확인할 수도 있다. 예컨대, 사진 촬영 모드가 선택될 시 페어링할 조명 장치의 타입이 컬러인 것으로 결정할 수 있고, 동영상 촬영 모드가 선택될 시 페어링할 조명 장치의 타입이 화이트 타입인 것으로 결정할 수 있다. 다른 예로, 전자 장치(200)는 카메라 자동 구동에 의해 입력되는 이미지를 분석하여 페어링할 조명 장치가 컬러 타입인지 혹은 화이트 타입인지 판단할 수도 있다.Thereafter, the
만일, 페어링하고자 하는 조명 장치의 타입이 컬러 타입인 경우, 전자 장치(200)는 607단계에서 조명 장치를 촬영한 이미지를 획득하고, 609단계에서 획득된 이미지로부터 RGB 데이터를 획득할 수 있다. 예를 들어, 전자 장치(200)는 촬영을 통해 조명 장치를 포함하는 정지 이미지를 획득하고, 획득된 이미지 내에서 조명 장치의 컬러를 나타내는 RGB 값을 추출할 수 있다. 이후, 전자 장치(200)는 611단계로 진행하여 획득된 RGB 데이터를 조명 장치(210)로 전송하고 하기 613단계로 진행한다. 이때, 전자 장치(200)는 광고 메시지에 RGB 데이터를 포함시켜 광고 채널을 통해 전송할 수 있다. 이에 따라, 광고 메시지는 전자 장치(200)의 주변에 위치한 다수의 조명 장치들로 전송될 수 있다. If the type of the lighting device to be paired is the color type, the
한편, 페어링하고자 하는 조명 장치의 타입이 화이트 타입인 경우, 전자 장치(200)는 617단계에서 미리 설정된 시간 동안 조명 장치를 촬영하고, 619단계로 진행하여 조명 장치를 촬영한 동영상으로부터 주기 데이터를 획득한다. 예를 들어, 전자 장치(200)는 미리 설정된 시간(예: 10초) 동안 조명 장치를 촬영한 영상을 분석하여, 미리 설정된 시간 동안 조명이 온/오프 되는 횟수를 기반으로 조명의 주기 값을 획득할 수 있다. 이후, 전자 장치(200)는 621단계로 진행하여 획득된 주기 데이터를 조명 장치(210)로 전송하고 하기 613단계로 진행한다. 이때, 전자 장치(200)는 광고 메시지에 주기 데이터를 포함시켜 광고 채널을 통해 전송할 수 있다. 이에 따라, 광고 메시지는 전자 장치(200)의 주변에 위치한 다수의 조명 장치들로 전송될 수 있다. On the other hand, when the type of the lighting device to be paired is the white type, the
전자 장치(200)는 613단계에서 조명 장치(210)로부터 페어링 응답 신호가 수신되는지 여부를 검사한다. 만일, 페어링 응답 신호가 수신될 시, 전자 장치(200)는 615단계로 진행하여 RGB 데이터 혹은 주기 데이터를 기반으로 TK 값을 생성한다. 예를 들어, 전자 장치(200)는 조명 장치(210)로 RGB 데이터를 전송하고, 이에 대한 응답으로 페어링 응답 신호를 수신한 경우, 컬러 양자화 방식을 이용하여 RGB 데이터를 기반으로 TK 값을 생성할 수 있다. 다른 예로, 전자 장치(200)는 조명 장치(210)로 주기 데이터를 전송하고, 이에 대한 응답으로 페어링 응답 신호를 수신한 경우, 주기 데이터에 미리 설정된 값을 곱하여 TK 값을 생성할 수 있다. In
이후, 전자 장치(200)는 615단계로 진행하여 생성된 TK 값을 기반으로 인증 및 링크 계층 암호화를 수행하여 페어링 절차를 수행한다. 예를 들어, 전자 장치(200)는 TK 값을 기반으로 인증과정을 수행하고, TK 값을 기반으로 STK(Short Term Key) 값을 생성하여 링크 계층 암호화를 수행하고, TK 값 및/혹은 STK 값을 기반을 LTK(Long Term Key) 값을 생성하여 전자 장치(200)와 조명 장치(210)의 통신에 이용할 수 있다. 이후, 전자 장치(200)는 본 발명의 실시 예에 따른 페어링 절차를 종료한다.Thereafter, the
한편, 페어링 응답 신호가 수신되지 않을 시, 전자 장치(200)는 623단계로 진행하여 조명 장치로부터 화이트 타입의 페어링 진행을 요청하는 신호가 수신되는지 여부를 검사한다. 예를 들어, 전자 장치(200)는 RGB 데이터를 전송한 후, 소정 시간 이내에 페어링 응답 신호 대신 화이트 타입의 페어링 진행을 요청하는 신호가 수신되는지 여부를 검사한다. 만일, 화이트 타입의 페어링 진행을 요청하는 신호가 수신될 경우, 전자 장치(200)는 617단계로 되돌아가 이하 단계를 재수행한다.On the other hand, when the pairing response signal is not received, the
반면, 전자 장치(200)는 화이트 타입의 페어링 진행을 요청하는 신호가 수신되지 않을 시, 즉, 소정 시간 이내에 페어링 응답 신호와 페어링 진행을 요청하는 신호 모두 수신되지 않을 시, 전자 장치(200)는 페어링이 실패된 것으로 판단하고, 본 발명의 실시 예에 따른 페어링 절차를 종료한다. 이때, 전자 장치(200)는 화면에 페어링이 실패됨을 나타내는 메시지를 디스플레이할 수 있다.On the other hand, when the
도 7은 본 발명의 실시 예에 따른 조명 장치에서 페어링을 수행하는 상세한 절차를 도시하고 있다.7 illustrates a detailed procedure for performing pairing in a lighting device according to an embodiment of the present invention.
도 7을 참조하면, 조명 장치(210)는 701단계에서 전자 장치(200)로부터 페어링 요청 신호를 수신하고, 703단계에서 조명 장치의 타입을 확인한다. 예를 들어, 조명 장치(210)는 자신이 컬러 타입의 조명 장치인지 혹은 화이트 타입의 조명 장치인지 확인할 수 있다. Referring to FIG. 7 , the
조명 장치(210)는 자신이 컬러 타입의 조명 장치인 경우, 705단계에서 맥주소를 기반으로 랜덤하게 RGB 값을 생성하고, 707단계로 진행하여 생성된 RGB 값을 기반으로 조명 기능을 수행한다. 예를 들어, 조명 장치(210)는 생성된 RGB 값에 대응하는 색상의 조명을 출력할 수 있다. 이후, 조명 장치(210)는 709단계에서 전자 장치로부터 RGB 데이터를 수신한다. 예를 들어, 조명 장치(210)는 광고 채널을 통해 광고 메시지를 수신하고, 광고 메시지로부터 RGB 데이터를 추출할 수 있다. 이후, 조명 장치(210)는 711단계에서 전자 장치(200)로부터 수신된 RGB 데이터와 705단계에서 생성된 RGB 값이 일치하는지 여부를 검사한다. 만일, 수신된 RGB 데이터와 생성된 RGB 값이 일치할 시, 전자 장치(200)가 페어링하고자 하는 조명 장치가 자신인 것으로 판단하고, 조명 장치(210)는 713단계에서 전자 장치로 페어링 응답 신호를 전송한다. 여기서, 페어링 응답 신호(420)는 도 4에 도시된 바와 같이, IO capability가 keyboard/Display(421)이고, MITM(Man-In-The-Middle attack)이 Yes(422)일 수 있다. 예를 들어, 조명 장치(210)는 실질적으로 키보드를 통한 입력 및 화면 디스플레이가 불가능하고 TK를 입력받을 수 없는 상황이나, 본 발명의 실시 예에 따라 페어링 응답 신호(420)의 IO capability를 keyboard/Display(421)로 설정하고, MITM를 Yes로 설정할 수 있다. 이는 조명 장치(210)의 RGB 값 혹은 조명 주기 값을 기반으로 TK 값을 생성하여 패스키 앤트리(Passkey Entry) 모드로 페어링을 진행하기 위함이다. When the
이후, 조명 장치(210)는 715단계로 진행하여 식별 데이터 즉 RGB 데이터를 기반으로 TK 값을 생성한다. 예를 들어, 조명 장치(210)는 공지된 컬러 양자화(color quantization) 방식을 이용하여 RGB를 6자리의 TK로 변경할 수 있다. 보다 상세한 예로, 조명 장치(210)는 컬러 양자화 방식을 기반으로 도 5에 도시된 바와 같이, 조명 장치의 RGB 값 중에서 R 값을 이용하여 6자리의 TK값 중 2자리의 값을 생성하고, G 값을 이용하여 6자리의 TK값 중 다른 2자리의 값을 생성하고, B 값을 이용하여 6자리의 TK값 중 나머지 2자리의 값을 생성할 수 있다. 여기서, 조명 장치(210)는 전자 장치(200)와 동일한 컬러 양자화 방식을 이용하여 TK 값을 생성할 수 있다.Thereafter, the
이후, 조명 장치(210)는 717단계로 진행하여 생성된 TK 값을 기반으로 전자 장치(200)와 페어링 과정을 수행한다. 예를 들어, 조명 장치(210)는 TK 값을 기반으로 인증과정을 수행하고, TK 값을 기반으로 STK(Short Term Key) 값을 생성하여 링크 암호화를 수행한 후, TK 값 및/혹은 STK 값을 기반을 LTK(Long Term Key) 값을 생성하여 전자 장치(200)와 조명 장치(210)의 통신에 이용할 수 있다.Thereafter, the
이후, 조명 장치(210)는 본 발명의 실시 예에 따른 페어링 절차를 종료할 수 있다.Thereafter, the
한편, 711단계의 검사 결과 수신된 RGB 데이터와 생성된 RGB 값이 일치하지 않을 시, 조명 장치(210)는 727단계로 진행하여 필터 사용에 의해 RGB 값이 불일치하는 것인지 여부를 검사한다. 예를 들어, 조명 장치(210)에 특정 색상에 대한 필터가 포함된 경우, 조명 장치(210)의 조명 출력 색상은 맥 주소에 의해 생성된 RGB 값과 상이할 수 있다. 이 경우, 전자 장치(200)에서 조명 장치(210)를 촬영하여 획득한 RGB 값은 조명 장치(210)의 맥 주소에 의해 생성된 RGB 값과 상이하게 된다. 따라서, 조명 장치(210)는 수신된 RGB 데이터와 생성된 RGB 값이 일치하지 않을 시, 조명 장치(210)에 포함된 필터가 필터링하는 색상 계열을 제외한, 나머지 색상 계열의 값이 일치하는지 여부를 판단하여 필터 사용에 의해 RGB 값이 불일치하는 것인지 여부를 판단할 수 있다. 예를 들어, 조명 장치(210)가 R 계열의 필터를 사용하는 경우, 수신된 RGB 데이터와 생성된 RGB 값 중에서, R 값을 제외한 G 값과 B값이 일치하는지 여부를 판단한다. 만일, 수신된 RGB 데이터의 R값과 생성된 데이터의 R값이 불일치하나, 수신된 RGB 데이터의 G값과 생성된 데이터의 G값이 일치하고, 수신된 데이터의 B값과 생성된 데이터의 B값이 일치하는 경우, 조명 장치(210)는 필터 사용에 의해 RGB 값이 불일치 하는 것으로 판단할 수 있다. 한편, 수신된 RGB 데이터의 R값과 생성된 데이터의 R값이 불일치하고, 수신된 RGB 데이터의 G값과 생성된 데이터의 G값이 불일치하거나 혹은 수신된 데이터의 B값과 생성된 데이터의 B값이 불일치하는 경우, 조명 장치(210)는 필터 사용에 의해 RGB 값이 불일치 하는 것이 아님을 판단할 수 있다.Meanwhile, when it is determined in
만일, 필터 사용에 의해 RGB 값이 불일치하는 것일 경우, 조명 장치(210)는 729단계로 진행하여 전자 장치(200)로 화이트 타입의 페어링 진행을 요청하고, 719단계로 진행하여 이하 단계를 재수행한다.If the RGB values do not match due to the use of the filter, the
반면, 필터 사용에 의해 RGB 값이 불일치하는 것이 아닐 경우, 조명 장치(210)는 전자 장치(200)가 페어링하고자 하는 조명 장치가 자신이 아닌 것으로 파단하고, 본 발명의 실시 예에 따른 페어링 절차를 종료한다.On the other hand, if the RGB values do not match by using the filter, the
한편, 703단계의 검사 결과 조면 장치(210)는 자신이 화이트 타입의 조명 장치인 경우, 719단계에서 맥주소를 기반으로 랜덤하게 주기 값을 생성하고, 721단계로 진행하여 생성된 주기 값을 기반으로 조명 기능을 수행한다. 예를 들어, 조명 장치(210)는 조명을 출력하는 중에 미리 설정된 시간 동안 생성된 주기 값에 대응하는 횟수만큼 조명이 온/오프되도록 제어할 수 있다. 이후, 조명 장치(210)는 723단계에서 전자 장치로부터 주기 데이터를 수신한다. 예를 들어, 조명 장치(210)는 광고 채널을 통해 광고 메시지를 수신하고, 광고 메시지로부터 주기 데이터를 추출할 수 있다. 이후, 조명 장치(210)는 725단계에서 전자 장치(200)로부터 수신된 주기 데이터와 719단계에서 생성된 주기 값이 일치하는지 여부를 검사한다. 만일, 수신된 주기 데이터와 생성된 주기 값이 일치하지 않을 시, 조명 장치(210)는 전자 장치(200)가 페어링하고자 하는 조명 장치가 자신이 아닌 것으로 판단하고, 본 발명의 실시 예에 따른 페어링 절차를 종료한다.On the other hand, as a result of the inspection in
반면, 수신된 주기 데이터와 생성된 주기 값이 일치할 시, 조명 장치(210)는 전자 장치(200)가 페어링하고자 하는 조명 장치가 자신인 것으로 판단하고, 713단계에서 전자 장치로 페어링 응답 신호를 전송한다. 여기서, 페어링 응답 신호(420)는 도 4에 도시된 바와 같이, IO capability가 keyboard/Display(421)이고, MITM(Man-In-The-Middle attack)이 Yes(422)일 수 있다. 예를 들어, 조명 장치(210)는 실질적으로 키보드를 통한 입력 및 화면 디스플레이가 불가능하고 TK를 입력받을 수 없는 상황이나, 본 발명의 실시 예에 따라 페어링 응답 신호(420)의 IO capability를 keyboard/Display(421)로 설정하고, MITM를 Yes로 설정할 수 있다. 이는 조명 장치(210)의 RGB 값 혹은 조명 주기 값을 기반으로 TK 값을 생성하여 패스키 앤트리(Passkey Entry) 모드로 페어링을 진행하기 위함이다. On the other hand, when the received period data and the generated period value match, the
이후, 조명 장치(210)는 715단계로 진행하여 식별 데이터 즉 조명의 주기 데이터를 기반으로 TK 값을 생성한다. 예를 들어, 조명 장치(210)는 주기 값에 미리 설정된 값을 곱하여 TK 값을 생성할 수 있다. 이후, 조명 장치(210)는 717단계로 진행하여 생성된 TK 값을 기반으로 전자 장치(200)와 페어링 과정을 수행한다. 예를 들어, 조명 장치(210)는 TK 값을 기반으로 인증과정을 수행하고, TK 값을 기반으로 STK(Short Term Key) 값을 생성하여 링크 암호화를 수행한 후, TK 값 및/혹은 STK 값을 기반을 LTK(Long Term Key) 값을 생성하여 전자 장치(200)와 조명 장치(210)의 통신에 이용할 수 있다.Thereafter, the
이후, 조명 장치(210)는 본 발명의 실시 예에 따른 페어링 절차를 종료할 수 있다.Thereafter, the
상술한 도 3a, 도 3b, 도 6 및 도 7에서는, 블루투스 페어링 이벤트 발생이 감지될 시에, 전자 장치(200)에서 카메라를 자동으로 구동시키면서, 페어링 요청 신호를 전송하였다. 그러나 다른 실시 예에 따라, 전자 장치(200)는 식별 데이터를 획득한 이후, 페어링 요청 신호에 식별 데이터를 포함시키고, 식별 데이터를 포함하는 페어링 요청 신호를 전송할 수도 있다. 또 다른 실시 예로, 전자 장치(200)는 식별 데이터를 주변 조명 장치들로 전송하고, 식별 데이터와 별도로 주변 조명 장치들로 페어링 요청 신호를 전송할 수도 있다. 본 발명의 다른 실시 예에 따라 페어링 요청 신호가 식별 데이터를 획득한 이후에 전송되는 경우, 조명 장치(210)는 특정 시점마다 식별 데이터 알림 기능을 수행하거나, 항상 식별 데이터를 알릴 수 있다. 예를 들어, 페어링되지 않은 상태에서 미리 설정된 방식에 따라 미리 설정된 RGB 값 혹은 주기로 조명을 출력하고, 특정 시점 혹은 특정 시간 구간마다 자신의 맥 주소를 기반으로 랜덤하게 생성된 RGB 값 혹은 주기로 조명을 출력할 수 있다. 다른 예로, 페어링 되지 않은 상태에서 항상 자신의 맥 주소를 기반으로 랜덤하게 생성된 RGB 값 혹은 주기로 조명을 출력할 수 있다. 3A, 3B, 6 and 7 described above, when the occurrence of a Bluetooth pairing event is detected, the
도 8은 본 발명의 실시 예에 따른 전자 장치의 블럭 구성을 도시하고 있다.8 illustrates a block configuration of an electronic device according to an embodiment of the present invention.
도 8은 본 발명의 다양한 실시 예에 따른, 전자 장치(200)의 블럭 구성을 도시한다. 도 8을 참조하면, 상기 전자 장치(200)는 버스(810), 프로세서(820), 메모리(830), 입출력 인터페이스(840), 디스플레이(850), 통신 인터페이스(860), 페어링 모듈(870) 및 카메라 모듈(880)을 포함할 수 있다. 8 illustrates a block configuration of an
버스(810)는 전술한 구성요소들을 서로 연결하고, 전술한 구성요소들 간의 통신(예: 제어 메시지)을 전달하는 회로일 수 있다.The
프로세서(820)는, 예를 들면, 버스(810)를 통해 전술한 다른 구성요소들(예: 메모리(830), 입출력 인터페이스(840), 디스플레이(850), 통신 인터페이스(860), 또는 페어링 모듈(870) 등)로부터 명령을 수신하여, 수신된 명령을 해독하고, 해독된 명령에 따른 연산이나 데이터 처리를 실행할 수 있다. The
메모리(830)는, 프로세서(820) 또는 다른 구성요소들(예: 상기 입출력 인터페이스(840), 디스플레이(850), 통신 인터페이스(860), 또는 페어링 모듈(870) 등)로부터 수신되거나 프로세서(820) 또는 다른 구성요소들에 의해 생성된 명령 또는 데이터를 저장할 수 있다. 메모리(830)는, 예를 들면, 커널(831), 미들웨어(832), 어플리케이션 프로그래밍 인터페이스(API: application programming interface)(833) 또는 어플리케이션(834) 등의 프로그래밍 모듈들을 포함할 수 있다. 전술한 각각의 프로그래밍 모듈들은 소프트웨어, 펌웨어, 하드웨어 또는 이들 중 적어도 둘 이상의 조합으로 구성될 수 있다.The
커널(831)은 나머지 다른 프로그래밍 모듈들, 예를 들면, 미들웨어(832), API(833) 또는 어플리케이션(834)에 구현된 동작 또는 기능을 실행하는 데 사용되는 시스템 리소스들(예: 버스(810), 프로세서(820) 또는 상기 메모리(830) 등)을 제어 또는 관리할 수 있다. 또한, 커널(831)은 미들웨어(832), API(833) 또는 어플리케이션(834)에서 전자 장치(200)의 개별 구성요소에 접근하여 제어 또는 관리할 수 있는 인터페이스를 제공할 수 있다. The kernel 831 includes system resources (eg, bus 810 ) used to execute operations or functions implemented in other programming modules, for example, middleware 832 , API 833 , or application 834 . ), the
미들웨어(832)는 API(833) 또는 어플리케이션(834)이 커널(831)과 통신하여 데이터를 주고받을 수 있도록 중개 역할을 수행할 수 있다. 또한, 미들웨어(832)는 어플리케이션(834)로부터 수신된 작업 요청들과 관련하여, 예를 들면, 어플리케이션(834) 중 적어도 하나의 어플리케이션에 전자 장치(200)의 시스템 리소스(예: 버스(810), 프로세서(820) 또는 메모리(830) 등)를 사용할 수 있는 우선 순위를 배정하는 등의 방법을 이용하여 작업 요청에 대한 제어(예: 스케쥴링 또는 로드 밸런싱)을 수행할 수 있다.The middleware 832 may play an intermediary role so that the API 833 or the application 834 communicates with the kernel 831 to exchange data. In addition, the middleware 832 provides a system resource (eg, bus 810) of the
상기 API(833)는 어플리케이션(834)이 커널(831) 또는 미들웨어(832)에서 제공되는 기능을 제어하기 위한 인터페이스로, 예를 들면, 파일 제어, 창 제어, 화상 처리 또는 문자 제어 등을 위한 적어도 하나의 인터페이스 또는 함수(예: 명령어)를 포함할 수 있다. The API 833 is an interface for the application 834 to control functions provided by the kernel 831 or the middleware 832, for example, at least for file control, window control, image processing, or character control. It can contain one interface or function (eg a command).
다양한 실시예에 따르면, 어플리케이션(834)은 SMS/MMS 어플리케이션, 이메일 어플리케이션, 달력 어플리케이션, 알람 어플리케이션, 건강 관리(health care) 어플리케이션(예: 운동량 또는 혈당 등을 측정하는 어플리케이션) 또는 환경 정보 어플리케이션(예: 기압, 습도 또는 온도 정보 등을 제공하는 어플리케이션), 조명 장치 제어 어플리케이션 등을 포함할 수 있다. 추가적으로 또는 대체적으로, 어플리케이션(834)은 전자 장치(200)와 외부 전자 장치 사이의 정보 교환과 관련된 어플리케이션일 수 있다. 정보 교환과 관련된 어플리케이션은, 예를 들어, 외부 전자 장치(예: 조명 장치(210), 혹은 다른 전자 장치)에 특정 정보를 전달하기 위한 알림 전달(notification relay) 어플리케이션, 또는 외부 전자 장치를 관리하기 위한 장치 관리(device management) 어플리케이션을 포함할 수 있다. According to various embodiments, the application 834 is an SMS/MMS application, an e-mail application, a calendar application, an alarm application, a health care application (eg, an application for measuring an amount of exercise or blood sugar) or an environment information application (eg, an application for measuring an amount of exercise or blood sugar). : Applications that provide air pressure, humidity or temperature information), lighting device control applications, and the like. Additionally or alternatively, the application 834 may be an application related to information exchange between the
예를 들면, 알림 전달 어플리케이션은 전자 장치(200)의 다른 어플리케이션(예: SMS/MMS 어플리케이션, 이메일 어플리케이션, 건강 관리 어플리케이션 또는 환경 정보 어플리케이션 등)에서 발생한 알림 정보를 외부 전자 장치로 전달하는 기능을 포함할 수 있다. 추가적으로 또는 대체적으로, 알림 전달 어플리케이션은, 예를 들면, 외부 전자 장치(예: 전자 장치로부터 알림 정보를 수신하여 사용자에게 제공할 수 있다. 장치 관리 어플리케이션은, 예를 들면, 전자 장치(200)와 통신하는 외부 전자 장치(예: 조명 장치(210))의 적어도 일부에 대한 기능(예: 외부 전자 장치 자체(또는, 일부 구성 부품))의 턴온/턴오프, 밝기 조절, 색상 조절, 및 조명 주기를 관리하거나, 외부 전자 장치에서 동작하는 어플리케이션 또는 외부 전자 장치에서 제공되는 서비스를 관리(예: 설치, 삭제 또는 업데이트)할 수 있다. For example, the notification delivery application includes a function of delivering notification information generated by another application of the electronic device 200 (eg, SMS/MMS application, e-mail application, health management application, or environment information application) to an external electronic device. can do. Additionally or alternatively, the notification delivery application may, for example, receive notification information from an external electronic device (eg, the electronic device and provide it to the user. The device management application may, for example, communicate with the electronic device 200 ) Turn on/off, brightness control, color control, and lighting cycle of functions (eg, the external electronic device itself (or some component)) for at least a portion of the communicating external electronic device (eg, lighting device 210 ) to manage (eg, install, delete, or update) applications running on the external electronic device or services provided by the external electronic device.
다양한 실시예에 따르면, 어플리케이션(834)은 외부 전자 장치의 속성(예: 조명 장치의 타입)에 따라 지정된 어플리케이션을 포함할 수 있다. 예를 들어, 외부 전자 장치가 조명 장치인 경우, 어플리케이션(834)은 조명과 관련된 어플리케이션을 포함할 수 있다. 한 실시예에 따르면, 어플리케이션(834)은 전자 장치(200)에 지정된 어플리케이션 또는 외부 전자 장치(예: 서버 또는 다른 전자 장치)로부터 수신된 어플리케이션 중 적어도 하나를 포함할 수 있다.According to various embodiments, the application 834 may include an application designated according to a property of an external electronic device (eg, a type of lighting device). For example, when the external electronic device is a lighting device, the application 834 may include an application related to lighting. According to an embodiment, the application 834 may include at least one of an application designated for the
입출력 인터페이스(840)는, 입출력 장치(예: 센서, 키보드 또는 터치 스크린)를 통하여 사용자로부터 입력된 명령 또는 데이터를, 예를 들면, 버스(810)를 통해 프로세서(820), 메모리(830), 통신 인터페이스(860), 또는 페어링 모듈(870)에 전달할 수 있다. 예를 들면, 입출력 인터페이스(840)는 터치 스크린을 통하여 입력된 사용자의 터치에 대한 데이터를 프로세서(820)로 제공할 수 있다. 또한, 입출력 인터페이스(840)는, 예를 들면, 버스(810)를 통해 프로세서(820), 메모리(830), 통신 인터페이스(860), 또는 페어링 모듈(870)로부터 수신된 명령 또는 데이터를 입출력 장치(예: 스피커 또는 디스플레이)를 통하여 출력할 수 있다. 예를 들면, 입출력 인터페이스(840)는 프로세서(820)를 통하여 처리된 음성 데이터를 스피커를 통하여 사용자에게 출력할 수 있다. The input/
디스플레이(850)는 사용자에게 각종 정보(예: 멀티미디어 데이터 또는 텍스트 데이터 등)을 표시할 수 있다.The
통신 인터페이스(860)는 전자 장치(200)와 외부 장치(예: 조명 장치, 다른 전자 장치 또는 서버) 간의 통신을 연결할 수 있다. 예를 들면, 통신 인터페이스(860)는 무선 통신 또는 유선 통신을 통해서 네트워크에 연결되어 외부 장치와 통신할 수 있다. 무선 통신은, 예를 들어, Wifi(wireless fidelity), BT(Bluetooth), NFC(near field communication), GPS(global positioning system) 또는 cellular 통신(예: LTE, LTE-A, CDMA, WCDMA, UMTS, WiBro 또는 GSM 등) 중 적어도 하나를 포함할 수 있다. 유선 통신은, 예를 들어, USB(universal serial bus), HDMI(high definition multimedia interface), RS-232(recommended standard 232) 또는 POTS(plain old telephone service) 중 적어도 하나를 포함할 수 있다. 예를 들어, 통신 인터페이스(860)는 블루투스 통신을 이용하여 조명 장치와 통신할 수 있다.The
한 실시예에 따르면, 네트워크는 통신 네트워크(telecommunications network)일 수 있다. 통신 네트워크 는 컴퓨터 네트워크(computer network), 인터넷(internet), 사물 인터넷(internet of things) 또는 전화망(telephone network) 중 적어도 하나를 포함할 수 있다. 한 실시예에 따르면, 전자 장치(200)와 외부 장치 간의 통신을 위한 프로토콜(예: transport layer protocol, data link layer protocol 또는 physical layer protocol))은 어플리케이션(834), 어플리케이션 프로그래밍 인터페이스(833), 미들웨어(832), 커널(831) 또는 통신 인터페이스(860) 중 적어도 하나에서 지원될 수 있다.According to one embodiment, the network may be a telecommunications network. The communication network may include at least one of a computer network, the Internet, the Internet of things, or a telephone network. According to an embodiment, a protocol (eg, a transport layer protocol, a data link layer protocol, or a physical layer protocol) for communication between the
카메라 모듈(880)은 정지 영상 및 동영상을 촬영할 수 있는 장치로서, 일 실시 예에 따르면, 하나 이상의 이미지 센서(예: 전면 센서 또는 후면 센서), 렌즈(미도시), ISP(image signal processor, 미도시) 또는 플래쉬 (flash, 미도시)(예: LED 또는 xenon lamp)를 포함할 수 있다. 실시 예에 따라, 카메라 모듈(880)은 페어링 모듈(870) 및/혹은 프로세서(820)에 의해 자동으로 구동되어, 정지 영상 및/혹은 동영상을 촬영할 수 있다.The camera module 880 is a device capable of capturing still images and moving images, and according to an embodiment, one or more image sensors (eg, a front sensor or a rear sensor), a lens (not shown), an image signal processor (ISP), and an image signal processor (ISP). city) or a flash (not shown) (eg, LED or xenon lamp). According to an embodiment, the camera module 880 may be automatically driven by the
페어링 모듈(870)은 다른 구성요소들(예: 프로세서(820), 메모리(830), 입출력 인터페이스(840), 또는 통신 인터페이스(860) 등)로부터 획득된 정보 중 적어도 일부를 처리하고, 처리와 관련된 적어도 하나의 정보를 다양한 방법으로 사용자에게 제공할 수 있다. 예를 들어, 페어링 모듈(870)은 프로세서(820)를 이용하여 또는 이와는 독립적으로, 전자 장치(200)가 조명 장치(210)와 페어링 절차를 수행하여 통신이 가능하도록 제어할 수 있다. 본 발명의 실시 예에 따른 페어링 모듈(870)은 카메라 모듈(880)의 구동을 제어하여 조명 장치를 포함하는 정지 영상 및/혹은 동영상을 촬영하고, 촬영된 정지 영상 및/혹은 동영상으로부터 조명 장치의 색상을 나타내는 RGB 데이터 혹은 조명 장치의 출력 주기를 나타내는 주기 데이터를 획득할 수 있다. 더하여, 페어링 모듈(870)은 통신 인터페이스(860)와 연동하여, 정지 영상 및/혹은 동영상으로부터 획득된 RGB 데이터 혹은 주기 데이터를 조명 장치(210)로 전송할 수 있다. 더하여, 페어링 모듈(870)은 통신 인터페이스(860)를 통해 조명 장치(210)로부터 페어링 응답 메시지의 수신을 감지할 수 있고, 페어링 응답 메시지의 수신이 감지될 시, RGB 데이터 혹은 주기 데이터를 기반으로 TK 값을 생성할 수 있다. 더하여, 페어링 모듈(870)은 통신 인터페이스(860)와 연동하여, TK 값을 기반으로 STK 및 LTK를 생성하여 페어링을 위한 인증 및 링크 계층 암호화를 수행할 수 있다. 후술하는 도 9를 통해 페어링 모듈(870)에 대해 추가적인 설명을 개시한다.The
도 9는 본 발명의 실시 예에 따른 전자 장치(200)에 포함된 페어링 모듈(870)의 블럭 구성을 도시하고 있다. 도 9를 참조하면, 페어링 모듈(870)은 카메라 제어 모듈(910), TK 획득 모듈(920) 및 송수신 모듈(930)을 포함할 수 있다.9 illustrates a block configuration of a
카메라 제어 모듈(910)은 다른 구성요소들(예: 프로세서(820), 메모리(830), 입출력 인터페이스(340), 또는 통신 인터페이스(860) 등)로부터 획득된 정보를 기반으로 블루투스 페어링 이벤트가 발생되는지 여부를 감지할 수 있다. 카메라 제어 모듈(910)은 블루투스 페어링 이벤트 발생이 감지될 시, 카메라 모듈(880) 구동시켜 조명 장치를 촬영하기 위한 기능을 제어할 수 있다.The camera control module 910 generates a Bluetooth pairing event based on information obtained from other components (eg, the
TK 획득 모듈(920)은 카메라 모듈(880)을 통해 촬영된 정지 영상 혹은 동영상으로부터 RGB 데이터 혹은 주기 데이터를 획득할 수 있고, 획득된 RGB 데이터 혹은 주기 데이터를 기반으로 TK 값을 생성할 수 있다. 예를 들어, TK 획득 모듈(920)은 주기 데이터에 미리 설정된 값을 곱하여, 6자리의 TK 값을 생성할 수 있다. 다른 예로, TK 획득 모듈(920)은 컬러 양자화 기법을 이용하여 RGB 데이터를 6자리의 TK 값으로 변경할 수 있다. The TK acquisition module 920 may acquire RGB data or period data from a still image or a moving image captured through the camera module 880, and may generate a TK value based on the obtained RGB data or period data. For example, the TK acquisition module 920 may generate a 6-digit TK value by multiplying the period data by a preset value. As another example, the TK acquisition module 920 may change RGB data into a TK value of 6 digits by using a color quantization technique.
송수신 모듈(930)은 전자 장치(200)와 조명 장치(210)의 페어링을 위한 메시지를 송수신 처리할 수 있다. 예를 들어, 송수신 모듈(930)은 TK 획득 모듈(920)에서 획득된 RGB 데이터 혹은 주기 데이터를 포함하는 광고 메시지를 생성하고, 통신 인터페이스(860)와 연동하여 광고 메시지를 광고 채널을 통해 전송되도록 제어할 수 있다. 더하여, 송수신 모듈(930)은 도 4에 도시된 바와 같은 페어링 요청 신호를 전송하고, 페어링 응답 신호를 수신하도록 제어할 수 있다. The transmission/reception module 930 may transmit/receive a message for pairing between the
추가적으로, 페어링 모듈(870)은 전자 장치(200)가 도 3a 및 도 6에서 설명한 기능들을 수행하도록 제어 및 처리할 수 있다.Additionally, the
상술한 도 8 및 도 9의 페어링 모듈(870)은, 실시 예에 따라 프로세서(820)에 포함될 수 있다.The above-described
도 10은 본 발명의 실시 예에 따른 조명 장치의 블럭 구성을 도시하고 있다.10 shows a block configuration of a lighting device according to an embodiment of the present invention.
도 10은 본 발명의 다양한 실시 예에 따른, 조명 장치(210)의 블럭 구성을 도시한다. 도 10을 참조하면, 상기 조명 장치(210)는 버스(1010), 프로세서(1020), 메모리(1030), 페어링 모듈(1040), 통신 인터페이스(1050) 및 조명 출력 모듈(1060)을 포함할 수 있다. 10 illustrates a block configuration of a
버스(1010)는 전술한 구성요소들을 서로 연결하고, 전술한 구성요소들 간의 통신(예: 제어 메시지)을 전달하는 회로일 수 있다.The
프로세서(1020)는, 예를 들면, 버스(1010)를 통해 전술한 다른 구성요소들(예: 메모리(1030), 통신 인터페이스(1050), 또는 페어링 모듈(1040) 등)로부터 명령을 수신하여, 수신된 명령을 해독하고, 해독된 명령에 따른 연산이나 데이터 처리를 실행할 수 있다. The
메모리(1030)는, 프로세서(1020) 또는 다른 구성요소들(예: 상기 입출력 인터페이스(840), 디스플레이(850), 통신 인터페이스(1050), 또는 페어링 모듈(1040) 등)로부터 수신되거나 프로세서(1020) 또는 다른 구성요소들에 의해 생성된 명령 또는 데이터를 저장할 수 있다. 예를 들면, 메모리(1030)는, 미도시되었으나, 커널, 미들웨어, 어플리케이션 프로그래밍 인터페이스(API: application programming interface) 또는 어플리케이션 등의 프로그래밍 모듈들을 포함할 수 있다. 전술한 각각의 프로그래밍 모듈들은 소프트웨어, 펌웨어, 하드웨어 또는 이들 중 적어도 둘 이상의 조합으로 구성될 수 있다. The
다양한 실시예에 따르면, 어플리케이션(미도시)은 조명 장치의 온/오프, 밝기, 출력 주기, 색상 등을 제어하는 어플리케이션을 포함할 수 있다. 추가적으로 또는 대체적으로, 어플리케이션은 조명 장치(210)와 전자 장치(200) 사이의 정보 교환과 관련된 어플리케이션일 수 있다. 다양한 실시예에 따르면, 어플리케이션은 조명 장치의 속성(예: 조명 장치의 타입)에 따라 지정된 어플리케이션을 포함할 수 있다. According to various embodiments, the application (not shown) may include an application for controlling on/off, brightness, output cycle, color, etc. of the lighting device. Additionally or alternatively, the application may be an application related to information exchange between the
통신 인터페이스(1050)는 조명 장치(210)와 외부 장치(예: 전자 장치(200), 또는 서버) 간의 통신을 연결할 수 있다. 예를 들면, 통신 인터페이스(1050)는 무선 통신 또는 유선 통신을 통해서 네트워크에 연결되어 외부 장치와 통신할 수 있다. 무선 통신은, 예를 들어, Wifi(wireless fidelity), BT(Bluetooth), NFC(near field communication), GPS(global positioning system) 또는 cellular 통신(예: LTE, LTE-A, CDMA, WCDMA, UMTS, WiBro 또는 GSM 등) 중 적어도 하나를 포함할 수 있다. 유선 통신은, 예를 들어, USB(universal serial bus), HDMI(high definition multimedia interface), RS-232(recommended standard 232) 또는 POTS(plain old telephone service) 중 적어도 하나를 포함할 수 있다. 예를 들어, 통신 인터페이스(1050)는 블루투스 통신을 이용하여 전자 장치(200)와 통신할 수 있다.The
페어링 모듈(1040)은 다른 구성요소들(예: 프로세서(1020), 메모리(1030), 또는 통신 인터페이스(1050) 등)로부터 획득된 정보 중 적어도 일부를 처리하고, 처리와 관련된 적어도 하나의 정보를 다양한 방법으로 사용자에게 제공할 수 있다. 예를 들어, 페어링 모듈(1040)은 프로세서(1020)를 이용하여 또는 이와는 독립적으로, 전자 장치(200)와 페어링 절차를 수행하여 통신이 가능하도록 제어할 수 있다. 본 발명의 실시 예에 따른 페어링 모듈(1040)은 맥 주소를 기반으로 식별 데이터(예: RGB 값 혹은 주기 값)을 생성하고, 조명 출력 모듈(1060)과 연동하여 식별 데이터를 기반으로 조명 출력 기능을 수행할 수 있다. 더하여, 페어링 모듈(1040)은 전자 장치(200)로부터 수신된 식별 데이터와 맥주소를 기반으로 생성된 식별 데이터를 비교하여 전자 장치(200)가 페어링하고자 하는 조명 장치가 자신인지 여부를 판단할 수 있다. 페어링 모듈(1040)은 전자 장치(200)가 페어링하고자 하는 조명 장치가 자신이라고 판단된 경우, 전자 장치(200)로 도 4에 도시된 바와 같은 페이징 응답 신호를 전송하여, 패스키 앤트리 모드를 이용하여 페어링 절차를 수행할 수 있다. 더하여, 페어링 모듈(1040)은 식별 데이터를 기반으로 TK 값을 생성하고, 생성된 TK 값을 기반으로 STK 및 LTK를 생성하고, 인증 및 링크 계층 암호화를 수행할 수 있다.The
조명 출력 모듈(1060)은 프로세서(1020) 혹은 페어링 모듈(1040)의 제어에 의해 조명을 출력한다. 예를 들어, 조명 출력 모듈(1060)은 페어링 모듈(1040)의 제어에 의해 RGB 값에 대응하는 색상의 조명을 출력할 수 있다. 다른 예로, 조명 출력 모듈(1060)은 페어링 모듈(1040)의 제어에 따라 미리 설정된 시간 동안 주기 값에 대응하는 횟수만큼 조명이 온/오프되도록 제어할 수 있다. 더하여, 조명 출력 모듈(1060)은 적어도 하나의 색상 계열(예: R계열, G계열, B 계열)에 대한 필터링을 수행하는 필터를 포함할 수 있다.The
실시 예에 따라 상술한 도 10의 페어링 모듈(1040) 및 조명 출력 모듈(1060) 중 적어도 하나는 프로세서(1020)에 포함될 수 있다.According to an embodiment, at least one of the
상술한 예시들에서는 조명 장치의 식별 데이터로써, 조명 색상 값과 조명 출력 주기 중 어느 하나를 이용하였으나, 다른 실시 예에 따라 조명 장치의 식별 데이터로 조명 색상 값과 조명 출력 주기를 함께 이용할 수도 있다.In the above-described examples, any one of the lighting color value and the lighting output period is used as the identification data of the lighting device, but according to another embodiment, the lighting color value and the lighting output cycle may be used together as the identification data of the lighting device.
이상과 같이 본 발명은 비록 한정된 실시 예와 도면에 의해 설명되었으나 본 발명은 상술한 실시 예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. As described above, although the present invention has been described with reference to limited embodiments and drawings, the present invention is not limited to the above-described embodiments, and various modifications and variations can be made from these descriptions by those skilled in the art to which the present invention pertains. possible.
본 발명의 실시 예에 따른 동작들은 단일의 제어부에 의해 그 동작이 구현될 수 있을 것이다. 이러한 경우 다양한 컴퓨터로 구현되는 동작을 수행하기 위한 프로그램 명령이 컴퓨터 판독 가능 매체에 기록될 수 있다. 컴퓨터 판단 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM이나 DVD와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 본 발명에서 설명된 기지국 또는 릴레이의 전부 또는 일부가 컴퓨터 프로그램으로 구현된 경우 컴퓨터 프로그램을 저장한 컴퓨터 판독 가능 기록 매체도 본 발명에 포함된다. 그러므로 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 아니되며, 후술하는 특허청구범위뿐만 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 할 것이다.Operations according to an embodiment of the present invention may be implemented by a single control unit. In this case, program instructions for performing various computer-implemented operations may be recorded in a computer-readable medium. The computer readable medium may include program instructions, data files, data structures, etc. alone or in combination. The program instructions may be specially designed and configured for the present invention, or may be known and available to those skilled in the art. Examples of the computer-readable recording medium include a hard disk, a magnetic medium such as a floppy disk and a magnetic tape, an optical recording medium such as a CD-ROM or DVD, a magneto-optical medium such as a floppy disk, and a ROM. hardware devices specially configured to store and execute program instructions, such as , RAM, flash memory, and the like. Examples of program instructions include not only machine language codes such as those generated by a compiler, but also high-level language codes that can be executed by a computer using an interpreter or the like. When all or part of the base station or relay described in the present invention is implemented as a computer program, a computer-readable recording medium storing the computer program is also included in the present invention. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be defined by the following claims as well as the claims and equivalents.
Claims (20)
페어링(pairing) 이벤트의 감지에 응답하여, 조명 장치에게 페어링 요청 신호를 전송하는 과정과,
상기 조명 장치를 사진 촬영하거나 비디오 촬영함으로써, 상기 조명 장치로부터 방출된 빛에 대한 적어도 하나의 이미지 또는 비디오를 생성하는 과정과, 상기 빛은 상기 조명 장치의 제1 식별 데이터에 연관되고,
상기 적어도 하나의 이미지 또는 비디오로부터 상기 조명 장치에 대한 제2 식별 데이터를 결정하는 과정과,
상기 조명 장치에게 상기 제2 식별 데이터를 전송하는 과정과,
상기 조명 장치로부터 페어링 응답 신호를 수신한 경우, 상기 조명 장치와 페어링을 수행하는 과정을 포함하고,
상기 제1 식별 데이터는 상기 조명 장치의 MAC(media access control) 주소에 기초하여 결정되고,
상기 제2 식별 데이터는 상기 이미지로부터 색상 값(color value) 또는 상기 비디오로부터 주기 값(cycle value) 중 적어도 하나에 기반하여 결정되고,
상기 색상 값은 상기 조명 장치로부터 방출된 상기 빛의 RGB(red green blue) 값을 나타내고,
상기 주기 값은 미리 설정된 시간 기간 동안 상기 조명 장치로부터 방출된 상기 빛의 온/오프(on/off) 횟수를 나타내는 방법.
A method for an electronic device, comprising:
In response to detection of a pairing event, the process of transmitting a pairing request signal to the lighting device;
generating at least one image or video of light emitted from the lighting device by photographing or videographing the lighting device, the light being associated with first identification data of the lighting device,
determining second identification data for the lighting device from the at least one image or video;
transmitting the second identification data to the lighting device;
When receiving a pairing response signal from the lighting device, comprising the step of performing pairing with the lighting device,
The first identification data is determined based on a media access control (MAC) address of the lighting device,
the second identification data is determined based on at least one of a color value from the image or a cycle value from the video;
The color value represents a red green blue (RGB) value of the light emitted from the lighting device,
The period value represents the number of on/off times of the light emitted from the lighting device during a preset time period.
상기 조명 장치와 상기 페어링을 수행하는 과정은,
상기 제2 식별 데이터를 기반으로 임시 키를 결정하는 과정과,
상기 임시 키를 기반으로 상기 조명 장치와 인증 또는 링크 계층 암호화 중 적어도 하나를 수행하는 과정을 포함하고,
상기 페어링 응답 신호는 상기 제1 식별 데이터와 상기 제2 식별 데이터가 대응하는 경우 수신되는 방법.
The method according to claim 1,
The process of performing the pairing with the lighting device,
determining a temporary key based on the second identification data;
Comprising the process of performing at least one of authentication or link layer encryption with the lighting device based on the temporary key,
The pairing response signal is received when the first identification data and the second identification data correspond.
상기 페어링 응답 신호는, 키보드 입력 및 디스플레이를 나타내는 정보, 및 중간자 공격(man-in-the-middle attack, MITM)에 대한 보호를 나타내는 정보를 포함하는 방법.
3. The method according to claim 2,
The pairing response signal includes information indicative of keyboard input and display, and information indicative of protection against man-in-the-middle attack (MITM).
상기 페어링 요청 신호의 전송에 응답하여 카메라를 구동하는 과정을 더 포함하는 방법.
The method according to claim 1,
The method further comprising the step of driving a camera in response to the transmission of the pairing request signal.
전자 장치로부터 페어링(pairing) 요청 신호를 수신하는 과정과,
상기 조명 장치의 제1 식별 데이터를 기반하여 상기 페어링 요청 신호에 대한 응답으로 빛을 출력하는 과정과,
상기 전자 장치로부터 제2 식별 데이터를 수신하는 과정과,
상기 제1 식별 데이터가 상기 제2 식별 데이터가 대응하는지 여부를 결정하는 과정과,
만약 상기 제1 식별 데이터가 상기 제2 식별 데이터에 대응하는 경우, 상기 전자 장치에게 페어링 응답 신호를 전송함으로써 상기 전자 장치와 페어링을 수행하는 과정을 포함하고,
상기 제1 식별 데이터는 상기 조명 장치의 MAC(media access control) 주소에 기반하여 결정되고,
상기 제2 식별 데이터는 상기 빛의 색상 값(color value) 또는 상기 빛의 주기 값(cycle value) 중 적어도 하나에 연관되고,
상기 색상 값은 상기 조명 장치로부터 방출된 상기 빛의 RGB(red green blue) 값을 나타내고,
상기 주기 값은 미리 설정된 시간 기간 동안 상기 조명 장치로부터 방출된 상기 빛의 온/오프(on/off) 횟수를 나타내는 방법.
A method for a lighting device, comprising:
Receiving a pairing request signal from an electronic device;
outputting light in response to the pairing request signal based on the first identification data of the lighting device;
receiving second identification data from the electronic device;
The process of determining whether the first identification data corresponds to the second identification data;
if the first identification data corresponds to the second identification data, performing pairing with the electronic device by transmitting a pairing response signal to the electronic device;
The first identification data is determined based on a media access control (MAC) address of the lighting device,
The second identification data is associated with at least one of a color value of the light or a cycle value of the light,
The color value represents a red green blue (RGB) value of the light emitted from the lighting device,
The period value represents the number of on/off times of the light emitted from the lighting device during a preset time period.
상기 전자 장치와 페어링을 수행하는 과정은,
상기 제1 식별 데이터를 기반으로 임시 키를 결정하는 과정과,
상기 임시 키를 기반으로 상기 전자 장치와 인증 또는 링크 계층 암호화 중 적어도 하나를 수행하는 과정을 포함하며,
상기 페어링 응답 신호는, 키보드 입력 및 디스플레이를 나타내는 정보, 및 중간자 공격(man-in-the-middle attack, MITM)에 대한 보호를 나타내는 정보를 포함하는 방법.
6. The method of claim 5,
The process of performing pairing with the electronic device,
determining a temporary key based on the first identification data;
and performing at least one of authentication or link layer encryption with the electronic device based on the temporary key,
The pairing response signal includes information indicative of keyboard input and display, and information indicative of protection against man-in-the-middle attack (MITM).
상기 제1 식별 데이터에 기초하여 상기 임시 키를 결정하는 과정은,
상기 주기 값에 미리 설정된 값을 곱하거나, 상기 RGB 값에 대해 컬러 양자화(color quantization)를 수행함으로써 상기 임시 키를 결정하는 과정을 포함하고,
상기 컬러 양자화는 균일한 컬러 양자화(uniform color quantization), 대중성 알고리즘(popularity algorithm), 미디언 컷 알고리즘(median cut algorithm), 또는 옥트리 알고리즘(octree algorithm) 중 적어도 하나에 기초하여 수행되는 방법.
7. The method of claim 6,
The process of determining the temporary key based on the first identification data includes:
determining the temporary key by multiplying the period value by a preset value or performing color quantization on the RGB value,
wherein the color quantization is performed based on at least one of a uniform color quantization, a popularity algorithm, a median cut algorithm, or an octree algorithm.
송수신기;
카메라; 및
적어도 하나의 프로세서로 구성되고, 상기 적어도 하나의 프로세서는,
페어링(pairing) 이벤트의 감지에 응답하여, 조명 장치에게 페어링 요청 신호를 전송하고,
상기 조명 장치를 사진 촬영하거나 비디오 촬영함으로써, 상기 조명 장치로부터 방출된 빛에 대한 적어도 하나의 이미지 또는 비디오를 생성하고, 상기 빛은 상기 조명 장치의 제1 식별 데이터에 연관되고,
상기 적어도 하나의 이미지 또는 비디오로부터 상기 조명 장치에 대한 제2 식별 데이터를 결정하고,
상기 조명 장치에게 상기 제2 식별 데이터를 전송하고
상기 조명 장치로부터 페어링 응답 신호를 수신한 경우, 상기 조명 장치와 페어링을 수행하도록 구성되고,
상기 제1 식별 데이터는 상기 조명 장치의 MAC(media access control) 주소에 기초하여 결정되고,
상기 제2 식별 데이터는 상기 이미지로부터 색상 값(color value) 또는 상기 비디오로부터 주기 값(cycle value) 중 적어도 하나에 기반하여 결정되고,
상기 색상 값은 상기 조명 장치로부터 방출된 상기 빛의 RGB(red green blue) 값을 나타내고,
상기 주기 값은 미리 설정된 시간 기간 동안 상기 조명 장치로부터 방출된 상기 빛의 온/오프(on/off) 횟수를 나타내는 장치.
In an electronic device,
transceiver;
camera; and
Consists of at least one processor, the at least one processor comprising:
In response to detecting a pairing event, sending a pairing request signal to the lighting device;
generating at least one image or video of light emitted from the lighting device by photographing or videographing the lighting device, the light being associated with first identification data of the lighting device;
determine second identification data for the lighting device from the at least one image or video;
transmitting the second identification data to the lighting device;
When receiving a pairing response signal from the lighting device, configured to perform pairing with the lighting device,
The first identification data is determined based on a media access control (MAC) address of the lighting device,
the second identification data is determined based on at least one of a color value from the image or a cycle value from the video;
The color value represents a red green blue (RGB) value of the light emitted from the lighting device,
The period value represents an on/off number of times of the light emitted from the lighting device during a preset time period.
상기 조명 장치와 페어링을 수행하기 위해, 상기 적어도 하나의 프로세서는,
상기 제2 식별 데이터를 기반으로 임시 키를 결정하고,
상기 임시 키를 기반으로 상기 조명 장치와 인증 또는 링크 계층 암호화 중 적어도 하나를 수행하도록 구성되고,
상기 페어링 응답 신호는 상기 제1 식별 데이터와 상기 제2 식별 데이터가 대응하는 경우 수신되는 장치.
9. The method of claim 8,
To perform pairing with the lighting device, the at least one processor comprises:
determining a temporary key based on the second identification data;
configured to perform at least one of authentication or link layer encryption with the lighting device based on the temporary key,
The pairing response signal is received when the first identification data and the second identification data correspond.
상기 페어링 응답 신호는, 키보드 입력 및 디스플레이를 나타내는 정보, 및 중간자 공격(man-in-the-middle attack, MITM)에 대한 보호를 나타내는 정보를 포함하는 장치.
10. The method of claim 9,
The pairing response signal includes information indicating keyboard input and display, and information indicating protection against man-in-the-middle attack (MITM).
상기 페어링 요청 신호의 전송에 응답하여 카메라를 구동하도록 더 구성되는 장치.
9. The method of claim 8,
and drive a camera in response to the transmission of the pairing request signal.
송수신기;
빛 출력 모듈; 및
적어도 하나의 프로세서로 구성되고, 상기 적어도 하나의 프로세서는,
전자 장치로부터 페어링(pairing) 요청 신호를 수신하고,
조명 장치의 제1 식별 데이터에 기반하여 상기 페어링 요청 신호에 대한 응답으로 빛을 출력하고,
상기 전자 장치로부터 제2 식별 데이터를 수신하고,
상기 제1 식별 데이터가 상기 제2 식별 데이터에 대응하는지 여부를 결정하고,
상기 제1 식별 데이터가 상기 제2 식별 데이터에 대응하는 경우, 상기 전자 장치에게 페어링 응답 신호를 전송함으로써 상기 전자 장치와 페어링을 수행하도록 구성되고,
상기 제1 식별 데이터는 상기 조명 장치의 MAC(media access control) 주소에 기반하여 결정되고,
상기 제2 식별 데이터는 상기 빛의 색상 값(color value) 또는 상기 빛의 주기 값(cycle value) 중 적어도 하나에 연관되고,
상기 색상 값은 상기 조명 장치로부터 방출된 상기 빛의 RGB(red green blue) 값을 나타내고,
상기 주기 값은 미리 설정된 시간 기간 동안 상기 조명 장치로부터 방출된 상기 빛의 온/오프(on/off) 횟수를 나타내는 장치.
A lighting device comprising:
transceiver;
light output module; and
Consists of at least one processor, the at least one processor comprising:
receiving a pairing request signal from the electronic device;
outputting light in response to the pairing request signal based on the first identification data of the lighting device;
receiving second identification data from the electronic device;
determine whether the first identification data corresponds to the second identification data;
and when the first identification data corresponds to the second identification data, perform pairing with the electronic device by sending a pairing response signal to the electronic device,
The first identification data is determined based on a media access control (MAC) address of the lighting device,
The second identification data is associated with at least one of a color value of the light or a cycle value of the light,
The color value represents a red green blue (RGB) value of the light emitted from the lighting device,
The period value represents an on/off number of times of the light emitted from the lighting device during a preset time period.
상기 전자 장치와 페어링을 수행하기 위해, 상기 적어도 하나의 프로세서는,
상기 제1 식별 데이터를 기반으로 임시 키를 결정하고,
상기 임시 키를 기반으로 상기 전자 장치와 인증 또는 링크 계층 암호화 중 적어도 하나를 수행하도록 구성되며,
상기 페어링 응답 신호는, 키보드 입력 및 디스플레이를 나타내는 정보, 및 중간자 공격(man-in-the-middle attack, MITM)에 대한 보호를 나타내는 정보를 포함하는 장치.
13. The method of claim 12,
To perform pairing with the electronic device, the at least one processor,
determining a temporary key based on the first identification data;
configured to perform at least one of authentication or link layer encryption with the electronic device based on the temporary key,
The pairing response signal includes information indicating keyboard input and display, and information indicating protection against man-in-the-middle attack (MITM).
상기 주기 값에 미리 설정된 값을 곱하거나, 상기 RGB 값에 대해 컬러 양자화(color quantization)를 수행함으로써 상기 임시 키를 결정하도록 구성되고,
상기 컬러 양자화는 균일한 컬러 양자화(uniform color quantization), 대중성 알고리즘(popularity algorithm), 미디언 컷 알고리즘(median cut algorithm), 또는 옥트리 알고리즘(octree algorithm) 중 적어도 하나에 기초하여 수행되는 장치.The method of claim 13 , wherein to determine the temporary key based on the first identification data, the at least one processor comprises:
and determine the temporary key by multiplying the period value by a preset value or performing color quantization on the RGB values;
wherein the color quantization is performed based on at least one of a uniform color quantization, a popularity algorithm, a median cut algorithm, or an octree algorithm.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US14/749,135 US9900091B2 (en) | 2014-06-24 | 2015-06-24 | Method and apparatus for pairing electronic device and lighting device |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR20140077297 | 2014-06-24 | ||
| KR1020140077297 | 2014-06-24 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| KR20160000437A KR20160000437A (en) | 2016-01-04 |
| KR102325323B1 true KR102325323B1 (en) | 2021-11-12 |
Family
ID=55164314
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| KR1020150089064A Active KR102325323B1 (en) | 2014-06-24 | 2015-06-23 | Apparatus and method for pairing between an electronic device with a lighting device |
Country Status (1)
| Country | Link |
|---|---|
| KR (1) | KR102325323B1 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2023096412A1 (en) * | 2021-11-25 | 2023-06-01 | 엘지이노텍 주식회사 | Pairing method for sensor and gateway |
| WO2024071639A1 (en) * | 2022-09-28 | 2024-04-04 | 삼성전자주식회사 | Flicker correction method and electronic device therefor |
| US20240237174A1 (en) * | 2021-08-11 | 2024-07-11 | Shenzhen Intellirocks Tech. Co., Ltd. | Light-emitting device control method and device |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR102588235B1 (en) | 2016-11-29 | 2023-10-13 | 삼성전자주식회사 | An electronic device and a controlling method thereof |
| KR102151354B1 (en) * | 2019-07-08 | 2020-09-03 | 주식회사 지니로봇 | System and method for identifying a bluetooth device using colors displayed through a light emitting diode |
| FR3117297B1 (en) * | 2020-12-08 | 2023-05-05 | Otodo | Method for assisting the pairing of a domestic object connected with a centralized unit |
| CN113691975B (en) * | 2021-08-24 | 2024-04-09 | 公安部第三研究所 | Method, device, processor and computer readable storage medium for realizing secure pairing stealth connection for Bluetooth equipment |
| WO2024049088A1 (en) * | 2022-08-29 | 2024-03-07 | 삼성전자 주식회사 | Electronic device for providing media-based lighting control services, operation method therefor, and storage medium |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2013038048A (en) * | 2011-08-11 | 2013-02-21 | Mega Chips Corp | Lighting system |
-
2015
- 2015-06-23 KR KR1020150089064A patent/KR102325323B1/en active Active
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2013038048A (en) * | 2011-08-11 | 2013-02-21 | Mega Chips Corp | Lighting system |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20240237174A1 (en) * | 2021-08-11 | 2024-07-11 | Shenzhen Intellirocks Tech. Co., Ltd. | Light-emitting device control method and device |
| US12402225B2 (en) * | 2021-08-11 | 2025-08-26 | Shenzhen Intellirocks Tech. Co., Ltd. | Light-emitting device control method and device |
| WO2023096412A1 (en) * | 2021-11-25 | 2023-06-01 | 엘지이노텍 주식회사 | Pairing method for sensor and gateway |
| WO2024071639A1 (en) * | 2022-09-28 | 2024-04-04 | 삼성전자주식회사 | Flicker correction method and electronic device therefor |
Also Published As
| Publication number | Publication date |
|---|---|
| KR20160000437A (en) | 2016-01-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9900091B2 (en) | Method and apparatus for pairing electronic device and lighting device | |
| KR102325323B1 (en) | Apparatus and method for pairing between an electronic device with a lighting device | |
| US11445433B2 (en) | Method of transmitting proximity service data and electronic device for the same | |
| US10075235B2 (en) | Method and apparatus for data transmission | |
| KR102281019B1 (en) | Electronic device and method for processing data in electronic device | |
| KR102195311B1 (en) | Method for enhancing noise characteristics of image and an electronic device thereof | |
| JP6081440B2 (en) | Method and apparatus for prompting based on smart glasses | |
| US9990480B2 (en) | Method, apparatus and storage medium for setting smart device management account | |
| KR102300098B1 (en) | Electronic device for connecting communication and method for connecting communication | |
| KR102300583B1 (en) | A service providing method using a beacon and electronic apparatus thereof | |
| US20170118789A1 (en) | Method and apparatus for operating an electronic device | |
| KR102389576B1 (en) | Apparatus and method for detecting counterfeit advertiser in wireless communication system | |
| EP3105919B1 (en) | Photographing method of an electronic device and the electronic device thereof | |
| CN106663187B (en) | Method and apparatus for identifying biometric information | |
| KR102267713B1 (en) | Operating Method of an electronic device related to Controlling of Transmission Power and Device therefor | |
| US10003944B2 (en) | Electronic device and method for providing emergency video call service | |
| CN110348198B (en) | Identity recognition method, related device and system of simulation object | |
| KR20150105802A (en) | Beacon signal control method of electronic apparatus and electronic apparatus thereof | |
| US9503965B2 (en) | Set-top box setup via near field communication | |
| US20170134393A1 (en) | Method, apparatus, and recording medium for sharing use authority with respect to service | |
| US10380417B2 (en) | Method and apparatus for recognizing iris | |
| KR102452314B1 (en) | Method fog playing content and electronic device thereof | |
| EP3358531A1 (en) | Electronic device for providing vr image based on polyhedron and image providing method thereof | |
| CN106664342A (en) | Electronic device and call-forwarding control method thereof | |
| EP3070909B1 (en) | Synchronization of an apparatus with two groups of communication apparatuses and exchange of data |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PA0109 | Patent application |
St.27 status event code: A-0-1-A10-A12-nap-PA0109 |
|
| PG1501 | Laying open of application |
St.27 status event code: A-1-1-Q10-Q12-nap-PG1501 |
|
| P22-X000 | Classification modified |
St.27 status event code: A-2-2-P10-P22-nap-X000 |
|
| P22-X000 | Classification modified |
St.27 status event code: A-2-2-P10-P22-nap-X000 |
|
| P22-X000 | Classification modified |
St.27 status event code: A-2-2-P10-P22-nap-X000 |
|
| P22-X000 | Classification modified |
St.27 status event code: A-2-2-P10-P22-nap-X000 |
|
| P22-X000 | Classification modified |
St.27 status event code: A-2-2-P10-P22-nap-X000 |
|
| P22-X000 | Classification modified |
St.27 status event code: A-2-2-P10-P22-nap-X000 |
|
| A201 | Request for examination | ||
| PA0201 | Request for examination |
St.27 status event code: A-1-2-D10-D11-exm-PA0201 |
|
| D13-X000 | Search requested |
St.27 status event code: A-1-2-D10-D13-srh-X000 |
|
| D14-X000 | Search report completed |
St.27 status event code: A-1-2-D10-D14-srh-X000 |
|
| E902 | Notification of reason for refusal | ||
| PE0902 | Notice of grounds for rejection |
St.27 status event code: A-1-2-D10-D21-exm-PE0902 |
|
| E13-X000 | Pre-grant limitation requested |
St.27 status event code: A-2-3-E10-E13-lim-X000 |
|
| P11-X000 | Amendment of application requested |
St.27 status event code: A-2-2-P10-P11-nap-X000 |
|
| P13-X000 | Application amended |
St.27 status event code: A-2-2-P10-P13-nap-X000 |
|
| E701 | Decision to grant or registration of patent right | ||
| PE0701 | Decision of registration |
St.27 status event code: A-1-2-D10-D22-exm-PE0701 |
|
| PR0701 | Registration of establishment |
St.27 status event code: A-2-4-F10-F11-exm-PR0701 |
|
| PR1002 | Payment of registration fee |
St.27 status event code: A-2-2-U10-U11-oth-PR1002 Fee payment year number: 1 |
|
| PG1601 | Publication of registration |
St.27 status event code: A-4-4-Q10-Q13-nap-PG1601 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 4 |
|
| P22-X000 | Classification modified |
St.27 status event code: A-4-4-P10-P22-nap-X000 |