CN105468133B - Touch processing method and device - Google Patents

Touch processing method and device Download PDF

Info

Publication number
CN105468133B
CN105468133B CN201410422874.6A CN201410422874A CN105468133B CN 105468133 B CN105468133 B CN 105468133B CN 201410422874 A CN201410422874 A CN 201410422874A CN 105468133 B CN105468133 B CN 105468133B
Authority
CN
China
Prior art keywords
interface
searching
distance
touch object
touch
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
Application number
CN201410422874.6A
Other languages
Chinese (zh)
Other versions
CN105468133A (en
Inventor
贾鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410422874.6A priority Critical patent/CN105468133B/en
Priority to PCT/CN2014/095413 priority patent/WO2015117526A1/en
Publication of CN105468133A publication Critical patent/CN105468133A/en
Application granted granted Critical
Publication of CN105468133B publication Critical patent/CN105468133B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The invention discloses a touch processing method, which comprises the following steps: acquiring the distance between a touch object and a screen, and searching a corresponding interface identifier in a corresponding relation stored by the touch object according to a preset range where the acquired distance is located; and switching the current first interface into a second interface corresponding to the searched interface identifier. The invention improves the experience degree of the user.

Description

Touch processing method and device
Technical Field
The present invention relates to the field of touch technologies, and in particular, to a touch processing method and device.
Background
The popularization of touch screen devices makes touch interaction a basic operation mode of intelligent mobile terminals. At present, the operation homogeneity (i.e. the phenomenon that commodities of different brands in the same category are mutually simulated in performance, appearance and even marketing means and gradually converge) of the mobile terminal is high, and the operation experience of a user cannot be met.
When the user finishes operations of different scenes or different types on the existing touch screen, the operation interface needs to be manually switched first, and the user experience degree is low.
Disclosure of Invention
In order to solve the above problems, the present invention provides a touch processing method and device, which can automatically switch an operation interface, thereby improving user experience.
In order to achieve the above object, the present invention provides a touch processing method, including:
acquiring the distance between a touch object and a screen, and searching a corresponding interface identifier in a corresponding relation stored by the touch object according to a preset range where the acquired distance is located;
and switching the current first interface into a second interface corresponding to the searched interface identifier.
Preferably, the method further comprises the following steps: and performing corresponding operation according to the action of the touch object.
Preferably, when it is detected that the interface is switched to the closed state, the step of searching for the corresponding interface identifier is not executed;
the corresponding operation according to the action of the touch object comprises the following steps: and performing corresponding operation according to the action of the touch object at any height within the detectable distance range.
Preferably, when it is detected that the interface is switched to the on state, the performing corresponding operation according to the motion of the touch object includes:
and performing corresponding operation according to the action of the touch object in the preset range.
Preferably, the distance between the touch object and the screen is repeatedly acquired for N times within a preset time, and when the distances acquired for N times are all within the same preset range, the step of searching for the corresponding interface identifier is executed; wherein N is a positive integer greater than or equal to 1.
Preferably, before the switching the current first interface to the second interface corresponding to the searched interface identifier, the method further includes:
and saving the interface state data of the first interface.
Preferably, after the switching the current first interface to the second interface corresponding to the searched interface identifier, the method further includes:
and searching the interface state data corresponding to the interface identifier in the self-stored interface state data, and displaying the searched interface state data on the second interface.
The present invention further provides a touch processing apparatus, at least comprising:
the acquisition module is used for acquiring the distance between the touch object and the screen;
the searching module is used for searching the corresponding interface identification in the corresponding relation stored by the searching module according to the preset range of the obtained distance;
and the switching module is used for switching the current first interface into a second interface corresponding to the searched interface identifier.
Preferably, the method further comprises the following steps:
and the processing module is used for carrying out corresponding operation according to the action of the touch object.
Preferably, the lookup module is further configured to:
detecting that the interface is switched to a closed state, and not executing the step of searching the corresponding interface identifier;
the processing module is specifically configured to:
and performing corresponding operation according to the action of the touch object at any height within the detectable distance range.
Preferably, the lookup module is further configured to:
when the interface is detected to be switched to the opening state, sending indication information to the processing module;
the processing module is specifically configured to:
and receiving indication information, and performing corresponding operation according to the action of the touch object in the preset range.
Preferably, the obtaining module is specifically configured to:
repeatedly acquiring the distance between the touch object and the screen for N times within preset time;
the search module is specifically configured to:
when the distances obtained in N times are all in the same preset range, the step of searching the corresponding interface identification is executed; wherein N is a positive integer greater than or equal to 1.
Preferably, before the switching the current first interface to the second interface corresponding to the found interface identifier, the switching module is further configured to:
and saving the interface state data of the first interface.
Preferably, after the switching the current first interface to the second interface corresponding to the found interface identifier, the switching module is further configured to:
and searching the interface state data corresponding to the interface identifier in the self-stored interface state data, and displaying the searched interface state data on the second interface.
Compared with the prior art, the invention comprises the following steps: acquiring the distance between a touch object and a screen, and searching a corresponding interface identifier in a corresponding relation stored by the touch object according to a preset range where the acquired distance is located; and switching the current first interface into a second interface corresponding to the searched interface identifier. According to the scheme of the invention, different interfaces are displayed when the distance between the touch object and the screen is in different preset ranges, so that the automatic switching of the operation interfaces according to the distance between the touch object and the screen is realized, the manual switching of the operation interfaces is not required, and the user experience is improved.
Furthermore, corresponding operation can be performed according to the action of the touch object within a preset range or within any height range of a detectable distance range, and the touch object is not required to contact a screen to perform corresponding operation, so that the suspension operation is realized, and the user experience is improved.
Furthermore, the distance between the touch object and the screen is obtained for multiple times within the preset time, so that the misoperation rate of the user is reduced.
Drawings
The accompanying drawings in the embodiments of the present invention are described below, and the drawings in the embodiments are provided for further understanding of the present invention, and together with the description serve to explain the present invention without limiting the scope of the present invention.
FIG. 1 is a flowchart illustrating a touch processing method according to the present invention;
fig. 2 is a schematic structural composition diagram of a touch processing device according to the present invention.
Detailed Description
The following further description of the present invention, in order to facilitate understanding of those skilled in the art, is provided in conjunction with the accompanying drawings and is not intended to limit the scope of the present invention.
Referring to fig. 1, the present invention provides a touch processing method, including:
and step 100, acquiring the distance between the touch object and the screen, and searching the corresponding interface identifier in the corresponding relation stored by the touch object according to the preset range where the acquired distance is located.
In the step, repeatedly acquiring the distance between the touch object and the screen for N times within preset time, and when the distances acquired for N times are within the same preset range, executing the step of searching for the corresponding interface identifier; wherein N is a positive integer greater than or equal to 1.
When at least one of the preset ranges of the distances obtained in the N times is different from the preset ranges of the distances obtained in other times, the process is ended.
In this step, the touch object may be a finger or a stylus.
In this step, a distance sensor, or a camera, or a self-capacitance touch screen may be used to obtain the distance between the touch object and the screen, and the specific implementation belongs to the conventional technical means of those skilled in the art, and is not described herein again.
In this step, the preset range may be determined according to the range of the distance and the number of interfaces that can be detected. For example, when the distance detectable by the terminal is 20 mm and the number of interfaces is 5, the preset range may be 1 to 4 mm, 4 to 8 mm, 8 to 12 mm, 12 to 16 mm, and 16 to 20 mm. Wherein 1 to 4 mm corresponds to interface 1, 4 to 8 mm corresponds to interface 2, 8 to 12 mm corresponds to interface 3, 12 to 16 mm corresponds to interface 4, and 16 to 20 mm corresponds to interface 5.
In this step, when it is detected that the interface is switched to the closed state, the step of searching for the corresponding interface identifier is not performed.
And when the interface is detected to be switched to the opening state, executing a searching step.
The interface switching on or off can be realized in a button mode, and when the button is on, the interface is switched to an on state; when the button is closed, the interface is switched to the closed state.
Step 101, switching the current first interface to a second interface corresponding to the searched interface identifier.
The method also comprises the following steps between the step 100 and the step 101: and saving the interface state data of the first interface. Wherein the interface state data of the first interface may be saved to a buffer.
In step 101, after the current first interface is switched to the second interface corresponding to the searched interface identifier, interface state data corresponding to the interface identifier may also be searched in the interface state data stored in the interface state data, and the searched interface state data is displayed on the second interface.
The touch processing method of the invention further comprises:
and 102, performing corresponding operation according to the motion of the touch object.
In this step, the motion of the touch object may be a click or a slide motion of the touch object within a preset range or within an arbitrary height range of a detectable distance range.
The click action refers to a change in height of the touch object within a preset range or a detectable distance range. For example, when the height becomes small, it is considered that a click action is performed.
When the interface is detected to be switched to the closed state, corresponding operation is carried out according to the action of the touch object in any height range of the detectable distance range, and therefore the misoperation rate of a user due to the change of the distance between the touch object and the screen in the operation process is reduced.
And when the interface is detected to be switched to the opening state, corresponding operation is carried out according to the action of the touch object in the preset range.
In this step, normal touch sensing, including multi-touch, can be achieved using mutual capacitance. The floating operation can be realized by adopting self-capacitance. The self-capacitance can generate a signal stronger than the mutual capacitance to detect the induction of a farther touch object, and the self-capacitance generates an electrode network above the screen, so that when the action of the touch object is within the range of the electrode network, the action of the touch object can be detected.
The motion of the touch object in the preset range can be identified by adopting self capacitance or a camera. The specific implementation method belongs to the conventional technical means of the technicians in the field and is not described in detail herein.
The method of the present invention will be described in detail below with reference to specific examples.
In the first embodiment, when the floating touch screen is used for short message editing, the input method interface is often required to be repeatedly switched in order to complete the input of different types of characters. When a short message editing interface is displayed on the touch screen, the distance between a finger and the screen is acquired, when the acquired distance is within a first preset range, a Chinese input method interface is displayed, and editing is performed through clicking action within the first preset range; when the obtained distance is within a second preset range, displaying an English input method interface, and editing through clicking action within the second preset range; and when the obtained distance is within a third preset range, displaying a digital input method interface, and editing by clicking within the third preset range. Thus, clicking actions in different height ranges can achieve input of different character types.
In the second embodiment, when a game is played, the interface is switched to be set in the closed state, so that different users can perform corresponding operations on the game in different height ranges of the detectable distance range.
In the third embodiment, when the chat software is used to chat with two friends at the same time, if the chat interface of the first friend is switched to the chat interface of the second friend in the operation process (for example, a menu is clicked), the operation of the chat interface of the first friend can be saved, and when the chat interface of the first friend is switched back, the previous operation is resumed.
Referring to fig. 2, the present invention further provides a touch processing apparatus, at least comprising:
the acquisition module is used for acquiring the distance between the touch object and the screen;
the searching module is used for searching the corresponding interface identification in the corresponding relation stored by the searching module according to the preset range of the obtained distance;
and the switching module is used for switching the current first interface into a second interface corresponding to the searched interface identifier.
The touch processing device of the present invention further includes:
and the processing module is used for carrying out corresponding operation according to the action of the touch object.
In the touch processing device of the present invention, the search module is further configured to:
detecting that the interface is switched to a closed state, and not executing the step of searching for the corresponding interface identifier;
the processing module is specifically configured to:
and performing corresponding operation according to the action of the touch object at any height within the detectable distance range.
In the touch processing device of the present invention, the search module is further configured to:
when the interface is detected to be switched to the opening state, sending indication information to the processing module;
the processing module is specifically configured to:
and receiving the indication information, and performing corresponding operation according to the action of the touch object in the preset range.
In the touch processing apparatus of the present invention, the obtaining module is specifically configured to:
repeatedly acquiring the distance between the touch object and the screen for N times within preset time;
the search module is specifically configured to:
when the distances obtained in the N times are in the same preset range, a step of searching for a corresponding interface identifier is executed; wherein N is a positive integer greater than or equal to 1.
In the touch processing device of the present invention, the switching module is further configured to, before switching the current first interface to the second interface corresponding to the searched interface identifier:
and saving the interface state data of the first interface.
In the touch processing device of the present invention, the switching module is further configured to, after switching the current first interface to the second interface corresponding to the searched interface identifier:
and searching the interface state data corresponding to the interface identifier in the self-stored interface state data, and displaying the searched interface state data on the second interface.
It should be noted that the above-mentioned embodiments are only for facilitating the understanding of those skilled in the art, and are not intended to limit the scope of the present invention, and any obvious substitutions, modifications, etc. made by those skilled in the art without departing from the inventive concept of the present invention are within the scope of the present invention.

Claims (14)

1. A touch processing method is characterized by comprising the following steps:
acquiring the distance between a touch object and a screen, and searching a corresponding interface identifier in a corresponding relation stored by the touch object according to a preset range where the acquired distance is located;
switching the current first interface into a second interface corresponding to the searched interface identifier;
and when the interface is detected to be switched to the closed state, performing corresponding operation according to the actions of the touch object in different height ranges of the detectable distance range.
2. The touch processing method according to claim 1, wherein after switching the current first interface to the second interface corresponding to the searched interface identifier, the method further comprises:
and when the interface is detected to be switched to the opening state, corresponding operation is carried out according to the action of the touch object in the preset range.
3. The touch processing method according to claim 1, wherein after obtaining the distance between the touch object and the screen, the method further comprises:
and when the interface is detected to be switched to the closed state, the step of searching the corresponding interface identifier is not executed.
4. The touch processing method according to claim 1, wherein after obtaining the distance between the touch object and the screen, the method further comprises:
and when the interface is detected to be switched to the opening state, executing the step of searching the corresponding interface identifier.
5. The touch processing method according to any one of claims 1 to 4, wherein the distance between the touch object and the screen is repeatedly obtained N times within a preset time, and when the distances obtained N times are all within the same preset range, the step of searching for the corresponding interface identifier is performed; wherein N is a positive integer greater than or equal to 1.
6. The touch processing method according to any one of claims 1 to 4, wherein before the switching the current first interface to the second interface corresponding to the found interface identifier, the method further includes:
and saving the interface state data of the first interface.
7. The touch processing method according to any one of claims 1 to 4, wherein after the switching the current first interface to the second interface corresponding to the found interface identifier, the method further includes:
and searching the interface state data corresponding to the interface identifier in the self-stored interface state data, and displaying the searched interface state data on the second interface.
8. A touch processing apparatus, comprising:
the acquisition module is used for acquiring the distance between the touch object and the screen;
the searching module is used for searching the corresponding interface identification in the corresponding relation stored by the searching module according to the preset range of the obtained distance;
the switching module is used for switching the current first interface into a second interface corresponding to the searched interface identifier;
and the processing module is used for carrying out corresponding operation according to the actions of the touch object in different height ranges of the detectable distance range when the interface is detected to be switched to the closed state.
9. The apparatus of claim 8, further comprising:
and the processing module is further used for performing corresponding operation according to the action of the touch object in the preset range when the interface is detected to be switched to the opening state after the current first interface is switched to the second interface corresponding to the searched interface identifier.
10. The apparatus of claim 9, wherein the lookup module is further configured to:
and after the distance between the touch object and the screen is obtained, when the interface is detected to be switched to the closed state, the step of searching the corresponding interface identifier is not executed.
11. The apparatus of claim 9, wherein the lookup module is further configured to:
and after the distance between the touch object and the screen is obtained, when the interface is detected to be switched to the opening state, executing the step of searching the corresponding interface identifier.
12. The apparatus according to any one of claims 8 to 11, wherein the obtaining module is specifically configured to:
repeatedly acquiring the distance between the touch object and the screen for N times within preset time;
the search module is specifically configured to:
when the distances obtained in N times are all in the same preset range, the step of searching the corresponding interface identification is executed; wherein N is a positive integer greater than or equal to 1.
13. The apparatus according to any one of claims 8 to 11, wherein the switching module is further configured to, before switching the current first interface to the second interface corresponding to the searched interface identifier:
and saving the interface state data of the first interface.
14. The apparatus according to any one of claims 8 to 11, wherein the switching module, after switching the current first interface to the second interface corresponding to the searched interface identifier, is further configured to:
and searching the interface state data corresponding to the interface identifier in the self-stored interface state data, and displaying the searched interface state data on the second interface.
CN201410422874.6A 2014-08-25 2014-08-25 Touch processing method and device Active CN105468133B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410422874.6A CN105468133B (en) 2014-08-25 2014-08-25 Touch processing method and device
PCT/CN2014/095413 WO2015117526A1 (en) 2014-08-25 2014-12-29 Touch control processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410422874.6A CN105468133B (en) 2014-08-25 2014-08-25 Touch processing method and device

Publications (2)

Publication Number Publication Date
CN105468133A CN105468133A (en) 2016-04-06
CN105468133B true CN105468133B (en) 2021-02-12

Family

ID=53777327

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410422874.6A Active CN105468133B (en) 2014-08-25 2014-08-25 Touch processing method and device

Country Status (2)

Country Link
CN (1) CN105468133B (en)
WO (1) WO2015117526A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775536B (en) * 2016-12-26 2020-07-03 宇龙计算机通信科技(深圳)有限公司 Double-screen switching method and device
CN108363542A (en) * 2018-03-13 2018-08-03 北京硬壳科技有限公司 Content interaction method based on suspension touch control and device
CN110448900B (en) * 2018-11-15 2024-03-22 网易(杭州)网络有限公司 Method and device for controlling object in game and game equipment
CN111045566B (en) * 2019-12-11 2022-02-08 上海传英信息技术有限公司 Stylus pen, terminal, control method thereof, and computer-readable storage medium
CN111638809A (en) * 2020-05-22 2020-09-08 讯飞幻境(北京)科技有限公司 Method, device, equipment and medium for acquiring touch information

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101765236A (en) * 2009-12-23 2010-06-30 宇龙计算机通信科技(深圳)有限公司 Mobile terminal interface switching method and mobile terminal
CN102446060A (en) * 2010-09-30 2012-05-09 Lg电子株式会社 Mobile terminal and method of controlling mobile terminal
CN103823609A (en) * 2012-11-19 2014-05-28 三星电子株式会社 Method and apparatus for providing user interface through proximity touch input
CN103853494A (en) * 2012-11-30 2014-06-11 三星电子株式会社 Electronic device for providing hovering input effects and method for controlling the same

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102129374B1 (en) * 2012-08-27 2020-07-02 삼성전자주식회사 Method for providing user interface, machine-readable storage medium and portable terminal
US9921626B2 (en) * 2012-09-28 2018-03-20 Atmel Corporation Stylus communication with near-field coupling

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101765236A (en) * 2009-12-23 2010-06-30 宇龙计算机通信科技(深圳)有限公司 Mobile terminal interface switching method and mobile terminal
CN102446060A (en) * 2010-09-30 2012-05-09 Lg电子株式会社 Mobile terminal and method of controlling mobile terminal
CN103823609A (en) * 2012-11-19 2014-05-28 三星电子株式会社 Method and apparatus for providing user interface through proximity touch input
CN103853494A (en) * 2012-11-30 2014-06-11 三星电子株式会社 Electronic device for providing hovering input effects and method for controlling the same

Also Published As

Publication number Publication date
WO2015117526A1 (en) 2015-08-13
CN105468133A (en) 2016-04-06

Similar Documents

Publication Publication Date Title
CN105468133B (en) Touch processing method and device
RU2621012C2 (en) Method, device and terminal equipment for processing gesture-based communication session
CN106201170B (en) A kind of the footmark processing method and terminal of application icon
KR101455145B1 (en) User touch operation mode adaptive method and device
CN106375179B (en) Method and device for displaying instant communication message
CN105264476A (en) Device, method, and graphical user interface for providing navigation and search functionalities
CN105094814A (en) Method and device for notification information display
CN102981711A (en) Method and system for moving application icons on touch screen
CN104541239A (en) Text select and enter
CN105653276A (en) Method and apparatus for language setting
CN105242870A (en) False touch method and device of terminal with touch screen
WO2015043399A1 (en) Voice aided communication method and device
CN104731500B (en) A kind of information processing method and electronic equipment
WO2015106510A1 (en) Screen splitting method and device for applications, intelligent terminal and storage medium
CN104765524A (en) Application switching method and device
CN105302458A (en) Message display method and apparatus
CN103959211A (en) Terminal and switching method of application function interface
CN107015797A (en) Application integrating display methods and application integrating display device
CN105468238A (en) File icon display method and device and equipment
WO2021017853A1 (en) Method for recommending operation sequence, terminal, and computer readable medium
CN105335198A (en) Font addition method and device
CN105242835A (en) Terminal and touch technology based menu selection method and apparatus
CN105511777A (en) Session display method and device of touch display screen
CN105592212A (en) Switching method and apparatus for scene mode of mobile terminal, and mobile terminal
CN105138256A (en) Cursor positioning method and apparatus and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant