KR20170066111A - Method for obtaining location information and electronic device supporting the same - Google Patents

Method for obtaining location information and electronic device supporting the same Download PDF

Info

Publication number
KR20170066111A
KR20170066111A KR1020150172729A KR20150172729A KR20170066111A KR 20170066111 A KR20170066111 A KR 20170066111A KR 1020150172729 A KR1020150172729 A KR 1020150172729A KR 20150172729 A KR20150172729 A KR 20150172729A KR 20170066111 A KR20170066111 A KR 20170066111A
Authority
KR
South Korea
Prior art keywords
electronic device
information
processor
wireless lan
request
Prior art date
Application number
KR1020150172729A
Other languages
Korean (ko)
Inventor
조기호
안희석
강신재
이영교
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020150172729A priority Critical patent/KR20170066111A/en
Publication of KR20170066111A publication Critical patent/KR20170066111A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/14Access restriction or access information delivery, e.g. discovery data delivery using user query or user detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • H04W52/0254Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/006Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

본 발명은 전자 장치에 있어서, 적어도 하나의 센서, 근거리 통신 모듈, 상기 근거리 통신 모듈을 이용해 획득된 제1 네트워크 정보를 저장하기 위한 메모리, 및 프로세서를 포함하고, 상기 프로세서는, 상기 전자 장치에 대응하는 위치 정보에 대한 요청을 획득하고, 상기 적어도 하나의 센서를 이용하여 상기 전자 장치에 대한 움직임을 확인하고, 상기 움직임이 지정된 조건을 만족하는지 여부에 기반하여, 상기 요청에 반응하여 상기 제1 네트워크 정보를 상기 메모리로부터 획득(retrieve)하거나, 선택적으로, 상기 근거리 통신 모듈을 이용하여 제2 네트워크 정보를 스캔(scan)하고, 및 상기 제1 네트워크 정보 또는 상기 제2 네트워크 정보 중 대응하는 네트워크 정보를 상기 요청에 대한 응답으로 제공하도록 설정된 전자 장치를 포함할 수 있다. 다만, 상기 실시예에 한정되지 않고 다른 실시예를 포함할 수 있다.The present invention provides an electronic device comprising at least one sensor, a short range communication module, a memory for storing first network information obtained using the short range communication module, and a processor, the processor comprising: Acquiring a request for location information that is based on at least one of the at least one sensor and the at least one sensor to identify movement to the electronic device and based on whether the motion satisfies a specified condition, Retrieving information from the memory or, alternatively, scanning the second network information using the short-range communication module, and providing corresponding network information of the first network information or the second network information And an electronic device configured to provide in response to the request. However, the present invention is not limited to the above-described embodiments, but may include other embodiments.

Description

위치 정보를 획득하는 방법 및 이를 지원하는 전자 장치{Method for obtaining location information and electronic device supporting the same}Field of the Invention [0001] The present invention relates to a method for acquiring location information and an electronic device supporting the same,

본 발명은 위치 정보를 획득하는 방법 및 이를 지원하는 전자 장치에 관한 것이다. 예를 들면, 본 발명은 전자 장치의 움직임에 적어도 일부 기초하여 위치 정보를 획득하는 방법 및 이를 지원하는 전자 장치에 관한 것이다.The present invention relates to a method for acquiring position information and an electronic device supporting the same. For example, the present invention relates to a method of acquiring position information based at least in part on the motion of an electronic device and to an electronic device supporting the same.

최근에 기술이 발전함에 따라, 다양한 기능을 수행할 수 있는 전자 장치는 현대인의 필수품으로 자리매김하고 있다. 이러한 전자 장치는 고유의 음성 통화 서비스뿐만 아니라 각종 데이터 전송 서비스와 다양한 부가서비스도 제공할 수 있게 되어 멀티미디어 통신기기로 변모하고 있다. As technology has developed recently, electronic devices capable of performing various functions have become a necessity of modern people. Such an electronic device is capable of providing various data transmission services and various additional services as well as a unique voice communication service, and is being transformed into a multimedia communication device.

멀티미디어 통신기기로서 전자 장치는 다른 전자 장치와 데이터를 송수신함에 있어 다양한 근거리 통신 방법이 이용되고 있다. 예를 들면, 전자 장치는 WLAN (wireless LAN), BT, Zigbee, Z-Wave, UWB(ultra wide band), UNB(ultra-narrow band), WirelessUSB, WiGig(wireless gigabit), BLE(bluetooth low energy), WirelessHD, TranferJet, Wilreless FireWire 등의 표준을 이용한 기술들을 이용하여 다른 전자 장치와 데이터를 송수신하고 있다.Description of the Related Art As a multimedia communication device, an electronic device uses various short-range communication methods in transmitting and receiving data with other electronic devices. For example, the electronic device may be a wireless LAN (WLAN), a BT, a Zigbee, a Z-Wave, an ultra wide band (UWB), an ultra-narrow band (UNB), WirelessUSB, a wireless gigabit (WiGig) , WirelessHD, TranferJet, Wilreless FireWire, and other electronic devices.

전자 장치는 Wi-Fi, BT, NFC 등 근거리 네트워크 통신을 위한 다양한 표준 기술들이 탑재될 수 있다. 전자 장치의 사용자들은 이러한 표준 기술들을 활용하여 무선으로 각종 서비스를 이용할 수 있다. 예를 들면, 전자 장치의 사용자는 근거리 네트워크(예: 무선 랜) 통신 기술을 활용하여 위치 기반 서비스를 제공하는 어플리케이션을 이용할 수 있다. 이러한 위치 기반 서비스를 제공하는 어플리케이션은 전자 장치의 위치를 획득하기 위해 전자 장치의 프로세서에게 주기적인 근거리 네트워크(예: 무선 랜) 정보 스캔 동작을 요청할 수 있다. 프로세서는 요청에 대한 응답으로 주기적으로 무선 랜 스캔 동작을 수행할 수 있다. 프로세서의 주기적이고 빈도수가 높은 전자 장치의 무선 랜 스캔 동작은, 무선 랜 스캔 동작 횟수가 증가할수록 전류 소모량이 증가하는 문제점이 발생된다.Electronic devices can be equipped with various standard technologies for local area network communication such as Wi-Fi, BT, and NFC. Users of electronic devices can use these standard technologies to access various services wirelessly. For example, a user of an electronic device may utilize an application that provides location-based services utilizing a local area network (e.g., wireless LAN) communication technology. An application providing such a location-based service may request a periodic local area network (e.g., WLAN) information scan operation to the processor of the electronic device to obtain the location of the electronic device. The processor may periodically perform a wireless LAN scan operation in response to a request. The wireless LAN scan operation of the periodic and frequent electronic device of the processor has a problem that the current consumption increases as the number of times of the wireless LAN scan operation increases.

이에 후술할 실시예는 상기와 같은 문제점을 무선 랜 스캔을 제어하는 방법 및 이를 지원하는 전자 장치에 있다.The following embodiments are directed to a method of controlling a wireless LAN scan and an electronic device supporting the same.

본 발명의 일 실시예에 따른 전자 장치에 있어서, 적어도 하나의 센서, 근거리 통신 모듈, 상기 근거리 통신 모듈을 이용해 획득된 제1 네트워크 정보를 저장하기 위한 메모리, 및 프로세서를 포함하고, 상기 프로세서는, 상기 전자 장치에 대응하는 위치 정보에 대한 요청을 획득하고, 상기 적어도 하나의 센서를 이용하여 상기 전자 장치에 대한 움직임을 확인하고, 상기 움직임이 지정된 조건을 만족하는지 여부에 기반하여, 상기 요청에 반응하여 상기 제1 네트워크 정보를 상기 메모리로부터 획득(retrieve)하거나, 선택적으로, 상기 근거리 통신 모듈을 이용하여 제2 네트워크 정보를 스캔(scan)하고, 및 상기 제1 네트워크 정보 또는 상기 제2 네트워크 정보 중 대응하는 네트워크 정보를 상기 요청에 대한 응답으로 제공하도록 설정된 전자 장치를 포함할 수 있다.The electronic device according to one embodiment of the present invention includes at least one sensor, a short range communication module, a memory for storing first network information obtained using the short range communication module, and a processor, Acquiring a request for position information corresponding to the electronic device, using the at least one sensor to confirm movement to the electronic device, and based on whether the motion satisfies the specified condition, The first network information is retrieved from the memory or, alternatively, the second network information is scanned using the short range communication module, and the first network information or the second network information And an electronic device configured to provide corresponding network information in response to the request There.

본 발명의 일 실시예에 따른 전자 장치의 위치 정보를 획득하는 방법에 있어서, 전자 장치에 대응하는 위치 정보에 대한 요청을 획득하는 동작, 적어도 하나의 센서를 이용하여 상기 전자 장치에 대한 움직임을 확인하는 동작, 상기 움직임이 지정된 조건을 만족하는지 여부에 기반하여, 상기 요청에 반응하여 상기 제1 네트워크 정보를 상기 메모리로부터 획득(retrieve)하거나, 선택적으로, 상기 근거리 통신 모듈을 이용하여 제2 네트워크 정보를 스캔(scan)하는 동작, 및 상기 제1 네트워크 정보 또는 상기 제2 네트워크 정보 중 대응하는 네트워크 정보를 상기 요청에 대한 응답으로 제공하는 동작을 포함할 수 있다.A method for acquiring location information of an electronic device in accordance with an embodiment of the present invention, the method comprising: obtaining a request for location information corresponding to an electronic device; using at least one sensor to identify movement to the electronic device; , Retrieving the first network information from the memory in response to the request based on whether the motion meets a specified condition, or selectively retrieving the second network information from the memory using the short- , And providing the corresponding one of the first network information or the second network information in response to the request.

본 발명의 다양한 실시예에 따르면, 전자 장치의 복수 통신 대역들 중 일 통신 대역만을 이용하여 근거리 네트워크(예: 무선 랜) 정보 스캔을 수행함으로써, 무선 랜 스캔의 횟수를 줄이고 전자 장치의 전류 소모를 완화할 수 있다.According to various embodiments of the present invention, by performing a local area network (e.g., WLAN) information scan using only one communication band among a plurality of communication bands of the electronic device, it is possible to reduce the number of WLAN scans, Can be mitigated.

본 발명의 다양한 실시예에 따르면, 전자 장치의 움직임 정보를 기반으로 무선 랜 스캔을 수행함으로써, 무선 랜 스캔의 횟수를 줄이고 전자 장치의 전류 소모를 완화할 수 있다.According to various embodiments of the present invention, a wireless LAN scan is performed based on motion information of an electronic device, thereby reducing the number of wireless LAN scans and reducing current consumption of an electronic device.

본 발명의 다양한 실시예에 따르면, 전자 장치의 GPS 모듈이 활성화되어 있거나 획득된 위치 정보가 지정된 시간 내에 획득되는 것을 만족하는 경우 일 통신 대역을 구성하는 일부 채널을 이용하여 무선 랜 스캔을 수행함으로써, 무선 랜 스캔의 횟수를 줄이고 전자 장치의 전류 소모를 완화할 수 있다.According to various embodiments of the present invention, when the GPS module of the electronic device is activated or the position information obtained is satisfied within a specified time, a wireless LAN scan is performed using some channels constituting one communication band, It is possible to reduce the number of wireless LAN scans and reduce the current consumption of the electronic device.

도 1은 본 발명의 다양한 실시예에 따른 네트워크 환경을 도시하는 블럭도이다.
도 2는 본 발명의 다양한 실시예에 따른 전자 장치의 블럭도를 도시한다.
도 3은 본 발명의 다양한 실시예에 따른 프로그램 모듈의 블록도를 도시한다.
도 4a 는 본 발명의 다양한 실시예에 따른 전자 장치의 블록도를 도시한다.
도 4b는 본 발명의 다양한 실시예에 따른 계층 구조를 도시한다.
도 5a 및 도 5b는 본 발명의 다양한 실시예에 따른 전자 장치의 무선랜 스캔 관련 실시예를 도시한다.
도 5c는 본 발명의 다양한 실시예에 따른 전자 장치의 통신 대역들에 대한 실시예를 도시한다.
도 5d는 무선 랜 스캔 정보를 도시한다.
도 6은 본 발명의 다양한 실시예에 따른 전자 장치의 무선 랜 스캔 정보를 획득하는 순서도를 도시한다.
도 7은 본 발명의 다양한 실시예에 따른 전자 장치의 무선 랜 스캔 정보를 획득하는 순서도를 도시한다.
도 8은 본 발명의 다양한 실시예에 따른 전자 장치의 무선 랜 스캔 정보를 획득하는 순서도를 도시한다.
도 9는 본 발명의 다양한 실시예에 따른 전자 장치의 무선 랜 스캔 정보를 획득하는 순서도를 도시한다.
1 is a block diagram illustrating a network environment in accordance with various embodiments of the present invention.
Figure 2 shows a block diagram of an electronic device according to various embodiments of the present invention.
3 shows a block diagram of a program module according to various embodiments of the present invention.
4A shows a block diagram of an electronic device according to various embodiments of the present invention.
Figure 4B illustrates a hierarchical structure according to various embodiments of the present invention.
Figures 5A and 5B illustrate an embodiment of a wireless LAN scan of an electronic device according to various embodiments of the present invention.
5C illustrates an embodiment of communication bands of an electronic device according to various embodiments of the present invention.
5D shows wireless LAN scan information.
6 shows a flowchart for obtaining wireless LAN scan information of an electronic device according to various embodiments of the present invention.
7 shows a flowchart for obtaining wireless LAN scan information of an electronic device according to various embodiments of the present invention.
8 shows a flowchart for obtaining wireless LAN scan information of an electronic device according to various embodiments of the present invention.
9 shows a flowchart for obtaining wireless LAN scan information of an electronic device according to various embodiments of the present invention.

이하, 본 문서의 다양한 실시예들이 첨부된 도면을 참조하여 기재된다. 실시예 및 이에 사용된 용어들은 본 문서에 기재된 기술을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 및/또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함할 수 있다. 본 문서에서, "A 또는 B" 또는 "A 및/또는 B 중 적어도 하나" 등의 표현은 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. "제 1," "제 2," "첫째," 또는 "둘째,"등의 표현들은 해당 구성요소들을, 순서 또는 중요도에 상관없이 수식할 수 있고, 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 뿐 해당 구성요소들을 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에 "(기능적으로 또는 통신적으로) 연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로 연결되거나, 다른 구성요소(예: 제 3 구성요소)를 통하여 연결될 수 있다.Hereinafter, various embodiments of the present document will be described with reference to the accompanying drawings. It is to be understood that the embodiments and terminologies used herein are not intended to limit the invention to the particular embodiments described, but to include various modifications, equivalents, and / or alternatives of the embodiments. In connection with the description of the drawings, like reference numerals may be used for similar components. The singular expressions may include plural expressions unless the context clearly dictates otherwise. In this document, the expressions "A or B" or "at least one of A and / or B" and the like may include all possible combinations of the items listed together. Expressions such as " first, "" second," " first, "or" second, " But is not limited to those components. When it is mentioned that some (e.g., first) component is "(functionally or communicatively) connected" or "connected" to another (second) component, May be connected directly to the component, or may be connected through another component (e.g., a third component).

본 문서에서, "~하도록 구성된(또는 설정된)(configured to)"은 상황에 따라, 예를 들면, 하드웨어적 또는 소프트웨어적으로 "~에 적합한," "~하는 능력을 가지는," "~하도록 변경된," "~하도록 만들어진," "~를 할 수 있는," 또는 또는 "~하도록 설계된"과 상호 호환적으로(interchangeably) 사용될 수 있다. 어떤 상황에서는, "~하도록 구성된 장치"라는 표현은, 그 장치가 다른 장치 또는 부품들과 함께 "~할 수 있는" 것을 의미할 수 있다. 예를 들면, 문구 "A, B, 및 C를 수행하도록 구성된(또는 설정된) 프로세서"는 해당 동작을 수행하기 위한 전용 프로세서(예: 임베디드 프로세서), 또는 메모리 장치에 저장된 하나 이상의 소프트웨어 프로그램들을 실행함으로써, 해당 동작들을 수행할 수 있는 범용 프로세서(예: CPU 또는 application processor)를 의미할 수 있다. In this document, the term " configured to (or configured) to "as used herein is intended to encompass all types of hardware, software, Quot ;, "made to do "," made to do ", or "designed to" In some situations, the expression "a device configured to" may mean that the device can "do " with other devices or components. For example, a processor configured (or configured) to perform the phrases "A, B, and C" may be implemented by executing one or more software programs stored in a memory device or a dedicated processor (e.g., an embedded processor) , And a general purpose processor (e.g., a CPU or an application processor) capable of performing the corresponding operations.

본 문서의 다양한 실시예들에 따른 전자 장치는, 예를 들면, 스마트폰, 태블릿 PC, 이동 전화기, 영상 전화기, 전자책 리더기, 데스크탑 PC, 랩탑 PC, 넷북 컴퓨터, 워크스테이션, 서버, PDA, PMP(portable multimedia player), MP3 플레이어, 의료기기, 카메라, 또는 웨어러블 장치 중 적어도 하나를 포함할 수 있다. 웨어러블 장치는 액세서리형(예: 시계, 반지, 팔찌, 발찌, 목걸이, 안경, 콘택트 렌즈, 또는 머리 착용형 장치(head-mounted-device(HMD)), 직물 또는 의류 일체형(예: 전자 의복), 신체 부착형(예: 스킨 패드 또는 문신), 또는 생체 이식형 회로 중 적어도 하나를 포함할 수 있다. 어떤 실시예들에서, 전자 장치는, 예를 들면, 텔레비전, DVD(digital video disk) 플레이어, 오디오, 냉장고, 에어컨, 청소기, 오븐, 전자레인지, 세탁기, 공기 청정기, 셋톱 박스, 홈 오토매이션 컨트롤 패널, 보안 컨트롤 패널, 미디어 박스(예: 삼성 HomeSyncTM, 애플TVTM, 또는 구글 TVTM), 게임 콘솔(예: XboxTM, PlayStationTM), 전자 사전, 전자 키, 캠코더, 또는 전자 액자 중 적어도 하나를 포함할 수 있다.Electronic devices in accordance with various embodiments of the present document may be used in various applications such as, for example, smart phones, tablet PCs, mobile phones, videophones, electronic book readers, desktop PCs, laptop PCs, netbook computers, workstations, a portable multimedia player, an MP3 player, a medical device, a camera, or a wearable device. Wearable devices may be of the type of accessories (eg, watches, rings, bracelets, braces, necklaces, glasses, contact lenses or head-mounted-devices (HMD) (E.g., a skin pad or tattoo), or a bio-implantable circuit. In some embodiments, the electronic device may be, for example, a television, a digital video disk (Eg Samsung HomeSyncTM, Apple TVTM, or Google TVTM), game consoles, home appliances, air conditioners, air conditioners, refrigerators, air conditioners, vacuum cleaners, ovens, microwave ovens, washing machines, air purifiers, set top boxes, home automation control panels, (E.g., Xbox (TM), PlayStation (TM)), an electronic dictionary, an electronic key, a camcorder, or an electronic photo frame.

다른 실시예에서, 전자 장치는, 각종 의료기기(예: 각종 휴대용 의료측정기기(혈당 측정기, 심박 측정기, 혈압 측정기, 또는 체온 측정기 등), MRA(magnetic resonance angiography), MRI(magnetic resonance imaging), CT(computed tomography), 촬영기, 또는 초음파기 등), 네비게이션 장치, 위성 항법 시스템(GNSS(global navigation satellite system)), EDR(event data recorder), FDR(flight data recorder), 자동차 인포테인먼트 장치, 선박용 전자 장비(예: 선박용 항법 장치, 자이로 콤파스 등), 항공 전자기기(avionics), 보안 기기, 차량용 헤드 유닛(head unit), 산업용 또는 가정용 로봇, 드론(drone), 금융 기관의 ATM, 상점의 POS(point of sales), 또는 사물 인터넷 장치 (예: 전구, 각종 센서, 스프링클러 장치, 화재 경보기, 온도조절기, 가로등, 토스터, 운동기구, 온수탱크, 히터, 보일러 등) 중 적어도 하나를 포함할 수 있다. 어떤 실시예에 따르면, 전자 장치는 가구, 건물/구조물 또는 자동차의 일부, 전자 보드(electronic board), 전자 사인 수신 장치(electronic signature receiving device), 프로젝터, 또는 각종 계측 기기(예: 수도, 전기, 가스, 또는 전파 계측 기기 등) 중 적어도 하나를 포함할 수 있다. 다양한 실시예에서, 전자 장치는 플렉서블하거나, 또는 전술한 다양한 장치들 중 둘 이상의 조합일 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다. 본 문서에서, 사용자라는 용어는 전자 장치를 사용하는 사람 또는 전자 장치를 사용하는 장치(예: 인공지능 전자 장치)를 지칭할 수 있다. In an alternative embodiment, the electronic device may be any of a variety of medical devices (e.g., various portable medical measurement devices such as a blood glucose meter, a heart rate meter, a blood pressure meter, or a body temperature meter), magnetic resonance angiography (MRA) A navigation system, a global navigation satellite system (GNSS), an event data recorder (EDR), a flight data recorder (FDR), an automobile infotainment device, a marine electronic equipment (For example, marine navigation systems, gyro compasses, etc.), avionics, security devices, head units for vehicles, industrial or domestic robots, drones, ATMs at financial institutions, of at least one of the following types of devices: a light bulb, a fire detector, a fire alarm, a thermostat, a streetlight, a toaster, a fitness device, a hot water tank, a heater, a boiler, . According to some embodiments, the electronic device may be a piece of furniture, a building / structure or part of an automobile, an electronic board, an electronic signature receiving device, a projector, or various measuring devices (e.g., Gas, or radio wave measuring instruments, etc.). In various embodiments, the electronic device is flexible or may be a combination of two or more of the various devices described above. The electronic device according to the embodiment of the present document is not limited to the above-described devices. In this document, the term user may refer to a person using an electronic device or a device using an electronic device (e.g., an artificial intelligence electronic device).

도 1을 참조하여, 다양한 실시예에서의, 네트워크 환경(100) 내의 전자 장치(101)가 기재된다. 전자 장치(101)는 버스(110), 프로세서(120), 메모리(130), 입출력 인터페이스(150), 디스플레이(160), 및 통신 인터페이스(170)를 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)는, 구성요소들 중 적어도 하나를 생략하거나 다른 구성요소를 추가적으로 구비할 수 있다. 버스(110)는 구성요소들(110-170)을 서로 연결하고, 구성요소들 간의 통신(예: 제어 메시지 또는 데이터)을 전달하는 회로를 포함할 수 있다. 프로세서(120)는, 중앙처리장치, 어플리케이션 프로세서, 또는 커뮤니케이션 프로세서(communication processor(CP)) 중 하나 또는 그 이상을 포함할 수 있다. 프로세서(120)는, 예를 들면, 전자 장치(101)의 적어도 하나의 다른 구성요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 실행할 수 있다. Referring to Figure 1, in various embodiments, an electronic device 101 in a network environment 100 is described. The electronic device 101 may include a bus 110, a processor 120, a memory 130, an input / output interface 150, a display 160, and a communication interface 170. In some embodiments, the electronic device 101 may omit at least one of the components or additionally include other components. The bus 110 may include circuitry to connect the components 110-170 to one another and to communicate communications (e.g., control messages or data) between the components. Processor 120 may include one or more of a central processing unit, an application processor, or a communications processor (CP). The processor 120 may perform computations or data processing related to, for example, control and / or communication of at least one other component of the electronic device 101.

메모리(130)는, 휘발성 및/또는 비휘발성 메모리를 포함할 수 있다. 메모리(130)는, 예를 들면, 전자 장치(101)의 적어도 하나의 다른 구성요소에 관계된 명령 또는 데이터를 저장할 수 있다. 한 실시예에 따르면, 메모리(130)는 소프트웨어 및/또는 프로그램(140)을 저장할 수 있다. 프로그램(140)은, 예를 들면, 커널(141), 미들웨어(143), 어플리케이션 프로그래밍 인터페이스(API)(145), 및/또는 어플리케이션 프로그램(또는 "어플리케이션")(147) 등을 포함할 수 있다. 커널(141), 미들웨어(143), 또는 API(145)의 적어도 일부는, 운영 시스템으로 지칭될 수 있다. 커널(141)은, 예를 들면, 다른 프로그램들(예: 미들웨어(143), API(145), 또는 어플리케이션 프로그램(147))에 구현된 동작 또는 기능을 실행하는 데 사용되는 시스템 리소스들(예: 버스(110), 프로세서(120), 또는 메모리(130) 등)을 제어 또는 관리할 수 있다. 또한, 커널(141)은 미들웨어(143), API(145), 또는 어플리케이션 프로그램(147)에서 전자 장치(101)의 개별 구성요소에 접근함으로써, 시스템 리소스들을 제어 또는 관리할 수 있는 인터페이스를 제공할 수 있다. Memory 130 may include volatile and / or non-volatile memory. Memory 130 may store instructions or data related to at least one other component of electronic device 101, for example. According to one embodiment, the memory 130 may store software and / or programs 140. The program 140 may include, for example, a kernel 141, a middleware 143, an application programming interface (API) 145, and / or an application program . At least some of the kernel 141, middleware 143, or API 145 may be referred to as an operating system. The kernel 141 may include system resources used to execute an operation or function implemented in other programs (e.g., middleware 143, API 145, or application program 147) (E.g., bus 110, processor 120, or memory 130). The kernel 141 also provides an interface to control or manage system resources by accessing individual components of the electronic device 101 in the middleware 143, API 145, or application program 147 .

미들웨어(143)는, 예를 들면, API(145) 또는 어플리케이션 프로그램(147)이 커널(141)과 통신하여 데이터를 주고받을 수 있도록 중개 역할을 수행할 수 있다. 또한, 미들웨어(143)는 어플리케이션 프로그램(147)으로부터 수신된 하나 이상의 작업 요청들을 우선 순위에 따라 처리할 수 있다. 예를 들면, 미들웨어(143)는 어플리케이션 프로그램(147) 중 적어도 하나에 전자 장치(101)의 시스템 리소스(예: 버스(110), 프로세서(120), 또는 메모리(130) 등)를 사용할 수 있는 우선 순위를 부여하고, 상기 하나 이상의 작업 요청들을 처리할 수 있다. API(145)는 어플리케이션(147)이 커널(141) 또는 미들웨어(143)에서 제공되는 기능을 제어하기 위한 인터페이스로, 예를 들면, 파일 제어, 창 제어, 영상 처리, 또는 문자 제어 등을 위한 적어도 하나의 인터페이스 또는 함수(예: 명령어)를 포함할 수 있다. 입출력 인터페이스(150)는, 예를 들면, 사용자 또는 다른 외부 기기로부터 입력된 명령 또는 데이터를 전자 장치(101)의 다른 구성요소(들)에 전달하거나, 또는 전자 장치(101)의 다른 구성요소(들)로부터 수신된 명령 또는 데이터를 사용자 또는 다른 외부 기기로 출력할 수 있다. The middleware 143 can perform an intermediary role such that the API 145 or the application program 147 can communicate with the kernel 141 to exchange data. In addition, the middleware 143 may process one or more task requests received from the application program 147 according to the priority order. For example, middleware 143 may use system resources (e.g., bus 110, processor 120, or memory 130, etc.) of electronic device 101 in at least one of application programs 147 Prioritize, and process the one or more task requests. The API 145 is an interface for the application 147 to control the functions provided by the kernel 141 or the middleware 143. The API 145 is an interface for controlling the functions provided by the application 141. For example, An interface or a function (e.g., a command). Output interface 150 may be configured to communicate commands or data entered from a user or other external device to another component (s) of the electronic device 101, or to another component (s) of the electronic device 101 ) To the user or other external device.

디스플레이(160)는, 예를 들면, 액정 디스플레이(LCD), 발광 다이오드(LED) 디스플레이, 유기 발광 다이오드(OLED) 디스플레이, 또는 마이크로 전자기계 시스템 (MEMS) 디스플레이, 또는 전자종이(electronic paper) 디스플레이를 포함할 수 있다. 디스플레이(160)는, 예를 들면, 사용자에게 각종 콘텐츠(예: 텍스트, 이미지, 비디오, 아이콘, 및/또는 심볼 등)을 표시할 수 있다. 디스플레이(160)는, 터치 스크린을 포함할 수 있으며, 예를 들면, 전자 펜 또는 사용자의 신체의 일부를 이용한 터치, 제스쳐, 근접, 또는 호버링 입력을 수신할 수 있다. 통신 인터페이스(170)는, 예를 들면, 전자 장치(101)와 외부 장치(예: 제 1 외부 전자 장치(102), 제 2 외부 전자 장치(104), 또는 서버(106)) 간의 통신을 설정할 수 있다. 예를 들면, 통신 인터페이스(170)는 무선 통신 또는 유선 통신을 통해서 네트워크(162)에 연결되어 외부 장치(예: 제 2 외부 전자 장치(104) 또는 서버(106))와 통신할 수 있다.The display 160 may include a display such as, for example, a liquid crystal display (LCD), a light emitting diode (LED) display, an organic light emitting diode (OLED) display, or a microelectromechanical system (MEMS) display, or an electronic paper display . Display 160 may display various content (e.g., text, images, video, icons, and / or symbols, etc.) to a user, for example. Display 160 may include a touch screen and may receive a touch, gesture, proximity, or hovering input using, for example, an electronic pen or a portion of the user's body. The communication interface 170 establishes communication between the electronic device 101 and an external device (e.g., the first external electronic device 102, the second external electronic device 104, or the server 106) . For example, communication interface 170 may be connected to network 162 via wireless or wired communication to communicate with an external device (e.g., second external electronic device 104 or server 106).

무선 통신은, 예를 들면, LTE, LTE-A(LTE Advance), CDMA(code division multiple access), WCDMA(wideband CDMA), UMTS(universal mobile telecommunications system), WiBro(Wireless Broadband), 또는 GSM(Global System for Mobile Communications) 등 중 적어도 하나를 사용하는 셀룰러 통신을 포함할 수 있다. 한 실시예에 따르면, 무선 통신은, 예를 들면, WiFi(wireless fidelity), 블루투스, 블루투스 저전력(BLE), 지그비(Zigbee), NFC(near field communication), 자력 시큐어 트랜스미션(Magnetic Secure Transmission), 라디오 프리퀀시(RF), 또는 보디 에어리어 네트워크(BAN) 중 적어도 하나를 포함할 수 있다. 한실시예에 따르면, 무선 통신은 GNSS를 포함할 수 있다. GNSS는, 예를 들면, GPS(Global Positioning System), Glonass(Global Navigation Satellite System), Beidou Navigation Satellite System(이하 “Beidou”) 또는 Galileo, the European global satellite-based navigation system일 수 있다. 이하, 본 문서에서는, “GPS”는 “GNSS”와 상호 호환적으로 사용될 수 있다. 유선 통신은, 예를 들면, USB(universal serial bus), HDMI(high definition multimedia interface), RS-232(recommended standard232), 전력선 통신, 또는 POTS(plain old telephone service) 등 중 적어도 하나를 포함할 수 있다. 네트워크(162)는 텔레커뮤니케이션 네트워크, 예를 들면, 컴퓨터 네트워크(예: LAN 또는 WAN), 인터넷, 또는 텔레폰 네트워크 중 적어도 하나를 포함할 수 있다.The wireless communication may include, for example, LTE, LTE-A (LTE Advance), code division multiple access (CDMA), wideband CDMA (WCDMA), universal mobile telecommunications system (UMTS), wireless broadband (WiBro) System for Mobile Communications), and the like. According to one embodiment, the wireless communication may be wireless communication, such as wireless fidelity (WiFi), Bluetooth, Bluetooth low power (BLE), Zigbee, NFC, Magnetic Secure Transmission, Frequency (RF), or body area network (BAN). According to one example, wireless communication may include GNSS. GNSS may be, for example, Global Positioning System (GPS), Global Navigation Satellite System (Glonass), Beidou Navigation Satellite System (Beidou) or Galileo, the European global satellite-based navigation system. Hereinafter, in this document, " GPS " can be used interchangeably with " GNSS ". The wired communication may include, for example, at least one of a universal serial bus (USB), a high definition multimedia interface (HDMI), a recommended standard 232 (RS-232), a power line communication or a plain old telephone service have. Network 162 may include at least one of a telecommunications network, e.g., a computer network (e.g., LAN or WAN), the Internet, or a telephone network.

제 1 및 제 2 외부 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 다양한 실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 다른 하나 또는 복수의 전자 장치(예: 전자 장치(102,104), 또는 서버(106)에서 실행될 수 있다. 한 실시예에 따르면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로 또는 요청에 의하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 그와 연관된 적어도 일부 기능을 다른 장치(예: 전자 장치(102, 104), 또는 서버(106))에게 요청할 수 있다. 다른 전자 장치(예: 전자 장치(102, 104), 또는 서버(106))는 요청된 기능 또는 추가 기능을 실행하고, 그 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 수신된 결과를 그대로 또는 추가적으로 처리하여 요청된 기능이나 서비스를 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.Each of the first and second external electronic devices 102, 104 may be the same or a different kind of device as the electronic device 101. According to various embodiments, all or a portion of the operations performed in the electronic device 101 may be performed in one or more other electronic devices (e.g., electronic devices 102, 104, or server 106). According to the present invention, when electronic device 101 is to perform a function or service automatically or on demand, electronic device 101 may perform at least some functions associated therewith instead of, or in addition to, (E.g., electronic device 102, 104, or server 106) may request the other device (e.g., electronic device 102, 104, or server 106) Perform additional functions, and forward the results to the electronic device 101. The electronic device 101 may process the received results as is or additionally to provide the requested functionality or services. For example, Cloud computing, distributed computing, or client-server computing techniques can be used.

도 2는 다양한 실시예에 따른 전자 장치(201)의 블록도이다. 전자 장치(201)는, 예를 들면, 도 1에 도시된 전자 장치(101)의 전체 또는 일부를 포함할 수 있다. 전자 장치(201)는 하나 이상의 프로세서(예: AP)(210), 통신 모듈(220), (가입자 식별 모듈(224), 메모리(230), 센서 모듈(240), 입력 장치(250), 디스플레이(260), 인터페이스(270), 오디오 모듈(280), 카메라 모듈(291), 전력 관리 모듈(295), 배터리(296), 인디케이터(297), 및 모터(298) 를 포함할 수 있다. 프로세서(210)는, 예를 들면, 운영 체제 또는 응용 프로그램을 구동하여 프로세서(210)에 연결된 다수의 하드웨어 또는 소프트웨어 구성요소들을 제어할 수 있고, 각종 데이터 처리 및 연산을 수행할 수 있다. 프로세서(210)는, 예를 들면, SoC(system on chip) 로 구현될 수 있다. 한 실시예에 따르면, 프로세서(210)는 GPU(graphic processing unit) 및/또는 이미지 신호 프로세서를 더 포함할 수 있다. 프로세서(210)는 도 2에 도시된 구성요소들 중 적어도 일부(예: 셀룰러 모듈(221))를 포함할 수도 있다. 프로세서(210) 는 다른 구성요소들(예: 비휘발성 메모리) 중 적어도 하나로부터 수신된 명령 또는 데이터를 휘발성 메모리에 로드)하여 처리하고, 결과 데이터를 비휘발성 메모리에 저장할 수 있다.2 is a block diagram of an electronic device 201 according to various embodiments. The electronic device 201 may include all or part of the electronic device 101 shown in Fig. 1, for example. The electronic device 201 may include one or more processors (e.g., AP) 210, a communications module 220, a subscriber identification module 224, a memory 230, a sensor module 240, an input device 250, An interface 270, an audio module 280, a camera module 291, a power management module 295, a battery 296, an indicator 297, and a motor 298. The processor 290, The processor 210 may be, for example, an operating system or an application program to control a plurality of hardware or software components coupled to the processor 210, and to perform various data processing and operations. ) May be implemented, for example, as a system on chip (SoC). According to one embodiment, the processor 210 may further include a graphics processing unit (GPU) and / or an image signal processor. The cellular module 210 may include at least some of the components shown in Figure 2 (e.g., the cellular module 221) The processor 210 other components: processing by loading the command or data received from at least one (e.g., non-volatile memory) in the volatile memory) and can store the result data into the nonvolatile memory.

통신 모듈(220)(예: 통신 인터페이스(170))와 동일 또는 유사한 구성을 가질 수 있다. 통신 모듈(220)은, 예를 들면, 셀룰러 모듈(221), WiFi 모듈(223), 블루투스 모듈(225), GNSS 모듈(227), NFC 모듈(228) 및 RF 모듈(229)를 포함할 수 있다. 셀룰러 모듈(221)은, 예를 들면, 통신망을 통해서 음성 통화, 영상 통화, 문자 서비스, 또는 인터넷 서비스 등을 제공할 수 있다. 한 실시예에 따르면, 셀룰러 모듈(221)은 가입자 식별 모듈(예: SIM 카드)(224)을 이용하여 통신 네트워크 내에서 전자 장치(201)의 구별 및 인증을 수행할 수 있다. 한 실시예에 따르면, 셀룰러 모듈(221)은 프로세서(210)가 제공할 수 있는 기능 중 적어도 일부 기능을 수행할 수 있다. 한 실시예에 따르면, 셀룰러 모듈(221)은 커뮤니케이션 프로세서(CP)를 포함할 수 있다. 어떤 실시예에 따르면, 셀룰러 모듈(221), WiFi 모듈(223), 블루투스 모듈(225), GNSS 모듈(227) 또는 NFC 모듈(228) 중 적어도 일부(예: 두 개 이상)는 하나의 integrated chip(IC) 또는 IC 패키지 내에 포함될 수 있다. RF 모듈(229)은, 예를 들면, 통신 신호(예: RF 신호)를 송수신할 수 있다. RF 모듈(229)은, 예를 들면, 트랜시버, PAM(power amp module), 주파수 필터, LNA(low noise amplifier), 또는 안테나 등을 포함할 수 있다. 다른 실시예에 따르면, 셀룰러 모듈(221), WiFi 모듈(223), 블루투스 모듈(225), GNSS 모듈(227) 또는 NFC 모듈(228) 중 적어도 하나는 별개의 RF 모듈을 통하여 RF 신호를 송수신할 수 있다. 가입자 식별 모듈(224)은, 예를 들면, 가입자 식별 모듈을 포함하는 카드 또는 임베디드 SIM을 포함할 수 있으며, 고유한 식별 정보(예: ICCID(integrated circuit card identifier)) 또는 가입자 정보(예: IMSI(international mobile subscriber identity))를 포함할 수 있다. May have the same or similar configuration as communication module 220 (e.g., communication interface 170). The communication module 220 may include, for example, a cellular module 221, a WiFi module 223, a Bluetooth module 225, a GNSS module 227, an NFC module 228 and an RF module 229 have. The cellular module 221 can provide voice calls, video calls, text services, or Internet services, for example, over a communication network. According to one embodiment, the cellular module 221 may utilize a subscriber identity module (e.g., a SIM card) 224 to perform the identification and authentication of the electronic device 201 within the communication network. According to one embodiment, the cellular module 221 may perform at least some of the functions that the processor 210 may provide. According to one embodiment, the cellular module 221 may comprise a communications processor (CP). At least some (e.g., two or more) of the cellular module 221, the WiFi module 223, the Bluetooth module 225, the GNSS module 227, or the NFC module 228, according to some embodiments, (IC) or an IC package. The RF module 229 can, for example, send and receive communication signals (e.g., RF signals). The RF module 229 may include, for example, a transceiver, a power amplifier module (PAM), a frequency filter, a low noise amplifier (LNA), or an antenna. According to another embodiment, at least one of the cellular module 221, the WiFi module 223, the Bluetooth module 225, the GNSS module 227, or the NFC module 228 transmits / receives an RF signal through a separate RF module . The subscriber identification module 224 may include, for example, a card or an embedded SIM containing a subscriber identity module, and may include unique identification information (e.g., ICCID) or subscriber information (e.g., IMSI (international mobile subscriber identity).

메모리(230)(예: 메모리(130))는, 예를 들면, 내장 메모리(232) 또는 외장 메모리(234)를 포함할 수 있다. 내장 메모리(232)는, 예를 들면, 휘발성 메모리(예: DRAM, SRAM, 또는 SDRAM 등), 비휘발성 메모리(예: OTPROM(one time programmable ROM), PROM, EPROM, EEPROM, mask ROM, flash ROM, 플래시 메모리, 하드 드라이브, 또는 솔리드 스테이트 드라이브 (SSD) 중 적어도 하나를 포함할 수 있다. 외장 메모리(234)는 플래시 드라이브(flash drive), 예를 들면, CF(compact flash), SD(secure digital), Micro-SD, Mini-SD, xD(extreme digital), MMC(multi-media card) 또는 메모리 스틱 등을 포함할 수 있다. 외장 메모리(234)는 다양한 인터페이스를 통하여 전자 장치(201)와 기능적으로 또는 물리적으로 연결될 수 있다.Memory 230 (e.g., memory 130) may include, for example, internal memory 232 or external memory 234. Volatile memory (e.g., a DRAM, an SRAM, or an SDRAM), a non-volatile memory (e.g., an OTPROM, a PROM, an EPROM, an EEPROM, a mask ROM, a flash ROM , A flash memory, a hard drive, or a solid state drive (SSD). The external memory 234 may be a flash drive, for example, a compact flash (CF) ), Micro-SD, Mini-SD, extreme digital (xD), multi-media card (MMC), or memory stick, etc. External memory 234 may communicate with electronic device 201, Or may be physically connected.

센서 모듈(240)은, 예를 들면, 물리량을 계측하거나 전자 장치(201)의 작동 상태를 감지하여, 계측 또는 감지된 정보를 전기 신호로 변환할 수 있다. 센서 모듈(240)은, 예를 들면, 제스처 센서(240A), 자이로 센서(240B), 기압 센서(240C), 마그네틱 센서(240D), 가속도 센서(240E), 그립 센서(240F), 근접 센서(240G), 컬러(color) 센서(240H)(예: RGB(red, green, blue) 센서), 생체 센서(240I), 온/습도 센서(240J), 조도 센서(240K), 또는 UV(ultra violet) 센서(240M) 중의 적어도 하나를 포함할 수 있다. 추가적으로 또는 대체적으로, 센서 모듈(240)은, 예를 들면, 후각(e-nose) 센서, 일렉트로마이오그라피(EMG) 센서, 일렉트로엔씨팔로그램(EEG) 센서, 일렉트로카디오그램(ECG) 센서, IR(infrared) 센서, 홍채 센서 및/또는 지문 센서를 포함할 수 있다. 센서 모듈(240)은 그 안에 속한 적어도 하나 이상의 센서들을 제어하기 위한 제어 회로를 더 포함할 수 있다. 어떤 실시예에서는, 전자 장치(201)는 프로세서(210)의 일부로서 또는 별도로, 센서 모듈(240)을 제어하도록 구성된 프로세서를 더 포함하여, 프로세서(210)가 슬립(sleep) 상태에 있는 동안, 센서 모듈(240)을 제어할 수 있다.The sensor module 240 may, for example, measure a physical quantity or sense the operating state of the electronic device 201 to convert the measured or sensed information into an electrical signal. The sensor module 240 includes a gesture sensor 240A, a gyro sensor 240B, an air pressure sensor 240C, a magnetic sensor 240D, an acceleration sensor 240E, a grip sensor 240F, A temperature sensor 240G, a UV sensor 240G, a color sensor 240H (e.g., an RGB (red, green, blue) sensor), a living body sensor 240I, And a sensor 240M. Additionally or alternatively, the sensor module 240 may be configured to perform various functions such as, for example, an e-nose sensor, an electromyography (EMG) sensor, an electroencephalograph (EEG) sensor, an electrocardiogram An infrared (IR) sensor, an iris sensor, and / or a fingerprint sensor. The sensor module 240 may further include a control circuit for controlling at least one or more sensors belonging to the sensor module 240. In some embodiments, the electronic device 201 further includes a processor configured to control the sensor module 240, either as part of the processor 210 or separately, so that while the processor 210 is in a sleep state, The sensor module 240 can be controlled.

입력 장치(250)는, 예를 들면, 터치 패널(252), (디지털) 펜 센서(254), 키(256), 또는 초음파 입력 장치(258)를 포함할 수 있다. 터치 패널(252)은, 예를 들면, 정전식, 감압식, 적외선 방식, 또는 초음파 방식 중 적어도 하나의 방식을 사용할 수 있다. 또한, 터치 패널(252)은 제어 회로를 더 포함할 수도 있다. 터치 패널(252)은 택타일 레이어(tactile layer)를 더 포함하여, 사용자에게 촉각 반응을 제공할 수 있다. (디지털) 펜 센서(254)는, 예를 들면, 터치 패널의 일부이거나, 별도의 인식용 쉬트를 포함할 수 있다. 키(256)는, 예를 들면, 물리적인 버튼, 광학식 키, 또는 키패드를 포함할 수 있다. 초음파 입력 장치(258)는 마이크(예: 마이크(288))를 통해, 입력 도구에서 발생된 초음파를 감지하여, 상기 감지된 초음파에 대응하는 데이터를 확인할 수 있다.The input device 250 may include, for example, a touch panel 252, a (digital) pen sensor 254, a key 256, or an ultrasonic input device 258. As the touch panel 252, for example, at least one of an electrostatic type, a pressure sensitive type, an infrared type, and an ultrasonic type can be used. Further, the touch panel 252 may further include a control circuit. The touch panel 252 may further include a tactile layer to provide a tactile response to the user. (Digital) pen sensor 254 may be part of, for example, a touch panel or may include a separate recognition sheet. Key 256 may include, for example, a physical button, an optical key, or a keypad. The ultrasonic input device 258 can sense the ultrasonic wave generated by the input tool through the microphone (e.g., the microphone 288) and confirm the data corresponding to the ultrasonic wave detected.

디스플레이(260)(예: 디스플레이(160))는 패널(262), 홀로그램 장치(264), 프로젝터(266), 및/또는 이들을 제어하기 위한 제어 회로를 포함할 수 있다. 패널(262)은, 예를 들면, 유연하게, 투명하게, 또는 착용할 수 있게 구현될 수 있다. 패널(262)은 터치 패널(252)과 하나 이상의 모듈로 구성될 수 있다. 홀로그램 장치(264)는 빛의 간섭을 이용하여 입체 영상을 허공에 보여줄 수 있다. 프로젝터(266)는 스크린에 빛을 투사하여 영상을 표시할 수 있다. 스크린은, 예를 들면, 전자 장치(201)의 내부 또는 외부에 위치할 수 있다. 인터페이스(270)는, 예를 들면, HDMI(272), USB(274), 광 인터페이스(optical interface)(276), 또는 D-sub(D-subminiature)(278)를 포함할 수 있다. 인터페이스(270)는, 예를 들면, 도 1에 도시된 통신 인터페이스(170)에 포함될 수 있다. 추가적으로 또는 대체적으로, 인터페이스(270)는, 예를 들면, MHL(mobile high-definition link) 인터페이스, SD카드/MMC(multi-media card) 인터페이스, 또는 IrDA(infrared data association) 규격 인터페이스를 포함할 수 있다. Display 260 (e.g., display 160) may include panel 262, hologram device 264, projector 266, and / or control circuitry for controlling them. The panel 262 may be embodied, for example, flexibly, transparently, or wearably. The panel 262 may comprise a touch panel 252 and one or more modules. The hologram device 264 can display a stereoscopic image in the air using interference of light. The projector 266 can display an image by projecting light onto a screen. The screen may be located, for example, inside or outside the electronic device 201. The interface 270 may include, for example, an HDMI 272, a USB 274, an optical interface 276, or a D-sub (D-subminiature) 278. The interface 270 may, for example, be included in the communication interface 170 shown in FIG. Additionally or alternatively, the interface 270 may include, for example, a mobile high-definition link (MHL) interface, an SD card / multi-media card (MMC) interface, or an infrared data association have.

오디오 모듈(280)은, 예를 들면, 소리와 전기 신호를 쌍방향으로 변환시킬 수 있다. 오디오 모듈(280)의 적어도 일부 구성요소는, 예를 들면, 도 1 에 도시된 입출력 인터페이스(145)에 포함될 수 있다. 오디오 모듈(280)은, 예를 들면, 스피커(282), 리시버(284), 이어폰(286), 또는 마이크(288) 등을 통해 입력 또는 출력되는 소리 정보를 처리할 수 있다. 카메라 모듈(291)은, 예를 들면, 정지 영상 및 동영상을 촬영할 수 있는 장치로서, 한 실시예에 따르면, 하나 이상의 이미지 센서(예: 전면 센서 또는 후면 센서), 렌즈, 이미지 시그널 프로세서(ISP), 또는 플래시(예: LED 또는 xenon lamp 등)를 포함할 수 있다. 전력 관리 모듈(295)은, 예를 들면, 전자 장치(201)의 전력을 관리할 수 있다. 한 실시예에 따르면, 전력 관리 모듈(295)은 PMIC(power management integrated circuit), 충전 IC, 또는 배터리 또는 연료 게이지를 포함할 수 있다. PMIC는, 유선 및/또는 무선 충전 방식을 가질 수 있다. 무선 충전 방식은, 예를 들면, 자기공명 방식, 자기유도 방식 또는 전자기파 방식 등을 포함하며, 무선 충전을 위한 부가적인 회로, 예를 들면, 코일 루프, 공진 회로, 또는 정류기 등을 더 포함할 수 있다. 배터리 게이지는, 예를 들면, 배터리(296)의 잔량, 충전 중 전압, 전류, 또는 온도를 측정할 수 있다. 배터리(296)는, 예를 들면, 충전식 전지 및/또는 태양 전지를 포함할 수 있다. The audio module 280 can, for example, convert sound and electrical signals in both directions. At least some of the components of the audio module 280 may be included, for example, in the input / output interface 145 shown in FIG. The audio module 280 may process sound information input or output through, for example, a speaker 282, a receiver 284, an earphone 286, a microphone 288, or the like. The camera module 291 is, for example, a device capable of capturing still images and moving images, and according to one embodiment, one or more image sensors (e.g., a front sensor or a rear sensor), a lens, an image signal processor (ISP) , Or flash (e.g., an LED or xenon lamp, etc.). The power management module 295 can, for example, manage the power of the electronic device 201. [ According to one embodiment, the power management module 295 may include a power management integrated circuit (PMIC), a charging IC, or a battery or fuel gauge. The PMIC may have a wired and / or wireless charging scheme. The wireless charging scheme may include, for example, a magnetic resonance scheme, a magnetic induction scheme, or an electromagnetic wave scheme, and may further include an additional circuit for wireless charging, for example, a coil loop, a resonant circuit, have. The battery gauge can measure, for example, the remaining amount of the battery 296, the voltage during charging, the current, or the temperature. The battery 296 may include, for example, a rechargeable battery and / or a solar cell.

인디케이터(297)는 전자 장치(201) 또는 그 일부(예: 프로세서(210))의 특정 상태, 예를 들면, 부팅 상태, 메시지 상태 또는 충전 상태 등을 표시할 수 있다. 모터(298)는 전기적 신호를 기계적 진동으로 변환할 수 있고, 진동, 또는 햅틱 효과 등을 발생시킬 수 있다. 전자 장치(201)는, 예를 들면, DMB(digital multimedia broadcasting), DVB(digital video broadcasting), 또는 미디어플로(mediaFloTM) 등의 규격에 따른 미디어 데이터를 처리할 수 있는 모바일 TV 지원 장치(예: GPU)를 포함할 수 있다. 본 문서에서 기술된 구성요소들 각각은 하나 또는 그 이상의 부품(component)으로 구성될 수 있으며, 해당 구성요소의 명칭은 전자 장치의 종류에 따라서 달라질 수 있다. 다양한 실시예에서, 전자 장치(예: 전자 장치(201))는 일부 구성요소가 생략되거나, 추가적인 구성요소를 더 포함하거나, 또는, 구성요소들 중 일부가 결합되어 하나의 개체로 구성되되, 결합 이전의 해당 구성요소들의 기능을 동일하게 수행할 수 있다.The indicator 297 may indicate a particular state of the electronic device 201 or a portion thereof (e.g., processor 210), e.g., a boot state, a message state, or a state of charge. The motor 298 can convert the electrical signal to mechanical vibration, and can generate vibration, haptic effects, and the like. The electronic device 201 is a mobile TV support device capable of processing media data conforming to specifications such as digital multimedia broadcasting (DMB), digital video broadcasting (DVB), or media flow (TM) GPU). Each of the components described in this document may be composed of one or more components, and the name of the component may be changed according to the type of the electronic device. In various embodiments, an electronic device (e. G., Electronic device 201) may have some components omitted, further include additional components, or some of the components may be combined into one entity, The functions of the preceding components can be performed in the same manner.

도 3은 다양한 실시예에 따른 프로그램 모듈의 블록도이다. 한 실시예에 따르면, 프로그램 모듈(310)(예: 프로그램(140))은 전자 장치(예: 전자 장치(101))에 관련된 자원을 제어하는 운영 체제 및/또는 운영 체제 상에서 구동되는 다양한 어플리케이션(예: 어플리케이션 프로그램(147))을 포함할 수 있다. 운영 체제는, 예를 들면, AndroidTM, iOSTM, WindowsTM, SymbianTM, TizenTM, 또는 BadaTM를 포함할 수 있다. 도 3을 참조하면, 프로그램 모듈(310)은 커널(320)(예: 커널(141)), 미들웨어(330)(예: 미들웨어(143)), (API(360)(예: API(145)), 및/또는 어플리케이션(370)(예: 어플리케이션 프로그램(147))을 포함할 수 있다. 프로그램 모듈(310)의 적어도 일부는 전자 장치 상에 프리로드 되거나, 외부 전자 장치(예: 전자 장치(102, 104), 서버(106) 등)로부터 다운로드 가능하다.3 is a block diagram of a program module according to various embodiments. According to one embodiment, program module 310 (e.g., program 140) includes an operating system that controls resources associated with an electronic device (e.g., electronic device 101) and / E.g., an application program 147). The operating system may include, for example, AndroidTM, iOSTM, WindowsTM, SymbianTM, TizenTM, or BadaTM. 3, program module 310 includes a kernel 320 (e.g., kernel 141), middleware 330 (e.g., middleware 143), API 360 (e.g., API 145) ), And / or an application 370 (e.g., an application program 147). At least a portion of the program module 310 may be preloaded on an electronic device, 102 and 104, a server 106, and the like).

커널(320)은, 예를 들면, 시스템 리소스 매니저(321) 및/또는 디바이스 드라이버(323)를 포함할 수 있다. 시스템 리소스 매니저(321)는 시스템 리소스의 제어, 할당, 또는 회수를 수행할 수 있다. 한 실시예에 따르면, 시스템 리소스 매니저(321)는 프로세스 관리부, 메모리 관리부, 또는 파일 시스템 관리부를 포함할 수 있다. 디바이스 드라이버(323)는, 예를 들면, 디스플레이 드라이버, 카메라 드라이버, 블루투스 드라이버, 공유 메모리 드라이버, USB 드라이버, 키패드 드라이버, WiFi 드라이버, 오디오 드라이버, 또는 IPC(inter-process communication) 드라이버를 포함할 수 있다. 미들웨어(330)는, 예를 들면, 어플리케이션(370)이 공통적으로 필요로 하는 기능을 제공하거나, 어플리케이션(370)이 전자 장치 내부의 제한된 시스템 자원을 사용할 수 있도록 API(360)를 통해 다양한 기능들을 어플리케이션(370)으로 제공할 수 있다. 한 실시예에 따르면, 미들웨어(330) 는 런타임 라이브러리(335), 어플리케이션 매니저(341), 윈도우 매니저(342), 멀티미디어 매니저(343), 리소스 매니저(344), 파워 매니저(345), 데이터베이스 매니저(346), 패키지 매니저(347), 커넥티비티 매니저(348), 노티피케이션 매니저(349), 로케이션 매니저(350), 그래픽 매니저(351), 또는 시큐리티 매니저(352) 중 적어도 하나를 포함할 수 있다.The kernel 320 may include, for example, a system resource manager 321 and / or a device driver 323. The system resource manager 321 can perform control, allocation, or recovery of system resources. According to one embodiment, the system resource manager 321 may include a process manager, a memory manager, or a file system manager. The device driver 323 may include, for example, a display driver, a camera driver, a Bluetooth driver, a shared memory driver, a USB driver, a keypad driver, a WiFi driver, an audio driver, or an inter-process communication . The middleware 330 may provide various functions through the API 360, for example, to provide functions that are commonly needed by the application 370 or allow the application 370 to use limited system resources within the electronic device. Application 370 as shown in FIG. According to one embodiment, the middleware 330 includes a runtime library 335, an application manager 341, a window manager 342, a multimedia manager 343, a resource manager 344, a power manager 345, a database manager The location manager 350, the graphic manager 351, or the security manager 352. In this case, the service manager 341 may be a service manager, a service manager, a service manager, a package manager 346, a package manager 347, a connectivity manager 348, a notification manager 349,

런타임 라이브러리(335)는, 예를 들면, 어플리케이션(370)이 실행되는 동안에 프로그래밍 언어를 통해 새로운 기능을 추가하기 위해 컴파일러가 사용하는 라이브러리 모듈을 포함할 수 있다. 런타임 라이브러리(335)는 입출력 관리, 메모리 관리, 또는 산술 함수 처리를 수행할 수 있다. 어플리케이션 매니저(341)는, 예를 들면, 어플리케이션(370)의 생명 주기를 관리할 수 있다. 윈도우 매니저(342)는 화면에서 사용되는 GUI 자원을 관리할 수 있다. 멀티미디어 매니저(343)는 미디어 파일들의 재생에 필요한 포맷을 파악하고, 해당 포맷에 맞는 코덱을 이용하여 미디어 파일의 인코딩 또는 디코딩을 수행할 수 있다. 리소스 매니저(344)는 어플리케이션(370)의 소스 코드 또는 메모리의 공간을 관리할 수 있다. 파워 매니저(345)는, 예를 들면, 배터리의 용량 또는 전원을 관리하고, 전자 장치의 동작에 필요한 전력 정보를 제공할 수 있다. 한 실시예에 따르면, 파워 매니저(345)는 바이오스(BIOS: basic input/output system)와 연동할 수 있다. 데이터베이스 매니저(346)는, 예를 들면, 어플리케이션(370)에서 사용될 데이터베이스를 생성, 검색, 또는 변경할 수 있다. 패키지 매니저(347)는 패키지 파일의 형태로 배포되는 어플리케이션의 설치 또는 갱신을 관리할 수 있다. The runtime library 335 may include, for example, a library module that the compiler uses to add new functionality via a programming language while the application 370 is executing. The runtime library 335 may perform input / output management, memory management, or arithmetic function processing. The application manager 341 can manage the life cycle of the application 370, for example. The window manager 342 can manage GUI resources used in the screen. The multimedia manager 343 can recognize the format required for reproducing the media files and can perform encoding or decoding of the media file using a codec according to the format. The resource manager 344 can manage the source code of the application 370 or the space of the memory. The power manager 345 may, for example, manage the capacity or power of the battery and provide the power information necessary for operation of the electronic device. According to one embodiment, the power manager 345 may interoperate with a basic input / output system (BIOS). The database manager 346 may create, retrieve, or modify the database to be used in the application 370, for example. The package manager 347 can manage installation or update of an application distributed in the form of a package file.

커넥티비티 매니저(348)는, 예를 들면, 무선 연결을 관리할 수 있다. 노티피케이션 매니저(349)는, 예를 들면, 도착 메시지, 약속, 근접성 알림 등의 이벤트를 사용자에게 제공할 수 있다. 로케이션 매니저(350)는, 예를 들면, 전자 장치의 위치 정보를 관리할 수 있다. 예를 들어, 일 실시예에 따른 전자 장치(101, 201)는 일 어플리케이션에서 GMS(Google Mobile service)단으로 위치 요청을 하면 GMS가 근거리 네트워크(예: 무선 랜) 스캔을 하여 위치 정보를 획득할 수 있다.The connectivity manager 348 may, for example, manage the wireless connection. The notification manager 349 may provide the user with an event such as, for example, an arrival message, an appointment, a proximity notification, and the like. The location manager 350 can manage the location information of the electronic device, for example. For example, when an electronic device 101 or 201 according to an exemplary embodiment requests a location from a GMS (Google Mobile service) terminal in one application, the GMS scans a local area network (e.g., a wireless LAN) .

그래픽 매니저(351)는, 예를 들면, 사용자에게 제공될 그래픽 효과 또는 이와 관련된 사용자 인터페이스를 관리할 수 있다. 보안 매니저(352)는, 예를 들면, 시스템 보안 또는 사용자 인증을 제공할 수 있다. 한 실시예에 따르면, 미들웨어(330)는 전자 장치의 음성 또는 영상 통화 기능을 관리하기 위한 통화(telephony) 매니저 또는 전술된 구성요소들의 기능들의 조합을 형성할 수 있는 하는 미들웨어 모듈을 포함할 수 있다. 한 실시예에 따르면, 미들웨어(330)는 운영 체제의 종류 별로 특화된 모듈을 제공할 수 있다. 미들웨어(330)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다. API(360)는, 예를 들면, API 프로그래밍 함수들의 집합으로, 운영 체제에 따라 다른 구성으로 제공될 수 있다. 예를 들면, 안드로이드 또는 iOS의 경우, 플랫폼 별로 하나의 API 셋을 제공할 수 있으며, 타이젠의 경우, 플랫폼 별로 두 개 이상의 API 셋을 제공할 수 있다.The graphic manager 351 may, for example, manage the graphical effects to be presented to the user or a user interface associated therewith. Security manager 352 may provide, for example, system security or user authentication. According to one embodiment, the middleware 330 may include a telephony manager for managing the voice or video call function of the electronic device, or a middleware module capable of forming a combination of the functions of the above-described components . According to one embodiment, the middleware 330 may provide a module specialized for each type of operating system. Middleware 330 may dynamically delete some existing components or add new ones. The API 360 may be provided in a different configuration depending on the operating system, for example, as a set of API programming functions. For example, for Android or iOS, you can provide a single API set for each platform, and for Tizen, you can provide two or more API sets for each platform.

어플리케이션(370)은, 예를 들면, 홈(371), 다이얼러(372), SMS/MMS(373), IM(instant message)(374), 브라우저(375), 카메라(376), 알람(377), 컨택트(378), 음성 다이얼(379), 이메일(380), 달력(381), 미디어 플레이어(382), 앨범(383), 와치(384), 헬스 케어(예: 운동량 또는 혈당 등을 측정), 또는 환경 정보(예: 기압, 습도, 또는 온도 정보), 위치 정보(미도시) 제공 어플리케이션을 포함할 수 있다. 다양한 실시예에 따르면 위치 정보 제공 어플리케이션은 지도 어플리케이션, 또는 내비게이션(navigation) 어플리케이션을 포함할 수 있다. The application 370 may include a home 371, a dialer 372, an SMS / MMS 373, an instant message 374, a browser 375, a camera 376, an alarm 377, Contact 378, voice dial 379, email 380, calendar 381, media player 382, album 383, watch 384, healthcare (e.g., measuring exercise or blood glucose) , Or environmental information (e.g., air pressure, humidity, or temperature information), and location information (not shown). According to various embodiments, the location information providing application may include a map application or a navigation application.

한 실시예에 따르면, 어플리케이션(370)은 전자 장치와 외부 전자 장치 사이의 정보 교환을 지원할 수 있는 정보 교환 어플리케이션을 포함할 수 있다. 정보 교환 어플리케이션은, 예를 들면, 외부 전자 장치에 특정 정보를 전달하기 위한 노티피케이션 릴레이 어플리케이션, 또는 외부 전자 장치를 관리하기 위한 장치 관리 어플리케이션을 포함할 수 있다. 예를 들면, 알림 전달 어플리케이션은 전자 장치의 다른 어플리케이션에서 발생된 알림 정보를 외부 전자 장치로 전달하거나, 또는 외부 전자 장치로부터 알림 정보를 수신하여 사용자에게 제공할 수 있다. 장치 관리 어플리케이션은, 예를 들면, 전자 장치와 통신하는 외부 전자 장치의 기능(예: 외부 전자 장치 자체(또는, 일부 구성 부품)의 턴-온/턴-오프 또는 디스플레이의 밝기(또는, 해상도) 조절), 또는 외부 전자 장치에서 동작하는 어플리케이션을 설치, 삭제, 또는 갱신할 수 있다. 한 실시예에 따르면, 어플리케이션(370)은 외부 전자 장치의 속성에 따라 지정된 어플리케이션(예: 모바일 의료 기기의 건강 관리 어플리케이션)을 포함할 수 있다. 한 실시예에 따르면, 어플리케이션(370)은 외부 전자 장치로부터 수신된 어플리케이션을 포함할 수 있다. 프로그램 모듈(310)의 적어도 일부는 소프트웨어, 펌웨어, 하드웨어(예: 프로세서(210)), 또는 이들 중 적어도 둘 이상의 조합으로 구현(예: 실행)될 수 있으며, 하나 이상의 기능을 수행하기 위한 모듈, 프로그램, 루틴, 명령어 세트 또는 프로세스를 포함할 수 있다.According to one embodiment, the application 370 may include an information exchange application capable of supporting the exchange of information between the electronic device and the external electronic device. The information exchange application may include, for example, a notification relay application for communicating specific information to an external electronic device, or a device management application for managing an external electronic device. For example, the notification delivery application can transmit notification information generated in another application of the electronic device to the external electronic device, or receive notification information from the external electronic device and provide the notification information to the user. The device management application may, for example, control the turn-on / turn-off or brightness (or resolution) of an external electronic device in communication with the electronic device (e.g., the external electronic device itself Control), or install, delete, or update an application running on an external electronic device. According to one embodiment, the application 370 may include an application (e.g., a healthcare application of a mobile medical device) designated according to the attributes of the external electronic device. According to one embodiment, the application 370 may include an application received from an external electronic device. At least some of the program modules 310 may be implemented (e.g., executed) in software, firmware, hardware (e.g., processor 210), or a combination of at least two of the same, Program, routine, instruction set or process.

도 4a는 본 발명의 다양한 실시예에 따른 전자 장치(400)의 블록도를 도시한다.4A shows a block diagram of an electronic device 400 in accordance with various embodiments of the present invention.

본 발명의 다양한 실시예에 따른 전자 장치(400)는 프로세서(410), 메모리(420), 센서 모듈(430) 및 통신 모듈(440)을 포함할 수 있다. 일 실시예에 따른 전자 장치(400)는 도 1에 도시된 전자 장치(101) 및/또는 도2에 도시된 전자 장치(201)일 수 있다. 일 실시예에 따른 프로세서(410)는 도1에 도시된 프로세서(120) 및/또는 도2에 도시된 프로세서(210)일 수 있다. 일 실시예에 따른 메모리(420)는 도1에 도시된 메모리(130) 및/또는 도2에 도시된 메모리(230)일 수 있다. 일 실시예에 따른 센서 모듈(430)은 도2에 도시된 센서 모듈(240)이거나 센서 모듈(240)에 포함된 적어도 일 센서를 포함할 수 있다. 일 실시예에 따른 통신 모듈(440)은 도1에 도시된 통신 인터페이스(170) 및/또는 도2에 도시된 통신 모듈(220)일 수 있다. 일 실시예에 따른 전자 장치(400)의 구성요소는 추가되거나 생략될 수 있다.An electronic device 400 according to various embodiments of the present invention may include a processor 410, a memory 420, a sensor module 430 and a communication module 440. The electronic device 400 according to one embodiment may be the electronic device 101 shown in Fig. 1 and / or the electronic device 201 shown in Fig. The processor 410 according to one embodiment may be the processor 120 shown in FIG. 1 and / or the processor 210 shown in FIG. The memory 420 according to one embodiment may be the memory 130 shown in FIG. 1 and / or the memory 230 shown in FIG. The sensor module 430 according to one embodiment may include the sensor module 240 shown in FIG. 2 or at least one sensor included in the sensor module 240. The communication module 440 according to one embodiment may be the communication interface 170 shown in FIG. 1 and / or the communication module 220 shown in FIG. The components of the electronic device 400 according to one embodiment may be added or omitted.

본 발명의 일 실시예에 따른 프로세서(410)는 근거리 네트워크(예: 무선 랜(WLAN: Wireless local area network)) 정보 스캔을 요청하는 신호를 수신할 수 있다. 상기 무선 랜 스캔이란 전자 장치(400)가 일 외부 장치(예: AP(access point), 서버(server) 등)와 연결하기 위해 패킷(packet)을 송수신하는 것을 의미할 수 있다. 일 실시예에 따른 전자 장치(400)는 통신 모듈(440)을 통해 일 외부 장치와 패킷을 송수신함으로써 관련 정보를 전달하거나 연결을 수립할 수 있다. The processor 410 in accordance with an embodiment of the present invention may receive a signal requesting a local area network (e.g., wireless local area network (WLAN)) information scan. The wireless LAN scan may mean that the electronic device 400 transmits and receives a packet to connect with an external device (e.g., an access point (AP), a server, or the like). The electronic device 400 according to an exemplary embodiment may transmit the related information or establish a connection by transmitting and receiving a packet with the external device through the communication module 440.

예를 들면, 프로세서(410)(예: 도 3의 위치 매니저(350))는 무선 랜 요청 신호를 수신하는 경우 스캔을 위한 probe request 패킷을 일 외부 장치(예: 도 1의 네트워크(162), 서버(106))로 송신하고, 일 외부 장치로부터 상기 패킷에 대한 응답으로 관련 데이터를 수신할 수 있다. 프로세서(410)는 수신한 데이터를 기반으로 스캔 요청이 완료 되었는지 여부를 확인할 수 있다. 일 실시예에 따른 프로세서(410)는 일 외부 장치로부터 수신한 스캔 정보를 메모리(420)(예: 도 2의 메모리(230) 또는 통신 모듈(220의 메모리(미도시))에 저장할 수 있다. For example, the processor 410 (e.g., location manager 350 of FIG. 3) may send a probe request packet for scanning to one external device (e.g., network 162 of FIG. 1, Server 106), and may receive relevant data in response to the packet from one external device. The processor 410 may determine whether a scan request has been completed based on the received data. Processor 410 according to one embodiment may store scan information received from one external device in memory 420 (e.g., memory 230 of FIG. 2 or memory (not shown) of communication module 220).

본 발명의 일 실시예에 따른 프로세서(410)는 어플리케이션이 활성화되는 경우 무선 랜 스캔을 요청하는 신호를 수신할 수 있다. 예를 들면, 프로세서(410) (예: 도 3의 위치 매니저(350))는 위치 기반 서비스를 제공하는 어플리케이션(예: 지도 어플리케이션, 내비게이션(navigation) 어플리케이션 등)으로부터 무선 랜 스캔을 요청하는 신호를 수신할 수 있다. 또 다른 예를 들면, 프로세서(410)는 위치 기반 서비스를 제공하지 않는 어플리케이션(예: 와이파이(WiFi: Wireless-Fidelity) 매니저 어플리케이션 등)으로부터 무선 랜 스캔을 요청하는 신호를 수신할 수 있다.The processor 410 according to an exemplary embodiment of the present invention may receive a signal requesting a wireless LAN scan when an application is activated. For example, processor 410 (e.g., location manager 350 in FIG. 3) may send a signal requesting a wireless LAN scan from an application (e.g., a map application, navigation application, etc.) . In another example, the processor 410 may receive a signal requesting a wireless LAN scan from an application (e.g., a Wi-Fi (Wi-Fi) manager application or the like) that does not provide location-based services.

본 발명의 일 실시예에 따른 프로세서(410)는 무선 랜 요청신호와 연관된 어플리케이션이 위치 기반 서비스를 제공하는 지 여부를 확인할 수 있다. 일 실시예에 따른 프로세서(410)는 위치 기반 서비스를 제공하는 어플리케이션의 고유 정보(예: 패키지 이름(package name) 등)를 기반으로 어플리케이션들을 구분할 수 있다. 일 실시예에 따른 프로세서(410)는 어플리케이션을 메모리(420)에 저장 시 또는 그 이후에 별도의 어플리케이션 등록 정보를 저장할 수 있다. 일 실시예에 따른 프로세서(410)는 무선 랜 요청 신호를 수신하는 경우 미리 저장된 어플리케이션 관련 정보를 기반으로 해당 어플리케이션이 위치 기반 서비스를 제공하는 지 여부를 확인할 수 있다.The processor 410 according to an embodiment of the present invention can confirm whether or not the application associated with the wireless LAN request signal provides the location based service. The processor 410 according to one embodiment can distinguish applications based on unique information (e.g., package name, etc.) of an application providing a location-based service. The processor 410 according to one embodiment may store separate application registration information when the application is stored in the memory 420 or thereafter. When receiving the wireless LAN request signal, the processor 410 according to an exemplary embodiment may determine whether a corresponding application provides a location based service based on previously stored application related information.

본 발명의 일 실시예에 따른 프로세서(410)는 전자 장치(400)의 움직임에 대응하는 값이 지정된 임계값을 초과하는 지 여부를 판단할 수 있다. 일 실시예에 따른 프로세서(410)는 센서 모듈(430)에 포함된 일 센서(예: 제스처 센서, 자이로 센서, 가속도 센서 등)에 의해 감지된 전자 장치(400)의 움직임 정보에 대응하는 값을 확인할 수 있다. 예를 들어, 프로세서(410)는 가속도 센서에서 감지된 전자 장치(400)의 움직임 정보를 기반으로, 전자 장치(400)가 1m/s의 속도를 갖고 이동할 수 있음을 확인할 수 있다. 프로세서(410)는 1m/s의 값이 지정된 임계값을 초과하는 지 여부를 판단할 수 있다. 상기 지정된 임계값은 고정되거나 변경될 수 있다. 예를 들어, 지정된 임계값은 3cm/s, 2cm/s, 1cm/s 등 다양하게 설정될 수 있다. The processor 410 in accordance with an embodiment of the present invention may determine whether a value corresponding to the motion of the electronic device 400 exceeds a specified threshold. The processor 410 according to an exemplary embodiment calculates a value corresponding to motion information of the electronic device 400 sensed by one sensor (e.g., a gesture sensor, a gyro sensor, an acceleration sensor, etc.) included in the sensor module 430 Can be confirmed. For example, the processor 410 can confirm that the electronic device 400 can move at a speed of 1 m / s, based on the motion information of the electronic device 400 sensed by the acceleration sensor. Processor 410 may determine whether a value of 1 m / s exceeds a specified threshold. The designated threshold value may be fixed or changed. For example, the specified threshold value can be set to various values such as 3 cm / s, 2 cm / s, 1 cm / s, and the like.

일 실시예에 따른 상기 임계값은, 센서의 민감도에 기반하여 더 높거나 낮게 조절될 수 있다. 상기 스캔을 트리거하는 조건은 임계값뿐 아니라, 움직임에 대한 모드(mode, status, level, range) 에 대응하여 스캔을 트리거할 수 있다. 예를 들어 상기 스캔을 트리거하는 조건은 정지 상태, 걷기 상태, 달리기 상태, 자동 차 상태 모드에 대응하여 스캔을 트리거 할 수 있다.The threshold according to one embodiment may be adjusted higher or lower based on the sensitivity of the sensor. The condition triggering the scan may trigger a scan corresponding to a mode (mode, status, level, range) of motion as well as a threshold. For example, the condition triggering the scan may trigger a scan in response to a stop state, a walking state, a running state, and an automobile state mode.

본 발명의 일 실시예에 따른 프로세서(410)는 상기 어플리케이션이 위치 기반 서비스를 제공하는 것으로 확인된 경우, 전자 장치(400)의 움직임에 대응하는 값이 지정된 임계값을 초과하는 지 여부를 판단할 수 있다. The processor 410 according to an embodiment of the present invention determines whether the value corresponding to the movement of the electronic device 400 exceeds a specified threshold value when the application is confirmed to provide the location based service .

본 발명의 일 실시예에 따른 프로세서(410)는 전자 장치(400)의 움직임에 대응하는 값을 기반으로 무선 랜 스캔 시, 전자 장치(400)의 잔여 배터리 상태에 더 기반하여 무선 랜 스캔 여부를 결정할 수 있다. 일 실시예에 따른 프로세서(410)는 전자 장치(400)의 움직임에 대응하는 값을 기반으로 무선 랜 스캔 시, 현재 활성화된(foreground, background) 어플리케이션들이 소모하고 있는 배터리량에 더 기반하여 무선 랜 스캔 여부를 결정할 수 있다. 일 실시예에 따른 프로세서(410)는 전자 장치(400)의 잔여 배터리 상태 또는 현재 활성화된(foreground, background) 어플리케이션들이 소모하고 있는 배터리량에 기반하여 무선 랜 스캔 여부를 결정할 수 있다.The processor 410 according to an exemplary embodiment of the present invention determines whether or not to scan the wireless LAN based on the remaining battery state of the electronic device 400 when scanning the wireless LAN based on a value corresponding to the motion of the electronic device 400 You can decide. The processor 410 according to an exemplary embodiment of the present invention may be configured to determine whether a wireless LAN (wireless LAN) based on a value of a battery consumed by currently active (foreground, background) It is possible to decide whether or not to scan. The processor 410 according to one embodiment may determine whether to scan for a wireless LAN based on the remaining battery state of the electronic device 400 or the amount of battery consumed by currently active (foreground, background) applications.

본 발명의 일 실시예에 따른 프로세서(410)는 무선 랜 요청신호와 연관된 어플리케이션이 위치 기반 서비스가 아닌 어플리케이션(예: 와이파이(WiFi) 매니저 어플리케이션 등)인 경우 전자 장치(400)의 움직임을 판단하지 않고 상응하는 기능을 수행할 수 있다. 예를 들어, 프로세서(410)는 와이파이(WiFi) 매니저 어플리케이션으로부터 무선 랜 요청 신호를 수신하는 경우, 해당 어플리케이션에 상응하는 기능을 수행할 수 있다. 추가적인 예를 들면, 프로세서(410)는 와이파이 매니저 어플리케이션으로부터 무선 랜 요청 신호를 수신하는 경우, 통신 모듈(440)을 통해 무선 랜 스캔을 수행할 수 있다.The processor 410 according to an exemplary embodiment of the present invention determines whether the application associated with the wireless LAN request signal is an application that is not a location based service (e.g., a WiFi manager application) And can perform corresponding functions. For example, when the processor 410 receives a wireless LAN request signal from a WiFi manager application, the processor 410 may perform a function corresponding to the application. For example, the processor 410 may perform a wireless LAN scan through the communication module 440 when receiving a wireless LAN request signal from a Wi-Fi manager application.

본 발명의 일 실시예에 따른 프로세서(410)는 무선 랜 스캔을 요청하는 신호를 수신한 경우, 상기 어플리케이션과 연관된 스캔 정보가 메모리(420)에 저장되어 있는지 여부를 확인할 수 있다. 예를 들어, 프로세서(410)는 미리 저장된 스캔 정보를 기반으로, 무선 랜 스캔을 요청한 어플리케이션이 최초로 스캔을 요청하는 지 여부를 확인할 수 있다. The processor 410 according to an exemplary embodiment of the present invention can check whether the scan information associated with the application is stored in the memory 420 when the wireless LAN scan request signal is received. For example, the processor 410 can determine whether an application requesting a wireless LAN scan requests scan for the first time based on previously stored scan information.

본 발명의 일 실시예에 따른 프로세서(410)는 무선 랜 스캔과 연관된 어플리케이션의 스캔 정보가 저장되어 있는 경우, 전자 장치(400)의 움직임에 대응하는 값이 지정된 임계값을 초과하는 지 여부를 판단할 수 있다.The processor 410 according to an exemplary embodiment of the present invention determines whether a value corresponding to a motion of the electronic device 400 exceeds a specified threshold value when scan information of an application associated with a wireless LAN scan is stored can do.

본 발명의 일 실시예에 따른 프로세서(410)는 무선 랜 스캔과 연관된 어플리케이션의 스캔 정보가 저장되어 있지 않은 경우, 통신 모듈(440)을 통해 무선 랜 스캔을 수행할 수 있다. 일 실시예에 따른 프로세서(410)는 상기 어플리케이션과 연관된 무선 랜 스캔 정보가 저장되어 있지 않은 경우, 복수의 통신 대역들 중 일 통신 대역을 이용하여 무선 랜 스캔을 수행할 수 있다. 프로세서(410)(예: 도 3의 위치 매니저(350))는 무선 랜 스캔을 통해 획득한 무선 랜 스캔 정보를 저장하고, 해당 어플리케이션으로 전달할 수 있다. The processor 410 according to an exemplary embodiment of the present invention may perform a wireless LAN scan through the communication module 440 when the scan information of the application related to the wireless LAN scan is not stored. The processor 410 according to an exemplary embodiment may perform a wireless LAN scan using a communication band among a plurality of communication bands when the wireless LAN scan information associated with the application is not stored. The processor 410 (e.g., the location manager 350 of FIG. 3) may store the wireless LAN scan information acquired through the wireless LAN scan and transmit the scan information to the application.

본 발명의 일 실시예에 따른 프로세서(410)는, 전자 장치(400)의 움직임에 대응하는 값이 지정된 임계값 이하인 경우, 최근에 저장된 무선 랜 스캔 정보의 시간값이 지정된 임계 시간값 이내인지 여부를 확인할 수 있다. 예를 들어 프로세서(410)(예: 도 3의 위치 매니저(350))는 무선 랜 요청 신호를 수신한 시간으로부터 가장 최근에 저장된 스캔 정보 또는 임의의 시간을 확인할 수 있다. 프로세서(410)(예: 도 3의 위치 매니저(350))는 확인된 스캔 정보를 저장한 시간값이 지정된 임계 시간값 이내인지 여부를 비교할 수 있다. 상기 임계 시간값은 고정되거나 변경될 수 있다. 예를 들면, 임계 시간값은 5분, 4분, 3분 등일 수 있고 더 길거나 더 짧을 수 있다. The processor 410 according to an exemplary embodiment of the present invention determines whether the time value of the recently stored WLAN scan information is within a specified threshold time value if the value corresponding to the motion of the electronic device 400 is equal to or less than a specified threshold value . For example, the processor 410 (e.g., the location manager 350 of FIG. 3) may check the most recently stored scan information or any time from the time when the WLAN request signal was received. The processor 410 (e.g., the location manager 350 of FIG. 3) may compare whether the time value storing the identified scan information is within a specified threshold time value. The threshold time value may be fixed or changed. For example, the threshold time value may be 5 minutes, 4 minutes, 3 minutes, etc. and may be longer or shorter.

본 발명의 일 실시예에 따른 프로세서(410)(예: 도 3의 위치 매니저(350))는 최근에 저장된 무선 랜 스캔 정보의 시간값이 임계 시간값 이내인 경우, 상기 최근에 저장된 무선 랜 스캔 정보를 상기 요청 신호와 연관된 어플리케이션으로 전달할 수 있다. 예를 들어, 프로세서(410)(예: 도 3의 위치 매니저(350))는 최근에 저장된 무선 랜 스캔을 수행한 시간값이 3분전이고, 임계 시간값이 4분일 수 있다. 프로세서(410)(예: 도 3의 위치 매니저(350))는 무선 랜 스캔을 수행 한 시간값이 임계 시간값 이내이므로, 3분전에 무선 랜 스캔을 수행한 무선 랜 스캔 정보를 상기 어플리케이션에 전달할 수 있다.The processor 410 (e.g., the location manager 350 of FIG. 3) according to an exemplary embodiment of the present invention determines whether the time value of the recently stored WLAN scan information is within the threshold time value, Information to the application associated with the request signal. For example, the processor 410 (e.g., the location manager 350 of FIG. 3) may have a time value of three minutes before the last stored wireless LAN scan and a threshold time value of four minutes. The processor 410 (e.g., the location manager 350 of FIG. 3) transmits the wireless LAN scan information that has performed the wireless LAN scan to the application three minutes before, because the time value for performing the wireless LAN scan is within the threshold time value .

본 발명의 일 실시예에 따른 프로세서(410)(예: 도 3의 위치 매니저(350))는 무선 랜 스캔을 수행한 최근의 시간값이 임계 시간값 이내가 아닌 경우, 복수의 통신 대역들 중 일 통신 대역을 이용하여 무선 랜 스캔을 수행할 수 있다. 일 실시예에 따른 프로세서(410)(예: 도 3의 위치 매니저(350))는 무선 랜 스캔을 통해 확인된 무선 랜 스캔 정보를 상기 어플리케이션으로 전달할 수 있다.The processor 410 (e.g., the location manager 350 of FIG. 3) according to an exemplary embodiment of the present invention determines whether a current time value of a wireless LAN scan is within a threshold time value, A wireless LAN scan can be performed using one communication band. The processor 410 (e.g., the location manager 350 of FIG. 3) in accordance with one embodiment may forward the confirmed wireless LAN scan information to the application via a wireless LAN scan.

본 발명의 일 실시예에 따른 프로세서(410)(예: 도 3의 위치 매니저(350))는 전자 장치(400)의 움직임에 대응하는 값이 지정된 임계값을 초과하는 경우, 복수의 통신 대역 중 일 통신 대역을 통해 무선 랜 스캔을 수행할 수 있다. 예를 들어, 프로세서(410)(예: 도 3의 위치 매니저(350))는 센서 모듈(430)에 의해 감지된 전자 장치(400)의 움직임에 대응하는 값이 2m/s이고 지정된 임계값이 0.1m/s인 경우 통신 모듈(440)을 통해 무선 랜 스캔을 수행할 수 있다. 일 실시예에 따른 프로세서(410)(예: 도 3의 위치 매니저(350))는 무선 랜 스캔을 통해 확인된 무선 랜 스캔 정보를 어플리케이션으로 전달할 수 있다.The processor 410 (e.g., the location manager 350 of FIG. 3) in accordance with an embodiment of the present invention may determine that a value corresponding to the motion of the electronic device 400 exceeds a specified threshold, A wireless LAN scan can be performed through one communication band. For example, the processor 410 (e.g., the position manager 350 of FIG. 3) may determine that the value corresponding to the movement of the electronic device 400 sensed by the sensor module 430 is 2 m / The wireless LAN scan can be performed through the communication module 440 in the case of 0.1 m / s. The processor 410 (e.g., the location manager 350 of FIG. 3) according to an exemplary embodiment may forward the confirmed wireless LAN scan information to the application through the wireless LAN scan.

본 발명의 일 실시예에 따른 프로세서(410)(예: 도 3의 위치 매니저(350))는 상기 무선 랜 스캔을 통해 확인된 무선 랜 스캔 정보를 갱신할 수 있다. 프로세서(410)(예: 도3의 위치 매니저(350))는 갱신된 스캔 정보를 메모리(예: 도2의 메모리(230) 또는 통신 모듈(220)의 메모리(미도시))에 저장할 수 있다.The processor 410 (e.g., the location manager 350 of FIG. 3) according to an exemplary embodiment of the present invention may update the wireless LAN scan information identified through the wireless LAN scan. 3) may store the updated scan information in a memory (e.g., memory 230 of FIG. 2 or memory (not shown) of communication module 220) .

본 발명의 일 실시예에 따른 프로세서(410)는 GPS 모듈(227)이 활성화되어 있거나 획득된 위치 정보가 지정된 시간 내에 획득되는 것을 만족하는 경우 일 대역을 포함하는 일부 채널을 이용하여 스캔을 수행할 수 있다. 예를 들어, 프로세서(410)(예: 도 3의 위치 매니저(350))는 GPS와 연결되어 있는 것으로 판단된 경우 일 통신 대역을 구성하는 복수의 채널들 중 일부 채널을 이용하여 무선 랜 스캔을 수행할 수 있다. 추가적인 예를 들면, 전자 장치(400)가 5Ghz 및 2.4Ghz 통신 대역을 지원하는 경우, 프로세서(410)(예: 도 3의 위치 매니저(350))는 2.4Ghz 중 일부 채널(예: 2개 채널, 3개 채널, 4개 채널 등)만을 이용해 무선 랜 스캔을 수행할 수 있다.The processor 410 according to an embodiment of the present invention performs scanning using some channels including one band when the GPS module 227 is active or acquires the acquired position information within a specified time . For example, when it is determined that the processor 410 (e.g., the location manager 350 of FIG. 3) is connected to the GPS, the processor 410 performs a wireless LAN scan using a part of a plurality of channels constituting a communication band Can be performed. For example, if the electronic device 400 supports the 5 GHz and 2.4 Ghz communication bands, the processor 410 (e.g., the location manager 350 of FIG. 3) may use some of the 2.4 GHz channels , Three channels, four channels, etc.) can be used to perform a wireless LAN scan.

본 발명의 일 실시예에 따른 프로세서(410)(예: 도 3의 위치 매니저(350))는 무선 랜 스캔 수행 시 이용하는 채널을 적어도 두 개 이상의 채널이고 각각의 채널이 오버랩되지 않는 채널을 선택할 수 있다. 예를 들어, 프로세서(410)(예: 도 3의 위치 매니저(350))는 2.4Ghz의 1번, 6번, 11번 채널을 선택하여 상호간에 오버랩되지 않도록 할 수 있다.The processor 410 (e.g., the location manager 350 of FIG. 3) according to an exemplary embodiment of the present invention may select a channel in which the channel used for performing the wireless LAN scan is at least two or more channels, have. For example, processor 410 (e.g., location manager 350 of FIG. 3) may select channels 1, 6, and 11 of 2.4 GHz to avoid overlapping with each other.

일 실시예에 따른 센서 모듈(430)은 저전력 모니터링을 통해 전자 장치(400)의 이동 관련 데이터를 감지할 수 있다.The sensor module 430 according to one embodiment can detect movement-related data of the electronic device 400 through low-power monitoring.

일 실시예에 따른 통신 모듈(440)은 무선 통신을 수행할 수 있다. 예를 들어, 프로세서(410)(예: 도 3의 위치 매니저(350))는 통신 모듈(440)을 통해 근거리 네트워크(예: 무선 랜) 정보 스캔(scan), 근거리 네트워크 연결, 연결 해제 등을 수행할 수 있다.The communication module 440 according to one embodiment may perform wireless communication. For example, the processor 410 (e.g., the location manager 350 of FIG. 3) may scan a local area network (e.g., wireless LAN) information via a communication module 440, Can be performed.

본 발명의 일 실시예에 따른 전자 장치(400)는 적어도 하나의 센서, 근거리 통신 모듈을 포함할 수 있다. 일 실시예에 따른 전자 장치(400)는 상기 근거리 통신 모듈을 이용해 획득된 제1 네트워크 정보를 저장하기 위한 메모리(420)를 포함할 수 있다.The electronic device 400 according to an embodiment of the present invention may include at least one sensor, a short range communication module. The electronic device 400 according to one embodiment may include a memory 420 for storing first network information obtained using the short range communication module.

본 발명의 일 실시예에 따른 프로세서(410)(예: 도 3의 위치 매니저(350))는 상기 전자 장치(400)에 대응하는 위치 정보에 대한 요청을 획득하고, 상기 적어도 하나의 센서를 이용하여 상기 전자 장치에 대한 움직임을 확인할 수 있다. 일 실시예에 따른 프로세서(410)(예: 도 3의 위치 매니저(350))는 상기 움직임이 지정된 조건을 만족하는지 여부에 기반하여, 상기 요청에 반응하여 상기 제1 네트워크 정보를 상기 메모리로부터 획득(retrieve)하거나, 선택적으로, 상기 근거리 통신 모듈을 이용하여 제2 네트워크 정보를 스캔(scan)할 수 있다.The processor 410 (e.g., the location manager 350 of FIG. 3) in accordance with an embodiment of the present invention may obtain a request for location information corresponding to the electronic device 400 and may utilize the at least one sensor Thereby confirming the movement of the electronic device. The processor 410 (e.g., location manager 350 of FIG. 3) in accordance with one embodiment may receive the first network information from the memory in response to the request, based on whether the motion satisfies a specified condition or may scan the second network information using the short range communication module.

본 발명의 일 실시예에 따른 프로세서(410)(예: 도 3의 위치 매니저(350))는 상기 제1 네트워크 정보 또는 상기 제2 네트워크 정보 중 대응하는 네트워크 정보를 상기 요청에 대한 응답으로 제공하도록 설정될 수 있다. The processor 410 (e.g., location manager 350 of FIG. 3) in accordance with an embodiment of the present invention may provide the corresponding network information of either the first network information or the second network information in response to the request Can be set.

상기 제1 네트워크 정보 및 제2 네트워크 정보는 무선랜 스캔 정보일 수 있다. 제1 네트워크 정보는 미리 저장된 값이고, 제2 네트워크 정보는 현재 스캔하는 값과 관련된 정보일 수 있다. 상기 제1 네트워크 정보, 제2 네트워크 정보는 근거리 통신 모듈 내의 캐시 메모리 또는 주메모리(RAM) 등에 저장 및 갱신될 수 있다.The first network information and the second network information may be wireless LAN scan information. The first network information may be a pre-stored value, and the second network information may be information related to a current scan value. The first network information and the second network information may be stored and updated in a cache memory in a local communication module or a main memory (RAM).

일 실시예에 따른 근거리 통신 모듈은, WiFi 모듈, 블루투스 모듈, 또는 NFC 모듈을 포함할 수 있다.The short range communication module according to an exemplary embodiment may include a WiFi module, a Bluetooth module, or an NFC module.

본 발명의 일 실시예에 따른 프로세서(410)는 적어도 하나의 어플리케이션 또는 하나의 위치 매니저를 더 포함할 수 있다. 일 실시예에 따른 프로세서(410) 는 상기 적어도 하나의 어플리케이션 또는 상기 하나의 위치 매니저로부터 상기 요청을 획득할 수 있다.The processor 410 according to an embodiment of the present invention may further include at least one application or one location manager. The processor 410 in accordance with one embodiment may obtain the request from the at least one application or the one location manager.

본 발명의 일 실시예에 따른 프로세서(410)(예: 도 3의 위치 매니저(350))는 상기 적어도 하나의 어플리케이션을 이용하여 상기 요청을 생성하고, 상기 위치 매니저를 통해 상기 생성된 요청을 획득할 수 있다.A processor 410 (e.g., location manager 350 of FIG. 3) in accordance with an embodiment of the present invention generates the request using the at least one application, And obtain the generated request through the location manager.

본 발명의 일 실시예에 따른 프로세서(410)는 상기 적어도 하나의 어플리케이션 또는 상기 하나의 위치 매니저로 상기 대응하는 네트워크 정보를 제공할 수 있다.The processor 410 according to an embodiment of the present invention may provide the corresponding network information to the at least one application or the one location manager.

본 발명의 일 실시예에 따른 프로세서(410)는, 상기 대응하는 네트워크 정보를 상기 하나의 위치 매니저에 전송하고, 상기 위치 매니저를 통해 상기 대응하는 네트워크 정보를 상기 적어도 하나의 어플리케이션에 제공할 수 있다.The processor 410 according to an embodiment of the present invention may transmit the corresponding network information to the one location manager and provide the corresponding network information to the at least one application through the location manager .

본 발명의 일 실시예에 따른 프로세서(410)는 상기 제 1 네트워크 정보의 적어도 일부 정보를 변경하여 상기 응답의 적어도 일부로 제공할 수 있다. 상기 변경된 적어도 일부 정보는 상기 제 1 네트워크 정보의 획득 시 측정된 신호 세기 정보 또는 시간 정보를 포함할 수 있다. 상기 지정된 조건은 상기 움직임에 대한 지정된 임계값 또는 지정된 상태를 포함할 수 있다. 일 실시예에 따른 지정된 상태는 Stationary(IDLE), Running, Driving, Cycling, Climbing, Standing 상태 일 수 있다.The processor 410 in accordance with an embodiment of the present invention may modify at least some information of the first network information to provide at least a portion of the response. The changed at least some information may include signal strength information or time information measured at the time of acquiring the first network information. The specified condition may include a specified threshold value or a designated state for the motion. The designated state according to one embodiment may be Stationary (IDLE), Running, Driving, Cycling, Climbing, Standing state.

본 발명의 일 실시예에 따른 프로세서(400)(예: 도3의 위치 매니저(350))는상기 적어도 하나의 센서에 대한 민감도에 적어도 기반하여 상기 임계값을 조절할 수 있다.The processor 400 (e.g., location manager 350 of FIG. 3) in accordance with an embodiment of the present invention may adjust the threshold value based at least on the sensitivity to the at least one sensor.

도 4b는 본 발명의 다양한 실시예에 따른 계층 구조를 도시한다.Figure 4B illustrates a hierarchical structure according to various embodiments of the present invention.

도 4b를 참조하면 어플리케이션에서 상기 요청을 생성하여, 위치 매니저로 전달하고, 위치 매니저를 통하여 요청을 수신할 수 있다. Referring to FIG. 4B, the application may generate the request, transfer it to the location manager, and receive the request through the location manager.

일 실시예에 따른 센서 판단 모듈은 센서에 의해 감지된 정보들을 플랫폼 및 어플리케이션으로 전달할 수 있다. 스캔 판단 모듈은 WiFi 및 Cell로부터 수신한 정보를 플랫폼 및 어플리케이션으로 전달할 수 있다. NLP는 위치 서버 데이터로부터 데이터를 수신하고 어플리케이션으로 관련 정보를 전달할 수 있다.The sensor determination module according to an exemplary embodiment may transmit the information sensed by the sensor to the platform and the application. The scan determination module can forward information received from WiFi and Cell to the platform and application. The NLP can receive data from the location server data and deliver the relevant information to the application.

도 5a 및 도 5b는 본 발명의 다양한 실시예에 따른 전자 장치(400)의 무선랜 스캔 관련 실시예를 도시한다.5A and 5B illustrate an embodiment of a wireless LAN scan of an electronic device 400 according to various embodiments of the present invention.

도 5a를 참조하면, 본 발명의 일 실시예에 따른 전자 장치(400)(예: 프로세서(410))는 제1 외부 장치(510, 예: AP(access point))와 제2 외부 장치(520, 또 다른 전자 장치들)와 통신을 수행할 수 있다. 일 실시예에 따른 프로세서(410)(도 3의 위치 매니저(350))는 근거리 네트워크(예: 무선 랜) 연결을 수립하기 위해 통신 모듈(440)을 이용하여 무선 랜 스캔을 수행할 수 있다.5A, an electronic device 400 (e.g., processor 410) in accordance with an embodiment of the present invention includes a first external device 510 (e.g., an access point (AP)) and a second external device 520 , ≪ / RTI > other electronic devices). The processor 410 (location manager 350 in FIG. 3) according to one embodiment may perform a wireless LAN scan using the communication module 440 to establish a local area network (e.g., wireless LAN) connection.

도 5b를 참조하면, 전자 장치(400)는 복수의 어플리케이션을 저장 및 표시할 수 있다. 530을 참조하면, 전자 장치(400)는 표시 화면에 특정 기능을 제공하는 어플리케이션에 대응하는 이미지 아이템들(531) 및 위치 기반 서비스를 제공하는 어플리케이션에 대응하는 이미지 아이템(533)을 표시할 수 있다. 전자 장치(400)(예: 프로세서(410))는 위치 기반 서비스를 제공하는 어플리케이션에 대응하는 이미지 아이템(533)에 대한 사용자 입력(예: 제스쳐 입력, 음성 입력)을 수신할 수 있다. 전자 장치(400)(예: 프로세서(410)는 위치 기반 서비스를 제공하는 어플리케이션을 활성화(activate)하는 지정된 이벤트(예: 스케줄 일정)를 수신할 수 있다. 전자 장치(400)(예: 프로세서(410)는 외부 전자 장치(예: 도 1의 외부 전자 장치(102, 104), 서버(106))로부터 상기 사용자 입력 또는 상기 이벤트를 수신할 수 있다. 540을 참조하면, 전자 장치(400)는 위치 기반 어플리케이션이 활성화되는 경우 무선 랜 스캔을 요청하는 신호를 수신할 수 있다. 도 5b는 사용자 입력에 따른 어플리케이션 활성화 및 무선 랜 스캔 요청 수신에 대해 설명되고 있으나, 이에 한정되지는 않고 전자 장치(400)의 백그라운드 실행 및/또는 사용자 입력과 무관한 무선 랜 스캔 동작을 수행하는 요청을 수신할 수 있다.Referring to FIG. 5B, the electronic device 400 may store and display a plurality of applications. Referring to 530, the electronic device 400 may display image items 531 corresponding to an application providing a specific function on the display screen and an image item 533 corresponding to an application providing a location-based service . The electronic device 400 (e.g., the processor 410) may receive user input (e.g., gesture input, voice input) to the image item 533 corresponding to the application providing the location based service. The electronic device 400 (e.g., processor 410) may receive a designated event (e.g., a schedule schedule) that activates an application that provides location based services. 410 may receive the user input or the event from an external electronic device (e.g., external electronic device 102, 104, server 106 of Figure 1) 5B illustrates an application activation according to a user input and a reception of a wireless LAN scan request. However, the present invention is not limited to this, and an electronic device 400 ) And / or a request to perform a wireless LAN scan operation that is independent of user input.

도 5c는 본 발명의 다양한 실시예에 따른 전자 장치(400)(예: 프로세서(410)의 통신 대역들에 대한 실시예를 도시한다.5C illustrates an embodiment of an electronic device 400 (e.g., communication bands of processor 410) in accordance with various embodiments of the present invention.

본 발명의 일 실시예에 따른 전자 장치(400)(예: 프로세서(410)는 무선 랜 스캔을 요청한 어플리케이션이 위치 기반 서비스를 제공하지 않는 어플리케이션(예: 와이파이(WiFi) 매니저 어플리케이션)인 경우, 해당 어플리케이션의 기능을 수행할 수 있다. 예를 들어, 전자 장치(400)(예: 프로세서(410)는 무선 랜 스캔을 요청한 어플리케이션이 와이파이 매니저 어플리케이션인 경우, 2.4Ghz 대역만을 이용하여 무선 랜 스캔을 수행할 수 있다.When the application requesting the wireless LAN scan is an application (e.g., a WiFi manager application) that does not provide a location-based service, the electronic device 400 according to an embodiment of the present invention For example, when the application requesting the wireless LAN scan is a Wi-Fi manager application, the electronic device 400 (e.g., the processor 410) performs a wireless LAN scan using only the 2.4 GHz band can do.

본 발명의 일 실시예에 따른 전자 장치(400)(예: 프로세서(410)는 무선 랜 스캔을 요청한 어플리케이션의 스캔 정보가 저장되어 있지 않는 경우, 2.4Ghz 대역만을 이용하여 무선 랜 스캔을 수행할 수 있다. 또 다른 일 실시예에 따른 전자 장치(400)(예: 프로세서(410)는 무선 랜 스캔을 요청한 어플리케이션의 스캔 정보가 저장되어 있지 않는 경우, 5 Ghz 및 2.4Ghz 대역을 이용하여 무선 랜 스캔을 수행할 수 있다.In a case where the scan information of the application requesting the wireless LAN scan is not stored, the electronic device 400 according to the embodiment of the present invention (e.g., the processor 410) can perform the wireless LAN scan using only the 2.4 GHz band In a case where the scan information of the application requesting the wireless LAN scan is not stored, the electronic device 400 according to another embodiment (e.g., the processor 410) may scan the wireless LAN scan using the 5 GHz and 2.4 GHz bands. Can be performed.

본 발명의 일 실시예에 따른 프로세서(410)(예: 도 3의 위치 매니저(350))는 전자 장치(400)(예: 프로세서(410)의 움직임에 대응하는 값이 지정된 임계값을 초과하는 경우, 프로세서(410)(예: 도 3의 위치 매니저(350))는 2.4Ghz 대역만을 이용하여 무선 랜 스캔을 수행할 수 있다.The processor 410 (e.g., location manager 350 of FIG. 3) in accordance with an embodiment of the present invention may be configured to determine whether a value corresponding to the motion of the electronic device 400 (e.g., processor 410) The processor 410 (e.g., the location manager 350 of FIG. 3) may perform a WLAN scan using only the 2.4 GHz band.

본 발명의 일 실시예에 따른 프로세서(410)(예: 도 3의 위치 매니저(350))는, 전자 장치(400)(예: 프로세서(410)의 움직임에 대응하는 값이 지정된 임계값 이하인 경우, 최근에 저장된 무선 랜 스캔 정보의 시간값이 지정된 임계 시간값 이내인지 여부를 확인할 수 있다. 일 실시예에 따른 프로세서(410)(예: 도 3의 위치 매니저(350))는 무선 랜 스캔을 수행한 최근의 시간값이 임계 시간값 이내가 아닌 경우, 2.4Ghz 대역만을 이용하여 무선 랜 스캔을 수행할 수 있다.The processor 410 (e.g., location manager 350 of FIG. 3) in accordance with an embodiment of the present invention may be configured to determine whether a value corresponding to the motion of the electronic device 400 (e.g., processor 410) The processor 410 (e.g., the location manager 350 of FIG. 3) according to one embodiment may perform a wireless LAN scan to determine whether the time value of the currently stored wireless LAN scan information is within a predetermined threshold time value. If the recent time value performed is not within the threshold time value, the wireless LAN scan can be performed using only the 2.4 GHz band.

본 발명의 일 실시예에 따른 프로세서(410)(예: 도 3의 위치 매니저(350))는, GPS 모듈(227)이 활성화되어 있거나 획득된 위치 정보로부터 지정된 시간 내에 획득되는 것을 만족하는 경우 일 통신 대역을 구성하는 복수의 채널들 중 일부 채널을 이용하여 무선 랜 스캔을 수행할 수 있다. 프로세서(410)(예: 도 3의 위치 매니저(350))는 위치 정보를 감지하는 센서(예: GPS 센서 등)와 연결되어 있는 경우 2.4Ghz의 일부 통신 채널만을 이용하여 무선 랜 스캔을 수행할 수 있다. The processor 410 (e.g., the location manager 350 of FIG. 3) in accordance with one embodiment of the present invention is operable when the GPS module 227 is satisfied that the GPS module 227 is acquired within a specified time from the activated or acquired location information The wireless LAN scan can be performed using a part of the plurality of channels constituting the communication band. The processor 410 (e.g., the location manager 350 of FIG. 3) may perform a wireless LAN scan using only some of the communication channels of 2.4 GHz when connected to a sensor (e.g., a GPS sensor) .

추가적인 예를 들면, 도5c의 2.4Ghz 대역의 채널 1, 채널 6 및 채널 11은 서로 오버랩되지 않는 구성을 갖는다. 일 실시예에 따른 프로세서(410)는 위치 정보를 감지하는 센서(예: GPS 센서 등)와 연결되어 있는 경우 상호간에 오버랩되지 않는 채널만을 이용해 무선 랜 스캔을 수행할 수 있다.As a further example, channel 1, channel 6 and channel 11 in the 2.4-GHz band in Fig. 5C have a configuration that do not overlap with each other. The processor 410 according to an exemplary embodiment may perform a wireless LAN scan using only channels that do not overlap with each other when the processor 410 is connected to a sensor (e.g., a GPS sensor) that senses position information.

도 5d는 무선 랜 스캔 정보를 도시한다.5D shows wireless LAN scan information.

무선 랜 스캔 정보는 서비스 세트 식별자(SSID: Service Set Identifier), MAC 주소, 수신 시 측정된 RSSI 정보, 프레임 수신한 타임 스탬프 정보 등을 포함할 수 있다.The wireless LAN scan information may include a service set identifier (SSID), a MAC address, RSSI information measured at the time of reception, time stamp information of a frame, and the like.

도 6은 본 발명의 다양한 실시예에 따른 전자 장치의 무선 랜 스캔 정보를 획득하는 순서도를 도시한다.6 shows a flowchart for obtaining wireless LAN scan information of an electronic device according to various embodiments of the present invention.

601을 참조하면, 전자 장치(400)(예: 프로세서(410))는 전자 장치에 대응하는 위치 정보에 대한 요청을 획득할 수 있다.Referring to 601, an electronic device 400 (e.g., processor 410) may obtain a request for location information corresponding to an electronic device.

603을 참조하면, 전자 장치(400)(예: 프로세서(410))는 적어도 하나의 센서를 이용하여 상기 전자 장치에 대한 움직임을 확인할 수 있다.Referring to 603, the electronic device 400 (e.g., the processor 410) may verify movement with respect to the electronic device using at least one sensor.

605를 참조하면, 전자 장치(400)(예: 프로세서(410))는 움직임이 지정된 조건을 만족하는지 여부에 기반하여, 상기 요청에 반응하여 상기 제1 네트워크 정보를 상기 메모리로부터 획득(retrieve)하거나, 선택적으로, 상기 근거리 통신 모듈을 이용하여 제2 네트워크 정보를 스캔(scan)할 수 있다.Referring to 605, the electronic device 400 (e.g., processor 410) may retrieve the first network information from the memory in response to the request, based on whether the motion satisfies a specified condition , And may optionally scan the second network information using the short range communication module.

607을 참조하면, 전자 장치(400)(예: 프로세서(410))는 제1 네트워크 정보 또는 상기 제2 네트워크 정보 중 대응하는 네트워크 정보를 상기 요청에 대한 응답으로 제공할 수 있다.Referring to 607, the electronic device 400 (e.g., the processor 410) may provide either the first network information or the corresponding network information of the second network information in response to the request.

본 발명의 일 실시예에 따른 전자 장치(400)(예: 프로세서(410))는 무선 랜 스캔을 요청하는 신호를 수신할 수 있다. 일 실시예에 따른 전자 장치(400)는 복수의 어플리케이션들을 저장할 수 있다. 전자 장치(400) (예: 프로세서(410))는 저장된 적어도 일 어플리케이션(예: 위치 관련 서비스를 제공하는 어플리케이션(예: 지도 어플리케이션 또는 내비게이션 어플리케이션))으로부터 무선 랜 스캔을 요청하는 신호를 확인할 수 있다. 상기 무선 랜 스캔이란 일 외부 장치와 데이터를 송수신하는 동작일 수 있다.An electronic device 400 (e.g., processor 410) in accordance with an embodiment of the present invention may receive a signal requesting a wireless LAN scan. The electronic device 400 according to one embodiment may store a plurality of applications. The electronic device 400 (e.g., the processor 410) may identify a signal requesting a wireless LAN scan from at least one stored application (e.g., an application (e.g., a map application or a navigation application) . The wireless LAN scan may be an operation of transmitting / receiving data to / from an external device.

본 발명의 일 실시예에 따른 전자 장치(400)는 전자 장치(400)의 움직임에 대응하는 값이 미리 설정된 임계값을 초과하는 지 여부를 판단할 수 있다. 일 실시예에 따른 전자 장치(400)는 일 센서를 통해 감지된 센서 정보를 기반으로, 전자 장치(400)의 상태 정보를 확인할 수 있다. 예를 들면, 전자 장치(400)는 일 센서를 통해 감지된 센서 정보를 기반으로, 전자 장치(400)의 정지 상태 또는 이동 상태 등을 확인할 수 있다.The electronic device 400 according to an embodiment of the present invention can determine whether a value corresponding to the movement of the electronic device 400 exceeds a preset threshold value. The electronic device 400 according to an exemplary embodiment may check status information of the electronic device 400 based on sensor information sensed through one sensor. For example, the electronic device 400 can identify the stationary state or the moving state of the electronic device 400 based on the sensor information sensed through one sensor.

본 발명의 일 실시예에 따른 전자 장치(400)는 상기 판단 결과를 기반으로 무선 랜 스캔 정보를 상기 요청 신호와 연관된 어플리케이션으로 전달할 수 있다. 일 실시예에 따른 전자 장치(400)는 전자 장치(400)의 이동 여부에 대한 판단 결과를 기반으로 무선 랜 스캔을 수행할 지 여부를 결정할 수 있다. 일 실시예에 따른 전자 장치(400)는 수행 여부에 대한 판단 결과를 기반으로 상기 요청 신호와 연관된 어플리케이션으로 확인된 무선 랜 스캔 정보를 전달할 수 있다.The electronic device 400 according to an exemplary embodiment of the present invention may transmit the wireless LAN scan information to an application associated with the request signal based on the determination result. The electronic device 400 according to an exemplary embodiment may determine whether to perform a wireless LAN scan based on a determination result of whether or not the electronic device 400 is moved. The electronic device 400 according to the embodiment may transmit the wireless LAN scan information confirmed by the application related to the request signal based on the determination result of whether or not to perform the execution.

도 7은 본 발명의 다양한 실시예에 따른 전자 장치의 무선 랜 스캔 정보를 획득하는 순서도를 도시한다.7 shows a flowchart for obtaining wireless LAN scan information of an electronic device according to various embodiments of the present invention.

701을 참조하면, 전자 장치(400)(예: 프로세서(410))는 전자 장치(400)에 대응하는 위치 정보에 대한 요청을 획득할 수 있다.Referring to 701, the electronic device 400 (e.g., the processor 410) may obtain a request for location information corresponding to the electronic device 400.

703을 참조하면, 전자 장치(400)는 전자 장치(400)의 움직임에 대응하는 값이 미리 설정된 임계값을 초과하는 지 여부를 판단할 수 있다.Referring to 703, the electronic device 400 may determine whether a value corresponding to the motion of the electronic device 400 exceeds a preset threshold value.

705를 참조하면, 전자 장치(400)(예: 프로세서(410))는 전자 장치(400)의 움직임에 대응하는 값이 미리 설정된 임계값을 초과하지 않는 경우 최근에 저장된 네트워크 정보의 시간값이 미리 설정된 임계 시간내인지 여부를 판단할 수 있다.705, when the value corresponding to the motion of the electronic device 400 does not exceed a predetermined threshold value, the electronic device 400 (e.g., the processor 410) It is possible to determine whether or not it is within the set threshold time.

707를 참조하면, 전자 장치(400)(예: 프로세서(410))는 최근에 저장된 네트워크 정보의 시간값이 미리 설정된 임계 시간이 아니거나 전자 장치(400)의 움직임에 대응하는 값이 미리 설정된 임계값을 초과하는 경우 복수의 통신 대역들 중 일 통신 대역을 이용하여 네트워크 정보를 스캔할 수 있다.704, the electronic device 400 (e.g., the processor 410) may determine that the time value of the network information that has been recently stored is not a predetermined threshold time, or that a value corresponding to the motion of the electronic device 400 is a preset threshold The network information can be scanned using one communication band among the plurality of communication bands.

709를 참조하면, 전자 장치(400)(예: 프로세서(410))는 최근에 저장된 네트워크 정보를 제공할 수 있다.Referring to 709, the electronic device 400 (e.g., processor 410) may provide recently stored network information.

711를 참조하면, 전자 장치(400)(예: 프로세서(410))는 스캔을 통해 확인된 네트워크 정보를 제공할 수 있다.Referring to 711, the electronic device 400 (e.g., processor 410) may provide network information that has been verified through a scan.

도 8은 본 발명의 다양한 실시예에 따른 전자 장치(400)의 무선 랜 스캔 정보를 획득하는 순서도를 도시한다.Figure 8 shows a flowchart for obtaining wireless LAN scan information of an electronic device 400 according to various embodiments of the present invention.

801을 참조하면, 전자 장치(400)는 전자 장치에 대응하는 위치 정보에 대한 요청을 획득할 수 있다.Referring to 801, the electronic device 400 may obtain a request for location information corresponding to the electronic device.

803을 참조하면, 전자 장치(400)는 GPS 모듈이 활성화되어 있거나 획득된 위치 정보가 지정된 시간 내에 획득되는 경우, 일 통신 대역을 구성하는 복수의 채널들 중 일부 채널을 이용하여 무선 랜 스캔을 수행할 수 있다. 예를 들어, 전자 장치(400)는 GPS 모듈과 연결되어 있는 경우, 일 통신 대역을 구성하는 복수의 채널들 중 일부 채널을 이용하여 무선 랜 스캔을 수행할 수 있다. 추가적인 예를 들면, 전자 장치(400)는 GPS 센서와 연결되어 있는 경우, 와이파이(WiFi: Wireless Fidelity) 통신의 2.4Ghz 대역의 일부 채널을 이용하여 무선 랜 스캔을 수행할 수 있다. 상기 일부 채널은 일 대역을 구성하는 적어도 두 개 이상의 채널이고, 각각의 채널이 오버랩되지 않을 수 있다.Referring to 803, when the GPS module is activated or the obtained location information is acquired within a designated time, the electronic device 400 performs a wireless LAN scan using a part of a plurality of channels constituting one communication band can do. For example, when the electronic device 400 is connected to the GPS module, the electronic device 400 can perform a wireless LAN scan using a part of a plurality of channels constituting one communication band. For example, when the electronic device 400 is connected to the GPS sensor, the electronic device 400 can perform a wireless LAN scan using a part of a 2.4 GHz band channel of WiFi (Wireless Fidelity) communication. The partial channels are at least two channels constituting one band, and the respective channels may not overlap.

도 9는 본 발명의 다양한 실시예에 따른 전자 장치의 무선 랜 스캔 정보를 획득하는 순서도를 도시한다.9 shows a flowchart for obtaining wireless LAN scan information of an electronic device according to various embodiments of the present invention.

901을 참조하면, 전자 장치(400)는 전자 장치에 대응하는 위치 정보에 대한 요청을 획득할 수 있다.Referring to 901, the electronic device 400 may obtain a request for location information corresponding to the electronic device.

903을 참조하면, 전자 장치(400)는 적어도 하나의 센서를 이용하여 상기 전자 장치에 대한 움직임을 확인할 수 있다.Referring to 903, the electronic device 400 can confirm movement with respect to the electronic device using at least one sensor.

905를 참조하면, 전자 장치(400)는 움직임이 지정된 조건을 만족하는지 여부에 기반하여, 상기 요청에 반응하여 상기 제1 네트워크 정보를 상기 메모리로부터 획득(retrieve)하거나, 선택적으로, 상기 근거리 통신 모듈을 이용하여 제2 네트워크 정보를 스캔(scan)할 수 있다.905, the electronic device 400 may retrieve the first network information from the memory in response to the request, based on whether the motion satisfies a specified condition, or, alternatively, To scan the second network information.

907을 참조하면, 전자 장치(400)는 상기 제 1 네트워크 정보의 적어도 일부 정보를 변경하여 상기 응답의 적어도 일부로 제공할 수 있다. 상기 변경된 적어도 일부 정보는 상기 제 1 네트워크 정보의 획득시 측정된 신호 세기 정보 또는 시간 정보를 포함할 수 있다.Referring to 907, the electronic device 400 may modify at least some information of the first network information to provide at least a portion of the response. The changed at least some information may include signal strength information or time information measured at the time of acquiring the first network information.

본 발명의 일 실시예에 따른 전자 장치(400)는 전자 장치에 대응하는 위치 정보에 대한 요청을 획득하는 동작, 적어도 하나의 센서를 이용하여 상기 전자 장치에 대한 움직임을 확인하는 동작, 상기 움직임이 지정된 조건을 만족하는지 여부에 기반하여, 상기 요청에 반응하여 상기 제1 네트워크 정보를 상기 메모리로부터 획득(retrieve)하거나, 선택적으로, 상기 근거리 통신 모듈을 이용하여 제2 네트워크 정보를 스캔(scan)하는 동작, 및 상기 제1 네트워크 정보 또는 상기 제2 네트워크 정보 중 대응하는 네트워크 정보를 상기 요청에 대한 응답으로 제공하는 동작을 포함할 수 있다.The electronic device 400 according to an embodiment of the present invention includes an operation to obtain a request for location information corresponding to an electronic device, The method comprising: confirming movement of the electronic device using at least one sensor; retrieving the first network information from the memory in response to the request based on whether the motion satisfies a specified condition; , Optionally, scanning the second network information using the short-range communication module, and providing the corresponding one of the first network information or the second network information in response to the request . ≪ / RTI >

일 실시예에 따른 상기 지정된 조건은 상기 움직임에 대한 지정된 임계값 또는 지정된 상태를 포함할 수 있다.The specified condition according to an embodiment may include a specified threshold or designated state for the motion.

일 실시예에 따른 전자 장치(400)는 상기 요청과 연관된 어플리케이션이 위치 기반 서비스를 제공하는 것으로 확인된 경우, 상기 움직임에 대응하는 값이 지정된 임계값을 초과하는 지 여부를 판단하는 동작을 더 포함할 수 있다.The electronic device 400 according to one embodiment further includes determining whether a value corresponding to the motion exceeds a specified threshold if the application associated with the request is determined to provide location based services can do.

일 실시예에 따른 전자 장치(400)는 상기 제공하는 동작은, 상기 움직임에 대응하는 값이 미리 설정된 임계값 이하인 경우, 최근에 저장된 무선 랜 스캔 정보의 시간값이 미리 설정된 임계 시간값 이내인지 여부를 확인하는 동작 및 상기 시간값이 임계 시간값 이외인 경우, 복수의 통신 대역들 중 일 통신 대역을 이용하여 무선 랜 스캔을 수행하고, 상기 무선 랜 스캔을 통해 확인된 무선 랜 스캔 정보를 상기 어플리케이션으로 전달하는 동작을 더 포함할 수 있다.The operation of the electronic device 400 according to an exemplary embodiment may be such that when the value corresponding to the motion is equal to or less than a predetermined threshold value, whether the time value of the WLAN scan information stored recently is within a predetermined threshold time value And if the time value is other than a threshold time value, performing a wireless LAN scan using a communication band of the plurality of communication bands, and transmitting the confirmed wireless LAN scanning information through the wireless LAN scanning to the application As shown in FIG.

일 실시예에 따른 전자 장치(400)는 상기 GPS 모듈이 활성화되어 있거나 획득된 위치 정보가 지정된 시간 내에 획득되는 경우, 일 통신 대역을 구성하는 복수의 채널들 중 일부 채널을 이용하여 무선 랜 스캔을 수행하고, 상기 무선 랜 스캔을 통해 확인된 무선 랜 스캔 정보를 상기 요청과 연관된 어플리케이션으로 전달하는 동작을 더 포함할 수 있다.The electronic device 400 according to an exemplary embodiment of the present invention performs a wireless LAN scan using a part of a plurality of channels constituting a communication band when the GPS module is activated or obtained position information is acquired within a predetermined time And transmitting the confirmed wireless LAN scan information through the wireless LAN scan to the application associated with the request.

프로그램이 기록된 컴퓨터 판독 가능 저장 매체에 있어서, 상기 프로그램은, 전자 장치에 대응하는 위치 정보에 대한 요청을 획득하도록 하는 명령, 적어도 하나의 센서를 이용하여 상기 전자 장치에 대한 움직임을 확인하도록 하는 명령, 상기 움직임이 지정된 조건을 만족하는지 여부에 기반하여, 상기 요청에 반응하여 상기 제1 네트워크 정보를 상기 메모리로부터 획득(retrieve)하거나, 선택적으로, 상기 근거리 통신 모듈을 이용하여 제2 네트워크 정보를 스캔(scan)하도록 하는 명령 및 상기 제1 네트워크 정보 또는 상기 제2 네트워크 정보 중 대응하는 네트워크 정보를 상기 요청에 대한 응답으로 제공하도록 하는 명령을 포함하는 컴퓨터 판독 가능한 저장 매체를 포함할 수 있다.A computer-readable storage medium having recorded thereon a program, the program comprising: instructions to obtain a request for location information corresponding to an electronic device; instructions to identify movement to the electronic device using at least one sensor; , Retrieving the first network information from the memory in response to the request based on whether the motion satisfies a specified condition, or alternatively, scanning the second network information using the short- and to provide the corresponding network information of the first network information or the second network information in response to the request.

본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구성된 유닛을 포함하며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. "모듈"은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는 최소 단위 또는 그 일부가 될 수 있다. "모듈"은 기계적으로 또는 전자적으로 구현될 수 있으며, 예를 들면, 어떤 동작들을 수행하는, 알려졌거나 앞으로 개발될, ASIC(application-specific integrated circuit) 칩, FPGAs(field-programmable gate arrays), 또는 프로그램 가능 논리 장치를 포함할 수 있다. 다양한 실시예에 따른 장치(예: 모듈들 또는 그 기능들) 또는 방법(예: 동작들)의 적어도 일부는 프로그램 모듈의 형태로 컴퓨터로 판독 가능한 저장 매체(예: 메모리(130))에 저장된 명령어로 구현될 수 있다. 상기 명령어가 프로세서(예: 프로세서(120))에 의해 실행될 경우, 프로세서가 상기 명령어에 해당하는 기능을 수행할 수 있다. 컴퓨터로 판독 가능한 기록 매체는, 하드디스크, 플로피디스크, 마그네틱 매체(예: 자기테이프), 광기록 매체(예: CD-ROM, DVD, 자기-광 매체 (예: 플롭티컬 디스크), 내장 메모리 등을 포함할 수 있다. 명령어는 컴파일러에 의해 만들어지는 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 다양한 실시예에 따른 모듈 또는 프로그램 모듈은 전술한 구성요소들 중 적어도 하나 이상을 포함하거나, 일부가 생략되거나, 또는 다른 구성요소를 더 포함할 수 있다. 다양한 실시예에 따른, 모듈, 프로그램 모듈 또는 다른 구성요소에 의해 수행되는 동작들은 순차적, 병렬적, 반복적 또는 휴리스틱하게 실행되거나, 적어도 일부 동작이 다른 순서로 실행되거나, 생략되거나, 또는 다른 동작이 추가될 수 있다.As used herein, the term "module " includes units comprised of hardware, software, or firmware and may be used interchangeably with terms such as, for example, logic, logic blocks, components, or circuits. A "module" may be an integrally constructed component or a minimum unit or part thereof that performs one or more functions. "Module" may be implemented either mechanically or electronically, for example, by application-specific integrated circuit (ASIC) chips, field-programmable gate arrays (FPGAs) And may include programmable logic devices. At least some of the devices (e.g., modules or functions thereof) or methods (e.g., operations) according to various embodiments may be stored in a computer readable storage medium (e.g., memory 130) . ≪ / RTI > When the instruction is executed by a processor (e.g., processor 120), the processor may perform a function corresponding to the instruction. The computer-readable recording medium may be a hard disk, a floppy disk, a magnetic medium such as a magnetic tape, an optical recording medium such as a CD-ROM, a DVD, a magnetic-optical medium such as a floppy disk, The instructions may include code that is generated by the compiler or code that may be executed by the interpreter. Modules or program modules according to various embodiments may include at least one or more of the components described above Operations that are performed by modules, program modules, or other components, in accordance with various embodiments, may be performed in a sequential, parallel, iterative, or heuristic manner, or at least in part Some operations may be executed in a different order, omitted, or other operations may be added.

101: 전자 장치 110: 버스
120: 프로세서 130: 메모리
150: 입출력 인터페이스 160: 디스플레이
170: 통신 인터페이스
101: electronic device 110: bus
120: processor 130: memory
150: input / output interface 160: display
170: Communication interface

Claims (20)

적어도 하나의 센서;
근거리 통신 모듈;
상기 근거리 통신 모듈을 이용해 획득된 제1 네트워크 정보를 저장하기 위한 메모리; 및
프로세서를 포함하고, 상기 프로세서는:
전자 장치에 대응하는 위치 정보에 대한 요청을 획득하고;
상기 적어도 하나의 센서를 이용하여 상기 전자 장치에 대한 움직임을 확인하고;
상기 움직임이 지정된 조건을 만족하는지 여부에 기반하여, 상기 요청에 반응하여 상기 제1 네트워크 정보를 상기 메모리로부터 획득(retrieve)하거나, 선택적으로, 상기 근거리 통신 모듈을 이용하여 제2 네트워크 정보를 스캔(scan)하고; 및
상기 제1 네트워크 정보 또는 상기 제2 네트워크 정보 중 대응하는 네트워크 정보를 상기 요청에 대한 응답으로 제공하도록 설정된 전자 장치.
At least one sensor;
Local area communication module;
A memory for storing first network information obtained using the short range communication module; And
The processor comprising:
Obtain a request for location information corresponding to the electronic device;
Identify movement to the electronic device using the at least one sensor;
Wherein the first network information is retrieved from the memory in response to the request based on whether the motion meets a specified condition or alternatively the second network information is scanned using the short- scan); And
And provide corresponding network information of the first network information or the second network information in response to the request.
제 1 항에 있어서,
상기 근거리 통신 모듈은, WiFi 모듈, 블루투스 모듈, 또는 NFC 모듈을 포함하는 전자 장치.
The method according to claim 1,
Wherein the short range communication module comprises a WiFi module, a Bluetooth module, or an NFC module.
제 1 항에 있어서, 적어도 하나의 어플리케이션 또는 하나의 위치 매니저를 더 포함하고,
상기 프로세서는,
상기 적어도 하나의 어플리케이션 또는 상기 하나의 위치 매니저로부터 상기 요청을 획득하는 전자 장치.
The method of claim 1, further comprising at least one application or one location manager,
The processor comprising:
And obtain the request from the at least one application or the one location manager.
제 3 항에 있어서,
상기 프로세서는,
상기 적어도 하나의 어플리케이션을 이용하여 상기 요청을 생성하고; 및
상기 위치 매니저를 통해 상기 생성된 요청을 획득하도록 설정된 전자 장치.
The method of claim 3,
The processor comprising:
Generate the request using the at least one application; And
And to obtain the generated request via the location manager.
제 3 항에 있어서,
상기 프로세서는,
상기 적어도 하나의 어플리케이션 또는 상기 하나의 위치 매니저로 상기 대응하는 네트워크 정보를 제공하도록 설정된 전자 장치.
The method of claim 3,
The processor comprising:
And to provide the corresponding network information to the at least one application or the one location manager.
제 5 항에 있어서,
상기 프로세서는,
상기 대응하는 네트워크 정보를 상기 하나의 위치 매니저에 전송하고; 및
상기 위치 매니저를 통해 상기 대응하는 네트워크 정보를 상기 적어도 하나의 어플리케이션에 제공하도록 설정된 전자 장치.
6. The method of claim 5,
The processor comprising:
Transmit the corresponding network information to the one location manager; And
And to provide the corresponding network information to the at least one application through the location manager.
제1 항에 있어서,
상기 프로세서는,
상기 제 1 네트워크 정보의 적어도 일부 정보를 변경하여 상기 응답의 적어도 일부로 제공하도록 설정된 전자 장치.
The method according to claim 1,
The processor comprising:
And change at least some information of the first network information to provide at least a portion of the response.
제 7 항에 있어서,
상기 변경된 적어도 일부 정보는 상기 제 1 네트워크 정보의 획득시 측정된 신호 세기 정보 또는 시간 정보를 포함하는 전자 장치.
8. The method of claim 7,
Wherein the modified at least some information includes signal strength information or time information measured at the time of acquiring the first network information.
제 1 항에 있어서,
상기 지정된 조건은 상기 움직임에 대한 지정된 임계값 또는 지정된 상태를 포함하는 전자 장치.
The method according to claim 1,
Wherein the specified condition includes a specified threshold or designated state for the motion.
제 9 항에 있어서,
상기 프로세서는,
상기 적어도 하나의 센서에 대한 민감도에 적어도 기반하여 상기 임계값을 조절하도록 설정된 전자 장치.
10. The method of claim 9,
The processor comprising:
And to adjust the threshold based at least in part on the sensitivity to the at least one sensor.
제1항에 있어서,
상기 프로세서는,
상기 요청과 연관된 어플리케이션이 위치 기반 서비스를 제공하는 것으로 확인된 경우, 상기 움직임에 대응하는 값이 지정된 임계값을 초과하는 지 여부를 판단하도록 설정된 전자 장치.
The method according to claim 1,
The processor comprising:
And determine whether a value corresponding to the motion exceeds a specified threshold value if an application associated with the request is determined to provide location based services.
제1항에 있어서,
상기 프로세서는,
상기 움직임에 대응하는 값이 미리 설정된 임계값 이하인 경우, 최근에 저장된 무선 랜 스캔 정보의 시간값이 미리 설정된 임계 시간값 이내인지 여부를 확인하고, 상기 시간값이 임계 시간값 이외인 경우, 복수의 통신 대역들 중 일 통신 대역을 이용하여 무선 랜 스캔을 수행하고, 상기 무선 랜 스캔을 통해 확인된 무선 랜 스캔 정보를 상기 요청과 연관된 어플리케이션으로 전달하도록 설정된 전자 장치.
The method according to claim 1,
The processor comprising:
When the value corresponding to the motion is equal to or less than a preset threshold value, whether or not the time value of the WLAN scan information stored recently is within a predetermined threshold time value, and if the time value is other than the threshold time value, Wherein the wireless LAN scan is performed using one communication band among the communication bands and the confirmed wireless LAN scan information is transmitted to the application associated with the request.
제1항에 있어서,
상기 프로세서는,
상기 전자 장치의 움직임에 대응하는 값이 지정된 임계값을 초과하는 경우, 복수의 통신 대역 중 일 통신 대역을 통해 무선 랜 스캔을 수행하고, 상기 무선 랜 스캔을 통해 확인된 무선 랜 스캔 정보를 상기 요청과 연관된 어플리케이션으로 전달하도록 설정된 전자 장치.
The method according to claim 1,
The processor comprising:
When a value corresponding to a motion of the electronic device exceeds a predetermined threshold value, performs a wireless LAN scan through a communication band of a plurality of communication bands, and transmits the confirmed wireless LAN scan information through the wireless LAN scan to the request Lt; RTI ID = 0.0 > and / or < / RTI >
제1항에 있어서,
GPS 모듈을 더 포함하고,
상기 프로세서는,
상기 GPS 모듈이 활성화되어 있거나 획득된 위치 정보가 지정된 시간 내에 획득되는 경우, 일 통신 대역을 구성하는 복수의 채널들 중 일부 채널을 이용하여 무선 랜 스캔을 수행하고, 상기 무선 랜 스캔을 통해 확인된 무선 랜 스캔 정보를 상기 요청과 연관된 어플리케이션으로 전달하도록 설정된 전자 장치.
The method according to claim 1,
Further comprising a GPS module,
The processor comprising:
When the GPS module is activated or the obtained location information is acquired within a predetermined time, the mobile terminal performs a wireless LAN scan using a part of a plurality of channels constituting a communication band, And to forward the wireless LAN scan information to an application associated with the request.
전자 장치의 위치 정보를 획득하는 방법에 있어서,
전자 장치에 대응하는 위치 정보에 대한 요청을 획득하는 동작;
적어도 하나의 센서를 이용하여 상기 전자 장치에 대한 움직임을 확인하는 동작;
상기 움직임이 지정된 조건을 만족하는지 여부에 기반하여, 상기 요청에 반응하여 제1 네트워크 정보를 메모리로부터 획득(retrieve)하거나, 선택적으로, 근거리 통신 모듈을 이용하여 제2 네트워크 정보를 스캔(scan)하는 동작; 및
상기 제1 네트워크 정보 또는 상기 제2 네트워크 정보 중 대응하는 네트워크 정보를 상기 요청에 대한 응답으로 제공하는 동작을 포함하는 방법.
A method for acquiring location information of an electronic device,
Obtaining a request for location information corresponding to the electronic device;
Confirming movement of the electronic device using at least one sensor;
In response to the request, retrieve the first network information from the memory or, alternatively, scan the second network information using the short-range communication module, based on whether the motion satisfies the specified condition action; And
Providing corresponding network information of the first network information or the second network information in response to the request.
제15항에 있어서,
상기 지정된 조건은 상기 움직임에 대한 지정된 임계값 또는 지정된 상태를 포함하는 방법.
16. The method of claim 15,
Wherein the specified condition comprises a specified threshold or designated state for the motion.
제15항에 있어서,
상기 요청과 연관된 어플리케이션이 위치 기반 서비스를 제공하는 것으로 확인된 경우, 상기 움직임에 대응하는 값이 지정된 임계값을 초과하는 지 여부를 판단하는 동작을 더 포함하는 방법.
16. The method of claim 15,
And if the application associated with the request is determined to provide location based services, determining whether a value corresponding to the motion exceeds a specified threshold.
제15항에 있어서,
상기 제공하는 동작은,
상기 움직임에 대응하는 값이 미리 설정된 임계값 이하인 경우, 최근에 저장된 무선 랜 스캔 정보의 시간값이 미리 설정된 임계 시간값 이내인지 여부를 확인하는 동작; 및
상기 시간값이 임계 시간값 이외인 경우, 복수의 통신 대역들 중 일 통신 대역을 이용하여 무선 랜 스캔을 수행하고, 상기 무선 랜 스캔을 통해 확인된 무선 랜 스캔 정보를 상기 요청과 연관된 어플리케이션으로 전달하는 동작을 포함하는 방법.
16. The method of claim 15,
The above-
Checking whether the time value of the WLAN scan information stored recently is within a predetermined threshold time value if the value corresponding to the motion is less than or equal to a preset threshold value; And
When the time value is other than the threshold time value, performing a wireless LAN scan using a communication band among a plurality of communication bands and transmitting the confirmed wireless LAN scan information through the wireless LAN scan to an application associated with the request Lt; / RTI >
제15항에 있어서,
상기 제공하는 동작은,
상기 전자 장치의 움직임에 대응하는 값이 지정된 임계값을 초과하는 경우, 복수의 통신 대역 중 일 통신 대역을 통해 무선 랜 스캔을 수행하고, 상기 무선 랜 스캔을 통해 확인된 무선 랜 스캔 정보를 상기 요청과 연관된 어플리케이션으로 전달하는 동작을 포함하는 방법.
16. The method of claim 15,
The above-
When a value corresponding to a motion of the electronic device exceeds a predetermined threshold value, performs a wireless LAN scan through a communication band of a plurality of communication bands, and transmits the confirmed wireless LAN scan information through the wireless LAN scan to the request To an application associated with the application.
제15항에 있어서,
GPS 모듈이 활성화되어 있거나 획득된 위치 정보가 지정된 시간 내에 획득되는 경우, 일 통신 대역을 구성하는 복수의 채널들 중 일부 채널을 이용하여 무선 랜 스캔을 수행하고, 상기 무선 랜 스캔을 통해 확인된 무선 랜 스캔 정보를 상기 요청과 연관된 어플리케이션으로 전달하는 동작을 더 포함하는 방법.
16. The method of claim 15,
When the GPS module is activated or the obtained location information is acquired within a predetermined time, the wireless LAN scan is performed using some of the plurality of channels constituting one communication band, And forwarding the LAN scan information to an application associated with the request.
KR1020150172729A 2015-12-04 2015-12-04 Method for obtaining location information and electronic device supporting the same KR20170066111A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020150172729A KR20170066111A (en) 2015-12-04 2015-12-04 Method for obtaining location information and electronic device supporting the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020150172729A KR20170066111A (en) 2015-12-04 2015-12-04 Method for obtaining location information and electronic device supporting the same

Publications (1)

Publication Number Publication Date
KR20170066111A true KR20170066111A (en) 2017-06-14

Family

ID=59218119

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020150172729A KR20170066111A (en) 2015-12-04 2015-12-04 Method for obtaining location information and electronic device supporting the same

Country Status (1)

Country Link
KR (1) KR20170066111A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019066582A1 (en) * 2017-09-29 2019-04-04 삼성전자주식회사 Method and device for operating operation mode of electronic device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019066582A1 (en) * 2017-09-29 2019-04-04 삼성전자주식회사 Method and device for operating operation mode of electronic device
KR20190038438A (en) * 2017-09-29 2019-04-08 삼성전자주식회사 Apparatus and method for managing operation mode for electronic device
US11115929B2 (en) 2017-09-29 2021-09-07 Samsung Electronics Co., Ltd Method and device for operating operation mode of electronic device

Similar Documents

Publication Publication Date Title
US20190355365A1 (en) Electronic device and method of operation thereof
US10038790B2 (en) Communication service operating method and electronic device supporting the same
KR20180000088A (en) Method for switching of antenna for reducing specific absorption rate and electronic device supporting the same
KR102630526B1 (en) Electroic device for charging battery and method of operating thereof
KR20180025710A (en) Electronic device and method for recognizing grip state using the same
KR20170097835A (en) Electronic device and method for registering a smart home device in a smart home system
KR20170058597A (en) Method for wireless communication and electronic device supporting the same
US10521031B2 (en) Electronic device and method for processing input by external input device
KR20170092966A (en) Electronic device and method for establishing a connection with a external electronic device
KR20170046443A (en) Method for protecting interferance between frequencies and electronic device implementing the same
KR20160101600A (en) Method and apparatus for providing of screen mirroring service
KR102349262B1 (en) Method for providing tethering service and electronic device supporting the same
US20190034222A1 (en) Electronic device for controlling application and operation method thereof
US9974103B2 (en) Method and apparatus for connecting with external device
KR20170019806A (en) Method and apparatus for providing location information
EP3223580B1 (en) Method and electronic device for providing communication function
KR102304260B1 (en) Method for determining location, electronic apparatus and storage medium
EP3416454B1 (en) Electronic device and operation method therefor
KR20180087046A (en) Electronic apparatus and tethering connection method thereof
US20180183546A1 (en) Electronic device and method for detecting error thereof
KR20170019804A (en) Method for identifying location information of electronic device and the electronic device
KR20180020401A (en) Method for controlling communication network connection, storage medium and electronic device therefor
KR102498362B1 (en) Method for calculating location information and an electronic device thereof
KR20180098051A (en) electronic device and method for controlling communication of the same
KR20180110517A (en) An elelctronic device and a coverrage compensation method for a shortrange communication in the elelctronic device