CN105786249B - Terminal control method and terminal - Google Patents
Terminal control method and terminal Download PDFInfo
- Publication number
- CN105786249B CN105786249B CN201610105855.XA CN201610105855A CN105786249B CN 105786249 B CN105786249 B CN 105786249B CN 201610105855 A CN201610105855 A CN 201610105855A CN 105786249 B CN105786249 B CN 105786249B
- Authority
- CN
- China
- Prior art keywords
- area
- touch
- terminal
- preset
- pointer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
- G06F3/0418—Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04803—Split screen, i.e. subdividing the display area or the window area into separate subareas
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)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a terminal control method and a terminal, which can improve the accuracy and intelligence of terminal man-machine interaction while meeting the requirement of controlling the terminal by a single hand of a user, and the terminal control method comprises the following steps: when the area of the finger object entering the preset virtual point touch area is sensed to reach a preset threshold value, at least one distance value between the finger object and the sensor is obtained; calculating a touch coordinate corresponding to the pointing object according to at least one distance value; and controlling the first application icon in the touch coordinate in a preset area to be clicked so that the user can perform touch operation on the first application icon.
Description
Technical Field
The present invention relates to the field of terminals, and in particular, to a method for controlling a terminal and a terminal.
Background
With the continuous development of touch technology, the size of the touch screen of the terminal is continuously increased, and the difficulty of operating the terminal by one hand of a user is correspondingly increased.
At present, in order to improve the convenience of a user for operating a terminal with one hand, when the terminal recognizes that the user operates with one hand, the area of the display content of the terminal is reduced, so that the user can conveniently control the terminal with one hand.
However, the area of the display content of the terminal is reduced, so that the display content of the terminal is not clear to the user, misoperation is generated, and the accuracy and intelligence of man-machine interaction of the terminal are reduced.
Disclosure of Invention
In order to solve the technical problem, embodiments of the present invention desirably provide a method for controlling a terminal and a terminal, so that accuracy and intelligence of terminal human-computer interaction are improved while a user controls the terminal with one hand.
The technical scheme of the invention is realized as follows:
the embodiment of the invention provides a method for controlling a terminal, which comprises the following steps:
when the area of a finger object entering a preset virtual point contact area is sensed to reach a preset threshold value, acquiring at least one distance value between the finger object and a sensor;
calculating a touch coordinate corresponding to the pointer according to the at least one distance value;
and controlling a first application icon in the touch coordinate in a preset area to be clicked so that a user can perform touch operation on the first application icon.
Optionally, the calculating, according to the at least one distance value, a touch coordinate corresponding to the pointer includes:
calculating a virtual coordinate corresponding to the pointer according to the at least one distance value;
and converting the virtual coordinate corresponding to the pointing object into the touch coordinate corresponding to the pointing object according to the corresponding relation between the preset virtual coordinate and the touch coordinate.
Optionally, before obtaining at least one distance value between the pointer and the sensor, the method further includes:
sensing whether the pointer object exists in the preset virtual point contact area or not;
when the fact that the pointer enters the preset virtual point contact area is sensed, whether the area of the area, where the pointer enters the preset virtual point contact area, reaches the preset threshold value or not is sensed.
Optionally, before sensing whether the pointer object exists in the preset virtual point contact area, the method further includes:
and forming the preset virtual point contact area.
Optionally, after sensing whether the area where the pointer enters the preset virtual point-touch area reaches the preset threshold, the method further includes:
and when the area of the finger object entering the preset virtual point touch area is sensed to be not reached to the preset threshold value, no response is made.
An embodiment of the present invention further provides a terminal, including: an acquisition unit, a calculation unit and a control unit, wherein:
the acquisition unit is used for acquiring at least one distance value between the pointer and the sensor when the area, which induces that the pointer enters the preset virtual point contact area, reaches a preset threshold value;
the calculating unit is used for calculating the touch coordinate corresponding to the pointer according to the at least one distance value acquired by the acquiring unit;
the control unit is configured to control a first application icon in the touch coordinate calculated by the calculation unit in a preset to-be-clicked area, so that a user can perform touch operation on the first application icon.
Optionally, the computing unit is specifically configured to:
calculating a virtual coordinate corresponding to the pointer according to the at least one distance value acquired by the acquisition unit; and converting the virtual coordinate corresponding to the pointing object into the touch coordinate corresponding to the pointing object according to the corresponding relation between the preset virtual coordinate and the touch coordinate.
Optionally, the device further comprises a sensing unit for
Before the acquisition unit acquires at least one distance value between the pointer and the sensor, sensing whether the pointer exists in the preset virtual point contact area; when the fact that the pointer enters the preset virtual point contact area is sensed, whether the area of the area, where the pointer enters the preset virtual point contact area, reaches the preset threshold value or not is sensed.
Optionally, the touch screen further comprises a forming unit, configured to form the preset virtual touch area before the sensing unit senses whether the finger object is in the preset virtual touch area.
Optionally, the sensing unit is further configured to not respond when sensing that the area of the area where the pointer enters the preset virtual point touch area does not reach the preset threshold.
The embodiment of the invention provides a method for controlling a terminal and the terminal, wherein when the area of a preset virtual point touch area, into which a pointer is sensed, reaches a preset threshold value, at least one distance value between the pointer and a sensor is obtained; calculating a touch coordinate corresponding to the pointing object according to at least one distance value; the first application icon in the touch coordinate is controlled in the preset area to be clicked, so that the user can perform touch operation on the first application icon, and therefore, the requirement for reducing the area of the display content of the terminal is avoided, the requirement for controlling the terminal by one hand of the user is met, and meanwhile, the accuracy and the intelligence of man-machine interaction of the terminal are improved.
Drawings
FIG. 1 is a schematic diagram of an alternative hardware configuration of a mobile terminal implementing various embodiments of the present invention;
FIG. 2 is a communication system in which a mobile terminal of the present invention is capable of operating;
fig. 3 is a first flowchart illustrating a method for controlling a terminal according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a distance sensor according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a preset virtual touch area according to an embodiment of the present invention;
fig. 6 is a schematic flowchart of a method for controlling a terminal according to an embodiment of the present invention;
fig. 7 is a schematic flowchart of a method for controlling a terminal according to an embodiment of the present invention;
fig. 8 is a schematic flowchart of a method for controlling a terminal according to a fourth embodiment of the present invention;
FIG. 9 is a schematic diagram illustrating a display of a first application icon according to an embodiment of the present invention;
fig. 10 is a schematic flowchart of a method for controlling a terminal according to an embodiment of the present invention;
fig. 11 is a first schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 13 is a third schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 14 is a fourth schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a Personal Digital Assistant (PDA), a tablet computer (PAD), a Portable Multimedia Player (PMP), a navigation device, etc., and a stationary terminal such as a digital TV, a desktop computer, etc. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is an illustration of an alternative hardware architecture of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 1 may include a wireless communication unit 110, an audio/video (a/V) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 1 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetoothTMRadio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbeeTMAnd so on.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the location information module is a Global Positioning System (GPS) module. According to the current technology, the GPS module calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the GPS module can calculate speed information by continuously calculating current position information in real time.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 122, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 151. The image frames processed by the cameras 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the mobile communication module 112 in case of a phone call mode. The microphone 122 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The sensing unit 140 detects a current state of the mobile terminal 1 (e.g., an open or closed state of the mobile terminal 1), a position of the mobile terminal 1, presence or absence of contact (i.e., touch input) of a user with the mobile terminal 1, an orientation of the mobile terminal 1, acceleration or deceleration movement and direction of the mobile terminal 1, and the like, and generates a command or signal for controlling an operation of the mobile terminal 1. For example, when the mobile terminal 1 is implemented as a slide type mobile phone, the sensing unit 140 may sense whether the slide type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power or whether the interface unit 170 is coupled with an external device. The sensing unit 140 may include a proximity sensor 141 as will be described below in connection with a touch screen.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 1. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The identification module may store various information for authenticating a user using the mobile terminal 1 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 1 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 1 or may be used to transmit data between the mobile terminal and the external device.
In addition, when the mobile terminal 1 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 1 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner.
The output unit 150 may include a display unit 151, an audio output module 152, and the like.
The display unit 151 may display information processed in the mobile terminal 1. For example, when the mobile terminal 1 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 1 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The display unit 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to see from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. The mobile terminal 1 may comprise two or more display units (or other display means) according to a particularly desired embodiment, for example, the mobile terminal may comprise an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 1 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The memory 160 may store software programs and the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, and the like) that has been or will be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 1 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to this point, mobile terminals have been described in terms of their functionality. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 1 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to the present invention is operable will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of mobile terminals 1, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC 280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC 280 is also configured to interface with a BSC275, which may be coupled to the BS 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 2750.
Each BS 270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS 270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz, 5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS 270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each partition of a particular BS 270 may be referred to as a plurality of cell sites.
In fig. 2, several Global Positioning System (GPS) satellites 300 are shown, the satellites 300 assisting in locating at least one of the plurality of mobile terminals 1.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module, which is the location information module 115 shown in fig. 1, is generally configured to cooperate with the satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS 270 receives reverse link signals from various mobile terminals 1. The mobile terminal 1 is typically engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular BS 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC 280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC 280, the MSC interfaces with the BSC275, and the BSC275 accordingly controls the BS 270 to transmit forward link signals to the mobile terminal 1.
Based on the above mobile terminal hardware structure and communication system, the present invention provides various embodiments of the method.
It should be noted that the unlocking apparatus provided in the embodiment of the present invention may be divided into two sides, that is, a mobile terminal side and a user equipment side, where the mobile terminal and the user equipment implementing the embodiment of the present invention may be the same device or different devices. The following description specifically describes the user device as a wearable device.
Example one
Fig. 3 is a first flowchart of a method for controlling a terminal according to an embodiment of the present invention, where the method includes:
step 101: when the area of the finger object entering the preset virtual point touch area is sensed to reach a preset threshold value, at least one distance value between the finger object and the sensor is obtained;
wherein the pointing object comprises a user's hand, or a touch device usable for touch control of the terminal.
The sensor comprises a distance sensor and is used for acquiring the distance between the pointer and the sensor when the pointer is within the sensing range of the distance sensor. It should be added that the sensing range of the sensor is a three-dimensional space, and when a pointing object such as a finger of a user enters the sensing range of the sensor, the sensor obtains the distance from the pointing object to the sensor.
It should be noted that at least one sensor is disposed on the terminal, and accordingly, the pointer and each sensor correspond to a distance value respectively.
Referring to fig. 4, a terminal provided with 5 distance sensors will be described as an example. Wherein, every black point corresponds a distance inductor, is provided with distance inductor 1 on the terminal, apart from inductor 2, apart from inductor 3, apart from inductor 4 and apart from inductor 5. When a pointing object, such as a user's finger, enters the sensing range of the distance sensor, 5 distance values can be obtained: l1, L2, L3, L4 and L5. Wherein, L1 is the distance value between the pointer and the distance sensor 1, L2 is the distance value between the pointer and the distance sensor 2, L3 is the distance value between the pointer and the distance sensor 3, L4 is the distance value between the pointer and the distance sensor 4, and L5 is the distance value between the pointer and the distance sensor 5.
And presetting a virtual point touch area, wherein the virtual point touch area comprises a sensing range of at least one sensor arranged on the terminal. It should be noted that the preset virtual touch region is set according to an actual situation, and this is not specifically limited in the embodiment of the present invention.
Referring to fig. 5, the preset virtual touch area will be described by taking the terminal held by the right hand of the user as an example. In practical applications, if the user holds the terminal with the right hand, the area E (see fig. 5) is an area that is not easily touched by the user. When the user wishes to touch the area E, the user may extend the finger forward as much as possible, so that the palm of the user may cover a part of the area of the terminal, i.e., the area F (see fig. 5), that is, the area where the terminal senses that the finger object enters the preset virtual touch area. When the area of the region F reaches the preset threshold, it indicates that the user holds the terminal with one hand and the user wishes to touch a region that is not easily touched.
Step 102: calculating a touch coordinate corresponding to the pointing object according to at least one distance value;
understandably, the touch coordinates corresponding to the pointing object include areas that are not easily touched by the user.
Specifically, the terminal calculates a touch coordinate corresponding to the pointer according to at least one distance value, including: calculating a virtual coordinate corresponding to the pointing object according to at least one distance value; and converting the virtual coordinate corresponding to the pointer into the touch coordinate corresponding to the pointer according to the corresponding relation between the preset virtual coordinate and the touch coordinate.
In practical application, the terminal can calculate the virtual coordinate corresponding to the pointer through many methods. For example, with reference to fig. 4, the point at the center of the screen of the terminal is taken as the origin of the three-dimensional coordinate system, and it is determined that the pointing object corresponds to a certain area in A, B, C, D; if the pointer corresponds to the area A, 3 distance values L1, L2 and L3 obtained according to the 3 distance sensors of the area A, namely the distance sensor 1, the distance sensor 2 and the distance sensor 3, utilize a distance formula between two points in a three-dimensional space:
wherein, (x, y, z) is the virtual coordinate corresponding to the pointer, namely the three-dimensional space coordinate of the pointer, (x)1,y1,z1) Is the three-dimensional space coordinate of the distance sensor 1, (x)2,y2,z2) Is a distance sensor2, (x) in three dimensions3,y3,z3) Is a three-dimensional spatial coordinate from the sensor 3. In addition, the coordinate values (x) of the distance sensor 1, the distance sensor 2, and the distance sensor 31,y1,z1)、(x2,y2,z2) And (x)3,y3,z3) Are preset, i.e. known values. The distance values L1, L2, and L3 are values obtained by the distance sensor 1, the distance sensor 2, and the distance sensor 3. Through the three distance formulas, the virtual coordinate (x, y, z) corresponding to the pointer can be calculated.
Understandably, the terminal converts the virtual coordinate corresponding to the pointer into the touch coordinate corresponding to the pointer according to the corresponding relation between the preset virtual coordinate and the touch coordinate, and the conversion can be realized in various ways. For example, a touch screen of the terminal is subdivided into a plurality of squares, each square is represented by touch screen coordinates, a mapping table of virtual coordinates corresponding to the pointing object and touch coordinates corresponding to the pointing object is preset, that is, the virtual coordinates and the touch coordinates are in one-to-one correspondence, so that the virtual coordinates corresponding to the pointing object are converted into the touch coordinates corresponding to the pointing object through the mapping table.
Step 103: and controlling the first application icon in the touch coordinate in a preset area to be clicked so that the user can perform touch operation on the first application icon.
The area to be clicked is preset and is an area which is easy to touch when a preset user operates the terminal with one hand. It should be noted that the preset area to be clicked is set according to actual conditions.
The first application icon comprises an application icon of an application program prestored on the terminal. It should be noted that the application programs prestored in the terminal include various applications, such as a broadcast application, a short message application, a navigation application, a camera application, a recording application, a multimedia application, and the like.
Understandably, the touch coordinates corresponding to the pointer object include an area which is not easily touched by the user, that is, the first application icon in the touch coordinates includes an application icon which is not easily touched when the user operates the terminal with one hand. The first application icon in the touch coordinate is controlled in the preset area to be clicked, so that the application icon which is not easy to touch when the user operates the terminal with one hand is controlled in the area which is easy to touch by the user, and the user can conveniently perform touch operation on the first application icon.
In practical applications, the terminal controls the first application icon in the touch coordinate to be in the preset to-be-clicked area, which can be implemented in various ways, for example, the first application icon in the touch coordinate is displayed in the preset to-be-clicked area. Referring to fig. 9, the first application icon in the touch coordinates is popped up in the form of a semi-transparent pop-up box and is moved to a preset to-be-clicked area (see fig. 9, the first application icon is moved from a position a to a position B), such as a middle area of a terminal touch screen, so that the user can perform a touch operation on the first application icon.
Exemplarily, fig. 6 is a schematic flowchart of a method for controlling a terminal according to an embodiment of the present invention, referring to fig. 7, before acquiring at least one distance value between a pointing object and a sensor, the method further includes steps 104 to 105, specifically:
step 104: sensing whether a pointer exists in a preset virtual point contact area or not;
step 105: when sensing that the finger object enters the preset virtual point contact area, sensing whether the area of the area where the finger object enters the preset virtual point contact area reaches a preset threshold value or not.
In practical applications, the preset threshold may be set according to practical situations. For example, the preset threshold may be set to 90%, that is, when the area of the region where the pointer enters the preset virtual touch region reaches 90% or more of the area of the preset virtual touch region, the area of the region where the pointer enters the preset virtual touch region reaches the preset threshold.
Optionally, fig. 7 is a schematic flowchart of a method for controlling a terminal according to an embodiment of the present invention, referring to fig. 7, before step 104, the method further includes step 106, specifically:
step 106: and forming a preset virtual point contact area.
The preset virtual point touch area comprises a sensing range of at least one sensor arranged on the terminal. If the user wants to touch an area which is not easy to touch, the user can stretch the fingers forwards as far as possible, so that the palm of the user can cover a part of the area of the terminal, namely the terminal senses that the finger object enters the area of the preset virtual point touch area. It should be noted that the preset virtual touch region is set according to an actual situation, and this is not specifically limited in the embodiment of the present invention.
Optionally, fig. 8 is a fourth schematic flowchart of a method for controlling a terminal according to an embodiment of the present invention, and referring to fig. 8, after step 105, the method further includes step 107, specifically:
step 107: and when the area of the area, in which the pointer enters the preset virtual point touch area, is sensed to be not reach the preset threshold value, no response is made.
Understandably, if the terminal senses that the area of the area where the pointer enters the preset virtual point touch area does not reach the preset threshold value, it indicates that the user is not in a state of holding the terminal with one hand and the user wants to touch the area which is not easy to touch.
Example two
Fig. 10 is a schematic flowchart of a method for controlling a terminal according to an embodiment of the present invention, and referring to fig. 10, the method includes:
step 801: forming a preset virtual point contact area;
the preset virtual point touch area comprises a sensing range of at least one sensor arranged on the terminal. If the user wants to touch an area which is not easy to touch, the user can stretch the fingers forwards as far as possible, so that the palm of the user can cover a part of the area of the terminal, namely the terminal senses that the finger object enters the area of the preset virtual point touch area. It should be noted that the preset virtual touch region is set according to an actual situation, and this is not specifically limited in the embodiment of the present invention.
Step 802: sensing whether a pointer exists in a preset virtual point contact area or not;
wherein the pointing object comprises a finger of a user or a touch device which can be used for a touch terminal.
Step 803: when sensing that a pointer enters the preset virtual point contact area, sensing whether the area of the area where the pointer enters the preset virtual point contact area reaches a preset threshold value, and if not, executing a step 804; if yes, go to step 805;
understandably, if the terminal senses that the area of the area where the pointer enters the preset virtual point touch area reaches the preset threshold value, the user holds the terminal with one hand and the user wants to touch the area which is not easy to touch.
Step 804: and when the area of the area, in which the pointer enters the preset virtual point touch area, is sensed to be not reach the preset threshold value, no response is made.
Step 805: when the area of the finger object entering the preset virtual point touch area is sensed to reach a preset threshold value, at least one distance value between the finger object and the sensor is obtained;
the sensor comprises a distance sensor and is used for acquiring the distance between the pointer and the sensor when the pointer is within the sensing range of the distance sensor. It should be added that the sensing range of the sensor is a three-dimensional space, and when a pointing object such as a finger of a user enters the sensing range of the sensor, the sensor obtains the distance from the pointing object to the sensor.
Step 806: calculating a touch coordinate corresponding to the pointing object according to at least one distance value;
understandably, the touch coordinates corresponding to the pointing object include areas that are not easily touched by the user.
Step 807: and controlling the first application icon in the touch coordinate in a preset area to be clicked so that the user can perform touch operation on the first application icon.
The area to be clicked is preset and is an area which is easy to touch when a preset user operates the terminal with one hand. It should be noted that the preset area to be clicked is set according to actual conditions.
The first application icon comprises an application icon of an application program prestored on the terminal.
Understandably, the touch coordinates corresponding to the pointer object include an area which is not easily touched by the user, that is, the first application icon in the touch coordinates includes an application icon which is not easily touched when the user operates the terminal with one hand. The first application icon in the touch coordinate is controlled in the preset area to be clicked, so that the application icon which is not easy to touch when the user operates the terminal with one hand is controlled in the area which is easy to touch by the user, and the user can conveniently perform touch operation on the first application icon.
The embodiment of the invention provides a method for controlling a terminal, which comprises the steps of obtaining at least one distance value between a pointer and a sensor when sensing that the area of the pointer entering a preset virtual point touch area reaches a preset threshold value; calculating a touch coordinate corresponding to the pointing object according to at least one distance value; the first application icon in the touch coordinate is controlled in the preset area to be clicked, so that the user can perform touch operation on the first application icon, and therefore, the requirement for reducing the area of the display content of the terminal is avoided, the requirement for controlling the terminal by one hand of the user is met, and meanwhile, the accuracy and the intelligence of man-machine interaction of the terminal are improved.
EXAMPLE III
Fig. 11 is a schematic structural diagram of a terminal according to an embodiment of the present invention, and referring to fig. 11, the terminal 1 includes: an acquisition unit 101, a calculation unit 102, and a control unit 103, wherein:
the acquisition unit 101 is used for acquiring at least one distance value between the pointer and the sensor when the area of the pointer entering the preset virtual point touch area is sensed to reach a preset threshold value;
the calculating unit 102 is configured to calculate a touch coordinate corresponding to the pointing object according to the at least one distance value acquired by the acquiring unit 101;
the control unit 103 is configured to control the first application icon in the touch coordinate calculated by the calculation unit 102 in a preset to-be-clicked area, so that a user performs a touch operation on the first application icon.
Further, the calculating unit 102 is specifically configured to: calculating a virtual coordinate corresponding to the pointing object according to at least one distance value acquired by the acquisition unit 101; and converting the virtual coordinate corresponding to the pointer into the touch coordinate corresponding to the pointer according to the corresponding relation between the preset virtual coordinate and the touch coordinate.
Further, referring to fig. 12, the terminal 1 further includes a sensing unit 104, configured to sense whether there is a pointer in the preset virtual point contact area before the obtaining unit 101 obtains at least one distance value between the pointer and the sensor; when sensing that the finger object enters the preset virtual point contact area, sensing whether the area of the area where the finger object enters the preset virtual point contact area reaches a preset threshold value or not.
Further, referring to fig. 13, the terminal 1 further includes a forming unit 105 for forming the preset virtual touch region before the sensing unit 104 senses whether there is a pointer in the preset virtual touch region.
Further, the sensing unit 104 is further configured to not respond when sensing that the area of the area where the pointer enters the preset virtual touch area does not reach the preset threshold.
Example four
Fig. 14 is a schematic structural diagram of a terminal according to an embodiment of the present invention, and referring to fig. 14, the terminal includes a processor 106, an inductor 107, a memory 108, and a bus 109.
Specifically, the obtaining unit 101, the calculating unit 102, the controlling unit 103 and the forming unit 105 in the third embodiment can be implemented by a processor 106 located on the terminal, specifically, a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP) or a Field Programmable Gate Array (FPGA). The sensing unit 104 in the third embodiment can be implemented by the sensor 107 on the terminal. A memory 108 may be coupled to processor 106 and sensor 107 via system bus 109, wherein memory 108 is configured to store executable program code comprising computer operating instructions, and wherein memory 108 may comprise high speed RAM memory and may further comprise non-volatile memory, such as at least one disk memory.
It should be noted that the terminal in the embodiment of the present invention includes an intelligent terminal with a touch screen, such as a smart phone, a smart television, a tablet computer, and the like.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.
Claims (10)
1. A method of controlling a terminal, comprising:
when a user holds the terminal with one hand, touches a region except a preset virtual point touch region on the terminal, and senses that the area of the region where a pointer enters the preset virtual point touch region reaches a preset threshold value, acquiring at least one distance value between the pointer and a sensor; the pointing object is a user's hand;
calculating a touch coordinate corresponding to the pointer according to the at least one distance value;
controlling a first application icon in the touch coordinate in a preset area to be clicked so that a user can perform touch operation on the first application icon;
wherein, the controlling the first application icon in the touch coordinate in a preset area to be clicked comprises: and controlling the first application icon in the touch coordinate to pop up in the preset area to be clicked in a semi-transparent pop-up box mode.
2. The method according to claim 1, wherein the calculating the touch coordinate corresponding to the pointing object according to the at least one distance value comprises:
calculating a virtual coordinate corresponding to the pointer according to the at least one distance value;
and converting the virtual coordinate corresponding to the pointing object into the touch coordinate corresponding to the pointing object according to the corresponding relation between the preset virtual coordinate and the touch coordinate.
3. The method of claim 1, wherein prior to obtaining at least one distance value of the pointing object from a sensor, the method further comprises:
sensing whether the pointer object exists in the preset virtual point contact area or not;
when the fact that the pointer enters the preset virtual point contact area is sensed, whether the area of the area, where the pointer enters the preset virtual point contact area, reaches the preset threshold value or not is sensed.
4. The method of claim 3, wherein prior to sensing whether the pointer is within the predetermined virtual point-of-contact area, the method further comprises:
and forming the preset virtual point contact area.
5. The method of claim 3, wherein after sensing whether the area where the pointer enters the preset virtual point-and-touch area reaches the preset threshold, the method further comprises:
and when the area of the finger object entering the preset virtual point touch area is sensed to be not reached to the preset threshold value, no response is made.
6. A terminal, comprising: an acquisition unit, a calculation unit and a control unit, wherein:
the acquisition unit is used for acquiring at least one distance value between a pointer and an inductor when a user holds the terminal with one hand, touches a region except a preset virtual point touch region on the terminal and senses that the area of the region where the pointer enters the preset virtual point touch region reaches a preset threshold value; the pointing object is a user's hand;
the calculating unit is used for calculating the touch coordinate corresponding to the pointer according to the at least one distance value acquired by the acquiring unit;
the control unit is used for controlling a first application icon in the touch coordinate calculated by the calculation unit in a preset area to be clicked so that a user can perform touch operation on the first application icon;
the control unit is specifically configured to control the first application icon in the touch coordinate to pop up in the preset to-be-clicked area in a form of a semi-transparent pop-up box.
7. The terminal according to claim 6, wherein the computing unit is specifically configured to:
calculating a virtual coordinate corresponding to the pointer according to the at least one distance value acquired by the acquisition unit; and converting the virtual coordinate corresponding to the pointing object into the touch coordinate corresponding to the pointing object according to the corresponding relation between the preset virtual coordinate and the touch coordinate.
8. The terminal of claim 6, further comprising a sensing unit for sensing the presence of a user
Before the acquisition unit acquires at least one distance value between the pointer and the sensor, sensing whether the pointer exists in the preset virtual point contact area; when the fact that the pointer enters the preset virtual point contact area is sensed, whether the area of the area, where the pointer enters the preset virtual point contact area, reaches the preset threshold value or not is sensed.
9. The terminal of claim 8, further comprising a forming unit configured to form the predetermined virtual touch area before the sensing unit senses whether the finger is in the predetermined virtual touch area.
10. The terminal according to claim 8, wherein the sensing unit is further configured to not respond when it is sensed that the area of the pointing object entering the preset virtual point-touch area does not reach the preset threshold.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610105855.XA CN105786249B (en) | 2016-02-25 | 2016-02-25 | Terminal control method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610105855.XA CN105786249B (en) | 2016-02-25 | 2016-02-25 | Terminal control method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105786249A CN105786249A (en) | 2016-07-20 |
CN105786249B true CN105786249B (en) | 2020-08-11 |
Family
ID=56403027
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610105855.XA Active CN105786249B (en) | 2016-02-25 | 2016-02-25 | Terminal control method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105786249B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104321729A (en) * | 2012-06-14 | 2015-01-28 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and touch control method for terminal |
CN104407753A (en) * | 2014-10-31 | 2015-03-11 | 东莞宇龙通信科技有限公司 | Operation method of touch screen interface and terminal equipment |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102681750B (en) * | 2011-03-14 | 2014-04-23 | 联想(北京)有限公司 | Method, display device and electronic device for movably displaying target |
CN102981715B (en) * | 2012-12-11 | 2016-12-21 | 广州华多网络科技有限公司 | A kind of icon display method, microprocessor and mobile terminal |
CN103294346B (en) * | 2013-06-20 | 2018-03-06 | 锤子科技(北京)有限公司 | The window moving method and its device of a kind of mobile device |
KR102140290B1 (en) * | 2013-12-03 | 2020-07-31 | 삼성전자주식회사 | Method for processing input and an electronic device thereof |
CN103870117B (en) * | 2014-02-18 | 2017-07-25 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
CN104820599B (en) * | 2015-05-11 | 2018-04-06 | 上海斐讯数据通信技术有限公司 | Electric terminal and its control method and system based on distance-sensor of application |
CN105183286A (en) * | 2015-08-31 | 2015-12-23 | 小米科技有限责任公司 | Desktop icon control method and apparatus and terminal |
CN105278752B (en) * | 2015-10-30 | 2018-08-14 | 努比亚技术有限公司 | A kind of touch-operated device and method |
-
2016
- 2016-02-25 CN CN201610105855.XA patent/CN105786249B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104321729A (en) * | 2012-06-14 | 2015-01-28 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and touch control method for terminal |
CN104407753A (en) * | 2014-10-31 | 2015-03-11 | 东莞宇龙通信科技有限公司 | Operation method of touch screen interface and terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN105786249A (en) | 2016-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106130734A (en) | The control method of mobile terminal and control device | |
CN105138260A (en) | Application switching method and terminal | |
CN106897018B (en) | Gesture operation method and device and mobile terminal | |
CN106648324B (en) | Hidden icon control method and device and terminal | |
CN106657602A (en) | Conversation screen-off system based on proximity sensor and mobile terminal | |
CN106598538B (en) | Instruction set updating method and system | |
CN106412301A (en) | Screen control system based on proximity sensor and mobile terminal | |
CN106028090A (en) | Mobile terminal and video recording method thereof | |
CN105791541B (en) | Screenshot method and mobile terminal | |
CN105955474B (en) | Application evaluation prompting method and mobile terminal | |
CN106444983A (en) | Device and method for achieving computer external connection function | |
CN105302441A (en) | Screen size adjustment method and terminal device | |
CN106095308B (en) | The method of mobile terminal and dummy keyboard false-touch prevention | |
CN105183327B (en) | A kind of method of terminal and terminal operation | |
CN105528137B (en) | Method and device for self-adaptive screen capture according to shielded area | |
CN106484271A (en) | A kind of device, method and mobile terminal controlling mobile terminal based on user gesture | |
CN106254596A (en) | A kind of kneading identification system based on proximity transducer and mobile terminal | |
CN105872233A (en) | Display method and terminal | |
CN105721757A (en) | Device and method for adjusting photographing parameters | |
CN105138235A (en) | Picture processing apparatus and method | |
CN104932711A (en) | Method and device for realizing input mode switching | |
CN106775069B (en) | Pressure compensation method and system | |
CN106055154B (en) | A kind of contact action control method and device and mobile terminal | |
CN106484183A (en) | A kind of pressing identifying system based on proximity transducer, method and mobile terminal | |
CN105786249B (en) | Terminal control method and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |