KR20210101621A - Method of controlling a camera and an electronic device supporting the same - Google Patents

Method of controlling a camera and an electronic device supporting the same Download PDF

Info

Publication number
KR20210101621A
KR20210101621A KR1020200015807A KR20200015807A KR20210101621A KR 20210101621 A KR20210101621 A KR 20210101621A KR 1020200015807 A KR1020200015807 A KR 1020200015807A KR 20200015807 A KR20200015807 A KR 20200015807A KR 20210101621 A KR20210101621 A KR 20210101621A
Authority
KR
South Korea
Prior art keywords
electronic device
camera
processor
restricted area
area
Prior art date
Application number
KR1020200015807A
Other languages
Korean (ko)
Inventor
한상진
최순연
김현우
김형민
안지성
최은지
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020200015807A priority Critical patent/KR20210101621A/en
Priority to PCT/KR2020/018633 priority patent/WO2021162230A1/en
Publication of KR20210101621A publication Critical patent/KR20210101621A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/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/23206
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • H04N21/4753End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for user identification, e.g. by entering a PIN or password
    • 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/695Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects
    • H04N5/23299

Landscapes

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

Abstract

According to various embodiments, an electronic device includes a camera, a communication module, a processor, and a memory. The processor is configured to: receive a signal related with the control of the camera from an external electronic device through the communication module; identify a user account, corresponding to the received signal, among a plurality of user accounts which can control the camera; identify a limited area corresponding to the identified user account, based on information about limited areas set for each of the plurality of user accounts; determine whether a photographing area of the camera enters the identified limited area, based on the signal; and control the camera such that the photographing area of the camera bypasses the identified limited area, based on a result of the determination. Besides, various embodiments identified through the present document can be possible. Therefore, the present invention is capable of preventing a set limited area from being photographed.

Description

카메라를 제어하는 방법 및 이를 지원하는 전자 장치{Method of controlling a camera and an electronic device supporting the same}Method of controlling a camera and an electronic device supporting the same

본 발명의 다양한 실시예들은, 카메라를 제어하는 방법 및 이를 지원하는 전자 장치에 관한 것이다.Various embodiments of the present disclosure relate to a method of controlling a camera and an electronic device supporting the same.

전자 장치(예: IP(internet protocol) 카메라)는 지정된 공간에 설치되어, 지정된 공간을 촬영하여 촬영 영상을 획득할 수 있다. 예를 들어, 전자 장치는 외부 전자 장치와 기능적으로 연결되어 사용자가 외부 전자 장치를 통해 지정된 공간에 설치되어 있는 전자 장치를 원격으로 제어하여, 지정된 공간의 촬영 영상을 획득할 수 있다.An electronic device (eg, an Internet protocol (IP) camera) may be installed in a designated space, and may acquire a captured image by photographing the designated space. For example, the electronic device may be functionally connected to an external electronic device, and a user may remotely control an electronic device installed in a designated space through the external electronic device to acquire a captured image of the designated space.

그러나, 전자 장치의 원격 제어 시, 사생활에 민감한 영역(예: 사생활 보호 구역(privacy zone))이 촬영되어, 개인 정보 유출의 우려가 있었다. 이러한 사생활 우려(privacy concern)는 전자 장치에 포함된 카메라 제어에 대한 일부 권한(예: pan & tilt에 대한 권한)을 다른 사용자와 공유하지 않으면, 일부 해소되었으나, 역으로 다른 사용자가 필요한 부분에 대한 모니터링을 할 수 없는 문제점이 존재할 수 있다.However, when the electronic device is remotely controlled, an area sensitive to privacy (eg, a privacy zone) is photographed, and there is a risk of personal information leakage. This privacy concern has been partially resolved if some rights for camera control included in the electronic device (eg, rights for pan & tilt) are not shared with other users, but conversely, other users may There may be problems that cannot be monitored.

본 발명의 다양한 실시 예들은, 복수의 사용자 별로 제한 영역(예: 사생활 보호 구역(privacy zone))을 설정하여, 사용자가 전자 장치에 포함된 카메라를 제어하는 경우, 카메라를 제어하는 사용자가 설정하지 않은 제한 영역을 촬영하지 않도록 하는 전자 장치의 카메라를 제어하는 방법 및 이를 지원하는 전자 장치를 제공할 수 있다.According to various embodiments of the present disclosure, when a user controls a camera included in an electronic device by setting a restricted area (eg, a privacy zone) for a plurality of users, the user who controls the camera does not set the Provided are a method for controlling a camera of an electronic device that prevents an unrestricted area from being photographed, and an electronic device supporting the same.

본 발명의 다양한 실시예에 따른 전자 장치는, 카메라, 통신 모듈, 프로세서, 및 메모리를 포함하고, 상기 프로세서는, 상기 통신 모듈을 통해, 외부 전자 장치로부터 상기 카메라의 제어와 관련된 신호를 수신하고, 상기 카메라를 제어할 수 있는 복수의 사용자 계정 중 상기 수신된 신호에 대응되는 사용자 계정을 식별하고, 상기 복수의 사용자 계정 각각에 설정된 제한 영역에 대한 정보를 기반으로, 상기 식별된 사용자 계정에 대응되는 제한 영역을 식별하고, 상기 신호에 기반하여, 상기 카메라의 촬영 영역이 상기 식별된 제한 영역에 진입하는지 판단하고, 상기 판단 결과에 기반하여, 상기 카메라를 제어하여 상기 카메라의 촬영 영역이 상기 식별된 제한 영역을 우회하도록 설정된 전자 장치를 포함할 수 있다.An electronic device according to various embodiments of the present disclosure includes a camera, a communication module, a processor, and a memory, wherein the processor receives a signal related to control of the camera from an external electronic device through the communication module, Identifies a user account corresponding to the received signal from among a plurality of user accounts capable of controlling the camera, and based on information on a restricted area set in each of the plurality of user accounts, Identifies a restricted area, based on the signal, determines whether the photographing area of the camera enters the identified restricted area, and based on the determination result, controls the camera so that the photographing area of the camera is the identified and an electronic device configured to bypass the restricted area.

본 발명의 다양한 실시예에 따른 카메라를 제어하는 방법은, 통신 모듈을 통해, 외부 전자 장치로부터 카메라의 제어와 관련된 신호를 수신하는 동작, 상기 카메라를 제어할 수 있는 복수의 사용자 계정 중 상기 수신된 신호에 대응되는 사용자 계정을 식별하는 동작, 상기 복수의 사용자 계정 각각에 설정된 제한 영역에 대한 정보를 기반으로, 상기 식별된 사용자 계정에 대응되는 제한 영역을 식별하는 동작, 상기 신호에 기반하여, 상기 카메라의 촬영 영역이 상기 식별된 제한 영역에 진입하는지 판단하는 동작, 및 상기 판단 결과에 기반하여, 상기 카메라를 제어하여 상기 카메라의 촬영 영역이 상기 식별된 제한 영역을 우회하는 동작을 포함할 수 있다.A method of controlling a camera according to various embodiments of the present disclosure includes an operation of receiving a signal related to control of a camera from an external electronic device through a communication module, and receiving the received signal from a plurality of user accounts capable of controlling the camera. The operation of identifying a user account corresponding to the signal, the operation of identifying a limited area corresponding to the identified user account based on information on the restricted area set in each of the plurality of user accounts, the operation of identifying the restricted area corresponding to the identified user account, based on the signal, the It may include an operation of determining whether the photographing area of the camera enters the identified limited area, and an operation of controlling the camera to bypass the identified limited area by controlling the camera .

본 발명의 다양한 실시 예에 따른 전자 장치는 디스플레이, 통신 모듈, 프로세서 및 메모리를 포함하고, 상기 프로세서는, 복수의 사용자 계정 중 제1 사용자 계정이 접속된 상태에서, 상기 통신 모듈을 통해 외부 전자 장치로부터 촬영 영상을 획득하고, 상기 획득한 촬영 영상을 상기 디스플레이를 통해 표시하고, 상기 촬영 영상이 표시되는 상기 디스플레이 상에서 사용자 입력을 검출하면, 상기 사용자 입력을 기반으로, 상기 촬영 영상 내의 영역 중 적어도 일부 영역을 상기 제1 사용자 계정의 제한 영역으로 설정하고, 상기 제1 사용자 계정의 제한 영역에 대한 정보를 상기 외부 전자 장치로 전송하도록 설정된 전자 장치를 포함할 수 있다.An electronic device according to various embodiments of the present disclosure includes a display, a communication module, a processor, and a memory, and the processor includes an external electronic device through the communication module while a first user account among a plurality of user accounts is connected. When a captured image is obtained from a , the obtained captured image is displayed on the display, and a user input is detected on the display on which the captured image is displayed, based on the user input, at least a portion of an area within the captured image and an electronic device configured to set an area as the restricted area of the first user account and transmit information on the restricted area of the first user account to the external electronic device.

본 발명의 다양한 실시예들에 따르면, 복수의 사용자 계정 별로 제한 영역(예: 사생활 보호 영역(privacy zone))을 설정할 수 있고, 전자 장치를 제어할 시, 설정된 제한 영역이 촬영되지 않도록 할 수 있다.According to various embodiments of the present disclosure, a restricted area (eg, a privacy zone) may be set for each of a plurality of user accounts, and when an electronic device is controlled, the set restricted area may not be photographed .

본 발명의 다양한 실시예들에 따르면, 전자 장치의 위치가 변경되어도, 기존에 설정했던 제한 영역과 동일한 공간을 제한 영역으로 재설정할 수 있다.According to various embodiments of the present disclosure, even if the location of the electronic device is changed, the same space as the previously set limited region may be reset as the limited region.

이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition, various effects directly or indirectly identified through this document may be provided.

도 1은 본 발명의 다양한 실시예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 본 발명의 일 실시예에 따른 카메라를 제어하는 전자 장치의 블록도이다.
도 3은 본 발명의 일 실시예에 따른, 카메라를 제어하는 방법을 설명하기 위한 도면이다.
도 4는 본 발명의 일 실시예에 따른, 카메라를 제어하는 다른 방법을 설명하기 위한 도면이다.
도 5는 본 발명의 일 실시예에 따른, 외부 전자 장치를 통해 카메라를 제어하는 방법을 설명하기 위한 도면이다.
도 6은 본 발명의 일 실시예에 따른, 카메라의 촬영 영역이 제한 영역을 우회하는 방법을 설명하기 위한 도면이다.
도 7은 본 발명의 일 실시예에 따른, 카메라의 촬영 영역이 제한 영역을 우회 또는 통과하는 방법을 설명하기 위한 도면이다.
도 8은 본 발명의 일 실시예에 따른, 카메라의 촬영 영역이 제한 영역에 진입하여 이동하는 방법을 설명하기 위한 도면이다.
도 9는 본 발명의 일 실시예에 따른, 촬영 영역과 중첩되는 제한 영역의 크기를 계산하는 방법을 설명하기 위한 도면이다.
도 10은 본 발명의 일 실시예에 따른, 제한 영역을 재설정하는 방법을 설명하기 위한 도면이다.
도 11은 본 발명의 일 실시예에 따른, 제한 영역을 재설정하는 다른 방법을 설명하기 위한 도면이다.
도 12는 본 발명의 일 실시예에 따른, UI(user interface)를 통해 제한 영역을 설정하는 방법을 설명하기 위한 도면이다.
도 13은 본 발명의 일 실시예에 따른, 제한 영역을 설정하는 UI(user interface)를 설명하기 위한 도면이다.
도 14는 본 발명의 일 실시예에 따른, 촬영 영상 내에서 설정된 제한 영역을 설명하기 위한 도면이다.
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 of an electronic device for controlling a camera according to an embodiment of the present invention.
3 is a diagram for explaining a method of controlling a camera according to an embodiment of the present invention.
4 is a diagram for explaining another method of controlling a camera according to an embodiment of the present invention.
5 is a diagram for explaining a method of controlling a camera through an external electronic device, according to an embodiment of the present invention.
FIG. 6 is a diagram for explaining a method of bypassing a restricted area by a photographing area of a camera according to an embodiment of the present invention.
7 is a view for explaining a method of bypassing or passing a restricted area by a photographing area of a camera according to an embodiment of the present invention.
8 is a diagram for explaining a method of moving a photographing area of a camera by entering a restricted area according to an embodiment of the present invention.
9 is a diagram for describing a method of calculating a size of a limited area overlapping a photographing area according to an embodiment of the present invention.
10 is a diagram for explaining a method of resetting a restricted area according to an embodiment of the present invention.
11 is a diagram for explaining another method of resetting a restricted area according to an embodiment of the present invention.
12 is a diagram for explaining a method of setting a restricted area through a user interface (UI) according to an embodiment of the present invention.
13 is a diagram for explaining a user interface (UI) for setting a restricted area according to an embodiment of the present invention.
14 is a diagram for explaining a limited area set in a captured image according to an embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 발명의 다양한 실시예들이 설명된다. 설명의 편의를 위하여 도면에 도시된 구성요소들은 그 크기가 과장 또는 축소될 수 있으며, 본 발명이 반드시 도시된 바에 의해 한정되는 것은 아니다.Hereinafter, various embodiments of the present invention will be described with reference to the accompanying drawings. For convenience of description, the sizes of the components shown in the drawings may be exaggerated or reduced, and the present invention is not necessarily limited to the illustrated ones.

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

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

프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 로드하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서), 및 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 추가적으로 또는 대체적으로, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 또는 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, the 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 one 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 graphic processing unit, an image signal processor) that can operate independently or together 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 module 180 or the communication module 190). have.

메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.The memory 130 may store various data used by at least one component (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. there is.

오디오 모듈(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 electronic device 102) (eg, a speaker or headphones) may output a sound.

센서 모듈(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 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)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture still images and moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.

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

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

통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108))간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제1 네트워크(198)(예: 블루투스, WiFi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크) 또는 제2 네트워크(199)(예: 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부 전자 장치와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(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 may be a first network 198 (eg, a short-range communication network such as Bluetooth, WiFi direct, or infrared data association (IrDA)) 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 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)은 신호 또는 전력을 외부(예: 외부 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 하나의 안테나를 포함할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들을 포함할 수 있다. 이런 경우, 제1 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(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 197 may include one antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern. According to an embodiment, the antenna module 197 may include a plurality of antennas. In this case, it may be selected from the first plurality of antennas. 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, 또는 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 a part of operations executed in the electronic device 101 may be executed in one or more of the external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 needs to perform a 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는 본 발명의 일 실시예에 따른 카메라를 제어하는 전자 장치의 블록도이다.2 is a block diagram of an electronic device for controlling a camera according to an embodiment of the present invention.

복수의 사용자들은 자신이 사용하는(또는 권한이 있는) 계정을 이용한 외부 전자 장치(예: 도 1의 전자 장치(102), 전자 장치(104) 또는 서버(104))(예를 들어, 휴대폰, PC 또는 태블릿과 같은 통신 장치)를 통해 전자 장치(200)(예: 도 1의 전자 장치(101))에 접속할 수 있고, 상기 전자 장치(200)의 카메라(201)(예: 도 1의 카메라 모듈(180))를 제어하여 촬영 영상을 획득할 수 있다. 일 실시예에 따른 전자 장치(200)(예: IP카메라)는 카메라를 통해 촬영 영상을 획득하는 동안, 사생활(privacy)이 침해받지 않도록, 제한 영역(예: 촬영 금지 영역)을 설정할 수 있다. 예를 들어, 전자 장치(200)를 사용하는 상기 복수의 사용자들은 자신이 사용하는(또는 권한이 있는) 사용자 계정에 기반하여 상기 전자 장치(200)의 제한 영역을 설정할 수 있다. A plurality of users may use an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 104 of FIG. 1) using the account they use (or have permission) (eg, a mobile phone, The electronic device 200 (eg, the electronic device 101 of FIG. 1 ) may be accessed through a communication device such as a PC or a tablet, and the camera 201 (eg, the camera of FIG. 1 ) of the electronic device 200 may be connected. The captured image may be acquired by controlling the module 180). The electronic device 200 (eg, an IP camera) according to an embodiment may set a restricted area (eg, a photographing prohibited area) so that privacy is not infringed while acquiring a photographed image through the camera. For example, the plurality of users who use the electronic device 200 may set a restricted area of the electronic device 200 based on a user account they use (or have permission).

일 실시예에 따르면, 상기 복수의 사용자들 중 제1 사용자는 복수의 사용자 계정 중 제1 사용자 계정을 이용하여, 상기 전자 장치(200)에 접근할 수 있다. 예를 들어, 상기 제1 사용자는 상기 제1 사용자 계정으로 로그인 된 외부 전자 장치를 통해 상기 전자 장치(200)에 접속할 수 있다. 상기 제1 사용자는 접속한 상기 외부 전자 장치를 통해 상기 전자 장치(200)의 카메라(201)를 제어할 수 있다. 상기 제1 사용자가 제어하는 상기 전자 장치(200)의 카메라(201)가 제2 사용자의 제2 사용자 계정에 설정된 제한 영역에 진입하려고 하는 경우, 상기 전자 장치(200)는 상기 카메라(201)를 제어하여, 상기 카메라(201)의 촬영 영역이 상기 제2 사용자 계정에 기반하여 설정된 제한 영역을 우회하도록 할 수 있다. 또한, 상기 카메라(201)의 촬영 영역이 상기 제2 사용자 계정에 설정된 제한 영역을 우회하지 못한다고 판단하는 경우, 상기 전자 장치(200)는 상기 제2 계정에 기반하여 설정된 제한 영역을 보호하는 촬영 영상 데이터를 획득할 수 있다. 예를 들어, 상기 전자 장치(200)는 획득한 상기 촬영 영상 데이터에서 상기 제2 사용자 계정에 설정된 제한 영역과 대응하는 영상 데이터를 지정된 다른 영상 데이터(예: 디폴트 이미지)로 대체하거나, 블랙(black) 처리 또는 블러(blur) 처리한 상기 촬영 영상을 상기 외부 전자 장치에 전송할 수 있다.According to an embodiment, a first user among the plurality of users may access the electronic device 200 by using a first user account among the plurality of user accounts. For example, the first user may access the electronic device 200 through an external electronic device logged in with the first user account. The first user may control the camera 201 of the electronic device 200 through the connected external electronic device. When the camera 201 of the electronic device 200 controlled by the first user tries to enter the restricted area set in the second user account of the second user, the electronic device 200 controls the camera 201 By controlling the shooting area of the camera 201, it is possible to bypass the restricted area set based on the second user account. Also, when it is determined that the capturing area of the camera 201 does not bypass the restricted area set in the second user account, the electronic device 200 protects the captured image that protects the restricted area set based on the second account. data can be obtained. For example, the electronic device 200 replaces, in the acquired image data, image data corresponding to the restricted area set in the second user account with other specified image data (eg, a default image) or black (black). ) processing or blur processing, the captured image may be transmitted to the external electronic device.

다양한 실시예에 따른, 전자 장치(200)(예: 도 1의 전자 장치(101))는 카메라(201)(예: 도 1의 카메라 모듈(180)), 통신 모듈(202)(예: 도 1의 통신 모듈(190)), 메모리(203)(예: 도 1의 메모리(130)) 및 프로세서(204)(예: 도 1의 프로세서(120))를 포함할 수 있다. 그러나, 전자 장치(200)의 구성이 이에 한정되는 것은 아니다. 다양한 실시예에 따르면, 전자 장치(200)는 상술한 구성요소들 중 적어도 하나를 생략할 수 있으며, 적어도 하나의 다른 구성요소를 더 포함할 수 있다. 일 예로 상기 전자 장치(200)는 디스플레이(예: 도 1의 표시 장치(160))를 더 포함할 수 있다.According to various embodiments, the electronic device 200 (eg, the electronic device 101 of FIG. 1 ) includes a camera 201 (eg, the camera module 180 of FIG. 1 ) and a communication module 202 (eg, FIG. 1 ). 1 ), a memory 203 (eg, the memory 130 of FIG. 1 ), and a processor 204 (eg, the processor 120 of FIG. 1 ). However, the configuration of the electronic device 200 is not limited thereto. According to various embodiments, the electronic device 200 may omit at least one of the above-described components, and may further include at least one other component. As an example, the electronic device 200 may further include a display (eg, the display device 160 of FIG. 1 ).

상기 카메라(201)는 상기 지정된 공간 내의 촬영 가능한 영역을 촬영하여, 촬영 영상을 획득할 수 있다. 예를 들면, 은행, 학교 또는 엘리베이터와 같은 공공 장소 및/또는 가정집 또는 사무실과 같은 개인 장소에 설치되어 설치된 공간에서의 촬영 영상을 획득할 수 있다.The camera 201 may acquire a photographed image by photographing a photographable area within the designated space. For example, a photographed image may be acquired in a space installed in a public place such as a bank, school, or elevator, and/or in a private place such as a home or office.

상기 통신 모듈(202)은 상기 전자 장치(200)와 외부 전자 장치(예: 도 1의 전자 장치(102), 전자 장치(104) 또는 서버(108))간의 통신을 지원할 수 있다. 일 실시예에 따르면, 상기 통신 모듈(202)은 상기 외부 전자 장치로부터 상기 카메라(201)의 제어와 관련된 신호를 수신할 수 있다. 다른 실시예에 따르면, 상기 전자 장치(200)가 획득한 촬영 영상을 상기 외부 전자 장치로 전송할 수 있다.The communication module 202 may support communication between the electronic device 200 and an external electronic device (eg, the electronic device 102 , the electronic device 104 of FIG. 1 , or the server 108 ). According to an embodiment, the communication module 202 may receive a signal related to the control of the camera 201 from the external electronic device. According to another embodiment, the captured image acquired by the electronic device 200 may be transmitted to the external electronic device.

상기 메모리(203)는 상기 전자 장치(200)의 적어도 하나의 구성요소에 의해 사용되는 다양한 데이터를 저장할 수 있다. 일 실시예에 따르면, 상기 메모리(203)는 상기 카메라(201)를 통해 획득되는 촬영 영상을 저장할 수 있다. 또한, 상기 메모리(203)는 촬영 영상에서 상기 제한 영역에 대응되는 영상 데이터가 지정된 영상 데이터인 디폴트 이미지(default image) 데이터로 대체되거나, 그래픽 효과(예: 블랙 처리 또는 블러 처리)가 적용될 영상 데이터를 저장할 수 있다. 추가적으로, 상기 메모리(203)는 사용자 계정 별로 설정된 제한 영역에 대한 정보를 미리 저장할 수 있다.The memory 203 may store various data used by at least one component of the electronic device 200 . According to an embodiment, the memory 203 may store a captured image obtained through the camera 201 . Also, in the memory 203, image data corresponding to the restricted area in the captured image is replaced with default image data, which is designated image data, or image data to which a graphic effect (eg, black processing or blur processing) is applied. can be saved. Additionally, the memory 203 may store in advance information on a restricted area set for each user account.

다양한 실시예들에 따르면, 상기 제한 영역은 복수의 사용자 계정 중 제1 사용자 계정이 다른 사용자 계정들(예: 제1 사용자 계정을 제외한 사용자 계정)로부터 사생활을 보호하기 위해, 상기 제1 사용자 계정이 상기 제1 사용자 계정을 제외한 계정 각각에 제한 영역을 설정하여, 상기 제1 사용자 계정을 제외한 계정들이 상기 제 1 사용자 계정이 설정한 제한 영역에 대응하는 영상 데이터를 획득하지 못하도록 설정한 영역일 수 있다. 일 실시예에 따르면, 상기 제한 영역을 설정할 때, 상기 전자 장치(200) 및 상기 외부 전자 장치 중 적어도 하나의 장치의 디스플레이에서 표시되는 촬영 영상을 기반으로 상기 촬영 영상 내의 적어도 일부 영역을 상기 제한 영역으로 설정할 수 있다. 일 실시예에 따르면, 상기 제한 영역은 복수의 사용자 계정 중 제1 사용자 계정에 의해 상기 제1 사용자 계정을 제외한 계정에 상기 제한 영역을 설정하는 것이 아닌 복수의 사용자 계정 중 제1 사용자 계정이 상기 제1 사용자 계정에 상기 제한 영역을 설정하고, 제2 사용자 계정이 상기 제2 사용자 계정에 상기 제한 영역을 설정할 수 있다. 일 실시예에 따르면, 상기 제한 영역은 상기 복수 개의 계정 각각에 설정될 수 있다. 예를 들어, 상기 제1 사용자 계정에 설정된 제한 영역은 상기 제1 사용자 계정을 제외한 다른 계정들이 상기 제1 사용자 계정의 제한 영역에 대응하는 영상 데이터를 획득하지 못하도록 할 수 있고, 상기 제2 사용자 계정에 설정된 제한 영역은 상기 제2 사용자 계정을 제외한 다른 계정들이 상기 제2 사용자 계정의 제한 영역에 대응하는 영상 데이터를 획득하지 못하는 영역일 수 있다.According to various embodiments, in the restricted area, the first user account among the plurality of user accounts is the first user account in order to protect privacy from other user accounts (eg, user accounts other than the first user account). It may be an area in which a restricted area is set for each account except for the first user account, so that accounts other than the first user account cannot acquire image data corresponding to the restricted area set by the first user account. . According to an embodiment, when setting the restricted area, at least a partial area in the captured image is defined as the restricted area based on a captured image displayed on a display of at least one of the electronic device 200 and the external electronic device. can be set to According to an embodiment, the restricted area is a first user account among a plurality of user accounts that does not set the restricted area to an account other than the first user account by a first user account among a plurality of user accounts. The restricted area may be set in a first user account, and a second user account may set the restricted area in the second user account. According to an embodiment, the restricted area may be set for each of the plurality of accounts. For example, the restricted area set in the first user account may prevent accounts other than the first user account from acquiring image data corresponding to the restricted area of the first user account, and the second user account The restricted area set in may be an area in which accounts other than the second user account cannot acquire image data corresponding to the restricted area of the second user account.

일 실시예에 따르면, 상기 제한 영역에 대한 정보는 제한 영역에 대한 위치 좌표 정보 및 상기 제한 영역이 설정된 사용자 계정을 상기 제한 영역에 대한 위치 좌표 정보와 매핑한 정보를 포함할 수 있다. 다른 일 실시예에 따르면, 상기 제한 영역에 대한 정보는 상기 전자 장치의 디스플레이를 통해 출력되는 촬영 영상을 줌 인(zoom in)/줌 아웃(zoom out)하여 설정된 줌 배율과 같은 상기 전자 장치의 카메라의 설정 값에 따른 제한 영역의 위치 좌표 정보를 포함할 수 있다.According to an embodiment, the information on the restricted area may include location coordinate information on the restricted area and information in which a user account in which the restricted area is set is mapped with location coordinate information on the restricted area. According to another embodiment, the information on the restricted area may include the same as a zoom magnification set by zooming in/out of a captured image output through a display of the electronic device, such as a camera of the electronic device. may include location coordinate information of the restricted area according to the setting value of .

상기 프로세서(204)는 상기 전자 장치(200)의 적어도 하나의 다른 구성요소를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시예에 따르면, 상기 프로세서(204)는 상기 통신 모듈(202)을 통해 상기 외부 전자 장치로부터 상기 카메라(201)의 제어와 관련된 신호를 수신하여, 상기 수신한 신호를 기반으로 상기 카메라(201)를 제어할 수 있다. 상기 카메라(201)의 제어와 관련된 신호는 상기 전자 장치(200)의 카메라(201)의 움직임을 제어하는 신호를 포함할 수 있으며, 사용자 계정에 관한 정보(예: 사용자 계정을 등록한 사용자의 개인 정보, 사용자 계정이 로그인 된 단말의 주소, 사용자 계정의 전자 장치 사용 권한 등급)를 포함할 수 있다. 상기 프로세서(204)는 상기 카메라(201)의 제어와 관련된 신호를 기반으로, 상기 카메라(201)의 움직임을 제어할 수 있다. 또한, 상기 사용자 계정에 관한 정보를 기반으로, 외부 전자 장치에 접속하고 있는 계정과 외부 전자 장치를 제어하는 사용자 계정을 식별할 수 있다. 일 실시예에 따르면, 상기 프로세서(204)는 상기 지정된 공간에서 상기 카메라(201)를 제어하던 중에 상기 카메라(201)의 촬영 영역이 상기 제한 영역에 진입하려고 하는 경우, 상기 카메라(201)를 제어하여 상기 제한 영역을 우회하도록 할 수 있다. 일 실시예에 따르면, 상기 카메라(201)가 상기 제한 영역의 우회가 불가능한 경우, 상기 프로세서는 상기 제한 영역을 포함하는 촬영 영상을 획득하고, 획득한 촬영 영상에 포함된 상기 제한 영역에 대응하는 영상 데이터를 디폴트 이미지 데이터로 대체할 수 있다. 다른 일 예로, 상기 프로세서는 상기 획득한 촬영 영상에 포함된 제한 역에 대응하는 영상 데이터를 그래픽 효과(예: 블랙 처리 또는 블러 처리)를 적용하여 제한 영역에 대응되는 영상 데이터를 보안 처리할 수 있다. The processor 204 may control at least one other component of the electronic device 200 and may perform various data processing or operations. According to an embodiment, the processor 204 receives a signal related to control of the camera 201 from the external electronic device through the communication module 202, and based on the received signal, the camera 201 ) can be controlled. The signal related to the control of the camera 201 may include a signal for controlling the movement of the camera 201 of the electronic device 200, and information about a user account (eg, personal information of a user who has registered a user account) , the address of the terminal to which the user account is logged in, and the electronic device use permission level of the user account). The processor 204 may control the movement of the camera 201 based on a signal related to the control of the camera 201 . Also, based on the information about the user account, an account accessing the external electronic device and a user account controlling the external electronic device may be identified. According to an embodiment, the processor 204 controls the camera 201 when the photographing area of the camera 201 tries to enter the restricted area while controlling the camera 201 in the designated space. to bypass the restricted area. According to an embodiment, when the camera 201 cannot bypass the restricted area, the processor acquires a captured image including the restricted area, and an image corresponding to the restricted area included in the obtained captured image. Data can be replaced with default image data. As another example, the processor may secure image data corresponding to the restricted area by applying a graphic effect (eg, black processing or blur processing) to the image data corresponding to the restricted region included in the acquired captured image. .

상술한 바와 같이, 다양한 실시예에 따르면, 전자 장치(예: 전자 장치(200))는 카메라(예: 카메라(201)), 통신 모듈(예: 통신 모듈(202)), 프로세서(예: 프로세서(204)) 및 메모리(예: 메모리(203))를 포함하고, 상기 프로세서는, 상기 통신 모듈을 통해, 외부 전자 장치(예: 전자 장치(102 또는 104))로부터 상기 카메라의 제어와 관련된 신호를 수신하고, 상기 카메라를 제어할 수 있는 복수의 사용자 계정 중 상기 수신된 신호에 대응되는 사용자 계정을 식별하고, 상기 복수의 사용자 계정 각각에 설정된 제한 영역에 대한 정보를 기반으로, 상기 식별된 사용자 계정에 대응되는 제한 영역을 식별하고, 상기 신호에 기반하여, 상기 카메라의 촬영 영역이 상기 식별된 제한 영역에 진입하는지 판단하고, 상기 판단 결과에 기반하여, 상기 카메라를 제어하여 상기 카메라의 촬영 영역이 상기 식별된 제한 영역을 우회하도록 설정될 수 있다.As described above, according to various embodiments, the electronic device (eg, the electronic device 200) includes a camera (eg, the camera 201), a communication module (eg, the communication module 202), and a processor (eg, a processor). 204) and a memory (eg, memory 203), wherein the processor includes a signal related to control of the camera from an external electronic device (eg, electronic device 102 or 104) through the communication module , identify a user account corresponding to the received signal from among a plurality of user accounts capable of controlling the camera, and based on information on a restricted area set in each of the plurality of user accounts, the identified user Identifies a restricted area corresponding to the account, based on the signal, determines whether the photographing area of the camera enters the identified restricted area, and controls the camera based on the determination result to control the photographing area of the camera This may be set to bypass the above identified restricted area.

다양한 실시예에 따르면, 상기 프로세서는, 상기 식별된 사용자 계정이 제1 사용자 계정인 경우, 상기 수신된 신호에 따른 상기 카메라의 촬영 경로를 제1 경로로 설정하고, 상기 식별된 사용자 계정이 제2 사용자 계정인 경우, 상기 수신된 신호에 따른 상기 카메라의 촬영 경로를 제2 경로로 지정하도록 설정될 수 있다.According to various embodiments, when the identified user account is the first user account, the processor sets the photographing path of the camera according to the received signal to the first path, and the identified user account is the second path In the case of a user account, it may be set to designate a photographing path of the camera according to the received signal as a second path.

다양한 실시예에 따르면, 상기 프로세서는, 상기 카메라의 촬영 영역이 상기 식별된 제한 영역에 대해 우회가 불가능할 경우, 상기 카메라를 통해 상기 식별된 제한 영역을 포함하는 촬영 영상을 획득하고, 상기 획득한 촬영 영상에서 상기 식별된 제한 영역에 대한 영상 데이터를 보안 처리하도록 설정될 수 있다.According to various embodiments, the processor acquires a captured image including the identified restricted area through the camera, when the capturing area of the camera cannot be bypassed with respect to the identified restricted area, and It may be set to secure image data for the identified restricted area in the image.

다양한 실시예에 따르면, 상기 보안 처리는, 상기 식별된 제한 영역에 대한 영상 데이터를 지정된 영상 데이터(디폴트 이미지)로 대체하거나, 블랙(Black) 처리 및 블러(Blur) 처리 중 적어도 하나를 수행하도록 설정될 수 있다.According to various embodiments, the security processing is configured to replace image data for the identified restricted area with specified image data (default image) or to perform at least one of black processing and blur processing can be

다양한 실시예에 따르면, 상기 전자 장치는, 상기 카메라를 통해 획득되는 촬영 영상을 표시하는 디스플레이(예: 표시 장치(160))를 더 포함하고, 상기 디스플레이 상에서 수신한 사용자 입력을 기반으로, 상기 촬영 영상 내의 적어도 일부 영역을 상기 제한 영역으로 설정할 수 있다.According to various embodiments, the electronic device further includes a display (eg, the display device 160 ) for displaying the captured image obtained through the camera, and based on a user input received on the display, the photographing is performed. At least a partial region in the image may be set as the limited region.

다양한 실시예에 따르면, 상기 프로세서는, 상기 디스플레이에 상기 촬영 영상을 표시할 때, 상기 촬영 영상 내의 영역을 복수 개의 영역으로 분할하여 표시하고, 상기 사용자 입력을 기반으로 상기 분할된 영역들 중 적어도 하나의 영역을 선택하도록 설정될 수 있다.According to various embodiments, when displaying the captured image on the display, the processor divides and displays a region within the captured image into a plurality of regions, and displays at least one of the divided regions based on the user input It can be set to select an area of .

다양한 실시예에 따르면, 상기 프로세서는, 상기 디스플레이에 상기 촬영 영상을 표시할 때, 상기 디스플레이에 상기 촬영 영상을 줌 인(zoom in) 또는 줌 아웃(zoom out)하는 사용자 입력을 검출하면, 상기 사용자 입력에 의해 설정된 줌 배율을 기반으로, 상기 제한 영역에 대한 위치 좌표 정보를 설정할 수 있다.According to various embodiments, the processor, when displaying the captured image on the display, detects a user input for zooming in or out of the captured image on the display, the user Based on the zoom magnification set by the input, location coordinate information for the restricted area may be set.

다양한 실시예에 따르면, 상기 프로세서는, 상기 전자 장치의 위치가 변경되는 경우, 상기 카메라의 위치 정보와 상기 식별된 제한 영역의 위치 정보를 비교하여, 상기 제한 영역을 재설정하도록 설정될 수 있다.According to various embodiments of the present disclosure, when the location of the electronic device is changed, the processor may be configured to reset the restricted area by comparing the location information of the camera with the location information of the identified restricted area.

다양한 실시예에 따르면, 상기 프로세서는, 상기 전자 장치의 위치가 변경되는 경우, 상기 전자 장치의 위치가 변경되기 전에 제1 위치에서 상기 카메라가 획득한 촬영 영상과 상기 전자 장치의 위치가 변경된 후에 제2 위치에서 상기 카메라가 획득한 촬영 영상을 이미지 분석하여, 상기 제한 영역을 재설정하도록 설정될 수 있다.According to various embodiments of the present disclosure, when the location of the electronic device is changed, the processor is configured to: After the location of the electronic device is changed and the captured image acquired by the camera at the first location before the location of the electronic device is changed By analyzing the captured image obtained by the camera at two positions, it may be set to reset the restricted area.

다양한 실시예에 따르면, 상기 프로세서는, 상기 복수의 사용자 계정 각각에 설정된 제한 영역에 대한 정보를 서버(예: 도 1의 서버(108))에 저장하도록 설정될 수 있다.According to various embodiments, the processor may be configured to store information on a restricted area set in each of the plurality of user accounts in a server (eg, the server 108 of FIG. 1 ).

상술한 바와 같이, 다양한 실시예에 따르면, 전자 장치(예: 전자 장치(200))는 디스플레이(예: 표시 장치(160)), 통신 모듈(예: 통신 모듈(202)), 프로세서(예: 프로세서(204)) 및 메모리(예: 메모리(203))를 포함하고, 상기 프로세서는, 복수의 사용자 계정 중 제1 사용자 계정이 접속된 상태에서, 상기 통신 모듈을 통해 외부 전자 장치(예: 전자 장치(102 또는 104))로부터 촬영 영상을 획득하고, 상기 획득한 촬영 영상을 상기 디스플레이를 통해 표시하고, 상기 촬영 영상이 표시되는 상기 디스플레이 상에서 사용자 입력을 검출하면, 상기 사용자 입력을 기반으로, 상기 촬영 영상 내의 영역 중 적어도 일부 영역을 상기 제1 사용자 계정의 제한 영역으로 설정하고, 상기 제1 사용자 계정의 제한 영역에 대한 정보를 상기 외부 전자 장치로 전송하도록 설정될 수 있다.As described above, according to various embodiments, the electronic device (eg, the electronic device 200) includes a display (eg, the display device 160), a communication module (eg, the communication module 202), and a processor (eg: a processor 204) and a memory (eg, memory 203), wherein the processor is configured to include an external electronic device (eg, electronic If a captured image is obtained from the device 102 or 104), the obtained captured image is displayed on the display, and a user input is detected on the display on which the captured image is displayed, based on the user input, the At least some of the areas in the captured image may be set as the restricted area of the first user account, and information on the restricted area of the first user account may be set to be transmitted to the external electronic device.

다양한 실시예에 따르면, 상기 프로세서는, 상기 복수의 사용자 계정 각각에 설정된 제한 영역에 대한 정보를 서버(예: 도 1의 서버(108)) 및 상기 외부 전자 장치 중 적어도 하나에 저장하도록 설정될 수 있다.According to various embodiments, the processor may be configured to store information on a restricted area set in each of the plurality of user accounts in at least one of a server (eg, the server 108 of FIG. 1 ) and the external electronic device. have.

다양한 실시예에 따르면, 상기 프로세서는, 상기 디스플레이에 상기 촬영 영상이 표시될 때, 상기 촬영 영상 내의 영역을 복수 개의 영역으로 분할하여 표시하고, 상기 사용자 입력을 기반으로 상기 분할된 영역들 중 적어도 하나의 영역을 선택하도록 설정될 수 있다.According to various embodiments, when the captured image is displayed on the display, the processor divides and displays a region within the captured image into a plurality of regions, and displays at least one of the divided regions based on the user input It can be set to select an area of .

다양한 실시예에 따르면, 상기 프로세서는, 상기 외부 전자 장치로부터 수신한 상기 촬영 영상이 상기 디스플레이에 표시될 때, 상기 디스플레이 상에 상기 촬영 영상을 줌 인(zoom in) 또는 줌 아웃(zoom out)하는 사용자 입력이 검출되면, 상기 사용자 입력에 의해 설정된 줌 배율을 기반으로, 상기 제한 영역에 대한 위치 좌표 정보를 설정하도록 설정될 수 있다.According to various embodiments of the present disclosure, when the captured image received from the external electronic device is displayed on the display, the processor zooms in or zooms out the captured image on the display. When a user input is detected, it may be set to set location coordinate information for the restricted area based on a zoom magnification set by the user input.

다양한 실시예에 따르면, 상기 프로세서는, 상기 외부 전자 장치로부터 획득한 상기 촬영 영상이 상기 복수의 사용자 계정 중 제2 사용자 계정에 설정된 상기 제한 영역을 포함하는 촬영 영상인 경우, 상기 촬영 영상의 영상 데이터에 포함된 상기 제2 사용자 계정의 제한 영역에 대응하는 영상 데이터를 지정된 영상 데이터(디폴트 이미지)로 대체하거나, 블랙(Black) 처리 및 블러(Blur) 처리 중 적어도 하나가 적용된 상기 촬영 영상을 획득하도록 설정될 수 있다.According to various embodiments of the present disclosure, when the captured image obtained from the external electronic device is a captured image including the restricted area set in a second user account among the plurality of user accounts, the processor is configured to: image data of the captured image To obtain the captured image to which at least one of black processing and blur processing is applied or replacing image data corresponding to the restricted area of the second user account included in the designated image data (default image) can be set.

도 3은 본 발명의 일 실시예에 따른, 카메라를 제어하는 방법을 설명하기 위한 도면이다. 3 is a diagram for explaining a method of controlling a camera according to an embodiment of the present invention.

도 3을 참조하면, 동작 301에서 전자 장치(예: 도 2의 전자 장치(200))의 프로세서(예: 도 2의 프로세서(204))는 통신 모듈(예: 도 2의 통신 모듈(202))을 통해 외부 전자 장치(예: 도 1의 전자 장치(102), 전자 장치(104) 또는 서버(108))로부터 상기 전자 장치에 포함된 카메라(예: 도 2의 카메라(201))의 제어와 관련된 신호를 수신할 수 있다. 예를 들어, 상기 카메라 제어와 관련된 신호는 상기 전자 장치에 대한 제어 권한 요청을 포함할 수 있다. 또한, 상기 전자 장치의 상기 프로세서는 상기 외부 전자 장치로부터 수신한 신호를 기반으로, 상기 신호를 전송한 외부 전자 장치의 식별 정보를 확인할 수 있다. 상기 식별 정보는 상기 외부 전자 장치의 ID, 상기 외부 전자 장치의 Mac address 및 상기 외부 전자 장치에 로그인 된 사용자 계정에 대한 정보를 포함할 수 있다.Referring to FIG. 3 , in operation 301 , the processor (eg, the processor 204 of FIG. 2 ) of the electronic device (eg, the electronic device 200 of FIG. 2 ) transmits a communication module (eg, the communication module 202 of FIG. 2 ). ) from an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108 of FIG. 1) through the control of a camera (eg, the camera 201 of FIG. 2) included in the electronic device It is possible to receive a signal related to For example, the signal related to the camera control may include a control right request to the electronic device. Also, the processor of the electronic device may identify identification information of the external electronic device that has transmitted the signal based on the signal received from the external electronic device. The identification information may include an ID of the external electronic device, a Mac address of the external electronic device, and information about a user account logged into the external electronic device.

상기 신호를 수신한 상기 프로세서는 동작 303과 같이 상기 수신된 신호에서 상기 카메라를 제어할 수 있는 복수의 계정 중 상기 신호를 전송한 사용자 계정을 식별할 수 있다. 예를 들어, 상기 프로세서는 상기 사용자 계정에 관한 정보(예: 사용자 계정을 등록한 사용자의 개인 정보, 상기 전자 장치에 접근한 외부 전자 장치에 대한 단말의 주소, 및/또는 전자 장치에 대한 사용자 계정의 사용 권한 등급)를 기반으로 복수의 사용자 계정들 중 상기 외부 전자 장치를 제어하고 있는 사용자 계정을 식별할 수 있다. 일 실시예에서, 복수의 사용자 계정들 중 제2 사용자 계정을 이용해 상기 외부 전자 장치에 접속하여, 상기 전자 장치를 제어할 수 있다. 상기 전자 장치의 프로세서가 상기 외부 전자 장치로부터 상기 카메라의 제어와 관련된 신호를 수신한 경우, 상기 수신된 신호를 기반으로 상기 제2 사용자 계정을 식별할 수 있다. Upon receiving the signal, the processor may identify the user account that transmitted the signal from among a plurality of accounts capable of controlling the camera from the received signal in operation 303 . For example, the processor may store information about the user account (eg, personal information of a user who has registered a user account, an address of a terminal for an external electronic device that has accessed the electronic device, and/or a user account for the electronic device. permission level), a user account controlling the external electronic device may be identified from among a plurality of user accounts. In an embodiment, the second user account among a plurality of user accounts may be used to access the external electronic device to control the electronic device. When the processor of the electronic device receives a signal related to control of the camera from the external electronic device, the processor of the electronic device may identify the second user account based on the received signal.

상기 신호에 포함된 상기 사용자 계정에 관한 정보를 기반으로, 상기 외부 전자 장치를 제어하는 사용자 계정을 식별한 상기 프로세서는 동작 305와 같이, 상기 전자 장치의 메모리에 저장된 제한 영역에 대한 정보를 기반으로, 상기 식별된 사용자 계정에 설정된 제한 영역의 위치 좌표 정보를 식별할 수 있다. 예를 들어, 상기 식별된 사용자 계정에 설정된 제한 영역은 상기 식별된 사용자 계정을 제외한 다른 사용자 계정들이 설정한 제한 영역일 수 있다. 일 실시예에 따르면, 복수의 사용자 계정 각각에 대응하는 제한 영역은 복수 개일 수 있다. 상기 프로세서는 메모리(예: 도 2의 메모리(203))에 저장된 복수의 사용자 계정이 설정된 제한 영역에 대한 정보에 기반하여 상기 식별된 사용자 계정에 대응하는 제한 영역의 위치 좌표 정보를 확인할 수 있다.Based on the information about the user account included in the signal, the processor, which has identified a user account for controlling the external electronic device, performs the operation 305 , based on the information on the limited area stored in the memory of the electronic device. , it is possible to identify the location coordinate information of the restricted area set in the identified user account. For example, the restricted area set for the identified user account may be a restricted area set by other user accounts except for the identified user account. According to an embodiment, there may be a plurality of restricted areas corresponding to each of the plurality of user accounts. The processor may check location coordinate information of the restricted area corresponding to the identified user account based on information about the restricted area in which a plurality of user accounts are set stored in a memory (eg, the memory 203 of FIG. 2 ).

일 실시예에 따르면, 복수의 사용자 계정들 중 제1 사용자 계정(예: 관리자 계정 또는 소유자 계정)이 복수 개의 사용자 계정 각각에 제한 영역을 설정할 수 있다. 예를 들어, 상기 제1 사용자 계정은 상기 복수 개의 사용자 계정 중 제2 사용자 계정에 제1 공간을 제한 영역으로 설정할 수 있다. According to an embodiment, a first user account (eg, an administrator account or an owner account) among the plurality of user accounts may set a restricted area in each of the plurality of user accounts. For example, the first user account may set a first space as a restricted area in a second user account among the plurality of user accounts.

상기 제2 사용자 계정을 식별한 상기 프로세서는 제한 영역에 대한 정보를 기반으로 상기 제2 사용자 계정에 설정된 제한 영역인 상기 제1 공간의 위치 좌표 정보를 식별할 수 있다. 일 실시예에 따르면, 상기 제한 영역에 대한 정보는 상기 전자 장치의 메모리에 저장할 수 있으며, 유/무선 네트워크를 통해 외부 장치(예: 도 1의 서버(108))에 저장할 수 있다. 예를 들어, 상기 프로세서는 외부 장치로부터 복수의 사용자 계정에 설정된 제한 영역의 정보를 수신하여 메모리에 저장할 수 있다.The processor, which has identified the second user account, may identify location coordinate information of the first space, which is a restricted area set in the second user account, based on the information on the restricted area. According to an embodiment, the information on the restricted area may be stored in the memory of the electronic device, and may be stored in an external device (eg, the server 108 of FIG. 1 ) through a wired/wireless network. For example, the processor may receive information on a restricted area set in a plurality of user accounts from an external device and store the information in the memory.

상기 전자 장치의 프로세서는 상기 제2 사용자 계정이 접속한 상기 외부 전자 장치로부터 수신되는 카메라 제어 신호에 기반하여 카메라를 제어할 수 있다. 일 실시예에 따르면, 상기 프로세서는 동작 307에서 상기 수신한 신호를 기반으로, 카메라의 촬영 영역이 식별된 제한 영역에 진입하는지 여부를 판단할 수 있다.The processor of the electronic device may control the camera based on a camera control signal received from the external electronic device to which the second user account is connected. According to an embodiment, the processor may determine whether the photographing area of the camera enters the identified restricted area based on the received signal in operation 307 .

일 실시예에 따르면, 상기 전자 장치의 프로세서는 상기 제2 사용자 계정이 접속한 상기 외부 전자 장치로부터 수신한 상기 카메라의 제어와 관련된 신호가 상기 카메라의 촬영 영역을 제2 공간으로 이동시키는 신호인 경우, 상기 카메라의 촬영 영역의 경계 점(예: 촬영 영역 테두리의 위치 좌표)이 상기 제2 사용자 계정에 설정된 제한 영역(예: 제1 공간)의 경계 점과 가까워지는지 판단할 수 있다. According to an embodiment, when the signal related to the control of the camera received from the external electronic device to which the second user account is connected is a signal for moving the photographing area of the camera to the second space, the processor of the electronic device , it may be determined whether a boundary point of the photographing area of the camera (eg, location coordinates of a photographing area edge) approaches a boundary point of a restricted area (eg, the first space) set in the second user account.

일 실시예에서, 상기 프로세서는 동작 307에서 상기 수신한 신호에 기반하여 상기 카메라의 촬영 영역이 상기 식별된 제한 영역에 진입하는지 않는다고 판단할 경우(동작 307에서 '아니오'인 경우), 상기 전자 장치의 카메라를 촬영 영역으로 이동하여 상기 제2 공간을 촬영할 수 있도록 상기 카메라를 제어할 수 있다.In an embodiment, when the processor determines that the photographing area of the camera does not enter the identified restricted area based on the received signal in operation 307 (No in operation 307), the electronic device The camera may be controlled to move the camera to the photographing area to photograph the second space.

다른 일시예에서, 상기 카메라의 촬영 영역의 경계 점이 상기 제한 영역(예: 제1 공간)의 경계 점과 지정된 거리 이내인 경우(동작 307에서 '예'인 경우), 동작 309와 같이, 상기 프로세서는 상기 카메라를 제어하여, 상기 카메라의 촬영 영역이 상기 제한 영역을 우회하도록 할 수 있다.In another embodiment, when the boundary point of the photographing area of the camera is within a specified distance from the boundary point of the restricted area (eg, the first space) (YES in operation 307), as in operation 309, the processor may control the camera so that the photographing area of the camera bypasses the restricted area.

상기 지정된 거리는 상기 프로세서가 상기 카메라의 촬영 영역이 상기 제한 영역에 진입하려고 하는 여부를 판단할 수 있는 기준일 수 있다.The specified distance may be a criterion by which the processor may determine whether the photographing area of the camera is about to enter the restricted area.

일 실시예에 따르면, 상기 프로세서가 상기 카메라의 촬영 영역의 경계 점이 상기 제한 영역의 경계 점과 지정된 거리 이내에 위치하여 상기 제한 영역에 진입하려고 하는 것을 판단한 경우, 상기 프로세서는 상기 카메라를 통해 획득한 지정된 공간의 전체 영역 중에서 상기 카메라의 촬영 영역이 상기 제한 영역의 경계 점과 지정된 거리 이내에 위치하지 않는 공간으로 이동 경로를 수정할 수 있다.According to an embodiment, when the processor determines that the boundary point of the photographing area of the camera is located within a specified distance from the boundary point of the restricted area and is about to enter the restricted area, the processor is configured to: A movement path may be corrected to a space in which the photographing area of the camera is not located within a specified distance from the boundary point of the restricted area among the entire area of the space.

상기 프로세서는 상기 카메라의 촬영 영역의 이동 경로가 수정되면, 상기 수정된 이동 경로로 상기 카메라의 촬영 영역을 이동하여 상기 제2 공간을 촬영할 수 있도록 상기 카메라를 제어할 수 있다. When the movement path of the photographing area of the camera is modified, the processor may control the camera to photograph the second space by moving the photographing area of the camera along the modified movement path.

일 실시예에 따르면, 상기 프로세서는 상기 외부 전자 장치로부터 카메라의 제어와 관련된 신호를 수신할 때마다, 동작 307 내지 동작 309를 수행할 수 있다.According to an embodiment, whenever receiving a signal related to camera control from the external electronic device, the processor may perform operations 307 to 309 .

도 4는 본 발명의 일 실시예에 따른, 카메라를 제어하는 다른 방법을 설명하기 위한 도면이다. 4 is a diagram for explaining another method of controlling a camera according to an embodiment of the present invention.

도 4을 참조하면, 동작 401에서 전자 장치(예: 도 2의 전자 장치(200))의 프로세서(예: 도 2의 프로세서(204))는 통신 모듈(예: 도 2의 통신 모듈(202))을 통해 외부 전자 장치(예: 도 1의 전자 장치(102), 전자 장치(104) 또는 서버(108))로부터 상기 전자 장치에 포함된 카메라(예: 도 2의 카메라(201))의 제어와 관련된 신호를 수신할 수 있다. 예를 들어, 카메라의 제어와 관련된 신호는, 상기 카메라를 제어하기 위한 요청 및/또는 상기 카메라를 통해 촬영한 영상에 대한 전송 요청을 포함할 수 있다.Referring to FIG. 4 , in operation 401 , the processor (eg, the processor 204 of FIG. 2 ) of the electronic device (eg, the electronic device 200 of FIG. 2 ) is configured with a communication module (eg, the communication module 202 of FIG. 2 ). ) from an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108 of FIG. 1) through the control of a camera (eg, the camera 201 of FIG. 2) included in the electronic device It is possible to receive a signal related to For example, the signal related to the control of the camera may include a request to control the camera and/or a request to transmit an image captured by the camera.

동작 403에서 상기 프로세서는 상기 카메라를 제어할 수 있는 복수의 사용자 계정 중 수신된 신호에 대응하는 사용자 계정을 식별할 수 있다.In operation 403, the processor may identify a user account corresponding to the received signal from among a plurality of user accounts capable of controlling the camera.

일 실시예에 따르면, 상기 전자 장치의 프로세서는 상기 수신한 신호에서 상기 전자 장치를 사용할 수 있는 권한을 부여받은 사용자 계정을 식별할 수 있다. 상기 프로세서는 상기 수신한 신호에 포함된 사용자 계정에 관한 정보를 기반으로, 상기 외부 전자 장치를 제어하고 있는 사용자 계정을 식별할 수 있다. 예를 들어, 상기 사용자 계정에 관한 정보는 사용자 계정을 등록한 사용자의 개인 정보, 사용자 계정이 접속한 단말의 주소 또는 단말의 ID를 포함할 수 있으며, 이에 한정되지 않는다.According to an embodiment, the processor of the electronic device may identify a user account that is authorized to use the electronic device from the received signal. The processor may identify a user account controlling the external electronic device based on the information about the user account included in the received signal. For example, the information about the user account may include, but is not limited to, personal information of a user who has registered a user account, an address of a terminal accessed by the user account, or an ID of the terminal.

405 동작에서, 상기 프로세서는 복수의 사용자 계정 별로 설정된 제한 영역에 대한 정보를 기반으로, 상기 식별한 사용자 계정에 대응하는 제한 영역의 위치 좌표 정보를 식별할 수 있다.In operation 405, the processor may identify location coordinate information of the restricted area corresponding to the identified user account based on the information on the restricted area set for each of the plurality of user accounts.

일 실시예에 따르면, 상기 프로세서는 복수의 사용자 계정들 중 제1 사용자 계정을 통해 복수의 사용자 계정 각각에 제한 영역(예: 제1 공간)을 설정할 수 있다. 상기 전자 장치가 상기 외부 전자 장치로부터 상기 카메라의 제어와 관련된 신호를 수신하면, 상기 수신한 신호에 포함된 사용자 계정에 관한 정보를 기반으로 상기 카메라를 제어하려는 사용자 계정을 식별할 수 있다. 상기 외부 전자 장치가 제2 사용자 계정을 사용하여 상기 전자 장치에 접속하고 있는 경우, 상기 프로세서는 상기 전자 장치에 저장된 제한 영역에 대한 정보를 기반으로 상기 제2 사용자 계정에 설정된 제한 영역이 제1 공간인 것을 식별할 수 있다. 상기 제한 영역에 대한 정보는 상기 전자 장치의 메모리(예: 도 2의 메모리(203))에 저장할 수 있으며, 유/무선 네트워크를 통해 외부 장치(예: 도 1의 서버(108))에 저장할 수 있다. 일 실시예에 따르면, 상기 전자 장치는 상기 외부 전자 장치가 제2 사용자 계정을 사용하여 상기 전자 장치에 접속하고 있는 경우, 상기 제2 사용자 계정 외에 다른 사용자 계정(예: 제1 사용자 계정)에 기반하여 설정한 제한 영역을 상기 제2 사용자 계정에 대한 제한 영역으로 식별할 수 있다. 예를 들어, 상기 제2 사용자 계정을 사용할 경우, 상기 전자 장치의 카메라를 사용하여 상기 제1 공간을 촬영할 수 없다는 것을 확인할 수 있다.According to an embodiment, the processor may set a limited area (eg, a first space) in each of the plurality of user accounts through a first user account among the plurality of user accounts. When the electronic device receives a signal related to control of the camera from the external electronic device, it is possible to identify a user account to control the camera based on information about the user account included in the received signal. When the external electronic device is accessing the electronic device using the second user account, the processor determines that the restricted area set in the second user account is set to the first space based on the information on the restricted area stored in the electronic device. It can be identified that The information on the restricted area may be stored in the memory of the electronic device (eg, the memory 203 of FIG. 2 ), and may be stored in an external device (eg, the server 108 of FIG. 1 ) through a wired/wireless network. have. According to an embodiment, when the external electronic device is accessing the electronic device using a second user account, the electronic device is configured to use a user account other than the second user account (eg, a first user account). Thus, the set limited area may be identified as the restricted area for the second user account. For example, when the second user account is used, it may be confirmed that the first space cannot be photographed using the camera of the electronic device.

동작 407에서 상기 프로세서는 수신한 신호를 기반으로, 카메라의 촬영 영역이 식별된 제한 영역에 진입하는지 여부를 판단할 수 있다. 예를 들어, 상기 카메라의 촬영 영역은 지정된 영역(예: 촬영하고자 하는 영역) 또는 카메라의 이동에 따른 FOV(field of view)를 의미할 수 있다.In operation 407, the processor may determine whether the photographing area of the camera enters the identified restricted area based on the received signal. For example, the photographing area of the camera may mean a designated area (eg, an area to be photographed) or a field of view (FOV) according to movement of the camera.

일 실시예에 따르면, 상기 전자 장치가 상기 제2 사용자 계정을 통해 제2 사용자 계정이 제어하고 있는 외부 전자 장치로부터 수신한 상기 카메라의 제어와 관련된 신호를 기반으로, 제2 공간을 촬영하려는 경우, 상기 프로세서는 상기 카메라의 좌우 이동을 나타내는 팬(pan) 및/또는 상기 카메라의 상하 이동을 나타내는 틸트(tilt) 됨에 따라, 상기 카메라의 촬영 영역의 이동 경로에 상기 식별한 제1 공간(예: 제한 영역)이 위치하고 있는지 판단할 수 있다. 일 실시예에 따르면, 상기 제2 사용자 계정이 제어하는 상기 외부 전자 장치로부터 수신한 상기 카메라의 제어와 관련된 신호가 카메라의 촬영 영역이 제1 공간을 지나치면서, 제2 공간을 촬영하려는 신호인 경우, 상기 전자 장치의 프로세서는 상기 제한 영역에 대한 정보를 기반으로, 상기 제2 사용자 계정에 설정된 제한 영역이 제1 공간인 것을 식별하여, 상기 제2 사용자 계정에 기반하여 제어하는 상기 카메라의 촬영 영역이 제한 영역인 제1 공간에 진입하려고 하는 것을 판단할 수 있다.동작 407에서 상기 카메라의 촬영 영역이 제한 영역에 진입하지 않는 경우, 상기 전자 장치의 프로세서는 동작 413과 같이, 카메라를 통해 촬영 영상을 획득할 수 있다. 또한, 상기 전자 장치의 프로세서는 동작 415와 같이, 상기 외부 전자 장치에 획득한 촬영 영상을 전송할 수 있다.According to an embodiment, when the electronic device intends to photograph the second space based on a signal related to control of the camera received from an external electronic device controlled by a second user account through the second user account, As the processor pans indicating the left and right movement of the camera and/or tilts indicating the vertical movement of the camera, the identified first space (eg, limit) in the movement path of the capturing area of the camera area) can be determined. According to an embodiment, when the signal related to the control of the camera received from the external electronic device controlled by the second user account is a signal for capturing the second space while the capturing area of the camera passes the first space , the processor of the electronic device identifies that the restricted area set in the second user account is the first space based on the information on the restricted area, and controls the photographing area of the camera based on the second user account It may be determined that an attempt is made to enter the first space, which is the restricted area. In operation 407, if the photographing area of the camera does not enter the restricted area, in operation 413, the processor of the electronic device captures an image captured by the camera. can be obtained. Also, in operation 415 , the processor of the electronic device may transmit the acquired image to the external electronic device.

동작 407에서 상기 카메라의 촬영 영역이 제한 영역에 진입하는 경우, 동작 409에서, 상기 프로세서는 상기 카메라를 제어하여, 상기 카메라의 촬영 영역이 제한 영역을 우회할 수 있는지 여부를 판단할 수 있다.When the photographing area of the camera enters the restricted area in operation 407, in operation 409, the processor controls the camera to determine whether the photographing area of the camera can bypass the restricted area.

상기 프로세서는 상기 제2 사용자 계정을 통해 제어되는 카메라의 촬영 영역의 경계 점(예: 촬영 영역 테두리의 위치 좌표)이 상기 제1 공간의 경계점과 지정된 거리 이내에 위치하면, 상기 제2 사용자 계정이 제한 영역(예: 제1 공간)에 진입하려고 하는 것을 판단할 수 있다. 이에 따라, 상기 프로세서는 상기 카메라의 촬영 영역의 경계 점이 상기 제1 공간의 경계점과 지정된 거리 이내에 위치하지 않는 경로를 탐색하여, 우회 경로가 있는지 판단할 수 있다.일 실시예에서, 식별된 제한 영역을 우회할 수 있는 경우(예: 동작 409에서 '예'인 경우), 동작 411에서, 상기 프로세서는 상기 카메라의 촬영 영역이 제한 영역을 우회할 수 있도록 이동 경로를 재설정하고, 재설정된 이동 경로로 상기 카메라의 촬영 영역을 이동시켜 상기 제한 영역을 우회하도록 할 수 있다. The processor is configured to limit the second user account when the boundary point of the photographing area of the camera controlled through the second user account (eg, the position coordinate of the photographing area border) is located within a specified distance from the boundary point of the first space. It may be determined that an attempt is made to enter an area (eg, the first space). Accordingly, the processor may determine whether there is a detour path by searching for a path in which the boundary point of the photographing area of the camera is not located within a specified distance from the boundary point of the first space. In one embodiment, the identified restricted area can be bypassed (eg, 'Yes' in operation 409), in operation 411, the processor resets the movement path so that the photographing area of the camera can bypass the restricted area, and returns to the reset movement path. The photographing area of the camera may be moved to bypass the restricted area.

동작 413에서, 상기 프로세서는 상기 카메라의 촬영 영역이 제한 영역을 우회하는 경우, 상기 제한 영역을 제외한 나머지 영역에 대한 촬영 영상을 상기 카메라를 통해 획득할 수 있다.In operation 413, when the photographing area of the camera bypasses the restricted area, the processor may acquire a photographed image of the remaining area except for the restricted area through the camera.

동작 415에서, 상기 프로세서는, 상기 제한 영역을 제외한 나머지 영역에 대한 촬영 영상을 외부 전자 장치에 전송할 수 있다.In operation 415, the processor may transmit the captured image of the remaining area except for the limited area to the external electronic device.

일 실시예에서, 동작 409에서, 상기 카메라의 촬영 영역이 상기 제한 영역을 우회하지 못한다고 판단하는 경우(예: 동작 409에서 '아니오'인 경우), 상기 프로세서는 동작 417과 같이 상기 카메라로부터 제한 영역이 포함된 촬영 영상을 획득할 수 있다. 예를 들어, 상기 프로세서는 상기 카메라의 촬영 영역이 상기 제1 공간을 우회하는 것이 불가능하다고 판단한 경우, 상기 카메라를 통해 상기 제2 사용자 계정에 설정된 제한 영역인 상기 제1 공간을 포함하는 촬영 영상을 획득할 수 있다. 다른 예를 들어, 상기 프로세서는 상기 카메라의 촬영 영역이 상기 제1 공간을 지나가되, 상기 제1 공간에 대한 촬영 영상을 획득하지 않고 메모리에 저장되어 있는 이미지로 상기 촬영 영상을 대체하도록 할 수 있다.In an embodiment, if it is determined in operation 409 that the photographing area of the camera does not bypass the restricted area (eg, 'No' in operation 409), the processor is configured to remove the restricted area from the camera as in operation 417 A captured image including this may be obtained. For example, when the processor determines that it is impossible for the photographing area of the camera to bypass the first space, a photographed image including the first space that is a restricted area set in the second user account through the camera can be obtained For another example, the processor may cause the photographing area of the camera to pass through the first space, and replace the photographed image with an image stored in the memory without acquiring the photographed image for the first space. .

일 실시예에 따르면, 상기 프로세서에 의해 상기 제한 영역이 포함된 촬영 영상을 획득하는 경우, 동작 419와 같이 상기 획득한 촬영 영상에서 상기 제한 영역에 대응하는 영상 데이터를 다른 이미지 데이터로 대체하거나, 그래픽 효과를 적용할 수 있다. 예를 들어, 상기 프로세서는 상기 제1 공간에 대한 영상 데이터를 디폴트 이미지 데이터로 대체하거나, 그래픽 효과를 적용시켜 블랙(Black) 처리 또는 블러(Blur) 처리할 수 있다. According to an embodiment, when the processor acquires the captured image including the restricted area, in operation 419 , image data corresponding to the restricted area in the obtained captured image is replaced with other image data, or effects can be applied. For example, the processor may replace the image data for the first space with default image data, or apply a graphic effect to perform black processing or blur processing.

일 실시예에 따르면, 상기 프로세서는 동작 419를 수행하여 획득된 영상을 동작 415을 수행하여 상기 외부 전자 장치로 전송할 수 있다. 예를 들어, 상기 프로세서는 상기 제한 영역에 대응하는 영상 데이터를 다른 이미지 데이터로 대체하거나 그래픽 효과를 적용하여 외부 전자 장치에 전송할 수 있다.According to an embodiment, the processor may perform operation 415 to transmit the image obtained by performing operation 419 to the external electronic device. For example, the processor may replace the image data corresponding to the limited area with other image data or apply a graphic effect to transmit the image data to the external electronic device.

도 5는 본 발명의 일 실시예에 따른, 외부 전자 장치를 통해 전자 장치의 카메라를 제어하는 방법을 설명하기 위한 도면이다. 5 is a diagram for explaining a method of controlling a camera of an electronic device through an external electronic device, according to an embodiment of the present invention.

도 5를 참조하면, 외부 전자 장치(510)(예: 도 1의 전자 장치(102) 또는 전자 장치(104))의 프로세서는 복수 개의 계정 중 제1 사용자 계정에 기반하여 제한 영역을 설정(500a)하는 사용자 입력을 수신할 수 있다.Referring to FIG. 5 , the processor of the external electronic device 510 (eg, the electronic device 102 or the electronic device 104 of FIG. 1 ) sets a restricted area based on a first user account among a plurality of accounts ( 500a ). ) to receive user input.

상기 사용자 계정에 기반하여 제한 영역이 설정(500a)되면, 상기 외부 전자 장치(510)의 프로세서는 유/무선 네트워크로 연결되어 있는 서버(530)(예: 도 1의 서버(108))에 상기 사용자 계정에 기반하여 설정된 제한 영역에 대한 정보를 전송(510a)할 수 있다. When the restricted area is set 500a based on the user account, the processor of the external electronic device 510 sends the information to the server 530 (eg, the server 108 of FIG. 1 ) connected through a wired/wireless network. Information on the restricted area set based on the user account may be transmitted (510a).

상기 서버(530)는 수신한 상기 사용자 계정에 기반하여 설정된 제한 영역에 대한 정보를 저장(530a)할 수 있다. 또한, 상기 서버(530)는 수신한 상기 사용자 계정에 기반하여 설정된 제한 영역에 대한 정보를 유/무선 네트워크로 연결된 전자 장치(550)(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200))에 전송(530b)할 수 있다. 상기 전자 장치(550)는 수신한 상기 사용자 계정에 기반하여 설정된 제한 영역에 대한 정보를 메모리에 저장(550a)할 수 있다. The server 530 may store (530a) information on a restricted area set based on the received user account. In addition, the server 530 transmits the information on the restricted area set based on the received user account to the electronic device 550 connected to the wired/wireless network (eg, the electronic device 101 of FIG. 1 or the electronic device of FIG. 2 ). device 200 ) may transmit 530b . The electronic device 550 may store (550a) information on a restricted area set based on the received user account in a memory.

일 실시예에 따르면, 상기 제한 영역은 복수의 사용자 계정 별로 설정할 수 있다. 일 예로, 상기 복수의 사용자 계정 중 제1 사용자 계정의 제한 영역을 촬영하지 못하도록 다른 사용자 계정(예: 제1 사용자 계정을 제외한 사용자 계정들)마다 제한 영역을 설정할 수 있으며, 상기 복수의 사용자 계정에 포함된 사용자 계정 각각마다 제한 영역을 설정하여, 제한 영역이 설정된 사용자 계정을 제외한 다른 사용자 계정들이 상기 제한 영역을 촬영할 수 없도록 설정할 수 있다.According to an embodiment, the restricted area may be set for each of a plurality of user accounts. For example, a restricted area may be set for each other user account (eg, user accounts other than the first user account) to prevent the photographing of the restricted area of the first user account among the plurality of user accounts, A restricted area may be set for each included user account, so that other user accounts other than the user account for which the restricted area is set cannot photograph the restricted area.

다른 일 실시예에 따르면, 제1 사용자 계정(예: 관리자 계정 또는 소유자 계정)을 사용하는 사용자는 복수의 사용자 계정(예: 제1 계정을 제외한 계정들)에 대하여 상기 제1 사용자 계정을 기반으로, 상기 복수의 계정으로 접근할 수 없는 제한 영역을 설정할 수 있다. 예를 들어, 상기 복수의 사용자 계정이 접근할 수 없는 제한 영역은 각각 다를 수 있다.According to another embodiment, a user using a first user account (eg, an administrator account or an owner account) is based on the first user account with respect to a plurality of user accounts (eg, accounts other than the first account). , it is possible to set a restricted area that cannot be accessed by the plurality of accounts. For example, the restricted areas to which the plurality of user accounts cannot access may be different.

미도시 되었지만, 전자 장치(550)에 제한 영역을 설정하는 외부 전자 장치(510)는 복수 개일 수 있으며, 상기 복수의 외부 전자 장치(510)들은 복수의 사용자 계정에 기반하여 제한 영역을 설정할 수 있다. Although not shown, there may be a plurality of external electronic devices 510 for setting a restricted area in the electronic device 550 , and the plurality of external electronic devices 510 may set a restricted area based on a plurality of user accounts. .

일 실시예에서, 상기 외부 전자 장치(510)의 프로세서는 상기 전자 장치(550)의 카메라(예: 도 2의 카메라(201))를 제어하는 사용자 입력(500b)을 수신할 수 있다. 예를 들어, 상기 전자 장치(550)의 카메라를 제어하는 사용자 입력(500b)은 상기 외부 전자 장치(510)에서 실행되는 어플리케이션에 기반할 수 있다.In an embodiment, the processor of the external electronic device 510 may receive a user input 500b for controlling a camera (eg, the camera 201 of FIG. 2 ) of the electronic device 550 . For example, the user input 500b for controlling the camera of the electronic device 550 may be based on an application executed in the external electronic device 510 .

상기 사용자 입력(500b)을 수신한 상기 외부 전자 장치(510)의 프로세서는 상기 사용자 입력(500b)을 기반으로 상기 전자 장치(510)의 카메라를 제어하는 신호를 상기 서버(530)에 전송(510b)할 수 있으며, 상기 서버(530)는 수신한 카메라를 제어하는 신호를 상기 전자 장치(550)에 전송(530c)할 수 있다.Upon receiving the user input 500b, the processor of the external electronic device 510 transmits a signal for controlling the camera of the electronic device 510 to the server 530 based on the user input 500b (510b). ), and the server 530 may transmit (530c) the received signal for controlling the camera to the electronic device 550 .

상기 카메라의 제어와 관련된 신호는 상기 전자 장치(550)의 카메라의 움직임을 제어하는 신호 및 사용자 계정에 관한 정보를 포함할 수 있다.The signal related to the control of the camera may include a signal for controlling the movement of the camera of the electronic device 550 and information about a user account.

상기 전자 장치(550)의 프로세서는 수신한 카메라를 제어하는 신호를 기반으로, 상기 카메라의 움직임(예: 카메라의 좌우 이동을 나타내는 팬(pan) 및 카메라의 상하 이동을 나타내는 틸트(tilt)를 제어할 수 있다. 상기 전자 장치(550)의 프로세서는 상기 사용자 계정에 관한 정보에 기반하여, 상기 카메라 제어와 관련된 신호를 전송한 사용자 계정을 식별하고, 상기 식별된 사용자 계정에 대응하는 제한 영역을 식별(550b)할 수 있다. 이 때, 상기 제한 영역은 상기 다른 계정에 의해 외부 전자 장치에 접속한 계정에 설정된 영역일 수 있다. 상기 전자 장치(550)의 프로세서는 상기 카메라의 촬영 영역의 경계 점(예: 촬영 영역 테두리의 위치 좌표)이 식별한 제한 영역의 경계 점과 지정된 거리 이내에 위치하는 경우, 상기 카메라의 촬영 영역이 제한 영역을 우회(550c)하도록 할 수 있다. 또한, 카메라의 촬영 영역이 우회가 불가능할 경우, 상기 제한 영역에 대한 영상 데이터를 다른 영상 데이터로 대체(550c)할 수 있다. 상기 전자 장치(550)는 제한 영역을 우회하여 획득한 촬영 영상을 상기 서버(530)에 전송(550d)할 수 있다. 또는, 제한 영역이 우회가 불가능할 경우, 상기 전자 장치(550)는 제한 영역을 포함하는 촬영 영상을 획득하여, 제한 영역에 대한 영상 데이터를 다른 이미지 데이터(예: 디폴트 이미지)로 대체하거나 블랙(black) 처리 또는 블러(blur) 처리하여 상기 서버(530)에 전송(550d)할 수 있다. The processor of the electronic device 550 controls movement of the camera (eg, pan indicating left and right movement of the camera and tilt indicating vertical movement of the camera) based on the received camera control signal. The processor of the electronic device 550 identifies a user account that has transmitted a signal related to camera control based on the information about the user account, and identifies a restricted area corresponding to the identified user account (550b) In this case, the restricted area may be an area set in an account connected to an external electronic device by the other account. When the (eg, location coordinates of the edge of the photographing area) is located within a specified distance from the boundary point of the identified restricted area, the photographing area of the camera may bypass the restricted area (550c). If this bypass is impossible, the image data for the restricted area may be replaced with other image data (550c) The electronic device 550 transmits the captured image obtained by bypassing the restricted area to the server 530 Alternatively, if the restricted area cannot be bypassed, the electronic device 550 acquires a captured image including the restricted area and converts the image data for the restricted area to other image data (eg, a default image). ), or may be transmitted to the server 530 by black processing or blur processing (550d).

추가적으로, 상기 전자 장치(550)는 제한 영역이 우회가 불가능할 경우, 제한 영역에 대응하는 영상 데이터를 획득하지 않고, 제한 영역에 대응하는 부분은 다른 이미지로 대체하거나 블랙 처리 또는 블러 처리하여 상기 서버(530)에 촬영 영상을 전송할 수 있다. Additionally, when the restricted area cannot be bypassed, the electronic device 550 does not acquire image data corresponding to the restricted area, but replaces a portion corresponding to the restricted area with another image, or performs black processing or blurring to the server ( 530) may transmit the captured image.

상기 서버(530)는 상기 전자 장치(550)로부터 수신한 촬영 영상을 상기 외부 전자 장치(510)에 전송(530d)할 수 있다. 일 실시예에 따르면, 상기 전자 장치(550)는 획득한 촬영 영상을 상기 서버(530)에 전송할 수 있으며, 상기 외부 전자 장치(510)에도 선택적으로 전송할 수 있다.The server 530 may transmit (530d) the captured image received from the electronic device 550 to the external electronic device 510 . According to an embodiment, the electronic device 550 may transmit the acquired captured image to the server 530 , and may also selectively transmit the acquired image to the external electronic device 510 .

미도시 되었지만, 일 실시예에 따르면, 외부 전자 장치(510)는 서버(530)를 통하지 않고 전자 장치(550)에 접속하여 제한 영역 정보를 저장할 수 있다. 다른 일 실시예에 따르면, 외부 전자 장치(510)는 서버(530)를 통하지 않고 전자 장치(550)로 상기 전자 장치(550)의 카메라의 제어와 관련된 신호를 전송할 수 있다. Although not shown, according to an embodiment, the external electronic device 510 may access the electronic device 550 without going through the server 530 and store the restricted area information. According to another embodiment, the external electronic device 510 may transmit a signal related to the control of the camera of the electronic device 550 to the electronic device 550 without going through the server 530 .

도 6은 본 발명의 일 실시예에 따른, 카메라의 촬영 영역이 제한 영역을 우회하는 방법을 설명하기 위한 도면이다. FIG. 6 is a diagram for explaining a method of bypassing a restricted area by a photographing area of a camera according to an embodiment of the present invention.

도 6을 참조하면, 전자 장치(예: 도 2의 전자 장치(200))의 프로세서(예: 도 2의 프로세서(204))는 카메라(600)(예: 도 2의 카메라(201))를 제어하여, 촬영 영역(601)을 이동시킬 수 있다.Referring to FIG. 6 , the processor (eg, the processor 204 of FIG. 2 ) of the electronic device (eg, the electronic device 200 of FIG. 2 ) controls the camera 600 (eg, the camera 201 of FIG. 2 ). By controlling it, the photographing area 601 may be moved.

상기 프로세서는 상기 카메라(600)를 통해 획득되는 지정된 공간의 촬영 영상을 기반으로, 상기 촬영 영상 내의 지정된 공간을 복수 개의 영역으로 분할하여 인식할 수 있다. 상기 지정된 공간은 상기 카메라(600)가 설치되어 있는 공간으로, 예를 들어, 상기 카메라(600)의 움직임 예컨대, 상기 카메라(600)의 좌우 움직임을 나타내는 팬(pan) 및 상기 카메라(600)의 상하 움직임을 나타내는 틸트(tilt)를 기반으로 결정되는 촬영 가능한 영역일 수 있다. 다른 예를 들어, 상기 지정된 공간은 상기 카메라(600)를 포함하는 전자 장치가 이동 가능한 영역일 수 있다. 상기 프로세서는 상기 카메라(600)를 통해 획득한 촬영 영상 내에서, 상기 지정된 공간의 영역을 복수 개의 영역으로 분할할 수 있다. 또한, 상기 프로세서는 상기 카메라(600)의 해상도 또는 상기 카메라(600)의 줌 배율과 같은 상기 카메라(600)의 설정 값을 기반으로 상기 지정된 공간의 영역을 복수 개의 영역으로 분할할 수 있다. 상기 촬영 영상 내의 영역을 복수 개의 영역으로 분할하여 인식한 상기 프로세서는 수신한 카메라의 제어와 관련된 신호를 기반으로, 복수의 사용자 계정 별로 설정된 제한 영역을 식별할 수 있다. 상기 프로세서는 상기 카메라(600)의 촬영 영역(601)(예: 카메라의 FOV)이 상기 제한 영역에 진입하려는 경우, 기존의 이동 경로를 변경해 상기 제한 영역을 우회하여 촬영 대상이 있는 공간까지 상기 촬영 영역을 이동시킬 수 있다.The processor may divide and recognize the designated space in the captured image into a plurality of regions based on the captured image of the designated space obtained through the camera 600 . The designated space is a space in which the camera 600 is installed, for example, a pan indicating a movement of the camera 600 , for example, a left-right movement of the camera 600 , and a movement of the camera 600 . It may be an imageable area determined based on a tilt indicating vertical movement. As another example, the designated space may be an area in which the electronic device including the camera 600 is movable. The processor may divide the area of the designated space into a plurality of areas within the captured image acquired through the camera 600 . Also, the processor may divide the area of the designated space into a plurality of areas based on a setting value of the camera 600 such as a resolution of the camera 600 or a zoom magnification of the camera 600 . The processor, recognizing the region in the captured image by dividing the region into a plurality of regions, may identify the restricted region set for each of the plurality of user accounts based on the received signal related to the control of the camera. When the photographing area 601 (eg, the camera's FOV) of the camera 600 attempts to enter the restricted area, the processor changes the existing movement path to bypass the restricted area and take the photographing to the space where the photographing target is located. area can be moved.

일 실시예에 따르면, 상기 프로세서는 복수의 사용자 계정들 중 제1 사용자 계정을 통해 복수의 사용자 계정에 포함된 제2 사용자 계정의 제한 영역을 제1 제한 영역(610) 및 제2 제한 영역(620)으로 설정할 수 있다.상기 프로세서는, 상기 제2 사용자 계정의 제한 영역이 상기 제1 제한 영역(610) 및 상기 제2 제한 영역(620)으로 설정되면, 상기 제1 제한 영역(610) 및 상기 제2 제한 영역(620)에 대한 정보를 메모리(예: 도 2의 메모리(203))에 저장할 수 있다. 상기 전자 장치의 프로세서는 복수의 사용자 계정 중 제2 사용자 계정을 통해 제어되는 외부 전자 장치로부터 카메라의 제어와 관련된 신호를 수신한 경우, 상기 수신한 신호에 포함된 사용자 계정에 관한 정보를 기반으로 상기 촬영 영역(601)을 제어하는 사용자 계정이 제2 사용자 계정인 것을 판단할 수 있다. 상기 프로세서는, 메모리에 저장되어 있는 복수의 사용자 계정 각각에 설정된 제한 영역에 대한 정보를 기반으로 상기 식별한 제2 사용자 계정의 제한 영역이 상기 제1 제한 영역(610) 및 상기 제2 제한 영역(620)인 것을 식별할 수 있다.According to an embodiment, the processor is configured to define the limited area of the second user account included in the plurality of user accounts through the first user account among the plurality of user accounts, the first limited area 610 and the second limited area 620 . ). When the restricted area of the second user account is set to the first restricted area 610 and the second restricted area 620 , the processor is configured to include the first restricted area 610 and the Information on the second limited region 620 may be stored in a memory (eg, the memory 203 of FIG. 2 ). When the processor of the electronic device receives a signal related to camera control from an external electronic device controlled through a second user account among a plurality of user accounts, the processor of the electronic device is configured to receive a signal related to the control of the camera based on the user account information included in the received signal. It may be determined that the user account controlling the photographing area 601 is the second user account. The processor is configured such that the first restricted area 610 and the second restricted area ( 620) can be identified.

일 실시예에서, 상기 프로세서는 상기 외부 전자 장치로부터 전자 장치의 카메라의 제어와 관련된 신호를 수신할 수 있다. 예를 들어, 상기 프로세서는 상기 다른 제2 사용자가 제2 사용자 계정을 통해 제어하는 상기 외부 전자 장치로부터 상기 수신한 신호가 상기 촬영 영역(601)을 우측 맨 끝으로 이동하려는 신호인 것을 판단할 수 있는데, 상기 촬영 영역(601)의 이동 경로에 상기 제2 제한 영역(620)이 위치하고 있는 것을 판단할 수 있다. 따라서, 상기 프로세서는 상기 제2 사용자 계정이 로그인 된 상기 외부 전자 장치로부터 수신한 신호를 기반으로 상기 카메라(600)의 촬영 영역(601)이 상기 제1 제한 영역(610)과 상기 제2 제한 영역(620)에 진입하지 않고 우회하는 이동 경로(630)로 상기 카메라(600)의 움직임을 제어할 수 있다.In an embodiment, the processor may receive a signal related to control of a camera of the electronic device from the external electronic device. For example, the processor may determine that the signal received from the external electronic device controlled by the second user through a second user account is a signal for moving the photographing area 601 to the extreme right. However, it may be determined that the second restricted area 620 is located in the moving path of the photographing area 601 . Accordingly, the processor determines that the photographing area 601 of the camera 600 is divided into the first restricted area 610 and the second restricted area based on a signal received from the external electronic device to which the second user account is logged in. The movement of the camera 600 may be controlled by the movement path 630 that bypasses the entry 620 .

다양한 실시예에 따르면, 복수의 사용자 각각이 복수의 사용자 계정 각각에 제한 영역을 설정할 수 있다. 상기 프로세서는 상기 복수의 사용자들 중 제1 사용자가 복수의 사용자 계정 중 제1 사용자 계정의 제한 영역을 제1 제한 영역(610)으로 설정하고, 복수의 사용자 계정 중 제2 사용자 계정의 제한 영역을 제2 제한 영역(620)으로 설정하는 경우, 상기 제1 사용자 계정에 설정된 제1 제한 영역(610)에 대한 정보 및 상기 제2 사용자 계정에 설정된 제2 제한 영역(620)에 대한 정보를 메모리(예: 도 2의 메모리(203))에 저장할 수 있다.According to various embodiments, each of the plurality of users may set a restricted area in each of the plurality of user accounts. The processor sets the limit area of the first user account among the plurality of user accounts by the first user among the plurality of users as the first limit area 610, and sets the limit area of the second user account among the plurality of user accounts. When setting the second restricted area 620, information on the first restricted area 610 set in the first user account and information on the second restricted area 620 set in the second user account are stored in the memory ( For example, it may be stored in the memory 203 of FIG. 2 ).

일 실시예에서, 상기 전자 장치의 프로세서는 상기 카메라의 제어와 관련된 신호(예: 촬영 영역을 우측으로 이동)를 수신한 경우, 상기 수신한 신호에 포함된 사용자 계정에 관한 정보를 기반으로, 제1 사용자 계정이 상기 촬영 영역(601)을 제어하는 것으로 판단할 수 있다. 상기 외부 전자 장치를 제어하는 사용자 계정을 식별한 상기 전자 장치의 프로세서는, 상기 메모리에 저장되어 있는 제한 영역에 대한 정보를 기반으로 상기 제1 제한 영역(610) 및 상기 제2 제한 영역(620)을 식별할 수 있다. 상기 프로세서는 상기 수신한 카메라의 제어와 관련된 신호를 기반으로, 상기 제1 사용자 계정이 제어하는 상기 촬영 영역(601)이 상기 제2 사용자 계정에 설정된 제한 영역인 상기 제2 제한 영역(620)을 우회하도록 제어할 수 있다.In an embodiment, when the processor of the electronic device receives a signal related to the control of the camera (eg, moving the shooting area to the right), based on the information about the user account included in the received signal, It may be determined that one user account controls the photographing area 601 . The processor of the electronic device, which has identified a user account for controlling the external electronic device, is configured to perform the first restricted area 610 and the second restricted area 620 based on information on the restricted area stored in the memory. can be identified. The processor selects, based on the received signal related to the control of the camera, the second limited area 620 in which the photographing area 601 controlled by the first user account is a restricted area set in the second user account. It can be controlled to bypass.

다른 일 실시예에서, 상기 프로세서가 상기 제2 사용자 계정이 접속된 상기 외부 전자 장치로부터 상기 촬영 영역(601)을 좌측 맨 끝 상단으로 이동시키려는 카메라의 제어와 관련된 신호를 수신한 경우, 상기 프로세서는 이동 경로에 상기 제1 사용자 계정에 설정된 제한 영역인 상기 제1 제한 영역(610)이 위치하고 있는 것을 판단할 수 있다. 상기 프로세서는 상기 판단 결과를 기반으로, 상기 촬영 영역(601)을 이동시키지 않거나, 상기 제1 제한 영역(610)과 인접한 영역으로 상기 촬영 영역(601)을 이동시킬 수 있다.In another embodiment, when the processor receives a signal related to the control of the camera to move the photographing area 601 to the upper left end from the external electronic device to which the second user account is connected, the processor is configured to: It may be determined that the first restricted area 610, which is a restricted area set in the first user account, is located on the moving path. Based on the determination result, the processor may not move the photographing area 601 or may move the photographing area 601 to an area adjacent to the first limited area 610 .

도 7은 본 발명의 일 실시예에 따른, 카메라의 촬영 영역이 제한 영역을 우회 또는 통과하는 방법을 설명하기 위한 도면이다. 7 is a view for explaining a method of bypassing or passing a restricted area by a photographing area of a camera according to an embodiment of the present invention.

도 7을 참조하면, 전자 장치(예: 도 2의 전자 장치(200))의 프로세서(예: 도 2의 프로세서(204))는 카메라(700)(예: 도 2의 카메라(201))를 제어하여, 촬영 영역(701)(예: 도 6의 촬영 영역(601))을 이동시킬 수 있다.Referring to FIG. 7 , the processor (eg, the processor 204 of FIG. 2 ) of the electronic device (eg, the electronic device 200 of FIG. 2 ) controls the camera 700 (eg, the camera 201 of FIG. 2 ). By controlling it, the photographing area 701 (eg, the photographing area 601 of FIG. 6 ) may be moved.

상기 프로세서는 상기 카메라(700)를 통해 획득되는 지정된 공간의 촬영 영상을 기반으로, 상기 촬영 영상 내의 지정된 공간을 복수 개의 영역으로 분할하여 인식할 수 있다. 상기 지정된 공간은 상기 카메라(700)가 설치되어 있는 공간으로, 상기 카메라(700)의 움직임 예컨대, 상기 카메라(700)의 좌우 움직임을 나타내는 팬(pan) 및 상기 카메라(700)의 상하 움직임을 나타내는 틸트(tilt)를 기반으로 결정되는 촬영 가능한 영역일 수 있다. 다른 예를 들어, 상기 지정된 공간은 상기 카메라(700)를 포함하는 전자 장치가 이동 가능한 영역일 수 있다. 상기 프로세서는 상기 카메라(700)를 통해 획득한 촬영 영상 내에서, 상기 지정된 공간의 영역을 복수 개의 영역으로 분할할 수 있다. 또한, 상기 프로세서는 상기 카메라(700)의 해상도 또는 상기 카메라(700)의 줌 배율과 같은 상기 카메라(700)의 설정 값에 따라, 상기 지정된 공간의 영역을 복수 개의 영역으로 분할할 수 있다. 상기 촬영 영상 내의 영역을 복수 개의 영역으로 분할하여 인식한 상기 프로세서는 복수의 사용자 각각이 복수의 계정 별로 설정한 제한 영역 또는 복수의 사용자 계정 중 제1 사용자 계정(예: 관리자 계정 또는 소유자 계정)에 기반하여 복수의 사용자 계정(예: 제1 사용자 계정을 제외한 다른 사용자 계정) 각각에 설정한 제한 영역을 식별할 수 있다. 상기 프로세서는 제2 사용자 계정에 의해 제어되는 상기 카메라(700)의 촬영 영역(701)(예: 카메라의 FOV)이 상기 제1 사용자 계정의 제한 영역에 진입하려는 경우, 기존의 이동 경로를 변경해 상기 제1 사용자 계정에 설정된 제한 영역을 우회할 수 있다. 또한, 상기 프로세서는 상기 제1 사용자 계정(예: 관리자 계정 또는 소유자 계정)에 기반한 외부 전자 장치로부터 상기 카메라(700)의 제어와 관련된 신호를 수신한 경우, 상기 제1 사용자 계정에 제한 영역이 설정되어 있지 않아, 상기 제1 사용자 계정이 제어하는 상기 촬영 영역(701)이 지정된 공간의 영역을 제한없이 이동하거나 촬영할 수 있다.The processor may divide and recognize the designated space in the captured image into a plurality of regions based on the captured image of the designated space obtained through the camera 700 . The designated space is a space in which the camera 700 is installed, and a pan indicating a movement of the camera 700 , for example, a left and right movement of the camera 700 and a vertical movement of the camera 700 . It may be an imageable area determined based on a tilt. As another example, the designated space may be an area in which the electronic device including the camera 700 is movable. The processor may divide the area of the designated space into a plurality of areas within the captured image acquired through the camera 700 . In addition, the processor may divide the area of the designated space into a plurality of areas according to a set value of the camera 700 such as a resolution of the camera 700 or a zoom magnification of the camera 700 . The processor, recognizing that the area within the captured image is divided into a plurality of areas, is stored in a first user account (eg, an administrator account or an owner account) among a limited area or a plurality of user accounts set by each of a plurality of users for a plurality of accounts. Based on the plurality of user accounts (eg, other user accounts other than the first user account), the restricted area set for each may be identified. The processor changes the existing movement path when the capturing area 701 (eg, the FOV of the camera) of the camera 700 controlled by the second user account attempts to enter the restricted area of the first user account. It is possible to bypass the restricted area set in the first user account. In addition, when the processor receives a signal related to control of the camera 700 from an external electronic device based on the first user account (eg, an administrator account or an owner account), a restricted area is set in the first user account Since it is not done, the photographing area 701 controlled by the first user account can move or photograph an area of a designated space without limitation.

일 실시예에 따르면, 상기 프로세서는 제1 사용자 계정(예: 관리자 계정 또는 소유자 계정)을 기반으로 복수의 사용자 계정 중 제2 사용자 계정의 제한 영역을 제1 제한 영역(710) 및 제2 제한 영역(720)으로 설정할 수 있다. 상기 프로세서는, 상기 제2 사용자 계정에 설정된 상기 제1 제한 영역(710) 및 상기 제2 제한 영역(720)에 대한 정보를 메모리(예: 도 2의 메모리(203))에 저장할 수 있다. 상기 전자 장치의 프로세서는 상기 제2 사용자 계정을 통해 제어하는 외부 전자 장치로부터 상기 카메라의 이동과 관련된 신호를 수신한 경우, 상기 수신한 신호에 포함된 계정에 관한 정보를 기반으로 상기 촬영 영역(701)을 제어하는 사용자 계정이 제2 사용자 계정인 것을 판단할 수 있다. 상기 사용자 계정을 판단한 프로세서는, 제한 영역에 대한 정보를 기반으로 상기 다른 제2 사용자 계정에 설정된 제한 영역이 상기 제1 제한 영역(710) 및 상기 제2 제한 영역(720)인 것을 식별할 수 있다.According to an embodiment, the processor sets the first limited area 710 and the second restricted area of the second user account among the plurality of user accounts based on the first user account (eg, an administrator account or an owner account). (720). The processor may store information on the first limited area 710 and the second limited area 720 set in the second user account in a memory (eg, the memory 203 of FIG. 2 ). When the processor of the electronic device receives a signal related to movement of the camera from the external electronic device controlled through the second user account, the photographing area 701 is based on account information included in the received signal. ), it can be determined that the user account controlling the second user account. The processor determining the user account may identify that the restricted area set in the other second user account is the first restricted area 710 and the second restricted area 720 based on the information on the restricted area. .

상기 전자 장치의 프로세서는 상기 외부 전자 장치로부터 상기 수신한 신호가 상기 촬영 영역(701)을 우측 맨 끝으로 이동하려는 신호인 것을 판단할 수 있다. 상기 전자 장치의 프로세서는, 수신한 신호를 기반으로 상기 촬영 영역(701)의 이동 경로(예: 이동 경로(730))에 상기 제2 제한 영역(720)이 위치하고 있는 것을 판단할 수 있다. 따라서, 상기 프로세서는 상기 제2 사용자 계정을 통해 제어하는 외부 전자 장치로부터 수신한 신호를 기반으로 제어되는 상기 촬영 영역(701)이 상기 제2 사용자 계정의 제한 영역인 상기 제1 제한 영역(710) 및 상기 제2 제한 영역(720)에 진입하지 않는 이동 경로(740)로 상기 카메라(700)의 움직임을 제어할 수 있다.The processor of the electronic device may determine that the signal received from the external electronic device is a signal for moving the photographing area 701 to the far right. The processor of the electronic device may determine that the second restricted area 720 is located in a movement path (eg, movement path 730 ) of the photographing area 701 based on the received signal. Accordingly, the processor determines that the photographing area 701 controlled based on a signal received from an external electronic device controlled through the second user account is the first restricted area 710 that is a restricted area of the second user account. And it is possible to control the movement of the camera 700 by the movement path 740 that does not enter the second restricted area 720 .

일 실시예에서, 상기 프로세서가 상기 제1 사용자 계정을 통해 제어하는 외부 전자 장치로부터 상기 카메라의 이동과 관련된 신호를 수신한 경우, 상기 수신한 신호에 포함된 사용자 계정에 관한 정보를 기반으로 상기 촬영 영역(701)을 제어하는 사용자 계정이 제1 사용자 계정인 것을 판단할 수 있다. 따라서, 상기 제1 사용자 계정을 통해 제어하는 외부 전자 장치로부터 수신한 신호가 상기 촬영 영역(701)을 우측 방향으로 이동하려는 신호인 경우, 상기 촬영 영역(701)이 상기 제2 제한 영역(720)을 우회하지 않고, 상기 제2 제한 영역(720)에 진입하는 이동 경로(730)로 상기 카메라(700)를 제어할 수 있다.In an embodiment, when the processor receives a signal related to movement of the camera from an external electronic device controlled through the first user account, the photographing is performed based on the user account information included in the received signal It may be determined that the user account controlling the area 701 is the first user account. Accordingly, when the signal received from the external electronic device controlled through the first user account is a signal for moving the photographing area 701 to the right, the photographing area 701 is the second restricted area 720 . It is possible to control the camera 700 by the movement path 730 entering the second restricted area 720 without bypassing.

도 8은 본 발명의 일 실시예에 따른, 카메라의 촬영 영역이 제한 영역에 진입하여 이동하는 방법을 설명하기 위한 도면이다. 8 is a diagram for explaining a method of moving a photographing area of a camera by entering a restricted area according to an embodiment of the present invention.

도 8을 참조하면, 전자 장치(예: 도 2의 전자 장치(200))의 프로세서(예: 도 2의 프로세서(204))는 카메라(800)(예: 도 2의 카메라(201))를 제어하여, 촬영 영역(801)(예: 도 6의 촬영 영역(601))을 이동시킬 수 있다.Referring to FIG. 8 , the processor (eg, the processor 204 of FIG. 2 ) of the electronic device (eg, the electronic device 200 of FIG. 2 ) controls the camera 800 (eg, the camera 201 of FIG. 2 ). By controlling it, the photographing area 801 (eg, the photographing area 601 of FIG. 6 ) may be moved.

상기 프로세서는 외부 전자 장치로부터 수신한 상기 카메라(800)의 제어와 관련된 신호를 기반으로, 상기 외부 전자 장치에 접속한 사용자 계정을 식별할 수 있다. 또한, 상기 프로세서는 식별한 사용자 계정에 설정된 제한 영역을 식별할 수 있다. 상기 사용자 계정에 설정된 제한 영역을 식별한 상기 프로세서는 상기 카메라(800)의 촬영 영역(801)이 상기 제한 영역에 진입하려는 경우, 기존의 이동 경로를 변경해 상기 제한 영역을 우회할 수 있다. 일 실시예에서, 상기 촬영 영역(801)이 상기 제한 영역에 대해 우회가 불가능 할 경우, 상기 프로세서는 제한 영역을 포함하는 촬영 영상을 획득한 후, 제한 영역의 영상 데이터를 다른 이미지 데이터로 대체하거나, 그래픽 효과를 적용할 수 있다. 다른 일 실시예에서, 상기 촬영 영역(801)이 상기 제한 영역에 대해 우회가 불가능 할 경우, 상기 프로세서는 제한 영역에 대해서는 촬영 영상을 획득하지 않고, 제한 영역의 영상 데이터를 다른 이미지 데이터로 대체하거나, 그래픽 효과를 적용할 수 있다.The processor may identify a user account accessing the external electronic device based on a signal related to control of the camera 800 received from the external electronic device. Also, the processor may identify a restricted area set in the identified user account. When the photographing area 801 of the camera 800 attempts to enter the restricted area, the processor, which has identified the restricted area set in the user account, may change the existing movement path to bypass the restricted area. In an embodiment, when the capturing area 801 cannot be bypassed with respect to the restricted area, the processor acquires a captured image including the restricted area and then replaces the image data of the restricted area with other image data or , graphic effects can be applied. In another embodiment, when the capturing area 801 cannot be bypassed with respect to the restricted area, the processor does not acquire a captured image for the restricted area, but replaces the image data of the restricted area with other image data, or , graphic effects can be applied.

일 실시예에 따르면, 상기 프로세서는 복수의 사용자 계정들 중 제1 사용자 계정을 통해 상기 제1 사용자 계정을 제외한 복수 개의 사용자 계정 각각에 제한 영역(810)을 설정하면, 상기 제한 영역(810)에 대한 정보를 메모리(예: 도 2의 메모리(203))에 저장할 수 있다. 상기 프로세서는 상기 복수의 사용자 계정 중 제2 사용자 계정을 통해 제어하는 외부 전자 장치로부터 상기 카메라의 제어와 관련된 신호를 수신한 경우, 상기 수신한 신호를 기반으로 상기 촬영 영역(801)을 제어하는 사용자 계정이 상기 제2 사용자 계정인 것을 판단할 수 있다. 상기 프로세서는, 상기 제한 영역(810)에 대한 정보를 기반으로 상기 제2 사용자 계정에 설정된 제한 영역(810)을 식별할 수 있다. 또한, 상기 프로세서는 상기 카메라의 제어와 관련된 신호를 기반으로 상기 제2 사용자 계정에 기반하여 제어되는 상기 카메라의 촬영 영역(801)이 상기 식별한 제한 영역(810)에 접근하는지 여부를 식별할 수 있다.According to an embodiment, when the processor sets the restricted area 810 in each of a plurality of user accounts except for the first user account through a first user account among a plurality of user accounts, the restricted area 810 is information about the information may be stored in a memory (eg, the memory 203 of FIG. 2 ). When the processor receives a signal related to control of the camera from an external electronic device controlled through a second user account among the plurality of user accounts, the user controls the capturing area 801 based on the received signal It may be determined that the account is the second user account. The processor may identify the restricted area 810 set in the second user account based on the information on the restricted area 810 . In addition, the processor may identify whether the photographing area 801 of the camera controlled based on the second user account approaches the identified restricted area 810 based on a signal related to the control of the camera. have.

상기 프로세서는 상기 제2 사용자 계정에 기반하여 외부 전자 장치로부터 수신한 신호가 상기 촬영 영역(801)을 우측 맨 끝으로 이동하려는 신호인 것을 판단할 수 있다. 상기 프로세서는 상기 촬영 영역(801)의 경계 점(예: 촬영 영역의 테두리의 위치 좌표)과 상기 제한 영역(810)의 경계 점(예: 제한 영역의 테두리의 위치 좌표)이 지정된 거리 이내인지 판단할 수 있다. 상기 프로세서는 상기 촬영 영역(801)의 경계 점(예: 촬영 영역의 테두리의 위치 좌표)과 상기 제한 영역(810)의 경계 점(예: 제한 영역의 테두리의 위치 좌표)이 지정된 거리 이내인 경우, 우회 경로를 스캔할 수 있다. 다만, 상기 스캔한 촬영 영역(801)에 우회 경로가 없는 경우, 상기 프로세서는 상기 외부 전자 장치로부터 수신한 신호를 기반으로 제어되는 상기 촬영 영역(801)을 상기 제한 영역(810)에 진입하는 경로(820)로 이동할 수 있다. 상기 프로세서는 상기 촬영 영역(801)을 상기 제한 영역(810)에 진입시킴에 따라, 상기 카메라(800)를 통해 상기 제한 영역(810)을 포함하는 촬영 영상을 획득할 수 있다. 일 실시예에 따르면, 상기 프로세서는 상기 촬영 영상에 포함되어 있는 상기 제한 영역(810)의 영상 데이터를 보안 처리한 촬영 영상을 상기 제2 사용자 계정이 접속된 외부 전자 장치로 전송할 수 있다. 예를 들어, 보안 처리한 영상은 상기 제한 영역(810)의 영상 데이터를 다른 이미지 데이터(예: 디폴트 이미지 데이터)로 대체하거나 그래픽 효과(예: 블랙 처리 또는 블러 처리)를 적용한 영상일 수 있다. 다른 일 실시예에 따르면, 상기 프로세서는 상기 촬영 영역(801)을 상기 제한 영역(810)에 진입시킴에 따라, 상기 카메라(800)를 통해 상기 제한 영역(810)에 대한 촬영 영상을 획득하지 않고 상기 제한 영역(810)에 대해 보안 처리를 한 촬영 영상을 상기 외부 전자 장치에 제공할 수 있다.The processor may determine that the signal received from the external electronic device is a signal for moving the photographing area 801 to the extreme right, based on the second user account. The processor determines whether a boundary point of the photographing area 801 (eg, location coordinates of the edge of the photographing area) and a boundary point of the limited area 810 (eg, location coordinates of the edge of the limited area) are within a specified distance can do. When the boundary point of the photographing area 801 (eg, the position coordinate of the edge of the photographing area) and the boundary point of the limited area 810 (eg, the position coordinate of the edge of the limited area) are within a specified distance , can scan the bypass route. However, when there is no detour path in the scanned photographing area 801 , the processor enters the restricted area 810 through the photographing area 801 controlled based on a signal received from the external electronic device You can move to 820 . The processor may acquire a captured image including the restricted area 810 through the camera 800 as the capturing area 801 enters the restricted area 810 . According to an embodiment, the processor may transmit a captured image obtained by processing image data of the restricted area 810 included in the captured image to an external electronic device to which the second user account is connected. For example, the security-processed image may be an image to which the image data of the restricted area 810 is replaced with other image data (eg, default image data) or to which a graphic effect (eg, black processing or blur processing) is applied. According to another embodiment, as the processor enters the photographing area 801 into the restricted area 810 , the captured image of the restricted area 810 is not acquired through the camera 800 . A captured image obtained by performing security processing on the restricted area 810 may be provided to the external electronic device.

도 9는 본 발명의 일 실시예에 따른, 촬영 영역과 중첩되는 제한 영역의 크기를 계산하는 방법을 설명하기 위한 도면이다. 9 is a diagram for describing a method of calculating a size of a limited area overlapping a photographing area according to an embodiment of the present invention.

도 9를 참조하면, 전자 장치(예: 도 2의 전자 장치(200))의 프로세서(예: 도 2의 프로세서(204))는 카메라(예: 도 2의 카메라(201))를 통해 획득되는 특정 공간의 촬영 영상 내의 전체 영역을 복수 개의 영역으로 분할하여 인식할 수 있다. 상기 프로세서는 인식한 상기 복수 개의 영역에 포함되어 있는 제한 영역(900)이 상기 카메라의 촬영 영역(900)(예: 도 6의 촬영 영역(601))과 중첩되는 부분의 크기를 계산할 수 있다.Referring to FIG. 9 , the processor (eg, the processor 204 of FIG. 2 ) of the electronic device (eg, the electronic device 200 of FIG. 2 ) is acquired through a camera (eg, the camera 201 of FIG. 2 ). An entire region in a captured image of a specific space may be divided into a plurality of regions and recognized. The processor may calculate a size of a portion in which the restricted area 900 included in the recognized plurality of areas overlaps the photographing area 900 of the camera (eg, the photographing area 601 of FIG. 6 ).

상기 촬영 영상 내의 전체 영역을 복수 개의 영역으로 분할하여 인식한 상기 프로세서는 상기 복수 개의 영역 각각의 위치 좌표 및 상기 복수 개의 영역 각각의 크기를 식별할 수 있다. 상기 프로세서는 상기 식별한 상기 복수 개의 영역 각각의 위치 좌표 및 상기 복수 개의 영역 각각의 크기를 기반으로, 상기 복수 개의 영역 각각에 상기 카메라의 촬영 영역(900)(예: 도 6의 촬영 영역(601))이 중첩되는 부분의 크기를 인식하여 중첩되는 부분에 대응하는 영상 데이터를 디폴트 이미지 데이터로 대체하거나, 그래픽 효과(예: 블랙 처리 또는 블러 처리)를 적용하여, 보안 처리할 수 있다.The processor, recognizing that the entire area in the captured image is divided into a plurality of areas, may identify position coordinates of each of the plurality of areas and sizes of each of the plurality of areas. Based on the identified position coordinates of each of the plurality of areas and the size of each of the plurality of areas, the processor is configured to place the photographing area 900 of the camera in each of the plurality of areas (eg, the photographing area 601 in FIG. 6 ). ))), by recognizing the size of the overlapping portion, the image data corresponding to the overlapping portion may be replaced with default image data, or a graphic effect (eg, black processing or blur processing) may be applied for security processing.

일 실시예에 따르면, 상기 프로세서가 상기 촬영 영상 내의 영역을 복수 개의 영역으로 분할하여 인식하는 경우, 상기 프로세서는 상기 인식한 복수 개의 영역에 포함된 영역 중 (p1, t1), (p2, t1), (p1, t2), (p2, t2)의 위치 좌표를 가지고 있는 제 1 영역(910)과 (p2, t1), (p3, t1), (p2, t2), (p3, t2)의 위치 좌표를 가지고 있는 제2 영역(920)을 식별할 수 있다. 이 때, 위치 좌표는 상기 카메라의 움직임(예: pan & tilt)에 의해 결정되는 좌표로 상기 pan은 상기 카메라의 좌우 이동과 관련되어 있으며, 상기 tilt는 상기 카메라의 상하 이동과 관련되어 있다. 즉, 상기 pan은 x축일 수 있으며, 상기 tilt는 y축일 수 있다. 일 실시예에 따르면, 상기 프로세서는 제한 영역의 경계 점들(예: 제한 영역의 테두리에 대한 위치 좌표들)을 기반으로 제한 영역을 식별할 수 있고, 제한 영역의 가로 길이, 세로 길이 및 하나의 시작점을 기반으로, 제한 영역을 식별할 수 있다.According to an embodiment, when the processor divides and recognizes the region in the captured image into a plurality of regions, the processor is configured to recognize (p1, t1), (p2, t1) among regions included in the recognized plurality of regions. , (p1, t2), (p2, t2) having the position coordinates of the first region 910 and the positions of (p2, t1), (p3, t1), (p2, t2), (p3, t2) The second region 920 having coordinates may be identified. In this case, the position coordinates are coordinates determined by the movement of the camera (eg, pan & tilt). The pan is related to the left and right movement of the camera, and the tilt is related to the vertical movement of the camera. That is, the pan may be an x-axis, and the tilt may be a y-axis. According to an embodiment, the processor may identify the restriction area based on boundary points of the restriction area (eg, position coordinates with respect to the edge of the restriction area), and a horizontal length, a vertical length, and one starting point of the restriction area. Based on , a restricted region may be identified.

상기 프로세서는 상기 위치 좌표를 가지고 있는 영역에 상기 촬영 영역(900)이 상기 제1 영역(910)의 위치 좌표를 가지고 있는 영역에 진입하기 시작하면, 상기 프로세서는 상기 제1 영역(910)의 위치 좌표를 가지고 있는 영역에 상기 촬영 영역(900)이 얼마만큼 중첩되었는지 인식할 수 있다. 상기 프로세서는 상기 인식 결과를 기반으로 상기 촬영 영역이 중첩되는 상기 제한 영역의 부분에 대응하는 영상 데이터를 디폴트 이미지 데이터로 대체하거나 그래픽 효과(예: 블랙 처리 또는 블러 처리)를 적용하여 상기 촬영 영역이 중첩되는 제한 영역에 대해 보안 처리를 수행할 수 있다.When the processor starts to enter the area having the location coordinates of the photographing area 900 into the area having the location coordinates of the first area 910 in the area having the location coordinates, the processor determines the location of the first area 910 It is possible to recognize how much the photographing area 900 overlaps the area having the coordinates. The processor replaces the image data corresponding to the portion of the limited area where the photographing area overlaps with default image data based on the recognition result or applies a graphic effect (eg, black processing or blur processing) to change the photographing area Security processing can be performed on overlapping restricted areas.

도 10은 본 발명의 일 실시예에 따른, 제한 영역을 재설정하는 방법을 설명하기 위한 도면이다.10 is a diagram for explaining a method of resetting a restricted area according to an embodiment of the present invention.

도 10을 참조하면, 동작 1001에서 전자 장치(예: 도 2의 전자 장치(200))의 프로세서(예: 도 2의 프로세서(204))는 카메라(예: 도 2의 카메라(201))를 제어하여, 제1 위치(예: 현재 위치)에서 촬영 영상을 획득하고, 상기 촬영 영상을 기반으로 제한 영역에 대한 정보를 획득할 수 있다. Referring to FIG. 10 , in operation 1001 , the processor (eg, the processor 204 of FIG. 2 ) of the electronic device (eg, the electronic device 200 of FIG. 2 ) uses a camera (eg, the camera 201 of FIG. 2 ). By controlling it, a captured image may be obtained at a first location (eg, a current location), and information on a restricted area may be obtained based on the captured image.

상기 제한 영역에 대한 정보는 상기 제1 위치에서 획득한 상기 촬영 영상 내의 상기 제한 영역의 위치 정보(예: 제한 영역의 위치 좌표)를 포함할 수 있다. 예를 들어, 상기 프로세서는 상기 제1 위치에서 획득한 촬영 영상 내의 제한 영역의 위치 정보인 (p3, t3), (p6, t6)라는 위치 좌표를 획득할 수 있다.The information on the restricted area may include location information (eg, location coordinates of the restricted area) of the restricted area in the captured image acquired at the first location. For example, the processor may obtain location coordinates of (p3, t3), (p6, t6), which are location information of a restricted area in the captured image acquired at the first location.

동작 1003에서 상기 프로세서는 상기 카메라의 위치가 상기 제1 위치에서 제2 위치로 변경되지는 여부를 판단할 수 있다. In operation 1003, the processor may determine whether the position of the camera is changed from the first position to the second position.

상기 카메라의 위치가 상기 제1 위치에서 상기 제2 위치로 변경되는 경우, 동작 1005와 같이 상기 프로세서는 상기 제1 위치에서 획득한 촬영 영상 내의 제한 영역에 대한 위치 정보와 상기 제2 위치에서 획득한 상기 촬영 영상 내의 제한 영역에 대한 위치 정보를 비교할 수 있다.When the position of the camera is changed from the first position to the second position, as in operation 1005, the processor obtains position information about a limited area in the captured image obtained at the first position and the position information obtained from the second position. It is possible to compare location information on the restricted area in the captured image.

상기 프로세서는 상기 전자 장치의 위치가 변경되는 경우, 전체 공간을 스캔할 수 있다. 상기 프로세서는 스캔하여 획득한 영상 데이터에서, 기 설정되었던 제한 영역과 유사한 영역을 검출한 후, 기 설정되었던 제한 영역의 주변에 배치되었던 객체와 검출한 유사한 영역의 주변에 배치된 객체의 유사도를 측정할 수 있다. 상기 측정한 유사도가 지정된 값 이상인 경우, 상기 프로세서는 제한 영역이 위치가 변경되었다는 것을 판단할 수 있다. 상기 프로세서는 제한 영역의 위치가 변경된 경우, 기 설정된 제한 영역의 위치 좌표와 위치가 변경된 후의 제한 영역의 위치 좌표를 비교할 수 있다. When the location of the electronic device is changed, the processor may scan the entire space. The processor detects a region similar to a preset limited region from the image data obtained by scanning, and then measures the similarity between the object arranged around the preset limited region and the object arranged around the detected similar region. can do. When the measured similarity is greater than or equal to a specified value, the processor may determine that the location of the restricted area has been changed. When the position of the limited region is changed, the processor may compare the position coordinates of the preset limited region with the position coordinates of the limited region after the position is changed.

상기 카메라의 위치가 이동하여 상기 제2 위치로 변경되는 경우, 상기 프로세서는 상기 카메라를 통해 특정 공간을 전체적으로 스캔하여 영상 데이터를 획득할 수 있다.When the position of the camera is moved and changed to the second position, the processor may acquire image data by scanning the entire specific space through the camera.

상기 프로세서는 획득한 영상 데이터에서, 상기 제1 위치에서 획득한 촬영 영상 내의 제한 영역과 유사한 영역을 검출할 수 있다. 상기 프로세서는 상기 제1 위치에서의 제한 영역 주변에 배치된 객체와 상기 검출한 유사한 영역 주변에 배치된 객체의 유사도를 측정할 수 있다. 상기 객체의 유사도가 지정된 값 이상인 경우, 상기 프로세서는 상기 유사한 영역이 제2 위치에서의 제한 영역인 것을 판단할 수 있다.The processor may detect, from the acquired image data, a region similar to the limited region in the captured image acquired at the first position. The processor may measure a degree of similarity between an object disposed around the restricted area at the first location and an object disposed around the detected similar area. When the degree of similarity of the object is equal to or greater than a specified value, the processor may determine that the similar area is a restricted area at the second location.

상기 프로세서는 상기 제1 위치에서 획득한 촬영 영상 내의 제한 영역의 위치 정보 (p3, t3), (p6, t6)와 상기 제2 위치에서의 획득한 촬영 영상 내의 제한 영역의 위치 정보 (p7, t4), (p10, t7)를 비교할 수 있다.The processor includes location information (p3, t3), (p6, t6) of the restricted area in the captured image acquired at the first location and location information (p7, t4) of the restricted area in the captured image acquired at the second location ), (p10, t7) can be compared.

상기 프로세서는 비교 결과를 기반으로 상기 카메라의 위치가 상기 촬영 영역 상의 좌표로 우측으로 (p3, t1)만큼 이동된 것을 판단할 수 있다.The processor may determine that the position of the camera is moved to the right by (p3, t1) to the coordinates on the photographing area based on the comparison result.

상기 제1 위치와 상기 제2 위치에서의 제한 영역의 위치 정보를 비교한 상기 프로세서는, 동작 1007과 같이 비교 결과를 기반으로 상기 제한 영역의 위치 좌표를 좌측으로 (p3, t1)만큼 보정하여, 상기 제한 영역을 재설정할 수 있다.The processor, which has compared the position information of the limited region in the first position and the second position, corrects the position coordinates of the limited region to the left by (p3, t1) based on the comparison result as in operation 1007, The restricted area may be reset.

다른 실시예에 따르면, 상기 제한 영역을 재설정하는 동작은 상기 전자 장치가 자동으로 재설정하는 동작뿐만 아니라, 복수의 사용자 계정 중 제1 사용자 계정(예: 관리자 계정 또는 소유자 계정)을 사용하고 있는 사용자에 의해 재설정될 수 있다. 상기 제1 사용자 계정을 통해 제한 영역이 재설정되는 경우, 복수의 사용자 계정 중 다른 사용자 계정에 설정되어 있던 제한 영역의 위치 정보 또한 상기 제1 사용자 계정을 사용하고 있는 사용자에 의해 재설정되어 변경된 위치 좌표만큼 변경되어 재설정할 수 있다.According to another embodiment, the resetting of the restricted area may be performed not only by the electronic device automatically resetting, but also by a user using a first user account (eg, an administrator account or an owner account) among a plurality of user accounts. can be reset by When the restricted area is reset through the first user account, the location information of the restricted area set in another user account among a plurality of user accounts is also reset by the user using the first user account, and the changed location coordinates changed and can be reset.

도 11은 본 발명의 일 실시예에 따른, 제한 영역을 재설정하는 다른 방법을 설명하기 위한 도면이다.11 is a diagram for explaining another method of resetting a restricted area according to an embodiment of the present invention.

도 11을 참조하면, 동작 1101에서 전자 장치(예: 도 2의 전자 장치(200))의 프로세서(예: 도 2의 프로세서(204))는 카메라(예: 도 2의 카메라(201))를 제어하여, 제1 위치(예: 현재 위치)에서 촬영 영상을 획득할 수 있다.Referring to FIG. 11 , in operation 1101 , the processor (eg, the processor 204 of FIG. 2 ) of the electronic device (eg, the electronic device 200 of FIG. 2 ) uses a camera (eg, the camera 201 of FIG. 2 ). By controlling it, the captured image may be acquired at the first location (eg, the current location).

동작 1103에서 상기 프로세서는 상기 카메라의 위치가 상기 제1 위치에서 제2 위치로 변경되지는 여부를 판단할 수 있다. 일 실시예에서, 전자 장치(예: 도 2의 전자 장치(200))는 센서 모듈(예: 도 1의 센서 모듈(176)) 또는 통신 모듈(예: 도 1의 통신 모듈(190) 또는 도 2의 통신 모듈(202))을 통해 전자 장치의 위치 이동 여부를 판단할 수 있다. 예를 들면, 전자 장치는 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 비전 센서, RGB 센서 또는 조도 센서를 통해 위치 변경을 감지할 수 있다. 또 다른 예를 들어, 전자 장치는 통신 모듈을 통해 수신하는 외부 전자 장치들(예: AP)의 신호 세기의 변화에 기반하여 위치 변경을 감지할 수 있다. 또한, 상기 전자 장치는 상기 센서 모듈을 통해 특정 객체의 위치를 판단할 수 있다.In operation 1103, the processor may determine whether the position of the camera is changed from the first position to the second position. In an embodiment, the electronic device (eg, the electronic device 200 of FIG. 2 ) includes a sensor module (eg, the sensor module 176 of FIG. 1 ) or a communication module (eg, the communication module 190 of FIG. 1 or FIG. 1 ) 2) through the communication module 202), it is possible to determine whether the position of the electronic device is moved. For example, the electronic device includes 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, a temperature sensor, a humidity sensor, a vision sensor, RGB A change in position can be detected through a sensor or an illuminance sensor. As another example, the electronic device may detect a location change based on a change in signal strength of external electronic devices (eg, AP) received through the communication module. Also, the electronic device may determine the location of a specific object through the sensor module.

상기 카메라의 위치가 상기 제1 위치에서 상기 제2 위치로 변경되는 경우, 동작 1105와 같이 상기 프로세서는 상기 제1 위치에서 획득한 촬영 영상과 상기 제2 위치에서 획득한 촬영 영상의 이미지를 비교할 수 있다.When the position of the camera is changed from the first position to the second position, in operation 1105, the processor compares the captured image obtained at the first position with the image of the captured image obtained at the second position have.

일 실시예에 따르면, 상기 프로세서는 상기 제1 위치에서 획득한 촬영 영상 내의 영역 중 적어도 일부 영역에 위치한 제1 객체의 특징점을 식별할 수 있다. 상기 프로세서는 상기 특징점을 식별할 수 있기 때문에, 상기 특징점을 기반으로 제1 객체가 상기 촬영 영상 내에서 어디에 위치하고 있는지 판단할 수 있다.According to an embodiment, the processor may identify the feature point of the first object located in at least a partial region among regions in the captured image acquired at the first position. Since the processor can identify the feature point, it can determine where the first object is located in the captured image based on the feature point.

이후, 상기 카메라의 위치가 상기 제2 위치로 변경되면, 상기 프로세서는 상기 제2 위치에서 획득한 촬영 영상을 획득하고, 상기 제2 위치에서 획득한 촬영 영상 내의 영역 중 적어도 일부 영역에 위치한 상기 제1 객체의 특징점을 식별할 수 있다.Thereafter, when the position of the camera is changed to the second position, the processor acquires the captured image acquired at the second position, and the second position located in at least some of the regions within the captured image acquired at the second position 1 The characteristic point of an object can be identified.

상기 제2 위치에서 상기 제1 객체의 특징점을 식별한 상기 프로세서는, 상기 제1 위치에서 획득한 촬영 영상 내에서 획득한 상기 제1 객체의 특징 점 및 상기 제2 위치에서 획득한 촬영 영상 내의 영역 중 적어도 일부 영역에 위치한 상기 제1 객체의 특징점을 기반으로, 상기 제1 객체의 유사도를 비교할 수 있다. 상기 특징점을 식별하는 것은 상기 제1 객체에 한정되지 않으며, 적어도 하나의 객체를 특징점으로 식별할 수 있고 상기 제1 객체는 제한 영역을 포함할 수 있다.The processor, which has identified the feature point of the first object at the second position, is configured to: the feature point of the first object acquired in the captured image acquired at the first position and an area within the captured image acquired at the second position The degree of similarity of the first object may be compared based on the feature point of the first object located in at least a partial area. The identification of the feature point is not limited to the first object, and at least one object may be identified as the feature point, and the first object may include a limited area.

상기 제1 위치에서 획득한 제1 객체의 특징점과 상기 제2 위치에서 획득한 제1 객체의 특징점의 유사도를 비교한 상기 프로세서는 상기 유사도가 기준 수치(예: 85%) 이상 유사하거나 동일한 경우, 상기 프로세서는 상기 제1 위치에서 획득한 촬영 영역 내의 상기 제1 객체의 위치와 상기 제2 위치에서 획득한 촬영 영역 내의 상기 제1 객체의 위치를 비교할 수 있다. 상기 프로세서는 상기 비교 결과를 기반으로 상기 제1 객체의 이동 방향 및 이동 거리를 판단할 수 있다.The processor, which compared the similarity between the feature point of the first object acquired at the first location and the feature point of the first object acquired at the second location, is similar to or equal to or greater than a reference value (eg, 85%), The processor may compare the position of the first object in the imaging area acquired at the first location with the position of the first object in the imaging area acquired at the second location. The processor may determine a moving direction and a moving distance of the first object based on the comparison result.

상기 제1 위치에서 획득한 촬영 영상과 상기 제2 위치에서 획득한 촬영 영상의 이미지를 비교한 상기 프로세서는 동작 1107과 같이, 비교 결과를 기반으로 제한 영역을 보정하여, 상기 제한 영역을 재설정할 수 있다. 예를 들어, 상기 프로세서는 상기 제1 객체의 상기 이동 방향 및 이동 거리를 기반으로, 상기 제한 영역을 보정하여 재설정할 수 있다.The processor comparing the image of the captured image obtained at the first location and the captured image obtained at the second location may reset the restricted area by correcting the restricted area based on the comparison result as in operation 1107 have. For example, the processor may correct and reset the restricted area based on the moving direction and the moving distance of the first object.

상술한 바와 같이, 다양한 실시예에 따르면, 전자 장치(예: 도 2의 전자 장치(200))가 카메라(예: 카메라(201))를 제어하는 방법은, 통신 모듈(예: 통신 모듈(202))을 통해, 외부 전자 장치(예: 전자 장치(102 또는 104))로부터 카메라의 제어와 관련된 신호를 수신하는 동작, 상기 카메라를 제어할 수 있는 복수의 사용자 계정 중 상기 수신된 신호에 대응되는 사용자 계정을 식별하는 동작, 상기 복수의 사용자 계정 각각에 설정된 제한 영역에 대한 정보를 기반으로, 상기 식별된 사용자 계정에 대응되는 제한 영역을 식별하는 동작, 상기 신호에 기반하여, 상기 카메라의 촬영 영역이 상기 식별된 제한 영역에 진입하는지 판단하는 동작 및 상기 판단 결과에 기반하여, 상기 카메라를 제어하여 상기 카메라의 촬영 영역이 상기 식별된 제한 영역을 우회하는 동작을 포함할 수 있다.As described above, according to various embodiments, a method for an electronic device (eg, the electronic device 200 of FIG. 2 ) to control a camera (eg, the camera 201 ) may include a communication module (eg, the communication module 202 ). )), an operation of receiving a signal related to control of a camera from an external electronic device (eg, the electronic device 102 or 104), corresponding to the received signal among a plurality of user accounts capable of controlling the camera An operation of identifying a user account, an operation of identifying a restricted area corresponding to the identified user account based on information on a restricted area set in each of the plurality of user accounts, and an operation of identifying a restricted area corresponding to the identified user account, based on the signal, a photographing area of the camera It may include an operation of determining whether to enter the identified restricted area, and an operation of controlling the camera to bypass the identified restricted area by controlling the camera based on the determination result.

다양한 실시예에 따르면, 상기 수신된 신호에 대응되는 사용자 계정을 식별하는 동작은, 상기 식별된 사용자 계정이 제1 사용자 계정인 경우, 상기 수신된 신호에 따른 상기 카메라의 촬영 경로를 제1 경로로 설정하고, 상기 식별된 사용자 계정이 다른 제2 사용자 계정인 경우, 상기 수신된 신호에 따른 상기 카메라의 촬영 경로를 제2 경로로 설정하는 동작을 포함할 수 있다.According to various embodiments, the operation of identifying a user account corresponding to the received signal may include, when the identified user account is a first user account, a photographing path of the camera according to the received signal as a first path. setting, and when the identified user account is another second user account, setting the photographing path of the camera according to the received signal as the second path.

다양한 실시예에 따르면, 상기 카메라의 촬영 영역이 상기 식별된 제한 영역을 우회하는 동작은, 상기 카메라의 촬영 영역이 상기 식별된 제한 영역에 대해 우회가 불가능할 경우, 상기 카메라를 통해 상기 식별된 제한 영역을 포함하는 촬영 영상을 획득하고, 상기 획득한 촬영 영상에서 상기 식별된 제한 영역에 대한 영상 데이터를 보안 처리하는 동작을 더 포함할 수 있다.According to various embodiments, the operation of the photographing area of the camera bypassing the identified restricted area may include, when the photographing area of the camera cannot be bypassed with respect to the identified restricted area, the identified restricted area through the camera The method may further include obtaining a captured image including a, and security-processing image data for the identified restricted area in the obtained captured image.

다양한 실시예에 따르면, 상기 식별된 제한 영역에 대한 영상 데이터를 보안 처리하는 동작은, 상기 식별된 제한 영역에 대한 영상 데이터를 지정된 영상 데이터(디폴트 이미지)로 대체하거나, 블랙(Black) 처리 및 블러(Blur) 처리 중 적어도 하나를 수행하는 동작을 포함할 수 있다.According to various embodiments, the security processing of the image data for the identified limited region may include replacing image data for the identified limited region with specified image data (default image), processing black, and blurring. It may include an operation of performing at least one of (Blur) processing.

다양한 실시예에 따르면, 상기 전자 장치의 위치가 변경되는 경우, 상기 카메라의 위치 정보와 상기 식별된 제한 영역의 위치 정보를 비교하여, 상기 제한 영역을 재설정하는 동작을 포함할 수 있다.According to various embodiments, when the location of the electronic device is changed, the method may include comparing the location information of the camera with location information of the identified restricted area to reset the restricted area.

도 12는 본 발명의 일 실시예에 따른, UI(user interface)를 통해 제한 영역을 설정하는 방법을 설명하기 위한 도면이다.12 is a diagram for explaining a method of setting a restricted area through a user interface (UI) according to an embodiment of the present invention.

도 12를 참조하면, 외부 전자 장치(예: 도 1의 전자 장치(102 또는 104))의 프로세서는 디스플레이를 통해 상기 제한 영역과 관련된 UI를 출력할 수 있다. 전자 장치(예: 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200))와 동일하거나 또는 유사한 구성을 가지는 상기 외부 전자 장치는 유/무선 네트워크로 상기 전자 장치와 기능적으로 연결되어, 상기 UI를 통해 상기 전자 장치의 카메라(예: 도 1의 카메라 모듈(180) 또는 도 2의 카메라(201))를 제어하거나 제한 영역을 설정할 수 있다.Referring to FIG. 12 , a processor of an external electronic device (eg, the electronic device 102 or 104 of FIG. 1 ) may output a UI related to the restricted area through a display. The external electronic device having the same or similar configuration to the electronic device (eg, the electronic device 101 of FIG. 1 or the electronic device 200 of FIG. 2 ) is functionally connected to the electronic device through a wired/wireless network, A camera (eg, the camera module 180 of FIG. 1 or the camera 201 of FIG. 2 ) of the electronic device may be controlled or a restricted area may be set through the UI.

도 12의 (a)를 참조하면, 상기 외부 전자 장치의 프로세서는 상기 디스플레이를 통해 상기 제한 영역과 관련된 UI(1200)를 출력할 수 있다. 상기 제한 영역과 관련된 UI(1200)는 윈도우(1210), 윈도우 컨트롤러(1220), 설정 키(1230)를 포함할 수 있다.Referring to FIG. 12A , the processor of the external electronic device may output a UI 1200 related to the restricted area through the display. The UI 1200 related to the restricted area may include a window 1210 , a window controller 1220 , and a setting key 1230 .

상기 외부 전자 장치의 프로세서는 상기 전자 장치의 카메라를 통해 획득하는 촬영 영상을 상기 윈도우(1210)를 통해 출력할 수 있다.The processor of the external electronic device may output the captured image acquired through the camera of the electronic device through the window 1210 .

또한, 상기 외부 전자 장치의 프로세서는 상기 윈도우 컨트롤러(1220)를 통해 수신한 사용자 입력을 기반으로 상기 전자 장치의 카메라의 움직임을 제어하여 상기 카메라의 촬영 영역의 움직임을 제어할 수 있다.In addition, the processor of the external electronic device may control the movement of the photographing area of the camera by controlling the movement of the camera of the electronic device based on the user input received through the window controller 1220 .

상기 카메라의 촬영 영역을 제어하는 사용자 입력을 수신한 상기 프로세서는 상기 UI(1200)를 통해 상기 설정 키(1230)를 표시할 수 있다. 상기 프로세서가 상기 설정 키(1230)를 통해 상기 윈도우에 표시되는 촬영 영역을 제한 영역으로 설정하기 위한 사용자 입력을 수신하면, 상기 윈도우(1210)에서 현재 표시되는 촬영 영역을 상기 제한 영역으로 설정할 수 있다. 일 예로, 상기 제한 영역은 상기 외부 전자 장치의 윈도우(1210)를 통해 표시되는 촬영 영상 내의 영역 중 적어도 일부 영역을 선택하여 설정할 수 있으며, 상기 전자 장치에서 표시되는 촬영 영상 내의 영역 중 적어도 일부 영역을 선택하여 설정할 수 있다.Upon receiving the user input for controlling the photographing area of the camera, the processor may display the setting key 1230 through the UI 1200 . When the processor receives a user input for setting the photographing area displayed in the window as the limited area through the setting key 1230 , the currently displayed photographing area in the window 1210 may be set as the limited area . For example, the restricted area may be set by selecting at least a partial area from among the areas in the captured image displayed through the window 1210 of the external electronic device, and selecting at least some of the areas within the captured image displayed on the electronic device You can select and set it.

일 실시예에 따르면, 상기 프로세서가 상기 윈도우 컨트롤러(1220)를 통해 상기 카메라를 오른쪽으로 이동시키기 위한 사용자 입력(1221)을 수신하면, 상기 프로세서는 상기 카메라를 제어하여, 상기 윈도우(1210)를 통해 출력되는 상기 촬영 영상을 우측 방향으로 이동(1211)할 수 있다.According to an embodiment, when the processor receives a user input 1221 for moving the camera to the right through the window controller 1220 , the processor controls the camera and passes through the window 1210 . The outputted captured image may be moved 1211 in the right direction.

상기 프로세서는 상기 UI(1200)를 통해 상기 설정 키(1230)를 표시할 수 있는데, 상기 프로세서가 상기 설정 키(1230)를 통해 상기 사용자 입력을 수신하면, 현재 상기 윈도우(1210)에 표시되고 있는 촬영 영역을 상기 제한 영역으로 설정할 수 있다. 또한 다른 실시예에 따르면, 상기 프로세서는 상기 윈도우(1210)를 줌 인(zoom in) 또는 줌 아웃(zoom out)할 수 있다. 상기 윈도우(1210)가 줌 인 상태에서, 제한 영역을 설정하는 경우, 상기 윈도우(1210)에 표시되고 있는 영역을 확대하여, 상기 윈도우(1210)에 표시할 수 있다. 상기 프로세서는 상기 사용자 입력을 수신하여 확대된 영역을 제한 영역으로 설정할 경우, 카메라가 촬영 가능한 영역 전체의 적어도 일부 영역을 확대하기 때문에, 줌 인 상태가 되지 않은 상태에서 표시되는 영역보다 좁은 영역을 제한 영역으로 설정할 수 있다. 따라서, 상기 윈도우(1210)에 표시되는 촬영 영상 내의 적어도 일부 영역을 세부적으로 선택하여, 제한 영역으로 설정할 수 있다. The processor may display the setting key 1230 through the UI 1200, and when the processor receives the user input through the setting key 1230, it is currently displayed in the window 1210. The photographing area may be set as the limited area. Also, according to another embodiment, the processor may zoom in or out the window 1210 . When the limited area is set while the window 1210 is zoomed in, the area displayed on the window 1210 may be enlarged and displayed on the window 1210 . When the processor receives the user input and sets the enlarged area as the limited area, since the camera enlarges at least a partial area of the entire photographable area, the processor restricts a narrower area than the displayed area in a non-zoom-in state area can be set. Accordingly, at least a partial region in the captured image displayed on the window 1210 may be selected in detail and set as the limited region.

도 12의 (b)를 참조하면, 상기 프로세서는 상기 디스플레이를 통해, 상기 카메라가 획득한 특정 공간의 전체 이미지를 포함하는 촬영 영상을 출력하는 UI(1250)를 표시할 수 있다.Referring to FIG. 12B , the processor may display, through the display, a UI 1250 for outputting a captured image including the entire image of a specific space acquired by the camera.

상기 UI(1250)는 윈도우(1270)(예: 도 12의 (a)의 윈도우(1210)), 모니터링 설정 윈도우(1260) 및 설정 키(1290)(예: 도 12의 (a)의 설정 키(1230))를 포함할 수 있다.The UI 1250 includes a window 1270 (eg, the window 1210 of FIG. 12(a)), a monitoring setting window 1260, and a setting key 1290 (eg, the setting key of FIG. 12(a)). (1230)).

상기 프로세서는 상기 UI(1250)를 통해 상기 모니터링 설정 윈도우(1260)를 표시할 수 있는데, 상기 모니터링 설정 윈도우(1260)는 상기 카메라에서 획득한 촬영 영상을 송출하도록 하는 모니터링(Monitoring)(1261) 및 촬영 영상의 송출을 비활성화하는 모니터링 비활성화(Not Monitoring)(1262)를 포함할 수 있다. 일 실시예에서, 상기 모니터링(1261) 및 상기 모니터링 비활성화(1262)는 텍스트, 이미지 또는 아이콘과 같은 형태로 표시될 수 있다.The processor may display the monitoring setting window 1260 through the UI 1250, and the monitoring setting window 1260 is a monitoring 1261 for transmitting the captured image obtained by the camera; and A monitoring deactivation (Not Monitoring) 1262 for inactivating the transmission of the captured image may be included. In an embodiment, the monitoring 1261 and the monitoring deactivation 1262 may be displayed in the form of text, an image, or an icon.

상기 프로세서는 상기 모니터링(monitoring)(1261) 및 상기 모니터링 비활성화(not monitoring)(1262)를 통해 사용자 입력을 수신할 수 있다. 상기 프로세서는 상기 모니터링 비활성화(1262)를 통해 사용자 입력을 수신하면, 특정 공간의 전체 영역을 포함하는 촬영 영상 내의 영역을 복수 개의 영역으로 분할하여 상기 윈도우(1270)에 표시할 수 있다. 상기 윈도우(1270)는 카메라가 촬영 가능한 영역 전체를 출력할 수 있다.The processor may receive a user input through the monitoring 1261 and the not monitoring 1262 . When the processor receives a user input through the monitoring deactivation 1262 , the processor may divide an area in the captured image including the entire area of a specific space into a plurality of areas and display it on the window 1270 . The window 1270 may output the entire imageable area by the camera.

상기 프로세서가 상기 윈도우(1270)를 통해 표시되는 복수 개의 영역으로 분할된 상기 전체 촬영 영상의 적어도 일부 영역에서 사용자 입력(1280)을 수신하는 경우, 상기 사용자 입력을 기반으로 상기 적어도 일부 영역을 제한 영역(1281)으로 선택할 수 있다.When the processor receives a user input 1280 in at least a partial region of the entire captured image divided into a plurality of regions displayed through the window 1270, the at least partial region is restricted based on the user input (1281) can be selected.

즉, 상기 프로세서는 카메라가 촬영 가능한 영역 전체를 표시하고 있는 상기 윈도우(1270)에서 적어도 일부 영역을 선택하는 사용자 입력(1280)을 수신하면, 상기 사용자 입력(1280)이 검출된 복수 개의 영역들을 확대하여 출력할 수 있으며, 확대된 복수 개의 영역들 중 적어도 하나를 선택하여, 제한 영역을 세부적으로 설정(1281)할 수 있다. That is, when the processor receives a user input 1280 for selecting at least a part of the window 1270 that displays the entire imageable area by the camera, the processor enlarges the plurality of areas in which the user input 1280 is detected. to be output, and by selecting at least one of the plurality of enlarged regions, the limited region may be set in detail (1281).

반면에, 상기 프로세서가 상기 모니터링(1261)을 통해 사용자 입력을 수신하면, 상기 프로세서는 상기 카메라를 통해 현재 획득되는 촬영 영상을 상기 윈도우(1270)에 복수 개의 영역으로 분할하여 디스플레이에 표시할 수 있다. 즉, 상기 프로세서는 특정 공간의 전체 공간을 촬영한 촬영 영상뿐만 아니라, 현재 촬영되고 있는 특정 공간의 적어도 일부 영역을 사용자 입력을 기반으로 상기 제한 영역으로 설정할 수 있다.On the other hand, when the processor receives a user input through the monitoring 1261 , the processor divides the captured image currently acquired through the camera into a plurality of regions in the window 1270 and displays it on the display. . That is, the processor may set not only a photographed image obtained by photographing the entire space of a specific space, but also at least a partial area of a specific space currently being photographed as the limited area based on a user input.

도 13은 본 발명의 일 실시예에 따른, 제한 영역을 설정하는 UI(user interface)를 설명하기 위한 도면이다.13 is a diagram for explaining a user interface (UI) for setting a restricted area according to an embodiment of the present invention.

도 13을 참조하면, 외부 전자 장치(예: 도 1의 전자 장치(102 또는 104))의 프로세서는 디스플레이를 통해 제한 영역을 설정 및 관리하기 위한 UI(user interface(1300))를 표시할 수 있다.Referring to FIG. 13 , the processor of the external electronic device (eg, the electronic device 102 or 104 of FIG. 1 ) may display a user interface 1300 (UI) for setting and managing a restricted area through a display. .

상기 제한 영역을 설정 및 관리하기 위한 UI(1300)는 카메라 전원 툴 바(1310), 윈도우(1320)(예: 도 12의 윈도우(1210 및 1270)), 모션 트래킹(Motion tracking)(1330), 윈도우 컨트롤러(1340)(예: 도 12의 윈도우 컨트롤러(1220)), 위치 초기화(Default position)(1350), 보안 영역(예: 사생활 보호 영역(privacy zone))(1360) 및 활동 히스토리(Activity history)(1370)를 포함할 수 있다. 일 실시예에서, 상기 모션 트랙킹(1330), 상기 위치 초기화(1350) 및 상기 보안 영역(1330)은 텍스트, 이미지 또는 아이콘과 같은 형태로 표시될 수 있다.The UI 1300 for setting and managing the restricted area includes a camera power tool bar 1310, a window 1320 (eg, windows 1210 and 1270 in FIG. 12), motion tracking (Motion tracking) 1330, A window controller 1340 (eg, the window controller 1220 of FIG. 12 ), a default position 1350 , a security zone (eg, a privacy zone) 1360 , and an activity history ) (1370). In an embodiment, the motion tracking 1330 , the location initialization 1350 , and the secure area 1330 may be displayed in the form of text, an image, or an icon.

상기 외부 전자 장치의 프로세서가 상기 디스플레이를 통해 상기 제한 영역을 설정 및 관리하기 위한 UI(1300)를 표시하던 중, 상기 카메라 전원 툴 바(1310)를 통해 사용자 입력을 수신하는 경우, 상기 전자 장치의 카메라(예: 도 2의 카메라(201))의 ON/OFF를 제어할 수 있다.When the processor of the external electronic device receives a user input through the camera power tool bar 1310 while displaying the UI 1300 for setting and managing the restricted area through the display, ON/OFF of a camera (eg, the camera 201 of FIG. 2 ) may be controlled.

상기 외부 전자 장치의 프로세서는 상기 카메라가 ON 상태인 경우, 상기 카메라를 통해 획득되는 촬영 영상을 상기 외부 전자 장치의 윈도우(1320)에 표시할 수 있다. 상기 윈도우(1320)는 상기 촬영 영상을 표시하는 것뿐만 아니라, 상기 외부 전자 장치에서 지원되는 여러가지 기능과 관련된 아이콘 중 적어도 하나를 포함할 수 있다. 예를 들어, 상기 외부 전자 장치에 상기 카메라가 복수 개 포함되어 있는 경우, 사용할 카메라를 선택하는 기능을 가지는 아이콘을 포함할 수 있다.When the camera is turned on, the processor of the external electronic device may display the captured image acquired through the camera on the window 1320 of the external electronic device. The window 1320 may include at least one of icons related to various functions supported by the external electronic device as well as displaying the captured image. For example, when the external electronic device includes a plurality of cameras, an icon having a function of selecting a camera to be used may be included.

상기 외부 전자 장치의 프로세서가 상기 윈도우(1320)를 통해 상기 촬영 영상을 출력하면, 상기 외부 전자 장치의 프로세서는 상기 윈도우 컨트롤러(1340)를 통해 수신한 사용자 입력을 기반으로, 상기 카메라를 제어하여, 상기 카메라의 촬영 영역(예: 도 6의 촬영 영역(601))을 제어할 수 있다. When the processor of the external electronic device outputs the captured image through the window 1320, the processor of the external electronic device controls the camera based on the user input received through the window controller 1340, A photographing area (eg, the photographing area 601 of FIG. 6 ) of the camera may be controlled.

상기 외부 전자 장치의 프로세서가 상기 모션 트래킹(1330)을 통해 사용자 입력을 수신하는 경우, 상기 카메라를 통해 획득되는 촬영 영상 내에 위치한 객체의 움직임을 검출할 수 있다.When the processor of the external electronic device receives a user input through the motion tracking 1330, it is possible to detect a motion of an object located in the captured image obtained through the camera.

상기 객체의 움직임을 검출하는 경우, 상기 프로세서는 상기 카메라가 상기 객체의 위치를 추적하도록 제어할 수 있다. 상기 프로세서가 상기 사용자 입력을 기반으로 상기 카메라를 제어하던 중에, 상기 위치 초기화(1350)를 통해 사용자 입력을 수신하면, 상기 전자 장치의 카메라를 제어하여 상기 카메라의 촬영 영역을 원래 위치로 초기화하도록 할 수 있다.상기 프로세서는 상기 보안 영역(1360)을 통해 사용자 입력을 수신하면, 상기 윈도우(1320)에 현재 표시되고 있는 촬영 영상 내의 영역을 제한 영역으로 설정할 수 있다. 예를 들면, 상기 외부 전자 장치의 프로세서는 상기 윈도우(1320)에 표시되는 상기 촬영 가능한 영역 중 적어도 일부를 선택하여 줌 인(zoom in) 또는 줌 아웃(zoom out)할 수 있다. 상기 외부 전자 장치의 프로세서가 상기 윈도우(1320)에서 표시되는 촬영 가능한 영역 중 적어도 일부를 확대 또는 축소하는 사용자 입력(예: 핀치 제스처)을 수신하면, 사용자 입력이 검출된 영역을 확대 또는 축소할 수 있다. 상기 외부 전자 장치의 프로세서는 확대 또는 축소된 영역 중 적어도 일부 영역에 다른 사용자 입력은 검출하면, 상기 다른 사용자 입력이 검출된 영역을 제한 영역으로 설정할 수 있다. 상기 활동 히스토리(1370)는 상기 프로세서가 상기 제한 영역을 설정 및 관리하기 위한 UI(1300)를 통해 수신한 사용자 입력을 기반으로, 수행한 동작을 조회할 수 있다.When detecting the movement of the object, the processor may control the camera to track the position of the object. When the processor receives a user input through the location initialization 1350 while controlling the camera based on the user input, the processor controls the camera of the electronic device to initialize the photographing area of the camera to the original location. When receiving a user input through the security area 1360 , the processor may set an area within the captured image currently displayed in the window 1320 as a restricted area. For example, the processor of the external electronic device may zoom in or zoom out by selecting at least a part of the photographable area displayed on the window 1320 . When the processor of the external electronic device receives a user input (eg, a pinch gesture) for enlarging or reducing at least a portion of the recordable area displayed in the window 1320, the area in which the user input is detected may be enlarged or reduced. have. When the processor of the external electronic device detects another user input in at least some of the enlarged or reduced area, the processor of the external electronic device may set the area in which the other user input is detected as the restricted area. The activity history 1370 may inquire an operation performed by the processor based on a user input received through the UI 1300 for setting and managing the restricted area.

도 14는 본 발명의 일 실시예에 따른, 촬영 영상 내에서 설정된 제한 영역을 설명하기 위한 도면이다.14 is a diagram for explaining a limited area set in a captured image according to an embodiment of the present invention.

도 14를 참조하면, 복수 개의 사용자 계정 중 하나의 사용자 계정을 통해 외부 전자 장치(예: 도 1의 전자 장치(102) 또는 전자 장치(104))를 제어하는 사용자 계정은 전자 장치(예: 도 2의 전자 장치(200))의 카메라(예: 도 2의 카메라(201))를 통해 촬영 영상을 획득할 수 있다.Referring to FIG. 14 , a user account that controls an external electronic device (eg, the electronic device 102 or the electronic device 104 of FIG. 1 ) through one user account among a plurality of user accounts is an electronic device (eg, FIG. 1 ). A captured image may be acquired through a camera (eg, the camera 201 of FIG. 2 ) of the electronic device 200 of FIG. 2 .

상기 외부 전자 장치의 프로세서는 상기 전자 장치로부터 상기 전자 장치의 카메라를 통해 획득한 촬영 영상(1400)을 디스플레이(예: 도 1의 표시 장치(160))에 표시할 수 있다. 또한, 상기 전자 장치는 카메라를 통해 획득한 촬영 영상(1400)을 상기 디스플레이에 표시할 수 있다. 상기 외부 전자 장치 및 상기 전자 장치 중 적어도 하나의 디스플레이에 표시되는 촬영 영상(1400)은 제한 영역(1410)을 포함할 수 있다.The processor of the external electronic device may display the captured image 1400 obtained from the electronic device through the camera of the electronic device on a display (eg, the display device 160 of FIG. 1 ). Also, the electronic device may display the captured image 1400 acquired through the camera on the display. The external electronic device and the captured image 1400 displayed on the display of at least one of the electronic device may include a restricted area 1410 .

일 실시예에 따르면, 복수의 사용자 계정 중 제1 사용자 계정을 기반으로, 복수의 사용자 계정 각각(예: 제1 사용자 계정을 제외한 사용자 계정들)에 촬영 가능한 영역 중 적어도 일부 영역(예: 제1 공간)을 제한 영역으로 설정할 수 있다. 상기 전자 장치의 프로세서는 상기 복수의 사용자 계정 중 제2 사용자 계정을 통해 제어하는 외부 전자 장치로부터 수신된 카메라와 관련된 신호를 기반으로 상기 전자 장치의 카메라를 제어하여, 촬영 영상(1400)을 획득할 수 있다. 상기 획득한 촬영 영상(1400)은 전자 장치 및 외부 전자 장치 중 적어도 하나의 디스플레이에 표시될 수 있다. According to an embodiment, based on the first user account among the plurality of user accounts, at least some areas (eg, the first space) can be set as a restricted area. The processor of the electronic device controls a camera of the electronic device based on a signal related to a camera received from an external electronic device controlled through a second user account among the plurality of user accounts to obtain a captured image 1400 . can The acquired image 1400 may be displayed on a display of at least one of an electronic device and an external electronic device.

상기 전자 장치의 프로세서가 수신한 카메라의 제어와 관련된 신호에 포함된 계정에 관한 정보를 기반으로 사용자 계정을 식별할 수 있다. 상기 전자 장치의 프로세서는 상기 수신한 신호에 대응하는 사용자 계정을 식별하면, 메모리에 저장되어 있는 제한 영역에 대한 정보를 기반으로, 상기 사용자 계정에 설정된 제한 영역의 위치 좌표 정보를 확인할 수 있다.The user account may be identified based on account information included in the signal related to camera control received by the processor of the electronic device. When the processor of the electronic device identifies the user account corresponding to the received signal, based on the information on the restricted area stored in the memory, the processor of the electronic device may check the location coordinate information of the restricted area set in the user account.

따라서, 상기 전자 장치의 프로세서는 상기 제한 영역(예: 제1 공간)에 대응하는 부분의 영상 데이터를 다른 영상 데이터(예; 디폴트 이미지)로 대체하거나 그래픽 효과(예: 블랙 처리 또는 블러 처리)가 적용된 촬영 영상을 상기 외부 전자 장치의 디스플레이를 통해 상기 제2 사용자 계정에게 제공할 수 있다. 다른 일 실시예에 따르면, 상기 전자 장치의 프로세서가 제어하는 촬영 영역이 제한 영역을 우회하지 못하여, 제한 영역을 포함하는 촬영 영상을 획득하는 경우, 상기 전자 장치의 프로세서는 제한 영역에 대응하는 영상 데이터를 획득하지 않고, 촬영 영상에 포함된 제한 영역에 대응하는 부분을 다른 영상 데이터로 대체하거나 블랙(black) 처리 또는 블러(blur) 처리하여, 촬영 영상을 획득할 수 있다.Accordingly, the processor of the electronic device replaces the image data of a portion corresponding to the restricted area (eg, the first space) with other image data (eg, a default image) or provides a graphic effect (eg, black processing or blur processing). The applied captured image may be provided to the second user account through the display of the external electronic device. According to another exemplary embodiment, when a photographing area controlled by the processor of the electronic device fails to bypass the restricted area and thus a captured image including the restricted area is acquired, the processor of the electronic device is configured to process image data corresponding to the restricted area. A captured image may be obtained by replacing a portion corresponding to the restricted region included in the captured image with other image data, or by performing black processing or blur processing without acquiring .

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.The electronic device according to various embodiments disclosed in this document may have various types of devices. 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 구성요소를 통하여 연결될 수 있다는 것을 의미한다.It should be understood that the various embodiments of this document and the terms used therein are not intended to limit the technical features described in this document to specific embodiments, and 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”, “second” may simply be used to distinguish the component from other such components, and refer to the component in another aspect (e.g., importance or order) is not limited. It is said 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(application-specific integrated circuit)의 형태로 구현될 수 있다.As used herein, the term “module” 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)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of the present document include one or more stored in a storage medium (eg, the internal memory 136 or the external memory 138) readable by a machine (eg, the electronic device 101). It may be implemented as software (eg, program 140) including instructions. 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 contain a signal (eg, electromagnetic wave), and this term refers to the case 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 one embodiment, the method according to various embodiments disclosed in this document may be provided as 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 machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg Play Store TM ) or on two user devices ( 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 memory of 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)

전자 장치에 있어서,
카메라;
통신 모듈; 및
프로세서를 포함하고,
상기 프로세서는,
상기 통신 모듈을 통해, 외부 전자 장치로부터 상기 카메라의 제어와 관련된 신호를 수신하고,
상기 카메라를 제어할 수 있는 복수의 사용자 계정 중 상기 수신된 신호에 대응되는 사용자 계정을 식별하고,
상기 복수의 사용자 계정 각각에 설정된 제한 영역에 대한 정보를 기반으로, 상기 식별된 사용자 계정에 대응되는 제한 영역을 식별하고,
상기 신호에 기반하여, 상기 카메라의 촬영 영역이 상기 식별된 제한 영역에 진입하는지 판단하고,
상기 판단 결과에 기반하여, 상기 카메라를 제어하여 상기 카메라의 촬영 영역이 상기 식별된 제한 영역을 우회하도록 설정된 전자 장치.
In an electronic device,
camera;
communication module; and
including a processor;
The processor is
receiving a signal related to control of the camera from an external electronic device through the communication module;
Identifies a user account corresponding to the received signal from among a plurality of user accounts capable of controlling the camera,
based on the information on the restricted area set in each of the plurality of user accounts, identify a restricted area corresponding to the identified user account,
Based on the signal, it is determined whether the photographing area of the camera enters the identified restricted area,
Based on the determination result, the electronic device is set to control the camera so that the photographing area of the camera bypasses the identified restricted area.
제1항에 있어서,
상기 프로세서는,
상기 식별된 사용자 계정이 제1 사용자 계정인 경우, 상기 수신된 신호에 따른 상기 카메라의 촬영 경로를 제1 경로로 설정하고, 상기 식별된 사용자 계정이 제2 사용자 계정인 경우, 상기 수신된 신호에 따른 상기 카메라의 촬영 경로를 제2 경로로 지정하도록 설정된 전자 장치.
According to claim 1,
The processor is
When the identified user account is the first user account, a photographing path of the camera according to the received signal is set as the first path, and when the identified user account is the second user account, the received signal is an electronic device configured to designate a photographing path of the camera as a second path.
제1항에 있어서,
상기 프로세서는,
상기 카메라의 촬영 영역이 상기 식별된 제한 영역에 대해 우회가 불가능할 경우,
상기 카메라를 통해 상기 식별된 제한 영역을 포함하는 촬영 영상을 획득하고, 상기 획득한 촬영 영상에서 상기 식별된 제한 영역에 대한 영상 데이터를 보안 처리하도록 설정된 전자 장치.
According to claim 1,
The processor is
If the shooting area of the camera cannot be bypassed with respect to the identified restricted area,
An electronic device configured to acquire a captured image including the identified restricted area through the camera, and secure image data for the identified restricted area in the obtained captured image.
제3항에 있어서,
상기 보안 처리는,
상기 식별된 제한 영역에 대한 영상 데이터를 지정된 영상 데이터(디폴트 이미지)로 대체하거나, 블랙(Black) 처리 및 블러(Blur) 처리 중 적어도 하나를 수행하도록 설정된 전자 장치.
4. The method of claim 3,
The security processing is
An electronic device configured to replace image data for the identified limited region with specified image data (default image) or to perform at least one of black processing and blur processing.
제1항에 있어서,
상기 전자 장치는,
상기 카메라를 통해 획득되는 촬영 영상을 표시하는 디스플레이를 더 포함하고,
상기 디스플레이 상에서 수신한 사용자 입력을 기반으로, 상기 촬영 영상 내의 적어도 일부 영역을 상기 제한 영역으로 설정하도록 설정된 전자 장치.
According to claim 1,
The electronic device is
Further comprising a display for displaying the captured image obtained through the camera,
An electronic device configured to set at least a partial region in the captured image as the restricted region based on a user input received on the display.
제5항에 있어서,
상기 프로세서는,
상기 디스플레이에 상기 촬영 영상을 표시할 때, 상기 촬영 영상 내의 영역을 복수 개의 영역으로 분할하여 표시하고, 상기 사용자 입력을 기반으로 상기 분할된 영역들 중 적어도 하나의 영역을 선택하도록 설정된 전자 장치.
6. The method of claim 5,
The processor is
An electronic device configured to divide and display a region within the captured image into a plurality of regions when displaying the captured image on the display, and to select at least one of the divided regions based on the user input.
제5항에 있어서,
상기 프로세서는,
상기 디스플레이에 상기 촬영 영상을 표시할 때, 상기 디스플레이에 상기 촬영 영상을 줌 인(zoom in) 또는 줌 아웃(zoom out)하는 사용자 입력을 검출하면, 상기 사용자 입력에 의해 설정된 줌 배율을 기반으로, 상기 제한 영역에 대한 위치 좌표 정보를 설정하도록 설정된 전자 장치.
6. The method of claim 5,
The processor is
When displaying the captured image on the display, when detecting a user input for zooming in or zooming out the captured image on the display, based on the zoom magnification set by the user input, An electronic device configured to set location coordinate information for the restricted area.
제1항에 있어서,
상기 프로세서는,
상기 전자 장치의 위치가 변경되는 경우, 상기 카메라의 위치 정보와 상기 식별된 제한 영역의 위치 정보를 비교하여, 상기 제한 영역을 재설정하도록 설정된 전자 장치.
According to claim 1,
The processor is
The electronic device is configured to reset the restricted area by comparing the location information of the camera with the location information of the identified restricted area when the location of the electronic device is changed.
제1항에 있어서,
상기 프로세서는,
상기 전자 장치의 위치가 변경되는 경우, 상기 전자 장치의 위치가 변경되기 전에 제1 위치에서 상기 카메라가 획득한 촬영 영상과 상기 전자 장치의 위치가 변경된 후에 제2 위치에서 상기 카메라가 획득한 촬영 영상을 이미지 분석하여, 상기 제한 영역을 재설정하도록 설정된 전자 장치.
According to claim 1,
The processor is
When the location of the electronic device is changed, the captured image obtained by the camera at the first position before the location of the electronic device is changed and the captured image obtained by the camera at the second position after the location of the electronic device is changed The electronic device configured to reset the restricted area by analyzing the image.
제1항에 있어서,
상기 프로세서는,
상기 복수의 사용자 계정 각각에 설정된 제한 영역에 대한 정보를 서버에 저장하도록 설정된 전자 장치.
According to claim 1,
The processor is
An electronic device configured to store information on a restricted area set in each of the plurality of user accounts in a server.
카메라를 제어하는 방법에 있어서,
통신 모듈을 통해, 외부 전자 장치로부터 카메라의 제어와 관련된 신호를 수신하는 동작;
상기 카메라를 제어할 수 있는 복수의 사용자 계정 중 상기 수신된 신호에 대응되는 사용자 계정을 식별하는 동작;
상기 복수의 사용자 계정 각각에 설정된 제한 영역에 대한 정보를 기반으로, 상기 식별된 사용자 계정에 대응되는 제한 영역을 식별하는 동작;
상기 신호에 기반하여, 상기 카메라의 촬영 영역이 상기 식별된 제한 영역에 진입하는지 판단하는 동작; 및
상기 판단 결과에 기반하여, 상기 카메라를 제어하여 상기 카메라의 촬영 영역이 상기 식별된 제한 영역을 우회하는 동작을 포함하는 카메라를 제어하는 방법.
A method for controlling a camera, comprising:
receiving a signal related to camera control from an external electronic device through the communication module;
identifying a user account corresponding to the received signal from among a plurality of user accounts capable of controlling the camera;
identifying a restricted area corresponding to the identified user account based on information on the restricted area set in each of the plurality of user accounts;
determining whether the photographing area of the camera enters the identified restricted area based on the signal; and
and controlling the camera so that the photographing area of the camera bypasses the identified restricted area by controlling the camera based on the determination result.
제11항에 있어서,
상기 수신된 신호에 대응되는 사용자 계정을 식별하는 동작은,
상기 식별된 사용자 계정이 제1 사용자 계정인 경우, 상기 수신된 신호에 따른 상기 카메라의 촬영 경로를 제1 경로로 설정하고, 상기 식별된 사용자 계정이 다른 제2 사용자 계정인 경우, 상기 수신된 신호에 따른 상기 카메라의 촬영 경로를 제2 경로로 설정하는 동작을 포함하는 카메라를 제어하는 방법.
12. The method of claim 11,
The operation of identifying a user account corresponding to the received signal includes:
When the identified user account is a first user account, a photographing path of the camera according to the received signal is set as a first path, and when the identified user account is another second user account, the received signal A method of controlling a camera comprising the operation of setting a photographing path of the camera according to a second path.
제11항에 있어서,
상기 카메라의 촬영 영역이 상기 식별된 제한 영역을 우회하는 동작은,
상기 카메라의 촬영 영역이 상기 식별된 제한 영역에 대해 우회가 불가능할 경우, 상기 카메라를 통해 상기 식별된 제한 영역을 포함하는 촬영 영상을 획득하고, 상기 획득한 촬영 영상에서 상기 식별된 제한 영역에 대한 영상 데이터를 보안 처리하는 동작을 더 포함하는 카메라를 제어하는 방법.
12. The method of claim 11,
The operation of the photographing area of the camera bypassing the identified restricted area is,
When the capturing area of the camera cannot be bypassed with respect to the identified restricted area, a captured image including the identified restricted area is obtained through the camera, and an image of the identified restricted area from the obtained captured image A method of controlling a camera, further comprising the act of securely processing data.
제13항에 있어서,
상기 식별된 제한 영역에 대한 영상 데이터를 보안 처리하는 동작은,
상기 식별된 제한 영역에 대한 영상 데이터를 지정된 영상 데이터(디폴트 이미지)로 대체하거나, 블랙(Black) 처리 및 블러(Blur) 처리 중 적어도 하나를 수행하는 동작을 포함하는 카메라를 제어하는 방법.
14. The method of claim 13,
The operation of security processing of image data for the identified restricted area includes:
and replacing image data for the identified limited region with specified image data (default image), or performing at least one of black processing and blur processing.
제11항에 있어서,
상기 전자 장치의 위치가 변경되는 경우, 상기 카메라의 위치 정보와 상기 식별된 제한 영역의 위치 정보를 비교하여, 상기 제한 영역을 재설정하는 동작을 포함하는 카메라를 제어하는 방법.
12. The method of claim 11,
and resetting the restricted area by comparing the location information of the camera with the location information of the identified restricted area when the location of the electronic device is changed.
전자 장치에 있어서,
디스플레이;
통신 모듈; 및
프로세서를 포함하고,
상기 프로세서는,
복수의 사용자 계정 중 제1 사용자 계정이 접속된 상태에서, 상기 통신 모듈을 통해 외부 전자 장치로부터 촬영 영상을 획득하고,
상기 획득한 촬영 영상을 상기 디스플레이를 통해 표시하고,
상기 촬영 영상이 표시되는 상기 디스플레이 상에서 사용자 입력을 검출하면, 상기 사용자 입력을 기반으로, 상기 촬영 영상 내의 영역 중 적어도 일부 영역을 상기 제1 사용자 계정의 제한 영역으로 설정하고,
상기 제1 사용자 계정의 제한 영역에 대한 정보를 상기 외부 전자 장치로 전송하도록 설정된 전자 장치.
In an electronic device,
display;
communication module; and
including a processor;
The processor is
acquiring a captured image from an external electronic device through the communication module while a first user account among a plurality of user accounts is connected;
Display the acquired image through the display,
When a user input is detected on the display on which the captured image is displayed, based on the user input, at least a partial area of the area in the captured image is set as a restricted area of the first user account,
an electronic device configured to transmit information on a restricted area of the first user account to the external electronic device.
제16항에 있어서,
상기 프로세서는,
상기 복수의 사용자 계정 각각에 설정된 제한 영역에 대한 정보를 서버 및 상기 외부 전자 장치 중 적어도 하나에 저장하도록 설정된 전자 장치.
17. The method of claim 16,
The processor is
An electronic device configured to store information on a restricted area set in each of the plurality of user accounts in at least one of a server and the external electronic device.
제16항에 있어서,
상기 프로세서는,
상기 디스플레이에 상기 촬영 영상이 표시될 때, 상기 촬영 영상 내의 영역을 복수 개의 영역으로 분할하여 표시하고, 상기 사용자 입력을 기반으로 상기 분할된 영역들 중 적어도 하나의 영역을 선택하도록 설정된 전자 장치.
17. The method of claim 16,
The processor is
an electronic device configured to divide and display a region within the captured image into a plurality of regions when the captured image is displayed on the display, and to select at least one of the divided regions based on the user input.
제16항에 있어서,
상기 프로세서는,
상기 외부 전자 장치로부터 수신한 상기 촬영 영상이 상기 디스플레이에 표시될 때, 상기 디스플레이 상에 상기 촬영 영상을 줌 인(zoom in) 또는 줌 아웃(zoom out)하는 사용자 입력이 검출되면, 상기 사용자 입력에 의해 설정된 줌 배율을 기반으로, 상기 제한 영역에 대한 위치 좌표 정보를 설정하도록 설정된 전자 장치.
17. The method of claim 16,
The processor is
When the captured image received from the external electronic device is displayed on the display, when a user input for zooming in or zooming out of the captured image is detected on the display, the user input is An electronic device configured to set location coordinate information for the restricted area based on a zoom magnification set by the .
제16항에 있어서,
상기 프로세서는,
상기 외부 전자 장치로부터 획득한 상기 촬영 영상이 상기 복수의 사용자 계정 중 제2 사용자 계정에 설정된 상기 제한 영역을 포함하는 촬영 영상인 경우,
상기 촬영 영상의 영상 데이터에 포함된 상기 제2 사용자 계정의 제한 영역에 대응하는 영상 데이터를 지정된 영상 데이터(디폴트 이미지)로 대체하거나, 블랙(Black) 처리 및 블러(Blur) 처리 중 적어도 하나가 적용된 상기 촬영 영상을 획득하도록 설정된 전자 장치.
17. The method of claim 16,
The processor is
When the captured image acquired from the external electronic device is a captured image including the restricted area set in a second user account among the plurality of user accounts,
Image data corresponding to the restricted area of the second user account included in the image data of the captured image is replaced with specified image data (default image), or at least one of Black processing and Blur processing is applied An electronic device configured to acquire the captured image.
KR1020200015807A 2020-02-10 2020-02-10 Method of controlling a camera and an electronic device supporting the same KR20210101621A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020200015807A KR20210101621A (en) 2020-02-10 2020-02-10 Method of controlling a camera and an electronic device supporting the same
PCT/KR2020/018633 WO2021162230A1 (en) 2020-02-10 2020-12-18 Method for controlling camera and electronic device for supporting same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200015807A KR20210101621A (en) 2020-02-10 2020-02-10 Method of controlling a camera and an electronic device supporting the same

Publications (1)

Publication Number Publication Date
KR20210101621A true KR20210101621A (en) 2021-08-19

Family

ID=77292520

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200015807A KR20210101621A (en) 2020-02-10 2020-02-10 Method of controlling a camera and an electronic device supporting the same

Country Status (2)

Country Link
KR (1) KR20210101621A (en)
WO (1) WO2021162230A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023043032A1 (en) * 2021-09-17 2023-03-23 삼성전자주식회사 Electronic device and control method therefor

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4566474B2 (en) * 2001-07-30 2010-10-20 パナソニック株式会社 Image processing apparatus and image processing method
JP2009206647A (en) * 2008-02-26 2009-09-10 Canon Inc Camera system, control method, and program
US8970697B2 (en) * 2010-07-06 2015-03-03 Panasonic Intellectual Property Corporation Of America Image distribution apparatus
KR101849365B1 (en) * 2014-11-05 2018-04-16 한화테크윈 주식회사 Appratus and method for processing image
JP7180063B2 (en) * 2017-09-25 2022-11-30 富士フイルムビジネスイノベーション株式会社 Mobile body with camera, mobile body control system with camera, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023043032A1 (en) * 2021-09-17 2023-03-23 삼성전자주식회사 Electronic device and control method therefor

Also Published As

Publication number Publication date
WO2021162230A1 (en) 2021-08-19

Similar Documents

Publication Publication Date Title
KR102597518B1 (en) An electronic dievice applying bokeh effect to image and controlling method thereof
KR102583682B1 (en) Electronic device and method for dispalying sharing information based on augmented reality
KR102402148B1 (en) Electronic device and method for recognizing character thereof
KR102423295B1 (en) An apparatus for composing objects using depth map and a method thereof
US10867202B2 (en) Method of biometric authenticating using plurality of camera with different field of view and electronic apparatus thereof
KR20210010148A (en) Foldable electronic device and method for photographing picture using a plurality of cameras in the foldable electronic device
KR102544477B1 (en) An electronic device, a protecting case for the electronic device, and dispalying method thereof
KR20190100807A (en) An electronic device sensing fingerprint using selected electroids among a purality of electroids of biomtric seneor and control method thereof
KR102498545B1 (en) a method for biometric authenticating and an electronic apparatus thereof
KR102439502B1 (en) Electronic device and method for processing image of the same
KR20200101233A (en) Electronic device and method for providing service corresponding to selection of object in image
KR20210120386A (en) Electronic device and method for determining user certification
KR20210101049A (en) The electronic device and the method for recognizing the object
KR102436435B1 (en) Electronic device for executing various functions based on a signal recevied from an electric pen
KR20210101621A (en) Method of controlling a camera and an electronic device supporting the same
US11956530B2 (en) Electronic device comprising multi-camera, and photographing method
KR20210138923A (en) Electronic device for providing augmented reality service and operating method thereof
KR20210079956A (en) Electronic device supplying service of processing image through network
KR20210072351A (en) Foldable electronic device including rotating camera and method for taking pictures in the foldable electronic device
KR20210083059A (en) Outputting method of audio data and electronic device supporting the same
KR102614026B1 (en) Electronic device having a plurality of lens and controlling method thereof
KR102668212B1 (en) Method and electronic device for auto focusing
KR20210136659A (en) Electronic device for providing augmented reality service and operating method thereof
KR20210068853A (en) A foldable electronic device comprising a camera
KR20210122541A (en) Method of providing data and electronic device supporting same