[go: up one dir, main page]

CN106293199B - Method and device for controlling touch screen - Google Patents

Method and device for controlling touch screen Download PDF

Info

Publication number
CN106293199B
CN106293199B CN201610596494.3A CN201610596494A CN106293199B CN 106293199 B CN106293199 B CN 106293199B CN 201610596494 A CN201610596494 A CN 201610596494A CN 106293199 B CN106293199 B CN 106293199B
Authority
CN
China
Prior art keywords
touch screen
motion state
touch
extraneous
operation information
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
CN201610596494.3A
Other languages
Chinese (zh)
Other versions
CN106293199A (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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201610596494.3A priority Critical patent/CN106293199B/en
Publication of CN106293199A publication Critical patent/CN106293199A/en
Application granted granted Critical
Publication of CN106293199B publication Critical patent/CN106293199B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment

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)
  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and a device for controlling a touch screen. The method comprises the following steps: acquiring a current motion state of a user, wherein the motion state comprises the intensity of motion; acquiring corresponding touch screen operation information according to the current motion state, wherein the operation information comprises the sensitivity of the touch screen when responding to external touch and/or the response range of the touch screen; the touch screen of the mobile terminal is controlled according to the touch screen operation information, so that the required force for screen operation of the electronic equipment is automatically set according to the motion state of the user, misoperation of the electronic equipment in the motion process of the user is avoided, the use of the user is facilitated, and the current screen locking operation of the electronic equipment can be replaced to a certain extent.

Description

一种控制触摸屏的方法及装置Method and device for controlling touch screen

技术领域technical field

本发明实施例涉及移动终端的技术领域,尤其涉及一种控制触摸屏的方法及装置。Embodiments of the present invention relate to the technical field of mobile terminals, and in particular to a method and device for controlling a touch screen.

背景技术Background technique

当前,在市场上随身携带的电子设备中,几乎都是使用触摸屏。触摸屏的操作方便且灵敏,但是,正是由于这些特征,也造成触摸屏往往容易发生误触摸。比如,放在口袋或包里面走路或晃动时,容易产生误操作进入某项功能。同时,若用户在运动过程中太投入地操作电子设备,往往容易撞到物体或出现车祸,从而酿成悲剧。Currently, most of the portable electronic devices in the market use touch screens. The operation of the touch screen is convenient and sensitive, but it is precisely because of these features that the touch screen is often prone to false touches. For example, when walking or shaking in a pocket or bag, it is easy to enter a certain function by mistake. At the same time, if the user is too involved in operating the electronic device during exercise, it is easy to bump into objects or cause a car accident, which leads to tragedy.

发明内容Contents of the invention

本发明实施例的目的在于提出一种控制触摸屏的的方法及装置,旨在解决如何根据用户的当前运动状态控制移动终端的触摸屏的问题。The purpose of the embodiments of the present invention is to provide a method and device for controlling a touch screen, aiming at solving the problem of how to control the touch screen of a mobile terminal according to the user's current motion state.

为达此目的,本发明实施例采用以下技术方案:To achieve this purpose, the embodiments of the present invention adopt the following technical solutions:

第一方面,一种控制触摸屏的方法,所述方法包括:In a first aspect, a method for controlling a touch screen, the method includes:

获取用户的当前运动状态,所述运动状态包括运动的剧烈程度;Obtain the current exercise state of the user, the exercise state including the intensity of the exercise;

根据所述当前运动状态获取对应的触摸屏操作信息,所述操作信息包括所述触摸屏响应外界触摸时的灵敏度和/或所述触摸屏的响应范围;Acquiring corresponding touch screen operation information according to the current motion state, the operation information including the sensitivity of the touch screen when responding to external touch and/or the response range of the touch screen;

根据所述触摸屏操作信息控制移动终端的触摸屏。The touch screen of the mobile terminal is controlled according to the touch screen operation information.

优选地,所述获取用户的当前运动状态,包括:Preferably, the acquisition of the user's current exercise state includes:

通过加速度传感器检测所述用户的当前运动状态,所述当前运动状态包括符合预设速率范围的运动状态,所述运动状态包括静止、走路、上楼、慢 跑、跑步、骑车、开车或者拓展训练。The user's current exercise state is detected by an acceleration sensor, and the current exercise state includes an exercise state conforming to a preset rate range, and the exercise state includes standing still, walking, going upstairs, jogging, running, cycling, driving or outward bound training .

优选地,所述获取用户的当前运动状态,包括:Preferably, the acquisition of the user's current exercise state includes:

获取当前时间段,并根据预设的时间段和用户运动状态的映射关系,获取与所述当前时间段对应的用户运动状态。The current time period is acquired, and according to the preset mapping relationship between the time period and the user's exercise state, the user's exercise state corresponding to the current time period is acquired.

优选地,所述根据所述当前运动状态获取对应的触摸屏操作信息,包括:Preferably, the acquiring corresponding touch screen operation information according to the current motion state includes:

根据预设的当前运动状态与所述触摸屏操作信息的映射关系,获取与所述当前运动状态对应的触摸屏操作信息;Acquiring touch screen operation information corresponding to the current motion state according to a preset mapping relationship between the current motion state and the touch screen operation information;

其中,所述当前运动状态与所述触摸屏操作信息的映射关系满足:运动状态的运动强度与所述触摸屏响应外界触摸时的灵敏度成反比;和/或,所述运动状态的运动强度与所述触摸屏的响应范围成反比。Wherein, the mapping relationship between the current motion state and the touch screen operation information satisfies: the motion intensity of the motion state is inversely proportional to the sensitivity of the touch screen when responding to external touch; and/or, the motion intensity of the motion state is proportional to the The response range of the touch screen is inversely proportional.

优选地,所述根据所述触摸屏操作信息控制移动终端的触摸屏,包括:Preferably, the controlling the touch screen of the mobile terminal according to the touch screen operation information includes:

将所述移动终端的触摸屏响应外界触摸时的灵敏度调整为与所述当前运动状态对应的灵敏度;若接收到所述外界触摸所述触摸屏的力度不被调整后的灵敏度感应,则所述移动终端的触摸屏不响应所述外界触摸;若接收到的所述外界触摸所述触摸屏的力度能被所述调整后的灵敏度感应,则所述移动终端的触摸屏响应所述外界触摸。Adjust the sensitivity of the touch screen of the mobile terminal in response to external touch to the sensitivity corresponding to the current motion state; if the intensity of the external touch of the touch screen is not sensed by the adjusted sensitivity, the mobile terminal The touch screen of the mobile terminal does not respond to the external touch; if the received force of the external touch on the touch screen can be sensed by the adjusted sensitivity, then the touch screen of the mobile terminal responds to the external touch.

优选地,所述根据所述触摸屏操作信息控制移动终端的触摸屏,包括:Preferably, the controlling the touch screen of the mobile terminal according to the touch screen operation information includes:

将所述移动终端的触摸屏响应外界触摸时的响应范围调整为与所述当前运动状态对应的响应范围;若接收到所述外界触摸所述触摸屏的范围不在调整后的响应范围内,则所述移动终端的触摸屏不响应所述外界触摸;若接收到的所述外界触摸所述触摸屏的范围在调整后的响应范围内,则所述移动终端响应所述外界触摸。Adjusting the response range of the touch screen of the mobile terminal in response to external touch to the response range corresponding to the current motion state; if the range of the touch screen received by the external touch is not within the adjusted response range, the The touch screen of the mobile terminal does not respond to the external touch; if the received range of the external touch on the touch screen is within the adjusted response range, the mobile terminal responds to the external touch.

第二方面,一种控制触摸屏的装置,所述装置包括:In a second aspect, a device for controlling a touch screen, the device includes:

第一获取模块,用于获取用户的当前运动状态,所述运动状态包括运动的剧烈程度;The first acquisition module is used to acquire the current exercise state of the user, the exercise state including the intensity of the exercise;

第二获取模块,用于根据所述当前运动状态获取对应的触摸屏操作信息,所述操作信息包括所述触摸屏响应外界触摸时的灵敏度和/或所述触摸屏的响应范围;The second acquisition module is used to acquire corresponding touch screen operation information according to the current motion state, the operation information includes the sensitivity of the touch screen when responding to external touch and/or the response range of the touch screen;

控制模块,用于根据所述触摸屏操作信息控制移动终端的触摸屏。A control module, configured to control the touch screen of the mobile terminal according to the touch screen operation information.

优选地,所述第一获取模块,用于:Preferably, the first acquisition module is configured to:

通过加速度传感器检测所述用户的当前运动状态,所述当前运动状态包括符合预设速率范围的运动状态,所述运动状态包括静止、走路、上楼、慢跑、跑步、骑车、开车或者拓展训练。The user's current exercise state is detected by an acceleration sensor, and the current exercise state includes an exercise state conforming to a preset rate range, and the exercise state includes standing still, walking, going upstairs, jogging, running, cycling, driving or outward bound training .

优选地,所述第一获取模块,用于:Preferably, the first acquisition module is configured to:

获取当前时间段,并根据预设的时间段和用户运动状态的映射关系,获取与所述当前时间段对应的用户运动状态。The current time period is acquired, and according to the preset mapping relationship between the time period and the user's exercise state, the user's exercise state corresponding to the current time period is acquired.

优选地,所述第二获取模块,用于:Preferably, the second acquisition module is configured to:

根据预设的当前运动状态与所述触摸屏操作信息的映射关系,获取与所述当前运动状态对应的触摸屏操作信息;Acquiring touch screen operation information corresponding to the current motion state according to a preset mapping relationship between the current motion state and the touch screen operation information;

其中,所述当前运动状态与所述触摸屏操作信息的映射关系满足:运动状态的运动强度与所述触摸屏响应外界触摸时的灵敏度成反比;和/或,所述运动状态的运动强度与所述触摸屏的响应范围成反比。Wherein, the mapping relationship between the current motion state and the touch screen operation information satisfies: the motion intensity of the motion state is inversely proportional to the sensitivity of the touch screen when responding to external touch; and/or, the motion intensity of the motion state is proportional to the The response range of the touch screen is inversely proportional.

优选地,所述控制模块,用于:Preferably, the control module is used for:

将所述移动终端的触摸屏响应外界触摸时的灵敏度调整为与所述当前运动状态对应的灵敏度;若接收到所述外界触摸所述触摸屏的力度不被调整后的灵敏度感应,则所述移动终端的触摸屏不响应所述外界触摸;若接收到 的所述外界触摸所述触摸屏的力度能被所述调整后的灵敏度感应,则所述移动终端的触摸屏响应所述外界触摸。Adjust the sensitivity of the touch screen of the mobile terminal in response to external touch to the sensitivity corresponding to the current motion state; if the intensity of the external touch of the touch screen is not sensed by the adjusted sensitivity, the mobile terminal The touch screen of the mobile terminal does not respond to the external touch; if the received force of the external touch on the touch screen can be sensed by the adjusted sensitivity, then the touch screen of the mobile terminal responds to the external touch.

优选地,所述控制模块,用于:Preferably, the control module is used for:

将所述移动终端的触摸屏响应外界触摸时的响应范围调整为与所述当前运动状态对应的响应范围;若接收到所述外界触摸所述触摸屏的范围不在调整后的响应范围内,则所述移动终端的触摸屏不响应所述外界触摸;若接收到的所述外界触摸所述触摸屏的范围在调整后的响应范围内,则所述移动终端响应所述外界触摸。Adjusting the response range of the touch screen of the mobile terminal in response to external touch to the response range corresponding to the current motion state; if the range of the touch screen received by the external touch is not within the adjusted response range, the The touch screen of the mobile terminal does not respond to the external touch; if the received range of the external touch on the touch screen is within the adjusted response range, the mobile terminal responds to the external touch.

本发明实施例提供一种控制触摸屏的方法及装置,获取用户的当前运动状态,所述运动状态包括运动的剧烈程度;根据所述当前运动状态获取对应的触摸屏操作信息,所述操作信息包括所述触摸屏响应外界触摸时的灵敏度和/或所述触摸屏的响应范围;根据所述触摸屏操作信息控制移动终端的触摸屏,从而根据用户运动状态自动设置电子设备屏幕操作所需力度,避免用户运动过程中对电子设备的误操作,方便用户的使用,能一定程度上替代当前电子设备锁屏的操作。Embodiments of the present invention provide a method and device for controlling a touch screen, which acquires the current exercise state of the user, and the exercise state includes the intensity of the exercise; obtains corresponding touch screen operation information according to the current exercise state, and the operation information includes the The sensitivity of the touch screen in response to external touch and/or the response range of the touch screen; the touch screen of the mobile terminal is controlled according to the touch screen operation information, thereby automatically setting the force required for the screen operation of the electronic device according to the user's motion state, and avoiding the user's motion during the motion. The misoperation of the electronic equipment is convenient for the user, and can replace the operation of locking the screen of the current electronic equipment to a certain extent.

附图说明Description of drawings

图1是本发明实施例提供的一种控制触摸屏的方法的流程示意图;FIG. 1 is a schematic flowchart of a method for controlling a touch screen provided by an embodiment of the present invention;

图2是本发明实施例提供的另一种控制触摸屏的方法的流程示意图;FIG. 2 is a schematic flowchart of another method for controlling a touch screen provided by an embodiment of the present invention;

图3是本发明实施例提供的另一种控制触摸屏的方法的流程示意图;FIG. 3 is a schematic flowchart of another method for controlling a touch screen provided by an embodiment of the present invention;

图4是本发明实施例提供的另一种控制触摸屏的方法的流程示意图;FIG. 4 is a schematic flowchart of another method for controlling a touch screen provided by an embodiment of the present invention;

图5是本发明实施例提供的另一种控制触摸屏的方法的流程示意图;FIG. 5 is a schematic flowchart of another method for controlling a touch screen provided by an embodiment of the present invention;

图6是本发明实施例提供的一种控制触摸屏的装置的功能模块示意图。Fig. 6 is a schematic diagram of functional modules of a device for controlling a touch screen provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面结合附图和实施例对本发明实施例作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明实施例,而非对本发明实施例的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明实施例相关的部分而非全部结构。The embodiments of the present invention will be further described in detail below in conjunction with the drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the embodiments of the present invention, rather than to limit the embodiments of the present invention. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all structures related to the embodiments of the present invention.

参考图1,图1是本发明实施例提供的一种控制触摸屏的方法的流程示意图。Referring to FIG. 1 , FIG. 1 is a schematic flowchart of a method for controlling a touch screen provided by an embodiment of the present invention.

如图1所示,所述控制触摸屏的方法包括:As shown in Figure 1, the method for controlling the touch screen includes:

步骤101,获取用户的当前运动状态,所述运动状态包括运动的剧烈程度;Step 101, acquiring the current exercise state of the user, the exercise state including the intensity of the exercise;

步骤102,根据所述当前运动状态获取对应的触摸屏操作信息,所述操作信息包括所述触摸屏响应外界触摸时的灵敏度和/或所述触摸屏的响应范围;Step 102, acquiring corresponding touch screen operation information according to the current motion state, the operation information including the sensitivity of the touch screen in response to external touch and/or the response range of the touch screen;

步骤103,根据所述触摸屏操作信息控制移动终端的触摸屏。Step 103, controlling the touch screen of the mobile terminal according to the touch screen operation information.

具体的,本发明的电子设备通过加速度传感器检测当前用户的运动状态,当用户处于跑步、骑行、走路等运动状态时,触摸屏幕点、滑动操作的力度相应增加,运动状态越剧烈,操作所需力度越大。从而,避免运动中的误操作,该方法能一定程度上能替代当前电子设备锁屏的操作。同时也防止运动中过度投入频繁操作设备。Specifically, the electronic device of the present invention detects the current user's motion state through an acceleration sensor. When the user is in a motion state such as running, cycling, or walking, the force of touching the screen point and sliding operation increases accordingly. The greater the strength required. Therefore, to avoid misoperation during motion, this method can replace the current operation of locking the screen of the electronic device to a certain extent. At the same time, it also prevents excessive investment in frequent operation of equipment during exercise.

本发明实施例提供一种控制触摸屏的方法,获取用户的当前运动状态,所述运动状态包括运动的剧烈程度;根据所述当前运动状态获取对应的触摸屏操作信息,所述操作信息包括所述触摸屏响应外界触摸时的灵敏度和/或所述触摸屏的响应范围;根据所述触摸屏操作信息控制移动终端的触摸屏,从而根据用户运动状态自动设置电子设备屏幕操作所需力度,避免用户运动过 程中对电子设备的误操作,方便用户的使用,能一定程度上替代当前电子设备锁屏的操作。An embodiment of the present invention provides a method for controlling a touch screen. The current exercise state of the user is obtained, and the exercise state includes the intensity of the exercise; corresponding touch screen operation information is obtained according to the current exercise state, and the operation information includes the touch screen Sensitivity when responding to external touch and/or the response range of the touch screen; control the touch screen of the mobile terminal according to the touch screen operation information, thereby automatically setting the force required for the screen operation of the electronic device according to the user's motion state, and avoiding damage to the electronic device during the user's motion The misoperation of the device is convenient for the user, and can replace the operation of locking the screen of the current electronic device to a certain extent.

参考图2,图2是本发明实施例提供的另一种控制触摸屏的方法的流程示意图。Referring to FIG. 2 , FIG. 2 is a schematic flowchart of another method for controlling a touch screen provided by an embodiment of the present invention.

如图2所示,所述控制触摸屏的方法包括:As shown in Figure 2, the method for controlling the touch screen includes:

步骤201,通过加速度传感器检测所述用户的当前运动状态,所述当前运动状态包括符合预设速率范围的运动状态,所述运动状态包括静止、走路、上楼、慢跑、跑步、骑车、开车或者拓展训练;Step 201: Detect the current exercise state of the user through the acceleration sensor, the current exercise state includes the exercise state that meets the preset rate range, and the exercise state includes standing still, walking, going upstairs, jogging, running, cycling, driving Or expand training;

具体的,压力值和运动状态对应情况举例:对应标准根据运动状态运动的剧烈程度,和该运动状态是否适合操作设备来设置对应操作力度。操作力度与灵敏度成反比,即操作力度越大,灵敏度越小。如表1:运动越剧烈,且该状态越不适合操作设备,则操作力度越大。相反则越小。Specifically, an example of the correspondence between the pressure value and the exercise state: the corresponding standard sets the corresponding operating force according to the intensity of the exercise state and whether the exercise state is suitable for operating the device. The operating force is inversely proportional to the sensitivity, that is, the greater the operating force, the lower the sensitivity. As shown in Table 1: The more intense the movement, and the less suitable the state is for operating equipment, the greater the operating force. On the contrary, the smaller it is.

表1Table 1

步骤202,根据预设的当前运动状态与所述触摸屏操作信息的映射关系, 获取与所述当前运动状态对应的触摸屏操作信息;其中,所述当前运动状态与所述触摸屏操作信息的映射关系满足:运动状态的运动强度与所述触摸屏响应外界触摸时的灵敏度成反比;Step 202: Obtain touch screen operation information corresponding to the current motion state according to the preset mapping relationship between the current motion state and the touch screen operation information; wherein, the mapping relationship between the current motion state and the touch screen operation information satisfies : The motion intensity of the motion state is inversely proportional to the sensitivity of the touch screen when it responds to external touch;

步骤203,将所述移动终端的触摸屏响应外界触摸时的灵敏度调整为与所述当前运动状态对应的灵敏度;若接收到所述外界触摸所述触摸屏的力度不被调整后的灵敏度感应,则所述移动终端的触摸屏不响应所述外界触摸;若接收到的所述外界触摸所述触摸屏的力度能被所述调整后的灵敏度感应,则所述移动终端的触摸屏响应所述外界触摸。Step 203, adjusting the sensitivity of the touch screen of the mobile terminal in response to external touch to the sensitivity corresponding to the current motion state; The touch screen of the mobile terminal does not respond to the external touch; if the received force of the external touch on the touch screen can be sensed by the adjusted sensitivity, the touch screen of the mobile terminal responds to the external touch.

参考图3,图3是本发明实施例提供的另一种控制触摸屏的方法的流程示意图。Referring to FIG. 3 , FIG. 3 is a schematic flowchart of another method for controlling a touch screen provided by an embodiment of the present invention.

如图3所示,所述控制触摸屏的方法包括:As shown in Figure 3, the method for controlling the touch screen includes:

步骤301,通过加速度传感器检测所述用户的当前运动状态,所述当前运动状态包括符合预设速率范围的运动状态,所述运动状态包括静止、走路、上楼、慢跑、跑步、骑车、开车或者拓展训练;Step 301: Detect the current exercise state of the user through an acceleration sensor, the current exercise state includes an exercise state that meets a preset rate range, and the exercise state includes standing still, walking, going upstairs, jogging, running, cycling, driving Or expand training;

步骤302,根据预设的当前运动状态与所述触摸屏操作信息的映射关系,获取与所述当前运动状态对应的触摸屏操作信息;其中,所述运动状态的运动强度与所述触摸屏的响应范围成反比;Step 302: Obtain touch screen operation information corresponding to the current exercise state according to the preset mapping relationship between the current exercise state and the touch screen operation information; wherein, the exercise intensity of the exercise state is proportional to the response range of the touch screen inverse ratio;

步骤303,将所述移动终端的触摸屏响应外界触摸时的响应范围调整为与所述当前运动状态对应的响应范围;若接收到所述外界触摸所述触摸屏的范围不在调整后的响应范围内,则所述移动终端的触摸屏不响应所述外界触摸;若接收到的所述外界触摸所述触摸屏的范围在调整后的响应范围内,则所述移动终端响应所述外界触摸。Step 303, adjusting the response range of the touch screen of the mobile terminal in response to an external touch to a response range corresponding to the current motion state; if it is received that the range of the external touch on the touch screen is not within the adjusted response range, Then the touch screen of the mobile terminal does not respond to the external touch; if the received range of the external touch on the touch screen is within the adjusted response range, the mobile terminal responds to the external touch.

具体的,除操作力度变化外,还可包括操作范围的变化,在运动中时功能或操作区域会相对减小,以保证尽量减少误触发。Specifically, in addition to changes in the operating force, changes in the operating range may also be included, and the function or operating area will be relatively reduced when in motion, so as to ensure that false triggers are minimized.

参考图4,图4是本发明实施例提供的另一种控制触摸屏的方法的流程示意图。Referring to FIG. 4 , FIG. 4 is a schematic flowchart of another method for controlling a touch screen provided by an embodiment of the present invention.

如图4所示,所述控制触摸屏的方法包括:As shown in Figure 4, the method for controlling the touch screen includes:

步骤401,获取当前时间段,并根据预设的时间段和用户运动状态的映射关系,获取与所述当前时间段对应的用户运动状态,所述运动状态包括静止、走路、上楼、慢跑、跑步、骑车、开车或者拓展训练;Step 401, obtain the current time period, and obtain the user's exercise state corresponding to the current time period according to the mapping relationship between the preset time period and the user's exercise state, and the exercise state includes standing still, walking, going upstairs, jogging, Running, cycling, driving or outward bound training;

具体的,用户可以根据平时规律性的运动状态,设置日常的作息状态表,在该状态表中,每个状态对应不同的时间段,从而体现用户的规律性的作息节奏。Specifically, the user can set a daily work and rest state table according to the usual regular exercise state. In the state table, each state corresponds to a different time period, thereby reflecting the user's regular work and rest rhythm.

步骤402,根据预设的当前运动状态与所述触摸屏操作信息的映射关系,获取与所述当前运动状态对应的触摸屏操作信息;其中,所述当前运动状态与所述触摸屏操作信息的映射关系满足:运动状态的运动强度与所述触摸屏响应外界触摸时的灵敏度成反比;Step 402: Obtain touch screen operation information corresponding to the current motion state according to the preset mapping relationship between the current motion state and the touch screen operation information; wherein, the mapping relationship between the current motion state and the touch screen operation information satisfies : The motion intensity of the motion state is inversely proportional to the sensitivity of the touch screen when it responds to external touch;

步骤403,将所述移动终端的触摸屏响应外界触摸时的灵敏度调整为与所述当前运动状态对应的灵敏度;若接收到所述外界触摸所述触摸屏的力度不被调整后的灵敏度感应,则所述移动终端的触摸屏不响应所述外界触摸;若接收到的所述外界触摸所述触摸屏的力度能被所述调整后的灵敏度感应,则所述移动终端的触摸屏响应所述外界触摸。Step 403, adjusting the sensitivity of the touch screen of the mobile terminal in response to external touch to the sensitivity corresponding to the current motion state; The touch screen of the mobile terminal does not respond to the external touch; if the received force of the external touch on the touch screen can be sensed by the adjusted sensitivity, the touch screen of the mobile terminal responds to the external touch.

参考图5,图5是本发明实施例提供的另一种控制触摸屏的方法的流程 示意图。Referring to Fig. 5, Fig. 5 is a schematic flowchart of another method for controlling a touch screen provided by an embodiment of the present invention.

如图5所示,所述控制触摸屏的方法包括:As shown in Figure 5, the method for controlling the touch screen includes:

步骤501,获取当前时间段,并根据预设的时间段和用户运动状态的映射关系,获取与所述当前时间段对应的用户运动状态,所述运动状态包括静止、走路、上楼、慢跑、跑步、骑车、开车或者拓展训练;Step 501, obtain the current time period, and obtain the user's exercise state corresponding to the current time period according to the mapping relationship between the preset time period and the user's exercise state, and the exercise state includes standing still, walking, going upstairs, jogging, Running, cycling, driving or outward bound training;

步骤502,根据预设的当前运动状态与所述触摸屏操作信息的映射关系,获取与所述当前运动状态对应的触摸屏操作信息;其中,所述运动状态的运动强度与所述触摸屏的响应范围成反比;Step 502: Obtain touch screen operation information corresponding to the current exercise state according to the preset mapping relationship between the current exercise state and the touch screen operation information; wherein, the exercise intensity of the exercise state is proportional to the response range of the touch screen inverse ratio;

步骤503,将所述移动终端的触摸屏响应外界触摸时的响应范围调整为与所述当前运动状态对应的响应范围;若接收到所述外界触摸所述触摸屏的范围不在调整后的响应范围内,则所述移动终端的触摸屏不响应所述外界触摸;若接收到的所述外界触摸所述触摸屏的范围在调整后的响应范围内,则所述移动终端响应所述外界触摸。Step 503, adjusting the response range of the touch screen of the mobile terminal in response to an external touch to a response range corresponding to the current motion state; if it is received that the range of the external touch on the touch screen is not within the adjusted response range, Then the touch screen of the mobile terminal does not respond to the external touch; if the received range of the external touch on the touch screen is within the adjusted response range, the mobile terminal responds to the external touch.

参考图6,图6是本发明实施例提供的一种控制触摸屏的装置的功能模块示意图。Referring to FIG. 6 , FIG. 6 is a schematic diagram of functional modules of an apparatus for controlling a touch screen provided by an embodiment of the present invention.

如图6所示,所述控制触摸屏的装置包括:As shown in Figure 6, the device for controlling the touch screen includes:

第一获取模块601,用于获取用户的当前运动状态,所述运动状态包括运动的剧烈程度;The first acquiring module 601 is configured to acquire the current exercise state of the user, the exercise state including the intensity of the exercise;

优选地,所述第一获取模块601,用于:Preferably, the first acquiring module 601 is configured to:

通过加速度传感器检测所述用户的当前运动状态,所述当前运动状态包括符合预设速率范围的运动状态,所述运动状态包括静止、走路、上楼、慢跑、跑步、骑车、开车或者拓展训练。The user's current exercise state is detected by an acceleration sensor, and the current exercise state includes an exercise state conforming to a preset rate range, and the exercise state includes standing still, walking, going upstairs, jogging, running, cycling, driving or outward bound training .

优选地,所述第一获取模块601,用于:Preferably, the first acquiring module 601 is configured to:

获取当前时间段,并根据预设的时间段和用户运动状态的映射关系,获取与所述当前时间段对应的用户运动状态。The current time period is acquired, and according to the preset mapping relationship between the time period and the user's exercise state, the user's exercise state corresponding to the current time period is acquired.

第二获取模块602,用于根据所述当前运动状态获取对应的触摸屏操作信息,所述操作信息包括所述触摸屏响应外界触摸时的灵敏度和/或所述触摸屏的响应范围;The second acquisition module 602 is configured to acquire corresponding touch screen operation information according to the current motion state, the operation information including the sensitivity of the touch screen when responding to external touch and/or the response range of the touch screen;

优选地,所述第二获取模块602,用于:Preferably, the second obtaining module 602 is configured to:

根据预设的当前运动状态与所述触摸屏操作信息的映射关系,获取与所述当前运动状态对应的触摸屏操作信息;Acquiring touch screen operation information corresponding to the current motion state according to a preset mapping relationship between the current motion state and the touch screen operation information;

其中,所述当前运动状态与所述触摸屏操作信息的映射关系满足:运动状态的运动强度与所述触摸屏响应外界触摸时的灵敏度成反比;和/或,所述运动状态的运动强度与所述触摸屏的响应范围成反比。Wherein, the mapping relationship between the current motion state and the touch screen operation information satisfies: the motion intensity of the motion state is inversely proportional to the sensitivity of the touch screen when responding to external touch; and/or, the motion intensity of the motion state is proportional to the The response range of the touch screen is inversely proportional.

控制模块603,用于根据所述触摸屏操作信息控制移动终端的触摸屏。The control module 603 is configured to control the touch screen of the mobile terminal according to the touch screen operation information.

优选地,所述控制模块603,用于:Preferably, the control module 603 is configured to:

将所述移动终端的触摸屏响应外界触摸时的灵敏度调整为与所述当前运动状态对应的灵敏度;若接收到所述外界触摸所述触摸屏的力度不被调整后的灵敏度感应,则所述移动终端的触摸屏不响应所述外界触摸;若接收到的所述外界触摸所述触摸屏的力度能被所述调整后的灵敏度感应,则所述移动终端的触摸屏响应所述外界触摸。Adjust the sensitivity of the touch screen of the mobile terminal in response to external touch to the sensitivity corresponding to the current motion state; if the intensity of the external touch of the touch screen is not sensed by the adjusted sensitivity, the mobile terminal The touch screen of the mobile terminal does not respond to the external touch; if the received force of the external touch on the touch screen can be sensed by the adjusted sensitivity, then the touch screen of the mobile terminal responds to the external touch.

优选地,所述控制模块603,用于:Preferably, the control module 603 is configured to:

将所述移动终端的触摸屏响应外界触摸时的响应范围调整为与所述当前运动状态对应的响应范围;若接收到所述外界触摸所述触摸屏的范围不在调整后的响应范围内,则所述移动终端的触摸屏不响应所述外界触摸;若接 收到的所述外界触摸所述触摸屏的范围在调整后的响应范围内,则所述移动终端响应所述外界触摸。Adjusting the response range of the touch screen of the mobile terminal in response to external touch to the response range corresponding to the current motion state; if the range of the touch screen received by the external touch is not within the adjusted response range, the The touch screen of the mobile terminal does not respond to the external touch; if the received range of the external touch on the touch screen is within the adjusted response range, the mobile terminal responds to the external touch.

本发明实施例提供一种控制触摸屏的装置,获取用户的当前运动状态,所述运动状态包括运动的剧烈程度;根据所述当前运动状态获取对应的触摸屏操作信息,所述操作信息包括所述触摸屏响应外界触摸时的灵敏度和/或所述触摸屏的响应范围;根据所述触摸屏操作信息控制移动终端的触摸屏,从而根据用户运动状态自动设置电子设备屏幕操作所需力度,避免用户运动过程中对电子设备的误操作,方便用户的使用,能一定程度上替代当前电子设备锁屏的操作。An embodiment of the present invention provides a device for controlling a touch screen, which acquires the user's current exercise state, and the exercise state includes the intensity of the exercise; obtains corresponding touch screen operation information according to the current exercise state, and the operation information includes the touch screen Sensitivity when responding to external touch and/or the response range of the touch screen; control the touch screen of the mobile terminal according to the touch screen operation information, thereby automatically setting the force required for the screen operation of the electronic device according to the user's motion state, and avoiding damage to the electronic device during the user's motion The misoperation of the device is convenient for the user, and can replace the operation of locking the screen of the current electronic device to a certain extent.

以上结合具体实施例描述了本发明实施例的技术原理。这些描述只是为了解释本发明实施例的原理,而不能以任何方式解释为对本发明实施例保护范围的限制。基于此处的解释,本领域的技术人员不需要付出创造性的劳动即可联想到本发明实施例的其它具体实施方式,这些方式都将落入本发明实施例的保护范围之内。The above describes the technical principles of the embodiments of the present invention in conjunction with specific embodiments. These descriptions are only for explaining the principles of the embodiments of the present invention, and cannot be construed as limiting the protection scope of the embodiments of the present invention in any way. Based on the explanations herein, those skilled in the art can think of other specific implementation manners of the embodiments of the present invention without creative work, and these manners will fall within the protection scope of the embodiments of the present invention.

Claims (8)

1. a kind of method for controlling touch screen, which is characterized in that the described method includes:
The current motion state of user is obtained, the motion state includes the severe degree of movement;
Corresponding touch screen operation information is obtained according to the current motion state, the operation information includes that the touch screen is rung Sensitivity when extraneous touch and the response range of the touch screen are answered, alternatively, the response range of the touch screen;
The touch screen of mobile terminal is controlled according to the touch screen operation information;
It is wherein, described that corresponding touch screen operation information is obtained according to the current motion state, comprising:
According to the mapping relations of preset current motion state and the touch screen operation information, obtain and the current kinetic shape The corresponding touch screen operation information of state;
Wherein, the mapping relations of the current motion state and the touch screen operation information meet: the movement of motion state is strong Sensitivity when responding extraneous touch with the touch screen is spent to be inversely proportional;And/or the exercise intensity of the motion state with it is described The response range of touch screen is inversely proportional;
Wherein, the touch screen that mobile terminal is controlled according to the touch screen operation information, comprising:
Response range when touch that the touch screen response of the mobile terminal is extraneous is adjusted to and the current motion state pair The response range answered;If receiving in the response range of the extraneous range for touching the touch screen not after the adjustment, institute The touch screen for stating mobile terminal is not responding to the extraneous touch;If the extraneous range for touching the touch screen received exists In response range adjusted, then the mobile terminal response extraneous touch.
2. the method according to claim 1, wherein the current motion state for obtaining user, comprising:
The current motion state of the user is detected by acceleration transducer, the current motion state includes meeting default speed The motion state of rate range, the motion state include it is static, walk, upstairs, jog, run, cycle, drive or expand instruction Practice.
3. the method according to claim 1, wherein the current motion state for obtaining user, comprising:
Current slot is obtained, and according to the mapping relations of preset period and user movement state, obtained and described current Period corresponding user movement state.
4. the method according to claim 1, wherein described control movement eventually according to the touch screen operation information The touch screen at end, comprising:
Sensitivity adjustment when touch that the touch screen response of the mobile terminal is extraneous is corresponding with the current motion state Sensitivity;If receiving the sensitivity induction after the extraneous dynamics for touching the touch screen is not adjusted, the shifting The touch screen of dynamic terminal is not responding to the extraneous touch;If the extraneous dynamics for touching the touch screen received can be by institute Sensitivity induction adjusted is stated, then the touch screen response of the mobile terminal extraneous touch.
5. a kind of device for controlling touch screen, which is characterized in that described device includes:
First obtains module, and for obtaining the current motion state of user, the motion state includes the severe degree of movement;
Second obtains module, for obtaining corresponding touch screen operation information, the operation letter according to the current motion state Breath includes the response range of the sensitivity and the touch screen when touch screen response external world touches, alternatively, the touch screen Response range;
Control module, for controlling the touch screen of mobile terminal according to the touch screen operation information;
Wherein, described second module is obtained, is used for:
According to the mapping relations of preset current motion state and the touch screen operation information, obtain and the current kinetic shape The corresponding touch screen operation information of state;
Wherein, the mapping relations of the current motion state and the touch screen operation information meet: the movement of motion state is strong Sensitivity when responding extraneous touch with the touch screen is spent to be inversely proportional;And/or the exercise intensity of the motion state with it is described The response range of touch screen is inversely proportional;
Wherein, the control module, is used for:
Response range when touch that the touch screen response of the mobile terminal is extraneous is adjusted to and the current motion state pair The response range answered;If receiving in the response range of the extraneous range for touching the touch screen not after the adjustment, institute The touch screen for stating mobile terminal is not responding to the extraneous touch;If the extraneous range for touching the touch screen received exists In response range adjusted, then the mobile terminal response extraneous touch.
6. device according to claim 5, which is characterized in that described first obtains module, is used for:
The current motion state of the user is detected by acceleration transducer, the current motion state includes meeting default speed The motion state of rate range, the motion state include it is static, walk, upstairs, jog, run, cycle, drive or expand instruction Practice.
7. device according to claim 5, which is characterized in that described first obtains module, is used for:
Current slot is obtained, and according to the mapping relations of preset period and user movement state, obtained and described current Period corresponding user movement state.
8. device according to claim 5, which is characterized in that the control module is used for:
Sensitivity adjustment when touch that the touch screen response of the mobile terminal is extraneous is corresponding with the current motion state Sensitivity;If receiving the sensitivity induction after the extraneous dynamics for touching the touch screen is not adjusted, the shifting The touch screen of dynamic terminal is not responding to the extraneous touch;If the extraneous dynamics for touching the touch screen received can be by institute Sensitivity induction adjusted is stated, then the touch screen response of the mobile terminal extraneous touch.
CN201610596494.3A 2016-07-26 2016-07-26 Method and device for controlling touch screen Active CN106293199B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610596494.3A CN106293199B (en) 2016-07-26 2016-07-26 Method and device for controlling touch screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610596494.3A CN106293199B (en) 2016-07-26 2016-07-26 Method and device for controlling touch screen

Publications (2)

Publication Number Publication Date
CN106293199A CN106293199A (en) 2017-01-04
CN106293199B true CN106293199B (en) 2019-10-22

Family

ID=57652549

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610596494.3A Active CN106293199B (en) 2016-07-26 2016-07-26 Method and device for controlling touch screen

Country Status (1)

Country Link
CN (1) CN106293199B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108287611B (en) * 2018-04-24 2022-07-22 深圳市德威普斯科技有限公司 Screen touch response method, terminal and computer storage medium
CN109782944A (en) 2018-12-11 2019-05-21 华为技术有限公司 A kind of response method and electronic equipment of touch screen
CN110058729B (en) * 2019-03-19 2022-05-31 荣耀终端有限公司 Method and electronic device for adjusting the sensitivity of touch detection
CN110658975B (en) * 2019-09-17 2023-12-01 华为技术有限公司 Mobile terminal control method and device
CN113126796B (en) * 2020-01-15 2024-03-19 北京小米移动软件有限公司 Touch sensitivity control method and device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1906565A (en) * 2004-01-09 2007-01-31 诺基亚公司 Adaptive user interface input device
CN103201714A (en) * 2010-11-03 2013-07-10 高通股份有限公司 Force sensing touch screen
CN103500047A (en) * 2013-09-23 2014-01-08 百度在线网络技术(北京)有限公司 Method, device and mobile terminal for controlling interactive element in mobile terminal
CN105438153A (en) * 2015-12-04 2016-03-30 浙江万向系统有限公司 Brake main cylinder assembly
CN105681553A (en) * 2016-01-06 2016-06-15 惠州Tcl移动通信有限公司 Handheld terminal and method for preventing misoperation
CN105700809A (en) * 2016-02-22 2016-06-22 宇龙计算机通信科技(深圳)有限公司 Touch detection sensitivity adjusting method and system and terminal

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100412776C (en) * 2005-12-22 2008-08-20 佛山市顺德区顺达电脑厂有限公司 Regulating method for portable device touch screen sensitivity
CN101493745A (en) * 2008-01-24 2009-07-29 倚天资讯股份有限公司 Handheld electronic device and operation method thereof
KR101869083B1 (en) * 2011-12-01 2018-06-19 현대모비스 주식회사 Method for calibrating touch screen sensitivities and display device using the same
CN102855017B (en) * 2012-07-25 2015-07-08 东莞宇龙通信科技有限公司 Terminal and method for preventing error input of terminal
US9122328B2 (en) * 2012-09-28 2015-09-01 International Business Machines Corporation Detecting and handling unintentional touching of a touch screen
CN103793163A (en) * 2012-10-30 2014-05-14 联想(北京)有限公司 Information processing method and electronic device
CN105159496A (en) * 2015-08-31 2015-12-16 小米科技有限责任公司 Touch event response method and mobile terminal
CN105242825B (en) * 2015-09-09 2018-11-20 北京新美互通科技有限公司 terminal control method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1906565A (en) * 2004-01-09 2007-01-31 诺基亚公司 Adaptive user interface input device
CN103201714A (en) * 2010-11-03 2013-07-10 高通股份有限公司 Force sensing touch screen
CN103500047A (en) * 2013-09-23 2014-01-08 百度在线网络技术(北京)有限公司 Method, device and mobile terminal for controlling interactive element in mobile terminal
CN105438153A (en) * 2015-12-04 2016-03-30 浙江万向系统有限公司 Brake main cylinder assembly
CN105681553A (en) * 2016-01-06 2016-06-15 惠州Tcl移动通信有限公司 Handheld terminal and method for preventing misoperation
CN105700809A (en) * 2016-02-22 2016-06-22 宇龙计算机通信科技(深圳)有限公司 Touch detection sensitivity adjusting method and system and terminal

Also Published As

Publication number Publication date
CN106293199A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN106293199B (en) Method and device for controlling touch screen
CN103995788B (en) A kind of method and device of touch screen terminal control camera rotation
JP6114827B2 (en) Method and apparatus for controlling a terminal device by using a non-contact gesture
KR102109407B1 (en) Smart watch and method for controlling thereof
CN101464775B (en) Electronic device control method and electronic device thereof
US20150105220A1 (en) Trainer control method and fitness device using the same
EP3154254A1 (en) Processing method and system for automatic photographing based on eyeball tracking technique
CN105577932B (en) A kind of screen brightness adjustment method and mobile terminal
CN106471450B (en) Information processing apparatus, information processing method and program
WO2014107982A1 (en) Method for controlling rotation of screen picture of terminal, and terminal
CN103973986A (en) Focusing and lens switching method based on mobile terminal camera
WO2014180361A1 (en) Fall-proof method and fall-proof device for mobile terminal
CN103365338B (en) A kind of electronic equipment control method and electronic equipment
CN103472992A (en) Method and mobile terminal for dynamically adjusting camera button
TWI514170B (en) System and method for dynamically adjusting font size of electronic device
CN106774889B (en) Wearable device gesture recognition method and device
CN106598257A (en) Mobile terminal-based reading control method and apparatus
KR102422181B1 (en) Method for controling a display of an electronic device and the electronic device thereof
CN104598136A (en) Mobile device and display screen rotating method thereof
US20170131893A1 (en) Terminal control method and device
CN104185001B (en) A kind of control method and device
CN103237137A (en) Method and system for adjusting volume of mobile terminal
CN106066751A (en) The display packing of read interface and for controlling the terminal that read interface shows
CN105630329A (en) Method and system for generating drop-down hover toolbar in viewfinder interface of camera
CN105700277A (en) Projection brightness adjusting method and projection brightness adjusting device

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