WO2018216892A1 - 여러 종류의 전자 펜을 사용하기 위한 방법 및 그 전자 장치 - Google Patents

여러 종류의 전자 펜을 사용하기 위한 방법 및 그 전자 장치 Download PDF

Info

Publication number
WO2018216892A1
WO2018216892A1 PCT/KR2018/003687 KR2018003687W WO2018216892A1 WO 2018216892 A1 WO2018216892 A1 WO 2018216892A1 KR 2018003687 W KR2018003687 W KR 2018003687W WO 2018216892 A1 WO2018216892 A1 WO 2018216892A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic pen
scan
electronic
processor
electronic device
Prior art date
Application number
PCT/KR2018/003687
Other languages
English (en)
French (fr)
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 US16/617,010 priority Critical patent/US20200097118A1/en
Publication of WO2018216892A1 publication Critical patent/WO2018216892A1/ko

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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/04166Details of scanning methods, e.g. sampling time, grouping of sub areas or time sharing with display driving
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Definitions

  • Various embodiments of the present invention relate to methods for using various types of electronic pens and electronic devices thereof.
  • the electronic device may detect a user input and perform a corresponding function according to the detected user input.
  • the user input refers to an input that can be made by a user directly using a finger or an electronic pen.
  • the electronic pen may be manufactured in various ways to perform various functions of the electronic device. Accordingly, each electronic pen can operate based on different protocols.
  • the electronic pen may be designed to recognize only one predetermined electronic pen.
  • the electronic pen may be detected based on a protocol or frequency band corresponding to a predetermined electronic pen.
  • various embodiments of the present disclosure provide an apparatus and a method for recognizing various types of electronic pens that operate based on different protocols in an electronic device.
  • an operation method of an electronic device using various types of electronic pens may include: detecting a first electronic pen; Detecting release of the first electronic pen; And performing a scan of the electronic pen based on the scan parameters of the updated electronic pen based on the detection of the release of the first electronic pen.
  • an operation method of an electronic device may include: scanning a first electronic pen; Determining whether the first electronic pen is detected; When the first electronic pen is detected, updating scan parameters of the electronic pen and determining whether release of the detected first electronic pen is detected; If the first electronic pen is not detected, scanning a second electronic pen and determining whether the second electronic pen is detected; And when the second electronic pen is detected, updating scan parameters of the electronic pen and determining whether release of the detected second electronic pen is detected.
  • the two electronic pens may operate based on at least some other protocol.
  • an electronic device may include a sensor module; A processor electrically connected to the sensor module; And a memory electrically connected to the processor, wherein, when executed, the processor detects a first electronic pen using the sensor module, and uses the sensor module to detect the first electronic pen.
  • the controller may be configured to detect the release and store instructions for performing a scan of the electronic pen based on the scan parameters of the updated electronic pen based on the detection of the release of the first electronic pen.
  • an electronic device may include a sensor module; A processor electrically connected to the sensor module; And a memory electrically connected to the processor, wherein the memory, when executed, is configured to scan the first electronic pen using the sensor module, and to execute the first electronic pen using the sensor module. If it is detected, and if the first electronic pen is detected, update the scan variable of the electronic pen and determine whether the release of the detected first electronic pen is detected, and if the first electronic pen is not detected, Scan the second electronic pen using the sensor module and determine whether the second electronic pen is detected, and if the second electronic pen is detected, update the scan variable of the electronic pen and detect the second electronic pen. Control instructions to store instructions for determining if a pen release is detected, wherein the first electronic pen and the second electronic pen operate based on at least some other protocol. Can.
  • the method and the electronic device may increase the convenience of the user with respect to the electronic pen by recognizing the electronic pens having different protocols.
  • the method and the electronic device increase the detection speed of the electronic pen and reduce the current consumption for the detection of the electronic pen by updating the scan parameters of the electronic pen based on the use state of the electronic pen. Can be lowered.
  • FIG. 1A illustrates an environment for a network including an electronic device according to various embodiments of the present disclosure.
  • 1B is an exemplary diagram illustrating a configuration of an electronic device for detecting an electronic pen according to various embodiments of the present disclosure.
  • FIGS. 1C and 1D are block diagrams illustrating a configuration of a touch panel for detecting an electronic pen according to various embodiments of the present disclosure.
  • FIG. 2 is a block diagram of an electronic device according to various embodiments of the present disclosure.
  • FIG. 3 is a block diagram of a program module according to various embodiments of the present disclosure.
  • FIG. 4 is a flowchart illustrating a method of operating an electronic device according to various embodiments of the present disclosure.
  • FIG. 5 is a flowchart illustrating a method of updating scan parameters of an electronic pen according to various embodiments of the present disclosure.
  • 6 to 9 are exemplary views illustrating a method of updating scan parameters of an electronic pen according to various embodiments of the present disclosure.
  • FIG. 10 is a flowchart illustrating a method of updating a scan variable of an electronic pen based on a usage history according to various embodiments of the present disclosure.
  • FIG. 11 is an exemplary view illustrating a method of updating a scan variable of an electronic pen based on a usage history according to various embodiments of the present disclosure.
  • FIG. 12 is a flowchart illustrating a method of deactivating an electronic pen according to various embodiments of the present disclosure.
  • FIG. 13 is an exemplary view illustrating a method of deactivating an electronic pen according to various embodiments of the present disclosure.
  • FIG. 14 is a flowchart illustrating a method of updating scan parameters of an electronic pen according to various embodiments of the present disclosure.
  • 15A and 15B are flowcharts illustrating a method of operating an electronic device according to various embodiments of the present disclosure.
  • 16 is a flowchart illustrating a method of updating a scan variable of a connected electronic pen according to various embodiments of the present disclosure.
  • any (eg first) component is said to be “connected” or “connected” to another (eg second) component, the other component is said other
  • the component may be directly connected or connected through another component (eg, a third component).
  • the expression “device configured to” may mean that the device “can” together with other devices or components.
  • processor configured (or configured to) perform A, B, and C may be implemented by executing a dedicated processor (eg, an embedded processor) to perform its operation, or one or more software programs stored in a memory device. It may mean a general purpose processor (eg, a CPU or an application processor) capable of performing the corresponding operations.
  • An electronic device may be, for example, a smartphone, a tablet PC, a mobile phone, a video phone, an e-book reader, a desktop PC, a laptop PC, a netbook computer, a workstation, a server, a PDA, a PMP. It may include at least one of a portable multimedia player, an MP3 player, a medical device, a camera, or a wearable device. Wearable devices may be accessory (e.g. watches, rings, bracelets, anklets, necklaces, eyeglasses, contact lenses, or head-mounted-devices (HMDs), textiles or clothing integrated (e.g.
  • HMDs head-mounted-devices
  • an electronic device may comprise, for example, a television, a digital video disk (DVD) player, Audio, Refrigerator, Air Conditioner, Cleaner, Oven, Microwave Oven, Washing Machine, Air Purifier, Set Top Box, Home Automation Control Panel, Security Control Panel, Media Box (e.g. Samsung HomeSync TM , Apple TV TM , or Google TV TM ) , A game console (eg, Xbox TM , PlayStation TM ), an electronic dictionary, an electronic key, a camcorder, or an electronic picture frame.
  • DVD digital video disk
  • the electronic device may include a variety of medical devices (e.g., various portable medical measuring devices such as blood glucose meters, heart rate monitors, blood pressure meters, or body temperature meters), magnetic resonance angiography (MRA), magnetic resonance imaging (MRI) Computed tomography (CT), cameras or ultrasounds), navigation devices, global navigation satellite systems (GNSS), event data recorders (EDRs), flight data recorders (FDRs), automotive infotainment devices, ship electronics (E.g., various portable medical measuring devices such as blood glucose meters, heart rate monitors, blood pressure meters, or body temperature meters), magnetic resonance angiography (MRA), magnetic resonance imaging (MRI) Computed tomography (CT), cameras or ultrasounds), navigation devices, global navigation satellite systems (GNSS), event data recorders (EDRs), flight data recorders (FDRs), automotive infotainment devices, ship electronics (E.g.
  • various portable medical measuring devices such as blood glucose meters, heart rate monitors, blood pressure meters, or body temperature meters
  • MRA magnetic resonance angiography
  • an electronic device may be a part of a furniture, building / structure or automobile, an electronic board, an electronic signature receiving device, a projector, or various measuring devices (eg, water, electricity, Gas, or a radio wave measuring device).
  • the electronic device may be flexible or a combination of two or more of the aforementioned various devices.
  • Electronic devices according to embodiments of the present disclosure are not limited to the above-described devices.
  • the term user may refer to a person who uses an electronic device or a device (eg, an artificial intelligence electronic device) that uses an electronic device.
  • FIG. 1A illustrates an environment for a network including an electronic device according to various embodiments of the present disclosure.
  • the electronic device 101 may include a bus 110, a processor 120, a memory 130, an input / output interface 150, a display 160, and a communication interface 170. In some embodiments, the electronic device 101 may omit at least one of the components or additionally include other components.
  • the bus 110 may include circuitry that connects the components 110-170 to each other and transfers communication (eg, control messages or data) between the components.
  • the processor 120 may include one or more of a central processing unit, an application processor, a communication processor (CP), and a touch screen processor (TSP).
  • the processor 120 may execute, for example, an operation or data processing related to control and / or communication of at least one other component of the electronic device 101.
  • the processor 120 may scan various types of electronic pens according to a scan parameter specified through the touch panel 161 (shown in FIG. 1C). For example, the processor 120 may detect the first electronic pen using the touch panel 161 during a scan period corresponding to the first electronic pen. For example, the processor 120 may acquire at least one coordinate according to the first electronic pen detected by the touch panel 161.
  • the processor 120 may update the scan variable of the electronic pen based on the detection of the first electronic pen. For example, the processor 120 may increase the scan variable of the first electronic pen most recently detected and decrease the scan variable of the second electronic pen.
  • the processor 120 may determine the electronic pen based on the scan parameters of the updated electronic pen. Scan can be performed. For example, the processor 120 may scan the electronic pen according to the scan parameter of the first electronic pen that is higher and the scan parameter of the second electronic pen that is lower.
  • the processor 120 may update the priority of the designated electronic pen. For example, the processor 120 may increase the priority of the first electronic pen.
  • the processor 120 may update the scan variable of the electronic pen based on the updated priority. For example, the processor 120 may increase the driving frequency of the first electronic pen than the driving frequency of the second electronic pen.
  • the processor 120 may perform a scan of the electronic pen based on the updated scan variable using the touch panel 161. For example, the processor 120 may drive the idle mode for recognizing the first electronic pen and the idle mode for recognizing the second electronic pen at a predetermined ratio, thereby scanning the electronic pen.
  • the processor 120 may check a usage history of the first electronic pen.
  • the processor 120 may check the usage history of the electronic pen generated in the electronic device in the memory of the electronic device 101.
  • the processor 120 may update the scan variable of the designated electronic pen, and execute the electronic pen scan based on the updated scan variable.
  • the processor 120 may update the scan variable based on the usage history of the first electronic pen.
  • the processor 120 may execute the electronic pen scan based on the updated scan variable based on the usage history.
  • the processor 120 may check the usage history of the electronic pen, and the processor 120 may check the electronic pen that has not been used for a specified period of time based on the confirmed usage history of the electronic pen.
  • the processor 120 may periodically check the usage history of the electronic pen.
  • the processor 120 may display a notification for selecting whether to deactivate the electronic pen by using the display panel 162 of FIG. 1B.
  • the processor 120 may determine whether a user's electronic pen deactivation input is detected using the touch panel 161.
  • the processor 120 may deactivate the electronic pen.
  • the processor 120 may update the scan variable of the electronic pen that has not been used for a specified period. Based on the updated scan parameters of the electronic pen, the processor 120 may execute a scan of the electronic pen.
  • the processor 120 may update the scan variable according to the number of times the first electronic pen coordinates are acquired. For example, the processor 120 may determine whether the coordinates of the detected first electronic pen are updated. For example, when it is determined that the coordinates of the first electronic pen are updated, the processor 120 may further update the scan variable of the electronic pen.
  • the processor 120 may determine whether the first electronic pen is released using the touch panel 161. If it is determined that the first electronic pen is released, the processor 120 may scan the electronic pen according to the already updated scan variable without further updating the scan variable.
  • the processor 120 may update the scan variable as it is connected to the electronic pen. For example, if a connection between the electronic device and the electronic pen is detected, the processor 120 may update the scan variable of the connected electronic pen, and execute the scan of the electronic pen according to the updated scan parameter. Coordinates can be obtained according to the electronic pen connection.
  • the memory 130 may include volatile and / or nonvolatile memory.
  • the memory 130 may store, for example, commands or data related to at least one other element of the electronic device 101.
  • the memory 130 may store software and / or a program 140.
  • the program 140 may include, for example, a kernel 141, middleware 143, an application programming interface (API) 145, an application program (or “application”) 147, or the like. . At least a portion of kernel 141, middleware 143, or API 145 may be referred to as an operating system.
  • the kernel 141 may be a system resource (eg, used to execute an action or function implemented in, for example, other programs (eg, middleware 143, API 145, or application program 147).
  • the bus 110, the processor 120, or the memory 130 may be controlled or managed.
  • the kernel 141 may provide an interface for controlling or managing system resources by accessing individual components of the electronic device 101 from the middleware 143, the API 145, or the application program 147. Can be.
  • the middleware 143 may serve as an intermediary for allowing the API 145 or the application program 147 to communicate with the kernel 141 to exchange data.
  • the middleware 143 may process one or more work requests received from the application program 147 according to priority.
  • the middleware 143 may use system resources (eg, the bus 110, the processor 120, or the memory 130, etc.) of the electronic device 101 for at least one of the application programs 147. Prioritize and process the one or more work requests.
  • the API 145 is an interface for the application 147 to control functions provided by the kernel 141 or the middleware 143.
  • the API 145 may include at least the following: file control, window control, image processing, or character control. It can contain one interface or function (eg command).
  • the input / output interface 150 may transmit, for example, a command or data input from a user or another external device to other component (s) of the electronic device 101, or another component of the electronic device 101 ( Commands or data received from the device) can be output to the user or other external device.
  • Display 160 may be, for example, a liquid crystal display (LCD), a light emitting diode (LED) display, an organic light emitting diode (OLED) display, or a microelectromechanical system (MEMS) display, or an electronic paper display. It may include.
  • the display 160 may display, for example, various types of content (eg, text, images, videos, icons, and / or symbols, etc.) to the user.
  • the display 160 may include a touch screen and may receive, for example, a touch, gesture, proximity, or hovering input using an electronic pen or a part of a user's body.
  • the communication interface 170 may establish communication between the electronic device 101 and an external device (eg, the first external electronic device 102, the second external electronic device 104, or the server 106). Can be.
  • the communication interface 170 may be connected to the network 162 through wireless or wired communication to communicate with an external device (eg, the second external electronic device 104 or the server 106).
  • Wireless communication 164 may include, for example, LTE, LTE Advance (LTE-A), code division multiple access (CDMA), wideband CDMA (WCDMA), universal mobile telecommunications system (UMTS), wireless broadband (WiBro), or Cellular communication using at least one of the Global System for Mobile Communications (GSM) and the like.
  • the wireless communication 164 may be connected to, for example, wireless fidelity (WiFi), light fidelity (LiFi), Bluetooth, Zigbee (Zigbee), NFC (such as the ratio illustrated by element 164 of FIG. 1A). near field communication, magnetic secure transmission, radio frequency (RF), or body area network (BAN).
  • the wireless communication 164 may include a GNSS.
  • the GNSS may be, for example, a Global Positioning System (GPS), a Global Navigation Satellite System (Glonass), a Beidou Navigation Satellite System (hereinafter referred to as "Beidou”), or a Galileo, the European global satellite-based navigation system.
  • GPS Global Positioning System
  • Glonass Global Navigation Satellite System
  • Beidou Beidou Navigation Satellite System
  • Galileo the European global satellite-based navigation system.
  • Wired communication may include, for example, at least one of a universal serial bus (USB), a high definition multimedia interface (HDMI), a standard standard232 (RS-232), a power line communication, a plain old telephone service (POTS), and the like. have.
  • the network 162 may comprise a telecommunications network, for example at least one of a computer network (eg, LAN or WAN), the Internet, or a telephone network.
  • Each of the first and second external electronic devices 102 and 104 may be a device of the same or different type as the electronic device 101. According to various embodiments of the present disclosure, all or part of operations executed in the electronic device 101 may be executed in another or a plurality of electronic devices (for example, the electronic devices 102 and 104 or the server 106). According to this, when the electronic device 101 needs to perform a function or service automatically or by request, the electronic device 101 may instead execute or execute the function or service by itself, or at least some function associated therewith.
  • the other electronic device may request the requested function or The additional function may be executed and the result may be transmitted to the electronic device 101.
  • the electronic device 101 may provide the requested function or service by processing the received result as it is or additionally.
  • Cloud computing distributed computing, or client-server computing technology may be used.
  • 1B is an exemplary diagram illustrating a configuration of an electronic device for detecting an electronic pen according to various embodiments of the present disclosure.
  • a display 160 that senses an input of the electronic pen 180 may be provided to an electronic device 101 (shown in FIG. 1A).
  • the display 160 not only supports data input and output functions at the same time, but also detects a touch.
  • the display 160 may include a touch panel 161, a display panel 162, and a display controller 163.
  • the touch panel 161 may detect the position of the touch input, and the display panel 162 may output an image.
  • the touch panel 161 may receive a magnetic field from the electronic pen 180 and detect a touch position therefrom.
  • the display controller 163 may be a driving circuit that controls the display panel 162 to output an image through the display panel 162.
  • the processor 120 may perform operations or data processing related to control and / or communication of at least one other component included in the electronic device 101.
  • the processor 120 may control operations of the display controller 163 and the touch controller 164 to be described later, and may be a central processing unit (CPU) or an application processor (AP). Can be.
  • CPU central processing unit
  • AP application processor
  • the touch panel 161 may detect electric signals or magnetic signals generated by various types of electronic pens 180.
  • the electronic pen 180 may receive power for generating an electrical signal or a magnetic signal from a battery or a resonant circuit according to an electromagnetic induction method.
  • a resonant circuit may generate a current and form a magnetic field by the current.
  • the electronic pen 180 may support an active electrical stylus (AES) method including a battery, an electrically coupled resonance (ECR) method without a battery, or an electro-magnetic resonance (EMR) method.
  • AES active electrical stylus
  • ECR electrically coupled resonance
  • EMR electro-magnetic resonance
  • the ECR method and the EMR method may include a resonance circuit according to the silver electromagnetic induction method inside the electronic pen 180.
  • the internal resonant circuit of the electronic pen of the ECR method may resonate an AC signal transmitted from the touch panel 161 by coupling or transmit the resonant signal to the touch panel 161 through the coupling.
  • the pen internal resonance circuit approaches an electromagnetic field generated from the touch panel 161, the pen internal resonance circuit may generate a current, and form a magnetic field by the generated current.
  • FIGS. 1C and 1D are block diagrams illustrating a configuration of a touch panel for detecting an electronic pen according to various embodiments of the present disclosure.
  • the touch panel 161 may detect that the electronic pen or the user's finger is in contact or approach, and determine the coordinates of the position where the electronic pen or the user's finger is in contact or the proximity.
  • 165 and a touch controller 164 may receive a touch driving signal from the touch controller 164 and generate a touch sensing signal that changes according to contact or proximity of an input device such as an electronic pen or a finger and provide the touch sensing signal to the touch controller 164.
  • the sensor unit 165 may include touch wires including sensor electrodes, and the touch wires may be alternately and parallelly disposed in the touch area of the touch panel 161 and connected to the touch controller 164.
  • the touch wiring may be formed of a transparent conductive material or a low resistance material such as molybdenum (Mo), silver (Ag), titanium (Ti), copper (Cu), aluminum (Ti), molybdenum / aluminum / molybdenum (Mo / Al / Mo). It may include.
  • the touch controller 164 may provide a touch driving signal to the sensor unit 165, receive a touch sensing signal from the sensor unit 165, generate touch information based on the touch sensing signal, The generated touch information may be provided to the processor 120.
  • the touch information may be a stream of data values corresponding to locations where touches by the electronic pen or finger were detected.
  • the touch information may further include pressure data indicating the pressure applied to the sensor unit 165.
  • the touch panel 161 may receive a voltage from the touch controller 164 and form an electric field for touch sensing.
  • the resonant circuit of the electronic pen 180 When the electronic pen 180 approaches the touch panel 161, the resonant circuit of the electronic pen 180 generates a current, and the resonant circuit may form a magnetic field by the current.
  • the touch controller 164 may detect a touch position according to the change in capacitance from the touch panel 161.
  • the touch controller 164 may provide the detected position to the processor 120, and the processor 120 may perform an operation according thereto.
  • the touch panel 161 may include a touch controller 164, a first sensor unit 166, and a second sensor unit 167.
  • the first sensor unit 166 may be a touch wire including a sensor electrode
  • the second sensor unit 167 may be a digitizer pad 165.
  • the first sensor unit 166 and the second sensor unit 167 may be located on different layers.
  • the first sensor unit 166 may be disposed on a display surface of the display panel 162, and the second sensor unit 167 may be disposed on an opposite surface of the display surface of the display panel 162. Can be.
  • the first sensor unit 166 and the touch controller 164 operate in the same manner as in FIG. 1C, detailed descriptions of the corresponding modules will be omitted.
  • the second sensor unit 167 may alternately and parallelly form lines in the X and Y-axis directions.
  • the second sensor unit 167 may receive an alternating current from the touch controller 164 and generate an electric field.
  • the resonant circuit of the electronic pen 180 may generate a current, and the resonant circuit may form a magnetic field by the current.
  • the touch controller 164 may detect the position by scanning the intensity of the magnetic field provided from the electronic pen 180 to the second sensor unit 167 over the entire area.
  • the touch controller 164 may provide the detected position to the processor 120, and the processor 120 may perform an operation therefor.
  • the second sensor unit 167 is described as the configuration of the touch panel 161, the second sensor unit 167 may be disposed in the electronic device 101 in a separate configuration from the touch panel 161.
  • FIG. 2 is a block diagram of an electronic device 201 according to various embodiments.
  • the electronic device 201 may include, for example, all or part of the electronic device 101 illustrated in FIG. 1.
  • the electronic device 201 may include one or more processors (eg, an AP) 210, a communication module 220, a subscriber identification module 224, a memory 230, a sensor module 240, an input device 250, and a display. 260, an interface 270, an audio module 280, a camera module 291, a power management module 295, a battery 296, an indicator 297, and a motor 298.
  • the processor 210 may control, for example, a plurality of hardware or software components connected to the processor 210 by running an operating system or an application program, and may perform various data processing and operations.
  • the processor 210 may be implemented with, for example, a system on chip (SoC).
  • SoC system on chip
  • the processor 210 may further include a graphic processing unit (GPU) and / or an image signal processor.
  • the processor 210 may include at least some of the components illustrated in FIG. 2 (eg, the cellular module 221).
  • the processor 210 may load and process instructions or data received from at least one of other components (eg, nonvolatile memory) into the volatile memory, and store the result data in the nonvolatile memory.
  • the communication module 220 may be, for example, a cellular module 221, a WiFi module 223, a Bluetooth (BT) module 225, a Bluetooth low energy (BLE) module 226, a GNSS module. 227, NFC module 228 and RF module 229.
  • the cellular module 221 may provide, for example, a voice call, a video call, a text service, or an internet service through a communication network.
  • the cellular module 221 may perform identification and authentication of the electronic device 201 in a communication network by using a subscriber identification module (eg, a SIM card) 224.
  • a subscriber identification module eg, a SIM card
  • the cellular module 221 may perform at least some of the functions that the processor 210 may provide.
  • the cellular module 221 may include a communication processor (CP).
  • CP communication processor
  • at least some (eg, two) of cellular module 221, WiFi module 223, Bluetooth module 225, low power Bluetooth module 226, GNSS module 227, or NFC module 228. The above) may be included in one integrated chip (IC) or IC package.
  • the RF module 229 may transmit / receive a communication signal (for example, an RF signal), for example.
  • the RF module 229 may include, for example, a transceiver, a power amp module (PAM), a frequency filter, a low noise amplifier (LNA), an antenna, or the like.
  • PAM power amp module
  • LNA low noise amplifier
  • at least one of the cellular module 221, the WiFi module 223, the Bluetooth module 225, the low power Bluetooth module 226, the GNSS module 227, or the NFC module 228 is a separate RF module. It can transmit and receive the RF signal through.
  • Subscriber identification module 224 may include, for example, a card or embedded SIM that includes a subscriber identification module, and may include unique identification information (eg, integrated circuit card identifier (ICCID)) or subscriber information (eg, IMSI). (international mobile subscriber identity)).
  • ICCID integrated circuit card identifier
  • IMSI international mobile subscriber identity
  • the memory 230 may include, for example, an internal memory 232 or an external memory 234.
  • the internal memory 232 may include, for example, volatile memory (for example, DRAM, SRAM, or SDRAM), nonvolatile memory (for example, one time programmable ROM (OTPROM), PROM, EPROM, EEPROM, mask ROM, flash ROM).
  • the flash memory may include at least one of a flash memory, a hard drive, or a solid state drive (SSD)
  • the external memory 234 may be a flash drive, for example, a compact flash (CF) or a secure digital (SD). ), Micro-SD, Mini-SD, extreme digital (xD), multi-media card (MMC), memory stick, etc.
  • the external memory 234 may be functionally connected to the electronic device 201 through various interfaces. Or physically connected.
  • the sensor module 240 may measure, for example, a physical quantity or detect an operation state of the electronic device 201 and convert the measured or detected information into an electrical signal.
  • the sensor module 240 includes, for example, a gesture sensor 240A, a gyro sensor 240B, an air pressure sensor 240C, a magnetic sensor 240D, an acceleration sensor 240E, a grip sensor 240F, and a proximity sensor ( 240G), color sensor 240H (e.g.
  • RGB red, green, blue
  • biometric sensor 240I biometric sensor 240I
  • temperature / humidity sensor 240J illuminance sensor 240K
  • UV ultraviolet
  • sensor module 240 may include, for example, an e-nose sensor, an electromyography (EMG) sensor, an electrocardiogram (EEG) sensor, an electrocardiogram (ECG) sensor, Infrared (IR) sensors, iris sensors and / or fingerprint sensors.
  • EMG electromyography
  • EEG electrocardiogram
  • ECG electrocardiogram
  • ECG electrocardiogram
  • IR Infrared
  • IR Infrared
  • the electronic device 201 further includes a processor configured to control the sensor module 240 as part of or separately from the processor 210, while the processor 210 is in a sleep state.
  • the sensor module 240 may be controlled.
  • the gyro sensor 240B, the acceleration sensor 240E, the geomagnetic sensor 240P, the proximity sensor 240G, or the grip sensor 240F may be used to detect user's wearing of the head worn electronic device.
  • the input device 250 may include, for example, a touch panel 252, a (digital) pen sensor 254, a key 256, or an ultrasonic input device 258.
  • the touch panel 252 may use at least one of capacitive, resistive, infrared, or ultrasonic methods, for example.
  • the touch panel 252 may further include a control circuit.
  • the touch panel 252 may further include a tactile layer to provide a tactile response to the user.
  • the (digital) pen sensor 254 may be, for example, part of a touch panel or may include a separate recognition sheet.
  • the key 256 may include, for example, a physical button, an optical key, or a keypad.
  • the ultrasonic input device 258 may detect ultrasonic waves generated by an input tool through a microphone (for example, the microphone 288) and check data corresponding to the detected ultrasonic waves.
  • Display 260 may include panel 262, hologram device 264, projector 266, and / or control circuitry to control them.
  • the panel 262 may be implemented to be, for example, flexible, transparent, or wearable.
  • the panel 262 may be configured with the touch panel 252 and one or more modules.
  • the panel 262 may include LCD, organic light emitting diodes (OLED), electronic ink, or EWD (Electron Wetting Display).
  • the display 260 may have a property that can transmit light (eg, a display having a light transmittance).
  • the display 260 having the light transmittance may be implemented by arranging a plurality of transparent or translucent regions with pixels to project light.
  • the display 260 having a light transmittance may be implemented by arranging a plurality of through holes together with pixels to transmit light.
  • the hologram 264 may show a stereoscopic image in the air by using interference of light.
  • the projector 266 may display an image by projecting light onto a screen.
  • the screen may be located inside or outside the electronic device 201.
  • the interface 270 may include, for example, an HDMI 272, a USB 274, an optical interface 276, or a D-subminiature 278.
  • the interface 270 may be included in, for example, the communication interface 170 illustrated in FIG. 1. Additionally or alternatively, interface 270 may include, for example, a mobile high-definition link (MHL) interface, an SD card / multi-media card (MMC) interface, or an infrared data association (IrDA) compliant interface. have.
  • MHL mobile high-definition link
  • MMC multi-media card
  • IrDA infrared data association
  • the audio module 280 may bidirectionally convert, for example, a sound and an electrical signal. At least some components of the audio module 280 may be included in, for example, the input / output interface 145 illustrated in FIG. 1.
  • the audio module 280 may process sound information input or output through, for example, a speaker 282, a receiver 284, an earphone 286, a microphone 288, or the like.
  • the camera module 291 is, for example, a device capable of capturing still images and moving images. According to an embodiment, the camera module 291 may include one or more image sensors (eg, a front sensor or a rear sensor), a lens, and an image signal processor (ISP). Or flash (eg, LED or xenon lamp, etc.).
  • the power management module 295 may manage power of the electronic device 201, for example.
  • the power management module 295 may include a power management integrated circuit (PMIC), a charger IC, or a battery or a fuel gauge.
  • the PMIC may have a wired and / or wireless charging scheme.
  • the wireless charging method may include, for example, a magnetic resonance method, a magnetic induction method, an electromagnetic wave method, or the like, and may further include additional circuits for wireless charging, such as a coil loop, a resonance circuit, a rectifier, and the like. have.
  • the battery gauge may measure, for example, the remaining amount of the battery 296, the voltage, the current, or the temperature during charging.
  • the battery 296 may include, for example, a rechargeable cell and / or a solar cell.
  • the indicator 297 may display a specific state of the electronic device 201 or a part thereof (for example, the processor 210), for example, a booting state, a message state, or a charging state.
  • the motor 298 may convert electrical signals into mechanical vibrations, and may generate vibrations or haptic effects.
  • the electronic device 201 may be, for example, a mobile TV supporting device capable of processing media data according to a standard such as digital multimedia broadcasting (DMB), digital video broadcasting (DVB), or mediaFlo TM . : GPU).
  • each of the components described in this document may be composed of one or more components, and the names of the corresponding components may vary depending on the type of electronic device.
  • the electronic device eg, the electronic device 201
  • the electronic device 201 may include some components, omit additional components, or combine some of the components to form a single entity. It is possible to perform the same function of the previous corresponding components.
  • FIG. 3 is a block diagram of a program module according to various embodiments of the present disclosure.
  • the program module 310 may include an operating system and / or various applications running on the operating system for controlling resources related to the electronic device (eg, the electronic device 101).
  • the application program 147 may be included.
  • the operating system may include, for example, Android TM , iOS TM , Windows TM , Symbian TM , Tizen TM , or Bada TM .
  • the program module 310 may include the kernel 320 (eg, the kernel 141), the middleware 330 (eg, the middleware 143), and the API 360 (eg, the API 145).
  • At least a portion of the program module 310 may be preloaded on the electronic device or may be an external electronic device (eg, an electronic device ( 102, 104, server 106, etc.).
  • the kernel 320 may include, for example, a system resource manager 321 and / or a device driver 323.
  • the system resource manager 321 may perform control, allocation, or retrieval of system resources.
  • the system resource manager 321 may include a process manager, a memory manager, or a file system manager.
  • the device driver 323 may include, for example, a display driver, a camera driver, a Bluetooth driver, a shared memory driver, a USB driver, a keypad driver, a WiFi driver, an audio driver, or an inter-process communication (IPC) driver.
  • the middleware 330 may provide various functions through the API 360, for example, to provide functions commonly required by the application 370, or to allow the application 370 to use limited system resources inside the electronic device.
  • the middleware 330 may include a runtime library 335, an application manager 341, a window manager 342, a multimedia manager 343, a resource manager 344, a power manager 345, and a database manager ( 346, a package manager 347, a connectivity manager 348, a notification manager 349, a location manager 350, a graphic manager 351, or a security manager 352.
  • the runtime library 335 may include, for example, a library module that the compiler uses to add new functionality through the programming language while the application 370 is running.
  • the runtime library 335 may perform input / output management, memory management, or arithmetic function processing.
  • the application manager 341 may manage, for example, the life cycle of the application 370.
  • the window manager 342 may manage GUI resources used on the screen.
  • the multimedia manager 343 may identify a format necessary for playing the media files, and may encode or decode the media file using a codec suitable for the format.
  • the resource manager 344 may manage space of source code or memory of the application 370.
  • the power manager 345 may manage, for example, the capacity or power of the battery and provide power information necessary for the operation of the electronic device.
  • the power manager 345 may interwork with a basic input / output system (BIOS).
  • the database manager 346 may create, retrieve, or change a database to be used, for example, in the application 370.
  • the package manager 347 may manage installation or update of an application distributed in the form of a package file.
  • the connectivity manager 348 may manage, for example, a wireless connection.
  • the notification manager 349 may provide the user with events such as, for example, an arrival message, an appointment, a proximity notification, and the like.
  • the location manager 350 may manage location information of the electronic device, for example.
  • the graphic manager 351 may manage, for example, graphic effects to be provided to the user or a user interface related thereto.
  • the security manager 352 may provide system security or user authentication, for example.
  • the middleware 330 may include a telephony manager for managing a voice or video call function of the electronic device or a middleware module capable of forming a combination of functions of the above-described components. .
  • the middleware 330 may provide a module specialized for each type of OS.
  • the middleware 330 may dynamically delete some of the existing components or add new components.
  • API 360 is, for example, a set of API programming functions, which may be provided in different configurations depending on the operating system. For example, in the case of Android or iOS, one API set may be provided for each platform, and in Tizen, two or more API sets may be provided for each platform.
  • the application 370 is, for example, a home 371, a dialer 372, an SMS / MMS 373, an instant message (IM) 374, a browser 375, a camera 376, an alarm 377. , Contacts 378, voice dials 379, emails 380, calendars 381, media players 382, albums 383, watches 384, health care (e.g., measures exercise or blood sugar) Or an application for providing environmental information (eg, barometric pressure, humidity, or temperature information).
  • the application 370 may include an information exchange application capable of supporting information exchange between the electronic device and the external electronic device.
  • the information exchange application may include, for example, a notification relay application for delivering specific information to the external electronic device, or a device management application for managing the external electronic device.
  • the notification delivery application may deliver notification information generated by another application of the electronic device to the external electronic device, or receive notification information from the external electronic device and provide the notification information to the user.
  • the device management application may be, for example, the ability of an external electronic device to communicate with the electronic device (e.g. turn-on / turn-off of the external electronic device itself (or some component) or the brightness (or resolution) of the display). Control), or install, delete, or update an application running on the external electronic device.
  • the application 370 may include an application (eg, a health care application of a mobile medical device) designated according to an attribute of the external electronic device.
  • the application 370 may include an application received from an external electronic device.
  • At least a portion of the program module 310 may be implemented (eg, executed) in software, firmware, hardware (eg, the processor 210), or a combination of at least two or more thereof, and a module for performing one or more functions; It can include a program, routine, instruction set, or process.
  • module includes a unit composed of hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic blocks, components, or circuits.
  • the module may be an integrally formed part or a minimum unit or part of performing one or more functions.
  • Modules may be implemented mechanically or electronically, for example, application-specific integrated circuit (ASIC) chips, field-programmable gate arrays (FPGAs), or known or future developments that perform certain operations. It can include a programmable logic device.
  • ASIC application-specific integrated circuit
  • FPGAs field-programmable gate arrays
  • At least a portion of an apparatus (eg, modules or functions thereof) or method (eg, operations) according to various embodiments may be stored on a computer-readable storage medium (eg, memory 130) in the form of a program module. It can be implemented as.
  • Computer-readable recording media include hard disks, floppy disks, magnetic media (e.g. magnetic tape), optical recording media (e.g. CD-ROM, DVD, magnetic-optical media (e.g. floppy disks), internal memory, etc.
  • Instructions may include code generated by a compiler or code executable by an interpreter Modules or program modules according to various embodiments may include at least one or more of the above-described components. In some embodiments, operations performed by a module, a program module, or another component may be executed sequentially, in parallel, repeatedly, or heuristically, or at least, or may include other components. Some operations may be executed in a different order, omitted, or other operations may be added.
  • an electronic device may include a sensor module; A processor electrically connected to the sensor module; And a memory electrically connected to the processor, wherein, when executed, the processor detects a first electronic pen using the sensor module, and uses the sensor module to detect the first electronic pen.
  • the controller may be configured to detect the release and store instructions for performing a scan of the electronic pen based on the scan parameters of the updated electronic pen based on the detection of the release of the first electronic pen.
  • the instructions may cause the processor to update the scan variable of the electronic pen, and updating the scan variable of the electronic pen may include detecting the first electronic pen or the first electronic pen. It can be executed after the operation of detecting the release of.
  • the instructions may update the priority of the electronic pen and update the scan variable of the electronic pen based on the updated priority.
  • the scan variable of the electronic pen may include a scan variable of a first electronic pen and a scan variable of a second electronic pen, and the instructions may be generated by the processor.
  • the scan variable of the second electronic pen may be updated.
  • the first electronic pen and the second electronic pen may operate based on at least some other protocol.
  • the instructions may cause the processor to adjust at least one of a scan driving frequency, a scan driving strength, a scan driving time, or a number of scan driving sensors based on the updated scan variable.
  • the instructions may be determined by the processor to determine whether a history of use of the first electronic pen exists, and if the history of use of the first electronic pen exists, based on a history of use of the first electronic pen.
  • the scan parameters of the electronic pen may be updated.
  • the instructions may cause the processor to update a scan variable of a designated electronic pen when a usage history of the first electronic pen does not exist.
  • the electronic device may further include a display, and the instructions may be configured by the processor to identify an electronic pen that has not been used for a specified period of time or more, based on a usage history of the electronic pen, and to use the device for the specified period or more. If the electronic pen is not checked, the display may be used to display a notification for selecting whether to deactivate the electronic pen that has not been used for the specified period.
  • the electronic device may further include a communication module
  • the instructions may include, by the processor, detecting a connection between a second electronic pen and the electronic device using the communication module, and the second electronic pen. And update the scan variable of the electronic pen based on the detection of the connection of the electronic device.
  • an electronic device may include a sensor module; A processor electrically connected to the sensor module; And a memory electrically connected to the processor, wherein the memory, when executed, is configured to scan the first electronic pen using the sensor module, and to execute the first electronic pen using the sensor module. If it is detected, and if the first electronic pen is detected, update the scan variable of the electronic pen and determine whether the release of the detected first electronic pen is detected, and if the first electronic pen is not detected, Scan the second electronic pen using the sensor module and determine whether the second electronic pen is detected, and if the second electronic pen is detected, update the scan variable of the electronic pen and detect the second electronic pen. Control instructions to store instructions for determining if a pen release is detected, wherein the first electronic pen and the second electronic pen operate based on at least some other protocol. Can.
  • the electronic device may include the electronic device 101 of FIG. 1A or at least a part (eg, the processor 120) of the electronic device 101.
  • the electronic device 101 may detect the first electronic pen through the touch panel 161 (shown in FIG. 1C).
  • the processor 120 may scan various types of electronic pens according to a designated scan variable to detect the first electronic pen.
  • the type of the electronic pen may be determined according to a protocol applied to the electronic pen or a frequency of a signal provided to the touch panel 161.
  • the processor 120 periodically changes the scanning method corresponding to each electronic pen in order to detect various kinds of electronic pens. 161 may be driven.
  • the scan method corresponding to the electronic pen may be a scan method suitable for detecting the electronic pen.
  • the processor 120 may detect a corresponding first electronic pen while the first scan method is applied, and detect a corresponding second electronic pen while the second scan method is applied.
  • the scan variable may be a variable for determining a driving ratio of a scan method corresponding to the electronic pen, and by adjusting the scan driving frequency, the scan driving strength, the scan driving time, and the number of sensors to be driven according to the scan variable.
  • the drive ratio can be determined.
  • the scan driving frequency may be the number of times the electronic pen is scanned for a predetermined time.
  • the driving intensity may be power required to detect a signal of the electronic pen. As the power for detecting the signal of the electronic pen increases, the distance that the touch panel 161 can detect the electronic pen increases, and the electronic pen can be detected more easily.
  • the scan driving time may be a time for scanning a plurality of electronic pens at one time.
  • the number of driving sensors may refer to the number of sensor electrodes of the touch panel 161. That is, the processor 120 may increase the active ratio of the sensor electrodes disposed on the touch panel 161 when scanning the electronic pen having a high priority.
  • the first electronic pen and the second electronic pen may operate based on different protocols or provide signals to the touch panel 161 having different frequencies within the same protocol.
  • the protocol may be a protocol in which a type of a signal generated from the electronic pen, whether a battery is required, a type of sensor for sensing the electronic pen, and the like are determined.
  • the first electronic pen may be an electronic pen to which an active electrical stylus (AES) method including a battery is applied
  • the second electronic pen may be an electronic pen to which an electrically coupled resonance (ECR) method is applied that does not include a battery.
  • the first electronic pen and the second electronic pen may be electronic pens provided in the electronic device 101 or pens provided in other electronic devices. Meanwhile, the electronic device 101 may preset or add a type of electronic pen that can be detected.
  • the electronic device 101 may include a first electronic pen idle mode, a finger idle mode, and a second electronic pen according to a designated scan parameter. State can be switched repeatedly in order of idle mode.
  • the driving frequency of the idle mode may be specified according to the designated scan variable, and the processor 120 may drive the first electronic pen idle mode and the second electronic pen idle mode in a ratio of 1: 3.
  • the idle mode may mean a state for the processor 120 to detect whether the electronic pen or finger is in new contact or proximity while the electronic pen or finger is not in contact with or close to the touch panel 161.
  • the idle mode may mean a state in which the electronic pen can be scanned.
  • the idle mode may include a low power idle mode, a high power idle mode, and the like.
  • the low power idle mode may be a case where the power required for the processor 120 to execute the idle mode is low
  • the high power idle mode may be a case where the power required for the processor 120 to execute the idle mode is high.
  • the processor 120 may detect the first electronic pen by scanning the electronic pen using the touch panel 161.
  • the processor 120 may detect the input of the first electronic pen using the touch panel 161 in the idle mode of the first electronic pen.
  • the input of the first electronic pen may be hovering, drawing, taps, double taps, or the like.
  • the processor 120 may acquire at least one coordinate according to the first electronic pen detected using the touch panel 161.
  • the processor 120 may further acquire the coordinates of the first electronic pen until detecting the release of the electronic pen.
  • the electronic device 101 may change the state to the first electronic pen active mode according to the detection of the first electronic pen.
  • the active mode may mean a state for acquiring coordinates when a finger or an electronic pen is in contact with or in proximity to the touch panel 161.
  • the processor 120 may further acquire the coordinates of the first electronic pen while maintaining the active mode until detecting the release of the electronic pen. That is, the processor 120 may acquire the coordinates of the first electronic pen from the first electronic pen detection time to the release detection time.
  • the processor 120 may detect whether the second electronic pen or the finger is in contact by changing a state to the second electronic pen idle mode or the finger idle mode between the active modes of the first electronic pen. have.
  • the active mode may include an active hover mode, an active touch mode, and the like according to an input type of the electronic pen.
  • the active hover mode the input of the electronic pen may be hovering
  • the active touch mode the input of the electronic pen may be touch.
  • the electronic device 101 may update the scan variable of the electronic pen as the first electronic pen is detected using the touch panel 161.
  • the processor 120 may increase the scan variable of the first electronic pen most recently detected and decrease the scan variable of the second electronic pen.
  • the updating operation of the scan variable of the electronic pen may be executed when detecting the first electronic pen, when acquiring the detected coordinates of the first electronic pen, or when detecting the release of the first electronic pen.
  • the processor 120 may update the scan variable of the electronic pen whenever the coordinates of the first electronic pen are additionally acquired. Related information will be described later with reference to FIG. 14.
  • the electronic device 101 may detect release of the first electronic pen through the touch panel 161.
  • the processor 120 determines that the first electronic pen is released when the coordinates of the first electronic pen cannot be additionally acquired or the first electronic pen is not recognized through the touch panel 161 for a predetermined time. can do.
  • the processor 120 may proceed to operation 405 to perform a scan of the electronic pen based on the updated scan parameters of the electronic pen, and then implement the present invention.
  • the algorithm according to the example can be terminated.
  • the electronic device 101 may perform a scan of the electronic pen based on the updated scan parameter of the electronic pen.
  • the processor 120 may determine the driving ratio of the scan method by adjusting the scan driving frequency, the scan driving strength, the scan driving time, and the number of sensors to be driven based on the updated scan variable.
  • the electronic device 101 based on the detection of the release of the first electronic pen, driving the idle mode driving frequency of the first electronic pen higher and lowering the second electronic pen.
  • the electronic pen may be scanned according to the driving frequency of the idle mode of the electronic pen. Accordingly, the detection speed of an electronic pen recently used can be improved. In other words, by increasing the scan driving frequency of the frequently used electronic pen, the frequently used electronic pen can be detected more quickly.
  • the processor 120 since the processor 120 periodically changes the scanning method, various types of electronic pens may be detected using one touch panel 164.
  • the electronic device 101 adjusts the idle mode driving frequency of the first electronic pen as the scan variable of the second electronic pen is fixed and only the scan parameter of the first electronic pen is increased. It can increase.
  • the electronic device 101 may fix the idle mode driving frequency of the first electronic pen as the idle mode driving frequency of the second electronic pen as the scan variable of the first electronic pen is fixed and the scan variable of the second electronic pen is lowered. It can be higher.
  • the electronic device may include the electronic device 101 of FIG. 1A or at least a part (eg, the processor 120) of the electronic device 101.
  • the electronic device 101 may update the priority of a designated electronic pen.
  • the priority may be a concept for determining an electronic pen to be preferentially processed among the plurality of electronic pens, and may be a criterion for setting or updating a scan variable corresponding to each of the plurality of electronic pens.
  • the priority may be set in advance at the manufacturing stage of the electronic device, and may be set by a user input.
  • the priority of the set electronic pen may be updated according to a user's input or use of the electronic pen. For example, as shown in FIG. 6A, the priority may be set so that the first electronic pen has a higher priority than the second electronic pen, and the idle mode of the second electronic pen is set according to the set priority.
  • the scan variable may be preset to drive more often than the idle mode of the first electronic pen.
  • the electronic device 101 may update the scan variable of the electronic pen based on the updated priority.
  • the processor 120 may increase the first idle mode driving frequency than the second idle mode driving frequency based on the updated scan variable as shown in FIG. 6C.
  • the electronic device 101 may update a ratio of scan driving time of the electronic pen. For example, when the second electronic pen is detected in a situation in which the ratio of scan driving time of the first electronic pen and the scan driving time of the second electronic fan which are periodically repeated is 3: 1, the processor 120 may determine the first electronic pen. The ratio of scan driving time of the electronic pen to scan driving time of the second electronic pen may be updated to 1: 3.
  • the electronic device 101 may update the supply power of the electronic pen.
  • the power supply of the electronic pen may be power required when scanning the electronic pen.
  • the power supply of the electronic pen is high, the distance to detect the electronic pen increases, and the electronic pen can be detected more easily.
  • the processor 120 may determine the first electronic pen.
  • the supply power of the electronic pen may be updated to lower the supply power of the electronic pen and increase the supply power of the second electronic pen.
  • the electronic device 101 may execute a scan of the electronic pen based on the updated scan variable using the touch panel 161.
  • the processor 120 may drive the idle mode of the first electronic pen and the second electronic pen idle mode in a ratio of 3: 1.
  • the electronic device 101 may omit operation 501 and update the scan variable of the electronic pen in operation 503.
  • the processor 120 may increase the scan driving ratio of a frequently used electronic pen as the scan variable is updated without setting a separate priority.
  • the electronic device 101 may determine that the first electronic pen has a high priority. Coordinates can be obtained by selecting an input. In contrast, when electronic pens having protocols compatible with each other are simultaneously detected, the electronic device 101 may select coordinates by selecting all inputs of the electronic pens regardless of priority.
  • the electronic device 101 scans specified by using a first sensor unit 166 illustrated in FIG. 1D and a second sensor unit 167 illustrated in FIG. 1D.
  • the second sensor unit 167 may include a first digitizer pad used for the first electronic pen scan and a second digitizer pad used for the second electronic pen scan.
  • the first digitizer pad and the second digitizer pad may be driven at a ratio of 4: 1. That is, while the first digitizer pad drives the first electronic pen idle mode four times, the second digitizer pad may drive the second electronic pen idle mode once.
  • the processor 120 may periodically scan a finger using the touch panel 161.
  • the electronic device 101 may detect the second electronic pen by using the second digitizer pad.
  • the processor 120 may obtain at least one coordinate according to the second electronic pen detected using the second digitizer pad.
  • the processor 120 may convert the second digitizer pad into the second electronic pen active mode.
  • the processor 120 may acquire the coordinates of the second electronic pen as the second electronic pen is changed to the active mode.
  • the processor 120 may scan the first electronic pen through the first digitizer pad and acquire a finger through the first sensor unit 166 while acquiring the coordinates of the second electronic pen. You can scan.
  • the electronic device 101 may detect the release of the second electronic pen through the second digitizer pad, and update the scan variable of the electronic pen based on the detection of the release of the second electronic pen. For example, as shown in FIG. 9C, the processor 120 increases the idle mode driving frequency of the second electronic pen and the idle mode of the first electronic pen based on the detection of the release of the second electronic pen. Can lower the driving frequency. Although not shown in the drawing, the processor 120 may reduce only the driving frequency of the idle mode of the first electronic pen or only the idle mode driving frequency of the second electronic pen based on the detection of the release of the second electronic pen. .
  • the electronic device may include the electronic device 101 of FIG. 1A or at least a part (eg, the processor 120) of the electronic device 101.
  • the electronic device 101 may check a usage history of the first electronic pen.
  • the processor 120 may check the usage history of the electronic pen generated in the electronic device in the memory of the electronic device 101.
  • the usage history of the electronic pen may be information stored by accumulating records in which the electronic pen is detected by the electronic device to obtain at least one coordinate.
  • the usage history of the electronic pen may be an input record of the electronic pen for a set period, and the set period may be set by the user or may be set in advance at the manufacturing stage. Meanwhile, the usage history of the electronic pen may be periodically deleted.
  • the electronic device 101 may proceed to operation 1005 to update the scan variable of the designated electronic pen, and proceed to operation 1007 based on the updated scan variable.
  • the algorithm according to the embodiment of the present invention can be terminated.
  • the scan variable of the designated electronic pen may be a preset value assuming an initial input of the first electronic pen.
  • the electronic device 101 may proceed to operation 1003 and update the scan variable based on the history of use of the first electronic pen.
  • the processor 120 may check the usage history of the first electronic pen, and the higher the frequency of the existing use of the first electronic pen, the higher the driving frequency of the scan of the first electronic pen. For example, when the number of times the first electronic pen is used is less than the reference range, as shown in FIG. 11A, the processor 120 sets the scan driving frequency of the first electronic pen and the second electronic pen to be 3: Can be updated to 1. In addition, when the number of times the first electronic pen is used is within the reference range, as shown in FIG.
  • the processor 120 sets the scan driving frequency of the first electronic pen and the second electronic pen to 4: 1. Can be updated.
  • the processor 120 sets the scan driving frequency of the first electronic pen and the second electronic pen to 5: 1. Can be updated with
  • the electronic device 101 may execute an electronic pen scan based on the updated scan variable based on the usage history, and then terminate the algorithm according to the embodiment of the present invention.
  • the electronic device may include the electronic device 101 of FIG. 1A or at least a part (eg, the processor 120) of the electronic device 101.
  • the electronic device 101 may check a history of use of the electronic pen.
  • the processor 120 may update the usage history of the electronic pen every time it detects the electronic pen.
  • the processor 120 may periodically check the usage history of the electronic pen.
  • the electronic device 101 may identify an electronic pen that has not been used for a specified period.
  • the designated time period may be set by the user or preset in the manufacturing stage.
  • the specified time period may be determined by calculating a predetermined time period during which the probability that the electronic pen is no longer used is increased based on the usage history.
  • the electronic device 101 may proceed to operation 1201 and periodically check the usage history of the electronic pen.
  • the electronic device 101 proceeds to operation 1205 and displays a notification for selecting whether to disable the electronic pen using the display panel (shown in FIG. can do.
  • the processor 120 may transmit a signal including information related to the third electronic pen to the display controller 163.
  • the display controller 163 may display a notification 1303 to select whether to deactivate the third electronic pen through the screen 1301 of the display panel 162 as illustrated in FIG. 13.
  • the electronic device 101 may determine whether a user's electronic pen deactivation input is detected using the touch panel 161. For example, when detecting an input for dragging an object displayed on the deactivation notification of the third electronic pen and an input for touching the confirmation icon, the processor 120 may determine that the deactivation input of the third electronic pen is detected.
  • the electronic device 101 may proceed to operation 1209 to deactivate the electronic pen, and then terminate the algorithm according to the embodiment of the present invention. Accordingly, the processor 120 may not detect the deactivated electronic pen even when the deactivated electronic pen is in contact with or in proximity to the touch panel 161. Meanwhile, the deactivated electronic pen may be reactivated by the user's setting.
  • the electronic device 101 may proceed to operation 1211 and update the scan variable of the electronic pen that has not been used for a specified period or more.
  • the processor 120 may lower the scan variable of the electronic pen that has not been used for more than a specified period of time and increase the scan variable of the electronic pen that is frequently used based on the usage history.
  • the processor 120 may lower only the scan parameters of the electronic pen that have not been used for a specified period of time.
  • the electronic device 101 may execute a scan of the electronic pen based on the updated scan variable, and then terminate the algorithm according to the embodiment of the present invention. Accordingly, the electronic device 101 may improve the recognition speed of an electronic pen that is frequently used as the electronic pen 101 is deactivated or the scan variable is updated.
  • the electronic device 101 when the electronic device 101 does not detect a user's electronic pen deactivation input, the electronic device 101 does not execute operations 1211 and 1213 and periodically checks the usage history of the electronic pen or ends the operation. can do.
  • this is not limitative.
  • the electronic device may include the electronic device 101 of FIG. 1A or at least a part (eg, the processor 120) of the electronic device 101.
  • the electronic device 101 may acquire coordinates according to the detection of the first electronic pen.
  • the processor 120 may acquire the coordinates of the first electronic pen until detecting the release of the first electronic pen.
  • the electronic device 101 may determine whether the coordinates of the first electronic pen are updated. For example, the processor 120 may determine whether to additionally obtain coordinates having a value different from the coordinates already acquired.
  • the electronic device 101 may proceed to operation 1403 to update the scan variable of the electronic pen.
  • the electronic device 101 may determine whether the first electronic pen is released using the touch panel 161. If it is determined that the first electronic pen is released, the electronic device 101 may return to operation 405 of FIG. 4 to perform a scan of the electronic pen based on the updated scan variable. On the other hand, if it is determined that the first electronic pen is not released, the electronic device 101 can check whether the coordinates of the first electronic pen are updated.
  • the electronic device 101 may immediately execute operation 1404.
  • the electronic device 101 may return to operation 405 of FIG. 4 to perform a scan of the electronic pen based on the updated scan variable, and the first electronic pen may not be released. If it is determined that the electronic device 101 is determined, the coordinates of the first electronic pen may be updated.
  • the electronic device 101 may update the scan variable of the electronic pen according to the number of coordinate acquisitions of the first electronic pen.
  • the processor 120 may update the scan variable of the electronic pen every time additionally obtaining the coordinates of the first electronic pen. Therefore, the higher the number of coordinate acquisition times of the first electronic pen, the higher the scan driving ratio of the first electronic pen may be.
  • the processor 120 may record the number of coordinate acquisitions of the first electronic pen and update the scan variables of the electronic pen collectively as the first electronic pen is released.
  • the processor 120 may stop updating the scan variable.
  • the electronic device may include the electronic device 101 of FIG. 1A or at least a part (eg, the processor 120) of the electronic device 101.
  • the electronic device 101 may periodically change a state to a first electronic pen idle mode, a second electronic pen idle mode, and a finger idle mode in a 1501 state.
  • the electronic device 101 When the electronic device 101 detects a finger using the touch panel 161 (1506), the electronic device 101 may transition from a 1501 state to a 1502 state. In addition, when the electronic device 101 detects the first electronic pen using the touch panel 161 (1507), the electronic device 101 may transition to the state 1503. In addition, when the electronic device 101 detects the second electronic pen using the touch panel 161 (1508), the electronic device 101 may transition to the state 1504.
  • the electronic device 101 may operate in a finger active mode in a 1502 state.
  • the processor 120 may acquire the coordinates of the detected finger and operate in the first electronic pen idle mode or the second electronic pen idle mode while operating in the finger active mode. Therefore, when the processor 120 detects the first electronic pen using the touch panel 161, the processor 120 may transition to the state 1503.
  • the processor 120 may detect the second electronic pen using the touch panel 161. In case 1510, the state may transition to the state 1504. Meanwhile, while the state is shifted by detecting the first electronic pen or the second electronic pen in the 1502 state, the processor 120 may continuously acquire the coordinates of the finger, and alternatively exclude the input of the finger.
  • the electronic device 101 may operate in a first electronic pen active mode in a state of 1503.
  • the processor 120 may obtain the coordinates of the first electronic pen in the first electronic pen active mode.
  • the processor 120 may transition to the state 1505.
  • the electronic device 101 may operate in the second electronic pen active mode.
  • the processor 120 may obtain the coordinates of the second electronic pen in the second electronic pen active mode.
  • the processor 120 may transition to the state 1505.
  • the electronic device 101 may update the priority of the first electronic pen or the second electronic pen in the state 1505.
  • the processor 120 may transition to the 1501 state based on the updated priority, and the finger idle mode, the first electronic pen idle mode, and the second electronic pen based on the updated priority at the 1501 state.
  • the operation may be performed by converting to the idle mode 1513.
  • the electronic device 101 may execute a scan of the first electronic pen.
  • the electronic device 101 may determine whether the first electronic pen is detected using the touch panel 161.
  • the electronic device 101 may acquire the coordinates of the first electronic pen in operation 1517, and the electronic device 101 may release the first electronic pen in operation 1518. Can be confirmed.
  • the electronic device 101 may repeat operation 1517.
  • the electronic device 101 may update the priority of the electronic pen in operation 1519.
  • the electronic device 101 may execute operation 1515 after operation 1519.
  • the electronic device 101 may end scanning of the first electronic pen in operation 1520.
  • the electronic device 101 can continuously execute the scan of the first electronic pen.
  • the electronic device 101 may execute the scan of the second electronic pen in operation 1521.
  • the electronic device 101 may determine whether the second electronic pen is detected using the touch panel 161.
  • the electronic device 101 may acquire the coordinates of the second electronic pen in operation 1523, and the electronic device 101 may release the second electronic pen in operation 1524. Can be confirmed.
  • the electronic device 101 may repeat operation 1523.
  • the electronic device 101 may update the priority of the electronic pen in operation 1525.
  • the processor 120 may execute operation 1515 after operation 1525.
  • the electronic device 101 may end scanning of the second electronic pen in operation 1526. When the scan of the second electronic pen is not finished, the electronic device 101 may continuously execute the scan of the second electronic pen. When the scan of the second electronic pen is finished, in operation 1515, the electronic device 101 may execute the scan of the first electronic pen.
  • the electronic device may include the electronic device 101 of FIG. 1A or at least a part (eg, the processor 120) of the electronic device 101.
  • the electronic device 101 may determine whether the electronic device 101 is connected to the electronic pen.
  • the electronic pen may be connected to the electronic device using a short range communication method such as Bluetooth.
  • the processor 120 may determine whether the electronic pen is connected to the electronic device by using the communication module.
  • the electronic device 101 may periodically check whether the electronic pen and the electronic device are connected by using the communication module.
  • the electronic device 101 may proceed to operation 1603 to update the scan variable of the electronic pen and scan the electronic pen based on the updated scan variable in operation 1605.
  • the coordinates may be acquired according to the electronic pen connection.
  • the processor 120 may scan the electronic pen based on the updated scan variable according to the connection of the electronic pen, and acquire at least one coordinate of the connected electronic pen as the electronic pen is scanned. Thereafter, the algorithm according to the embodiment of the present invention may be terminated. Accordingly, the recognition speed of the electronic pen frequently connected to the electronic device can be improved.
  • an operation method of an electronic device using various types of electronic pens may include: detecting a first electronic pen; Detecting release of the first electronic pen; And performing a scan of the electronic pen based on the scan parameters of the updated electronic pen based on the detection of the release of the first electronic pen.
  • the method may further include updating a scan variable of the electronic pen, and updating the scan variable of the electronic pen may include detecting the first electronic pen or the first electronic pen. It can be executed after the operation of detecting the release of.
  • the scanning of the electronic pen may include: updating a priority of the electronic pen; And updating a scan variable of the electronic pen based on the updated priority.
  • the scan variable of the electronic pen includes the scan variable of the first electronic pen and the scan variable of the second electronic pen
  • the updating of the scan variable of the electronic pen may include: The scan variable of the electronic pen or the scan variable of the second electronic pen may be updated.
  • the first electronic pen and the second electronic pen may operate based on at least a portion of a protocol different from each other.
  • the method may further include adjusting at least one of a scan driving frequency, a scan driving strength, a scan driving time, or the number of scan driving sensors based on the updated scan variable.
  • the performing of the scan variable of the electronic pen may include: checking whether a usage history of the first electronic pen exists; And updating a scan variable of the electronic pen based on a history of use of the first electronic pen, if a history of use of the first electronic pen exists.
  • the updating of the scan variable of the electronic pen may further include updating the scan variable of the designated electronic pen when the use history of the first electronic pen does not exist. have.
  • the method may include: checking a usage history of the electronic pen; Identifying an electronic pen that has not been used for a specified period of time based on a usage history of the electronic pen; And when the electronic pen that has not been used for more than the designated period is identified, displaying a notification for selecting whether to deactivate the electronic pen that has not been used for the specified period.
  • the method may further include detecting a connection between a second electronic pen and the electronic device; And updating a scan variable of the electronic pen based on the detection of the connection of the second electronic pen and the electronic device.
  • an operation method of an electronic device may include: scanning a first electronic pen; Determining whether the first electronic pen is detected; When the first electronic pen is detected, updating scan parameters of the electronic pen and determining whether release of the detected first electronic pen is detected; If the first electronic pen is not detected, scanning a second electronic pen and determining whether the second electronic pen is detected; And when the second electronic pen is detected, updating scan parameters of the electronic pen and determining whether release of the detected second electronic pen is detected.
  • the two electronic pens may operate based on at least some other protocol.

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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

본 발명의 다양한 실시예는 여러 종류의 전자 펜을 사용하는 방법 및 그 전자 장치에 관한 것이다. 이때 방법은, 제1 전자 펜을 검출하는 동작; 상기 제1 전자 펜의 해제를 검출하는 동작; 및 상기 제1 전자 펜의 해제의 검출에 기반하여, 갱신된 전자 펜의 스캔 변수에 기반한 전자 펜의 스캔을 수행하는 동작;을 포함할 수 있다. 다른 실시 예들도 가능할 수 있다.

Description

여러 종류의 전자 펜을 사용하기 위한 방법 및 그 전자 장치
본 발명의 다양한 실시예들은 여러 종류의 전자 펜을 사용하기 위한 방법 및 그 전자 장치에 관한 것이다.
전자장치는 사용자의 입력을 검출할 수 있고, 검출한 사용자 입력에 따라 해당 기능을 수행할 수 있다. 사용자 입력이란 사용자에 의한 직접 손가락이나 전자 펜을 이용하여 이루어질 수 있는 입력을 뜻한다. 특히, 전자 장치의 다양한 기능을 수행하기 위해 전자 펜은 다양한 방법으로 제작될 수 있다. 이에 따라, 각각의 전자 펜은 서로 다른 프로토콜에 기반하여 동작할 수 있다.
상기 전자 펜은 미리 정해진 하나의 전자 펜만을 인식하도록 설계될 수 있다. 예를 들어, 전자 펜은 미리 정해진 전자 펜에 대응하는 프로토콜 또는 주파수 대역에 기반하여 검출될 수 있다.
따라서, 본 발명의 다양한 실시예들은 전자 장치에서 서로 다른 프로토콜에 기반하여 동작하는 여러 종류의 전자 펜을 인식하기 위한 장치 및 방법을 제공함에 있다.
본 발명이 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.
본 발명의 다양한 실시 예에 따르면, 다양한 종류의 전자 펜을 사용하는 전자 장치의 동작 방법은, 제1 전자 펜을 검출하는 동작; 상기 제1 전자 펜의 해제를 검출하는 동작; 및 상기 제1 전자 펜의 해제의 검출에 기반하여, 갱신된 전자 펜의 스캔 변수에 기반한 전자 펜의 스캔을 수행하는 동작;을 포함할 수 있다.
본 발명의 다양한 실시 예에 따르면, 전자 장치의 동작 방법은, 제1 전자 펜을 스캔하는 동작; 상기 제1 전자 펜이 검출되는 지 판단하는 동작; 상기 제1 전자 펜이 검출될 경우, 전자 펜의 스캔 변수를 갱신하고 상기 검출된 제1 전자 펜의 해제가 검출되는지 판단하는 동작; 상기 제1 전자 펜이 검출되지 않을 경우, 제2 전자 펜을 스캔하고 상기 제2 전자 펜이 검출되는 지 판단하는 동작; 및 상기 제2 전자 펜이 검출될 경우, 상기 전자 펜의 스캔 변수를 갱신하고 상기 검출된 제2 전자 펜의 해제가 검출되는지 판단하는 동작;을 포함할 수 있고, 상기 제1 전자 펜과 상기 제2 전자 펜은 서로 적어도 일부 다른 프로토콜에 기반하여 작동할 수 있다.
본 발명의 다양한 실시 예에 따르면, 전자 장치는, 센서 모듈; 상기 센서 모듈과 전기적으로 연결된 프로세서; 및 상기 프로세서와 전기적으로 연결된 메모리를 포함하며, 상기 메모리는, 실행시에, 상기 프로세서가, 상기 센서 모듈을 이용하여 제1 전자 펜을 검출하고, 상기 센서 모듈을 이용하여 상기 제1 전자 펜의 해제를 검출하고, 상기 제1 전자 펜의 해제의 검출에 기반하여, 갱신된 전자 펜의 스캔 변수에 기반한 전자 펜의 스캔을 수행하도록 하는 인스트럭션들을 저장하도록 제어할 수 있다.
본 발명의 다양한 실시 예에 따르면, 전자 장치는, 센서 모듈; 상기 센서 모듈과 전기적으로 연결된 프로세서; 및 상기 프로세서와 전기적으로 연결된 메모리를 포함하며, 상기 메모리는, 실행시에, 상기 프로세서가, 상기 센서 모듈을 이용하여 제1 전자 펜을 스캔하고, 상기 센서 모듈을 이용하여 상기 제1 전자 펜이 검출되는 지 판단하고, 상기 제1 전자 펜이 검출될 경우, 전자 펜의 스캔 변수를 갱신하고 상기 검출된 제1 전자 펜의 해제가 검출되는지 판단하고, 상기 제1 전자 펜이 검출되지 않을 경우, 상기 센서 모듈을 이용하여 제2 전자 펜을 스캔하고 상기 제2 전자 펜이 검출되는 지 판단하고, 상기 제2 전자 펜이 검출될 경우, 상기 전자 펜의 스캔 변수를 갱신하고 상기 검출된 제2 전자 펜의 해제가 검출되는 지 판단하도록 하는 인스트럭션들을 저장하도록 제어하고, 상기 제1 전자 펜과 상기 제2 전자 펜은 서로 적어도 일부 다른 프로토콜에 기반하여 작동할 수 있다.
본 발명의 다양한 실시예에 따른 방법 및 그 전자 장치는 서로 다른 프로토콜을 갖는 전자 펜들을 인식함으로써, 전자 펜에 대한 사용자의 편의성을 높일 수 있다.
또한, 본 발명의 다양한 실시예에 따른 방법 및 그 전자 장치는 전자 펜의 사용 상태에 기반하여 전자 펜의 스캔 변수를 갱신함으로써, 전자 펜의 감지 속도를 높이고, 전자 펜의 감지를 위한 전류 소모를 낮출 수 있다.
도 1a는 본 발명의 다양한 실시예에 따른 전자 장치를 포함하는 네트워크에 대한 환경을 도시한다.
도 1b는 본 발명의 다양한 실시예에 따른 전자 펜을 검출하는 전자 장치의 구성을 설명하는 예시도이다.
도 1c 및 도 1d는 본 발명의 다양한 실시예에 따른 전자 펜을 검출하는 터치 패널의 구성을 도시한 블록도이다.
도 2는 본 발명의 다양한 실시예에 따른 전자 장치의 블록도이다.
도 3은 다양한 실시예에 따른 프로그램 모듈의 블록도이다.
도 4는 본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하는 흐름도이다.
도 5는 본 발명의 다양한 실시예에 따른 전자 펜의 스캔 변수를 갱신하는 방법을 설명하는 흐름도이다.
도 6 내지 9는 본 발명의 다양한 실시예에 따른 전자 펜의 스캔 변수를 갱신하는 방법을 설명하는 예시도이다.
도 10은 본 발명의 다양한 실시예에 따른 사용 이력에 기반하여 전자 펜의 스캔 변수를 갱신하는 방법을 설명하는 흐름도이다.
도 11은 본 발명의 다양한 실시예에 따른 사용 이력에 기반하여 전자 펜의 스캔 변수를 갱신하는 방법을 설명하는 예시도이다.
도 12는 본 발명의 다양한 실시예에 따른 전자 펜을 비활성화하는 방법을 설명하는 흐름도이다.
도 13은 본 발명의 다양한 실시예에 따른 전자 펜을 비활성화하는 방법을 설명하는 예시도이다.
도 14는 본 발명의 다양한 실시예에 따른 전자 펜의 스캔 변수를 갱신하는 방법을 설명하는 흐름도이다.
도 15a 및 15b는 본 발명의 다양한 실시예들에 따른 전자 장치의 동작 방법을 설명하는 흐름도이다.
도 16은 본 발명의 다양한 실시예에 따른 연결된 전자 펜의 스캔 변수를 갱신하는 방법을 설명하는 흐름도이다.
이하, 본 문서의 다양한 실시예들이 첨부된 도면을 참조하여 기재된다. 실시예 및 이에 사용된 용어들은 본 문서에 기재된 기술을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 및/또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함할 수 있다. 본 문서에서, "A 또는 B" , "A 및/또는 B 중 적어도 하나", "A, B, 또는 C", 또는 " A, B, 또는 C 중 적어도 하나" 등의 표현은 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. "제 1," "제 2," "첫째," 또는 "둘째,"등의 표현들은 해당 구성요소들을, 순서 또는 중요도에 상관없이 수식할 수 있고, 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 뿐 해당 구성요소들을 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에 "(기능적으로 또는 통신적으로) 연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로 연결되거나, 다른 구성요소(예: 제 3 구성요소)를 통하여 연결될 수 있다.
본 문서에서, "~하도록 구성된(또는 설정된)(configured to)"은 상황에 따라, 예를 들면, 하드웨어적 또는 소프트웨어적으로 "~에 적합한," "~하는 능력을 가지는," "~하도록 변경된," "~하도록 만들어진," "~를 할 수 있는," 또는 "~하도록 설계된"과 상호 호환적으로(interchangeably) 사용될 수 있다. 어떤 상황에서는, "~하도록 구성된 장치"라는 표현은, 그 장치가 다른 장치 또는 부품들과 함께 "~할 수 있는" 것을 의미할 수 있다. 예를 들면, 문구 "A, B, 및 C를 수행하도록 구성된(또는 설정된) 프로세서"는 해당 동작을 수행하기 위한 전용 프로세서(예: 임베디드 프로세서), 또는 메모리 장치에 저장된 하나 이상의 소프트웨어 프로그램들을 실행함으로써, 해당 동작들을 수행할 수 있는 범용 프로세서(예: CPU 또는 application processor)를 의미할 수 있다.
본 문서의 다양한 실시예들에 따른 전자 장치는, 예를 들면, 스마트폰, 태블릿 PC, 이동 전화기, 영상 전화기, 전자책 리더기, 데스크탑 PC, 랩탑 PC, 넷북 컴퓨터, 워크스테이션, 서버, PDA, PMP(portable multimedia player), MP3 플레이어, 의료장치, 카메라, 또는 웨어러블 장치 중 적어도 하나를 포함할 수 있다. 웨어러블 장치는 액세서리형(예: 시계, 반지, 팔찌, 발찌, 목걸이, 안경, 콘택트 렌즈, 또는 머리 착용형 장치(head-mounted-device(HMD)), 직물 또는 의류 일체형(예: 전자 의복), 신체 부착형(예: 스킨 패드 또는 문신), 또는 생체 이식형 회로 중 적어도 하나를 포함할 수 있다. 어떤 실시예들에서, 전자 장치는, 예를 들면, 텔레비전, DVD(digital video disk) 플레이어, 오디오, 냉장고, 에어컨, 청소기, 오븐, 전자레인지, 세탁기, 공기 청정기, 셋톱 박스, 홈 오토매이션 컨트롤 패널, 보안 컨트롤 패널, 미디어 박스(예: 삼성 HomeSyncTM, 애플TVTM, 또는 구글 TVTM), 게임 콘솔(예: XboxTM, PlayStationTM), 전자 사전, 전자 키, 캠코더, 또는 전자 액자 중 적어도 하나를 포함할 수 있다.
다른 실시예에서, 전자 장치는, 각종 의료장치(예: 각종 휴대용 의료측정장치(혈당 측정기, 심박 측정기, 혈압 측정기, 또는 체온 측정기 등), MRA(magnetic resonance angiography), MRI(magnetic resonance imaging), CT(computed tomography), 촬영기, 또는 초음파기 등), 네비게이션 장치, 위성 항법 시스템(GNSS(global navigation satellite system)), EDR(event data recorder), FDR(flight data recorder), 자동차 인포테인먼트 장치, 선박용 전자 장비(예: 선박용 항법 장치, 자이로 콤파스 등), 항공 전자장치(avionics), 보안 장치, 차량용 헤드 유닛(head unit), 산업용 또는 가정용 로봇, 드론(drone), 금융 기관의 ATM, 상점의 POS(point of sales), 또는 사물 인터넷 장치 (예: 전구, 각종 센서, 스프링클러 장치, 화재 경보기, 온도조절기, 가로등, 토스터, 운동기구, 온수탱크, 히터, 보일러 등) 중 적어도 하나를 포함할 수 있다. 어떤 실시예에 따르면, 전자 장치는 가구, 건물/구조물 또는 자동차의 일부, 전자 보드(electronic board), 전자 사인 수신 장치(electronic signature receiving device), 프로젝터, 또는 각종 계측 장치(예: 수도, 전기, 가스, 또는 전파 계측 장치 등) 중 적어도 하나를 포함할 수 있다. 다양한 실시예에서, 전자 장치는 플렉서블하거나, 또는 전술한 다양한 장치들 중 둘 이상의 조합일 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 장치들에 한정되지 않는다. 본 문서에서, 사용자라는 용어는 전자 장치를 사용하는 사람 또는 전자 장치를 사용하는 장치(예: 인공지능 전자 장치)를 지칭할 수 있다.
도 1a는 본 발명의 다양한 실시예에 따른 전자 장치를 포함하는 네트워크에 대한 환경을 도시한다.
도 1a를 참조하여, 다양한 실시예에서의, 네트워크 환경(100) 내의 전자 장치(101)가 기재된다. 전자 장치(101)는 버스(110), 프로세서(120), 메모리(130), 입출력 인터페이스(150), 디스플레이(160), 및 통신 인터페이스(170)를 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)는, 구성요소들 중 적어도 하나를 생략하거나 다른 구성요소를 추가적으로 구비할 수 있다. 버스(110)는 구성요소들(110-170)을 서로 연결하고, 구성요소들 간의 통신(예: 제어 메시지 또는 데이터)을 전달하는 회로를 포함할 수 있다. 프로세서(120)는, 중앙처리장치, 어플리케이션 프로세서, 또는 커뮤니케이션 프로세서(communication processor(CP)), 터치 제어부(TSP: touch screen processor) 중 하나 또는 그 이상을 포함할 수 있다. 프로세서(120)는, 예를 들면, 전자 장치(101)의 적어도 하나의 다른 구성요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 실행할 수 있다.
한 실시 예에 따르면, 프로세서(120)는 터치 패널(161, 도1c에 도시)을 통해 지정된 스캔 변수에 따라 다양한 종류의 전자 펜을 스캔할 수 있다. 예를 들어, 프로세서(120)는, 제1 전자 펜에 대응하는 스캔 주기 동안, 터치 패널(161)을 이용하여 제1 전자 펜을 검출할 수 있다. 일 예로, 프로세서(120)는 터치 패널(161)을 이용하여 검출한 제1 전자 펜에 따라 적어도 하나의 좌표를 획득할 수 있다.
프로세서(120)는 제1 전자 펜의 검출에 기반하여 전자 펜의 스캔 변수를 갱신할 수 있다. 예를 들어, 프로세서(120)는 가장 최근 검출한 제1 전자 펜의 스캔 변수를 높이고 제2 전자 펜의 스캔 변수를 낮출 수 있다.
예를 들어, 터치 패널(161)을 통해서 제1 전자 펜의 해제를 검출할 경우,제1 전자 펜의 해제의 검출에 기반하여, 프로세서(120)는 갱신된 전자 펜의 스캔 변수에 기반한 전자 펜의 스캔을 수행할 수 있다. 예를 들어, 프로세서(120)는 높아진 제1 전자 펜의 스캔 변수와 낮아진 제2 전자 펜의 스캔 변수에 따라 전자 펜의 스캔을 수행할 수 있다.
한 실시 예에 따르면, 프로세서(120)는 지정된 전자 펜의 우선 순위를 갱신할 수 있다. 예를 들어, 프로세서(120)는 제1 전자 펜의 우선 순위를 높일 수 있다.
예를 들어, 프로 세서(120)는 갱신된 우선 순위에 기반하여 전자 펜의 스캔 변수를 갱신할 수 있다. 일 예로, 프로세서(120)는 제1 전자펜 구동 빈도를 제2 전자 펜 구동 빈도보다 높일 수 있다.
예를 들어, 프로세서(120)는 터치 패널(161)을 이용하여 갱신된 스캔 변수에 기반하여 전자 펜의 스캔을 실행할 수 있다. 일 예로, 프로세서(120)는 제1 전자 펜을 인식하기 위한 아이들 모드와 제2 전자 펜을 인식하기 위한 아이들 모드를 일정 비율로 구동함에 따라 전자 펜의 스캔을 실행할 수 있다.
한 실시 예에 따르면, 프로세서(120)는 제1 전자 펜의 사용 이력을 확인할 수 있다. 예를 들어, 프로세서(120)는 전자 장치(101)의 메모리에 전자 장치에서 발생하는 전자 펜의 사용 이력을 확인할 수 있다.
예를 들어, 제1 전자 펜의 사용 이력이 존재하지 않을 경우, 프로세서(120)는 지정된 전자 펜의 스캔 변수를 갱신할 수 있고, 갱신된 스캔 변수에 기반하여 전자 펜 스캔을 실행할 수 있다.
예를 들어, 제1 전자 펜의 사용 이력이 존재할 경우, 프로세서(120)는 제1 전자 펜의 사용 이력에 기반하여 스캔 변수를 갱신할 수 있다. 프로세서(120)는 사용 이력에 기반하여 갱신된 스캔 변수에 기반하여 전자 펜 스캔을 실행할 수 있다.
한 실시 예에 따르면, 프로세서(120)는 전자 펜의 사용 이력을 확인할 수 있고, 확인한 전자 펜의 사용 이력에 기반하여, 프로세서(120)는 지정된 기간 이상 사용되지 않은 전자 펜을 확인할 수 있다.
예를 들어, 지정된 기간 이상 사용되지 않은 전자 펜이 없을 경우, 프로세서(120)는 주기적으로 전자 펜의 사용 이력을 확인할 수 있다.
예를 들어, 지정된 기간 이상 사용되지 않은 전자 펜이 확인될 경우, 프로세서(120)는 디스플레이 패널(도1b에 도시, 162)을 이용하여 전자 펜 비활성화 여부를 선택할 수 있는 알림을 표시할 수 있다.
예를 들어, 프로세서(120)는 터치 패널(161)을 이용하여 사용자의 전자 펜 비활성화 입력이 검출되는 지 판단할 수 있다.
예를 들어, 사용자의 전자 펜 비활성화 입력을 검출할 경우, 프로세서(120)는 전자 펜을 비활성화할 수 있다.
예를 들어, 사용자의 전자 펜 비활성화 입력을 검출하지 못할 경우, 프로세서(120)는 지정된 기간 이상 사용되지 않은 전자 펜의 스캔 변수를 갱신할 수 있다. 갱신된 전자 펜의 스캔 변수에 기반하여, 프로세서(120)는 전자 펜의 스캔을 실행할 수 있다.
한 실시 예에 따르면, 프로세서(120)는 제1 전자 펜 좌표 획득 횟수에 따라 스캔 변수를 갱신할 수 있다. 예를 들어, 프로세서(120)는 검출한 제1 전자 펜의 좌표가 갱신되는지 판단할 수 있다. 일예로, 제1 전자 펜의 좌표가 갱신된 것으로 판단된 경우, 프로세서(120)는 전자 펜의 스캔 변수를 추가로 갱신할 수 있다.
예를 들어, 프로세서(120)는, 터치 패널(161)을 이용하여 제1 전자 펜이 해제되는 지 여부를 판단할 수 있다. 만약, 제1 전자 펜이 해제된 것으로 판단된 경우, 프로세서(120)는 스캔 변수를 추가로 갱신하지 않고 이미 갱신된 스캔 변수에 따라 전자 펜의 스캔을 수행할 수 있다.
한 실시 예에 따르면, 프로세서(120)는 전자 펜과 연결됨에 따라 스캔 변수를 갱신할 수 있다. 예를 들어, 만약, 전자 장치와 전자 펜의 연결이 검출될 경우, 프로세서(120)는 연결된 전자 펜의 스캔 변수를 갱신할 수 있고, 갱신된 스캔 변수에 따라 전자 펜의 스캔을 실행할 수 있고, 전자 펜 연결에 따라 좌표를 획득할 수 있다.
메모리(130)는, 휘발성 및/또는 비휘발성 메모리를 포함할 수 있다. 메모리(130)는, 예를 들면, 전자 장치(101)의 적어도 하나의 다른 구성요소에 관계된 명령 또는 데이터를 저장할 수 있다. 한 실시 예에 따르면, 메모리(130)는 소프트웨어 및/또는 프로그램(140)을 저장할 수 있다.
프로그램(140)은, 예를 들면, 커널(141), 미들웨어(143), 어플리케이션 프로그래밍 인터페이스(API)(145), 및/또는 어플리케이션 프로그램(또는 "어플리케이션")(147) 등을 포함할 수 있다. 커널(141), 미들웨어(143), 또는 API(145)의 적어도 일부는, 운영 시스템으로 지칭될 수 있다. 커널(141)은, 예를 들면, 다른 프로그램들(예: 미들웨어(143), API(145), 또는 어플리케이션 프로그램(147))에 구현된 동작 또는 기능을 실행하는 데 사용되는 시스템 리소스들(예: 버스(110), 프로세서(120), 또는 메모리(130) 등)을 제어 또는 관리할 수 있다. 또한, 커널(141)은 미들웨어(143), API(145), 또는 어플리케이션 프로그램(147)에서 전자 장치(101)의 개별 구성요소에 접근함으로써, 시스템 리소스들을 제어 또는 관리할 수 있는 인터페이스를 제공할 수 있다.
미들웨어(143)는, 예를 들면, API(145) 또는 어플리케이션 프로그램(147)이 커널(141)과 통신하여 데이터를 주고받을 수 있도록 중개 역할을 수행할 수 있다. 또한, 미들웨어(143)는 어플리케이션 프로그램(147)으로부터 수신된 하나 이상의 작업 요청들을 우선 순위에 따라 처리할 수 있다. 예를 들면, 미들웨어(143)는 어플리케이션 프로그램(147) 중 적어도 하나에 전자 장치(101)의 시스템 리소스(예: 버스(110), 프로세서(120), 또는 메모리(130) 등)를 사용할 수 있는 우선 순위를 부여하고, 상기 하나 이상의 작업 요청들을 처리할 수 있다. API(145)는 어플리케이션(147)이 커널(141) 또는 미들웨어(143)에서 제공되는 기능을 제어하기 위한 인터페이스로, 예를 들면, 파일 제어, 창 제어, 영상 처리, 또는 문자 제어 등을 위한 적어도 하나의 인터페이스 또는 함수(예: 명령어)를 포함할 수 있다. 입출력 인터페이스(150)는, 예를 들면, 사용자 또는 다른 외부 장치로부터 입력된 명령 또는 데이터를 전자 장치(101)의 다른 구성요소(들)에 전달하거나, 또는 전자 장치(101)의 다른 구성요소(들)로부터 수신된 명령 또는 데이터를 사용자 또는 다른 외부 장치로 출력할 수 있다.
디스플레이(160)는, 예를 들면, 액정 디스플레이(LCD), 발광 다이오드(LED) 디스플레이, 유기 발광 다이오드(OLED) 디스플레이, 또는 마이크로 전자기계 시스템 (MEMS) 디스플레이, 또는 전자종이(electronic paper) 디스플레이를 포함할 수 있다. 디스플레이(160)는, 예를 들면, 사용자에게 각종 콘텐츠(예: 텍스트, 이미지, 비디오, 아이콘, 및/또는 심볼 등)을 표시할 수 있다. 디스플레이(160)는, 터치 스크린을 포함할 수 있으며, 예를 들면, 전자 펜 또는 사용자의 신체의 일부를 이용한 터치, 제스쳐, 근접, 또는 호버링 입력을 수신할 수 있다.
통신 인터페이스(170)는, 예를 들면, 전자 장치(101)와 외부 장치(예: 제 1 외부 전자 장치(102), 제 2 외부 전자 장치(104), 또는 서버(106)) 간의 통신을 설정할 수 있다. 예를 들면, 통신 인터페이스(170)는 무선 통신 또는 유선 통신을 통해서 네트워크(162)에 연결되어 외부 장치(예: 제 2 외부 전자 장치(104) 또는 서버(106))와 통신할 수 있다.
무선 통신(164)은, 예를 들면, LTE, LTE-A(LTE Advance), CDMA(code division multiple access), WCDMA(wideband CDMA), UMTS(universal mobile telecommunications system), WiBro(Wireless Broadband), 또는 GSM(Global System for Mobile Communications) 등 중 적어도 하나를 사용하는 셀룰러 통신을 포함할 수 있다. 한 실시 예에 따르면, 무선 통신(164)은, 예를 들면, 도 1a의 element 164로 예시된 비와 같이, WiFi(wireless fidelity), LiFi(light fidelity), 블루투스, 지그비(Zigbee), NFC(near field communication), 자력 시큐어 트랜스미션(Magnetic Secure Transmission), 라디오 프리퀀시(RF), 또는 보디 에어리어 네트워크(BAN) 중 적어도 하나를 포함할 수 있다. 한 실시 예에 따르면, 무선 통신(164)은 GNSS를 포함할 수 있다. GNSS는, 예를 들면, GPS(Global Positioning System), Glonass(Global Navigation Satellite System), Beidou Navigation Satellite System(이하 "Beidou") 또는 Galileo, the European global satellite-based navigation system일 수 있다. 이하, 본 문서에서는, "GPS"는 "GNSS"와 상호 호환적으로 사용될 수 있다. 유선 통신은, 예를 들면, USB(universal serial bus), HDMI(high definition multimedia interface), RS-232(recommended standard232), 전력선 통신, 또는 POTS(plain old telephone service) 등 중 적어도 하나를 포함할 수 있다.
네트워크(162)는 텔레커뮤니케이션 네트워크, 예를 들면, 컴퓨터 네트워크(예: LAN 또는 WAN), 인터넷, 또는 텔레폰 네트워크 중 적어도 하나를 포함할 수 있다.
제 1 및 제 2 외부 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 다양한 실시 예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 다른 하나 또는 복수의 전자 장치(예: 전자 장치(102,104), 또는 서버(106)에서 실행될 수 있다. 한 실시 예에 따르면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로 또는 요청에 의하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 그와 연관된 적어도 일부 기능을 다른 장치(예: 전자 장치(102, 104), 또는 서버(106))에게 요청할 수 있다. 다른 전자 장치(예: 전자 장치(102, 104), 또는 서버(106))는 요청된 기능 또는 추가 기능을 실행하고, 그 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 수신된 결과를 그대로 또는 추가적으로 처리하여 요청된 기능이나 서비스를 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.
도 1b는 본 발명의 다양한 실시예에 따른 전자 펜을 검출하는 전자 장치의 구성을 설명하는 예시도이다.
도 1b를 참조하면, 전자 펜(180)의 입력을 감지하는 디스플레이(160)가 전자 장치(도1a에 도시, 101)에 제공될 수 있다. 디스플레이(160)는 데이터의 입, 출력 기능을 동시에 지원할 뿐만 아니라 터치를 감지할 수 있다.
디스플레이(160)는 터치 패널(161), 디스플레이 패널(162), 및 디스플레이 제어부(163)를 포함할 수 있다. 터치 패널(161)은 터치 입력의 위치를 검출할 수 있고, 디스플레이 패널(162)은 영상을 출력할 수 있다. 예를 들어, 터치 패널(161)은 전자 펜(180)으로부터 자기장을 인가 받고, 이로부터 터치 위치를 검출할 수 있다. 디스플레이 제어부(163)는 디스플레이 패널(162)을 통해 이미지를 출력하기 위해 디스플레이 패널(162)을 제어하는 구동회로일 수 있다. 프로세서(120)는 전자 장치(101)에 포함된 적어도 하나의 다른 구성 요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 할 수 있다. 예를 들어, 프로세서(120)는 디스플레이 제어부(163)와 후술할 터치 제어부(164)의 동작을 제어할 수 있고, 중앙처리장치(central processing unit, CPU) 또는 어플리케이션 프로세서(application processor, AP)일 수 있다.
발명의 한 실시 예에 따르면, 터치 패널(161)은 다양한 종류의 전자 펜(180)에서 발생한 전기 신호 또는 자기 신호를 검출할 수 있다. 예를 들어, 전자 펜(180)은 전기 신호 또는 자기 신호를 발생시키기 위한 전원을 배터리나 전자기 유도 방식에 따른 공진회로로부터 제공받을 수 있다. 전자 펜(180)의 공진 회로는 터치 패널(161)로부터 발생한 전자기장에 접근하게 되면, 전류를 발생시키고 이 전류에 의해 자기장을 형성할 수 있다. 예를 들어, 전자 펜(180)은 배터리를 포함하는 AES(active electrical stylus) 방식, 배터리를 포함하지 않는 ECR(electrically coupled resonance) 방식, 또는 EMR(electro-magnetic resonance) 방식을 지원할 수 있다. AES 방식은 직접 전기 신호를 터치 패널(161)에 인가할 수 있다. ECR 방식 및 EMR 방식은 은 전자기 유도 방식에 따른 공진 회로를 전자 펜(180)의 내부에 포함할 수 있다. ECR 방식의 전자펜 내부 공진 회로는 결합(coupling)에 의해 터치 패널(161)로부터 전달된 교류 신호를 공진시키거나 공진된 신호를 결합을 통해 터치 패널(161)로 전달할 수 있으며, EMR 방식의 전자펜 내부 공진 회로는 터치 패널(161)로부터 발생한 전자기장에 접근하게 되면, 전류를 발생시킬 수 있고, 발생한 전류에 의해 자기장을 형성할 수 있다.
도 1c 및 도 1d는 본 발명의 다양한 실시예에 따른 전자 펜을 검출하는 터치 패널의 구성을 도시한 블록도이다.
도 1c를 참조하면, 터치 패널(161)은 전자 펜 또는 사용자의 손가락이 접촉 또는 근접하는 것을 감지할 수 있고, 전자 펜 또는 사용자의 손가락이 접촉 또는 근접한 위치의 좌표를 판단할 수 있고, 센서부(165) 및 터치 제어부(164)를 포함할 수 있다. 센서부(165)는 터치 제어부(164)로부터 터치 구동 신호를 입력 받고 전자 펜 또는 손가락 등의 입력 장치의 접촉 또는 근접함에 따라 변화하는 터치 감지 신호를 생성하여 터치 제어부(164)에 제공할 수 있다. 센서부(165)는 센서 전극들을 포함하는 터치 배선을 포함할 수 있고, 터치 배선은 터치 패널(161)의 터치 영역 안에 교호하고 평행하게 배치되어 터치 제어부(164)와 연결될 수 있다. 터치 배선은 투명한 도전 물질 또는 몰리브덴(Mo), 은(Ag), 티타늄(Ti), 구리(Cu), 알루미늄(Ti), 몰리브덴/알루미늄/몰리브덴(Mo/Al/Mo) 등의 저저항 물질을 포함할 수 있다.
터치 제어부(164)는 센서부(165)에 터치 구동 신호를 제공할 수 있고, 센서부(165)로부터 터치 감지 신호를 입력 받을 수 있고, 터치 감지 신호에 기반하여 터치 정보를 생성할 수 있고, 생성된 터치 정보를 프로세서(120)에 제공할 수 있다. 터치 정보는 전자 펜 또는 손가락에 의한 터치들이 검출된 위치들에 대응하는 데이터 값들의 스트림일 수 있다. 터치 정보는 센서부(165)에 가해졌던 압력을 나타내는 압력 데이터를 더 포함할 수 있다.
발명의 한 실시 예에 따르면, 터치 패널(161)은 터치 제어부(164)로부터 전압을 인가받고, 터치 감지를 위한 전기장을 형성시킬 수 있다. 전자 펜(180)이 터치 패널(161)에 접근하게 되면, 전자 펜(180)의 공진 회로는 전류를 발생시키고 이 전류에 의해 공진 회로는 자기장을 형성할 수 있다. 터치 제어부(164)는 터치 패널(161)로부터 정전용량 변화에 따른 터치 위치를 검출할 수 있다. 터치 제어부(164)는 검출한 위치를 프로세서(120)로 제공할 수 있고, 프로세서(120)는 이에 따른 동작을 수행할 수 있다.
도 1d를 참조하면, 터치 패널(161)은 터치 제어부(164), 제1 센서부(166), 및 제2 센서부(167)를 포함할 수 있다. 예를 들어, 제1 센서부(166)는 센서 전극 등을 포함하는 터치 배선일 수 있고, 제2 센서부(167)는 디지타이저 패드(165)일 수 있다. 제1 센서부(166)와 제2 센서부(167)는 서로 다른 레이어에 위치할 수 있다. 예를 들어, 제1 센서부(166)는 디스플레이 패널(162)의 표시면 상에 배치될 수 있고, 제2 센서부(167)는 디스플레이 패널(162)의 표시면의 반대면 상에 배치될 수 있다. 이하 설명에서 제1 센서부(166)와 터치 제어부(164)는 도 1c의 구성과 동일하게 동작하므로 해당 모듈의 구체적인 설명을 생략한다.
발명의 한 실시 예에 따르면, 제2 센서부(167)는 X, Y축 방향으로 라인들을 교호하고 평행하게 형성할 수 있다. 제2 센서부(167)는 터치 제어부(164)로부터 교류 전류를 제공받을 수 있고, 전기장을 발생시킬 수 있다. 전자 펜(180)이 제2 센서부(167)에 접근하게 되면, 전자 펜(180)의 공진 회로는 전류를 발생시키고 이 전류에 의해 공진 회로는 자기장을 형성할 수 있다. 터치 제어부(164)는 전자 펜(180)으로부터 제2 센서부(167)로 제공되는 자기장의 강도를 전 영역에 걸쳐 스캔하여 위치를 검출할 수 있다. 터치 제어부(164)는 검출한 위치를 프로세서(120)로 제공할 수 있고, 프로세서(120)는 이에 대한 동작을 수행할 수 있다. 한편, 제2 센서부(167)를 터치 패널(161)의 구성으로 기재하였으나 제2 센서부(167)는 터치 패널(161)과 별도의 구성으로 전자 장치(101)에 배치될 수 있다.
도 2는 다양한 실시예에 따른 전자 장치(201)의 블록도이다.
전자 장치(201)는, 예를 들면, 도 1에 도시된 전자 장치(101)의 전체 또는 일부를 포함할 수 있다. 전자 장치(201)는 하나 이상의 프로세서(예: AP)(210), 통신 모듈(220), (가입자 식별 모듈(224), 메모리(230), 센서 모듈(240), 입력 장치(250), 디스플레이(260), 인터페이스(270), 오디오 모듈(280), 카메라 모듈(291), 전력 관리 모듈(295), 배터리(296), 인디케이터(297), 및 모터(298) 를 포함할 수 있다.
프로세서(210)는, 예를 들면, 운영 체제 또는 응용 프로그램을 구동하여 프로세서(210)에 연결된 다수의 하드웨어 또는 소프트웨어 구성요소들을 제어할 수 있고, 각종 데이터 처리 및 연산을 수행할 수 있다. 프로세서(210)는, 예를 들면, SoC(system on chip) 로 구현될 수 있다. 한 실시 예에 따르면, 프로세서(210)는 GPU(graphic processing unit) 및/또는 이미지 신호 프로세서를 더 포함할 수 있다. 프로세서(210)는 도 2에 도시된 구성요소들 중 적어도 일부(예: 셀룰러 모듈(221))를 포함할 수도 있다. 프로세서(210) 는 다른 구성요소들(예: 비휘발성 메모리) 중 적어도 하나로부터 수신된 명령 또는 데이터를 휘발성 메모리에 로드)하여 처리하고, 결과 데이터를 비휘발성 메모리에 저장할 수 있다.
통신 모듈(220)(예: 통신 인터페이스(170))와 동일 또는 유사한 구성을 가질 수 있다. 통신 모듈(220)은, 예를 들면, 셀룰러 모듈(221), WiFi 모듈(223), 블루투스(Bluetooth; BT) 모듈(225), 저전력 블루투스(Bluetooth Low energy; BLE) 모듈(226), GNSS 모듈(227), NFC 모듈(228) 및 RF 모듈(229)를 포함할 수 있다. 셀룰러 모듈(221)은, 예를 들면, 통신망을 통해서 음성 통화, 영상 통화, 문자 서비스, 또는 인터넷 서비스 등을 제공할 수 있다. 한 실시 예에 따르면, 셀룰러 모듈(221)은 가입자 식별 모듈(예: SIM 카드)(224)을 이용하여 통신 네트워크 내에서 전자 장치(201)의 구별 및 인증을 수행할 수 있다. 한 실시 예에 따르면, 셀룰러 모듈(221)은 프로세서(210)가 제공할 수 있는 기능 중 적어도 일부 기능을 수행할 수 있다. 한 실시 예에 따르면, 셀룰러 모듈(221)은 커뮤니케이션 프로세서(CP)를 포함할 수 있다. 어떤 실시예에 따르면, 셀룰러 모듈(221), WiFi 모듈(223), 블루투스 모듈(225), 저전력 블루투스 모듈(226), GNSS 모듈(227) 또는 NFC 모듈(228) 중 적어도 일부(예: 두 개 이상)는 하나의 integrated chip(IC) 또는 IC 패키지 내에 포함될 수 있다. RF 모듈(229)은, 예를 들면, 통신 신호(예: RF 신호)를 송수신할 수 있다. RF 모듈(229)은, 예를 들면, 트랜시버, PAM(power amp module), 주파수 필터, LNA(low noise amplifier), 또는 안테나 등을 포함할 수 있다. 다른 실시예에 따르면, 셀룰러 모듈(221), WiFi 모듈(223), 블루투스 모듈(225), 저전력 블루투스 모듈(226), GNSS 모듈(227) 또는 NFC 모듈(228) 중 적어도 하나는 별개의 RF 모듈을 통하여 RF 신호를 송수신할 수 있다. 가입자 식별 모듈(224)은, 예를 들면, 가입자 식별 모듈을 포함하는 카드 또는 임베디드 SIM을 포함할 수 있으며, 고유한 식별 정보(예: ICCID(integrated circuit card identifier)) 또는 가입자 정보(예: IMSI(international mobile subscriber identity))를 포함할 수 있다.
메모리(230)(예: 메모리(130))는, 예를 들면, 내장 메모리(232) 또는 외장 메모리(234)를 포함할 수 있다. 내장 메모리(232)는, 예를 들면, 휘발성 메모리(예: DRAM, SRAM, 또는 SDRAM 등), 비휘발성 메모리(예: OTPROM(one time programmable ROM), PROM, EPROM, EEPROM, mask ROM, flash ROM, 플래시 메모리, 하드 드라이브, 또는 솔리드 스테이트 드라이브 (SSD) 중 적어도 하나를 포함할 수 있다. 외장 메모리(234)는 플래시 드라이브(flash drive), 예를 들면, CF(compact flash), SD(secure digital), Micro-SD, Mini-SD, xD(extreme digital), MMC(multi-media card) 또는 메모리 스틱 등을 포함할 수 있다. 외장 메모리(234)는 다양한 인터페이스를 통하여 전자 장치(201)와 기능적으로 또는 물리적으로 연결될 수 있다.
센서 모듈(240)은, 예를 들면, 물리량을 계측하거나 전자 장치(201)의 작동 상태를 감지하여, 계측 또는 감지된 정보를 전기 신호로 변환할 수 있다. 센서 모듈(240)은, 예를 들면, 제스처 센서(240A), 자이로 센서(240B), 기압 센서(240C), 마그네틱 센서(240D), 가속도 센서(240E), 그립 센서(240F), 근접 센서(240G), 컬러(color) 센서(240H)(예: RGB(red, green, blue) 센서), 생체 센서(240I), 온/습도 센서(240J), 조도 센서(240K), UV(ultra violet) 센서(240M), 압력 센서(240N), 또는 지자계 센서(240P) 중의 적어도 하나를 포함할 수 있다. 추가적으로 또는 대체적으로, 센서 모듈(240)은, 예를 들면, 후각(e-nose) 센서, 일렉트로마이오그라피(EMG) 센서, 일렉트로엔씨팔로그램(EEG) 센서, 일렉트로카디오그램(ECG) 센서, IR(infrared) 센서, 홍채 센서 및/또는 지문 센서를 포함할 수 있다. 센서 모듈(240)은 그 안에 속한 적어도 하나 이상의 센서들을 제어하기 위한 제어 회로를 더 포함할 수 있다. 어떤 실시예에서는, 전자 장치(201)는 프로세서(210)의 일부로서 또는 별도로, 센서 모듈(240)을 제어하도록 구성된 프로세서를 더 포함하여, 프로세서(210)가 슬립(sleep) 상태에 있는 동안, 센서 모듈(240)을 제어할 수 있다. 자이로 센서(240B), 가속도 센서(240E), 지자계 센서(240P), 근접 센서(240G), 또는 그립 센서(240F)를 이용하여 머리 착용형 전자 장치의 사용자 착용을 감지할 수 있다.
입력 장치(250)는, 예를 들면, 터치 패널(252), (디지털) 펜 센서(254), 키(256), 또는 초음파 입력 장치(258)를 포함할 수 있다. 터치 패널(252)은, 예를 들면, 정전식, 감압식, 적외선 방식, 또는 초음파 방식 중 적어도 하나의 방식을 사용할 수 있다. 또한, 터치 패널(252)은 제어 회로를 더 포함할 수도 있다. 터치 패널(252)은 택타일 레이어(tactile layer)를 더 포함하여, 사용자에게 촉각 반응을 제공할 수 있다. (디지털) 펜 센서(254)는, 예를 들면, 터치 패널의 일부이거나, 별도의 인식용 쉬트를 포함할 수 있다. 키(256)는, 예를 들면, 물리적인 버튼, 광학식 키, 또는 키패드를 포함할 수 있다. 초음파 입력 장치(258)는 마이크(예: 마이크(288))를 통해, 입력 도구에서 발생된 초음파를 감지하여, 상기 감지된 초음파에 대응하는 데이터를 확인할 수 있다.
디스플레이(260)(예: 디스플레이(160))는 패널(262), 홀로그램 장치(264), 프로젝터(266), 및/또는 이들을 제어하기 위한 제어 회로를 포함할 수 있다. 패널(262)은, 예를 들면, 유연하게, 투명하게, 또는 착용할 수 있게 구현될 수 있다. 패널(262)은 터치 패널(252)과 하나 이상의 모듈로 구성될 수 있다. 패널(262)은 LCD(Liquid), OLED(Organic Light Emitting Diodes), 전자 잉크(electronic ink) 또는 EWD(Electron Wetting Display) 등으로 포함할 수 있다. 디스플레이(260)는 빛을 투과할 수 있는 특성을 가지고 있을 수 있다 (예들 들어, 광 투과율을 가지는 디스플레이). 예를 들자면, 광 투과율을 가지는 디스플레이(260)는 빛을 투시할 수 있는 다수의 투명 또는 반투명 영역을 화소들과 함께 배치하는 방식으로 구현될 수 있다. 또는, 광 투과율을 가지는 디스플레이(260)는 빛을 투과할 수 있는 다수의 관통 홀들을 화소들과 함께 배치하는 방식으로 구현될 수도 있다. 홀로그램 장치(264)는 빛의 간섭을 이용하여 입체 영상을 허공에 보여줄 수 있다. 프로젝터(266)는 스크린에 빛을 투사하여 영상을 표시할 수 있다. 스크린은, 예를 들면, 전자 장치(201)의 내부 또는 외부에 위치할 수 있다. 인터페이스(270)는, 예를 들면, HDMI(272), USB(274), 광 인터페이스(optical interface)(276), 또는 D-sub(D-subminiature)(278)를 포함할 수 있다. 인터페이스(270)는, 예를 들면, 도 1에 도시된 통신 인터페이스(170)에 포함될 수 있다. 추가적으로 또는 대체적으로, 인터페이스(270)는, 예를 들면, MHL(mobile high-definition link) 인터페이스, SD카드/MMC(multi-media card) 인터페이스, 또는 IrDA(infrared data association) 규격 인터페이스를 포함할 수 있다.
오디오 모듈(280)은, 예를 들면, 소리와 전기 신호를 쌍방향으로 변환시킬 수 있다. 오디오 모듈(280)의 적어도 일부 구성요소는, 예를 들면, 도 1 에 도시된 입출력 인터페이스(145)에 포함될 수 있다. 오디오 모듈(280)은, 예를 들면, 스피커(282), 리시버(284), 이어폰(286), 또는 마이크(288) 등을 통해 입력 또는 출력되는 소리 정보를 처리할 수 있다. 카메라 모듈(291)은, 예를 들면, 정지 영상 및 동영상을 촬영할 수 있는 장치로서, 한 실시 예에 따르면, 하나 이상의 이미지 센서(예: 전면 센서 또는 후면 센서), 렌즈, 이미지 시그널 프로세서(ISP), 또는 플래시(예: LED 또는 xenon lamp 등)를 포함할 수 있다. 전력 관리 모듈(295)은, 예를 들면, 전자 장치(201)의 전력을 관리할 수 있다. 한 실시 예에 따르면, 전력 관리 모듈(295)은 PMIC(power management integrated circuit), 충전 IC, 또는 배터리 또는 연료 게이지를 포함할 수 있다. PMIC는, 유선 및/또는 무선 충전 방식을 가질 수 있다. 무선 충전 방식은, 예를 들면, 자기공명 방식, 자기유도 방식 또는 전자기파 방식 등을 포함하며, 무선 충전을 위한 부가적인 회로, 예를 들면, 코일 루프, 공진 회로, 또는 정류기 등을 더 포함할 수 있다. 배터리 게이지는, 예를 들면, 배터리(296)의 잔량, 충전 중 전압, 전류, 또는 온도를 측정할 수 있다. 배터리(296)는, 예를 들면, 충전식 전지 및/또는 태양 전지를 포함할 수 있다.
인디케이터(297)는 전자 장치(201) 또는 그 일부(예: 프로세서(210))의 특정 상태, 예를 들면, 부팅 상태, 메시지 상태 또는 충전 상태 등을 표시할 수 있다. 모터(298)는 전기적 신호를 기계적 진동으로 변환할 수 있고, 진동, 또는 햅틱 효과 등을 발생시킬 수 있다. 전자 장치(201)는, 예를 들면, DMB(digital multimedia broadcasting), DVB(digital video broadcasting), 또는 미디어플로(mediaFloTM) 등의 규격에 따른 미디어 데이터를 처리할 수 있는 모바일 TV 지원 장치(예: GPU)를 포함할 수 있다.
본 문서에서 기술된 구성요소들 각각은 하나 또는 그 이상의 부품(component)으로 구성될 수 있으며, 해당 구성요소의 명칭은 전자 장치의 종류에 따라서 달라질 수 있다. 다양한 실시예에서, 전자 장치(예: 전자 장치(201))는 일부 구성요소가 생략되거나, 추가적인 구성요소를 더 포함하거나, 또는, 구성요소들 중 일부가 결합되어 하나의 개체로 구성되되, 결합 이전의 해당 구성요소들의 기능을 동일하게 수행할 수 있다.
도 3은 다양한 실시예에 따른 프로그램 모듈의 블록도이다.
한 실시 예에 따르면, 프로그램 모듈(310)(예: 프로그램(140))은 전자 장치(예: 전자 장치(101))에 관련된 자원을 제어하는 운영 체제 및/또는 운영 체제 상에서 구동되는 다양한 어플리케이션(예: 어플리케이션 프로그램(147))을 포함할 수 있다. 운영 체제는, 예를 들면, AndroidTM, iOSTM, WindowsTM, SymbianTM, TizenTM, 또는 BadaTM를 포함할 수 있다. 도 3을 참조하면, 프로그램 모듈(310)은 커널(320)(예: 커널(141)), 미들웨어(330)(예: 미들웨어(143)), (API(360)(예: API(145)), 및/또는 어플리케이션(370)(예: 어플리케이션 프로그램(147))을 포함할 수 있다. 프로그램 모듈(310)의 적어도 일부는 전자 장치 상에 프리로드 되거나, 외부 전자 장치(예: 전자 장치(102, 104), 서버(106) 등)로부터 다운로드 가능하다.
커널(320)은, 예를 들면, 시스템 리소스 매니저(321) 및/또는 디바이스 드라이버(323)를 포함할 수 있다. 시스템 리소스 매니저(321)는 시스템 리소스의 제어, 할당, 또는 회수를 수행할 수 있다. 한 실시 예에 따르면, 시스템 리소스 매니저(321)는 프로세스 관리부, 메모리 관리부, 또는 파일 시스템 관리부를 포함할 수 있다. 디바이스 드라이버(323)는, 예를 들면, 디스플레이 드라이버, 카메라 드라이버, 블루투스 드라이버, 공유 메모리 드라이버, USB 드라이버, 키패드 드라이버, WiFi 드라이버, 오디오 드라이버, 또는 IPC(inter-process communication) 드라이버를 포함할 수 있다. 미들웨어(330)는, 예를 들면, 어플리케이션(370)이 공통적으로 필요로 하는 기능을 제공하거나, 어플리케이션(370)이 전자 장치 내부의 제한된 시스템 자원을 사용할 수 있도록 API(360)를 통해 다양한 기능들을 어플리케이션(370)으로 제공할 수 있다. 한 실시 예에 따르면, 미들웨어(330) 는 런타임 라이브러리(335), 어플리케이션 매니저(341), 윈도우 매니저(342), 멀티미디어 매니저(343), 리소스 매니저(344), 파워 매니저(345), 데이터베이스 매니저(346), 패키지 매니저(347), 커넥티비티 매니저(348), 노티피케이션 매니저(349), 로케이션 매니저(350), 그래픽 매니저(351), 또는 시큐리티 매니저(352) 중 적어도 하나를 포함할 수 있다.
런타임 라이브러리(335)는, 예를 들면, 어플리케이션(370)이 실행되는 동안에 프로그래밍 언어를 통해 새로운 기능을 추가하기 위해 컴파일러가 사용하는 라이브러리 모듈을 포함할 수 있다. 런타임 라이브러리(335)는 입출력 관리, 메모리 관리, 또는 산술 함수 처리를 수행할 수 있다. 어플리케이션 매니저(341)는, 예를 들면, 어플리케이션(370)의 생명 주기를 관리할 수 있다. 윈도우 매니저(342)는 화면에서 사용되는 GUI 자원을 관리할 수 있다. 멀티미디어 매니저(343)는 미디어 파일들의 재생에 필요한 포맷을 파악하고, 해당 포맷에 맞는 코덱을 이용하여 미디어 파일의 인코딩 또는 디코딩을 수행할 수 있다. 리소스 매니저(344)는 어플리케이션(370)의 소스 코드 또는 메모리의 공간을 관리할 수 있다. 파워 매니저(345)는, 예를 들면, 배터리의 용량 또는 전원을 관리하고, 전자 장치의 동작에 필요한 전력 정보를 제공할 수 있다. 한 실시 예에 따르면, 파워 매니저(345)는 바이오스(BIOS: basic input/output system)와 연동할 수 있다. 데이터베이스 매니저(346)는, 예를 들면, 어플리케이션(370)에서 사용될 데이터베이스를 생성, 검색, 또는 변경할 수 있다. 패키지 매니저(347)는 패키지 파일의 형태로 배포되는 어플리케이션의 설치 또는 갱신을 관리할 수 있다.
커넥티비티 매니저(348)는, 예를 들면, 무선 연결을 관리할 수 있다. 노티피케이션 매니저(349)는, 예를 들면, 도착 메시지, 약속, 근접성 알림 등의 이벤트를 사용자에게 제공할 수 있다. 로케이션 매니저(350)는, 예를 들면, 전자 장치의 위치 정보를 관리할 수 있다. 그래픽 매니저(351)는, 예를 들면, 사용자에게 제공될 그래픽 효과 또는 이와 관련된 사용자 인터페이스를 관리할 수 있다. 보안 매니저(352)는, 예를 들면, 시스템 보안 또는 사용자 인증을 제공할 수 있다. 한 실시 예에 따르면, 미들웨어(330)는 전자 장치의 음성 또는 영상 통화 기능을 관리하기 위한 통화(telephony) 매니저 또는 전술된 구성요소들의 기능들의 조합을 형성할 수 있는 하는 미들웨어 모듈을 포함할 수 있다. 한 실시 예에 따르면, 미들웨어(330)는 운영 체제의 종류 별로 특화된 모듈을 제공할 수 있다. 미들웨어(330)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다. API(360)는, 예를 들면, API 프로그래밍 함수들의 집합으로, 운영 체제에 따라 다른 구성으로 제공될 수 있다. 예를 들면, 안드로이드 또는 iOS의 경우, 플랫폼 별로 하나의 API 셋을 제공할 수 있으며, 타이젠의 경우, 플랫폼 별로 두 개 이상의 API 셋을 제공할 수 있다.
어플리케이션(370)은, 예를 들면, 홈(371), 다이얼러(372), SMS/MMS(373), IM(instant message)(374), 브라우저(375), 카메라(376), 알람(377), 컨택트(378), 음성 다이얼(379), 이메일(380), 달력(381), 미디어 플레이어(382), 앨범(383), 와치(384), 헬스 케어(예: 운동량 또는 혈당 등을 측정), 또는 환경 정보(예: 기압, 습도, 또는 온도 정보) 제공 어플리케이션을 포함할 수 있다. 한 실시 예에 따르면, 어플리케이션(370)은 전자 장치와 외부 전자 장치 사이의 정보 교환을 지원할 수 있는 정보 교환 어플리케이션을 포함할 수 있다. 정보 교환 어플리케이션은, 예를 들면, 외부 전자 장치에 특정 정보를 전달하기 위한 노티피케이션 릴레이 어플리케이션, 또는 외부 전자 장치를 관리하기 위한 장치 관리 어플리케이션을 포함할 수 있다. 예를 들면, 알림 전달 어플리케이션은 전자 장치의 다른 어플리케이션에서 발생된 알림 정보를 외부 전자 장치로 전달하거나, 또는 외부 전자 장치로부터 알림 정보를 수신하여 사용자에게 제공할 수 있다. 장치 관리 어플리케이션은, 예를 들면, 전자 장치와 통신하는 외부 전자 장치의 기능(예: 외부 전자 장치 자체(또는, 일부 구성 부품)의 턴-온/턴-오프 또는 디스플레이의 밝기(또는, 해상도) 조절), 또는 외부 전자 장치에서 동작하는 어플리케이션을 설치, 삭제, 또는 갱신할 수 있다. 한 실시 예에 따르면, 어플리케이션(370)은 외부 전자 장치의 속성에 따라 지정된 어플리케이션(예: 모바일 의료 장치의 건강 관리 어플리케이션)을 포함할 수 있다. 한 실시 예에 따르면, 어플리케이션(370)은 외부 전자 장치로부터 수신된 어플리케이션을 포함할 수 있다. 프로그램 모듈(310)의 적어도 일부는 소프트웨어, 펌웨어, 하드웨어(예: 프로세서(210)), 또는 이들 중 적어도 둘 이상의 조합으로 구현(예: 실행)될 수 있으며, 하나 이상의 기능을 수행하기 위한 모듈, 프로그램, 루틴, 명령어 세트 또는 프로세스를 포함할 수 있다.
본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구성된 유닛을 포함하며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. "모듈"은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는 최소 단위 또는 그 일부가 될 수 있다. "모듈"은 기계적으로 또는 전자적으로 구현될 수 있으며, 예를 들면, 어떤 동작들을 수행하는, 알려졌거나 앞으로 개발될, ASIC(application-specific integrated circuit) 칩, FPGAs(field-programmable gate arrays), 또는 프로그램 가능 논리 장치를 포함할 수 있다. 다양한 실시예에 따른 장치(예: 모듈들 또는 그 기능들) 또는 방법(예: 동작들)의 적어도 일부는 프로그램 모듈의 형태로 컴퓨터로 판독 가능한 저장 매체(예: 메모리(130))에 저장된 명령어로 구현될 수 있다. 상기 명령어가 프로세서(예: 프로세서(120))에 의해 실행될 경우, 프로세서가 상기 명령어에 해당하는 기능을 수행할 수 있다. 컴퓨터로 판독 가능한 기록 매체는, 하드디스크, 플로피디스크, 마그네틱 매체(예: 자기테이프), 광기록 매체(예: CD-ROM, DVD, 자기-광 매체 (예: 플롭티컬 디스크), 내장 메모리 등을 포함할 수 있다. 명령어는 컴파일러에 의해 만들어지는 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 다양한 실시예에 따른 모듈 또는 프로그램 모듈은 전술한 구성요소들 중 적어도 하나 이상을 포함하거나, 일부가 생략되거나, 또는 다른 구성요소를 더 포함할 수 있다. 다양한 실시예에 따른, 모듈, 프로그램 모듈 또는 다른 구성요소에 의해 수행되는 동작들은 순차적, 병렬적, 반복적 또는 휴리스틱하게 실행되거나, 적어도 일부 동작이 다른 순서로 실행되거나, 생략되거나, 또는 다른 동작이 추가될 수 있다.
본 발명의 다양한 실시 예에 따르면, 전자 장치는, 센서 모듈; 상기 센서 모듈과 전기적으로 연결된 프로세서; 및 상기 프로세서와 전기적으로 연결된 메모리를 포함하며, 상기 메모리는, 실행시에, 상기 프로세서가, 상기 센서 모듈을 이용하여 제1 전자 펜을 검출하고, 상기 센서 모듈을 이용하여 상기 제1 전자 펜의 해제를 검출하고, 상기 제1 전자 펜의 해제의 검출에 기반하여, 갱신된 전자 펜의 스캔 변수에 기반한 전자 펜의 스캔을 수행하도록 하는 인스트럭션들을 저장하도록 제어할 수 있다.
다양한 실시 예에 따르면, 상기 인스트럭션들은, 상기 프로세서가 상기 전자 펜의 스캔 변수를 갱신하도록 하고, 상기 전자 펜의 스캔 변수를 갱신하는 동작은 상기 제1 전자 펜을 검출하는 동작 또는 상기 제1 전자 펜의 해제를 검출하는 동작 이후에 실행할 수 있다.
다양한 실시 예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 전자 펜의 우선 순위를 갱신하고, 상기 갱신된 우선 순위에 기반하여 상기 전자 펜의 스캔 변수를 갱신할 수 있다.
다양한 실시 예에 따르면, 상기 전자 펜의 스캔 변수는 제1 전자 펜의 스캔 변수 및 제2 전자 펜의 스캔 변수를 포함하고, 상기 인스트럭션들은, 상기 프로세서가, 상기 제1 전자 펜의 스캔 변수 또는 상기 제2 전자 펜의 스캔 변수를 갱신하도록 할 수 있다.
다양한 실시 예에 따르면, 상기 제1 전자 펜과 상기 제2 전자 펜은 서로 적어도 일부 다른 프로토콜에 기반하여 작동할 수 있다.
다양한 실시 예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 상기 갱신된 스캔 변수에 기반하여 스캔 구동 빈도, 스캔 구동 세기, 스캔 구동 시간, 또는 스캔 구동 센서의 수 중 적어도 하나를 조절하도록 할 수 있다.
다양한 실시 예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 상기 제1 전자 펜의 사용 이력이 존재하는지 확인하고, 상기 제1 전자 펜의 사용 이력이 존재할 경우, 상기 제1 전자 펜의 사용 이력에 기반하여 상기 전자 펜의 스캔 변수를 갱신하도록 할 수 있다.
다양한 실시 예에 따르면, 상기 인스트럭션들은, 상기 프로세서가, 상기 제1 전자 펜의 사용 이력이 존재하지 않을 경우, 지정된 전자 펜의 스캔 변수를 갱신하도록할 수 있다.
다양한 실시 예에 따르면, 상기 전자 장치는 디스플레이를 더 포함하고, 상기 인스트럭션들은, 상기 프로세서가, 상기 전자 펜의 사용 이력에 기반하여 지정된 기간 이상 사용되지 않은 전자 펜을 확인하고, 상기 지정된 기간 이상 사용되지 않은 전자 펜이 확인될 경우, 상기 디스플레이를 이용하여 상기 지정된 기간 이상 사용되지 않은 전자 펜의 비활성화 여부를 선택하는 알림을 표시하도록 할 수 있다.
다양한 실시 예에 따르면, 상기 전자 장치는 통신 모듈을 더 포함하고, 상기 인스트럭션들은, 상기 프로세서가, 상기 통신 모듈을 이용하여 제2 전자 펜과 상기 전자 장치의 연결을 검출하고, 상기 제2 전자 펜과 상기 전자 장치의 연결의 검출에 기반하여 상기 전자 펜의 스캔 변수를 갱신하도록 할 수 있다.
본 발명의 다양한 실시 예에 따르면, 전자 장치는, 센서 모듈; 상기 센서 모듈과 전기적으로 연결된 프로세서; 및 상기 프로세서와 전기적으로 연결된 메모리를 포함하며, 상기 메모리는, 실행시에, 상기 프로세서가, 상기 센서 모듈을 이용하여 제1 전자 펜을 스캔하고, 상기 센서 모듈을 이용하여 상기 제1 전자 펜이 검출되는 지 판단하고, 상기 제1 전자 펜이 검출될 경우, 전자 펜의 스캔 변수를 갱신하고 상기 검출된 제1 전자 펜의 해제가 검출되는지 판단하고, 상기 제1 전자 펜이 검출되지 않을 경우, 상기 센서 모듈을 이용하여 제2 전자 펜을 스캔하고 상기 제2 전자 펜이 검출되는 지 판단하고, 상기 제2 전자 펜이 검출될 경우, 상기 전자 펜의 스캔 변수를 갱신하고 상기 검출된 제2 전자 펜의 해제가 검출되는 지 판단하도록 하는 인스트럭션들을 저장하도록 제어하고, 상기 제1 전자 펜과 상기 제2 전자 펜은 서로 적어도 일부 다른 프로토콜에 기반하여 작동할 수 있다.
도 4는 본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하는 흐름도이다. 도 6 내지 9는 본 발명의 다양한 실시예에 따른 전자 펜의 스캔 변수를 갱신하는 방법을 설명하는 예시도이다. 이하 설명에서 전자 장치는 도 1a의 전자 장치(101) 또는 전자 장치(101)의 적어도 일부(예: 프로세서(120))를 포함할 수 있다.
도 4를 참조하면, 전자 장치(101)는 동작 401에서, 터치 패널(161, 도1c에 도시)을 통해 제1 전자 펜을 검출할 수 있다. 예를 들어, 프로세서(120)는 제1 전자 펜을 검출하기 위해 지정된 스캔 변수에 따라 다양한 종류의 전자 펜을 스캔할 수 있다. 예를 들어, 전자 펜의 종류는 전자 펜에 적용된 프로토콜 또는 터치 패널(161)에 제공하는 신호의 주파수에 따라 결정될 수 있다. 터치 패널(161)이 다양한 종류의 전자 펜을 동시에 스캔할 수 없을 경우, 프로세서(120)는 다양한 종류의 전자 펜을 감지하기 위해 주기적으로 각각의 전자 펜에 대응하는 스캔 방식을 변경하면서 터치 패널(161)을 구동할 수 있다. 전자 펜에 대응하는 스캔 방식이란 전자 펜을 검출하는 데 적합한 스캔 방법일 수 있다. 예를 들어, 프로세서(120)는 제1 스캔 방식이 적용된 동안 대응하는 제1 전자 펜을 검출할 수 있고, 제2 스캔 방식이 적용된 동안 대응하는 제2 전자 펜을 검출할 수 있다.
예를 들어, 스캔 변수는 전자 펜에 대응하는 스캔 방식의 구동 비율을 결정하는 변수일 수 있고, 스캔 변수에 따라 스캔 구동 빈도, 스캔 구동 세기, 스캔 구동 시간, 구동하는 센서의 수 등을 조절함으로써 구동 비율을 결정할 수 있다. 스캔 구동 빈도는 일정 시간 동안 전자 펜을 스캔하는 횟수일 수 있다. 구동하는 세기는 전자 펜의 신호를 감지하기 위해 필요한 전력일 수 있다. 전자 펜의 신호를 감지하기 위한 전력을 높일수록 터치 패널(161)이 전자 펜을 감지할 수 있는 거리가 늘어나고 보다 쉽게 전자 펜을 감지할 수 있다. 스캔 구동 시간은 한번에 복수의 전자 펜을 스캔하는 시간일 수 있다. 구동하는 센서의 수는 터치 패널(161)의 센서 전극들의 개수를 의미할 수 있다. 즉, 프로세서(120)는 우선 순위가 높은 전자 펜을 스캔할 경우에 터치 패널(161)에 배치된 센서 전극들의 액티브 비율을 높일 수 있다.
하기에서 설명의 편의를 위해 제1 전자 펜 및 제2 전자 펜을 예로 들어 설명한다. 제1 전자 펜과 제2 전자 펜은 서로 다른 프로토콜에 기반하여 동작하거나, 동일한 프로토콜 내에서 서로 다른 주파수를 갖는 신호를 터치 패널(161)에 제공할 수 있다. 프로토콜은 전자 펜에서 발생하는 신호의 종류, 배터리 필요 여부, 전자 펜을 센싱하는 센서의 종류 등이 결정된 규약일 수 있다. 예를 들어, 제1 전자 펜은 배터리를 포함하는 AES(active electrical stylus) 방식이 적용된 전자 펜일 수 있고, 제2 전자 펜은 배터리를 포함하지 않는 ECR(electrically coupled resonance) 방식이 적용된 전자 펜일 수 있다. 또한, 제1 전자 펜과 제2 전자 펜은 전자 장치(101)에 구비된 전자 펜일 수 있으며, 다른 전자 장치에 구비된 펜일 수 있다. 한편, 전자 장치(101)는 감지할 수 있는 전자 펜의 종류를 미리 설정하거나 추가할 수 있다.
한 실시 예에 따르면, 전자 장치(101)는 도 6의 (a)에 도시된 바와 같이, 지정된 스캔 변수에 따라 제1 전자 펜 아이들(Idle) 모드, 손가락(Finger) 아이들 모드, 제2 전자 펜 아이들 모드 순서대로 반복적으로 상태(State)를 전환할 수 있다. 예를 들어, 지정된 스캔 변수에 따라 아이들 모드의 구동 빈도가 지정될 수 있고, 프로세서(120)는 제1 전자 펜 아이들 모드와 제2 전자 펜 아이들 모드를 1:3의 비율로 구동할 수 있다. 한편, 아이들 모드는 전자 펜이나 손가락이 터치 패널(161)에 접촉 또는 근접하지 않은 상태에서 프로세서(120)가 전자 펜 또는 손가락이 새로 접촉 또는 근접한 지를 감지하기 위한 상태를 의미할 수 있고, 각각의 아이들 모드는 해당 전자 펜을 스캔할 수 있는 상태를 의미할 수 있다.
한편, 도면에는 도시되지 않았지만, 아이들 모드는 저전력 아이들 모드, 고전력 아이들 모드 등을 포함할 수 있다. 저전력 아이들 모드는 프로세서(120)가 아이들 모드를 실행함에 필요한 전력이 낮은 경우일 수 있고, 고전력 아이들 모드는 프로세서(120)가 아이들 모드를 실행함에 필요한 전력이 높은 경우일 수 있다.
예를 들어, 프로세서(120)는 터치 패널(161)을 이용하여 전자 펜을 스캔함에 따라 제1 전자 펜을 검출할 수 있다. 프로세서(120)는 제1 전자 펜의 아이들 모드에서 제1 전자 펜의 입력을 터치 패널(161)을 이용하여 검출할 수 있다. 제1 전자 펜의 입력은 호버링(hovering), 드로잉, 탭, 더블 탭 등일 수 있다.
예를 들어, 프로세서(120)는, 터치 패널(161)을 이용하여 검출한 제1 전자 펜에 따라 적어도 하나의 좌표를 획득할 수 있다. 프로세서(120)는 전자 펜의 해제를 검출하기 이전까지 제1 전자 펜의 좌표를 추가 획득할 수 있다.
한 실시 예에 따르면, 전자 장치(101)는 도 6의 (b)에 도시된 바와 같이, 제1 전자 펜의 검출에 따라 제1 전자 펜 액티브(Active) 모드로 상태를 변환할 수 있다. 예를 들어, 액티브 모드는 손가락 또는 전자 펜이 터치 패널(161)에 접촉 또는 근접한 상태에서 좌표를 획득하기 위한 상태를 의미할 수 있다. 또한, 프로세서(120)는 전자 펜의 해제를 검출하기 전 까지 액티브 모드를 유지하면서 제1 전자 펜의 좌표를 추가 획득할 수 있다. 즉, 프로세서(120)는 제1 전자 펜 검출 시점부터 해제 검출 시점까지 제1 전자 펜의 좌표를 획득할 수 있다.
한편, 도면에는 도시되지 않았지만, 프로세서(120)는 제1 전자 펜의 액티브 모드 사이에 제2 전자 펜 아이들 모드 또는 손가락 아이들 모드로 상태를 변환하여 제2 전자 펜 또는 손가락의 접촉 여부를 감지할 수 있다.
한편, 도면에는 도시되지 않았지만, 액티브 모드는 전자 펜의 입력 종류에 따라 액티브 호버(hover) 모드, 액티브 터치 모드 등을 포함할 수 있다. 액티브 호버 모드는 전자 펜의 입력이 호버링일 수 있고, 액티브 터치 모드는 전자 펜의 입력이 터치일 수 있다.
한편, 도면에는 도시되지 않았지만, 전자 장치(101)는 터치 패널(161)을 이용하여 제1 전자 펜을 검출함에 따라 전자 펜의 스캔 변수를 갱신할 수 있다. 예를 들어, 프로세서(120)는 가장 최근 검출한 제1 전자 펜의 스캔 변수를 높이고 제2 전자 펜의 스캔 변수를 낮출 수 있다. 전자 펜의 스캔 변수의 갱신 동작은 제1 전자 펜을 검출할 때, 검출한 제1 전자 펜의 좌표를 획득할 때, 또는 제1 전자 펜의 해제를 검출할 때에 실행될 수 있다. 또한, 프로세서(120)는 제1 전자 펜의 좌표를 추가 획득할 때마다 전자 펜의 스캔 변수를 갱신할 수 있다. 이와 관련된 내용은 도 14에서 후술한다.
전자 장치(101)는 동작 403에서, 터치 패널(161)을 통해서 제1 전자 펜의 해제를 검출할 수 있다. 예를 들어, 프로세서(120)는 터치 패널(161)을 통해서 일정 시간 이상 제1 전자 펜의 좌표를 추가적으로 획득하지 못하거나 제1 전자 펜을 인식하지 못할 경우에 제1 전자 펜이 해제된 것으로 판단할 수 있다. 예를 들어, 제1 전자 펜의 해제의 검출에 기반하여, 프로세서(120)는 405 동작으로 진행하여 갱신된 전자 펜의 스캔 변수에 기반한 전자 펜의 스캔을 수행할 수 있고, 이후 본 발명의 실시예에 따른 알고리즘을 종료할 수 있다.
전자 장치(101)는 동작 405에서, 갱신된 전자 펜의 스캔 변수에 기반한 전자 펜의 스캔을 수행할 수 있다. 예를 들어, 프로세서(120)는 갱신된 스캔 변수에 기반하여 스캔 구동 빈도, 스캔 구동 세기, 스캔 구동 시간, 구동하는 센서의 수 등을 조절함으로써 스캔 방식의 구동 비율을 결정할 수 있다. 한 실시 예에 따르면, 전자 장치(101)는 도 6의 (c)에 도시된 바와 같이, 제1 전자 펜의 해제의 검출에 기반하여, 높아진 제1 전자 펜의 아이들 모드 구동 빈도와 낮아진 제2 전자 펜의 아이들 모드의 구동 빈도에 따라 전자 펜의 스캔을 수행할 수 있다. 이에 따라 최근 사용 하는 전자 펜의 감지 속도를 향상시킬 수 있다. 즉, 자주 사용하는 전자 펜의 스캔 구동 빈도 등을 높임에 따라 자주 사용하는 전자 펜을 보다 빠르게 감지할 수 있다. 또한, 프로세서(120)는 스캔 방식을 주기적으로 변경하므로 하나의 터치 패널(164)을 이용하여 다양한 종류의 전자펜들을 검출할 수 있다.
한편, 한 실시 예에 따르면, 도면에는 도시되지 않았지만 전자 장치(101)는 제2 전자 펜의 스캔 변수는 고정 시키고 제1 전자 펜의 스캔 변수만을 높임에 따라 제1 전자 펜의 아이들 모드 구동 빈도를 높일 수 있다. 또한, 이와 달리 전자 장치(101)는 제1 전자 펜의 스캔 변수를 고정 시키고 제2 전자 펜의 스캔 변수를 낮춤에 따라 제1 전자 펜의 아이들 모드 구동 빈도를 제2 전자 펜의 아이들 모드 구동 빈도보다 높일 수 있다.
도 5는 본 발명의 다양한 실시예에 따른 전자 펜의 스캔 변수를 갱신하는 방법을 설명하는 흐름도이다. 이하 설명은 도 4의 동작 405에서 전자 펜의 스캔을 수행하는 동작을 설명한다. 이하 설명에서 전자 장치는 도 1a의 전자 장치(101) 또는 전자 장치(101)의 적어도 일부(예: 프로세서(120))를 포함할 수 있다.
도 5를 참조하면, 전자 장치(101)는 동작 501에서, 지정된 전자 펜의 우선 순위를 갱신할 수 있다. 예를 들어, 우선 순위는 복수의 전자 펜 중 우선적으로 처리할 전자 펜을 결정하기 위한 개념일 수 있고, 복수의 전자 펜들에 각각 대응하는 스캔 변수를 설정 또는 갱신하는 기준일 수 있다. 우선 순위는 전자 장치의 제조 단계에서 미리 설정될 수 있고, 사용자의 입력에 의해 설정될 수 있다. 설정된 전자 펜의 우선 순위는 사용자의 입력 또는 전자 펜의 사용에 따라 갱신될 수 있다. 예를 들면, 도 6의 (a)와 같이 제2 전자 펜보다 제1 전자 펜이 더 높은 우선 순위를 갖도록 우선 순위가 설정되어 있을 수 있고, 설정된 우선 순위에 따라 제2 전자 펜의 아이들 모드를 제1 전자 펜의 아이들 모드보다 더 자주 구동하도록 스캔 변수가 미리 설정되어 있을 수 있다.
전자 장치(101)는 동작 503에서, 갱신된 우선 순위에 기반하여 전자 펜의 스캔 변수를 갱신할 수 있다. 예를 들어, 프로세서(120)는 도 6의 (c)에 도시된 바와 같이 갱신된 스캔 변수에 기반하여 제1 아이들 모드 구동 빈도를 제2 아이들 모드 구동 빈도보다 높일 수 있다.
한편, 스캔 변수를 갱신하는 동작은 다양한 방법을 통해 이루어질 수 있다. 한 실시 예에 따르면, 도 7을 참조하면, 전자 장치(101)는 전자 펜의 스캔 구동 시간의 비율을 갱신할 수 있다. 예를 들어, 주기적으로 반복되는 제1 전자 펜의 스캔 구동 시간과 제2 전자 팬의 스캔 구동 시간 비율이 3:1로 지정된 상황에서 제2 전자 펜이 검출된 경우, 프로세서(120)는 제1 전자 펜의 스캔 구동 시간과 제2 전자 펜의 스캔 구동 시간 비율을 1:3으로 갱신할 수 있다.
한 실시 예에 따르면, 도 8을 참조하면, 전자 장치(101)는 전자 펜의 공급 전력을 갱신할 수 있다. 예를 들어, 전자 펜의 공급 전력은 전자 펜을 스캔할 경우에 필요한 전력일 수 있다. 전자 펜의 공급 전력이 높을 경우, 전자 펜을 감지할 수 있는 거리가 늘어나고, 보다 쉽게 전자 펜을 감지할 수 있다. 예를 들어, 제1 전자 펜의 공급 전력이 높고(high power) 제2 전자 펜의 공급 전력이 낮도록(low power) 설정된 상황에서 제2 전자 펜이 검출된 경우, 프로세서(120)는 제1 전자 펜의 공급 전력을 낮추고 제2 전자 펜의 공급 전력을 높이도록 전자 펜의 공급 전력을 갱신할 수 있다.
전자 장치(101)는 동작 505에서, 터치 패널(161)을 이용하여 갱신된 스캔 변수에 기반하여 전자 펜의 스캔을 실행할 수 있다. 예를 들어 도 6의 (c)에 도시된 바와 같이, 프로세서(120)는 제1 전자 펜의 아이들 모드와 제2 전자펜 아이들 모드를 3:1의 비율로 구동할 수 있다.
한편, 한 실시 예에 따르면, 전자 장치(101)는 동작 501을 생략할 수 있고, 동작 503에서 전자 펜의 스캔 변수를 갱신할 수 있다. 예를 들어, 프로세서(120)는 별도의 우선 순위를 설정하지 않고 스캔 변수를 갱신함에 따라 자주 사용하는 전자 펜의 스캔 구동 비율을 높일 수 있다.
한편, 한 실시 예에 따르면, 도면에는 도시되지 않았지만, 전자 장치(101)는 변경된 우선 순위에 기반하여 제1 전자 펜과 제2 전자 펜이 동시에 감지될 경우, 우선 순위가 높은 제1 전자 펜의 입력을 선택하여 좌표를 획득할 수 있다. 이와 달리 전자 장치(101)는 서로 호환이 가능한 프로토콜을 갖는 전자 펜들이 동시에 감지될 경우에 우선 순위에 관계없이 전자 펜들의 입력을 모두 선택하여 좌표를 획득할 수 있다.
한편, 한 실시 예에 따르면, 도 9를 참조하면, 전자 장치(101)는 제1 센서부(도 1d에 도시, 166)와 제2 센서부(도 1d에 도시, 167)를 이용하여 지정된 스캔 변수에 따라 다양한 종류의 전자 펜을 스캔할 수 있다. 예를 들어, 제2 센서부(167)는 제1 전자 펜 스캔에 이용되는 제1 디지타이저 패드와 제2 전자 펜 스캔에 이용되는 제2 디지타이저 패드를 포함할 수 있다. 예를 들어, 도 9의 (a)에 도시된 바와 같이, 제1 디지타이저 패드와 제2 디지타이저 패드는 4:1의 비율로 구동할 수 있다. 즉, 제1 디지타이저 패드가 제1 전자 펜 아이들 모드를 4회 구동하는 동안 제2 디지타이저 패드는 제2 전자 펜 아이들 모드를 1회 구동할 수 있다. 한편, 프로세서(120)는 터치 패널(161)을 이용하여 손가락을 주기적으로 스캔할 수 있다.
전자 장치(101)는 제2 디지타이저 패드를 이용하여 제2 전자 펜을 검출할 수 있다. 예를 들어, 프로세서(120)는 제2 디지타이저 패드를 이용하여 검출한 제2 전자 펜에 따라 적어도 하나의 좌표를 획득할 수 있다. 도 9의 (b)에 도시된 바와 같이, 제2 전자 펜의 검출에 따라 프로세서(120)는 제2 디지타이저 패드를 제2 전자 펜 액티브 모드로 변환할 수 있다. 프로세서(120)는 제2 전자 펜 액티브 모드로 변경됨에 따라 제2 전자 펜의 좌표를 획득할 수 있다. 한편, 도면에는 도시되지 않았지만, 프로세서(120)는 제2 전자 펜의 좌표를 획득하는 동안 제1 디지타이저 패드를 통해 제1 전자 펜을 스캔할 수 있고, 제1 센서부(166)를 통해 손가락을 스캔할 수 있다.
전자 장치(101)는 제2 디지타이저 패드를 통해서 제2 전자 펜의 해제를 검출할 수 있고, 제2 전자 펜의 해제의 검출에 기반하여 전자 펜의 스캔 변수를 갱신할 수 있다. 예를 들어, 도 9의 (c)에 도시된 바와 같이, 프로세서(120)는 제2 전자 펜의 해제의 검출에 기반하여 제2 전자 펜의 아이들 모드 구동 빈도를 높이고 제1 전자 펜의 아이들 모드의 구동 빈도를 낮출 수 있다. 한편, 도면에는 도시되지 않았지만, 프로세서(120)는 제2 전자 펜의 해제의 검출에 기반하여 제1 전자 펜의 아이들 모드의 구동 빈도만을 낮추거나 제2 전자 펜의 아이들 모드 구동 빈도만 높일 수 있다.
도 10은 본 발명의 다양한 실시예에 따른 사용 이력에 기반하여 전자 펜의 스캔 변수를 갱신하는 방법을 설명하는 흐름도이다. 도 11은 본 발명의 다양한 실시예에 따른 사용 이력에 기반하여 전자 펜의 스캔 변수를 갱신하는 방법을 설명하는 예시도이다. 이하 설명은 도 4의 동작 405에서 전자 펜의 스캔을 수행하는 동작을 설명한다. 이하 설명에서 전자 장치는 도 1a의 전자 장치(101) 또는 전자 장치(101)의 적어도 일부(예: 프로세서(120))를 포함할 수 있다.
도 10을 참조하면, 전자 장치(101)는 동작 1001에서, 제1 전자 펜의 사용 이력을 확인할 수 있다. 예를 들어, 프로세서(120)는 전자 장치(101)의 메모리에 전자 장치에서 발생하는 전자 펜의 사용 이력을 확인할 수 있다. 전자 펜의 사용 이력이란 전자 펜이 전자 장치에서 검출되어 적어도 하나의 좌표를 획득한 기록이 누적하여 저장된 정보일 수 있다. 전자 펜의 사용 이력은 설정된 기간 동안의 전자 펜의 입력 기록 일 수 있고, 설정된 기간은 사용자에 의하여 설정되거나 제조 단계에서 미리 설정될 수 있다. 한편, 전자 펜의 사용 이력은 주기적으로 삭제될 수 있다.
만약, 제1 전자 펜의 사용 이력이 존재하지 않을 경우, 전자 장치(101)는 1005 동작으로 진행하여 지정된 전자 펜의 스캔 변수를 갱신할 수 있고, 1007 동작으로 진행하여 갱신된 스캔 변수에 기반하여 전자 펜 스캔을 실행한 이후, 본 발명의 실시예에 따른 알고리즘을 종료할 수 있다. 여기서 지정된 전자 펜의 스캔 변수는 제1 전자 펜의 최초 입력을 가정하여 미리 설정된 값일 수 있다.
반면, 제1 전자 펜의 사용 이력이 존재할 경우, 전자 장치(101)는 동작 1003으로 진행하여 제1 전자 펜의 사용 이력에 기반하여 스캔 변수를 갱신할 수 있다. 예를 들어, 프로세서(120)는 제1 전자 펜의 사용 이력을 확인하고, 제1 전자 펜의 기존 사용 횟수가 높을수록 제1 전자 펜의 스캔 구동 빈도를 더 높일 수 있다. 예를 들어, 제1 전자 펜을 사용한 횟수가 기준 범위보다 적을 경우, 도 11의 (a)에 도시된 바와 같이 프로세서(120)는 제1 전자 펜과 제2 전자 펜의 스캔 구동 빈도를 3:1로 갱신할 수 있다. 또한, 제1 전자 펜을 사용한 횟수가 기준 범위 이내일 경우, 도 11의 (b)에 도시된 바와 같이 프로세서(120)는 제1 전자 펜과 제2 전자 펜의 스캔 구동 빈도를 4:1로 갱신할 수 있다. 또한, 제1 전자 펜을 사용한 횟수가 기준 범위를 초과할 경우, 도 11의 (c)에 도시된 바와 같이 프로세서(120)는 제1 전자 펜과 제2 전자 펜의 스캔 구동 빈도를 5:1로 갱신할 수 있다.
동작 1007에서, 전자 장치(101)는 사용 이력에 기반하여 갱신된 스캔 변수에 기반하여 전자 펜 스캔을 실행할 수 있고, 이후 본 발명의 실시예에 따른 알고리즘을 종료할 수 있다.
도 12는 본 발명의 다양한 실시예에 따른 전자 펜을 비활성화하는 방법을 설명하는 흐름도이다. 도 13은 본 발명의 다양한 실시예에 따른 전자 펜을 비활성화하는 방법을 설명하는 예시도이다. 이하 설명에서 전자 장치는 도 1a의 전자 장치(101) 또는 전자 장치(101)의 적어도 일부(예: 프로세서(120))를 포함할 수 있다.
도 12를 참조하면, 전자 장치(101)는 동작 1201에서, 전자 펜의 사용 이력을 확인할 수 있다. 예를 들어, 프로세서(120)는 전자 펜을 검출할 때 마다 전자 펜의 사용 이력을 갱신할 수 있다. 프로세서(120)는 주기적으로 전자 펜의 사용 이력을 확인할 수 있다.
전자 장치(101)는 동작 1203에서, 지정된 기간 이상 사용되지 않은 전자 펜을 확인할 수 있다. 예를 들어, 지정된 기간은 사용자에 의해 설정되거나 제조 단계에서 미리 설정될 수 있다. 지정된 기간은 사용 이력에 기반하여 전자 펜이 더 이상 사용되지 않을 확률이 높아지는 일정 기간을 연산하여 결정될 수 있다.
만약, 지정된 기간 이상 사용되지 않은 전자 펜이 없을 경우, 전자 장치(101)는 1201 동작으로 진행하여 주기적으로 전자 펜의 사용 이력을 확인할 수 있다.
반면, 지정된 기간 이상 사용되지 않은 전자 펜이 확인될 경우, 전자 장치(101)는 동작 1205로 진행하여 디스플레이 패널(도1b에 도시, 162)을 이용하여 전자 펜 비활성화 여부를 선택할 수 있는 알림을 표시할 수 있다. 예를 들어, 프로세서(120)가 제3 전자 펜이 지정된 기간 이상 사용되지 않은 것으로 판단한 경우, 프로세서(120)는 제3 전자 펜과 관련된 정보를 포함하는 신호를 디스플레이 제어부(163)에 전송할 수 있고, 디스플레이 제어부(163)는 도 13에 도시된 바와 같이 디스플레이 패널(162)의 화면(1301)을 통해 제3 전자 펜의 비활성화 여부를 선택할 수 있는 알림(1303)을 표시할 수 있다.
전자 장치(101)는 동작 1207에서, 터치 패널(161)을 이용하여 사용자의 전자 펜 비활성화 입력이 검출되는 지 판단할 수 있다. 예를 들어, 제3 전자 펜의 비활성화 알림에 표시된 객체를 드래그 하는 입력 및 확인 아이콘을 터치하는 입력을 검출할 경우, 프로세서(120)는 제3 전자 펜의 비활성화 입력이 검출되었다고 판단할 수 있다.
만약, 사용자의 전자 펜 비활성화 입력을 검출할 경우, 전자 장치(101)는 1209 동작으로 진행하여 전자 펜을 비활성화할 수 있고, 이후 본 발명의 실시예에 따른 알고리즘을 종료할 수 있다. 따라서, 프로세서(120)는 비활성화된 전자 펜이 터치 패널(161)에 접촉 또는 근접되어도 비활성화된 전자 펜을 검출하지 않을 수 있다. 한편, 비활성화된 전자 펜은 사용자의 설정에 의해 다시 활성화될 수 있다.
반면, 사용자의 전자 펜 비활성화 입력을 검출하지 못할 경우, 전자 장치(101)는 1211 동작으로 진행하여 지정된 기간 이상 사용되지 않은 전자 펜의 스캔 변수를 갱신할 수 있다. 예를 들어, 프로세서(120)는 지정된 기간 이상 사용되지 않은 전자 펜의 스캔 변수를 낮출 수 있고, 사용 이력에 기반하여 자주 사용되는 것으로 확인된 전자 펜의 스캔 변수를 높일 수 있다. 이와 달리, 프로세서(120)는 지정된 기간 사용되지 않은 전자 펜의 스캔 변수만을 낮출 수도 있다.
전자 장치(101)는 동작 1213에서, 갱신된 스캔 변수에 기반하여 전자 펜의 스캔을 실행할 수 있고, 이후 본 발명의 실시예에 따른 알고리즘을 종료할 수 있다. 이에 따라, 전자 장치(101)는 지정된 기간 사용되지 않은 전자 펜을 비활성화하거나 스캔 변수를 갱신함에 따라 자주 사용하는 전자 펜의 인식 속도를 향상시킬 수 있다.
한편, 한 실시 예에 따르면, 전자 장치(101)는 사용자의 전자 펜 비활성화 입력을 검출하지 못할 경우, 동작 1211 및 동작 1213을 실행하지 않고, 다시 주기적으로 전자 펜의 사용 이력을 확인하거나 동작을 종료할 수 있다. 단, 이에 제한되지 않는다.
도 14는 본 발명의 다양한 실시예에 따른 전자 펜의 스캔 변수를 갱신하는 방법을 설명하는 흐름도이다. 이하 설명은 도 4의 동작 401 및 403에서 전자 펜의 스캔 변수를 갱신하기 위한 동작을 설명한다. 이하 설명에서 전자 장치는 도 1a의 전자 장치(101) 또는 전자 장치(101)의 적어도 일부(예: 프로세서(120))를 포함할 수 있다.
도 14를 참조하면, 전자 장치(101)는 동작 1401에서, 제1 전자 펜 검출에 따라 좌표를 획득할 수 있다. 예를 들어, 프로세서(120)는 제1 전자 펜의 해제를 검출하기 이전까지 제1 전자 펜의 좌표를 획득할 수 있다.
전자 장치(101)는 동작 1402에서, 제1 전자 펜의 좌표가 갱신되는지 판단할 수 있다. 예를 들어, 프로세서(120)는 이미 획득한 좌표와 다른 값을 갖는 좌표를 추가 획득하는 지 여부를 판단할 수 있다.
만약, 제1 전자 펜의 좌표가 갱신된 것으로 판단된 경우, 전자 장치(101)는 1403 동작으로 진행하여 전자 펜의 스캔 변수를 갱신할 수 있다. 전자 장치(101)는 동작 1404에서, 터치 패널(161)을 이용하여 제1 전자 펜이 해제되는 지 여부를 판단할 수 있다. 만약, 제1 전자 펜이 해제된 것으로 판단된 경우, 전자 장치(101)는 도 4의 동작 405로 리턴하여 갱신된 스캔 변수에 기반하여 전자 펜의 스캔을 수행할 수 있다. 반면, 제1 전자 펜이 해제되지 않은 것으로 판단된 경우, 전자 장치(101)는 제1 전자 펜의 좌표가 갱신되는 지 확인할 수 있다.
한편, 제1 전자 펜의 좌표가 갱신되지 않은 것으로 판단된 경우, 전자 장치(101)는 곧바로 동작 1404를 실행할 수 있다. 제1 전자 펜의 해제를 검출한 경우, 전자 장치(101)는 도 4의 동작 405로 리턴하여 갱신된 스캔 변수에 기반하여 전자 펜의 스캔을 수행할 수 있고, 제1 전자 펜이 해제되지 않은 것으로 판단된 경우, 전자 장치(101)는 제1 전자 펜의 좌표가 갱신되는지 확인할 수 있다.
발명의 한 실시 예에 따르면, 전자 장치(101)는 제1 전자 펜의 좌표 획득 횟수에 따라 전자 펜의 스캔 변수를 갱신할 수 있다. 예를 들어, 프로세서(120)는 제1 전자 펜의 좌표를 추가 획득할 때마다 전자 펜의 스캔 변수를 갱신할 수 있다. 따라서, 제1 전자 펜의 좌표 획득 횟수가 높을수록 제1 전자 펜의 스캔 구동 비율이 더 높아질 수 있다. 한편, 프로세서(120)는 제1 전자 펜의 좌표 획득 횟수를 기록하고 제1 전자 펜이 해제 됨에 따라 일괄적으로 전자 펜의 스캔 변수를 갱신할 수 있다. 한편, 좌표 획득 횟수가 높아짐에 따라 스캔 변수가 일정 값에 도달할 경우, 프로세서(120)는 스캔 변수 갱신을 중단할 수 있다.
도 15a 및 15b는 본 발명의 다양한 실시예에 따른 전자 장치의 동작 방법을 설명하는 흐름도이다. 이하 설명에서 전자 장치는 도 1a의 전자 장치(101) 또는 전자 장치(101)의 적어도 일부(예: 프로세서(120))를 포함할 수 있다.
도 15a를 참조하면, 전자 장치(101)는 1501 상태 에서, 제1 전자 펜 아이들 모드, 제2 전자 펜 아이들 모드, 및 손가락 아이들 모드로 상태를 주기적으로 변환할 수 있다.
전자 장치(101)는 터치 패널(161)을 이용하여 손가락을 검출할 경우(1506)에 1501 상태 에서 1502 상태로 천이할 수 있다. 또한, 전자 장치(101)는 터치 패널(161)을 이용하여 제1 전자 펜을 검출할 경우(1507)에 1503 상태로 천이할 수 있다. 또한, 전자 장치(101)는 터치 패널(161)을 이용하여 제2 전자 펜을 검출할 경우(1508)에 1504 상태로 천이할 수 있다.
전자 장치(101)는 1502 상태에서, 손가락 액티브 모드로 동작할 수 있다. 예를 들어, 프로세서(120)는 검출한 손가락의 좌표를 획득할 수 있고, 손가락 액티브 모드로 동작하는 동안 제1 전자 펜 아이들 모드 또는 제2 전자 펜 아이들 모드로 동작할 수 있다. 따라서, 프로세서(120)는 터치 패널(161)을 이용하여 제1 전자 펜을 검출할 경우(1509)에 1503 상태로 천이할 수 있고, 터치 패널(161)을 이용하여 제2 전자 펜을 검출할 경우(1510)에 1504 상태로 천이할 수 있다. 한편, 1502 상태에서 제1 전자 펜 또는 제2 전자 펜을 검출하여 상태가 천이되는 동안, 프로세서(120)는 손가락의 좌표를 지속적으로 획득할 수 있고, 이와 달리 손가락의 입력을 배제할 수 있다.
전자 장치(101)는 1503 상태에서, 제1 전자 펜 액티브 모드로 동작할 수 있다. 예를 들어, 프로세서(120)는 제1 전자 펜 액티브 모드에서 제1 전자 펜의 좌표를 획득할 수 있다. 프로세서(120)는 제1 전자 펜의 해제를 검출할 경우(1511)에 1505 상태로 천이할 수 있다.
전자 장치(101)는 1504 상태에서, 제2 전자 펜 액티브 모드로 동작할 수 있다. 예를 들어, 프로세서(120)는 제2 전자 펜 액티브 모드에서 제2 전자 펜의 좌표를 획득할 수 있다. 프로세서(120)는 제2 전자 펜의 해제를 검출할 경우(1512)에 1505 상태로 천이할 수 있다.
전자 장치(101)는 1505 상태에서, 제1 전자 펜 또는 제2 전자 펜의 우선 순위를 갱신할 수 있다. 예를 들어, 프로세서(120)는 갱신된 우선 순위에 기반하여 1501 상태로 천이할 수 있고, 1501 상태에서 갱신된 우선 순위에 기반하여 손가락 아이들 모드, 제1 전자 펜 아이들 모드, 및 제2 전자 펜 아이들 모드로 변환(1513)하여 동작할 수 있다.
도 15b를 참조하면, 전자 장치(101)는 동작 1515에서, 제1 전자 펜의 스캔을 실행할 수 있다.
전자 장치(101)는 동작 1516에서, 터치 패널(161)을 이용하여 제1 전자 펜이 검출되는 지 확인할 수 있다.
만약, 제1 전자 펜이 검출될 경우, 전자 장치(101)는 동작 1517에서, 제1 전자 펜의 좌표를 획득할 수 있고, 전자 장치(101)는 동작 1518에서, 제1 전자 펜이 해제되는 지를 확인할 수 있다.
만약, 제1 전자 펜의 해제를 검출하지 못할 경우, 전자 장치(101)는 동작 1517을 반복할 수 있다.
반면, 제1 전자 펜의 해제를 검출할 경우, 전자 장치(101)는 동작 1519에서, 전자 펜의 우선 순위를 갱신할 수 있다. 전자 장치(101)는 동작 1519 이후에 동작 1515를 실행할 수 있다.
한편, 동작 1516에서 제1 전자 펜을 검출하지 못할 경우, 전자 장치(101)는 동작 1520에서, 제1 전자 펜의 스캔을 종료할 수 있다.
만약, 제1 전자 펜의 스캔이 종료되지 않은 경우, 전자 장치(101)는 제1 전자 펜의 스캔을 지속적으로 실행할 수 있다.
반면, 제1 전자 펜의 스캔이 종료된 경우, 전자 장치(101)는 동작 1521에서, 제2 전자 펜의 스캔을 실행할 수 있다.
전자 장치(101)는 동작 1522에서, 터치 패널(161)을 이용하여 제2 전자 펜이 검출되는 지 확인할 수 있다.
만약, 제2 전자 펜이 검출될 경우, 전자 장치(101)는 동작 1523에서, 제2 전자 펜의 좌표를 획득할 수 있고, 전자 장치(101)는 동작 1524에서, 제2 전자 펜이 해제되는 지를 확인할 수 있다.
만약, 제2 전자 펜의 해제를 검출하지 못할 경우, 전자 장치(101)는 동작 1523을 반복할 수 있다.
반면, 제2 전자 펜의 해제를 검출할 경우, 전자 장치(101)는 동작 1525에서, 전자 펜의 우선 순위를 갱신할 수 있다. 프로세서(120)는 동작 1525 이후에 동작 1515를 실행할 수 있다.
한편, 동작 1522에서 제2 전자 펜을 검출하지 못할 경우, 전자 장치(101)는 동작 1526에서, 제2 전자 펜의 스캔을 종료할 수 있다. 제2 전자 펜의 스캔이 종료되지 않은 경우, 전자 장치(101)는 제2 전자 펜의 스캔을 지속적으로 실행할 수 있다. 제2 전자 펜의 스캔이 종료된 경우, 동작 1515에서, 전자 장치(101)는 제1 전자 펜의 스캔을 실행할 수 있다.
도 16은 본 발명의 다양한 실시예에 따른 연결된 전자 펜의 스캔 변수를 갱신하는 방법을 설명하는 흐름도이다. 이하 설명에서 전자 장치는 도 1a의 전자 장치(101) 또는 전자 장치(101)의 적어도 일부(예: 프로세서(120))를 포함할 수 있다.
도 16을 참조하면, 전자 장치(101)는 동작 1601에서, 전자 펜과 연결되는 지 확인할 수 있다. 예를 들어, 전자 펜은 블루투스 등의 근거리 통신 방식을 이용하여 전자 장치와 연결될 수 있다. 프로세서(120)는 통신 모듈을 이용하여 전자 펜이 전자 장치와 연결되는 지 확인할 수 있다.
만약, 전자 장치와 전자 펜의 연결이 검출되지 않을 경우, 전자 장치(101)는 통신 모듈을 이용하여 주기적으로 전자 펜과 전자 장치의 연결 여부를 확인할 수 있다.
반면, 전자 장치와 전자 펜의 연결을 검출할 경우, 전자 장치(101)는 동작 1603으로 진행하여 전자 펜의 스캔 변수를 갱신할 수 있고, 동작 1605 에서 갱신된 스캔 변수에 기반하여 전자 펜의 스캔을 실행할 수 있고, 동작 1607에서 전자 펜 연결에 따라 좌표를 획득할 수 있다. 예를 들어, 프로세서(120)는 전자 펜의 연결에 따라 갱신된 스캔 변수에 기반하여 전자 펜을 스캔할 수 있고, 전자 펜을 스캔함에 따라 연결된 전자 펜의 적어도 하나의 좌표를 획득할 수 있다. 이후 본 발명의 실시예에 따른 알고리즘을 종료할 수 있다. 이에 따라 전자 장치와 자주 연결되는 전자 펜의 인식 속도를 향상시킬 수 있다.
본 발명의 다양한 실시 예에 따르면, 다양한 종류의 전자 펜을 사용하는 전자 장치의 동작 방법은, 제1 전자 펜을 검출하는 동작; 상기 제1 전자 펜의 해제를 검출하는 동작; 및 상기 제1 전자 펜의 해제의 검출에 기반하여, 갱신된 전자 펜의 스캔 변수에 기반한 전자 펜의 스캔을 수행하는 동작;을 포함할 수 있다.
본 발명의 다양한 실시 예에 따르면, 상기 전자 펜의 스캔 변수를 갱신하는 동작을 더 포함하고, 상기 전자 펜의 스캔 변수를 갱신하는 동작은 상기 제1 전자 펜을 검출하는 동작 또는 상기 제1 전자 펜의 해제를 검출하는 동작 이후에 실행될 수 있다.
본 발명의 다양한 실시 예에 따르면, 상기 전자 펜의 스캔을 수행하는 동작은, 전자 펜의 우선 순위를 갱신하는 동작; 및 상기 갱신된 우선 순위에 기반하여 상기 전자 펜의 스캔 변수를 갱신하는 동작;을 포함할 수 있다.
본 발명의 다양한 실시 예에 따르면, 상기 전자 펜의 스캔 변수는 제1 전자 펜의 스캔 변수 및 제2 전자 펜의 스캔 변수를 포함하고, 상기 전자 펜의 스캔 변수를 갱신하는 동작은, 상기 제1 전자 펜의 스캔 변수 또는 상기 제2 전자 펜의 스캔 변수를 갱신할 수 있다.
본 발명의 다양한 실시 예에 따르면, 상기 제1 전자 펜과 상기 제2 전자 펜은 서로 적어도 일부가 다른 프로토콜에 기반하여 작동할 수 있다.
본 발명의 다양한 실시 예에 따르면, 상기 갱신된 스캔 변수에 기반하여 스캔 구동 빈도, 스캔 구동 세기, 스캔 구동 시간, 또는 스캔 구동 센서의 수 중 적어도 하나를 조절하는 동작을 더 포함할 수 있다.
본 발명의 다양한 실시 예에 따르면, 상기 전자 펜의 스캔 변수을 수행하는 동작은, 상기 제1 전자 펜의 사용 이력이 존재하는지 확인하는 동작; 및 상기 제1 전자 펜의 사용 이력이 존재할 경우, 상기 제1 전자 펜의 사용 이력에 기반하여 상기 전자 펜의 스캔 변수를 갱신하는 동작;을 포함할 수 있다.
본 발명의 다양한 실시 예에 따르면, 상기 전자 펜의 스캔 변수를 갱신하는 동작은, 상기 제1 전자 펜의 사용 이력이 존재하지 않을 경우, 지정된 전자 펜의 스캔 변수를 갱신하는 동작을 더 포함할 수 있다.
본 발명의 다양한 실시 예에 따르면, 전자 펜의 사용 이력을 확인하는 동작; 상기 전자 펜의 사용 이력에 기반하여 지정된 기간 이상 사용되지 않은 전자 펜을 확인하는 동작; 및 상기 지정된 기간 이상 사용되지 않은 전자 펜이 확인될 경우, 상기 지정된 기간 이상 사용되지 않은 전자 펜의 비활성화 여부를 선택하는 알림을 표시하는 동작;을 더 포함할 수 있다.
본 발명의 다양한 실시 예에 따르면, 제2 전자 펜과 상기 전자 장치의 연결을 검출하는 동작; 및 상기 제2 전자 펜과 상기 전자 장치의 연결의 검출에 기반하여, 상기 전자 펜의 스캔 변수를 갱신하는 동작;을 더 포함할 수 있다.
본 발명의 다양한 실시 예에 따르면, 전자 장치의 동작 방법은, 제1 전자 펜을 스캔하는 동작; 상기 제1 전자 펜이 검출되는 지 판단하는 동작; 상기 제1 전자 펜이 검출될 경우, 전자 펜의 스캔 변수를 갱신하고 상기 검출된 제1 전자 펜의 해제가 검출되는지 판단하는 동작; 상기 제1 전자 펜이 검출되지 않을 경우, 제2 전자 펜을 스캔하고 상기 제2 전자 펜이 검출되는 지 판단하는 동작; 및 상기 제2 전자 펜이 검출될 경우, 상기 전자 펜의 스캔 변수를 갱신하고 상기 검출된 제2 전자 펜의 해제가 검출되는지 판단하는 동작;을 포함할 수 있고, 상기 제1 전자 펜과 상기 제2 전자 펜은 서로 적어도 일부 다른 프로토콜에 기반하여 작동할 수 있다.

Claims (15)

  1. 다양한 종류의 전자 펜을 사용하는 전자 장치의 동작 방법에 있어서,
    제1 전자 펜을 검출하는 동작;
    상기 제1 전자 펜의 해제를 검출하는 동작; 및
    상기 제1 전자 펜의 해제의 검출에 기반하여, 갱신된 전자 펜의 스캔 변수에 기반한 전자 펜의 스캔을 수행하는 동작;을 포함하는 것을 특징으로 하는 방법.
  2. 제1 항에 있어서,
    상기 전자 펜의 스캔 변수를 갱신하는 동작을 더 포함하고,
    상기 전자 펜의 스캔 변수를 갱신하는 동작은 상기 제1 전자 펜을 검출하는 동작 또는 상기 제1 전자 펜의 해제를 검출하는 동작 이후에 실행되는 것을 특징으로 하는 방법.
  3. 제1 항에 있어서,
    상기 전자 펜의 스캔을 수행하는 동작은,
    전자 펜의 우선 순위를 갱신하는 동작; 및
    상기 갱신된 우선 순위에 기반하여 상기 전자 펜의 스캔 변수를 갱신하는 동작;을 포함하는 것을 특징으로 하는 방법.
  4. 제2 항에 있어서,
    상기 전자 펜의 스캔 변수는 제1 전자 펜의 스캔 변수 및 제2 전자 펜의 스캔 변수를 포함하고,
    상기 전자 펜의 스캔 변수를 갱신하는 동작은, 상기 제1 전자 펜의 스캔 변수 또는 상기 제2 전자 펜의 스캔 변수를 갱신하는 것을 특징으로 하는 방법.
  5. 센서 모듈;
    상기 센서 모듈과 전기적으로 연결된 프로세서; 및
    상기 프로세서와 전기적으로 연결된 메모리를 포함하며,
    상기 메모리는, 실행시에, 상기 프로세서가,
    상기 센서 모듈을 이용하여 제1 전자 펜을 검출하고,
    상기 센서 모듈을 이용하여 상기 제1 전자 펜의 해제를 검출하고,
    상기 제1 전자 펜의 해제의 검출에 기반하여, 갱신된 전자 펜의 스캔 변수에 기반한 전자 펜의 스캔을 수행하도록 하는 인스트럭션들을 저장하도록 제어하는 것을 특징으로 하는 전자 장치.
  6. 제5 항에 있어서,
    상기 인스트럭션들은, 상기 프로세서가 상기 전자 펜의 스캔 변수를 갱신하도록 하고,
    상기 전자 펜의 스캔 변수를 갱신하는 동작은 상기 제1 전자 펜을 검출하는 동작 또는 상기 제1 전자 펜의 해제를 검출하는 동작 이후에 실행되는 것을 특징으로 하는 전자 장치.
  7. 제 5 항에 있어서,
    상기 인스트럭션들은, 상기 프로세서가,
    전자 펜의 우선 순위를 갱신하고,
    상기 갱신된 우선 순위에 기반하여 상기 전자 펜의 스캔 변수를 갱신하도록 하는 것을 특징으로 하는 전자 장치.
  8. 제5 항에 있어서,
    상기 전자 펜의 스캔 변수는 제1 전자 펜의 스캔 변수 및 제2 전자 펜의 스캔 변수를 포함하고,
    상기 인스트럭션들은, 상기 프로세서가,
    상기 제1 전자 펜의 스캔 변수 또는 상기 제2 전자 펜의 스캔 변수를 갱신하도록 하는 것을 특징으로 하는 전자 장치.
  9. 제8 항에 있어서,
    상기 제1 전자 펜과 상기 제2 전자 펜은 서로 적어도 일부 다른 프로토콜에 기반하여 작동하는 것을 특징으로 하는 전자 장치.
  10. 제5 항에 있어서,
    상기 인스트럭션들은, 상기 프로세서가,
    상기 갱신된 스캔 변수에 기반하여 스캔 구동 빈도, 스캔 구동 세기, 스캔 구동 시간, 또는 스캔 구동 센서의 수 중 적어도 하나를 조절하도록 하는 것을 특징으로 하는 전자 장치.
  11. 제5 항에 있어서,
    상기 인스트럭션들은, 상기 프로세서가,
    상기 제1 전자 펜의 사용 이력이 존재하는지 확인하고,
    상기 제1 전자 펜의 사용 이력이 존재할 경우, 상기 제1 전자 펜의 사용 이력에 기반하여 상기 전자 펜의 스캔 변수를 갱신하도록 하는 것을 특징으로 하는 전자 장치.
  12. 제11 항에 있어서,
    상기 인스트럭션들은, 상기 프로세서가,
    상기 제1 전자 펜의 사용 이력이 존재하지 않을 경우, 지정된 전자 펜의 스캔 변수를 갱신하도록 하는 것을 특징으로 하는 전자 장치.
  13. 제5 항에 있어서,
    상기 전자 장치는 디스플레이를 더 포함하고,
    상기 인스트럭션들은, 상기 프로세서가,
    상기 전자 펜의 사용 이력에 기반하여 지정된 기간 이상 사용되지 않은 전자 펜을 확인하고,
    상기 지정된 기간 이상 사용되지 않은 전자 펜이 확인될 경우, 상기 디스플레이를 이용하여 상기 지정된 기간 이상 사용되지 않은 전자 펜의 비활성화 여부를 선택하는 알림을 표시하도록 하는 것을 특징으로 하는 전자 장치.
  14. 제5 항에 있어서,
    상기 전자 장치는 통신 모듈을 더 포함하고,
    상기 인스트럭션들은, 상기 프로세서가,
    상기 통신 모듈을 이용하여 제2 전자 펜과 상기 전자 장치의 연결을 검출하고,
    상기 제2 전자 펜과 상기 전자 장치의 연결의 검출에 기반하여 상기 전자 펜의 스캔 변수를 갱신하도록 하는 것을 특징으로 하는 전자 장치.
  15. 센서 모듈;
    상기 센서 모듈과 전기적으로 연결된 프로세서; 및
    상기 프로세서와 전기적으로 연결된 메모리를 포함하며,
    상기 메모리는, 실행시에, 상기 프로세서가,
    상기 센서 모듈을 이용하여 제1 전자 펜을 스캔하고,
    상기 센서 모듈을 이용하여 상기 제1 전자 펜이 검출되는 지 판단하고,
    상기 제1 전자 펜이 검출될 경우, 전자 펜의 스캔 변수를 갱신하고 상기 검출된 제1 전자 펜의 해제가 검출되는지 판단하고,
    상기 제1 전자 펜이 검출되지 않을 경우, 상기 센서 모듈을 이용하여 제2 전자 펜을 스캔하고 상기 제2 전자 펜이 검출되는 지 판단하고,
    상기 제2 전자 펜이 검출될 경우, 상기 전자 펜의 스캔 변수를 갱신하고 상기 검출된 제2 전자 펜의 해제가 검출되는 지 판단하도록 하는 인스트럭션들을 저장하도록 제어하고,
    상기 제1 전자 펜과 상기 제2 전자 펜은 서로 적어도 일부 다른 프로토콜에 기반하여 작동하는 것을 특징으로 하는 전자 장치.
PCT/KR2018/003687 2017-05-26 2018-03-29 여러 종류의 전자 펜을 사용하기 위한 방법 및 그 전자 장치 WO2018216892A1 (ko)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/617,010 US20200097118A1 (en) 2017-05-26 2018-03-29 Method for using various kinds of electronic pens and electronic device therefor

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020170065098A KR102318808B1 (ko) 2017-05-26 2017-05-26 여러 종류의 전자 펜을 사용하기 위한 방법 및 그 전자 장치
KR10-2017-0065098 2017-05-26

Publications (1)

Publication Number Publication Date
WO2018216892A1 true WO2018216892A1 (ko) 2018-11-29

Family

ID=64396090

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2018/003687 WO2018216892A1 (ko) 2017-05-26 2018-03-29 여러 종류의 전자 펜을 사용하기 위한 방법 및 그 전자 장치

Country Status (3)

Country Link
US (1) US20200097118A1 (ko)
KR (1) KR102318808B1 (ko)
WO (1) WO2018216892A1 (ko)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102477853B1 (ko) * 2018-08-06 2022-12-15 삼성전자주식회사 디스플레이를 통해 외부 장치의 배터리의 충전을 제공하기 위해 어포던스를 표시하는 전자 장치 및 방법
KR20200142343A (ko) * 2019-06-12 2020-12-22 주식회사 하이딥 터치 장치 및 이의 터치 검출 방법
KR20210120382A (ko) * 2020-03-26 2021-10-07 삼성전자주식회사 원격 입력 장치의 제스처 인식 방법 및 그 전자 장치
WO2023146142A1 (ko) * 2022-01-25 2023-08-03 삼성전자 주식회사 전자 장치 및 전자 펜 알림 및 연결 방법

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120182229A1 (en) * 2011-01-19 2012-07-19 Synaptics Incorporated Device and method for interference avoidance in an input device
US20120278031A1 (en) * 2011-04-28 2012-11-01 Wacom Co., Ltd. Multi-touch and multi-user detecting device
US20130194242A1 (en) * 2012-01-27 2013-08-01 Pineapple Electronics, Inc. Multi-tip stylus pen for touch screen devices
WO2014061839A1 (ko) * 2012-10-19 2014-04-24 Lee Sung Ho 파지에 응답하여 표시 화면의 크기를 동적으로 변환하는 방법 및 그 장치
KR20160088655A (ko) * 2015-01-16 2016-07-26 삼성전자주식회사 스타일러스 펜, 터치 패널 및 이들을 구비한 좌표 측정 시스템

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8531276B2 (en) * 2000-03-15 2013-09-10 Logitech Europe S.A. State-based remote control system
US9632594B2 (en) * 2013-03-11 2017-04-25 Barnes & Noble College Booksellers, Llc Stylus sensitive device with stylus idle functionality
JP6253497B2 (ja) * 2014-04-25 2017-12-27 株式会社東芝 データ入力システム、アクティブスタイラスペンおよびアクティブスタイラスペンの制御方法
CN107209599B (zh) * 2015-02-09 2020-10-16 株式会社和冠 通信方法、通信系统、传感器控制器以及触控笔

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120182229A1 (en) * 2011-01-19 2012-07-19 Synaptics Incorporated Device and method for interference avoidance in an input device
US20120278031A1 (en) * 2011-04-28 2012-11-01 Wacom Co., Ltd. Multi-touch and multi-user detecting device
US20130194242A1 (en) * 2012-01-27 2013-08-01 Pineapple Electronics, Inc. Multi-tip stylus pen for touch screen devices
WO2014061839A1 (ko) * 2012-10-19 2014-04-24 Lee Sung Ho 파지에 응답하여 표시 화면의 크기를 동적으로 변환하는 방법 및 그 장치
KR20160088655A (ko) * 2015-01-16 2016-07-26 삼성전자주식회사 스타일러스 펜, 터치 패널 및 이들을 구비한 좌표 측정 시스템

Also Published As

Publication number Publication date
US20200097118A1 (en) 2020-03-26
KR20180129295A (ko) 2018-12-05
KR102318808B1 (ko) 2021-10-28

Similar Documents

Publication Publication Date Title
WO2018084580A1 (en) Device for performing wireless charging and method thereof
WO2017179820A1 (en) Authentication method and electronic device using the same
WO2017209528A1 (en) Electronic apparatus and operating method thereof
WO2018151505A1 (en) Electronic device and method for displaying screen thereof
WO2018101774A1 (en) Electronic device and method for displaying image for iris recognition in electronic device
WO2018186580A1 (ko) 디스플레이로 영상 데이터가 전송되지 않는 구간에 생체 정보를 획득하기 위한 방법 및 전자 장치
WO2016175452A1 (en) Fingerprint information processing method and electronic device supporting the same
WO2016080774A1 (en) Method of sharing contents and electronic device thereof
WO2017061762A1 (ko) 복수의 디스플레이를 구비한 전자장치 및 그 제어 방법
WO2016036074A1 (en) Electronic device, method for controlling the electronic device, and recording medium
WO2017188577A1 (ko) 배터리의 충전을 제어하기 위한 방법 및 그 전자 장치
WO2016006851A1 (en) Electronic device, method of providing interface of the same, and accessory for the same
WO2015111936A1 (en) Method for obtaining input in electronic device, electronic device, and storage medium
WO2018131932A1 (ko) 전자 장치의 사용 환경에 따른 사용자 인터페이스를 제공하는 전자 장치 및 그 방법
WO2016175602A1 (en) Electronic device for providing short-cut user interface and method therefor
WO2018143643A1 (ko) 전자장치 및 이를 사용하여 디스플레이에 연동된 생체 센서의 제어 방법
WO2018128509A1 (en) Electronic device and method for sensing fingerprints
WO2018216892A1 (ko) 여러 종류의 전자 펜을 사용하기 위한 방법 및 그 전자 장치
WO2017131401A1 (ko) 전자 장치 및 전자 장치의 사용자 인터페이스 제어 방법
WO2016163826A1 (en) Method and apparatus for operating sensor of electronic device
WO2018106019A1 (ko) 콘텐츠 출력 방법 및 이를 지원하는 전자 장치
WO2018143566A1 (ko) 지문 입력을 위한 그래픽 오브젝트를 표시하는 방법 및 전자 장치
WO2017175962A1 (ko) 화면을 표시하는 전자 장치 및 그 제어 방법
WO2017026821A1 (ko) 전자 장치 및 전자 장치의 입력 방법
WO2018135750A1 (ko) 전자 장치 및 전자 장치 제어 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18805216

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18805216

Country of ref document: EP

Kind code of ref document: A1