KR102650875B1 - Electronic device and method for setting time zone thereof - Google Patents
Electronic device and method for setting time zone thereof Download PDFInfo
- Publication number
- KR102650875B1 KR102650875B1 KR1020190067353A KR20190067353A KR102650875B1 KR 102650875 B1 KR102650875 B1 KR 102650875B1 KR 1020190067353 A KR1020190067353 A KR 1020190067353A KR 20190067353 A KR20190067353 A KR 20190067353A KR 102650875 B1 KR102650875 B1 KR 102650875B1
- Authority
- KR
- South Korea
- Prior art keywords
- information
- time zone
- database
- electronic device
- current location
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims description 32
- 238000004891 communication Methods 0.000 claims abstract description 103
- 238000013507 mapping Methods 0.000 claims abstract description 12
- 230000006870 function Effects 0.000 description 19
- 230000010267 cellular communication Effects 0.000 description 10
- 230000001413 cellular effect Effects 0.000 description 10
- 238000003860 storage Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 4
- 238000012790 confirmation Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000004519 manufacturing process Methods 0.000 description 4
- 238000010295 mobile communication Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000000638 stimulation Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 239000000446 fuel Substances 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003155 kinesthetic effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72457—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2201/00—Electronic components, circuits, software, systems or apparatus used in telephone systems
- H04M2201/34—Microprocessors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2201/00—Electronic components, circuits, software, systems or apparatus used in telephone systems
- H04M2201/36—Memories
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2201/00—Electronic components, circuits, software, systems or apparatus used in telephone systems
- H04M2201/38—Displays
Abstract
다양한 실시예에 따른 전자 장치는, 무선 랜(wireless LAN) 통신을 지원하는 무선 통신 회로; 메모리; 및 상기 무선 통신 회로 및 메모리와 작동적으로(operatively) 연결되는 프로세서를 포함하고, 상기 메모리는, 위치 정보와 타임 존 정보를 맵핑한 제1데이터베이스 및 무선랜 액세스 포인트(Access Point) 장치의 식별 정보와 타임 존 정보를 맵핑한 제2데이터베이스를 저장하고, 상기 프로세서는, 상기 전자 장치의 현재 위치 정보를 획득하고, 상기 메모리에 저장된 제1데이터베이스 및/또는 제2데이터베이스로부터 상기 현재 위치 정보에 대응하는 타임 존 정보를 확인하고, 상기 타임 존 정보가 확인되는 경우, 상기 확인된 타임 존 정보를 이용해서 상기 현재 위치 정보에 대응하는 시간 정보를 결정하고, 및 상기 타임 존 정보가 확인되지 않는 경우, 상기 무선 통신 회로를 통해 외부 서버에 타임 존 정보를 요청하도록 설정될 수 있다.
그 외에 다양한 실시예가 가능하다.An electronic device according to various embodiments includes a wireless communication circuit supporting wireless LAN communication; Memory; and a processor operatively connected to the wireless communication circuit and memory, wherein the memory includes a first database mapping location information and time zone information and identification information of a wireless LAN access point device. and store a second database mapping time zone information, and the processor obtains current location information of the electronic device and generates information corresponding to the current location information from the first database and/or second database stored in the memory. Check time zone information, and if the time zone information is confirmed, determine time information corresponding to the current location information using the confirmed time zone information, and if the time zone information is not confirmed, It can be set to request time zone information from an external server through a wireless communication circuit.
Various other embodiments are possible.
Description
본 문서는 전자 장치에 관한 것이며, 보다 상세하게는 무선랜(wireless LAN) 통신을 지원하는 전자 장치에서 현재 위치에 맞는 타임 존(time zone)을 설정하기 위한 타임 존 설정 방법에 대한 것이다.This document relates to electronic devices, and more specifically, to a time zone setting method for setting a time zone appropriate for the current location in an electronic device that supports wireless LAN communication.
이동 통신 및 프로세서 기술의 발달에 따라, 스마트폰, 태블릿 PC 등의 휴대용 전자 장치(이하, 전자 장치)가 널리 사용되고 있다. 전자 장치는 무선랜(wireless local area network), 셀룰러(cellular) 통신을 이용해서 다양한 서비스를 수행할 수 있다. 전자 장치의 휴대성에 따라서, 사용자는 전자 장치를 가지고 다양한 장소로 이동할 수 있다. With the development of mobile communication and processor technology, portable electronic devices (hereinafter referred to as electronic devices) such as smartphones and tablet PCs are widely used. Electronic devices can perform various services using wireless local area network (WLAN) and cellular communication. Depending on the portability of the electronic device, users can move to various places with the electronic device.
지구의 자전에 따라, 각 지역 별로 서로 다른 시간대를 사용하고 있다. 예를 들어, 협정 세계 시(UTC, coordinated universal time) 또는 그리니치 기준 표준시간(GMT, Greenwich mean time)을 기준으로 경도에 따라 서로 다른 타임 존(time zone)으로 구분될 수 있다. 다만, 국가, 지역의 경계 또는 정책에 따라서, 경도와 타임 존의 구분이 일치하지 않을 수 있다.Depending on the Earth's rotation, each region uses a different time zone. For example, it can be divided into different time zones depending on longitude based on coordinated universal time (UTC) or Greenwich mean time (GMT). However, depending on country or regional boundaries or policies, the distinction between longitude and time zone may not match.
사용자가 전자 장치를 휴대하여 다른 타임 존으로 이동 하는 경우, 변경된 위치에 맞는 시간의 설정이 필요하다.When a user carries an electronic device and moves to a different time zone, it is necessary to set the time appropriate for the changed location.
현재 위치의 시간을 설정하기 위해서는 현재의 표준 시간(UTC, GMT)과 현 위치의 타임 존을 획득해야 한다. 종래의 전자 장치는 현 위치의 타임 존을 획득하기 위해, 사용자가 그래픽 유저 인터페이스를 이용해 타임 존을 직접 설정하는 방식을 사용 하였다.To set the time of the current location, you must obtain the current standard time (UTC, GMT) and the time zone of the current location. Conventional electronic devices used a method in which the user directly sets the time zone using a graphical user interface to obtain the time zone of the current location.
이에 따라, 전자 장치의 이동에 의해 타임 존이 변경되었음에도 불구하고, 사용자가 타임 존의 설정을 변경하지 않거나, 실제와 다른 타임 존을 설정하는 결과, 전자 장치가 현 위치의 실제 시간과 다른 시간을 표시하고, 그에 따라 서비스를 제공하는 경우가 발생할 수 있다.Accordingly, even though the time zone has changed due to movement of the electronic device, the user does not change the time zone settings or sets a time zone different from the actual time, resulting in the electronic device displaying a time different from the actual time at the current location. There may be cases where the information is displayed and services are provided accordingly.
본 문서의 다양한 실시예들은 사용자의 입력 없이 정확한 타임 존을 설정할 수 있는 전자 장치 및 전자 장치의 타임 존 설정 방법을 제공함에 그 목적이 있다.The purpose of various embodiments of this document is to provide an electronic device that can set an accurate time zone without user input and a time zone setting method for the electronic device.
다양한 실시예에 따른 전자 장치는, 무선 랜(wireless LAN) 통신을 지원하는 무선 통신 회로; 메모리; 및 상기 무선 통신 회로 및 메모리와 작동적으로(operatively) 연결되는 프로세서를 포함하고, 상기 메모리는, 위치 정보와 타임 존 정보를 맵핑한 제1데이터베이스 및 무선랜 액세스 포인트(Access Point) 장치의 식별 정보와 타임 존 정보를 맵핑한 제2데이터베이스를 저장하고, 상기 프로세서는, 상기 전자 장치의 현재 위치 정보를 획득하고, 상기 메모리에 저장된 제1데이터베이스 및/또는 제2데이터베이스로부터 상기 현재 위치 정보에 대응하는 타임 존 정보를 확인하고, 상기 타임 존 정보가 확인되는 경우, 상기 확인된 타임 존 정보를 이용해서 상기 현재 위치 정보에 대응하는 시간 정보를 결정하고, 및 상기 타임 존 정보가 확인되지 않는 경우, 상기 무선 통신 회로를 통해 외부 서버에 타임 존 정보를 요청하도록 설정될 수 있다.An electronic device according to various embodiments includes a wireless communication circuit supporting wireless LAN communication; Memory; and a processor operatively connected to the wireless communication circuit and memory, wherein the memory includes a first database mapping location information and time zone information and identification information of a wireless LAN access point device. and store a second database mapping time zone information, and the processor obtains current location information of the electronic device and generates information corresponding to the current location information from the first database and/or second database stored in the memory. Check time zone information, and if the time zone information is confirmed, determine time information corresponding to the current location information using the confirmed time zone information, and if the time zone information is not confirmed, It can be set to request time zone information from an external server through a wireless communication circuit.
다양한 실시예에 따른, 전자 장치의 타임 존 설정 방법은, 상기 전자 장치의 현재 위치 정보를 획득하는 동작; 상기 전자 장치의 메모리에 저장된 제1데이터베이스 및/또는 제2데이터베이스로부터 상기 현재 위치 정보에 대응하는 타임 존 정보를 확인하는 동작; 상기 타임 존 정보가 확인되는 경우, 상기 확인된 타임 존 정보를 이용해서 상기 현재 위치 정보에 대응하는 시간 정보를 결정하는 동작; 및 상기 타임 존 정보가 확인되지 않는 경우, 상기 무선 통신 회로를 통해 외부 서버에 타임 존 정보를 요청하는 동작을 포함할 수 있다.According to various embodiments, a method for setting a time zone for an electronic device includes: acquiring current location information of the electronic device; Checking time zone information corresponding to the current location information from a first database and/or a second database stored in the memory of the electronic device; When the time zone information is confirmed, determining time information corresponding to the current location information using the confirmed time zone information; and when the time zone information is not confirmed, requesting time zone information from an external server through the wireless communication circuit.
본 문서의 다양한 실시예에 따르면, 사용자의 입력 없이, 또한 외부의 타임 존 제공 서비스의 의존도를 최소화 하여 현 위치의 타임 존을 정확하게 설정할 수 있는 전자 장치 및 전자 장치의 타임 존 설정 방법을 제공할 수 있다.According to various embodiments of this document, it is possible to provide an electronic device and a time zone setting method for an electronic device that can accurately set the time zone of the current location without user input and by minimizing dependence on external time zone providing services. there is.
도 1은 다양한 실시예에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 다양한 실시예에 따른 전자 장치, 액세스 포인트 장치 및 복수의 서버 장치를 도시한 것이다.
도 3은 다양한 실시예에 따른 전자 장치의 블록도이다.
도 4는 다양한 실시예에 따른 타임 존 설정을 위한 소프트웨어 아키텍쳐를 도시한 것이다.
도 5는 다양한 실시예에 따른 타임 존 솔루션 모듈의 세부 모듈을 도시한 것이다.
도 6은 다양한 실시예에 따른 타임 존 설정을 위한 플로우를 도시한 것이다.
도 7은 다양한 실시예에 따른 타임 존 설정을 위한 플로우를 도시한 것이다.
도 8은 다양한 실시예에 따른 전자 장치의 타임 존 설정 방법의 흐름도이다.1 is a block diagram of an electronic device in a network environment according to various embodiments.
FIG. 2 illustrates an electronic device, an access point device, and a plurality of server devices according to various embodiments.
3 is a block diagram of an electronic device according to various embodiments.
Figure 4 illustrates a software architecture for setting a time zone according to various embodiments.
Figure 5 illustrates detailed modules of a time zone solution module according to various embodiments.
Figure 6 illustrates a flow for setting a time zone according to various embodiments.
Figure 7 illustrates a flow for setting a time zone according to various embodiments.
Figure 8 is a flowchart of a method for setting a time zone of an electronic device 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
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)을 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 로드하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서), 및 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 추가적으로 또는 대체적으로, 보조 프로세서(123)은 메인 프로세서(121)보다 저전력을 사용하거나, 또는 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 표시 장치(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성 요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. The
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The
입력 장치(150)는, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 장치(150)은, 예를 들면, 마이크, 마우스, 키보드, 또는 디지털 펜(예:스타일러스 펜)을 포함할 수 있다. The
음향 출력 장치(155)는 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 장치(155)는, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있고, 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The
표시 장치(160)는 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 표시 장치(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 표시 장치(160)는 터치를 감지하도록 설정된 터치 회로(touch circuitry), 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 센서 회로(예: 압력 센서)를 포함할 수 있다. The
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 장치(150) 를 통해 소리를 획득하거나, 음향 출력 장치(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102)) (예: 스피커 또는 헤드폰))를 통해 소리를 출력할 수 있다.The
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The
인터페이스(177)는 전자 장치(101)이 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)은, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(388)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The
배터리(189)는 전자 장치(101)의 적어도 하나의 구성 요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The
통신 모듈(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)와 같은 원거리 통신 네트워크)를 통하여 외부 전자 장치와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성 요소(예: 단일 칩)으로 통합되거나, 또는 서로 별도의 복수의 구성 요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 및 인증할 수 있다. The
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 하나의 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC)이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.The
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, 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 between peripheral devices (e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal ( (e.g. commands or data) can be exchanged with each other.
일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부 전자 장치들(102, 104, or 108) 중 하나 이상의 외부 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. According to one embodiment, commands or data may be transmitted or received between the
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치 (예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be of various types. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to embodiments of this document are 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 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and the terms used herein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various changes, equivalents, or replacements of the embodiments. In connection with the description of the drawings, similar reference numbers may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the above items, unless the relevant context clearly indicates otherwise. 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 phrase, or any possible combination thereof. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish one component from another, and to refer to that component in other respects (e.g., importance or order) is not limited. One (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.” When mentioned, it means that any of the components can be connected to the other components directly (e.g. wired), wirelessly, or through 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 block, component, or circuit, for example. A module may be an integrated part or a minimum unit of the parts or a part thereof that performs one or more functions. For example, according to one 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 are one or more instructions stored in a storage medium (e.g., built-in
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory (CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, methods according to various embodiments disclosed in this document may be included and provided in a computer program product. Computer program products are commodities and can be traded between sellers and buyers. The computer program product may be distributed in the form of a machine-readable storage medium (e.g. compact disc read only memory (CD-ROM)) or through an application store (e.g. Play StoreTM) or on two user devices (e.g. It can be distributed (e.g. downloaded or uploaded) directly between smartphones) or online. In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, module or program) of the above-described components may include a single entity or a plurality of entities. According to various embodiments, one or more of the components or operations described above may be omitted, or one or more other components or operations may be added. Alternatively or additionally, multiple components (eg, modules or programs) may be integrated into a single 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 manner as those performed by the corresponding component of the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, or omitted. Alternatively, one or more other operations may be added.
도 2는 다양한 실시예에 따른 전자 장치, 액세스 포인트 장치 및 시간 정보의 결정을 위해 전자 장치와 연결될 수 있는 복수의 서버 장치를 도시한 것이다.FIG. 2 illustrates an electronic device, an access point device, and a plurality of server devices that can be connected to the electronic device to determine time information, according to various embodiments.
전자 장치(200)는 스마트폰, 태블릿 PC 등 다양한 휴대용 전자 장치로 구현될 수 있다. 전자 장치(200)는 무선 통신 회로(예: 도 1의 무선 통신 모듈(192))을 이용하여 무선 랜(또는 Wi-Fi, wireless fidelity) 통신을 지원할 수 있으며, 액세스 포인트 장치(260)와 무선으로 연결되어 다양한 외부 장치와 데이터 통신을 수행할 수 있다.The
액세스 포인트(access point) 장치(260)는 전자 장치(200)를 포함하는 다양한 장치들에 무선랜 서비스를 제공하며, 유선 또는 무선으로 다른 네트워크와 연결되어, 전자 장치(200)에서 송/수신 되는 데이터를 제공할 수 있다. 액세스 포인트 장치(260)는 식별 정보를 가지며, 식별 정보는 BSSID(basic service set identifier)를 포함할 수 있다.The
NTP 서버(270)는 NTP(network time protocol)에 기반하여 전자 장치(200)에 표준 시간을 제공할 수 있다. NTP는 네트워크 상에 분산된 여러 장치들의 시간을 동기화 하기 위한 프로토콜로써, 전자 장치(200)가 액세스 포인트 장치(260)를 통해 네트워크에 접속 시 정해진 NTP 서버(270)로부터 표준 시간을 제공 받을 수 있다. 표준 시간은 협정 세계 시(UTC, coordinated universal time) 또는 그리니치 기준 표준시간(GMT, Greenwich mean time)일 수 있다.The
위치 서비스 서버(280)는 전자 장치(200)에 지오코딩(geocoding) 서비스를 제공할 수 있다. 예를 들어, 위치 서비스 서버(280)는 전자 장치(200)로부터 위경도(latitude and longitude) 정보를 수신하는 경우, 위경도에 대응하는 주소(address) 정보를 제공하거나, 전자 장치(200)로부터 주소 정보를 수신하는 경우, 주소에 대응하는 위경도 정보를 제공할 수 있다. 주소 정보는 전자 장치(200)의 국가 정보 및 행정 구역 정보를 포함할 수 있으며, 행정 구역 정보는 국가 별로 정해진 state, 시/도 등을 포함할 수 있다.The
타임 존 서비스 서버(290)는 전자 장치(200)로부터 위치 정보(예: 위경도 정보, 주소 정보)를 수신하고, 위치 정보에 대응하는 타임 존 정보를 제공할 수 있다. 타임 존 정보는 현재 위치에서 실제 사용되는 타임 존에 대한 정보일 수 있다. 타임 존 서비스 서버(290)는 전 세계의 지도 데이터와 각 위치 별 타임 존 정보의 데이터베이스를 구축하고, 서비스를 요청하는 전자 장치(200)에 위치 정보에 대응하는 타임 존 정보를 제공할 수 있다.The time
타임 존(time zone)은 일반적으로 경도에 따라 구분되나, 국가 및 지역 경계에 따라서 경도와 일치하지 않는 경우가 많다. 또한, 국가 별로 하나의 타임 존을 사용하는 경우도 있고, 하나의 국가에서 복수의 타임 존을 사용하는 경우도 있다.Time zones are generally classified according to longitude, but often do not correspond to longitude depending on country and regional boundaries. Additionally, there are cases where one time zone is used per country, and there are cases where one country uses multiple time zones.
전자 장치(200)가 현재 위치에서의 현재 시간을 획득하기 위해서는 표준 시간 및 타임 존 정보를 획득할 필요가 있다. 예를 들어, 현재 표준 시간이 09:00 이고, 현재 위치의 타임 존이 GMT+9인 경우, 현재 시간을 18:00으로 설정할 수 있다. In order for the
일 실시예에 따르면, 전자 장치(200)는 셀룰러 통신을 지원할 수도 있다. 예를 들어, 셀룰러 통신은 LTE, LTE-A, CDMA, WCDMA, UMTS, WiBro, GSM 등 이동통신 사업자를 통하는 다양한 이동통신 방식을 포함할 수 있다.According to one embodiment, the
전자 장치(200)가 셀룰러 통신을 통해 기지국과 연결되는 경우에는 NITZ(network identity and time zone)를 통해 셀룰러 네트워크 정보와 함께 표준 시간(UTC 또는 GMT)과 현 위치의 타임 존 정보를 획득할 수 있다. 즉, 전자 장치(200)가 셀룰러 네트워크에 접속 가능한 경우에는 셀룰러 네트워크로부터 타임 존 정보를 받아 현재 시간을 설정할 수 있다.When the
하지만, 전자 장치(200)가 셀룰러 통신을 지원하지 않는 경우, 또는 셀룰러 통신 모듈을 구비하더라도 비행기 모드 설정 상태 또는 음영 지역에 위치하여 셀룰러 통신을 수행할 수 없는 상태에서는 상기와 같이 셀룰러 네트워크로부터 타임 존 정보를 획득하는 것이 불가능 하다.However, if the
전자 장치(200)가 셀룰러 네트워크를 지원하지 않더라도, 타임 존 서비스 서버(290)를 이용하는 경우, 쉽게 현재 위치의 타임 존 정보를 획득할 수 있다. 하지만, 타임 존 서비스 서버(290)는 3rd party에 의해 운영되어 그 비용이 소요되고, 처리 시간도 길 수 있다. 또한, 타임 존 서비스 서버(290)의 데이터베이스는 지도 데이터와 각 위치 별 타임 존 정보를 포함하는 방대한 양의 데이터를 포함하기 때문에, 전자 장치(200)의 메모리 상에 구축하는 것은 어렵다.Even if the
이하에서는, 전자 장치(200)가 셀룰러 통신 모듈을 포함하지 않는 경우, 또는 셀룰러 네트워크에 접속할 수 없는 경우에 타임 존 서비스 서버(290)에 대한 의존도를 최소화 하여, 타임 존 정보를 획득할 수 있는 다양한 실시예들에 대해 설명하기로 한다.Hereinafter, in the case where the
도 3은 다양한 실시예에 따른 전자 장치의 블록도이다.3 is a block diagram of an electronic device according to various embodiments.
도 3을 참조 하면, 전자 장치(300)는 디스플레이(320), GPS 센서(330), 무선 통신 회로(310), 프로세서(340) 및 메모리(350)를 포함할 수 있으며, 도시된 구성 중 적어도 일부가 생략 또는 치환되더라도 본 문서의 다양한 실시예들을 구현함에는 지장이 없을 것이다. 전자 장치(300)는 도 1의 전자 장치(101) 및/또는 도 2의 전자 장치(200)의 구성 및/또는 기능 중 적어도 일부를 포함할 수 있다.Referring to FIG. 3, the
다양한 실시예에 따르면, 디스플레이(320)는 영상을 표시하며, 액정 디스플레이(liquid crystal display(LCD)), 유기 발광 다이오드(organic light-emitting diode(OLED)) 디스플레이 등 다양한 방식 중 하나로 구현될 수 있다. 디스플레이(320)는 도 1의 표시 장치(160)의 구성 및/또는 기능 중 적어도 일부를 포함할 수 있다. 디스플레이(320)는 전자 장치(300)의 하우징의 일부(예: 전면)를 통해 외부로 노출될 수 있다. 다양한 실시예에 따르면, 전자 장치(300)는 타임 존 설정을 위한 다양한 그래픽 유저 인터페이스를 디스플레이(320) 상에 표시할 수 있다.According to various embodiments, the
다양한 실시예에 따르면, GPS(global positioning system) 센서(330)는 GPS 위성 신호를 수신하고, 그로부터 공지의 위치 측량 기법을 이용해 전자 장치(300)의 위치를 결정할 수 있다. GPS 센서(330)에서 획득되는 위치 정보는 위경도(latitude and longitude) 정보를 포함할 수 있다.According to various embodiments, the global positioning system (GPS)
다양한 실시예에 따르면, 무선 통신 회로(310)는 액세스 포인트 장치(예: 도 2의 액세스 포인트 장치(260))와의 무선랜 통신(또는 Wi-Fi(wireless fidelity))을 지원할 수 있다. 무선 통신 회로(310)는 무선랜 통신을 통해 액세스 포인트 장치와 데이터를 송/수신하기 위한 안테나 및 적어도 하나의 프로세서(예: communication processor)를 포함할 수 있다.According to various embodiments, the
액세스 포인트 장치는 도 2의 액세스 포인트 장치(260)일 수 있다. 액세스 포인트 장치는 이더넷 케이블을 통해 네트워크와 연결되고, 무선 통신 회로(310)로부터 전송된 데이터를 네트워크를 통해 다른 장치에 제공할 수 있다. 액세스 포인트 장치는 식별 정보를 가지며, 식별 정보는 BSSID(basic service set identifier)를 포함할 수 있으나, 액세스 포인트 장치의 MAC address 등 다른 식별 정보를 포함할 수도 있다. The access point device may be
다양한 실시예에 따르면, 프로세서(340)는 전자 장치(300)의 각 구성요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 수행할 수 있는 구성으로써, 도 1의 프로세서(120)의 구성 중 적어도 일부를 포함할 수 있다. 프로세서(340)는 디스플레이(320), GPS 센서(330), 무선 통신 회로(310) 및 메모리(350) 등 전자 장치(300)의 내부 구성요소와 작동적(operatively), 전기적(electrically) 및/또는 기능적(functionally)으로 연결될 수 있다. According to various embodiments, the
다양한 실시예에 따르면, 메모리(350)는 한정되지 않은 디지털 데이터들을 일시적 또는 영구적으로 저장하기 위한 것으로써, 도 1의 메모리(130)의 구성 중 적어도 일부를 포함할 수 있다. 메모리(350)는 휘발성 메모리 및 비휘발성 메모리를 포함할 수 있다. 메모리(350)는 프로세서(340)에서 수행될 수 있는 다양한 인스트럭션(instruction)들을 저장할 수 있다. 이와 같은 인스트럭션들은 프로세서(340)에 의해 인식될 수 있는 산술 및 논리 연산, 데이터 이동, 입출력 등의 제어 명령을 포함할 수 있다. 또한, 메모리(350)는 도 1의 프로그램(140) 중 적어도 일부를 저장할 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 프로세서(340)가 전자 장치(300) 내에서 구현할 수 있는 연산 및 데이터 처리 기능에는 한정됨이 없을 것이나, 본 명세서에서는 전자 장치(300)의 현재 위치 정보를 획득하고, 이에 기반하여 타임 존 정보를 확인하고, 현재 위치 정보에 대응하는 시간 정보를 결정하기 위한 다양한 실시예들에 대해 설명하기로 한다. 후술할 프로세서(340)의 동작들은 앞서 설명한 메모리(350)에 저장된 인스트럭션들을 로딩(loading)함으로써 수행될 수 있다.According to various embodiments, there will be no limitation to the calculation and data processing functions that the
다양한 실시예에 따르면, 메모리(350)는 위치 정보와 타임 존 정보를 맵핑하는 제1데이터베이스를 저장할 수 있다. 여기서, 위치 정보는 국가 정보 및 행정 구역 정보를 포함할 수 있는데, 국가 정보는 ISO 3166-1 표준국가코드를 포함하고, 행정 구역 정보는 각 국가 별로 정해진 state, 시/도 등의 정보를 포함할 수 있다. 또한, 타임 존 정보는 동일한 타임 존으로 결정된 지역 중 대표 지역의 명칭을 포함할 수 있고, 표준 시간(UTC 또는 GMT)와의 차이(예: +9)를 포함할 수 있다. 예를 들어, 타임 존 정보는 America/Chicago, America/Anchorage와 같이 정의될 수 있고, 특정 도시 Alabama에 위치하는 경우 America/Chicago가 할당되고, Alaska에 위치하는 경우 America/Anchorage가 할당될 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 타임 존 정보는 각 타임 존(예: +9, +10 등)에 대해 1대1로 맵핑되는 것은 아니고, 동일한 타임 존 및 DST(daylight saving time) 여부에 대해 복수의 타임 존 정보가 존재할 수도 있다.According to various embodiments, time zone information is not mapped one-to-one for each time zone (e.g. +9, +10, etc.), but is mapped to multiple times for the same time zone and whether or not it is daylight saving time (DST). Zone information may also exist.
다양한 실시예에 따르면, 제1데이터베이스는 전자 장치(300)의 제조 과정에서 메모리(350) 상에 저장된 정보일 수 있다. 이에 따라, 제1데이터베이스는 별도의 업데이트를 위한 조작이 없는 한 변경되지 않을 수 있다.According to various embodiments, the first database may be information stored on the
다양한 실시예에 따르면, 메모리(350)는 액세스 포인트 장치의 식별 정보와 타임 존 정보를 맵핑한 제2데이터베이스를 포함할 수 있다. 여기서, 액세스 포인트 장치의 식별 정보는 BSSID(basic service set identifier)를 포함할 수 있다. 다양한 실시예에 따르면, 제2데이터베이스는 액세스 포인트 장치의 위치 정보(예: 위경도, 주소 정보)를 저장할 수 있다.According to various embodiments, the
제2데이터베이스에 저장된 데이터의 예는 다음과 같다.Examples of data stored in the second database are as follows.
액세스 포인트 장치는 고정된 위치에 배치되는 것이 일반적이고, 무선랜 통신이 지원하는 거리가 수백 미터 이내로 짧기 때문에, 액세스 포인트 장치의 커버리지 내에서는 동일한 타임 존을 가지는 것이 일반적이다. 따라서, 액세스 포인트 장치의 위치의 타임 존 정보를 확인하는 경우, 해당 액세스 포인트 장치에 접속된 전자 장치(300)의 타임 존 정보도 확인할 수 있다.Since access point devices are generally placed in fixed locations and the distance supported by wireless LAN communication is short, within a few hundred meters, it is common to have the same time zone within the coverage of the access point devices. Accordingly, when checking the time zone information of the location of the access point device, time zone information of the
다양한 실시예에 따르면, 제2데이터베이스는 전자 장치(300)가 타임 존 정보를 획득 시 업데이트 될 수 있다. 예를 들어, 전자 장치(300)가 특정 액세스 포인트에 접속된 상태에서, 제1데이터베이스 또는 후술할 타임 존 서비스 서버를 이용해 현재 위치의 타임 존 정보를 획득하는 경우, 제2데이터베이스에 접속된 액세스 포인트의 식별 정보와 획득한 타임 존 정보를 맵핑하여 저장할 수 있다. 또는, 제2데이터베이스는 다른 전자 장치(300)에서 동일한 방법으로 업데이트 된 내용을 수신하는 경우, 그에 따라 업데이트 될 수도 있다.According to various embodiments, the second database may be updated when the
다양한 실시예에 따르면, 메모리(350)는 복수의 국가 정보 및 각각의 국가 정보와 타임 존 정보의 개수 및 디폴트 타임 존 정보를 맵핑하여 저장하는 제3데이터베이스를 저장할 수 있다. 여기서, 제3데이터베이스는 xml과 같은 범용 언어로 생성된 하나의 파일(예: tzlookup.xml)일 수도 있다.According to various embodiments, the
예를 들어, 특정 국가에서 하나의 타임 존만 사용하는 경우(예: 대한민국) 타임 존 정보는 1개, 디폴트 타임 존 정보는 해당 국가의 타임 존 정보가 저장될 수 있다. 이와 달리 복수의 타임 존을 사용하는 국가의 경우(예: America) 타임 존 정보는 복수 개, 디폴트 타임 존 정보는 해당 국가에서 사용하는 타임 존 중 어느 하나가 저장될 수 있다.For example, if a specific country uses only one time zone (e.g., Korea), only one time zone information may be stored, and the default time zone information may be the time zone information of that country. On the other hand, in the case of a country that uses multiple time zones (e.g., America), multiple time zone information may be stored, and any one of the time zones used in the country may be stored as default time zone information.
다양한 실시예에 따르면, 프로세서(340)는 타임 존 설정을 위한 이벤트가 발생하는 경우, 전자 장치(300)의 현재 위치 정보를 획득할 수 있다. 여기서, 타임 존 설정을 위한 이벤트는 무선 통신 회로(310)를 통해 액세스 포인트 장치에 접속되는 경우 발생할 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 전자 장치(300)가 셀룰러 통신을 지원하고, 현재 셀룰러 네트워크에 접속된 경우에는 타임 존 설정을 위한 이벤트는 발생하지 않을 수 있다. 즉, 전자 장치(300)가 셀룰러 네트워크에 접속된 경우에는 후술할 타임 존 정보를 획득하는 방법들은 수행하지 않고, NITZ(network identity and time zone)를 통해 셀룰러 네트워크 정보와 함께 표준 시간(UTC 또는 GMT)과 현 위치의 타임 존 정보를 획득하여 이로부터 현재 시간을 설정할 수 있다.According to various embodiments, if the
다양한 실시예에 따르면, 전자 장치(300)는 GPS 센서(330)를 이용하여 현재 위치 정보(예: 위경도)를 획득할 수 있다. 또는 전자 장치(300)는 액세스 포인트 장치의 위치 정보에 기반하여 전자 장치(300)에 위치 정보를 제공하는 NLP(network location provider)로부터 전자 장치(300)의 위치 정보를 확인할 수 있다.According to various embodiments, the
프로세서(340)는 위경도 정보를 획득하는 경우, 위경도 정보를 위치 서비스 서버(예: 도 2의 위치 서비스 서버(280))로 전송하고 위치 서비스 서버로부터 위경도에 대응하는 주소 정보를 획득할 수 있다. 여기서, 주소 정보는 국가 정보 및 행정 구역 정보를 포함할 수 있다.When acquiring latitude and longitude information, the
다양한 실시예에 따르면, 프로세서(340)는 메모리(350)에 저장된 제1데이터베이스 및/또는 제2데이터베이스로부터 현재 위치 정보에 대응하는 타임 존 정보를 확인할 수 있다. 다양한 실시예에 따르면, 프로세서(340)는 제1데이터베이스 및/또는 제2데이터베이스로부터 타임 존 정보가 확인되는 경우, 확인된 타임 존 정보를 이용해서 현재 위치 정보에 대응하는 시간 정보를 결정할 수 있다. 다양한 실시예에 따르면, 프로세서(340)는 제1데이터베이스 및/또는 제2데이터베이스로부터 타임 존 정보가 확인되지 않는 경우, 무선 통신 회로(310)를 통해 외부의 타임 존 서비스 서버에 타임 존 정보를 요청하여 타임 존 서비스 서버로부터 현재 위치 정보에 대응하는 타임 존 정보를 획득할 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 프로세서(340)는 위치 정보가 획득되는 경우, 제3데이터베이스에서 현재 위치 정보(예: 국가 정보)에 대응하는 타임 존 정보의 개수 및 디폴트 타임 존 정보를 확인할 수 있다. 앞서 설명한 바와 같이, 국가 별로 하나의 타임 존을 사용하거나 복수의 타임 존을 사용할 수 있으며, 제3데이터베이스(또는 파일)는 복수의 국가 정보 및 각각의 국가 정보와 타임 존 정보의 개수 및 디폴트 타임 존 정보를 맵핑하여 저장할 수 있다.According to various embodiments, when location information is acquired, the
다양한 실시예에 따르면, 프로세서(340)는 현재 위치한 국가가 하나의 타임 존 정보와 맵핑된 경우(예: 대한민국), 획득된 디폴트 타임 존 정보를 이용하여 현재 시간을 설정할 수 있다. 프로세서(340)는 무선 통신 회로(310)를 통해 NTP(network time protocol)에 기반하여 획득된 표준 시간에 획득된 타임 존 정보의 시간을 더하여 현재 위치에 대응하는 시간 정보를 결정할 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 프로세서(340)는 현재 위치한 국가가 복수의 타임 존 정보와 맵핑된 경우(예: America), 현재 위치 정보의 국가 정보 및 행정 구역 정보와 맵핑되는 타임 존 정보를 제1데이터베이스에서 확인할 수 있다. 앞서 설명한 바와 같이, 제1데이터베이스는 전자 장치(300)의 제조 과정에서 메모리(350) 상에 저장된 정보로써, 국가/행정 구역 별로 타임 존 정보를 맵핑하여 저장할 수 있다. According to various embodiments, when the country where the current location is mapped with a plurality of time zone information (e.g., America), the
다양한 실시예에 따르면, 프로세서(340)는 제1데이터베이스에서 국가 정보 및 행정 구역 정보와 맵핑되는 타임 존 정보가 확인되지 않는 경우, 무선 통신 회로(310)를 통해 연결된 액세스 포인트 장치의 식별 정보를 이용해 타임 존 정보를 확인할 수 있다. 프로세서(340)는 연결된 액세스 포인트 장치의 식별 정보를 제2데이터베이스에서 확인하고, 제2데이터베이스에서 액세스 포인트 장치의 식별 정보가 확인되는 경우, 액세스 포인트 장치의 식별 정보와 맵핑 된 타임 존 정보를 이용하여 현재 위치 정보에 대응하는 시간 정보를 결정할 수 있다.According to various embodiments, when time zone information mapped to country information and administrative district information is not confirmed in the first database, the
액세스 포인트 장치는 고정된 위치에 배치되는 것이 일반적이고, 무선랜 통신이 지원하는 거리가 수백 미터 이내로 짧기 때문에, 전자 장치(300)는 액세스 포인트 장치의 타임 존 정보와 동일한 타임 존 정보를 갖는 것으로 결정할 수 있다.Since the access point device is generally placed in a fixed location and the distance supported by wireless LAN communication is short, within a few hundred meters, the
다양한 실시예에 따르면, 프로세서(340)는 제2데이터베이스에서 현재 연결된 액세스 포인트 장치의 식별 정보가 확인되는 경우, 제2데이터베이스에 저장된 액세스 포인트 장치의 위치와 GPS 센서(330) 등을 이용하여 획득한 현재 위치의 차이가 제1기준 거리(예: 50km) 이내인 지 확인할 수 있다. 상기 차이가 제1기준 거리이내인 경우, 액세스 포인트 장치의 위치가 장거리 이동되지 않은 것이므로, 제2데이터베이스에서 해당 액세스 포인트 장치에 맵핑된 타임 존 정보를 이용하여 시간 정보를 결정할 수 있다. 다양한 실시예에 따르면, 상기 차이가 제1기준 거리 이상, 즉, 액세스 포인트 장치의 위치가 장거리 이동된 것으로 확인되는 경우, 후술하는 대로 제2데이터베이스에서 전자 장치(300)의 현재 위치와 가장 가까운 액세스 포인트 장치를 확인하는 과정을 수행할 수 있다.다양한 실시예에 따르면, 프로세서(340)는 제2데이터베이스의 확인 결과, 제2데이터베이스에서 현재 연결된 액세스 포인트 장치의 식별 정보가 확인되지 않는 경우, 무선 통신 회로(310)와 연결된 적 있는 또는 검색된 적 있는 액세스 포인트 장치의 리스트에서 적어도 하나의 액세스 포인트 장치의 식별 정보를 확인할 수 있다. 예를 들어, 프로세서(340)는 무선랜 연결이 트리거 되면, 인접하는 액세스 포인트 장치들의 식별 정보(예: BSSID)를 획득하고, 이를 메모리(350)에 저장할 수 있다. 이 때, 프로세서(340)는 액세스 포인트 장치의 위치 정보를 제공하는 NLP(network location provider) 서버로부터 획득한 위치 정보에 기초하여, 각 액세스 포인트 장치의 위치 정보를 같이 저장할 수 있다. 프로세서(340)는 이전의 검색 과정을 통해 메모리(350)에 저장된 액세스 포인트 장치의 식별 정보의 리스트에서 가장 최근에 연결된 또는 가장 최근에 검색된 적어도 하나의 액세스 포인트 장치의 위치 정보를 확인할 수 있다.According to various embodiments, when the identification information of the currently connected access point device is confirmed in the second database, the
프로세서(340)는 가장 최근에 연결된(또는 검색된) 액세스 포인트 장치의 위치 정보를 확인하고, 현재 위치와의 거리가 제1기준 거리(예: 50km) 이내인 지 확인할 수 있다. 확인 결과, 제1기준 거리 이내인 경우, 제2데이터베이스에서 상기 가장 최근에 연결된 또는 검색된 액세스 포인트 장치의 식별 정보와 맵핑되는 타임 존 정보를 이용하여 현재 위치 정보에 대응하는 시간 정보를 결정할 수 있다. 이는 이전에 연결된 액세스 포인트 장치를 이용하여 타임 존 정보를 확인 한 후 현재 이동 거리가 크지 않기 때문에, 동일한 타임 존에 있을 것으로 예상됨을 고려한 것이다.The
다양한 실시예에 따르면, 프로세서(340)는 가장 최근에 연결된 액세스 포인트 장치와 전자 장치(300)의 현재 위치의 거리가 제1기준 거리보다 큰 경우, 제2데이터베이스에서 전자 장치(300)의 현재 위치와 가장 가까운 액세스 포인트 장치를 확인할 수 있다.According to various embodiments, when the distance between the most recently connected access point device and the current location of the
프로세서(340)는 확인된 가장 가까운 액세스 포인트 장치와의 거리가 제2기준 거리(예: 50km) 이내인 경우, 확인된 가장 가까운 액세스 포인트 장치의 식별 정보와 맵핑 된 타임 존 정보를 이용하여 현재 위치 정보에 대응하는 시간 정보를 결정할 수 있다.If the distance to the confirmed nearest access point device is within the second standard distance (e.g., 50 km), the
다양한 실시예에 따르면, 프로세서(340)는 제2데이터베이스에 포함된 액세스 포인트 장치 중 상기 전자 장치(300)의 현재 위치로부터 제2기준 거리 이내에 위치하는 액세스 포인트 장치가 없는 경우, 무선 통신 회로(310)를 통해 타임 존 서비스 서버에 타임 존 정보를 요청하여, 타임 존 정보를 획득할 수 있다.According to various embodiments, the
즉, 전자 장치(300)는 메모리(350)에 저장된 제1데이터베이스 및 제2데이터베이스를 이용하여 현재 위치의 타임 존을 확인할 수 없는 경우에, 타임 존 서비스 서버(예: 도 2의 타임 존 서비스 서버(290))에 타임 존 정보를 요청할 수 있다.That is, when the
이상에서는, 프로세서(340)가 타임 존 정보를 획득하는 다양한 방법에 대해 설명 하였으며, 예를 들어, 제1데이터베이스를 통해 타임 존 정보가 획득되지 않는 경우, 제2데이터베이스를 통해 타임 존 정보를 획득하고, 제2데이터베이스를 통해 타임 존 정보가 획득되지 않는 경우, 타임 존 서비스 서버를 통해 타임 존 정보를 획득하는 것으로 설명 하였다. 하지만, 본 문서의 다양한 실시예들은 이에 한정되지 않으며, 어느 하나의 방법으로 타임 존 정보가 획득되지 않음을 조건으로 다른 방법을 이용할 필요는 없다. 예를 들어, 프로세서(340)는 제1데이터베이스를 사용하지 않고, 제2데이터베이스에 의존해서만 타임 존 정보를 획득할 수 있다. 또는, 프로세서(340)는 제1데이터베이스에서 타임 존 정보가 획득되지 않는 경우, 현재 연결된 액세스 포인트 장치의 식별 정보를 확인하는 과정 없이 바로 연결된 또는 검색된 액세스 포인트 장치의 리스트에서 제2데이터베이스에 속한 적어도 하나의 액세스 포인트 장치를 확인하고, 이 중 가장 가까운 액세스 포인트 장치의 식별 정보와 맵핑된 타임 존 정보를 이용하여 현재 위치에 대응하는 타임 존 정보를 결정할 수 있다.In the above, various methods for the
도 4는 다양한 실시예에 따른 타임 존 설정을 위한 소프트웨어 아키텍쳐를 도시한 것이다.Figure 4 illustrates a software architecture for setting a time zone according to various embodiments.
도 4를 참조 하면, 전자 장치(400)는 타임 존 솔루션 모듈(410), 로케이션 모듈(420), 알람 매니저(460), NTP 모듈(440), 타임 존 데이터베이스(430) 및 무선랜 모듈(450)을 포함할 수 있다. 도시된 소프트웨어 모듈들은 메모리(예: 도 3의 메모리(350))에 저장될 수 있고, 프로세서(예: 도 3의 프로세서(340))에 의해 실행될 수 있다.Referring to FIG. 4, the
다양한 실시예에 따르면, 타임 존 솔루션 모듈(410)은 각각의 모듈들을 이용하여 현재의 타임 존 정보를 획득하고 제공하는 기능을 수행할 수 있다. 타임 존 솔루션 모듈(410)의 세부 구성에 대해서는 도 5를 통해 보다 상세히 설명하기로 한다.According to various embodiments, the time
다양한 실시예에 따르면, 무선랜 모듈(450)은 액세스 포인트 장치(예: 도 2의 액세스 포인트 장치(260))와의 무선랜 통신의 연결 상태 및 액세스 포인트 장치의 BSSID 등 연결 정보를 제공할 수 있다.According to various embodiments, the
다양한 실시예에 따르면, NTP(network time protocol) 모듈(440)은 외부의 NTP 서버(예: 도 2 NTP 서버(270))로부터 표준 시간(UTC 또는 GMT)을 제공 받을 수 있다.According to various embodiments, the network time protocol (NTP)
다양한 실시예에 따르면, 로케이션 모듈(420)은 GPS 모듈(422), NLP(network location provider) 모듈(423), 지오코더(geocoder)(424)를 이용하여 현재의 위치 정보(예: 위경도, 주소)를 획득할 수 있다. According to various embodiments, the
GPS 모듈(422)은 GPS 센서(예: 도 3의 GPS 센서(330))에서 수신하는 신호에 기초하여 현재 위치의 위경도 정보를 확인할 수 있다.The
NLP 모듈(423)은 액세스 포인트 장치의 위치 정보에 기반하여 전자 장치(400)에 위치 정보를 제공하는 NLP(network location provider) 서버로부터 전자 장치(400)의 위치 정보(예: 위경도)를 확인할 수 있다.The
지오코더(424)는 GPS 모듈(422) 또는 NLP 모듈(423)을 통해 획득한 위경도 정보를 주소 정보로 변환할 수 있다.The
다양한 실시예에 따르면, 타임 존 데이터베이스(430)는 ICU(international components for Unicode)에 기반하여 각 국가의 타임 존 정보를 제공할 수 있다. 예를 들어, 타임 존 데이터베이스는 각 타임 존 정보에 대해 표준 시간 기준 몇 시간이 차이나는지, DST(DST(daylight saving time)의 적용 여부/시기에 대한 정보를 저장할 수 있다. According to various embodiments, the
타임 존 데이터베이스(430)에 저장된 정보는 다음을 예로 들 수 있다.Examples of information stored in the
# KOREA, REPUBLIC OF# KOREA, REPUBLIC OF
countries:<countries:<
isoCode:"kr"isoCode:"kr"
timeZoneMappings:<timeZoneMappings:<
utcOffset:"9:00"utcOffset:"9:00"
id:"Asia/Seoul">id:"Asia/Seoul">
다양한 실시예에 따르면, 알람 매니저(460)는 타임 존 솔루션 모듈(410)로부터 획득한 타임 존 정보를 이용하여 현재의 시간을 설정할 수 있다. 알람 매니저(460)는 NTP 모듈(440)로부터 획득한 표준 시간 및 타임 존 정보를 이용하여 현재의 시간을 설정할 수 있다.According to various embodiments, the
도 5는 다양한 실시예에 따른 타임 존 솔루션 모듈의 세부 모듈을 도시한 것이다.Figure 5 illustrates detailed modules of a time zone solution module according to various embodiments.
도 5를 참조 하면, 타임 존 솔루션 모듈(510)은 타임 존 매니저(511), 타임 존 DB helper(512), 타임 존 지오코더(513), 타임 존 정책 모듈(514) 및 타임 존 HTTP helper(515)를 포함할 수 있다. Referring to Figure 5, the time
타임 존 솔루션 모듈(510)은 타임 존의 결정을 위해, 커넥티비티 매니저(540), 로케이션 매니저(520) 및 타임 존 파인더(530)의 정보를 획득할 수 있다. 타임 존 솔루션 모듈(510)은 도 4의 타임 존 솔루션 모듈(410)일 수 있다.The time
다양한 실시예에 따르면, 타임 존 매니저(time zone manager)(511)는 타임 존 솔루션 모듈(510)의 각 모듈에 기반하여 타임 존 정보를 획득하는 기능을 수행할 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 타임 존 DB helper(512)는 제2데이터베이스를 관리하는 기능을 수행할 수 있다. 제2데이터베이스는 액세스 포인트 장치의 식별 정보를 위치 정보(예: 위경도) 및 타임 존 정보와 맵핑하여 저장할 수 있다. 타임 존 DB helper(512)는 Sqlite3 기반으로 제2데이터베이스를 관리하며, 제2데이터베이스를 업데이트 할 수 있다.According to various embodiments, the time
다양한 실시예에 따르면, 타임 존 지오코더(time zone geocoder)(513)는 위치 서비스 서버(예: 도 2의 위치 서비스 서버(280))의 지오코더를 이용해 reverse geocoding을 진행하여 획득한 위경도 정보에 대응하는 주소 정보를 획득할 수 있다. According to various embodiments, the
다양한 실시예에 따르면, 타임 존 정책 모듈(timezone policy)(514)은 제1데이터베이스를 관리하는 기능을 수행할 수 있다. 제1데이터베이스는 위치 정보와 타임 존 정보를 맵핑하여 저장할 수 있다. 제1데이터베이스는 복수의 타임 존을 갖는 국가의 맵 정보를 세분화 하여 행정 구역(예: state) 별로 타임 존 정보를 저장할 수 있다.According to various embodiments, the time
다양한 실시예에 따르면, 타임 존 HTTP helper(515)는 타임 존 서비스 서버(예: 도 2의 타임 존 서비스 서버(290))에 위치 정보에 대응하는 타임 존 정보를 획득하는 기능을 수행할 수 있다.According to various embodiments, the time
다양한 실시예에 따르면, 커넥티비티 매니저(connectivity manager)(540)는 무선 통신 회로의 무선 랜 연결에 따른 데이터 통신의 사용 가부를 확인하여, 타임 존 매니저(511)에 전달할 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 로케이션 매니저(location manager)(520)는 전자 장치의 위치 정보를 획득하여 타임 존 매니저(511)에 전달할 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 타임 존 파인더(time zone finder)(530)는 복수의 국가 정보 및 각각의 국가 정보와 타임 존 정보의 개수 및 디폴트 타임 존 정보를 맵핑하여 저장하는 제3데이터베이스를 저장할 수 있다. 여기서, 제3데이터베이스는 하나의 파일(예: tzlookup.xml)로 구성될 수 있다.According to various embodiments, the
도 6은 다양한 실시예에 따른 타임 존 설정을 위한 플로우를 도시한 것이다.Figure 6 illustrates a flow for setting a time zone according to various embodiments.
도 6에 도시된 방법은 전자 장치의 프로세서(예: 도 3의 프로세서(340))에 의해 수행될 수 있다.The method shown in FIG. 6 may be performed by a processor (eg,
다양한 실시예에 따르면, 타임 존 매니저(611)는 무선 랜 연결에 따른 데이터 통신의 사용 가능 여부를 파악하기 위해 커넥티비티 매니저(640)에 callback을 등록할 수 있다. (a)According to various embodiments, the
다양한 실시예에 따르면, 커넥티비티 매니저(640)는 무선 통신 회로(예: 도 3의 무선 통신 회로(310))가 액세스 포인트 장치(예: 도 2의 액세스 포인트 장치(260))에 연결되어 있고, 데이터 통신이 가능하면, 타임 존 매니저(611)에 이에 대응하는 이벤트를 전달할 수 있다. (b)According to various embodiments, the
다양한 실시예에 따르면, 타임 존 매니저(611)는 상기 이벤트가 발생되는 경우, 전자 장치의 현재 위치 정보의 확보를 위해 로케이션 매니저(620)에 callback을 등록할 수 있다. (c) 타임 존 매니저(611)는 로케이션 매니저(620)로부터 전자 장치의 현재 위치 정보(예: 위경도 정보)를 획득할 수 있다.According to various embodiments, when the above event occurs, the
다양한 실시예에 따르면, 타임 존 매니저(611)는 로케이션 매니저(620)로부터 위치 정보가 획득되는 경우, 타임 존 지오코더를 통해 해당 위치의 국가 정보(예: ISO 3166-1 표준국가코드) 및 행정 구역 정보(예: state)를 확인할 수 있다. (d)According to various embodiments, when location information is acquired from the
다양한 실시예에 따르면, 타임 존 매니저(611)는 획득한 국가 정보를 타임 존 파인더(630)에 전달하여, 해당 국가에 맵핑 된 타임 존 정보의 개수 및 디폴트 타임 존 정보를 획득할 수 있다. (e) 타임 존 파인더(630)는 국가 별로 타임 존 정보의 개수 및 디폴트 타임 존 정보를 맵핑하여 저장한 제3데이터베이스(또는 tzlookup.xml 파일)에서 요청 받은 국가의 정보를 확인하여 타임 존 매니저(611)에 제공할 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 타임 존 매니저(611)는 타임 존 파인더(630)로부터 획득한 타임 존 정보의 개수에 따라, 현재 위치의 국가가 단일 타임 존을 사용하는 지 멀티 타임 존을 사용하는 지 확인할 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 타임 존 매니저(611)는 현재 위치의 국가가 단일 타임 존을 사용하는 경우, 타임 존 파인더(630)로부터 획득한 디폴트 타임 존 정보를 이용하여 현재 위치에서의 타임 존 정보로 결정할 수 있다.According to various embodiments, when the country of the current location uses a single time zone, the
다양한 실시예에 따르면, 타임 존 매니저(611)는 알람 매니저(예: 도 4의 알람 매니저(460))에 결정된 타임 존 정보를 제공하고, 알람 매니저는 상기 타임 존 정보 및 NTP 모듈로부터 획득한 표준 시간을 이용하여 현재의 시간을 설정할 수 있다.According to various embodiments, the
도 7은 다양한 실시예에 따른 타임 존 설정을 위한 플로우를 도시한 것이다.Figure 7 illustrates a flow for setting a time zone according to various embodiments.
도 7에 도시된 방법은 전자 장치의 프로세서(예: 도 3의 프로세서(340))에 의해 수행될 수 있으며, 도 6에서 현재 위치의 국가가 멀티 타임 존을 사용하는 경우에 수행될 수 있다.The method shown in FIG. 7 may be performed by a processor of an electronic device (e.g.,
다양한 실시예에 따르면, 타임 존 매니저(711)는 타임 존 지오코더(예: 도 6의 타임 존 지오코더(613))로부터 획득한 국가 정보 및 행정 구역 정보를 타임 존 정책 모듈(714)에 제공할 수 있다. 타임 존 정책 모듈(714)은 제1데이터베이스 상에서 수신한 국가 정보 및 행정 구역 정보에 맵핑 된 타임 존 정보가 있는지 확인할 수 있다. (a) 제1데이터베이스는 전자 장치의 제조 과정에서 메모리 상에 저장된 정보로써, 별도의 업데이트를 위한 조작이 없는 한 변경되지 않을 수 있다.According to various embodiments, the
다양한 실시예에 따르면, 타임 존 매니저(711)는 타임 존 정책 모듈로부터 타임 존 정보가 획득 되는 경우, 획득한 타임 존 정보를 알람 매니저(예: 도 4의 알람 매니저(460))에 전달하여 현재 시간을 결정할 수 있다.According to various embodiments, when time zone information is acquired from the time zone policy module, the
다양한 실시예에 따르면, 타임 존 매니저(711)는 타임 존 정책 모듈(714)로부터 타임 존 정보가 획득 되지 않는 경우, 타임 존 DB helper(712)를 이용해 타임 존 정보의 획득을 시도할 수 있다. (b) 타임 존 매니저(711)는 커넥티비티 매니저를 통해 현재 연결된 액세스 포인트 장치의 식별 정보를 확인하여 타임 존 DB helper(712)에 제공할 수 있다.According to various embodiments, when time zone information is not obtained from the time
다양한 실시예에 따르면, 타임 존 DB helper(712)는 제2데이터베이스 상에서 현재 연결된 액세스 포인트 장치의 식별 정보가 있는지 확인할 수 있다. 제2데이터베이스는 액세스 포인트 장치의 식별 정보와 타임 존 정보를 맵핑하여 저장할 수 있고, 타임 존 매니저(711)는 제1데이터베이스 또는 타임 존 서비스 서버를 이용해 타임 존 정보를 획득하는 경우, 제2데이터베이스에 접속된 액세스 포인트의 식별 정보와 획득한 타임 존 정보를 맵핑하여 저장할 수 있다.According to various embodiments, the time
다양한 실시예에 따르면, 타임 존 매니저(711)는 타임 존 DB helper(712)로부터 타임 존 정보가 획득 되는 경우, 획득한 타임 존 정보를 알람 매니저에 전달하여 현재 시간을 결정할 수 있다.According to various embodiments, when time zone information is obtained from the time
다양한 실시예에 따르면, 타임 존 매니저(711)는 타임 존 DB helper(712)로부터 타임 존 정보가 획득 되지 않는 경우, 전자 장치와 최근에 연결된 액세스 포인트 장치의 식별 정보를 확인할 수 있다. 타임 존 매니저(711)는 최근에 연결된 액세스 포인트 장치의 위치 정보를 확인하고, 현재 위치와의 거리가 제1기준 거리(예: 50km) 이내인 지 확인할 수 있다. 확인 결과, 제1기준 거리 이내인 경우, 제2데이터베이스에서 상기 가장 최근에 연결된 액세스 포인트 장치의 식별 정보와 맵핑되는 타임 존 정보를 이용하여 현재 위치 정보에 대응하는 시간 정보를 결정할 수 있다. (c) According to various embodiments, when time zone information is not obtained from the time
다양한 실시예에 따르면, 타임 존 매니저(711)는 가장 최근에 연결된 액세스 포인트 장치와 전자 장치의 현재 위치의 거리가 제1기준 거리보다 큰 경우, 제2데이터베이스에서 전자 장치의 현재 위치와 가장 가까운 액세스 포인트 장치를 확인할 수 있다.According to various embodiments, when the distance between the most recently connected access point device and the current location of the electronic device is greater than the first reference distance, the
타임 존 매니저(711)는 확인된 가장 가까운 액세스 포인트 장치와의 거리가 제2기준 거리(예: 50km) 이내인 경우, 확인된 가장 가까운 액세스 포인트 장치의 식별 정보와 맵핑 된 타임 존 정보를 이용하여 현재 위치 정보에 대응하는 시간 정보를 결정할 수 있다. (d) If the distance to the confirmed nearest access point device is within the second standard distance (e.g., 50 km), the
다양한 실시예에 따르면, 타임 존 매니저(711)는 제2데이터베이스에 포함된 액세스 포인트 장치 중 상기 전자 장치의 현재 위치로부터 제2기준 거리 이내에 위치하는 액세스 포인트 장치가 없는 경우, 타임 존 HTTP helper(715)를 이용해 타임 존 정보의 획득을 시도할 수 있다.According to various embodiments, when there is no access point device located within a second reference distance from the current location of the electronic device among the access point devices included in the second database, the
다양한 실시예에 따르면, 타임 존 HTTP helper(715)는 외부의 타임 존 서비스 서버(750)에 타임 존 정보를 요청하여, 타임 존 정보를 획득할 수 있다.According to various embodiments, the time
다양한 실시예에 따른 전자 장치는, 무선 랜(wireless LAN) 통신을 지원하는 무선 통신 회로; 메모리; 및 상기 무선 통신 회로 및 메모리와 작동적으로(operatively) 연결되는 프로세서를 포함하고, 상기 메모리는, 위치 정보와 타임 존 정보를 맵핑한 제1데이터베이스 및 무선랜 액세스 포인트(Access Point) 장치의 식별 정보와 타임 존 정보를 맵핑한 제2데이터베이스를 저장하고, 상기 프로세서는, 상기 전자 장치의 현재 위치 정보를 획득하고, 상기 메모리에 저장된 제1데이터베이스 및/또는 제2데이터베이스로부터 상기 현재 위치 정보에 대응하는 타임 존 정보를 확인하고, 상기 타임 존 정보가 확인되는 경우, 상기 확인된 타임 존 정보를 이용해서 상기 현재 위치 정보에 대응하는 시간 정보를 결정하고, 및 상기 타임 존 정보가 확인되지 않는 경우, 상기 무선 통신 회로를 통해 외부 서버에 타임 존 정보를 요청하도록 설정될 수 있다.An electronic device according to various embodiments includes a wireless communication circuit supporting wireless LAN communication; Memory; and a processor operatively connected to the wireless communication circuit and memory, wherein the memory includes a first database mapping location information and time zone information and identification information of a wireless LAN access point device. and store a second database mapping time zone information, and the processor obtains current location information of the electronic device and generates information corresponding to the current location information from the first database and/or second database stored in the memory. Check time zone information, and if the time zone information is confirmed, determine time information corresponding to the current location information using the confirmed time zone information, and if the time zone information is not confirmed, It can be set to request time zone information from an external server through a wireless communication circuit.
다양한 실시예에 따르면, 상기 위치 정보는 국가 정보 및 행정 구역 정보를 포함할 수 있다.According to various embodiments, the location information may include country information and administrative district information.
다양한 실시예에 따르면, 상기 메모리는, 복수의 국가 정보 및 각각의 국가 정보와 타임 존 정보의 개수 및 디폴트 타임 존 정보를 맵핑하여 저장하는 제3데이터베이스를 더 포함할 수 있다.According to various embodiments, the memory may further include a third database that maps and stores a plurality of country information, each country information, the number of time zone information, and default time zone information.
다양한 실시예에 따르면, 상기 프로세서는, 상기 제3데이터베이스에서, 상기 획득된 현재 위치 정보에 대응하는 타임 존 정보의 개수 및 디폴트 타임 존 정보를 확인하고, 상기 타임 존 정보의 개수가 하나인 경우, 상기 확인된 디폴트 타임 존 정보를 이용하여 상기 현재 위치 정보에 대응하는 시간 정보를 결정할 수 있다.According to various embodiments, the processor checks the number of time zone information and default time zone information corresponding to the acquired current location information in the third database, and if the number of time zone information is one, Time information corresponding to the current location information can be determined using the confirmed default time zone information.
다양한 실시예에 따르면, 상기 프로세서는, 상기 제3데이터베이스에서, 상기 획득된 현재 위치 정보에 대응하는 타임 존 정보의 개수를 확인하고, 상기 타임 존 정보의 개수가 2 이상인 경우, 상기 현재 위치 정보의 국가 정보 및 행정 구역 정보와 맵핑되는 타임 존 정보를 상기 제1데이터베이스에서 확인하고, 상기 제1데이터베이스에서 상기 맵핑되는 타임 존 정보가 확인되는 경우, 확인된 타임 존 정보를 이용하여 상기 현재 위치 정보에 대응하는 시간 정보를 결정하도록 설정될 수 있다.According to various embodiments, the processor checks the number of time zone information corresponding to the acquired current location information in the third database, and if the number of time zone information is 2 or more, the processor determines the number of time zone information corresponding to the acquired current location information. Time zone information mapped to country information and administrative district information is confirmed in the first database, and when the mapped time zone information is confirmed in the first database, the confirmed time zone information is used to enter the current location information. It can be set to determine corresponding time information.
다양한 실시예에 따르면, 상기 프로세서는, 상기 제1데이터베이스에서 상기 맵핑되는 타임 존 정보가 확인되지 않는 경우, 상기 무선 통신 회로를 통해 연결된 액세스 포인트 장치의 식별 정보를 상기 제2데이터베이스에서 확인하고, 상기 제2데이터베이스에서 상기 액세스 포인트 장치의 식별 정보가 확인되는 경우, 상기 액세스 포인트 장치의 식별 정보와 맵핑 된 타임 존 정보를 이용하여 상기 현재 위치 정보에 대응하는 시간 정보를 결정하도록 설정될 수 있다.According to various embodiments, if the mapped time zone information is not confirmed in the first database, the processor verifies identification information of the access point device connected through the wireless communication circuit in the second database, and When the identification information of the access point device is confirmed in the second database, time information corresponding to the current location information may be determined using the identification information of the access point device and the mapped time zone information.
다양한 실시예에 따르면, 상기 프로세서는, 상기 제2데이터베이스에서 상기 액세스 포인트 장치의 식별 정보가 확인되지 않는 경우, 상기 무선 통신 회로와 가장 최근에 연결된 액세스 포인트 장치의 식별 정보를 확인하고, 상기 가장 최근에 연결된 액세스 포인트 장치와 상기 전자 장치의 현재 위치의 거리가 제1기준 거리 이내인지 확인하고, 상기 제1기준 거리 이내인 경우, 상기 제2데이터베이스에서 상기 가장 최근에 연결된 액세스 포인트 장치의 식별 정보와 맵핑되는 타임 존 정보를 이용하여 상기 현재 위치 정보에 대응하는 시간 정보를 결정하도록 설정될 수 있다.According to various embodiments, if the identification information of the access point device is not confirmed in the second database, the processor verifies the identification information of the access point device most recently connected to the wireless communication circuit, and Check whether the distance between the access point device connected to the current location of the electronic device is within a first reference distance, and if it is within the first reference distance, identify the most recently connected access point device in the second database and It can be set to determine time information corresponding to the current location information using mapped time zone information.
다양한 실시예에 따르면, 상기 가장 최근에 연결된 액세스 포인트 장치와 상기 전자 장치의 현재 위치의 거리가 제1기준 거리보다 큰 경우, 상기 제2데이터베이스에서 상기 전자 장치의 현재 위치와 가장 가까운 하나의 액세스 포인트 장치를 확인하고, 상기 전자 장치의 현재 위치와 상기 가장 가까운 액세스 포인트 장치의 거리가 제2기준 거리 이내인 경우, 상기 확인된 가장 가까운 액세스 포인트 장치의 식별 정보와 맵핑된 타임 존 정보를 이용하여 상기 현재 위치 정보에 대응하는 시간 정보를 결정하도록 설정될 수 있다.According to various embodiments, when the distance between the most recently connected access point device and the current location of the electronic device is greater than the first reference distance, the one access point closest to the current location of the electronic device in the second database Check the device, and if the distance between the current location of the electronic device and the nearest access point device is within a second reference distance, the identification information of the confirmed nearest access point device and the mapped time zone information are used to determine the location of the electronic device. It may be set to determine time information corresponding to current location information.
다양한 실시예에 따르면, 상기 프로세서는, 상기 제2데이터베이스에 포함된 액세스 포인트 장치 중 상기 전자 장치의 현재 위치로부터 상기 제2기준 거리 이내에 위치하는 액세스 포인트 장치가 없는 경우, 상기 무선 통신 회로를 통해 외부 서버에 타임 존 정보를 요청하도록 설정될 수 있다.According to various embodiments, when there is no access point device located within the second reference distance from the current location of the electronic device among the access point devices included in the second database, the processor is configured to operate the external device through the wireless communication circuit. It can be set to request time zone information from the server.
다양한 실시예에 따르면, 상기 프로세서는, 상기 제1데이터베이스 또는 상기 외부 서버로부터 타임 존 정보를 획득하는 경우, 상기 무선 통신 회로와 연결된 액세스 포인트 장치의 식별 정보 및 획득된 타임 존 정보를 맵핑하여, 상기 제2데이터베이스를 업데이트 하도록 설정될 수 있다.According to various embodiments, when obtaining time zone information from the first database or the external server, the processor maps the identification information of the access point device connected to the wireless communication circuit and the obtained time zone information, It can be set to update the second database.
다양한 실시예에 따르면, 상기 제1데이터베이스는 상기 전자 장치의 현재 위치 정보를 획득하기 이전에 미리 저장될 수 있다.According to various embodiments, the first database may be stored in advance before obtaining current location information of the electronic device.
다양한 실시예에 따르면, 상기 프로세서는, 상기 무선 통신 회로를 통해 NTP(network time protocol)에 기반하여 획득된 표준 시간 정보 및 상기 획득된 타임 존 정보에 기초하여, 상기 현재 위치 정보에 대응하는 시간 정보를 결정하도록 설정될 수 있다.According to various embodiments, the processor provides time information corresponding to the current location information based on standard time information and the obtained time zone information obtained based on NTP (network time protocol) through the wireless communication circuit. can be set to determine.
도 8은 다양한 실시예에 따른 전자 장치의 타임 존 설정 방법의 흐름도이다.Figure 8 is a flowchart of a method for setting a time zone of an electronic device according to various embodiments.
도시된 방법은 도 1 내지 7을 통해 설명한 전자 장치에 의해 수행될 수 있으며, 이미 설명한 바 있는 기술적 특징에 대해서는 이하에서 그 설명을 생략하기로 한다.The illustrated method can be performed by the electronic device described with reference to FIGS. 1 to 7, and description of technical features that have already been described will be omitted below.
동작 810에서, 전자 장치(예: 도 3의 프로세서(330))는 현재 위치의 국가 정보 및 행정 구역 정보를 획득할 수 있다. 전자 장치는 현재 위치의 위경도 정보를 획득하고, 지오코더를 이용해 위경도 정보에 대응하는 국가 정보(예: ISO 3166-1 표준국가코드) 및 행정 구역 정보(예: state)를 확인할 수 있다. In
동작 820에서, 전자 장치는 메모리에 저장된 제1데이터베이스에 상기 획득된 국가 정보 및 행정 구역 정보와 맵핑되는 타임 존 정보를 확인할 수 있다. 제1데이터베이스는 국가 정보 및 행정 구역 정보와 타임 존 정보를 맵핑하여 저장하고, 전자 장치의 제조 과정에서 전자 장치의 메모리에 저장될 수 있다.In
동작 820의 확인 결과, 제1데이터베이스에서 타임 존 정보가 확인되는 경우, 동작 830에서, 제1데이터베이스의 정보를 이용하여 현재 위치의 타임 존 정보를 결정할 수 있다.If time zone information is confirmed in the first database as a result of
동작 820의 확인 결과, 제1데이터베이스에서 타임 존 정보가 확인되지 않는 경우, 동작 840에서, 전자 장치는 메모리에 저장된 제2데이터베이스에서 현재 전자 장치와 연결된 액세스 포인트 장치의 식별 정보를 확인할 수 있다. 제2데이터베이스는 액세스 포인트 장치의 식별 정보와 타임 존 정보를 맵핑하여 저장할 수 있다. 전자 장치는 특정 액세스 포인트에 접속된 상태에서, 제1데이터베이스 또는 타임 존 서비스 서버를 이용해 현재 위치의 타임 존 정보를 획득하는 경우, 제2데이터베이스에 접속된 액세스 포인트의 식별 정보와 획득한 타임 존 정보를 맵핑하여 업데이트 할 수 있다.If the time zone information is not confirmed in the first database as a result of
동작 840의 확인 결과, 제2데이터베이스에서 식별 정보가 확인되는 경우, 동작 850에서, 해당 액세스 포인트 장치의 위치와 현재 위치의 거리가 기준 거리 이내인 지 확인할 수 있다.If identification information is confirmed in the second database as a result of
동작 850의 확인 결과, 기준 거리 이내인 경우, 동작 860에서, 제2데이터베이스에서 현재 연결된 또는 검색된 액세스 포인트 장치의 식별 정보와 맵핑된 타임 존 정보를 획득할 수 있다. 전자 장치는 무선랜 통신이 개시되면 연결 가능한 액세스 포인트 장치를 검색하고, 그 식별 정보와 위치 정보를 메모리 상에 저장할 수 있다.As a result of the confirmation in
동작 850의 확인 결과, 기준 거리 이상인 경우, 후술할 동작 870을 진행하거나, 동작 870을 진행하지 않고, 동작 880의 타임 존 서비스 서버로부터 타임 존 정보를 획득할 수도 있다.As a result of checking in
동작 840의 확인 결과, 제2데이터베이스에서 현재 연결된 액세스 포인트 장치의 식별 정보가 제2데이터베이스에서 확인되지 않는 경우, 동작 870에서, 메모리에 저장된 리스트의 액세스 포인트 장치 중 현재 위치와의 거리가 제2기준 거리 이내인 액세스 포인트 장치가 존재하는 지 확인할 수 있다.As a result of the confirmation in
동작 870의 확인 결과, 제2기준 거리 이내인 액세스 포인트 장치가 존재하는 경우, 해당 액세스 포인트 장치에 맵핑된 타임 존 정보를 이용하여 타임 존 정보를 결정할 수 있다.As a result of checking
동작 870의 확인 결과, 제2기준 거리 이내인 액세스 포인트 장치가 존재하지 않는 경우, 외부의 타임 존 서비스 서버에 타임 존 정보를 요청하여, 타임 존 정보를 획득할 수 있다.As a result of checking
동작 830, 860 또는 880에서 현재 위치의 타임 존 정보를 획득하는 경우, 동작 890에서, 전자 장치는 표준 시간(예: UTC, GMT) 및 타임 존 정보를 이용하여 현재 위치에서의 시간 정보를 결정할 수 있다.If time zone information of the current location is obtained in
다양한 실시예에 따른, 전자 장치의 타임 존 설정 방법은, 상기 전자 장치의 현재 위치 정보를 획득하는 동작; 상기 전자 장치의 메모리에 저장된 제1데이터베이스 및/또는 제2데이터베이스로부터 상기 현재 위치 정보에 대응하는 타임 존 정보를 확인하는 동작; 상기 타임 존 정보가 확인되는 경우, 상기 확인된 타임 존 정보를 이용해서 상기 현재 위치 정보에 대응하는 시간 정보를 결정하는 동작; 및 상기 타임 존 정보가 확인되지 않는 경우, 상기 무선 통신 회로를 통해 외부 서버에 타임 존 정보를 요청하는 동작을 포함할 수 있다.According to various embodiments, a method for setting a time zone for an electronic device includes: acquiring current location information of the electronic device; Checking time zone information corresponding to the current location information from a first database and/or a second database stored in the memory of the electronic device; When the time zone information is confirmed, determining time information corresponding to the current location information using the confirmed time zone information; and when the time zone information is not confirmed, requesting time zone information from an external server through the wireless communication circuit.
다양한 실시예에 따르면, 상기 메모리는 복수의 국가 정보 및 각각의 국가 정보와 타임 존 정보의 개수 및 디폴트 타임 존 정보를 맵핑하여 저장하는 제3데이터베이스를 저장할 수 있다.According to various embodiments, the memory may store a plurality of country information and a third database that maps and stores each country information, the number of time zone information, and default time zone information.
다양한 실시예에 따르면, 상기 제1데이터베이스 및/또는 제2데이터베이스로부터 타임 존 정보를 확인하는 동작은, 상기 제3데이터베이스에서, 상기 획득된 현재 위치 정보에 대응하는 타임 존 정보의 개수 및 디폴트 타임 존 정보를 확인하는 동작을 포함하고, 상기 시간 정보를 결정하는 동작은, 상기 타임 존 정보의 개수가 하나인 경우, 상기 확인된 디폴트 타임 존 정보를 이용하여 상기 현재 위치 정보에 대응하는 시간 정보를 결정하는 동작을 포함할 수 있다.According to various embodiments, the operation of checking time zone information from the first database and/or the second database includes determining, in the third database, the number of time zone information corresponding to the acquired current location information and the default time zone. It includes an operation of checking information, and the operation of determining the time information includes determining time information corresponding to the current location information using the confirmed default time zone information when the number of time zone information is one. It may include actions such as:
다양한 실시예에 따르면, 상기 제1데이터베이스 및/또는 제2데이터베이스로부터 타임 존 정보를 확인하는 동작은, 상기 제3데이터베이스에서, 상기 획득된 현재 위치 정보에 대응하는 타임 존 정보의 개수를 확인하는 동작; 상기 타임 존 정보의 개수가 2 이상인 경우, 상기 현재 위치 정보의 국가 정보 및 행정 구역 정보와 맵핑되는 타임 존 정보를 상기 제1데이터베이스에서 확인하는 동작을 포함할 수 있다.According to various embodiments, the operation of checking time zone information from the first database and/or the second database includes the operation of checking the number of time zone information corresponding to the acquired current location information in the third database. ; If the number of time zone information is 2 or more, the method may include checking time zone information mapped with country information and administrative district information of the current location information in the first database.
다양한 실시예에 따르면, 상기 제1데이터베이스 및/또는 제2데이터베이스로부터 타임 존 정보를 확인하는 동작은, 상기 제1데이터베이스에서 상기 맵핑되는 타임 존 정보가 확인되지 않는 경우, 상기 무선 통신 회로를 통해 연결된 액세스 포인트 장치의 식별 정보를 상기 제2데이터베이스에서 확인하는 동작을 포함할 수 있다.According to various embodiments, the operation of checking time zone information from the first database and/or the second database may include, if the mapped time zone information is not confirmed in the first database, connected through the wireless communication circuit. It may include an operation of checking identification information of the access point device in the second database.
다양한 실시예에 따르면, 상기 제1데이터베이스 및/또는 제2데이터베이스로부터 타임 존 정보를 확인하는 동작은, 상기 제2데이터베이스에서 상기 액세스 포인트 장치의 식별 정보가 확인되지 않는 경우, 상기 무선 통신 회로와 가장 최근에 연결된 액세스 포인트 장치의 식별 정보를 확인하고, 상기 가장 최근에 연결된 액세스 포인트 장치와 상기 전자 장치의 현재 위치의 거리가 제1기준 거리 이내인지 확인하는 동작; 및 상기 제1기준 거리 이내인 경우, 상기 제2데이터베이스에서 상기 가장 최근에 연결된 액세스 포인트 장치의 식별 정보와 맵핑되는 타임 존 정보를 선택하는 동작을 포함할 수 있다.According to various embodiments, the operation of checking time zone information from the first database and/or the second database includes, when the identification information of the access point device is not confirmed in the second database, the wireless communication circuit and the Checking identification information of a recently connected access point device and determining whether the distance between the most recently connected access point device and the current location of the electronic device is within a first reference distance; and, if it is within the first reference distance, selecting time zone information mapped to identification information of the most recently connected access point device in the second database.
다양한 실시예에 따르면, 상기 제1데이터베이스 및/또는 제2데이터베이스로부터 타임 존 정보를 확인하는 동작은, 상기 가장 최근에 연결된 액세스 포인트 장치와 상기 전자 장치의 현재 위치의 거리가 제1기준 거리보다 큰 경우, 상기 제2데이터베이스에서 상기 전자 장치의 현재 위치와 가장 가까운 하나의 액세스 포인트 장치를 확인하는 동작; 및 상기 전자 장치의 현재 위치와 상기 가장 가까운 액세스 포인트 장치의 거리가 제2기준 거리 이내인 경우, 상기 확인된 가장 가까운 액세스 포인트 장치의 식별 정보와 맵핑된 타임 존 정보를 선택하는 동작을 포함할 수 있다.According to various embodiments, the operation of checking time zone information from the first database and/or the second database is performed when the distance between the most recently connected access point device and the current location of the electronic device is greater than the first reference distance. In this case, an operation of checking the one access point device closest to the current location of the electronic device in the second database; and when the distance between the current location of the electronic device and the closest access point device is within a second reference distance, selecting identification information and mapped time zone information of the confirmed closest access point device. there is.
다양한 실시예에 따르면, 상기 제2데이터베이스에 포함된 액세스 포인트 장치 중 상기 전자 장치의 현재 위치로부터 상기 제2기준 거리 이내에 위치하는 액세스 포인트 장치가 없는 경우, 상기 무선 통신 회로를 통해 외부 서버에 타임 존 정보를 요청하는 동작을 포함할 수 있다.According to various embodiments, when there is no access point device included in the second database that is located within the second reference distance from the current location of the electronic device, the time zone is sent to an external server through the wireless communication circuit. It may include actions that request information.
Claims (20)
무선 랜(wireless LAN) 통신을 지원하는 무선 통신 회로;
메모리; 및
상기 무선 통신 회로 및 메모리와 작동적으로(operatively) 연결되는 프로세서를 포함하고,
상기 메모리는,
위치 정보와 타임 존 정보를 맵핑한 제1데이터베이스 및 무선랜 액세스 포인트(Access Point) 장치의 식별 정보와 타임 존 정보를 맵핑한 제2데이터베이스를 저장하고,
상기 프로세서는,
상기 전자 장치의 현재 위치 정보를 획득하고,
상기 메모리에 저장된 제1데이터베이스 및/또는 제2데이터베이스로부터 상기 현재 위치 정보에 대응하는 타임 존 정보를 확인하고,
상기 타임 존 정보가 확인되는 경우, 상기 확인된 타임 존 정보를 이용해서 상기 현재 위치 정보에 대응하는 시간 정보를 결정하고,
상기 타임 존 정보가 확인되지 않는 경우, 상기 무선 통신 회로를 통해 외부 서버에 타임 존 정보를 요청하고, 및
상기 제1데이터베이스 또는 상기 외부 서버로부터 타임 존 정보를 획득하는 경우, 상기 무선 통신 회로와 연결된 액세스 포인트 장치의 식별 정보 및 획득된 타임 존 정보를 맵핑하여, 상기 제2데이터베이스를 업데이트 하도록 설정된 전자 장치.
In electronic devices,
A wireless communication circuit supporting wireless LAN communication;
Memory; and
a processor operatively coupled with the wireless communication circuitry and memory;
The memory is,
Stores a first database mapping location information and time zone information and a second database mapping identification information and time zone information of a wireless LAN access point device,
The processor,
Obtain current location information of the electronic device,
Check time zone information corresponding to the current location information from the first database and/or second database stored in the memory,
When the time zone information is confirmed, time information corresponding to the current location information is determined using the confirmed time zone information,
If the time zone information is not confirmed, request time zone information from an external server through the wireless communication circuit, and
An electronic device configured to update the second database by mapping the identification information of an access point device connected to the wireless communication circuit and the acquired time zone information when acquiring time zone information from the first database or the external server.
상기 위치 정보는 국가 정보 및 행정 구역 정보를 포함하는 전자 장치.
According to clause 1,
An electronic device in which the location information includes country information and administrative district information.
상기 메모리는,
복수의 국가 정보 및 각각의 국가 정보와 타임 존 정보의 개수 및 디폴트 타임 존 정보를 맵핑하여 저장하는 제3데이터베이스를 더 포함하는 전자 장치.
According to clause 1,
The memory is,
An electronic device further comprising a third database that maps and stores a plurality of country information, each country information, the number of time zone information, and default time zone information.
상기 프로세서는,
상기 제3데이터베이스에서, 상기 획득된 현재 위치 정보에 대응하는 타임 존 정보의 개수 및 디폴트 타임 존 정보를 확인하고,
상기 타임 존 정보의 개수가 하나인 경우, 상기 확인된 디폴트 타임 존 정보를 이용하여 상기 현재 위치 정보에 대응하는 시간 정보를 결정하는 전자 장치.
According to clause 3,
The processor,
In the third database, check the number of time zone information and default time zone information corresponding to the acquired current location information,
When the number of time zone information is one, an electronic device that determines time information corresponding to the current location information using the confirmed default time zone information.
상기 프로세서는,
상기 제3데이터베이스에서, 상기 획득된 현재 위치 정보에 대응하는 타임 존 정보의 개수를 확인하고,
상기 타임 존 정보의 개수가 2 이상인 경우,
상기 현재 위치 정보의 국가 정보 및 행정 구역 정보와 맵핑되는 타임 존 정보를 상기 제1데이터베이스에서 확인하고,
상기 제1데이터베이스에서 상기 맵핑되는 타임 존 정보가 확인되는 경우, 확인된 타임 존 정보를 이용하여 상기 현재 위치 정보에 대응하는 시간 정보를 결정하도록 설정된 전자 장치.
According to clause 3,
The processor,
In the third database, check the number of time zone information corresponding to the acquired current location information,
If the number of time zone information is 2 or more,
Check the time zone information mapped to the country information and administrative district information of the current location information in the first database,
When the mapped time zone information is confirmed in the first database, an electronic device configured to determine time information corresponding to the current location information using the confirmed time zone information.
상기 프로세서는,
상기 제1데이터베이스에서 상기 맵핑되는 타임 존 정보가 확인되지 않는 경우,
상기 무선 통신 회로를 통해 연결된 액세스 포인트 장치의 식별 정보를 상기 제2데이터베이스에서 확인하고,
상기 제2데이터베이스에서 상기 액세스 포인트 장치의 식별 정보가 확인되는 경우, 상기 액세스 포인트 장치의 식별 정보와 맵핑 된 타임 존 정보를 이용하여 상기 현재 위치 정보에 대응하는 시간 정보를 결정하도록 설정된 전자 장치.
According to clause 5,
The processor,
If the mapped time zone information is not confirmed in the first database,
Confirming identification information of the access point device connected through the wireless communication circuit in the second database,
When the identification information of the access point device is confirmed in the second database, the electronic device is configured to determine time information corresponding to the current location information using the identification information of the access point device and the mapped time zone information.
상기 프로세서는,
상기 제2데이터베이스에서 상기 액세스 포인트 장치의 식별 정보가 확인되지 않는 경우,
상기 무선 통신 회로와 가장 최근에 연결된 액세스 포인트 장치의 식별 정보를 확인하고, 상기 가장 최근에 연결된 액세스 포인트 장치와 상기 전자 장치의 현재 위치의 거리가 제1기준 거리 이내인지 확인하고,
상기 제1기준 거리 이내인 경우, 상기 제2데이터베이스에서 상기 가장 최근에 연결된 액세스 포인트 장치의 식별 정보와 맵핑되는 타임 존 정보를 이용하여 상기 현재 위치 정보에 대응하는 시간 정보를 결정하도록 설정된 전자 장치.
According to clause 6,
The processor,
If the identification information of the access point device is not confirmed in the second database,
Confirm identification information of the access point device most recently connected to the wireless communication circuit, and determine whether the distance between the most recently connected access point device and the current location of the electronic device is within a first reference distance,
When within the first reference distance, an electronic device configured to determine time information corresponding to the current location information using time zone information mapped to identification information of the most recently connected access point device in the second database.
상기 가장 최근에 연결된 액세스 포인트 장치와 상기 전자 장치의 현재 위치의 거리가 제1기준 거리보다 큰 경우,
상기 제2데이터베이스에서 상기 전자 장치의 현재 위치와 가장 가까운 하나의 액세스 포인트 장치를 확인하고,
상기 전자 장치의 현재 위치와 상기 가장 가까운 하나의 액세스 포인트 장치의 거리가 제2기준 거리 이내인 경우, 상기 확인된 가장 가까운 액세스 포인트 장치의 식별 정보와 맵핑된 타임 존 정보를 이용하여 상기 현재 위치 정보에 대응하는 시간 정보를 결정하도록 설정된 전자 장치.
According to clause 7,
When the distance between the most recently connected access point device and the current location of the electronic device is greater than the first reference distance,
Confirming the one access point device closest to the current location of the electronic device in the second database,
If the distance between the current location of the electronic device and the closest access point device is within a second reference distance, the current location information is provided using the identification information of the confirmed closest access point device and the mapped time zone information. An electronic device configured to determine time information corresponding to
상기 프로세서는,
상기 제2데이터베이스에 포함된 액세스 포인트 장치 중 상기 전자 장치의 현재 위치로부터 상기 제2기준 거리 이내에 위치하는 액세스 포인트 장치가 없는 경우, 상기 무선 통신 회로를 통해 외부 서버에 타임 존 정보를 요청하도록 설정된 전자 장치.
According to clause 8,
The processor,
If there is no access point device included in the second database that is located within the second reference distance from the current location of the electronic device, the electronic device is set to request time zone information from an external server through the wireless communication circuit. Device.
상기 제1데이터베이스는 상기 전자 장치의 현재 위치 정보를 획득하기 이전에 미리 저장된 전자 장치.
According to clause 1,
The first database is stored in advance before acquiring current location information of the electronic device.
상기 프로세서는,
상기 무선 통신 회로를 통해 NTP(network time protocol)에 기반하여 획득된 표준 시간 정보 및 상기 획득된 타임 존 정보에 기초하여, 상기 현재 위치 정보에 대응하는 시간 정보를 결정하도록 설정된 전자 장치.
According to clause 1,
The processor,
An electronic device configured to determine time information corresponding to the current location information based on standard time information obtained based on network time protocol (NTP) through the wireless communication circuit and the obtained time zone information.
상기 전자 장치의 현재 위치 정보를 획득하는 동작;
상기 전자 장치의 메모리에 저장된 제1데이터베이스 및/또는 제2데이터베이스로부터 상기 현재 위치 정보에 대응하는 타임 존 정보를 확인하는 동작;
상기 타임 존 정보가 확인되는 경우, 상기 확인된 타임 존 정보를 이용해서 상기 현재 위치 정보에 대응하는 시간 정보를 결정하는 동작;
상기 타임 존 정보가 확인되지 않는 경우, 무선 통신 회로를 통해 외부 서버에 타임 존 정보를 요청하는 동작; 및
상기 제1데이터베이스 또는 상기 외부 서버로부터 타임 존 정보를 획득하는 경우, 상기 무선 통신 회로와 연결된 액세스 포인트 장치의 식별 정보 및 획득된 타임 존 정보를 맵핑하여, 상기 제2데이터베이스를 업데이트 하는 동작을 포함하는 방법.
In a method of setting the time zone of an electronic device,
Obtaining current location information of the electronic device;
Checking time zone information corresponding to the current location information from a first database and/or a second database stored in the memory of the electronic device;
When the time zone information is confirmed, determining time information corresponding to the current location information using the confirmed time zone information;
If the time zone information is not confirmed, requesting time zone information from an external server through a wireless communication circuit; and
When obtaining time zone information from the first database or the external server, mapping the identification information of the access point device connected to the wireless communication circuit and the obtained time zone information, and updating the second database. method.
상기 메모리는 복수의 국가 정보 및 각각의 국가 정보와 타임 존 정보의 개수 및 디폴트 타임 존 정보를 맵핑하여 저장하는 제3데이터베이스를 저장하는 방법.
According to clause 13,
A method of storing a third database in which the memory maps and stores a plurality of country information and each country information, the number of time zone information, and default time zone information.
상기 제1데이터베이스 및/또는 제2데이터베이스로부터 타임 존 정보를 확인하는 동작은,
상기 제3데이터베이스에서, 상기 획득된 현재 위치 정보에 대응하는 타임 존 정보의 개수 및 디폴트 타임 존 정보를 확인하는 동작을 포함하고,
상기 시간 정보를 결정하는 동작은,
상기 타임 존 정보의 개수가 하나인 경우, 상기 확인된 디폴트 타임 존 정보를 이용하여 상기 현재 위치 정보에 대응하는 시간 정보를 결정하는 동작을 포함하는 방법.
According to clause 14,
The operation of checking time zone information from the first database and/or the second database,
Confirming the number of time zone information and default time zone information corresponding to the acquired current location information in the third database,
The operation of determining the time information is,
When the number of time zone information is one, a method comprising determining time information corresponding to the current location information using the confirmed default time zone information.
상기 제1데이터베이스 및/또는 제2데이터베이스로부터 타임 존 정보를 확인하는 동작은,
상기 제3데이터베이스에서, 상기 획득된 현재 위치 정보에 대응하는 타임 존 정보의 개수를 확인하는 동작;
상기 타임 존 정보의 개수가 2 이상인 경우, 상기 현재 위치 정보의 국가 정보 및 행정 구역 정보와 맵핑되는 타임 존 정보를 상기 제1데이터베이스에서 확인하는 동작을 포함하는 방법.
According to clause 15,
The operation of checking time zone information from the first database and/or the second database,
An operation of checking the number of time zone information corresponding to the acquired current location information in the third database;
When the number of time zone information is 2 or more, a method comprising checking time zone information mapped with country information and administrative district information of the current location information in the first database.
상기 제1데이터베이스 및/또는 제2데이터베이스로부터 타임 존 정보를 확인하는 동작은,
상기 제1데이터베이스에서 상기 맵핑되는 타임 존 정보가 확인되지 않는 경우, 상기 무선 통신 회로를 통해 연결된 액세스 포인트 장치의 식별 정보를 상기 제2데이터베이스에서 확인하는 동작을 포함하는 방법.
According to clause 16,
The operation of checking time zone information from the first database and/or the second database,
When the mapped time zone information is not confirmed in the first database, an operation of checking identification information of an access point device connected through the wireless communication circuit in the second database.
상기 제1데이터베이스 및/또는 제2데이터베이스로부터 타임 존 정보를 확인하는 동작은,
상기 제2데이터베이스에서 상기 액세스 포인트 장치의 식별 정보가 확인되지 않는 경우, 상기 무선 통신 회로와 가장 최근에 연결된 액세스 포인트 장치의 식별 정보를 확인하고, 상기 가장 최근에 연결된 액세스 포인트 장치와 상기 전자 장치의 현재 위치의 거리가 제1기준 거리 이내인지 확인하는 동작; 및
상기 제1기준 거리 이내인 경우, 상기 제2데이터베이스에서 상기 가장 최근에 연결된 액세스 포인트 장치의 식별 정보와 맵핑되는 타임 존 정보를 선택하는 동작을 포함하는 방법.
According to clause 17,
The operation of checking time zone information from the first database and/or the second database,
If the identification information of the access point device is not confirmed in the second database, the identification information of the access point device most recently connected to the wireless communication circuit is checked, and the identification information of the most recently connected access point device and the electronic device is checked. An operation to check whether the distance of the current location is within a first reference distance; and
If it is within the first reference distance, a method comprising selecting time zone information mapped with identification information of the most recently connected access point device in the second database.
상기 제1데이터베이스 및/또는 제2데이터베이스로부터 타임 존 정보를 확인하는 동작은,
상기 가장 최근에 연결된 액세스 포인트 장치와 상기 전자 장치의 현재 위치의 거리가 제1기준 거리보다 큰 경우, 상기 제2데이터베이스에서 상기 전자 장치의 현재 위치와 가장 가까운 하나의 액세스 포인트 장치를 확인하는 동작; 및
상기 전자 장치의 현재 위치와 상기 가장 가까운 하나의 액세스 포인트 장치의 거리가 제2기준 거리 이내인 경우, 상기 확인된 가장 가까운 액세스 포인트 장치의 식별 정보와 맵핑된 타임 존 정보를 선택하는 동작을 포함하는 방법.
According to clause 18,
The operation of checking time zone information from the first database and/or the second database,
When the distance between the most recently connected access point device and the current location of the electronic device is greater than a first reference distance, identifying the one access point device closest to the current location of the electronic device in the second database; and
When the distance between the current location of the electronic device and the closest access point device is within a second reference distance, selecting identification information and mapped time zone information of the confirmed closest access point device. method.
상기 제2데이터베이스에 포함된 액세스 포인트 장치 중 상기 전자 장치의 현재 위치로부터 상기 제2기준 거리 이내에 위치하는 액세스 포인트 장치가 없는 경우, 상기 무선 통신 회로를 통해 외부 서버에 타임 존 정보를 요청하는 동작을 포함하는 방법.
According to clause 19,
If there is no access point device included in the second database that is located within the second reference distance from the current location of the electronic device, an operation of requesting time zone information from an external server through the wireless communication circuit. How to include it.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020190067353A KR102650875B1 (en) | 2019-06-07 | 2019-06-07 | Electronic device and method for setting time zone thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020190067353A KR102650875B1 (en) | 2019-06-07 | 2019-06-07 | Electronic device and method for setting time zone thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20200140565A KR20200140565A (en) | 2020-12-16 |
KR102650875B1 true KR102650875B1 (en) | 2024-03-26 |
Family
ID=74042074
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020190067353A KR102650875B1 (en) | 2019-06-07 | 2019-06-07 | Electronic device and method for setting time zone thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR102650875B1 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001337182A (en) * | 2000-05-26 | 2001-12-07 | Matsushita Electric Ind Co Ltd | Portable terminal equipment |
JP2019086431A (en) * | 2017-11-08 | 2019-06-06 | セイコーエプソン株式会社 | Electronic apparatus and time correction system |
-
2019
- 2019-06-07 KR KR1020190067353A patent/KR102650875B1/en active IP Right Grant
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001337182A (en) * | 2000-05-26 | 2001-12-07 | Matsushita Electric Ind Co Ltd | Portable terminal equipment |
JP2019086431A (en) * | 2017-11-08 | 2019-06-06 | セイコーエプソン株式会社 | Electronic apparatus and time correction system |
Also Published As
Publication number | Publication date |
---|---|
KR20200140565A (en) | 2020-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102627612B1 (en) | Method for displaying nerby information using augmented reality and electonic device therof | |
US20170147064A1 (en) | Method and apparatus for providing information in virtual reality environment | |
US20140023087A1 (en) | Concurrent data streaming using various parameters from the same sensor | |
RU2667795C2 (en) | Server access method and apparatus | |
US10223381B2 (en) | Sensor information using method and electronic device using the same | |
US20230284000A1 (en) | Mobile information terminal, information presentation system and information presentation method | |
KR102250947B1 (en) | Method for identifying a location of electronic apparatus and electronic apparatus and operating method of server | |
KR102546949B1 (en) | Electronic device, server device and method for determining location of electronic device | |
US10614276B2 (en) | Profile information exchange system | |
CN112400346A (en) | Server apparatus and method for collecting location information of other apparatus | |
JP2018097683A (en) | Display control program, display control method and display control apparatus | |
CN108362310B (en) | Method and device for determining geomagnetic accuracy, storage medium and terminal | |
KR102603254B1 (en) | An electornic devid and a method for displaying web contents in augmented reality mode | |
CN110597801B (en) | Database system and establishing method and device thereof | |
EP3905661A1 (en) | Electronic device and method for recommending image capturing place | |
CN110990728B (en) | Method, device, equipment and storage medium for managing interest point information | |
KR20190020940A (en) | Method and apparatus for determining location using identification information corresponding external electronic device | |
KR102650875B1 (en) | Electronic device and method for setting time zone thereof | |
US20210076302A1 (en) | Access control method for smart card and electronic device using same | |
CN113051485A (en) | Group searching method, device, terminal and storage medium | |
CN111191254A (en) | Access verification method and device, computer equipment and storage medium | |
CN112988177B (en) | Application installation package release method, application program operation method, server and terminal | |
KR20150136856A (en) | Method for processing contents and an electronic device thereof | |
CN110475202B (en) | Method, device, terminal and storage medium for acquiring identity information | |
US11895616B2 (en) | Electronic device and method for measuring location of electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant |