KR20240083493A - Method for providing weather information and electronic device supporting the same - Google Patents

Method for providing weather information and electronic device supporting the same Download PDF

Info

Publication number
KR20240083493A
KR20240083493A KR1020220167696A KR20220167696A KR20240083493A KR 20240083493 A KR20240083493 A KR 20240083493A KR 1020220167696 A KR1020220167696 A KR 1020220167696A KR 20220167696 A KR20220167696 A KR 20220167696A KR 20240083493 A KR20240083493 A KR 20240083493A
Authority
KR
South Korea
Prior art keywords
weather information
electronic device
area
processor
information
Prior art date
Application number
KR1020220167696A
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 삼성전자주식회사
Publication of KR20240083493A publication Critical patent/KR20240083493A/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01WMETEOROLOGY
    • G01W1/00Meteorology
    • G01W1/02Instruments for indicating weather conditions by measuring two or more variables, e.g. humidity, pressure, temperature, cloud cover or wind speed
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01WMETEOROLOGY
    • G01W2203/00Real-time site-specific personalized weather information, e.g. nowcasting

Landscapes

  • Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Atmospheric Sciences (AREA)
  • Environmental Sciences (AREA)
  • Ecology (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

다양한 실시 예에 따른 전자 장치는 통신 회로, 디스플레이 모듈 및 상기 통신 회로 및 상기 디스플레이 모듈과 전기적으로 연결된 프로세서를 포함하고, 상기 프로세서는 기상 정보 출력 이벤트에 응답하여 제1 지역에 대한 상기 이벤트가 감지된 제1 시간에 대응되는 제1 기상 정보를 상기 통신 회로를 통해 획득하고, 상기 전자 장치의 이동이 예상되는 제2 지역을 확인하고, 상기 전자 장치가 상기 제2 지역으로의 이동을 완료하는 제2 시간을 예측하고, 상기 제2 지역에 대한 상기 제2 시간에 대응되는 제2 기상 정보를 상기 통신 회로를 통해 획득하고, 상기 제1 기상 정보 및 상기 제2 기상 정보를 상기 디스플레이 모듈을 통해 출력하도록 구성될 수 있다.An electronic device according to various embodiments includes a communication circuit, a display module, and a processor electrically connected to the communication circuit and the display module, wherein the processor detects the event for a first area in response to a weather information output event. A second method of acquiring first weather information corresponding to a first time through the communication circuit, identifying a second area where movement of the electronic device is expected, and completing movement of the electronic device to the second area. To predict time, obtain second weather information corresponding to the second time for the second area through the communication circuit, and output the first weather information and the second weather information through the display module. It can be configured.

Description

기상 정보를 제공하기 위한 방법 및 이를 지원하는 전자 장치{Method for providing weather information and electronic device supporting the same}{Method for providing weather information and electronic device supporting the same}

본 문서에서 개시되는 다양한 실시 예들은 전자 장치에 관한 것으로, 구체적으로는, 기상 정보를 제공하기 위한 방법 및 이를 지원하는 전자 장치와 관련된다. Various embodiments disclosed in this document relate to electronic devices, and specifically, to methods for providing weather information and electronic devices that support the same.

디지털 기술의 발달과 함께 이동통신 단말기, 전자 수첩, 스마트 폰, 태블릿 PC, 웨어러블 디바이스와 같이 이동하면서 통신 및 개인정보 처리가 가능한 전자 장치들이 다양하게 출시되고 있다. 이러한 전자 장치들은 급속한 기술 발전을 통해 단순한 음성 통화 및 메시지 전송 기능에서 영상 통화, 전자 수첩 기능, 문서 기능, 이메일 기능, 인터넷 기능과 같은 다양한 기능을 구비하게 되었다.With the development of digital technology, a variety of electronic devices that can communicate and process personal information while moving, such as mobile communication terminals, electronic notebooks, smart phones, tablet PCs, and wearable devices, are being released. Through rapid technological development, these electronic devices have come to be equipped with a variety of functions, such as video calls, electronic notebook functions, document functions, e-mail functions, and Internet functions, from simple voice calls and message transmission functions.

또한, 전자 장치는 서비스 제공자가 제공하는 콘텐츠를 받아서 작은 윈도우에 표시하는 위젯 기능을 지원할 수 있다. 예를 들어, 전자 장치는 위젯 기능을 통해서 기상 정보를 제공할 수 있다. Additionally, the electronic device may support a widget function that receives content provided by a service provider and displays it in a small window. For example, an electronic device can provide weather information through a widget function.

전술한 전자 장치는 미리 지정된 하나 이상의 지역에 대한 기상 정보를 제공할 수 있다. 예를 들어, 사용자는 기상 정보를 확인하고자 하는 지역(예: 이동하고자 하는 지역)을 미리 등록할 수 있으며, 전자 장치는 사용자에 의해 등록된 지역에 대한 기상 정보를 미리 지정된 시간 간격(예: 10분 간격) 마다 업데이트하여 제공할 수 있다.The above-described electronic device may provide weather information for one or more pre-designated areas. For example, the user can pre-register the area for which he/she wants to check weather information (e.g. the area he/she wants to travel to), and the electronic device may display weather information for the area registered by the user at pre-specified time intervals (e.g. 10 minutes). It can be updated and provided every minute.

하지만, 미리 지정된 시간 간격에 기초하여 기상 정보가 업데이트됨에 따라, 전자 장치를 통해 현재 제공되는 기상 정보와 등록된 지역에 사용자가 실제 위치(예: 방문)하는 시점(예: 시간)의 기상 정보는 서로 차이가 있을 수 있다.However, as weather information is updated based on pre-specified time intervals, the weather information currently provided through the electronic device and the weather information at the time (e.g., time) of the user's actual location (e.g., visit) in the registered area are different. There may be differences.

예를 들어, 전자 장치의 사용자가 제1 지역(예: 서울)에서 제2 지역(예: 강릉)으로 이동하기 전인 제1 시간(예: 13시)에 제2 지역에 대한 기상 정보를 확인할 수 있다. 이러한 상황에서 전자 장치는 제2 지역에 대한 제1 시간에 대응되는 기상 정보(예: 맑음)를 제공할 수 있다. 하지만, 제2 지역에 대한 제1 시간에 대응되는 기상 정보는 전자 장치의 사용자가 제2 지역에 도착할 것으로 예상된 제2 시간(예: 15시)에 대응되는 기상 정보(예: 비)와는 상이할 수 있다. 이에, 제1 시간에 대응되는 기상 정보를 인지한 상태로 제2 지역으로 이동한 사용자는 기상 변화에 대하여 신속하게 대처하지 못하는 문제점이 있을 수 있다.For example, a user of an electronic device may check weather information for a second region at a first time (e.g., 13:00) before moving from a first region (e.g., Seoul) to a second region (e.g., Gangneung). there is. In this situation, the electronic device may provide weather information (e.g., clear weather) corresponding to the first time for the second area. However, the weather information corresponding to the first time for the second area is different from the weather information (e.g., rain) corresponding to the second time (e.g., 15:00) when the user of the electronic device is expected to arrive at the second area. can do. Accordingly, a user who moves to the second area while aware of the weather information corresponding to the first time may have a problem in that he or she cannot quickly respond to weather changes.

따라서, 다양한 실시 예 중 적어도 하나의 예는, 미리 등록된 지역으로 이동하는 시간을 예측하고, 미리 등록된 지역에 대한 예측된 시간에 대응하는 기상 정보를 제공하기 위한 방법 및 이를 지원하는 전자 장치를 제공하는데 있다.Accordingly, at least one example among various embodiments includes a method for predicting a travel time to a pre-registered area and providing weather information corresponding to the predicted time for a pre-registered area, and an electronic device supporting the same. It is provided.

다양한 실시 예에 따른 전자 장치는 통신 회로, 디스플레이 모듈 및 상기 통신 회로 및 상기 디스플레이 모듈과 전기적으로 연결된 프로세서를 포함하고, 상기 프로세서는 기상 정보 출력 이벤트에 응답하여 제1 지역에 대한 상기 이벤트가 감지된 제1 시간에 대응되는 제1 기상 정보를 상기 통신 회로를 통해 획득하고, 상기 전자 장치의 이동이 예상되는 제2 지역을 확인하고, 상기 전자 장치가 상기 제2 지역으로의 이동을 완료하는 제2 시간을 예측하고, 상기 제2 지역에 대한 상기 제2 시간에 대응되는 제2 기상 정보를 상기 통신 회로를 통해 획득하고, 상기 제1 기상 정보 및 상기 제2 기상 정보를 상기 디스플레이 모듈을 통해 출력하도록 구성될 수 있다.An electronic device according to various embodiments includes a communication circuit, a display module, and a processor electrically connected to the communication circuit and the display module, wherein the processor detects the event for a first area in response to a weather information output event. A second method of acquiring first weather information corresponding to a first time through the communication circuit, identifying a second area where movement of the electronic device is expected, and completing movement of the electronic device to the second area. To predict time, obtain second weather information corresponding to the second time for the second area through the communication circuit, and output the first weather information and the second weather information through the display module. It can be configured.

다양한 실시 예에 따른 전자 장치의 동작 방법은, 기상 정보 출력 이벤트에 응답하여 제1 지역에 대한 상기 이벤트가 감지된 제1 시간에 대응되는 제1 기상 정보를 획득하는 동작, 상기 전자 장치의 이동이 예상되는 제2 지역을 확인하는 동작, 상기 전자 장치가 상기 제2 지역으로의 이동을 완료하는 제2 시간을 예측하는 동작, 상기 제2 지역에 대한 상기 제2 시간에 대응되는 제2 기상 정보를 획득하는 동작 및 상기 제1 기상 정보 및 상기 제2 기상 정보를 상기 전자 장치의 디스플레이 모듈을 통해 출력하는 동작을 포함할 수 있다.A method of operating an electronic device according to various embodiments includes obtaining first weather information corresponding to a first time when the event for a first area is detected in response to a weather information output event, and moving the electronic device. An operation of confirming an expected second area, an operation of predicting a second time at which the electronic device completes movement to the second area, and providing second weather information corresponding to the second time for the second area. It may include an operation of acquiring and an operation of outputting the first weather information and the second weather information through a display module of the electronic device.

본 문서에 개시되는 다양한 실시 예들에 따른 전자 장치는 미리 등록된 지역으로 이동하는 시간을 예측하고, 미리 등록된 지역에 대한 예측된 시간에 대응하는 기상 정보를 제공함으로써, 사용자로 하여금 기상 변화에 대한 신속한 대처를 가능하게 할 수 있다.Electronic devices according to various embodiments disclosed in this document predict the travel time to a pre-registered area and provide weather information corresponding to the predicted time for the pre-registered area, thereby allowing the user to be informed of weather changes. It can enable rapid response.

본 문서에서 얻을 수 있는 효과는 이상에서 언급한 효과로 제한되지 않는다.The effects that can be obtained from this document are not limited to the effects mentioned above.

도 1은 다양한 실시 예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 다양한 실시 예에 따른 기상 정보를 제공하는 전자 장치의 구성을 개략적으로 도시한 도면이다.
도 3은 다양한 실시 예에 따른 전자 장치에 의해 제공되는 기상 정보를 설명하기 위한 도면이다.
도 4는 다양한 실시 예에 따른 전자 장치에서 기상 정보를 제공하는 방식을 설명하기 위한 도면이다.
도 5는 다양한 실시 예에 따른 기상 정보의 업데이트 동작을 설명하기 위한 도면이다.
도 6a 및 도 6b는 전자 장치에서 기상 정보를 제공할 지역을 결정하는 동작을 설명하기 위한 도면이다.
도 7은 다양한 실시 예에 따른 전자 장치에서 기상 정보를 제공하는 동작을 설명하기 위한 순서도이다.
도 8은 다양한 실시 예에 따른 전자 장치에서 제2 기상 정보를 획득하는 동작을 설명하기 위한 순서도이다.
도 9는 다양한 실시 예에 따른 전자 장치에서 제2 기상 정보를 출력하는 동작을 설명하기 위한 순서도이다.
도 10은 다양한 실시 예에 따른 전자 장치에서 제2 기상 정보를 출력하는 동작을 설명하기 위한 순서도이다.
도 11은 다양한 실시 예에 따른 전자 장치에서 기상 정보를 업데이트하는 동작을 설명하기 위한 순서도이다.
도 12는 다양한 실시 예에 따른 전자 장치에서 기상 정보의 업데이트 주기를 조절하는 동작을 설명하기 위한 순서도이다.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.
1 is a block diagram of an electronic device in a network environment according to various embodiments.
FIG. 2 is a diagram schematically illustrating the configuration of an electronic device that provides weather information according to various embodiments.
FIG. 3 is a diagram illustrating weather information provided by an electronic device according to various embodiments.
FIG. 4 is a diagram illustrating a method of providing weather information in an electronic device according to various embodiments.
Figure 5 is a diagram for explaining an update operation of weather information according to various embodiments.
FIGS. 6A and 6B are diagrams for explaining an operation of determining an area to provide weather information in an electronic device.
FIG. 7 is a flowchart illustrating an operation of providing weather information in an electronic device according to various embodiments.
FIG. 8 is a flowchart illustrating an operation of acquiring second weather information in an electronic device according to various embodiments.
FIG. 9 is a flowchart illustrating an operation of outputting second weather information in an electronic device according to various embodiments.
FIG. 10 is a flowchart illustrating an operation of outputting second weather information in an electronic device according to various embodiments.
FIG. 11 is a flowchart illustrating an operation of updating weather information in an electronic device according to various embodiments.
FIG. 12 is a flowchart illustrating an operation of adjusting the update cycle of weather information in an electronic device according to various embodiments.
In relation to the description of the drawings, identical or similar reference numerals may be used for identical or similar components.

이하, 본 문서의 다양한 실시 예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 문서에 기재된 기술을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 문서의 실시 예의 다양한 변경(modifications), 균등물(equivalents), 및/또는 대체물(alternatives)을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다.Hereinafter, various embodiments of this document are described with reference to the attached drawings. However, this is not intended to limit the technology described in this document to specific embodiments, and should be understood to include various modifications, equivalents, and/or alternatives to the embodiments of this document. . In connection with the description of the drawings, similar reference numbers may be used for similar components.

도 1은 다양한 실시 예들에 따른 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다.FIG. 1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments.

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

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

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시 예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일 실시 예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.The auxiliary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (e.g., sleep) state, or while the main processor 121 is in an active (e.g., application execution) state. ), together with the main processor 121, at least one of the components of the electronic device 101 (e.g., the display module 160, the sensor module 176, or the communication module 190) At least some of the functions or states related to can be controlled. According to one embodiment, coprocessor 123 (e.g., image signal processor or communication processor) may be implemented as part of another functionally related component (e.g., camera module 180 or communication module 190). there is. According to one embodiment, the auxiliary processor 123 (eg, neural network processing device) may include a hardware structure specialized for processing artificial intelligence models. Artificial intelligence models can be created through machine learning. For example, such learning may be performed in the electronic device 101 itself on which the artificial intelligence model is performed, or may be performed through a separate server (e.g., server 108). Learning algorithms may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but It is not limited. An artificial intelligence model may include multiple artificial neural network layers. Artificial neural networks include deep neural network (DNN), convolutional neural network (CNN), recurrent neural network (RNN), restricted boltzmann machine (RBM), belief deep network (DBN), bidirectional recurrent deep neural network (BRDNN), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the examples described above. In addition to hardware structures, artificial intelligence models may additionally or alternatively include software structures.

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

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

음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시 예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 155 may output sound signals to the outside of the electronic device 101. The sound output module 155 may include, for example, a speaker or a receiver. Speakers can be used for general purposes such as multimedia playback or recording playback. 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)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다.The display module 160 can visually provide information to the outside of the electronic device 101 (eg, a user). The display module 160 may include, for example, a display, a hologram device, or a projector, and a control circuit for controlling the device. According to one embodiment, the display module 160 may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of force generated by the touch.

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

센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시 예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.The sensor module 176 detects the operating state (e.g., power or temperature) of the electronic device 101 or the external environmental state (e.g., user state) and generates an electrical signal or data value corresponding to the detected state. can do. According to one embodiment, the sensor module 176 includes, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, humidity sensor, or light 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 can be used to connect the electronic device 101 directly or wirelessly with an external electronic device (eg, the electronic device 102). According to one 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 one 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 can convert electrical signals into mechanical stimulation (e.g., vibration or movement) or electrical stimulation that the user can perceive through tactile or kinesthetic senses. According to one 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 can capture still images and moving images. According to one 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 can manage power supplied to the electronic device 101. According to one embodiment, the power management module 188 may be implemented as at least a part of, for example, a power management integrated circuit (PMIC).

배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일 실시 예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.Battery 189 may supply power to at least one component of electronic device 101. According to one embodiment, the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, 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(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다.Communication module 190 provides a direct (e.g., wired) communication channel or wireless communication channel between electronic device 101 and an external electronic device (e.g., electronic device 102, electronic device 104, or server 108). It can support establishment and communication through established communication channels. The communication module 190 operates independently of the processor 120 (e.g., an application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (e.g., 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 (e.g., : LAN (local area network) communication module, or power line communication module) may be included. Among these communication modules, the corresponding communication module is a first network 198 (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (e.g., legacy It may communicate with an external electronic device 104 through a telecommunication network such as a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., LAN or WAN). These various types of communication modules may be integrated into one component (e.g., a single chip) or may be implemented as a plurality of separate components (e.g., multiple chips). The wireless communication module 192 uses subscriber information (e.g., International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199. The electronic device 101 can be confirmed or authenticated.

무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일 실시 예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support 5G networks after 4G networks and next-generation communication technologies, for example, NR access technology (new radio access technology). NR access technology provides high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access to multiple terminals (massive machine type communications (mMTC)), or ultra-reliable and low-latency (URLLC). -latency communications)) can be supported. The wireless communication module 192 may support high frequency bands (eg, mmWave bands), for example, to achieve high data rates. The wireless communication module 192 uses various technologies to secure performance in high frequency bands, for example, beamforming, massive array multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. It can support technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module 192 may support various requirements specified in the electronic device 101, an external electronic device (e.g., electronic device 104), or a network system (e.g., second network 199). According to one embodiment, the wireless communication module 192 supports Peak data rate (e.g., 20 Gbps or more) for realizing eMBB, loss coverage (e.g., 164 dB or less) for realizing mmTC, or U-plane latency (e.g., 164 dB or less) for realizing URLLC. Example: Downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) can be supported.

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

다양한 실시 예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일 실시 예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, a mmWave antenna module includes: a printed circuit board, an RFIC disposed on or adjacent to a first side (e.g., bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., mmWave band); And a plurality of antennas (e.g., array antennas) disposed on or adjacent to the second side (e.g., top or side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band. can do.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, 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, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시 예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일 실시 예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.According to one embodiment, commands 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 or 104 may be of the same or different type as the electronic device 101. According to one embodiment, all or part of the operations performed in the electronic device 101 may be executed in one or more of the external electronic devices 102, 104, or 108. For example, when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 may perform the function or service instead of executing the function or service on its own. Alternatively, or additionally, one or more external electronic devices may be requested to perform at least part of the function or service. One or more external electronic devices that have received the request may execute at least part of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device 101. The electronic device 101 may process the result as is or additionally and provide it as at least part of a response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology can be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may include an Internet of Things (IoT) device. Server 108 may be an intelligent server using machine learning and/or neural networks. According to one embodiment, the external electronic device 104 or server 108 may be included in the second network 199. The electronic device 101 may be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.

본 문서에 개시된 다양한 실시 예들에 따른 전자 장치(101)는 다양한 형태의 장치가 될 수 있다. 전자 장치(101)는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시 예에 따른 전자 장치(101)는 전술한 기기들에 한정되지 않는다.The electronic device 101 according to various embodiments disclosed in this document may be of various types. The electronic device 101 may include, for example, a portable communication device (eg, a smartphone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device. The electronic device 101 according to the embodiment of this 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 구성요소를 통하여 연결될 수 있다는 것을 의미한다.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 items, unless the relevant context clearly indicates otherwise. As used herein, “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 those components 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 various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as logic, logic block, component, or circuit, for example. can be used 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 this document are one or more instructions stored in a storage medium (e.g., built-in memory 136 or external memory 138) that can be read by a machine (e.g., electronic device 101). It may be implemented as software (e.g., program 140) including these. For example, a processor (e.g., processor 120) of a device (e.g., electronic device 101) may call at least one command among one or more commands stored from a storage medium and execute it. This allows the device to be operated to perform at least one function according to the at least one instruction called. The one or more instructions may include code generated by a compiler or code that can be executed 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-transitory' only means that the storage medium is a tangible device and does not contain signals (e.g. electromagnetic waves), and this term refers to cases where data is semi-permanently stored in the storage medium. There is no distinction between temporary storage cases.

일 실시 예에 따르면, 본 문서에 개시된 다양한 실시 예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어™)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.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 Store™) or on two user devices (e.g. It can be distributed (e.g. downloaded or uploaded) directly between smart phones) 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 server, or a relay server.

다양한 실시 예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시 예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시 예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (e.g., module or program) of the above-described components may include a single or plural entity, and some of the plurality of entities may be separately placed in other components. . 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 identically or similarly to 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, omitted, or , or one or more other operations may be added.

다양한 실시 예에 따르면, 전자 장치(101)는, 도 2 내지 도 12를 통해 후술하는 바와 같이, 제1 지역에 대한 제1 기상 정보 및/또는 제2 지역에 대한 제2 기상 정보를 제공할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 제1 지역에 대한 제1 시간에 대응되는 제1 기상 정보와 제2 지역에 대한 제2 시간에 대응되는 제2 기상 정보를 제공할 수 있다. 일 실시 예에 따르면, 제1 지역은 제1 시간에 전자 장치(101)가 위치한 지역이며, 제2 지역은 제1 시간과 상이한 제2 시간에 전자 장치(101)가 위치할 것으로 예측되는 지역일 수 있다. 또한, 제1 시간은 전자 장치(101)가 제1 지역에 위치한 시간이며, 제2 시간은 전자 장치(101)가 제1 지역에서 이동하여 제2 지역에 위치할 것으로 예측되는 시간일 수 있다. 예를 들어, 전자 장치(101)는 위젯 기능을 통해, 제1 기상 정보 및/또는 제2 기상 정보를 제공할 수 있다.According to various embodiments, the electronic device 101 may provide first weather information for the first area and/or second weather information for the second area, as described later with reference to FIGS. 2 to 12. there is. According to one embodiment, the electronic device 101 may provide first weather information corresponding to a first time for the first area and second weather information corresponding to a second time for the second area. According to one embodiment, the first area is an area where the electronic device 101 is located at a first time, and the second area is an area where the electronic device 101 is predicted to be located at a second time different from the first time. You can. Additionally, the first time may be a time when the electronic device 101 is located in the first area, and the second time may be a time when the electronic device 101 is predicted to move from the first area and be located in the second area. For example, the electronic device 101 may provide first weather information and/or second weather information through a widget function.

도 2는 다양한 실시 예에 따른 기상 정보를 제공하는 전자 장치의 구성을 개략적으로 도시한 도면이다. 그리고, 도 3은 전자 장치에 의해 제공되는 기상 정보를 설명하기 위한 도면이고, 도 4는 전자 장치에서 기상 정보를 제공하는 방식을 설명하기 위한 도면이고, 도 5는 전자 장치에서 기상 정보를 업데이트하는 동작을 설명하기 위한 도면이고, 도 6a 및 도 6b는 전자 장치에서 기상 정보를 제공할 지역을 결정하는 동작을 설명하기 위한 도면이다.FIG. 2 is a diagram schematically illustrating the configuration of an electronic device that provides weather information according to various embodiments. Additionally, FIG. 3 is a diagram for explaining weather information provided by an electronic device, FIG. 4 is a diagram for explaining a method of providing weather information in an electronic device, and FIG. 5 is a diagram for updating weather information in an electronic device. This is a diagram for explaining an operation, and FIGS. 6A and 6B are diagrams for explaining an operation for determining an area to provide weather information in an electronic device.

도 2를 참조하면, 다양한 실시 예에 따른 전자 장치(200)는 수집 모듈(201), 출력 모듈(203), 통신 회로(205), 메모리(207) 및 프로세서(209)로 구성될 수 있다. 전술한 전자 장치(200)의 구성들은 하나의 실시 예로, 다양한 실시 예들이 이에 한정되는 것은 아니다. 예컨대, 전자 장치(200)는 도 2에 도시된 구성들 보다 많은 구성들을 가지거나, 또는 그 보다 적은 구성을 가지는 것으로 구현될 수 있다. 예를 들면, 전자 장치(200)는 도 1에 도시된 전자 장치(101)일 수 있으며, 적어도 하나의 입력 모듈(예: 입력 모듈(150)), 적어도 하나의 카메라 모듈(예: 카메라 모듈(180)) 또는 전력 관리 모듈(예: 전력 관리 모듈(188))이 전자 장치(200)의 구성으로 포함될 수도 있다.Referring to FIG. 2, the electronic device 200 according to various embodiments may be comprised of a collection module 201, an output module 203, a communication circuit 205, a memory 207, and a processor 209. The configurations of the electronic device 200 described above are one embodiment, and various embodiments are not limited thereto. For example, the electronic device 200 may be implemented with more or fewer configurations than those shown in FIG. 2 . For example, the electronic device 200 may be the electronic device 101 shown in FIG. 1, and may include at least one input module (e.g., input module 150) and at least one camera module (e.g., camera module ( 180)) or a power management module (eg, power management module 188) may be included in the electronic device 200.

다양한 실시 예에 따르면, 수집 모듈(201)은 복수의 센서 모듈(예: 도 1의 센서 모듈(176))을 포함할 수 있다.According to various embodiments, the collection module 201 may include a plurality of sensor modules (eg, the sensor module 176 of FIG. 1).

일 실시 예에 따르면, 수집 모듈(201)은 전자 장치(200)의 상태와 관련된 정보를 획득(또는 감지)하고, 획득된 정보에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 예를 들어, 전자 장치(200)의 상태는 전자 장치(200)의 움직임, 전자 장치(200)의 자세 등과 관련된 것으로, 전자 장치(200)가 이동하는 상태, 전자 장치(200)가 회전하는 상태, 전자 장치(200)가 움직임 없이 정지하고 있는 상태 등을 포함할 수 있다. 다른 예로, 전자 장치(200)의 상태는 전자 장치(200)의 이동 속도와 관련될 수도 있다. 이와 관련하여, 수집 모듈(301)은 전자 장치(200)의 상태 정보를 획득하기 위한 가속도 센서, 자이로 센서, 제스처 센서 또는 기압 센서 중 적어도 하나를 포함할 수 있다.According to one embodiment, the collection module 201 may acquire (or sense) information related to the state of the electronic device 200 and generate an electrical signal or data value corresponding to the acquired information. For example, the state of the electronic device 200 is related to the movement of the electronic device 200, the posture of the electronic device 200, etc., such as a state in which the electronic device 200 is moving, a state in which the electronic device 200 is rotating. , may include a state in which the electronic device 200 is stationary without movement, etc. As another example, the state of the electronic device 200 may be related to the moving speed of the electronic device 200. In this regard, the collection module 301 may include at least one of an acceleration sensor, a gyro sensor, a gesture sensor, or an air pressure sensor for acquiring status information of the electronic device 200.

다양한 실시 예에 따르면, 출력 모듈(203)은 프로세서(209)의 제어에 기반하여 다양한 정보를 출력할 수 있다. 예를 들어, 출력 모듈(203)을 통해 출력되는 다양한 정보 중 적어도 일부는 적어도 하나의 지역에 대한 기상 정보를 포함할 수 있다. 예컨대, 기상 정보는 날씨, 기온, 풍향, 풍속, 강수량, 자외선 지수, 일몰 시간, 안개 또는 미세먼지 농도 중 적어도 하나를 포함할 수 있다.According to various embodiments, the output module 203 may output various information based on control of the processor 209. For example, at least some of the various information output through the output module 203 may include weather information for at least one region. For example, weather information may include at least one of weather, temperature, wind direction, wind speed, precipitation, UV index, sunset time, fog, or fine dust concentration.

일 실시 예에 따르면, 출력 모듈(203)은 시각적 정보(예: 그래픽 정보)를 출력하도록 구성된 디스플레이 모듈(예: 예: 도 1의 디스플레이 모듈(160))을 포함할 수 있다. 예를 들어, 디스플레이 모듈은 액정 디스플레이(liquid crystal display), 박막 트랜지스터 액정 디스플레이(thin film transistor-liquid crystal display), 유기 발광 다이오드(organiclight-emitting diode), 플렉시블 디스플레이(flexible display), 3차원 디스플레이(3D display), 투명 디스플레이 중에서 어느 하나 이상을 포함할 수 있다. 또한, 디스플레이 모듈은 터치를 감지하도록 설정된 터치 센서를 포함할 수도 있다.According to one embodiment, the output module 203 may include a display module (eg, display module 160 of FIG. 1) configured to output visual information (eg, graphic information). For example, display modules include liquid crystal displays, thin film transistor-liquid crystal displays, organic light-emitting diodes, flexible displays, and three-dimensional displays ( It may include one or more of 3D display) and transparent display. Additionally, the display module may include a touch sensor configured to detect touch.

그러나, 이는 예시적일 뿐, 다양한 실시 예들이 이에 한정되는 것은 아니다. 예컨대, 다양한 정보 중 적어도 일부는 청각적 정보로 출력될 수도 있다. 이러한 경우, 출력 모듈(203)은 음향 신호를 전자 장치(200)의 외부로 출력하도록 구성된 음향 출력 모듈(예: 도 1의 음향 출력 모듈(155))을 더 포함할 수 있다.However, this is only an example, and the various embodiments are not limited thereto. For example, at least some of the various information may be output as auditory information. In this case, the output module 203 may further include an audio output module (eg, the audio output module 155 of FIG. 1) configured to output an audio signal to the outside of the electronic device 200.

다양한 실시 예에 따르면, 통신 회로(205)는 전자 장치(200)와 적어도 하나의 외부 장치(210)(예: 도 1의 전자 장치(102), 전자 장치(104), 또는 서버(108)) 사이의 통신 수행을 지원할 수 있다. 예를 들어, 통신 회로(205)는 전자 장치(200)와 적어도 하나의 외부 장치(210) 사이의 신호(예: 명령 또는 데이터)를 송수신하기 위한 하드웨어 및 소프트웨어를 포함하는 장치일 수 있다.According to various embodiments, the communication circuit 205 connects the electronic device 200 and at least one external device 210 (e.g., the electronic device 102, electronic device 104, or server 108 of FIG. 1). It can support communication between For example, the communication circuit 205 may be a device that includes hardware and software for transmitting and receiving signals (eg, commands or data) between the electronic device 200 and at least one external device 210.

일 실시 예에 따르면, 통신 회로(205)는 적어도 하나의 외부 장치(210)(예: 기상 서버)를 통해 기상 정보를 획득(예: 수신)하도록 구성될 수 있다. 또한, 통신 회로(205)는 전자 장치(200)와 관련된 위치 정보를 획득하도록 구성될 수도 있다. 예를 들어, 통신 회로(205)은 무선 통신 회로(예: 도 1의 무선 통신 모듈(192)) 및/또는 유선 통신 회로(예: 도 1의 유선 통신 모듈(194))를 포함할 수 있다.According to one embodiment, the communication circuit 205 may be configured to obtain (eg, receive) weather information through at least one external device 210 (eg, a weather server). Additionally, communication circuitry 205 may be configured to obtain location information related to electronic device 200 . For example, communication circuitry 205 may include wireless communication circuitry (e.g., wireless communication module 192 of FIG. 1) and/or wired communication circuitry (e.g., wired communication module 194 of FIG. 1). .

다양한 실시 예에 따르면, 메모리(207)는 전자 장치(200)의 동작(또는 제어)과 관련된 프로그램, 알고리즘, 루틴, 및/또는 명령어를 포함할 수 있다. 일 실시 예에 따르면, 메모리(207)는 도 1에 도시된 메모리(130)일 수 있다.According to various embodiments, the memory 207 may include programs, algorithms, routines, and/or instructions related to the operation (or control) of the electronic device 200. According to one embodiment, the memory 207 may be the memory 130 shown in FIG. 1.

다양한 실시 예에 따르면, 프로세서(209)는 수집 모듈(201), 출력 모듈(203), 통신 회로(205) 및 메모리(207)와 작동적으로 연결될 수 있으며, 전자 장치(200)의 다양한 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)들을 제어할 수 있다.According to various embodiments, processor 209 may be operatively coupled with collection module 201, output module 203, communication circuitry 205, and memory 207, and various components of electronic device 200. (e.g. hardware or software components) can be controlled.

일 실시 예에 따르면, 프로세서(209)는 적어도 하나의 지역에 대한 기상 정보를 제공할 수 있다. 프로세서(209)는 사용자에 의해 등록된 지역에 대한 기상 정보를 미리 지정된 시간 간격(예: 10분 간격) 마다 업데이트하여 제공할 수 있다.According to one embodiment, the processor 209 may provide weather information for at least one region. The processor 209 may update and provide weather information for the area registered by the user at pre-specified time intervals (e.g., every 10 minutes).

예를 들어, 도 3의 참조 부호 310에 도시된 바와 같이, 프로세서(209)는 전자 장치(200)(예: 전자 장치(200)의 사용자)의 현재 위치와 관련된 제1 지역(예: 우면동)에 대한 제1 기상 정보(312)(예: 맑음, 체감 온도 24°)를 제공할 수 있다.For example, as shown at reference numeral 310 in FIG. 3, the processor 209 may select a first region (e.g., right-side-up) associated with the current location of the electronic device 200 (e.g., a user of the electronic device 200). First weather information 312 (e.g., clear weather, perceived temperature of 24°) may be provided.

다른 예로, 도 3의 참조 부호 320에 도시된 바와 같이, 프로세서(209)는 전자 장치(200)가 이동할 제2 지역(예: 강릉)에 대한 제2 기상 정보(322)(예: 맑음, 체감 온도 22°)를 제공할 수도 있다. 일 예로, 프로세서(209)는 스케줄 어플리케이션에 등록된 일정 정보, 지도 어플리케이션(예: 네비게이션 어플리케이션) 및 티켓 발권 어플리케이션을 통해 지정되는 지역 정보(예: 출발지 정보, 목적지 정보) 등에 기초하여 제1 지역 및/또는 제2 지역을 확인할 수 있다. 또한, 프로세서(209)는 미리 지정된 제1 시간이 도래하면 제1 지역에 대한 제1 기상 정보(312)와 제2 지역에 대한 제2 기상 정보(322)를 적어도 하나의 외부 장치(210)를 통해 획득할 수 있다. 예컨대, 프로세서(209)는 획득된 제1 기상 정보(312)와 제2 기상 정보(322)를 출력 모듈(205)을 통해 동시에 출력하거나 또는 제1 기상 정보(312)와 제2 기상 정보(322)를 교번하게 출력할 수도 있다.As another example, as shown by reference numeral 320 in FIG. 3, the processor 209 may generate second weather information 322 (e.g., clear, weather) for a second region (e.g., Gangneung) to which the electronic device 200 will move. temperature 22°). As an example, the processor 209 configures the first area and /Or you can check the second region. In addition, when the pre-designated first time arrives, the processor 209 sends the first weather information 312 for the first area and the second weather information 322 for the second area to at least one external device 210. It can be obtained through For example, the processor 209 simultaneously outputs the acquired first weather information 312 and the second weather information 322 through the output module 205, or outputs the first weather information 312 and the second weather information 322. ) can also be output alternately.

다시 말해서, 도 3의 참조 부호 320에 도시된 바와 같이, 출력된 제1 기상 정보(312)는 제1 지역에 대하여 일정 시간 단위(예: 30분 단위)로 예측된 기상 정보들 중 제1 시간(예: 13시)에 대응되는 기상 정보이며, 출력된 제2 기상 정보(322)는 제2 지역에 대하여 일정 시간 단위로 예측된 기상 정보들 중 제1 시간에 대응되는 기상 정보일 수 있다.In other words, as shown by reference numeral 320 in FIG. 3, the output first weather information 312 is the first time among the weather information predicted in a certain time unit (e.g., 30 minutes) for the first region. It is weather information corresponding to (e.g., 13:00), and the output second weather information 322 may be weather information corresponding to the first time among the weather information predicted in a certain time unit for the second region.

하지만, 제2 지역(예: 강릉)에 대한 제1 시간(예: 13시)에 대응되는 기상 정보(예: 맑음, 체감 온도 22°)와 제2 지역(예: 강릉)에 대한 제2 시간(예: 15시)에 대응되는 기상 정보(예: 비, 체감 온도 20°)는 서로 상이할 수 있다. 이에, 제2 지역에 대한 제1 시간에 대응되는 기상 정보(예: 맑음)를 제공받은 사용자가 제2 시간에 제2 지역으로 이동한 경우, 사용자는 기상 변화에 대한 신속한 대처에 어려움을 느낄 수 있다.However, weather information (e.g., clear, perceived temperature 22°) corresponding to a first time (e.g., 13:00) for a second region (e.g., Gangneung) and a second time for the second region (e.g., Gangneung) Weather information (e.g., rain, perceived temperature of 20°) corresponding to (e.g., 15:00) may be different. Accordingly, if a user who has been provided with weather information (e.g., clear) corresponding to the first time for the second area moves to the second area at the second time, the user may find it difficult to quickly respond to weather changes. there is.

다양한 실시 예에 따른 프로세서(209)는, 사용자로 하여금 기상 변화에 대한 신속한 대처를 가능하게 하기 위하여, 도 3의 참조 부호 330에 도시된 바와 같이, 전자 장치(200)가 제2 지역(예: 강릉)으로 이동이 완료되는 제2 시간(예: 15시)을 예측하고, 제2 지역에 대한 제2 시간에 대응되는 제2 기상 정보(332)(예: 비, 체감 온도 20°)를 제공할 수 있다. 다시 말해서, 프로세서(209)는 현재 시간을 기준으로 하는 제2 기상 정보가 아닌 전자 장치(200)가 제2 지역에 위치하는 시간을 기준으로 하는 제2 기상 정보를 제공함으로써, 사용자로 하여금 기상 변화에 대한 신속한 대처를 가능하게 할 수 있다.In order to enable users to quickly respond to weather changes, the processor 209 according to various embodiments, as shown by reference numeral 330 in FIG. 3, operates the electronic device 200 in a second area (e.g. predict a second time (e.g., 15:00) at which movement to Gangneung is completed, and provide second weather information 332 (e.g., rain, perceived temperature 20°) corresponding to the second time for the second area can do. In other words, the processor 209 provides second weather information based on the time when the electronic device 200 is located in the second area, rather than second weather information based on the current time, thereby allowing the user to change weather conditions. It can enable rapid response to .

다양한 실시 예에 따르면, 프로세서(209)는 제1 기상 정보 및/또는 제2 기상 정보를 제공함에 있어서, 하나 이상의 제3 지역(예: 경유지)에 대한 제3 기상 정보를 제공할 수도 있다. 일 실시 예에 따르면, 제3 지역은 제1 지역에서 제2 지역으로 이동하기 위해서, 전자 장치(200)가 거쳐가는 지역(예: 행정 구역 또는 랜드마크)을 포함할 수 있다. 다른 실시 예에 따르면, 제3 지역은 전자 장치(200)의 현재 위치를 기준으로 인접한 다른 지역일 수 있다.According to various embodiments, when providing first weather information and/or second weather information, the processor 209 may also provide third weather information for one or more third areas (eg, transit points). According to one embodiment, the third area may include an area (eg, an administrative district or a landmark) through which the electronic device 200 passes in order to move from the first area to the second area. According to another embodiment, the third area may be another area adjacent to the current location of the electronic device 200.

예를 들어, 도 4의 참조 부호 410에 도시된 바와 같이, 프로세서(209)는 제1 지역(예: 우면동)과 제2 지역(예: 강릉)에 기초하여 적어도 하나의 제3 지역을 결정하고, 결정된 제3 지역에 대한 제3 기상 정보(413)를 제공할 수 있다. 이와 관련하여, 프로세서(209)는 전자 장치(200)가 제3 지역으로의 이동이 완료되는 제3 시간을 예측할 수 있다. 또한, 프로세서(209)는 제3 지역에 대한 제3 시간에 대응하는 제3 기상 정보(413)를 제공할 수 있다.For example, as shown at reference numeral 410 in FIG. 4, the processor 209 determines at least one third region based on the first region (e.g., Umyeon-dong) and the second region (e.g., Gangneung), and , third weather information 413 for the determined third region may be provided. In this regard, the processor 209 may predict a third time at which movement of the electronic device 200 to the third area is completed. Additionally, the processor 209 may provide third weather information 413 corresponding to a third time for a third region.

도 4의 참조 부호 410은, 제1 지역(예: 우면동)을 출발하여 제3 지역(예: 제3-1 지역(예: 광주시), 제3-2 지역(예: 원주시) 등)을 거쳐 제2 지역(예: 강릉)으로 이동하는 전자 장치(200)의 이동 경로에 따라, 전자 장치(200)가 제1 지역에 위치하는 제1 시간(예: 13시)에 대한 제1 지역의 제1 기상 정보(411)(예: 우면동의 13시 기상 정보), 전자 장치(200)가 제3 지역에 위치하는 제3 시간에 대한 제3 지역의 제3 기상 정보(413)(예: 제3-1 지역의 13시 30분 기상 정보(413-1), 제3-2 지역의 14시 기상 정보(413-3)) 및 제2 지역에 위치하는 제2 시간에 대한 제2 지역의 제2 기상 정보(412)(예: 강릉의 15시 기상 정보)가 제공되는 실시 예에 해당된다.Reference numeral 410 in FIG. 4 starts from the first region (e.g., Umyeon-dong) and passes through the third region (e.g., 3-1 region (e.g., Gwangju-si), 3-2 region (e.g., Wonju-si), etc. According to the movement path of the electronic device 200 moving to the second region (e.g., Gangneung), the electronic device 200 is located in the first region at the first time (e.g., 13:00) in the first region. 1 weather information 411 (e.g., weather information at 13:00 in Umyeon-dong), third weather information 413 in the third region for a third time when the electronic device 200 is located in the third region (e.g., weather information 413 in the third region) -13:30 weather information (413-1) in region 1, 14:00 weather information (413-3) in region 3-2) and 2nd in region 2 for the 2nd time located in region 2 This corresponds to an embodiment in which weather information 412 (e.g., weather information at 15:00 in Gangneung) is provided.

다양한 실시 예에 따르면, 프로세서(209)는 제3 지역을 결정함에 있어서 전자 장치(200)의 상태를 고려할 수 있다. 예를 들어, 전자 장치(200)의 상태는 전자 장치(200)의 움직임, 전자 장치(200)의 자세 등과 관련된 것으로, 전자 장치(200)가 이동하는 상태, 전자 장치(200)가 회전하는 상태, 전자 장치(200)가 움직임 없이 정지하고 있는 상태 등을 포함할 수 있다. 또한, 전자 장치(200)의 상태는 전자 장치(200)의 이동 속도와 관련될 수도 있다.According to various embodiments, the processor 209 may consider the state of the electronic device 200 when determining the third region. For example, the state of the electronic device 200 is related to the movement of the electronic device 200, the posture of the electronic device 200, etc., such as a state in which the electronic device 200 is moving, a state in which the electronic device 200 is rotating. , may include a state in which the electronic device 200 is stationary without movement, etc. Additionally, the state of the electronic device 200 may be related to the moving speed of the electronic device 200.

일 실시 예에 따르면, 도 6a에 도시된 바와 같이, 프로세서(209)는 제1 지역에서 제2 지역으로 이동하기 위해 거치는 지역 중 적어도 일부 지역(예: 현재 위치, 홍천, 인제, 양양)에 대한 기상 정보 테이블(610)을 획득할 수 있다. 예를 들어, 기상 정보 테이블(610)은 해당 지역에 대하여 일정 시간 단위(예: 30분 단위)로 예측된 기상 정보(예: 오후 1시의 기상 정보, 오후 1시 30분의 기상 정보 등)를 포함할 수 있다.According to one embodiment, as shown in FIG. 6A, the processor 209 provides information on at least some regions (e.g., current location, Hongcheon, Inje, Yangyang) among the regions through which one passes to move from the first region to the second region. The weather information table 610 can be obtained. For example, the weather information table 610 contains weather information predicted in a certain time unit (e.g., 30 minutes) for the corresponding area (e.g., weather information at 1 PM, weather information at 1:30 PM, etc.) may include.

일 실시 예에 따르면, 프로세서(209)는, 도 6b의 참조 부호 620 내지 640에 도시된 바와 같이, 전자 장치(200)의 이동 속도에 기초하여, 기상 정보로 제공될 대상 지역을 결정할 수 있다.According to one embodiment, the processor 209 may determine a target area to be provided as weather information based on the moving speed of the electronic device 200, as shown in reference numerals 620 to 640 of FIG. 6B.

예를 들어, 도 6b의 620에 도시된 바와 같이, 제1 속도(예: 시속 10km)에 대응되는 전자 장치(200)의 이동 속도에 응답하여, 프로세서(209)는 제1 대상 지역(예: 홍천)을 결정하고, 제1 대상 지역에 대한 기상 정보를 제공할 수 있다. 이와 관련하여, 프로세서(209)는 제1 대상 지역으로의 이동이 완료되는 시간(예: 6시간 이후)을 예측하고, 예측된 시간에 대응되는 해당 지역의 기상 정보(예: 번개를 동반한 비)를 제공할 수 있다.For example, as shown at 620 in FIG. 6B, in response to the moving speed of the electronic device 200 corresponding to the first speed (e.g., 10 km per hour), the processor 209 moves the first target area (e.g., 10 km per hour). Hongcheon) can be determined and weather information for the first target area can be provided. In this regard, the processor 209 predicts the time at which movement to the first target area will be completed (e.g., after 6 hours), and provides weather information for the area corresponding to the predicted time (e.g., rain accompanied by lightning). ) can be provided.

다른 예로, 도 6b의 630에 도시된 바와 같이, 제2 속도(예: 시속 30km)에 대응되는 전자 장치(200)의 이동 속도에 응답하여, 프로세서(209)는 제2 대상 지역(예: 홍천, 인제)을 결정하고, 제2 대상 지역에 대한 기상 정보를 제공할 수 있다. 제2 대상 지역의 개수는 제1 대상 지역의 개수와 동일하거나 제1 대상 지역의 개수 보다 많을 수 있다. 또한, 전자 장치(200)의 위치와 제2 대상 지역 사이의 거리는 전자 장치(200)와 제1 대상 지역 사이의 거리와 동일하거나 전자 장치(200)와 제1 대상 지역 사이의 거리 보다 더 멀 수도 있다. 이와 관련하여, 프로세서(209)는 각 제2 대상 지역으로의 이동이 완료되는 시간을 예측하고, 예측된 시간에 대응되는 해당 지역의 기상 정보(예: 1시간 이후 홍천의 기상 정보, 2시간 이후 인제의 기상 정보)를 제공할 수 있다.As another example, as shown at 630 in FIG. 6B, in response to the moving speed of the electronic device 200 corresponding to the second speed (e.g., 30 km per hour), the processor 209 moves the second target area (e.g., Hongcheon) , Inje) can be determined, and weather information for the second target area can be provided. The number of second target areas may be the same as the number of first target areas or may be greater than the number of first target areas. Additionally, the distance between the location of the electronic device 200 and the second target area may be the same as the distance between the electronic device 200 and the first target area or may be further than the distance between the electronic device 200 and the first target area. there is. In this regard, the processor 209 predicts the time at which movement to each second target area is completed, and provides weather information for the area corresponding to the predicted time (e.g., weather information for Hongcheon after 1 hour, weather information for Hongcheon after 2 hours) Inje weather information) can be provided.

또 다른 예로, 도 6b의 640에 도시된 바와 같이, 제3 속도(예: 시속 60km)에 대응되는 전자 장치(200)의 이동 속도에 응답하여, 프로세서(209)는 제3 대상 지역(예: 홍천, 양양)을 결정하고, 제3 대상 지역에 대한 기상 정보를 제공할 수 있다. 이와 관련하여, 프로세서(209)는 각 제3 대상 지역으로의 이동이 완료되는 시간을 예측하고, 예측된 시간에 대응되는 해당 지역의 기상 정보(예: 1시간 이후 홍천의 기상 정보, 2시간 이후 양양의 기상 정보)를 제공할 수 있다. 또한, 제3 대상 지역의 개수는 제2 대상 지역의 개수와 동일하거나 제2 대상 지역의 개수 보다 많을 수 있다. 또한, 전자 장치(200)의 위치와 제3 대상 지역 사이의 거리는 전자 장치(200)와 제2 대상 지역 사이의 거리와 동일하거나 전자 장치(200)와 제2 대상 지역 사이의 거리 보다 더 멀 수도 있다.As another example, as shown at 640 in FIG. 6B, in response to the moving speed of the electronic device 200 corresponding to a third speed (e.g., 60 km per hour), the processor 209 moves a third target area (e.g., 60 km per hour). Hongcheon, Yangyang) can be determined and weather information for the third target area can be provided. In this regard, the processor 209 predicts the time at which movement to each third target area is completed, and provides weather information in the area corresponding to the predicted time (e.g., weather information in Hongcheon after 1 hour, weather information in Hongcheon after 2 hours) Yangyang weather information) can be provided. Additionally, the number of third target areas may be the same as the number of second target areas or may be greater than the number of second target areas. Additionally, the distance between the location of the electronic device 200 and the third target area may be the same as the distance between the electronic device 200 and the second target area or may be further than the distance between the electronic device 200 and the second target area. there is.

그러나, 도 6a 및 도 6b를 통해 설명한 대상 지역을 결정하는 방법은 하나의 실시 예로, 다양한 실시 예들이 이에 한정되는 것은 아니다. 예컨대, 적어도 하나의 대상 지역은 전자 장치(200)의 사용자가 이용 중인 이동 수단의 종류에 기초하여 결정될 수도 있다. 예를 들어, 전자 장치(200)의 사용자가 제1 이동 수단(예: 기차)을 이용하여 제2 지역(예: 강릉)으로 이동하는 상황에서, 프로세서(209)는 제1 이동 수단이 정차하는 기차역이 위치한 적어도 하나의 지역을 대상 지역으로 결정할 수 있다. 또한, 전자 장치(200)의 사용자가 제2 이동 수단(예: 버스)을 이용하여 제2 지역(예: 강릉)으로 이동하는 상황에서, 프로세서(209)는 제2 이동 수단이 정차하는 터미널이 위치한 적어도 하나의 지역을 대상 지역으로 결정할 수도 있다.However, the method of determining the target area described with reference to FIGS. 6A and 6B is one embodiment, and various embodiments are not limited thereto. For example, at least one target area may be determined based on the type of transportation being used by the user of the electronic device 200. For example, in a situation where the user of the electronic device 200 moves to a second area (e.g., Gangneung) using a first means of transportation (e.g., a train), the processor 209 determines whether the first means of transportation stops. At least one area where a train station is located can be determined as the target area. Additionally, in a situation where the user of the electronic device 200 moves to a second area (e.g., Gangneung) using a second means of transportation (e.g., a bus), the processor 209 determines the terminal at which the second means of transportation stops. At least one located area may be determined as the target area.

전술한 바와 같이, 프로세서(209)는 디스플레이 모듈을 통해 다수의 지역들에 대응하는 기상 정보들을 출력할 수 있다. 하지만, 디스플레이 모듈의 제한된 사이즈에 의해, 출력되는 기상 정보의 개수도 제한될 수 있다. 이에, 출력될 기상 정보의 개수가 지정된 개수를 초과하지 않는 경우, 프로세서(209)는 기상 정보를 제1 사이즈로 출력할 수 있다. 또한, 출력될 기상 정보의 개수가 지정된 개수를 초과하는 경우에는, 프로세서(209)는 기상 정보를 제1 사이즈 보다 축소된 제2 사이즈로 출력할 수 있다. 하지만, 기상 정보가 제2 사이즈로 축소되어 출력되는 경우, 축소된 사이즈에 의해 기상 정보에 대한 가독성 또는 시인성이 저하되는 문제점이 발생될 수 있다.As described above, the processor 209 can output weather information corresponding to multiple regions through the display module. However, due to the limited size of the display module, the number of weather information output may be limited. Accordingly, when the number of weather information to be output does not exceed the designated number, the processor 209 may output the weather information in the first size. Additionally, when the number of weather information to be output exceeds the designated number, the processor 209 may output the weather information in a second size smaller than the first size. However, when the weather information is reduced to the second size and output, a problem may occur in which the readability or visibility of the weather information is reduced due to the reduced size.

다양한 실시 예에 따른 프로세서(209)는, 기상 정보에 대한 가독성 또는 시인성의 저하를 방지하기 위해서, 도 4의 참조 부호 420에 도시된 바와 같이, 지정된 개수를 초과하는 기상 정보 중 일부(423)(예: 제1 기상 정보(411), 제3 기상 정보(413-1), (413-3))만 제1 사이즈로 출력하고, 나머지 기상 정보에 대한 출력을 배제할 수 있다. 이때, 프로세서(209)는 스크롤 아이콘(424)을 디스플레이 모듈을 통해 출력하고, 출력되지 않는 기상 정보의 적어도 일부(예: 제2 기상 정보(412))는 스크롤 아이콘(424)에 대한 입력에 기반하여 출력되도록 처리할 수 있다.In order to prevent deterioration of readability or visibility of weather information, the processor 209 according to various embodiments, as shown by reference numeral 420 in FIG. 4, stores some 423 (423) of the weather information exceeding the designated number. Example: Only the first weather information 411, third weather information 413-1, and 413-3) may be output in the first size, and output of the remaining weather information may be excluded. At this time, the processor 209 outputs the scroll icon 424 through the display module, and at least part of the weather information that is not output (e.g., the second weather information 412) is based on the input to the scroll icon 424. It can be processed to be output.

다른 실시 예로, 도 4의 참조 부호 430에 도시된 바와 같이, 프로세서(209)는 변화가 발생되지 않은 기상 정보에 대한 출력을 배제할 수 있다. 예컨대, 전자 장치(200)가 제1 지역(예: 우면동)을 출발하여 제3-1 지역(예: 광주시), 제3-2 지역(예: 원주시)을 거쳐 제2 지역(예: 강릉)으로 이동하는 상황에서, 제3-1 지역의 기상 정보(413-1)(예: 맑음)와 제1 지역의 기상 정보(예: 맑음)가 변화 없이 동일한 경우, 프로세서(209)는 제3-1 지역의 기상 정보(413-1)에 대한 출력을 배제할 수 있다. 또한, 도시된 바와 같이, 프로세서(209)는 제1 지역의 기상 정보(411), 제3-2 지역의 기상 정보(413-3) 및 제2 지역의 기상 정보(412)만 출력(423)할 수도 있다.다른 예로, 프로세서(209)는 현재 지역에 대한 기상 정보(예: 제1 지역의 기상 정보(411))와 이동이 예정된 지역에 대한 기상 정보(예: 제3-3 지역의 기상 정보(413-3))를 비교하고, 기상 정보의 변화가 예상되는 경우 이동이 예정된 지역에 대하여 기상 정보를 제공할 수 있다. 또한, 프로세서(209)는 기상 정보의 변화가 없는 지역 또는 기상 정보의 변화가 작은 지역에 대하여는 기상 정보의 제공을 배제할 수 있다. In another embodiment, as shown by reference numeral 430 in FIG. 4, the processor 209 may exclude output for weather information in which no change has occurred. For example, the electronic device 200 departs from the first area (e.g., Umyeon-dong), passes through the 3-1 area (e.g., Gwangju-si), and the 3-2 area (e.g., Wonju-si) to the second area (e.g., Gangneung). In a situation of moving to, if the weather information 413-1 (e.g., clear) of the 3-1 region and the weather information (e.g., clear) of the 1st region are the same without change, the processor 209 may 1 Output of local weather information (413-1) can be excluded. Additionally, as shown, the processor 209 outputs only the weather information 411 of the first region, the weather information 413-3 of the 3-2 region, and the weather information 412 of the second region (423). As another example, the processor 209 may provide weather information for the current area (e.g., weather information for the first area 411) and weather information for the area where movement is scheduled to be performed (e.g., weather information for the third area. Information (413-3)) can be compared, and if a change in weather information is expected, weather information can be provided for the area where movement is scheduled. Additionally, the processor 209 may exclude provision of weather information to areas where there is no change in weather information or to areas where there is little change in weather information.

예컨대, 프로세서(209)는 현재 지역은 맑은 날씨이나 이동이 예정된 지역에는 비가 오는 날씨 정보를 확인하는 경우 기상 정보의 변화가 감지되었다고 판단할 수 있다. 또한, 프로세서(209)는 현재 지역은 맑은 날씨이며 이동이 예정된 지역에도 맑은 날씨이나 두 지역 간에 예측된 기온이 일정 수준(예: 5°) 이상으로 차이나는 경우에도 기상 정보의 변화가 감지되었다고 판단할 수 있다. 또한, 프로세서(209)는 현재 지역은 눈이 오는 날씨이며 이동이 예정된 지역에도 눈이 오는 날씨이나 두 지역 간에 예측된 적설량이 일정 수준(예: 3cm) 이상으로 차이나는 경우에도 기상 정보의 변화가 감지되었다고 판단할 수도 있다.For example, the processor 209 may determine that a change in weather information has been detected when checking weather information showing that the weather is clear in the current area but rainy in the area where movement is scheduled. In addition, the processor 209 determines that a change in weather information has been detected even when the weather is clear in the current region and the weather is also clear in the area where movement is scheduled, but the predicted temperature between the two regions differs by more than a certain level (e.g., 5°). can do. In addition, the processor 209 detects changes in weather information even when it is snowy in the current region and snowy weather is also present in the area where movement is scheduled, or if the predicted snowfall amount between the two regions differs by more than a certain level (e.g., 3 cm). It may be determined that it has been detected.

다양한 실시 예에 따르면, 프로세서(209)는 전자 장치(200)의 위치 정보에 기초하여 기상 정보를 업데이트할 수 있다.According to various embodiments, the processor 209 may update weather information based on location information of the electronic device 200.

이와 관련하여, 전자 장치(200)가 제1 지역(예: 우면동)을 출발하여 제3 지역(예: 광주시)을 거쳐 제2 지역(예: 강릉)으로 이동이 예상되는 상황을 가정하여 설명하도록 한다.In this regard, to explain assuming a situation in which the electronic device 200 is expected to depart from the first area (e.g., Umyeon-dong), pass through the third area (e.g., Gwangju City), and move to the second area (e.g., Gangneung). do.

일 실시 예에 따르면, 프로세서(209)는 적어도 하나의 기상 정보를 제공하는 동안 전자 장치(200)에 대한 위치 정보를 획득할 수 있다. 예를 들어, 프로세서(209)는, 도 5의 참조 부호 510에 도시된 바와 같이, 제1 지역(예: 우면동)에 대한 제1 기상 정보(512)(예: 맑음) 및 제2 지역(예: 강릉)에 대한 제2 기상 정보(514)(예: 비)를 제공하는 동안, 통신 회로(205)를 통해 위치 정보를 획득할 수 있다.According to one embodiment, the processor 209 may obtain location information about the electronic device 200 while providing at least one piece of weather information. For example, the processor 209, as shown by reference numeral 510 in FIG. 5, first weather information 512 (e.g., clear) for a first area (e.g., Umyeon-dong) and a second area (e.g., While providing the second weather information 514 (e.g., rain) for Gangneung), location information can be obtained through the communication circuit 205.

일 실시 예에 따르면, 프로세서(209)는, 도 5의 참조 부호 520 및 참조 부호 530에 도시된 바와 같이, 획득된 전자 장치(200)의 위치 정보에 기초하여, 제공 중인 기상 정보를 업데이트할 수 있다. 기상 정보의 업데이트는 전자 장치(200)가 거쳐간 지역에 대응하는 기상 정보의 제공을 중단하는 것을 포함할 수 있다. 또한, 기상 정보의 업데이트는 전자 장치(200)가 지나가지 않은 다른 지역에 대한 기상 정보를 새로이 제공하는 것을 포함할 수도 있다.According to one embodiment, the processor 209 may update the weather information being provided based on the acquired location information of the electronic device 200, as shown in reference numerals 520 and 530 in FIG. 5. there is. Updating the weather information may include stopping the provision of weather information corresponding to the area through which the electronic device 200 has passed. Additionally, updating weather information may include providing new weather information for another area that the electronic device 200 has not passed through.

예를 들어, 도 5의 참조 부호 520에 도시된 바와 같이, 프로세서(209)는 제1 지역을 벗어나는 상황에 대응되는 전자 장치(200)의 제1 위치 정보가 획득되는 경우, 제1 기상 정보에 대한 제공을 중단할 수 있다. 또한, 프로세서(209)는 제3 지역(예: 원주시)에 근접하는 전자 장치(200)의 제1 위치 정보가 획득되는 경우, 제1 기상 정보에 대한 제공을 중단할 수 있다. 이와 관련하여, 추가적으로 또는 선택적으로, 프로세서(209)는 제1 기상 정보의 제공 중단에 응답하여, 제3 지역에 대한 제3 기상 정보(522)를 제공할 수 있다. 다시 말해서, 프로세서(209)는 제1 위치 정보의 획득에 응답하여, 제3 기상 정보(522)와 제2 기상 정보(514)를 디스플레이 모듈을 통해 출력할 수 있다.For example, as shown by reference numeral 520 in FIG. 5, when first location information of the electronic device 200 corresponding to a situation of leaving the first area is obtained, the processor 209 adds the first weather information to the first weather information. provision may be discontinued. Additionally, the processor 209 may stop providing the first weather information when first location information of the electronic device 200 that is close to a third area (eg, Wonju City) is acquired. In this regard, additionally or alternatively, the processor 209 may provide third weather information 522 for a third region in response to the interruption of provision of the first weather information. In other words, the processor 209 may output the third weather information 522 and the second weather information 514 through the display module in response to obtaining the first location information.

일 실시 예에 따르면, 프로세서(209)는, 전자 장치(200)가 미리 지정된 지역으로의 이동을 완료할 때까지 기상 정보의 업데이트를 반복할 수 있다. 예를 들어, 도 5의 참조 부호 530에 도시된 바와 같이, 프로세서(209)는 미리 지정된 제2 지역에 근접하는 상황에 대응되는 전자 장치(200)의 제2 위치 정보가 획득되는 경우, 제3 기상 정보(522)에 대한 제공을 중단하고 제2 기상 정보(514)만 제공할 수 있다. 다른 예로, 프로세서(209)는 미리 지정된 제2 지역에 근접하는 상황에 대응되는 전자 장치(200)의 제2 위치 정보가 획득되는 경우, 제3 기상 정보(522) 외에 제2 기상 정보(514)의 제공도 중단할 수도 있다.According to one embodiment, the processor 209 may repeat updating the weather information until the electronic device 200 completes movement to a pre-designated area. For example, as shown by reference numeral 530 in FIG. 5, when second location information of the electronic device 200 corresponding to a situation in which the processor 200 approaches a pre-designated second area is obtained, the third Provision of weather information 522 may be stopped and only second weather information 514 may be provided. As another example, when second location information of the electronic device 200 corresponding to a situation approaching a pre-designated second area is acquired, the processor 209 may provide second weather information 514 in addition to third weather information 522. may also be discontinued.

도 5를 통해 설명한 기상 정보의 업데이트는 반드시 전자 장치(200)의 위치 정보에 기초하여 수행되는 것은 아니다. 예를 들어, 기상 정보의 업데이트는 전자 장치(200)의 이동 시간에 기초하여 수행될 수도 있다. 예컨대, 프로세서(209)는 전자 장치(200)의 이동이 시작되는 시점에 제1 기상 정보(512)와 제2 기상 정보(514)를 제공할 수 있다. 또한, 프로세서(209)는 전자 장치(200)의 이동이 감지된 후 제1 시간(예: 30분)이 경과되면 제1 기상 정보(512)의 제공을 중단하고 제3 기상 정보(522)를 제공할 수 있다. 또한, 프로세서(209)는 제1 기상 정보(512)의 제공이 중단된 후 제2 시간(예: 30분)이 경과되면 제3 기상 정보(522)의 제공을 중단할 수도 있다.The update of weather information explained with reference to FIG. 5 is not necessarily performed based on the location information of the electronic device 200. For example, updating weather information may be performed based on the travel time of the electronic device 200. For example, the processor 209 may provide first weather information 512 and second weather information 514 when the electronic device 200 begins to move. In addition, the processor 209 stops providing the first weather information 512 and provides the third weather information 522 when a first time (e.g., 30 minutes) has elapsed after the movement of the electronic device 200 is detected. can be provided. Additionally, the processor 209 may stop providing the third weather information 522 when a second time (eg, 30 minutes) elapses after the provision of the first weather information 512 is stopped.

추가적으로 또는 선택적으로, 다양한 실시 예에 따르면, 프로세서(209)는 기상 정보를 제공하는 동안, 기상 정보의 변화에 기초하여 전자 장치의 이동 경로를 추천할 수 있다. 일 실시 예에 따르면, 전자 장치(200)가 제1 지역(예: 우면동)을 출발하여 제3 지역(예: 광주시)을 거쳐 제2 지역(예: 강릉)으로 이동이 예상되고 제1 지역의 기상 정보(예: 맑음)와 제3 지역의 기상 정보(예: 폭설)의 차이가 일정 수준 이상인 경우, 프로세서(209)는 제3 지역을 통과하지 않고 제4 지역(예: 용인시)을 거쳐 제2 지역으로 이동하는 우회 경로를 추천할 수 있다.Additionally or alternatively, according to various embodiments, while providing weather information, the processor 209 may recommend a movement path for the electronic device based on changes in weather information. According to one embodiment, the electronic device 200 is expected to depart from the first area (e.g., Umyeon-dong) and move to the second area (e.g., Gangneung) through the third area (e.g., Gwangju-si) and move to the second area (e.g., Gangneung) in the first area. If the difference between the weather information (e.g., clear weather) and the weather information (e.g., heavy snow) in the third region is greater than a certain level, the processor 209 does not pass through the third region, but passes through the fourth region (e.g., Yongin-si) to the third region. A detour route to area 2 can be recommended.

다양한 실시 예에 따른 전자 장치(200)는 통신 회로(205), 디스플레이 모듈(예: 출력 모듈(203)) 및 상기 통신 회로(205) 및 상기 디스플레이 모듈과 전기적으로 연결된 프로세서(209)를 포함하고, 상기 프로세서(209)는 기상 정보 출력 이벤트에 응답하여 제1 지역에 대한 상기 이벤트가 감지된 제1 시간에 대응되는 제1 기상 정보를 상기 통신 회로(205)를 통해 획득하고, 상기 전자 장치(200)의 이동이 예상되는 제2 지역을 확인하고, 상기 전자 장치(200)가 상기 제2 지역으로의 이동을 완료하는 제2 시간을 예측하고, 상기 제2 지역에 대한 상기 제2 시간에 대응되는 제2 기상 정보를 상기 통신 회로(205)를 통해 획득하고, 상기 제1 기상 정보 및 상기 제2 기상 정보를 상기 디스플레이 모듈을 통해 출력하도록 구성될 수 있다.The electronic device 200 according to various embodiments includes a communication circuit 205, a display module (e.g., an output module 203), and a processor 209 electrically connected to the communication circuit 205 and the display module. , the processor 209 acquires first weather information corresponding to the first time at which the event for the first area is detected in response to the weather information output event through the communication circuit 205, and the electronic device ( Identifying a second area where movement of the electronic device 200 is expected, predicting a second time at which the electronic device 200 completes movement to the second area, and corresponding to the second time for the second area It may be configured to obtain second weather information through the communication circuit 205 and output the first weather information and the second weather information through the display module.

다양한 실시 예에 따르면, 상기 프로세서(209)는 상기 제1 기상 정보와 제2 기상 정보의 차이에 기초하여, 상기 제1 기상 정보 및 상기 제2 기상 정보 중 적어도 하나에 대한 출력을 배제하도록 구성될 수 있다.According to various embodiments, the processor 209 may be configured to exclude output for at least one of the first weather information and the second weather information based on the difference between the first weather information and the second weather information. You can.

다양한 실시 예에 따르면, 상기 프로세서(209)는 상기 제1 기상 정보와 상기 제2 기상 정보의 차이가 일정 수준 이상인 경우, 상기 제1 기상 정보 및 상기 제2 기상 정보를 출력하고, 상기 제1 기상 정보와 상기 제2 기상 정보의 차이가 일정 수준 미만인 경우, 상기 제1 기상 정보 및 상기 제2 기상 정보 중 하나만 출력하도록 구성될 수 있다.According to various embodiments, when the difference between the first weather information and the second weather information is greater than a certain level, the processor 209 outputs the first weather information and the second weather information, and outputs the first weather information and the second weather information. If the difference between the information and the second weather information is less than a certain level, it may be configured to output only one of the first weather information and the second weather information.

다양한 실시 예에 따르면, 상기 프로세서(209)는 상기 제1 지역과 상기 제2 지역에 기초하여, 제3 지역을 결정하고, 상기 제3 지역으로의 이동이 완료되는 제3 시간을 예측하고, 상기 제1 기상 정보 및 상기 제2 기상 정보 중 적어도 하나와 상기 제3 지역에 대한 상기 제3 시간에 대응되는 제3 기상 정보를 상기 디스플레이 모듈을 통해 출력하도록 구성될 수 있으며, 상기 제3 지역은 상기 제1 지역에서 제2 지역으로 이동하기 위해서, 상기 전자 장치(200)가 거쳐가는 적어도 하나의 지역을 포함할 수 있다.According to various embodiments, the processor 209 determines a third area based on the first area and the second area, predicts a third time when movement to the third area is completed, and It may be configured to output at least one of first weather information and the second weather information and third weather information corresponding to the third time for the third area through the display module, and the third area is the In order to move from the first area to the second area, the electronic device 200 may include at least one area through which it passes.

다양한 실시 예에 따르면, 상기 프로세서(209)는 상기 전자 장치(200)의 상태에 기초하여 상기 제1 기상 정보, 상기 제2 기상 정보 또는 상기 제3 기상 정보 중 적어도 하나를 업데이트 하도록 구성되며, 상기 전자 장치(200)의 상태는 상기 전자 장치(200)의 움직임 및 상기 전자 장치(200)의 자세 중 적어도 하나와 관련될 수 있다.According to various embodiments, the processor 209 is configured to update at least one of the first weather information, the second weather information, or the third weather information based on the state of the electronic device 200, The state of the electronic device 200 may be related to at least one of the movement of the electronic device 200 and the posture of the electronic device 200.

다양한 실시 예에 따르면, 상기 업데이트는 상기 전자 장치(200)가 거쳐간 지역에 대응하는 기상 정보의 제공을 중단하거나 상기 전자 장치(200)가 지나가지 않은 다른 지역에 대한 기상 정보를 새로이 제공하는 것을 포함할 수 있다.According to various embodiments, the update includes stopping the provision of weather information corresponding to the area through which the electronic device 200 passed or newly providing weather information about another area through which the electronic device 200 did not pass. can do.

다양한 실시 예에 따르면, 상기 프로세서(209)는 상기 전자 장치(200)의 상태에 기초하여 상기 제1 기상 정보, 상기 제2 기상 정보 또는 상기 제3 기상 정보 중 적어도 하나에 대한 업데이트 주기를 달리 설정하도록 구성될 수 있다.According to various embodiments, the processor 209 sets the update cycle for at least one of the first weather information, the second weather information, or the third weather information differently based on the state of the electronic device 200. It can be configured to do so.

다양한 실시 예에 따르면, 상기 전자 장치(200)는 적어도 하나의 센서 모듈(예: 수집 모듈(201))을 더 포함하며, 상기 프로세서(209)는 상기 적어도 하나의 센서 모듈을 통해 상기 전자 장치(200)의 이동과 관련된 정보를 획득하고, 상기 획득된 정보에 기초하여 상기 제2 지역을 결정하도록 구성될 수 있다.According to various embodiments, the electronic device 200 further includes at least one sensor module (e.g., a collection module 201), and the processor 209 detects the electronic device (200) through the at least one sensor module. 200) may be configured to obtain information related to the movement of the device and determine the second area based on the obtained information.

다양한 실시 예에 따르면, 상기 전자 장치(200)는 적어도 하나의 어플리케이션을 포함하는 메모리(207)를 더 포함하며, 상기 프로세서(209)는 상기 적어도 하나의 어플리케이션을 통해 지정되는 정보에 기초하여 상기 제2 지역을 결정하도록 구성될 수 있다.According to various embodiments, the electronic device 200 further includes a memory 207 including at least one application, and the processor 209 operates the 2 can be configured to determine the region.

다양한 실시 예에 따르면, 상기 프로세서(209)는 위젯 기능을 통해 상기 제1 기상 정보, 상기 제2 기상 정보 또는 상기 제3 기상 정보 중 적어도 하나를 출력하도록 구성될 수 있다.According to various embodiments, the processor 209 may be configured to output at least one of the first weather information, the second weather information, or the third weather information through a widget function.

이하, 도 7 내지 도 12를 참조하여 다양한 실시 예에 따른 전자 장치(200)의 동작 방법을 구체적으로 설명하기로 한다.Hereinafter, a method of operating the electronic device 200 according to various embodiments will be described in detail with reference to FIGS. 7 to 12.

도 7은 다양한 실시 예에 따른 전자 장치(200)에서 기상 정보를 제공하는 동작을 설명하기 위한 순서도(700)이다. 이하의 실시 예에서의 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다. 또한, 이하의 동작들 중 적어도 하나의 동작은 실시 예에 따라 생략될 수도 있다.FIG. 7 is a flowchart 700 for explaining an operation of providing weather information in the electronic device 200 according to various embodiments. Each operation in the following embodiments may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed, and at least two operations may be performed in parallel. Additionally, at least one of the following operations may be omitted depending on the embodiment.

도 7을 참조하면, 다양한 실시 예에 따른 전자 장치(200)(예: 프로세서(209))는, 710 동작에서, 제1 지역에 대한 제1 기상 정보를 획득할 수 있다. 일 실시 예에 따르면, 제1 지역은 제1 시간에 전자 장치(200)가 위치한 지역일 수 있다. 예컨대, 제1 지역은 전자 장치(200)가 현재 위치한 지역일 수 있다. 예를 들어, 전자 장치(200)는 제1 지역에 대한 제1 시간에 대응되는 제1 기상 정보(예: 도 3에 도시된 제1 기상 정보(312))를 획득할 수 있다.Referring to FIG. 7 , the electronic device 200 (eg, processor 209) according to various embodiments may acquire first weather information for the first region in operation 710. According to one embodiment, the first area may be an area where the electronic device 200 is located at the first time. For example, the first area may be the area where the electronic device 200 is currently located. For example, the electronic device 200 may acquire first weather information (eg, first weather information 312 shown in FIG. 3) corresponding to the first time for the first area.

다양한 실시 예에 따르면, 전자 장치(200)(예: 프로세서(209))는, 720 동작에서, 제2 지역에 대한 제1 기상 정보를 획득할 수 있다. 일 실시 예에 따르면, 제2 지역은 제1 시간과 상이한 제2 시간에 전자 장치(200)가 위치할 것으로 예측되는 지역일 수 있다. 예컨대, 제2 지역은 전자 장치(200)가 현재 위치에서 이동하고자 하는 다른 지역일 수 있다. 예를 들어, 전자 장치(200)는 제2 지역에 대한 제2 시간에 대응되는 제2 기상 정보(예: 도 3에 도시된 제2 기상 정보(332))를 획득할 수 있다.According to various embodiments, the electronic device 200 (eg, processor 209) may acquire first weather information for the second region in operation 720. According to one embodiment, the second area may be an area where the electronic device 200 is predicted to be located at a second time different from the first time. For example, the second area may be another area where the electronic device 200 wants to move from its current location. For example, the electronic device 200 may acquire second weather information (eg, second weather information 332 shown in FIG. 3) corresponding to a second time for the second area.

다양한 실시 예에 따르면, 전자 장치(200)(예: 프로세서(209))는, 730 동작에서, 제1 기상 정보 및 제2 기상 정보를 출력할 수 있다. 일 실시 예에 따르면, 전자 장치(200)는 제1 기상 정보와 제2 기상 정보를 함께 출력하거나 또는 제1 기상 정보와 제2 기상 정보를 교번하게 출력할 수 있다.According to various embodiments, the electronic device 200 (eg, processor 209) may output first weather information and second weather information in operation 730. According to one embodiment, the electronic device 200 may output the first weather information and the second weather information together or alternately output the first weather information and the second weather information.

도 8은 다양한 실시 예에 따른 전자 장치(200)에서 제2 기상 정보를 획득하는 동작을 설명하기 위한 순서도(800)이다. 이하에서 설명되는 도 8의 동작들은, 도 7의 720 동작에 대한 다양한 실시 예를 나타낸 것일 수 있다.FIG. 8 is a flowchart 800 for explaining an operation of acquiring second weather information in the electronic device 200 according to various embodiments. The operations of FIG. 8 described below may represent various embodiments of operation 720 of FIG. 7 .

도 8을 참조하면, 다양한 실시 예에 따른 전자 장치(200)(예: 프로세서(209))는, 전자 장치(200)가 제2 지역에 위치할 것이라 예측되는 시간에 대한 제2 지역의 제2 기상 정보를 획득할 수 있다 Referring to FIG. 8, the electronic device 200 (e.g., the processor 209) according to various embodiments may determine a second location in the second area for a time when the electronic device 200 is predicted to be located in the second area. You can obtain weather information

이와 관련하여, 다양한 실시 예에 따른 전자 장치(200)(예: 프로세서(209))는, 810 동작에서, 전자 장치(200)의 이동을 감지할 수 있다. 일 실시 예에 따르면, 전자 장치(200)는 현재 위치를 기준으로 일정 거리 이상의 이동이 감지되는지를 판단할 수 있다.In this regard, the electronic device 200 (eg, processor 209) according to various embodiments may detect movement of the electronic device 200 in operation 810. According to one embodiment, the electronic device 200 may determine whether movement of a certain distance or more is detected based on the current location.

다양한 실시 예에 따르면, 전자 장치(200)의 이동이 감지되지 않는 경우, 전자 장치(200)(예: 프로세서(209))는, 850 동작에서, 제1 지역에 대한 제1 기상 정보를 출력할 수 있다. 예를 들어, 제1 지역은 전자 장치(200)가 현재 위치한 지역일 수 있다. 일 실시 예에 따르면, 전자 장치(200)는 제1 지역에 대한 제1 시간에 대응되는 제1 기상 정보(예: 도 3에 도시된 제1 기상 정보(312))를 출력할 수 있다.According to various embodiments, when movement of the electronic device 200 is not detected, the electronic device 200 (e.g., processor 209) outputs first weather information for the first area in operation 850. You can. For example, the first area may be the area where the electronic device 200 is currently located. According to one embodiment, the electronic device 200 may output first weather information (eg, first weather information 312 shown in FIG. 3) corresponding to the first time for the first area.

다양한 실시 예에 따르면, 전자 장치(200)의 이동이 감지되는 경우, 전자 장치(200)(예: 프로세서(209))는, 820 동작에서, 사용자에 의해 적어도 하나의 제2 지역이 설정(예: 등록)되었는지를 판단할 수 있다. 전술한 바와 같이, 제2 지역은 전자 장치(200)가 현재 위치에서 이동하고자 하는 다른 지역일 수 있다. 예를 들어, 전자 장치(200)는 스케줄 어플리케이션에 등록된 일정 정보, 지도 어플리케이션(예: 네비게이션 어플리케이션)을 통해 지정되는 지역 정보(예: 출발지 정보, 목적지 정보), 티켓 발권 어플리케이션을 통해 지정되는 지역 정보 등에 기초하여 제2 지역에 대한 설정 여부를 판단할 수 있다.According to various embodiments, when movement of the electronic device 200 is detected, the electronic device 200 (e.g., processor 209) sets at least one second region (e.g., set by the user) in operation 820. : You can determine whether it has been registered. As described above, the second area may be another area to which the electronic device 200 wants to move from its current location. For example, the electronic device 200 may display schedule information registered in a schedule application, area information (e.g., departure point information, destination information) designated through a map application (e.g., navigation application), and area designated through a ticket issuance application. Based on information, etc., it can be determined whether to set up the second region.

다양한 실시 예에 따르면, 적어도 하나의 제2 지역이 설정되지 않은 경우, 전자 장치(200)(예: 프로세서(209))는, 860 동작에서, 전자 장치(200)의 현재 위치를 기준으로 인접한 제3 지역에 대한 제3 기상 정보를 획득할 수 있다. 인접한 제3 지역은 현재 전자 장치(200)가 위치한 행정 구역과 다른 행정 구역일 수 있다. 일 실시 예에 따르면, 전자 장치(200)는 장치(200)의 상태(예: 이동 속도, 이동 방향 등)에 기초하여 전자 장치가 이동할 지역으로 예상되는 하나 이상의 지역을 제3 지역으로 결정할 수도 있다.According to various embodiments, when at least one second region is not set, the electronic device 200 (e.g., the processor 209), in operation 860, selects a second region adjacent to the electronic device 200 based on the current location of the electronic device 200. You can obtain third-party weather information for 3 regions. The adjacent third region may be an administrative district different from the administrative district where the electronic device 200 is currently located. According to one embodiment, the electronic device 200 may determine one or more areas expected to move the electronic device as the third area based on the state of the device 200 (e.g., movement speed, direction of movement, etc.). .

다양한 실시 예에 따르면, 적어도 하나의 제2 지역이 설정된 경우, 전자 장치(200)(예: 프로세서(209))는, 830 동작 및 840 동작에서, 제2 지역에 대한 제2 기상 정보를 출력할 수 있다.According to various embodiments, when at least one second region is set, the electronic device 200 (e.g., processor 209) outputs second weather information for the second region in operations 830 and 840. You can.

일 실시 예에 따르면, 전자 장치(200)는, 803 동작에서, 제2 지역에 대한 도착 시간을 산출할 수 있다. 예를 들어, 전자 장치(200)는 전자 장치(200)의 이동 속도와 제2 지역까지의 거리에 기초하여 도착 시간을 산출할 수 있다.According to one embodiment, the electronic device 200 may calculate the arrival time for the second area in operation 803. For example, the electronic device 200 may calculate the arrival time based on the moving speed of the electronic device 200 and the distance to the second area.

일 실시 예에 따르면, 전자 장치(200)는, 840 동작에서, 산출된 도착 시간에 대한 제2 지역의 제2 기상 정보를 출력할 수 있다.According to one embodiment, the electronic device 200 may output second weather information for the second area for the calculated arrival time in operation 840.

도 9는 다양한 실시 예에 따른 전자 장치(200)에서 제2 기상 정보를 출력하는 동작을 설명하기 위한 순서도(900)이다. 이하에서 설명되는 도 9의 동작들은, 도 7의 730 동작에 대한 다양한 실시 예를 나타낸 것일 수 있다.FIG. 9 is a flowchart 900 for explaining an operation of outputting second weather information by the electronic device 200 according to various embodiments. The operations of FIG. 9 described below may represent various embodiments of operation 730 of FIG. 7 .

도 9를 참조하면, 다양한 실시 예에 따른 전자 장치(200)(예: 프로세서(209))는, 도 7의 710 동작에서 획득된 제1 기상 정보 및 720 동작에서 획득된 제2 기상 정보를 함께 출력하거나 또는 둘 중 어느 하나에 대한 출력을 배제할 수 있다.Referring to FIG. 9, the electronic device 200 (e.g., processor 209) according to various embodiments combines the first weather information obtained in operation 710 of FIG. 7 and the second weather information obtained in operation 720. You can output or exclude output for either one.

이와 관련하여, 다양한 실시 예에 따른 전자 장치(200)(예: 프로세서(209))는, 910 동작에서, 제1 기상 정보와 상이한 제2 기상 정보가 획득되는지 판단할 수 있다. 일 실시 예에 따르면, 전자 장치(200)는 제1 지역에 대한 제1 기상 정보와 변화가 있는 제2 지역에 대한 제2 기상 정보가 획득되는지 여부를 판단할 수 있다.In this regard, the electronic device 200 (e.g., processor 209) according to various embodiments may determine whether second weather information different from the first weather information is obtained in operation 910. According to one embodiment, the electronic device 200 may determine whether the first weather information for the first area and the second weather information for the second area where there is a change are obtained.

다양한 실시 예에 따르면, 제1 기상 정보와 상이한 제2 기상 정보가 획득되는 경우, 전자 장치(200)(예: 프로세서(209))는, 920 동작에서, 제1 기상 정보와 제2 기상 정보를 함께 출력할 수 있다. 예를 들어, 전자 장치(200)는 현재 지역(예: 제1 지역)에 대한 기상 정보(예: 제1 기상 정보)와 이동이 예정된 지역(예: 제2 지역)에 대한 기상 정보(예: 제2 기상 정보)를 비교하고, 두 지역 간의 예측된 기상 정보가 일정 수준 이상으로 차이가 나는 경우, 이동이 예정된 지역에 대하여 기상 정보를 제공할 수 있다.According to various embodiments, when second weather information different from the first weather information is acquired, the electronic device 200 (e.g., the processor 209) collects the first weather information and the second weather information in operation 920. They can be printed together. For example, the electronic device 200 may provide weather information (e.g., first weather information) for the current area (e.g., first area) and weather information (e.g., first weather information) for the area in which movement is scheduled (e.g., second area). second weather information), and if the predicted weather information between the two regions differs by more than a certain level, weather information can be provided for the area where movement is scheduled.

다양한 실시 예에 따르면, 제1 기상 정보와 동일한 제2 기상 정보가 획득되는 경우, 전자 장치(200)(예: 프로세서(209))는, 930 동작에서, 제1 기상 정보 및 제2 기상 정보 중 어느 하나를 출력하고 다른 하나에 대한 출력을 배제할 수 있다. 일 실시 예에 따르면, 전자 장치(200)는 제1 기상 정보를 출력하고 제2 기상 정보에 대한 출력을 배제할 수 있다. 다른 실시 예에 따르면, 전자 장치(200)는 제1 기상 정보에 대한 출력을 배제하고 제2 기상 정보를 출력할 수 있다. 예를 들어, 전자 장치(200)는 현재 지역(예: 제1 지역)에 대한 기상 정보(예: 제1 기상 정보)와 이동이 예정된 지역(예: 제2 지역)에 대한 기상 정보(예: 제2 기상 정보)를 비교하고, 두 지역 간의 예측된 기상 정보가 일정 수준 이상으로 차이가 나지 않는 경우, 이동이 예정된 지역에 대한 기상 정보를 제공하지 않을 수 있다.According to various embodiments, when the same second weather information as the first weather information is acquired, the electronic device 200 (e.g., the processor 209) selects one of the first weather information and the second weather information in operation 930. You can output one and exclude output for the other. According to one embodiment, the electronic device 200 may output the first weather information and exclude output of the second weather information. According to another embodiment, the electronic device 200 may exclude output of the first weather information and output the second weather information. For example, the electronic device 200 may provide weather information (e.g., first weather information) for the current area (e.g., first area) and weather information (e.g., first weather information) for the area in which movement is scheduled (e.g., second area). (second weather information) is compared, and if the predicted weather information between the two regions does not differ by more than a certain level, weather information for the area where movement is scheduled may not be provided.

도 10은 다양한 실시 예에 따른 전자 장치(200)에서 제2 기상 정보를 출력하는 동작을 설명하기 위한 순서도(1000)이다. 이하에서 설명되는 도 10의 동작들은, 도 7의 730 동작 및/또는 도 9의 920 동작에 대한 다양한 실시 예를 나타낸 것일 수 있다.FIG. 10 is a flowchart 1000 for explaining an operation of outputting second weather information by the electronic device 200 according to various embodiments. The operations of FIG. 10 described below may represent various embodiments of operation 730 of FIG. 7 and/or operation 920 of FIG. 9.

도 10을 참조하면, 다양한 실시 예에 따른 전자 장치(200)(예: 프로세서(209))는, 제1 기상 정보 및 제2 기상 정보 외에, 하나 이상의 제3 지역에 대한 기상 정보를 제공할 수도 있다.Referring to FIG. 10, the electronic device 200 (e.g., processor 209) according to various embodiments may provide weather information for one or more third regions in addition to first weather information and second weather information. there is.

이와 관련하여, 다양한 실시 예에 따른 전자 장치(200)(예: 프로세서(209))는, 1010 동작에서, 제1 지역 및 제2 지역에 기초하여 적어도 하나의 제3 지역을 결정할 수 있다. 예를 들어, 제3 지역은 제1 지역에서 제2 지역으로 이동하기 위해서, 전자 장치(200)가 거쳐가는 지역(예: 행정 구역 또는 랜드마크)을 포함할 수 있다. 다른 예로, 제3 지역은 전자 장치(200)의 현재 위치를 기준으로 인접한 다른 지역일 수 있다.In this regard, the electronic device 200 (eg, processor 209) according to various embodiments may determine at least one third region based on the first region and the second region in operation 1010. For example, the third area may include an area (eg, an administrative district or a landmark) through which the electronic device 200 passes in order to move from the first area to the second area. As another example, the third area may be another area adjacent to the current location of the electronic device 200.

다양한 실시 예에 따르면, 전자 장치(200)(예: 프로세서(209))는, 1020 동작에서, 적어도 하나의 제3 지역에 대한 도착 시간을 예측할 수 있다. 일 실시 예에 따르면, 전자 장치(200)는 전자 장치(200)의 현재 위치와 제3 지역까지의 거리 및 전자 장치(200)의 이동 속도에 기초하여, 전자 장치(200)가 제3 지역에 도착할 것으로 예상되는 시간을 산출할 수 있다.According to various embodiments, the electronic device 200 (eg, processor 209) may predict the arrival time for at least one third region in operation 1020. According to one embodiment, the electronic device 200 is located in the third area based on the current location of the electronic device 200, the distance to the third area, and the moving speed of the electronic device 200. The expected arrival time can be calculated.

다양한 실시 예에 따르면, 전자 장치(200)(예: 프로세서(209))는, 1030 동작에서, 예측된 도착 시간에 기초하여 제3 지역에 대한 기상 정보를 획득할 수 있다. 일 실시 예에 따르면, 제3 기상 정보는 예측된 도착 시간에 대한 제3 지역의 기상 정보일 수 있다.According to various embodiments, the electronic device 200 (eg, processor 209) may obtain weather information for the third region based on the predicted arrival time in operation 1030. According to one embodiment, the third weather information may be weather information of a third region about the predicted arrival time.

다양한 실시 예에 따르면, 전자 장치(200)(예: 프로세서(209))는, 1030 동작에서, 제2 기상 정보 및 제3 기상 정보를 출력할 수 있다. 일 실시 예에 따르면, 전자 장치(200)는 제2 기상 정보 및 제3 기상 정보를 제1 기상 정보와 함께 출력할 수도 있다.According to various embodiments, the electronic device 200 (eg, processor 209) may output second weather information and third weather information in operation 1030. According to one embodiment, the electronic device 200 may output the second weather information and the third weather information together with the first weather information.

도 11은 다양한 실시 예에 따른 전자 장치(200)에서 기상 정보를 업데이트하는 동작을 설명하기 위한 순서도(1100)이다. 이하에서 설명되는 도 11의 동작들은, 도 7의 730 동작, 도 9의 920 동작 또는 도 10의 1040 동작 중 적어도 하나에 대한 다양한 실시 예를 나타낸 것일 수 있다.FIG. 11 is a flowchart 1100 for explaining an operation of updating weather information in the electronic device 200 according to various embodiments. The operations of FIG. 11 described below may represent various embodiments of at least one of operation 730 of FIG. 7, operation 920 of FIG. 9, or operation 1040 of FIG. 10.

도 11을 참조하면, 다양한 실시 예에 따른 전자 장치(200)(예: 프로세서(209))는, 지정된 이벤트의 발생에 기초하여 제1 기상 정보 및/또는 제2 기상 정보를 업데이트할 수 있다.Referring to FIG. 11 , the electronic device 200 (eg, processor 209) according to various embodiments may update first weather information and/or second weather information based on the occurrence of a designated event.

이와 관련하여, 다양한 실시 예에 따른 전자 장치(200)(예: 프로세서(209))는, 1110 동작에서, 전자 장치(200)의 상태와 관련된 정보를 획득할 수 있다. 일 실시 예에 따르면, 전자 장치(200)의 상태는 전자 장치(200)의 움직임, 전자 장치(200)의 자세 등과 관련된 것으로, 전자 장치(200)가 이동하는 상태, 전자 장치(200)가 회전하는 상태, 전자 장치(200)가 움직임 없이 정지하고 있는 상태 등을 포함할 수 있다. 또한, 전자 장치(200)의 상태는 전자 장치(200)의 이동 속도와 관련될 수도 있다.In this regard, the electronic device 200 (eg, processor 209) according to various embodiments may obtain information related to the state of the electronic device 200 in operation 1110. According to one embodiment, the state of the electronic device 200 is related to the movement of the electronic device 200, the posture of the electronic device 200, etc., and the state in which the electronic device 200 is moving and the electronic device 200 is rotating. This may include a state in which the electronic device 200 is stopped without movement, etc. Additionally, the state of the electronic device 200 may be related to the moving speed of the electronic device 200.

다양한 실시 예에 따르면, 전자 장치(200)(예: 프로세서(209))는, 1120 동작에서, 획득된 정보에 기초하여 기상 정보 업데이트 이벤트가 감지되는지를 판단할 수 있다.According to various embodiments, the electronic device 200 (eg, processor 209) may determine whether a weather information update event is detected based on the obtained information in operation 1120.

일 실시 예에 따르면, 전자 장치(200)는 획득된 정보에 기초하여 전자 장치(200)의 위치(예: 현재 위치)를 확인할 수 있다. 이에, 전자 장치(200)는 제1 지역을 벗어나는 상황을 기상 정보 업데이트 이벤트로 감지할 수 있다.According to one embodiment, the electronic device 200 may confirm the location (eg, current location) of the electronic device 200 based on the acquired information. Accordingly, the electronic device 200 may detect a situation leaving the first area as a weather information update event.

다른 실시 예에 따르면, 전자 장치(200)는 획득된 정보에 기초하여 전자 장치(200)의 사용자가 이용 중인 이동 수단의 종류를 확인할 수 있다. 이에, 전자 장치(200)는 미리 지정된 종류의 이동 수단이 확인되거나 또는 사용자가 이동 중에 이동 수단을 변경하는 상황을 기상 정보 업데이트 이벤트로 감지할 수 있다.According to another embodiment, the electronic device 200 may check the type of transportation means being used by the user of the electronic device 200 based on the acquired information. Accordingly, the electronic device 200 may detect a situation in which a pre-designated type of transportation means is confirmed or the user changes the transportation method while moving as a weather information update event.

다양한 실시 예에 따르면, 기상 정보 업데이트 이벤트가 감지되지 않으면, 전자 장치(200)(예: 프로세서(209))는, 1150 동작에서, 제1 기상 정보, 제2 기상 정보 또는 제3 기상 정보 중 적어도 하나에 대한 출력을 유지할 수 있다.According to various embodiments, if a weather information update event is not detected, the electronic device 200 (e.g., the processor 209), in operation 1150, updates at least one of the first weather information, the second weather information, and the third weather information. You can keep the output for one.

다양한 실시 예에 따르면, 기상 정보 업데이트 이벤트가 감지되면, 전자 장치(200)(예: 프로세서(209))는, 1130 동작에서, 적어도 하나의 제3 지역을 결정할 수 있다. 일 실시 예에 따르면, 전자 장치(200)는 제1 지역과 제2 지역 사이에 존재하는 다수의 제3 지역 중, 전자 장치(200)가 거쳐가지 않은 제3 지역을 결정할 수 있다.According to various embodiments, when a weather information update event is detected, the electronic device 200 (eg, processor 209) may determine at least one third region in operation 1130. According to one embodiment, the electronic device 200 may determine a third area that the electronic device 200 has not passed through among a plurality of third areas existing between the first area and the second area.

다양한 실시 예에 따르면, 전자 장치(200)(예: 프로세서(209))는, 1140 동작에서, 결정된 제3 지역에 기초하여 기상 정보를 갱신할 수 있다. 일 실시 예에 따르면, 전자 장치(200)는 결정되는 제3 지역에 대한 도착 시간을 예측하고, 예측된 도착 시간에 대한 제3 지역의 기상 정보를 출력할 수 있다.According to various embodiments, the electronic device 200 (eg, processor 209) may update weather information based on the determined third region in operation 1140. According to one embodiment, the electronic device 200 may predict the arrival time for the determined third area and output weather information on the third area for the predicted arrival time.

도 12는 다양한 실시 예에 따른 전자 장치(200)에서 기상 정보의 업데이트 주기를 조절하는 동작을 설명하기 위한 순서도(1200)이다. 이하에서 설명되는 도 12의 동작들은, 도 7의 730 동작, 도 9의 920 동작 또는 도 10의 1040 동작 중 적어도 하나에 대한 다양한 실시 예를 나타낸 것일 수 있다.FIG. 12 is a flowchart 1200 for explaining an operation of adjusting the update cycle of weather information in the electronic device 200 according to various embodiments. The operations of FIG. 12 described below may represent various embodiments of at least one of operation 730 of FIG. 7, operation 920 of FIG. 9, or operation 1040 of FIG. 10.

도 12를 참조하면, 다양한 실시 예에 따른 전자 장치(200)(예: 프로세서(209))는, 기상 정보를 제공하는 동안 전자 장치(200)의 상태와 관련된 정보를 획득할 수 있으며, 획득되는 정보에 기초하여 기상 정보의 업데이트 주기를 달리 설정할 수 있다.Referring to FIG. 12, the electronic device 200 (e.g., the processor 209) according to various embodiments may obtain information related to the state of the electronic device 200 while providing weather information, and the obtained The update cycle of weather information can be set differently based on the information.

이와 관련하여, 다양한 실시 예에 따른 전자 장치(200)(예: 프로세서(209))는, 1210 동작에서, 기상 정보(예: 제1 기상 정보, 제2 기상 정보 또는 제3 기상 정보 중 적어도 하나의 기상 정보)가 제공되는 동안 획득되는 전자 장치(200)의 상태와 관련된 정보가 지정된 조건을 만족하는지 여부를 판단할 수 있다.In this regard, the electronic device 200 (e.g., processor 209) according to various embodiments, in operation 1210, generates weather information (e.g., at least one of first weather information, second weather information, or third weather information). It may be determined whether information related to the state of the electronic device 200 obtained while the weather information) satisfies specified conditions.

일 실시 예에 따르면, 전자 장치(200)는 획득된 정보에 기초하여 전자 장치(200)의 이동 속도를 확인할 수 있다. 이에, 전자 장치(200)는 전자 장치(200)의 이동 속도 지정된 기준 속도에 대응되는지 여부를 판단할 수 있다.According to one embodiment, the electronic device 200 may check the movement speed of the electronic device 200 based on the acquired information. Accordingly, the electronic device 200 can determine whether the moving speed of the electronic device 200 corresponds to the designated reference speed.

다른 실시 예에 따르면, 전자 장치(200)는 획득된 정보에 기초하여, 미리 등록된 지역(예: 제2 지역 및/또는 제3 지역)까지의 남은 거리 및/또는 남은 시간을 확인할 수 있다. 이에, 전자 장치(200)는 미리 등록된 지역까지의 남은 거리 및/또는 남은 시간이 지정된 기준 거리 및/또는 기준 시간에 대응되는지 여부를 판단할 수 있다.According to another embodiment, the electronic device 200 may check the remaining distance and/or remaining time to a pre-registered area (eg, the second area and/or the third area) based on the acquired information. Accordingly, the electronic device 200 may determine whether the remaining distance and/or remaining time to the pre-registered area corresponds to the designated reference distance and/or reference time.

다양한 실시 예에 따르면, 지정된 조건을 만족하는 전자 장치(200)의 상태와 관련된 정보가 획득되는 경우, 전자 장치(200)(예: 프로세서(209))는, 1220 동작에서, 제1 주기에 기초하여 기상 정보를 업데이트할 수 있다. 일 실시 예에 따르면, 전자 장치(200)는 이동 속도가 기준 속도 보다 빠른 경우 또는 미리 등록된 지역까지의 남은 거리(및/또는 남은 시간)가 기준 거리 보다 먼 경우에 제1 주기로 기상 정보를 업데이트할 수 있다.According to various embodiments, when information related to the state of the electronic device 200 that satisfies a specified condition is obtained, the electronic device 200 (e.g., the processor 209), in operation 1220, based on the first cycle You can update weather information. According to one embodiment, the electronic device 200 updates weather information in the first cycle when the moving speed is faster than the reference speed or when the remaining distance (and/or remaining time) to a pre-registered area is longer than the reference distance. can do.

다양한 실시 예에 따르면, 지정된 조건을 만족하지 않는 전자 장치(200)의 상태와 관련된 정보가 획득되는 경우, 전자 장치(200)(예: 프로세서(209))는, 1230 동작에서, 제2 주기에 기초하여 기상 정보를 업데이트할 수 있다. 일 실시 예에 따르면, 전자 장치(200)는 이동 속도가 기준 속도 보다 느린 경우 또는 미리 등록된 지역까지의 남은 거리(및/또는 남은 시간)가 기준 거리 보다 짧은 경우에는, 제1 주기보다 느린 제2 주기로 기상 정보를 업데이트할 수 있다.According to various embodiments, when information related to the state of the electronic device 200 that does not satisfy a specified condition is obtained, the electronic device 200 (e.g., the processor 209), in operation 1230, in the second cycle. Weather information can be updated based on According to one embodiment, when the moving speed is slower than the reference speed or when the remaining distance (and/or remaining time) to a pre-registered area is shorter than the reference distance, the electronic device 200 may Weather information can be updated in two cycles.

다양한 실시 예에 따른 전자 장치(200)의 동작 방법은 기상 정보 출력 이벤트에 응답하여 제1 지역에 대한 상기 이벤트가 감지된 제1 시간에 대응되는 제1 기상 정보를 획득하는 동작, 상기 전자 장치(200)의 이동이 예상되는 제2 지역을 확인하는 동작, 상기 전자 장치(200)가 상기 제2 지역으로의 이동을 완료하는 제2 시간을 예측하는 동작, 상기 제2 지역에 대한 상기 제2 시간에 대응되는 제2 기상 정보를 획득하는 동작 및 상기 제1 기상 정보 및 상기 제2 기상 정보를 상기 전자 장치(200)의 디스플레이 모듈(예: 출력 모듈(203))을 통해 출력하는 동작을 포함할 수 있다.A method of operating the electronic device 200 according to various embodiments includes obtaining first weather information corresponding to a first time at which the event for a first area is detected in response to a weather information output event, the electronic device ( An operation of confirming a second area where the electronic device 200 is expected to move, an operation of predicting a second time at which the electronic device 200 completes movement to the second area, the second time for the second area It may include an operation of acquiring second weather information corresponding to and an operation of outputting the first weather information and the second weather information through a display module (e.g., output module 203) of the electronic device 200. You can.

다양한 실시 예에 따르면, 상기 전자 장치(200)의 동작 방법은 상기 제1 기상 정보와 제2 기상 정보의 차이에 기초하여, 상기 제1 기상 정보 및 상기 제2 기상 정보 중 적어도 하나에 대한 출력을 배제하는 동작을 포함할 수 있다.According to various embodiments, a method of operating the electronic device 200 outputs at least one of the first weather information and the second weather information based on the difference between the first weather information and the second weather information. May include exclusion actions.

다양한 실시 예에 따르면, 상기 전자 장치(200)의 동작 방법은 상기 제1 기상 정보와 상기 제2 기상 정보의 차이가 일정 수준 이상인 경우, 상기 제1 기상 정보 및 상기 제2 기상 정보를 출력하는 동작 및 상기 제1 기상 정보와 상기 제2 기상 정보의 차이가 일정 수준 미만인 경우, 상기 제1 기상 정보 및 상기 제2 기상 정보 중 하나만 출력하는 동작을 포함할 수 있다.According to various embodiments, a method of operating the electronic device 200 includes outputting the first weather information and the second weather information when the difference between the first weather information and the second weather information is greater than a certain level. And when the difference between the first weather information and the second weather information is less than a certain level, it may include an operation of outputting only one of the first weather information and the second weather information.

다양한 실시 예에 따르면, 상기 전자 장치(200)의 동작 방법은 상기 제1 지역과 상기 제2 지역에 기초하여, 제3 지역을 결정하는 동작, 상기 제3 지역으로의 이동이 완료되는 제3 시간을 예측하는 동작 및 상기 제1 기상 정보 및 상기 제2 기상 정보 중 적어도 하나와 상기 제3 지역에 대한 상기 제3 시간에 대응되는 제3 기상 정보를 상기 디스플레이 모듈을 통해 출력하는 동작을 포함하며, 상기 제3 지역은 상기 제1 지역에서 제2 지역으로 이동하기 위해서, 상기 전자 장치(200)가 거쳐가는 적어도 하나의 지역을 포함할 수 있다.According to various embodiments, a method of operating the electronic device 200 includes determining a third area based on the first area and the second area, and determining a third time when movement to the third area is completed. An operation of predicting and outputting at least one of the first weather information and the second weather information and third weather information corresponding to the third time for the third area through the display module, The third area may include at least one area through which the electronic device 200 passes in order to move from the first area to the second area.

다양한 실시 예에 따르면, 상기 전자 장치(200)의 동작 방법은 상기 전자 장치(200)의 상태에 기초하여 상기 제1 기상 정보, 상기 제2 기상 정보 또는 상기 제3 기상 정보 중 적어도 하나를 업데이트 하는 동작을 포함하며, 상기 전자 장치(200)의 상태는 상기 전자 장치(200)의 움직임 및 상기 전자 장치(200)의 자세 중 적어도 하나와 관련될 수 있다.According to various embodiments, a method of operating the electronic device 200 includes updating at least one of the first weather information, the second weather information, or the third weather information based on the state of the electronic device 200. It includes an operation, and the state of the electronic device 200 may be related to at least one of the movement of the electronic device 200 and the posture of the electronic device 200.

다양한 실시 예에 따르면, 상기 업데이트는 상기 전자 장치(200)가 거쳐간 지역에 대응하는 기상 정보의 제공을 중단하거나 상기 전자 장치(200)가 지나가지 않은 다른 지역에 대한 기상 정보를 새로이 제공하는 것을 포함할 수 있다.According to various embodiments, the update includes stopping the provision of weather information corresponding to the area through which the electronic device 200 passed or newly providing weather information about another area through which the electronic device 200 did not pass. can do.

다양한 실시 예에 따르면, 상기 전자 장치(200)의 동작 방법은 상기 전자 장치(200)의 상태에 기초하여 상기 제1 기상 정보, 상기 제2 기상 정보 또는 상기 제3 기상 정보 중 적어도 하나에 대한 업데이트 주기를 달리 설정하는 동작을 포함할 수 있다.According to various embodiments, a method of operating the electronic device 200 includes updating at least one of the first weather information, the second weather information, or the third weather information based on the state of the electronic device 200. It may include an operation to set the cycle differently.

다양한 실시 예에 따르면, 상기 전자 장치(200)의 동작 방법은 상기 전자 장치(200)의 이동과 관련된 정보를 획득하는 동작 및 상기 획득된 정보에 기초하여 상기 제2 지역을 결정하는 동작을 포함할 수 있다.According to various embodiments, a method of operating the electronic device 200 may include obtaining information related to the movement of the electronic device 200 and determining the second area based on the obtained information. You can.

다양한 실시 예에 따르면, 상기 전자 장치(200)의 동작 방법은 적어도 하나의 어플리케이션을 통해 지정되는 정보에 기초하여 상기 제2 지역을 결정하는 동작을 포함할 수 있다.According to various embodiments, a method of operating the electronic device 200 may include determining the second area based on information specified through at least one application.

다양한 실시 예에 따르면, 상기 전자 장치(200)의 동작 방법은 위젯 기능을 통해 상기 제1 기상 정보, 상기 제2 기상 정보 또는 상기 제3 기상 정보 중 적어도 하나를 출력하는 동작을 포함할 수 있다.According to various embodiments, a method of operating the electronic device 200 may include outputting at least one of the first weather information, the second weather information, or the third weather information through a widget function.

Claims (19)

전자 장치에 있어서,
통신 회로;
디스플레이 모듈; 및
상기 통신 회로 및 상기 디스플레이 모듈과 전기적으로 연결된 프로세서를 포함하고,
상기 프로세서는,
기상 정보 출력 이벤트에 응답하여, 제1 지역에 대한 상기 이벤트가 감지된 제1 시간에 대응되는 제1 기상 정보를 상기 통신 회로를 통해 획득하고,
상기 전자 장치의 이동이 예상되는 제2 지역을 확인하고,
상기 전자 장치가 상기 제2 지역으로의 이동을 완료하는 제2 시간을 예측하고,
상기 제2 지역에 대한 상기 제2 시간에 대응되는 제2 기상 정보를 상기 통신 회로를 통해 획득하고,
상기 제1 기상 정보 및 상기 제2 기상 정보를 상기 디스플레이 모듈을 통해 출력하도록 구성된 전자 장치.
In electronic devices,
communication circuit;
display module; and
Comprising a processor electrically connected to the communication circuit and the display module,
The processor,
In response to a weather information output event, obtain first weather information corresponding to a first time at which the event for a first area is detected through the communication circuit,
Identifying a second area where movement of the electronic device is expected to occur,
predict a second time at which the electronic device completes movement to the second area,
Obtaining second weather information corresponding to the second time for the second area through the communication circuit,
An electronic device configured to output the first weather information and the second weather information through the display module.
제1 항에 있어서,
상기 프로세서는,
상기 제1 기상 정보와 제2 기상 정보의 차이에 기초하여, 상기 제1 기상 정보 및 상기 제2 기상 정보 중 적어도 하나에 대한 출력을 배제하도록 구성된 전자 장치.
According to claim 1,
The processor,
An electronic device configured to exclude output for at least one of the first weather information and the second weather information, based on the difference between the first weather information and the second weather information.
제2 항에 있어서,
상기 프로세서는,
상기 제1 기상 정보와 상기 제2 기상 정보의 차이가 일정 수준 이상인 경우, 상기 제1 기상 정보 및 상기 제2 기상 정보를 출력하고,
상기 제1 기상 정보와 상기 제2 기상 정보의 차이가 일정 수준 미만인 경우, 상기 제1 기상 정보 및 상기 제2 기상 정보 중 하나만 출력하도록 구성된 전자 장치.
According to clause 2,
The processor,
If the difference between the first weather information and the second weather information is greater than a certain level, output the first weather information and the second weather information,
An electronic device configured to output only one of the first weather information and the second weather information when the difference between the first weather information and the second weather information is less than a certain level.
제1 항에 있어서,
상기 프로세서는,
상기 제1 지역과 상기 제2 지역에 기초하여, 제3 지역을 결정하고,
상기 제3 지역으로의 이동이 완료되는 제3 시간을 예측하고,
상기 제1 기상 정보 및 상기 제2 기상 정보 중 적어도 하나와 상기 제3 지역에 대한 상기 제3 시간에 대응되는 제3 기상 정보를 상기 디스플레이 모듈을 통해 출력하도록 구성되며,
상기 제3 지역은 상기 제1 지역에서 제2 지역으로 이동하기 위해서, 상기 전자 장치가 거쳐가는 적어도 하나의 지역을 포함하는 전자 장치.
According to claim 1,
The processor,
Based on the first region and the second region, determine a third region,
Predicting a third time at which movement to the third area is completed,
Configured to output at least one of the first weather information and the second weather information and third weather information corresponding to the third time for the third area through the display module,
The third area is an electronic device that includes at least one area through which the electronic device passes in order to move from the first area to the second area.
제4 항에 있어서,
상기 프로세서는,
상기 전자 장치의 상태에 기초하여 상기 제1 기상 정보, 상기 제2 기상 정보 또는 상기 제3 기상 정보 중 적어도 하나를 업데이트 하도록 구성되며,
상기 전자 장치의 상태는 상기 전자 장치의 움직임 및 상기 전자 장치의 자세 중 적어도 하나와 관련된 전자 장치.
According to clause 4,
The processor,
configured to update at least one of the first weather information, the second weather information, or the third weather information based on the state of the electronic device,
The state of the electronic device is related to at least one of a movement of the electronic device and a posture of the electronic device.
제5 항에 있어서,
상기 업데이트는,
상기 전자 장치가 거쳐간 지역에 대응하는 기상 정보의 제공을 중단하거나 상기 전자 장치가 지나가지 않은 다른 지역에 대한 기상 정보를 새로이 제공하는 것을 포함하는 전자 장치.
According to clause 5,
The update is,
An electronic device that includes stopping provision of weather information corresponding to an area that the electronic device passed through or providing new weather information for another area that the electronic device did not pass through.
제5 항에 있어서,
상기 프로세서는,
상기 전자 장치의 상태에 기초하여 상기 제1 기상 정보, 상기 제2 기상 정보 또는 상기 제3 기상 정보 중 적어도 하나에 대한 업데이트 주기를 달리 설정하도록 구성된 전자 장치.
According to clause 5,
The processor,
An electronic device configured to differently set an update cycle for at least one of the first weather information, the second weather information, and the third weather information based on the state of the electronic device.
제1 항에 있어서,
적어도 하나의 센서 모듈을 더 포함하며,
상기 프로세서는,
상기 적어도 하나의 센서 모듈을 통해 상기 전자 장치의 이동과 관련된 정보를 획득하고,
상기 획득된 정보에 기초하여 상기 제2 지역을 결정하도록 구성된 전자 장치.
According to claim 1,
It further includes at least one sensor module,
The processor,
Obtaining information related to movement of the electronic device through the at least one sensor module,
An electronic device configured to determine the second area based on the obtained information.
제1 항에 있어서,
적어도 하나의 어플리케이션을 포함하는 메모리를 더 포함하며,
상기 프로세서는,
상기 적어도 하나의 어플리케이션을 통해 지정되는 정보에 기초하여 상기 제2 지역을 결정하도록 구성된 전자 장치.
According to claim 1,
Further comprising a memory including at least one application,
The processor,
An electronic device configured to determine the second area based on information specified through the at least one application.
제4 항에 있어서,
상기 프로세서는,
위젯 기능을 통해 상기 제1 기상 정보, 상기 제2 기상 정보 또는 상기 제3 기상 정보 중 적어도 하나를 출력하도록 구성된 전자 장치.
According to clause 4,
The processor,
An electronic device configured to output at least one of the first weather information, the second weather information, or the third weather information through a widget function.
전자 장치의 동작 방법에 있어서,
기상 정보 출력 이벤트에 응답하여, 제1 지역에 대한 상기 이벤트가 감지된 제1 시간에 대응되는 제1 기상 정보를 획득하는 동작;
상기 전자 장치의 이동이 예상되는 제2 지역을 확인하는 동작;
상기 전자 장치가 상기 제2 지역으로의 이동을 완료하는 제2 시간을 예측하는 동작;
상기 제2 지역에 대한 상기 제2 시간에 대응되는 제2 기상 정보를 획득하는 동작; 및
상기 제1 기상 정보 및 상기 제2 기상 정보를 상기 전자 장치의 디스플레이 모듈을 통해 출력하는 동작을 포함하는 동작 방법.
In a method of operating an electronic device,
In response to a weather information output event, obtaining first weather information corresponding to a first time at which the event for a first area is detected;
An operation of identifying a second area where movement of the electronic device is expected to occur;
predicting a second time at which the electronic device completes movement to the second area;
Obtaining second weather information corresponding to the second time for the second area; and
An operating method comprising outputting the first weather information and the second weather information through a display module of the electronic device.
제11 항에 있어서,
상기 제1 기상 정보와 상기 제2 기상 정보의 차이가 일정 수준 이상인 경우, 상기 제1 기상 정보 및 상기 제2 기상 정보를 출력하는 동작; 및
상기 제1 기상 정보와 상기 제2 기상 정보의 차이가 일정 수준 미만인 경우, 상기 제1 기상 정보 및 상기 제2 기상 정보 중 하나만 출력하는 동작을 포함하는 동작 방법.
According to claim 11,
When a difference between the first weather information and the second weather information is greater than a certain level, outputting the first weather information and the second weather information; and
An operation method comprising outputting only one of the first weather information and the second weather information when the difference between the first weather information and the second weather information is less than a certain level.
제11 항에 있어서,
상기 제1 지역과 상기 제2 지역에 기초하여, 제3 지역을 결정하는 동작;
상기 제3 지역으로의 이동이 완료되는 제3 시간을 예측하는 동작; 및
상기 제1 기상 정보 및 상기 제2 기상 정보 중 적어도 하나와 상기 제3 지역에 대한 상기 제3 시간에 대응되는 제3 기상 정보를 상기 디스플레이 모듈을 통해 출력하는 동작을 포함하며,
상기 제3 지역은 상기 제1 지역에서 제2 지역으로 이동하기 위해서, 상기 전자 장치가 거쳐가는 적어도 하나의 지역을 포함하는 동작 방법.
According to claim 11,
determining a third region based on the first region and the second region;
predicting a third time at which movement to the third area is completed; and
Comprising the operation of outputting at least one of the first weather information and the second weather information and third weather information corresponding to the third time for the third area through the display module,
The third area includes at least one area through which the electronic device passes in order to move from the first area to the second area.
제13 항에 있어서,
상기 전자 장치의 상태에 기초하여 상기 제1 기상 정보, 상기 제2 기상 정보 또는 상기 제3 기상 정보 중 적어도 하나를 업데이트 하는 동작을 포함하며,
상기 전자 장치의 상태는 상기 전자 장치의 움직임 및 상기 전자 장치의 자세 중 적어도 하나와 관련된 동작 방법.
According to claim 13,
Comprising the operation of updating at least one of the first weather information, the second weather information, or the third weather information based on the state of the electronic device,
An operating method wherein the state of the electronic device is related to at least one of a movement of the electronic device and a posture of the electronic device.
제14 항에 있어서,
상기 업데이트는,
상기 전자 장치가 거쳐간 지역에 대응하는 기상 정보의 제공을 중단하거나 상기 전자 장치가 지나가지 않은 다른 지역에 대한 기상 정보를 새로이 제공하는 것을 포함하는 동작 방법.
According to claim 14,
The update is,
An operating method comprising stopping the provision of weather information corresponding to an area that the electronic device has passed through or newly providing weather information for another area that the electronic device has not passed through.
제14 항에 있어서,
상기 전자 장치의 상태에 기초하여 상기 제1 기상 정보, 상기 제2 기상 정보 또는 상기 제3 기상 정보 중 적어도 하나에 대한 업데이트 주기를 달리 설정하는 동작을 포함하는 동작 방법.
According to claim 14,
An operation method including setting an update cycle differently for at least one of the first weather information, the second weather information, and the third weather information based on the state of the electronic device.
제11 항에 있어서,
상기 전자 장치의 이동과 관련된 정보를 획득하는 동작; 및
상기 획득된 정보에 기초하여 상기 제2 지역을 결정하는 동작을 포함하는 동작 방법.
According to claim 11,
Obtaining information related to movement of the electronic device; and
An operation method comprising determining the second area based on the obtained information.
제11 항에 있어서,
적어도 하나의 어플리케이션을 통해 지정되는 정보에 기초하여 상기 제2 지역을 결정하는 동작을 포함하는 동작 방법.
According to claim 11,
An operating method comprising determining the second area based on information specified through at least one application.
제13 항에 있어서,
위젯 기능을 통해 상기 제1 기상 정보, 상기 제2 기상 정보 또는 상기 제3 기상 정보 중 적어도 하나를 출력하는 동작을 포함하는 동작 방법.
According to claim 13,
An operating method comprising outputting at least one of the first weather information, the second weather information, and the third weather information through a widget function.
KR1020220167696A 2022-12-02 2022-12-05 Method for providing weather information and electronic device supporting the same KR20240083493A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020220166708 2022-12-02
KR20220166708 2022-12-02

Publications (1)

Publication Number Publication Date
KR20240083493A true KR20240083493A (en) 2024-06-12

Family

ID=91469583

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220167696A KR20240083493A (en) 2022-12-02 2022-12-05 Method for providing weather information and electronic device supporting the same

Country Status (1)

Country Link
KR (1) KR20240083493A (en)

Similar Documents

Publication Publication Date Title
US11385684B2 (en) Method for controlling window and electronic device therefor
EP4163776A1 (en) Electronic device comprising display, and method for controlling display thereof
US20230230334A1 (en) Electronic device and method for displaying notification about external object
US20230262158A1 (en) Electronic device and method for operating in flex mode
US20230164103A1 (en) Electronic device providing notification and method for operating the same
US20230325214A1 (en) Method for preloading application and electronic device supporting same
KR20240083493A (en) Method for providing weather information and electronic device supporting the same
KR20220118785A (en) Electornic device and method for designating a geo-fence
US12020560B2 (en) Device and method of providing audiovisual content for the disabled
US11928263B2 (en) Electronic device for processing user input and method thereof
US20240201644A1 (en) Display control method and electronic device for supporting same
US20240054740A1 (en) Augmented reality device and electronic device interacting with augmented reality device
EP4395452A1 (en) Electronic device for communicating with wearable device, and control method therefor
US20240017728A1 (en) Electronic device and method for updating weather information based on activity state of user using the same
US20230262415A1 (en) Electronic device and operation method using a geo-fence
EP4394568A1 (en) Method for displaying execution screen of application, and electronic device for supporting same
KR20240010809A (en) Electronic device and method for updating weather information based on activity state of user using the same
KR20240034069A (en) Electronic device and method for transmitting signal for feedback
KR20230157838A (en) Operating method of server for predicting mobility of user equipment and server thereof
KR20240082963A (en) Electronic device and method for representing a visual object in a virtual environment
KR20230064495A (en) An electronic device and method using a geo-fence
KR20240074614A (en) Electronic device, method, and non-transitory computer readable storage medium identifying priority of connection
KR20230036848A (en) An electronic device providing a user experience for controlling at least one UWB device and controlling method thereof
KR20230155921A (en) Electronic device and method for processing touch input
KR20230174113A (en) Electronic device and method for performing operation related to software application for schedule management