This application claims priority under 35 U.S.C. §119(a) to Korean Patent Application Serial No. 10-2014-0093787, which was filed in the Korean Intellectual Property Office on Jul. 24, 2014, the entire disclosure of which is incorporated herein by reference.
1. Field of the Invention
The present invention relates generally to the control of an electronics device, and more particularly, to an electronic device and a method for controlling an output of the electronic device corresponding a touch input provided by a touch input device.
2. Description of the Related Art
An electronic device including a touch screen can receive a touch input, such as a touch gesture or a touch drawing input, generated by a touch input tool, and can provide an output, such as an object selection or a drawing output, in response to the input. The electronic device can detect a direct touch input of the touch input tool, and also detect a hovering input of an approach of the touch input tool within a predetermined distance of the touch screen. Therefore, the electronic device can distinguish between the hovering input and the direct touch input, and variously utilize the different types of inputs generated by the touch input tool.
Generally, the electronic device considers coordinates of a hover input, processes the corresponding hover input, and provides an output corresponding to the hover input. However, while conventional electronic devices can distinguish between a direct touch input and a hovering input, these conventional devices often fail to utilize the hovering input differently than the direct touch input.
Accordingly, the present invention is made to address at least the problems and/or disadvantages described above and to provide at least the advantages described below.
An aspect of the present invention is to provide an apparatus and method for controlling an electronic device to vary an output corresponding to a hovering input, based on an inclination attribute of the touch input tool.
In accordance with an aspect of the present invention, a method is provided for controlling an output of an electronic device. The method includes receiving a hovering input from a touch input tool over a touch screen; identifying an inclination attribute of the touch input tool providing the hovering input; and providing an output attribute corresponding to the hovering input, based on the identified inclination attribute.
In accordance with another aspect of the present invention, an electronic device is provided, which includes a touch screen configured to receive an input from a touch input tool and provide an output; and a control unit configured to detect a hovering input from the touch input tool, via the touch screen, to identify an inclination attribute of the touch input tool providing the hovering input, and to provide an output attribute corresponding to the hovering input, based on the identified inclination attribute.
The above and other aspects, features, and advantages of certain embodiments of the present invention will be more apparent from the following description taken in conjunction with the accompanying drawings, in which:
Hereinafter, various embodiments of the present invention are described in detail with reference to the accompanying drawings. The same reference symbols are used throughout the drawings to refer to the same or like parts. Detailed descriptions of well-known functions and structures incorporated herein may be omitted to avoid obscuring the subject matter of the present invention.
Some components in the accompanying drawings are emphasized, omitted, or schematically illustrated, and the size of each component may not fully reflect the actual size. Therefore, the various embodiments of the present invention are not limited to the relative sizes and distances illustrated in the accompanying drawings.
Herein, the expressions “comprise” and “include” indicate the existence of a correspondingly disclosed function, operation, or component, and are not limited to one of an additional function, operation, or component. Further, the terms “include” and “have” indicate that a characteristic, number, step, operation, element, component, or their combination exists, and therefore, it should be understood that the existence or additional possibility of at least one characteristic, number, step, operation, element, component, or their combination is not excluded.
Additionally, the expression “or” includes at least one of the listed items and their combinations. For example, the expression “A or B” may indicate A, B, or both A and B.
Expressions such as “first” and “second” may modify various components of the present invention, but do not limit the corresponding components. For example, the above expressions do not necessarily limit an order and/or importance of the corresponding components, but can be used to merely distinguish a component from another component. For example, both a first user device and a second user device may be the same type of user devices, but indicate separate user devices. For example, within the spirit and scope of the present invention, a first component may be referred to as a second component, and similarly, a second component may be referred to as a first component.
When describing that a component is “connected” to or “accessed” by another component, the component may be directly connected to or accessed by the other component, or another component also may exist between them. However, if a component is described as being “directly connected to” or “directly accessed by” another component, there is no other component that exists therebetween.
It also is to be understood that singular forms “a”, “an”, and “the” include plural referents unless the context dictates otherwise.
Further, unless the context clearly dictates otherwise, all the terms including a technical or scientific term used herein will have the same meaning as generally understood by those skilled in the art. It should be understood that terms defined in a general dictionary have the same meanings as in a related technical context, and are not interpreted as having abnormal or excessively formal meanings unless clearly dictated in the present disclosure.
For example, an electronic device according to an embodiment of the present invention may be a device having a communication function, such as a smartphone, a tablet Personal Computer (PC), a mobile phone, a video phone, an e-book reader, a desktop PC, a laptop PC, a netbook computer, a Personal Digital Assistant (PDA), a Portable Multimedia Player (PMP), an MP3 player, a mobile medical appliance, a camera, or a wearable device such as a head-mounted-device (HMD), electronic clothes, an electronic bracelet, an electronic necklace, an electronic appcessary, an electronic tattoo, or a smartwatch.
Further, an electronic device according to an embodiment of the present invention may be a smart home appliance having a communication function, such as a television (TV), a Digital Video Disk (DVD) player, an audio player, a refrigerator, an air-conditioner, a vacuum cleaner, an oven, a microwave oven, a washing machine, an air cleaner, a set-top box, a media hub (for example, Samsung HomeSync®, Apple TV®, and Google TV®), a game console, an electronic dictionary, an electronic key, a camcorder, and an electronic picture frame.
Additionally, an electronic device according to an embodiment of the present invention may include various medical instruments, such as a Magnetic Resonance Angiography (MRA) device, a Magnetic Resonance Imaging (MRI) device, or a Computed Tomography (CT) device, a camera, an ultrasonic device, a navigation device, a Global Positioning System (GPS) receiver, an Event Data Recorder (EDR), a Flight Data Recorder (FDR), an automobile infotainment device, electronic devices for a ship, such as a navigation device or gyro compass, an electronic avionics device, a security device, and a robot for industry or home.
Further, an electronic device according to an embodiment of the present invention may include at least one of furniture, a building or a part of building, an electronic board, an electronic signature receiving device, a projector, and various measurement devices, e.g., measurement instruments for water supply, electric power, gas supply, or radio waves.
Additionally, an electronic device according to an embodiment of the present invention may be configured by combining any of the above-described various devices.
An electronic device according to an embodiment of the present invention is not limited to the above-described devices.
Referring to
The communication unit 110 may provide a communication channel for a connection between the electronic device 100 and an external device or a server. For example, the communication unit 110 may communicate with the external device or server by connecting to a network through wireless or wired communication. Examples of the wireless communication may include Wireless Fidelity (WiFi), Bluetooth (BT), Near Field Communication (NFC), Global Positioning System (GPS), or cellular communication, such as Long Term Evolution (LTE), LTE-Advanced (LTE-A), Code Division Multiple Access (CDMA), Wideband CDMA (WCDMA), Universal Mobile Telecommunications System (UMTS), Wireless Broadband (WiBro), or Global System for Mobile Communications (GSM). Examples of the wired communication may include a Universal Serial Bus (USB), a High Definition Multimedia Interface (HDMI), a Recommended Standard 232 (RS-232), or Plain Old Telephone Service (POTS).
A program area of the storage unit 120 can store an Operating System (OS) for booting the electronic device 100 and operating the above components, and an application for supporting various user functions such as a communication function, a web browser for connecting to an internet server, an MP3 function for playing sound, an image output function for displaying a photo, and a video playing function.
An example of the touch input tool 150 is an electronic pen. Accordingly, the program area can also store a pen input application. The pen input application may include a routine for processing a touch input received by identifying touch input coordinates and inclination attributes of the touch input tool 150.
The inclination attribute of the touch input tool 150 may include an inclination degree and inclination direction of the touch input tool 150. The inclination degree indicates an angle of the touch input tool 150 relative to the touch screen 130, when a touch input is generated on the touch screen 130 using the touch input tool 150. For example, the inclination degree may be an angle of the touch input tool 150 based on the horizontal or vertical plan of the touch screen 130.
For ease of describing the various embodiments of the present invention, the inclination degree is assumed to be 0 when the touch input tool 150 is perpendicular to the touch screen 130. Accordingly, as the touch input tool 150 is tilted towards the touch screen 130, the inclination degree increases.
The inclination direction indicates the direction of the touch input tool 150, when a touch input is generated on the touch screen 130 using the touch input tool 150. For example, plans formed by the touch screen 130 may be divided into left, right, up, and down areas.
According to an embodiment of the present invention, if a user generates a touch input by holding the touch input tool 150 in their right hand, the inclination direction becomes the right side, and if the user generates a touch input by holding the touch input tool 150 in the left hand, the inclination direction becomes the left side.
Further, the inclination attribute of the touch input tool 150 may include an inclination change of the touch input tool 150. For example, the inclination change may include an attribute change at least one of the inclination degree or inclination direction.
The touch screen 130 includes a touch panel 131 and a display panel 133. For example, the touch panel 131 may identify a touch input with at least one of a capacitive, a resistive, an infrared, or an ultrasonic sensor. Further, the touch panel 131 may identify a touch input with an electromagnetic induction sensor.
The control unit 140 controls general operations of the electronic device 100 and signal flows between internal components, performs a data processing function, and controls a power supply from a battery to the components of the electronic device 100.
The control unit 140 may receive a touch input from the touch input tool 150 through the touch screen 130, and generate an output corresponding to the touch input. The control unit 140 may receive a hovering input from the touch input tool 150 through the touch screen 130, and generate an output corresponding to the hovering input. Accordingly, the control unit 140 may generate different outputs for each of the hovering input and the direct touch input, even though the direct touch input and the hover input are identified at the same coordinates. For example, if a direct touch input is identified for a link object, an execution result of a corresponding link may be output. However, if a hovering touch input is identified for the link object, a preview window of contents to be generated by the execution of the corresponding link may be output.
If the hovering input provided by the touch input tool 150 is detected, the control unit 140 identifies an inclination attribute of the touch input tool 150, and outputs an output attribute corresponding to the hovering input, based on the identified inclination attribute.
For example, if a user generates a hovering input by using the touch input tool 150, the control unit 140 can identify an inclination attribute of the touch input tool 150 by using hovering input coordinates and detection coordinates of user's hand. Namely, when the user generates a touch input on the touch screen 130 by using the touch input tool 150, the user's hand can directly touch the touch screen 130. In this case, the control unit 140 can calculate an inclination degree, inclination direction, inclination change, etc., by using the hovering input coordinates, the user's hand touch coordinates, and displacement between the coordinates. For example, the control unit 140 may determine specific coordinates of the user's hand touch as a base point, and calculate a displacement between the base point and the hovering input coordinates. The control unit 140 may identify the inclination information of the touch input tool 150 corresponding to the calculated displacement value by referring to a pre-stored table. For example, the table may store inclination information corresponding to the displacement value.
Alternatively, the control unit 140 may identify the inclination attribute of the touch input tool 150 by using an inclination sensor.
The control unit 140 may change an output attribute corresponding to the hovering input, based on the identified inclination attribute. For example, an output corresponding to a hovering input may the display of a specific object on a screen. The control unit 140 may change the location of the specific object displayed in the screen, based on the inclination attribute of the touch input tool 150.
As another example, if a drawing output is provided, based on the hovering input, the control unit 140 may adjust the thickness of drawing output based on the inclination attribute of the touch input tool 150.
As another example, if a drawing output is provided, based on the hovering input, the control unit 140 may change a display mode of the drawing output, based on the inclination attribute of the touch input tool 150. For example, a display mode of a drawing output may include a pencil mode, a ballpoint pen mode, a brush mode, a highlight mode, etc.
If the inclination attribute changes during the hovering input, the control unit 140 may change the output attribute in real time, by reflecting the change.
Further, the control unit 140 may variously change the output attribute corresponding to the hovering input, based on the inclination attribute of the touch input tool 150.
The touch input tool 150 is a component of the electronic device 100, which can be disconnected from the electronic device 100, and may include a penholder, a pen point formed at an end of the penholder, and a coil for generating a magnetic field, which is disposed in the penholder and adjacent to the pen point. The coil of the touch input tool 150 may form a magnetic field in the vicinity of the pen point. The touch panel 131 may detect the magnetic field formed by the touch input tool 150 and an input generated corresponding to the magnetic field.
Referring to
In step 220, the control unit 140 identifies an inclination attribute of the touch input tool 150 providing the hovering input. As described above, the inclination attribute may include at least one of an inclination degree, an inclination direction, or an inclination change of the touch input tool 150.
In step 230, the control unit 140 generates an output corresponding to the hovering input, and provides an output attribute, based on the inclination attribute. For example, the control unit 140 may determine an output corresponding to a hovering input according to a situation of the electronic device 100 and detection coordinates of the hovering input, while the hovering input is being generated. The control unit 140 may then modify the determined output attribute based on a detected inclination attribute.
In this embodiment, the electronic device 100 executes an application for drawing a picture by using the touch input tool 150. A user may generate a hovering input on the touch screen 130 by holding the touch input tool 150 in the right hand, as illustrated in
If the hovering input is detected, the electronic device 100 can output a specific object. For example, if the hovering input is detected, the electronic device 100 can output a menu for supporting a user's drawing operation, such as a figure selection menu 310 or 320, on the touch screen 130.
When a hovering input is generated by holding the touch input tool 150 in the user's right hand, the touch input tool 150 may be identified to be inclined to the right side. Accordingly, the figure selection menu 310 may be displayed in the left area of the touch screen 130, as illustrated in
Alternatively, when a hovering input is generated by holding the touch input tool 150 in the user's left hand, the touch input tool 150 may be identified to be inclined to the left side. Accordingly, the figure selection menu 320 may be displayed in the right area of the touch screen 130, as illustrated in
Namely, according to the above-described embodiment of the present invention, a location attribute (i.e., left side or right side) of an output corresponding to a hovering input may vary, based on the inclination direction of the touch input tool 150.
In this embodiment, the electronic device 100 executes an application for performing a drawing operation by using the touch input tool 150. A user can generate a continuous hovering input on the touch screen 130 by using the touch input tool 150, as illustrated in
In response, the electronic device 100 may display a drawing output 410, on the touch screen 130, corresponding to the hovering input, as illustrated in
Further, the electronic device 100 can adjust a thickness attribute of the drawing output 410, by detecting an inclination change of the touch input tool 150 while providing the hovering input.
As illustrated in
In this embodiment, the electronic device 100 executes a photo gallery application. A user can generate a hovering input by using the touch input tool 150 over a photo list displayed on the touch screen 130. For example, the photo list may include a set of images retrieved from stored photos.
Referring to
If the hovering input is detected on item 510 or 530 in the photo list, the electronic device 100 can output a photo corresponding to the item, in a larger size that is more easily identifiable by the user, through a preview window 520 or 540.
When the hovering input is generated by holding the touch input tool 150 in the user's right hand, the touch input tool 150 is identified to be inclined to the right side. Accordingly, the preview window 520 is displayed to the left of the selected item 510, so that the preview window 520 is not covered by the user's right hand, as illustrated in
When the hovering input is generated by holding the touch input tool 150 in the user's left hand, the touch input tool 150 is identified to be inclined to the left side. Accordingly, the preview window 540 is displayed to the right of the selected item 530, so that the preview window 540 is not covered by the user's left hand, as illustrated in
Namely, according to the above-described embodiment of the present invention, a location attribute of an output corresponding to a hovering input may vary based on the inclination direction of the touch input tool 150.
In this embodiment, the electronic device 100 executes a photo gallery application. The electronic device 100 displays a photo list area 610 including a photo list and a control icon 620 for controlling the touch screen 130.
Referring to
When the hovering input having a substantially identical attribute is detected for the predetermined time, the electronic device 100 can change the control icon 620 to a modification icon 630, which indicates a possibility of controlling the photo list area 610, as illustrated in
Basically, when the hovering input having the substantially identical attribute is detected for the predetermined time, the electronic device 100 may enter a state for controlling the photo list area 610.
Referring to
As illustrated in
In this embodiment, the electronic device 100 executes an image editing application. Specifically, the electronic device 100 displays an object 710 through the touch screen 130.
Referring to
If the hovering input having the substantially identical attribute is detected for the specific time, the electronic device 100 enters a state for controlling a movement of the object 710.
Referring to
As illustrated in
At least a portion of a device (for example, electronic device 120 and modules) or a method (for example, operations) according to various embodiments of the present invention can be implemented by a command of programming module form stored in a computer-readable storage media. When the command is executed by more than one processor, the processors can perform a function corresponding to the command. Even though not illustrated in the drawings, the computer-readable storage media may be a storage unit or a memory. At least a portion of the programming module can be implemented by a processor. At least a portion of the programming module may include a module, a program, a routine, a set of instructions, or a process in order to perform at least one function.
The computer-readable storage media may include magnetic media such as a hard disk, a floppy disk, and a magnetic tape, optical media such as a Compact Disc Read Only Memory (CD-ROM) and a DVD, magneto-optical media such as a floptical disk, and hardware devices specially configured to store and execute a program command such as a ROM, a Random Access Memory (RAM), and a flash memory.
Further, the program command may include machine language code generated by a complier and a high-level language code executable by using an interpreter. The aforementioned hardware devices may be configured with at least one software module in order to perform operations according to the present invention.
A module or programming module according to an embodiment of the present invention may include at least one of the above components, and some of the components can be omitted or additional components can be added. The modules, programming module, or operations performed by other components can be implemented serially, parallel, repeatedly, or in a heuristic method. Further, some operations can be performed in a different sequence, omitted, or added by other operations.
A method for controlling an output in an electronic device according to an embodiment of the present invention processes a hovering input by considering an inclination sate of a touch input tool, such that the touch input tool can be more intuitively utilized.
An electronic device according to an embodiment of the present invention varies an output thereof according to an inclination state of a touch input tool, in order to provide an output more appropriately corresponding to a hovering input.
While the present invention has been particularly shown and described with reference to certain embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
10-2014-0093787 | Jul 2014 | KR | national |