KR20220031455A - Drawing method for preview and electronic device therefor - Google Patents

Drawing method for preview and electronic device therefor Download PDF

Info

Publication number
KR20220031455A
KR20220031455A KR1020200113387A KR20200113387A KR20220031455A KR 20220031455 A KR20220031455 A KR 20220031455A KR 1020200113387 A KR1020200113387 A KR 1020200113387A KR 20200113387 A KR20200113387 A KR 20200113387A KR 20220031455 A KR20220031455 A KR 20220031455A
Authority
KR
South Korea
Prior art keywords
input
preview
electronic device
display
image
Prior art date
Application number
KR1020200113387A
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 KR1020200113387A priority Critical patent/KR20220031455A/en
Priority to PCT/KR2021/011963 priority patent/WO2022050772A1/en
Publication of KR20220031455A publication Critical patent/KR20220031455A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03545Pens or stylus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • G06F3/0383Signal control means within the pointing device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04804Transparency, e.g. transparent or translucent windows

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed is an electronic device comprising a display, a pen input interface configured to receive a pen input from a digital pen, a processor, and a memory. The electronic device can display a first image on the display and receive a first touch input for the display. The electronic device can set at least a partial area of the display as a preview area while the first touch input is maintained, set a property regarding an input of the digital pen as a first property, receive a first input regarding the preview area from the digital pen, and display a first preview image which is based on the first input, by overlapping the first preview image on the first image. When the first touch input is released, the electronic device can stop displaying the first preview image and maintain the property regarding the input of the digital pen as the first properties. Various other embodiments identified through the present document are possible. The present invention can improve user experience and convenience through preview drawing.

Description

프리뷰 드로잉 방법 및 이를 위한 전자 장치{DRAWING METHOD FOR PREVIEW AND ELECTRONIC DEVICE THEREFOR}DRAWING METHOD FOR PREVIEW AND ELECTRONIC DEVICE THEREFOR

본 문서에서 개시되는 다양한 실시 예들은, 프리뷰(preview)의 드로잉(drawing)을 위한 방법 및 이를 위한 전자 장치에 관한 것이다.Various embodiments disclosed in this document relate to a method for drawing a preview and an electronic device for the same.

전자 장치는 전자 장치의 내부에 삽입되거나, 전자 장치로부터 탈착(detach)될 수 있는 스타일러스 펜을 포함할 수 있다. 스타일러스 펜은 사용자가 전자 장치의 디스플레이 상에 손 글씨를 입력하는 환경을 제공할 수 있다. 스타일러스 펜은 전자기 유도 방식뿐만 아니라 근거리 무선 통신 프로토콜에 기반하여 전자 장치와 상호작용할 수 있다. The electronic device may include a stylus pen that may be inserted into or detached from the electronic device. The stylus pen may provide an environment in which the user inputs handwriting on the display of the electronic device. The stylus pen may interact with an electronic device based on an electromagnetic induction method as well as a short-range wireless communication protocol.

전자 장치의 디스플레이 크기의 증가에 따라서, 다양한 디지털 드로잉 어플리케이션들이 이용되고 있다. 예를 들어, 디지털 드로잉 어플리케이션은 스타일러스 펜 및 사용자의 터치 입력에 기반한 드로잉 환경을 제공할 수 있다. 디지털 드로잉 어플리케이션은 입력에 대응하는 도구의 속성을 변경할 수 있는 사용자 인터페이스를 제공할 수 있다. 사용자는 입력에 대응하는 도구의 색상, 질감, 패턴, 및/또는 크기를 변경할 수 있다. As the display size of electronic devices increases, various digital drawing applications are being used. For example, the digital drawing application may provide a drawing environment based on a stylus pen and a user's touch input. The digital drawing application may provide a user interface for changing the properties of the tool corresponding to the input. The user may change the color, texture, pattern, and/or size of the tool corresponding to the input.

사용자는 디지털 드로잉을 위하여 입력에 대응하는 도구의 속성을 변경할 수 있다. 예를 들어, 사용자는 속성 변경 후에 입력을 통하여 드로잉을 할 수 있다. 사용자는 변경된 속성의 도구가 사용자의 의도에 부합하는지 체크하기 원할 수 있다. 사용자의 의도에 부합하지 않는 경우, 예를 들어, 사용자는 입력을 취소하기 원할 수 있다. 디지털 드로잉 어플리케이션은 입력 취소 기능을 제공할 수 있다. 그러나, 사용자가 수 회의 입력을 수행한 경우, 사용자가 입력 취소를 수 회 실행하여야만 할 수 있다. 디지털 드로잉 어플리케이션은 지우기 기능을 제공할 수 있다. 그러나, 지우기 기능에 의하여 사용자가 의도하지 않은 부분도 지워질 수 있다. 다른 예를 들어, 사용자는 입력의 일부만을 취소하기 원할 수 있다. 입력 취소 기능은 순차적으로 입력을 취소하기 때문에, 사용자가 남기기 원하는 부분도 입력이 취소될 수 있다. 또 다른 예를 들어, 사용자는 입력의 일부를 취소하지 않고 이용하기 원할 수 있다. The user may change the properties of the tool corresponding to the input for digital drawing. For example, the user may draw through input after changing the attribute. The user may want to check whether the tool of the changed attribute conforms to the user's intention. If it does not match the user's intention, for example, the user may want to cancel the input. A digital drawing application may provide an input cancellation function. However, when the user performs input several times, the user may have to execute input cancellation several times. A digital drawing application may provide an erase function. However, a portion not intended by the user may be erased by the erase function. As another example, a user may wish to cancel only part of an input. Since the input cancel function cancels the input sequentially, the input may be canceled even in the part that the user wants to leave. As another example, a user may wish to use some of the input without canceling it.

본 문서에 개시된 다양한 실시 예들은, 디지털 드로잉 환경에서 상술한 문제들을 해결하기 위한 전자 장치 및 방법을 제공할 수 있다. Various embodiments disclosed in this document may provide an electronic device and method for solving the above-described problems in a digital drawing environment.

본 문서에 개시되는 일 실시 예에 따른 전자 장치는, 디스플레이, 디지털 펜으로부터 펜 입력을 수신하도록 설정된 펜 입력 인터페이스, 프로세서, 및 메모리를 포함하고, 상기 메모리는 실행 시에 상기 프로세서가, 상기 디스플레이에 제1 이미지를 디스플레이하고, 상기 디스플레이에 대한 제1 터치 입력을 수신하고, 상기 제1 터치 입력이 유지되는 동안, 상기 디스플레이의 적어도 일부 영역을 프리뷰 영역으로 설정하고, 상기 디지털 펜의 입력에 대한 속성을 제1 속성으로 설정하고, 상기 디지털 펜으로부터 상기 프리뷰 영역에 대한 제1 입력을 수신하고, 상기 제1 입력에 기반한 제1 프리뷰 이미지를 상기 제1 이미지에 중첩하여 디스플레이하고, 상기 제1 터치 입력이 해제되면, 상기 제1 프리뷰 이미지의 디스플레이를 중단하고, 상기 디지털 펜의 입력에 대한 속성을 상기 제1 속성으로 유지하도록 하는 인스트럭션들을 저장할 수 있다. An electronic device according to an embodiment disclosed in this document includes a display, a pen input interface configured to receive a pen input from a digital pen, a processor, and a memory, wherein the memory is provided to the display by the processor when executed. Display a first image, receive a first touch input to the display, set at least a partial region of the display as a preview region while the first touch input is maintained, and attribute to input of the digital pen is set as a first property, receives a first input for the preview area from the digital pen, displays a first preview image based on the first input overlaid on the first image, and displays the first touch input When this is released, instructions for stopping the display of the first preview image and maintaining the attribute for the digital pen input as the first attribute may be stored.

본 문서에 개시되는 일 실시 예에 따른 전자 장치의 프리뷰 드로잉을 위한 방법은, 상기 전자 장치의 디스플레이에 제1 이미지를 디스플레이하는 동작, 상기 디스플레이에 대한 제1 터치 입력을 수신하는 동작, 상기 제1 터치 입력이 유지되는 동안, 상기 디스플레이의 적어도 일부 영역을 프리뷰 영역을 설정하는 동작, 및 상기 제1 터치 입력이 해제되면 상기 프리뷰 영역을 해제하는 동작을 포함하고, 상기 프리뷰 영역을 설정하는 동작은, 디지털 펜의 입력에 대한 속성을 제1 속성으로 설정하는 동작, 상기 디지털 펜으로부터 상기 프리뷰 영역에 대한 제1 입력을 수신하는 동작, 및 상기 제1 입력에 기반한 제1 프리뷰 이미지를 상기 제1 이미지에 중첩하여 디스플레이하는 동작을 포함하고, 상기 프리뷰 영역을 해제하는 동작은, 상기 제1 프리뷰 이미지의 디스플레이를 중단하는 동작, 및 상기 디지털 펜의 입력에 대한 속성을 상기 제1 속성으로 유지하는 동작을 포함할 수 있다.The method for preview drawing of an electronic device according to an embodiment disclosed in this document may include displaying a first image on a display of the electronic device, receiving a first touch input to the display, and the first An operation of setting a preview area for at least a partial area of the display while a touch input is maintained, and an operation of releasing the preview area when the first touch input is released, wherein the setting of the preview area includes: An operation of setting a property for an input of a digital pen as a first property, an operation of receiving a first input for the preview area from the digital pen, and an operation of applying a first preview image based on the first input to the first image and overlapping display, and releasing the preview area includes stopping display of the first preview image, and maintaining a property for input of the digital pen as the first property. can do.

본 문서에 개시되는 다양한 실시 예들에 따르면, 전자 장치는 프리뷰 드로잉을 통하여 사용자 경험 및 편의성을 개선할 수 있다.According to various embodiments disclosed in this document, the electronic device may improve user experience and convenience through preview drawing.

본 문서에 개시되는 다양한 실시 예들에 따르면, 전자 장치는 프리뷰 드로잉을 통하여 사용자에게 결과물에 시각적인 피드백을 제공할 수 있다. According to various embodiments disclosed in this document, the electronic device may provide a visual feedback to the user through the preview drawing.

본 문서에 개시되는 다양한 실시 예들에 따르면, 전자 장치는 선택적으로 적용 또는 취소 가능한 프리뷰 드로잉을 제공할 수 있다. According to various embodiments disclosed in this document, the electronic device may provide a preview drawing that can be selectively applied or canceled.

본 문서에 개시되는 다양한 실시예들에 따르면, 전자 장치는 프리뷰 드로잉의 일부 적용을 제공할 수 있다. According to various embodiments disclosed in this document, the electronic device may provide some application of the preview drawing.

본 문서에 개시되는 다양한 실시예들에 따르면, 전자 장치는 프리뷰 드로잉의 일부를 도구로서 제공할 수 있다.According to various embodiments disclosed in this document, the electronic device may provide a part of the preview drawing as a tool.

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

도 1은 다양한 실시 예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 일 실시예에 따른 전자 장치의 블록도를 도시한다.
도 3은 입력의 예시들을 도시한다.
도 4는 펜 입력에 따른 드로잉 화면의 예시를 도시한다.
도 5는 일 실시예에 따른 제1 UI를 도시한다.
도 6은 일 실시예에 따른 프리뷰 화면을 도시한다.
도 7은 일 실시예에 따른 화면 구성을 도시한다.
도 8은 일 실시예에 따른 제1 UI의 제공을 도시한다.
도 9는 일 실시예에 따른 프리뷰 이미지를 도시한다.
도 10은 일 실시예에 따른 프리뷰 이미지의 취소를 도시한다.
도 11은 일 실시예에 따른 부분 프리뷰 이미지의 적용을 도시한다.
도 12는 일 실시예에 따른 바로가기 설정을 도시한다.
도 13은 일 실시예에 따른 바로가기를 이용한 펜 입력을 도시한다.
도 14는 일 실시예에 따른 바로가기를 이용한 스탬프 입력을 도시한다.
도 15는 일 실시예에 따른 프리뷰 드로잉을 위한 방법의 흐름도이다.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.
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 according to an exemplary embodiment.
3 shows examples of input.
4 illustrates an example of a drawing screen according to a pen input.
5 illustrates a first UI according to an embodiment.
6 illustrates a preview screen according to an exemplary embodiment.
7 illustrates a screen configuration according to an exemplary embodiment.
8 illustrates provision of a first UI according to an embodiment.
9 illustrates a preview image according to an exemplary embodiment.
10 illustrates cancellation of a preview image according to an embodiment.
11 illustrates application of a partial preview image according to an embodiment.
12 illustrates a shortcut setting according to an embodiment.
13 illustrates a pen input using a shortcut according to an exemplary embodiment.
14 shows a stamp input using a shortcut according to an embodiment.
15 is a flowchart of a method for preview drawing according to an embodiment.
In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar components.

이하, 본 발명의 다양한 실시 예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 실시 예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다. Hereinafter, various embodiments of the present invention will be described with reference to the accompanying drawings. However, this is not intended to limit the present invention to specific embodiments, and it should be understood that various modifications, equivalents, and/or alternatives of the embodiments of the present invention are included.

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

프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, a program 140) to execute at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120 . It can control and perform various data processing or operations. According to 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 stored in the volatile memory 132 , and may process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 . According to an embodiment, the processor 120 is the main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, when the electronic device 101 includes the main processor 121 and the sub-processor 123 , the sub-processor 123 may use less power than the main processor 121 or may be set to be specialized for a specified function. can 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))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다. The auxiliary processor 123 is, for example, on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or 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 module 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 co-processor 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). there is. According to an embodiment, the auxiliary processor 123 (eg, a neural network processing device) may include a hardware structure specialized for processing an artificial intelligence model. Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself on which artificial intelligence is performed, or may be performed through a separate server (eg, the server 108). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but in the above example not limited The artificial intelligence model may include a plurality of artificial neural network layers. Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the above example. The artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.

메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component of the electronic device 101 (eg, the processor 120 or the sensor module 176 ). 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 module 150 may receive a command or data to be used in a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 . The input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).

음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 155 may output a sound signal to the outside of the electronic device 101 . The sound output module 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. The receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.

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

오디오 모듈(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 module 150 , or an external electronic device (eg, a sound output module 155 ) connected directly or wirelessly with the electronic device 101 . A sound may be output through the electronic device 102 (eg, a speaker or headphones).

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

인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more designated 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, 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(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(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 performance 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 LAN (local area network) communication module, or a power line communication module). A corresponding communication module among these communication modules is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN). These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented as a plurality of components (eg, multiple chips) separate from each other. The wireless communication module 192 uses the subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 . The electronic device 101 may be identified or authenticated.

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

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

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

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

일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to 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 external electronic devices 102 or 104 may be the same as or different from 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 external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 is 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. 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, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may include an Internet of things (IoT) device. Server 108 may be an intelligent server using machine learning and/or neural networks. According to an embodiment, the external electronic device 104 or the server 108 may be included in the second network 199 . The electronic device 101 may be applied to an intelligent service (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.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 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, but it should be understood to include various modifications, equivalents, or substitutions of the embodiments. In connection with the description of the drawings, like reference numerals may be used for similar or related components. The singular form of the noun corresponding to the item may include one or more of the item, unless the relevant context clearly dictates otherwise. As used herein, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "A , B, or C" each may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish the element from other elements in question, and may refer to elements in other aspects (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)의 형태로 구현될 수 있다. The term “module” used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logic block, component, or circuit. can be used as A module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions. For example, according to an embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

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

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

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

도 2는 일 실시예에 따른 전자 장치의 블록도를 도시한다. 2 is a block diagram of an electronic device according to an exemplary embodiment.

일 실시예에 따르면, 본 문서에 개시된 전자 장치(201)는 도 1과 관련하여 상술된 전자 장치(예: 도 1의 전자 장치(101))의 구성들 중 적어도 일부를 포함할 수 있다. 예를 들어, 전자 장치(201)는 프로세서(220)(예: 도 1의 프로세서(120)), 메모리(230)(예: 도 1의 메모리(130)), 펜 입력 인터페이스(250)(예: 도 1의 입력 모듈(150)), 디스플레이(260)(예: 도 1의 디스플레이 모듈(160)), 및/또는 통신 회로(290)(예: 도 1의 통신 모듈(190))를 포함할 수 있다. According to an embodiment, the electronic device 201 disclosed in this document may include at least some of the components of the electronic device described above with reference to FIG. 1 (eg, the electronic device 101 of FIG. 1 ). For example, the electronic device 201 may include a processor 220 (eg, the processor 120 of FIG. 1 ), a memory 230 (eg, the memory 130 of FIG. 1 ), and a pen input interface 250 (eg, a pen input interface 250 ). : includes input module 150 of FIG. 1 ), display 260 (eg, display module 160 of FIG. 1 ), and/or communication circuitry 290 (eg, communication module 190 of FIG. 1 ). can do.

프로세서(220)는 메모리(230), 펜 입력 인터페이스(250), 디스플레이(260), 및 통신 회로(290)에 작동적으로(operatively) 연결될 수 있다. 메모리(230)는 실행 되었을 때, 프로세서(220)로 하여금 전자 장치(201)의 다양한 동작들을 수행하도록 하는 인스트럭션들(instructions)을 저장할 수 있다. Processor 220 may be operatively coupled to memory 230 , pen input interface 250 , display 260 , and communication circuitry 290 . The memory 230 may store instructions that, when executed, cause the processor 220 to perform various operations of the electronic device 201 .

펜 입력 인터페이스(250)는 입력 장치(202)(예: 스타일러스 펜 또는 디지털 펜)에 의한 입력을 수신하도록 설정될 수 있다. 예를 들어, 펜 입력 인터페이스(250)는 그리드(grid) 형상의 회로 패턴을 포함하고, 회로 패턴을 이용하여 입력 장치(202)의 입력 위치를 감지하도록 설정될 수 있다. 일 예를 들어, 펜 입력 인터페이스(250)는 디스플레이(260)에 내장되거나 디스플레이(260)의 하부에 위치될 수 있다. The pen input interface 250 may be set to receive an input by the input device 202 (eg, a stylus pen or a digital pen). For example, the pen input interface 250 may include a grid-shaped circuit pattern, and may be set to detect an input position of the input device 202 using the circuit pattern. For example, the pen input interface 250 may be embedded in the display 260 or located below the display 260 .

디스플레이(260)는 복수의 픽셀들을 포함할 수 있다. 디스플레이(260)는 터치 입력(예: 사용자에 의한 터치 입력)을 감지하기 위한 터치 입력 감지 회로 및/또는 펜 입력 감지 회로(예: 펜 입력 인터페이스(250))를 더 포함할 수 있다. 프로세서(220)는 외부 오브젝트(예: 사용자의 손)에 의한 터치 입력과 입력 장치(202)에 의한 입력을 구분하여 감지할 수 있다. 프로세서(220)는 터치 입력 감지 회로를 이용하여 터치 입력을 감지하고, 펜 입력 감지 회로를 이용하여 입력 장치(202)의 입력을 감지할 수 있다. 예를 들어, 프로세서(220)는 입력 장치(202)가 디스플레이(260)로부터 지정된 거리 내에 이격되었을 때, 입력 장치(202)로부터의 호버링 입력을 감지할 수 있다. 예를 들어, 프로세서(220)는 입력 장치(202)의 일 단이 디스플레이(260)에 접촉되었을 때, 입력 장치(202)로부터의 펜 입력(예: 펜 터치 입력 또는 펜 접촉 입력)을 감지할 수 있다. 예를 들어, 프로세서(220)는 입력 장치(202)의 버튼이 트리거되었을 때에, 입력 장치(202)로부터의 버튼 입력을 감지할 수 있다.The display 260 may include a plurality of pixels. The display 260 may further include a touch input detection circuit and/or a pen input detection circuit (eg, the pen input interface 250 ) for detecting a touch input (eg, a touch input by a user). The processor 220 may distinguish and detect a touch input by an external object (eg, a user's hand) and an input by the input device 202 . The processor 220 may detect a touch input using a touch input detection circuit, and may detect an input of the input device 202 using a pen input detection circuit. For example, the processor 220 may detect a hovering input from the input device 202 when the input device 202 is spaced apart from the display 260 within a specified distance. For example, the processor 220 may detect a pen input (eg, pen touch input or pen contact input) from the input device 202 when one end of the input device 202 is in contact with the display 260 . can For example, the processor 220 may detect a button input from the input device 202 when the button of the input device 202 is triggered.

통신 회로(290)는 블루투스 프로토콜(예: 레거시 블루투스 및/또는 BLE) 및/또는 무선랜에 기반하여 근거리 무선 통신을 지원하도록 설정될 수 있다. 예를 들어, 통신 회로(290)는 입력 장치(202)와의 통신을 제공할 수 있다. The communication circuit 290 may be configured to support short-range wireless communication based on a Bluetooth protocol (eg, legacy Bluetooth and/or BLE) and/or a wireless LAN. For example, communication circuitry 290 may provide communication with input device 202 .

전자 장치(201)는 도 2에 미도시된 구성을 더 포함할 수 있다. 예를 들어, 전자 장치(201)는 하우징(housing)을 더 포함할 수 있다. 하우징은 입력 장치(202)의 부착을 위한 자력 패드 및/또는 입력 장치(202)의 삽입을 위한 슬롯을 포함할 수 있다. The electronic device 201 may further include a configuration not shown in FIG. 2 . For example, the electronic device 201 may further include a housing. The housing may include a magnetic pad for attachment of the input device 202 and/or a slot for insertion of the input device 202 .

입력 장치(202)는 스타일러스, 디지털 펜, 또는 디지타이저 펜으로 참조될 수 있다. 예를 들어, 입력 장치(202)는 전자 장치(201)로부터 탈착가능하거나, 전자 장치(201)에 삽입될 수 있다. 일 실시예에 따르면, 입력 장치(202)는 전자 장치(201)의 디지타이저(예: 펜 입력 인터페이스(250))로부터 발생된 전자기장 신호(예: 근접 신호)를 수신할 수 있다. 예를 들어, 입력 장치(202)는 공진 회로를 이용하여 전자기장 신호를 수신할 수 있다. 입력 장치(202)는 전자기 공명 방식(electro-magnetic resonance, EMR) 입력 신호를 전자 장치(201)로 송신할 수 있다. 다른 예를 들어, 입력 장치(202)는 AES(active electrostatic) 방식, 또는 ECR(electrically coupled resonance) 방식 중 적어도 하나를 이용할 수 있다. 입력 장치(202)가 AES 방식에 의하여 신호를 송신하는 경우, 입력 장치(202)는 전자 장치(201)와 용량 결합(capacity coupling)을 이용하여 신호를 생성할 수 있다. 입력 장치(202)가 ECR 방식에 의하여 신호를 전송하는 경우, 입력 장치(202)는 전자 장치(201)의 용량성(capacitive) 장치로부터 발생되는 전기장(electric field)에 기반하여, 공진 주파수를 포함하는 신호를 생성할 수 있다.The input device 202 may be referred to as a stylus, digital pen, or digitizer pen. For example, the input device 202 may be detachable from the electronic device 201 or may be inserted into the electronic device 201 . According to an embodiment, the input device 202 may receive an electromagnetic field signal (eg, a proximity signal) generated from a digitizer (eg, the pen input interface 250 ) of the electronic device 201 . For example, the input device 202 may receive an electromagnetic field signal using a resonant circuit. The input device 202 may transmit an electromagnetic resonance (EMR) input signal to the electronic device 201 . As another example, the input device 202 may use at least one of an active electrostatic (AES) method or an electrically coupled resonance (ECR) method. When the input device 202 transmits a signal using the AES method, the input device 202 may generate a signal using the electronic device 201 and capacitive coupling. When the input device 202 transmits a signal by the ECR method, the input device 202 includes a resonance frequency based on an electric field generated from a capacitive device of the electronic device 201 . signal can be generated.

일 실시예에 따르면, 입력 장치(202)는 전자 장치(201)와의 통신을 위한 통신 회로를 포함할 수 있다. 예를 들어, 입력 장치(202)는 근거리 무선 통신(예: 블루투스, BLE(bluetooth low energy) 또는 무선랜 중 적어도 하나)을 이용하여 전자 장치(201)와 통신할 수 있다. 일 예시에서, 입력 장치(202)는 적어도 하나의 버튼을 포함할 수 있다. 입력 장치(202)는 적어도 하나의 버튼에 대한 입력이 수신되면, 버튼 입력에 대응하는 신호를 공진 회로 및/또는 통신 회로를 이용하여 전자 장치(201)에 송신할 수 있다. According to an embodiment, the input device 202 may include a communication circuit for communication with the electronic device 201 . For example, the input device 202 may communicate with the electronic device 201 using short-range wireless communication (eg, at least one of Bluetooth, Bluetooth low energy (BLE), or wireless LAN). In one example, the input device 202 may include at least one button. When an input for at least one button is received, the input device 202 may transmit a signal corresponding to the button input to the electronic device 201 using a resonance circuit and/or a communication circuit.

도 3은 입력의 예시들을 도시한다.3 shows examples of input.

일 실시예에 따르면, 전자 장치(201)는 입력 장치(202)의 호버링 입력을 감지할 수 있다. 전자 장치(201)는 디스플레이(260)의 제1 지점(310)에 대한 입력 장치(202)의 호버링 입력을 감지할 수 있다. 예를 들어, 전자 장치(201)는 입력 장치(202)의 일단에 대응하는 제1 지점(310)을 입력 장치(202)에 의한 호버링 입력이 수신되는 지점으로 식별할 수 있다. 전자 장치(201)는 입력 장치(202)로부터의 전자기장 신호를 수신하고, 전자기장 신호의 크기에 기반하여 제1 지점(310)을 식별할 수 있다. 전자 장치(201)는 입력 장치(202)의 일단(예: 펜 촉)이 디스플레이(260)에 물리적으로 접촉하지 않았을 때에 호버링 입력을 식별할 수 있다. According to an embodiment, the electronic device 201 may detect a hovering input of the input device 202 . The electronic device 201 may detect a hovering input of the input device 202 with respect to the first point 310 of the display 260 . For example, the electronic device 201 may identify the first point 310 corresponding to one end of the input device 202 as a point at which a hovering input by the input device 202 is received. The electronic device 201 may receive the electromagnetic field signal from the input device 202 and identify the first point 310 based on the magnitude of the electromagnetic field signal. The electronic device 201 may identify a hovering input when one end (eg, a pen tip) of the input device 202 does not physically contact the display 260 .

일 실시예에 따르면, 전자 장치(201)는 터치 입력을 감지할 수 있다. 예를 들어, 전자 장치(201)는 외부 오브젝트(390)(예: 손가락)에 의한 전압 변화 및/또는 전하량 변화를 감지함으로써 터치 입력을 감지할 수 있다. 전자 장치(201)는 터치 입력이 입력된 디스플레이(260) 상의 지점(예: 제2 지점(320))을 식별할 수 있다. According to an embodiment, the electronic device 201 may detect a touch input. For example, the electronic device 201 may detect a touch input by detecting a change in voltage and/or a change in the amount of electric charge caused by the external object 390 (eg, a finger). The electronic device 201 may identify a point on the display 260 to which the touch input is input (eg, the second point 320 ).

일 실시예에 따르면, 전자 장치(201)는 터치 입력과 호버링 입력을 독립적으로 식별할 수 있다. 전자 장치(201)는 입력의 유형에 따라서 상이한 동작을 수행하도록 설정될 수 있다. 예를 들어, 전자 장치(201)는 터치 입력과 호버링 입력이 동시에 식별되는 경우, 터치 입력에 대응하는 동작 및 호버링 입력에 대응하는 동작을 수행할 수 있다. According to an embodiment, the electronic device 201 may independently identify a touch input and a hovering input. The electronic device 201 may be set to perform different operations according to the type of input. For example, when the touch input and the hovering input are simultaneously identified, the electronic device 201 may perform an operation corresponding to the touch input and an operation corresponding to the hovering input.

도 4는 펜 입력에 따른 드로잉 화면의 예시를 도시한다.4 illustrates an example of a drawing screen according to a pen input.

일 실시예에 따르면, 전자 장치(201)는 입력 장치(202)에 의한 펜 입력을 감지할 수 있다. 예를 들어, 펜 입력은 입력 장치(202)의 일 단(예: 펜 촉)이 디스플레이(260)에 물리적으로 접촉된 상태에서 수행되는 입력으로 참조될 수 있다. 펜 입력은 입력 장치(202)에 의한 스트로크(stroke) 입력 및/또는 스팟(spot) 입력을 포함할 수 있다. According to an embodiment, the electronic device 201 may detect a pen input by the input device 202 . For example, the pen input may be referred to as an input performed while one end (eg, a pen tip) of the input device 202 is in physical contact with the display 260 . The pen input may include a stroke input and/or a spot input by the input device 202 .

전자 장치(201)는 펜 입력에 기반하여 디스플레이(260)에 펜 입력에 대응하는 피드백을 제공할 수 있다. 예를 들어, 전자 장치(201)는 펜 입력에 대응하는 선(410)을 디스플레이(260)의 드로잉 화면(710)에 표시할 수 있다. 전자 장치(201)는 펜 입력에 대하여 설정된 속성에 기반하여 선(410)을 표시할 수 있다. 펜 입력의 속성은, 예를 들어, 색상, 펜 유형(예: 연필, 브러쉬, 파스텔 등), 패턴, 크기, 및/또는 형상을 포함할 수 있다. The electronic device 201 may provide a feedback corresponding to the pen input to the display 260 based on the pen input. For example, the electronic device 201 may display a line 410 corresponding to a pen input on the drawing screen 710 of the display 260 . The electronic device 201 may display the line 410 based on the attribute set for the pen input. Attributes of pen input may include, for example, color, pen type (eg, pencil, brush, pastel, etc.), pattern, size, and/or shape.

전자 장치(201)는 펜 입력, 터치 입력, 및 호버링 입력을 독립적으로 식별할 수 있다. 전자 장치(201)는 입력의 유형에 따라서 상이한 동작을 수행하도록 설정될 수 있다. 예를 들어, 전자 장치(201)는 터치 입력과 펜 입력이 동시에 식별되는 경우, 터치 입력에 대응하는 동작 및 펜 입력에 대응하는 동작을 수행할 수 있다. The electronic device 201 may independently identify a pen input, a touch input, and a hovering input. The electronic device 201 may be set to perform different operations according to the type of input. For example, when the touch input and the pen input are simultaneously identified, the electronic device 201 may perform an operation corresponding to the touch input and an operation corresponding to the pen input.

예를 들어, 드로잉 화면(710)은, 드로잉 입력(예: 펜 입력)에 기반하여 사용자가 그림을 그릴 수 있는 논리적 영역일 수 있다. 드로잉 화면(710)은 드로잉 영역 또는 드로잉 레이어로 참조될 수 있다. 드로잉 화면(710)은 하나 이상의 레이어들로 구성될 수 있다. 드로잉 화면(710)은, 예를 들어, 논리적인 전체 드로잉 중 디스플레이(260)에 표시된 일부 영역 또는 전체 영역일 수 있다. For example, the drawing screen 710 may be a logical area in which a user can draw a picture based on a drawing input (eg, a pen input). The drawing screen 710 may be referred to as a drawing area or a drawing layer. The drawing screen 710 may include one or more layers. The drawing screen 710 may be, for example, a partial area or an entire area displayed on the display 260 among all logical drawings.

도 5는 일 실시예에 따른 제1 UI를 도시한다.5 illustrates a first UI according to an embodiment.

일 실시예에 따르면, 전자 장치(201)는 제1 UI(720)를 디스플레이할 수 있다. 예를 들어, 전자 장치(201)는 터치 입력이 수신되면, 터치 입력에 대응하는 위치에 제1 UI(720)를 디스플레이할 수 있다. 전자 장치(201)는 제1 UI(720)를 드로잉 화면(710)의 일부 영역에 디스플레이할 수 있다. 제1 UI(720)는 드로잉 화면(710) 상에 팝업 이미지로 디스플레이될 수 있다. 예를 들어, 전자 장치(201)는 제1 UI(720)의 일 지점에 대한 드래그 입력에 따라서 제1 UI(720)의 디스플레이 위치를 변경할 수 있다. 예를 들어, 제1 UI(720)는, 제1 UI 영역, 제1 UI 레이어, 또는 팝업 이미지로 참조될 수 있다. According to an embodiment, the electronic device 201 may display the first UI 720 . For example, when a touch input is received, the electronic device 201 may display the first UI 720 at a position corresponding to the touch input. The electronic device 201 may display the first UI 720 on a partial area of the drawing screen 710 . The first UI 720 may be displayed as a pop-up image on the drawing screen 710 . For example, the electronic device 201 may change the display position of the first UI 720 according to a drag input to a point of the first UI 720 . For example, the first UI 720 may be referred to as a first UI area, a first UI layer, or a pop-up image.

일 실시예에 따르면, 제1 UI(720)는 펜 입력의 속성을 변경하기 위한 적어도 하나의 인터페이스를 포함할 수 있다. 제1 UI(720)는 펜 유형 설정 UI(723) 및 펜 색상 설정 UI(725)를 포함할 수 있다. 전자 장치(201)는 펜 유형 설정 UI(723)에 대한 입력에 기반하여 펜 입력에 지정된 펜 유형을 변경할 수 있다. 펜 유형은 예를 들어, 만년필, 마커(marker), 연필, 및/또는 브러쉬 등을 포함할 수 있다. 펜 유형의 변경에 따라서, 펜 입력에 대응하는 펜 촉의 형상, 펜 입력의 블러(blur), 펜 입력의 번짐(bleeding), 및/또는 펜 입력의 투명도가 변경될 수 있다. 전자 장치(201)는 펜 색상 설정 UI(725)에 대한 입력에 기반하여 펜 입력에 대한 색상을 변경할 수 있다. According to an embodiment, the first UI 720 may include at least one interface for changing a property of a pen input. The first UI 720 may include a pen type setting UI 723 and a pen color setting UI 725 . The electronic device 201 may change the pen type specified for the pen input based on the input to the pen type setting UI 723 . Pen types may include, for example, fountain pens, markers, pencils, and/or brushes, and the like. According to the change of the pen type, the shape of the pen tip corresponding to the pen input, the blur of the pen input, the bleeding of the pen input, and/or the transparency of the pen input may be changed. The electronic device 201 may change the color of the pen input based on the input of the pen color setting UI 725 .

일 실시예에 따르면, 제1 UI(720)는 프리뷰 활성화 버튼(721)을 포함할 수 있다. 도 6과 관련하여 후술되는 바와 같이, 전자 장치(201)는 프리뷰 활성화 버튼(721)에 대한 입력이 수신되면 프리뷰 영역을 설정할 수 있다. According to an embodiment, the first UI 720 may include a preview activation button 721 . As will be described later with reference to FIG. 6 , when an input for the preview activation button 721 is received, the electronic device 201 may set a preview area.

도 6은 일 실시예에 따른 프리뷰 화면을 도시한다.6 illustrates a preview screen according to an exemplary embodiment.

도 6을 참조하여, 전자 장치(201)는 프리뷰 활성화 버튼(721)에 대한 손(390)에 의한 터치 입력을 수신할 수 있다. 일 실시예에 따르면, 프리뷰 활성화 버튼(721)에 대한 입력에 기반하여, 전자 장치(201)는 드로잉 화면(710)의 적어도 일부 영역을 프리뷰 화면(730)으로 설정할 수 있다. 예를 들어, 전자 장치(201)는 프리뷰 활성화 버튼(721)에 대한 입력이 유지되는 동안 프리뷰 화면(730)을 유지하고, 프리뷰 활성화 버튼(721)에 대한 입력이 해제되면 프리뷰 화면(730)의 설정을 해제할 수 있다. Referring to FIG. 6 , the electronic device 201 may receive a touch input by the hand 390 for the preview activation button 721 . According to an embodiment, based on an input to the preview activation button 721 , the electronic device 201 may set at least a partial area of the drawing screen 710 as the preview screen 730 . For example, the electronic device 201 maintains the preview screen 730 while the input to the preview activation button 721 is maintained, and when the input to the preview activation button 721 is released, the preview screen 730 is displayed. setting can be turned off.

일 실시예에 따르면, 전자 장치(201)는 프리뷰 활성화 버튼(721)에 대한 입력이 수신되면, 입력 장치(202)에 대응하는 위치에 프리뷰 영역을 설정할 수 있다. 이하에서, 프리뷰 영역은 프리뷰 화면(730)으로 참조될 수 있다. 예를 들어, 전자 장치(201)는 프리뷰 화면(730)을 입력 장치(202)의 호버링 입력이 감지되는 위치에 설정할 수 있다. 전자 장치(201)는 입력 장치(202)의 호버링 입력이 감지되는 위치를 중심으로 하는 프리뷰 화면(730)을 설정할 수 있다. According to an embodiment, when an input for the preview activation button 721 is received, the electronic device 201 may set a preview area at a position corresponding to the input device 202 . Hereinafter, the preview area may be referred to as a preview screen 730 . For example, the electronic device 201 may set the preview screen 730 at a position where a hovering input of the input device 202 is sensed. The electronic device 201 may set the preview screen 730 centered on the position where the hovering input of the input device 202 is sensed.

예를 들어, 프리뷰 화면(730)은, 드로잉 입력(예: 펜 입력)에 기반하여 사용자가 그림을 그릴 수 있는 논리적 영역일 수 있다. 프리뷰 화면(730)은 프리뷰 영역 또는 프리뷰 레이어로 참조될 수 있다. 프리뷰 화면(730)은, 예를 들어, 논리적인 전체 프리뷰 영역 중 디스플레이(260)에 표시된 일부 영역 또는 전체 영역일 수 있다. 프리뷰 화면(730)은 드로잉 화면(710)의 적어도 일부와 중첩되어 디스플레이될 수 있다. 프리뷰 화면(730)에 대한 입력은 드로잉 화면(710)의 드로잉과 중첩되어 표시되기 때문에, 사용자는 프리뷰 화면(730)에 대한 입력을 통하여 드로잉 결과를 예측할 수 있다. 도 8 내지 도 15와 관련하여 후술되는 바와 같이, 프리뷰 화면(730)이 해제되면, 프리뷰 화면(730)에 대한 입력 중 적어도 일부는 취소될 수 있다. 사용자는 프리뷰 화면(730)을 해제 함으로써 프리뷰 화면(730)에 대한 입력을 용이하게 취소할 수 있다. For example, the preview screen 730 may be a logical area in which a user can draw a picture based on a drawing input (eg, a pen input). The preview screen 730 may be referred to as a preview area or a preview layer. The preview screen 730 may be, for example, a partial area or an entire area displayed on the display 260 among all logical preview areas. The preview screen 730 may be displayed while overlapping at least a portion of the drawing screen 710 . Since the input to the preview screen 730 is displayed overlapping the drawing on the drawing screen 710 , the user can predict the drawing result through the input to the preview screen 730 . As will be described later with reference to FIGS. 8 to 15 , when the preview screen 730 is released, at least some of the inputs to the preview screen 730 may be canceled. The user can easily cancel the input to the preview screen 730 by releasing the preview screen 730 .

도 6에 도시된 프리뷰 화면(730)의 위치, 크기, 및 형상은 예시적인 것으로서 본 문서의 실시예들이 이에 제한되는 것은 아니다. 예를 들어, 프리뷰 화면(730)은 드로잉 화면(710)의 적어도 일부 영역으로 설정될 수 있다. 예를 들어, 프리뷰 화면(730)은 지정된 위치 또는 드로잉 화면(710)의 중앙부에 위치될 수 있다. The position, size, and shape of the preview screen 730 illustrated in FIG. 6 are exemplary and embodiments of the present document are not limited thereto. For example, the preview screen 730 may be set as at least a partial area of the drawing screen 710 . For example, the preview screen 730 may be located at a designated location or at the center of the drawing screen 710 .

예를 들어, 드로잉 화면(710), 제1 UI(720), 및/또는 프리뷰 화면(730)은 지정된 어플리케이션(예: 드로잉 어플리케이션)의 실행 화면을 구성할 수 있다.For example, the drawing screen 710 , the first UI 720 , and/or the preview screen 730 may constitute an execution screen of a specified application (eg, a drawing application).

도 7은 일 실시예에 따른 화면 구성을 도시한다.7 illustrates a screen configuration according to an exemplary embodiment.

일 실시예에 따르면, 드로잉 화면(710), 제1 UI(720), 및 프리뷰 화면(730)은 논리적인 계층 구조에 따라서 배치될 수 있다. 예를 들어, 드로잉 화면(710)은 제1 UI(720) 및 프리뷰 화면(730)의 하위 레이어에 대응할 수 있다. 제1 UI(720)는 가장 상위 레이어에 대응할 수 있다. 프리뷰 화면(730)은 제1 UI(720)와 드로잉 화면(710) 사이의 레이어에 대응할 수 있다. 도 7에는 드로잉 화면(710)이 하나의 레이어로 도시되어 있으나, 드로잉 화면(710)은 복수의 레이어들로 구성될 수 있다. According to an embodiment, the drawing screen 710 , the first UI 720 , and the preview screen 730 may be arranged according to a logical hierarchical structure. For example, the drawing screen 710 may correspond to a lower layer of the first UI 720 and the preview screen 730 . The first UI 720 may correspond to the uppermost layer. The preview screen 730 may correspond to a layer between the first UI 720 and the drawing screen 710 . Although the drawing screen 710 is illustrated as one layer in FIG. 7 , the drawing screen 710 may be composed of a plurality of layers.

일 실시예에 따르면, 전자 장치(201)는 디스플레이(260)의 일 지점에 대한 입력을 해당 지점의 가장 상위 레이어에 대한 입력으로 처리할 수 있다. 예를 들어, 제1 UI(720)에 대응하는 위치에 입력이 수신되는 경우, 전자 장치(201)는 해당 입력을 제1 UI(720)에 대응하는 입력으로 처리할 수 있다. 예를 들어, 프리뷰 화면(730)과 드로잉 화면(710)이 중첩된 위치에 입력이 수신되는 경우, 전자 장치(201)는 해당 입력을 프리뷰 화면(730)에 대한 입력으로 처리할 수 있다. 예를 들어, 프리뷰 화면(730) 및 제1 UI(720)와 중첩되지 않은 드로잉 화면(710)에 입력이 수신되는 경우, 전자 장치(201)는 해당 입력을 드로잉 화면(710)에 대한 입력으로 처리할 수 있다. According to an embodiment, the electronic device 201 may process an input to a point of the display 260 as an input to an uppermost layer of the corresponding point. For example, when an input is received at a location corresponding to the first UI 720 , the electronic device 201 may process the input as an input corresponding to the first UI 720 . For example, when an input is received at a location where the preview screen 730 and the drawing screen 710 overlap, the electronic device 201 may process the corresponding input as an input to the preview screen 730 . For example, when an input is received on the preview screen 730 and the drawing screen 710 that does not overlap the first UI 720 , the electronic device 201 converts the input as an input to the drawing screen 710 . can be processed

도 8은 일 실시예에 따른 제1 UI의 제공을 도시한다.8 illustrates provision of a first UI according to an embodiment.

참조번호 801을 참조하여, 드로잉 화면(710) 상에 이미지가 표시된다. 예를 들어, 드로잉 화면(710) 상의 이미지는 펜 입력에 기반한 이미지 또는 로딩된 이미지 중 적어도 하나를 포함할 수 있다. 상기 이미지는 설명을 위한 것으로서, 본 문서의 실시예들이 이에 제한되는 것은 아니다. With reference to reference numeral 801 , an image is displayed on the drawing screen 710 . For example, the image on the drawing screen 710 may include at least one of an image based on a pen input and a loaded image. The image is for illustrative purposes only, and embodiments of the present document are not limited thereto.

참조번호 803을 참조하여, 외부 오브젝트(390)(예: 손)에 의한 터치 입력이 드로잉 화면(710)의 일 지점에 수신된다. 전자 장치(201)는 터치 입력에 기반하여, 터치 입력에 대응하는 위치에 제1 UI(720)를 디스플레이할 수 있다. 도 5와 관련하여 상술된 바와 같이, 제1 UI(720)는 프리뷰 활성화 버튼(721)을 포함할 수 있다. Referring to reference numeral 803 , a touch input by an external object 390 (eg, a hand) is received at a point on the drawing screen 710 . Based on the touch input, the electronic device 201 may display the first UI 720 at a position corresponding to the touch input. As described above with reference to FIG. 5 , the first UI 720 may include a preview activation button 721 .

이하에서, 도 9를 참조하여, 제1 UI(720)가 표시된 이후의 전자 장치(201)의 동작들이 설명될 수 있다. Hereinafter, operations of the electronic device 201 after the first UI 720 is displayed may be described with reference to FIG. 9 .

도 9는 일 실시예에 따른 프리뷰 이미지를 도시한다.9 illustrates a preview image according to an exemplary embodiment.

참조번호 901을 참조하여, 전자 장치(201)는 프리뷰 활성화 버튼(721)에 대한 터치 입력을 수신할 수 있다. 전자 장치(201)는 상기 입력에 기반하여 프리뷰 화면(730)을 설정할 수 있다. 예를 들어, 전자 장치(201)는 입력 장치(202)에 대응하는 위치에 프리뷰 화면(730)을 설정할 수 있다. 전자 장치(201)는 프리뷰 화면(730)에 대응하는 시각적 피드백을 제공할 수 있다. 예를 들어, 전자 장치(201)는 프리뷰 화면(730)의 외곽선을 디스플레이할 수 있다. 전자 장치(201)는 프리뷰 화면(730)의 투명도를 지정된 값으로 설정될 수 있다. 예를 들어, 전자 장치(201)는 프리뷰 화면(730)을 반투명하게 설정하여 프리뷰 화면(730)에 대한 시각적 피드백을 제공할 수 있다. Referring to reference numeral 901 , the electronic device 201 may receive a touch input for the preview activation button 721 . The electronic device 201 may set the preview screen 730 based on the input. For example, the electronic device 201 may set the preview screen 730 at a position corresponding to the input device 202 . The electronic device 201 may provide a visual feedback corresponding to the preview screen 730 . For example, the electronic device 201 may display an outline of the preview screen 730 . The electronic device 201 may set the transparency of the preview screen 730 to a specified value. For example, the electronic device 201 may set the preview screen 730 to be translucent to provide visual feedback on the preview screen 730 .

참조번호 903을 참조하여, 전자 장치(201)는 입력 장치(202)에 의한 적어도 하나의 펜 입력을 수신할 수 있다. 참조번호 903에서, 프리뷰 활성화 버튼(721)에 대한 입력은 유지되는 것으로 가정될 수 있다. 전자 장치(201)는 프리뷰 활성화 버튼(721)에 대한 입력이 유지되는 동안, 프리뷰 화면(730)을 유지할 수 있다. Referring to reference numeral 903 , the electronic device 201 may receive at least one pen input by the input device 202 . At reference numeral 903 , it may be assumed that the input to the preview activation button 721 is maintained. The electronic device 201 may maintain the preview screen 730 while an input to the preview activation button 721 is maintained.

참조번호 903을 참조하여, 전자 장치(201)는 프리뷰 화면(730)을 디스플레이하는 동안 입력 장치(202)에 의한 펜 입력을 수신할 수 있다. 예를 들어, 전자 장치(201)는 프리뷰 화면(920)에 대한 제1 펜 입력(910) 및 제2 펜 입력(920)을 수신할 수 있다. 예를 들어, 사용자는 제1 UI(720)에 대한 입력을 통하여 펜 입력의 속성을 제1 속성으로 설정한 뒤, 제1 펜 입력(910)을 수행할 수 있다. 전자 장치(201)는 제1 펜 입력(910)을 제1 속성에 따라서 디스플레이 할 수 있다. 예를 들어, 사용자는 제1 UI(720)에 대한 입력을 통하여 펜 입력의 속성을 제1 속성으로부터 제2 속성으로 변경한 뒤, 제2 펜 입력(920)을 수행할 수 있다. 전자 장치(201)는 제2 펜 입력(920)을 제2 속성에 따라서 디스플레이 할 수 있다.Referring to reference numeral 903 , the electronic device 201 may receive a pen input by the input device 202 while displaying the preview screen 730 . For example, the electronic device 201 may receive a first pen input 910 and a second pen input 920 with respect to the preview screen 920 . For example, the user may perform the first pen input 910 after setting the pen input property as the first property through the input to the first UI 720 . The electronic device 201 may display the first pen input 910 according to the first attribute. For example, the user may change the pen input property from the first property to the second property through the input to the first UI 720 , and then perform the second pen input 920 . The electronic device 201 may display the second pen input 920 according to the second attribute.

일 예시에서, 전자 장치(201)는 프리뷰 화면(730)을 디스플레이하는 동안, 프리뷰 화면(730) 외의 드로잉 화면(710)에 대한 펜 입력을 수신할 수 있다. 예를 들어, 전자 장치(201)는 제3 펜 입력(930)을 수신할 수 있다. In one example, while displaying the preview screen 730 , the electronic device 201 may receive a pen input to the drawing screen 710 other than the preview screen 730 . For example, the electronic device 201 may receive the third pen input 930 .

도 9의 예시에서, 전자 장치(201)가 프리뷰 화면(730) 밖의 드로잉 화면(710)에 대한 입력을 수신하고 있으나, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 예를 들어, 전자 장치(201)는 프리뷰 화면(730)을 디스플레이하는 동안 프리뷰 화면(730) 밖의 영역에 대하여는 드로잉을 허용하지 않을 수 있다.In the example of FIG. 9 , the electronic device 201 receives an input for the drawing screen 710 outside the preview screen 730 , but embodiments of the present document are not limited thereto. For example, the electronic device 201 may not allow drawing of an area outside the preview screen 730 while displaying the preview screen 730 .

도 10은 일 실시예에 따른 프리뷰 이미지의 취소를 도시한다.10 illustrates cancellation of a preview image according to an embodiment.

도 10은 도 9의 참조번호 903으로부터 프리뷰 활성화 버튼(721)에 대한 입력이 해제된 상황을 도시한다. FIG. 10 shows a situation in which an input to the preview activation button 721 from reference numeral 903 of FIG. 9 is released.

일 실시예에 따르면, 전자 장치(201)는 프리뷰 활성화 버튼(721)에 대한 입력이 해제되면, 프리뷰 화면(730)에 대한 입력 중 적어도 일부를 취소할 수 있다. 예를 들어, 전자 장치(201)는 프리뷰 화면(730)에 대한 입력 중, 지정되지 않은 입력은 취소시킬 수 있다. 전자 장치(201)는 취소된 입력의 디스플레이를 중단할 수 있다. According to an embodiment, when an input to the preview activation button 721 is released, the electronic device 201 may cancel at least some of the input to the preview screen 730 . For example, the electronic device 201 may cancel an unspecified input among the input to the preview screen 730 . The electronic device 201 may stop displaying the canceled input.

참조번호 1001을 참조하여, 프리뷰 활성화 버튼(721)에 대한 입력의 해제에 기반하여, 전자 장치(201)는 도 9의 제1 펜 입력(910) 및 제2 펜 입력(920)을 취소할 수 있다. 프리뷰 화면(730)에 대한 제1 펜 입력(910) 및 제2 펜 입력(920)은 취소시키는 반면, 전자 장치(201)는 프리뷰 화면(730) 외의 드로잉 화면(710)에 대한 입력(예: 제3 입력(930))은 유지할 수 있다. Referring to reference numeral 1001 , based on the release of the input to the preview activation button 721 , the electronic device 201 may cancel the first pen input 910 and the second pen input 920 of FIG. 9 . there is. While the first pen input 910 and the second pen input 920 to the preview screen 730 are canceled, the electronic device 201 receives an input to the drawing screen 710 other than the preview screen 730 (eg: The third input 930 may be maintained.

도 11은 일 실시예에 따른 부분 프리뷰 이미지의 적용을 도시한다.11 illustrates application of a partial preview image according to an embodiment.

도 11은 도 9의 참조번호 903에 후속하는 상황에 대응할 수 있다. FIG. 11 may correspond to a situation following reference numeral 903 of FIG. 9 .

참조번호 1101을 참조하여, 전자 장치(201)는 프리뷰 화면(730)의 적어도 일부 영역에 대한 선택 입력을 수신할 수 있다. 예를 들어, 전자 장치(201)는 입력 장치(202)에 의한 선택 입력을 수신할 수 있다. 전자 장치(201)는 입력 장치(202)의 입력 속성을 선택 툴로 변경할 수 있다. 예를 들어, 전자 장치(201)는 제1 UI(720)에 대한 입력 또는 입력 장치(202)의 버튼에 대한 입력에 기반하여 입력 장치(202)의 입력 속성을 선택 툴로 변경할 수 있다. 전자 장치(201)는 선택 툴로 설정된 입력 장치(202)의 펜 입력에 기반하여 선택 영역(1110)을 설정할 수 있다. 제1 펜 입력(910)에 대응하는 위치는 선택 영역(1110)으로 설정되나, 제2 펜 입력(920)은 선택되지 않은 것으로 가정될 수 있다. Referring to reference numeral 1101 , the electronic device 201 may receive a selection input for at least a partial region of the preview screen 730 . For example, the electronic device 201 may receive a selection input by the input device 202 . The electronic device 201 may change the input property of the input device 202 with a selection tool. For example, the electronic device 201 may change the input property of the input device 202 to a selection tool based on an input to the first UI 720 or an input to a button of the input device 202 . The electronic device 201 may set the selection area 1110 based on the pen input of the input device 202 set as the selection tool. It may be assumed that a position corresponding to the first pen input 910 is set as the selection area 1110 , but the second pen input 920 is not selected.

참조번호 1103을 참조하여, 프리뷰 활성화 버튼(721)에 대한 입력이 해제된다. 전자 장치(201)는 프리뷰 활성화 버튼(721)에 대한 입력이 해제되면, 프리뷰 화면(730)에 대한 입력들 중 선택 영역(1110)으로 설정되지 않은 영역을 제외하고 나머지 입력을 취소시킬 수 있다. 예를 들어, 전자 장치(201)는 제1 펜 입력(910)은 유지하고, 제2 펜 입력(920)은 취소시킬 수 있다. 사용자는 프리뷰 화면(730)의 일부 영역을 지정함으로써, 프리뷰 화면(730)의 일부 영역은 드로잉 화면(710)에 적용시킬 수 있다. 예를 들어, 전자 장치(201)는 제1 펜 입력(910)을 드로잉 화면(710)과 동일한 레이어로 병합시킬 수 있다. 다른 예를 들어, 전자 장치(201)는 제1 펜 입력(910)을 드로잉 화면(710)과는 별개의 레이어 상에 적용시킬 수 있다. Referring to reference numeral 1103 , an input to the preview activation button 721 is released. When the input to the preview activation button 721 is released, the electronic device 201 may cancel the remaining input except for a region that is not set as the selection region 1110 among the inputs to the preview screen 730 . For example, the electronic device 201 may maintain the first pen input 910 and cancel the second pen input 920 . By designating a partial area of the preview screen 730 by the user, the partial area of the preview screen 730 may be applied to the drawing screen 710 . For example, the electronic device 201 may merge the first pen input 910 into the same layer as the drawing screen 710 . As another example, the electronic device 201 may apply the first pen input 910 on a layer separate from the drawing screen 710 .

도 12는 일 실시예에 따른 바로가기 설정을 도시한다.12 illustrates shortcut settings according to an embodiment.

도 12는 도 9의 참조번호 903에 후속하는 상황에 대응할 수 있다. FIG. 12 may correspond to a situation following reference numeral 903 of FIG. 9 .

참조번호 1201을 참조하여, 전자 장치(201)는 프리뷰 화면(730)의 적어도 일부 영역에 대한 선택 입력을 수신할 수 있다. 전자 장치(201)는 선택 툴로 설정된 입력 장치(202)의 펜 입력에 기반하여 선택 영역(1210)을 설정할 수 있다. 제2 펜 입력(920)에 대응하는 위치는 선택 영역(1210)으로 설정되나, 제1 펜 입력(910)은 선택되지 않은 것으로 가정될 수 있다. 전자 장치(201)는 선택 영역(1210)의 설정 후, 선택 영역(1210)에 대응하는 제2 펜 입력(920)을 프리뷰 화면(730) 밖으로 이동시키는 드래그 입력을 수신할 수 있다. 전자 장치(201)는 드래그 입력에 기반하여, 제2 펜 입력(920)을 프리뷰 화면(730)의 밖으로 이동시킬 수 있다. Referring to reference numeral 1201 , the electronic device 201 may receive a selection input for at least a partial region of the preview screen 730 . The electronic device 201 may set the selection area 1210 based on a pen input of the input device 202 set as the selection tool. It may be assumed that a position corresponding to the second pen input 920 is set as the selection area 1210 , but the first pen input 910 is not selected. After the selection area 1210 is set, the electronic device 201 may receive a drag input for moving the second pen input 920 corresponding to the selection area 1210 out of the preview screen 730 . The electronic device 201 may move the second pen input 920 out of the preview screen 730 based on the drag input.

참조번호 1203을 참조하여, 프리뷰 활성화 버튼(721)에 대한 입력이 해제된다. 전자 장치(201)는 프리뷰 활성화 버튼(721)에 대한 입력이 해제되면, 프리뷰 화면(730)에 대한 입력들 중 선택 영역(1110)으로 설정되지 않은 영역을 제외하고 나머지 입력을 취소시킬 수 있다. 예를 들어, 전자 장치(201)는 제1 펜 입력(910)은 취소 시킬 수 있다. 전자 장치(201)는 프리뷰 화면(730) 밖으로 이동된 제2 입력(920)을 바로가기(short cut, 1230)으로 설정할 수 있다. Referring to reference numeral 1203 , the input to the preview activation button 721 is released. When the input to the preview activation button 721 is released, the electronic device 201 may cancel the remaining input except for a region that is not set as the selection region 1110 among the inputs to the preview screen 730 . For example, the electronic device 201 may cancel the first pen input 910 . The electronic device 201 may set the second input 920 moved out of the preview screen 730 as a short cut 1230 .

일 실시예에 따르면, 전자 장치(201)는 바로가기(1230)를 제2 입력(920)에 대한 속성 및/또는 형상에 대한 바로가기로 설정할 수 있다. 예를 들어, 바로가기(1230)에 대한 펜 입력이 수신되면, 전자 장치(201)는 바로가기(1230)의 속성 및/또는 형상에 따라서 펜 입력의 속성 및/또는 형상을 설정할 수 있다. 전자 장치(201)는 바로가기(1230)를 드로잉 화면(710)의 상위 레이어에 디스플레이할 수 있다. 바로가기(1230)는, 예를 들어, 아이콘 또는 플로팅 UI(floating user interface)로 참조될 수 있다.According to an embodiment, the electronic device 201 may set the shortcut 1230 as a shortcut for the property and/or shape of the second input 920 . For example, when a pen input for the shortcut 1230 is received, the electronic device 201 may set the properties and/or shape of the pen input according to the properties and/or shape of the shortcut 1230 . The electronic device 201 may display the shortcut 1230 on an upper layer of the drawing screen 710 . The shortcut 1230 may be referred to as, for example, an icon or a floating user interface (UI).

이하에서, 도 13 및 도 14를 참조하여, 바로가기(1230)를 이용한 입력 처리 방법이 설명될 수 있다. Hereinafter, an input processing method using the shortcut 1230 may be described with reference to FIGS. 13 and 14 .

도 13은 일 실시예에 따른 바로가기를 이용한 펜 입력을 도시한다.13 illustrates a pen input using a shortcut according to an exemplary embodiment.

도 13은 도 12의 참조번호 1203에 후속하는 상황에 대응할 수 있다. FIG. 13 may correspond to a situation following reference numeral 1203 of FIG. 12 .

참조번호 1301을 참조하여, 전자 장치(201)는 바로가기(1230)에 대한 펜 입력을 수신할 수 있다. 전자 장치(201)는 바로가기(1230)에 대한 펜 입력에 기반하여, 펜 입력의 속성을 바로가기(1230)의 속성으로 설정할 수 있다. Referring to reference numeral 1301 , the electronic device 201 may receive a pen input for the shortcut 1230 . The electronic device 201 may set the property of the pen input as the property of the shortcut 1230 based on the pen input for the shortcut 1230 .

참조번호 1303을 참조하여, 전자 장치(201)는 펜 입력(1310)을 수신할 수 있다. 전자 장치(201)는 바로가기(1230)의 속성에 따라서 펜 입력(1310)을 디스플레이할 수 있다. 사용자는 바로가기(1230)를 이용함으로써, 프리뷰 화면(730)에 대한 입력 중 적어도 일부를 드로잉 화면(710)에 대한 입력에 적용시킬 수 있다. Referring to reference numeral 1303 , the electronic device 201 may receive a pen input 1310 . The electronic device 201 may display the pen input 1310 according to the properties of the shortcut 1230 . The user may apply at least a portion of the input to the preview screen 730 to the input to the drawing screen 710 by using the shortcut 1230 .

도 14는 일 실시예에 따른 바로가기를 이용한 스탬프 입력을 도시한다.14 shows a stamp input using a shortcut according to an embodiment.

도 14는 도 12의 참조번호 1203에 후속하는 상황에 대응할 수 있다. FIG. 14 may correspond to a situation following reference numeral 1203 of FIG. 12 .

참조번호 1401을 참조하여, 전자 장치(201)는 바로가기(1230)에 대한 펜 입력을 수신할 수 있다. 전자 장치(201)는 바로가기(1230)에 대한 펜 입력에 기반하여, 펜 입력의 형태 및 속성을 바로가기(1230)의 형태 및 속성으로 설정할 수 있다. 예를 들어, 바로가기(1230)는 스탬프로서 이용될 수 있다. Referring to reference numeral 1401 , the electronic device 201 may receive a pen input for the shortcut 1230 . The electronic device 201 may set the shape and properties of the pen input to those of the shortcut 1230 based on the pen input for the shortcut 1230 . For example, shortcut 1230 may be used as a stamp.

참조번호 1303을 참조하여, 전자 장치(201)는 펜 입력(1410)을 수신할 수 있다. 전자 장치(201)는 바로가기(1230)의 속성 및 형태를 패턴화 하고, 패턴에 따라서 펜 입력(1410)을 디스플레이할 수 있다. Referring to reference numeral 1303 , the electronic device 201 may receive a pen input 1410 . The electronic device 201 may pattern the properties and shape of the shortcut 1230 and display the pen input 1410 according to the pattern.

도 15는 일 실시예에 따른 프리뷰 드로잉을 위한 방법의 흐름도이다.15 is a flowchart of a method for preview drawing according to an embodiment.

일 실시예에 따르면, 전자 장치(201)는 도 15의 동작들을 수행할 수 있다. 예를 들어, 전자 장치(201)의 프로세서(220)는 메모리(230)에 저장된 인스트럭션들의 실행 시에 도 15의 동작들을 수행하도록 설정될 수 있다. According to an embodiment, the electronic device 201 may perform the operations of FIG. 15 . For example, the processor 220 of the electronic device 201 may be configured to perform the operations of FIG. 15 when instructions stored in the memory 230 are executed.

동작 1505에서, 전자 장치(201)는 제1 이미지를 디스플레이(260)에 디스플레이할 수 있다. 예를 들어, 제1 이미지는 드로잉 화면(710)에 대응할 수 있다. 제1 이미지는 사용자의 펜 입력에 기반한 드로잉 및/또는 배경 이미지를 포함할 수 있다. In operation 1505 , the electronic device 201 may display the first image on the display 260 . For example, the first image may correspond to the drawing screen 710 . The first image may include a drawing and/or a background image based on a user's pen input.

동작 1510에서, 전자 장치(201)는 제1 터치 입력을 수신할 수 있다. 제1 터치 입력은 지정된 UI(예: 프리뷰 활성화 버튼(721))에 대한 터치 입력일 수 있다. 예를 들어, 전자 장치(201)는 제1 터치 입력에 앞서서 터치 입력을 수신하고, 터치 입력에 기반하여 지정된 UI(예: 프리뷰 활성화 버튼(721)을 포함하는 제1 UI(720))를 디스플레이할 수 있다. 이 경우, 전자 장치(201)는 동작 1510에 앞서서, 터치 입력의 수신 및 터치 입력에 기반한 지정된 UI의 디스플레이를 수행할 수 있다. 도 5 내지 도 14와 관련하여, 전자 장치(201)가 터치 입력에 기반하여 제1 UI(720)를 디스플레이하는 것으로 설명되었으나, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 예를 들어, 전자 장치(201)는 제1 이미지와 함께 지정된 UI(예: 프리뷰 활성화 버튼(721))를 디스플레이할 수 있다. In operation 1510 , the electronic device 201 may receive a first touch input. The first touch input may be a touch input for a designated UI (eg, a preview activation button 721). For example, the electronic device 201 receives a touch input prior to the first touch input, and displays a designated UI (eg, the first UI 720 including the preview activation button 721 ) based on the touch input. can do. In this case, prior to operation 1510 , the electronic device 201 may receive a touch input and display a designated UI based on the touch input. Although it has been described that the electronic device 201 displays the first UI 720 based on a touch input with reference to FIGS. 5 to 14 , embodiments of the present document are not limited thereto. For example, the electronic device 201 may display a designated UI (eg, a preview activation button 721) together with the first image.

동작 1515에서, 전자 장치(201)는 제1 터치 입력이 유지되는지를 결정할 수 있다. 예를 들어, 전자 장치(201)는 지정된 UI에 대한 제1 터치 입력이 유지되면 제1 터치 입력이 유지되는 것으로 결정할 수 있다. 전자 장치(201)는 지정된 UI에 대한 제1 터치 입력이 해제되면, 제1 터치 입력이 유지되지 않는 것으로 결정할 수 있다. In operation 1515 , the electronic device 201 may determine whether the first touch input is maintained. For example, when the first touch input for the specified UI is maintained, the electronic device 201 may determine that the first touch input is maintained. When the first touch input for the specified UI is released, the electronic device 201 may determine that the first touch input is not maintained.

제1 터치 입력이 유지되는 경우, 동작 1520에서, 전자 장치(201)는 제1 이미지의 적어도 일부 영역을 프리뷰 영역(예: 프리뷰 화면(730))으로 설정할 수 있다. 동작 1525에서, 전자 장치(201)는 제1 입력(예: 펜 입력)에 기반하여 제1 프리뷰 이미지를 제1 이미지에 중첩하여 디스플레이할 수 있다. 전자 장치(201)는 제1 입력에 대하여 설정된 제1 속성에 따라서 제1 입력을 제1 이미지 상의 프리뷰 영역에 디스플레이 할 수 있다. 예를 들어, 전자 장치(201)는 제1 입력을 제1 속성에 따라서 디스플레이할 수 있다. 전자 장치(201)는 프리뷰 영역의 설정 후, 사용자 입력에 기반하여 펜 입력의 속성을 제1 속성으로 설정할 수 있다.When the first touch input is maintained, in operation 1520 , the electronic device 201 may set at least a partial area of the first image as a preview area (eg, the preview screen 730 ). In operation 1525, the electronic device 201 may display the first preview image by superimposing it on the first image based on the first input (eg, pen input). The electronic device 201 may display the first input in the preview area on the first image according to the first attribute set for the first input. For example, the electronic device 201 may display the first input according to the first attribute. After setting the preview area, the electronic device 201 may set the pen input property as the first property based on the user input.

제1 터치 입력이 유지되지 않는 경우, 동작 1530에서, 전자 장치(201)는 프리뷰 영역 및 제1 프리뷰 이미지를 제거할 수 있다. 전자 장치(201)는 프리뷰 영역 설정을 해제하고, 제1 프리뷰 이미지의 디스플레이를 중단할 수 있다. 이 경우, 전자 장치(201)는 펜 입력의 속성을 제1 속성으로 유지할 수 있다.If the first touch input is not maintained, in operation 1530 , the electronic device 201 may remove the preview area and the first preview image. The electronic device 201 may cancel the preview area setting and stop displaying the first preview image. In this case, the electronic device 201 may maintain the pen input attribute as the first attribute.

동작 1530에서, 전자 장치(201)가 제1 프리뷰 이미지의 디스플레이를 중단하는 것으로 설명되었으나, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 예를 들어, 전자 장치(201)는 도 11 내지 도 14와 관련하여 상술된 바와 같이, 프리뷰 이미지의 적어도 일부는 제거되지 않을 수 있다. 전자 장치(201)는 프리뷰 이미지 중 선택된 영역은 제거하지 않을 수 있다. 전자 장치(201)는 선택된 영역에 대응하는 프리뷰 이미지를 제1 이미지에 적용시킬 수 있다. 전자 장치(201)는 선택된 영역에 대응하는 프리뷰 이미지를 바로가기(1230)로 생성할 수 있다. Although it has been described that the electronic device 201 stops displaying the first preview image in operation 1530, embodiments of the present document are not limited thereto. For example, the electronic device 201 may not remove at least a portion of the preview image as described above with reference to FIGS. 11 to 14 . The electronic device 201 may not remove the selected area of the preview image. The electronic device 201 may apply a preview image corresponding to the selected area to the first image. The electronic device 201 may generate a preview image corresponding to the selected area as a shortcut 1230 .

도 2를 참조하여, 일 실시예에 따르면, 전자 장치(201)는 디스플레이(260), 디지털 펜(예: 입력 장치(202))으로부터 펜 입력을 수신하도록 설정된 펜 입력 인터페이스(250), 프로세서(220), 및 메모리(230)를 포함할 수 있다. 상기 메모리(230)는 실행 시에 상기 프로세서(220)가 후술하는 동작들을 수행하도록 하는 인스트럭션들을 저장할 수 있다. 예를 들어, 상기 펜 입력 인터페이스(250)는 상기 디스플레이(260) 내에 위치될 수 있다.Referring to FIG. 2 , according to an embodiment, the electronic device 201 includes a display 260 , a pen input interface 250 configured to receive a pen input from a digital pen (eg, an input device 202 ), a processor ( 220 ), and a memory 230 . The memory 230 may store instructions that, when executed, cause the processor 220 to perform operations to be described later. For example, the pen input interface 250 may be located within the display 260 .

상기 프로세서(220)는, 상기 디스플레이(260)에 제1 이미지를 디스플레이하고, 상기 디스플레이(260)에 대한 제1 터치 입력을 수신하고, 상기 제1 터치 입력이 유지되는 동안, 상기 디스플레이(260)의 적어도 일부 영역을 프리뷰 영역으로 설정하고, 상기 디지털 펜의 입력에 대한 속성을 제1 속성으로 설정하고, 상기 디지털 펜으로부터 상기 프리뷰 영역에 대한 제1 입력을 수신하고, 상기 제1 입력에 기반한 제1 프리뷰 이미지를 상기 제1 이미지에 중첩하여 디스플레이할 수 있다. 상기 프로세서(220)는 상기 제1 터치 입력이 해제되면, 상기 제1 프리뷰 이미지의 디스플레이를 중단하고, 상기 디지털 펜의 입력에 대한 속성을 상기 제1 속성으로 유지할 수 있다. 예를 들어, 상기 프로세서(220)는 상기 디지털 펜에 의한 호버링(hovering) 입력에 대응하는 위치에 상기 프리뷰 영역을 설정할 수 있다. The processor 220 displays a first image on the display 260, receives a first touch input to the display 260, and while the first touch input is maintained, the display 260 set at least a partial region of 1 A preview image may be displayed by being superimposed on the first image. When the first touch input is released, the processor 220 may stop displaying the first preview image and maintain a property of the digital pen input as the first property. For example, the processor 220 may set the preview area at a position corresponding to a hovering input by the digital pen.

예를 들어, 상기 제1 터치 입력은 상기 디스플레이 상의 버튼에 대한 터치 입력을 포함할 수 있다. 상기 프로세서(220)는 상기 디스플레이에 대한 제2 터치 입력을 수신하고, 상기 제2 터치 입력에 기반하여 상기 디스플레이 상에 상기 버튼을 포함하는 유저 인터페이스를 디스플레이할 수 있다. For example, the first touch input may include a touch input for a button on the display. The processor 220 may receive a second touch input for the display, and display a user interface including the button on the display based on the second touch input.

상기 프로세서(220)는 상기 제1 터치 입력이 유지되는 동안, 상기 디지털 펜으로부터 상기 프리뷰 영역에 대한 제2 입력을 수신하고, 상기 제2 입력에 기반한 제2 프리뷰 이미지를 상기 제1 이미지에 중첩하여 디스플레이하고, 상기 제2 프리뷰 이미지에 대한 선택 입력을 수신할 수 있다. 상기 프로세서(220)는 상기 제1 터치 입력이 해제되면, 상기 제1 프리뷰 이미지의 디스플레이를 중단하고, 상기 선택 입력에 의하여 지정된 상기 제2 프리뷰 이미지를 상기 제1 이미지에 적용할 수 있다. 상기 프로세서(220)는 상기 제1 터치 입력이 유지되는 동안, 상기 선택 입력에 의하여 지정된 상기 제2 프리뷰 이미지를 드래그 입력에 기반하여 상기 프리뷰 영역의 밖으로 이동시키고, 상기 제1 터치 입력이 해제되면, 상기 제2 프리뷰 이미지를 바로가기로 설정하고, 상기 제2 프리뷰 이미지의 디스플레이를 유지할 수 있다. 예를 들어, 상기 프로세서(220)는 상기 바로가기에 대한 입력이 수신되면, 상기 디지털 펜에 대한 입력의 속성을 상기 제2 프리뷰 이미지의 속성에 따라서 변경할 수 있다. 예를 들어, 상기 프로세서(220)는 상기 바로가기에 대한 입력이 수신되면, 상기 디지털 펜에 대한 입력의 속성 및 형태를 상기 제2 프리뷰 이미지의 속성 및 형태에 따라서 변경할 수 있다. The processor 220 receives a second input for the preview area from the digital pen while the first touch input is maintained, and superimposes a second preview image based on the second input on the first image. may be displayed, and a selection input for the second preview image may be received. When the first touch input is released, the processor 220 may stop displaying the first preview image and apply the second preview image designated by the selection input to the first image. The processor 220 moves the second preview image designated by the selection input to the outside of the preview area based on the drag input while the first touch input is maintained, and when the first touch input is released, The second preview image may be set as a shortcut, and the display of the second preview image may be maintained. For example, when the input for the shortcut is received, the processor 220 may change the property of the input to the digital pen according to the property of the second preview image. For example, when the input for the shortcut is received, the processor 220 may change the property and shape of the input to the digital pen according to the property and shape of the second preview image.

일 실시예에 따른 전자 장치(201)의 프리뷰 드로잉을 위한 방법은, 상기 전자 장치의 디스플레이(260)에 제1 이미지를 디스플레이하는 동작, 상기 디스플레이(260)에 대한 제1 터치 입력을 수신하는 동작, 상기 제1 터치 입력이 유지되는 동안, 상기 디스플레이의 적어도 일부 영역을 프리뷰 영역을 설정하는 동작, 및 상기 제1 터치 입력이 해제되면 상기 프리뷰 영역을 해제하는 동작을 포함할 수 있다. 상기 프리뷰 영역을 설정하는 동작은, 디지털 펜의 입력에 대한 속성을 제1 속성으로 설정하는 동작, 상기 디지털 펜으로부터 상기 프리뷰 영역에 대한 제1 입력을 수신하는 동작, 및 상기 제1 입력에 기반한 제1 프리뷰 이미지를 상기 제1 이미지에 중첩하여 디스플레이하는 동작을 포함할 수 있다. 상기 프리뷰 영역을 해제하는 동작은, 상기 제1 프리뷰 이미지의 디스플레이를 중단하는 동작, 및 상기 디지털 펜의 입력에 대한 속성을 상기 제1 속성으로 유지하는 동작을 포함할 수 있다. A method for preview drawing of an electronic device 201 according to an embodiment includes displaying a first image on a display 260 of the electronic device and receiving a first touch input on the display 260 . , setting a preview area for at least a partial area of the display while the first touch input is maintained, and releasing the preview area when the first touch input is released. The setting of the preview area may include setting a property for input of the digital pen as a first property, receiving a first input for the preview area from the digital pen, and a second input based on the first input. and displaying a first preview image by superimposing the preview image on the first image. The operation of releasing the preview area may include stopping the display of the first preview image and maintaining an input property of the digital pen as the first property.

상기 프리뷰 영역을 설정하는 동작은, 상기 디지털 펜에 의한 호버링(hovering) 입력에 대응하는 위치에 상기 프리뷰 영역을 설정하는 동작을 더 포함할 수 있다. 상기 프리뷰 영역을 설정하는 동작은, 상기 디지털 펜으로부터 상기 프리뷰 영역에 대한 제2 입력을 수신하는 동작, 상기 제2 입력에 기반한 제2 프리뷰 이미지를 상기 제1 이미지에 중첩하여 디스플레이하는 동작, 및 상기 제2 프리뷰 이미지에 대한 선택 입력을 수신하는 동작을 더 포함할 수 있다. 상기 프리뷰 영역을 해제하는 동작은, 상기 선택 입력에 의하여 지정된 상기 제2 프리뷰 이미지를 상기 제1 이미지에 적용하는 동작을 더 포함할 수 있다. The setting of the preview area may further include setting the preview area at a position corresponding to a hovering input by the digital pen. The setting of the preview area may include receiving a second input for the preview area from the digital pen, displaying a second preview image based on the second input by superimposing the first image on the first image, and The method may further include receiving a selection input for the second preview image. The operation of releasing the preview area may further include applying the second preview image designated by the selection input to the first image.

상기 프리뷰 영역을 설정하는 동작은, 상기 선택 입력에 의하여 지정된 상기 제2 프리뷰 이미지를 드래그 입력에 기반하여 상기 프리뷰 영역의 밖으로 이동시키는 동작을 더 포함하고, 상기 프리뷰 영역을 해제하는 동작은, 상기 제2 프리뷰 이미지를 바로가기로 설정하는 동작, 및 상기 제2 프리뷰 이미지의 디스플레이를 유지하는 동작을 더 포함할 수 있다.The setting of the preview area may further include moving the second preview image designated by the selection input out of the preview area based on a drag input, and releasing the preview area may include: The method may further include an operation of setting the second preview image as a shortcut, and an operation of maintaining display of the second preview image.

상기 방법은, 상기 바로가기에 대한 입력이 수신되면, 상기 디지털 펜에 대한 입력의 속성을 상기 제2 프리뷰 이미지의 속성에 따라서 변경하는 동작을 더 포함할 수 있다.The method may further include, when the input for the shortcut is received, changing the property of the input to the digital pen according to the property of the second preview image.

상기 방법은, 상기 바로가기에 대한 입력이 수신되면, 상기 디지털 펜에 대한 입력의 속성 및 형태를 상기 제2 프리뷰 이미지의 속성 및 형태에 따라서 변경하는 동작을 더 포함할 수 있다. The method may further include, when the input for the shortcut is received, changing the properties and shape of the input to the digital pen according to the properties and shape of the second preview image.

예를 들어, 상기 제1 터치 입력은 상기 디스플레이 상의 버튼에 대한 터치 입력을 포함할 수 있다. 상기 방법은, 상기 디스플레이에 대한 제2 터치 입력을 수신하는 동작, 및 상기 제2 터치 입력에 기반하여 상기 디스플레이 상에 상기 버튼을 포함하는 유저 인터페이스를 디스플레이하는 동작을 더 포함할 수 있다. 예를 들어, 상기 유저 인터페이스는 상기 디지털 펜에 대한 입력의 속성을 변경하기 위한 적어도 하나의 그래픽 오브젝트를 더 포함할 수 있다. For example, the first touch input may include a touch input for a button on the display. The method may further include receiving a second touch input for the display, and displaying a user interface including the button on the display based on the second touch input. For example, the user interface may further include at least one graphic object for changing a property of an input to the digital pen.

Claims (20)

전자 장치에 있어서,
디스플레이;
디지털 펜으로부터 펜 입력을 수신하도록 설정된 펜 입력 인터페이스;
프로세서; 및
메모리를 포함하고, 상기 메모리는 실행 시에 상기 프로세서가:
상기 디스플레이에 제1 이미지를 디스플레이하고,
상기 디스플레이에 대한 제1 터치 입력을 수신하고,
상기 제1 터치 입력이 유지되는 동안, 상기 디스플레이의 적어도 일부 영역을 프리뷰 영역으로 설정하고, 상기 디지털 펜의 입력에 대한 속성을 제1 속성으로 설정하고, 상기 디지털 펜으로부터 상기 프리뷰 영역에 대한 제1 입력을 수신하고, 상기 제1 입력에 기반한 제1 프리뷰 이미지를 상기 제1 이미지에 중첩하여 디스플레이하고,
상기 제1 터치 입력이 해제되면, 상기 제1 프리뷰 이미지의 디스플레이를 중단하고, 상기 디지털 펜의 입력에 대한 속성을 상기 제1 속성으로 유지하도록 하는 인스트럭션들을 저장하는, 전자 장치.
In an electronic device,
display;
a pen input interface configured to receive pen input from a digital pen;
processor; and
a memory, wherein the memory, when executed, causes the processor to:
displaying a first image on the display;
receiving a first touch input to the display;
While the first touch input is maintained, at least a partial area of the display is set as a preview area, a property of the digital pen input is set as a first property, and the first property of the preview area is set from the digital pen. receiving an input, and displaying a first preview image based on the first input to be superimposed on the first image;
and storing instructions for stopping the display of the first preview image and maintaining a property of the digital pen input as the first property when the first touch input is released.
제 1 항에 있어서,
상기 인스트럭션들은 실행 시에 상기 프로세서가,
상기 디지털 펜에 의한 호버링(hovering) 입력에 대응하는 위치에 상기 프리뷰 영역을 설정하도록 하는, 전자 장치.
The method of claim 1,
The instructions, when executed, cause the processor to
and setting the preview area at a position corresponding to a hovering input by the digital pen.
제 1 항에 있어서,
상기 인스트럭션들은 실행 시에 상기 프로세서가,
상기 제1 터치 입력이 유지되는 동안, 상기 디지털 펜으로부터 상기 프리뷰 영역에 대한 제2 입력을 수신하고, 상기 제2 입력에 기반한 제2 프리뷰 이미지를 상기 제1 이미지에 중첩하여 디스플레이하고, 상기 제2 프리뷰 이미지에 대한 선택 입력을 수신하도록 하는, 전자 장치.
The method of claim 1,
The instructions, when executed, cause the processor to
While the first touch input is maintained, a second input for the preview area is received from the digital pen, a second preview image based on the second input is displayed overlaid on the first image, and the second input is displayed. An electronic device to receive a selection input for a preview image.
제 3 항에 있어서,
상기 인스트럭션들은 실행 시에 상기 프로세서가, 상기 제1 터치 입력이 해제되면, 상기 제1 프리뷰 이미지의 디스플레이를 중단하고, 상기 선택 입력에 의하여 지정된 상기 제2 프리뷰 이미지를 상기 제1 이미지에 적용하도록 하는, 전자 장치.
4. The method of claim 3,
The instructions, when executed, cause the processor to, when the first touch input is released, stop displaying the first preview image, and apply the second preview image designated by the selection input to the first image. , electronic devices.
제 3 항에 있어서,
상기 인스트럭션들은 실행 시에 상기 프로세서가,
상기 제1 터치 입력이 유지되는 동안, 상기 선택 입력에 의하여 지정된 상기 제2 프리뷰 이미지를 드래그 입력에 기반하여 상기 프리뷰 영역의 밖으로 이동시키고,
상기 제1 터치 입력이 해제되면, 상기 제2 프리뷰 이미지를 바로가기로 설정하고, 상기 제2 프리뷰 이미지의 디스플레이를 유지하도록 하는, 전자 장치.
4. The method of claim 3,
The instructions, when executed, cause the processor to
While the first touch input is maintained, the second preview image designated by the selection input is moved out of the preview area based on the drag input;
When the first touch input is released, the second preview image is set as a shortcut and the display of the second preview image is maintained.
제 5 항에 있어서,
상기 인스트럭션들은 실행 시에 상기 프로세서가,
상기 바로가기에 대한 입력이 수신되면, 상기 디지털 펜에 대한 입력의 속성을 상기 제2 프리뷰 이미지의 속성에 따라서 변경하도록 하는, 전자 장치.
6. The method of claim 5,
The instructions, when executed, cause the processor to
and when an input for the shortcut is received, change a property of the input to the digital pen according to a property of the second preview image.
제 5 항에 있어서,
상기 인스트럭션들은 실행 시에 상기 프로세서가,
상기 바로가기에 대한 입력이 수신되면, 상기 디지털 펜에 대한 입력의 속성 및 형태를 상기 제2 프리뷰 이미지의 속성 및 형태에 따라서 변경하도록 하는, 전자 장치.
6. The method of claim 5,
The instructions, when executed, cause the processor to
and, when the input for the shortcut is received, change the properties and shape of the input to the digital pen according to the properties and shape of the second preview image.
제 1 항에 있어서,
상기 제1 터치 입력은 상기 디스플레이 상의 버튼에 대한 터치 입력을 포함하는, 전자 장치.
The method of claim 1,
The first touch input includes a touch input for a button on the display.
제 8 항에 있어서,
상기 인스트럭션들은 실행 시에 상기 프로세서가,
상기 디스플레이에 대한 제2 터치 입력을 수신하고,
상기 제2 터치 입력에 기반하여 상기 디스플레이 상에 상기 버튼을 포함하는 유저 인터페이스를 디스플레이하도록 하는, 전자 장치.
9. The method of claim 8,
The instructions, when executed, cause the processor to
receiving a second touch input to the display;
and display a user interface including the button on the display based on the second touch input.
제 1 항에 있어서,
상기 펜 입력 인터페이스는 상기 디스플레이 내에 위치된, 전자 장치.
The method of claim 1,
and the pen input interface is located within the display.
전자 장치의 프리뷰 드로잉을 위한 방법으로서,
상기 전자 장치의 디스플레이에 제1 이미지를 디스플레이하는 동작;
상기 디스플레이에 대한 제1 터치 입력을 수신하는 동작;
상기 제1 터치 입력이 유지되는 동안, 상기 디스플레이의 적어도 일부 영역을 프리뷰 영역을 설정하는 동작; 및
상기 제1 터치 입력이 해제되면 상기 프리뷰 영역을 해제하는 동작을 포함하고,
상기 프리뷰 영역을 설정하는 동작은:
디지털 펜의 입력에 대한 속성을 제1 속성으로 설정하는 동작;
상기 디지털 펜으로부터 상기 프리뷰 영역에 대한 제1 입력을 수신하는 동작; 및
상기 제1 입력에 기반한 제1 프리뷰 이미지를 상기 제1 이미지에 중첩하여 디스플레이하는 동작을 포함하고,
상기 프리뷰 영역을 해제하는 동작은:
상기 제1 프리뷰 이미지의 디스플레이를 중단하는 동작; 및
상기 디지털 펜의 입력에 대한 속성을 상기 제1 속성으로 유지하는 동작을 포함하는, 방법.
A method for preview drawing of an electronic device, comprising:
displaying a first image on a display of the electronic device;
receiving a first touch input to the display;
setting a preview area for at least a partial area of the display while the first touch input is maintained; and
and releasing the preview area when the first touch input is released,
The operation of setting the preview area is:
setting a property for input of the digital pen as a first property;
receiving a first input for the preview area from the digital pen; and
and displaying a first preview image based on the first input superimposed on the first image,
The operation of releasing the preview area includes:
stopping the display of the first preview image; and
and maintaining a property for input of the digital pen as the first property.
제 11 항에 있어서,
상기 프리뷰 영역을 설정하는 동작은, 상기 디지털 펜에 의한 호버링(hovering) 입력에 대응하는 위치에 상기 프리뷰 영역을 설정하는 동작을 더 포함하는, 방법.
12. The method of claim 11,
The setting of the preview area further includes setting the preview area at a position corresponding to a hovering input by the digital pen.
제 11 항에 있어서,
상기 프리뷰 영역을 설정하는 동작은:
상기 디지털 펜으로부터 상기 프리뷰 영역에 대한 제2 입력을 수신하는 동작;
상기 제2 입력에 기반한 제2 프리뷰 이미지를 상기 제1 이미지에 중첩하여 디스플레이하는 동작; 및
상기 제2 프리뷰 이미지에 대한 선택 입력을 수신하는 동작을 더 포함하는, 방법.
12. The method of claim 11,
The operation of setting the preview area is:
receiving a second input for the preview area from the digital pen;
displaying a second preview image based on the second input to be superimposed on the first image; and
and receiving a selection input for the second preview image.
제 13 항에 있어서,
상기 프리뷰 영역을 해제하는 동작은, 상기 선택 입력에 의하여 지정된 상기 제2 프리뷰 이미지를 상기 제1 이미지에 적용하는 동작을 더 포함하는, 방법.
14. The method of claim 13,
The operation of releasing the preview area further includes applying the second preview image designated by the selection input to the first image.
제 13 항에 있어서,
상기 프리뷰 영역을 설정하는 동작은, 상기 선택 입력에 의하여 지정된 상기 제2 프리뷰 이미지를 드래그 입력에 기반하여 상기 프리뷰 영역의 밖으로 이동시키는 동작을 더 포함하고,
상기 프리뷰 영역을 해제하는 동작은,
상기 제2 프리뷰 이미지를 바로가기로 설정하는 동작; 및
상기 제2 프리뷰 이미지의 디스플레이를 유지하는 동작을 더 포함하는, 방법.
14. The method of claim 13,
The setting of the preview area further includes moving the second preview image designated by the selection input out of the preview area based on a drag input,
The operation of releasing the preview area includes:
setting the second preview image as a shortcut; and
and maintaining display of the second preview image.
제 15 항에 있어서,
상기 바로가기에 대한 입력이 수신되면, 상기 디지털 펜에 대한 입력의 속성을 상기 제2 프리뷰 이미지의 속성에 따라서 변경하는 동작을 더 포함하는, 방법.
16. The method of claim 15,
and changing a property of the input to the digital pen according to a property of the second preview image when the input for the shortcut is received.
제 15 항에 있어서,
상기 바로가기에 대한 입력이 수신되면, 상기 디지털 펜에 대한 입력의 속성 및 형태를 상기 제2 프리뷰 이미지의 속성 및 형태에 따라서 변경하는 동작을 더 포함하는, 방법.
16. The method of claim 15,
and changing the properties and shape of the input to the digital pen according to the properties and shape of the second preview image when the input for the shortcut is received.
제 11 항에 있어서,
상기 제1 터치 입력은 상기 디스플레이 상의 버튼에 대한 터치 입력을 포함하는, 방법.
12. The method of claim 11,
wherein the first touch input comprises a touch input to a button on the display.
제 18 항에 있어서,
상기 디스플레이에 대한 제2 터치 입력을 수신하는 동작; 및
상기 제2 터치 입력에 기반하여 상기 디스플레이 상에 상기 버튼을 포함하는 유저 인터페이스를 디스플레이하는 동작을 더 포함하는, 방법.
19. The method of claim 18,
receiving a second touch input to the display; and
The method further comprising: displaying a user interface including the button on the display based on the second touch input.
제 19 항에 있어서,
상기 유저 인터페이스는 상기 디지털 펜에 대한 입력의 속성을 변경하기 위한 적어도 하나의 그래픽 오브젝트를 더 포함하는, 방법.
20. The method of claim 19,
wherein the user interface further comprises at least one graphic object for changing an attribute of an input to the digital pen.
KR1020200113387A 2020-09-04 2020-09-04 Drawing method for preview and electronic device therefor KR20220031455A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020200113387A KR20220031455A (en) 2020-09-04 2020-09-04 Drawing method for preview and electronic device therefor
PCT/KR2021/011963 WO2022050772A1 (en) 2020-09-04 2021-09-03 Preview drawing method and electronic device therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200113387A KR20220031455A (en) 2020-09-04 2020-09-04 Drawing method for preview and electronic device therefor

Publications (1)

Publication Number Publication Date
KR20220031455A true KR20220031455A (en) 2022-03-11

Family

ID=80491223

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200113387A KR20220031455A (en) 2020-09-04 2020-09-04 Drawing method for preview and electronic device therefor

Country Status (2)

Country Link
KR (1) KR20220031455A (en)
WO (1) WO2022050772A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101932270B1 (en) * 2012-01-04 2018-12-24 엘지전자 주식회사 Mobile terminal and control method therof
KR101967632B1 (en) * 2012-02-13 2019-04-11 삼성전자주식회사 Tablet having user interface
KR101990039B1 (en) * 2012-11-30 2019-06-18 엘지전자 주식회사 Mobile terminal and method of controlling the same
KR101588294B1 (en) * 2013-12-30 2016-01-28 삼성전자주식회사 User termincal device for supporting user interaxion and methods thereof
KR102215816B1 (en) * 2014-07-09 2021-02-16 엘지전자 주식회사 Mobile terminal and method for controlling the same

Also Published As

Publication number Publication date
WO2022050772A1 (en) 2022-03-10

Similar Documents

Publication Publication Date Title
KR20220048913A (en) An elelctronic device and method for inducing input
KR20220017065A (en) Method for providing of capture function and electronic device therefor
KR20220014751A (en) Slidable electronic device and method for controlling the same
US20230350566A1 (en) Electronic apparatus and method for processing input from stylus pen in electronic apparatus
KR20220086939A (en) Electronic device and operation method thereof
KR20220016727A (en) Method for capturing images for multi windows and electronic device therefor
KR20220109254A (en) Electronic device and method for shape recognition based on stroke analysis in electronic device
KR20220017143A (en) Electronic device and method for dispalying electronic pen pointer in the same
KR20220031455A (en) Drawing method for preview and electronic device therefor
KR20220053354A (en) Electronic apparatus providing user interface and method thereof
KR20220017284A (en) Electronic device and method for controlling screen thereof
KR20220014709A (en) Slidable electronic device and method for controlling the same
KR20220078929A (en) Electronic device using electronic pen and method thereof
US20220237936A1 (en) Electronic device and method for shape recognition based on stroke analysis in electronic device
KR20230114663A (en) Electronic device and the method to alarm and connect electronic pen
KR20230023158A (en) Electronic device and the method for electronic pen operation
KR20220063359A (en) Electronic device and operation method thereof
KR20240039549A (en) Electronic device and method for excluding broken area of display
KR20240056364A (en) Electronic device and mehtod controlling foldable display
KR20210146740A (en) Electronic device, method for operation in the electronic device and non-transitory storage medium
KR20240021072A (en) Stylus pen with adjustable pen pressure, electronic device using the same as an input device, and operating method thereof
KR20240043019A (en) Electronic device for receiving handwriting input and method for controlling the same
KR20230126577A (en) Pen input device and electronic device and method for using a plurality of pen input device in electronic device
KR20230022772A (en) Electronic device for changing screen based on swipe input and method of opearating the same
KR20230023416A (en) Method of processing touch input and electronic device supporting the same

Legal Events

Date Code Title Description
A201 Request for examination