KR102508634B1 - Electronic device and method for operating the same - Google Patents

Electronic device and method for operating the same Download PDF

Info

Publication number
KR102508634B1
KR102508634B1 KR1020160059376A KR20160059376A KR102508634B1 KR 102508634 B1 KR102508634 B1 KR 102508634B1 KR 1020160059376 A KR1020160059376 A KR 1020160059376A KR 20160059376 A KR20160059376 A KR 20160059376A KR 102508634 B1 KR102508634 B1 KR 102508634B1
Authority
KR
South Korea
Prior art keywords
brightness
electronic device
flash
distance
subject
Prior art date
Application number
KR1020160059376A
Other languages
Korean (ko)
Other versions
KR20170128841A (en
Inventor
이화준
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020160059376A priority Critical patent/KR102508634B1/en
Publication of KR20170128841A publication Critical patent/KR20170128841A/en
Application granted granted Critical
Publication of KR102508634B1 publication Critical patent/KR102508634B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/56Cameras or camera modules comprising electronic image sensors; Control thereof provided with illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

다양한 실시예에 따르면, 카메라를 구비하는 전자 장치에 있어서, 상기 전자 장치 제1 몸체의 제1 면에 위치하며, 피사체를 촬영하는 카메라, 상기 제1 몸체의 상기 제1 면에 위치한 플래시 및 촬영 명령에 응답하여, 상기 카메라를 이용하여 촬영될 상기 피사체와의 거리에 따라, 상기 전자 장치의 플래시 밝기를 제어하고, 상기 피사체를 촬영하도록 제어하는 프로세서를 포함할 수 있다.According to various embodiments, in an electronic device having a camera, a camera positioned on a first surface of a first body of the electronic device and photographing a subject, a flash positioned on the first surface of the first body, and a photographing command In response to the above, according to the distance to the subject to be photographed using the camera, a processor for controlling flash brightness of the electronic device and controlling to photograph the subject may be included.

Description

전자 장치 및 전자 장치의 동작 방법{ELECTRONIC DEVICE AND METHOD FOR OPERATING THE SAME}Electronic device and method of operating the electronic device {ELECTRONIC DEVICE AND METHOD FOR OPERATING THE SAME}

본 발명은 전자 장치 및 그 동작 방법에 관한 것이다.The present invention relates to an electronic device and an operating method thereof.

일반적으로 휴대용 단말과 같은 전자 장치에 장착되는 카메라 모듈에는 야간 촬영을 실행할 때에 필요로 하는 광량을 제공하기 위한 플래시(flash)가 내장된다.In general, a camera module mounted on an electronic device such as a portable terminal has a built-in flash for providing an amount of light required for night photography.

플래시는 태양광에 가까운 스펙트럼 특성을 가지고 순간 휘도가 높은 장점을 가진 제론 램프를 많이 사용하고 있다. 그러나, 제론 램프를 사용하는 플래시는 발광 시간이 짧기 때문에 슬로우 셔터(Slow Shutter) 촬영 및 동영상 촬영이 불가능하고, 스펙트럼 특성상 아침 및 저녁에 역광 보정의 목적으로 촬영했을 때 부자연스러운 사진을 얻게 된다.The flash uses a lot of xeron lamps, which have spectral characteristics close to sunlight and high instantaneous luminance. However, since the flash using the xeron lamp has a short emission time, slow shutter shooting and video shooting are impossible, and unnatural photos are obtained when shooting for the purpose of backlight compensation in the morning and evening due to the spectrum characteristics.

고휘도 LED(Light-emitting diode)는 종래의 LED가 가지고 있는 부족한 밝기, 방열 특성 등의 단점을 보완하였으며, 소형화 및 긴 수명 등의 장점을 가지고 있다. 이러한 고휘도 LED는 동영상 촬영용 플래시 용도로부터 정지 영상 촬영까지 플래시 용도로 휴대용 단말의 카메라 모듈에 적용되고 있다.
High-brightness LEDs (Light-emitting diodes) have compensated for the disadvantages of conventional LEDs such as insufficient brightness and heat dissipation characteristics, and have advantages such as miniaturization and long lifespan. These high-brightness LEDs are applied to camera modules of portable terminals for flash purposes ranging from video recording to still image recording.

카메라 모듈에 내장된 플래시는 다양한 상황에 따라 적절한 광량이 제공되어야 하는데 어려움이 있다.The flash built into the camera module has difficulty in providing an appropriate amount of light according to various situations.

예컨대, 카메라 촬영 모드(예컨대, 전면 촬영 모드 또는 후면 촬영 모드)에 따라 적정 광량을 제공하는데 어려움이 있다.For example, it is difficult to provide an appropriate amount of light according to a camera photographing mode (eg, a front photographing mode or a rear photographing mode).

본 발명의 다양한 실시예들은, 카메라 촬영 시, 촬영 환경에 따라 적절한 플래시 밝기를 제어할 수 있는 전자 장치 및 그 방법을 제공할 수 있다.Various embodiments of the present disclosure may provide an electronic device and method capable of appropriately controlling the brightness of a flash according to a photographing environment when a camera is photographed.

전술한 과제 또는 다른 과제를 해결하기 위한, 본 발명의 다양한 실시예 중 어느 하나에 따른, 카메라를 구비하는 전자 장치에 있어서, 상기 전자 장치의 제1 몸체의 제1 면에 위치하며, 피사체를 촬영하는 카메라, 상기 제1 몸체의 상기 제1 면에 위치한 플래시 및 촬영 명령에 응답하여, 상기 카메라를 이용하여 촬영될 상기 피사체와의 거리에 따라, 상기 전자 장치의 플래시 밝기를 제어하고, 상기 피사체를 촬영하도록 제어하는 프로세서를 포함할 수 있다.An electronic device having a camera according to any one of various embodiments of the present invention for solving the above-mentioned or other problems, located on a first surface of a first body of the electronic device, and photographing a subject. In response to a camera, a flash located on the first surface of the first body, and a shooting command, the flash brightness of the electronic device is controlled according to the distance to the subject to be photographed using the camera, and the subject is captured. It may include a processor that controls shooting.

본 발명의 다양한 실시예 중 어느 하나에 따른, 카메라를 구비하는 전자 장치의 동작 방법에 있어서, 촬영 명령을 수신하는 과정, 상기 카메라를 이용하여 촬영될 피사체와의 거리를 판단하는 과정, 상기 촬영 명령에 응답하여, 상기 판단된 피사체와의 거리에 따라, 상기 전자 장치의 플래시 밝기를 제어하고, 상기 피사체를 촬영하는 과정을 포함할 수 있다.In the operating method of an electronic device having a camera according to any one of various embodiments of the present disclosure, a process of receiving a photographing command, a process of determining a distance to a subject to be photographed using the camera, and the photographing command In response to, controlling the brightness of the flash of the electronic device according to the determined distance to the subject, and photographing the subject.

본 발명의 다양한 실시예에 따르면, 전자 장치의 카메라 촬영 모드에 따라 플래시 밝기를 제어함으로써, 사용자가 사진 촬영을 효과적으로 실행할 수 있다.According to various embodiments of the present disclosure, a user can effectively take a photo by controlling flash brightness according to a camera shooting mode of an electronic device.

또한, 본 발명의 다양한 실시예에 따르면, 전자 장치와 피사체 사이의 거리에 따라 플래시 밝기를 제어함으로써, 사용자가 사진 촬영을 효과적으로 실행할 수 있다.Also, according to various embodiments of the present disclosure, a user can effectively take a picture by controlling flash brightness according to a distance between an electronic device and a subject.

도 1은 본 발명의 다양한 실시예에 따른 네트워크 환경 내의 전자 장치를 나타낸 블록도이다.
도 2는 본 발명의 다양한 실시예에 따른 전자 장치의 블록도이다.
도 3은 본 발명의 다양한 실시예에 따른 프로그램 모듈의 블록도이다.
도 4는 본 발명의 다양한 실시예에 따른 전자 장치의 개략적인 블록도이다.
도 5는 본 발명의 다양한 실시예에 따른 전자 장치의 개략적인 블록도이다.
도 6은 본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법을 나타낸 흐름도이다.
도 7은 본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법을 나타낸 흐름도이다.
도 8은 본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법을 나타낸 흐름도이다.
도 9는 본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법을 나타낸 흐름도이다.
도 10(a), 10(b)는 본 발명의 다양한 실시예에 따른 전자 장치의 평면도이다.
도 11(a), 11(b), 11(c)는 본 발명의 다양한 실시예에 따른 전자 장치의 평면도이다.
도 12는 본 발명의 다양한 실시예에 따른 전자 장치와 피사체와의 거리를 나타낸 예시도이다.
도 13은 본 발명의 다양한 실시예에 따른 전자 장치와 피사체와의 거리를 나타낸 예시도이다.
도 14는 본 발명의 다양한 실시예에 따른 전자 장치와 피사체와의 거리를 나타낸 예시도이다.
도 15는 본 발명의 다양한 실시예에 따른 전자 장치가 외부 전자 장치에 연결된 상황을 나타낸 도면이다.
도 16은 본 발명의 다양한 실시예에 따른 상황을 나타낸 도면이다.
1 is a block diagram illustrating an electronic device in a network environment according to various embodiments of the present disclosure.
2 is a block diagram of an electronic device according to various embodiments of the present disclosure.
3 is a block diagram of program modules according to various embodiments of the present invention.
4 is a schematic block diagram of an electronic device according to various embodiments of the present disclosure.
5 is a schematic block diagram of an electronic device according to various embodiments of the present disclosure.
6 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure.
7 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure.
8 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure.
9 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure.
10(a) and 10(b) are plan views of electronic devices according to various embodiments of the present disclosure.
11(a), 11(b), and 11(c) are plan views of electronic devices according to various embodiments of the present disclosure.
12 is an exemplary diagram illustrating a distance between an electronic device and a subject according to various embodiments of the present disclosure.
13 is an exemplary diagram illustrating a distance between an electronic device and a subject according to various embodiments of the present disclosure.
14 is an exemplary view illustrating a distance between an electronic device and a subject according to various embodiments of the present disclosure.
15 is a diagram illustrating a situation in which an electronic device according to various embodiments of the present disclosure is connected to an external electronic device.
16 is a diagram illustrating a situation according to various embodiments of the present invention.

이하, 본 발명의 다양한 실시예가 첨부된 도면을 참조하여 기재된다.Hereinafter, various embodiments of the present invention will be described with reference to the accompanying drawings.

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

본 문서에서, "가진다," "가질 수 있다," "포함한다," 또는 "포함할 수 있다" 등의 표현은 해당 특징(예: 수치, 기능, 동작, 또는 부품 등의 구성요소)의 존재를 가리키며, 추가적인 특징의 존재를 배제하지 않는다.In this document, expressions such as "has," "may have," "includes," or "may include" indicate the existence of a corresponding feature (eg, numerical value, function, operation, or component such as a part). , which does not preclude the existence of additional features.

본 문서에서, "A 또는 B," "A 또는/및 B 중 적어도 하나," 또는 "A 또는/및 B 중 하나 또는 그 이상" 등의 표현은 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. 예를 들면, "A 또는 B," "A 및 B 중 적어도 하나," 또는 "A 또는 B 중 적어도 하나"는, (1) 적어도 하나의 A를 포함, (2) 적어도 하나의 B를 포함, 또는 (3) 적어도 하나의 A 및 적어도 하나의 B 모두를 포함하는 경우를 모두 지칭할 수 있다.In this document, expressions such as “A or B,” “at least one of A and/and B,” or “one or more of A or/and B” may include all possible combinations of the items listed together. . For example, “A or B,” “at least one of A and B,” or “at least one of A or B” (1) includes at least one A, (2) includes at least one B, Or (3) may refer to all cases including at least one A and at least one B.

본 문서에서 사용된 "제 1," "제 2," "첫째," 또는 "둘째,"등의 표현들은 다양한 구성요소들을, 순서 및/또는 중요도에 상관없이 수식할 수 있고, 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 뿐 해당 구성요소들을 한정하지 않는다. 예를 들면, 제 1 사용자 기기와 제 2 사용자 기기는, 순서 또는 중요도와 무관하게, 서로 다른 사용자 기기를 나타낼 수 있다. 예를 들면, 본 문서에 기재된 권리 범위를 벗어나지 않으면서 제 1 구성요소는 제 2 구성요소로 명명될 수 있고, 유사하게 제 2 구성요소도 제 1 구성요소로 바꾸어 명명될 수 있다.Expressions such as "first," "second," "first," or "second," as used in this document may modify various elements, regardless of order and/or importance, and refer to one element as It is used only to distinguish it from other components and does not limit the corresponding components. For example, a first user device and a second user device may represent different user devices regardless of order or importance. For example, without departing from the scope of rights described in this document, a first element may be called a second element, and similarly, the second element may also be renamed to the first element.

어떤 구성요소(예: 제 1 구성요소)가 다른 구성요소(예: 제 2 구성요소)에 "(기능적으로 또는 통신적으로) 연결되어((operatively or communicatively) coupled with/to)" 있다거나 "접속되어(connected to)" 있다고 언급된 때에는, 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로 연결되거나, 다른 구성요소(예: 제 3 구성요소)를 통하여 연결될 수 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소(예: 제 1 구성요소)가 다른 구성요소(예: 제 2 구성요소)에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소와 상기 다른 구성요소 사이에 다른 구성요소(예: 제 3 구성요소)가 존재하지 않는 것으로 이해될 수 있다.A component (e.g., a first component) is "(operatively or communicatively) coupled with/to" another component (e.g., a second component); When referred to as "connected to", it should be understood that the certain component may be directly connected to the other component or connected through another component (eg, a third component). On the other hand, when an element (eg, a first element) is referred to as being “directly connected” or “directly connected” to another element (eg, a second element), the element and the above It may be understood that other components (eg, a third component) do not exist between the other components.

본 문서에서 사용된 표현 "~하도록 구성된(또는 설정된)(configured to)"은 상황에 따라, 예를 들면, "~에 적합한(suitable for)," "~하는 능력을 가지는(having the capacity to)," "~하도록 설계된(designed to)," "~하도록 변경된(adapted to)," "~하도록 만들어진(made to)," 또는 "~를 할 수 있는(capable of)"과 바꾸어 사용될 수 있다. 용어 "~하도록 구성된(또는 설정된)"은 하드웨어적으로 "특별히 설계된(specifically designed to)" 것만을 반드시 의미하지 않을 수 있다. 대신, 어떤 상황에서는, "~하도록 구성된 장치"라는 표현은, 그 장치가 다른 장치 또는 부품들과 함께 "~할 수 있는" 것을 의미할 수 있다. 예를 들면, 문구 "A, B, 및 C를 수행하도록 구성된(또는 설정된) 프로세서"는 해당 동작을 수행하기 위한 전용 프로세서(예: 임베디드 프로세서), 또는 메모리 장치에 저장된 하나 이상의 소프트웨어 프로그램들을 실행함으로써, 해당 동작들을 수행할 수 있는 범용 프로세서(generic-purpose processor)(예: CPU 또는 application processor)를 의미할 수 있다. As used in this document, the expression "configured to" means "suitable for," "having the capacity to," depending on the circumstances. ," "designed to," "adapted to," "made to," or "capable of." The term "configured (or set) to" may not necessarily mean only "specifically designed to" hardware. Instead, in some contexts, the phrase "device configured to" may mean that the device is "capable of" in conjunction with other devices or components. For example, the phrase "a processor configured (or configured) to perform A, B, and C" may include a dedicated processor (eg, embedded processor) to perform the operation, or by executing one or more software programs stored in a memory device. , may mean a general-purpose processor (eg, CPU or application processor) capable of performing corresponding operations.

본 문서에서 사용된 용어들은 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 다른 실시예의 범위를 한정하려는 의도가 아닐 수 있다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함할 수 있다. 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 용어들은 본 문서에 기재된 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가 질수 있다. 본 문서에 사용된 용어들 중 일반적인 사전에 정의된 용어들은, 관련 기술의 문맥상 가지는 의미와 동일 또는 유사한 의미로 해석될 수 있으며, 본 문서에서 명백하게 정의되지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다. 경우에 따라서, 본 문서에서 정의된 용어일지라도 본 발명의 실시예들을 배제하도록 해석될 수 없다.Terms used in this document are only used to describe a specific embodiment, and may not be intended to limit the scope of other embodiments. Singular expressions may include plural expressions unless the context clearly dictates otherwise. Terms used herein, including technical or scientific terms, may have the same meaning as commonly understood by a person of ordinary skill in the technical field described in this document. Among the terms used in this document, terms defined in a general dictionary may be interpreted as having the same or similar meaning as the meaning in the context of the related art, and unless explicitly defined in this document, an ideal or excessively formal meaning. not be interpreted as In some cases, even terms defined in this document cannot be interpreted to exclude embodiments of the present invention.

본 발명의 다양한 실시예들에 따른 전자 장치는, 예를 들면, 스마트폰(smartphone), 태블릿 PC(tablet personal computer), 이동 전화기(mobile phone), 영상 전화기, 전자책 리더기(e-book reader), 데스크탑 PC(desktop personal computer), 랩탑 PC(laptop personal computer), 넷북 컴퓨터(netbook computer), 워크스테이션(workstation), 서버, PDA(personal digital assistant), PMP(portable multimedia player), MP3 플레이어, 모바일 의료기기, 카메라(camera), 또는 웨어러블 전자 장치(wearable device) 중 적어도 하나를 포함할 수 있다. 다양한 실시예에 따르면, 웨어러블 전자 장치는 액세서리형(예: 시계, 반지, 팔찌, 발찌, 목걸이, 안경, 콘택트 렌즈, 또는 머리 착용형 장치(head-mounted-device(HMD)), 직물 또는 의류 일체형(예: 전자 의복), 신체 부착형(예: 스킨 패드(skin pad) 또는 문신), 또는 생체 이식형(예: implantable circuit) 중 적어도 하나를 포함할 수 있다. Electronic devices according to various embodiments of the present disclosure include, for example, a smartphone, a tablet personal computer (PC), a mobile phone, a video phone, and an e-book reader. , desktop personal computer (laptop personal computer), netbook computer, workstation, server, PDA (personal digital assistant), PMP (portable multimedia player), MP3 player, mobile It may include at least one of a medical device, a camera, or a wearable electronic device. According to various embodiments, the wearable electronic device may be an accessory type (eg, watch, ring, bracelet, anklet, necklace, glasses, contact lens, or head-mounted-device (HMD)), fabric, or clothing integral type. It may include at least one of (eg, electronic clothing), body attachment (eg, skin pad or tattoo), or implantable type (eg, implantable circuit).

어떤 실시예들에서, 전자 장치는 가전 제품(home appliance)일 수 있다. 가전 제품은, 예를 들면, 텔레비전, DVD(digital video disk) 플레이어, 오디오, 냉장고, 에어컨, 청소기, 오븐, 전자레인지, 세탁기, 공기 청정기, 셋톱 박스(set-top box), 홈 오토매이션 컨트롤 패널(home automation control panel), 보안 컨트롤 패널(security control panel), TV 박스(예: 삼성 HomeSyncTM, 애플TVTM, 또는 구글 TVTM), 게임 콘솔(예: XboxTM, PlayStationTM), 전자 사전, 전자 키, 캠코더(camcorder), 또는 전자 액자 중 적어도 하나를 포함할 수 있다.In some embodiments, the electronic device may be a home appliance. Home appliances include, for example, televisions, digital video disk (DVD) players, audio systems, refrigerators, air conditioners, vacuum cleaners, ovens, microwave ovens, washing machines, air purifiers, set-top boxes, and home automation controls. Home automation control panel, security control panel, TV box (eg Samsung HomeSync TM , Apple TV TM , or Google TV TM ), game console (eg Xbox TM , PlayStation TM ), electronic dictionary , an electronic key, a camcorder, or an electronic picture frame.

다른 실시예에서, 전자 장치는, 각종 의료기기(예: 각종 휴대용 의료측정기기(혈당 측정기, 심박 측정기, 혈압 측정기, 또는 체온 측정기 등), MRA(magnetic resonance angiography), MRI(magnetic resonance imaging), CT(computed tomography), 촬영기, 또는 초음파기 등), 네비게이션(navigation) 장치, 위성 항법 시스템(GNSS(global navigation satellite system)), EDR(event data recorder), FDR(flight data recorder), 자동차 인포테인먼트(infotainment) 장치, 선박용 전자 장비(예: 선박용 항법 장치, 자이로 콤파스 등), 항공 전자기기(avionics), 보안 기기, 차량용 헤드 유닛(head unit), 산업용 또는 가정용 로봇, 금융 기관의 ATM(automatic teller's machine), 상점의 POS(point of sales), 또는 사물 인터넷 장치(internet of things)(예: 전구, 각종 센서, 전기 또는 가스 미터기, 스프링클러 장치, 화재경보기, 온도조절기(thermostat), 가로등, 토스터(toaster), 운동기구, 온수탱크, 히터, 보일러 등) 중 적어도 하나를 포함할 수 있다.In another embodiment, the electronic device may include various types of medical devices (e.g., various portable medical measuring devices (such as blood glucose meter, heart rate monitor, blood pressure monitor, or body temperature monitor), magnetic resonance angiography (MRA), magnetic resonance imaging (MRI), CT (computed tomography), imager, or ultrasonicator, etc.), navigation device, GNSS (global navigation satellite system), EDR (event data recorder), FDR (flight data recorder), automotive infotainment ) devices, marine electronics (e.g. marine navigation systems, gyrocompasses, etc.), avionics, security devices, automotive head units, industrial or home robots, automatic teller's machines (ATMs) of financial institutions , point of sales (POS) in stores, or internet of things devices (e.g. light bulbs, sensors, electric or gas meters, sprinklers, smoke alarms, thermostats, street lights, toasters) , Exercise equipment, hot water tank, heater, boiler, etc.) may include at least one.

어떤 실시예에 따르면, 전자 장치는 가구(furniture) 또는 건물/구조물의 일부, 전자 보드(electronic board), 전자 사인 수신 장치(electronic signature receiving device), 프로젝터(projector), 또는 각종 계측 기기(예: 수도, 전기, 가스, 또는 전파 계측 기기 등) 중 적어도 하나를 포함할 수 있다. 다양한 실시예에서, 전자 장치는 전술한 다양한 장치들 중 하나 또는 그 이상의 조합일 수 있다. 어떤 실시예에 따른 전자 장치는 플렉서블 전자 장치일 수 있다. 또한, 본 발명의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않으며, 기술 발전에 따른 새로운 전자 장치를 포함할 수 있다.According to some embodiments, the electronic device is a piece of furniture or a building/structure, an electronic board, an electronic signature receiving device, a projector, or various measuring devices (eg, Water, electricity, gas, radio wave measuring devices, etc.) may include at least one. In various embodiments, the electronic device may be a combination of one or more of the various devices described above. An electronic device according to some embodiments may be a flexible electronic device. In addition, the electronic device according to an embodiment of the present invention is not limited to the above-described devices, and may include new electronic devices according to technological development.

이하, 첨부 도면을 참조하여, 다양한 실시예에 따른 전자 장치가 설명된다. 본 문서에서, 사용자라는 용어는 전자 장치를 사용하는 사람 또는 전자 장치를 사용하는 장치(예: 인공지능 전자 장치)를 지칭할 수 있다.
Hereinafter, an electronic device according to various embodiments will be described with reference to the accompanying drawings. In this document, the term user may refer to a person using an electronic device or a device using an electronic device (eg, an artificial intelligence electronic device).

도 1은 본 발명의 다양한 실시예에 따른 네트워크 환경 내의 전자 장치를 나타낸 블록도이다.1 is a block diagram illustrating an electronic device in a network environment according to various embodiments of the present disclosure.

도 1을 참조하여, 다양한 실시예에서의, 네트워크 환경(100) 내의 전자 장치(101)가 기재된다. 전자 장치(101)는 버스(110), 프로세서(120), 메모리(130), 입출력 인터페이스(150), 디스플레이(160), 및 통신 인터페이스(170)를 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)는, 구성요소들 중 적어도 하나를 생략하거나 다른 구성요소를 추가적으로 구비할 수 있다. Referring to FIG. 1 , an electronic device 101 in a network environment 100 in various embodiments is described. The electronic device 101 may include a bus 110, a processor 120, a memory 130, an input/output interface 150, a display 160, and a communication interface 170. In some embodiments, the electronic device 101 may omit at least one of the components or may additionally include other components.

버스(110)는, 예를 들면, 구성요소들(110-170)을 서로 연결하고, 구성요소들 간의 통신(예: 제어 메시지 및/또는 데이터)을 전달하는 회로를 포함할 수 있다.Bus 110 may include, for example, circuitry that connects components 110-170 to each other and communicates (eg, control messages and/or data) between components.

프로세서(120)는, 중앙처리장치(central processing unit(CPU)), 어플리케이션 프로세서(application processor(AP)), 또는 커뮤니케이션 프로세서(communication processor(CP)) 중 하나 또는 그 이상을 포함할 수 있다. 프로세서(120)는, 예를 들면, 전자 장치(101)의 적어도 하나의 다른 구성요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 실행할 수 있다. The processor 120 may include one or more of a central processing unit (CPU), an application processor (AP), or a communication processor (CP). The processor 120 may, for example, execute calculations or data processing related to control and/or communication of at least one other component of the electronic device 101 .

메모리(130)는, 휘발성 및/또는 비휘발성 메모리를 포함할 수 있다. 메모리(130)는, 예를 들면, 전자 장치(101)의 적어도 하나의 다른 구성요소에 관계된 명령 또는 데이터를 저장할 수 있다. 한 실시예에 따르면, 메모리(130)는 소프트웨어 및/또는 프로그램(140)을 저장할 수 있다. 프로그램(140)은, 예를 들면, 커널(141), 미들웨어(143), 어플리케이션 프로그래밍 인터페이스(application programming interface(API))(145), 및/또는 어플리케이션 프로그램(또는 "어플리케이션")(147) 등을 포함할 수 있다. 커널(141), 미들웨어(143), 또는 API(145)의 적어도 일부는, 운영 시스템(operating system(OS))으로 지칭될 수 있다.Memory 130 may include volatile and/or non-volatile memory. The memory 130 may store, for example, commands or data related to at least one other component of the electronic device 101 . According to one embodiment, memory 130 may store software and/or programs 140 . Program 140 includes, for example, kernel 141, middleware 143, application programming interface (API) 145, and/or application program (or "application") 147, etc. can include At least a part of the kernel 141, middleware 143, or API 145 may be referred to as an operating system (OS).

본 문서에서, 어플리케이션은 앱(app) 또는 애플리케이션이라고 칭할 수도 있다.In this document, an application may also be referred to as an app or an application.

커널(141)은, 예를 들면, 다른 프로그램들(예: 미들웨어(143), API(145), 또는 어플리케이션 프로그램(147))에 구현된 동작 또는 기능을 실행하는 데 사용되는 시스템 리소스들(예: 버스(110), 프로세서(120), 또는 메모리(130) 등)을 제어 또는 관리할 수 있다. 또한, 커널(141)은 미들웨어(143), API(145), 또는 어플리케이션 프로그램(147)에서 전자 장치(101)의 개별 구성요소에 접근함으로써, 시스템 리소스들을 제어 또는 관리할 수 있는 인터페이스를 제공할 수 있다. Kernel 141, for example, includes system resources (eg, middleware 143, API 145, or application program 147) used to execute operations or functions implemented in other programs (eg, middleware 143, API 145, or application program 147). : The bus 110, the processor 120, or the memory 130, etc.) can be controlled or managed. In addition, the kernel 141 may provide an interface capable of controlling or managing system resources by accessing individual components of the electronic device 101 from the middleware 143, API 145, or application program 147. can

미들웨어(143)는, 예를 들면, API(145) 또는 어플리케이션 프로그램(147)이 커널(141)과 통신하여 데이터를 주고받을 수 있도록 중개 역할을 수행할 수 있다. The middleware 143 may perform an intermediary role so that, for example, the API 145 or the application program 147 communicates with the kernel 141 to exchange data.

또한, 미들웨어(143)는 어플리케이션 프로그램(147)으로부터 수신된 하나 이상의 작업 요청들을 우선 순위에 따라 처리할 수 있다. 예를 들면, 미들웨어(143)는 어플리케이션 프로그램(147) 중 적어도 하나에 전자 장치(101)의 시스템 리소스(예: 버스(110), 프로세서(120), 또는 메모리(130) 등)를 사용할 수 있는 우선 순위를 부여할 수 있다. 예컨대, 미들웨어(143)는 상기 적어도 하나에 부여된 우선 순위에 따라 상기 하나 이상의 작업 요청들을 처리함으로써, 상기 하나 이상의 작업 요청들에 대한 스케쥴링 또는 로드 밸런싱 등을 수행할 수 있다.Also, the middleware 143 may process one or more task requests received from the application program 147 according to priority. For example, the middleware 143 may use system resources (eg, the bus 110, the processor 120, or the memory 130, etc.) of the electronic device 101 for at least one of the application programs 147. You can give priority. For example, the middleware 143 may perform scheduling or load balancing of the one or more task requests by processing the one or more task requests according to the priority assigned to the at least one task.

API(145)는, 예를 들면, 어플리케이션(147)이 커널(141) 또는 미들웨어(143)에서 제공되는 기능을 제어하기 위한 인터페이스로, 예를 들면, 파일 제어, 창 제어, 영상 처리, 또는 문자 제어 등을 위한 적어도 하나의 인터페이스 또는 함수(예: 명령어)를 포함할 수 있다. The API 145 is, for example, an interface for the application 147 to control functions provided by the kernel 141 or the middleware 143, such as file control, window control, image processing, or text. It may include at least one interface or function (eg, command) for control.

입출력 인터페이스(150)는, 예를 들면, 사용자 또는 다른 외부 기기로부터 입력된 명령 또는 데이터를 전자 장치(101)의 다른 구성요소(들)에 전달할 수 있는 인터페이스의 역할을 할 수 있다. 또한, 입출력 인터페이스(150)는 전자 장치(101)의 다른 구성요소(들)로부터 수신된 명령 또는 데이터를 사용자 또는 다른 외부 기기로 출력할 수 있다. The input/output interface 150 may serve as an interface capable of transferring commands or data input from a user or other external device to other component(s) of the electronic device 101 . Also, the input/output interface 150 may output commands or data received from other element(s) of the electronic device 101 to a user or other external device.

디스플레이(160)는, 예를 들면, 액정 디스플레이(liquid crystal display(LCD)), 발광 다이오드(light-emitting diode(LED)) 디스플레이, 유기 발광 다이오드(organic light-emitting diode(OLED)) 디스플레이, 또는 마이크로 전자기계 시스템(microelectromechanical systems(MEMS)) 디스플레이, 또는 전자종이(electronic paper) 디스플레이를 포함할 수 있다. 디스플레이(160)는, 예를 들면, 사용자에게 각종 콘텐츠(예: 텍스트, 이미지, 비디오, 아이콘, 또는 심볼 등)을 표시할 수 있다. 디스플레이(160)는, 터치 스크린을 포함할 수 있으며, 예를 들면, 전자 펜 또는 사용자의 신체의 일부를 이용한 터치, 제스쳐, 근접, 또는 호버링 입력을 수신할 수 있다.The display 160 may be, for example, a liquid crystal display (LCD), a light-emitting diode (LED) display, an organic light-emitting diode (OLED) display, or It may include a microelectromechanical systems (MEMS) display, or an electronic paper display. The display 160 may display, for example, various types of content (eg, text, image, video, icon, symbol, etc.) to the user. The display 160 may include a touch screen, and may receive, for example, a touch, gesture, proximity, or hovering input using an electronic pen or a part of the user's body.

통신 인터페이스(170)는, 예를 들면, 전자 장치(101)와 외부 장치(예: 제 1 외부 전자 장치(102), 제 2 외부 전자 장치(104), 또는 서버(106)) 간의 통신을 설정할 수 있다. 예를 들면, 통신 인터페이스(170)는 무선 통신 또는 유선 통신을 통해서 네트워크(162)에 연결되어 외부 장치(예: 제 2 외부 전자 장치(104) 또는 서버(106))와 통신할 수 있다.The communication interface 170 establishes communication between the electronic device 101 and an external device (eg, the first external electronic device 102 , the second external electronic device 104 , or the server 106 ). can For example, the communication interface 170 may be connected to the network 162 through wireless or wired communication to communicate with an external device (eg, the second external electronic device 104 or the server 106).

무선 통신은, 예를 들면, 셀룰러 통신 프로토콜로서, 예를 들면, LTE(long-term evolution), LTE-A(LTE Advance), CDMA(code division multiple access), WCDMA(wideband CDMA), UMTS(universal mobile telecommunications system), WiBro(Wireless Broadband), 또는 GSM(Global System for Mobile Communications) 등 중 적어도 하나를 사용할 수 있다. 또한, 무선 통신은, 예를 들면, 근거리 통신(164)을 포함할 수 있다. 근거리 통신(164)은, 예를 들면, WiFi(wireless fidelity), 블루투스(Bluetooth), NFC(near field communication), 또는 GNSS(global navigation satellite system) 등 중 적어도 하나를 포함할 수 있다. GNSS는 사용 지역 또는 대역폭 등에 따라, 예를 들면, GPS(Global Positioning System), Glonass(Global Navigation Satellite System), Beidou Navigation Satellite System(이하 “Beidou”) 또는 Galileo, the European global satellite-based navigation system 중 적어도 하나를 포함할 수 있다. 이하, 본 문서에서는, “GPS”는 “GNSS”와 혼용되어 사용(interchangeably used)될 수 있다. 유선 통신은, 예를 들면, USB(universal serial bus), HDMI(high definition multimedia interface), RS-232(recommended standard232), 또는 POTS(plain old telephone service) 등 중 적어도 하나를 포함할 수 있다. 네트워크(162)는 통신 네트워크(telecommunications network), 예를 들면, 컴퓨터 네트워크(computer network)(예: LAN 또는 WAN), 인터넷, 또는 전화 망(telephone network) 중 적어도 하나를 포함할 수 있다.Wireless communication is, for example, a cellular communication protocol, for example, long-term evolution (LTE), LTE Advance (LTE-A), code division multiple access (CDMA), wideband CDMA (WCDMA), universal At least one of a mobile telecommunications system), WiBro (Wireless Broadband), GSM (Global System for Mobile Communications), and the like may be used. Wireless communication may also include, for example, near field communication 164 . The short-range communication 164 may include, for example, at least one of wireless fidelity (WiFi), Bluetooth, near field communication (NFC), and global navigation satellite system (GNSS). GNSS is a global positioning system (GPS), global navigation satellite system (glonass), Beidou navigation satellite system (hereinafter “Beidou”) or Galileo, the European global satellite-based navigation system, depending on the area of use or bandwidth. may contain at least one. Hereinafter, in this document, “GPS” may be used interchangeably with “GNSS”. Wired communication may include, for example, at least one of universal serial bus (USB), high definition multimedia interface (HDMI), recommended standard 232 (RS-232), or plain old telephone service (POTS). The network 162 may include at least one of a telecommunications network, for example, a computer network (eg, a LAN or WAN), the Internet, or a telephone network.

제 1 및 제 2 외부 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 한 실시예에 따르면, 서버(106)는 하나 또는 그 이상의 서버들의 그룹을 포함할 수 있다. 다양한 실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 다른 하나 또는 복수의 전자 장치(예: 전자 장치(102,104), 또는 서버(106)에서 실행될 수 있다. 한 실시예에 따르면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로 또는 요청에 의하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 그와 연관된 적어도 일부 기능을 다른 장치(예: 전자 장치(102, 104), 또는 서버(106))에게 요청할 수 있다. 다른 전자 장치(예: 전자 장치(102, 104), 또는 서버(106))는 요청된 기능 또는 추가 기능을 실행하고, 그 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 수신된 결과를 그대로 또는 추가적으로 처리하여 요청된 기능이나 서비스를 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.
Each of the first and second external electronic devices 102 and 104 may be the same as or different from the electronic device 101 . According to one embodiment, server 106 may include a group of one or more servers. According to various embodiments, all or part of operations executed in the electronic device 101 may be executed in one or more electronic devices (eg, the electronic devices 102 and 104, or the server 106). According to this, when the electronic device 101 needs to perform a certain function or service automatically or upon request, the electronic device 101 instead of or in addition to executing the function or service by itself, at least some functions related thereto may request another device (eg, the electronic device 102 or 104 or the server 106). The additional function may be executed and the result may be transmitted to the electronic device 101. The electronic device 101 may provide the requested function or service by processing the received result as it is or additionally. For example, cloud computing, distributed computing, or client-server computing technologies may be used.

도 2는 다양한 실시예에 따른 전자 장치(201)의 블록도이다. 전자 장치(201)는, 예를 들면, 도 1에 도시된 전자 장치(101)의 전체 또는 일부를 포함할 수 있다. 전자 장치(201)는 하나 이상의 프로세서(예: AP(application processor))(210), 통신 모듈(220), 가입자 식별 모듈(224), 메모리(230), 센서 모듈(240), 입력 장치(250), 디스플레이(260), 인터페이스(270), 오디오 모듈(280), 카메라 모듈(291), 전력 관리 모듈(295), 배터리(296), 인디케이터(297), 및 모터(298) 를 포함할 수 있다.2 is a block diagram of an electronic device 201 according to various embodiments. The electronic device 201 may include, for example, all or part of the electronic device 101 shown in FIG. 1 . The electronic device 201 includes one or more processors (eg, an application processor (AP)) 210, a communication module 220, a subscriber identification module 224, a memory 230, a sensor module 240, and an input device 250. ), display 260, interface 270, audio module 280, camera module 291, power management module 295, battery 296, indicator 297, and motor 298. there is.

프로세서(210)는, 예를 들면, 운영 체제 또는 응용 프로그램을 구동하여 프로세서(210)에 연결된 다수의 하드웨어 또는 소프트웨어 구성요소들을 제어할 수 있고, 각종 데이터 처리 및 연산을 수행할 수 있다. 프로세서(210)는, 예를 들면, SoC(system on chip) 로 구현될 수 있다. 한 실시예에 따르면, 프로세서(210)는 GPU(graphic processing unit) 및/또는 이미지 신호 프로세서(image signal processor)를 더 포함할 수 있다. 프로세서(210)는 도 2에 도시된 구성요소들 중 적어도 일부(예: 셀룰러 모듈(221))를 포함할 수도 있다. 프로세서(210) 는 다른 구성요소들(예: 비휘발성 메모리) 중 적어도 하나로부터 수신된 명령 또는 데이터를 휘발성 메모리에 로드(load)하여 처리하고, 다양한 데이터를 비휘발성 메모리에 저장(store)할 수 있다.The processor 210 may control a plurality of hardware or software components connected to the processor 210 by driving, for example, an operating system or an application program, and may perform various data processing and calculations. The processor 210 may be implemented as, for example, a system on chip (SoC). According to one embodiment, the processor 210 may further include a graphic processing unit (GPU) and/or an image signal processor. The processor 210 may include at least some of the components shown in FIG. 2 (eg, the cellular module 221). The processor 210 loads and processes commands or data received from at least one of the other components (eg, non-volatile memory) into the volatile memory, and stores various data in the non-volatile memory. there is.

통신 모듈(220)은, 도 1의 통신 인터페이스(170)와 동일 또는 유사한 구성을 가질 수 있다. 통신 모듈(220)은, 예를 들면, 셀룰러 모듈(221), WiFi 모듈(223), 블루투스 모듈(225), GNSS 모듈(227)(예: GPS 모듈, Glonass 모듈, Beidou 모듈, 또는 Galileo 모듈), NFC 모듈(228) 및 RF(radio frequency) 모듈(229)를 포함할 수 있다.The communication module 220 may have the same or similar configuration as the communication interface 170 of FIG. 1 . The communication module 220 includes, for example, a cellular module 221, a WiFi module 223, a Bluetooth module 225, a GNSS module 227 (eg, a GPS module, a Glonass module, a Beidou module, or a Galileo module) , an NFC module 228 and a radio frequency (RF) module 229.

셀룰러 모듈(221)은, 예를 들면, 통신망을 통해서 음성 통화, 영상 통화, 문자 서비스, 또는 인터넷 서비스 등을 제공할 수 있다. 한 실시예에 따르면, 셀룰러 모듈(221)은 가입자 식별 모듈(예: SIM 카드)(224)을 이용하여 통신 네트워크 내에서 전자 장치(201)의 구별 및 인증을 수행할 수 있다. 한 실시예에 따르면, 셀룰러 모듈(221)은 프로세서(210)가 제공할 수 있는 기능 중 적어도 일부 기능을 수행할 수 있다. 한 실시예에 따르면, 셀룰러 모듈(221)은 커뮤니케이션 프로세서(CP: communication processor)를 포함할 수 있다.The cellular module 221 may provide, for example, a voice call, a video call, a text service, or an Internet service through a communication network. According to one embodiment, the cellular module 221 may identify and authenticate the electronic device 201 within a communication network using the subscriber identity module (eg, SIM card) 224 . According to one embodiment, the cellular module 221 may perform at least some of the functions that the processor 210 may provide. According to one embodiment, the cellular module 221 may include a communication processor (CP).

WiFi 모듈(223), 블루투스 모듈(225), GNSS 모듈(227) 또는 NFC 모듈(228) 각각은, 예를 들면, 해당하는 모듈을 통해서 송수신되는 데이터를 처리하기 위한 프로세서를 포함할 수 있다. 어떤 실시예에 따르면, 셀룰러 모듈(221), WiFi 모듈(223), 블루투스 모듈(225), GNSS 모듈(227) 또는 NFC 모듈(228) 중 적어도 일부(예: 두 개 이상)는 하나의 integrated chip(IC) 또는 IC 패키지 내에 포함될 수 있다. Each of the WiFi module 223, the Bluetooth module 225, the GNSS module 227, or the NFC module 228 may include, for example, a processor for processing data transmitted and received through the corresponding module. According to some embodiments, at least some (eg, two or more) of the cellular module 221, the WiFi module 223, the Bluetooth module 225, the GNSS module 227, or the NFC module 228 are one integrated chip (IC) or within an IC package.

RF 모듈(229)은, 예를 들면, 통신 신호(예: RF 신호)를 송수신할 수 있다. RF 모듈(229)은, 예를 들면, 트랜시버(transceiver), PAM(power amp module), 주파수 필터(frequency filter), LNA(low noise amplifier), 또는 안테나 등을 포함할 수 있다. 다른 실시예에 따르면, 셀룰러 모듈(221), WiFi 모듈(223), 블루투스 모듈(225), GNSS 모듈(227) 또는 NFC 모듈(228) 중 적어도 하나는 별개의 RF 모듈을 통하여 RF 신호를 송수신할 수 있다. The RF module 229 may transmit and receive communication signals (eg, RF signals), for example. The RF module 229 may include, for example, a transceiver, a power amp module (PAM), a frequency filter, a low noise amplifier (LNA), or an antenna. According to another embodiment, at least one of the cellular module 221, the WiFi module 223, the Bluetooth module 225, the GNSS module 227, or the NFC module 228 transmits and receives an RF signal through a separate RF module. can

가입자 식별 모듈(224)은, 예를 들면, 가입자 식별 모듈을 포함하는 카드 및/또는 내장 SIM(embedded SIM)을 포함할 수 있으며, 고유한 식별 정보(예: ICCID(integrated circuit card identifier)) 또는 가입자 정보(예: IMSI(international mobile subscriber identity))를 포함할 수 있다. The subscriber identification module 224 may include, for example, a card and/or an embedded SIM including a subscriber identification module, and unique identification information (eg, an integrated circuit card identifier (ICCID)) or Subscriber information (eg, international mobile subscriber identity (IMSI)) may be included.

메모리(230)(예: 메모리(130))는, 예를 들면, 내장 메모리(232) 또는 외장 메모리(234)를 포함할 수 있다. 내장 메모리(232)는, 예를 들면, 휘발성 메모리(예: DRAM(dynamic RAM), SRAM(static RAM), 또는 SDRAM(synchronous dynamic RAM) 등), 비휘발성 메모리(non-volatile Memory)(예: OTPROM(one time programmable ROM), PROM(programmable ROM), EPROM(erasable and programmable ROM), EEPROM(electrically erasable and programmable ROM), mask ROM, flash ROM, 플래시 메모리(예: NAND flash 또는 NOR flash 등), 하드 드라이브, 또는 솔리드 스테이트 드라이브(solid state drive(SSD)) 중 적어도 하나를 포함할 수 있다. The memory 230 (eg, the memory 130) may include, for example, an internal memory 232 or an external memory 234. The built-in memory 232 may include, for example, volatile memory (e.g., dynamic RAM (DRAM), static RAM (SRAM), or synchronous dynamic RAM (SDRAM)), non-volatile memory (e.g., OTPROM (one time programmable ROM), PROM (programmable ROM), EPROM (erasable and programmable ROM), EEPROM (electrically erasable and programmable ROM), mask ROM, flash ROM, flash memory (such as NAND flash or NOR flash, etc.), It may include at least one of a hard drive or a solid state drive (SSD).

외장 메모리(234)는 플래시 드라이브(flash drive), 예를 들면, CF(compact flash), SD(secure digital), Micro-SD(micro secure digital), Mini-SD(mini secure digital), xD(extreme digital), MMC(multi-media card) 또는 메모리 스틱(memory stick) 등을 더 포함할 수 있다. 외장 메모리(234)는 다양한 인터페이스를 통하여 전자 장치(201)와 기능적으로 및/또는 물리적으로 연결될 수 있다.The external memory 234 is a flash drive, for example, a compact flash (CF), secure digital (SD), micro secure digital (Micro-SD), mini secure digital (Mini-SD), extreme (xD) digital), a multi-media card (MMC), or a memory stick. The external memory 234 may be functionally and/or physically connected to the electronic device 201 through various interfaces.

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

입력 장치(250)는, 예를 들면, 터치 패널(touch panel)(252),(디지털) 펜 센서(pen sensor)(254), 키(key)(256), 또는 초음파(ultrasonic) 입력 장치(258)를 포함할 수 있다. 터치 패널(252)은, 예를 들면, 정전식, 감압식, 적외선 방식, 또는 초음파 방식 중 적어도 하나의 방식을 사용할 수 있다. 또한, 터치 패널(252)은 제어 회로를 더 포함할 수도 있다. 터치 패널(252)은 택타일 레이어(tactile layer)를 더 포함하여, 사용자에게 촉각 반응을 제공할 수 있다. The input device 250 may include, for example, a touch panel 252, a (digital) pen sensor 254, a key 256, or an ultrasonic input device ( 258) may be included. The touch panel 252 may use at least one of, for example, a capacitive type, a pressure-sensitive type, an infrared type, or an ultrasonic type. Also, the touch panel 252 may further include a control circuit. The touch panel 252 may further include a tactile layer to provide a tactile response to the user.

(디지털) 펜 센서(254)는, 예를 들면, 터치 패널의 일부이거나, 별도의 인식용 쉬트(sheet)를 포함할 수 있다. 키(256)는, 예를 들면, 물리적인 버튼, 광학식 키, 또는 키패드를 포함할 수 있다. 초음파 입력 장치(258)는 마이크(예: 마이크(288))를 통해, 입력 도구에서 발생된 초음파를 감지하여, 상기 감지된 초음파에 대응하는 데이터를 확인할 수 있다.The (digital) pen sensor 254 may be, for example, part of a touch panel or may include a separate recognition sheet. Keys 256 may include, for example, physical buttons, optical keys, or keypads. The ultrasonic input device 258 may detect ultrasonic waves generated from an input tool through a microphone (eg, the microphone 288) and check data corresponding to the detected ultrasonic waves.

디스플레이(260)(예: 디스플레이(160))는 패널(262), 홀로그램 장치(264), 또는 프로젝터(266)를 포함할 수 있다. 패널(262)은, 도 1의 디스플레이(160)와 동일 또는 유사한 구성을 포함할 수 있다. 패널(262)은, 예를 들면, 유연하게(flexible), 투명하게(transparent), 또는 착용할 수 있게(wearable) 구현될 수 있다. 패널(262)은 터치 패널(252)과 하나의 모듈로 구성될 수도 있다. 홀로그램 장치(264)는 빛의 간섭을 이용하여 입체 영상을 허공에 보여줄 수 있다. 프로젝터(266)는 스크린에 빛을 투사하여 영상을 표시할 수 있다. 스크린은, 예를 들면, 전자 장치(201)의 내부 또는 외부에 위치할 수 있다. 한 실시예에 따르면, 디스플레이(260)는 패널(262), 홀로그램 장치(264), 또는 프로젝터(266)를 제어하기 위한 제어 회로를 더 포함할 수 있다. The display 260 (eg, the display 160 ) may include a panel 262 , a hologram device 264 , or a projector 266 . The panel 262 may include the same or similar configuration as the display 160 of FIG. 1 . The panel 262 may be implemented to be flexible, transparent, or wearable, for example. The panel 262 and the touch panel 252 may be configured as one module. The hologram device 264 may display a 3D image in the air using interference of light. The projector 266 may display an image by projecting light onto a screen. The screen may be located inside or outside the electronic device 201 , for example. According to one embodiment, the display 260 may further include a control circuit for controlling the panel 262 , the hologram device 264 , or the projector 266 .

본 발명의 다양한 실시예에 있어서, 패널(262)이 포함된 디스플레이(160)는 터치 스크린과 동일하거나 유사한 의미로 쓰일 수 있다. 즉, 터치 스크린은 특정 정보를 디스플레이 하는 디스플레이(160) 및 터치 입력을 수신할 수 있는 패널(262)을 포함하는 의미로 정의될 수 있다.In various embodiments of the present invention, the display 160 including the panel 262 may be used as the same as or similar to a touch screen. That is, the touch screen may be defined as including a display 160 displaying specific information and a panel 262 capable of receiving a touch input.

인터페이스(270)는, 예를 들면, HDMI(high-definition multimedia interface)(272), USB(universal serial bus)(274), 광 인터페이스(optical interface)(276), 또는 D-sub(D-subminiature)(278)를 포함할 수 있다. 인터페이스(270)는, 예를 들면, 도 1에 도시된 통신 인터페이스(170)에 포함될 수 있다. 추가적으로 또는 대체적으로(additionally and alternatively), 인터페이스(270)는, 예를 들면, MHL(mobile high-definition link) 인터페이스, SD(secure digital) 카드/MMC(multi-media card) 인터페이스, 또는 IrDA(infrared data association) 규격 인터페이스를 포함할 수 있다. The interface 270 may be, for example, a high-definition multimedia interface (HDMI) 272, a universal serial bus (USB) 274, an optical interface 276, or a D-subminiature (D-sub). ) (278). Interface 270 may be included in, for example, communication interface 170 shown in FIG. 1 . Additionally or alternatively, interface 270 may be, for example, a mobile high-definition link (MHL) interface, a secure digital (SD) card/multi-media card (MMC) interface, or an infrared (IrDA) interface. data association) can include a standard interface.

오디오 모듈(280)은, 예를 들면, 소리(sound)와 전기 신호를 쌍방향으로 변환시킬 수 있다. 오디오 모듈(280)의 적어도 일부 구성요소는, 예를 들면, 도 1 에 도시된 입출력 인터페이스(145)에 포함될 수 있다. 오디오 모듈(280)은, 예를 들면, 스피커(282), 리시버(284), 이어폰(286), 또는 마이크(288) 등을 통해 입력 또는 출력되는 소리 정보를 처리할 수 있다. The audio module 280 may, for example, convert a sound and an electrical signal in both directions. At least some components of the audio module 280 may be included in the input/output interface 145 shown in FIG. 1 , for example. The audio module 280 may process sound information input or output through, for example, the speaker 282, the receiver 284, the earphone 286, or the microphone 288.

카메라 모듈(291)은, 예를 들면, 정지 영상 및 동영상을 촬영할 수 있는 장치로서, 한 실시예에 따르면, 하나 이상의 이미지 센서(예: 전면 센서 또는 후면 센서), 렌즈, ISP(image signal processor), 또는 플래시(flash)(예: LED 또는 xenon lamp 등)를 포함할 수 있다.The camera module 291 is, for example, a device capable of capturing still images and moving images. According to one embodiment, the camera module 291 includes one or more image sensors (eg, a front sensor or a rear sensor), a lens, and an image signal processor (ISP). , or a flash (eg, LED or xenon lamp, etc.).

전력 관리 모듈(295)은, 예를 들면, 전자 장치(201)의 전력을 관리할 수 있다. 한 실시예에 따르면, 전력 관리 모듈(295)은 PMIC(power management integrated circuit), 충전 IC(charger integrated circuit), 또는 배터리 또는 연료 게이지(battery or fuel gauge)를 포함할 수 있다. PMIC는, 유선 및/또는 무선 충전 방식을 가질 수 있다. 무선 충전 방식은, 예를 들면, 자기공명 방식, 자기유도 방식 또는 전자기파 방식 등을 포함하며, 무선 충전을 위한 부가적인 회로, 예를 들면, 코일 루프, 공진 회로, 또는 정류기 등을 더 포함할 수 있다. 배터리 게이지는, 예를 들면, 배터리(296)의 잔량, 충전 중 전압, 전류, 또는 온도를 측정할 수 있다. 배터리(296)는, 예를 들면, 충전식 전지(rechargeable battery) 및/또는 태양 전지(solar battery)를 포함할 수 있다. The power management module 295 may manage power of the electronic device 201 , for example. According to one embodiment, the power management module 295 may include a power management integrated circuit (PMIC), a charger integrated circuit (IC), or a battery or fuel gauge. A PMIC may have a wired and/or wireless charging method. The wireless charging method includes, for example, a magnetic resonance method, a magnetic induction method, or an electromagnetic wave method, and may further include an additional circuit for wireless charging, for example, a coil loop, a resonance circuit, or a rectifier. there is. The battery gauge may measure, for example, the remaining capacity of the battery 296, voltage, current, or temperature during charging. Battery 296 may include, for example, a rechargeable battery and/or a solar battery.

인디케이터(297)는 전자 장치(201) 또는 그 일부(예: 프로세서(210))의 특정 상태, 예를 들면, 부팅 상태, 메시지 상태 또는 충전 상태 등을 표시할 수 있다. 모터(298)는 전기적 신호를 기계적 진동으로 변환할 수 있고, 진동(vibration), 또는 햅틱(haptic) 효과 등을 발생시킬 수 있다. 도시되지는 않았으나, 전자 장치(201)는 모바일 TV 지원을 위한 처리 장치(예: GPU)를 포함할 수 있다. 모바일 TV 지원을 위한 처리 장치는, 예를 들면, DMB(digital multimedia broadcasting), DVB(digital video broadcasting), 또는 미디어플로(mediaFloTM) 등의 규격에 따른 미디어 데이터를 처리할 수 있다. The indicator 297 may indicate a specific state of the electronic device 201 or a part thereof (eg, the processor 210), for example, a booting state, a message state, or a charging state. The motor 298 may convert electrical signals into mechanical vibrations and generate vibrations or haptic effects. Although not shown, the electronic device 201 may include a processing unit (eg, GPU) for supporting mobile TV. A processing device for supporting mobile TV may process media data according to standards such as digital multimedia broadcasting (DMB), digital video broadcasting (DVB), or mediaFlo .

본 문서에서 기술된 구성요소들 각각은 하나 또는 그 이상의 부품(component)으로 구성될 수 있으며, 해당 구성요소의 명칭은 전자 장치의 종류에 따라서 달라질 수 있다. 다양한 실시예에서, 전자 장치는 본 문서에서 기술된 구성요소 중 적어도 하나를 포함하여 구성될 수 있으며, 일부 구성요소가 생략되거나 또는 추가적인 다른 구성요소를 더 포함할 수 있다. 또한, 다양한 실시예에 따른 전자 장치의 구성요소들 중 일부가 결합되어 하나의 개체(entity)로 구성됨으로써, 결합되기 이전의 해당 구성요소들의 기능을 동일하게 수행할 수 있다.
Each of the components described in this document may be composed of one or more components, and the name of the corresponding component may vary depending on the type of electronic device. In various embodiments, an electronic device may include at least one of the components described in this document, and some components may be omitted or additional components may be further included. In addition, some of the components of the electronic device according to various embodiments are combined to form a single entity, so that the functions of the corresponding components before being combined can be performed the same.

도 3은 다양한 실시예에 따른 프로그램 모듈의 블록도이다. 한 실시예에 따르면, 프로그램 모듈(310)(예: 프로그램(140))은 전자 장치(예: 전자 장치(101))에 관련된 자원을 제어하는 운영 체제(operating system(OS)) 및/또는 운영 체제 상에서 구동되는 다양한 어플리케이션(예: 어플리케이션 프로그램(147))을 포함할 수 있다. 운영 체제는, 예를 들면, 안드로이드(android), iOS, 윈도우즈(windows), 심비안(symbian), 타이젠(tizen), 또는 바다(bada) 등이 될 수 있다.3 is a block diagram of program modules according to various embodiments. According to one embodiment, the program module 310 (eg, the program 140) may control resources related to an electronic device (eg, the electronic device 101) and/or an operating system (OS). It may include various applications (eg, the application program 147) running on the system. The operating system may be, for example, Android, iOS, Windows, Symbian, Tizen, or bada.

프로그램 모듈(310)은 커널(320), 미들웨어(330), 어플리케이션 프로그래밍 인터페이스(application programming interface (API))(360), 및/또는 어플리케이션(370)을 포함할 수 있다. 프로그램 모듈(310)의 적어도 일부는 전자 장치 상에 프리로드(preload) 되거나, 외부 전자 장치(예: 전자 장치(102, 104), 서버(106) 등)로부터 다운로드(download) 가능하다.The program module 310 may include a kernel 320 , middleware 330 , an application programming interface (API) 360 , and/or an application 370 . At least a part of the program module 310 may be preloaded on an electronic device or may be downloaded from an external electronic device (eg, the electronic device 102 or 104, the server 106, etc.).

커널(320)(예: 커널(141))은, 예를 들면, 시스템 리소스 매니저(321) 및/또는 디바이스 드라이버(323)를 포함할 수 있다. 시스템 리소스 매니저(321)는 시스템 리소스의 제어, 할당, 또는 회수 등을 수행할 수 있다. 한 실시예에 따르면, 시스템 리소스 매니저(321)는 프로세스 관리부, 메모리 관리부, 또는 파일 시스템 관리부 등을 포함할 수 있다. 디바이스 드라이버(323)는, 예를 들면, 디스플레이 드라이버, 카메라 드라이버, 블루투스 드라이버, 공유 메모리 드라이버, USB 드라이버, 키패드 드라이버, WiFi 드라이버, 오디오 드라이버, 또는 IPC(inter-process communication) 드라이버를 포함할 수 있다. The kernel 320 (eg, the kernel 141 ) may include, for example, a system resource manager 321 and/or a device driver 323 . The system resource manager 321 may control, allocate, or recover system resources. According to one embodiment, the system resource manager 321 may include a process management unit, a memory management unit, or a file system management unit. The device driver 323 may include, for example, a display driver, a camera driver, a Bluetooth driver, a shared memory driver, a USB driver, a keypad driver, a WiFi driver, an audio driver, or an inter-process communication (IPC) driver. .

미들웨어(330)는, 예를 들면, 어플리케이션(370)이 공통적으로 필요로 하는 기능을 제공하거나, 어플리케이션(370)이 전자 장치 내부의 제한된 시스템 자원을 효율적으로 사용할 수 있도록 API(360)를 통해 다양한 기능들을 어플리케이션(370)으로 제공할 수 있다. 한 실시예에 따르면, 미들웨어(330)(예: 미들웨어(143))는 런타임 라이브러리(335), 어플리케이션 매니저(application manager)(341), 윈도우 매니저(window manager)(342), 멀티미디어 매니저(multimedia manager)(343), 리소스 매니저(resource manager)(344), 파워 매니저(power manager)(345), 데이터베이스 매니저(database manager)(346), 패키지 매니저(package manager)(347), 연결 매니저(connectivity manager)(348), 통지 매니저(notification manager)(349), 위치 매니저(location manager)(350), 그래픽 매니저(graphic manager)(351), 또는 보안 매니저(security manager)(352) 중 적어도 하나를 포함할 수 있다.The middleware 330, for example, provides a function commonly required by the application 370 or uses various APIs 360 so that the application 370 can efficiently use limited system resources inside the electronic device. Functions may be provided to the application 370 . According to one embodiment, the middleware 330 (eg, the middleware 143) includes a runtime library 335, an application manager 341, a window manager 342, and a multimedia manager. ) 343, resource manager 344, power manager 345, database manager 346, package manager 347, connectivity manager ) 348, a notification manager 349, a location manager 350, a graphic manager 351, or a security manager 352. can do.

런타임 라이브러리(335)는, 예를 들면, 어플리케이션(370)이 실행되는 동안에 프로그래밍 언어를 통해 새로운 기능을 추가하기 위해 컴파일러가 사용하는 라이브러리 모듈을 포함할 수 있다. 런타임 라이브러리(335)는 입출력 관리, 메모리 관리, 또는 산술 함수에 대한 기능 등을 수행할 수 있다. The runtime library 335 may include, for example, a library module used by a compiler to add new functions through a programming language while the application 370 is being executed. The runtime library 335 may perform functions related to input/output management, memory management, or arithmetic functions.

어플리케이션 매니저(341)는, 예를 들면, 어플리케이션(370) 중 적어도 하나의 어플리케이션의 생명 주기(life cycle)를 관리할 수 있다. 윈도우 매니저(342)는 화면에서 사용하는 GUI 자원을 관리할 수 있다. 멀티미디어 매니저(343)는 다양한 미디어 파일들의 재생에 필요한 포맷을 파악하고, 해당 포맷에 맞는 코덱(codec)을 이용하여 미디어 파일의 인코딩(encoding) 또는 디코딩(decoding)을 수행할 수 있다. 리소스 매니저(344)는 어플리케이션(370) 중 적어도 어느 하나의 어플리케이션의 소스 코드, 메모리 또는 저장 공간 등의 자원을 관리할 수 있다. The application manager 341 may manage, for example, a life cycle of at least one application among the applications 370 . The window manager 342 may manage GUI resources used in the screen. The multimedia manager 343 may determine a format necessary for reproducing various media files, and encode or decode the media file using a codec suitable for the format. The resource manager 344 may manage resources such as source code, memory, or storage space of at least one of the applications 370 .

파워 매니저(345)는, 예를 들면, 바이오스(BIOS: basic input/output system) 등과 함께 동작하여 배터리(battery) 또는 전원을 관리하고, 전자 장치의 동작에 필요한 전력 정보 등을 제공할 수 있다. 데이터베이스 매니저(346)는 어플리케이션(370) 중 적어도 하나의 어플리케이션에서 사용할 데이터베이스를 생성, 검색, 또는 변경할 수 있다. 패키지 매니저(347)는 패키지 파일의 형태로 배포되는 어플리케이션의 설치 또는 업데이트를 관리할 수 있다. The power manager 345 may, for example, operate in conjunction with a basic input/output system (BIOS) to manage a battery or power and provide power information required for operation of the electronic device. The database manager 346 may create, search, or change a database to be used by at least one of the applications 370 . The package manager 347 may manage installation or update of applications distributed in the form of package files.

연결 매니저(348)는, 예를 들면, WiFi 또는 블루투스 등의 무선 연결을 관리할 수 있다. 통지 매니저(349)는 도착 메시지, 약속, 근접성 알림 등의 사건(event)을 사용자에게 방해되지 않는 방식으로 표시 또는 통지할 수 있다. 위치 매니저(350)는 전자 장치의 위치 정보를 관리할 수 있다. 그래픽 매니저(351)는 사용자에게 제공될 그래픽 효과 또는 이와 관련된 사용자 인터페이스를 관리할 수 있다. 보안 매니저(352)는 시스템 보안 또는 사용자 인증 등에 필요한 제반 보안 기능을 제공할 수 있다. 한 실시예에 따르면, 전자 장치(예: 전자 장치(101))가 전화 기능을 포함한 경우, 미들웨어(330)는 전자 장치의 음성 또는 영상 통화 기능을 관리하기 위한 통화 매니저(telephony manager)를 더 포함할 수 있다. The connection manager 348 may manage wireless connections such as WiFi or Bluetooth. The notification manager 349 may display or notify the user of events such as arrival messages, appointments, and proximity notifications in a non-intrusive manner. The location manager 350 may manage location information of an electronic device. The graphic manager 351 may manage graphic effects to be provided to users or user interfaces related thereto. The security manager 352 may provide various security functions necessary for system security or user authentication. According to one embodiment, when the electronic device (eg, the electronic device 101) includes a phone function, the middleware 330 further includes a telephony manager for managing the voice or video call function of the electronic device. can do.

미들웨어(330)는 전술한 구성요소들의 다양한 기능의 조합을 형성하는 미들웨어 모듈을 포함할 수 있다. 미들웨어(330)는 차별화된 기능을 제공하기 위해 운영 체제의 종류 별로 특화된 모듈을 제공할 수 있다. 또한, 미들웨어(330)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다.The middleware 330 may include a middleware module that forms a combination of various functions of the aforementioned components. The middleware 330 may provide modules specialized for each type of operating system to provide differentiated functions. Also, the middleware 330 may dynamically delete some existing components or add new components.

API(360)(예: API(145))는, 예를 들면, API 프로그래밍 함수들의 집합으로, 운영 체제에 따라 다른 구성으로 제공될 수 있다. 예를 들면, 안드로이드 또는 iOS의 경우, 플랫폼 별로 하나의 API 셋을 제공할 수 있으며, 타이젠(tizen)의 경우, 플랫폼 별로 두 개 이상의 API 셋을 제공할 수 있다.The API 360 (eg, the API 145) is, for example, a set of API programming functions, and may be provided in different configurations depending on the operating system. For example, in the case of Android or iOS, one API set can be provided for each platform, and in the case of Tizen, two or more API sets can be provided for each platform.

어플리케이션(370)(예: 어플리케이션 프로그램(147))은, 예를 들면, 홈(371), 다이얼러(372), SMS/MMS(373), IM(instant message)(374), 브라우저(375), 카메라(376), 알람(377), 컨택트(378), 음성 다이얼(379), 이메일(380), 달력(381), 미디어 플레이어(382), 앨범(383), 또는 시계(384), 건강 관리(health care)(예: 운동량 또는 혈당 등을 측정), 또는 환경 정보 제공(예: 기압, 습도, 또는 온도 정보 등을 제공) 등의 기능을 수행할 수 있는 하나 이상의 어플리케이션을 포함할 수 있다.The application 370 (eg, the application program 147) includes, for example, a home 371, a dialer 372, an SMS/MMS 373, an instant message (IM) 374, a browser 375, Camera (376), Alarm (377), Contact (378), Voice Dial (379), Email (380), Calendar (381), Media Player (382), Album (383), or Clock (384), Health Management It may include one or more applications capable of performing functions such as health care (eg, measurement of exercise or blood sugar) or provision of environment information (eg, provision of atmospheric pressure, humidity, or temperature information).

한 실시예에 따르면, 어플리케이션(370)은 전자 장치(예: 전자 장치(101))와 외부 전자 장치(예: 전자 장치(102, 104)) 사이의 정보 교환을 지원하는 어플리케이션(이하, 설명의 편의 상, "정보 교환 어플리케이션")을 포함할 수 있다. 정보 교환 어플리케이션은, 예를 들면, 외부 전자 장치에 특정 정보를 전달하기 위한 알림 전달(notification relay) 어플리케이션, 또는 외부 전자 장치를 관리하기 위한 장치 관리(device management) 어플리케이션을 포함할 수 있다. According to one embodiment, the application 370 is an application that supports information exchange between an electronic device (eg, the electronic device 101) and an external electronic device (eg, the electronic devices 102 and 104) (hereinafter, the description of For convenience, "information exchange application") may be included. The information exchange application may include, for example, a notification relay application for delivering specific information to an external electronic device or a device management application for managing an external electronic device.

예를 들면, 알림 전달 어플리케이션은 전자 장치의 다른 어플리케이션(예: SMS/MMS 어플리케이션, 이메일 어플리케이션, 건강 관리 어플리케이션, 또는 환경 정보 어플리케이션 등)에서 발생된 알림 정보를 외부 전자 장치(예: 전자 장치(102, 104))로 전달하는 기능을 포함할 수 있다. 또한, 알림 전달 어플리케이션은, 예를 들면, 외부 전자 장치로부터 알림 정보를 수신하여 사용자에게 제공할 수 있다. For example, the notification delivery application transmits notification information generated from other applications (eg, SMS/MMS applications, email applications, health management applications, or environmental information applications) of the electronic device to an external electronic device (eg, the electronic device 102 ). , 104)). Also, the notification delivery application may receive notification information from an external electronic device and provide the notification information to the user.

장치 관리 어플리케이션은, 예를 들면, 전자 장치와 통신하는 외부 전자 장치(예: 전자 장치(102, 104))의 적어도 하나의 기능(예: 외부 전자 장치 자체(또는, 일부 구성 부품)의 턴-온/턴-오프 또는 디스플레이의 밝기(또는, 해상도) 조절), 외부 전자 장치에서 동작하는 어플리케이션 또는 외부 전자 장치에서 제공되는 서비스(예: 통화 서비스 또는 메시지 서비스 등)를 관리(예: 설치, 삭제, 또는 업데이트)할 수 있다. The device management application is, for example, at least one function of an external electronic device (eg, the electronic device 102 or 104) that communicates with the electronic device (eg, a turn-on of the external electronic device itself (or some component parts)). On/off or brightness (or resolution) control of the display), management (e.g. installation, deletion) of applications running on external electronic devices or services provided by external electronic devices (e.g. call service or message service, etc.) , or update).

한 실시예에 따르면, 어플리케이션(370)은 외부 전자 장치(예: 전자 장치(102, 104))의 속성(에 따라 지정된 어플리케이션(예: 모바일 의료 기기의 건강 관리 어플리케이션 등)을 포함할 수 있다. 한 실시예에 따르면, 어플리케이션(370)은 외부 전자 장치(예: 서버(106) 또는 전자 장치(102, 104))로부터 수신된 어플리케이션을 포함할 수 있다. 한 실시예에 따르면, 어플리케이션(370)은 프리로드 어플리케이션(preloaded application) 또는 서버로부터 다운로드 가능한 제3자 어플리케이션(third party application)을 포함할 수 있다. 도시된 실시예에 따른 프로그램 모듈(310)의 구성요소들의 명칭은 운영 체제의 종류에 따라서 달라질 수 있다. According to an embodiment, the application 370 may include an application (eg, a health management application of a mobile medical device) designated according to properties (eg, the electronic devices 102 and 104) of the external electronic device. According to one embodiment, the application 370 may include an application received from an external electronic device (eg, the server 106 or the electronic devices 102 and 104). may include a preloaded application or a third party application downloadable from a server Names of components of the program module 310 according to the illustrated embodiment depend on the type of operating system. Therefore, it may vary.

다양한 실시예에 따르면, 프로그램 모듈(310)의 적어도 일부는 소프트웨어, 펌웨어, 하드웨어, 또는 이들 중 적어도 둘 이상의 조합으로 구현될 수 있다. 프로그램 모듈(310)의 적어도 일부는, 예를 들면, 프로세서(예: 프로세서(210))에 의해 구현(implement)(예: 실행)될 수 있다. 프로그램 모듈(310)의 적어도 일부는 하나 이상의 기능을 수행하기 위한, 예를 들면, 모듈, 프로그램, 루틴, 명령어 세트(sets of instructions) 또는 프로세스 등을 포함할 수 있다.
According to various embodiments, at least a portion of the program module 310 may be implemented as software, firmware, hardware, or a combination of at least two or more of these. At least part of the program module 310 may be implemented (eg, executed) by, for example, a processor (eg, the processor 210). At least some of the program modules 310 may include, for example, modules, programs, routines, sets of instructions, or processes for performing one or more functions.

도 4는 본 발명의 다양한 실시예에 따른 전자 장치의 개략적인 블록도이다.4 is a schematic block diagram of an electronic device according to various embodiments of the present disclosure.

도 4에 도시된 바와 같이, 전자 장치는 프로세서(410), 카메라(430), 플래시(440)를 포함할 수 있다.As shown in FIG. 4 , the electronic device may include a processor 410 , a camera 430 , and a flash 440 .

예컨대, 상기 전자 장치는 제1 몸체의 제1면에 위치하며, 피사체를 촬영하는 카메라(430)와 상기 제1 몸체의 제1 면에 위치한 플래시(440)를 포함하는 카메라 모듈(420) 및 상기 카메라(430)를 이용하여 촬영될 상기 피사체와의 거리에 따라, 상기 전자 장치의 플래시(440) 밝기를 제어하고, 상기 피사체를 촬영하도록 제어하는 프로세서(410)를 포함할 수 있다.For example, the electronic device includes a camera module 420 positioned on a first surface of the first body and including a camera 430 for photographing a subject and a flash 440 positioned on the first surface of the first body; It may include a processor 410 that controls the brightness of the flash 440 of the electronic device according to the distance to the subject to be photographed using the camera 430 and controls to photograph the subject.

상기 프로세서(410)는 사용자의 촬영 명령에 응답하여, 상기 카메라(430)를 이용하여 촬영될 피사체와의 거리에 따라, 상기 플래시(440)의 밝기를 제어하고, 상기 제어된 플래시(440)의 밝기를 제공함으로써 피사체를 촬영하도록 제어할 수 있다.The processor 410 controls the brightness of the flash 440 according to the distance to the subject to be photographed using the camera 430 in response to a user's photographing command, and controls the brightness of the controlled flash 440. By providing brightness, it is possible to control the subject to be photographed.

예컨대, 상기 촬영될 피사체와의 거리는 상기 전자 장치의 카메라(430)가 전방을 촬영하는지(예컨대, 사용자를 촬영하는 셀피(selfie)촬영), 후방을 촬영하는지에 따라 판단될 수 있다.For example, the distance to the subject to be photographed may be determined according to whether the camera 430 of the electronic device photographs the front (eg, taking a selfie of a user) or the rear.

예컨대, 상기 촬영될 피사체와의 거리는 상기 전자 장치와 상기 피사체 사이의 거리를 측정함에 따라 판단될 수 있다.For example, the distance to the subject to be photographed may be determined by measuring the distance between the electronic device and the subject.

예컨대, 상기 촬영될 피사체와의 거리는 상기 전자 장치가 외부 전자 장치에 연결되었는지에 따라 판단될 수 있다.For example, the distance to the subject to be photographed may be determined according to whether the electronic device is connected to an external electronic device.

예컨대, 상기 프로세서(410)는 상기 촬영될 피사체와의 거리를 판단하기 위해, 상기 카메라(430)가 전방을 촬영하는지 후방을 촬영하는지 확인할 수 있다. For example, the processor 410 may determine whether the camera 430 photographs the front or the rear in order to determine the distance to the subject to be photographed.

이때, 상기 카메라(430)가 전방을 촬영하는지 후방을 촬영하는지 확인하기 위해, 상기 전자 장치의 제1 몸체와 상기 제2 몸체가 접힌(fold) 상태인지, 펴진(outspread) 상태인지 여부를 판단할 수 있다. At this time, in order to determine whether the camera 430 photographs the front or the rear, it is determined whether the first body and the second body of the electronic device are in a folded state or an outspread state. can

이때, 상기 전자 장치는 제1 디스플레이를 포함하는 상기 제1 몸체와, 제2 디스플레이를 포함하는 제2 몸체, 및 상기 제1 몸체 및 상기 제2 몸체를 절첩 가능하게 연결하는 연결부를 포함할 수 있다. In this case, the electronic device may include the first body including a first display, a second body including a second display, and a connection portion that connects the first body and the second body in a foldable manner. .

여기서, 상기 전자 장치의 몸체의 접힌 상태는 절첩 영역을 기준으로 제1 디스플레이와 제2 디스플레이가 외부로 노출되도록 접힌 상태를 의미할 수 있다. Here, the folded state of the body of the electronic device may mean a folded state such that the first display and the second display are exposed to the outside based on the folded area.

만약, 상기 전자 장치의 몸체가 펴진 상태 검출되는 경우, 상기 카메라(430)가 전방을 촬영하는 것(예컨대, 사용자를 촬영하는 셀피(selfie)촬영)으로 인식하여, 상기 플래시(440)의 밝기를 제1 밝기로 제어할 수 있다.If the unfolded state of the body of the electronic device is detected, the camera 430 recognizes that the camera 430 is photographing the front (e.g., taking a selfie of a user), and adjusts the brightness of the flash 440. It can be controlled to the first brightness.

여기서, 상기 제1 밝기는 후방을 촬영하는 것으로 인식하여 제어되는 제2 밝기보다 어두운 밝기일 수 있다.Here, the first brightness may be darker than the second brightness controlled by recognizing that the rear is photographed.

만약, 상기 전자 장치의 몸체가 접힌 상태로 검출되는 경우, 상기 제1 몸체, 상기 제2 몸체 각각에 포함된 제1 디스플레이, 제2 디스플레이 중에서 활성화된 디스플레이를 확인할 수 있다.If the body of the electronic device is detected in a folded state, an activated display among the first display and the second display included in the first body and the second body may be identified.

이때, 상기 제1 몸체의 제1 디스플레이가 상기 활성화된 디스플레이인 것으로 확인되면, 상기 활성화된 제1 디스플레이와 동일한 면에 위치하는 카메라(430)가 전방을 촬영하는 것(예컨대, 사용자를 촬영하는 셀피(selfie)촬영)으로 인식하여, 상기 플래시(440)의 밝기를 제1 밝기로 제어할 수 있다.At this time, if it is confirmed that the first display of the first body is the activated display, the camera 430 located on the same side as the activated first display takes a picture of the front (eg, a selfie taking a picture of the user). (selfie), the brightness of the flash 440 can be controlled to the first brightness.

여기서, 상기 제1 밝기는 후방을 촬영하는 것으로 인식하여 제어되는 제2 밝기보다 어두운 밝기일 수 있다.Here, the first brightness may be darker than the second brightness controlled by recognizing that the rear is photographed.

만약, 상기 카메라(430)를 포함하지 않는 제2 몸체의 제2 디스플레이가 활성화된 것으로 확인되면, 상기 카메라(430)가 후방을 촬영하는 것으로 인식하여, 상기 플래시(440)의 밝기를 상기 제1 밝기보다 밝은 제2 밝기로 제어할 수 있다. If it is confirmed that the second display of the second body not including the camera 430 is activated, it is recognized that the camera 430 is photographing the rear, and the brightness of the flash 440 is set to the first It can be controlled to a second brightness that is brighter than the brightness.

여기서, 상기 플래시(440)는 LED 플래시(flash)를 이용할 수 있으나, 이에 한정되지 않고, 당업계에 공지된 카메라용 플래시가 다양하게 이용될 수 있음은 물론이다. Here, the flash 440 may use an LED flash, but is not limited thereto, and various camera flashes known in the art may be used.

예컨대, 상기 제1 밝기는 상기 플래시(440)를 이용하지 않고, 화면 아몰레드(amoled)밝기를 이용하여 제어할 수 있으며, 상기 제1 밝기를 화면 아몰레드(amoled) 밝기를 이용하여 제어하는 경우, 상기 제2 밝기는 상기 화면 아몰레드(amoled) 밝기보다 밝은 LED플래시를 이용하여 제어할 수 있다. For example, the first brightness may be controlled using screen AMOLED brightness without using the flash 440, and the first brightness is controlled using screen AMOLED brightness. , The second brightness can be controlled using an LED flash that is brighter than the screen AMOLED brightness.

예컨대, 상기 프로세서(410)는 상기 촬영될 피사체와의 거리를 판단하기 위해, 상기 전자 장치가 외부 전자 장치에 연결되어 있는지 확인할 수 있다.For example, the processor 410 may determine whether the electronic device is connected to an external electronic device in order to determine the distance to the subject to be photographed.

예컨대, 상기 외부 전자 장치에 상기 전자 장치가 연결되어 있는지 확인하는 방법으로, 상기 외부 전자 장치에 구비된 블루투스(Bluetooth)와 같은 근거리 무선 통신을 이용하여 상기 전자 장치의 통신부와 통신함으로써 확인할 수 있다.For example, as a method of determining whether the electronic device is connected to the external electronic device, it may be confirmed by communicating with a communication unit of the electronic device using short-range wireless communication such as Bluetooth provided in the external electronic device.

만약, 상기 전자 장치가 상기 외부 전자 장치에 연결되어 있는 경우, 상기 플래시(440)의 밝기를 상기 제3 밝기로 제어할 수 있다.If the electronic device is connected to the external electronic device, the brightness of the flash 440 may be controlled to the third brightness.

여기서, 상기 제3 밝기는 사용자가 셀피(selfie) 사진 촬영을 수행하는 경우(도 16 참조)에 제어되는 제1 밝기보다 밝은 밝기 일 수 있다. Here, the third brightness may be brighter than the first brightness controlled when the user takes a selfie picture (see FIG. 16 ).

예컨대, 도 15를 참조하면, 사용자가 상기 외부 전자 장치에 연결되어 있는 전자 장치를 이용하여 사진 촬영을 수행하는 경우, 사용자가 셀피(selfie) 사진 촬영을 수행하는 경우(도 16 참조)보다 상기 전자 장치와 사용자 사이의 거리가 더 클 수 있다.For example, referring to FIG. 15 , when a user takes a picture using an electronic device connected to the external electronic device, the electronic device is different than when the user takes a selfie picture (see FIG. 16 ). The distance between the device and the user may be greater.

이에 따라, 상기 제3 밝기는 사용자가 셀피 사진 촬영을 수행하는 경우(도 16 참조)에 제어되는 제1 밝기보다 밝은 밝기일 수 있으며, 카메라가 후방을 촬영하는 것으로 인식하여 제어되는 제2 밝기보다 어두운 밝기 일 수 있다.Accordingly, the third brightness may be brighter than the first brightness controlled when the user takes a selfie picture (see FIG. 16), and may be brighter than the second brightness controlled by recognizing that the camera is taking a picture of the rear. It can be dark bright.

예컨대, 상기 제3 밝기는 플래시를 이용하지 않고, 화면 아몰레드(amoled) 밝기를 이용하여 제어할 수 있으며, 상기 제1 밝기, 상기 제3 밝기 모두를 화면 아몰레드(amoled) 밝기를 이용하여 제어할 수 있다. 이때, 상기 제3 밝기는 제1 밝기보다 밝은 밝기 일 수 있다.
For example, the third brightness may be controlled using screen AMOLED brightness without using a flash, and both the first brightness and the third brightness are controlled using screen AMOLED brightness. can do. In this case, the third brightness may be brighter than the first brightness.

도 5는 본 발명의 다양한 실시예에 따른 전자 장치의 개략적인 블록도이다.5 is a schematic block diagram of an electronic device according to various embodiments of the present disclosure.

도 5에 도시된 바와 같이, 전자 장치는 프로세서(510), 카메라(530), 플래시(540) 및 센싱부(550)를 포함할 수 있다.As shown in FIG. 5 , the electronic device may include a processor 510 , a camera 530 , a flash 540 and a sensing unit 550 .

예컨대, 상기 전자 장치는 제1 몸체의 제1 면에 위치하며, 피사체를 촬영하는 카메라(530)와 상기 제1 몸체의 제1 면에 위치한 플래시(540)를 포함하는 카메라 모듈(520), 상기 카메라(530)를 이용하여 촬영될 상기 피사체와의 거리에 따라, 상기 전자 장치의 플래시(540) 밝기를 제어하고, 상기 피사체를 촬영하도록 제어하는 프로세서(510) 및 상기 피사체의 위치를 검출하는 센싱부(550)를 포함할 수 있다.
For example, the electronic device includes a camera module 520 positioned on a first surface of the first body and including a camera 530 for photographing a subject and a flash 540 positioned on the first surface of the first body; A processor 510 controlling the brightness of the flash 540 of the electronic device and photographing the subject according to the distance to the subject to be photographed using the camera 530, and sensing to detect the position of the subject may include section 550 .

도 5에 도시된 프로세서(510), 카메라(530), 플래시(540)는 상술한 도 4의 프로세서(410), 카메라(430), 플래시(440)와 각각 동일 또는 유사하게 구성될 수 있다. 그러므로 이하에서는 상술한 도 4의 프로세서(410), 카메라(430), 플래시(440)에 대한 동일 또는 유사한 구성의 설명은 생략하도록 한다.The processor 510, camera 530, and flash 540 shown in FIG. 5 may be configured identically or similarly to the processor 410, camera 430, and flash 440 of FIG. 4 described above. Therefore, descriptions of the same or similar configurations of the processor 410, the camera 430, and the flash 440 of FIG. 4 will be omitted below.

예컨대, 상기 센싱부(550)는 레이져(laser) 센서 또는 위상차 센서와 같은 카메라 오토 포커스(Auto Focus) 센서를 포함할 수 있다.For example, the sensing unit 550 may include a camera auto focus sensor such as a laser sensor or a phase difference sensor.

여기서, 레이져 오토 포커스 또는 위상차 오토 포커스를 이용하여 상기 피사체의 위치를 검출할 수 있다.Here, the position of the subject may be detected using laser auto focus or phase difference auto focus.

예컨대, 상기 프로세서(510)는 상기 센싱부(550)를 통해 검출된 상기 피사체의 위치를 이용하여, 상기 전자 장치와 상기 피사체 사이의 거리를 측정할 수 있다.For example, the processor 510 may measure the distance between the electronic device and the subject using the position of the subject detected through the sensing unit 550 .

이때, 상술한 레이져 센서 또는 위상차 센서와 같은 카메라 오토 포커스 센서를 이용하는 것을 한정하지 않고, 당업계에 공지된 다양한 거리 측정 방법을 이용할 수 있음은 물론이다. In this case, the use of a camera autofocus sensor such as the above-described laser sensor or phase difference sensor is not limited, and various distance measurement methods known in the art may be used.

예컨대, 위상차 오토 포커스와 콘트라스트(contrast) 오토 포커스를 모두 사용하는 하이브리드(Hybrid) 오토 포커스도 이용할 수 있다.For example, hybrid auto focus using both phase difference auto focus and contrast auto focus may be used.

예컨대, 상기 프로세서(510)는 상기 측정된 피사체와 상기 전자 장치 사이의 거리에 따라, 상기 플래시(540)의 밝기를 제어할 수 있다.For example, the processor 510 may control the brightness of the flash 540 according to the measured distance between the subject and the electronic device.

만약, 상기 측정된 거리가 미리 정해진 기준 거리보다 짧은 경우, 상기 플래시(540) 밝기를 제1 밝기로 제어할 수 있다. If the measured distance is shorter than a predetermined reference distance, the brightness of the flash 540 may be controlled to a first brightness.

만약, 상기 측정된 거리가 미리 정해진 기준 거리보다 큰 경우, 상기 플래시(540) 밝기를 상기 제1 밝기보다 밝은 제2 밝기로 제어할 수 있다.If the measured distance is greater than the predetermined reference distance, the brightness of the flash 540 may be controlled to a second brightness brighter than the first brightness.

예컨대, 만약 상기 측정된 거리가 미리 정해진 기준 거리보다 짧은 경우, 상기 플래시(540) 밝기를 피사체가 상기 전자 장치와 가까울수록 기준 밝기보다 점점 어두운 밝기로 제어할 수 있다. For example, if the measured distance is shorter than a predetermined reference distance, the brightness of the flash 540 may be controlled to be gradually darker than the reference brightness as the subject is closer to the electronic device.

만약, 상기 측정된 거리가 미리 정해진 기준 거리보다 큰 경우, 상기 플래시(540) 밝기를 피사체가 상기 미리 정해진 기준 거리로부터 멀어질수록 상기 기준 밝기보다 점점 밝은 밝기로 제어할 수 있다.If the measured distance is greater than the predetermined reference distance, the brightness of the flash 540 may be controlled to be gradually brighter than the reference brightness as the subject moves away from the predetermined reference distance.

예컨대, 상기 제1 밝기는 상기 플래시(540)를 이용하지 않고, 화면 아몰레드(amoled)밝기를 이용하여 제어할 수 있으며, 상기 제1 밝기를 화면 아몰레드(amoled)밝기를 이용하여 제어하는 경우, 상기 제2 밝기는 상기 화면 아몰레드(amoled)밝기보다 밝은 LED플래시를 이용하여 제어할 수 있다.
For example, the first brightness may be controlled using screen AMOLED brightness without using the flash 540, and the first brightness is controlled using screen AMOLED brightness. , The second brightness can be controlled using an LED flash brighter than the screen AMOLED brightness.

다양한 실시예에 있어서, 카메라를 구비하는 전자 장치에 있어서, 상기 전자 장치 제1 몸체의 제1 면에 위치하며, 피사체를 촬영하는 카메라, 상기 제1 몸체의 상기 제1 면에 위치한 플래시 및 촬영 명령에 응답하여, 상기 카메라를 이용하여 촬영될 상기 피사체와의 거리에 따라, 상기 전자 장치의 플래시 밝기를 제어하고, 상기 피사체를 촬영하도록 제어하는 프로세서를 포함할 수 있다.In various embodiments, in an electronic device having a camera, a camera positioned on a first surface of a first body of the electronic device and photographing a subject, a flash positioned on the first surface of the first body, and a photographing command In response to the above, according to the distance to the subject to be photographed using the camera, a processor for controlling flash brightness of the electronic device and controlling to photograph the subject may be included.

다양한 실시예에 있어서, 상기 피사체 위치를 검출하는 센싱부를 더 포함할 수 있다.In various embodiments, a sensing unit for detecting the subject position may be further included.

다양한 실시예에 있어서, 상기 거리는 상기 전자 장치와 상기 피사체 사이의 거리일 수 있다.In various embodiments, the distance may be a distance between the electronic device and the subject.

다양한 실시예에 있어서, 상기 전자 장치는 제1 디스플레이를 포함하는 상기 제1 몸체와, 제2 디스플레이를 포함하는 제2 몸체, 및 상기 제1 몸체 및 상기 제2 몸체를 절첩 가능하게 연결하는 연결부를 포함하고, 상기 프로세서는, 상기 제1 몸체와 상기 제2 몸체가 접힌(fold) 상태인지, 펴진(outspread) 상태인지 여부를 판단하고, 상기 제1 몸체와 상기 제2 몸체가 펴진 상태로 검출되는 경우, 촬영 명령에 응답하여, 상기 플래시의 밝기를 제1 밝기로 제어할 수 있다.In various embodiments, the electronic device may include a first body including a first display, a second body including a second display, and a connector connecting the first body and the second body in a foldable manner. The processor determines whether the first body and the second body are in a folded state or an outspread state, and the first body and the second body are detected in an unfolded state In this case, the brightness of the flash may be controlled to a first brightness in response to a photographing command.

다양한 실시예에 있어서, 상기 전자 장치의 상기 제1 몸체와 상기 제2 몸체가 접힌 상태로 판단되는 경우, 제1 디스플레이가 활성화되는 경우, 촬영 명령에 응답하여, 상기 플래시의 밝기를 제1 밝기로 제어할 수 있다.In various embodiments, when it is determined that the first body and the second body of the electronic device are in a folded state and the first display is activated, the brightness of the flash is set to the first brightness in response to a photographing command. You can control it.

다양한 실시예에 있어서, 상기 프로세서는, 상기 제2 디스플레이가 활성화된 경우, 촬영 명령에 응답하여, 상기 플래시의 밝기를 상기 제1 밝기보다 큰 제2 밝기로 제어할 수 있다.In various embodiments, when the second display is activated, the processor may control the brightness of the flash to a second brightness greater than the first brightness in response to a photographing command.

다양한 실시예에 있어서, 상기 프로세서는, 상기 피사체와의 거리를 확인하기 위해, 상기 센싱부를 통해 검출된 상기 피사체와 상기 전자 장치 사이의 거리를 측정할 수 있다.In various embodiments, the processor may measure a distance between the subject detected through the sensing unit and the electronic device in order to determine the distance to the subject.

다양한 실시예에 있어서, 상기 프로세서는, 상기 측정된 거리가 미리 정해진 기준 거리보다 짧은 경우, 촬영 명령에 응답하여, 상기 플래시의 밝기를 제1 밝기로 제어하고, 상기 측정된 거리가 미리 정해진 기준 거리보다 큰 경우, 촬영 명령에 응답하여, 상기 플래시의 밝기를 상기 제1 밝기보다 밝은 제2 밝기로 제어할 수 있다.In various embodiments, the processor controls the brightness of the flash to be a first brightness in response to a photographing command when the measured distance is shorter than a predetermined reference distance, and the measured distance is the predetermined reference distance. If it is greater than the first brightness, the brightness of the flash may be controlled to a second brightness brighter than the first brightness in response to a photographing command.

다양한 실시예에 있어서, 상기 프로세서는, 상기 피사체와의 거리를 확인하기 위해, 외부 전자장치가 상기 전자 장치에 연결되면, 촬영 명령에 응답하여, 상기 플래시의 밝기를 상기 제2 밝기로 제어할 수 있다.
In various embodiments, the processor may control the brightness of the flash to the second brightness in response to a photographing command when an external electronic device is connected to the electronic device in order to check the distance to the subject. there is.

도 6은 본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법을 나타낸 흐름도이다.6 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure.

도 6에 도시된 바와 같이, 610단계에서, 카메라 앱(Application)을 실행할 수 있다.As shown in FIG. 6 , in step 610, a camera application may be executed.

620단계에서, 촬영될 피사체와의 거리를 판단할 수 있다.In step 620, the distance to the subject to be photographed may be determined.

예컨대, 상기 촬영될 피사체와의 거리를 판단하는 과정은 상기 전자 장치의 카메라가 전방을 촬영하는지(예컨대, 사용자를 촬영하는 셀피(selfie)촬영) 후방을 촬영하는지 확인하는 과정을 포함할 수 있다.For example, the process of determining the distance to the subject to be photographed may include a process of determining whether the camera of the electronic device photographs the front (eg, taking a selfie of a user) or the rear.

예컨대, 상기 촬영될 피사체와의 거리를 판단하는 과정은 상기 전자 장치와 상기 피사체 사이의 거리를 측정하는 과정을 포함할 수 있다.For example, the process of determining the distance to the subject to be photographed may include measuring the distance between the electronic device and the subject.

예컨대, 상기 촬영될 피사체와의 거리를 판단하는 과정은 상기 전자 장치가 외부 전자 장치에 연결되었는지를 확인하는 과정을 포함할 수 있다.For example, the process of determining the distance to the subject to be photographed may include a process of confirming whether the electronic device is connected to an external electronic device.

630단계에서, 상기 사용자로부터 사진 촬영 명령을 수신할 수 있다.In step 630, a picture taking command may be received from the user.

640단계에서, 상기 판단된 피사체와의 거리에 따라, 플래시 밝기를 제어할 수 있다. In step 640, the brightness of the flash may be controlled according to the determined distance to the subject.

예컨대, 만약 카메라가 전방을 촬영 하는 것(예컨대, 사용자를 촬영하는 셀피(selfie) 촬영)으로 판단되는 경우, 플래시 밝기를 제1 밝기로 제어할 수 있다.For example, if it is determined that the camera is photographing the front (eg, taking a selfie of a user), the flash brightness may be controlled to a first brightness.

만약, 카메라가 후방을 촬영하는 것으로 판단되는 경우, 플래시 밝기를 상기 제1 밝기보다 밝은 제2 밝기로 제어할 수 있다.If it is determined that the camera is photographing the rear, the flash brightness may be controlled to a second brightness brighter than the first brightness.

예컨대, 전자 장치와 피사체 사이의 거리를 측정한 결과, 만약 상기 전자 장치와 피사체 사이의 거리가 미리 정해진 기준 거리보다 짧은 경우, 플래시 밝기를 제1 밝기로 제어할 수 있다.For example, as a result of measuring the distance between the electronic device and the subject, if the distance between the electronic device and the subject is shorter than a predetermined reference distance, the flash brightness may be controlled to be the first brightness.

만약, 상기 전자 장치와 피사체 사이의 거리가 미리 정해진 기준 거리보다 큰 경우, 플래시 밝기를 상기 제1 밝기보다 밝은 제2 밝기로 제어할 수 있다.If the distance between the electronic device and the subject is greater than a predetermined reference distance, the flash brightness may be controlled to a second brightness brighter than the first brightness.

예컨대, 전자 장치가 외부 전자 장치에 연결된 경우, 상기 플래시 밝기를 제3 밝기로 제어할 수 있다. For example, when the electronic device is connected to an external electronic device, the brightness of the flash may be controlled to be the third brightness.

이때 상기 제3 밝기는 상기 카메라가 전방을 촬영할 경우(예컨대, 사용자를 촬영하는 셀피(selfie) 촬영)에 제어되는 제1 밝기보다 밝은 밝기일 수 있으며, 상기 카메라가 후방을 촬영하는 경우에 제어되는 제2 밝기보다 어두운 밝기일 수 있다.In this case, the third brightness may be brighter than the first brightness controlled when the camera photographs the front (eg, taking a selfie of a user), and is controlled when the camera photographs the rear. The brightness may be darker than the second brightness.

예컨대, 상기 제1 밝기는 상기 플래시(440)를 이용하지 않고, 화면 아몰레드(amoled)밝기를 이용하여 제어할 수 있으며, 상기 제1 밝기를 화면 아몰레드(amoled)밝기를 이용하여 제어하는 경우, 상기 제2 밝기는 상기 화면 아몰레드(amoled)밝기보다 밝은 LED플래시를 이용하여 제어할 수 있다. For example, the first brightness may be controlled using screen AMOLED brightness without using the flash 440, and the first brightness is controlled using screen AMOLED brightness. , The second brightness can be controlled using an LED flash brighter than the screen AMOLED brightness.

650단계에서, 촬영된 이미지를 캡쳐할 수 있다.
In step 650, the photographed image may be captured.

도 7은 본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법을 나타낸 흐름도이다.7 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure.

상술한 도 6의 상기 촬영될 피사체와의 거리를 판단하는 과정에 대하여, 도 7을 참조하여 설명하도록 한다.The process of determining the distance to the subject to be photographed in FIG. 6 described above will be described with reference to FIG. 7 .

710단계에서, 카메라 앱을 실행할 수 있다.In step 710, a camera app may be executed.

예컨대, 상기 촬영될 피사체와의 거리를 판단하기 위해, 상기 카메라(430)가 전방을 촬영하는지 후방을 촬영하는지 확인할 수 있다. For example, in order to determine the distance to the subject to be photographed, it may be determined whether the camera 430 photographs the front or the rear.

720단계에서, 상기 카메라(430)가 전방을 촬영하는지 후방을 촬영하는지 확인하기 위해, 상기 전자 장치의 제1 몸체와 상기 제2 몸체가 접힌(fold) 상태인지, 펴진(outspread) 상태인지 여부를 판단할 수 있다. In step 720, whether the first body and the second body of the electronic device are in a folded state or an outspread state is checked to determine whether the camera 430 photographs the front or the rear. can judge

예컨대, 상기 전자 장치는 제1 디스플레이를 포함하는 상기 제1 몸체와, 제2 디스플레이를 포함하는 제2 몸체, 및 상기 제1 몸체 및 상기 제2 몸체를 절첩 가능하게 연결하는 연결부(예컨대, 절첩 영역)를 포함할 수 있다. For example, the electronic device includes the first body including a first display, a second body including a second display, and a connection part (eg, a folding area) connecting the first body and the second body in a foldable manner. ) may be included.

이때, 상기 전자 장치의 몸체의 접힌 상태는 절첩 영역을 기준으로 제1 디스플레이와 제2 디스플레이가 외부로 노출되도록 접힌 상태를 의미할 수 있다 .In this case, the folded state of the body of the electronic device may mean a folded state such that the first display and the second display are exposed to the outside based on the folded area.

상기 720단계는 도 10 및 도 11을 참조하여 보다 상세히 설명하도록 한다.Step 720 will be described in more detail with reference to FIGS. 10 and 11 .

도 10(a)는 상기 전자 장치의 몸체가 접힌 상태를 도시하는 평면도이고, 도 10(b) 는 상기 전자 장치의 몸체가 펴진 상태를 도시하는 평면도이다.FIG. 10(a) is a plan view showing a folded state of the body of the electronic device, and FIG. 10(b) is a plan view showing a unfolded state of the body of the electronic device.

도 10(b)를 참조하면, 상기 전자 장치는 절첩 영역(1090)을 기준으로 제1 디스플레이(1050)를 포함하는 제1 몸체(1010), 제2 디스플레이(1060)를 포함하는 제2 몸체(1020), 상기 제1 디스플레이(1050)와 동일한 면에 위치하는 카메라(1030) 및 플래시(1040)를 포함할 수 있다. Referring to FIG. 10(b) , the electronic device includes a first body 1010 including a first display 1050 and a second body including a second display 1060 based on a folded area 1090 ( 1020), a camera 1030 and a flash 1040 located on the same side as the first display 1050.

이때, 상기 제1 몸체(1010)는 홀(Hall) IC 센서(1070)가 내장될 수 있으며, 상기 제2 몸체(1020)는 자석(1080)이 내장될 수 있다.At this time, the Hall IC sensor 1070 may be embedded in the first body 1010, and the magnet 1080 may be embedded in the second body 1020.

여기서, 상기 제1 몸체(1010)와 상기 제2 몸체(1020)는 상기 절첩 영역 (1090)을 기준으로 하여 상기 도 10(a)와 같이, 접힐 수 있다. Here, the first body 1010 and the second body 1020 may be folded based on the folding area 1090 as shown in FIG. 10(a).

이때, 상기 제1 몸체(1010)와 상기 제2 몸체(1020)가 접힌 상태인지 검출하는 방법은 상기 홀 IC 센서(1070)에 상기 자석(1080)이 가까워짐에 따라 자성의 세기가 커짐으로써, 상기 제1 몸체(1010)와 상기 제2 몸체(1020)가 접힌 상태인 것으로 검출될 수 있다. At this time, the method of detecting whether the first body 1010 and the second body 1020 are in a folded state is that the magnetic strength increases as the magnet 1080 approaches the Hall IC sensor 1070, It may be detected that the first body 1010 and the second body 1020 are in a folded state.

여기서, 상기 절첩 영역(1090)에는 상기 제1 몸체(1010)을 상기 제2 몸체(1020)에서 회전 가능하도록 지지하는 힌지 장치(미도시)가 구비될 수 있다. Here, a hinge device (not shown) may be provided in the folding region 1090 to support the first body 1010 so as to be rotatable from the second body 1020 .

예컨대, 상기 힌지 장치(미도시)는 상기 제1 몸체(1010)와 상기 제2 몸체(1020)에 각각 제1 힌지 암, 제2 힌지 암을 구비할 수 있는데, 이때, 상기 제1 힌지 암과 상기 제2 힌지 암이 서로 회전 가능하게 맞물리도록 구비될 수 있다.For example, the hinge device (not shown) may include a first hinge arm and a second hinge arm on the first body 1010 and the second body 1020, respectively. At this time, the first hinge arm and The second hinge arms may be rotatably engaged with each other.

예컨대, 상기 제1 몸체(1010)에 상기 제1 힌지 암은 회전 축 방향으로 구비될 수 있고, 상기 제2 몸체(1020)에 상기 제1 힌지 암에 회전되게 결합되는 상기 제2 힌지 암이 회전 축 방향으로 구비될 수 있다. For example, the first hinge arm may be provided on the first body 1010 in a rotation axis direction, and the second hinge arm rotatably coupled to the first hinge arm on the second body 1020 rotates It may be provided in an axial direction.

여기서, 상기 제1 몸체(1010)와 상기 제2 몸체(1020)가 회전 가능하게 결합되는 힌지 장치의 구성은 상술한 구성 이외에도 다양한 변형이나 변경이 가능할 수 있음은 물론이다.
Here, the configuration of the hinge device in which the first body 1010 and the second body 1020 are rotatably coupled may be variously modified or changed in addition to the configuration described above.

도 11은 본 발명의 다양한 실시예에 따른 전자 장치를 나타낸 도면이다.11 is a diagram illustrating an electronic device according to various embodiments of the present disclosure.

도 11(a)를 참조하면, 상기 전자 장치는 몸체(1110), 디스플레이(1150), 카메라(1130) 및 플래시(1140)을 포함할 수 있다. Referring to FIG. 11 (a), the electronic device may include a body 1110, a display 1150, a camera 1130, and a flash 1140.

이때, 상기 디스플레이(1150)는 플렉서블(flexible) 디스플레이일 수 있다. 여기서, 상기 디스플레이(1150)는 상기 전자 장치 몸체(1110)에 하나만 구비될 수 있으며, 상기 디스플레이(1150)의 일부 영역이 절첩 영역(1190)일 수 있다. In this case, the display 1150 may be a flexible display. Here, only one display 1150 may be provided on the electronic device body 1110, and a partial area of the display 1150 may be a folded area 1190.

예컨대, 상기 절첩 영역(1190)은 벤딩 축(미도시)을 포함할 수 있다. 이때, 상기 벤딩 축(미도시)이 휘는 것을 검출함으로써, 상기 몸체(1110)가 접히는 것으로 판단할 수 있다.For example, the folding area 1190 may include a bending axis (not shown). At this time, it may be determined that the body 1110 is folded by detecting that the bending shaft (not shown) is bent.

예컨대, 상기 몸체(1110)는 절첩 영역(1190)을 기준으로 하여 상기 도 11(b) 또는 도 11(c)와 같이, 접힐 수 있다.For example, the body 1110 may be folded based on the folding area 1190 as shown in FIG. 11(b) or FIG. 11(c).

도 11(b) 및 도11(c)를 참조하면, 상기 전자 장치는 절첩 영역(1190)을 기준으로 구분되는 제 1 디스플레이 영역(1150-1)을 포함하는 제1 몸체(1110-1), 제2 디스플레이 영역(1150-2)을 포함하는 제2 몸체(1110-2), 상기 제1 몸체(1110-1)에 위치하는 카메라(1030) 및 상기 카메라(1030)와 동일한 면에 위치하는 플래시(1040)를 포함할 수 있다. 11(b) and 11(c), the electronic device includes a first body 1110-1 including a first display area 1150-1 divided based on a folding area 1190; A second body 1110-2 including a second display area 1150-2, a camera 1030 positioned on the first body 1110-1, and a flash positioned on the same side as the camera 1030 (1040).

730단계에서, 만약, 상기 전자 장치의 몸체가 펴진 상태로 검출되는 경우, 플래시의 밝기를 제1 밝기로 제어할 수 있다. In step 730, if it is detected that the body of the electronic device is in an unfolded state, the brightness of the flash may be controlled to a first brightness.

예컨대, 도 10(b) 및 도 11(a)를 참조하면, 상기 전자 장치의 몸체가 펴진(outspread) 상태로 검출되는 경우, 카메라가 전방을 촬영하는 것(예컨대, 사용자를 촬영하는 셀피(selfie)촬영)으로 인식하여, 플래시의 밝기를 제1 밝기로 제어할 수 있다. 이와 반대로, 상기 전자 장치의 몸체가 펴진(outspread) 상태로 검출되는 경우, 후방 촬영으로 인식하여, 플래시의 밝기를 제2 밝기로 제어할 수도 있다.For example, referring to FIGS. 10(b) and 11(a) , when it is detected that the body of the electronic device is in an outspread state, the camera takes a picture of the front (eg, a selfie taking a picture of the user). ) photographing), the brightness of the flash may be controlled to the first brightness. Conversely, when the body of the electronic device is detected in an outspread state, it may be recognized as rearward shooting and the brightness of the flash may be controlled to the second brightness.

여기서, 상기 제1 밝기는 후방을 촬영하는 것으로 인식하여 제어되는 제2 밝기보다 어두운 밝기일 수 있다.Here, the first brightness may be darker than the second brightness controlled by recognizing that the rear is photographed.

만약, 상기 전자 장치의 몸체가 접힌 상태로 검출되는 경우, 740 단계를 수행할 수 있다.If the body of the electronic device is detected in a folded state, operation 740 may be performed.

740단계에서, 상기 전자 장치의 몸체가 접힌(fold) 상태(예컨대, 도10(a))로 검출되는 경우, 상기 제1 몸체(1010), 상기 제2 몸체(1020) 각각에 포함된 제1 디스플레이(1050), 제2 디스플레이(1060) 중에서 활성화된 디스플레이를 확인할 수 있다. In step 740, when the body of the electronic device is detected to be in a folded state (eg, FIG. 10(a)), the first body included in the first body 1010 and the second body 1020, respectively. An activated display among the display 1050 and the second display 1060 may be identified.

이때, 제1 디스플레이(1050) 및 제2 디스플레이(1060) 중 어느 하나의 활성화는 사용자 입력에 의해 수행될 수 있다. 활성화(또는 활성화 상태)는 화면 조명이 온 상태이거나 사용자 입력 대기 상태(또는 포커스를 갖는 상태)인 경우를 의미하고, 비활성화(또는 비활성화 상태)는 화면 조명이 오프 상태이거나 사용자 입력 대기 중이지 않은 상태(또는 포커스를 갖지 않는 상태)인 경우를 의미할 수 있다. 예를 들어, 사용자가 제1 디스플레이(1050) 및 제2 디스플레이(1060) 중 어느 하나를 터치한 경우, 터치된 디스플레이가 활성화될 수 있다.At this time, activation of any one of the first display 1050 and the second display 1060 may be performed by a user input. Activated (or activated state) means when the screen light is on or waiting for user input (or has focus), and inactive (or inactive state) means when the screen light is off or not waiting for user input. (or a state without focus). For example, when a user touches one of the first display 1050 and the second display 1060, the touched display may be activated.

예컨대, 도 11(c)를 참조하면, 상기 제1 몸체(1110-1)에 포함된 상기 제1 디스플레이 영역(1150-1), 상기 제2 몸체(1110-2)에 포함된 상기 제2 디스플레이 영역(미도시) 중에서 활성화된 디스플레이 영역을 확인할 수 있다.For example, referring to FIG. 11(c), the first display area 1150-1 included in the first body 1110-1 and the second display included in the second body 1110-2 An activated display area may be identified among areas (not shown).

750단계에서, 상기 활성화된 디스플레이(또는, 디스플레이 영역)를 포함하는 상기 전자 장치의 몸체에 카메라가 위치하는지 확인할 수 있다. In step 750, it may be determined whether a camera is located on the body of the electronic device including the activated display (or display area).

예컨대, 도 10(a)를 참조하면, 상기 절첩 영역(1090)을 기준으로 상기 제1 디스플레이(1050)가 활성화된 디스플레이인 것으로 확인된 경우, 상기 제1 디스플레이(1050)를 포함하는 제1 몸체(1010)에 카메라(1030)가 위치하는지 확인할 수 있다.For example, referring to FIG. 10(a) , when it is determined that the first display 1050 is an activated display based on the folded area 1090, the first body including the first display 1050 It can be checked whether the camera 1030 is located at 1010.

예컨대, 도 11(c)를 참조하면, 상기 절첩 영역(1190)을 기준으로 상기 제1 디스플레이 영역(1150-1)이 활성화된 디스플레이 영역인 것으로 확인된 경우, 상기 제1 디스플레이 영역(1150-1)을 포함하는 제1 몸체(1110-1)에 카메라(1130)가 위치하는지 확인할 수 있다.For example, referring to FIG. 11(c) , when it is determined that the first display area 1150-1 is an activated display area based on the folded area 1190, the first display area 1150-1 ) It may be confirmed whether the camera 1130 is located in the first body 1110-1 including the body 1110-1.

이때, 750단계는 생략될 수 있고, 740 및 750단계들은 전방, 후방 촬영 확인 단계로 대체될 수도 있다.At this time, step 750 may be omitted, and steps 740 and 750 may be replaced with a front and rear photographing confirmation step.

760단계에서, 사용자로부터 사진 촬영 명령을 수신할 수 있다.In step 760, a picture taking command may be received from the user.

770단계에서, 만약 상기 카메라가 활성화된 디스플레이를 포함하는 제1 몸체에 위치하면, 상기 플래시 밝기를 제1 밝기로 제어할 수 있다. In step 770, if the camera is positioned on a first body including an activated display, the brightness of the flash may be controlled to a first brightness.

예컨대, 도 10(a)를 참조하면, 만약, 제1 디스플레이(1050)가 활성화된 디스플레이인 경우, 상기 활성화된 제1 디스플레이(1050)를 포함하는 전자 장치의 제1 몸체(1010)에 상기 카메라(1030)가 위치하는 것으로 확인되면, 상기 카메라(1030)가 전방을 촬영하는 것(예컨대, 사용자를 촬영하는 셀피(selfie)촬영)으로 인식하여, 플래시(1040)의 밝기를 제1 밝기로 제어할 수 있다.For example, referring to FIG. 10(a), if the first display 1050 is an activated display, the camera is mounted on the first body 1010 of the electronic device including the activated first display 1050. When it is confirmed that the 1030 is located, the camera 1030 recognizes that the camera 1030 is photographing the front (eg, taking a selfie of a user), and controls the brightness of the flash 1040 to the first brightness. can do.

만약, 제2 디스플레이(1060)가 활성화된 디스플레이인 경우, 상기 활성화된 제2 디스플레이(1060)를 포함하는 전자 장치의 제2 몸체(1020)에 상기 카메라(1030)가 위치하는 것으로 확인되지 않으면, 상기 카메라(1030)가 후방을 촬영하는 것으로 인식하여, 플래시(1040)의 밝기를 상기 제1 밝기보다 밝은 제2 밝기로 제어할 수 있다.If the second display 1060 is an activated display, if it is not confirmed that the camera 1030 is located on the second body 1020 of the electronic device including the activated second display 1060, By recognizing that the camera 1030 is photographing the rear, the brightness of the flash 1040 can be controlled to a second brightness brighter than the first brightness.

예컨대, 도 11(c)를 참조하면, 만약, 제1 디스플레이 영역(1150-1)이 활성화된 디스플레이인 경우, 상기 활성화된 제1 디스플레이 영역(1150-1)을 포함하는 전자 장치의 제1 몸체(1110-1)에 상기 카메라(1130)가 위치하는 것으로 확인되면, 상기 카메라(1130)가 전방을 촬영하는 것(예컨대, 사용자를 촬영하는 셀피(selfie)촬영)으로 인식하여, 플래시(1140)의 밝기를 제1 밝기로 제어할 수 있다.For example, referring to FIG. 11(c) , if the first display area 1150-1 is an activated display, the first body of the electronic device including the activated first display area 1150-1 When it is confirmed that the camera 1130 is located at 1110-1, it is recognized that the camera 1130 is photographing the front (eg, taking a selfie of a user), and the flash 1140 The brightness of can be controlled to the first brightness.

예컨대, 도 11(b)를 참조하면, 만약, 제2 디스플레이 영역(1150-2)이 활성화된 디스플레이인 경우, 상기 활성화된 제2 디스플레이 영역(1150-2)을 포함하는 제2 몸체(1110-2)에 상기 카메라(1130)가 위치하는 것으로 확인되지 않으면, 상기 카메라(1130)가 후방을 촬영하는 것으로 인식하여, 플래시의 밝기를 상기 제1 밝기보다 밝은 제2 밝기로 제어할 수 있다.For example, referring to FIG. 11(b), if the second display area 1150-2 is an activated display, the second body 1110-2 including the activated second display area 1150-2 2) If it is not confirmed that the camera 1130 is located, it is recognized that the camera 1130 is photographing the rear, and the brightness of the flash can be controlled to a second brightness brighter than the first brightness.

예컨대, 상기 제1 밝기는 플래시를 이용하지 않고, 화면 아몰레드(amoled)밝기를 이용하여 제어할 수 있으며, 상기 제1 밝기를 화면 아몰레드(amoled)밝기를 이용하여 제어하는 경우, 상기 제2 밝기는 상기 화면 아몰레드(amoled) 밝기보다 밝은 LED플래시를 이용하여 제어할 수 있다.
For example, the first brightness may be controlled using screen AMOLED brightness without using a flash, and when the first brightness is controlled using screen AMOLED brightness, the second brightness Brightness can be controlled using an LED flash that is brighter than the brightness of the screen AMOLED.

도 8은 본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법을 나타낸 흐름도이다.8 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure.

상술한 도 6의 상기 촬영될 피사체와의 거리를 판단하는 과정에 대하여, 도 8을 참조하여 설명하도록 한다.The process of determining the distance to the subject to be photographed in FIG. 6 described above will be described with reference to FIG. 8 .

810단계에서, 카메라 앱을 실행할 수 있다.In step 810, a camera app may be executed.

820단계에서, 상기 촬영될 피사체와의 거리를 판단하기 위해, 상기 전자 장치와 상기 피사체 사이의 거리를 측정할 수 있다. In step 820, the distance between the electronic device and the subject may be measured to determine the distance to the subject to be photographed.

예컨대, 레이져 오토 포커스 또는 위상차 오토 포커스를 이용하여 상기 피사체의 위치를 검출할 수 있으며, 상기 검출된 상기 피사체의 위치를 바탕으로, 상기 전자 장치와 상기 피사체 사이의 거리를 측정할 수 있다.For example, the position of the subject may be detected using laser autofocus or phase difference autofocus, and the distance between the electronic device and the subject may be measured based on the detected position of the subject.

830단계에서, 사용자로부터 사진 촬영 명령을 수신할 수 있다.In step 830, a picture taking command may be received from the user.

840단계에서, 상기 측정된 피사체와의 거리가 미리 정해진 기준 거리보다 짧은 경우, 플래시 밝기를 제1 밝기로 제어할 수 있다.In step 840, when the measured distance to the subject is shorter than a predetermined reference distance, the flash brightness may be controlled to a first brightness.

만약, 상기 측정된 피사체와의 거리가 미리 정해진 기준 거리보다 큰 경우, 플래시 밝기를 상기 제1 밝기보다 밝은 제2 밝기로 제어할 수 있다.If the measured distance to the subject is greater than a predetermined reference distance, the flash brightness may be controlled to a second brightness brighter than the first brightness.

여기서, 상기 840단계는 도 12, 도 13 및 도 14를 참조하여 상세히 설명하도록 한다.Here, step 840 will be described in detail with reference to FIGS. 12, 13 and 14.

도 12, 도 13 및 도 14는 본 발명의 다양한 실시예에 따른 전자 장치와 피사체 사이의 거리를 나타낸 예시도 이다.12, 13, and 14 are exemplary diagrams illustrating a distance between an electronic device and a subject according to various embodiments of the present disclosure.

예컨대, 도 12를 참조하면, 상기 측정된 카메라(1201)와 피사체(1202) 사이의 거리가 기준 거리(1203)보다 작은 경우(1203-1), 플래시 밝기를 제1 밝기로 제어할 수 있다. For example, referring to FIG. 12 , when the measured distance between the camera 1201 and the subject 1202 is smaller than the reference distance 1203 (1203-1), the flash brightness may be controlled to the first brightness.

만약, 상기 측정된 카메라(1201)와 피사체(1202) 사이의 거리가 상기 기준 거리(1203)보다 큰 경우(1203-2 ), 플래시 밝기를 상기 제1 밝기보다 밝은 제2 밝기로 제어할 수 있다.If the measured distance between the camera 1201 and the subject 1202 is greater than the reference distance 1203 (1203-2), the flash brightness may be controlled to a second brightness brighter than the first brightness. .

예컨대, 도 13을 참조하면, 상기 측정된 카메라(1301)와 피사체(1302) 사이의 거리가 기준 거리(1303)보다 짧은 경우(1303-1), 플래시를 이용하지 않고, 화면 아몰레드 밝기를 이용하여 밝기를 제어할 수 있다. For example, referring to FIG. 13 , when the measured distance between the camera 1301 and the subject 1302 is shorter than the reference distance 1303 (1303-1), the screen AMOLED brightness is used without using the flash. You can control the brightness.

이때, 상기 화면 아몰레드 밝기를 이용하여 밝기를 제어하는 방법으로 조도 센서로부터 측정된 주변의 밝기에 따라, 화면 아몰레드 색상의 하얀색을 기준으로 하여, 화면 아몰레드 밝기를 자동 조절함으로써 밝기를 제어할 수 있다.At this time, as a method of controlling the brightness using the screen AMOLED brightness, the brightness is controlled by automatically adjusting the screen AMOLED brightness based on the white color of the screen AMOLED color according to the ambient brightness measured by the illuminance sensor. can

만약, 사용자가 따뜻한 느낌의 밝기를 원하는 경우, 화면 아몰레드의 색상의 따뜻한 느낌의 색상(예컨대, 빨간색)을 기준으로 하여, 화면 아몰레드 밝기를 자동 조절함으로써 밝기를 제어할 수 있다.If the user wants warm feeling brightness, the brightness can be controlled by automatically adjusting the screen AMOLED brightness based on the warm feeling color (eg, red) of the screen AMOLED color.

만약, 사용자가 차가운 느낌의 밝기를 원하는 경우, 화면 아몰레드의 색상의 차가운 느낌의 색상(예컨대, 파란색)을 기준으로 하여, 화면 아몰레드 밝기를 자동 조절함으로써 밝기를 제어할 수 있다.If the user desires cool feeling brightness, the brightness can be controlled by automatically adjusting the screen AMOLED brightness based on the cool feeling color (eg, blue) of the screen AMOLED color.

예컨대, 상기 측정된 카메라(1301)와 피사체(1302) 사이의 거리가 상기 기준 거리(1303)보다 큰 경우(1303-2 ), 플래시 밝기를 상기 화면 아몰레드 밝기보다 밝은 밝기로 제어할 수 있다.For example, when the measured distance between the camera 1301 and the subject 1302 is greater than the reference distance 1303 (1303-2), the flash brightness can be controlled to be brighter than the screen AMOLED brightness.

예컨대, 도 14를 참조하면, 상기 측정된 카메라(1401)와 피사체(1402) 사이의 거리가 기준 거리(1403)보다 짧은 경우(1403-1), 플래시 밝기를 상기 피사체(1402)가 상기 전자 장치와 가까울수록 기준 밝기보다 점점 어두운 밝기로 제어할 수 있다.For example, referring to FIG. 14 , when the measured distance between the camera 1401 and the subject 1402 is shorter than the reference distance 1403 (1403-1), the flash brightness is set so that the subject 1402 is the electronic device. As it is closer to , the brightness can be controlled to be gradually darker than the standard brightness.

만약, 상기 측정된 카메라(1401)와 피사체(1402) 사이의 거리가 상기 기준 거리(1403)보다 큰 경우(1403-2 ), 플래시 밝기를 상기 피사체(1402)가 상기 기준 거리(1403)로부터 멀어질수록 상기 기준 밝기보다 점점 밝은 밝기로 제어할 수 있다.If the measured distance between the camera 1401 and the subject 1402 is greater than the reference distance 1403 (1403-2), the flash brightness is set so that the subject 1402 is farther from the reference distance 1403. As the brightness increases, the brightness can be controlled to be gradually brighter than the reference brightness.

예컨대, 도 13에서 상술한 상기 아몰레드 밝기를 도 14에 적용하여, 상기 측정된 카메라(1401)와 피사체(1402) 사이의 거리가 기준 거리(1403)보다 짧은 경우(1403-1), 플래시를 이용하지 않고, 상기 화면 아몰레드 밝기를 상기 피사체(1402)가 상기 카메라(1401)와 가까울수록 점점 어두운 밝기로 제어할 수도 있다.For example, when the measured distance between the camera 1401 and the subject 1402 is shorter than the reference distance 1403 (1403-1) by applying the AMOLED brightness described above in FIG. 13 to FIG. 14, the flash is activated. Instead, the brightness of the AMOLED screen may be controlled to gradually decrease as the subject 1402 is closer to the camera 1401 .

이때, 상기 화면 아몰레드 밝기를 이용하여 밝기를 제어하는 방법으로 조도 센서로부터 측정된 주변의 밝기에 따라, 화면 아몰레드 색상의 하얀색을 기준으로 하여, 화면 아몰레드 밝기를 점점 어두운 밝기 또는 점점 밝은 밝기로 자동 조절함으로써 밝기를 제어할 수 있다.At this time, as a method of controlling the brightness using the screen AMOLED brightness, the screen AMOLED brightness is gradually darkened or gradually brightened based on the white color of the screen AMOLED color according to the ambient brightness measured by the illuminance sensor. You can control the brightness by automatically adjusting with .

만약, 사용자가 따뜻한 느낌의 밝기를 원하는 경우, 화면 아몰레드의 색상의 따뜻한 느낌의 색상(예컨대, 빨간색)을 기준으로 하여, 화면 아몰레드 밝기를 점점 어두운 밝기 또는 점점 밝은 밝기로 자동 조절함으로써 밝기를 제어할 수 있다.If the user wants a warm feeling of brightness, the screen AMOLED brightness is automatically adjusted to gradually darker brightness or gradually brighter brightness based on the warm color (eg, red) of the screen AMOLED color, thereby adjusting the brightness. You can control it.

만약, 사용자가 차가운 느낌의 밝기를 원하는 경우, 화면 아몰레드의 색상의 차가운 느낌의 색상(예컨대, 파란색)을 기준으로 하여, 화면 아몰레드 밝기를 점점 어두운 밝기 또는 점점 밝은 밝기로 자동 조절함으로써 밝기를 제어할 수 있다.
If the user wants cool brightness, the screen AMOLED brightness is automatically adjusted to gradually darker brightness or gradually brighter brightness based on the cool color (eg, blue) of the screen AMOLED color. You can control it.

상술한 도 6의 상기 촬영될 피사체와의 거리를 판단하는 과정에 대하여, 도 9를 참조하여 설명하도록 한다.The process of determining the distance to the subject to be photographed in FIG. 6 described above will be described with reference to FIG. 9 .

도 9는 본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법을 나타낸 흐름도이다.9 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure.

910단계에서, 카메라 앱 실행을 할 수 있다.In step 910, the camera app may be executed.

920단계에서, 상기 피사체와의 거리를 판단하기 위해, 외부 전자 장치에 상기 전자 장치가 연결되었는지 확인할 수 있다. 예를 들어, 920단계에서, 상기 전자 장치가 연결되지 않은 것으로 확인된 경우, 720~780 또는 820~850단계들을 수행할 수도 있다. 920단계에서, 아닌 것으로 판단된 경우, 920단계를 주기적 또는 비주기적(예를 들어, 외부 전자 장치의 장착을 전기적 회로를 통해 검출)으로 반복할 수 있다.In step 920, it may be checked whether the electronic device is connected to an external electronic device in order to determine the distance to the subject. For example, in step 920, when it is determined that the electronic device is not connected, steps 720 to 780 or 820 to 850 may be performed. In step 920, if it is determined that it is not, step 920 may be repeated periodically or non-periodically (eg, mounting of an external electronic device is detected through an electrical circuit).

930단계에서, 사용자로부터 사진 촬영 명령을 수신할 수 있다.In step 930, a picture taking command may be received from the user.

940단계에서, 상기 전자 장치가 상기 외부 전자 장치에 연결되어 있는 경우, 플래시 밝기를 제3 밝기로 제어할 수 있다. In step 940, when the electronic device is connected to the external electronic device, the flash brightness may be controlled to a third brightness.

예컨대, 도 15를 참조하면, 사용자가 상기 외부 전자 장치에 연결되어 있는 전자 장치를 이용하여 사진 촬영을 수행하는 경우, 사용자가 셀피(selfie) 사진 촬영을 수행하는 경우(도 16 참조)보다 상기 전자 장치와 사용자 사이의 거리가 더 클 수 있다.For example, referring to FIG. 15 , when a user takes a picture using an electronic device connected to the external electronic device, the electronic device is different than when the user takes a selfie picture (see FIG. 16 ). The distance between the device and the user may be greater.

예컨대, 상기 전자 장치가 상기 외부 전자 장치에 연결되어 있는 경우의 플래시 밝기는, 사용자가 셀피(selfie) 사진 촬영을 수행하는 경우(도 16 참조)에 제공되는 제1 밝기보다 밝은 밝기인 제3 밝기로 제어할 수 있다. For example, the flash brightness when the electronic device is connected to the external electronic device is a third brightness that is brighter than the first brightness provided when the user takes a selfie picture (see FIG. 16 ). can be controlled with

예컨대, 상기 제3 밝기는 카메라가 후방을 촬영하는 것으로 인식하여 제어되는 제2 밝기보다 어두운 밝기 일 수 있다.For example, the third brightness may be darker than the second brightness controlled by recognizing that the camera is photographing the rear.

예컨대, 상기 제3 밝기는 플래시를 이용하지 않고, 화면 아몰레드(amoled)밝기를 이용하여 제어할 수 있으며, 상기 제1 밝기, 상기 제3 밝기 모두를 화면 아몰레드(amoled)밝기를 이용하여 제어할 수 있다. 이때, 상기 제3 밝기는 제1 밝기보다 밝은 밝기 일 수 있다.
For example, the third brightness may be controlled using screen AMOLED brightness without using a flash, and both the first brightness and the third brightness may be controlled using screen AMOLED brightness. can do. In this case, the third brightness may be brighter than the first brightness.

다양한 실시예에 있어서, 카메라를 구비하는 전자 장치의 동작 방법에 있어서, 촬영 명령을 수신하는 과정, 상기 카메라를 이용하여 촬영될 피사체와의 거리를 판단하는 과정, 상기 촬영 명령에 응답하여, 상기 판단된 피사체와의 거리에 따라, 상기 전자 장치의 플래시 밝기를 제어하고, 상기 피사체를 촬영하는 과정을 포함할 수 있다.According to various embodiments, in a method of operating an electronic device having a camera, a process of receiving a photographing command, a process of determining a distance to a subject to be photographed using the camera, and the determination of the photographing command in response to the photographing command. Controlling the brightness of the flash of the electronic device according to the distance to the subject and photographing the subject may be included.

다양한 실시예에 있어서, 상기 피사체와의 거리를 판단하는 과정은, 상기 피사체와 상기 전자 장치 사이의 거리를 측정하는 과정을 포함할 수 있다.In various embodiments, the process of determining the distance to the subject may include measuring the distance between the subject and the electronic device.

다양한 실시예에 있어서, 상기 피사체와의 거리를 판단하는 과정은, 상기 전자 장치의 몸체가 절첩 영역을 기준으로 제1 디스플레이를 포함하는 제1 몸체와 제2 디스플레이를 포함하는 제2 몸체가 접힌(fold) 상태인지, 펴진(outspread) 상태인지 여부를 판단하는 과정을 포함할 수 있다.In various embodiments, the process of determining the distance to the subject may include a first body including a first display and a second body including a second display folded based on a folded area of the body of the electronic device ( It may include a process of determining whether it is in a folded state or an outspread state.

다양한 실시예에 있어서, 상기 전자 장치의 플래시 밝기를 제어하는 과정은, 상기 전자 장치의 몸체가 펴진 상태로 검출되는 경우, 촬영 명령에 응답하여, 상기 플래시의 밝기를 제1 밝기로 제어하는 과정을 포함할 수 있다.In various embodiments, the process of controlling the brightness of the flash of the electronic device may include controlling the brightness of the flash to a first brightness in response to a photographing command when it is detected that the body of the electronic device is in an unfolded state. can include

다양한 실시예에 있어서, 상기 전자 장치의 플래시 밝기를 제어하는 과정은, 상기 전자 장치의 몸체가 접힌 상태로 검출되는 경우, 상기 제1 디스플레이가 활성화되면, 촬영 명령에 응답하여, 상기 플래시의 밝기를 제1 밝기로 제어하는 과정을 포함할 수 있다.In various embodiments, the process of controlling the brightness of the flash of the electronic device may include, when the body of the electronic device is detected in a folded state and the first display is activated, the brightness of the flash in response to a photographing command. A process of controlling to the first brightness may be included.

다양한 실시예에 있어서, 상기 전자 장치의 플래시 밝기를 제어하는 과정은, 상기 전자 장치의 몸체가 접힌 상태로 검출되는 경우, 상기 제2 디스플레이가 활성화되면, 촬영 명령에 응답하여, 상기 플래시의 밝기를 상기 제1 밝기보다 밝은 제2 밝기로 제어하는 과정을 포함할 수 있다.In various embodiments, the process of controlling the brightness of the flash of the electronic device may include, when the body of the electronic device is detected in a folded state and the second display is activated, the brightness of the flash in response to a photographing command. A process of controlling the brightness to a second brightness brighter than the first brightness may be included.

다양한 실시예에 있어서, 상기 피사체와의 거리를 판단하는 과정은, 외부 전자 장치가 상기 전자 장치에 연결되었는지 판단하는 과정을 포함할 수 있다.In various embodiments, the process of determining the distance to the subject may include a process of determining whether an external electronic device is connected to the electronic device.

다양한 실시예에 있어서, 상기 전자 장치의 플래시 밝기를 제어하는 과정은, 상기 전자 장치가 상기 외부 전자 장치에 연결되어 있는 것으로 판단되는 경우, 촬영 명령에 응답하여, 상기 플래시의 밝기를 제3 밝기로 제어하는 과정을 포함할 수 있다.In various embodiments, the process of controlling the brightness of the flash of the electronic device may include setting the brightness of the flash to a third brightness in response to a photographing command when it is determined that the electronic device is connected to the external electronic device. control process may be included.

다양한 실시예에 있어서, 상기 전자 장치의 플래시 밝기를 제어하는 과정은, 상기 측정된 거리가 미리 정해진 기준 거리보다 짧은 경우, 촬영 명령에 응답하여, 상기 플래시의 밝기를 제1 밝기로 제어하고, 상기 측정된 거리가 미리 정해진 기준 거리보다 큰 경우, 촬영 명령에 응답하여, 상기 플래시의 밝기를 상기 제1 밝기보다 밝은 제2 밝기로 제어하는 과정을 포함할 수 있다.In various embodiments, the process of controlling the flash brightness of the electronic device may include, when the measured distance is shorter than a predetermined reference distance, controlling the brightness of the flash to a first brightness in response to a photographing command; and controlling the brightness of the flash to a second brightness brighter than the first brightness in response to a photographing command when the measured distance is greater than a predetermined reference distance.

본 문서에서 사용된 용어 "모듈"은, 예를 들면, 하드웨어, 소프트웨어 또는 펌웨어(firmware) 중 하나 또는 둘 이상의 조합을 포함하는 단위(unit)를 의미할 수 있다. "모듈"은, 예를 들면, 유닛(unit), 로직(logic), 논리블록(logical block), 부품(component), 또는 회로(circuit) 등의 용어와 바꾸어 사용(interchangeably use)될 수 있다. "모듈"은, 일체로 구성된 부품의 최소 단위 또는 그 일부가 될 수 있다. "모듈"은 하나 또는 그 이상의 기능을 수행하는 최소 단위 또는 그 일부가 될 수도 있다. "모듈"은 기계적으로 또는 전자적으로 구현될 수 있다. 예를 들면, "모듈"은, 알려졌거나 앞으로 개발될, 어떤 동작들을 수행하는 ASIC(application-specific integrated circuit) 칩, FPGAs(field-programmable gate arrays) 또는 프로그램 가능 논리 장치(programmable-logic device) 중 적어도 하나를 포함할 수 있다. The term "module" used in this document may refer to a unit including one or a combination of two or more of, for example, hardware, software, or firmware. “Module” may be used interchangeably with terms such as, for example, unit, logic, logical block, component, or circuit. A “module” may be a minimum unit or part of an integrally formed part. A “module” may be a minimal unit or part thereof that performs one or more functions. A “module” may be implemented mechanically or electronically. For example, a "module" is any known or future developed application-specific integrated circuit (ASIC) chip, field-programmable gate arrays (FPGAs), or programmable-logic device that performs certain operations. may contain at least one.

다양한 실시 예에 따른 장치(예: 모듈들 또는 그 기능들) 또는 방법(예: 동작들)의 적어도 일부는, 예컨대, 프로그램 모듈의 형태로 컴퓨터로 읽을 수 있는 저장매체(computer-readable storage media)에 저장된 명령어로 구현될 수 있다. 상기 명령어가 프로세서(예: 프로세서(120))에 의해 실행될 경우, 상기 하나 이상의 프로세서가 상기 명령어에 해당하는 기능을 수행할 수 있다. 컴퓨터로 읽을 수 있는 저장매체는, 예를 들면, 메모리(130)가 될 수 있다.At least some of devices (eg, modules or functions thereof) or methods (eg, operations) according to various embodiments of the present disclosure are, for example, computer-readable storage media in the form of program modules. It can be implemented as a command stored in . When the command is executed by a processor (eg, the processor 120), the one or more processors may perform a function corresponding to the command. The computer-readable storage medium may be, for example, the memory 130 .

컴퓨터로 판독 가능한 기록매체는, 하드디스크, 플로피디스크, 마그네틱 매체(magnetic media)(예: 자기테이프), 광기록 매체(optical media)(예: CD-ROM(compact disc read only memory), DVD(digital versatile disc), 자기-광매체(magneto-optical media)(예: 플롭티컬 디스크(floptical disk)), 하드웨어 장치(예: ROM(read only memory), RAM(random access memory), 또는 플래시 메모리등) 등을 포함할 수 있다. 또한, 프로그램명령에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함할 수 있다. 상술한 하드웨어 장치는 다양한 실시 예의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지다.Computer-readable recording media include hard disks, floppy disks, magnetic media (eg magnetic tape), optical media (eg CD-ROM (compact disc read only memory), DVD ( digital versatile disc), magneto-optical media (such as floptical disk), hardware devices (such as read only memory (ROM), random access memory (RAM), or flash memory). ), etc. In addition, the program command may include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter, etc. The above-described hardware device may include various It may be configured to act as one or more software modules to perform the operations of an embodiment, and vice versa.

다양한 실시 예에 따른 모듈 또는 프로그램 모듈은 전술한 구성요소들 중 적어도 하나 이상을 포함하거나, 일부가 생략되거나, 또는 추가적인 다른 구성요소를 더 포함할 수 있다. 다양한 실시 예에 따른 모듈, 프로그램 모듈 또는 다른 구성요소에 의해 수행되는 동작들은 순차적, 병렬적, 반복적 또는 휴리스틱(heuristic)한 방법으로 실행될 수 있다. 또한, 일부 동작은 다른 순서로 실행되거나, 생략되거나, 또는 다른 동작이 추가될 수 있다. 그리고 본 문서에 개시된 실시 예는 개시된, 기술 내용의 설명 및 이해를 위해 제시된 것이며, 본 문서에서 기재된 기술의 범위를 한정하는 것은 아니다. 따라서, 본 문서의 범위는, 본 문서의 기술적 사상에 근거한 모든 변경 또는 다양한 다른 실시 예를 포함하는 것으로 해석되어야 한다.
A module or program module according to various embodiments may include at least one or more of the aforementioned components, some may be omitted, or additional components may be further included. Operations performed by modules, program modules, or other components according to various embodiments may be executed in a sequential, parallel, repetitive, or heuristic manner. Also, some actions may be performed in a different order, omitted, or other actions may be added. In addition, the embodiments disclosed in this document are presented for explanation and understanding of the disclosed technical content, and do not limit the scope of the technology described in this document. Therefore, the scope of this document should be construed as including all changes or various other embodiments based on the technical idea of this document.

101: 전자 장치
110: 버스
120: 프로세서
130: 메모리
140: 소프트웨어 및/또는 프로그램
150: 입출력 인터페이스
160: 디스플레이
170: 통신 인터페이스
101: electronic device
110: bus
120: processor
130: memory
140: software and/or programs
150: input/output interface
160: display
170: communication interface

Claims (18)

카메라를 구비하는 전자 장치에 있어서,
상기 전자 장치의 제1 몸체의 제1 면에 위치하며, 피사체를 촬영하는 카메라;
상기 제1 몸체의 상기 제1 면에 위치한 플래시;
촬영 명령에 응답하여, 상기 카메라를 이용하여 촬영될 상기 피사체와의 거리에 따라, 상기 전자 장치의 플래시 밝기를 제어하고, 상기 피사체를 촬영하도록 제어하는 프로세서;
제1 디스플레이를 포함하는 상기 제1 몸체;
제2 디스플레이를 포함하는 제2 몸체; 및
상기 제1 몸체 및 상기 제2 몸체를 절첩 가능하게 연결하는 연결부를 포함하고,
상기 프로세서는,
상기 제1 몸체와 상기 제2 몸체가 접힌(fold) 상태인지, 펴진(outspread) 상태인지 여부를 판단하고, 상기 제1 몸체와 상기 제2 몸체가 펴진 상태로 검출되는 경우, 촬영 명령에 응답하여, 상기 플래시의 밝기를 제1 밝기로 제어하는 전자 장치.
In an electronic device having a camera,
a camera positioned on a first surface of a first body of the electronic device and photographing a subject;
a flash located on the first surface of the first body;
a processor configured to control flash brightness of the electronic device according to a distance to the subject to be photographed using the camera and to photograph the subject in response to a photographing command;
The first body including a first display;
a second body including a second display; and
A connection portion for connecting the first body and the second body to be collapsible,
the processor,
It is determined whether the first body and the second body are in a folded state or an outspread state, and when the first body and the second body are detected in an unfolded state, in response to a shooting command , Electronic device for controlling the brightness of the flash to the first brightness.
제1항에 있어서,
상기 피사체의 위치 또는 거리를 검출하는 센싱부;
를 더 포함하는 전자 장치.
According to claim 1,
a sensing unit detecting a location or distance of the subject;
An electronic device further comprising a.
제1항에 있어서,
상기 거리는 상기 전자 장치와 상기 피사체 사이의 거리인 전자 장치.
According to claim 1,
The distance is a distance between the electronic device and the subject.
삭제delete 제1항에 있어서, 상기 프로세서는,
상기 전자 장치의 상기 제1 몸체와 상기 제2 몸체가 접힌 상태로 판단되고,
상기 제1 디스플레이가 활성화되는 경우, 촬영 명령에 응답하여, 상기 플래시의 밝기를 제1 밝기로 제어하는 전자 장치.
The method of claim 1, wherein the processor,
It is determined that the first body and the second body of the electronic device are in a folded state;
The electronic device controlling the brightness of the flash to a first brightness in response to a photographing command when the first display is activated.
제5항에 있어서, 상기 프로세서는,
상기 제2 디스플레이가 활성화된 경우, 촬영 명령에 응답하여, 상기 플래시의 밝기를 상기 제1 밝기보다 큰 제2 밝기로 제어하는 전자 장치.
The method of claim 5, wherein the processor,
Controlling the brightness of the flash to a second brightness greater than the first brightness in response to a photographing command when the second display is activated.
제2항에 있어서, 상기 프로세서는,
상기 피사체와의 거리를 확인하기 위해, 상기 센싱부를 통해 검출된 상기 피사체와 상기 전자 장치 사이의 거리를 측정하는 전자 장치.
The method of claim 2, wherein the processor,
An electronic device that measures a distance between the subject and the electronic device detected through the sensing unit to determine the distance to the subject.
◈청구항 8은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 8 was abandoned when the registration fee was paid.◈ 제7항에 있어서, 상기 프로세서는,
상기 측정된 거리가 미리 정해진 기준 거리보다 짧은 경우, 촬영 명령에 응답하여, 상기 플래시의 밝기를 제1 밝기로 제어하고, 상기 측정된 거리가 미리 정해진 기준 거리보다 큰 경우, 촬영 명령에 응답하여, 상기 플래시의 밝기를 상기 제1 밝기보다 밝은 제2 밝기로 제어하는 전자 장치.
The method of claim 7, wherein the processor,
When the measured distance is shorter than a predetermined reference distance, the brightness of the flash is controlled to a first brightness in response to a photographing command, and when the measured distance is greater than a predetermined reference distance, in response to a photographing command, An electronic device that controls the brightness of the flash to a second brightness brighter than the first brightness.
◈청구항 9은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 9 was abandoned when the registration fee was paid.◈ 제1항에 있어서, 상기 프로세서는,
상기 피사체와의 거리를 확인하기 위해, 외부 전자장치가 상기 전자 장치에 연결되면, 촬영 명령에 응답하여, 상기 플래시의 밝기를 제2 밝기로 제어하는 전자 장치.
The method of claim 1, wherein the processor,
An electronic device that controls the brightness of the flash to a second brightness in response to a photographing command when an external electronic device is connected to the electronic device to check the distance to the subject.
카메라를 구비하는 전자 장치의 동작 방법에 있어서,
촬영 명령을 수신하는 과정;
상기 카메라를 이용하여 촬영될 피사체와의 거리를 판단하는 과정; 및
상기 촬영 명령에 응답하여, 상기 판단된 피사체와의 거리에 따라, 상기 전자 장치의 플래시 밝기를 제어하고, 상기 피사체를 촬영하는 과정을 포함하고,
상기 피사체와의 거리를 판단하는 과정은,
상기 전자 장치의 몸체가 절첩 영역을 기준으로 제1 디스플레이를 포함하는 제1 몸체와 제2 디스플레이를 포함하는 제2 몸체가 접힌(fold) 상태인지, 펴진(outspread) 상태인지 여부를 판단하는 과정을 포함하는 전자 장치의 동작 방법.
A method of operating an electronic device having a camera,
process of receiving a shooting command;
determining a distance to a subject to be photographed using the camera; and
Controlling flash brightness of the electronic device according to the determined distance to the subject in response to the photographing command and photographing the subject;
The process of determining the distance to the subject,
A process of determining whether a first body including a first display and a second body including a second display are in a folded state or an outspread state based on a folded area of the body of the electronic device A method of operating an electronic device comprising:
제10항에 있어서,
상기 피사체와의 거리를 판단하는 과정은,
상기 피사체와 상기 전자 장치 사이의 거리를 측정하는 과정을 포함하는 전자 장치의 동작 방법.
According to claim 10,
The process of determining the distance to the subject,
A method of operating an electronic device comprising measuring a distance between the subject and the electronic device.
삭제delete 제10항에 있어서, 상기 전자 장치의 플래시 밝기를 제어하는 과정은,
상기 전자 장치의 몸체가 펴진 상태로 검출되는 경우, 촬영 명령에 응답하여, 상기 플래시의 밝기를 제1 밝기로 제어하는 과정을 포함하는 전자 장치의 동작 방법.
11. The method of claim 10, wherein the process of controlling flash brightness of the electronic device comprises:
and controlling the brightness of the flash to a first brightness in response to a photographing command when it is detected that the body of the electronic device is in an unfolded state.
제10항에 있어서,
상기 전자 장치의 플래시 밝기를 제어하는 과정은,
상기 전자 장치의 몸체가 접힌 상태로 검출되는 경우, 상기 제1 디스플레이가 활성화되면, 촬영 명령에 응답하여, 상기 플래시의 밝기를 제1 밝기로 제어하는 과정을 포함하는 전자 장치의 동작 방법.
According to claim 10,
The process of controlling the flash brightness of the electronic device,
and controlling the brightness of the flash to a first brightness in response to a photographing command when the first display is activated when the body of the electronic device is detected to be in a folded state.
◈청구항 15은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 15 was abandoned when the registration fee was paid.◈ 제14항에 있어서, 상기 전자 장치의 플래시 밝기를 제어하는 과정은,
상기 전자 장치의 몸체가 접힌 상태로 검출되는 경우, 상기 제2 디스플레이가 활성화되면, 촬영 명령에 응답하여, 상기 플래시의 밝기를 상기 제1 밝기보다 밝은 제2 밝기로 제어하는 과정을 포함하는 전자 장치의 동작 방법.
15. The method of claim 14, wherein the process of controlling flash brightness of the electronic device comprises:
and controlling the brightness of the flash to a second brightness brighter than the first brightness in response to a photographing command when the second display is activated when the body of the electronic device is detected to be in a folded state. how it works.
◈청구항 16은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 16 was abandoned when the registration fee was paid.◈ 제10항에 있어서, 상기 피사체와의 거리를 판단하는 과정은,
외부 전자 장치가 상기 전자 장치에 연결되었는지 판단하는 과정을 포함하는 전자 장치의 동작 방법.
The method of claim 10, wherein determining the distance to the subject comprises:
A method of operating an electronic device comprising determining whether an external electronic device is connected to the electronic device.
◈청구항 17은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 17 was abandoned when the registration fee was paid.◈ 제16항에 있어서, 상기 전자 장치의 플래시 밝기를 제어하는 과정은,
상기 전자 장치가 상기 외부 전자 장치에 연결되어 있는 것으로 판단되는 경우, 촬영 명령에 응답하여, 상기 플래시의 밝기를 제3 밝기로 제어하는 과정을 포함하는 전자 장치의 동작 방법.
The method of claim 16, wherein the process of controlling flash brightness of the electronic device comprises:
and controlling the brightness of the flash to a third brightness in response to a photographing command when it is determined that the electronic device is connected to the external electronic device.
◈청구항 18은(는) 설정등록료 납부시 포기되었습니다.◈◈Claim 18 was abandoned when the registration fee was paid.◈ 제11항에 있어서,
상기 전자 장치의 플래시 밝기를 제어하는 과정은,
상기 측정된 거리가 미리 정해진 기준 거리보다 짧은 경우, 촬영 명령에 응답하여, 상기 플래시의 밝기를 제1 밝기로 제어하고, 상기 측정된 거리가 미리 정해진 기준 거리보다 큰 경우, 촬영 명령에 응답하여, 상기 플래시의 밝기를 상기 제1 밝기보다 밝은 제2 밝기로 제어하는 과정을 포함하는 전자 장치의 동작 방법.
According to claim 11,
The process of controlling the flash brightness of the electronic device,
When the measured distance is shorter than a predetermined reference distance, the brightness of the flash is controlled to a first brightness in response to a photographing command, and when the measured distance is greater than a predetermined reference distance, in response to a photographing command, and controlling the brightness of the flash to a second brightness brighter than the first brightness.
KR1020160059376A 2016-05-16 2016-05-16 Electronic device and method for operating the same KR102508634B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160059376A KR102508634B1 (en) 2016-05-16 2016-05-16 Electronic device and method for operating the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160059376A KR102508634B1 (en) 2016-05-16 2016-05-16 Electronic device and method for operating the same

Publications (2)

Publication Number Publication Date
KR20170128841A KR20170128841A (en) 2017-11-24
KR102508634B1 true KR102508634B1 (en) 2023-03-14

Family

ID=60810309

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160059376A KR102508634B1 (en) 2016-05-16 2016-05-16 Electronic device and method for operating the same

Country Status (1)

Country Link
KR (1) KR102508634B1 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102158699B1 (en) * 2014-09-25 2020-09-22 엘지전자 주식회사 Method for controlling mobile terminal and mobile terminal

Also Published As

Publication number Publication date
KR20170128841A (en) 2017-11-24

Similar Documents

Publication Publication Date Title
US10484589B2 (en) Electronic device and image capturing method thereof
KR102459243B1 (en) Electronic device and method for photographing thereof
KR102451469B1 (en) Method and electronic device for controlling an external electronic device
KR102399049B1 (en) Electronic device and image processing method of electronic device
KR102499110B1 (en) Method for controlling display and electronic device using the same
KR102462711B1 (en) Method and apparatus for operating a sensor of electronic device
KR102415898B1 (en) Method and apparatus for controlling function according to connection of external device
US20180284979A1 (en) Electronic device and control method thereof
KR102293660B1 (en) Method for short-range wireless communication and Electronic device using the same
KR102660947B1 (en) Electronic Device Having Double-sided Display and Method for Controlling Application thereon
KR102399764B1 (en) Method and apparatus for capturing image
US10254883B2 (en) Electronic device for sensing pressure of input and method for operating the electronic device
US11030288B2 (en) Electronic device for authenticating using biometric information and method of operating electronic device
KR102458444B1 (en) Electronic device and method for operating thereof
KR102626304B1 (en) Method for content output and electronic device supporting the same
US10705681B2 (en) Electronic device and display method for selecting an area of an icon
EP3376354B1 (en) Electronic device and control method therefor
US11100206B2 (en) Electronic device and method for controlling activation of camera module
KR102366289B1 (en) Method for screen control and electronic device thereof
KR102678242B1 (en) Electronic apparatus and method for processing authentication
US9949064B2 (en) Electronic device and operating method thereof
KR102477522B1 (en) Electronic device and method for adjusting exposure of camera of the same
KR102252524B1 (en) Case, electronic device coupled with case and controlling method thereof
KR102467434B1 (en) Device for Controlling Brightness of Display and Method Thereof
US10845940B2 (en) Electronic device and display method of electronic device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant