KR20200105366A - Electronic devices for supporting user state based geofencing services - Google Patents

Electronic devices for supporting user state based geofencing services Download PDF

Info

Publication number
KR20200105366A
KR20200105366A KR1020190071444A KR20190071444A KR20200105366A KR 20200105366 A KR20200105366 A KR 20200105366A KR 1020190071444 A KR1020190071444 A KR 1020190071444A KR 20190071444 A KR20190071444 A KR 20190071444A KR 20200105366 A KR20200105366 A KR 20200105366A
Authority
KR
South Korea
Prior art keywords
processor
state
electronic device
communication module
instructions
Prior art date
Application number
KR1020190071444A
Other languages
Korean (ko)
Inventor
성선익
강대호
경연웅
유승민
임채만
조성래
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to PCT/KR2019/017706 priority Critical patent/WO2020175778A1/en
Priority to US16/744,438 priority patent/US10849073B2/en
Publication of KR20200105366A publication Critical patent/KR20200105366A/en

Links

Images

Classifications

    • 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/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • 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
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • 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
    • 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
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

According to various embodiments of the present invention, an electronic device may comprise: a cellular communication module; a Wi-Fi communication module; a sensor module; a first processor operatively connected to the cellular communication module, the Wi-Fi communication module, and the sensor module; a second processor operatively connected to the cellular communication module and the Wi-Fi communication module; and a memory operatively connected to the first processor and the second processor. The memory may store first instructions, when executed, for the first processor to recognize that a user state changes to a measurement state to perform positioning based on data received from the sensor module or the cellular communication module, determine a time point to perform positioning based on the change, and transmit a timing notification to the second processor at the time point to perform the positioning. The memory may store second instructions, when executed, for the second processor to perform the operation of measuring a position of the electronic device using the Wi-Fi communication module based on the received timing notification. Other various embodiments are also possible.

Description

사용자 상태 기반의 지오펜싱 서비스를 지원하기 위한 전자 장치{Electronic devices for supporting user state based geofencing services}Electronic devices for supporting user state based geofencing services

본 발명의 다양한 실시예는 사용자 상태에 기반하여 지오펜싱 서비스를 지원하도록 구성된 전자 장치에 관한 것이다. Various embodiments of the present invention relate to an electronic device configured to support a geofencing service based on a user state.

전자 장치는 다양한 위치 기반 서비스를 제공할 수 있다. 예를 들어, 지오펜싱(geofencing)은 사용자의 위치를 추적하고 이에 기반하여 사용자가 지리적으로 지정된 지오펜스(geofence) 내로 들어오고 지오펜스 밖으로 나가는 것을 인식하는 기능일 수 있다. 지오펜싱 서비스는 상기 인식에 기반하여 사용자에게 정보(예: 해당 지원펜스(geofence)와 관련된 광고 또는 알림)를 제공하는 위치 기반 서비스일 수 있다.The electronic device may provide various location-based services. For example, geofencing may be a function of tracking a user's location and, based on this, recognizing that the user enters and exits a geographically designated geofence. The geofencing service may be a location-based service that provides information (eg, advertisement or notification related to a corresponding geofence) to a user based on the recognition.

전자 장치는 측위(positioning) 수단으로서 예컨대, GPS, 또는 Wi-Fi 통신 모듈을 이용하여 사용자의 위치를 추적함으로써 지오펜싱을 수행할 수 있다. 그러나, 이러한 추적 방식은 지오펜싱의 높은 정확도를 제공하지만 무선 통신 모듈을 지속적으로 이용하기 때문에 많은 전력 소모가 요구될 수 있다. The electronic device may perform geofencing by tracking a user's location using, for example, a GPS or a Wi-Fi communication module as a positioning means. However, although this tracking method provides high accuracy of geofencing, a lot of power consumption may be required because the wireless communication module is continuously used.

전자 장치는 상기의 무선 통신 모듈을 이용하여 사용자의 최초 위치를 측정하고 이후 측위 수단으로서 예컨대, 가속도 센서 및 자이로 센서를 이용하여 위치를 업데이트함으로써 지속적으로 통신 모듈을 사용하는 방식보다 저전력으로 지오펜싱을 수행할 수 있다. 하지만, 이러한 추적 방식은 통신 모듈을 최초 측위에만 이용하는 것이어서 상대적으로 정확도가 낮을 수 있다. The electronic device measures the user's initial position using the wireless communication module and then updates the position using, for example, an acceleration sensor and a gyro sensor as a positioning means. Can be done. However, since this tracking method uses the communication module only for initial positioning, the accuracy may be relatively low.

다양한 실시예에서 전자 장치는 사용자 상태(예: 정지 또는 이동)에 기반하여 측위 시점을 결정하고 측위 시점에 무선 통신 모듈을 이용하여 측위를 수행함으로써 높은 정확도 및 저전력이면서 동시에 저지연의 지오펜싱을 지원할 수 있다. In various embodiments, the electronic device determines a positioning time based on a user state (eg, stop or move) and performs positioning using a wireless communication module at the positioning time, thereby supporting high-accuracy, low-power, and low-latency geofencing. I can.

다양한 실시예에 따르면, 전자 장치는, 셀룰러 통신 모듈; WiFi 통신 모듈; 센서 모듈; 상기 셀룰러 통신 모듈, 상기 WiFi 통신 모듈 및 상기 센서 모듈과 작동적으로 연결된 제 1 프로세서; 상기 셀룰러 통신 모듈 및 상기 WiFi통신 모듈과 작동적으로 연결된 제 2 프로세서; 및 상기 제 1 프로세서 및 상기 제 2 프로세서와 작동적으로 연결된 메모리를 포함할 수 있다. 상기 메모리는, 실행될 때, 상기 제 1 프로세서가: 상기 센서 모듈 또는 상기 셀룰러 통신 모듈로부터 수신된 데이터에 기반하여 사용자 상태가 측위를 수행할 측정 상태로 변화됨을 인식하고, 상기 변화에 기반하여 측위를 수행할 시점을 결정하고, 상기 측위를 수행할 시점에 타이밍 통지를 상기 제 2 프로세서에 전송하도록 하는 제 1 인스트럭션들을 저장할 수 있다. 상기 메모리는, 실행될 때, 상기 제 2 프로세서가: 상기 수신된 타이밍 통지에 기반하여, 상기 WiFi 통신 모듈을 이용하여 상기 전자 장치의 위치를 측정하는 동작을 수행하도록 하는 제 2 인스트럭션들을 저장할 수 있다.According to various embodiments, an electronic device includes: a cellular communication module; WiFi communication module; Sensor module; A first processor operatively connected to the cellular communication module, the WiFi communication module, and the sensor module; A second processor operatively connected to the cellular communication module and the WiFi communication module; And a memory operatively connected to the first processor and the second processor. The memory, when executed, the first processor: recognizes that a user state changes to a measurement state to perform positioning based on data received from the sensor module or the cellular communication module, and performs positioning based on the change. First instructions for determining a time point to be performed and transmitting a timing notification to the second processor at the time point at which the positioning is to be performed may be stored. The memory may store second instructions that, when executed, cause the second processor to: based on the received timing notification, perform an operation of measuring the location of the electronic device using the WiFi communication module.

다양한 실시예에서 전자 장치를 동작시키는 방법은, 상기 전자 장치의 제 1 프로세서가, 상기 전자 장치의 센서 모듈 또는 셀룰러 통신 모듈로부터 수신된 데이터에 기반하여, 사용자 상태가 측위를 수행할 측정 상태로 변화됨을 인식하는 동작; 상기 제 1 프로세서가, 상기 변화에 기반하여 측위를 수행할 시점을 결정하는 동작; 상기 제 1 프로세서가, 상기 측위를 수행할 시점에 타이밍 통지를 상기 전자 장치의 제 2 프로세서에 전송하는 동작; 및 상기 제 2 프로세서가, 상기 타이밍 통지의 수신에 기반하여, WiFi 통신 모듈을 이용하여 상기 전자 장치의 위치를 측정하는 동작을 포함할 수 있다.In various embodiments, a method of operating an electronic device includes a first processor of the electronic device changing a user state to a measurement state to perform positioning based on data received from a sensor module or a cellular communication module of the electronic device. The operation of recognizing; Determining, by the first processor, a time point to perform positioning based on the change; Transmitting, by the first processor, a timing notification to a second processor of the electronic device when the positioning is to be performed; And measuring, by the second processor, a location of the electronic device using a WiFi communication module based on reception of the timing notification.

다양한 실시예에 따르면, 측위가 필요한 사용자 상태(예: 사용자가 걷고 있는 상태)에서는 무선 통신 모듈을 이용하여 측위를 수행하고 측위가 불필요한 사용자 상태(예: 정지 또는 빠른 이동)에서는 무선 통신 모듈을 이용한 측위를 수행하지 않음으로써 불필요한 전력 소모를 줄일 수 있고 높은 정확도와 저지연을 갖는 지오펜싱 서비스가 가능하다.According to various embodiments, positioning is performed using a wireless communication module in a user state that requires positioning (eg, a user is walking), and a wireless communication module is used in a user state that does not require positioning (eg, stop or fast movement). By not performing positioning, unnecessary power consumption can be reduced, and a geofencing service with high accuracy and low latency is possible.

도 1은, 다양한 실시예에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는, 일 실시예에 따른, 사용자 상태 기반의 지오펜싱 서비스를 지원하기 위한 전자 장치의 블록도이다.
도 3은, 일 실시예에 따른, 사용자 상태 기반의 지오펜싱 서비스를 지원하기 위한 전자 장치의 블록도이다.
도 4는, 일 실시예에 따른, 사용자 상태 기반의 지오펜싱 서비스를 지원하기 위한 전자 장치의 블록도이다.
도 5는, 다양한 실시예에 따른, 사용자 상태 기반의 지오펜싱 서비스를 지원하기 위한 전자 장치의 동작들을 도시한다.
도 6은, 다양한 실시예에 따른, 타이밍 통지를 위한 동작들을 설명하기 위한 도면이다.
도 7은, 다양한 실시예에 따른, 사용자 상태의 변화에 따른 동작들을 도시한다.
도 8은, 다양한 실시예에 따른, 타이머의 만료에 따른 동작들을 도시한다.
도 9는, 다양한 실시예에 따른, 측위를 수행할 시점을 나타내는 도면이다.
도 10은, 다양한 실시예에 따른, 타이밍 통지의 수신에 따른 동작들을 도시한다.
도 11은, 다양한 실시예에 따른, 타이머 만료에 따른 동작들을 도시한다.
1 is a block diagram of an electronic device in a network environment, according to various embodiments.
2 is a block diagram of an electronic device for supporting a geofencing service based on a user state, according to an embodiment.
3 is a block diagram of an electronic device for supporting a geofencing service based on a user state, according to an embodiment.
4 is a block diagram of an electronic device for supporting a geofencing service based on a user state, according to an embodiment.
5 illustrates operations of an electronic device for supporting a geofencing service based on a user state, according to various embodiments.
6 is a diagram for describing operations for timing notification, according to various embodiments.
7 is a diagram illustrating operations according to a change in a user state, according to various embodiments.
8 illustrates operations according to expiration of a timer, according to various embodiments.
9 is a diagram illustrating a time point at which positioning is performed, according to various embodiments.
10 illustrates operations upon receipt of a timing notification, according to various embodiments.
11 shows operations according to expiration of a timer, according to various embodiments.

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

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

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 표시 장치(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. The coprocessor 123 is, for example, on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, an application is executed). ) While in the state, together with the main processor 121, at least one of the components of the electronic device 101 (for example, the display device 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the functions or states related to. According to an embodiment, the coprocessor 123 (eg, an image signal processor or a communication processor) may be implemented as a part of other functionally related components (eg, the camera module 180 or the communication module 190). have.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 하나의 안테나를 포함할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC)이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.The antenna module 197 may transmit a signal or power to the outside (eg, an external electronic device) or receive from the outside. According to an embodiment, the antenna module 197 may include one antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern. According to an embodiment, the antenna module 197 may include a plurality of antennas. In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is, for example, provided by the communication module 190 from the plurality of antennas. Can be chosen. The signal or power may be transmitted or received between the communication module 190 and an external electronic device through the at least one selected antenna. According to some embodiments, other components (eg, RFIC) other than the radiator may be additionally formed as part of the antenna module 197.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method (e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI))) between peripheral devices and signals ( E.g. commands or data) can be exchanged with each other.

일 실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일 실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 기반하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. According to an embodiment, the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199. Each of the external electronic devices 102 and 104 may be a device of the same or different type as the electronic device 101. According to an embodiment, all or part of the operations executed by the electronic device 101 may be executed by one or more of the external electronic devices 102, 104, or 108. For example, when the electronic device 101 needs to perform a function or service automatically or based on a request from a user or another device, the electronic device 101 does not execute the function or service by itself. In addition or in addition, it is possible to request one or more external electronic devices to perform the function or at least part of the service. One or more external electronic devices receiving the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit the execution result to the electronic device 101. The electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request. To this end, for example, cloud computing, distributed computing, or client-server computing technology may be used.

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치 (예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be devices of various types. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. The electronic device according to the embodiment of the present document is not limited to the above-described devices.

본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나" 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.Various embodiments of the present document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various modifications, equivalents, or substitutes of the corresponding embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or a plurality of the items unless clearly indicated otherwise in a related context. In this document, “A or B”, “at least one of A and B”, “at least one of A or B”, “A, B or C”, “at least one of A, B and C” and “A, Each of phrases such as "at least one of B or C" may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish the component from other corresponding components, and the components may be referred to in other aspects (eg, importance or Order) is not limited. Some (eg, a first) component is referred to as “coupled” or “connected” with or without the terms “functionally” or “communicatively” to another (eg, second) component. When mentioned, it means that any of the above components can be connected to the other components directly (eg by wire), wirelessly, or via a third component.

본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term "module" used in this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic blocks, parts, or circuits. The module may be an integrally configured component or a minimum unit of the component or a part thereof that performs one or more functions. For example, according to an embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장매체는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of the present document include one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101). It may be implemented as software (for example, the program 140) including them. For example, the processor (eg, the processor 120) of the device (eg, the electronic device 101) may call and execute at least one command among one or more commands stored from a storage medium. This makes it possible for the device to be operated to perform at least one function according to the at least one command invoked. The one or more instructions may include code generated by a compiler or code executable by an interpreter. A storage medium that can be read by a device may be provided in the form of a non-transitory storage medium. Here,'non-transient' only means that the storage medium is a tangible device and does not contain a signal (e.g., electromagnetic wave), and this term refers to the case where data is semi-permanently stored in the storage medium. It does not distinguish between temporary storage cases.

일 실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory (CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to an embodiment, a method according to various embodiments disclosed in the present document may be provided by being included in a computer program product. Computer program products can be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a device-readable storage medium (e.g. compact disc read only memory (CD-ROM)), or through an application store (e.g. Play Store TM ) or two user devices ( It can be distributed (e.g., downloaded or uploaded) directly between, e.g. smartphones). In the case of online distribution, at least a part of the computer program product may be temporarily stored or temporarily generated in a storage medium that can be read by a device such as a server of a manufacturer, a server of an application store, or a memory of a relay server.

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

도 2는, 일 실시예에 따른, 사용자 상태 기반의 지오펜싱 서비스를 지원하기 위한 전자 장치(101)의 블록도(200)이다. 도 2를 참조하면, 무선 통신 모듈(192)는 GNSS 통신 모듈(210), WiFi(wireless fidelity) 통신 모듈(220), 및 셀룰러 통신 모듈(230)을 포함할 수 있다. 센서 모듈(176)은 가속도 센서(240) 및 자이로 센서(250)를 포함할 수 있다. 프로세서(120)는 어플리케이션 프로세서(260), 커뮤니케이션 프로세서(270), 및 센서 허브 프로세서(280)를 포함할 수 있다. 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”와 상호 호환적으로 사용될 수 있다. GNSS 통신 모듈(210)은 무선 통신 모듈(192)의 구성에서 생략될 수도 있다.FIG. 2 is a block diagram 200 of an electronic device 101 for supporting a geofencing service based on a user state, according to an exemplary embodiment. Referring to FIG. 2, the wireless communication module 192 may include a GNSS communication module 210, a wireless fidelity (WiFi) communication module 220, and a cellular communication module 230. The sensor module 176 may include an acceleration sensor 240 and a gyro sensor 250. The processor 120 may include an application processor 260, a communication processor 270, and a sensor hub processor 280. The GNSS may be, for example, a global positioning system (GPS), a global navigation satellite system (Glonass), a Beidou Navigation Satellite System (hereinafter referred to as “Beidou”), or a Galileo, the European global satellite-based navigation system. Hereinafter, in this document, “GPS” may be used interchangeably with “GNSS”. The GNSS communication module 210 may be omitted from the configuration of the wireless communication module 192.

다양한 실시예에서, 센서 허브 프로세서(280)(예: 도 1의 보조 프로세서(123))는 상태 추적 모듈(291)을 포함할 수 있고, 센서 모듈(176)에 작동적으로 연결될 수 있다. 상태 추적 모듈(291)은, 센서 허브 프로세서(280) 내 하드웨어로서, 주어진 기능(예: 센서 모듈(176)로부터 수신된 데이터를 이용하여 사용자 상태(예: 정지 상태(stationary status), 걷고 있는 상태(walking status), 뛰고 있는 상태(running status), 자전거를 타고 있는 상태(on a bicycle), 또는 차에 타고 있는 상태(in the car)) 및/또는 상태 변화를 인식하는 동작)을 수행하도록 구성될 수 있다. 상태 추적 모듈(291)은 소프트웨어(예: 도 1의 프로그램(140))로서 구현될 수도 있으며, 실행될 때, 상태 추적 모듈(291)의 인스트럭션들을 센서 허브 프로세서(280)가 수행할 수 있다. 센서 허브 프로세서(280)는, 커뮤니케이션 프로세서(270)의 제어에 기반하여, 상태 추적 모듈(291)의 기능을 활성화 또는 비활성화할 수 있다.In various embodiments, the sensor hub processor 280 (eg, the co-processor 123 of FIG. 1) may include a state tracking module 291 and may be operatively connected to the sensor module 176. The status tracking module 291, as hardware in the sensor hub processor 280, uses a given function (eg, data received from the sensor module 176) to provide a user status (eg, stationary status, walking status). (walking status), running status, on a bicycle, or in the car (in the car) and/or an action to recognize changes in status) Can be. The state tracking module 291 may be implemented as software (eg, the program 140 of FIG. 1 ), and when executed, the sensor hub processor 280 may perform instructions of the state tracking module 291. The sensor hub processor 280 may activate or deactivate a function of the state tracking module 291 based on the control of the communication processor 270.

다양한 실시예에서, 커뮤니케이션 프로세서(270)(예: 도 1의 보조 프로세서(123))는, 타이밍 결정 매니저(293)를 포함할 수 있고, 어플리케이션 프로세서(260), 센서 허브 프로세서(280) 및 셀룰러 통신 모듈(230)에 작동적으로 연결될 수 있다. 타이밍 결정 매니저(293)는, 커뮤니케이션 프로세서(270) 내 하드웨어로서, 주어진 기능(예: 인식된 사용자 상태 및/또는 그 변화에 기반하여 측위(positioning)를 수행할 시점을 결정하는 동작 및 측위를 요청하는 타이밍 통지(timing notification)를, 결정된 측위 시점에, 전송하는 동작)을 수행하도록 구성될 수 있다. 타이밍 결정 매니저(293)는 소프트웨어(예: 프로그램(140))로서 구현될 수도 있으며, 실행될 때, 타이밍 결정 매니저(293)의 인스트럭션들을 커뮤니케이션 프로세서(270)가 수행할 수 있다. 커뮤니케이션 프로세서(270)는, 어플리케이션 프로세서(260)의 제어에 기반하여, 타이밍 결정 매니저(293)의 기능을 활성화 또는 비활성화할 수 있다.In various embodiments, the communication processor 270 (eg, the co-processor 123 of FIG. 1) may include a timing determination manager 293, and the application processor 260, the sensor hub processor 280, and the cellular It may be operatively connected to the communication module 230. The timing determination manager 293, as hardware in the communication processor 270, requests an operation and positioning to determine a time point to perform positioning based on a given function (eg, a recognized user state and/or a change thereof) It may be configured to perform an operation of transmitting a timing notification at a determined positioning time point. The timing determination manager 293 may be implemented as software (for example, the program 140), and when executed, the communication processor 270 may execute instructions of the timing determination manager 293. The communication processor 270 may activate or deactivate a function of the timing determination manager 293 based on the control of the application processor 260.

다양한 실시예에서, 커뮤니케이션 프로세서(270)는 셀룰러 통신 모듈(230)로부터 수신된 셀룰러 정보(예: 기지국 정보)를 이용하여 위도 및 경도를 추정할 수 있다. 커뮤니케이션 프로세서(270)는 추정된 위도 및 경도를 나타내는 정보를, 어플리케이션 프로세서(260)에 타이밍 통지를 전송할 때, 함께 전송할 수도 있다.In various embodiments, the communication processor 270 may estimate the latitude and longitude using cellular information (eg, base station information) received from the cellular communication module 230. When transmitting a timing notification to the application processor 260, the communication processor 270 may also transmit information indicating the estimated latitude and longitude.

다양한 실시예에서, 어플리케이션 프로세서(260)(예: 도 1의 메인 프로세서(121))는 사용자 입력에 기반하여 지오펜싱 서비스를 실행할 수 있다. 예를 들어, 어플리케이션 프로세서(260)는, 사용자 입력에 기반하여, 어플리케이션 스토어(예: 플레이 스토어TM)의 서버로부터 지오펜싱 서비스를 지원하는 어플리케이션을 다운로드하여 전자 장치(101)에 설치하고 지오펜싱 서비스를 실행할 수 있다. 어플리케이션 프로세서(260)는 지오펜싱 서비스의 활성화를 사용자 입력에 기반하여 결정할 수 있다. 예를 들어, 어플리케이션 프로세서(260)는, 입력 장치(예: 입력 장치(150), 또는 표시 장치(160)의 터치 스크린 디스플레이)로부터 수신된 사용자 입력에 기반하여, 지오펜싱 서비스의 활성화 여부를 사용자가 선택할 수 있도록 하기 위한 아이템(예: 광고 수신 동의를 구하는 메시지)을 포함하는 설정 메뉴(settings)를 표시할 수 있고, 설정 메뉴에서 상기 아이템에 대한 사용자의 선택에 기반하여, 지오펜싱 서비스의 활성화를 결정할 수 있다.In various embodiments, the application processor 260 (eg, the main processor 121 of FIG. 1) may execute a geofencing service based on a user input. For example, the application processor 260 downloads an application supporting a geofencing service from a server of an application store (eg, Play Store TM ) based on a user input, installs it on the electronic device 101, and provides a geofencing service. Can run. The application processor 260 may determine activation of the geofencing service based on a user input. For example, the application processor 260 may determine whether to activate the geofencing service based on a user input received from an input device (eg, the input device 150 or the touch screen display of the display device 160). Settings menu (settings) including items (eg, a message asking for consent to receive advertisements) to be selected can be displayed, and based on the user's selection for the item in the setting menu, activation of the geofencing service Can be determined.

다양한 실시예에서, 어플리케이션 프로세서(260)는 지오펜스의 정보를 무선 통신 모듈(192)을 이용하여 서버(예: 도 1의 서버(108))로부터 수신할 수 있고 메모리(예: 도 1의 메모리(130))에 저장할 수 있다. 지오펜스의 정보는 예를 들어, 위도 및 경도 정보, 지오 펜스 내 위치한 액세스포인트(access point; AP)의 식별정보(예: BSSID(basic service set identifier), 통신 채널, 또는 RSSI(received signal strength indicator)), 또는 서비스 프로파일(예: 지오펜스 중심으로부터의 반경, 요구되는 지연시간(latency), 또는 이벤트 타입(예: 진입 및/또는 진출))을 포함할 수 있다.In various embodiments, the application processor 260 may receive geofence information from a server (for example, the server 108 of FIG. 1) using the wireless communication module 192 and a memory (for example, the memory of FIG. 1 ). (130)). The geofence information includes, for example, latitude and longitude information, identification information of an access point (AP) located within the geofence (eg, basic service set identifier (BSSID), communication channel, or received signal strength indicator (RSI)). )), or a service profile (eg, a radius from a geofence center, a required latency, or an event type (eg, entry and/or exit)).

일 실시예에서, 어플리케이션 프로세서(260)는, 전자 장치(101)에서 지정된 이벤트가 발생된 것에 기반하여, 무선 통신 모듈(192)을 이용하여 서버로 정보 요청을 위한 메시지를 전송하고, 상기 요청에 대한 응답으로서 서버로부터 수신된 지오펜스의 정보를 메모리(130)에 저장할 수 있다. 예를 들어, 어플리케이션 프로세서(260)는, 무선 통신 모듈(192)(예: MST(magnetic secure transmission) 통신 모듈 또는 NFC(near field communication) 통신 모듈)을 이용하여, 결제를 위한 신호를 외부 전자 장치(예: POS(point of sale) 단말)로 전송할 수 있다. 어플리케이션 프로세서(260)는, 결제 신호의 전송에 기반하여, 무선 통신 모듈(192)을 이용하여, 지오펜스의 식별 정보(예: 주변 AP의 BSSID)를 스캔할 수 있고 식별 정보를 포함하는 요청 메시지를 서버로 전송할 수 있다. 어플리케이션 프로세서(260)는, 무선 통신 모듈(192)을 이용하여 서버로부터 상기 식별 정보에 대응하는 지오펜스의 정보를 수신할 수 있다. 어플리케이션 프로세서(260)는 수신된 지오펜스 정보를 메모리(130)에 저장할 수 있다. 예를 들어, 어플리케이션 프로세서(260)는 수신된 정보를 새로운 지오펜스 정보로서 지오펜스 리스트에 추가하거나 수신된 정보를 이용하여 기존 정보를 업데이트할 수 있다.In one embodiment, the application processor 260 transmits a message for requesting information to the server using the wireless communication module 192 based on the occurrence of a specified event in the electronic device 101, and responds to the request. As a response, geofence information received from the server may be stored in the memory 130. For example, the application processor 260 uses a wireless communication module 192 (eg, a magnetic secure transmission (MST) communication module or a near field communication (NFC) communication module) to transmit a signal for payment to an external electronic device. It can be transmitted to (e.g., point of sale (POS) terminal). The application processor 260 can scan the geofence identification information (eg, BSSID of a neighboring AP) using the wireless communication module 192 based on the transmission of the payment signal and a request message including the identification information Can be sent to the server. The application processor 260 may receive geofence information corresponding to the identification information from the server using the wireless communication module 192. The application processor 260 may store the received geofence information in the memory 130. For example, the application processor 260 may add the received information as new geofence information to a geofence list or update existing information using the received information.

다양한 실시예에서, 어플리케이션 프로세서(260)는 무선 통신 모듈(192)를 이용하여, 무선 통신 채널(예: WiFi 통신 채널)을 스캔(scan)함으로써 외부 전자 장치(예: 액세스포인트)의 존재(예: 식별 정보)를 인식할 수 있다. 어플리케이션 프로세서(260)는 인식된 식별 정보(예: BSSID)를 지오펜스 리스트와 비교할 수 있고, 이러한 비교에 기반하여, 인식된 외부 전자 장치가 지오펜스 내 위치한 액세스포인트인지 여부를 결정할 수 있다. 어플리케이션 프로세서(260)는, 인식된 외부 전자 장치가 지오펜스 내 위치한 액세스포인트인지 여부에 기반하여, 타이밍 통지의 주기를 결정할 수 있다. 일 실시예에 따르면, 어플리케이션 프로세서(260)는, 스캔 동작을 통해 지오펜스 리스트에 존재하는 액세스포인트가 인식된 것에 기반하여, 타이밍 통지의 주기를 제 1 시간 값으로 결정할 수 있다. 예를 들어, 제 1 시간 값보다 큰 제 2 시간 값이 설정된 상태인 경우, 어플리케이션 프로세서(260)는 타이밍 통지의 주기를 제 1 시간 값으로 줄일 수 있다. 어플리케이션 프로세서(260)는, 스캔 동작을 통해 지오펜스 리스트에 존재하는 액세스포인트가 발견되지 않은 것에 기반하여, 타이밍 통지의 주기를 제 2 시간 값으로 설정할 수 있다.In various embodiments, the application processor 260 uses the wireless communication module 192 to scan a wireless communication channel (eg, a WiFi communication channel) to detect the presence of an external electronic device (eg, an access point). : Identification information) can be recognized. The application processor 260 may compare the recognized identification information (eg, BSSID) with the geofence list, and based on this comparison, may determine whether the recognized external electronic device is an access point located in the geofence. The application processor 260 may determine a timing notification period based on whether the recognized external electronic device is an access point located within the geofence. According to an embodiment, the application processor 260 may determine the period of the timing notification as the first time value based on the recognition of the access point existing in the geofence list through the scan operation. For example, when a second time value greater than the first time value is set, the application processor 260 may reduce the period of the timing notification to the first time value. The application processor 260 may set the period of the timing notification to the second time value based on the fact that the access point existing in the geofence list is not found through the scan operation.

다양한 실시예에서, 어플리케이션 프로세서(260)는, 지오펜싱 결정 매니저(295)를 포함할 수 있고, GNSS 통신 모듈(210), WiFi 통신 모듈(220), 및 커뮤니케이션 프로세서(270)에 작동적으로(operatively) 연결될 수 있다. 지오펜싱 결정 매니저(295)는, 어플리케이션 프로세서(260) 내 하드웨어로서, 주어진 동작들(예: 사용자 상태를 추적하는 기능의 시작과 종료를 결정하는 동작, 측위 시점의 결정 및/또는 타이밍 통지의 정지(suspense)와 재개(resume)를 결정하는 동작)을 수행하도록 구성될(configured to) 수 있다. 지오펜싱 매니저(295)는 소프트웨어(예: 프로그램(140))로서 구현될 수 있으며, 실행될 때, 지오펜싱 결정 매니저(291)의 인스트럭션들(instructions)을 어플리케이션 프로세서(260)가 수행할 수 있다. In various embodiments, the application processor 260 may include a geofencing decision manager 295, and is operatively in the GNSS communication module 210, the WiFi communication module 220, and the communication processor 270 ( operatively) can be connected. The geofencing decision manager 295, as hardware in the application processor 260, is an operation of determining the start and end of a function for tracking a user state, determining a location point, and/or stopping a timing notification. It can be configured to perform (suspense and the operation to determine resume). The geofencing manager 295 may be implemented as software (eg, the program 140), and when executed, the application processor 260 may perform instructions of the geofencing decision manager 291.

다양한 실시예에서, 어플리케이션 프로세서(260)는, 결정된 측위 시점에, 측위를 수행할 수 있다. 예를 들어, 어플리케이션 프로세서(260)는, 커뮤니케이션 프로세서(270)로부터 수신된 타이밍 통지에 반응하여, 측위 소스를 이용하여 전자 장치(101)의 위치를 측정할 수 있다. 어플리케이션 프로세서(260)는 측위 소스로서 WiFi 통신 모듈(220)을 이용할 수 있다. 어플리케이션 프로세서(260)는 WiFi 통신 모듈(220) 대신, GNSS 통신 모듈(210)을 측위 소스로서 이용할 수도 있다.In various embodiments, the application processor 260 may perform positioning at the determined positioning time point. For example, the application processor 260 may measure the location of the electronic device 101 using a positioning source in response to a timing notification received from the communication processor 270. The application processor 260 may use the WiFi communication module 220 as a positioning source. The application processor 260 may use the GNSS communication module 210 as a positioning source instead of the WiFi communication module 220.

다양한 실시예에서, 어플리케이션 프로세서(260)는, 측위 결과 획득된 위치 정보에 기반하여, 사용자가 지오펜스 내로 들어가거나 밖으로 나가는 것을 인식할 수 있다. 예를 들어, 어플리케이션 프로세서(260)는, GNSS 통신 모듈(210)을 이용하여 획득된 위치 정보에 기반하여, 주변(예: 현재 위치로부터 지정된 반경 이내)에 관심 지점(point of interest; POI)(예: 지오펜스)가 존재하는지 여부를 결정할 수 있다. 프로세서(260)는, 주변에 관심 지점이 존재하는 것으로 결정되는 경우, WiFi 통신 모듈(220)을 이용하여 획득된 위치 정보에 기반하여, 사용자가 지오펜스 내로 들어가거나 밖으로 나가는 것을 인식할 수 있다. In various embodiments, the application processor 260 may recognize that the user enters or exits the geo-fence based on location information obtained as a result of the positioning. For example, the application processor 260, based on the location information obtained using the GNSS communication module 210, a point of interest (POI) in the surrounding (for example, within a specified radius from the current location) ( E.g. geofence) can be determined to exist. When it is determined that a point of interest exists in the vicinity, the processor 260 may recognize that the user enters or exits the geofence based on the location information obtained using the WiFi communication module 220.

다양한 실시예에서, 어플리케이션 프로세서(260)는, 상기 인식에 기반하여, 해당 지오펜스와 관련된 정보(예: 광고)를 표시 장치(예: 도 1의 표시 장치(160)) 및/또는 음향 출력 장치(예: 도 1의 음향 출력 장치(155))를 통해 제공할 수 있다.In various embodiments, the application processor 260 displays information (eg, advertisement) related to a corresponding geofence based on the recognition, a display device (eg, the display device 160 of FIG. 1) and/or a sound output device. (For example, it can be provided through the sound output device 155 of FIG. 1).

다양한 실시예에서, 어플리케이션 프로세서(260)는, 커뮤니케이션 프로세서(270)에 의해 추정된 위경도 정보를, 타이밍 통지와 함께, 커뮤니케이션 프로세서(270)로부터 수신할 수 있다. 어플리케이션 프로세서(260)는, 타이밍 통지의 수신에 기반하여, 실제로 측위 소스(예: GNSS 통신 모듈(210), 및/또는 WiFi 통신 모듈(220))를 이용하여 전자 장치(101)의 위치를 측정할 것인지 여부를, 커뮤니케이션 프로세서(270)로부터 수신된 위경도 정보를 이용하여, 결정할 수 있다. 예를 들어, 어플리케이션 프로세서(260)는, 커뮤니케이션 프로세서(270)에 의해 추정된 위경도 주변에 지오펜스가 존재하는 경우, 타이밍 통지의 수신에 반응하여, 측위 소스를 이용한 위치 측정을 할 수 있다. 어플리케이션 프로세서(260)는, 타이밍 통지가 수신되더라도, 추정된 위경도 주변에 지오펜스가 존재하지 않는 경우, 측위 소스를 이용한 위치 측정을 하지 않을 수 있다.In various embodiments, the application processor 260 may receive the latitude and longitude information estimated by the communication processor 270 from the communication processor 270 together with a timing notification. The application processor 260 actually measures the position of the electronic device 101 using a positioning source (eg, GNSS communication module 210 and/or WiFi communication module 220) based on the reception of the timing notification. Whether to do so may be determined using latitude and longitude information received from the communication processor 270. For example, when a geofence exists around the latitude and longitude estimated by the communication processor 270, the application processor 260 may measure a location using a positioning source in response to receiving a timing notification. Even when a timing notification is received, the application processor 260 may not perform a location measurement using a positioning source if there is no geofence around the estimated latitude and longitude.

도 3은, 일 실시예에 따른, 사용자 상태 기반의 지오펜싱 서비스를 지원하기 위한 전자 장치(101)의 블록도(300)이다. 도 2와 중복되는 설명은 생략 또는 간략히 기재된다. 도 3을 참조하면, 타이밍 결정 매니저(293)가, 센서 허브 프로세서(280)에서 하드웨어 또는 소프트웨어로서 구현될 수 있다. 이에 따라, 어플리케이션 프로세서(260)는, 커뮤니케이션 프로세서(270)와 연동 없이, 센서 허브 프로세서(280)와 통신을 통해 사용자 상태 기반의 지오펜싱 서비스를 지원할 수 있다. 센서 허브 프로세서(280)는 어플리케이션 프로세서(260)의 제어에 기반하여, 타이밍 결정 매니저(293)의 기능 및/또는 상태 추적 모듈(291)의 기능을 활성화 또는 비활성화할 수 있다.3 is a block diagram 300 of an electronic device 101 for supporting a geofencing service based on a user state, according to an embodiment. Descriptions overlapping with FIG. 2 will be omitted or briefly described. Referring to FIG. 3, the timing determination manager 293 may be implemented as hardware or software in the sensor hub processor 280. Accordingly, the application processor 260 may support a geofencing service based on a user state through communication with the sensor hub processor 280 without interworking with the communication processor 270. The sensor hub processor 280 may activate or deactivate a function of the timing determination manager 293 and/or a function of the state tracking module 291 based on the control of the application processor 260.

도 4는, 일 실시예에 따른, 사용자 상태 기반의 지오펜싱 서비스를 지원하기 위한 전자 장치(101)의 블록도(400)이다. 도 2와 중복되는 설명은 생략 또는 간략히 기재된다. 도 4를 참조하면, 상태 추적 모듈(291)이, 커뮤니케이션 프로세서(270)에서 하드웨어 또는 소프트웨어로서 구현될 수 있다. 상태 추적 모듈(291)은 셀룰러 통신 모듈(230)에 작동적으로 연결됨으로써 셀룰러 통신 모듈(230)로부터 셀룰러 정보를 수신할 수 있고, 수신된 셀룰러 정보에 기반하여, 사용자 상태(예: 정지 상태 또는 이동 상태) 및/또는 그 변화를 인식할 수 있고, 인식된 정보를 타이밍 결정 매니저(293)에 제공할 수 있다. 이에 따라 커뮤니케이션 프로세서(270)는, 센서 허브 프로세서(280)와 연동 없이, 측위 시점을 결정할 수 있다. 어떠한 실시예에서, 상태 추적 모듈(291)은 GNSS 통신 모듈(210)에 작동적으로 연결됨으로써 GPS 정보를 수신할 수 있고, 수신된 GPS 정보에 더 기반하여, 사용자 상태 및/또는 그 변화를 인식할 수도 있다.4 is a block diagram 400 of an electronic device 101 for supporting a geofencing service based on a user state, according to an embodiment. Descriptions overlapping with FIG. 2 will be omitted or briefly described. Referring to FIG. 4, the state tracking module 291 may be implemented as hardware or software in the communication processor 270. The status tracking module 291 is operatively connected to the cellular communication module 230 to receive cellular information from the cellular communication module 230, and based on the received cellular information, the user status (eg, stationary status or Movement state) and/or a change thereof may be recognized, and the recognized information may be provided to the timing determination manager 293. Accordingly, the communication processor 270 may determine a positioning time point without interworking with the sensor hub processor 280. In some embodiments, the state tracking module 291 may receive GPS information by being operatively connected to the GNSS communication module 210, and further based on the received GPS information, recognize the user state and/or its change. You may.

도 5는, 다양한 실시예에 따른, 사용자 상태 기반의 지오펜싱 서비스를 지원하기 위한 전자 장치(101)의 동작들(500)을 도시한다. 도 5를 참조하면, 상태 추적 모듈(291), 타이밍 결정 매니저(293), 및 지오펜싱 결정 매니저(295)가 전자 장치(101)의 구성요소로 예컨대, 도 2, 도 3, 또는 도 4와 같이 다양하게 위치할 수 있다. 5 illustrates operations 500 of the electronic device 101 for supporting a geofencing service based on a user state, according to various embodiments. Referring to FIG. 5, a state tracking module 291, a timing determination manager 293, and a geofencing determination manager 295 are components of the electronic device 101, for example, as shown in FIGS. 2, 3, or 4. It can be located in various ways together.

동작 510에서 지오펜싱 결정 매니저(295)는 추적 시작 메시지를 타이밍 결정 매니저(293)으로 전송함으로써 타이밍 결정 매니저(293)의 기능을 활성화할 수 있다. 추적 시작 메시지를 보내는 시점은 다양하게 정해질 수 있다. 일례로, 지오펜싱 결정 매니저(295)는, 지오펜싱 서비스가 시작된 것에 기반하여, 추적 시작 메시지를 타이밍 결정 매니저(293)로 전송할 수 있다. 다른 예로, 지오펜싱 결정 매니저(295)는, 어플리케이션 프로세서(260)가 엑티브(예: 측위 시점을 어플리케이션 프로세서(260)에서 직접 결정)) 상태에서 인엑티브 상태(예: 타이밍 결정 매니저(293)로부터 측위 시점을 수신하기 위한 상태)로 전환하기 위한 이벤트(예: 화면 꺼짐(OFF)) 발생에 기반하여, 추적 시작 메시지를 타이밍 결정 매니저(293)로 전송하고 인엑티브 상태로 전환할 수 있다. 또 다른 예로, 지오펜싱 결정 매니저(295)는, 전자 장치(101)의 위치에서 지정된 반경 내에 관심 지점이 존재하는 것을 인식할 수 있고, 이러한 인식에 기반하여, 추적 시작 메시지를 타이밍 결정 매니저(293)로 전송할 수 있다. 또 다른 예로, 지오펜싱 결정 매니저(295)는, WiFi 통신 모듈(220)이 활성화 상태로 전환된 것에 기반하여, 추적 시작 메시지를 타이밍 결정 매니저(293)로 전송할 수도 있다.In operation 510, the geofencing determination manager 295 may activate a function of the timing determination manager 293 by transmitting a tracking start message to the timing determination manager 293. The timing of sending the trace start message can be determined in various ways. For example, the geofencing determination manager 295 may transmit a tracking start message to the timing determination manager 293 based on the start of the geofencing service. As another example, the geofencing determination manager 295 is in an active state (eg, timing determination manager 293) in an active state of the application processor 260 (eg, a positioning point is directly determined by the application processor 260). Based on the occurrence of an event (eg, a screen OFF) for switching to a state for receiving a positioning time point), a tracking start message may be transmitted to the timing determination manager 293 and may be switched to an active state. As another example, the geofencing determination manager 295 may recognize that a point of interest exists within a specified radius at the location of the electronic device 101, and based on this recognition, the timing determination manager 293 ). As another example, the geofencing determination manager 295 may transmit a tracking start message to the timing determination manager 293 based on the conversion of the WiFi communication module 220 to the active state.

동작 515에서 타이밍 결정 매니저(293)는, 추적 시작 메시지의 수신에 기반하여, 센싱 시작 메시지를 상태 추적 모듈(291)로 전송함으로써 상태 추적 모듈(291)의 기능을 활성화할 수 있다.In operation 515, the timing determination manager 293 may activate a function of the state tracking module 291 by transmitting a sensing start message to the state tracking module 291 based on the reception of the tracking start message.

동작 520에서 상태 추적 모듈(291)은, 센싱 시작 메시지의 수신에 기반하여, 센서 모듈(176) 또는 셀룰러 모듈(230)로부터 수신된 데이터를 이용하여 인식된 사용자 상태(예: 정지 상태(stationary status), 걷고 있는 상태(walking status), 뛰고 있는 상태(running status), 자전거를 타고 있는 상태(on a bicycle), 또는 차에 타고 있는 상태(in the car)) 또는 그 변화를 나타내는 정보를 타이밍 결정 매니저(293)로 전송할 수 있다. 일례로, 상태 추적 모듈(291)은 사용자 상태를 주기적으로 전송할 수 있다. 다른 예로, 상태 추적 모듈(291)은, 사용자 상태가 바뀔 때, 그 변화를 나타내는 정보(예: 변경된 후의 상태를 나타내는 정보)를 전송할 수도 있다. 또 다른 예로, 상태 추적 모듈(291)은 사용자 상태 변화가 일정 값 이상일 경우, 변화를 나타내는 정보를 타이밍 결정 매니저(293)로 전송할 수 있다.In operation 520, the status tracking module 291, based on the reception of the sensing start message, recognizes the user status (e.g., stationary status) by using data received from the sensor module 176 or the cellular module 230. ), walking status, running status, on a bicycle, or in the car), or information indicating changes in timing It can be transmitted to the manager 293. For example, the state tracking module 291 may periodically transmit the user state. As another example, when the user state changes, the state tracking module 291 may transmit information representing the change (eg, information representing the state after the change). As another example, the state tracking module 291 may transmit information indicating the change to the timing determination manager 293 when the user state change is greater than or equal to a predetermined value.

동작 525에서 타이밍 결정 매니저(293)는, 사용자 상태 또는 그 변화를 나타내는 정보에 기반하여 결정된 측위 시점에, 타이밍 통지를 지오펜싱 결정 매니저(295)로 전송할 수 있다. 도 2 또는 도 4와 같이 타이밍 결정 매니저(293)가 커뮤니케이션 프로세서(270)의 구성 요소인 경우, 타이밍 결정 매니저(293)은, 타이밍 통지와 함께, 추정된 위경도 정보를 지오펜싱 결정 매니저(295)로 전송할 수도 있다.In operation 525, the timing determination manager 293 may transmit a timing notification to the geofencing determination manager 295 at a positioning time determined based on information indicating a user state or a change thereof. 2 or 4, when the timing determination manager 293 is a component of the communication processor 270, the timing determination manager 293 geofencing the estimated latitude and longitude information together with the timing notification, the geofencing determination manager 295 ).

지오펜싱 결정 매니저(295)는, 타이밍 결정 매니저(293)로부터 수신된 위경도 정보에 기반하여, 지오펜싱의 수행 여부를 결정할 수 있다. 예를 들어, 지오펜싱 결정 매니저(295)는, 메모리(예: 도 1의 메모리(130))에 저장된 지오펜스 정보에 기반하여, 상기 위경도 정보에 해당하는 현재 위치에서 지정된 반경 내 지오펜스가 존재하는지 여부를 판단할 수 있다. 지오펜싱 결정 매니저(295)는, 현재 위치에서 상기 지정된 반경 내 지오펜스가 존재하는 것으로 판단되고 타이밍 통지가 타이밍 결정 매니저(293)로부터 수신될 경우, 측위 동작을 수행할 수 있다.The geofencing determination manager 295 may determine whether to perform geofencing based on the latitude and longitude information received from the timing determination manager 293. For example, the geo-fencing determination manager 295, based on the geo-fence information stored in the memory (for example, the memory 130 of FIG. 1), a geo-fence within a specified radius at the current position corresponding to the latitude and longitude information Whether or not it exists can be determined. The geo-fencing determination manager 295 may perform a positioning operation when it is determined that a geo-fence exists within the specified radius at the current location and a timing notification is received from the timing determination manager 293.

지오펜싱 결정 매니저(295)는, 타이밍 결정 매니저(293)로부터 수신된 위도 및 경도 정보에 기반하여, 서버(예: 도 1의 서버(108))로부터 POI의 정보를 수신할 수 있고, 타이밍 결정 매니저(293)로 POI의 정보를 내려줄 수 있다. 타이밍 결정 매니저(293)는, 지오펜싱 결정 매니저(295)로부터 POI 정보의 수신에 기반하여, 위도 및 경도 정보에 해당하는 맵(map) 상에서의 전자 장치(101)의 위치와 POI의 위치 간의 거리를 계산하는 동작을 수행할 수 있다. 타이밍 결정 매니저(293)는, 계산된 거리가 지정된 임계치 이하인 경우에만 타이밍 통지를 지오펜싱 결정 매니저(295)에 전송할 수도 있다. 지오펜싱 결정 매니저(295)는, 타이밍 통지의 수신에 반응하여, 측위 소스(예: WiFi 통신 모듈(220))을 이용하여 전자 장치(101)의 현재 위치를 측정할 수 있다. 지오펜싱 결정 매니저(295)는, 측정된 위치 정보에 기반하여, 사용자가 지오펜스 내인지 밖인지를 인식할 수 있다.The geofencing determination manager 295 may receive POI information from a server (eg, the server 108 of FIG. 1) based on the latitude and longitude information received from the timing determination manager 293, and determine the timing. POI information may be dropped to the manager 293. The timing determination manager 293 is based on the reception of the POI information from the geofencing determination manager 295, the distance between the location of the electronic device 101 and the location of the POI on a map corresponding to latitude and longitude information It is possible to perform an operation to calculate. The timing determination manager 293 may transmit a timing notification to the geofencing determination manager 295 only when the calculated distance is less than or equal to a specified threshold. The geofencing determination manager 295 may measure the current position of the electronic device 101 by using a positioning source (eg, the WiFi communication module 220) in response to reception of the timing notification. The geo-fencing determination manager 295 may recognize whether the user is inside or outside the geo-fence based on the measured location information.

동작 530에서 지오펜싱 결정 매니저(295)는 타이밍 통지의 일시 정지를 요청하는 메시지를 타이밍 결정 매니저(293)로 전송할 수 있다. 지오펜싱을 하고자 하는 POI가 사용자로부터 일정 거리(예: 수 km) 이상 멀리 존재하는 경우에는 일정 시간(예: 수 분 이상) 동안은 측위를 하지 않아도 지오펜싱의 성능에 크게 영향을 미치지 않을 수 있다. 따라서, 전류 소모를 최소화 하기 위해서 지오펜싱 결정 매니저(295)가 타이밍 통지의 일시 정지를 타이밍 결정 매니저(293)에 요청할 수 있다. 예를 들어, 지오펜싱 결정 매니저(295)는, 위경도 정보에 해당하는 맵(map) 상에서의 전자 장치(101)의 위치와 POI의 위치 간의 거리가 지정된 임계치 이상임을 인식한 것에 기반하여, 타이밍 통지의 일시 정지를 타이밍 결정 매니저(293)에 요청할 수 있다. 요청 메시지에는 중지할 시간(A)을 나타내는 정보가 포함될 수 있다. In operation 530, the geofencing determination manager 295 may transmit a message requesting a pause of the timing notification to the timing determination manager 293. If the POI to be geofenced is located farther than a certain distance (eg several kilometers) from the user, the geofencing performance may not be significantly affected even if positioning is not performed for a certain period of time (eg several minutes or more). . Accordingly, in order to minimize current consumption, the geofencing determination manager 295 may request the timing determination manager 293 to temporarily stop timing notification. For example, based on recognizing that the distance between the location of the electronic device 101 and the location of the POI on the map corresponding to the latitude and longitude information is equal to or greater than a specified threshold, the geofencing determination manager 295 It is possible to request the timing determination manager 293 to pause the notification. The request message may include information indicating the time to stop (A).

동작 535에서 상태 추적 모듈(291)은, 타이머 작동되고 있는 동안, 센서 모듈(176) 또는 셀룰러 모듈(230)로부터 수신된 데이터를 이용하여 인식된 사용자 상태 또는 그 변화를 나타내는 정보를 타이밍 결정 매니저(293)로 전송할 수 있다. 타이밍 결정 매니저(293)는, 중지 시간(A)의 타이머가 만료되기 전까지, 타이밍 통지의 중단을 결정할 수 있다. 도 4와 같이 상태 추적 모듈(291)과 타이밍 결정 매니저(293)가 커뮤니케이션 프로세서(270)에 위치하는 경우, 타이밍 통지의 일시 정지 요청은 상태 추적 모듈(291)로 전달될 수 있고 이에 따라 동작 535는 생략될 수 있다. 일 실시예에 따르면, 타이밍 결정 매니저(293)는, 중지 시간(A)의 타이머가 만료되기 전에, 상태 추적 모듈(291)로부터 사용자 상태 또는 그 변화가 지정된 임계값 이상으로 변경되었음을 수신하는 경우, 타이밍 통지의 재개를 결정할 수 있다.In operation 535, the state tracking module 291, while the timer is running, uses the data received from the sensor module 176 or the cellular module 230 to transmit information indicating the recognized user state or its change to the timing determination manager ( 293). The timing determination manager 293 may decide to stop timing notification until the timer of the stop time A expires. When the status tracking module 291 and the timing determination manager 293 are located in the communication processor 270 as shown in FIG. 4, a request for a pause of timing notification may be transmitted to the status tracking module 291, and accordingly, operation 535 Can be omitted. According to an embodiment, when the timing determination manager 293 receives from the state tracking module 291 that the user state or its change has been changed beyond a specified threshold value before the timer of the stop time A expires, You can decide to resume timing notification.

동작 540에서 상태 추적 모듈(291)은, 타이머 만료 후, 센서 모듈(176) 또는 셀룰러 모듈(230)로부터 수신된 데이터를 이용하여 인식된 사용자 상태 또는 그 변화를 나타내는 정보를 타이밍 결정 매니저(293)로 전송할 수 있다.In operation 540, the state tracking module 291, after the timer expires, uses the data received from the sensor module 176 or the cellular module 230 to determine the recognized user state or information indicating the change thereof, to the timing determination manager 293. Can be transferred to.

동작 545에서 타이밍 결정 매니저(293)는, 타이머 만료 후 상태 추적 모듈(291)로부터 수신된 사용자 상태 또는 그 변화를 나타내는 정보에 기반하여, 측위 시점을 결정하고, 결정된 측위 시점에 타이밍 통지를 지오펜싱 결정 매니저(295)로 전송할 수 있다.In operation 545, the timing determination manager 293 determines a positioning time based on information indicating a user state or a change thereof received from the state tracking module 291 after the timer expires, and geofencing the timing notification at the determined positioning time. It may be transmitted to the decision manager 295.

동작 550에서 지오펜싱 결정 매니저(295)는 추적 중단 메시지를 타이밍 결정 매니저(293)으로 전송함으로써 타이밍 결정 매니저(293)의 기능을 비활성화할 수 있다. 일례로, 지오펜싱 결정 매니저(295)는, 지오펜싱 서비스가 종료된 것에 기반하여, 추적 중단 메시지를 타이밍 결정 매니저(293)로 전송할 수 있다. 다른 예로, 지오펜싱 결정 매니저(295)는, 어플리케이션 프로세서(260)가 인엑티브 상태에서 엑티브 상태로 전환하기 위한 이벤트(예: 화면 켜짐(ON)) 발생에 기반하여, 추적 중단 메시지를 타이밍 결정 매니저(293)로 전송하고 엑티브 상태(예: 사용자 상태와 무관하게 주기적으로 측위 동작을 수행)로 전환할 수 있다. 또 다른 예로, 지오펜싱 결정 매니저(295)는, 맵(map)에서 전자 장치(101)의 위치를 중심으로 지정된 반경 내에 관심 지점(point of interest; POI)이 존재하지 않는 것을 인식할 수 있고, 이러한 인식에 기반하여, 추적 중단 메시지를 타이밍 결정 매니저(293)로 전송할 수 있다. 또 다른 예로, 지오펜싱 결정 매니저(295)는, WiFi 통신 모듈(220)이 비활성화 상태로 전환된 것에 기반하여, 추적 중단 메시지를 타이밍 결정 매니저(293)로 전송할 수도 있다.In operation 550, the geofencing decision manager 295 transmits a tracking stop message to the timing decision manager 293 to deactivate the function of the timing decision manager 293. For example, the geofencing determination manager 295 may transmit a tracking stop message to the timing determination manager 293 based on the termination of the geofencing service. As another example, the geofencing decision manager 295 sends a tracking stop message to the timing decision manager based on the occurrence of an event for the application processor 260 to switch from the active state to the active state (eg, screen ON). It can be transmitted to 293 and switched to an active state (eg, a positioning operation is performed periodically regardless of the user state). As another example, the geofencing determination manager 295 may recognize that a point of interest (POI) does not exist within a radius designated around the location of the electronic device 101 in the map, Based on this recognition, the tracking stop message may be transmitted to the timing determination manager 293. As another example, the geofencing determination manager 295 may transmit a tracking stop message to the timing determination manager 293 based on the WiFi communication module 220 being converted to an inactive state.

동작 555에서 타이밍 결정 매니저(293)는, 추적 중단 메시지의 수신에 기반하여, 센싱 중단 메시지를 상태 추적 모듈(291)로 전송함으로써 상태 추적 모듈(291)의 기능을 비활성화할 수 있다.In operation 555, the timing determination manager 293 may deactivate the function of the state tracking module 291 by transmitting a sensing stop message to the state tracking module 291 based on the reception of the tracking stop message.

다양한 실시예에서, 지오펜싱 결정 매니저(295)는, 사용자 상태 기반의 지오펜싱 서비스가 실행되는 동안(예: 동작 540이 수행되기 전), 타이밍 통지의 주기에 관한 정책(policy) 메시지를 타이밍 결정 매니저(293)에 전송할 수 있다. In various embodiments, the geofencing determination manager 295 determines a timing of a policy message regarding a period of timing notification while a user state-based geofencing service is being executed (eg, before operation 540 is performed). It can be transmitted to the manager 293.

일 실시예에 따르면, 지오펜싱 서비스의 종류 별로 요구되는 지연시간이 다를 수 있다. 예를 들어, 지오펜스에 관한 정보(예: 사물인터넷(internet of things; IoT)의 정보)를 빨리 제공하도록 요구하는 지오펜싱 서비스의 경우, 전자 장치(101)는, 해당 지오펜스 진입 시, 표시 장치(예: 도 1의 표시 장치(160)) 및/또는 음향 출력 장치(예: 도 1의 음향 출력 장치(155))를 이용하여 정보를 사용자에게 제공할 수 있다. 다른 예를 들어, 정보를 빨리 제공하는 것보다 배터리를 적게 소모하도록 요구되는 지오펜싱 서비스의 경우, 전자 장치(101)는 지오펜스 진입 후에 정보를 제공할 수도 있다. 이에 따라 후자의 서비스는 전자의 서비스보다 타이밍 통지의 주기가 더 길 수 있다. 지오펜싱 결정 매니저(295)는, 서비스의 종류에 기반하여 타이밍 통지의 주기를 결정하고, 관련 정보를 포함하는 정책 메시지를 타이밍 결정 매니저(293)에 전송할 수 있다.According to an embodiment, a required delay time may be different for each type of geofencing service. For example, in the case of a geo-fencing service that requests to quickly provide information on geo-fence (eg, information on the Internet of things (IoT)), the electronic device 101 displays when entering the geo-fence. Information may be provided to a user using a device (eg, the display device 160 of FIG. 1) and/or an audio output device (eg, the sound output device 155 of FIG. 1 ). For another example, in the case of a geo-fencing service that is required to consume less battery than to provide information quickly, the electronic device 101 may provide information after entering the geo-fence. Accordingly, the latter service may have a longer timing notification period than the former service. The geofencing determination manager 295 may determine a period of timing notification based on the type of service and transmit a policy message including related information to the timing determination manager 293.

일 실시예에 따르면, 지오펜싱 결정 매니저(295)는, 스캔 동작을 통해 인식된 액세스포인트가 알려진 지오펜스 내 위치한 것인지 여부에 기반하여, 타이밍 통지의 주기를 결정하고, 관련 정보를 포함하는 정책 메시지를 타이밍 결정 매니저(293)에 전송할 수 있다. 예를 들어, 지오펜싱 결정 매니저(295)는, 스캔 동작을 통해 지오펜스 리스트에 존재하는 액세스포인트가 인식된 것에 기반하여, 타이밍 통지의 주기를 제 1 시간 값으로 결정할 수 있고, 제 1 시간 값을 포함하는 정책 메시지를 타이밍 결정 매니저(293)에 전송할 수 있다. 어플리케이션 프로세서(260)는, 스캔 동작을 통해 지오펜스 리스트에 존재하는 액세스포인트가 발견되지 않은 것에 기반하여, 타이밍 통지의 주기를 제 2 시간 값으로 결정할 수 있고, 제 2 시간 값을 포함하는 정책 메시지를 타이밍 결정 매니저(293)에 전송할 수 있다.According to an embodiment, the geo-fencing determination manager 295 determines a period of timing notification based on whether an access point recognized through a scan operation is located within a known geo-fence, and a policy message including related information May be transmitted to the timing determination manager 293. For example, the geofencing determination manager 295 may determine the period of the timing notification as a first time value based on the recognition of the access point existing in the geofence list through the scan operation, and the first time value A policy message including a may be transmitted to the timing determination manager 293. The application processor 260 may determine the period of the timing notification as the second time value based on the fact that the access point existing in the geofence list is not found through the scan operation, and the policy message including the second time value May be transmitted to the timing determination manager 293.

도 6은, 다양한 실시예에 따른, 타이밍 통지를 위한 동작들을 설명하기 위한 도면(600)이다. 도 6을 참조하면, 상태 추적 모듈(291)이 셀룰러 통신 모듈(230) 또는 센서 모듈(176)을 이용하여 추적한 사용자 상태는 기본적으로 정지 상태(610)와 이동 상태(620)로 분류될 수 있다. 이동 상태(620)는 더 구체적으로 걷고 있는 상태, 뛰고 있는 상태, 자전거를 타고 있는 상태, 또는 차에 타고 있는 상태로 구분될 수 있다. 걷고 있는 상태에서 전자 장치(101)는 측위를 수행할 수 있다. 예를 들어, 상점에 인접한 사용자들에게 광고를 하도록 설정된 지오펜싱 서비스의 경우 상점을 중심으로 지오펜스가 설정될 수 있고, 사용자가 지오펜스 내에 진입하였을 때 광고가 사용자에게 제공될 수 있다. 다른 예를 들어, 자동차나 자전거를 타고 상점을 중심으로 설정된 지오펜스를 빠르게 이동하는 사용자에게는 광고비 또는 사용성을 고려하여 광고가 사용자에게 제공되지 않고 광고 횟수가 최소화될 수 있다. 이에 따라, 걷고 있는 상태는 측정 상태(measurement status)(621)로 구분될 수 있고 나머지 상태들은 측위가 수행되지 않는 바이패스 상태(bypass status)(623)로 구분될 수 있다. 일 실시예에서는, 뛰고 있는 상태가 측정 상태(621)에 포함될 수도 있다. 다른 실시예에서는, 바이패스 상태(bypass status)(623) 없이 걷고 있는 상태, 뛰고 있는 상태, 자전거를 타고 있는 상태, 또는 차에 타고 있는 상태 모두 측정 상태(621)로 구분될 수도 있다.6 is a diagram 600 for describing operations for timing notification, according to various embodiments. Referring to FIG. 6, the user state tracked by the state tracking module 291 using the cellular communication module 230 or the sensor module 176 may be basically classified into a stationary state 610 and a moving state 620. have. The moving state 620 may be more specifically divided into a walking state, a running state, a bicycle riding state, or a vehicle riding state. While walking, the electronic device 101 may perform positioning. For example, in the case of a geo-fencing service set to advertise to users adjacent to a store, a geo-fence may be set around a store, and an advertisement may be provided to the user when the user enters the geo-fence. For another example, the number of advertisements may be minimized without providing advertisements to users in consideration of advertisement cost or usability to a user who quickly moves through a geofence set around a store by riding a car or bicycle. Accordingly, the walking state can be classified into a measurement status 621, and the remaining states can be classified into a bypass status 623 in which positioning is not performed. In one embodiment, the running state may be included in the measurement state 621. In another embodiment, a state of walking, a state of running, a state of riding a bicycle, or a state of riding in a car without a bypass state 623 may be classified into a measurement state 621.

다양한 실시예에서, 타이밍 결정 매니저(293)는, 정지 상태(610)(또는, 바이패스 상태(623))에서 측정 상태(621)로 전환됨을 인식할 수 있고, 이러한 인식에 기반하여, 타이밍 통지를 위한 동작들을 수행할 수 있다. 예를 들어, 타이밍 결정 매니저(293)는, 정지 상태(610)에서 측정 상태(621)로 전환될 경우, 타이머의 시간 값을 예컨대, t1으로 설정하고 타이머를 시작할 수 있다. t1 동안 사용자 상태가 측정 상태(621)로 유지될 경우 타이밍 결정 매니저(293)는 지오펜싱 결정 매니저(295)에 제 1 타이밍 통지(641)를 전송하는 동작과 시간 값 t2를 갖는 타이머를 시작하는 동작을 수행할 수 있다. t2는 t1과 동일할 수도 있고 다를 수도 있다. t2 동안 사용자 상태가 측정 상태(621)로 유지될 경우 타이밍 결정 매니저(293)는 지오펜싱 결정 매니저(295)에 제 2 타이밍 통지(642)를 전송하는 동작과 시간 값 t2를 갖는 타이머를 시작하는 동작을 수행할 수 있다. 일 실시예에 따르면, 사용자 상태의 변화 량(예: 이동 속도의 변화)에 기반하여 t2는 변경될 수 있다.In various embodiments, the timing determination manager 293 may recognize that the transition from the stopped state 610 (or bypass state 623) to the measurement state 621, and based on this recognition, timing notification Can perform operations for. For example, when the timing determination manager 293 changes from the stop state 610 to the measurement state 621, it may set a time value of the timer to, for example, t1 and start the timer. When the user state is maintained in the measurement state 621 during t1, the timing determination manager 293 transmits a first timing notification 641 to the geofencing determination manager 295 and starts a timer having a time value t2. The operation can be performed. t2 may be the same as or different from t1. When the user state is maintained in the measurement state 621 during t2, the timing determination manager 293 transmits a second timing notification 642 to the geofencing determination manager 295 and starts a timer having a time value t2. The operation can be performed. According to an embodiment, t2 may be changed based on the amount of change in the user state (eg, change in movement speed).

다양한 실시예에서, 타이밍 결정 매니저(293)는, 설정된 타이머가 만료되기 전 사용자 상태가 측정 상태(621)에서 정지 상태(610)(또는, 바이패스 상태(623))로 전환됨을 인식할 수 있고, 이러한 인식에 기반하여, 타이밍 통지를 중단할 수 있다. 일례로, 타이밍 결정 매니저(293)는 상태 전환이 인식되는 즉시 타이밍 통지를 중단할 수 있다. 다른 예로, 타이밍 결정 매니저(293)는 상태 전환이 인식되고, 타이머가 만료되었을 때 마지막으로 제 3 타이밍 통지(643)를 지오펜싱 결정 매니저(295)에 전송할 수 있다. 후자의 경우, 전자와 비해 한 번 더 측위가 수행되고 이에 따라 전력 소모는 늘어나지만 사용자가 이동을 멈춘 곳의 정확한 위치 측정이 가능할 수 있다. 일 실시예에 따르면, 상태 전환(예: 측정 상태(621)에서 정지 상태(610)로 전환)일 발생시 남은 타이머를 확인하고, 남은 타이머에 기반하여, 즉시 타이밍 통지를 중단하거나 또는 타이머 만료시 마지막 타이밍 통지를 수행할 수 있다.In various embodiments, the timing determination manager 293 may recognize that the user state is switched from the measurement state 621 to the stop state 610 (or bypass state 623) before the set timer expires, and , Based on this recognition, the timing notification can be stopped. For example, the timing determination manager 293 may stop timing notification as soon as a state transition is recognized. As another example, the timing determination manager 293 may finally transmit a third timing notification 643 to the geofencing determination manager 295 when state transition is recognized and the timer expires. In the latter case, the positioning is performed once more than the former, and thus power consumption increases, but it is possible to accurately measure the location of the place where the user has stopped moving. According to an embodiment, when a state transition (eg, transition from the measurement state 621 to the stop state 610) occurs, the remaining timer is checked, and based on the remaining timer, the timing notification is immediately stopped or the last time the timer expires. You can perform timing notification.

다양한 실시예에서, 타이머의 시간 값(t1, t2)은 정책 메시지에 수록되어 타이밍 결정 매니저(293)로 전달될 수 있다. 타이밍 결정 매니저(293)는 이러한 시간 값에 기반하여, 타이밍 통지를 어플리케이션 프로세서(260)의 지오펜싱 결정 매니저(295)에 할 수 있고 이에 따라, 어플리케이션 프로세서(260)는, 지속적인 측위 소스를 사용하지 않으면서도, 높은 정확도는 물론 저지연 및 저전력의 지오펜싱을 지원할 수 있다.In various embodiments, the time values t1 and t2 of the timer may be included in the policy message and transmitted to the timing determination manager 293. The timing determination manager 293 may provide a timing notification to the geofencing determination manager 295 of the application processor 260 based on this time value, and accordingly, the application processor 260 does not use a continuous positioning source. It can support low-latency and low-power geofencing as well as high accuracy.

도 7은, 다양한 실시예에 따른, 사용자 상태의 변화에 따른 동작들(700)을 도시한다. 예컨대, 사용자 상태의 변화는, 정지 상태(610)(또는 바이패스 상태(623))에서 측정 상태(621)로의 변화, 측정 상태(621)(또는 바이패스 상태(623)에서 정지 상태(610)로의 변화, 또는 측정 상태(621)(또는 정지 상태(610))에서 바이패스 상태(623)로의 변화일 수 있다. 동작들(700)은 타이밍 결정 매니저(293)에 의해 수행될 수 있다.7 illustrates operations 700 according to a change in a user state, according to various embodiments. For example, the change of the user state is a change from the stop state 610 (or bypass state 623) to the measurement state 621, the measurement state 621 (or the bypass state 623 to the stop state 610). It may be a change to, or a change from the measurement state 621 (or the stop state 610) to the bypass state 623. The operations 700 may be performed by the timing determination manager 293.

동작 710에서 타이밍 결정 매니저(293)는, 사용자 상태 또는 그 변화를 나타내는 정보를 상태 추적 모듈(291)로부터 수신할 수 있고, 변화 후의 상태가 측정 상태(예: 걷고 있는 상태)인지 여부를 판단할 수 있다. In operation 710, the timing determination manager 293 may receive information indicating the user state or its change from the state tracking module 291, and determine whether the state after the change is a measurement state (eg, a walking state). I can.

동작 720에서 타이밍 결정 매니저(293)는, 동작 710의 판단 결과, 변화 후의 상태가 측정 상태로 판단된 것에 기반하여, 타이머의 시간 값을 예컨대, t1으로 설정하고 타이머를 시작한 다음 종료할 수 있다. In operation 720, the timing determination manager 293 may set a time value of the timer to, for example, t1, and start and then terminate the timer based on the determination result in operation 710 that the state after the change is determined as the measurement state.

동작 730에서 타이밍 결정 매니저(293)는, 동작 710의 판단 결과, 변화 후의 상태가 정지 상태나 바이패스 상태로 판단된 것에 기반하여, 작동 중인 타이머가 존재하는지 여부를 판단할 수 있다. 예컨대, 상기 상태의 변화가 측정 상태에서 정지 상태 또는 바이패스 상태로의 변화인 경우, 작동 중인 타이머가 존재할 수 있다. In operation 730, the timing determination manager 293 may determine whether there is a timer in operation based on the determination result of operation 710 that the state after the change is determined as a stop state or a bypass state. For example, when the change of the state is a change from the measurement state to the stop state or the bypass state, there may be a running timer.

동작 740에서 타이밍 결정 매니저(293)는, 작동 중인 타이머가 존재하는 경우, 타이머의 작동을 취소한 다음 종료할 수 있다. In operation 740, the timing determination manager 293 may cancel the operation of the timer and then terminate the operation, if there is a running timer.

타이밍 결정 매니저(293)는, 작동 중인 타이머가 존재하지 않는 것으로 판단된 것에 기반하여, 아무런 동작 없이 종료할 수 있다.The timing determination manager 293 may terminate without any operation based on the determination that the timer in operation does not exist.

사용자 상태가 측정 상태에서 정지 상태 또는 바이패스 상태로 변경된 후 타이밍 통지(예: 제 3 타이밍 통지(643))가 이루어지도록 타이밍 결정 매니저(293)가 구성된 경우, 동작 730 및 740은 생략되고 타이머의 작동은 만료될 때까지 계속될 수 있다.When the timing determination manager 293 is configured so that a timing notification (e.g., a third timing notification 643) is made after the user state changes from the measurement state to the stop state or the bypass state, operations 730 and 740 are omitted and the timer Operation can continue until expiration.

도 8은, 다양한 실시예에 따른, 타이머의 만료에 따른 동작들(800)을 도시한다. 예컨대, 타이머는 사용자의 상태가 정지 상태(610)나 바이패스 상태(623)에서 측정 상태(621)로 변화됨에 따라 t1으로 설정되어 작동된 것일 수 있다. 8 illustrates operations 800 according to expiration of a timer, according to various embodiments. For example, the timer may be set to t1 and operated as the user's state changes from the stop state 610 or the bypass state 623 to the measurement state 621.

동작 810에서 타이밍 결정 매니저(293)는 타이밍 통지를 지오펜싱 결정 매니저(295)에 전송할 수 있다. In operation 810, the timing determination manager 293 may transmit a timing notification to the geofencing determination manager 295.

타이밍 통지를 전송한 후 동작 820에서 타이밍 결정 매니저(293)는 사용자 상태가 측정 상태(예: 걷고 있는 상태)인지 여부를 판단할 수 있다. After transmitting the timing notification, in operation 820, the timing determination manager 293 may determine whether the user state is a measurement state (eg, a walking state).

동작 830에서 타이밍 결정 매니저(293)는, 동작 820의 판단 결과, 사용자 상태가 측정 상태로 판단된 것에 기반하여, 타이머의 시간 값을 예컨대, t2로 설정하고 타이머를 시작한 다음 종료할 수 있다. In operation 830, the timing determination manager 293 may set a time value of the timer to, for example, t2, and start and then terminate the timer based on the determination result of operation 820 that the user state is determined as the measurement state.

타이밍 결정 매니저(293)는, 동작 820의 판단 결과, 사용자 상태가 측정 상태가 아닌 정지 상태나 바이패스 상태로 판단된 것에 기반하여, 아무런 동작 없이 종료할 수 있다.The timing determination manager 293 may terminate without any operation based on the determination result of operation 820 that the user state is determined to be a stop state or a bypass state rather than a measurement state.

도 9는, 다양한 실시예에 따른, 측위를 수행할 시점들을 나타내는 도면(900)이다. 도 9를 참조하면, 어플리케이션 프로세서(260)는 타이밍 결정 매니저(293)로부터 타이밍 통지(910)(예: 도 6의 제 1 타이밍 통지(641), 제 2 타이밍 통지(642), 또는 제 3 타이밍 통지(642))를 수신할 수 있다. 어플리케이션 프로세서(260)는 타이밍 통지(910)의 수신에 기반하여(예: 타이밍 통지(910)가 수신된 시점에), 측위를 수행할 수 있다. 9 is a diagram 900 illustrating viewpoints at which positioning is performed, according to various embodiments. Referring to FIG. 9, the application processor 260 transmits a timing notification 910 from the timing determination manager 293 (eg, a first timing notification 641, a second timing notification 642, or a third timing notification in FIG. 6). Notification 642) can be received. The application processor 260 may perform positioning based on the reception of the timing notification 910 (eg, when the timing notification 910 is received).

다양한 실시예에서, 어플리케이션 프로세서(260)는, 타이밍 통지(910)의 수신에 기반하여, 타이밍 결정 매니저(293)의 관여 없이 자체적으로 측위 시점을 결정하기 위한 기능을 수행할 수 있다. 예를 들어, 어플리케이션 프로세서(260)는, 타이밍 결정 매니저(293)에 의한 타이머와는 별개로 자체 타이머의 시간 값을 예컨대, t3로 설정하고 타이머를 시작할 수 있다. 어플리케이션 프로세서(260)는 타이머가 만료된 제 1 시점(921)에 측위를 수행할 수 있고 타이머의 시간 값을 예컨대, t3로 설정하고 타이머를 다시 시작할 수 있다.In various embodiments, the application processor 260 may perform a function of determining a positioning time on its own without involvement of the timing determination manager 293 based on the reception of the timing notification 910. For example, the application processor 260 may set the time value of its own timer to, for example, t3, and start the timer separately from the timer by the timing determination manager 293. The application processor 260 may perform positioning at the first time point 921 when the timer expires, set a time value of the timer to, for example, t3, and restart the timer.

어플리케이션 프로세서(260)는 타이머가 만료된 제 2 시점(922)에 측위를 수행할 수 있고 타이머의 시간 값을 예컨대, t3보다 긴 t4로 변경하고 타이머를 다시 시작할 수 있다. The application processor 260 may perform positioning at the second time point 922 when the timer expires, change the time value of the timer to, for example, t4 longer than t3 and restart the timer.

어플리케이션 프로세서(260)는 타이머가 만료된 제 3 시점(923)에 측위를 수행할 수 있고 타이머의 구동 즉, 상기 기능을 종료할 수 있다. The application processor 260 may perform positioning at the third time point 923 when the timer expires, and may drive the timer, that is, terminate the function.

자체 타이머의 구동 횟수는 3회로 설정되는 것으로 예시되었으나 이에 국한되는 것은 아니며 1회, 2회, 또는 4회 이상으로 설정될 수도 있다. The number of times the self-timer is driven is illustrated as being set to three times, but is not limited thereto, and may be set to once, twice, or more than four times.

일 실시예에서, 어플리케이션 프로세서(260)는, 상기 기능이 수행되는 동안(예: 어플리케이션 프로세서(260)에 의한 자체 타이머가 구동되는 동안) 새로운 타이밍 통지가 타이밍 결정 매니저(293)로부터 수신되는 것에 기반하여, 측위를 수행하고 상기 기능을 초기화할 수 있다. 초기화의 일례로, 어플리케이션 프로세서(260)는 구동 중인 자체 타이머를 처음부터 다시 시작할 수 있다. 다른 예로, 어플리케이션 프로세서(260)는 자체 타이머를 첫 회부터, 지정된 횟수만큼, 다시 시작할 수 있다.In one embodiment, the application processor 260 is based on receiving a new timing notification from the timing determination manager 293 while the function is being performed (eg, while the self-timer by the application processor 260 is running). Thus, it is possible to perform positioning and initialize the function. As an example of initialization, the application processor 260 may restart its own timer being driven from the beginning. As another example, the application processor 260 may restart its own timer from the first time, a specified number of times.

일 실시예에서, 어플리케이션 프로세서(260)는, 상기 기능이 수행되는 동안 타이밍 결정 매니저(293)으로부터 수신된 타이밍 통지에 대해 반응하지 않을 수 있다. 예를 들어, 어플리케이션 프로세서(260)는, 자체 타이머의 만료에 따른(예: 제 1 시점(921) 또는 제 2 시점(923)에) 측위 수행 후, 새로운 타이밍 통지를 타이밍 결정 매니저(293)로부터 수신할 수 있다. 이러한 수신에 기반하여, 어플리케이션 프로세서(260)는, 타이머 만료 시점 및 새로운 타이밍 통지가 수신된 시점 간의 시간을 주어진 값과 비교할 수 있다. 어플리케이션 프로세서(260)는, 상기 시간이 주어진 값(예: t3보다 작은 값)보다 작은 것에 기반하여, 새로운 타이밍 통지에 반응(예: 측위 수행)하지 않고 타이머 구동을 유지할 수 있다. 어플리케이션 프로세서(260)는, 상기 시간이 주어진 값 이상인 것에 기반하여, 새로운 타이밍 통지에 반응하고 상기 기능을 초기화할 수 있다.In an embodiment, the application processor 260 may not react to the timing notification received from the timing determination manager 293 while the function is being performed. For example, after positioning according to the expiration of its own timer (for example, at the first time point 921 or the second time point 923), the application processor 260 sends a new timing notification from the timing determination manager 293 Can receive. Based on such reception, the application processor 260 may compare a time between the timer expiration point and the time point at which the new timing notification is received with a given value. The application processor 260 may maintain the timer operation without reacting to a new timing notification (eg, performing positioning) based on the time being less than a given value (eg, a value less than t3). The application processor 260 may react to a new timing notification and initialize the function based on the time being greater than or equal to a given value.

도 10은, 다양한 실시예에 따른, 타이밍 통지의 수신에 따른 동작들(1000)을 도시한다. 10 illustrates operations 1000 according to reception of a timing notification, according to various embodiments.

동작 1010에서 어플리케이션 프로세서(260)는, 타이밍 결정 매니저(293)로부터 제 1 타이밍 통지가 수신된 것에 기반하여, 타이머를 예컨대, 시간 값 t3로 설정하고 시작할 수 있다. In operation 1010, the application processor 260 may set a timer to, for example, a time value t3 and start based on the reception of the first timing notification from the timing determination manager 293.

동작 1020에서 어플리케이션 프로세서(260)는, 타이머 만료 전 타이밍 결정 매니저(293)로부터 제 2 타이밍 통지가 수신된 것에 기반하여, 타이머를 예컨대, 시간 값 t3로 다시 설정하고 시작할 수 있다.In operation 1020, the application processor 260 may reset the timer to, for example, a time value t3 and start based on the reception of the second timing notification from the timing determination manager 293 before the timer expires.

도 11은, 다양한 실시예에 따른, 타이머 만료에 따른 동작들(1100)을 도시한다. 예컨대, 타이머는 어플리케이션 프로세서(260)에 의해 작동된 것일 수 있다.11 illustrates operations 1100 according to timer expiration, according to various embodiments. For example, the timer may be operated by the application processor 260.

동작 1110에서 어플리케이션 프로세서(260)는 타이머 만료에 기반하여(예: 타이머 만료 시점에) 측위를 수행할 수 있다.In operation 1110, the application processor 260 may perform positioning based on the timer expiration (eg, at the timer expiration time).

동작 1120에서 어플리케이션 프로세서(260)는 구동된 타이머의 횟수가 지정된 값(N)보다 작은지 여부를 판단할 수 있다. In operation 1120, the application processor 260 may determine whether the number of times the driven timer is less than a specified value N.

동작 1130에서 어플리케이션 프로세서(260)는, 동작 1120에서의 판단 결과, 타이머 구동 횟수가 지정된 값(N)보다 작은 것에 기반하여, 타이머를 다시 시작할 수 있다. 예컨대, 어플리케이션 프로세서(260)는, 타이머 구동 횟수가 N-1보다 작을 경우 시간 값을 t3로 설정하고 타이머를 시작할 수 있다. 어플리케이션 프로세서(260)는, 타이머 구동 횟수가 N-1인 경우 시간 값을 t4로 설정하고 타이머를 시작할 수 있다.In operation 1130, the application processor 260 may restart the timer based on the determination result in operation 1120 that the number of times the timer is driven is less than the specified value N. For example, when the number of times the timer is driven is less than N-1, the application processor 260 may set the time value to t3 and start the timer. When the number of times the timer is driven is N-1, the application processor 260 may set the time value to t4 and start the timer.

어플리케이션 프로세서(260)는, 동작 1120에서의 판단 결과, 타이머 구동 횟수가 지정된 값(N)인 것에 기반하여, 타이머를 다시 시작하지 않고 종료할 수 있다.The application processor 260 may terminate the timer without restarting the timer based on the determination result in operation 1120 that the number of times the timer is driven is the specified value N.

다양한 실시예에 따르면, 전자 장치(예: 전자 장치(101))는, 셀룰러 통신 모듈(예: 셀룰러 통신 모듈(230)); WiFi 통신 모듈(예: WiFi 통신 모듈(220)); 센서 모듈(예: 센서 모듈(176)); 상기 셀룰러 통신 모듈, 상기 WiFi 통신 모듈 및 상기 센서 모듈과 작동적으로 연결된 제 1 프로세서(예: 커뮤니케이션 프로세서(270) 및/또는 센서 허브 프로세서(280)); 상기 셀룰러 통신 모듈 및 상기 WiFi통신 모듈과 작동적으로 연결된 제 2 프로세서(예: 어플리케이션 프로세서(260)); 및 상기 제 1 프로세서 및 상기 제 2 프로세서와 작동적으로 연결된 메모리(예: 메모리(130))를 포함할 수 있다. 상기 메모리는, 실행될 때, 상기 제 1 프로세서가: 상기 센서 모듈 또는 상기 셀룰러 통신 모듈로부터 수신된 데이터에 기반하여 사용자 상태가 측위를 수행할 측정 상태로 변화됨을 인식하고, 상기 변화에 기반하여 측위를 수행할 시점을 결정하고, 상기 측위를 수행할 시점에 타이밍 통지를 상기 제 2 프로세서에 전송하도록 하는 제 1 인스트럭션들을 저장할 수 있다. 상기 메모리는, 실행될 때, 상기 제 2 프로세서가: 상기 수신된 타이밍 통지에 기반하여, 상기 WiFi 통신 모듈을 이용하여 상기 전자 장치의 위치를 측정하는 동작을 수행하도록 하는 제 2 인스트럭션들을 저장할 수 있다. According to various embodiments, an electronic device (eg, the electronic device 101) includes a cellular communication module (eg, a cellular communication module 230); WiFi communication module (eg, WiFi communication module 220); A sensor module (eg, sensor module 176); A first processor (eg, a communication processor 270 and/or a sensor hub processor 280) operatively connected to the cellular communication module, the WiFi communication module, and the sensor module; A second processor (eg, an application processor 260) operatively connected to the cellular communication module and the WiFi communication module; And a memory (eg, memory 130) operatively connected to the first processor and the second processor. The memory, when executed, the first processor: recognizes that a user state changes to a measurement state to perform positioning based on data received from the sensor module or the cellular communication module, and performs positioning based on the change. First instructions for determining a time point to be performed and transmitting a timing notification to the second processor at the time point at which the positioning is to be performed may be stored. The memory may store second instructions that, when executed, cause the second processor to: based on the received timing notification, perform an operation of measuring the location of the electronic device using the WiFi communication module.

상기 제 1 인스트럭션들은, 상기 제 1 프로세서가, 상기 센서 모듈로부터 수신된 데이터에 기반하여, 상기 사용자 상태를 정지 상태 또는 이동 상태로 인식하고 상기 이동 상태를 측위를 수행하지 않을 바이패스 상태 또는 상기 측정 상태로 판단하고, 상기 정지 상태 또는 상기 바이패스 상태에서 상기 측정 상태로 변화에 기반하여 상기 측위를 수행할 시점을 결정하도록 할 수 있다.The first instructions are, based on the data received from the sensor module, the first processor recognizes the user state as a stationary state or a moving state, and determines the moving state as a bypass state in which positioning is not performed or the measurement It is determined as a state, and a time point at which the positioning is to be performed may be determined based on a change from the stopped state or the bypass state to the measurement state.

상기 제 1 인스트럭션들은, 상기 제 1 프로세서가, 상기 센서 모듈로부터 수신된 데이터에 기반하여, 상기 이동 상태를 걷고 있는 상태, 뛰고 있는 상태, 또는 차를 타고 있는 상태로 판단하고, 상기 걷고 있는 상태를 상기 측정 상태로 결정하고, 상기 뛰고 있는 상태 및 상기 차를 타고 있는 상태를 상기 바이패스 상태로 결정하도록 할 수 있다.The first instructions, the first processor, based on data received from the sensor module, determine the moving state as a walking state, a running state, or a vehicle riding state, and the walking state The measurement state may be determined, and the running state and the riding state may be determined as the bypass state.

상기 제 1 인스트럭션들은, 상기 제 1 프로세서가: 상기 사용자 상태가 상기 측정 상태로 변화된 것에 기반하여, 제 1 타이머를 시작하고, 상기 제 1 타이머의 만료에 기반하여 상기 타이밍 통지를 상기 제 2 프로세서로 전송하도록 할 수 있다.The first instructions, wherein the first processor: starts a first timer based on the change of the user state to the measurement state, and sends the timing notification to the second processor based on the expiration of the first timer. Can be sent.

상기 제 2 인스트럭션들은, 상기 제 2 프로세서가: 상기 타이밍 통지의 수신에 기반하여, 측위를 수행하고 제 2 타이머를 시작하고, 상기 제 2 타이머의 만료에 기반하여 측위를 수행하도록 할 수 있다.The second instructions may cause the second processor to: perform positioning based on reception of the timing notification, start a second timer, and perform positioning based on expiration of the second timer.

상기 제 1 인스트럭션들은, 상기 제 1 프로세서가, 상기 사용자 상태가 상기 측정 상태에서 상기 정지 상태 또는 상기 바이패스 상태로 변화된 것에 기반하여, 상기 제 1 타이머의 작동을 취소하도록 할 수 있다.The first instructions may cause the first processor to cancel the operation of the first timer based on a change in the user state from the measurement state to the stop state or the bypass state.

상기 제 1 인스트럭션들은, 상기 제 1 프로세서가, 상기 타이머 통지를 전송한 후, 상기 사용자 상태가 상기 측정 상태임에 기반하여 상기 제 1 타이머를 다시 시작함으로써 상기 타이밍 통지가 주기적으로 상기 제 2 프로세서로 전송되도록 할 수 있다.The first instructions, after the first processor transmits the timer notification, restarts the first timer based on the user state being the measurement state, so that the timing notification is periodically sent to the second processor. Can be sent.

상기 제 1 인스트럭션들은, 상기 제 1 프로세서가, 상기 사용자 상태가 상기 측정 상태로 유지되는 동안에만 상기 타이밍 통지를 상기 제 2 프로세서로 전송하도록 할 수 있다.The first instructions may cause the first processor to transmit the timing notification to the second processor only while the user state is maintained in the measurement state.

상기 제 1 인스트럭션들은, 상기 제 1 프로세서가, 상기 타이밍 통지의 주기에 관한 메시지를 상기 제 2 프로세서로부터 수신하고, 상기 메시지에 기반하여 상기 제 1 타이머의 시간 값을 결정하도록 할 수 있다.The first instructions may cause the first processor to receive a message regarding a period of the timing notification from the second processor, and determine a time value of the first timer based on the message.

상기 제 2 인스트럭션들은, 상기 제 1 프로세서가: 상기 WiFi통신 모듈을 이용하여 외부 전자 장치의 식별 정보를 획득하고, 상기 획득된 식별 정보가 지정된 지오펜스(geofence)와 관련된 것인지 여부에 기반하여, 상기 주기를 결정하도록 할 수 있다.The second instructions include: The first processor: acquires identification information of an external electronic device using the WiFi communication module, and based on whether the obtained identification information is related to a designated geofence, the You can let them decide the cycle.

상기 제 1 인스트럭션들은, 상기 제 1 프로세서가, 상기 제 2 프로세서로부터 상기 타이밍 통지의 일시 정지를 요청하는 메시지를 수신하고, 상기 메시지의 수신에 반응하여 상기 타이밍 통지의 전송을 중단하도록 할 수 있다.The first instructions may cause the first processor to receive a message requesting pause of the timing notification from the second processor, and stop transmitting the timing notification in response to the reception of the message.

상기 메시지는 상기 타이밍 통지의 일시 정지와 관련된 지정된 일시 정지 시간 정보를 포함할 수 있다. The message may include specified pause time information related to the pause of the timing notification.

상기 전자 장치는 상기 제1 프로세서 또는 상기 제2 프로세서와 작동적으로 연결된 GNSS 통신 모듈을 더 포함하고, 상기 제 2 인스트럭션들은, 상기 제 2 프로세서가, 상기 GNSS 모듈로부터 위경도 정보를 수신하고, 상기 위경도 정보에 해당하는 맵(map) 상에서의 상기 전자 장치의 위치와 지정된 관심 지점 간의 거리가 지정된 임계치 이상인 것으로 인식하고, 상기 거리가 상기 임계치 이상인 것임을 인식한 것에 기반하여, 상기 메시지를 상기 제 1 프로세서로 전송하도록 할 수 있다.The electronic device further includes a GNSS communication module operatively connected to the first processor or the second processor, and the second instructions include: the second processor receives latitude and longitude information from the GNSS module, and the Based on the recognition that the distance between the location of the electronic device on the map corresponding to the latitude and longitude information and the designated point of interest is equal to or greater than a specified threshold, and based on recognizing that the distance is equal to or greater than the threshold, the first message Can be sent to the processor.

상기 제 2 인스트럭션들은 상기 제 2 프로세서가, 상기 제 1 프로세서의 상기 타이밍 통지하는 동작의 활성화 또는 비활성화를 제어하도록 할 수 있다.The second instructions may allow the second processor to control activation or deactivation of the timing notification operation of the first processor.

상기 제1 프로세서 또는 상기 제2 프로세서와 작동적으로 연결된 GNSS 통신 모듈을 더 포함하고, 상기 제 2 인스트럭션들은 상기 제 2 프로세서가, 지오펜싱 서비스의 시작 요청 수신, 상기 제 2 프로세서가 엑티브 상태에서 인엑티브 상태로 전환을 위한 이벤트의 발생, 또는 상기 GNSS 통신 모듈을 이용하여 획득된 상기 전자 장치의 위치에서 지정된 반경 내에 관심 지점이 존재하는지를 판단하고, 상기 판단 결과에 기반하여, 상기 활성화를 위한 메시지를 상기 제 1 프로세서로 전송하도록 할 수 있다.Further comprising a GNSS communication module operatively connected to the first processor or the second processor, the second instructions, the second processor receives a start request of the geofencing service, the second processor is activated in the active state. It is determined whether an event for switching to an active state exists, or whether a point of interest exists within a specified radius at the location of the electronic device obtained using the GNSS communication module, and based on the determination result, the message for activation It may be transmitted to the first processor.

상기 제 2 인스트럭션들은 상기 제 2 프로세서가, 지오펜싱 서비스의 종료 요청 수신, 상기 제 2 프로세서가 인엑티브 상태에서 엑티브 상태로 전환을 위한 이벤트의 발생, 또는 상기 무선 통신 모듈을 이용하여 획득된 상기 전자 장치의 위치에서 지정된 반경 내에 관심 지점이 존재하지 않는지를 판단하고, 상기 판단 결과에 기반하여, 상기 비활성화를 위한 메시지를 상기 제 1 프로세서로 전송하도록 할 수 있다.The second instructions include the second processor receiving a request to terminate the geofencing service, the occurrence of an event for the second processor to switch from the active state to the active state, or the electronic device obtained using the wireless communication module. It is possible to determine whether an ROI does not exist within a specified radius at the location of the device, and transmit the message for deactivation to the first processor based on the determination result.

일 실시예에서, 상기 제 2 프로세서가 어플리케이션 프로세서를 포함할 수 있다. 상기 제 1 프로세서가, 상기 어플리케이션 프로세서에 작동적으로 연결된 커뮤니케이션 프로세서와, 상기 커뮤니케이션 프로세서 및 상기 센서 모듈에 작동적으로 연결된 센서 허브 프로세서를 포함할 수 있다. 상기 제 1 인스트럭션들은, 상기 센서 허브 프로세서가, 상기 센서 모듈로부터 수신된 데이터에 기반하여 상기 사용자 상태를 인식하고, 상기 인식된 상태 및/또는 상태의 변화를 나타내는 정보를 상기 커뮤니케이션 프로세서로 전송하도록 할 수 있다. 상기 제 1 인스트럭션들은, 상기 커뮤니케이션 프로세서가, 상기 사용자 상태가 상기 측정 상태로 변화됨에 기반하여 상기 측위를 수행할 시점을 결정하고, 상기 측위를 수행할 시점에 상기 타이밍 통지를 상기 어플리케이션 프로세서로 전송하도록 할 수 있다.In one embodiment, the second processor may include an application processor. The first processor may include a communication processor operatively connected to the application processor, and a sensor hub processor operatively connected to the communication processor and the sensor module. The first instructions allow the sensor hub processor to recognize the user state based on data received from the sensor module and transmit information indicating the recognized state and/or state change to the communication processor. I can. The first instructions allow the communication processor to determine a time point to perform the positioning based on the change of the user state to the measurement state, and transmit the timing notification to the application processor at the time point to perform the positioning. can do.

다른 실시예에서, 상기 제 2 프로세서가 어플리케이션 프로세서를 포함할 수 있다. 상기 제 1 프로세서가, 상기 어플리케이션 프로세서 및 상기 센서 모듈에 작동적으로 연결된 센서 허브 프로세서를 포함할 수 있다. 상기 제 1 인스트럭션들은, 상기 센서 허브 프로세서가, 상기 센서 모듈로부터 수신된 데이터에 기반하여 상기 사용자 상태를 인식하고, 상기 사용자 상태가 상기 측정 상태로 변화됨에 기반하여 상기 측위를 수행할 시점을 결정하고, 상기 측위를 수행할 시점에 상기 타이밍 통지를 상기 어플리케이션 프로세서로 전송하도록 할 수 있다.In another embodiment, the second processor may include an application processor. The first processor may include the application processor and a sensor hub processor operatively connected to the sensor module. The first instructions are, the sensor hub processor recognizes the user state based on data received from the sensor module, and determines a time point to perform the positioning based on the change of the user state to the measurement state, and The timing notification may be transmitted to the application processor at the time when the positioning is to be performed.

또 다른 실시예에서, 상기 제 2 프로세서가 어플리케이션 프로세서를 포함할 수 있다. 상기 제 1 프로세서가, 상기 어플리케이션 프로세서 및 상기 셀룰러 통신 모듈에 작동적으로 연결된 커뮤니케이션 프로세서를 포함할 수 있다. 상기 제 1 인스트럭션들은, 상기 커뮤니케이션 프로세서가, 상기 셀룰러 통신 모듈로부터 수신된 데이터에 기반하여 상기 사용자 상태를 인식하고, 상기 사용자 상태가 상기 측정 상태로 변화됨에 기반하여 상기 측위를 수행할 시점을 결정하고, 상기 측위를 수행할 시점에 상기 타이밍 통지를 상기 어플리케이션 프로세서로 전송하도록 할 수 있다.In another embodiment, the second processor may include an application processor. The first processor may include a communication processor operatively connected to the application processor and the cellular communication module. The first instructions, wherein the communication processor recognizes the user state based on data received from the cellular communication module, and determines a time point to perform the positioning based on the change of the user state to the measurement state, and The timing notification may be transmitted to the application processor at the time when the positioning is to be performed.

상기 전자 장치는, 상기 제1 프로세서 또는 상기 제2 프로세서와 작동적으로 연결된 GNSS 통신 모듈을 더 포함하고, 상기 제 2 인스트럭션들은 상기 제 2 프로세서가, 상기 GNSS 통신 모듈을 이용하여 획득된 위치 정보에 기반하여, 상기 전자 장치의 위치로부터 지정된 반경 이내에 지오펜스가 존재하는지 여부를 판단하고, 상기 판단 결과에 기반하여, 상기 WiFi 통신 모듈을 이용하여 상기 전자 장치가 상기 지오펜스 내로 들어가거나 밖으로 나가는 것을 인식하도록 할 수 있다.The electronic device further includes a GNSS communication module operatively connected to the first processor or the second processor, and the second instructions are based on the location information obtained by the second processor using the GNSS communication module. Based on the determination of whether or not a geofence exists within a specified radius from the location of the electronic device, and based on the determination result, recognize that the electronic device enters or exits the geofence using the WiFi communication module You can do it.

다양한 실시예에서 전자 장치를 동작시키는 방법은, 상기 전자 장치의 제 1 프로세서가, 상기 전자 장치의 센서 모듈 또는 셀룰러 통신 모듈로부터 수신된 데이터에 기반하여, 사용자 상태가 측위를 수행할 측정 상태로 변화됨을 인식하는 동작; 상기 제 1 프로세서가, 상기 변화에 기반하여 측위를 수행할 시점을 결정하는 동작; 상기 제 1 프로세서가, 상기 측위를 수행할 시점에 타이밍 통지를 상기 전자 장치의 제 2 프로세서에 전송하는 동작; 및 상기 제 2 프로세서가, 상기 타이밍 통지의 수신에 기반하여, WiFi 통신 모듈을 이용하여 상기 전자 장치의 위치를 측정하는 동작을 포함할 수 있다. In various embodiments, a method of operating an electronic device includes a first processor of the electronic device changing a user state to a measurement state to perform positioning based on data received from a sensor module or a cellular communication module of the electronic device. The operation of recognizing; Determining, by the first processor, a time point to perform positioning based on the change; Transmitting, by the first processor, a timing notification to a second processor of the electronic device when the positioning is to be performed; And measuring, by the second processor, a location of the electronic device using a WiFi communication module based on reception of the timing notification.

상기 측정 상태로 변화됨을 인식하는 동작은, 상기 센서 모듈로부터 수신된 데이터에 기반하여, 상기 사용자 상태를 정지 상태, 상기 이동 상태를 측위를 수행하지 않을 바이패스 상태 또는 상기 측정 상태로 인식하는 동작을 포함할 수 있다. 상기 측위를 수행할 시점을 결정하는 동작은, 상기 정지 상태 또는 상기 바이패스 상태에서 상기 측정 상태로 변화에 기반하여 상기 측위를 수행할 시점을 결정하는 동작을 포함할 수 있다.Recognizing the change to the measurement state, based on the data received from the sensor module, the operation of recognizing the user state as a stationary state, the moving state as a bypass state in which positioning is not performed or the measurement state. Can include. The operation of determining a time point at which the positioning is to be performed may include an operation of determining a time point at which the positioning is to be performed based on a change from the stop state or the bypass state to the measurement state.

본 명세서와 도면에 개시된 본 발명의 실시예들은 본 발명의 실시예에 따른 기술 내용을 쉽게 설명하고 본 발명의 실시예의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며, 본 발명의 실시예의 범위를 한정하고자 하는 것은 아니다. 따라서 본 발명의 다양한 실시예의 범위는 여기에 개시된 실시예들 이외에도 본 발명의 다양한 실시예의 기술적 사상을 바탕으로 도출되는 모든 변경 또는 변형된 형태가 본 발명의 다양한 실시예의 범위에 포함되는 것으로 해석되어야 한다.Embodiments of the present invention disclosed in the present specification and drawings are only provided specific examples to easily explain the technical content according to the embodiments of the present invention and to aid in understanding of the embodiments of the present invention, and limit the scope of the embodiments of the present invention. I don't want to. Therefore, the scope of various embodiments of the present invention should be interpreted as being included in the scope of various embodiments of the present invention in addition to the embodiments disclosed herein, all changes or modified forms derived based on the technical idea of various embodiments of the present invention. .

101, 102: 전자 장치
108: 서버
120: 프로세서
130: 메모리
176: 센서 모듈
192: 무선 통신 모듈
210: GNSS 통신 모듈
220: WiFi 통신 모듈
230: 셀룰러 통신 모듈
240: 가속도 센서
250: 자이로 센서
260: 어플리케이션 프로세서
270: 커뮤니케이션 프로세서
280: 센서 허브 프로세서
291: 상태 추적 모듈
293: 타이밍 결정 매니저
295: 지오펜싱 결정 매니저
101, 102: electronic device
108: server
120: processor
130: memory
176: sensor module
192: wireless communication module
210: GNSS communication module
220: WiFi communication module
230: cellular communication module
240: acceleration sensor
250: gyro sensor
260: application processor
270: communication processor
280: sensor hub processor
291: status tracking module
293: Timing Decision Manager
295: Geofencing Decision Manager

Claims (20)

전자 장치에 있어서,
셀룰러 통신 모듈;
WiFi 통신 모듈;
센서 모듈;
상기 셀룰러 통신 모듈, 상기 WiFi 통신 모듈 및 상기 센서 모듈과 작동적으로 연결된 제 1 프로세서;
상기 셀룰러 통신 모듈 및 상기 WiFi통신 모듈과 작동적으로 연결된 제 2 프로세서; 및
상기 제 1 프로세서 및 상기 제 2 프로세서와 작동적으로 연결된 메모리를 포함하고,
상기 메모리는, 실행될 때, 상기 제 1 프로세서가:
상기 센서 모듈 또는 상기 셀룰러 통신 모듈로부터 수신된 데이터에 기반하여 사용자 상태가 측위를 수행할 측정 상태로 변화됨을 인식하고,
상기 변화에 기반하여 측위를 수행할 시점을 결정하고,
상기 측위를 수행할 시점에 타이밍 통지를 상기 제 2 프로세서에 전송하도록 하는 제 1 인스트럭션들을 저장하고,
상기 메모리는, 실행될 때, 상기 제 2 프로세서가:
상기 수신된 타이밍 통지에 기반하여, 상기 WiFi 통신 모듈을 이용하여 상기 전자 장치의 위치를 측정하는 동작을 수행하도록 하는 제 2 인스트럭션들을 저장하는 전자 장치.
In the electronic device,
Cellular communication module;
WiFi communication module;
Sensor module;
A first processor operatively connected to the cellular communication module, the WiFi communication module, and the sensor module;
A second processor operatively connected to the cellular communication module and the WiFi communication module; And
A memory operatively connected to the first processor and the second processor,
The memory, when executed, the first processor:
Recognizing that a user state changes to a measurement state to perform positioning based on data received from the sensor module or the cellular communication module,
Decide when to perform positioning based on the change,
Store first instructions for transmitting a timing notification to the second processor at a time point to perform the positioning,
The memory, when executed, the second processor:
An electronic device that stores second instructions for performing an operation of measuring the location of the electronic device using the WiFi communication module based on the received timing notification.
제 1 항에 있어서, 상기 제 1 인스트럭션들은, 상기 제 1 프로세서가,
상기 센서 모듈로부터 수신된 데이터에 기반하여, 상기 사용자 상태를 정지 상태 또는 이동 상태로 인식하고 상기 이동 상태를 측위를 수행하지 않을 바이패스 상태 또는 상기 측정 상태로 판단하고,
상기 정지 상태 또는 상기 바이패스 상태에서 상기 측정 상태로 변화에 기반하여 상기 측위를 수행할 시점을 결정하도록 하는 전자 장치.
The method of claim 1, wherein the first instructions, the first processor,
Based on the data received from the sensor module, the user state is recognized as a stationary state or a moving state, and the moving state is determined as a bypass state in which positioning is not performed or the measurement state,
An electronic device configured to determine a time point to perform the positioning based on a change from the stopped state or the bypass state to the measurement state.
제 2 항에 있어서, 상기 제 1 인스트럭션들은, 상기 제 1 프로세서가,
상기 센서 모듈로부터 수신된 데이터에 기반하여, 상기 이동 상태를 걷고 있는 상태, 뛰고 있는 상태, 또는 차를 타고 있는 상태로 판단하고,
상기 걷고 있는 상태를 상기 측정 상태로 결정하고, 상기 뛰고 있는 상태 및 상기 차를 타고 있는 상태를 상기 바이패스 상태로 결정하도록 하는 전자 장치.
The method of claim 2, wherein the first instructions, the first processor,
Based on the data received from the sensor module, it is determined that the moving state is a walking state, a running state, or a vehicle riding state,
An electronic device configured to determine the walking state as the measurement state, and determine the running state and the vehicle riding state as the bypass state.
제 1 항에 있어서, 상기 제 1 인스트럭션들은, 상기 제 1 프로세서가,
상기 사용자 상태가 상기 측정 상태로 변화된 것에 기반하여, 제 1 타이머를 시작하고,
상기 제 1 타이머의 만료에 기반하여 상기 타이밍 통지를 상기 제 2 프로세서로 전송하도록 하고,
상기 제 2 인스트럭션들은, 상기 제 2 프로세서가:
상기 타이밍 통지의 수신에 기반하여, 측위를 수행하고 제 2 타이머를 시작하고,
상기 제 2 타이머의 만료에 기반하여 측위를 수행하도록 하는 전자 장치.
The method of claim 1, wherein the first instructions, the first processor,
Based on the change of the user state to the measurement state, starting a first timer,
Transmit the timing notification to the second processor based on the expiration of the first timer,
The second instructions, the second processor:
Based on the reception of the timing notification, performing positioning and starting a second timer,
An electronic device configured to perform positioning based on the expiration of the second timer.
제 4 항에 있어서, 상기 제 1 인스트럭션들은, 상기 제 1 프로세서가,
상기 사용자 상태가 상기 측정 상태에서 상기 정지 상태 또는 상기 바이패스 상태로 변화된 것에 기반하여, 상기 제 1 타이머의 작동을 취소하도록 하는 전자 장치.
The method of claim 4, wherein the first instructions, the first processor,
An electronic device configured to cancel the operation of the first timer based on a change in the user state from the measurement state to the stop state or the bypass state.
제 4 항에 있어서, 상기 제 1 인스트럭션들은, 상기 제 1 프로세서가,
상기 타이머 통지를 전송한 후, 상기 사용자 상태가 상기 측정 상태임에 기반하여 상기 제 1 타이머를 다시 시작함으로써 상기 타이밍 통지가 주기적으로 상기 제 2 프로세서로 전송되도록 하는 전자 장치.
The method of claim 4, wherein the first instructions, the first processor,
After transmitting the timer notification, an electronic device configured to periodically transmit the timing notification to the second processor by restarting the first timer based on the user state being the measurement state.
제 6 항에 있어서, 상기 제 1 인스트럭션들은, 상기 제 1 프로세서가,
상기 사용자 상태가 상기 측정 상태로 유지되는 동안에만 상기 타이밍 통지를 상기 제 2 프로세서로 전송하도록 하는 전자 장치.
The method of claim 6, wherein the first instructions, the first processor,
An electronic device configured to transmit the timing notification to the second processor only while the user state is maintained in the measurement state.
제 6 항에 있어서, 상기 제 1 인스트럭션들은, 상기 제 1 프로세서가,
상기 타이밍 통지의 주기에 관한 메시지를 상기 제 2 프로세서로부터 수신하고,
상기 메시지에 기반하여 상기 타이머의 시간 값을 결정하도록 하는 전자 장치.
The method of claim 6, wherein the first instructions, the first processor,
Receive a message regarding the period of the timing notification from the second processor,
An electronic device configured to determine a time value of the timer based on the message.
제 8 항에 있어서, 상기 제 2 인스트럭션들은, 상기 제 1 프로세서가:
상기 WiFi통신 모듈을 이용하여 외부 전자 장치의 식별 정보를 획득하고,
상기 획득된 식별 정보가 지정된 지오펜스(geofence)와 관련된 것인지 여부에 기반하여, 상기 주기를 결정하도록 하는 전자 장치.
The method of claim 8, wherein the second instructions, the first processor:
Obtaining identification information of an external electronic device using the WiFi communication module,
An electronic device configured to determine the period based on whether the obtained identification information is related to a designated geofence.
제 6 항에 있어서, 상기 제 1 인스트럭션들은, 상기 제 1 프로세서가,
상기 제 2 프로세서로부터 상기 타이밍 통지의 일시 정지를 요청하는 메시지를 수신하고,
상기 메시지의 수신에 반응하여 상기 타이밍 통지의 전송을 중단하도록 하는 전자 장치.
The method of claim 6, wherein the first instructions, the first processor,
Receiving a message requesting a pause of the timing notification from the second processor,
An electronic device configured to stop transmitting the timing notification in response to receipt of the message.
제 10 항에 있어서, 상기 메시지는 상기 타이밍 통지의 일시 정지와 관련된 지정된 일시 정지 시간 정보를 포함하는, 전자 장치.11. The electronic device of claim 10, wherein the message includes specified pause time information related to a pause of the timing notification. 제 10 항에 있어서, 상기 제1 프로세서 또는 상기 제2 프로세서와 작동적으로 연결된 GNSS 통신 모듈을 더 포함하고,
상기 제 2 인스트럭션들은, 상기 제 2 프로세서가,
상기 GNSS 모듈로부터 위경도 정보를 수신하고,
상기 위경도 정보에 해당하는 맵(map) 상에서의 상기 전자 장치의 위치와 지정된 관심 지점 간의 거리가 지정된 임계치 이상인 것으로 인식하고,
상기 거리가 상기 임계치 이상인 것임을 인식한 것에 기반하여, 상기 메시지를 상기 제 1 프로세서로 전송하도록 하는 전자 장치.
The method of claim 10, further comprising a GNSS communication module operatively connected to the first processor or the second processor,
The second instructions, the second processor,
Receiving latitude and longitude information from the GNSS module,
Recognizing that the distance between the location of the electronic device and a designated point of interest on a map corresponding to the latitude and longitude information is equal to or greater than a designated threshold,
An electronic device configured to transmit the message to the first processor based on recognizing that the distance is equal to or greater than the threshold.
제 1 항에 있어서, 상기 제 2 인스트럭션들은 상기 제 2 프로세서가,
상기 제 1 프로세서의 상기 타이밍 통지하는 동작의 활성화 또는 비활성화를 제어하도록 하는 전자 장치.
The method of claim 1, wherein the second instructions are performed by the second processor,
An electronic device configured to control activation or deactivation of the timing notifying operation of the first processor.
제 13 항에 있어서, 상기 제1 프로세서 또는 상기 제2 프로세서와 작동적으로 연결된 GNSS 통신 모듈을 더 포함하고,
상기 제 2 인스트럭션들은 상기 제 2 프로세서가,
지오펜싱 서비스의 시작 요청 수신, 상기 제 2 프로세서가 엑티브 상태에서 인엑티브 상태로 전환을 위한 이벤트의 발생, 또는 상기 GNSS 통신 모듈을 이용하여 획득된 상기 전자 장치의 위치에서 지정된 반경 내에 관심 지점이 존재하는지를 판단하고,상기 판단 결과에 기반하여, 상기 활성화를 위한 메시지를 상기 제 1 프로세서로 전송하도록 하는 전자 장치.
The method of claim 13, further comprising a GNSS communication module operatively connected to the first processor or the second processor,
The second instructions are the second processor,
Receiving a request to start a geofencing service, generating an event for the second processor to switch from an active state to an active state, or a point of interest within a specified radius at the location of the electronic device obtained using the GNSS communication module The electronic device determines whether or not, and transmits the activation message to the first processor based on a result of the determination.
제 13 항에 있어서, 상기 제 2 인스트럭션들은 상기 제 2 프로세서가,
지오펜싱 서비스의 종료 요청 수신, 상기 제 2 프로세서가 인엑티브 상태에서 엑티브 상태로 전환을 위한 이벤트의 발생, 또는 상기 무선 통신 모듈을 이용하여 획득된 상기 전자 장치의 위치에서 지정된 반경 내에 관심 지점이 존재하지 않는지를 판단하고,
상기 판단 결과에 기반하여, 상기 비활성화를 위한 메시지를 상기 제 1 프로세서로 전송하도록 하는 전자 장치.
The method of claim 13, wherein the second instructions are performed by the second processor,
Receiving a request to terminate the geofencing service, generating an event for the second processor to switch from an active state to an active state, or having a point of interest within a specified radius at the location of the electronic device acquired using the wireless communication module Judge whether or not,
An electronic device configured to transmit the message for deactivation to the first processor based on the determination result.
제 1 항에 있어서,
상기 제 2 프로세서가 어플리케이션 프로세서를 포함하고,
상기 제 1 프로세서가, 상기 어플리케이션 프로세서에 작동적으로 연결된 커뮤니케이션 프로세서와, 상기 커뮤니케이션 프로세서 및 상기 센서 모듈에 작동적으로 연결된 센서 허브 프로세서를 포함하고,
상기 제 1 인스트럭션들은,
상기 센서 허브 프로세서가, 상기 센서 모듈로부터 수신된 데이터에 기반하여 상기 사용자 상태를 인식하고, 상기 인식된 상태 및/또는 상태의 변화를 나타내는 정보를 상기 커뮤니케이션 프로세서로 전송하도록 하고,
상기 커뮤니케이션 프로세서가, 상기 사용자 상태가 상기 측정 상태로 변화됨에 기반하여 상기 측위를 수행할 시점을 결정하고, 상기 측위를 수행할 시점에 상기 타이밍 통지를 상기 어플리케이션 프로세서로 전송하도록 하는 전자 장치.
The method of claim 1,
The second processor includes an application processor,
The first processor includes a communication processor operatively connected to the application processor, and a sensor hub processor operatively connected to the communication processor and the sensor module,
The first instructions,
The sensor hub processor recognizes the user state based on data received from the sensor module, and transmits information indicating the recognized state and/or state change to the communication processor,
The electronic device for causing the communication processor to determine a time point to perform the positioning based on the change of the user state to the measurement state, and transmit the timing notification to the application processor at the time point to perform the positioning.
제 1 항에 있어서,
상기 제 2 프로세서가 어플리케이션 프로세서를 포함하고,
상기 제 1 프로세서가, 상기 어플리케이션 프로세서 및 상기 센서 모듈에 작동적으로 연결된 센서 허브 프로세서를 포함하고,
상기 제 1 인스트럭션들은, 상기 센서 허브 프로세서가,
상기 센서 모듈로부터 수신된 데이터에 기반하여 상기 사용자 상태를 인식하고,
상기 사용자 상태가 상기 측정 상태로 변화됨에 기반하여 상기 측위를 수행할 시점을 결정하고, 상기 측위를 수행할 시점에 상기 타이밍 통지를 상기 어플리케이션 프로세서로 전송하도록 하는 전자 장치.
The method of claim 1,
The second processor includes an application processor,
The first processor includes a sensor hub processor operatively connected to the application processor and the sensor module,
The first instructions, the sensor hub processor,
Recognizing the user status based on data received from the sensor module,
An electronic device configured to determine a time point to perform the positioning based on the change of the user state to the measurement state, and transmit the timing notification to the application processor at the time point to perform the positioning.
제 1 항에 있어서,
상기 제 2 프로세서가 어플리케이션 프로세서를 포함하고,
상기 제 1 프로세서가, 상기 어플리케이션 프로세서 및 상기 셀룰러 통신 모듈에 작동적으로 연결된 커뮤니케이션 프로세서를 포함하고,
상기 제 1 인스트럭션들은, 상기 커뮤니케이션 프로세서가,
상기 셀룰러 통신 모듈로부터 수신된 데이터에 기반하여 상기 사용자 상태를 인식하고,
상기 사용자 상태가 상기 측정 상태로 변화됨에 기반하여 상기 측위를 수행할 시점을 결정하고, 상기 측위를 수행할 시점에 상기 타이밍 통지를 상기 어플리케이션 프로세서로 전송하도록 하는 전자 장치.
The method of claim 1,
The second processor includes an application processor,
The first processor includes a communication processor operatively connected to the application processor and the cellular communication module,
The first instructions, the communication processor,
Recognizing the user status based on data received from the cellular communication module,
An electronic device configured to determine a time point to perform the positioning based on the change of the user state to the measurement state, and transmit the timing notification to the application processor at the time point to perform the positioning.
제 1 항에 있어서, 상기 제1 프로세서 또는 상기 제2 프로세서와 작동적으로 연결된 GNSS 통신 모듈을 더 포함하고,
상기 제 2 인스트럭션들은 상기 제 2 프로세서가,
상기 GNSS 통신 모듈을 이용하여 획득된 위치 정보에 기반하여, 상기 전자 장치의 위치로부터 지정된 반경 이내에 지오펜스가 존재하는지 여부를 판단하고,
상기 판단 결과에 기반하여, 상기 WiFi 통신 모듈을 이용하여 상기 전자 장치가 상기 지오펜스 내로 들어가거나 밖으로 나가는 것을 인식하도록 하는 전자 장치.
The method of claim 1, further comprising a GNSS communication module operatively connected to the first processor or the second processor,
The second instructions are the second processor,
Based on the location information obtained using the GNSS communication module, it is determined whether a geofence exists within a specified radius from the location of the electronic device,
An electronic device configured to recognize that the electronic device enters or exits the geo-fence based on the determination result, using the WiFi communication module.
전자 장치를 동작시키는 방법에 있어서,
상기 전자 장치의 제 1 프로세서가, 상기 전자 장치의 센서 모듈 또는 셀룰러 통신 모듈로부터 수신된 데이터에 기반하여, 사용자 상태가 측위를 수행할 측정 상태로 변화됨을 인식하는 동작;
상기 제 1 프로세서가, 상기 변화에 기반하여 측위를 수행할 시점을 결정하는 동작;
상기 제 1 프로세서가, 상기 측위를 수행할 시점에 타이밍 통지를 상기 전자 장치의 제 2 프로세서에 전송하는 동작; 및
상기 제 2 프로세서가, 상기 타이밍 통지의 수신에 기반하여, WiFi 통신 모듈을 이용하여 상기 전자 장치의 위치를 측정하는 동작을 포함하는 방법.
In the method of operating an electronic device,
Recognizing, by the first processor of the electronic device, that a user state is changed to a measurement state to perform positioning based on data received from a sensor module or a cellular communication module of the electronic device;
Determining, by the first processor, a time point to perform positioning based on the change;
Transmitting, by the first processor, a timing notification to a second processor of the electronic device when the positioning is to be performed; And
And measuring, by the second processor, a location of the electronic device using a WiFi communication module, based on reception of the timing notification.
KR1020190071444A 2019-02-28 2019-06-17 Electronic devices for supporting user state based geofencing services KR20200105366A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/KR2019/017706 WO2020175778A1 (en) 2019-02-28 2019-12-13 Electronic device for supporting user state-based geofencing services
US16/744,438 US10849073B2 (en) 2019-02-28 2020-01-16 Electronic device for supporting user state-based geofencing services

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20190023900 2019-02-28
KR1020190023900 2019-02-28

Publications (1)

Publication Number Publication Date
KR20200105366A true KR20200105366A (en) 2020-09-07

Family

ID=72472336

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190071444A KR20200105366A (en) 2019-02-28 2019-06-17 Electronic devices for supporting user state based geofencing services

Country Status (1)

Country Link
KR (1) KR20200105366A (en)

Similar Documents

Publication Publication Date Title
US11606838B2 (en) Electronic device for controlling establishment or release of communication connection, and operating method therefor
US11496855B2 (en) Electronic device and geofence management method thereof
US10849073B2 (en) Electronic device for supporting user state-based geofencing services
EP3989612A1 (en) Bluetooth communication connection method and electronic device thereof
US11895738B2 (en) Electronic device for providing Wi-Fi communication and mobile hotspot communication and method thereof
US11295614B2 (en) Method for processing message and electronic device implementing the same
US11297025B2 (en) Method for controlling notification and electronic device therefor
KR20200107089A (en) Method and electronic device for scanning channel to perform location based service
KR20200144846A (en) Electronic device for determining location information of external device
KR20190020940A (en) Method and apparatus for determining location using identification information corresponding external electronic device
KR20200105366A (en) Electronic devices for supporting user state based geofencing services
KR20230047870A (en) Method for measuring location using wireless communication and electronic device supportion the same
KR20220005306A (en) Antenna control method for providing uwb service and electronic device supporting the same
KR20200102678A (en) Apparatus and method for controlling signal related to external device
US11695982B2 (en) Content casting method and electronic device therefor
EP3735008B1 (en) Electronic device for establishing communication with external electronic device and method of controlling the same
KR102652360B1 (en) Method for providing position iformation to the external electronic device and electronic device thereof
EP3700106B1 (en) Electronic device and method for controlling electronic device
US11895616B2 (en) Electronic device and method for measuring location of electronic device
EP4301002A1 (en) Electronic device using geo-fence, and operation method therefor
US20230117010A1 (en) Portable electronic device providing positioning communication through uwb communication channel
KR20230064495A (en) An electronic device and method using a geo-fence
KR20230055336A (en) Portable electronic device providing positioning communication through uwb communication channel