[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

KR20210138438A - electronic device having camera device - Google Patents

electronic device having camera device Download PDF

Info

Publication number
KR20210138438A
KR20210138438A KR1020200056760A KR20200056760A KR20210138438A KR 20210138438 A KR20210138438 A KR 20210138438A KR 1020200056760 A KR1020200056760 A KR 1020200056760A KR 20200056760 A KR20200056760 A KR 20200056760A KR 20210138438 A KR20210138438 A KR 20210138438A
Authority
KR
South Korea
Prior art keywords
camera
electronic device
data
application
driving
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
KR1020200056760A
Other languages
Korean (ko)
Other versions
KR102765431B1 (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 KR1020200056760A priority Critical patent/KR102765431B1/en
Priority to PCT/KR2021/005630 priority patent/WO2021230560A1/en
Publication of KR20210138438A publication Critical patent/KR20210138438A/en
Application granted granted Critical
Publication of KR102765431B1 publication Critical patent/KR102765431B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/617Upgrading or updating of programs or applications for camera control
    • H04N5/23225
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • 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
    • 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/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • H04N23/661Transmitting camera control signals through networks, e.g. control via the Internet
    • H04N5/2257
    • H04N5/23206
    • H04N5/23216
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/52Details of telephonic subscriber devices including functional features of a camera

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Studio Devices (AREA)

Abstract

본 개시의 일 실시 예에 따른 전자 장치는, 카메라; 무선 통신 회로; 상기 카메라를 이용한 기능을 제공하는 어플리케이션이 저장되는 메모리; 및 상기 카메라, 상기 무선 통신 회로, 및 상기 메모리와 전기적으로 연결된 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 어플리케이션을 통한 상기 기능이 제공되고 있지 않는 동안 상기 무선 통신 회로를 통해 서버로부터 카메라의 구동과 관련된 데이터를 획득하고, 상기 획득된 데이터에 기초하여 상기 카메라의 구동을 제어하도록 설정될 수 있다. An electronic device according to an embodiment of the present disclosure includes: a camera; wireless communication circuitry; a memory in which an application providing a function using the camera is stored; and at least one processor electrically connected to the camera, the wireless communication circuitry, and the memory, wherein the at least one processor is configured to be configured to be configured to be configured to be configured to be configured to be configured to be configured to be configured to be configured to be configured to be configured to perform a server operation via the wireless communication circuitry while the function through the application is not being provided. It may be set to acquire data related to driving of the camera from the , and control driving of the camera based on the acquired data.

Description

카메라 장치를 포함하는 전자 장치{electronic device having camera device}Electronic device having camera device

본 개시는 카메라 장치를 포함하는 전자 장치에 관한 것으로, 보다 상세하게는, 다양한 환경에서 카메라 장치를 능동적으로 제어하는 방법에 관한 것이다. The present disclosure relates to an electronic device including a camera device, and more particularly, to a method of actively controlling a camera device in various environments.

일반적으로 휴대폰, PDA, 휴대용 PC 등과 같은 휴대 통신단말기는 최근 문자 또는 음성 데이터를 전송하는 것뿐만 아니라 화상 데이터 전송까지 수행하는 것이 일반화되어 가고 있다. 이러한 추세에 부응하여 화상 데이터 전송이나 화상 채팅 등을 할 수 있기 위해서 최근에 휴대 통신단말기에 카메라 모듈이 기본적으로 설치되고 있다.In general, portable communication terminals such as mobile phones, PDAs, and portable PCs have recently become common in transmitting text or voice data as well as transmitting image data. In response to this trend, a camera module is basically installed in a portable communication terminal in order to transmit image data or perform video chatting.

통상의 카메라는 피사체의 이미지를 필름이나 이미지 센서면(image sensor)에 형성하기 위한 렌즈계(lens system)와 상기 렌즈계에 의해 형성된 이미지를 전기 신호로 검출하기 위한 이미지 센서(image sensor)를 포함한다. 이때의 필름이나 이미지 센서면이 상기 렌즈계의 이미지면이 된다. 상기 렌즈계의 초점은 렌즈와 피사체간의 거리에 따라 그 위치가 변화한다. 따라서 피사체의 위치에 따른 이미지면의 위치 변화량이 그 카메라의 초점 심도(depth of focus)범위 내에 있을 경우에 한하여 우수한 품질의 사진을 촬상할 수 있다. 즉, 선명한 이미지를 얻기 위해서, 상기 이미지 센서는 그 수광면이 상기 렌즈계의 초점 심도 내에 위치하여야 한다.A typical camera includes a lens system for forming an image of a subject on a film or an image sensor surface, and an image sensor for detecting an image formed by the lens system as an electric signal. At this time, the film or the image sensor surface becomes the image surface of the lens system. The position of the focal point of the lens system is changed according to the distance between the lens and the subject. Therefore, only when the amount of change in the position of the image plane according to the position of the subject is within the depth of focus range of the camera, a picture of excellent quality can be captured. That is, in order to obtain a clear image, the light receiving surface of the image sensor must be located within the depth of focus of the lens system.

따라서 통상적인 카메라, 특히 피사체와의 거리 변화에 따른 초점 위치의 변화가 큰 매크로(macro) 기능, 다시 말해서 근접 촬상 기능을 갖는 카메라는 피사체와의 거리에 따라 렌즈와 센서의 상대 위치를 조절할 수 있는 장치가 부가되어야 하는데, 이 상대 위치를 자동으로 조절하는 수단을 구비한, 즉 자동으로 피사체의 초점을 맞추는 카메라를 오토포커스 카메라(AF Camera)라고 한다.Therefore, a typical camera, especially a camera having a macro function, that is, a close-up function, in which the focus position changes according to a change in the distance from the subject, can adjust the relative position of the lens and the sensor according to the distance from the subject. A device must be added, and a camera having a means for automatically adjusting this relative position, that is, automatically focusing on a subject, is called an autofocus camera (AF Camera).

영상 촬영시 손떨림이 발생할 때, 손떨림을 보정하기 위하여 OIS(Optic Image Stabilization) 기술이 적용된 렌즈 구동 장치를 사용할 수 있다. 일반적으로 OIS 기술은 렌즈를 경유하는 광이 렌즈의 광축과 틀어지는 경우 이를 보정하기 위한 것이다. 따라서, OIS 기술이 적용된 렌즈 구동 장치는 렌즈를 광축과 수직한 방향으로 이동시켜 렌즈의 광축을 광의 입사 경로와 일치시키거나, 이미지 센서를 광축과 수직한 방향으로 이동시켜 광축과 이미지 센서에 수신되는 광의 입사 경로를 일치시켜 손떨림 보정이 이루어지도록 한다.When hand shake occurs during image capturing, a lens driving device to which OIS (Optic Image Stabilization) technology is applied may be used to correct hand shake. In general, the OIS technology is to compensate for the deviation of the light passing through the lens from the optical axis of the lens. Therefore, the lens driving device to which OIS technology is applied moves the lens in a direction perpendicular to the optical axis to match the optical axis of the lens with the incident path of light, or moves the image sensor in a direction perpendicular to the optical axis to receive the optical axis and the image sensor. By matching the incident path of the light, image stabilization is achieved.

다양한 센서를 부착하고 있는 모바일 기기에서 사용자의 카메라 요구사항은 나날이 늘어가고 있으나, 센서로부터 오는 정보와 네트워크를 통하여 전달되는 정책 혹은 설정 파라미터를 효과적으로 취합하여, 적용하는 구조가 존재하지 않아, 각각의 어플리케이션에서 개별적으로 적용을 해야 하는 등의 문제로 같은 장치에서의 여러 어플리케이션간 동일한 품질 유지에 어려움을 겪고 있다. In mobile devices with various sensors, user's camera requirements are increasing day by day, but there is no structure to effectively collect and apply information from sensors and policies or setting parameters transmitted through the network, so each application It is difficult to maintain the same quality between multiple applications on the same device due to problems such as having to apply them individually.

카메라를 직접적으로 사용자에 의해 구동된 상태에서 환경에 부합하는 정보들을 취득하여 적절한 화면 조정을 하거나, 해당 상황에 맞는 조건으로 구동 시키는 등 카메라의 사용에 필요한 데이터들은 카메라 구동 이후에 취득되어, 장치에서 발생한 문제의 해결이나 사용자의 요구 사항들을 카메라의 구동 전에 적용할 수 없다. 또한 이러한 정보를 동적으로 처리하기 위한 구조가 적용되어 있지 않아 새로이 갱신되는 정보들을 적용하기 위해서는 시스템 전부를 갱신해야 한다. Data necessary for the use of the camera, such as acquiring information suitable for the environment while the camera is directly driven by the user, adjusting the screen appropriately, or driving the camera under conditions suitable for the situation, are acquired after the camera is driven and stored in the device. It is not possible to solve the problem or apply the user's requirements before starting the camera. In addition, since the structure for dynamically processing such information is not applied, the entire system must be updated in order to apply newly updated information.

종래에서는 오토 포커스나 흔들림 방지 기구에 대한 고정구조나 방식이 없었다. 최근 AF(auto focus)와 OIS(optical image stabilization) 기능의 사양이 높아짐에 따라 높은 수준의 흔들림 방지 기술이 적용된다. 그런데, 카메라 미사용 시 AF/OIS 구동부에 대한 고정 구조 또는 방식이 없다. 카메라가 꺼진 상태에서 사용자가 의도적으로 흔들거나, 의도하지 않은 동작 등에 의해 AF/OIS 카메라 구동부가 다른 구조에 부딪혀 소음이 발생할 수 있다. 특히 최근 렌즈 배럴(barrel)의 무게 및 구동 스트로크 증가 추세로 인해 소음 수준이 높아지고 있어 소음을 방지할 수 있는 수단이 요구되고 있다. In the prior art, there was no fixing structure or method for an auto focus or shake prevention mechanism. Recently, as the specifications of auto focus (AF) and optical image stabilization (OIS) functions have increased, a high level of anti-shake technology is applied. However, there is no fixing structure or method for the AF/OIS driving unit when the camera is not used. In a state where the camera is turned off, the AF/OIS camera driving unit may collide with other structures due to intentional shaking by the user or an unintentional operation, thereby generating noise. In particular, since the noise level is increasing due to the recent trend of increasing the weight and driving stroke of the lens barrel, a means for preventing noise is required.

본 개시는 카메라의 구동과 관계없이 상주하는 서비스를 이용하여 카메라의 구동을 제어하는 방법을 제공할 수 있다. 단말 내의 다양한 서비스 및 서버와의 통신을 통해 소음 저감을 위한 카메라 전원 인가, 카메라 구동 시 어플리케이션 별 별도의 환경 값을 조정하는 등 카메라 응용 프로그램 시나리오 및 카메라 미사용 환경에서의 장치 상태 조절을 전체 시스템 구성의 갱신 없이 동적으로 수행할 수 있다. The present disclosure may provide a method of controlling the driving of a camera using a resident service regardless of driving of the camera. Various services in the terminal and communication with the server, such as powering on the camera for noise reduction, adjusting a separate environment value for each application when the camera is running, etc. It can be done dynamically without updating.

일 실시 예에서 전자 장치는, 카메라; 무선 통신 회로; 상기 카메라를 이용한 기능을 제공하는 어플리케이션이 저장되는 메모리; 및 상기 카메라, 상기 무선 통신 회로, 및 상기 메모리와 전기적으로 연결된 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 어플리케이션을 통한 상기 기능이 제공되고 있지 않는 동안: 상기 무선 통신 회로를 통해 서버로부터 카메라의 구동과 관련된 데이터를 획득하고, 상기 획득된 데이터에 기초하여 상기 카메라의 구동을 제어하도록 설정될 수 있다.In an embodiment, the electronic device includes: a camera; wireless communication circuitry; a memory in which an application providing a function using the camera is stored; and at least one processor electrically coupled to the camera, the wireless communication circuitry, and the memory, wherein the at least one processor is configured to: while the function via the application is not being provided: via the wireless communication circuitry It may be set to acquire data related to driving of the camera from the server and to control driving of the camera based on the acquired data.

일 실시 예에서 전자 장치는, 카메라; 적어도 하나의 센서; 및 상기 카메라를 이용한 기능을 제공하는 어플리케이션이 저장되는 메모리; 및 상기 카메라, 상기 적어도 하나의 센서, 상기 메모리에 전기적으로 연결된 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 어플리케이션을 통한 상기 기능이 제공되고 있지 않는 동안: 상기 적어도 하나의 센서로부터 상기 전자 장치의 상태와 관련된 데이터를 획득하고, 상기 적어도 하나의 센서를 통해 획득된 데이터에 적어도 기초하여 상기 카메라의 구동을 제어하도록 설정될 수 있다.In an embodiment, the electronic device includes: a camera; at least one sensor; and a memory in which an application providing a function using the camera is stored; and at least one processor electrically coupled to the camera, the at least one sensor, and the memory, wherein the at least one processor is configured to: while the function through the application is not being provided: It may be configured to acquire data related to the state of the electronic device and to control driving of the camera based at least on the data acquired through the at least one sensor.

일 실시 예에서 카메라를 구비한 전자 장치의 제어 방법은, 어플리케이션을 통해 상기 카메라를 이용한 기능이 제공되고 있지 않는 동안: 외부 서버 또는 상기 전자 장치에 구비된 적어도 하나의 센서로부터 상기 전자 장치의 카메라 구동에 관련된 데이터를 획득하는 동작; 및 상기 획득된 데이터에 기반하여 상기 카메라의 구동을 제어하는 동작을 포함할 수 있다. According to an embodiment, in the method of controlling an electronic device having a camera, while the function using the camera is not provided through an application: driving the camera of the electronic device from an external server or at least one sensor provided in the electronic device obtaining data related to and controlling driving of the camera based on the acquired data.

모바일 장치의 다양한 센서들과 네트워크를 통한 능동적인 데이터 제어를 통하여 기존의 사용자 입력을 수반한 카메라 제어에서 사용자의 입력 없이 능동적인 카메라의 제어를 실현할 수 있다. 이는 시스템의 재구축 없이 사용자의 필요를 충족시킬 수 있다. Through active data control through various sensors and networks of the mobile device, it is possible to realize active camera control without user input in the existing camera control accompanying user input. It can meet the needs of users without rebuilding the system.

본 개시에서 얻을 수 있는 효과는 이상에서 언급한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.Effects obtainable in the present disclosure are not limited to the above-mentioned effects, and other effects not mentioned may be clearly understood by those of ordinary skill in the art to which the present disclosure belongs from the description below. will be.

도 1은 다양한 실시 예들에 따른 네트워크 환경 내의 전자 장치의 블럭도이다.
도 2은 다양한 실시예에 따른 프로그램을 예시하는 블록도이다.
도 3은 일 실시 예에서 카메라의 구동을 제어하는 컴포넌트들을 도시한다.
도 4는 일 실시 예에서 서버로부터 획득한 데이터에 기초하여 카메라의 구동을 제어하는 흐름도이다.
도 5는 일 실시 예에서 서버에서 수신한 데이터에 기초하여 카메라 구동을 제어하는 순서도이다.
도 6은 일 실시 예에서 컨텐츠 서버로부터 획득한 데이터에 기초하여 카메라의 구동을 제어하는 과정을 각 동작의 주체별로 도시한다.
도 7은 일 실시 예에서 센서 데이터에 기초하여 카메라의 구동을 제어하는 흐름도이다.
도 8은 일 실시 예에서 센서 데이터에 기초하여 카메라 구동을 제어하는 순서도이다.
도 9는 일 실시 예에서 센서 허브로부터 획득한 데이터에 기초하여 카메라의 구동을 제어하는 과정을 각 동작의 주체별로 도시한다.
도 10은 일 실시 예에서 전자 장치의 흔들림에 따라 함께 흔들릴 수 있는 카메라 렌즈를 도시한다.
도 11은 일 실시 예에서 전자 장치가 흔들릴 때 시간에 따른 가속도 데이터를 나타낸다.
1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure;
2 is a block diagram illustrating a program according to various embodiments.
3 shows components for controlling driving of a camera in an embodiment.
4 is a flowchart for controlling driving of a camera based on data obtained from a server according to an exemplary embodiment.
5 is a flowchart of controlling a camera operation based on data received from a server according to an exemplary embodiment.
6 illustrates a process of controlling the driving of a camera based on data obtained from a content server according to each subject of each operation according to an embodiment.
7 is a flowchart of controlling driving of a camera based on sensor data according to an exemplary embodiment.
8 is a flowchart for controlling camera driving based on sensor data according to an exemplary embodiment.
9 illustrates a process of controlling driving of a camera based on data obtained from a sensor hub for each subject of each operation, according to an embodiment.
10 illustrates a camera lens that can be shaken together according to the shake of the electronic device according to an embodiment.
11 illustrates acceleration data according to time when the electronic device shakes according to an embodiment.

도 1은 다양한 실시 예들에 따른 네트워크 환경(100) 내의 전자 장치(101)의 블럭도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments of the present disclosure. Referring to FIG. 1 , in a network environment 100 , an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network).

일 실시 예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 장치(150), 음향 출력 장치(155), 표시 장치(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시 예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 표시 장치(160) 또는 카메라(180))가 생략되거나, 하나 이상의 다른 구성 요소가 추가될 수 있다. 어떤 실시 예에서는, 이 구성요소들 중 일부들은 하나의 통합된 회로로 구현될 수 있다. 예를 들면, 센서 모듈(176)(예: 지문 센서, 홍채 센서, 또는 조도 센서)은 표시 장치(160)(예: 디스플레이)에 임베디드된 채 구현될 수 있다According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120 , a memory 130 , an input device 150 , a sound output device 155 , a display device 160 , an audio module 170 , and a sensor module ( 176 ), interface 177 , haptic module 179 , camera 180 , power management module 188 , battery 189 , communication module 190 , subscriber identification module 196 , or antenna module 197 . may include. In some embodiments, at least one of these components (eg, the display device 160 or the camera 180 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components may be implemented as a single integrated circuit. For example, the sensor module 176 (eg, a fingerprint sensor, an iris sensor, or an illuminance sensor) may be implemented while being embedded in the display device 160 (eg, a display).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

도 2은 다양한 실시예에 따른 프로그램(140)을 예시하는 블록도(200)이다. 일실시예에 따르면, 프로그램(140)은 전자 장치(101)의 하나 이상의 리소스들을 제어하기 위한 운영 체제(142), 미들웨어(144), 또는 상기 운영 체제(142)에서 실행 가능한 어플리케이션(146)을 포함할 수 있다. 운영 체제(142)는, 예를 들면, AndroidTM, iOSTM, WindowsTM, SymbianTM, TizenTM, 또는 BadaTM를 포함할 수 있다. 프로그램(140) 중 적어도 일부 프로그램은, 예를 들면, 제조 시에 전자 장치(101)에 프리로드되거나, 또는 사용자에 의해 사용 시 외부 전자 장치(예: 전자 장치(102 또는 104), 또는 서버(108))로부터 다운로드되거나 갱신 될 수 있다.2 is a block diagram 200 illustrating a program 140 in accordance with various embodiments. According to an embodiment, the program 140 executes an operating system 142 , middleware 144 , or an application 146 executable in the operating system 142 for controlling one or more resources of the electronic device 101 . may include Operating system 142 may include, for example, Android TM , iOS TM , Windows TM , Symbian TM , Tizen TM , or Bada TM . At least some of the programs 140 are, for example, preloaded into the electronic device 101 at the time of manufacture, or an external electronic device (eg, the electronic device 102 or 104 ), or a server (eg, the electronic device 102 or 104 ) when used by a user ( 108)), or may be updated.

운영 체제(142)는 전자 장치(101)의 하나 이상의 시스템 리소스들(예: 프로세스, 메모리, 또는 전원)의 관리(예: 할당 또는 회수)를 제어할 수 있다. 운영 체제(142)는, 추가적으로 또는 대체적으로, 전자 장치(101)의 다른 하드웨어 디바이스, 예를 들면, 입력 장치(150), 음향 출력 장치(155), 표시 장치(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 구동하기 위한 하나 이상의 드라이버 프로그램들을 포함할 수 있다.The operating system 142 may control management (eg, allocation or retrieval) of one or more system resources (eg, a process, memory, or power) of the electronic device 101 . The operating system 142 may additionally or alternatively include other hardware devices of the electronic device 101 , for example, the input device 150 , the sound output device 155 , the display device 160 , and the audio module 170 . , sensor module 176 , interface 177 , haptic module 179 , camera 180 , power management module 188 , battery 189 , communication module 190 , subscriber identification module 196 , or antenna It may include one or more driver programs for driving the module 197 .

미들웨어(144)는 전자 장치(101)의 하나 이상의 리소스들로부터 제공되는 기능 또는 정보가 어플리케이션(146)에 의해 사용될 수 있도록 다양한 기능들을 어플리케이션(146)으로 제공할 수 있다. 미들웨어(144)는, 예를 들면, 어플리케이션 매니저(201), 윈도우 매니저(203), 멀티미디어 매니저(205), 리소스 매니저(207), 파워 매니저(209), 데이터베이스 매니저(211), 패키지 매니저(213), 커넥티비티 매니저(215), 노티피케이션 매니저(217), 로케이션 매니저(219), 그래픽 매니저(221), 시큐리티 매니저(223), 통화 매니저(225), 또는 음성 인식 매니저(227)를 포함할 수 있다. The middleware 144 may provide various functions to the application 146 so that functions or information provided from one or more resources of the electronic device 101 may be used by the application 146 . The middleware 144 includes, for example, an application manager 201 , a window manager 203 , a multimedia manager 205 , a resource manager 207 , a power manager 209 , a database manager 211 , and a package manager 213 . ), a connectivity manager 215 , a notification manager 217 , a location manager 219 , a graphics manager 221 , a security manager 223 , a call manager 225 , or a voice recognition manager 227 . can

어플리케이션 매니저(201)는, 예를 들면, 어플리케이션(146)의 생명 주기를 관리할 수 있다. 윈도우 매니저(203)는, 예를 들면, 화면에서 사용되는 하나 이상의 GUI 자원들을 관리할 수 있다. 멀티미디어 매니저(205)는, 예를 들면, 미디어 파일들의 재생에 필요한 하나 이상의 포맷들을 파악하고, 그 중 선택된 해당하는 포맷에 맞는 코덱을 이용하여 상기 미디어 파일들 중 해당하는 미디어 파일의 인코딩 또는 디코딩을 수행할 수 있다. 리소스 매니저(207)는, 예를 들면, 어플리케이션(146)의 소스 코드 또는 메모리(130)의 메모리의 공간을 관리할 수 있다. 파워 매니저(209)는, 예를 들면, 배터리(189)의 용량, 온도 또는 전원을 관리하고, 이 중 해당 정보를 이용하여 전자 장치(101)의 동작에 필요한 관련 정보를 결정 또는 제공할 수 있다. 일실시예에 따르면, 파워 매니저(209)는 전자 장치(101)의 바이오스(BIOS: basic input/output system)(미도시)와 연동할 수 있다.The application manager 201 may manage the life cycle of the application 146 , for example. The window manager 203 may manage one or more GUI resources used in a screen, for example. The multimedia manager 205, for example, identifies one or more formats required for playback of media files, and encodes or decodes a corresponding media file among the media files using a codec suitable for the selected format. can be done The resource manager 207 may manage the space of the source code of the application 146 or the memory of the memory 130 , for example. The power manager 209 may, for example, manage the capacity, temperature, or power of the battery 189 , and determine or provide related information necessary for the operation of the electronic device 101 by using the corresponding information. . According to an embodiment, the power manager 209 may interwork with a basic input/output system (BIOS) (not shown) of the electronic device 101 .

데이터베이스 매니저(211)는, 예를 들면, 어플리케이션(146)에 의해 사용될 데이터베이스를 생성, 검색, 또는 변경할 수 있다. 패키지 매니저(213)는, 예를 들면, 패키지 파일의 형태로 배포되는 어플리케이션의 설치 또는 갱신을 관리할 수 있다. 커넥티비티 매니저(215)는, 예를 들면, 전자 장치(101)와 외부 전자 장치 간의 무선 연결 또는 직접 연결을 관리할 수 있다. 노티피케이션 매니저(217)는, 예를 들면, 지정된 이벤트(예: 착신 통화, 메시지, 또는 알람)의 발생을 사용자에게 알리기 위한 기능을 제공할 수 있다. 로케이션 매니저(219)는, 예를 들면, 전자 장치(101)의 위치 정보를 관리할 수 있다. 그래픽 매니저(221)는, 예를 들면, 사용자에게 제공될 하나 이상의 그래픽 효과들 또는 이와 관련된 사용자 인터페이스를 관리할 수 있다. The database manager 211 may create, retrieve, or change a database to be used by the application 146 , for example. The package manager 213 may manage installation or update of an application distributed in the form of a package file, for example. The connectivity manager 215 may manage, for example, a wireless connection or a direct connection between the electronic device 101 and an external electronic device. The notification manager 217 may provide, for example, a function for notifying the user of the occurrence of a specified event (eg, an incoming call, a message, or an alarm). The location manager 219 may manage location information of the electronic device 101 , for example. The graphic manager 221 may manage, for example, one or more graphic effects to be provided to a user or a user interface related thereto.

시큐리티 매니저(223)는, 예를 들면, 시스템 보안 또는 사용자 인증을 제공할 수 있다. 통화(telephony) 매니저(225)는, 예를 들면, 전자 장치(101)에 의해 제공되는 음성 통화 기능 또는 영상 통화 기능을 관리할 수 있다. 음성 인식 매니저(227)는, 예를 들면, 사용자의 음성 데이터를 서버(108)로 전송하고, 그 음성 데이터에 적어도 일부 기반하여 전자 장치(101)에서 수행될 기능에 대응하는 명령어(command), 또는 그 음성 데이터에 적어도 일부 기반하여 변환된 문자 데이터를 서버(108)로부터 수신할 수 있다. 일 실시예에 따르면, 미들웨어(244)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다. 일 실시예에 따르면, 미들웨어(144)의 적어도 일부는 운영 체제(142)의 일부로 포함되거나, 또는 운영 체제(142)와는 다른 별도의 소프트웨어로 구현될 수 있다.Security manager 223 may provide, for example, system security or user authentication. The telephony manager 225 may manage, for example, a voice call function or a video call function provided by the electronic device 101 . The voice recognition manager 227, for example, transmits the user's voice data to the server 108, and based at least in part on the voice data, a command corresponding to a function to be performed in the electronic device 101; Alternatively, the converted text data may be received from the server 108 based at least in part on the voice data. According to an embodiment, the middleware 244 may dynamically delete some existing components or add new components. According to an embodiment, at least a portion of the middleware 144 may be included as a part of the operating system 142 or implemented as software separate from the operating system 142 .

어플리케이션(146)은, 예를 들면, 홈(251), 다이얼러(253), SMS/MMS(255), IM(instant message)(257), 브라우저(259), 카메라(261), 알람(263), 컨택트(265), 음성 인식(267), 이메일(269), 달력(271), 미디어 플레이어(273), 앨범(275), 와치(277), 헬스(279)(예: 운동량 또는 혈당과 같은 생체 정보를 측정), 또는 환경 정보(281)(예: 기압, 습도, 또는 온도 정보 측정) 어플리케이션을 포함할 수 있다. 일실시예에 따르면, 어플리케이션(146)은 전자 장치(101)와 외부 전자 장치 사이의 정보 교환을 지원할 수 있는 정보 교환 어플리케이션(미도시)을 더 포함할 수 있다. 정보 교환 어플리케이션은, 예를 들면, 외부 전자 장치로 지정된 정보 (예: 통화, 메시지, 또는 알람)를 전달하도록 설정된 노티피케이션 릴레이 어플리케이션, 또는 외부 전자 장치를 관리하도록 설정된 장치 관리 어플리케이션을 포함할 수 있다. 노티피케이션 릴레이 어플리케이션은, 예를 들면, 전자 장치(101)의 다른 어플리케이션(예: 이메일 어플리케이션(269))에서 발생된 지정된 이벤트(예: 메일 수신)에 대응하는 알림 정보를 외부 전자 장치로 전달할 수 있다. 추가적으로 또는 대체적으로, 노티피케이션 릴레이 어플리케이션은 외부 전자 장치로부터 알림 정보를 수신하여 전자 장치(101)의 사용자에게 제공할 수 있다. Application 146 includes, for example, home 251 , dialer 253 , SMS/MMS 255 , instant message (IM) 257 , browser 259 , camera 261 , alarm 263 . , contact 265, voice recognition 267, email 269, calendar 271, media player 273, album 275, watch 277, health 279 (such as exercise or blood sugar) measuring biometric information), or environmental information 281 (eg, measuring atmospheric pressure, humidity, or temperature information). According to an embodiment, the application 146 may further include an information exchange application (not shown) capable of supporting information exchange between the electronic device 101 and an external electronic device. The information exchange application may include, for example, a notification relay application configured to transmit specified information (eg, call, message, or alarm) to an external electronic device, or a device management application configured to manage the external electronic device. have. The notification relay application, for example, transmits notification information corresponding to a specified event (eg, mail reception) generated in another application (eg, the email application 269 ) of the electronic device 101 to the external electronic device. can Additionally or alternatively, the notification relay application may receive notification information from the external electronic device and provide it to the user of the electronic device 101 .

장치 관리 어플리케이션은, 예를 들면, 전자 장치(101)와 통신하는 외부 전자 장치 또는 그 일부 구성 요소(예: 표시 장치(160) 또는 카메라(180))의 전원(예: 턴-온 또는 턴-오프) 또는 기능(예: 표시 장치(160) 또는 카메라(180)의 밝기, 해상도, 또는 포커스)을 제어할 수 있다. 장치 관리 어플리케이션은, 추가적으로 또는 대체적으로, 외부 전자 장치에서 동작하는 어플리케이션의 설치, 삭제, 또는 갱신을 지원할 수 있다.The device management application is, for example, a power source (eg, turn-on or turn-on) of an external electronic device that communicates with the electronic device 101 or a component thereof (eg, the display device 160 or the camera 180). off) or a function (eg, brightness, resolution, or focus of the display device 160 or the camera 180 ). The device management application may additionally or alternatively support installation, deletion, or update of an application operating in an external electronic device.

도 3은 일 실시 예에서 카메라의 구동을 제어하는 컴포넌트들을 도시한다. 3 shows components for controlling driving of a camera in an embodiment.

일 실시 예에서 전자 장치는 카메라 정책 관리 모듈(330), 카메라 서비스 프록시 모듈(340), 카메라 서비스 모듈(350), 카메라 어플리케이션(360)을 포함할 수 있다. In an embodiment, the electronic device may include a camera policy management module 330 , a camera service proxy module 340 , a camera service module 350 , and a camera application 360 .

일 실시 예에서 카메라 서비스 모듈(350)은 전자 장치(예: 도 1의 전자 장치(101))의 카메라(예: 도 1의 카메라 모듈(180))를 구동하기 위하여 카메라를 이용할 수 있는 어플리케이션(이하, '카메라 어플리케이션(360)') 및 카메라 센서(370)와 교신할 수 있다. 예를 들어, 카메라 어플리케이션(360)에서 카메라를 통해 이미지를 획득하려는 경우 카메라 어플리케이션(360)이 카메라 서비스 모듈(350)에 카메라를 구동하는 신호를 카메라 서비스 모듈(350)에 전달할 수 있다. 카메라 서비스 모듈(350)은 상기 신호를 수신하고, 카메라 센서(370)를 구동할 수 있다 카메라 서비스 모듈(350)은 카메라 센서(370)를 통해 획득된 이미지 데이터를 카메라 어플리케이션(360)(예: 도 1의 어플리케이션(146))에 전달할 수 있다. In an embodiment, the camera service module 350 is an application (eg, an application that can use a camera to drive a camera (eg, the camera module 180 of FIG. 1 ) of the electronic device (eg, the electronic device 101 of FIG. 1 )). Hereinafter, it may communicate with the 'camera application 360') and the camera sensor 370 . For example, when the camera application 360 intends to acquire an image through a camera, the camera application 360 may transmit a signal for driving a camera to the camera service module 350 to the camera service module 350 . The camera service module 350 may receive the signal and drive the camera sensor 370 . The camera service module 350 transmits image data obtained through the camera sensor 370 to the camera application 360 (eg: application 146 of FIG. 1 ).

본 개시에서 카메라 어플리케이션(360)은 전자 장치의 메모리에 저장될 수 있다. 카메라 어플리케이션(360)은 카메라 기능을 제공하는 어플리케이션 또는 카메라 기능에 접근할 수 있는 어플리케이션을 의미할 수 있다. 예를 들어, 메신저 어플리케이션은 카메라를 이용하여 이미지를 획득할 수 있는 기능을 제공하므로 본 개시의 카메라 어플리케이션(360)에 포함될 수 있다. 다른 예를 들어, 명시적으로 카메라 기능을 제공하지 않지만 카메라 기능에 접근할 수 있는 어플리케이션도 본 개시의 카메라 어플리케이션(360)에 포함될 수 있다. In the present disclosure, the camera application 360 may be stored in the memory of the electronic device. The camera application 360 may mean an application that provides a camera function or an application that can access the camera function. For example, the messenger application may be included in the camera application 360 of the present disclosure because it provides a function for acquiring an image using a camera. As another example, an application that does not explicitly provide a camera function but can access the camera function may also be included in the camera application 360 of the present disclosure.

일 실시 예에서 전자 장치는 카메라 서비스 프록시 모듈(340)을 포함할 수 있다. 카메라 서비스 프록시 모듈(340)은 카메라 서비스 모듈(350)로부터 카메라의 동작 상태를 카메라 어플리케이션(360)으로 전달할 수 있다. In an embodiment, the electronic device may include a camera service proxy module 340 . The camera service proxy module 340 may transmit the operating state of the camera from the camera service module 350 to the camera application 360 .

일 실시 예에서 전자 장치는 카메라 정책 관리 모듈(330)을 포함할 수 있다. 카메라 정책 관리 모듈(330)은 컨텐츠 서버(310) 및/또는 센서 허브(320)로부터 데이터를 수신할 수 있다. 일 실시 예에서 카메라 정책 관리 모듈(330)은 컨텐츠 서버(310) 및/또는 센서 허브(320)를 통해 카메라 구동과 관련된 정보를 상시 획득할 수 있다. 일 실시 예에서 카메라 정책 관리 모듈(330)은 컨텐츠 서버(310)에 데이터를 요청할 수 있다. 일 실시 예에서 카메라 정책 관리 모듈(330)은 센서 허브(320)로부터 주기적으로 센서 데이터를 획득할 수 있다. 예를 들어, 센서 허브(320)는 가속도 센서와 연결될 수 있고, 카메라 정책 관리 모듈(330)은 소정의 샘플링 주파수(예: 50Hz)로 전자 장치의 가속도 데이터를 수신할 수 있다. 카메라 정책 관리 모듈(330)은 센서 허브(320)를 통해 전자 장치가 어떤 주파수로 흔들리는지 상시 감지할 수 있다. In an embodiment, the electronic device may include a camera policy management module 330 . The camera policy management module 330 may receive data from the content server 310 and/or the sensor hub 320 . In an embodiment, the camera policy management module 330 may always obtain information related to driving a camera through the content server 310 and/or the sensor hub 320 . In an embodiment, the camera policy management module 330 may request data from the content server 310 . In an embodiment, the camera policy management module 330 may periodically acquire sensor data from the sensor hub 320 . For example, the sensor hub 320 may be connected to an acceleration sensor, and the camera policy management module 330 may receive acceleration data of the electronic device at a predetermined sampling frequency (eg, 50Hz). The camera policy management module 330 may always detect at which frequency the electronic device shakes through the sensor hub 320 .

일 실시 예에서 카메라 정책 관리 모듈(330)은 컨텐츠 서버(310)나 센서 허브(320)로부터 획득한 데이터에 기반하여 카메라를 직접 구동하거나, 카메라의 설정을 조정하는 명령을 카메라 서비스 모듈(350)로 전달할 수 있다. In an embodiment, the camera policy management module 330 directly drives the camera based on data obtained from the content server 310 or the sensor hub 320 or sends a command to adjust the settings of the camera to the camera service module 350 . can be passed to

일 실시 예에서 카메라 정책 관리 모듈(330)은 컨텐츠 서버(310)(예: 도 1의 서버(108))로부터 카메라와 관련된 데이터를 획득할 수 있다. 카메라 정책 관리 모듈(330)은 컨텐츠 서버(310)로부터 획득한 데이터를 이용하여 카메라 어플리케이션(360)들 별로 서로 다른 카메라 설정을 적용할 수 있다. 컨텐츠 서버(310)와 카메라 정책 관리 모듈(330) 사이의 통신은 전자 장치의 무선 통신 회로(예: 도 1의 무선 통신 모듈(192))를 통해 수행될 수 있다. In an embodiment, the camera policy management module 330 may obtain camera-related data from the content server 310 (eg, the server 108 of FIG. 1 ). The camera policy management module 330 may apply different camera settings to each of the camera applications 360 using data obtained from the content server 310 . Communication between the content server 310 and the camera policy management module 330 may be performed through a wireless communication circuit of the electronic device (eg, the wireless communication module 192 of FIG. 1 ).

일 실시 예에서 카메라 정책 관리 모듈(330)이 컨텐츠 서버(310)로부터 획득하는 데이터는 복수의 카메라 어플리케이션들 중 적어도 하나에 대한 카메라 설정과 관련된 정보를 포함할 수 있다. 예를 들어, 컨텐츠 서버(310)는 제1 카메라 어플리케이션에 대한 제1 카메라 설정, 및 제2 카메라 어플리케이션에 대한 제2 카메라 설정과 관련된 정보를 카메라 정책 관리 모듈(330)에 전송할 수 있다. 제1 카메라 어플리케이션이 실행될 때 카메라 서비스 모듈(350)은 해당 데이터를 기초로 카메라의 설정을 제1 카메라 설정으로 조정할 수 있다. In an embodiment, data obtained by the camera policy management module 330 from the content server 310 may include information related to camera settings for at least one of a plurality of camera applications. For example, the content server 310 may transmit information related to the first camera setting for the first camera application and the second camera setting for the second camera application to the camera policy management module 330 . When the first camera application is executed, the camera service module 350 may adjust the camera settings to the first camera settings based on the corresponding data.

일 실시 예에서 카메라 설정과 관련된 정보는 줌 비율, 초점거리, 화각, 화질, 화이트 밸런스, 또는 조리개 값 중 적어도 하나를 포함할 수 있다. 예를 들어, 카메라 설정과 관련된 정보는 제1 어플리케이션에 대한 제1 줌 비율, 제2 카메라 어플리케이션에 대한 제2 줌 비율을 포함할 수 있다. 일 실시 예에서 제1 어플리케이션을 통해 카메라 기능이 실행될 때 카메라 정책 관리 모듈(330)은 카메라에 줌 비율을 제1 줌 비율로 조정하는 신호를 전달할 수 있다. 제2 어플리케이션을 통해 카메라 기능이 실행될 때 카메라 정책 관리 모듈(330)은 카메라에 줌 비율을 제2 줌 비율로 조정하는 신호를 전달할 수 있다. In an embodiment, the information related to the camera setting may include at least one of a zoom ratio, a focal length, an angle of view, an image quality, a white balance, and an aperture value. For example, the information related to the camera setting may include a first zoom ratio for the first application and a second zoom ratio for the second camera application. In an embodiment, when the camera function is executed through the first application, the camera policy management module 330 may transmit a signal for adjusting the zoom ratio to the first zoom ratio to the camera. When the camera function is executed through the second application, the camera policy management module 330 may transmit a signal for adjusting the zoom ratio to the second zoom ratio to the camera.

일 실시 예에서 전자 장치가 2 이상의 카메라를 포함하는 경우 카메라 설정과 관련된 정보는 카메라들 중 어떤 카메라를 사용하여 이미지를 획득할 것인지 여부를 나타내는 정보를 포함할 수 있다. 예를 들어, 데이터는 제1 어플리케이션에서 이미지를 획득할 제1 카메라의 식별자, 및 제2 어플리케이션에서 이미지를 획득하는데 사용할 제2 카메라의 식별자를 포함할 수 있다. According to an embodiment, when the electronic device includes two or more cameras, the information related to the camera setting may include information indicating whether one of the cameras is used to acquire an image. For example, the data may include an identifier of a first camera to acquire an image in the first application, and an identifier of a second camera to be used in acquiring an image in the second application.

일 실시 예에서 카메라 설정을 조정하는 명령은 카메라 정책 관리 모듈(330) 외에 다른 모듈에 의에서 수행될 수 있다. 예를 들어, 카메라 정책 관리 모듈(330)은 컨텐츠 서버(310)로부터 획득한 카메라 설정과 관련된 데이터를 카메라 서비스 모듈(350)로 전달할 수 있고, 카메라 서비스 모듈(350)은 상기 데이터를 기초로 카메라의 설정을 조정할 수 있다. In an embodiment, the command to adjust camera settings may be performed by a module other than the camera policy management module 330 . For example, the camera policy management module 330 may transmit data related to camera settings obtained from the content server 310 to the camera service module 350 , and the camera service module 350 may transmit a camera based on the data. settings can be adjusted.

일 실시 예에서 센서 허브(320)는 전자 장치 내 각종 센서들(예: 도 1의 센서 모듈176))과 전기적으로 연결되고, 센서들로부터 획득한 센서 데이터를 유용한 정보들로 가공하거나 그대로의 데이터를 특정 모듈에 전달할 수 있다. In an embodiment, the sensor hub 320 is electrically connected to various sensors (eg, the sensor module 176 of FIG. 1 ) in the electronic device, and processes sensor data obtained from the sensors into useful information or data as it is. can be passed to a specific module.

일 실시 예에서 카메라 장치 관리 모듈은 센서 허브(320)로부터 전자 장치내의 여러 센서들이 출력하는 센서 데이터를 획득할 수 있다. 일 실시 예에서 카메라 장치 관리 모듈은 센서 데이터를 처리하고, 센서 데이터에 포함된 정보에 기반하여 카메라의 구동을 제어할 수 있다. 예를 들어, 센서 허브(320)로부터 전자 장치가 특정 주파수(예: 2.5Hz-6.0Hz)로 흔들린다는 정보를 획득한 것에 응답하여 카메라의 적어도 일부(예: OIS 구동부, AF 구동부)에 전원을 인가하도록 하는 명령을 카메라 서비스로 전달할 수 있다. In an embodiment, the camera device management module may acquire sensor data output by various sensors in the electronic device from the sensor hub 320 . In an embodiment, the camera device management module may process sensor data and control driving of the camera based on information included in the sensor data. For example, in response to obtaining information from the sensor hub 320 that the electronic device shakes at a specific frequency (eg, 2.5Hz-6.0Hz), power is supplied to at least a part of the camera (eg, OIS driver, AF driver) A command to authorize can be transmitted to the camera service.

일 실시 예에서 카메라 서비스 프록시 모듈(340)은 카메라 정책 관리 모듈(330)로부터 수신한 신호(예: 명령, 데이터)를 카메라 서비스 모듈(350)로 전달할 수 있다. 상술한 실시 예들에서 카메라 정책 관리 모듈(330)과 카메라 서비스 모듈(350) 사이의 신호 교환은 카메라 서비스 프록시 모듈(340)을 통해 이루어질 수 있다. 다른 실시 예에서 카메라 정책 관리 모듈(330)과 카메라 서비스 모듈(350) 사이의 데이터 교환은 카메라 서비스 프록시 모듈(340) 없이 이루어질 수 있다. 본 개시에서 카메라 정책 관리 모듈(330)과 카메라 서비스 모듈(350) 사이의 데이터 교환에 관한 내용이 카메라 서비스 프록시 모듈(340)에 대한 언급 없이 설명되더라도, 상기 데이터 교환은 카메라 서비스 프록시 모듈(340)을 통해 수행되는 것을 포함하는 것으로 이해될 수 있다. In an embodiment, the camera service proxy module 340 may transmit a signal (eg, command, data) received from the camera policy management module 330 to the camera service module 350 . In the above-described embodiments, signal exchange between the camera policy management module 330 and the camera service module 350 may be performed through the camera service proxy module 340 . In another embodiment, data exchange between the camera policy management module 330 and the camera service module 350 may be performed without the camera service proxy module 340 . Although the content regarding data exchange between the camera policy management module 330 and the camera service module 350 in the present disclosure is described without reference to the camera service proxy module 340, the data exchange is performed by the camera service proxy module 340 It can be understood to include what is performed through.

일 실시 예에서 컨텐츠 서버(310)에서 카메라 정책 관리 모듈(330)로 전달되는 데이터는 카메라의 구동에 관한 정보를 포함할 수 있다. 일 실시 예에서 상기 데이터는 카테고리 정보, 버전 정보, 어플리케이션 정보, 또는 파라미터 정보 중 적어도 하나를 포함할 수 있다. 일 실시 예에서 카테고리 정보는 카메라를 구동 시킬 수 있는 식별자를 포함할 수 있다. 전자 장치는 데이터에 카메라를 구동 시킬 수 있는 식별자가 포함되어 있다는 판단에 기반하여 카메라를 구동하고 카메라를 통해 이미지를 획득할 수 있다. 일 실시 예에서 버전 정보는 데이터가 얼마나 최신의 정보인지를 나타낼 수 있다. 예를 들어, 버전 정보는 데이터의 수신 날짜에 관한 정보를 포함할 수 있다. 일 실시 예에서 어플리케이션 정보는 카메라 어플리케이션(360)을 서로 구분할 수 있는 정보를 포함할 수 있다. 예를 들어, 데이터는 카메라 어플리케이션(360)의 고유한 패키지 이름을 포함할 수 있고, 전자 장치는 데이터에 포함된 패키지 이름에 기초하여 해당 데이터를 어떤 카메라 어플리케이션(360)에 적용할지 결정할 수 있다. 일 실시 예에서 파라미터 정보는 카메라의 설정(또는 파라미터)과 관련된 정보를 포함할 수 있다. 예를 들어, 카메라의 설정과 관련된 정보는 카메라의 초점거리, 줌 비율 등을 포함할 수 있다. 일 실시 예에서 데이터는 복수의 카메라 어플리케이션들 중 적어도 하나에 대한 카메라 설정을 포함할 수 있다. 일 실시 예에서 데이터는 제1 카메라 어플리케이션에 대한 제1 카메라 설정, 제2 카메라 어플리케이션에 대한 제2 카메라 설정을 포함할 수 있다. 제1 카메라 어플리케이션을 통해 카메라 기능이 제공되는 경우 전자 장치는 제1 카메라 설정으로 이미지를 획득할 수 있다. 제2 카메라 어플리케이션을 통해 카메라 기능이 제공되는 경우 전자 장치는 제1 카메라 설정과 다른 제2 카메라 설정으로 이미지를 획득할 수 있다. According to an embodiment, data transmitted from the content server 310 to the camera policy management module 330 may include information about driving the camera. In an embodiment, the data may include at least one of category information, version information, application information, and parameter information. According to an embodiment, the category information may include an identifier capable of driving a camera. The electronic device may drive the camera and acquire an image through the camera based on a determination that the data includes an identifier for driving the camera. According to an embodiment, the version information may indicate how up-to-date the data is. For example, the version information may include information about a data reception date. In an embodiment, the application information may include information for distinguishing the camera application 360 from each other. For example, the data may include a unique package name of the camera application 360 , and the electronic device may determine which camera application 360 to apply the data to based on the package name included in the data. According to an embodiment, the parameter information may include information related to a setting (or parameter) of a camera. For example, the information related to the setting of the camera may include a focal length of the camera, a zoom ratio, and the like. According to an embodiment, the data may include camera settings for at least one of a plurality of camera applications. In an embodiment, the data may include a first camera setting for the first camera application and a second camera setting for the second camera application. When a camera function is provided through the first camera application, the electronic device may acquire an image with the first camera setting. When a camera function is provided through the second camera application, the electronic device may acquire an image with a second camera setting different from the first camera setting.

일 실시 예에서 데이터는 특정 어플리케이션에 대한 카메라 기능의 이용 제한 여부를 나타내는 정보를 포함할 수 있다. 일 실시 예에서 데이터는 제1 어플리케이션을 통한 카메라 기능의 이용을 제한하는 정보를 포함할 수 있다. 제1 어플리케이션이 카메라 기능을 이용하기 위해 카메라 서비스 모듈(350)에 카메라를 구동하는 신호를 전송하더라도, 카메라 서비스 모듈(350)은 카메라를 구동하지 않거나 제1 어플리케이션에 카메라를 통해 획득된 이미지 데이터를 전달하지 않을 수 있다. According to an embodiment, the data may include information indicating whether to restrict the use of a camera function for a specific application. In an embodiment, the data may include information limiting the use of the camera function through the first application. Even if the first application transmits a signal for driving the camera to the camera service module 350 in order to use the camera function, the camera service module 350 does not drive the camera or transmits image data obtained through the camera to the first application. may not be delivered.

일 실시 예에서 데이터는 사용자의 의도와 관계없이 악의적으로 카메라 기능을 이용하려고 하는 어플리케이션에 관한 정보를 포함할 수 있다. 카메라 서비스 모듈(350)이 카메라에 대한 접근을 허용할지에 대한 정책을 확인함으로써 특정 어플리케이션의 비정상적인 카메라 이용을 제한할 수 있다. 또 카메라 정책 관리 모듈(330)를 통해 데이터를 최신의 상태로 유지할 수 있으므로, 사용자가 직접 특정 어플리케이션의 카메라에 대한 접근을 제한하지 않아도 된다. According to an embodiment, the data may include information about an application that maliciously attempts to use a camera function regardless of a user's intention. By checking a policy on whether the camera service module 350 allows access to the camera, abnormal use of the camera by a specific application may be restricted. In addition, since data can be kept up-to-date through the camera policy management module 330, the user does not need to directly restrict access to the camera of a specific application.

도 4는 일 실시 예에서 서버로부터 획득한 데이터에 기초하여 카메라의 구동을 제어하는 흐름도이다. 4 is a flowchart for controlling driving of a camera based on data obtained from a server according to an exemplary embodiment.

일 실시 예에서 전자 장치(또는 카메라 정책 관리 모듈(330))는 동작 410에서 서버로부터 카메라의 구동에 관한 데이터를 획득할 수 있다. According to an embodiment, the electronic device (or the camera policy management module 330 ) may acquire data regarding driving of a camera from the server in operation 410 .

일 실시 예에서 전자 장치는 카메라가 구동하지 않는 동안 카메라의 구동에 관련된 데이터를 획득할 수 있다. 일 실시 예에서 전자 장치는 카메라 기능이 제공되고 있는지 여부와 독립적으로 서버로부터 카메라의 구동과 관련된 데이터를 수신할 수 있다. 일 실시 예에서 전자 장치는 카메라 기능이 제공되고 있지 않는 동안 서버로부터 상기 데이터를 획득할 수 있다. 예를 들어, 전자 장치가 슬립 상태에 있는 경우에 전자 장치는 서버로부터 상기 데이터를 수신할 수 있다. 다른 예를 들어, 전자 장치의 디스플레이에 카메라 프리뷰 화면이 표시되지 않는 동안 전자 장치는 서버로부터 상기 데이터를 수신할 수 있다.According to an embodiment, the electronic device may acquire data related to driving of the camera while the camera is not driving. In an embodiment, the electronic device may receive data related to driving the camera from the server independently of whether a camera function is being provided. In an embodiment, the electronic device may acquire the data from the server while the camera function is not provided. For example, when the electronic device is in a sleep state, the electronic device may receive the data from the server. As another example, the electronic device may receive the data from the server while the camera preview screen is not displayed on the display of the electronic device.

일 실시 예에서 카메라의 구동에 관한 데이터는 카메라를 구동 시킬 수 있는 정보를 포함할 수 있다. 일 실시 예에서 서버로부터 획득된 데이터는 사용자의 입력에 무관하게 카메라의 구동이 필요한지 여부에 관한 정보를 포함할 수 있다. In an embodiment, the data related to driving the camera may include information for driving the camera. In an embodiment, the data obtained from the server may include information on whether the camera needs to be driven regardless of a user's input.

일 실시 예에서 카메라의 구동에 관한 데이터는 카메라의 설정 정보(또는 설정 값)를 포함할 수 있다. 카메라 설정 정보는 예를 들어 이미지의 초점 거리, 화질, 줌 비율, 조리개 값 등 카메라 설정과 관련된 값을 포함할 수 있다. According to an embodiment, the data related to the driving of the camera may include setting information (or setting value) of the camera. The camera setting information may include, for example, values related to camera settings, such as a focal length, image quality, zoom ratio, and aperture value of an image.

일 실시 예에서 카메라의 구동에 관한 데이터는 둘 이상의 카메라 어플리케이션들 중 적어도 하나에 대한 카메라 설정 정보를 포함할 수 있다. 일 실시 예에서 카메라 설정 정보는 제1 카메라 어플리케이션에 대한 제1 카메라 설정 정보, 제2 카메라 어플리케이션에 대한 제2 카메라 설정 정보를 포함할 수 있다. 일 실시 예에서 카메라의 설정 정보는 줌 비율, 초점거리, 화각, 화질, 화이트 밸런스, 또는 조리개 값 중 적어도 하나를 포함할 수 있다. 예를 들어, 카메라의 구동에 관한 데이터는 제1 카메라 어플리케이션에 할당된 제1 줌 비율, 및 제2 카메라 어플리케이션에 할당된 제2 줌 비율에 대응하는 정보를 포함할 수 있다. 제2 줌 비율은 제1 줌 비율과 다를 수 있다. 다른 예를 들어, 카메라의 구동에 관한 데이터는 제1 카메라 어플리케이션에 할당된 제1 초점 거리, 및 제2 카메라 어플리케이션에 할당된 제2 초점 거리에 대응하는 정보를 포함할 수 있다. 제2 초점 거리는 제1 초점 거리와 다를 수 있다. According to an embodiment, the data related to driving the camera may include camera setting information for at least one of two or more camera applications. According to an embodiment, the camera setting information may include first camera setting information for the first camera application and second camera setting information for the second camera application. According to an embodiment, the setting information of the camera may include at least one of a zoom ratio, a focal length, an angle of view, an image quality, a white balance, and an aperture value. For example, the data about driving the camera may include information corresponding to a first zoom ratio assigned to the first camera application and a second zoom ratio assigned to the second camera application. The second zoom ratio may be different from the first zoom ratio. As another example, the data regarding driving of the camera may include information corresponding to a first focal length allocated to the first camera application and a second focal length allocated to the second camera application. The second focal length may be different from the first focal length.

일 실시 예에서 전자 장치는 동작 420에서 서버로부터 획득된 데이터에 기초하여 카메라의 구동을 제어할 수 있다. 일 실시 예에서 동작 420은 도 3의 카메라 정책 관리 모듈(330), 카메라 서비스 프록시 모듈(340), 카메라 어플리케이션, 및/또는 카메라 서비스 모듈(350)을 통해 수행될 수 있다. In an embodiment, the electronic device may control driving of the camera based on data obtained from the server in operation 420 . In an embodiment, operation 420 may be performed through the camera policy management module 330 , the camera service proxy module 340 , the camera application, and/or the camera service module 350 of FIG. 3 .

일 실시 예에서 전자 장치는 동작 420에서 카메라를 통해 이미지를 획득할 수 있다. 일 실시 예에서 서버로부터 획득한 데이터가 카메라를 구동 시키라는 명령을 포함하는 경우 전자 장치는 카메라를 구동 하여 이미지를 획득할 수 있다. 이는 서버로부터 획득된 데이터에 응답하여 수행되는 동작으로서, 사용자의 입력과 무관할 수 있다. 일반적으로 카메라를 통한 이미지 획득은 카메라 기능을 실행하는 사용자 입력에 응답하여 수행되나, 일 실시 예에서는 사용자의 입력이 없어도 서버로부터의 데이터 수신에 응답하여 수행될 수 있다. In an embodiment, the electronic device may acquire an image through a camera in operation 420 . In an embodiment, when the data acquired from the server includes a command to drive the camera, the electronic device may acquire the image by driving the camera. This is an operation performed in response to data obtained from the server, and may be independent of a user's input. In general, image acquisition through a camera is performed in response to a user input for executing a camera function, but in an embodiment, it may be performed in response to data reception from a server even without a user input.

일 실시 예에서 전자 장치는 동작 420에서 데이터에 포함된 카메라 설정 정보를 기초로 카메라의 설정을 조정함으로써 카메라의 구동을 제어할 수 있다. 일 실시 예에서 전자 장치는 데이터에 포함된 카메라 설정 정보를 기초로 카메라의 설정을 조정하도록 카메라를 제어할 수 있다. 예를 들어, 데이터에 특정 카메라 어플리케이션에 대한 줌 비율이 포함된 경우, 전자 장치는 상기 카메라 어플리케이션이 실행되었을 때 상기 줌 비율로 이미지를 획득하도록 카메라의 줌 렌즈를 상기 줌 비율에 대응하는 위치로 이동시킬 수 있다. 다른 예를 들어, 데이터에 특정 카메라 어플리케이션에 대한 초점 거리가 포함된 경우, 전자 장치는 상기 카메라 어플리케이션이 실행되었을 때 상기 초점 거리로 이미지를 획득하도록 카메라의 AF 액츄에이터를 미리 구동할 수 있다. In an embodiment, in operation 420 , the electronic device may control the driving of the camera by adjusting the camera setting based on the camera setting information included in the data. In an embodiment, the electronic device may control the camera to adjust camera settings based on camera setting information included in data. For example, when the data includes a zoom ratio for a specific camera application, the electronic device moves the zoom lens of the camera to a position corresponding to the zoom ratio to acquire an image with the zoom ratio when the camera application is executed can do it As another example, when the data includes a focal length for a specific camera application, the electronic device may previously drive an AF actuator of the camera to acquire an image with the focal length when the camera application is executed.

일 실시 예에서 전자 장치가 2 이상의 카메라들을 포함하는 경우 카메라의 설정 정보는 어떤 카메라를 이용하여 이미지를 획득할 것인지 나타내는 정보를 포함할 수 있다. 예를 들어, 전자 장치는 서로 다른 화각 또는 줌 비율을 가지는 2 이상의 카메라들을 포함할 수 있다. 일 실시 예에서 카메라 설정 정보는 복수의 카메라 어플리케이션들 중 적어도 하나에 대한 카메라 종류를 포함할 수 있다. In an embodiment, when the electronic device includes two or more cameras, the camera setting information may include information indicating which camera to use to acquire an image. For example, the electronic device may include two or more cameras having different angles of view or zoom ratios. According to an embodiment, the camera setting information may include a camera type for at least one of a plurality of camera applications.

일 실시 예에서 전자 장치는 동작 420에서 카메라 설정 정보를 기초로 이미지 획득에 사용할 카메라를 결정할 수 있다. 일 실시 예에서 전자 장치가 복수의 카메라들을 포함하는 경우 카메라 설정 정보는 복수의 카메라 어플리케이션들 중 적어도 하나와 관련된 카메라를 포함할 수 있다. 예를 들어, 제1 카메라 어플리케이션을 통해 카메라 기능이 실행되는 경우 제1 카메라를 이용하여 이미지를 획득하고 제2 카메라 어플리케이션을 통해 카메라 기능이 실행되는 경우 제2 카메라를 이용하여 이미지를 획득할 수 있다. In an embodiment, in operation 420 , the electronic device may determine a camera to be used for image acquisition based on camera setting information. In an embodiment, when the electronic device includes a plurality of cameras, the camera setting information may include a camera related to at least one of the plurality of camera applications. For example, when a camera function is executed through the first camera application, an image can be acquired using the first camera, and when the camera function is executed through the second camera application, an image can be acquired using the second camera .

다른 실시 예에서 전자 장치는 카메라 설정 정보에 포함된 화각이나 줌 비율 등 파라미터에 기초하여 이미지 획득에 사용할 카메라를 결정할 수 있다. 예를 들어 전자 장치가 서로 다른 화각을 가지는 카메라들을 포함할 때, 전자 장치는 카메라 설정 정보에 포함된 특정 화각에 대응하는 카메라를 이용하여 이미지를 획득할 수 있다. 예를 들어, 카메라 설정 정보에 제1 카메라 어플리케이션에 대한 화각이 포함된 경우, 전자 장치는 제1 카메라 어플리케이션으로 이미지를 획득할 때 여러 카메라들 중 상기 화각에 대응하는 카메라를 이용하여 이미지를 획득할 수 있다. In another embodiment, the electronic device may determine a camera to be used for image acquisition based on parameters such as an angle of view or a zoom ratio included in the camera setting information. For example, when the electronic device includes cameras having different angles of view, the electronic device may acquire an image by using a camera corresponding to a specific angle of view included in the camera setting information. For example, when the camera setting information includes an angle of view for the first camera application, the electronic device acquires an image by using a camera corresponding to the angle of view among several cameras when acquiring an image with the first camera application. can

도 5는 일 실시 예에서 서버에서 수신한 데이터에 기초하여 카메라 구동을 제어하는 순서도이다. 5 is a flowchart of controlling a camera operation based on data received from a server according to an exemplary embodiment.

일 실시 예에서 전자 장치는 동작 510에서 카메라의 동작과 관련된 사용자의 수행이 있는지 여부를 판단할 수 있다. 예를 들어, 전자 장치는 카메라 어플리케이션을 실행하는 사용자 입력, 메시지 어플리케이션에서 카메라 기능을 실행하는 사용자 입력이 수신되었는지 여부를 판단할 수 있다. 카메라와 관련된 사용자의 수행이 있는 경우 전자 장치는 카메라 기능을 실행할 수 있다. According to an embodiment, in operation 510 , the electronic device may determine whether there is a user's performance related to the operation of the camera. For example, the electronic device may determine whether a user input for executing a camera application or a user input for executing a camera function in a message application is received. When there is an action by the user related to the camera, the electronic device may execute the camera function.

일 실시 예에서 전자 장치는 동작 560에서 카메라의 구동이 필요하다는 판단에 따라 카메라의 설정을 조정할 필요가 있는지 여부를 판단할 수 있다. 일 실시 예에서 전자 장치는 서버로부터 수신한 데이터에 기초하여 카메라 설정의 조정이 필요한지 여부를 판단할 수 있다. In an embodiment, the electronic device may determine whether it is necessary to adjust the settings of the camera according to the determination that the driving of the camera is necessary in operation 560 . According to an embodiment, the electronic device may determine whether it is necessary to adjust the camera settings based on data received from the server.

일 실시 예에서 카메라의 구동이 필요하지 않은 경우 전자 장치는 동작 520)에서 서버로부터 카메라의 구동과 관련된 데이터를 수신할 수 있다. 본 개시에서 다른 설명이 없는 한 데이터는 서버에서 수신한 카메라의 구동과 관련된 데이터로 이해될 수 있다. 일 실시 예에서 전자 장치는 수시로 또는 간헐적으로 서버로부터 상기 데이터를 수신할 수 있다. 일 실시 예에서 전자 장치는 서버로부터 일방적으로 데이터를 수신하거나, 또는 서버에 데이터를 요청할 수 있다. 일 실시 예에서 전자 장치는 상기 데이터가 수신되는 시점을 제외한 시간 동안에는 상기 데이터의 수신을 대기할 수 있다. In an embodiment, when driving of the camera is not required, the electronic device may receive data related to driving of the camera from the server in operation 520 . In the present disclosure, unless otherwise described, data may be understood as data related to driving of a camera received from a server. In an embodiment, the electronic device may receive the data from the server frequently or intermittently. In an embodiment, the electronic device may unilaterally receive data from the server or may request data from the server. In an embodiment, the electronic device may wait for the reception of the data for a period of time other than the time when the data is received.

일 실시 예에서 전자 장치는 서버로부터 데이터를 적어도 1회 수신할 수 있다. 일 실시 예에서 전자 장치가 서버로부터 2회 이상 데이터를 수신한 경우, 전자 장치는 동작 530 기존의 데이터가 새로운 데이터로 갱신되었는지 여부를 판단할 수 있다. 일 실시 예에서 서버로부터 수신하는 데이터는 버전 정보 또는 데이터가 전자 장치로 수신된 날짜 정보를 포함할 수 있으며, 전자 장치는 버전 정보 또는 날짜 정보에 기초하여 데이터의 갱신 여부를 판단할 수 있다. In an embodiment, the electronic device may receive data from the server at least once. In an embodiment, when the electronic device receives data from the server two or more times, in operation 530, the electronic device may determine whether existing data has been updated with new data. In an embodiment, the data received from the server may include version information or date information on which the data was received by the electronic device, and the electronic device may determine whether to update the data based on the version information or the date information.

일 실시 예에서 전자 장치는 동작 540에서 데이터를 갱신할 수 있다. 예를 들어, 새로 수신된 데이터가 기존의 데이터에 비해 최신의 정보를 포함하는 경우, 전자 장치는 기존의 데이터를 새로운 데이터로 갱신할 수 있다. 다른 예를 들어, 만약 수신된 데이터의 버전 정보가 기존 데이터의 버전 정보와 일치한다면, 데이터를 갱신하지 않을 수 있다. 다른 실시 예에서 전자 장치는 데이터의 버전 정보를 비교하지 않고 기존의 데이터를 새로운 데이터로 대체할 수 있다. According to an embodiment, the electronic device may update data in operation 540 . For example, when newly received data includes newer information than existing data, the electronic device may update the existing data with new data. As another example, if the version information of the received data matches the version information of the existing data, the data may not be updated. In another embodiment, the electronic device may replace existing data with new data without comparing version information of the data.

일 실시 예에서 전자 장치는 동작 550에서 서버로부터 수신한 데이터에 기초하여 카메라 구동이 필요한지 여부를 판단할 수 있다. 일 실시 예에서 데이터는 카메라의 구동이 필요한지 여부를 나타내는 정보를 포함할 수 있다. 예를 들어, 데이터는 여러가지 정보를 포함할 수 있고, 이들 중에는 카메라를 구동 시킬 수 있는 정보를 포함할 수 있다. In an embodiment, the electronic device may determine whether it is necessary to drive the camera based on data received from the server in operation 550 . According to an embodiment, the data may include information indicating whether the camera needs to be driven. For example, the data may include various types of information, among which information may include information for driving a camera.

일 실시 예에서 카메라 구동과 관련된 데이터는 카메라의 구동으로 직접 이어지는 데이터 외의 정보들도 포함할 수 있다. 일 실시 예에서 상기 데이터는 카메라의 설정과 관련된 정보를 포함할 수 있다. 데이터에 카메라의 설정 값과 관련된 정보가 있는 경우 전자 장치는 데이터에 기초하여 카메라의 설정을 따라 조정할 수 있다. 데이터가 카메라의 설정 값을 조정하는 정보만을 포함하는 경우에는 카메라의 설정 값만 변경하며, 카메라 기능은 사용자에 의한 입력을 기다려 비로소 실행될 수 있다. In an embodiment, data related to driving a camera may include information other than data directly leading to driving of the camera. In an embodiment, the data may include information related to setting of a camera. When the data includes information related to the setting value of the camera, the electronic device may adjust according to the setting of the camera based on the data. When the data includes only information for adjusting the camera setting value, only the camera setting value is changed, and the camera function can be executed only after waiting for input from the user.

도 5에서 서버로부터 데이터를 수신하는 동작들(520, 530, 540, 550)은 사용자의 카메라 기능과 관련된 수행이 없는 경우에 수행되나, 본 개시의 실시 예는 이에 한정되지 않으며, 다른 실시 예에서 사용자의 수행과 독립적으로 수행될 수 있다. 예를 들어, 사용자의 수행과 무관하게 서버로부터 데이터를 수신하는 동작을 수행할 수 있다. Although operations 520 , 530 , 540 , and 550 for receiving data from the server in FIG. 5 are performed when there is no performance related to the user's camera function, the embodiment of the present disclosure is not limited thereto, and in another embodiment It can be performed independently of the user's execution. For example, an operation for receiving data from the server may be performed regardless of the user's performance.

일 실시 예에서 전자 장치는 동작 560에서 카메라의 조정이 필요한 상황인지 여부를 판단할 수 있다. 일 실시 예에서 전자 장치는 카메라의 구동에 앞서 데이터를 분석하여 카메라의 조정이 필요한지 여부를 판단할 수 있다. 일 실시 예에서 데이터가 카메라의 설정과 관련된 정보를 포함하는 경우 전자 장치는 카메라의 조정이 필요한 상황임을 식별할 수 있다. According to an embodiment, in operation 560 , the electronic device may determine whether the camera needs to be adjusted. In an embodiment, the electronic device may analyze data prior to driving the camera to determine whether the camera needs to be adjusted. According to an embodiment, when the data includes information related to camera settings, the electronic device may identify a situation in which camera adjustment is required.

일 실시 예에서 카메라의 조정이 필요하다고 판단된 경우, 전자 장치는 동작 570, 580에서 데이터에 기초하여 카메라의 설정을 조정하고, 조정된 카메라 설정으로 카메라를 구동할 수 있다. 예를 들어, 데이터가 제1 어플리케이션과 관련된 줌 비율을 나타내는 정보를 포함하는 경우, 전자 장치는 데이터에 기초하여 카메라의 줌 비율을 조정하도록 카메라의 구동을 제어할 수 있다. 제1 어플리케이션을 통해 카메라 기능이 제공될 때 카메라로 획득되는 이미지의 줌 비율은 상기 데이터에 기초하여 결정될 수 있다. 일 실시 예에서 카메라 설정의 조정과 카메라의 구동 사이의 시간적 선후는 바뀔 수 있다. 예를 들어, 디스플레이에 표시되는 프리뷰 화면의 이미지의 줌 비율은 카메라가 구동한 직후에는 제1 값을 가지고, 이후에 데이터에 기초하여 결정된 제2 값으로 조정될 수 있다. In an embodiment, when it is determined that the camera needs to be adjusted, the electronic device may adjust the camera settings based on the data in operations 570 and 580 and drive the camera with the adjusted camera settings. For example, when the data includes information indicating a zoom ratio related to the first application, the electronic device may control driving of the camera to adjust the zoom ratio of the camera based on the data. When the camera function is provided through the first application, a zoom ratio of an image acquired by the camera may be determined based on the data. In an embodiment, the temporal precedence between the adjustment of the camera settings and the operation of the camera may be changed. For example, the zoom ratio of the image of the preview screen displayed on the display may have a first value immediately after the camera is driven, and then may be adjusted to a second value determined based on data.

일 실시 예에서 전자 장치는 서버로부터 수신한 데이터를 분석하여 데이터가 사용자의 입력에 무관하게 카메라 기능을 실행하는 명령 또는 이에 대응하는 정보를 포함하는지 여부를 판단할 수 있다. 만약 서버로부터 수신한 데이터에 카메라의 구동에 대응하는 정보가 있는 경우, 전자 장치는 카메라를 구동할 수 있다. 예를 들어, 위급 상황이어서 전자 장치 주변의 환경에 관한 정보가 필요한 경우에 서버는 전자 장치에 카메라를 구동할 수 있는 정보를 포함하는 데이터를 전송하고, 전자 장치는 이에 응답하여 카메라를 통해 이미지를 획득할 수 있다. 전자 장치는 카메라를 통해 획득된 이미지를 데이터를 전송한 서버 또는 다른 전자 장치로 전송할 수 있다. In an embodiment, the electronic device may analyze data received from the server and determine whether the data includes a command for executing a camera function or information corresponding thereto regardless of a user input. If the data received from the server includes information corresponding to driving the camera, the electronic device may drive the camera. For example, when information on the environment around the electronic device is required due to an emergency, the server transmits data including information for driving the camera to the electronic device, and the electronic device responds to the image through the camera can be obtained The electronic device may transmit the image acquired through the camera to a server or another electronic device that has transmitted data.

일 실시 예에서 데이터는 카메라 기능을 이용할 수 있는 어플리케이션에 대응하는 카메라 파라미터를 포함할 수 있다. 예를 들어, 전자 장치에 카메라 기능을 이용할 수 있는 제1 어플리케이션과 제2 어플리케이션이 설치되어 있을 때, 데이터는 제1 어플리케이션과 관련된 제1 줌 비율, 제2 어플리케이션과 관련된 제2 줌 비율을 포함할 수 있다. 전자 장치가 제1 어플리케이션 또는 제2 어플리케이션에서 카메라 기능을 이용할 때 각각 제1 줌 비율 또는 제2 줌 비율을 가지는 이미지를 획득할 수 있다. According to an embodiment, the data may include a camera parameter corresponding to an application that can use a camera function. For example, when a first application and a second application that can use a camera function are installed in the electronic device, the data may include a first zoom ratio related to the first application and a second zoom ratio related to the second application. can When the electronic device uses the camera function in the first application or the second application, an image having the first zoom ratio or the second zoom ratio may be acquired, respectively.

도 6은 일 실시 예에서 컨텐츠 서버로부터 획득한 데이터에 기초하여 카메라의 구동을 제어하는 과정을 각 동작의 주체별로 도시한다. 6 illustrates a process of controlling the driving of a camera based on data obtained from a content server according to each subject of each operation according to an embodiment.

일 실시 예에서 전자 장치의 카메라 정책 관리 모듈(330)은 컨텐츠 서버(310)에 카메라 동작과 관련된 데이터를 요청할 수 있다. 일 실시 예에서 전자 장치는 컨텐츠 서버(310)로부터 데이터를 수신(620)할 수 있다. 일 실시 예에서 카메라 정책 관리와 컨텐츠 서버(310) 사이의 통신(데이터 요청 및 데이터 수신)은 수시로 수행될 수 있다. 예를 들어, 카메라 정책 관리는 컨텐츠 서버(310)에 주기적으로 데이터를 요청(610)할 수 있다. 다른 실시 예에서 전자 장치가 컨텐츠 서버(310)에 데이터를 요청하는 동작은 생략될 수 있다. 전자 장치는 컨텐츠 서버(310)로부터 일방적으로 데이터를 수신할 수 있다. 일 실시 예에서 전자 장치는 수시로 컨텐츠 서버(310)로부터 데이터를 수신할 수 있다. 예를 들어, 컨텐츠 서버(310)는 주기적으로 데이터를 전송할 수 있다. 또는 데이터가 업데이터 되었을 때 전자 장치로 업데이트된 데이터를 전송할 수 있다. In an embodiment, the camera policy management module 330 of the electronic device may request data related to a camera operation from the content server 310 . In an embodiment, the electronic device may receive 620 data from the content server 310 . In an embodiment, communication (data request and data reception) between camera policy management and the content server 310 may be performed at any time. For example, the camera policy management may periodically request 610 data from the content server 310 . In another embodiment, the operation of the electronic device requesting data from the content server 310 may be omitted. The electronic device may unilaterally receive data from the content server 310 . In an embodiment, the electronic device may receive data from the content server 310 from time to time. For example, the content server 310 may periodically transmit data. Alternatively, when the data is updated, the updated data may be transmitted to the electronic device.

전자 장치는 데이터를 저장할 수 있다. 전자 장치는 종래에 수신한 데이터와 최근에 수신한 데이터를 비교하여 데이터를 갱신(630)할 수 있다. 예를 들어, 데이터는 버전 또는 날짜 정보를 포함할 수 있고 전자 장치는 데이터의 버전 또는 날짜를 비교하여 데이터를 갱신할지 여부를 결정할 수 있다 The electronic device may store data. The electronic device may update the data ( 630 ) by comparing the previously received data with the recently received data. For example, the data may include version or date information, and the electronic device may determine whether to update the data by comparing the version or date of the data.

일 실시 예에서 카메라 정책 관리는 서버로부터 획득한 데이터를 카메라 서비스 모듈(350)에 전달(660)할 수 있다. 카메라 정책 관리는 데이터가 업데이트되는 경우에 카메라 서비스 모듈(350)에 데이터를 전달할 수 있다. 서버로부터 수신한 데이터가 기존의 데이터보다 최신의 정보를 포함하는 경우에는 새로운 데이터를 카메라 서비스 모듈(350)에 전달할 수 있다. In an embodiment, the camera policy management may transmit ( 660 ) data obtained from the server to the camera service module 350 . The camera policy management may transmit data to the camera service module 350 when data is updated. When the data received from the server includes newer information than the existing data, the new data may be transmitted to the camera service module 350 .

일 실시 예에서 전자 장치는 카메라 어플리케이션을 통해 사용자로부터 카메라를 구동하는 입력을 수신(640)할 수 있다. 일 실시 예에서 카메라 어플리케이션은 카메라를 구동하는 신호를 카메라 서비스로 전달(650)할 수 있다. 일 실시 예에서 카메라 서비스는 데이터가 있는지 여부를 확인(670)할 수 있다. 일 실시 예에서 카메라가 이용되는 어플리케이션과 관련된 데이터가 존재하는 경우, 전자 장치는 데이터에 기초하여 카메라의 구동을 제어할 수 있다. 일 실시 예에서 데이터에 카메라 설정과 관련된 정보가 포함된 경우 전자 장치는 해당 데이터에 기초하여 카메라의 설정을 조정(680)할 수 있다. 예를 들어, 데이터가 카메라 어플리케이션에 적용될 초점 거리에 관한 정보를 포함하는 경우 카메라 서비스 모듈(350)은 카메라의 AF 구동부를 제어하여 초점 거리를 조정할 수 있다. 초점 거리가 조정된 후에 카메라가 동작할 수 있다. 카메라로 획득된 이미지는 데이터에 기초한 초점 거리를 가질 수 있다. 카메라 서비스 모듈(350)은 획득된 이미지 신호를 카메라 어플리케이션에 전달하고, 카메라 어플리케이션은 카메라로 획득된 이미지를 사용자에게 제공(690)할 수 있다. In an embodiment, the electronic device may receive ( 640 ) an input for driving a camera from a user through a camera application. In an embodiment, the camera application may transmit (650) a signal for driving a camera to a camera service. According to an embodiment, the camera service may check whether there is data ( 670 ). In an embodiment, when data related to an application using a camera exists, the electronic device may control driving of the camera based on the data. According to an embodiment, when the data includes information related to the camera setting, the electronic device may adjust the camera setting based on the data ( 680 ). For example, when the data includes information on a focal length to be applied to a camera application, the camera service module 350 may control the AF driver of the camera to adjust the focal length. After the focal length is adjusted, the camera can operate. An image acquired with the camera may have a focal length based on the data. The camera service module 350 may transmit the acquired image signal to the camera application, and the camera application may provide ( 690 ) the image acquired with the camera to the user.

도 7은 일 실시 예에서 센서 데이터에 기초하여 카메라의 구동을 제어하는 흐름도이다. 7 is a flowchart of controlling driving of a camera based on sensor data according to an exemplary embodiment.

일 실시 예에서 전자 장치는 동작 710에서 적어도 하나의 센서로부터 전자 장치의 상태에 관한 데이터를 획득할 수 있다. 적어도 하나의 센서는 도 3의 센서 허브(320)에 연결될 수 있고, 전자 장치는 센서 허브(320)를 통해 센서 데이터를 획득할 수 있다. According to an embodiment, in operation 710, the electronic device may acquire data regarding the state of the electronic device from at least one sensor. At least one sensor may be connected to the sensor hub 320 of FIG. 3 , and the electronic device may acquire sensor data through the sensor hub 320 .

일 실시 예에서 전자 장치는 가속도 센서를 이용하여 사용자가 의도적으로 전자 장치를 흔드는지 여부를 판단할 수 있다. 일 실시 예에서 전자 장치는 전자 장치가 어떤 주파수로 흔들리는지 감지할 수 있다. 예를 들어, 전자 장치가 흔들리는 주파수가 2.7-6Hz인 경우에 전자 장치는 전자 장치가 사용자에 의해 의도적으로 흔들리고 있다고 판단할 수 있다. In an embodiment, the electronic device may determine whether the user intentionally shakes the electronic device by using the acceleration sensor. According to an embodiment, the electronic device may detect at which frequency the electronic device shakes. For example, when the frequency at which the electronic device shakes is 2.7-6 Hz, the electronic device may determine that the electronic device is intentionally shaken by the user.

일 실시 예에서 센서로부터 전자 장치의 상태에 관한 데이터를 획득하는 것은 카메라의 구동과 무관하게 이루어질 수 있다. 일 실시 예에서 전자 장치는 카메라가 구동하지 않는 동안 센서 데이터를 획득할 수 있다. 일 실시 예에서 전자 장치는 카메라 기능이 제공되고 있는지 여부와 독립적으로 적어도 하나의 센서 또는 센서 허브(320)로부터 센서 데이터를 수신할 수 있다. 일 실시 예에서 전자 장치는 카메라 기능이 제공되고 있지 않는 동안 적어도 하나의 센서로부터 센서 데이터를 획득할 수 있다. 예를 들어, 전자 장치가 슬립 상태에 있는 경우에 전자 장치는 센서 데이터를 수신할 수 있다. 다른 예를 들어, 전자 장치의 디스플레이에 카메라 프리뷰 화면이 표시되지 않는 동안 전자 장치는 센서 데이터를 수신할 수 있다.According to an embodiment, obtaining data regarding the state of the electronic device from the sensor may be performed regardless of driving of the camera. According to an embodiment, the electronic device may acquire sensor data while the camera is not driven. In an embodiment, the electronic device may receive sensor data from at least one sensor or sensor hub 320 independently of whether a camera function is being provided. According to an embodiment, the electronic device may acquire sensor data from at least one sensor while a camera function is not provided. For example, when the electronic device is in a sleep state, the electronic device may receive sensor data. As another example, the electronic device may receive sensor data while the camera preview screen is not displayed on the display of the electronic device.

일 실시 예에서 전자 장치는 동작 720에서 카메라의 상태에 기반하여 카메라의 구동을 제어할 수 있다. 일 실시 예에서 전자 장치는 카메라의 적어도 일부 구성에 전원을 인가하거나, 카메라의 설정을 조정함으로써 카메라의 구동을 제어할 수 있다. In an embodiment, the electronic device may control driving of the camera based on the state of the camera in operation 720 . In an embodiment, the electronic device may control the driving of the camera by applying power to at least some components of the camera or adjusting the settings of the camera.

일 실시 예에서 전자 장치는 카메라가 특정 주파수로 흔들리는 것에 기반하여 카메라에 전원을 인가할 수 있다. 일 실시 예에서 전자 장치는 카메라의 일부 구성에 전원을 인가할 수 있다. 일 실시 예에서 전자 장치는 카메라의 렌즈의 위치를 소정의 범위에서 조정할 수 있는 렌즈 구동부를 포함할 수 있다. 렌즈 구동부는 카메라의 AF(auto focus) 또는 OIS(optical image stabilization) 구동부 중 적어도 하나를 포함할 수 있다. 전자 장치는 카메라가 특정 주파수로 흔들리는 것에 기반하여 렌즈 구동부에 전원을 인가할 수 있다. 예를 들어, 렌즈 구동부는 렌즈의 위치를 물리적으로 조정할 수 있는 적어도 하나의 액츄에이터(actuator)를 포함할 수 있고, 전자 장치는 렌즈에 연결된 엑츄에이터에 전원을 인가할 수 있다. In an embodiment, the electronic device may apply power to the camera based on the shaking of the camera at a specific frequency. In an embodiment, the electronic device may apply power to some components of the camera. In an embodiment, the electronic device may include a lens driver that can adjust the position of the lens of the camera within a predetermined range. The lens driver may include at least one of an auto focus (AF) or optical image stabilization (OIS) driver of the camera. The electronic device may apply power to the lens driver based on the shaking of the camera at a specific frequency. For example, the lens driver may include at least one actuator capable of physically adjusting the position of the lens, and the electronic device may apply power to the actuator connected to the lens.

전자 장치가 흔들릴 때 AF 구동부 또는 OIS 구동부와 연결된 렌즈가 흔들릴 수 있다. 일반적으로 카메라가 구동하지 않을 때 렌즈 구동부에 전원이 인가되지 않기 때문에 전자 장치의 흔들림에 의해 렌즈 구동부에서 소음이 생길 수 있다. 본 개시의 일 실시 예에 따르면, 카메라가 흔들릴 때 렌즈 구동부(예: AF 구동부)에 전원이 인가되고, 이에 따라 렌즈가 움직이지 않게할 수 있다. 렌즈 구동부로 인한 소음이 최소화되거나 또는 방지될 수 있다. When the electronic device shakes, the lens connected to the AF driver or OIS driver may shake. In general, since power is not applied to the lens driving unit when the camera is not driven, noise may be generated in the lens driving unit due to shaking of the electronic device. According to an embodiment of the present disclosure, when the camera shakes, power is applied to the lens driving unit (eg, the AF driving unit), thereby preventing the lens from moving. Noise due to the lens driving unit can be minimized or prevented.

일 실시 예에서 전자 장치는 전화 수신에 응답하여 렌즈 구동부에 전원을 인가할 수 있다. 전화가 수신된 경우 전자 장치는 사용자에 의해 들리게 되며, 이때 렌즈 구동부가 흔들리면서 소음이 생길 수 있다. 일 실시 예에 따른 전자 장치는 전화가 수신되었을 때 렌즈 구동부에 전원을 인가할 수 있고, 이는 렌즈 구동부에 의한 소음을 방지할 수 있다. In an embodiment, the electronic device may apply power to the lens driver in response to a call. When a call is received, the electronic device is heard by the user, and at this time, the lens driving unit shakes and noise may be generated. The electronic device according to an embodiment may apply power to the lens driving unit when a call is received, and this may prevent noise caused by the lens driving unit.

일 실시 예에서 전자 장치는 센서 데이터에 기반하여 카메라 설정 값을 조정할 수 있다. 예를 들어, 전자 장치는 센서를 통해 전자 장치의 지리적 위치, 전자 장치 주변의 온도나 습도 등을 측정할 수 있다. 전자 장치는 센서를 통해 획득한 위치 정보, 온도 정보 등에 기초하여 카메라 설정 값을 조정할 수 있다. 일 실시 예에서 전자 장치는 카메라의 온도나 습도에 따라 카메라의 화질과 관련된 파라미터를 조정할 수 있다. 예를 들어, 전자 장치는 카메라로 획득한 이미지를 지정된 용량을 가지는 파일로 저장할 수 있고, 전자 장치는 센서 데이터에 기반하여 이미지 파일의 용량을 조정할 수 있다. 다른 예를 들어, 전자 장치는 몇 개의 화소로 이미지를 획득할 것인지 설정할 수 있고, 센서 데이터에 기반하여 이미지의 화소수를 조정할 수 있다. In an embodiment, the electronic device may adjust a camera setting value based on sensor data. For example, the electronic device may measure a geographic location of the electronic device, temperature or humidity around the electronic device, and the like through a sensor. The electronic device may adjust a camera setting value based on location information and temperature information acquired through a sensor. According to an embodiment, the electronic device may adjust a parameter related to the image quality of the camera according to the temperature or humidity of the camera. For example, the electronic device may store an image acquired by the camera as a file having a specified capacity, and the electronic device may adjust the capacity of the image file based on sensor data. As another example, the electronic device may set how many pixels to acquire an image, and may adjust the number of pixels in the image based on sensor data.

일 실시 예에서 전자 장치는 동작 720에서 사용자가 위급 상황에 있음을 감지하고, 카메라를 구동할 수 있다. 일 실시 예에서 전자 장치는 가속도 센서를 이용하여 사용자가 위급 상황에 있음을 감지할 수 있다. 예를 들어, 가속도 센서가 급격한 가속도 변화를 감지한 경우에는 전자 장치는 사용자가 큰 충격을 받았다고 판단할 수 있다. 전자 장치는 사용자의 입력과 무관하게 카메라를 구동하여 이미지를 획득할 수 있다. 일 실시 예에서 전자 장치는 획득된 이미지를 다른 전자 장치로 전송하여 다른 사람으로 하여금 사용자의 상태를 간접적 또는 직접적으로 알릴 수 있다. In an embodiment, the electronic device may detect that the user is in an emergency situation in operation 720 and drive the camera. In an embodiment, the electronic device may detect that the user is in an emergency situation by using the acceleration sensor. For example, when the acceleration sensor detects a sudden change in acceleration, the electronic device may determine that the user has received a great shock. The electronic device may acquire an image by driving a camera regardless of a user's input. In an embodiment, the electronic device may transmit the acquired image to another electronic device to indirectly or directly notify another person of the user's status.

일 실시 예에서 전자 장치는 폴더블 하우징, 및 폴더블 하우징을 상태를 감지할 수 있는 센서를 포함할 수 있다. 을 포함할 수 있다. 예를 들어, 전자 장치는 제1 하우징, 및 제1 하우징에 피벗 가능하게 결합된 제2 하우징을 포함할 수 있다. 이경우 전자 장치는 동작 710에서 폴더블 하우징이 접힘 상태에 있는지 펼침 상태에 있는지를 나타내는 센서 데이터를 획득할 수 있다. 전자 장치가 펼침 상태에 있을 때 전면 또는 후면을 향하는 카메라는 전자 장치가 접힘 상태에 있을 때 전면 또는 후면을 향하는 카메라와 다를 수 있다. 예를 들어, 전자 장치가 펼침 상태에 있을 때 전면을 향하는 카메라는 전자 장치가 접혔을 때 하우징 구조에 가려질 수 있다. 다른 예를 들어, 전자 장치가 펼침 상태에서 후면을 향하는 카메라는 전자 장치가 접혔을 때 전면을 향할 수 있다. 일 실시 예에서 전자 장치는 동작 720에서 전후면 카메라의 조건을 조정할 수 있다. 일 실시 예에서 전자 장치는 폴더블 하우징의 상태에 따라 전자 장치 내에 구비된 복수의 카메라들 중 한 카메라를 전면 카메라 또는 후면 카메라로 인식할 수 있다. 예를 들어 전자 장치가 펼침 상태일 때 제1 카메라를 전면(또는 후면) 카메라로 인식하고, 전자 장치가 접힘 상태일 때 제1 카메라를 후면(또는 전면) 카메라로 인식할 수 있다. 다른 예를 들어, 전자 장치가 펼침 상태일 때 제1 카메라를 전면(또는 후면) 카메라로 인식하고, 전자 장치가 접힘 상태일 때 제2 카메라를 전면(또는 후면) 카메라로 인식할 수 있다. In an embodiment, the electronic device may include a foldable housing and a sensor capable of detecting a state of the foldable housing. may include. For example, the electronic device may include a first housing and a second housing pivotably coupled to the first housing. In this case, in operation 710 , the electronic device may acquire sensor data indicating whether the foldable housing is in a folded state or an unfolded state. A front-facing or rear-facing camera when the electronic device is in an unfolded state may be different from a front-facing or rear-facing camera when the electronic device is in a folded state. For example, a front-facing camera when the electronic device is in an unfolded state may be obscured by the housing structure when the electronic device is folded. As another example, the rear-facing camera in the unfolded state of the electronic device may face the front when the electronic device is folded. In an embodiment, the electronic device may adjust the conditions of the front and rear cameras in operation 720 . In an embodiment, the electronic device may recognize one of a plurality of cameras provided in the electronic device as a front camera or a rear camera according to the state of the foldable housing. For example, when the electronic device is in an unfolded state, the first camera may be recognized as a front (or rear) camera, and when the electronic device is in a folded state, the first camera may be recognized as a rear (or front) camera. As another example, when the electronic device is in an unfolded state, the first camera may be recognized as a front (or rear) camera, and when the electronic device is in a folded state, the second camera may be recognized as a front (or rear) camera.

일 실시 예에서 전자 장치는 방향이 조정될 수 있는 카메라를 포함할 수 있다. 예를 들어, 전자 장치는 하우징에 플립(filp) 가능하게 결합된 카메라를 포함할 수 있다. 전자 장치는 카메라의 방향을 전환시킬 수 있는 구동부, 및 카메라가 어느정도 회전되었는지 측정할 수 있는 센서를 포함할 수 있다. 전자 장치는 구동부를 제어함으로써 카메라가 향하는 방향을 조절할 수 있다. 이 경우 전자 장치는 동작 710에서 카메라가 향하는 방향을 나타내는 센서 데이터를 획득할 수 있다. 전자 장치는 동작 720에서 카메라의 방향을 조정할 수 있다. 예를 들어, 카메라가 정해진 방향(예를 들어, 전면이나 후면)을 향하고 있지 않은 경우에는 전자 장치는 모터를 제어하여 카메라가 전면이나 후면을 향하도록 할 수 있다. In an embodiment, the electronic device may include a camera whose direction can be adjusted. For example, the electronic device may include a camera coupled to the housing to be flip (filp). The electronic device may include a driving unit capable of changing the direction of the camera, and a sensor capable of measuring how much the camera is rotated. The electronic device may control the direction the camera faces by controlling the driving unit. In this case, in operation 710 , the electronic device may acquire sensor data indicating the direction the camera is facing. The electronic device may adjust the direction of the camera in operation 720 . For example, when the camera does not face a predetermined direction (eg, front or rear), the electronic device may control the motor to direct the camera to the front or rear.

도 8은 일 실시 예에서 센서 데이터에 기초하여 카메라 구동을 제어하는 순서도이다. 8 is a flowchart for controlling camera driving based on sensor data according to an exemplary embodiment.

일 실시 예에서 전자 장치는 동작 810에서 적어도 하나의 센서로부터 데이터를 수신할 수 있다. 일 실시 예에서 전자 장치는 적어도 하나의 센서로부터 수시로 또는 간헐적으로 데이터를 획득할 수 있다. 전자 장치는 센서 데이터를 수신하는 시점들 사이에서 센서 데이터의 수신을 대기할 수 있다. 일 실시 예에서 전자 장치는 동작 820에서 데이터가 갱신되었는지 여부를 판단할 수 있다. In an embodiment, the electronic device may receive data from at least one sensor in operation 810 . According to an embodiment, the electronic device may acquire data from at least one sensor frequently or intermittently. The electronic device may wait for the reception of the sensor data between time points of receiving the sensor data. In an embodiment, the electronic device may determine whether data has been updated in operation 820 .

일 실시 예에서 전자 장치는 동작 830에서 센서 데이터를 분석할 수 있다. 예를 들어, 전자 장치는 가속도 센서로부터 획득한 가속도 데이터를 분석하여 전자 장치가 어느 주파수로 진동하는지 계산할 수 있다. According to an embodiment, the electronic device may analyze sensor data in operation 830 . For example, the electronic device may analyze acceleration data obtained from the acceleration sensor to calculate at which frequency the electronic device vibrates.

일 실시 예에서 전자 장치는 동작 840에서 카메라의 조정이 필요한 상황인지 여부를 판단할 수 있다. 일 실시 예에서 전자 장치는 동작 850에서 센서 데이터에 기초하여 카메라의 설정을 변경할 수 있다 예를 들어, 전자 장치는 온도 센서를 통해 획득한 온도 정보에 따라 카메라의 화질과 관련된 파라미터를 조정할 수 있다. 일 실시 예에서 이미지의 화질과 관련된 파라미터는 이미지의 화소수 또는 이미지 파일의 용량을 포함할 수 있다. 예를 들어, 전자 장치는 카메라로 획득한 이미지를 지정된 용량을 가지는 파일로 저장할 수 있고, 전자 장치는 센서 데이터에 기반하여 이미지 파일의 용량을 조정할 수 있다. 다른 예를 들어, 전자 장치는 몇 개의 화소로 이미지를 획득할 것인지 설정할 수 있고, 센서 데이터에 기반하여 이미지의 화소수를 조정할 수 있다. 일 실시 예에서 전치는 특정 온도에 대해 미리 설정된 화질과 관련된 파라미터가 있는 경우에는 전자 장치는 해당 온도에 따라 화질을 조정할 수 있다. According to an embodiment, in operation 840, the electronic device may determine whether the camera needs to be adjusted. In an embodiment, the electronic device may change a camera setting based on sensor data in operation 850. For example, the electronic device may adjust a parameter related to image quality of the camera according to temperature information obtained through a temperature sensor. In an embodiment, the parameter related to the image quality may include the number of pixels of the image or the capacity of the image file. For example, the electronic device may store an image acquired by the camera as a file having a specified capacity, and the electronic device may adjust the capacity of the image file based on sensor data. As another example, the electronic device may set how many pixels to acquire an image, and may adjust the number of pixels in the image based on sensor data. In an embodiment, when there is a preset image quality-related parameter for a specific temperature, the electronic device may adjust the image quality according to the corresponding temperature.

일 실시 예에서 전자 장치는 동작 860에서 센서 데이터에 기초하여 카메라의 구동이 필요한지 여부를 판단할 수 있다. 일 실시 예에서 동작 860은 카메라의 조정이 완료된 후 또는 카메라의 조정이 필요하지 않은 상황에서 수행될 수 있다. 카메라의 구동이 필요하지 않다고 판단된 경우에는 다시 동작 810을 수행할 수 있다. In an embodiment, the electronic device may determine whether the camera needs to be driven based on the sensor data in operation 860 . According to an embodiment, operation 860 may be performed after camera adjustment is completed or in a situation where camera adjustment is not required. If it is determined that the driving of the camera is not necessary, operation 810 may be performed again.

일 실시 예에서 전자 장치는 전자 장치가 특정 주파수로 흔들릴 때 카메라의 적어도 일부를 구동할 필요하다고 판단할 수 있다. 예를 들어, 사용자가 전자 장치를 의도적으로 좌우 또는 전후로 전자 장치는 카메라의 적어도 일부에 전원이 인가할 필요가 있다고 판단할 수 있다. 다른 예를 들어, 전자 장치에 전화가 수신되었을 때 전자 장치는 카메라의 적어도 일부에 전원이 인가될 필요가 있다고 판단할 수 있다. In an embodiment, the electronic device may determine that it is necessary to drive at least a part of the camera when the electronic device shakes at a specific frequency. For example, the electronic device may determine that power needs to be applied to at least a portion of the camera by the user intentionally moving the electronic device to the left or right or back and forth. As another example, when a call is received by the electronic device, the electronic device may determine that power needs to be applied to at least a part of the camera.

일 실시 예에서 카메라의 구동이 필요하다고 판단된 경우 전자 장치는 동작 870에서 카메라의 적어도 일부 구성요소를 구동할 수 있다. 일 실시 예에서 전자 장치는 카메라의 렌즈 구동부에 전원을 인가할 수 있다. 예를 들어, 전자 장치는 카메라의 AF 구동부 및/또는 OIS 구동부에 전원을 인가할 수 있다 In an embodiment, when it is determined that the camera needs to be driven, the electronic device may drive at least some components of the camera in operation 870 . In an embodiment, the electronic device may apply power to the lens driving unit of the camera. For example, the electronic device may apply power to the AF driver and/or the OIS driver of the camera.

도 9는 일 실시 예에서 센서 허브로부터 획득한 데이터에 기초하여 카메라의 구동을 제어하는 과정을 각 동작의 주체별로 도시한다. 9 illustrates a process of controlling driving of a camera based on data obtained from a sensor hub for each subject of each operation, according to an embodiment.

일 실시 예에서 전자 장치의 카메라 정책 관리 모듈(330)은 센서 허브(320)로부터 센서 데이터를 획득(910)할 수 있다. 일 실시 예에서 카메라 정책 관리 모듈(330)은 센서 데이터를 처리(920)하여 센서 데이터에 대응하는 동작을 수행할 수 있다. 예를 들어, 카메라 정책 관리 모듈(330)은 센서 허브(320)로부터 획득한 가속도 데이터를 분석하여 전자 장치가 지정된 범위의 주파수로 흔들리는지 여부를 판단할 수 있다. 만약 전자 장치가 지정된 범위의 주파수로 흔들리는 경우 전자 장치는 카메라를 구동 시키는 신호를 카메라 서비스 모듈(350)에 전달(930)할 수 있다. 일 실시 예에서 카메라 정책 관리 모듈(330)은 단순히 센서 데이터를 카메라 서비스 모듈(350)에 전달(930)할 수 있다. According to an embodiment, the camera policy management module 330 of the electronic device may acquire 910 sensor data from the sensor hub 320 . In an embodiment, the camera policy management module 330 may process 920 sensor data to perform an operation corresponding to the sensor data. For example, the camera policy management module 330 may analyze acceleration data obtained from the sensor hub 320 to determine whether the electronic device shakes at a frequency within a specified range. If the electronic device vibrates at a frequency within a specified range, the electronic device may transmit ( 930 ) a signal for driving the camera to the camera service module 350 . In an embodiment, the camera policy management module 330 may simply transmit the sensor data to the camera service module 350 ( 930 ).

일 실시 예에서 카메라 서비스 모듈(350)은 카메라 정책 관리 모듈(330)로부터 카메라 구동 신호를 수신하고, 이에 응답하여 카메라를 구동(940)할 수 있다. 예를 들어, 전자 장치는 렌즈 구동부에 전원을 인가할 수 있다. 전자 장치가 지정된 범위의 주파수로 흔들리는 경우에 카메라 서비스 모듈(350)은 전자 장치의 AF 구동부 또는 OIS 구동부에 전원을 인가할 수 있고, 렌즈의 흔들림에 따른 소음을 최소화할 수 있다. In an embodiment, the camera service module 350 may receive a camera driving signal from the camera policy management module 330, and may drive the camera 940 in response thereto. For example, the electronic device may apply power to the lens driver. When the electronic device vibrates at a frequency within a specified range, the camera service module 350 may apply power to the AF driving unit or the OIS driving unit of the electronic device, and may minimize noise caused by the shaking of the lens.

일 실시 예에서 사용자가 카메라 어플리케이션을 실행(950)시켰을 때, 카메라 서비스 모듈(350)은 카메라 구동 신호를 카메라 서비스 모듈(350)에 전달(960)할 수 있다. 일 실시 예에서 카메라 서비스 모듈(350)은 카메라 구동 신호에 응답하여 센서 데이터를 확인(970)할 수 있다. In an embodiment, when the user executes ( 950 ) the camera application, the camera service module 350 may transmit ( 960 ) a camera driving signal to the camera service module 350 . In an embodiment, the camera service module 350 may check 970 sensor data in response to a camera driving signal.

일 실시 예에서 카메라 서비스 모듈(350)은 센서 데이터를 기초로 카메라 설정을 조정(980)할 수 있다. 예를 들어, 전자 장치는 센서 데이터에 기반하여 카메라의 초점거리, 화질, 또는 줌 비율을 조정할 수 있다. 일 실시 예에서 카메라 서비스 모듈(350)은 센서 데이터에 기반한 카메라 설정이 적용된 카메라 기능을 제공할 수 있다. 예를 들어, 카메라 서비스 모듈(350)은 센서 데이터에 기반한 초점거리, 화질, 또는 줌 비율 중 적어도 하나가 적용된 이미지를 획득할 수 있고, 해당 이미지 데이터를 카메라 어플리케이션에 전달(990)할 수 있다. In an embodiment, the camera service module 350 may adjust 980 camera settings based on sensor data. For example, the electronic device may adjust a focal length, image quality, or zoom ratio of a camera based on sensor data. In an embodiment, the camera service module 350 may provide a camera function to which a camera setting based on sensor data is applied. For example, the camera service module 350 may acquire an image to which at least one of a focal length, image quality, and zoom ratio based on sensor data is applied, and transmit the image data to the camera application ( 990 ).

도 10은 일 실시 예에서 전자 장치의 흔들림에 따라 함께 흔들릴 수 있는 카메라 렌즈를 도시한다. 10 illustrates a camera lens that can be shaken together according to the shake of the electronic device according to an embodiment.

일 실시 예에서 전자 장치는 카메라 모듈(1010)을 포함할 수 있고, 카메라 모듈(1010)은 x축 방향으로 움직일 수 있는 제1 렌즈 구동부(1020)를 포함할 수 있다. 일 실시 예에서 카메라는 내부에 제1 렌즈 구동부(1020)가 움직일 수 있는 공간을 포함할 수 있다. 구동부에 전원이 인가되면 구동부의 엑츄에이터가 카메라의 렌즈의 x 축 방향 위치를 조정할 수 있다. In an embodiment, the electronic device may include a camera module 1010 , and the camera module 1010 may include a first lens driver 1020 movable in the x-axis direction. In an embodiment, the camera may include a space inside which the first lens driver 1020 can move. When power is applied to the driving unit, the actuator of the driving unit may adjust the position of the lens of the camera in the x-axis direction.

일 실시 예에서 전자 장치는 카메라 모듈(1010)을 포함할 수 있고, 카메라 모듈(1010)은 하우징에 대해 z축으로 움직일 수 잇는 제2 렌즈 구동부(1030)를 포함할 수 있다. 일 실시 예에서 카메라는 내부에 제2 렌즈 구동부(1030)가 움직일 수 있는 공간을 포함할 수 있다. 구동부에 전원이 인가되면 구동부의 엑츄에이터가 카메라의 렌즈의 z 축 방향 위치를 조정할 수 있다.In an embodiment, the electronic device may include a camera module 1010 , and the camera module 1010 may include a second lens driver 1030 that can move in the z-axis with respect to the housing. In an embodiment, the camera may include a space inside which the second lens driving unit 1030 can move. When power is applied to the driving unit, the actuator of the driving unit may adjust the position of the lens of the camera in the z-axis direction.

렌즈 구동부에 전원이 인가되지 않은 경우 사용자가 x 축 방향 및/또는 z 축 방향으로 전자 장치를 흔들었을 때(1001, 1002), 렌즈 구동부에 연결된 렌즈는 하우징에 대해 비교적 자유롭게 움직일 수 있고 이는 소음을 발생시킬 수 있다. 일 실시 예에서 전자 장치는 전자 장치의 흔들림을 감지하고, 이에 응답하여 적어도 렌즈 구동부(1020, 1030)에 전원을 인가할 수 있고, 이에 따라 렌즈의 흔들림에 의해 생기는 소음을 방지할 수 있다. When no power is applied to the lens driver and the user shakes the electronic device in the x-axis and/or z-axis direction (1001, 1002), the lens connected to the lens driver can move relatively freely with respect to the housing, which reduces noise. can cause According to an embodiment, the electronic device may detect the shaking of the electronic device and apply power to at least the lens driving units 1020 and 1030 in response thereto, thereby preventing noise caused by the shaking of the lens.

도 11은 일 실시 예에서 전자 장치가 흔들릴 때 시간에 따른 가속도 데이터를 나타낸다. 도 11의 그래프는 도 10의 전자 장치가 x 축 또는 z 축 방향으로 흔들리는 경우의 가속도 데이터에 대응할 수 있다. 11 illustrates acceleration data according to time when the electronic device shakes according to an embodiment. The graph of FIG. 11 may correspond to acceleration data when the electronic device of FIG. 10 shakes in the x-axis or z-axis direction.

일 실시 예에서 전자 장치는 흔들림을 검출하고 소정의 시간 내에 렌즈 구동부에 전원을 인가할 수 있다. 일 실시 예에서 전자 장치의 흔들림이 3회 이상 발생하는 동안, 전자 장치는 두번째 흔들림과 세번째 흔들림 사이에 카메라에 전원을 인가할 수 있다. 사용자가 전자 장치를 흔드는 주파수는 현실적으로 2.5Hz-6Hz의 범위에 속하기 때문에, 카메라에 전원이 인가되는 시점은 최초의 흔들림 발생시점으로부터 적어도 983밀리초(T2) 이내에 있을 수 있다. 구체적으로, 전자 장치를 2.5Hz로 2번 흔드는데 소요되는 시간은 900밀리초(T1)이고, 6Hz로 1/2번 흔드는데 소요되는 시간은 83밀리초(T2-T1)이므로 전자 장치는 흔들림이 발생한 후 983밀리초(T2) 이내에 카메라에 전원을 인가할 수 있다. In an embodiment, the electronic device may detect the shake and apply power to the lens driver within a predetermined time. In an embodiment, while shaking of the electronic device occurs three or more times, the electronic device may apply power to the camera between the second and third shaking. Since the frequency at which the user shakes the electronic device realistically falls within the range of 2.5 Hz-6 Hz, the time when power is applied to the camera may be within at least 983 milliseconds (T2) from the time when the first shake occurs. Specifically, the time required to shake the electronic device twice at 2.5 Hz is 900 milliseconds (T1), and the time taken for shaking the electronic device 1/2 times at 6 Hz is 83 milliseconds (T2-T1), so the electronic device shakes After this occurs, power can be applied to the camera within 983 milliseconds (T2).

다른 실시 예에서 전자 장치는 흔들림이 4회 이상 발생하는 동안, 전자 장치는 세번째 흔들림과 네번째 흔들림 사이에 카메라에 전원을 인가할 수 있다. 카메라에 전원이 인가되는 시점은 최초의 흔들림 발생시점으로부터 적어도 1,383밀리초(T4) 이내에 있을 수 있다. 구체적으로, 전자 장치를 2.5Hz로 3번 흔드는데 소요되는 시간은 1,300밀리초(T3)이고, 6Hz로 1/2번 흔드는데 소요되는 시간은 83밀리초(T4-T3)이므로 전자 장치는 흔들림이 발생한 후 1,383밀리초(T4) 이내에 카메라에 전원을 인가할 수 있다. In another embodiment, while the electronic device shakes four or more times, the electronic device may apply power to the camera between the third and fourth shakes. The time when power is applied to the camera may be within at least 1,383 milliseconds (T4) from the time when the first shake occurs. Specifically, the time required to shake the electronic device three times at 2.5 Hz is 1,300 milliseconds (T3), and the time it takes to shake the electronic device 1/2 times at 6 Hz is 83 milliseconds (T4-T3), so the electronic device shakes After this occurs, power can be applied to the camera within 1,383 milliseconds (T4).

일 실시 예에서 전자 장치는, 카메라; 무선 통신 회로; 상기 카메라를 이용한 기능을 제공하는 어플리케이션이 저장되는 메모리; 및 상기 카메라, 상기 무선 통신 회로, 및 상기 메모리와 전기적으로 연결된 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 어플리케이션을 통한 상기 기능이 제공되고 있지 않는 동안: 상기 무선 통신 회로를 통해 서버로부터 카메라의 구동과 관련된 데이터를 획득하고, 상기 획득된 데이터에 기초하여 상기 카메라의 구동을 제어하도록 설정될 수 있다.In an embodiment, the electronic device includes: a camera; wireless communication circuitry; a memory in which an application providing a function using the camera is stored; and at least one processor electrically coupled to the camera, the wireless communication circuitry, and the memory, wherein the at least one processor is configured to: while the function via the application is not being provided: via the wireless communication circuitry It may be set to acquire data related to driving of the camera from the server and to control driving of the camera based on the acquired data.

일 실시 예에서 상기 적어도 하나의 프로세서는: 상기 획득된 데이터에 기초하여 상기 카메라의 구동이 필요한지 여부를 판단하고, 상기 판단에 따라 상기 카메라의 구동을 제어할 수 있다. In an embodiment, the at least one processor may determine whether driving of the camera is necessary based on the obtained data, and control driving of the camera according to the determination.

일 실시 예에서 상기 데이터는 상기 어플리케이션에 관련된 카메라 설정 값을 포함하고, 상기 적어도 하나의 프로세서는, 상기 어플리케이션을 통해 상기 기능이 제공될 때 상기 카메라 설정 값에 기반하여 상기 카메라가 이미지를 획득하도록 상기 카메라의 구동을 제어할 수 있다.In an embodiment, the data includes a camera setting value related to the application, and the at least one processor is configured to cause the camera to acquire an image based on the camera setting value when the function is provided through the application. You can control the operation of the camera.

일 실시 예에서 상기 카메라 설정 값은 줌 비율, 초점 거리, 화질, 조리개 값, 또는 화각 중 적어도 하나를 포함할 수 있다.In an embodiment, the camera setting value may include at least one of a zoom ratio, a focal length, an image quality, an aperture value, and an angle of view.

일 실시 예에서 상기 메모리는 복수의 카메라 어플리케이션들을 저장하고, 상기 데이터는 상기 복수의 카메라 어플리케이션들 중 적어도 하나에 대한 줌 비율을 포함하고, 상기 적어도 하나의 프로세서는, 상기 복수의 카메라 어플리케이션들 중 적어도 하나를 통해서 상기 기능이 제공될 때, 상기 줌 비율로 이미지를 획득하도록 상기 카메라의 구동을 제어할 수 있다.In an embodiment, the memory stores a plurality of camera applications, the data includes a zoom ratio for at least one of the plurality of camera applications, and the at least one processor is configured to: When the function is provided through one, driving of the camera may be controlled to acquire an image at the zoom ratio.

일 실시 예에서 상기 메모리는 복수의 카메라 어플리케이션들을 저장하고, 상기 데이터는 상기 복수의 카메라 어플리케이션들 중 적어도 하나에 대한 초점 거리를 포함하고, 상기 적어도 하나의 프로세서는, 상기 복수의 카메라 어플리케이션들 중 적어도 하나를 통해서 상기 기능이 제공될 때, 상기 초점 거리로 이미지를 획득하도록 상기 카메라의 구동을 제어할 수 있다.In an embodiment, the memory stores a plurality of camera applications, the data includes a focal length for at least one of the plurality of camera applications, and the at least one processor is configured to: When the function is provided through one, driving of the camera may be controlled to acquire an image with the focal length.

일 실시 예에서 상기 전자 장치는 다른 카메라를 더 포함하고, 상기 데이터는 카메라들 중 상기 어플리케이션에 관련된 카메라를 나타내는 정보를 포함하고, 상기 적어도 하나의 프로세서는, 상기 어플리케이션을 통해 상기 기능이 제공될 때 상기 데이터에 기초하여 전자 장치의 카메라들 중 어떤 카메라로 이미지를 획득할지 결정하고, 결정된 카메라를 이용하여 이미지를 획득하도록 상기 카메라의 구동을 제어할 수 있다.In an embodiment, the electronic device further includes another camera, the data includes information indicating a camera related to the application among the cameras, and the at least one processor is configured to: It is possible to determine which camera among the cameras of the electronic device to acquire an image based on the data, and control driving of the camera to acquire an image by using the determined camera.

일 실시 예에서 상기 데이터는 상기 어플리케이션을 통한 상기 기능의 이용이 허용되는지 여부를 나타내는 정보를 포함하고, 상기 적어도 하나의 프로세서는, 상기 데이터의 상기 정보에 기초하여 상기 어플리케이션을 통한 상기 기능의 이용을 제한할 수 있다.In an embodiment, the data includes information indicating whether use of the function through the application is permitted, and the at least one processor determines whether to use the function through the application based on the information of the data. can be limited

일 실시 예에서 전자 장치는, 카메라; 적어도 하나의 센서; 및 상기 카메라를 이용한 기능을 제공하는 어플리케이션이 저장되는 메모리; 및 상기 카메라, 상기 적어도 하나의 센서, 상기 메모리에 전기적으로 연결된 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 어플리케이션을 통한 상기 기능이 제공되고 있지 않는 동안: 상기 적어도 하나의 센서로부터 상기 전자 장치의 상태와 관련된 데이터를 획득하고, 상기 적어도 하나의 센서를 통해 획득된 데이터에 적어도 기초하여 상기 카메라의 구동을 제어하도록 설정될 수 있다.In an embodiment, the electronic device includes: a camera; at least one sensor; and a memory in which an application providing a function using the camera is stored; and at least one processor electrically coupled to the camera, the at least one sensor, and the memory, wherein the at least one processor is configured to: while the function through the application is not being provided: It may be configured to acquire data related to the state of the electronic device and to control driving of the camera based at least on the data acquired through the at least one sensor.

일 실시 예에서 상기 적어도 하나의 센서는 적어도 하나의 가속도 센서를 포함하고, 상기 전자 장치의 상태와 관련된 데이터는 상기 전자 장치가 흔들리는 주파수를 포함하고, 상기 적어도 하나의 프로세서는, 상기 주파수가 지정된 범위에 속한다는 판단에 기초하여 상기 카메라의 AF 구동부에 전원을 인가하도록 상기 카메라의 구동을 제어할 수 있다.In an embodiment, the at least one sensor includes at least one acceleration sensor, the data related to the state of the electronic device includes a frequency at which the electronic device shakes, and the at least one processor includes a range in which the frequency is specified. The driving of the camera may be controlled to apply power to the AF driving unit of the camera based on the determination that the camera belongs to .

일 실시 예에서 상기 적어도 하나의 프로세서는, 상기 AF 구동부에 전원이 인가된 시점으로부터 소정의 시간이 경과한 후에 상기 AF 구동부에의 전원 인가를 차단하도록 상기 카메라의 구동을 제어할 수 있다.In an embodiment, the at least one processor may control the driving of the camera to cut off the application of power to the AF driver after a predetermined time has elapsed from the time when power is applied to the AF driver.

일 실시 예에서 상기 적어도 하나의 프로세서는, 상기 AF 구동부에 전원이 인가된 이후 상기 가속도 센서를 이용하여 상기 전자 장치의 흔들림이 해제되었는지 여부를 판단하고, 상기 전자 장치의 흔들림이 해제된 것에 기초하여 상기 AF 구동부에의 전원 인가를 차단하도록 상기 카메라의 구동을 제어할 수 있다. In an embodiment, the at least one processor determines whether shaking of the electronic device is released using the acceleration sensor after power is applied to the AF driver, and based on the release of the shaking of the electronic device The driving of the camera may be controlled to cut off the application of power to the AF driving unit.

일 실시 예에서 상기 적어도 하나의 프로세서는, 전화의 수신에 응답하여 상기 카메라의 AF 구동부에 전원을 인가하도록 상기 카메라의 구동을 제어할 수 있다.In an embodiment, the at least one processor may control driving of the camera to apply power to the AF driving unit of the camera in response to a call.

일 실시 예에서 상기 전자 장치는 상기 적어도 하나의 프로세서와 연결된 근접 센서를 더 포함하고, 상기 적어도 하나의 프로세서는, 전화의 수신에 응답하여 상기 AF 구동부에 전원이 인가되는 동안 상기 근접 센서를 이용하여 외부 물체의 상기 전자 장치에 대한 근접을 감지하고, 상기 근접 센서를 통한 외부 물체의 감지에 응답하여 상기 AF 구동부에의 전원 인가를 차단하도록 상기 카메라의 구동을 제어할 수 있다. In an embodiment, the electronic device further includes a proximity sensor connected to the at least one processor, wherein the at least one processor uses the proximity sensor while power is applied to the AF driver in response to receiving a call. The camera may be controlled to detect a proximity of an external object to the electronic device, and to cut off power to the AF driving unit in response to the detection of the external object through the proximity sensor.

일 실시 예에서 상기 적어도 하나의 프로세서는, 상기 적어도 하나의 센서로부터 획득된 데이터에 기반하여 카메라 설정을 조정하고, 상기 어플리케이션을 통해 상기 기능이 제공될 때 상기 카메라 설정에 기초하여 이미지를 획득하도록 상기 카메라를 제어하고, 상기 카메라 설정은 줌 비율, 초점 거리, 화질, 조리개 값, 또는 화각 중 적어도 하나와 관련될 수 있다. In an embodiment, the at least one processor adjusts camera settings based on data obtained from the at least one sensor, and obtains an image based on the camera settings when the function is provided through the application. A camera is controlled, and the camera setting may be related to at least one of a zoom ratio, a focal length, an image quality, an aperture value, and an angle of view.

일 실시 예에서 카메라를 구비한 전자 장치의 제어 방법은, 어플리케이션을 통해 상기 카메라를 이용한 기능이 제공되고 있지 않는 동안: 외부 서버 또는 상기 전자 장치에 구비된 적어도 하나의 센서로부터 상기 전자 장치의 카메라 구동에 관련된 데이터를 획득하는 동작; 및 상기 획득된 데이터에 기반하여 상기 카메라의 구동을 제어하는 동작을 포함할 수 있다. According to an embodiment, in the method of controlling an electronic device having a camera, while the function using the camera is not provided through an application: driving the camera of the electronic device from an external server or at least one sensor provided in the electronic device obtaining data related to and controlling driving of the camera based on the acquired data.

일 실시 예에서 상기 제어 방법은, 상기 데이터에 기초하여 상기 카메라의 구동이 필요한지 여부를 판단하는 동작; 및 카메라의 구동이 필요하다는 판단에 따라 사용자의 입력과 무관하게 상기 카메라를 구동하는 동작을 더 포함할 수 있다.In an embodiment, the control method may include: determining whether driving of the camera is required based on the data; and driving the camera irrespective of a user's input according to a determination that the camera needs to be driven.

일 실시 예에서 상기 제어 방법은 상기 어플리케이션을 통해 상기 기능이 제공될 때 상기 데이터에 포함된 카메라 설정 값에 기반하여 상기 카메라가 이미지를 획득하도록 상기 카메라의 구동을 제어할 수 있다. In an embodiment, the control method may control driving of the camera so that the camera acquires an image based on a camera setting value included in the data when the function is provided through the application.

일 실시 예에서 상기 제어 방법은, 적어도 하나의 센서로부터 상기 전자 장치의 흔들림을 감지하는 동작; 및 상기 전자 장치가 흔들리는 주파수가 지정된 범위에 있다는 판단에 기반하여 카메라의 AF 구동부에 전원을 인가하는 동작을 포함할 수 있다.In an embodiment, the control method may include: detecting shaking of the electronic device from at least one sensor; and applying power to the AF driving unit of the camera based on the determination that the frequency at which the electronic device shakes is within a specified range.

일 실시 예에서 상기 제어 방법은 전화의 수신에 응답하여 상기 카메라의 AF 구동부에 전원을 인가하는 동작을 더 포함할 수 있다.In an embodiment, the control method may further include applying power to the AF driving unit of the camera in response to receiving a call.

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

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

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

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

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

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

Claims (20)

전자 장치에 있어서,
카메라;
무선 통신 회로;
상기 카메라를 이용한 기능을 제공하는 어플리케이션이 저장되는 메모리; 및
상기 카메라, 상기 무선 통신 회로, 및 상기 메모리와 전기적으로 연결된 적어도 하나의 프로세서를 포함하고,
상기 적어도 하나의 프로세서는, 상기 어플리케이션을 통한 상기 기능이 제공되고 있지 않는 동안(while the function is not being provided by the 어플리케이션):
상기 무선 통신 회로를 통해 서버로부터 카메라의 구동과 관련된 데이터를 획득하고,
상기 획득된 데이터에 기초하여 상기 카메라의 구동을 제어하도록 설정되는, 전자 장치.
In an electronic device,
camera;
wireless communication circuitry;
a memory in which an application providing a function using the camera is stored; and
at least one processor electrically connected to the camera, the wireless communication circuitry, and the memory;
The at least one processor, while the function is not being provided by the application:
Obtaining data related to the operation of the camera from the server through the wireless communication circuit,
The electronic device is configured to control driving of the camera based on the acquired data.
제1 항에 있어서,
상기 적어도 하나의 프로세서는:
상기 획득된 데이터에 기초하여 상기 카메라의 구동이 필요한지 여부를 판단하고, 상기 판단에 따라 상기 카메라의 구동을 제어하는, 전자 장치.
According to claim 1,
The at least one processor comprises:
An electronic device that determines whether driving of the camera is necessary based on the obtained data, and controls driving of the camera according to the determination.
제1 항에 있어서,
상기 데이터는 상기 어플리케이션에 관련된 카메라 설정 값을 포함하고,
상기 적어도 하나의 프로세서는, 상기 어플리케이션을 통해 상기 기능이 제공될 때 상기 카메라 설정 값에 기반하여 상기 카메라가 이미지를 획득하도록 상기 카메라의 구동을 제어하는, 전자 장치.
According to claim 1,
The data includes a camera setting value related to the application,
The at least one processor controls driving of the camera so that the camera acquires an image based on the camera setting value when the function is provided through the application.
제3 항에 있어서,
상기 카메라 설정 값은 줌 비율, 초점 거리, 화질, 조리개 값, 또는 화각 중 적어도 하나를 포함하는 전자 장치.
4. The method of claim 3,
The camera setting value includes at least one of a zoom ratio, a focal length, an image quality, an aperture value, and an angle of view.
제3 항에 있어서,
상기 메모리는 복수의 카메라 어플리케이션들을 저장하고,
상기 데이터는 상기 복수의 카메라 어플리케이션들 중 적어도 하나에 대한 줌 비율을 포함하고,
상기 적어도 하나의 프로세서는, 상기 복수의 카메라 어플리케이션들 중 적어도 하나를 통해서 상기 기능이 제공될 때, 상기 줌 비율로 이미지를 획득하도록 상기 카메라의 구동을 제어하는, 전자 장치.
4. The method of claim 3,
The memory stores a plurality of camera applications,
the data includes a zoom ratio for at least one of the plurality of camera applications;
When the function is provided through at least one of the plurality of camera applications, the at least one processor controls driving of the camera to acquire an image at the zoom ratio.
제3 항에 있어서,
상기 메모리는 복수의 카메라 어플리케이션들을 저장하고,
상기 데이터는 상기 복수의 카메라 어플리케이션들 중 적어도 하나에 대한 초점 거리를 포함하고,
상기 적어도 하나의 프로세서는, 상기 복수의 카메라 어플리케이션들 중 적어도 하나를 통해서 상기 기능이 제공될 때, 상기 초점 거리로 이미지를 획득하도록 상기 카메라의 구동을 제어하는, 전자 장치.
4. The method of claim 3,
The memory stores a plurality of camera applications,
the data comprises a focal length for at least one of the plurality of camera applications;
When the function is provided through at least one of the plurality of camera applications, the at least one processor controls driving of the camera to acquire an image at the focal length.
제3 항에 있어서,
다른 카메라를 더 포함하고,
상기 데이터는 카메라들 중 상기 어플리케이션에 관련된 카메라를 나타내는 정보를 포함하고,
상기 적어도 하나의 프로세서는, 상기 어플리케이션을 통해 상기 기능이 제공될 때 상기 데이터에 기초하여 전자 장치의 카메라들 중 어떤 카메라로 이미지를 획득할지 결정하고, 결정된 카메라를 이용하여 이미지를 획득하도록 상기 카메라의 구동을 제어하는, 전자 장치.
4. The method of claim 3,
further including another camera,
The data includes information indicating a camera related to the application among the cameras,
When the function is provided through the application, the at least one processor determines which camera among the cameras of the electronic device to acquire an image based on the data, and uses the determined camera to acquire the image. An electronic device that controls the drive.
제1 항에 있어서,
상기 데이터는 상기 어플리케이션을 통한 상기 기능의 이용이 허용되는지 여부를 나타내는 정보를 포함하고,
상기 적어도 하나의 프로세서는, 상기 데이터의 상기 정보에 기초하여 상기 어플리케이션을 통한 상기 기능의 이용을 제한하는, 전자 장치.
According to claim 1,
The data includes information indicating whether use of the function through the application is permitted,
The at least one processor limits the use of the function through the application based on the information of the data.
전자 장치에 있어서,
카메라;
적어도 하나의 센서; 및
상기 카메라를 이용한 기능을 제공하는 어플리케이션이 저장되는 메모리; 및
상기 카메라, 상기 적어도 하나의 센서, 상기 메모리에 전기적으로 연결된 적어도 하나의 프로세서를 포함하고,
상기 적어도 하나의 프로세서는, 상기 어플리케이션을 통한 상기 기능이 제공되고 있지 않는 동안:
상기 적어도 하나의 센서로부터 상기 전자 장치의 상태와 관련된 데이터를 획득하고,
상기 적어도 하나의 센서를 통해 획득된 데이터에 적어도 기초하여 상기 카메라의 구동을 제어하도록 설정되는, 전자 장치.
In an electronic device,
camera;
at least one sensor; and
a memory in which an application providing a function using the camera is stored; and
at least one processor electrically coupled to the camera, the at least one sensor, and the memory;
while the at least one processor is not providing the function through the application:
obtaining data related to the state of the electronic device from the at least one sensor,
and to control driving of the camera based at least on data acquired through the at least one sensor.
제9 항에 있어서,
상기 적어도 하나의 센서는 적어도 하나의 가속도 센서를 포함하고,
상기 전자 장치의 상태와 관련된 데이터는 상기 전자 장치가 흔들리는 주파수를 포함하고,
상기 적어도 하나의 프로세서는, 상기 주파수가 지정된 범위에 속한다는 판단에 기초하여 상기 카메라의 AF 구동부에 전원을 인가하도록 상기 카메라의 구동을 제어하는, 전자 장치.
10. The method of claim 9,
the at least one sensor comprises at least one acceleration sensor,
The data related to the state of the electronic device includes a frequency at which the electronic device shakes,
The at least one processor controls driving of the camera to apply power to an AF driving unit of the camera based on a determination that the frequency belongs to a specified range.
제10 항에 있어서,
상기 적어도 하나의 프로세서는, 상기 AF 구동부에 전원이 인가된 시점으로부터 소정의 시간이 경과한 후에 상기 AF 구동부에의 전원 인가를 차단하도록 상기 카메라의 구동을 제어하는, 전자 장치.
11. The method of claim 10,
The at least one processor controls driving of the camera to cut off power to the AF driving unit after a predetermined time elapses from a time when power is applied to the AF driving unit.
제10 항에 있어서,
상기 적어도 하나의 프로세서는, 상기 AF 구동부에 전원이 인가된 이후 상기 가속도 센서를 이용하여 상기 전자 장치의 흔들림이 해제되었는지 여부를 판단하고, 상기 전자 장치의 흔들림이 해제된 것에 기초하여 상기 AF 구동부에의 전원 인가를 차단하도록 상기 카메라의 구동을 제어하는, 전자 장치.
11. The method of claim 10,
The at least one processor determines whether shaking of the electronic device is released using the acceleration sensor after power is applied to the AF driver, and based on the release of the shaking of the electronic device, the AF driver is configured to An electronic device that controls driving of the camera so as to cut off the power application.
제9 항에 있어서,
상기 적어도 하나의 프로세서는, 전화의 수신에 응답하여 상기 카메라의 AF 구동부에 전원을 인가하도록 상기 카메라의 구동을 제어하는, 전자 장치.
10. The method of claim 9,
The at least one processor controls driving of the camera to apply power to the AF driving unit of the camera in response to a call.
제13 항에 있어서,
상기 적어도 하나의 프로세서와 연결된 근접 센서를 더 포함하고,
상기 적어도 하나의 프로세서는, 전화의 수신에 응답하여 상기 AF 구동부에 전원이 인가되는 동안 상기 근접 센서를 이용하여 외부 물체의 상기 전자 장치에 대한 근접을 감지하고, 상기 근접 센서를 통한 외부 물체의 감지에 응답하여 상기 AF 구동부에의 전원 인가를 차단하도록 상기 카메라의 구동을 제어하는, 전자 장치.
14. The method of claim 13,
Further comprising a proximity sensor connected to the at least one processor,
The at least one processor detects a proximity of an external object to the electronic device by using the proximity sensor while power is applied to the AF driving unit in response to a call, and detects the external object through the proximity sensor In response, the electronic device controls the driving of the camera to cut off the application of power to the AF driving unit.
제9 항에 있어서,
상기 적어도 하나의 프로세서는, 상기 적어도 하나의 센서로부터 획득된 데이터에 기반하여 카메라 설정을 조정하고, 상기 어플리케이션을 통해 상기 기능이 제공될 때 상기 카메라 설정에 기초하여 이미지를 획득하도록 상기 카메라를 제어하고,
상기 카메라 설정은 줌 비율, 초점 거리, 화질, 조리개 값, 또는 화각 중 적어도 하나와 관련되는, 전자 장치.
10. The method of claim 9,
The at least one processor controls the camera to adjust camera settings based on data obtained from the at least one sensor, and to acquire an image based on the camera settings when the function is provided through the application, ,
The camera setting is related to at least one of a zoom ratio, a focal length, an image quality, an aperture value, and an angle of view.
카메라를 구비한 전자 장치의 제어 방법에 있어서,
어플리케이션을 통해 상기 카메라를 이용한 기능이 제공되고 있지 않는 동안:
외부 서버 또는 상기 전자 장치에 구비된 적어도 하나의 센서로부터 상기 전자 장치의 카메라 구동에 관련된 데이터를 획득하는 동작; 및
상기 획득된 데이터에 기반하여 상기 카메라의 구동을 제어하는 동작을 포함하는, 방법.
A method for controlling an electronic device having a camera, the method comprising:
While the function using the camera is not provided through the application:
acquiring data related to driving a camera of the electronic device from an external server or at least one sensor provided in the electronic device; and
and controlling driving of the camera based on the acquired data.
제16 항에 있어서,
상기 데이터에 기초하여 상기 카메라의 구동이 필요한지 여부를 판단하는 동작; 및
카메라의 구동이 필요하다는 판단에 따라 사용자의 입력과 무관하게 상기 카메라를 구동하는 동작을 더 포함하는, 방법.
17. The method of claim 16,
determining whether it is necessary to drive the camera based on the data; and
The method further comprising the operation of driving the camera irrespective of a user's input according to a determination that the driving of the camera is necessary.
제16 항에 있어서,
상기 어플리케이션을 통해 상기 기능이 제공될 때 상기 데이터에 포함된 카메라 설정 값에 기반하여 상기 카메라가 이미지를 획득하도록 상기 카메라의 구동을 제어하는, 전자 장치.
17. The method of claim 16,
and controlling driving of the camera so that the camera acquires an image based on a camera setting value included in the data when the function is provided through the application.
제16 항에 있어서,
적어도 하나의 센서로부터 상기 전자 장치의 흔들림을 감지하는 동작; 및
상기 전자 장치가 흔들리는 주파수가 지정된 범위에 있다는 판단에 기반하여 카메라의 AF 구동부에 전원을 인가하는 동작을 포함하는, 방법.
17. The method of claim 16,
detecting the shaking of the electronic device from at least one sensor; and
and applying power to an AF driving unit of the camera based on a determination that the frequency at which the electronic device shakes is within a specified range.
제16 항에 있어서,
전화의 수신에 응답하여 상기 카메라의 AF 구동부에 전원을 인가하는 동작을 더 포함하는, 방법.
17. The method of claim 16,
The method further comprising applying power to the AF driving unit of the camera in response to receiving a call.
KR1020200056760A 2020-05-12 2020-05-12 electronic device having camera device Active KR102765431B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020200056760A KR102765431B1 (en) 2020-05-12 2020-05-12 electronic device having camera device
PCT/KR2021/005630 WO2021230560A1 (en) 2020-05-12 2021-05-04 Electronic device comprising camera device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200056760A KR102765431B1 (en) 2020-05-12 2020-05-12 electronic device having camera device

Publications (2)

Publication Number Publication Date
KR20210138438A true KR20210138438A (en) 2021-11-19
KR102765431B1 KR102765431B1 (en) 2025-02-13

Family

ID=78524535

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200056760A Active KR102765431B1 (en) 2020-05-12 2020-05-12 electronic device having camera device

Country Status (2)

Country Link
KR (1) KR102765431B1 (en)
WO (1) WO2021230560A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4243433A4 (en) * 2022-01-25 2024-04-17 Samsung Electronics Co., Ltd. ELECTRONIC DEVICE WITH CAMERA MODULE
WO2024117485A1 (en) * 2022-12-01 2024-06-06 한화비전 주식회사 Camera control system and method using scheduler

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114253692B (en) * 2021-12-23 2024-10-18 上海商米科技集团股份有限公司 Control method and control system for multiple applications in same equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160007251A (en) * 2014-07-11 2016-01-20 삼성전자주식회사 Electronic device and method for executing camera function thereof
KR20160121145A (en) * 2015-04-10 2016-10-19 삼성전자주식회사 Apparatus And Method For Setting A Camera
US20190007605A1 (en) * 2017-06-30 2019-01-03 Microsoft Technology Licensing, Llc Camera usage notification
KR20190139062A (en) * 2018-06-07 2019-12-17 삼성전자주식회사 Electronic device for providing customized quality image and method for controlling thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101400799B1 (en) * 2012-03-09 2014-05-29 (주)티아이스퀘어 Method and system for stroring and managing device control information to user terminal and method and user terminal for executing application using the same
KR101699202B1 (en) * 2016-01-19 2017-01-23 라인 가부시키가이샤 Method and system for recommending optimum position of photographing
JP2019213130A (en) * 2018-06-07 2019-12-12 オリンパス株式会社 Imaging apparatus, learning device, imaging method, learning method, image data creation method, and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160007251A (en) * 2014-07-11 2016-01-20 삼성전자주식회사 Electronic device and method for executing camera function thereof
KR20160121145A (en) * 2015-04-10 2016-10-19 삼성전자주식회사 Apparatus And Method For Setting A Camera
US20190007605A1 (en) * 2017-06-30 2019-01-03 Microsoft Technology Licensing, Llc Camera usage notification
KR20190139062A (en) * 2018-06-07 2019-12-17 삼성전자주식회사 Electronic device for providing customized quality image and method for controlling thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4243433A4 (en) * 2022-01-25 2024-04-17 Samsung Electronics Co., Ltd. ELECTRONIC DEVICE WITH CAMERA MODULE
WO2024117485A1 (en) * 2022-12-01 2024-06-06 한화비전 주식회사 Camera control system and method using scheduler

Also Published As

Publication number Publication date
WO2021230560A1 (en) 2021-11-18
KR102765431B1 (en) 2025-02-13

Similar Documents

Publication Publication Date Title
US11215787B2 (en) Camera device including aperture and electronic device including the same
CN114422701B (en) Method for controlling camera and electronic device thereof
CN113454982B (en) Electronic device for stabilizing image and method of operating the same
EP3697080B1 (en) Electronic device and method for controlling auto focusing thereof
KR102672510B1 (en) Electronic device for synchronizing modification of screen between screens and method for the same
CN111614805B (en) Electronic device
EP3481048A1 (en) Electronic device for recording image using multiple cameras and operating method thereof
CN114762314B (en) Electronic device and method for controlling camera motion
KR102765431B1 (en) electronic device having camera device
KR20210017282A (en) Electronic device for providing camera preview image and operating method thereof
EP3661189A1 (en) Electronic device capable of controlling image display effect, and method for displaying image
KR102785416B1 (en) Foldable electronic device whose shape changes according to an event and method of switching the shape of the thereof
EP4096218A1 (en) Video recording method using plurality of cameras, and device therefor
CN115427914A (en) Electronic device having a structure in which a camera is arranged under a display
KR20210058363A (en) Electronic device for using depth information and operating method thereof
CN114868180A (en) Electronic device for changing display in designated area of display and method of operation thereof
KR20200134804A (en) Electronic device having a camera module capable of switching a line of sight and method for recording video thereof
KR20190107901A (en) Electronic device for executing various functions based on a signal recevied from an electric pen
KR20220005283A (en) Electronic device for image improvement and camera operation method of the electronic device
KR20190123869A (en) Electronic device and method obtaining image using cameras through adjustment of position of external device
KR102662050B1 (en) Electronic device and method for providing image acquired through camera to a plurality of applications
CN108124098B (en) Electronic device and method for autofocusing
US20220310036A1 (en) Electronic device controlling luminance and method for controlling luminance thereof
KR20190141866A (en) Electronic device and method for identifying photographing intention of user
KR102806813B1 (en) Method of providing data and electronic device supporting same

Legal Events

Date Code Title Description
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 20200512

PG1501 Laying open of application
E902 Notification of reason for refusal
PE0902 Notice of grounds for rejection

Comment text: Notification of reason for refusal

Patent event date: 20240326

Patent event code: PE09021S01D

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

Patent event code: PE07011S01D

Comment text: Decision to Grant Registration

Patent event date: 20241118

PG1601 Publication of registration