WO2015117526A1 - Touch control processing method and device - Google Patents

Touch control processing method and device Download PDF

Info

Publication number
WO2015117526A1
WO2015117526A1 PCT/CN2014/095413 CN2014095413W WO2015117526A1 WO 2015117526 A1 WO2015117526 A1 WO 2015117526A1 CN 2014095413 W CN2014095413 W CN 2014095413W WO 2015117526 A1 WO2015117526 A1 WO 2015117526A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
touch object
module
identifier
distance
Prior art date
Application number
PCT/CN2014/095413
Other languages
French (fr)
Chinese (zh)
Inventor
贾鑫
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015117526A1 publication Critical patent/WO2015117526A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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

Definitions

  • the present invention relates to the field of touch technologies, and in particular, to a touch processing method and apparatus.
  • touch screen devices have made touch interaction a basic mode of operation for smart mobile terminals.
  • mobile terminals are homogenized in operation (that is, the products of different brands in the same large category are imitated in performance, appearance and even marketing means, and gradually converge), and the degree of operation is relatively high, which can no longer satisfy the user's operating experience.
  • the embodiment of the present invention provides a touch processing method and apparatus, which can automatically switch an operation interface, thereby improving user experience.
  • the embodiment of the invention provides a touch processing method, including:
  • the method further includes: performing corresponding operations according to the action of the touch object.
  • the step of searching for the corresponding interface identifier is not performed;
  • the corresponding operation according to the action of the touch object includes: performing corresponding operations according to the action of the touch object at any height of the distance range that can be detected.
  • the corresponding operations according to the action of the touch object include:
  • the distance between the touch object and the screen is repeatedly obtained N times in a preset time, and when the distances obtained by N times are all within the same preset range, the step of searching for the corresponding interface identifier is performed; , N is a positive integer greater than or equal to 1.
  • the method before the switching the current first interface to the second interface corresponding to the found interface identifier, the method further includes:
  • the interface state data of the first interface is saved.
  • the method further includes:
  • the embodiment of the invention further provides a touch processing device, which at least includes:
  • Obtaining a module configured to obtain a distance between the touch object and the screen
  • the search module is configured to search for a corresponding interface identifier in the corresponding relationship saved according to the preset range in which the obtained distance is located;
  • the switching module is configured to switch the current first interface to the second interface corresponding to the found interface identifier.
  • it also includes:
  • the processing module is configured to perform a corresponding operation according to the action of the touch object.
  • the searching module is further configured to:
  • the processing module is set to:
  • Corresponding operations are performed according to the action of the touch object at any height of the range of distances that can be detected.
  • the searching module is further configured to:
  • the processing module is set to:
  • Receiving the indication information performing corresponding operations according to the action of the touch object within the preset range.
  • the obtaining module is configured to:
  • the lookup module is set to:
  • the step of searching for the corresponding interface identifier is performed; wherein N is a positive integer greater than or equal to 1.
  • the switching module is further configured to save the interface state data of the first interface before the switching the current first interface to the second interface corresponding to the found interface identifier.
  • the switching module is further configured to: after the switching the current first interface to the second interface corresponding to the found interface identifier:
  • the embodiment of the invention further provides a computer program and a carrier thereof, the computer program comprising program instructions, when the program instruction is executed by the mobile terminal device, enabling the device to implement the touch processing method.
  • the embodiment of the present invention includes: obtaining a distance between the touch object and the screen, and searching for a corresponding interface identifier in the corresponding relationship saved according to the preset range in which the obtained distance is located; An interface is switched to a second interface corresponding to the found interface identifier.
  • different interfaces are displayed when the distance between the touch object and the screen is in different preset ranges, thereby realizing automatic switching of the operation interface according to the distance between the touch object and the screen, instead of Manual operation of the interface is required to switch, thus improving the user experience.
  • the embodiment of the present invention can also perform corresponding operations according to actions of the touch object within a preset range or within a range of distances that can be detected, without requiring the touch object to touch the screen to perform corresponding operations.
  • the floating operation increases the user experience.
  • the embodiment of the invention can also obtain the distance between the touch object and the screen multiple times within a preset time, thereby reducing the user's misoperation rate.
  • FIG. 1 is a flowchart of a touch processing method according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a touch processing device according to an embodiment of the present invention.
  • an embodiment of the present invention provides a touch processing method, including:
  • Step 100 Obtain a distance between the touch object and the screen, and search for a corresponding interface identifier in the corresponding relationship saved according to the preset range in which the obtained distance is located.
  • the distance between the touch object and the screen is repeatedly obtained N times in a preset time, and when the distances obtained by 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.
  • the process ends when at least one of the preset ranges in which the distances obtained by N times are different from the preset ranges in which the other obtained distances are located.
  • the touch object may be a finger or a stylus.
  • the distance sensor, or the camera, or the self-capacitance touch screen can be used to obtain the distance between the touch object and the screen.
  • the specific implementation is a conventional technical means by those skilled in the art, and details are not described herein again.
  • the preset range can be determined according to the range of distances that can be detected and the number of interfaces.
  • 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.
  • 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
  • 16 to 20 mm corresponds to interface 5.
  • the step of performing the search is performed.
  • the interface switching can be turned on or off in the form of a button.
  • the button When the button is on, it indicates that the interface is switched to the on state; when the button is off, the interface is switched to the off state.
  • Step 101 Switch the current first interface to the second interface corresponding to the found interface identifier.
  • the step 100 and the step 101 may further include: saving interface state data of the first interface.
  • the interface state data of the first interface may be saved in a buffer.
  • step 101 after the current first interface is switched to the second interface corresponding to the found interface identifier, the interface state data corresponding to the interface identifier may be searched in the interface state data saved by itself, and the interface state data to be found may be found. Displayed on the second interface.
  • Step 102 Perform corresponding operations according to the action of the touch object.
  • the action of the touch object may be a click or slide action of the touch object within a preset range or any height range of the distance range that can be detected.
  • the click action refers to a change in the height of the touch object within a preset range or a distance that can be detected. For example, when the height is small, it is considered that a click action has been performed.
  • the corresponding operation when detecting that the interface is switched to the off state, the corresponding operation is performed according to the action of the touch object in any height range of the distance range that can be detected, thereby reducing the user's touch object and the screen during the operation.
  • the corresponding operation is performed according to the action of the touch object within the preset range.
  • mutual capacitance can be achieved by using mutual capacitance, including multi-touch.
  • the self-capacitance can be used to implement the floating operation.
  • Self-capacitance can generate a stronger signal than mutual capacitance to detect farther touch object sensing.
  • Self-capacitance generates an electrode network at the top of the screen. When the touch object moves within the electrode network, it can detect the touch. The action of the object.
  • Self-capacitance or camera can also be used to identify the action of the touch object within the preset range.
  • the specific implementation method belongs to the technical means of those skilled in the art, and details are not described herein again.
  • the floating touch screen when using the floating touch screen for text message editing, it is often necessary to repeatedly switch the input method interface in order to complete different types of character input.
  • the interface of the short message editing is displayed on the touch screen, the distance between the finger and the screen is obtained.
  • the Chinese input method interface is displayed, and the click action is performed in the first preset range.
  • the obtained distance is within the second preset range
  • the English input method interface is displayed, and the click action is performed in the second preset range
  • the digital input method is displayed.
  • the interface is edited by clicking actions within the third preset range. In this way, different character types can be input by clicking on different height ranges.
  • the interface switching when the game is played, the interface switching is set to the off state, so that different users can perform corresponding operations on the game within different height ranges of the range of distances that can be detected.
  • the chat interface of the first friend is switched (such as clicking a menu) to the chat interface of the second friend, the first The operation of a friend's chat interface is saved, and when switching back to the chat interface of the first friend, the previous operation is resumed.
  • an embodiment of the present invention further provides a touch processing device, which is applicable to a mobile terminal device, where the mobile terminal device includes a processor, a program memory, and a data memory.
  • the touch processing device includes at least:
  • the acquisition module is adapted to obtain a distance between the touch object and the screen
  • the search module is configured to search for a corresponding interface identifier in the corresponding relationship saved according to the preset range in which the obtained distance is located;
  • the switching module is configured to switch the current first interface to the second interface corresponding to the found interface identifier.
  • the touch processing device of the present invention further includes:
  • the processing module is adapted to perform corresponding operations according to the action of the touch object.
  • the search module is further applicable to:
  • the processing module is specifically applicable to:
  • the corresponding operation is performed according to the action of the touch object at any height of the distance range that can be detected.
  • the search module is further applicable to:
  • the processing module is specifically applicable to:
  • Receiving the indication information performing corresponding operations according to the action of the touch object within the preset range.
  • the acquisition module is specifically adapted to:
  • the lookup module is specifically for:
  • the step of searching for the corresponding interface identifier is performed; wherein N is a positive integer greater than or equal to 1.
  • the switching module is further adapted to: before switching the current first interface to the second interface corresponding to the found interface identifier:
  • the switching module is further applicable to:
  • the touch processing method provided by the embodiment of the invention displays different interfaces when the distance between the touch object and the screen is in different preset ranges, and realizes the operation according to the distance between the touch object and the screen.
  • the automatic switching of the interface does not require manual switching of the operation interface, thereby improving the user experience.

Abstract

A touch control processing method, comprising: acquiring a distance between a touch control object and a screen, and searching for a corresponding interface identifier in a correlation saved thereby according to a pre-set range in which the obtained distance is located; and switching a current first interface to a second interface corresponding to the interface identifier found. The embodiments of the present invention improve the user experience degree.

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 apparatus.
背景技术Background technique
触屏设备的普及使得触摸交互成为智能移动终端的基本操作方式。目前,移动终端在操作上同质化(即同一大类中不同品牌的商品在性能、外观甚至营销手段上相互模仿,以至逐渐趋同的现象)程度比较高,已不能满足用户的操作体验。The popularity of touch screen devices has made touch interaction a basic mode of operation for smart mobile terminals. At present, mobile terminals are homogenized in operation (that is, the products of different brands in the same large category are imitated in performance, appearance and even marketing means, and gradually converge), and the degree of operation is relatively high, which can no longer satisfy the user's operating experience.
发明内容Summary of the invention
用户在现有的触屏上完成不同场景或者不同类型的操作时,需要先手动切换操作界面,用户体验度较低。When the user completes different scenarios or different types of operations on the existing touch screen, the user needs to manually switch the operation interface first, and the user experience is low.
为了解决上述问题,本发明实施例提出了一种触控处理方法和装置,能够自动切换操作界面,从而提高用户体验度。In order to solve the above problem, the embodiment of the present invention provides a touch processing method and apparatus, which can automatically switch an operation interface, thereby improving user experience.
本发明实施例提出了一种触控处理方法,包括:The embodiment of the invention provides a touch processing method, including:
获取触控物与屏幕之间的距离,根据获得的距离所在的预设范围,在自身保存的对应关系中查找对应的界面标识;Obtaining a distance between the touch object and the screen, and searching for a corresponding interface identifier in the corresponding relationship saved according to the preset range in which the obtained distance is located;
将当前的第一界面切换为查找到的界面标识对应的第二界面。Switching the current first interface to the second interface corresponding to the found interface identifier.
可选地,还包括:根据所述触控物的动作进行相应的操作。Optionally, the method further includes: performing corresponding operations according to the action of the touch object.
可选地,当检测到界面切换为关闭状态时,不执行所述查找对应的界面标识的步骤;Optionally, when detecting that the interface is switched to the off state, the step of searching for the corresponding interface identifier is not performed;
所述根据触控物的动作进行相应的操作包括:根据所述触控物在所能检测的距离范围的任意高度的动作进行相应的操作。The corresponding operation according to the action of the touch object includes: performing corresponding operations according to the action of the touch object at any height of the distance range that can be detected.
可选地,当检测到界面切换为开启状态时,所述根据触控物的动作进行相应的操作包括: Optionally, when detecting that the interface is switched to the on state, the corresponding operations according to the action of the touch object include:
根据所述触控物在所述预设范围内的动作进行相应的操作。Corresponding operations are performed according to the action of the touch object within the preset range.
可选地,在预设时间内重复获取触控物与屏幕之间的距离N次,当N次获得的距离都在同一预设范围内时,执行所述查找对应的界面标识的步骤;其中,N为大于等于1的正整数。Optionally, the distance between the touch object and the screen is repeatedly obtained N times in a preset time, and when the distances obtained by N times are all within the same preset range, the step of searching for the corresponding interface identifier is performed; , N is a positive integer greater than or equal to 1.
可选地,在所述将当前的第一界面切换为查找到的界面标识对应的第二界面之前,该方法还包括:Optionally, before the switching the current first interface to the second interface corresponding to the found interface identifier, the method further includes:
保存所述第一界面的界面状态数据。The interface state data of the first interface is saved.
可选地,在所述将当前的第一界面切换为查找到的界面标识对应的第二界面之后,该方法还包括:Optionally, after the switching the current first interface to the second interface corresponding to the found interface identifier, the method further includes:
根据在自身保存的界面状态数据中查找所述界面标识对应的界面状态数据,将查找到的界面状态数据在所述第二界面上显示。Searching the interface state data corresponding to the interface identifier in the interface state data saved by itself, and displaying the found interface state data on the second interface.
本发明实施例还提出了一种触控处理装置,至少包括:The embodiment of the invention further provides a touch processing device, which at least includes:
获取模块,设置为获取触控物与屏幕之间的距离;Obtaining a module, configured to obtain a distance between the touch object and the screen;
查找模块,设置为根据获得的距离所在的预设范围,在自身保存的对应关系中查找对应的界面标识;The search module is configured to search for a corresponding interface identifier in the corresponding relationship saved according to the preset range in which the obtained distance is located;
切换模块,设置为将当前的第一界面切换为查找到的界面标识对应的第二界面。The switching module is configured to switch the current first interface to the second interface corresponding to the found interface identifier.
可选地,还包括:Optionally, it also includes:
处理模块,设置为根据所述触控物的动作进行相应的操作。The processing module is configured to perform a corresponding operation according to the action of the touch object.
可选地,所述查找模块还设置为:Optionally, the searching module is further configured to:
检测到界面切换为关闭状态,不执行所述查找对应的界面标识的步骤;Detecting that the interface is switched to the closed state, and the step of searching for the corresponding interface identifier is not performed;
所述处理模块是设置为:The processing module is set to:
根据所述触控物在所能检测的距离范围的任意高度的动作进行相应的操作。Corresponding operations are performed according to the action of the touch object at any height of the range of distances that can be detected.
可选地,所述查找模块还设置为:Optionally, the searching module is further configured to:
检测到界面切换为开启状态,向所述处理模块发送指示信息; Detecting that the interface is switched to the on state, and sending the indication information to the processing module;
所述处理模块是设置为:The processing module is set to:
接收到指示信息,根据所述触控物在所述预设范围内的动作进行相应的操作。Receiving the indication information, performing corresponding operations according to the action of the touch object within the preset range.
可选地,所述获取模块是设置为:Optionally, the obtaining module is configured to:
在预设时间内重复获取触控物与屏幕之间的距离N次;Repeatly obtaining the distance between the touch object and the screen N times within a preset time;
所述查找模块是设置为:The lookup module is set to:
当N次获得的距离都在同一预设范围时,执行所述查找对应的界面标识的步骤;其中,N为大于等于1的正整数。When the distances obtained in N times are all in 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.
可选地,所述切换模块还设置为:在所述将当前的第一界面切换为查找到的界面标识对应的第二界面之前,保存所述第一界面的界面状态数据。Optionally, the switching module is further configured to save the interface state data of the first interface before the switching the current first interface to the second interface corresponding to the found interface identifier.
可选地,所述切换模块还设置为:在所述将当前的第一界面切换为查找到的界面标识对应的第二界面之后:Optionally, the switching module is further configured to: after the switching the current first interface to the second interface corresponding to the found interface identifier:
根据在自身保存的界面状态数据中查找所述界面标识对应的界面状态数据,将查找到的界面状态数据在所述第二界面上显示。Searching the interface state data corresponding to the interface identifier in the interface state data saved by itself, and displaying the found interface state data on the second interface.
本发明实施例还提供一种计算机程序及其载体,该计算机程序包括程序指令,当该程序指令被移动终端设备执行时,使得该设备可实施上述触控处理方法。The embodiment of the invention further provides a computer program and a carrier thereof, the computer program comprising program instructions, when the program instruction is executed by the mobile terminal device, enabling the device to implement the touch processing method.
与相关技术相比,本发明实施例包括:获取触控物与屏幕之间的距离,根据获得的距离所在的预设范围,在自身保存的对应关系中查找对应的界面标识;将当前的第一界面切换为查找到的界面标识对应的第二界面。通过本发明的方案,在触控物与屏幕之间的距离处于不同的预设范围内时显示不同的界面,实现了根据触控物与屏幕之间的距离进行操作界面的自动切换,而不需要手动进行操作界面的切换,从而提高了用户的体验度。Compared with the related art, the embodiment of the present invention includes: obtaining a distance between the touch object and the screen, and searching for a corresponding interface identifier in the corresponding relationship saved according to the preset range in which the obtained distance is located; An interface is switched to a second interface corresponding to the found interface identifier. According to the solution of the present invention, different interfaces are displayed when the distance between the touch object and the screen is in different preset ranges, thereby realizing automatic switching of the operation interface according to the distance between the touch object and the screen, instead of Manual operation of the interface is required to switch, thus improving the user experience.
本发明实施例还可以根据触控物在预设范围内或所能检测到的距离范围的任意高度范围内的动作进行相应的操作,而不需要触控物接触屏幕才进行相应的操作,实现了悬浮操作,从而提高了用户的体验度。The embodiment of the present invention can also perform corresponding operations according to actions of the touch object within a preset range or within a range of distances that can be detected, without requiring the touch object to touch the screen to perform corresponding operations. The floating operation increases the user experience.
本发明实施例还可以在预设时间内多次获取触控物与屏幕之间的距离,从而降低了用户的误操作率。 The embodiment of the invention can also obtain the distance between the touch object and the screen multiple times within a preset time, thereby reducing the user's misoperation rate.
附图概述BRIEF abstract
图1为本发明实施例的触控处理方法的流程图;FIG. 1 is a flowchart of a touch processing method according to an embodiment of the present invention;
图2为本发明实施例的触控处理装置的结构组成示意图。FIG. 2 is a schematic structural diagram of a touch processing device according to an embodiment of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。另外,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other. Additionally, although logical sequences are shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
参见图1,本发明实施例提出了一种触控处理方法,包括:Referring to FIG. 1 , an embodiment of the present invention provides a touch processing method, including:
步骤100、获取触控物与屏幕之间的距离,根据获得的距离所在的预设范围,在自身保存的对应关系中查找对应的界面标识。Step 100: Obtain a distance between the touch object and the screen, and search for a corresponding interface identifier in the corresponding relationship saved according to the preset range in which the obtained distance is located.
本步骤中,在预设时间内重复获取触控物与屏幕之间的距离N次,当N次获得的距离都在同一的预设范围内时,执行查找对应的界面标识的步骤;其中,N为大于等于1的正整数。In this step, the distance between the touch object and the screen is repeatedly obtained N times in a preset time, and when the distances obtained by 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.
当N次获得的距离所在的预设范围中至少有一次与其他各次获得的距离所在的预设范围不同时,结束本流程。The process ends when at least one of the preset ranges in which the distances obtained by N times are different from the preset ranges in which the other obtained distances are located.
本步骤中,触控物可以是手指或触控笔。In this step, the touch object may be a finger or a stylus.
本步骤中,可以采用距离传感器、或摄像头、或者自电容触屏来获取触控物与屏幕之间的距离,具体的实现属于本领域技术人员的惯用技术手段,这里不再赘述。In this step, the distance sensor, or the camera, or the self-capacitance touch screen can be used to obtain the distance between the touch object and the screen. The specific implementation is a conventional technical means by those skilled in the art, and details are not described herein again.
本步骤中,预设范围可根据所能检测的距离范围和界面数来确定。例如,当终端所能检测的距离为20毫米,界面数为5时,则预设范围可以是1到4毫米,4到8毫米,8到12毫米,12到16毫米,16到20毫米。其中,1到4毫米对应界面1,4到8毫米对应界面2,8到12毫米对应界面3,12到16毫米对应界面4,16到20毫米对应界面5。In this step, the preset range can be determined according to the range of distances that can be detected and the number of interfaces. 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. Among them, 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 off state, the corresponding interface label is not searched. The steps to know.
当检测到界面切换为开启状态时,执行查找的步骤。When it is detected that the interface is switched to the on state, the step of performing the search is performed.
其中,可以通过按钮的形式实现开启或关闭界面切换,当按钮为开启时,表示界面切换为开启状态;当按钮为关闭时,表示界面切换为关闭状态。The interface switching can be turned on or off in the form of a button. When the button is on, it indicates that the interface is switched to the on state; when the button is off, the interface is switched to the off state.
步骤101、将当前的第一界面切换为查找到的界面标识对应的第二界面。Step 101: Switch the current first interface to the second interface corresponding to the found interface identifier.
步骤100和步骤101之间还可以包括:保存第一界面的界面状态数据。其中,可以将第一界面的界面状态数据保存到缓冲区中。The step 100 and the step 101 may further include: saving interface state data of the first interface. The interface state data of the first interface may be saved in a buffer.
步骤101中,将当前的第一界面切换为查找到的界面标识对应的第二界面后,还可以在自身保存的界面状态数据中查找界面标识对应的界面状态数据,将查找到的界面状态数据在第二界面上显示。In step 101, after the current first interface is switched to the second interface corresponding to the found interface identifier, the interface state data corresponding to the interface identifier may be searched in the interface state data saved by itself, and the interface state data to be found may be found. Displayed on the second interface.
本发明实施例的触控处理方法中,还包括:The touch processing method of the embodiment of the invention further includes:
步骤102、根据触控物的动作进行相应的操作。Step 102: Perform corresponding operations according to the action of the touch object.
本步骤中,触控物的动作可以是触控物在预设范围或者所能检测的距离范围的任意高度范围内的点击或者滑动动作。In this step, the action of the touch object may be a click or slide action of the touch object within a preset range or any height range of the distance range that can be detected.
其中,点击动作是指触控物在预设范围或者所能检测的距离范围内所处的高度的变化。例如,高度变小时认为进行了点击动作。The click action refers to a change in the height of the touch object within a preset range or a distance that can be detected. For example, when the height is small, it is considered that a click action has been performed.
其中,当检测到界面切换为关闭状态时,根据触控物在所能检测的距离范围的任意高度范围内的动作进行相应的操作,从而减小了用户由于操作过程中触控物与屏幕之间的距离变化产生的误操作率。Wherein, when detecting that the interface is switched to the off state, the corresponding operation is performed according to the action of the touch object in any height range of the distance range that can be detected, thereby reducing the user's touch object and the screen during the operation. The rate of misoperation caused by the change in distance between.
当检测到界面切换为开启状态时,根据触控物在预设范围内的动作进行相应的操作。When it is detected that the interface is switched to the on state, the corresponding operation is performed according to the action of the touch object within the preset range.
本步骤中,可以采用互电容实现正常的触碰感应,包括多点触控。可以采用自电容实现悬浮操作。自电容能够产生比互电容更为强大的信号以检测更远的触控物感应,自电容在屏幕上方产生一个电极网络,当触控物的动作在电极网络范围内时,能够检测到触控物的动作。In this step, mutual capacitance can be achieved by using mutual capacitance, including multi-touch. The self-capacitance can be used to implement the floating operation. Self-capacitance can generate a stronger signal than mutual capacitance to detect farther touch object sensing. Self-capacitance generates an electrode network at the top of the screen. When the touch object moves within the electrode network, it can detect the touch. The action of the object.
也可以采用自电容或摄像头来识别触控物在预设范围内的动作。具体的实现方法属于本领域技术人员的惯用技术手段,这里不再赘述。 Self-capacitance or camera can also be used to identify the action of the touch object within the preset range. The specific implementation method belongs to the technical means of those skilled in the art, and details are not described herein again.
下面通过具体实施例对本发明的方法进行详细的说明。The method of the present invention will now be described in detail by way of specific examples.
第一实施例,使用悬浮触控屏幕进行短信编辑时,为了完成不同类型的字符输入往往需要反复切换输入法界面。当触摸屏上显示短信编辑的界面时,获取手指与屏幕之间的距离,当获得的距离在第一预设范围内时,显示中文输入法界面,在第一预设范围内通过点击动作进行编辑;当获得的距离在第二预设范围内时,显示英文输入法界面,在第二预设范围内通过点击动作进行编辑;当获得的距离在第三预设范围内时,显示数字输入法界面,在第三预设范围内通过点击动作进行编辑。这样,在不同的高度范围内进行点击动作就能够实现不同字符类型的输入。In the first embodiment, when using the floating touch screen for text message editing, it is often necessary to repeatedly switch the input method interface in order to complete different types of character input. When the interface of the short message editing is displayed on the touch screen, the distance between the finger and the screen is obtained. When the obtained distance is within the first preset range, the Chinese input method interface is displayed, and the click action is performed in the first preset range. When the obtained distance is within the second preset range, the English input method interface is displayed, and the click action is performed in the second preset range; when the obtained distance is within the third preset range, the digital input method is displayed. The interface is edited by clicking actions within the third preset range. In this way, different character types can be input by clicking on different height ranges.
第二实施例,在进行游戏时,将界面切换设置为关闭状态,这样不同的用户就能够在所能检测的距离范围的不同的高度范围内对游戏进行相应的操作。In the second embodiment, when the game is played, the interface switching is set to the off state, so that different users can perform corresponding operations on the game within different height ranges of the range of distances that can be detected.
第三实施例,在采用聊天软件同时与两位好友聊天时,如果在对第一位好友的聊天界面的操作过程中(如点击了菜单)切换到第二位好友的聊天界面,能够将第一位好友的聊天界面的操作进行保存,当切换回第一位好友的聊天界面时,恢复之前的操作。In the third embodiment, when chatting with two friends at the same time using the chat software, if the chat interface of the first friend is switched (such as clicking a menu) to the chat interface of the second friend, the first The operation of a friend's chat interface is saved, and when switching back to the chat interface of the first friend, the previous operation is resumed.
参见图2,本发明实施例还提出一种触控处理装置,适用于移动终端设备,所述移动终端设备包括处理器、程序存储器和数据存储器;所述触控处理装置至少包括:Referring to FIG. 2, an embodiment of the present invention further provides a touch processing device, which is applicable to a mobile terminal device, where the mobile terminal device includes a processor, a program memory, and a data memory. The touch processing device includes at least:
获取模块,适用于获取触控物与屏幕之间的距离;The acquisition module is adapted to obtain a distance between the touch object and the screen;
查找模块,适用于根据获得的距离所在的预设范围,在自身保存的对应关系中查找对应的界面标识;The search module is configured to search for a corresponding interface identifier in the corresponding relationship saved according to the preset range in which the obtained distance is located;
切换模块,适用于将当前的第一界面切换为查找到的界面标识对应的第二界面。The switching module is configured to switch the current first interface to the second interface corresponding to the found interface identifier.
本发明的触控处理装置中,还包括:The touch processing device of the present invention further includes:
处理模块,适用于根据触控物的动作进行相应的操作。The processing module is adapted to perform corresponding operations according to the action of the touch object.
本发明实施例的触控处理装置中,查找模块还适用于:In the touch processing device of the embodiment of the invention, the search module is further applicable to:
检测到界面切换为关闭状态,不执行查找对应的界面标识的步骤; It is detected that the interface is switched to the closed state, and the step of searching for the corresponding interface identifier is not performed;
处理模块具体适用于:The processing module is specifically applicable to:
根据触控物在所能检测的距离范围的任意高度的动作进行相应的操作。The corresponding operation is performed according to the action of the touch object at any height of the distance range that can be detected.
本发明实施例的触控处理装置中,查找模块还适用于:In the touch processing device of the embodiment of the invention, the search module is further applicable to:
检测到界面切换为开启状态,向处理模块发送指示信息;Detecting that the interface is switched to the on state, and sending the indication information to the processing module;
处理模块具体适用于:The processing module is specifically applicable to:
接收到指示信息,根据触控物在预设范围内的动作进行相应的操作。Receiving the indication information, performing corresponding operations according to the action of the touch object within the preset range.
本发明的触控处理装置中,获取模块具体适用于:In the touch processing device of the present invention, the acquisition module is specifically adapted to:
在预设时间内重复获取触控物与屏幕之间的距离N次;Repeatly obtaining the distance between the touch object and the screen N times within a preset time;
查找模块具体适用于:The lookup module is specifically for:
当N次获得的距离都在同一预设范围时,执行查找对应的界面标识的步骤;其中,N为大于等于1的正整数。When the distances obtained in N times are all in 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.
本发明的触控处理装置中,切换模块在将当前的第一界面切换为查找到的界面标识对应的第二界面之前还适用于:In the touch processing device of the present invention, the switching module is further adapted to: before switching the current first interface to the second interface corresponding to the found interface identifier:
保存第一界面的界面状态数据。Save the interface status data of the first interface.
本发明的触控处理装置中,切换模块在将当前的第一界面切换为查找到的界面标识对应的第二界面之后还适用于:In the touch processing device of the present invention, after the switching of the current first interface to the second interface corresponding to the found interface identifier, the switching module is further applicable to:
根据在自身保存的界面状态数据中查找界面标识对应的界面状态数据,将查找到的界面状态数据在第二界面上显示。Searching the interface state data corresponding to the interface identifier in the interface state data saved by itself, and displaying the found interface state data on the second interface.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本发明不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the steps described above can be accomplished by a program that instructs the associated hardware, such as a read-only memory, a magnetic or optical disk, and the like. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware or in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
需要说明的是,以上所述的实施例仅是为了便于本领域的技术人员理解而已,并不用于限制本发明的保护范围,在不脱离本发明的发明构思的前提下,本领域技术人员对本发明所做出的任何显而易见的替换和改进等均在本 发明的保护范围之内。It should be noted that the above-mentioned embodiments are only for the purpose of facilitating the understanding of those skilled in the art, and are not intended to limit the scope of the present invention, and those skilled in the art will Any obvious substitutions and improvements made by the invention are in this Within the scope of protection of the invention.
工业实用性Industrial applicability
本发明实施例提供的一种触控处理方法,在触控物与屏幕之间的距离处于不同的预设范围内时显示不同的界面,实现了根据触控物与屏幕之间的距离进行操作界面的自动切换,而不需要手动进行操作界面的切换,从而提高了用户的体验度。 The touch processing method provided by the embodiment of the invention displays different interfaces when the distance between the touch object and the screen is in different preset ranges, and realizes the operation according to the distance between the touch object and the screen. The automatic switching of the interface does not require manual switching of the operation interface, thereby improving the user experience.

Claims (16)

  1. 一种触控处理方法,包括:A touch processing method includes:
    获取触控物与屏幕之间的距离,根据获得的距离所在的预设范围,在自身保存的对应关系中查找对应的界面标识;Obtaining a distance between the touch object and the screen, and searching for a corresponding interface identifier in the corresponding relationship saved according to the preset range in which the obtained distance is located;
    将当前的第一界面切换为查找到的界面标识对应的第二界面。Switching the current first interface to the second interface corresponding to the found interface identifier.
  2. 根据权利要求1所述的方法,还包括:根据所述触控物的动作进行相应的操作。The method of claim 1, further comprising: performing a corresponding operation according to the action of the touch object.
  3. 根据权利要求2所述的方法,其中,当检测到界面切换为关闭状态时,不执行所述查找对应的界面标识的步骤;The method according to claim 2, wherein the step of searching for the corresponding interface identifier is not performed when detecting that the interface is switched to the off state;
    所述根据触控物的动作进行相应的操作包括:根据所述触控物在所能检测的距离范围的任意高度的动作进行相应的操作。The corresponding operation according to the action of the touch object includes: performing corresponding operations according to the action of the touch object at any height of the distance range that can be detected.
  4. 根据权利要求2所述的方法,其中,当检测到界面切换为开启状态时,所述根据触控物的动作进行相应的操作包括:The method according to claim 2, wherein when detecting that the interface is switched to the on state, the corresponding operations according to the action of the touch object include:
    根据所述触控物在所述预设范围内的动作进行相应的操作。Corresponding operations are performed according to the action of the touch object within the preset range.
  5. 根据权利要求1~4任意一项所述的方法,还包括:在预设时间内重复获取触控物与屏幕之间的距离N次,当N次获得的距离都在同一预设范围内时,执行所述查找对应的界面标识的步骤;其中,N为大于等于1的正整数。The method according to any one of claims 1 to 4, further comprising: repeatedly obtaining the distance between the touch object and the screen N times within a preset time, when the distances obtained by N times are all within the same preset range And performing the step of searching for a corresponding interface identifier; wherein N is a positive integer greater than or equal to 1.
  6. 根据权利要求1~4任意一项所述的方法,在所述将当前的第一界面切换为查找到的界面标识对应的第二界面之前,该方法还包括:The method according to any one of claims 1 to 4, before the switching the current first interface to the second interface corresponding to the found interface identifier, the method further includes:
    保存所述第一界面的界面状态数据。The interface state data of the first interface is saved.
  7. 根据权利要求1~4任意一项所述的方法,在所述将当前的第一界面切换为查找到的界面标识对应的第二界面之后,该方法还包括:The method according to any one of claims 1 to 4, after the switching the current first interface to the second interface corresponding to the found interface identifier, the method further includes:
    根据在自身保存的界面状态数据中查找所述界面标识对应的界面状态数据,将查找到的界面状态数据在所述第二界面上显示。Searching the interface state data corresponding to the interface identifier in the interface state data saved by itself, and displaying the found interface state data on the second interface.
  8. 一种触控处理装置,包括:A touch processing device includes:
    获取模块,设置为获取触控物与屏幕之间的距离; Obtaining a module, configured to obtain a distance between the touch object and the screen;
    查找模块,设置为根据获得的距离所在的预设范围,在自身保存的对应关系中查找对应的界面标识;The search module is configured to search for a corresponding interface identifier in the corresponding relationship saved according to the preset range in which the obtained distance is located;
    切换模块,设置为将当前的第一界面切换为查找到的界面标识对应的第二界面。The switching module is configured to switch the current first interface to the second interface corresponding to the found interface identifier.
  9. 根据权利要求8所述的装置,还包括:The apparatus of claim 8 further comprising:
    处理模块,设置为根据所述触控物的动作进行相应的操作。The processing module is configured to perform a corresponding operation according to the action of the touch object.
  10. 根据权利要求9所述的装置,其中,所述查找模块还设置为:The apparatus of claim 9, wherein the lookup module is further configured to:
    检测到界面切换为关闭状态,不执行所述查找对应的界面标识的步骤;Detecting that the interface is switched to the closed state, and the step of searching for the corresponding interface identifier is not performed;
    所述处理模块是设置为:The processing module is set to:
    根据所述触控物在所能检测的距离范围的任意高度的动作进行相应的操作。Corresponding operations are performed according to the action of the touch object at any height of the range of distances that can be detected.
  11. 根据权利要求9所述的装置,其中,所述查找模块还设置为:The apparatus of claim 9, wherein the lookup module is further configured to:
    检测到界面切换为开启状态,向所述处理模块发送指示信息;Detecting that the interface is switched to the on state, and sending the indication information to the processing module;
    所述处理模块是设置为:The processing module is set to:
    接收到指示信息,根据所述触控物在所述预设范围内的动作进行相应的操作。Receiving the indication information, performing corresponding operations according to the action of the touch object within the preset range.
  12. 根据权利要求8~11任意一项所述的装置,其中,所述获取模块是设置为:The apparatus according to any one of claims 8 to 11, wherein the acquisition module is configured to:
    在预设时间内重复获取触控物与屏幕之间的距离N次;Repeatly obtaining the distance between the touch object and the screen N times within a preset time;
    所述查找模块是设置为:The lookup module is set to:
    当N次获得的距离都在同一预设范围时,执行所述查找对应的界面标识的步骤;其中,N为大于等于1的正整数。When the distances obtained in N times are all in 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.
  13. 根据权利要求8~11任意一项所述的装置,所述切换模块还设置为:在所述将当前的第一界面切换为查找到的界面标识对应的第二界面之前,保存所述第一界面的界面状态数据。The device according to any one of claims 8 to 11, wherein the switching module is further configured to: save the first interface before switching the current first interface to the second interface corresponding to the found interface identifier Interface state data of the interface.
  14. 根据权利要求8~11任意一项所述的装置,其特征在于,所述切换模块还设置为:在所述将当前的第一界面切换为查找到的界面标识对应的第二 界面之后,根据在自身保存的界面状态数据中查找所述界面标识对应的界面状态数据,将查找到的界面状态数据在所述第二界面上显示。The device according to any one of claims 8 to 11, wherein the switching module is further configured to: switch the current first interface to a second corresponding to the found interface identifier After the interface, the interface state data corresponding to the interface identifier is searched for in the interface state data saved by itself, and the found interface state data is displayed on the second interface.
  15. 一种计算机程序,包括程序指令,当该程序指令被移动终端设备执行时,使得该设备可实施权利要求1-7任一项的方法。A computer program comprising program instructions which, when executed by a mobile terminal device, cause the apparatus to perform the method of any of claims 1-7.
  16. 一种载有权利要求15所述计算机程序的载体。 A carrier carrying the computer program of claim 15.
PCT/CN2014/095413 2014-08-25 2014-12-29 Touch control processing method and device WO2015117526A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2015117526A1 true WO2015117526A1 (en) 2015-08-13

Family

ID=53777327

Family Applications (1)

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

Country Status (2)

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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110448900A (en) * 2018-11-15 2019-11-15 网易(杭州)网络有限公司 The method, apparatus and game station of control object in game
CN111638809A (en) * 2020-05-22 2020-09-08 讯飞幻境(北京)科技有限公司 Method, device, equipment and medium for acquiring touch information

Families Citing this family (3)

* 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
CN111045566B (en) * 2019-12-11 2022-02-08 上海传英信息技术有限公司 Stylus pen, terminal, control method thereof, and computer-readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102446060A (en) * 2010-09-30 2012-05-09 Lg电子株式会社 Mobile terminal and method of controlling mobile terminal
US20140092069A1 (en) * 2012-09-28 2014-04-03 Izhar Bentov Stylus Communication with Near-Field Coupling
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
CN101765236B (en) * 2009-12-23 2014-04-02 宇龙计算机通信科技(深圳)有限公司 Mobile terminal interface switching method and mobile terminal
KR102129374B1 (en) * 2012-08-27 2020-07-02 삼성전자주식회사 Method for providing user interface, machine-readable storage medium and portable terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102446060A (en) * 2010-09-30 2012-05-09 Lg电子株式会社 Mobile terminal and method of controlling mobile terminal
US20140092069A1 (en) * 2012-09-28 2014-04-03 Izhar Bentov Stylus Communication with Near-Field Coupling
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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110448900A (en) * 2018-11-15 2019-11-15 网易(杭州)网络有限公司 The method, apparatus and game station of control object in game
CN110448900B (en) * 2018-11-15 2024-03-22 网易(杭州)网络有限公司 Method and device for controlling object in game and game equipment
CN111638809A (en) * 2020-05-22 2020-09-08 讯飞幻境(北京)科技有限公司 Method, device, equipment and medium for acquiring touch information

Also Published As

Publication number Publication date
CN105468133A (en) 2016-04-06
CN105468133B (en) 2021-02-12

Similar Documents

Publication Publication Date Title
US11520467B2 (en) Input device and user interface interactions
KR102054633B1 (en) Devices, methods, and graphical user interfaces for wireless pairing with peripherals and displaying status information about the peripherals
US10642483B2 (en) Quick screen splitting method, apparatus, and electronic device, display UI, and storage medium
US9632681B2 (en) Electronic Device, memory and control method for displaying multiple objects on a display screen
RU2621012C2 (en) Method, device and terminal equipment for processing gesture-based communication session
US10705702B2 (en) Information processing device, information processing method, and computer program
WO2015117526A1 (en) Touch control processing method and device
US20130263013A1 (en) Touch-Based Method and Apparatus for Sending Information
WO2015106510A1 (en) Screen splitting method and device for applications, intelligent terminal and storage medium
CN103488419A (en) Operating method of communication terminal and communication terminal
WO2017063443A1 (en) Message display method and apparatus
CN104731500B (en) A kind of information processing method and electronic equipment
WO2014101101A1 (en) Task switching method and terminal
AU2012302448A1 (en) Method of providing a user interface in portable terminal and apparatus thereof
US20160170635A1 (en) Mobile terminal, non-transitory computer readable storage medium, and combination control method
CN105468238A (en) File icon display method and device and equipment
US10656746B2 (en) Information processing device, information processing method, and program
WO2016173307A1 (en) Message copying method and device, and smart terminal
CN104793879B (en) Object selection method and terminal device on terminal device
WO2021017853A1 (en) Method for recommending operation sequence, terminal, and computer readable medium
US20170315703A1 (en) Projector playing control method, device, and computer storage medium
WO2022089481A1 (en) Information processing method and apparatus, and electronic device
CN105446597B (en) The methods of exhibiting of the function introduction information of application program shows device and terminal
US20170277419A1 (en) Method and Electronic Device for Replying to a Message
WO2017161809A1 (en) Control method for terminal and terminal

Legal Events

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

Ref document number: 14882010

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14882010

Country of ref document: EP

Kind code of ref document: A1